ZHANGYUXUAN-zR commited on
Commit
db08080
·
verified ·
1 Parent(s): 117a52c

Add files using upload-large-folder tool

Browse files
parse/train/BJe1334YDH/BJe1334YDH.md ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # A LEARNING-BASED ITERATIVE METHOD FOR SOLVING VEHICLE ROUTING PROBLEMS
2
+
3
+ Hao Lu ∗ Princeton University, Princeton, NJ 08540 {haolu}@princeton.edu
4
+
5
+ Xingwen Zhang ∗ & Shuang Yang Ant Financial Services Group, San Mateo, CA 94402 {xingwen.zhang,shuang.yang}@antfin.com
6
+
7
+ # ABSTRACT
8
+
9
+ This paper is concerned with solving combinatorial optimization problems, in particular, the capacitated vehicle routing problems (CVRP). Classical Operations Research (OR) algorithms such as LKH3 (Helsgaun, 2017) are inefficient and difficult to scale to larger-size problems. Machine learning based approaches have recently shown to be promising, partly because of their efficiency (once trained, they can perform solving within minutes or even seconds). However, there is still a considerable gap between the quality of a machine learned solution and what OR methods can offer (e.g., on CVRP-100, the best result of learned solutions is between 16.10-16.80, significantly worse than LKH3’s 15.65). In this paper, we present “Learn to Improve” (L2I), the first learning based approach for CVRP that is efficient in solving speed and at the same time outperforms OR methods. Starting with a random initial solution, L2I learns to iteratively refine the solution with an improvement operator, selected by a reinforcement learning based controller. The improvement operator is selected from a pool of powerful operators that are customized for routing problems. By combining the strengths of the two worlds, our approach achieves the new state-of-the-art results on CVRP, e.g., an average cost of 15.57 on CVRP-100.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ In this paper, we focus on an important class of combinatorial optimization, vehicle routing problems (VRP), which have a wide range of applications in logistics. Capacitated vehicle routing problem (CVRP) is a basic variant of VRP, aiming to find a set of routes with minimal cost to fulfill the demands of a set of customers without violating vehicle capacity constraints. The CVRP is NP-hard (Dantzig & Ramser, 1959), and both exact and heuristic methods have been developed to solve it (Fukasawa et al., 2006; Golden et al., 2008; Kumar & Panneerselvam, 2012; Toth & Vigo, 2014).
14
+
15
+ In recent years, especially after the seminal work of Pointer Networks (Vinyals et al., 2015), researchers start to develop new deep learning and reinforcement learning (RL) frameworks to solve combinatorial optimization problems (Bello et al., 2016; Mao et al., 2016; Khalil et al., 2017; Bengio et al., 2018; Kool et al., 2019; Chen & Tian, 2019). For the CVRP itself, a number of RLbased methods have been proposed in the literature (Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019). The learning based methods are trained on a huge number of problem instances, and have been shown to be extremely fast in producing solutions of reasonably good quality. However, when tested with the same benchmark instances, these learning-based methods cannot outperform the state-of-the-art method LKH3 (Helsgaun, 2017), which is a penalty-function-based extension of classical Lin-Kernighan heuristic (Lin & Kernighan, 1973; Helsgaun, 2000). For example, on CVRP with 100 customers, LKH3 is able to produce an average cost of 15.65. This line of research motivated us to study a framework that combines the strength of Operations Research (OR) heuristics with learning capabilities of machine learning (RL in particular). Machine learning can learn to solve a class of problem instances fast, when test instances are generated from the same distribution as training instances. Classical approaches like search algorithms are effective but may need heavy computation, which is time-consuming. Our research interest is in fusing the strengths of these two worlds. Another related line of research is hyper-heuristics, which is “a search method or learning mechanism for selecting or generating heuristics to solve computational search problems” (Burke et al., 2013). Instead of developing a high-level methodology without the need of knowing the details of low-level heuristics, we are primarily interested in a closely integrated system that best utilizes the strength of OR operators and learning capability.
16
+
17
+ Our Contributions. Instead of directly constructing a solution from the problem instance (Graves et al., 2014; Sutskever et al., 2014; Vinyals et al., 2015), we propose a framework that iteratively searches among solutions, until a certain termination condition is satisfied. Our main contributions are as follows:
18
+
19
+ • We present a learning-based algorithm for solving CVRP, achieving new state-of-the-art results. The recent line of works using RL to solve CVRP shows the potential of machine learning algorithms. They can solve CVRP faster, but cannot beat classical OR solvers like LKH3 in term of solution quality. Our algorithm is the first machine learning framework that outperforms LKH3 on CVRP.
20
+ We propose a novel hierarchical framework. Instead of putting all operators in one action pool, we separate heuristic operators into two classes, namely improvement operators and perturbation operators. At each state, we choose the class first and then choose operators within the class. Learning from the current solution is made easier by focusing RL on the improvement operators only.
21
+ • We propose an ensemble method, which trains several RL policies at the same time, but with different state input features. The ensemble method is shown to produce superior results than individual policies with an equivalent amount of computation.
22
+
23
+ Related Work. In recent years, there have been many studies using deep learning and RL to solve combinatorial optimization problems (Smith, 1999; Mao et al., 2016; Lodi & Zarpellon, 2017; Velickovi ˇ c et al., 2017; Lombardi & Milano, 2018; Bengio et al., 2018). Routing problems, es- ´ pecially traveling salesman problems (TSP) and VRP, have been explored by a sequence of works (Vinyals et al., 2015; Bello et al., 2016; Khalil et al., 2017; Li et al., 2018; Deudon et al., 2018; Kaempfer & Wolf, 2018; Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019). Most of these works, with the exception of Chen & Tian (2019), follow an end-to-end approach, which is directly constructing a solution from scratch. Vinyals et al. (2015) first introduce the Pointer Network, inspired by sequence-to-sequence models, to solve TSP. They use an attention model to learn the order of different nodes in a supervised fashion. Later Bello et al. (2016) develop an RL algorithm to train the Pointer Network. Their framework learns the optimal policy from problem instances and needs no supervised solutions. Nazari et al. (2018) improve the Pointer Network with a new design, making the model invariant with respect to the input sequence, and extend it to solve VRP. Kool et al. (2019) propose a model based on attention layers, and an RL algorithm to train this model with a simple but effective baseline. Chen & Tian (2019) propose a NeuRewriter model for VRP. They define a rewriting rule set and train two policy networks, a region-picking policy and a rule-picking policy, to obtain the next state. Given an initial solution, their goal is to find a sequence of steps towards the solution with minimal cost.
24
+
25
+ # 1.1 NOTATIONS
26
+
27
+ In CVRP, there is a depot and a set of $N$ customers. Each customer $i$ , $i \in \{ 1 , \ldots , N \}$ , has a demand $d _ { i }$ to be satisfied. A vehicle, which always starts at and ends at the depot, can serve a set of customers as long as the total customer demand does not exceed the capacity of the vehicle. The traveling cost $c _ { i , j }$ is the cost of a vehicle going from node $i$ to $j$ , with $i , j \in \{ 0 , 1 , \ldots , N \}$ (where the depot is denoted by node 0 for convenience). The objective is to find a routing plan with minimal cost that serves all customers without violating vehicle capacity constraints. Figure 1 gives an illustration of CVRP, while a mathematical formulation is given in the Appendix.
28
+
29
+ Route. A route is a sequence of nodes visited in order, with the depot (node 0) as the starting and ending node. For example, [0, 1, 3, 4, 0] is a traveling plan that starts at the depot, visits node 1, 3 and 4 sequentially, and returns to the depot.
30
+
31
+ Solution. A solution is a set of routes such that each customer is visited exactly once, and the total demand along each route is less than the vehicle capacity.
32
+
33
+ Operator. An operator is a mapping from one solution to another. In this paper, instead of directly constructing a solution from scratch, we improve or perturb the solution iteratively using operators.
34
+
35
+ ![](images/f63b654f7eb5408c622a747a930a1b2dfc862a82d0f0901a48d1d9b3a103db60.jpg)
36
+ Figure 1: An illustration of CVRP. Here we provide a problem instance. The red one is a sample route, and three routes consist of a solution for this problem instance. After applying an operator, current solution changes to a new solution with dashed lines replaced by blue lines.
37
+
38
+ # 2 LEARN TO IMPROVE
39
+
40
+ In this section we formally introduce our “Learn to Improve” (L2I) framework, including main components of the system as well as the design intuitions behind individual components. Figure 2 illustrates the overall framework. As mentioned previously, the framework is iterative in nature, that is, we always start with a feasible solution, continuously improving the solution or perturbing it. Along the way, all constraints remain satisfied. By always maintaining the feasibility of the solution,
41
+
42
+ we are exploring the space of feasible solutions and any of them found by our search process could potentially be a good solution. After $T$ (a parameter set in advance) steps the algorithm stops, and we choose the one with the minimum traveling cost as our final solution. Our framework has a few distinct components (e.g., how to improve the solution, when and how to perturb it), which could be rule-based, learned by machine learning or mixed, and thus allows us to experiment with different ways of integrating machine learning and OR, some of which could lead to superior methods either in terms of better solution quality or in terms of computational efficiency. It is worthwhile to point out that, as contrast to the work of Chen & Tian (2019), the solution space we explore is much larger since we are employing a rich set of improvement and perturbation operators.
43
+
44
+ ![](images/6e285bf0ea8b32c6e74ebe548072e52ab2b5e2b3cbfc206a872784e86fd9b8a4.jpg)
45
+ Figure 2: Our hierarchy framework. Given a problem instance, our algorithm first generates a feasible solution. Then it iteratively updates the solution with an improvement operator selected by an RL-based controller or with a perturbation operator chosen by a rule-based controller. After a certain number of steps, we choose the best one among all visited solutions.
46
+
47
+ For this research work, we implemented and experimented with a number of design choices, and ended up with a method that is both computationally efficient and able to produce state-of-the-art results. The details of the main components of our method are as follows. Given a history of most recent solutions, our method uses a threshold-based rule to decide whether we should continue to improve the current solution, or should perturb it and restart with the perturbed solution. If it decides that the current solution could still be improved, it will use an RL-based controller to choose one of the improvement operators, and try to improve the solution with the chosen operator. We have a rich set of improvement operators (the list of improvement operators and their details are given in the Appendix), where intra-route ones attempt to reduce the cost of current solution by moving customers to different positions in individual routes, while inter-route ones attempt to reduce the cost by moving customers among different routes. Given that the improvement operators are of distinct characteristics, it is not straightforward to know in advance which operators are most effective for the problem under investigation. It is also difficult to know a pre-defined ordering of the operators that is best for the problem. Thus, an RL-based controller is a good choice to learn the set of improvement operators that is more effective for the problem (or more specifically, the problem and the data distribution from which the training and test instances are sampled). As will be shown in Section 3, our RL model is able to differentiate more useful improvement operators from less useful ones for CVRP, as well as generate an implicit ordering on how the operators will be applied.
48
+
49
+ On the other hand, upon reaching a local minimum the perturbation controller randomly chooses a perturbation operator that destroys (completely or partially) and reconstructs a number of routes to generate a new starting solution (Table 6 in the Appendix gives the list of perturbation operators and their details). Specifically, if no cost reduction has been made for $L$ improvement steps, we perturb the solution and restart the improvement iteration (where for ease of explanation a maximum consecutive sequence of improvement operators applied before perturbation is called an improvement iteration). As a perturbation changes the solution quite dramatically (by producing a substantially different solution that is usually worse than the current one), we found that it is useful to start a new improvement iteration with a reasonably good starting point (e.g. by filtering out the restarting solutions that are significantly worse than current solution or currently best solution). It is clear that we purposely separate improvement operators from perturbation ones, and an alternative design would be to mix them all together and have a single controller deciding which operator to apply next. However, the improvement operators are of different nature from the perturbation ones, and their impacts are different since the perturbation operators have long-lasting effect by affecting an entire improvement iteration. Our experience also suggests that learning is made easier by focusing RL on the improvement operators only. Lastly, it is worthwhile to point out that although the rulebased perturbation controller is shown to be effective, we do not rule out the possibility that it can also be learning-based.
50
+
51
+ The framework described above provides a way of combining the strength of OR operators, which are powerful since they are custom-made for routing problems, with learning capabilities of RL, which is flexible and can be adapted to a given problem and its associated data distribution. Having described our overall framework, we are now ready to present the details of the improvement controller and operators.
52
+
53
+ # 2.1 IMPROVEMENT CONTROLLER AND OPERATORS
54
+
55
+ The improvement controller starts with an initial solution, which is either constructed randomly (for the first improvement iteration)1 or produced by a perturbation operator (for subsequent iterations), and then tries to improve it, i.e., reducing the total traveling distance without violating any constraints, by selectively applying an improvement operator in Table 5. For the RL model, the set of improvement operators constitute our action space. These operators change the solution locally and most are computationally light. With the current state as input, a neural network produces a vector of action probabilities, and the weights of the network are trained with policy gradient. Figure 6 illustrates the components of our RL model, and their details are given as follows.
56
+
57
+ # 2.1.1 STATES
58
+
59
+ Each state includes features from the problem instance, the solution and the running history. Stationary features, such as the location and demand of each customer, are considered as problem-specific since they are invariant across solutions. Solution-specific features are based on the current traveling plan. For example, given a solution, for each customer we compute its neighboring nodes that are visited before and afterwards, as well as the relevant distances. Following Odling (2018), the ¨ running history includes the actions that are recently taken as well as their effects. For example, $a _ { t - h }$ , $1 \leq h \leq H$ , is the action taken $h$ steps before current step $t$ , and its effect $e _ { t - h }$ is $+ 1$ if the action led to a reduction of total distance, $^ { - 1 }$ otherwise. A complete description of state features is given in Table 4, where $i ^ { - }$ and $i ^ { + }$ denote the node visited before and after node $; 1 \leq i \leq N$ , in the solution, respectively.
60
+
61
+ # 2.1.2 ACTIONS
62
+
63
+ The actions can be classified into two classes, intra-route operators and inter-route operators. An intra-route operator attempts to reduce traveling distance of an individual route, while inter-route operators aim at reducing total traveling distance by moving customers between more than one route. The details of the operators are given in Table 5. It is worthwhile to point out that the same operator with different parameters are considered as different actions. For example, Symmetric-exchange(2) with $m = 1 , 2 , 3$ are considered as three distinct actions. For a given problem (or even solution), the same operator with different parameters may perform differently and thus it is appropriate to treat them as separate actions and let the RL model learn how to best use them.
64
+
65
+ # 2.1.3 POLICY NETWORK
66
+
67
+ We use the well-known REINFORCE algorithm (Williams, 1992) to update the gradient
68
+
69
+ $$
70
+ \nabla _ { \theta } J ( \theta | s ) = \mathbb { E } _ { \pi \sim p _ { \theta } ( . | s ) } \big [ \big ( L ( \pi | s ) - b ( s ) \big ) \nabla _ { \theta } \log p _ { \theta } ( \pi | s ) \big ]
71
+ $$
72
+
73
+ of policy with a baseline function $b ( s )$ . Given a state as described in Section 2.1.1, a policy network outputs a list of action probabilities, one for each action described. As illustrated in Figure 6, problem- and solution-specific input features are transformed into an embedding of length $D$ (we use $D = 6 4$ ), which is fed into an attention network (Vaswani et al., 2017) (we use an attention layer with 8 heads and 64 output units). The output of the attention network is concatenated with a sequence of recent actions and their effects (when $H > 0$ ). Lastly, the concatenated values are fed into a network of two fully connected layers, where the first layer uses 64 units and a Relu activation function and the second layer uses Softmax, producing $| A |$ action probabilities where $A$ is the set of actions.
74
+
75
+ # 2.1.4 REWARDS
76
+
77
+ We have experimented with a number of reward designs, two of which are producing satisfactory results as well as distinct patterns of operator sequences. The first reward function (denoted by RF1) focuses on the intermediate impact of the improvement operators. Specifically, the reward is $+ 1$ if the operator improves the current solution, -1 otherwise. The second reward function (denoted by RF2) is advantage-based. The total distance achieved for the problem instance during the first improvement iteration is taken as a baseline. For each subsequent iteration, all operators applied during this iteration received a reward equal to the difference between the distance achieved during the iteration and the baseline. We observed that an operator is often able to achieve a large distance reduction for a freshly perturbed solution, while it becomes harder and harder to do so in later improvement steps. In particular, the likelihood of distance reduction as well as the magnitude of such reduction, both decrease as the iteration proceeds. Therefore, it seemed unfair to give early improvement operators a larger reward. The observation suggested that operators used in the same improvement iteration should be rewarded equally and there would be no discounting (or equivalently, the discount factor $\gamma$ is 1).
78
+
79
+ To conclude the methodology section, we restart the improvement iteration until reaching a maximum number $T$ of rollout (either improvement or perturbation) steps. Following a common practice of encouraging exploration, we use $\epsilon$ -greedy (Sutton & Barto, 2018) such that with a probability of 0.05 the RL controller will choose a random improvement action. Lastly, we also experimented with ensembling by training 6 different policies with $H = 1 , 2 , \ldots , 6$ (while keeping other components of the policy network identical). Ensembling facilitates learning of a diverse set of policies, as well as reducing wall-clock running time.
80
+
81
+ # 3 EXPERIMENTS AND ANALYSES
82
+
83
+ In this section, we present our experiment results. First we introduce a detailed setup of CVRP and hyper-parameters used. Then we compare our performance with prior neural network approaches, i.e., Nazari et al. (2018), Kool et al. (2019), Chen & Tian (2019), and a classic state-of-the-art heuristic algorithm. At last we provide detailed analysis of our framework2.
84
+
85
+ Setup and hyper-parameters. We follow the same settings as previous works (Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019) for CVRP. We consider three sub-problems with number of customers $N = 2 0 , 5 0 , 1 0 0$ , respectively. The location $( x _ { i } , y _ { i } )$ of each customer, as well as of the depot, is uniformly sampled from unit square (specifically, $x _ { i }$ and $y _ { i }$ are uniformly distributed in the interval $[ 0 , 1 ]$ , respectively), and the traveling cost between two locations $c _ { i , j }$ is simply the corresponding Euclidean distance. The demand $d _ { i }$ of each customer is uniformly sampled from the discrete set $\{ \bar { 1 } , 2 , \dots , 9 \}$ . The capacity of a vehicle is 20, 30, 40 for $N = 2 0 , 5 0 , 1 0 0$ , respectively. After $L \ = \ 6$ consecutive step of no improvement, we perturb the solution. To train the policy network, we use ADAM with a learning rate of 0.001. Unless otherwise stated, for a problem instance and a given policy we randomly initiate a feasible solution, and then iteratively update the solution $T = 4 0 0 0 0$ times following the policy. In the following section we will discuss the performance of a policy with different rollout steps (recall that a rollout step is either an improvement step or a perturbation one). We choose the best one among all 40000 visited solutions as the final solution for a given problem instance. In the ensemble model we use different number of historical actions and effects to train a set of diverse policies (recall the policy network in Figure 6), and for any problem instance we choose the best solution produced by these policies. Unless otherwise stated, all reported metrics, such as the final traveling cost and the running time, are always computed as the average over 2000 random samples. Lastly, our method was implemented in Python, and the experiments were run computer nodes, each with a single Nvidia Tesla T4 GPU.
86
+
87
+ # 3.1 PERFORMANCE COMPARISON
88
+
89
+ In Table 1 we compare the performance of our algorithm with prior neural network approaches mentioned above, Google OR-tools (Google, 2019), and classic state-of-the-art heuristic algorithm LKH3 (Helsgaun, 2017). Our ensemble method chose the solution with minimum traveling cost among those produced by Policy $i$ (with $1 \leq i = h \leq 6$ ). As shown in Table 1, our algorithm outperforms the prior approaches in terms of average traveling cost. In particular, the average distance achieved by our algorithm is significantly shorter than prior neural network approaches. Thus, our algorithm is producing state-of-the-art results for CVRP, and is the first learning-based framework that outperforms the well-known classic heuristic algorithm.
90
+
91
+ Table 1: Comparison of our experiment results with those reported in the literature
92
+
93
+ <table><tr><td></td><td>N=20 Obj.</td><td>N=50 Obj.</td><td>N = 100 Obj.</td></tr><tr><td>Google OR Tools</td><td>6.43</td><td>11.31</td><td>17.16</td></tr><tr><td>Nazari et al. (2018)</td><td>6.40</td><td>11.15</td><td>16.96</td></tr><tr><td>AM greedy (Kool et al., 2019)</td><td>6.40</td><td>10.98</td><td>16.80</td></tr><tr><td>AM sampling (Kool et al., 2019)</td><td>6.25</td><td>10.62</td><td>16.23</td></tr><tr><td>Chen&amp; Tian (2019)</td><td>6.16</td><td>10.51</td><td>16.10</td></tr><tr><td>LKH (Helsgaun, 2017)</td><td>6.14</td><td>10.38</td><td>15.65</td></tr><tr><td>L2I</td><td>6.12</td><td>10.35</td><td>15.57</td></tr></table>
94
+
95
+ # 3.2 ANALYSIS OF THE ENSEMBLE METHOD
96
+
97
+ Recall that we train 6 different policies with $H \in \{ 1 , 2 , \ldots , 6 \}$ . To illustrate the motivation of the ensemble method, we randomly pick 10 problem instances and show the traveling cost under different policies for these problem instances in Table 2. We can see that Policy 1 did the best for the first problem instance, but it performed the worst for the second one. Furthermore, there is no clear winning policy, which is the reason we propose an ensemble method.
98
+
99
+ Table 2: Motivating examples: traveling cost under different policies for random problem instances
100
+
101
+ <table><tr><td rowspan="2"></td><td colspan="10">Problem instances</td></tr><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr><tr><td>Policy 1</td><td>18.65</td><td>16.67</td><td>15.41</td><td>15.11</td><td>16.69</td><td>14.97</td><td>16.88</td><td>16.37</td><td>13.72</td><td>15.56</td></tr><tr><td>Policy 2</td><td>18.86</td><td>16.61</td><td>15.39</td><td>15.10</td><td>16.55</td><td>14.75</td><td>16.73</td><td>16.39</td><td>13.77</td><td>15.56</td></tr><tr><td>Policy 3</td><td>18.81</td><td>16.63</td><td>15.43</td><td>15.06</td><td>16.82</td><td>14.72</td><td>16.70</td><td>16.37</td><td>13.73</td><td>15.79</td></tr><tr><td>Policy 4</td><td>18.90</td><td>16.60</td><td>15.37</td><td>15.04</td><td>16.66</td><td>14.93</td><td>16.83</td><td>16.32</td><td>13.70</td><td>15.62</td></tr><tr><td>Policy 5</td><td>18.73</td><td>16.56</td><td>15.43</td><td>15.12</td><td>16.66</td><td>15.09</td><td>16.80</td><td>16.53</td><td>13.72</td><td>15.56</td></tr><tr><td>Policy 6</td><td>18.92</td><td>16.60</td><td>15.43</td><td>15.09</td><td>16.73</td><td>14.65</td><td>16.59</td><td>16.55</td><td>13.73</td><td>15.56</td></tr></table>
102
+
103
+ ![](images/624ae57c3fc32697f30820a4fa695016252a2639b07ba367b61d1639788307d1.jpg)
104
+ Figure 3: Average traveling cost of different policies with different rollout steps
105
+
106
+ In Figure 3(a), (b) and (c), we plot the average traveling cost over 2000 problem instances for CVRP with $N = 2 0$ , 50, 100, respectively. It is worthwhile to point out that the same hyper-parameters are used for different $N$ values. The top blue line is for a random policy, the bottom red line is for our ensemble method, and lines in between are for Policy 1, 2, . . . , 6. The plots show that, regardless of the number of rollout steps, our trained RL policies consistently outperform the random policy. Figure 4(c) shows that the gap between the random policy and the ensemble method first increases, peaks at about 5000 rollout steps, and then gets smaller and smaller. It is encouraging that we get the maximum gap fast, which will be helpful when computational time is limited. Lastly, in Figure 4(d) we show three policies, the random policy, the ensemble method, and the best RL policy (Policy 3), for CVRP-100. To match the performance of the random policy with 40000 rollout steps, the ensemble method would take 2500 rollout steps, while it takes 5000 rollout steps to match Policy 3 with 40000 rollout steps. The outperformance of the ensemble method becomes more obvious when $N = 2 0 , 5 0$ . These analysis shows that naively increasing rollout steps of a policy provides less marginal gains than ensembling a diverse set of policies.
107
+
108
+ Table 3: Improvement operators mostly used
109
+
110
+ <table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=2 colspan=1>Intra-route</td><td rowspan=1 colspan=1>2-0pt</td><td rowspan=1 colspan=1>Remove two edges andreconnect their endpoints</td></tr><tr><td rowspan=1 colspan=1>Relocate(1)</td><td rowspan=1 colspan=1>Move a customer in the route toa new location</td></tr><tr><td rowspan=3 colspan=1>Inter-route</td><td rowspan=1 colspan=1>Cross(2)</td><td rowspan=1 colspan=1>Exchange the tails of two routes</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m(m = 1) between two routes</td></tr><tr><td rowspan=1 colspan=1>Relocate(2)</td><td rowspan=1 colspan=1>Move a segment of length m(m = 1) from a route to another</td></tr></table>
111
+
112
+ # 3.3 ANALYSIS OF OPERATOR USAGES
113
+
114
+ As we mentioned before, the RL model is able to differentiate more useful improvement operators from less useful ones for CVRP. In our experiments, we count the usage of different operators for different policies as training epochs grow. When the myopic reward function RF1 in Section 2.1.4 is used, our experimental results show that the policy converges to use a fixed subset of improvement operators (for detailed operators, see Table 3). This subset of operators are also preferred by all policies when we use RF2. However, the pattern of operator usages varies among the policies. For example, Figure 4(a) and (b) illustrate different patterns of operator usages for Policy 1 and Policy 2, respectively.
115
+
116
+ ![](images/ce3d9514a6179351fd7a273c5743c85971fba32406e8a6dbf149bfd524a33d35.jpg)
117
+ Figure 4: Pattern of operator usages as training epoch grows
118
+
119
+ # 3.4 ANALYSIS OF PERTURBATION MAGNITUDE
120
+
121
+ From our experimental study we also observed that the solution quality is sensitive to the magnitude of perturbation. To illustrate the impact of perturbation, in Figure 5 we plot the performance of two run configurations, one with Random-permute applied to all routes (called Random-permute-all), while the other with Random-permute applied to two routes only (called Random-permute-2). As seen from Figure 5, Random-permute-2 significantly outperformed Random-permute-all. Intuitively, when the magnitude of perturbation is too large, the resulting solution generally becomes much worse and it will take our algorithm a large number of improvement steps to remedy the deterioration.
122
+
123
+ ![](images/b959c7ff23f3e84dd13b04beacf1d87591b63b639cdcbb60b9dae11d17059099.jpg)
124
+ Figure 5: Impact of perturbation magnitude
125
+
126
+ # 4 CONCLUSION
127
+
128
+ In this paper we propose “Learn to Improve” for solving VRP, which starts with an initial solution and iteratively updates the solution with an improvement operator selected by an RL-based controller or with a perturbation operator chosen by a rule-based controller. We also propose an ensemble method that trains several RL policies and chooses the best solution produced by the policies. Our method achieved new state-of-the-art results for CVRP instances.
129
+
130
+ Our work provides a way of combining the strength of OR with learning capabilities of RL. For future work, we would like to apply the solution framework to solve other variants of the VRP, such as vehicle routing problems with time windows (VRPTW), as well as other combinatorial problems, such as maximum independent set problems and graph coloring problems. Furthermore, it is interesting to investigate whether allowing temporary constraint violations in our framework will help improve solution quality or not.
131
+
132
+ # 5 ACKNOWLEDGEMENT
133
+
134
+ We would like to thank our colleagues at Ant Financial, Wei Yan and Junping Zhao, for allocating GPU resources needed for the computational experiments.
135
+
136
+ # REFERENCES
137
+
138
+ Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. arXiv:1611.09940, 2016.
139
+
140
+ Yoshua Bengio, Andrea Lodi, and Antoine Prouvost. Machine learning for combinatorial optimization: a methodological tour d’horizon. arXiv:1811.06128, 2018.
141
+
142
+ Edmund K. Burke, Michel Gendreau, Matthew R. Hyde, Graham Kendall, Gabriela Ochoa, Ender Ozcan, and Rong Qu. Hyper-heuristics: a survey of the state of the art. ¨ Journal of the Operational Research Society, 64:1695–1724, 2013.
143
+
144
+ Xinyun Chen and Yuandong Tian. Learning to perform local rewriting for combinatorial optimization. arXiv:1810.00337, 2019.
145
+
146
+ G. Clarke and J. W. Wright. Scheduling of vehicles from a central depot to a number of delivery points. Operations Research, 12:568–581, 1964.
147
+
148
+ G. B. Dantzig and J. H. Ramser. The truck dispatching problem. Management Science, 6(1):80–91, 1959.
149
+
150
+ Michel Deudon, Pierre Cournut, Alexandre Lacoste, Yossiri Adulyasak, and Louis-Martin Rousseau. Learning heuristics for the TSP by policy gradient. In International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research, pp. 170–181. Springer, 2018.
151
+
152
+ Ricardo Fukasawa, Humberto Longo, Jens Lysgaard, Marcus Poggi de Aragao, Marcelo Reis, Ed- ˜ uardo Uchoa, and Renato F Werneck. Robust branch-and-cut-and-price for the capacitated vehicle routing problem. Mathematical Programming, 106(3):491–511, 2006.
153
+
154
+ Bruce L. Golden, Subramanian Raghavan, and Edward A. Wasil. The vehicle routing problem: latest advances and new challenges. Springer Science & Business Media, 2008.
155
+
156
+ Google. OR-tools, Google optimization tools, 2019. URL https://developers.google. com/optimization.
157
+
158
+ Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv:1410.5401, 2014.
159
+
160
+ Keld Helsgaun. An effective implementation of the Lin-Kernighan traveling salesman heuristic. European Journal of Operational Research, 126:106–130, 2000.
161
+
162
+ Keld Helsgaun. An extension of the Lin-Kernighan-Helsgaun TSP solver for constrained traveling salesman and vehicle routing problems. Technical report, Roskilde University, 2017.
163
+
164
+ Yoav Kaempfer and Lior Wolf. Learning the multiple traveling salesmen problem with permutation invariant pooling networks. arXiv:1803.09621, 2018.
165
+
166
+ Elias Khalil, Hanjun Dai, Yuyu Zhang, Bistra Dilkina, and Le Song. Learning combinatorial optimization algorithms over graphs. In Advances in Neural Information Processing Systems, pp. 6348–6358, 2017.
167
+
168
+ Wouter Kool, Herke van Hoof, and Max Welling. Attention, learn to solve routing problems! In International Conference on Learning Representations, 2019.
169
+
170
+ Suresh Nanda Kumar and Ramasamy Panneerselvam. A survey on the vehicle routing problem and its variants. Intelligent Information Management, 4:66–74, 2012.
171
+
172
+ Zhuwen Li, Qifeng Chen, and Vladlen Koltun. Combinatorial optimization with graph convolutional networks and guided tree search. In Advances in Neural Information Processing Systems, pp. 539–548, 2018.
173
+
174
+ S. Lin and B. W. Kernighan. An effective heuristic algorithm for the traveling-salesman problem. Operations Research, 21:498–516, 1973.
175
+
176
+ Andrea Lodi and Giulia Zarpellon. On learning and branching: a survey. Top, 25(2):207–236, 2017.
177
+
178
+ Michele Lombardi and Michela Milano. Boosting combinatorial problem modeling with machine learning. arXiv:1807.05517, 2018.
179
+
180
+ Hongzi Mao, Mohammad Alizadeh, Ishai Menache, and Srikanth Kandula. Resource management with deep reinforcement learning. In The 15th ACM Workshop on Hot Topics in Networks, pp. 50–56. ACM, 2016.
181
+
182
+ Mohammadreza Nazari, Afshin Oroojlooy, Lawrence Snyder, and Martin Takac. Reinforcement ´ learning for solving the vehicle routing problem. In Advances in Neural Information Processing Systems, pp. 9839–9849, 2018.
183
+
184
+ David Odling. A metaheuristic for vehicle routing problems based on reinforcement learning. Mas- ¨ ter’s thesis, KTH Royal Institute of Technology, School of Engineering Science, 2018.
185
+
186
+ Kate A. Smith. Neural networks for combinatorial optimization: a review of more than a decade of research. INFORMS Journal on Computing, 11(1):15–34, 1999.
187
+
188
+ Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014.
189
+
190
+ Richard S. Sutton and Andrew G. Barto. Reinforcement learning: an introduction. MIT Press, 2 edition, 2018.
191
+
192
+ Paolo Toth and Daniele Vigo. Models, relaxations and exact approaches for the capacitated vehicle routing problem. Discrete Applied Mathematics, 123:487–512, 2002.
193
+
194
+ Paolo Toth and Daniele Vigo. Vehicle routing: problems, methods, and applications. SIAM, 2014.
195
+
196
+ Eduardo Uchoa, Diego Pecin, Artur Pessoa, Marcus Poggi, Thibaut Vidal, and Anand Subramanian. New benchmark instances for the capacitated vehicle routing problem. European Journal of Operational Research, 257:845–858, 2017.
197
+
198
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in Neural Information Processing Systems, pp. 6000–6010, 2017.
199
+
200
+ Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv:1710.10903, 2017.
201
+
202
+ Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Advances in Neural Information Processing Systems, pp. 2692–2700, 2015.
203
+
204
+ Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992.
205
+
206
+ # A AN INTEGER PROGRAMMING FORMULATION OF THE CVRP
207
+
208
+ Formally, there is a depot and a set of $N$ customers in the CVRP. Each customer $i$ , $i \in \{ 1 , \ldots , N \}$ , has a demand $d _ { i }$ to be satisfied. A vehicle, which always starts at and ends at the depot, can serve a set of customers as long as the total customer demand does not exceed the capacity of the vehicle $C$ . The traveling cost $c _ { i , j }$ is the cost of a vehicle going from node $i$ to $j$ , with $i , j \in V = \{ 0 , 1 , . . . , N \}$ (where the depot is denoted by node 0 for convenience). The objective is to find a routing plan with minimal cost that serves all customers without violating vehicle capacity constraints. An integer programming formulation of the CVRP (Toth & Vigo, 2002) is given below.
209
+
210
+ $$
211
+ \begin{array} { r l } & { \displaystyle \operatorname* { m i n } _ { \tau \to \tau } \sum _ { \ell \in \mathcal { N } _ { i } } \sum _ { \ell \in \mathcal { N } _ { i } } \alpha _ { i , j } } \\ & { \ : \ : \ : \sum _ { \ell \in \mathcal { N } _ { i } } \alpha _ { i , j } \le C _ { i , j } \le V \setminus \{ 0 \} } \\ & { \ : \ : \ : \delta \cdot \sum _ { \ell \in \mathcal { N } _ { i } } \gamma _ { \ell } = 1 , \ : \forall j \in V \setminus \{ 0 \} } \\ & { \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \sum _ { \ell \in \mathcal { N } _ { i } } \gamma _ { \ell , j } = 1 , \ : \forall i \in V \setminus \{ 0 \} } \\ & { \ : \ : \ : \ : \sum _ { \ell \in \mathcal { N } _ { i } \setminus \{ 0 \} } \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \widetilde { \mathcal { M } } _ { i } = K , } \\ & { \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : \mathcal { M } _ { i } \leq C \cdot \ : \ : \forall \ : \ : \ : \ : \mathcal { M } _ { i } , \ : \ : \ : \ : \ : \ : \ : \mathcal { M } _ { i } \neq \mathcal { I } \setminus \{ \left\{ \left[ \mathcal { R } \right] , \ : \ : \ : \ : \mu _ { i } \right\} } = \mathcal { A } \le \mathcal { L } \\ & { \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : } \\ & { \ : \ : \ : \ : \ : \ : \ : \ : } \end{array}
212
+ $$
213
+
214
+ where $K$ is the number of vehicles available (w.l.o.g., it is assumed that $K = N$ for the CVRP we consider). Constraints (1) and (2) specify that each customer is visited exactly once, while constraints (3) and (4) specify the in and out degree of the depot, respectively. Constraints (5) and (6) impose the vehicle capacity requirements.
215
+
216
+ Table 4: State features
217
+
218
+ <table><tr><td rowspan=1 colspan=1>Type</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=8 colspan=1>Problem-andsolution-specific</td><td rowspan=1 colspan=1>Ci</td><td rowspan=1 colspan=1>Demand of customer i</td></tr><tr><td rowspan=1 colspan=1>Ci</td><td rowspan=1 colspan=1>Free capacity of the route containing customer i</td></tr><tr><td rowspan=1 colspan=1>(xi,yi)</td><td rowspan=1 colspan=1>Location of customer i</td></tr><tr><td rowspan=1 colspan=1>(xi-,yi-)</td><td rowspan=1 colspan=1>Location of node visited before i</td></tr><tr><td rowspan=1 colspan=1>(xi+,yi+)</td><td rowspan=1 colspan=1>Location of node visited after i</td></tr><tr><td rowspan=1 colspan=1>di-i</td><td rowspan=1 colspan=1>Distance from i- to i</td></tr><tr><td rowspan=1 colspan=1>dii+</td><td rowspan=1 colspan=1>Distance from i to i+</td></tr><tr><td rowspan=1 colspan=1>di-i+</td><td rowspan=1 colspan=1>Distance from i- to i+</td></tr><tr><td rowspan=2 colspan=1>History-related</td><td rowspan=1 colspan=1>at-h</td><td rowspan=1 colspan=1>Action taken h steps before</td></tr><tr><td rowspan=1 colspan=1>et-h</td><td rowspan=1 colspan=1>Effect of at-h</td></tr></table>
219
+
220
+ # B DETAILS OF STATES AND OPERATORS
221
+
222
+ We list the details of our state features in Table 4, and of operators in Table 5 and 6.
223
+
224
+ Table 5: Improvement operators
225
+
226
+ <table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=3 colspan=1>Intra-route</td><td rowspan=1 colspan=1>2-0pt</td><td rowspan=1 colspan=1>Remove two edges andreconnect their endpoints</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(1)</td><td rowspan=1 colspan=1>Exchange two customers in the route</td></tr><tr><td rowspan=1 colspan=1>Relocate(1)</td><td rowspan=1 colspan=1>Move a customer in the route toa new location</td></tr><tr><td rowspan=6 colspan=1>Inter-route</td><td rowspan=1 colspan=1>Cross(2)</td><td rowspan=1 colspan=1>Exchange the tails of two routes</td></tr><tr><td rowspan=1 colspan=1>Reverse-cross(2)</td><td rowspan=1 colspan=1>Reverse one of two routes and thenexchange their tails</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m(m =1,2,3) between two routes</td></tr><tr><td rowspan=1 colspan=1>Asymmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m and n(m=1,2,3,n=1,2,3,m/ n)between two routes</td></tr><tr><td rowspan=1 colspan=1>Relocate(2)</td><td rowspan=1 colspan=1>Movea segment oflength m(m =1,2,3) from a route to another</td></tr><tr><td rowspan=1 colspan=1>Cyclic-exchange(3)</td><td rowspan=1 colspan=1>Exchange cyclically one customerbetween three routes</td></tr></table>
227
+
228
+ Table 6: Perturbation operators
229
+
230
+ <table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=3 colspan=1>Inter-route perturbation</td><td rowspan=1 colspan=1>Random-permute</td><td rowspan=1 colspan=1>Randomly destroy m routes andre-construct routes by visiting affectedcustomers in a random order</td></tr><tr><td rowspan=1 colspan=1>Random-exchange(2)</td><td rowspan=1 colspan=1>Randomly exchange m pairs of nearbycustomers between two routes</td></tr><tr><td rowspan=1 colspan=1>Cyclic-exchange</td><td rowspan=1 colspan=1>Exchange cyclically customersbetween multiple routes</td></tr></table>
231
+
232
+ # C POLICY NETWORK
233
+
234
+ Figure 6 shows the structure of our policy network.
235
+
236
+ # D RESULTS ON TSP
237
+
238
+ To quickly produce results for the TSP, we slightly modified our code for the CVRP by always using the first point in a TSP input as the depot in the CVRP formulation and enforcing that there is exactly one route in a solution. The capacity of any point is naturally assumed to be zero. Lastly, we implemented a simple perturbation operator by randomly permuting 20 points for TSP-50 and TSP-100 (10 points for TSP20). Figure 7 shows the trends of individual polices, as well as the ensemble one, for TSP-100. Again we observe that the ensemble method out-performed individual policies, while producing a total distance slightly above the optimal value of 7.76 as reported in the literature. The results for TSP-20 and TSP-50 are similar and thus omitted.
239
+
240
+ # E SCALABILITY ANALYSIS
241
+
242
+ We also tested our method on larger CVRP instances, CVRP-200 and CVRP- $1 0 0 0 ^ { 3 }$ , using the same experimental settings as CVRP-100 (e.g. the capacity of a vehicle is fixed at 50). The results are
243
+
244
+ ![](images/783b019a672d88743284734b64dfad47db4f6d8b3db3b15d09e89e7f16446ad1.jpg)
245
+ Figure 6: Policy network. The dash-line box is the state embedding part of policy network, which contains problem- and solution-specific input features, an attention network, and a sequence of historical actions and effects. The concatenated values are fed into a network of two fully connected layers, producing a vector of action probabilities.
246
+
247
+ ![](images/81b0bcc5f4fef4dedcd2eb460defc19884151001d2cbb85a7763085b32dc779e.jpg)
248
+ Figure 7: Results for TSP-100
249
+
250
+ given in Figure 8, which shows that our ensemble method scales well as the number of customers increases. In particular, the running time of our method increases less dramatically than LKH3.
251
+
252
+ ![](images/03699e7afe1a49a3e3cab690e41519f06213daed8067e598acc25ce915494521.jpg)
253
+ Figure 8: Traveling cost and average computation time as the number of customers increases
254
+
255
+ # F SENSITIVITY ANALYSIS
256
+
257
+ ![](images/ddd526c3add62c990e1eeba084d6cf3fc80402e68a557ffb9a214e29bf86f950.jpg)
258
+ Figure 9: CVRP-100 results under different data distributions by Policy 3
259
+
260
+ ![](images/964326a33b9b570479b09dfc1088bc5ff3594bb5df94cdf739f3834fe467e1cb.jpg)
261
+ Figure 10: Generalization results using Policy 3
262
+
263
+ Following the same protocol of data generation as in Uchoa et al. (2017) (the authors of the paper were the creators and owners of the CVRPLib website4), we tested our method for four additional scenarios, namely, central depot positioning, eccentric depot positioning, clustered customer positioning, and random-clustered customer positioning. It is worthwhile to point out that the data distribution used in our initial paper corresponds to random depot and random customer positioning. Figure 9 (a) shows the impact of depot positioning (while using random customer positioning), and (b) shows the effect of customer positioning (while using random depot positioning). To make results from different data distributions comparable, we normalized the distance by the minimal distance achieved for each data distribution (denoted by “Ratio” as in the Figure), respectively. The plots show that our method works across different data distributions, and the decreasing trends of distance look similar.
264
+
265
+ Furthermore, we also used the model trained for CVRP-100 to solve CVRP-50 and CVRP-20. Similarly, we also tested a trained CVRP-50 model for CVRP-20. Figure 10 shows that current implementation of our method can be applied to problems of different sizes.
parse/train/BJe1334YDH/BJe1334YDH_content_list.json ADDED
@@ -0,0 +1,1453 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "A LEARNING-BASED ITERATIVE METHOD FOR SOLVING VEHICLE ROUTING PROBLEMS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 789,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Hao Lu ∗ Princeton University, Princeton, NJ 08540 {haolu}@princeton.edu ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 462,
21
+ 212
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Xingwen Zhang ∗ & Shuang Yang Ant Financial Services Group, San Mateo, CA 94402 {xingwen.zhang,shuang.yang}@antfin.com ",
28
+ "bbox": [
29
+ 183,
30
+ 233,
31
+ 553,
32
+ 276
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 311,
43
+ 544,
44
+ 327
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "This paper is concerned with solving combinatorial optimization problems, in particular, the capacitated vehicle routing problems (CVRP). Classical Operations Research (OR) algorithms such as LKH3 (Helsgaun, 2017) are inefficient and difficult to scale to larger-size problems. Machine learning based approaches have recently shown to be promising, partly because of their efficiency (once trained, they can perform solving within minutes or even seconds). However, there is still a considerable gap between the quality of a machine learned solution and what OR methods can offer (e.g., on CVRP-100, the best result of learned solutions is between 16.10-16.80, significantly worse than LKH3’s 15.65). In this paper, we present “Learn to Improve” (L2I), the first learning based approach for CVRP that is efficient in solving speed and at the same time outperforms OR methods. Starting with a random initial solution, L2I learns to iteratively refine the solution with an improvement operator, selected by a reinforcement learning based controller. The improvement operator is selected from a pool of powerful operators that are customized for routing problems. By combining the strengths of the two worlds, our approach achieves the new state-of-the-art results on CVRP, e.g., an average cost of 15.57 on CVRP-100. ",
51
+ "bbox": [
52
+ 233,
53
+ 340,
54
+ 764,
55
+ 577
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 601,
66
+ 336,
67
+ 617
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "In this paper, we focus on an important class of combinatorial optimization, vehicle routing problems (VRP), which have a wide range of applications in logistics. Capacitated vehicle routing problem (CVRP) is a basic variant of VRP, aiming to find a set of routes with minimal cost to fulfill the demands of a set of customers without violating vehicle capacity constraints. The CVRP is NP-hard (Dantzig & Ramser, 1959), and both exact and heuristic methods have been developed to solve it (Fukasawa et al., 2006; Golden et al., 2008; Kumar & Panneerselvam, 2012; Toth & Vigo, 2014). ",
74
+ "bbox": [
75
+ 174,
76
+ 632,
77
+ 823,
78
+ 715
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In recent years, especially after the seminal work of Pointer Networks (Vinyals et al., 2015), researchers start to develop new deep learning and reinforcement learning (RL) frameworks to solve combinatorial optimization problems (Bello et al., 2016; Mao et al., 2016; Khalil et al., 2017; Bengio et al., 2018; Kool et al., 2019; Chen & Tian, 2019). For the CVRP itself, a number of RLbased methods have been proposed in the literature (Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019). The learning based methods are trained on a huge number of problem instances, and have been shown to be extremely fast in producing solutions of reasonably good quality. However, when tested with the same benchmark instances, these learning-based methods cannot outperform the state-of-the-art method LKH3 (Helsgaun, 2017), which is a penalty-function-based extension of classical Lin-Kernighan heuristic (Lin & Kernighan, 1973; Helsgaun, 2000). For example, on CVRP with 100 customers, LKH3 is able to produce an average cost of 15.65. This line of research motivated us to study a framework that combines the strength of Operations Research (OR) heuristics with learning capabilities of machine learning (RL in particular). Machine learning can learn to solve a class of problem instances fast, when test instances are generated from the same distribution as training instances. Classical approaches like search algorithms are effective but may need heavy computation, which is time-consuming. Our research interest is in fusing the strengths of these two worlds. Another related line of research is hyper-heuristics, which is “a search method or learning mechanism for selecting or generating heuristics to solve computational search problems” (Burke et al., 2013). Instead of developing a high-level methodology without the need of knowing the details of low-level heuristics, we are primarily interested in a closely integrated system that best utilizes the strength of OR operators and learning capability. ",
85
+ "bbox": [
86
+ 174,
87
+ 723,
88
+ 825,
89
+ 904
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 174,
98
+ 103,
99
+ 825,
100
+ 215
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Our Contributions. Instead of directly constructing a solution from the problem instance (Graves et al., 2014; Sutskever et al., 2014; Vinyals et al., 2015), we propose a framework that iteratively searches among solutions, until a certain termination condition is satisfied. Our main contributions are as follows: ",
107
+ "bbox": [
108
+ 174,
109
+ 222,
110
+ 823,
111
+ 277
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "• We present a learning-based algorithm for solving CVRP, achieving new state-of-the-art results. The recent line of works using RL to solve CVRP shows the potential of machine learning algorithms. They can solve CVRP faster, but cannot beat classical OR solvers like LKH3 in term of solution quality. Our algorithm is the first machine learning framework that outperforms LKH3 on CVRP. \nWe propose a novel hierarchical framework. Instead of putting all operators in one action pool, we separate heuristic operators into two classes, namely improvement operators and perturbation operators. At each state, we choose the class first and then choose operators within the class. Learning from the current solution is made easier by focusing RL on the improvement operators only. \n• We propose an ensemble method, which trains several RL policies at the same time, but with different state input features. The ensemble method is shown to produce superior results than individual policies with an equivalent amount of computation. ",
118
+ "bbox": [
119
+ 189,
120
+ 292,
121
+ 810,
122
+ 498
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "Related Work. In recent years, there have been many studies using deep learning and RL to solve combinatorial optimization problems (Smith, 1999; Mao et al., 2016; Lodi & Zarpellon, 2017; Velickovi ˇ c et al., 2017; Lombardi & Milano, 2018; Bengio et al., 2018). Routing problems, es- ´ pecially traveling salesman problems (TSP) and VRP, have been explored by a sequence of works (Vinyals et al., 2015; Bello et al., 2016; Khalil et al., 2017; Li et al., 2018; Deudon et al., 2018; Kaempfer & Wolf, 2018; Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019). Most of these works, with the exception of Chen & Tian (2019), follow an end-to-end approach, which is directly constructing a solution from scratch. Vinyals et al. (2015) first introduce the Pointer Network, inspired by sequence-to-sequence models, to solve TSP. They use an attention model to learn the order of different nodes in a supervised fashion. Later Bello et al. (2016) develop an RL algorithm to train the Pointer Network. Their framework learns the optimal policy from problem instances and needs no supervised solutions. Nazari et al. (2018) improve the Pointer Network with a new design, making the model invariant with respect to the input sequence, and extend it to solve VRP. Kool et al. (2019) propose a model based on attention layers, and an RL algorithm to train this model with a simple but effective baseline. Chen & Tian (2019) propose a NeuRewriter model for VRP. They define a rewriting rule set and train two policy networks, a region-picking policy and a rule-picking policy, to obtain the next state. Given an initial solution, their goal is to find a sequence of steps towards the solution with minimal cost. ",
129
+ "bbox": [
130
+ 173,
131
+ 512,
132
+ 825,
133
+ 762
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "1.1 NOTATIONS ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 176,
143
+ 795,
144
+ 295,
145
+ 809
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "In CVRP, there is a depot and a set of $N$ customers. Each customer $i$ , $i \\in \\{ 1 , \\ldots , N \\}$ , has a demand $d _ { i }$ to be satisfied. A vehicle, which always starts at and ends at the depot, can serve a set of customers as long as the total customer demand does not exceed the capacity of the vehicle. The traveling cost $c _ { i , j }$ is the cost of a vehicle going from node $i$ to $j$ , with $i , j \\in \\{ 0 , 1 , \\ldots , N \\}$ (where the depot is denoted by node 0 for convenience). The objective is to find a routing plan with minimal cost that serves all customers without violating vehicle capacity constraints. Figure 1 gives an illustration of CVRP, while a mathematical formulation is given in the Appendix. ",
152
+ "bbox": [
153
+ 174,
154
+ 823,
155
+ 825,
156
+ 921
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Route. A route is a sequence of nodes visited in order, with the depot (node 0) as the starting and ending node. For example, [0, 1, 3, 4, 0] is a traveling plan that starts at the depot, visits node 1, 3 and 4 sequentially, and returns to the depot. ",
163
+ "bbox": [
164
+ 173,
165
+ 104,
166
+ 419,
167
+ 200
168
+ ],
169
+ "page_idx": 2
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Solution. A solution is a set of routes such that each customer is visited exactly once, and the total demand along each route is less than the vehicle capacity. ",
174
+ "bbox": [
175
+ 173,
176
+ 208,
177
+ 419,
178
+ 279
179
+ ],
180
+ "page_idx": 2
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "Operator. An operator is a mapping from one solution to another. In this paper, instead of directly constructing a solution from scratch, we improve or perturb the solution iteratively using operators. ",
185
+ "bbox": [
186
+ 173,
187
+ 285,
188
+ 419,
189
+ 368
190
+ ],
191
+ "page_idx": 2
192
+ },
193
+ {
194
+ "type": "image",
195
+ "img_path": "images/f63b654f7eb5408c622a747a930a1b2dfc862a82d0f0901a48d1d9b3a103db60.jpg",
196
+ "image_caption": [
197
+ "Figure 1: An illustration of CVRP. Here we provide a problem instance. The red one is a sample route, and three routes consist of a solution for this problem instance. After applying an operator, current solution changes to a new solution with dashed lines replaced by blue lines. "
198
+ ],
199
+ "image_footnote": [],
200
+ "bbox": [
201
+ 433,
202
+ 109,
203
+ 823,
204
+ 237
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "2 LEARN TO IMPROVE ",
211
+ "text_level": 1,
212
+ "bbox": [
213
+ 176,
214
+ 395,
215
+ 374,
216
+ 411
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "In this section we formally introduce our “Learn to Improve” (L2I) framework, including main components of the system as well as the design intuitions behind individual components. Figure 2 illustrates the overall framework. As mentioned previously, the framework is iterative in nature, that is, we always start with a feasible solution, continuously improving the solution or perturbing it. Along the way, all constraints remain satisfied. By always maintaining the feasibility of the solution, ",
223
+ "bbox": [
224
+ 173,
225
+ 431,
226
+ 825,
227
+ 501
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "we are exploring the space of feasible solutions and any of them found by our search process could potentially be a good solution. After $T$ (a parameter set in advance) steps the algorithm stops, and we choose the one with the minimum traveling cost as our final solution. Our framework has a few distinct components (e.g., how to improve the solution, when and how to perturb it), which could be rule-based, learned by machine learning or mixed, and thus allows us to experiment with different ways of integrating machine learning and OR, some of which could lead to superior methods either in terms of better solution quality or in terms of computational efficiency. It is worthwhile to point out that, as contrast to the work of Chen & Tian (2019), the solution space we explore is much larger since we are employing a rich set of improvement and perturbation operators. ",
234
+ "bbox": [
235
+ 174,
236
+ 501,
237
+ 419,
238
+ 847
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "image",
244
+ "img_path": "images/6e285bf0ea8b32c6e74ebe548072e52ab2b5e2b3cbfc206a872784e86fd9b8a4.jpg",
245
+ "image_caption": [
246
+ "Figure 2: Our hierarchy framework. Given a problem instance, our algorithm first generates a feasible solution. Then it iteratively updates the solution with an improvement operator selected by an RL-based controller or with a perturbation operator chosen by a rule-based controller. After a certain number of steps, we choose the best one among all visited solutions. "
247
+ ],
248
+ "image_footnote": [],
249
+ "bbox": [
250
+ 434,
251
+ 518,
252
+ 823,
253
+ 704
254
+ ],
255
+ "page_idx": 2
256
+ },
257
+ {
258
+ "type": "text",
259
+ "text": "For this research work, we implemented and experimented with a number of design choices, and ended up with a method that is both computationally efficient and able to produce state-of-the-art results. The details of the main components of our method are as follows. Given a history of most recent solutions, our method uses a threshold-based rule to decide whether we should continue to improve the current solution, or should perturb it and restart with the perturbed solution. If it decides that the current solution could still be improved, it will use an RL-based controller to choose one of the improvement operators, and try to improve the solution with the chosen operator. We have a rich set of improvement operators (the list of improvement operators and their details are given in the Appendix), where intra-route ones attempt to reduce the cost of current solution by moving customers to different positions in individual routes, while inter-route ones attempt to reduce the cost by moving customers among different routes. Given that the improvement operators are of distinct characteristics, it is not straightforward to know in advance which operators are most effective for the problem under investigation. It is also difficult to know a pre-defined ordering of the operators that is best for the problem. Thus, an RL-based controller is a good choice to learn the set of improvement operators that is more effective for the problem (or more specifically, the problem and the data distribution from which the training and test instances are sampled). As will be shown in Section 3, our RL model is able to differentiate more useful improvement operators from less useful ones for CVRP, as well as generate an implicit ordering on how the operators will be applied. ",
260
+ "bbox": [
261
+ 174,
262
+ 854,
263
+ 825,
264
+ 924
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "",
271
+ "bbox": [
272
+ 174,
273
+ 103,
274
+ 825,
275
+ 284
276
+ ],
277
+ "page_idx": 3
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "On the other hand, upon reaching a local minimum the perturbation controller randomly chooses a perturbation operator that destroys (completely or partially) and reconstructs a number of routes to generate a new starting solution (Table 6 in the Appendix gives the list of perturbation operators and their details). Specifically, if no cost reduction has been made for $L$ improvement steps, we perturb the solution and restart the improvement iteration (where for ease of explanation a maximum consecutive sequence of improvement operators applied before perturbation is called an improvement iteration). As a perturbation changes the solution quite dramatically (by producing a substantially different solution that is usually worse than the current one), we found that it is useful to start a new improvement iteration with a reasonably good starting point (e.g. by filtering out the restarting solutions that are significantly worse than current solution or currently best solution). It is clear that we purposely separate improvement operators from perturbation ones, and an alternative design would be to mix them all together and have a single controller deciding which operator to apply next. However, the improvement operators are of different nature from the perturbation ones, and their impacts are different since the perturbation operators have long-lasting effect by affecting an entire improvement iteration. Our experience also suggests that learning is made easier by focusing RL on the improvement operators only. Lastly, it is worthwhile to point out that although the rulebased perturbation controller is shown to be effective, we do not rule out the possibility that it can also be learning-based. ",
282
+ "bbox": [
283
+ 174,
284
+ 290,
285
+ 825,
286
+ 540
287
+ ],
288
+ "page_idx": 3
289
+ },
290
+ {
291
+ "type": "text",
292
+ "text": "The framework described above provides a way of combining the strength of OR operators, which are powerful since they are custom-made for routing problems, with learning capabilities of RL, which is flexible and can be adapted to a given problem and its associated data distribution. Having described our overall framework, we are now ready to present the details of the improvement controller and operators. ",
293
+ "bbox": [
294
+ 174,
295
+ 547,
296
+ 825,
297
+ 617
298
+ ],
299
+ "page_idx": 3
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "2.1 IMPROVEMENT CONTROLLER AND OPERATORS",
304
+ "text_level": 1,
305
+ "bbox": [
306
+ 174,
307
+ 637,
308
+ 537,
309
+ 650
310
+ ],
311
+ "page_idx": 3
312
+ },
313
+ {
314
+ "type": "text",
315
+ "text": "The improvement controller starts with an initial solution, which is either constructed randomly (for the first improvement iteration)1 or produced by a perturbation operator (for subsequent iterations), and then tries to improve it, i.e., reducing the total traveling distance without violating any constraints, by selectively applying an improvement operator in Table 5. For the RL model, the set of improvement operators constitute our action space. These operators change the solution locally and most are computationally light. With the current state as input, a neural network produces a vector of action probabilities, and the weights of the network are trained with policy gradient. Figure 6 illustrates the components of our RL model, and their details are given as follows. ",
316
+ "bbox": [
317
+ 174,
318
+ 661,
319
+ 825,
320
+ 773
321
+ ],
322
+ "page_idx": 3
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "2.1.1 STATES ",
327
+ "text_level": 1,
328
+ "bbox": [
329
+ 174,
330
+ 790,
331
+ 281,
332
+ 804
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "Each state includes features from the problem instance, the solution and the running history. Stationary features, such as the location and demand of each customer, are considered as problem-specific since they are invariant across solutions. Solution-specific features are based on the current traveling plan. For example, given a solution, for each customer we compute its neighboring nodes that are visited before and afterwards, as well as the relevant distances. Following Odling (2018), the ¨ running history includes the actions that are recently taken as well as their effects. For example, $a _ { t - h }$ , $1 \\leq h \\leq H$ , is the action taken $h$ steps before current step $t$ , and its effect $e _ { t - h }$ is $+ 1$ if the action led to a reduction of total distance, $^ { - 1 }$ otherwise. A complete description of state features is given in Table 4, where $i ^ { - }$ and $i ^ { + }$ denote the node visited before and after node $; 1 \\leq i \\leq N$ , in the solution, respectively. ",
339
+ "bbox": [
340
+ 174,
341
+ 815,
342
+ 823,
343
+ 885
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "text",
349
+ "text": "",
350
+ "bbox": [
351
+ 174,
352
+ 103,
353
+ 825,
354
+ 174
355
+ ],
356
+ "page_idx": 4
357
+ },
358
+ {
359
+ "type": "text",
360
+ "text": "2.1.2 ACTIONS ",
361
+ "text_level": 1,
362
+ "bbox": [
363
+ 174,
364
+ 196,
365
+ 292,
366
+ 212
367
+ ],
368
+ "page_idx": 4
369
+ },
370
+ {
371
+ "type": "text",
372
+ "text": "The actions can be classified into two classes, intra-route operators and inter-route operators. An intra-route operator attempts to reduce traveling distance of an individual route, while inter-route operators aim at reducing total traveling distance by moving customers between more than one route. The details of the operators are given in Table 5. It is worthwhile to point out that the same operator with different parameters are considered as different actions. For example, Symmetric-exchange(2) with $m = 1 , 2 , 3$ are considered as three distinct actions. For a given problem (or even solution), the same operator with different parameters may perform differently and thus it is appropriate to treat them as separate actions and let the RL model learn how to best use them. ",
373
+ "bbox": [
374
+ 174,
375
+ 224,
376
+ 825,
377
+ 335
378
+ ],
379
+ "page_idx": 4
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "2.1.3 POLICY NETWORK ",
384
+ "text_level": 1,
385
+ "bbox": [
386
+ 176,
387
+ 359,
388
+ 359,
389
+ 373
390
+ ],
391
+ "page_idx": 4
392
+ },
393
+ {
394
+ "type": "text",
395
+ "text": "We use the well-known REINFORCE algorithm (Williams, 1992) to update the gradient ",
396
+ "bbox": [
397
+ 171,
398
+ 386,
399
+ 751,
400
+ 402
401
+ ],
402
+ "page_idx": 4
403
+ },
404
+ {
405
+ "type": "equation",
406
+ "img_path": "images/31523f468fffca19d15184b24c1e6a722e998feac0ed883391490510c46a461b.jpg",
407
+ "text": "$$\n\\nabla _ { \\theta } J ( \\theta | s ) = \\mathbb { E } _ { \\pi \\sim p _ { \\theta } ( . | s ) } \\big [ \\big ( L ( \\pi | s ) - b ( s ) \\big ) \\nabla _ { \\theta } \\log p _ { \\theta } ( \\pi | s ) \\big ]\n$$",
408
+ "text_format": "latex",
409
+ "bbox": [
410
+ 312,
411
+ 415,
412
+ 686,
413
+ 435
414
+ ],
415
+ "page_idx": 4
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "of policy with a baseline function $b ( s )$ . Given a state as described in Section 2.1.1, a policy network outputs a list of action probabilities, one for each action described. As illustrated in Figure 6, problem- and solution-specific input features are transformed into an embedding of length $D$ (we use $D = 6 4$ ), which is fed into an attention network (Vaswani et al., 2017) (we use an attention layer with 8 heads and 64 output units). The output of the attention network is concatenated with a sequence of recent actions and their effects (when $H > 0$ ). Lastly, the concatenated values are fed into a network of two fully connected layers, where the first layer uses 64 units and a Relu activation function and the second layer uses Softmax, producing $| A |$ action probabilities where $A$ is the set of actions. ",
420
+ "bbox": [
421
+ 173,
422
+ 448,
423
+ 825,
424
+ 574
425
+ ],
426
+ "page_idx": 4
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "2.1.4 REWARDS ",
431
+ "text_level": 1,
432
+ "bbox": [
433
+ 174,
434
+ 597,
435
+ 299,
436
+ 611
437
+ ],
438
+ "page_idx": 4
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "We have experimented with a number of reward designs, two of which are producing satisfactory results as well as distinct patterns of operator sequences. The first reward function (denoted by RF1) focuses on the intermediate impact of the improvement operators. Specifically, the reward is $+ 1$ if the operator improves the current solution, -1 otherwise. The second reward function (denoted by RF2) is advantage-based. The total distance achieved for the problem instance during the first improvement iteration is taken as a baseline. For each subsequent iteration, all operators applied during this iteration received a reward equal to the difference between the distance achieved during the iteration and the baseline. We observed that an operator is often able to achieve a large distance reduction for a freshly perturbed solution, while it becomes harder and harder to do so in later improvement steps. In particular, the likelihood of distance reduction as well as the magnitude of such reduction, both decrease as the iteration proceeds. Therefore, it seemed unfair to give early improvement operators a larger reward. The observation suggested that operators used in the same improvement iteration should be rewarded equally and there would be no discounting (or equivalently, the discount factor $\\gamma$ is 1). ",
443
+ "bbox": [
444
+ 173,
445
+ 625,
446
+ 825,
447
+ 819
448
+ ],
449
+ "page_idx": 4
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "To conclude the methodology section, we restart the improvement iteration until reaching a maximum number $T$ of rollout (either improvement or perturbation) steps. Following a common practice of encouraging exploration, we use $\\epsilon$ -greedy (Sutton & Barto, 2018) such that with a probability of 0.05 the RL controller will choose a random improvement action. Lastly, we also experimented with ensembling by training 6 different policies with $H = 1 , 2 , \\ldots , 6$ (while keeping other components of the policy network identical). Ensembling facilitates learning of a diverse set of policies, as well as reducing wall-clock running time. ",
454
+ "bbox": [
455
+ 173,
456
+ 825,
457
+ 825,
458
+ 924
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "text",
464
+ "text": "3 EXPERIMENTS AND ANALYSES ",
465
+ "text_level": 1,
466
+ "bbox": [
467
+ 176,
468
+ 102,
469
+ 462,
470
+ 117
471
+ ],
472
+ "page_idx": 5
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "In this section, we present our experiment results. First we introduce a detailed setup of CVRP and hyper-parameters used. Then we compare our performance with prior neural network approaches, i.e., Nazari et al. (2018), Kool et al. (2019), Chen & Tian (2019), and a classic state-of-the-art heuristic algorithm. At last we provide detailed analysis of our framework2. ",
477
+ "bbox": [
478
+ 174,
479
+ 133,
480
+ 825,
481
+ 189
482
+ ],
483
+ "page_idx": 5
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "Setup and hyper-parameters. We follow the same settings as previous works (Nazari et al., 2018; Kool et al., 2019; Chen & Tian, 2019) for CVRP. We consider three sub-problems with number of customers $N = 2 0 , 5 0 , 1 0 0$ , respectively. The location $( x _ { i } , y _ { i } )$ of each customer, as well as of the depot, is uniformly sampled from unit square (specifically, $x _ { i }$ and $y _ { i }$ are uniformly distributed in the interval $[ 0 , 1 ]$ , respectively), and the traveling cost between two locations $c _ { i , j }$ is simply the corresponding Euclidean distance. The demand $d _ { i }$ of each customer is uniformly sampled from the discrete set $\\{ \\bar { 1 } , 2 , \\dots , 9 \\}$ . The capacity of a vehicle is 20, 30, 40 for $N = 2 0 , 5 0 , 1 0 0$ , respectively. After $L \\ = \\ 6$ consecutive step of no improvement, we perturb the solution. To train the policy network, we use ADAM with a learning rate of 0.001. Unless otherwise stated, for a problem instance and a given policy we randomly initiate a feasible solution, and then iteratively update the solution $T = 4 0 0 0 0$ times following the policy. In the following section we will discuss the performance of a policy with different rollout steps (recall that a rollout step is either an improvement step or a perturbation one). We choose the best one among all 40000 visited solutions as the final solution for a given problem instance. In the ensemble model we use different number of historical actions and effects to train a set of diverse policies (recall the policy network in Figure 6), and for any problem instance we choose the best solution produced by these policies. Unless otherwise stated, all reported metrics, such as the final traveling cost and the running time, are always computed as the average over 2000 random samples. Lastly, our method was implemented in Python, and the experiments were run computer nodes, each with a single Nvidia Tesla T4 GPU. ",
488
+ "bbox": [
489
+ 174,
490
+ 196,
491
+ 825,
492
+ 460
493
+ ],
494
+ "page_idx": 5
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "3.1 PERFORMANCE COMPARISON ",
499
+ "text_level": 1,
500
+ "bbox": [
501
+ 176,
502
+ 478,
503
+ 418,
504
+ 492
505
+ ],
506
+ "page_idx": 5
507
+ },
508
+ {
509
+ "type": "text",
510
+ "text": "In Table 1 we compare the performance of our algorithm with prior neural network approaches mentioned above, Google OR-tools (Google, 2019), and classic state-of-the-art heuristic algorithm LKH3 (Helsgaun, 2017). Our ensemble method chose the solution with minimum traveling cost among those produced by Policy $i$ (with $1 \\leq i = h \\leq 6$ ). As shown in Table 1, our algorithm outperforms the prior approaches in terms of average traveling cost. In particular, the average distance achieved by our algorithm is significantly shorter than prior neural network approaches. Thus, our algorithm is producing state-of-the-art results for CVRP, and is the first learning-based framework that outperforms the well-known classic heuristic algorithm. ",
511
+ "bbox": [
512
+ 173,
513
+ 505,
514
+ 825,
515
+ 616
516
+ ],
517
+ "page_idx": 5
518
+ },
519
+ {
520
+ "type": "table",
521
+ "img_path": "images/5d39e02dba4a4cbafad6602d89ddf44975860736d3d5479e82b87a8f69468be6.jpg",
522
+ "table_caption": [
523
+ "Table 1: Comparison of our experiment results with those reported in the literature "
524
+ ],
525
+ "table_footnote": [],
526
+ "table_body": "<table><tr><td></td><td>N=20 Obj.</td><td>N=50 Obj.</td><td>N = 100 Obj.</td></tr><tr><td>Google OR Tools</td><td>6.43</td><td>11.31</td><td>17.16</td></tr><tr><td>Nazari et al. (2018)</td><td>6.40</td><td>11.15</td><td>16.96</td></tr><tr><td>AM greedy (Kool et al., 2019)</td><td>6.40</td><td>10.98</td><td>16.80</td></tr><tr><td>AM sampling (Kool et al., 2019)</td><td>6.25</td><td>10.62</td><td>16.23</td></tr><tr><td>Chen&amp; Tian (2019)</td><td>6.16</td><td>10.51</td><td>16.10</td></tr><tr><td>LKH (Helsgaun, 2017)</td><td>6.14</td><td>10.38</td><td>15.65</td></tr><tr><td>L2I</td><td>6.12</td><td>10.35</td><td>15.57</td></tr></table>",
527
+ "bbox": [
528
+ 264,
529
+ 666,
530
+ 730,
531
+ 796
532
+ ],
533
+ "page_idx": 5
534
+ },
535
+ {
536
+ "type": "text",
537
+ "text": "3.2 ANALYSIS OF THE ENSEMBLE METHOD ",
538
+ "text_level": 1,
539
+ "bbox": [
540
+ 176,
541
+ 830,
542
+ 483,
543
+ 844
544
+ ],
545
+ "page_idx": 5
546
+ },
547
+ {
548
+ "type": "text",
549
+ "text": "Recall that we train 6 different policies with $H \\in \\{ 1 , 2 , \\ldots , 6 \\}$ . To illustrate the motivation of the ensemble method, we randomly pick 10 problem instances and show the traveling cost under different policies for these problem instances in Table 2. We can see that Policy 1 did the best for the first problem instance, but it performed the worst for the second one. Furthermore, there is no clear winning policy, which is the reason we propose an ensemble method. ",
550
+ "bbox": [
551
+ 176,
552
+ 856,
553
+ 825,
554
+ 898
555
+ ],
556
+ "page_idx": 5
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "",
561
+ "bbox": [
562
+ 173,
563
+ 103,
564
+ 823,
565
+ 132
566
+ ],
567
+ "page_idx": 6
568
+ },
569
+ {
570
+ "type": "table",
571
+ "img_path": "images/62ec0f973d219a6466f71b3d860b87ae210ef77986c8dcd70d46314dab60a4d8.jpg",
572
+ "table_caption": [
573
+ "Table 2: Motivating examples: traveling cost under different policies for random problem instances "
574
+ ],
575
+ "table_footnote": [],
576
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"10\">Problem instances</td></tr><tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr><tr><td>Policy 1</td><td>18.65</td><td>16.67</td><td>15.41</td><td>15.11</td><td>16.69</td><td>14.97</td><td>16.88</td><td>16.37</td><td>13.72</td><td>15.56</td></tr><tr><td>Policy 2</td><td>18.86</td><td>16.61</td><td>15.39</td><td>15.10</td><td>16.55</td><td>14.75</td><td>16.73</td><td>16.39</td><td>13.77</td><td>15.56</td></tr><tr><td>Policy 3</td><td>18.81</td><td>16.63</td><td>15.43</td><td>15.06</td><td>16.82</td><td>14.72</td><td>16.70</td><td>16.37</td><td>13.73</td><td>15.79</td></tr><tr><td>Policy 4</td><td>18.90</td><td>16.60</td><td>15.37</td><td>15.04</td><td>16.66</td><td>14.93</td><td>16.83</td><td>16.32</td><td>13.70</td><td>15.62</td></tr><tr><td>Policy 5</td><td>18.73</td><td>16.56</td><td>15.43</td><td>15.12</td><td>16.66</td><td>15.09</td><td>16.80</td><td>16.53</td><td>13.72</td><td>15.56</td></tr><tr><td>Policy 6</td><td>18.92</td><td>16.60</td><td>15.43</td><td>15.09</td><td>16.73</td><td>14.65</td><td>16.59</td><td>16.55</td><td>13.73</td><td>15.56</td></tr></table>",
577
+ "bbox": [
578
+ 178,
579
+ 181,
580
+ 816,
581
+ 297
582
+ ],
583
+ "page_idx": 6
584
+ },
585
+ {
586
+ "type": "image",
587
+ "img_path": "images/624ae57c3fc32697f30820a4fa695016252a2639b07ba367b61d1639788307d1.jpg",
588
+ "image_caption": [
589
+ "Figure 3: Average traveling cost of different policies with different rollout steps "
590
+ ],
591
+ "image_footnote": [],
592
+ "bbox": [
593
+ 184,
594
+ 352,
595
+ 810,
596
+ 675
597
+ ],
598
+ "page_idx": 6
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "In Figure 3(a), (b) and (c), we plot the average traveling cost over 2000 problem instances for CVRP with $N = 2 0$ , 50, 100, respectively. It is worthwhile to point out that the same hyper-parameters are used for different $N$ values. The top blue line is for a random policy, the bottom red line is for our ensemble method, and lines in between are for Policy 1, 2, . . . , 6. The plots show that, regardless of the number of rollout steps, our trained RL policies consistently outperform the random policy. Figure 4(c) shows that the gap between the random policy and the ensemble method first increases, peaks at about 5000 rollout steps, and then gets smaller and smaller. It is encouraging that we get the maximum gap fast, which will be helpful when computational time is limited. Lastly, in Figure 4(d) we show three policies, the random policy, the ensemble method, and the best RL policy (Policy 3), for CVRP-100. To match the performance of the random policy with 40000 rollout steps, the ensemble method would take 2500 rollout steps, while it takes 5000 rollout steps to match Policy 3 with 40000 rollout steps. The outperformance of the ensemble method becomes more obvious when $N = 2 0 , 5 0$ . These analysis shows that naively increasing rollout steps of a policy provides less marginal gains than ensembling a diverse set of policies. ",
603
+ "bbox": [
604
+ 173,
605
+ 729,
606
+ 825,
607
+ 924
608
+ ],
609
+ "page_idx": 6
610
+ },
611
+ {
612
+ "type": "table",
613
+ "img_path": "images/6946c218f62521a394c44a857f0d0be9245ff7cf8f3da45000b9762e7abbc440.jpg",
614
+ "table_caption": [
615
+ "Table 3: Improvement operators mostly used "
616
+ ],
617
+ "table_footnote": [],
618
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=2 colspan=1>Intra-route</td><td rowspan=1 colspan=1>2-0pt</td><td rowspan=1 colspan=1>Remove two edges andreconnect their endpoints</td></tr><tr><td rowspan=1 colspan=1>Relocate(1)</td><td rowspan=1 colspan=1>Move a customer in the route toa new location</td></tr><tr><td rowspan=3 colspan=1>Inter-route</td><td rowspan=1 colspan=1>Cross(2)</td><td rowspan=1 colspan=1>Exchange the tails of two routes</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m(m = 1) between two routes</td></tr><tr><td rowspan=1 colspan=1>Relocate(2)</td><td rowspan=1 colspan=1>Move a segment of length m(m = 1) from a route to another</td></tr></table>",
619
+ "bbox": [
620
+ 245,
621
+ 138,
622
+ 748,
623
+ 286
624
+ ],
625
+ "page_idx": 7
626
+ },
627
+ {
628
+ "type": "text",
629
+ "text": "3.3 ANALYSIS OF OPERATOR USAGES",
630
+ "text_level": 1,
631
+ "bbox": [
632
+ 176,
633
+ 321,
634
+ 444,
635
+ 335
636
+ ],
637
+ "page_idx": 7
638
+ },
639
+ {
640
+ "type": "text",
641
+ "text": "As we mentioned before, the RL model is able to differentiate more useful improvement operators from less useful ones for CVRP. In our experiments, we count the usage of different operators for different policies as training epochs grow. When the myopic reward function RF1 in Section 2.1.4 is used, our experimental results show that the policy converges to use a fixed subset of improvement operators (for detailed operators, see Table 3). This subset of operators are also preferred by all policies when we use RF2. However, the pattern of operator usages varies among the policies. For example, Figure 4(a) and (b) illustrate different patterns of operator usages for Policy 1 and Policy 2, respectively. ",
642
+ "bbox": [
643
+ 173,
644
+ 349,
645
+ 825,
646
+ 460
647
+ ],
648
+ "page_idx": 7
649
+ },
650
+ {
651
+ "type": "image",
652
+ "img_path": "images/ce3d9514a6179351fd7a273c5743c85971fba32406e8a6dbf149bfd524a33d35.jpg",
653
+ "image_caption": [
654
+ "Figure 4: Pattern of operator usages as training epoch grows "
655
+ ],
656
+ "image_footnote": [],
657
+ "bbox": [
658
+ 186,
659
+ 478,
660
+ 810,
661
+ 643
662
+ ],
663
+ "page_idx": 7
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "3.4 ANALYSIS OF PERTURBATION MAGNITUDE ",
668
+ "text_level": 1,
669
+ "bbox": [
670
+ 176,
671
+ 703,
672
+ 508,
673
+ 715
674
+ ],
675
+ "page_idx": 7
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "From our experimental study we also observed that the solution quality is sensitive to the magnitude of perturbation. To illustrate the impact of perturbation, in Figure 5 we plot the performance of two run configurations, one with Random-permute applied to all routes (called Random-permute-all), while the other with Random-permute applied to two routes only (called Random-permute-2). As seen from Figure 5, Random-permute-2 significantly outperformed Random-permute-all. Intuitively, when the magnitude of perturbation is too large, the resulting solution generally becomes much worse and it will take our algorithm a large number of improvement steps to remedy the deterioration. ",
680
+ "bbox": [
681
+ 174,
682
+ 729,
683
+ 522,
684
+ 922
685
+ ],
686
+ "page_idx": 7
687
+ },
688
+ {
689
+ "type": "image",
690
+ "img_path": "images/b959c7ff23f3e84dd13b04beacf1d87591b63b639cdcbb60b9dae11d17059099.jpg",
691
+ "image_caption": [
692
+ "Figure 5: Impact of perturbation magnitude "
693
+ ],
694
+ "image_footnote": [],
695
+ "bbox": [
696
+ 544,
697
+ 739,
698
+ 813,
699
+ 876
700
+ ],
701
+ "page_idx": 7
702
+ },
703
+ {
704
+ "type": "text",
705
+ "text": "4 CONCLUSION ",
706
+ "text_level": 1,
707
+ "bbox": [
708
+ 174,
709
+ 102,
710
+ 318,
711
+ 117
712
+ ],
713
+ "page_idx": 8
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "In this paper we propose “Learn to Improve” for solving VRP, which starts with an initial solution and iteratively updates the solution with an improvement operator selected by an RL-based controller or with a perturbation operator chosen by a rule-based controller. We also propose an ensemble method that trains several RL policies and chooses the best solution produced by the policies. Our method achieved new state-of-the-art results for CVRP instances. ",
718
+ "bbox": [
719
+ 174,
720
+ 133,
721
+ 825,
722
+ 203
723
+ ],
724
+ "page_idx": 8
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "Our work provides a way of combining the strength of OR with learning capabilities of RL. For future work, we would like to apply the solution framework to solve other variants of the VRP, such as vehicle routing problems with time windows (VRPTW), as well as other combinatorial problems, such as maximum independent set problems and graph coloring problems. Furthermore, it is interesting to investigate whether allowing temporary constraint violations in our framework will help improve solution quality or not. ",
729
+ "bbox": [
730
+ 174,
731
+ 210,
732
+ 825,
733
+ 295
734
+ ],
735
+ "page_idx": 8
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "5 ACKNOWLEDGEMENT ",
740
+ "text_level": 1,
741
+ "bbox": [
742
+ 176,
743
+ 315,
744
+ 387,
745
+ 332
746
+ ],
747
+ "page_idx": 8
748
+ },
749
+ {
750
+ "type": "text",
751
+ "text": "We would like to thank our colleagues at Ant Financial, Wei Yan and Junping Zhao, for allocating GPU resources needed for the computational experiments. ",
752
+ "bbox": [
753
+ 173,
754
+ 348,
755
+ 823,
756
+ 376
757
+ ],
758
+ "page_idx": 8
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "REFERENCES ",
763
+ "text_level": 1,
764
+ "bbox": [
765
+ 176,
766
+ 398,
767
+ 285,
768
+ 412
769
+ ],
770
+ "page_idx": 8
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "Irwan Bello, Hieu Pham, Quoc V. Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. arXiv:1611.09940, 2016. ",
775
+ "bbox": [
776
+ 173,
777
+ 421,
778
+ 825,
779
+ 450
780
+ ],
781
+ "page_idx": 8
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "Yoshua Bengio, Andrea Lodi, and Antoine Prouvost. Machine learning for combinatorial optimization: a methodological tour d’horizon. arXiv:1811.06128, 2018. ",
786
+ "bbox": [
787
+ 173,
788
+ 460,
789
+ 823,
790
+ 489
791
+ ],
792
+ "page_idx": 8
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "Edmund K. Burke, Michel Gendreau, Matthew R. Hyde, Graham Kendall, Gabriela Ochoa, Ender Ozcan, and Rong Qu. Hyper-heuristics: a survey of the state of the art. ¨ Journal of the Operational Research Society, 64:1695–1724, 2013. ",
797
+ "bbox": [
798
+ 176,
799
+ 500,
800
+ 823,
801
+ 542
802
+ ],
803
+ "page_idx": 8
804
+ },
805
+ {
806
+ "type": "text",
807
+ "text": "Xinyun Chen and Yuandong Tian. Learning to perform local rewriting for combinatorial optimization. arXiv:1810.00337, 2019. ",
808
+ "bbox": [
809
+ 169,
810
+ 553,
811
+ 823,
812
+ 582
813
+ ],
814
+ "page_idx": 8
815
+ },
816
+ {
817
+ "type": "text",
818
+ "text": "G. Clarke and J. W. Wright. Scheduling of vehicles from a central depot to a number of delivery points. Operations Research, 12:568–581, 1964. ",
819
+ "bbox": [
820
+ 173,
821
+ 592,
822
+ 823,
823
+ 621
824
+ ],
825
+ "page_idx": 8
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "G. B. Dantzig and J. H. Ramser. The truck dispatching problem. Management Science, 6(1):80–91, 1959. ",
830
+ "bbox": [
831
+ 174,
832
+ 631,
833
+ 823,
834
+ 660
835
+ ],
836
+ "page_idx": 8
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "Michel Deudon, Pierre Cournut, Alexandre Lacoste, Yossiri Adulyasak, and Louis-Martin Rousseau. Learning heuristics for the TSP by policy gradient. In International Conference on the Integration of Constraint Programming, Artificial Intelligence, and Operations Research, pp. 170–181. Springer, 2018. ",
841
+ "bbox": [
842
+ 173,
843
+ 670,
844
+ 825,
845
+ 728
846
+ ],
847
+ "page_idx": 8
848
+ },
849
+ {
850
+ "type": "text",
851
+ "text": "Ricardo Fukasawa, Humberto Longo, Jens Lysgaard, Marcus Poggi de Aragao, Marcelo Reis, Ed- ˜ uardo Uchoa, and Renato F Werneck. Robust branch-and-cut-and-price for the capacitated vehicle routing problem. Mathematical Programming, 106(3):491–511, 2006. ",
852
+ "bbox": [
853
+ 173,
854
+ 737,
855
+ 823,
856
+ 781
857
+ ],
858
+ "page_idx": 8
859
+ },
860
+ {
861
+ "type": "text",
862
+ "text": "Bruce L. Golden, Subramanian Raghavan, and Edward A. Wasil. The vehicle routing problem: latest advances and new challenges. Springer Science & Business Media, 2008. ",
863
+ "bbox": [
864
+ 171,
865
+ 790,
866
+ 823,
867
+ 820
868
+ ],
869
+ "page_idx": 8
870
+ },
871
+ {
872
+ "type": "text",
873
+ "text": "Google. OR-tools, Google optimization tools, 2019. URL https://developers.google. com/optimization. ",
874
+ "bbox": [
875
+ 169,
876
+ 830,
877
+ 820,
878
+ 859
879
+ ],
880
+ "page_idx": 8
881
+ },
882
+ {
883
+ "type": "text",
884
+ "text": "Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv:1410.5401, 2014. ",
885
+ "bbox": [
886
+ 171,
887
+ 869,
888
+ 803,
889
+ 886
890
+ ],
891
+ "page_idx": 8
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "Keld Helsgaun. An effective implementation of the Lin-Kernighan traveling salesman heuristic. European Journal of Operational Research, 126:106–130, 2000. ",
896
+ "bbox": [
897
+ 174,
898
+ 895,
899
+ 818,
900
+ 924
901
+ ],
902
+ "page_idx": 8
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "Keld Helsgaun. An extension of the Lin-Kernighan-Helsgaun TSP solver for constrained traveling salesman and vehicle routing problems. Technical report, Roskilde University, 2017. ",
907
+ "bbox": [
908
+ 171,
909
+ 103,
910
+ 825,
911
+ 132
912
+ ],
913
+ "page_idx": 9
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "Yoav Kaempfer and Lior Wolf. Learning the multiple traveling salesmen problem with permutation invariant pooling networks. arXiv:1803.09621, 2018. ",
918
+ "bbox": [
919
+ 173,
920
+ 142,
921
+ 823,
922
+ 171
923
+ ],
924
+ "page_idx": 9
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Elias Khalil, Hanjun Dai, Yuyu Zhang, Bistra Dilkina, and Le Song. Learning combinatorial optimization algorithms over graphs. In Advances in Neural Information Processing Systems, pp. 6348–6358, 2017. ",
929
+ "bbox": [
930
+ 174,
931
+ 180,
932
+ 823,
933
+ 223
934
+ ],
935
+ "page_idx": 9
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "Wouter Kool, Herke van Hoof, and Max Welling. Attention, learn to solve routing problems! In International Conference on Learning Representations, 2019. ",
940
+ "bbox": [
941
+ 174,
942
+ 233,
943
+ 823,
944
+ 263
945
+ ],
946
+ "page_idx": 9
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "Suresh Nanda Kumar and Ramasamy Panneerselvam. A survey on the vehicle routing problem and its variants. Intelligent Information Management, 4:66–74, 2012. ",
951
+ "bbox": [
952
+ 173,
953
+ 272,
954
+ 823,
955
+ 301
956
+ ],
957
+ "page_idx": 9
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "Zhuwen Li, Qifeng Chen, and Vladlen Koltun. Combinatorial optimization with graph convolutional networks and guided tree search. In Advances in Neural Information Processing Systems, pp. 539–548, 2018. ",
962
+ "bbox": [
963
+ 173,
964
+ 310,
965
+ 825,
966
+ 353
967
+ ],
968
+ "page_idx": 9
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "S. Lin and B. W. Kernighan. An effective heuristic algorithm for the traveling-salesman problem. Operations Research, 21:498–516, 1973. ",
973
+ "bbox": [
974
+ 173,
975
+ 363,
976
+ 821,
977
+ 392
978
+ ],
979
+ "page_idx": 9
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "Andrea Lodi and Giulia Zarpellon. On learning and branching: a survey. Top, 25(2):207–236, 2017. ",
984
+ "bbox": [
985
+ 171,
986
+ 401,
987
+ 821,
988
+ 419
989
+ ],
990
+ "page_idx": 9
991
+ },
992
+ {
993
+ "type": "text",
994
+ "text": "Michele Lombardi and Michela Milano. Boosting combinatorial problem modeling with machine learning. arXiv:1807.05517, 2018. ",
995
+ "bbox": [
996
+ 171,
997
+ 426,
998
+ 823,
999
+ 457
1000
+ ],
1001
+ "page_idx": 9
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "Hongzi Mao, Mohammad Alizadeh, Ishai Menache, and Srikanth Kandula. Resource management with deep reinforcement learning. In The 15th ACM Workshop on Hot Topics in Networks, pp. 50–56. ACM, 2016. ",
1006
+ "bbox": [
1007
+ 173,
1008
+ 465,
1009
+ 825,
1010
+ 508
1011
+ ],
1012
+ "page_idx": 9
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "Mohammadreza Nazari, Afshin Oroojlooy, Lawrence Snyder, and Martin Takac. Reinforcement ´ learning for solving the vehicle routing problem. In Advances in Neural Information Processing Systems, pp. 9839–9849, 2018. ",
1017
+ "bbox": [
1018
+ 173,
1019
+ 518,
1020
+ 825,
1021
+ 561
1022
+ ],
1023
+ "page_idx": 9
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "David Odling. A metaheuristic for vehicle routing problems based on reinforcement learning. Mas- ¨ ter’s thesis, KTH Royal Institute of Technology, School of Engineering Science, 2018. ",
1028
+ "bbox": [
1029
+ 173,
1030
+ 570,
1031
+ 823,
1032
+ 601
1033
+ ],
1034
+ "page_idx": 9
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "text": "Kate A. Smith. Neural networks for combinatorial optimization: a review of more than a decade of research. INFORMS Journal on Computing, 11(1):15–34, 1999. ",
1039
+ "bbox": [
1040
+ 174,
1041
+ 609,
1042
+ 823,
1043
+ 640
1044
+ ],
1045
+ "page_idx": 9
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014. ",
1050
+ "bbox": [
1051
+ 173,
1052
+ 648,
1053
+ 821,
1054
+ 678
1055
+ ],
1056
+ "page_idx": 9
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "Richard S. Sutton and Andrew G. Barto. Reinforcement learning: an introduction. MIT Press, 2 edition, 2018. ",
1061
+ "bbox": [
1062
+ 173,
1063
+ 686,
1064
+ 823,
1065
+ 717
1066
+ ],
1067
+ "page_idx": 9
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "Paolo Toth and Daniele Vigo. Models, relaxations and exact approaches for the capacitated vehicle routing problem. Discrete Applied Mathematics, 123:487–512, 2002. ",
1072
+ "bbox": [
1073
+ 171,
1074
+ 726,
1075
+ 823,
1076
+ 756
1077
+ ],
1078
+ "page_idx": 9
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "Paolo Toth and Daniele Vigo. Vehicle routing: problems, methods, and applications. SIAM, 2014. ",
1083
+ "bbox": [
1084
+ 171,
1085
+ 765,
1086
+ 820,
1087
+ 781
1088
+ ],
1089
+ "page_idx": 9
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "Eduardo Uchoa, Diego Pecin, Artur Pessoa, Marcus Poggi, Thibaut Vidal, and Anand Subramanian. New benchmark instances for the capacitated vehicle routing problem. European Journal of Operational Research, 257:845–858, 2017. ",
1094
+ "bbox": [
1095
+ 173,
1096
+ 790,
1097
+ 825,
1098
+ 833
1099
+ ],
1100
+ "page_idx": 9
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in Neural Information Processing Systems, pp. 6000–6010, 2017. ",
1105
+ "bbox": [
1106
+ 173,
1107
+ 842,
1108
+ 823,
1109
+ 886
1110
+ ],
1111
+ "page_idx": 9
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv:1710.10903, 2017. ",
1116
+ "bbox": [
1117
+ 173,
1118
+ 895,
1119
+ 821,
1120
+ 924
1121
+ ],
1122
+ "page_idx": 9
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Advances in Neural Information Processing Systems, pp. 2692–2700, 2015. ",
1127
+ "bbox": [
1128
+ 174,
1129
+ 103,
1130
+ 825,
1131
+ 132
1132
+ ],
1133
+ "page_idx": 10
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. ",
1138
+ "bbox": [
1139
+ 174,
1140
+ 138,
1141
+ 823,
1142
+ 167
1143
+ ],
1144
+ "page_idx": 10
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "A AN INTEGER PROGRAMMING FORMULATION OF THE CVRP ",
1149
+ "text_level": 1,
1150
+ "bbox": [
1151
+ 176,
1152
+ 191,
1153
+ 702,
1154
+ 207
1155
+ ],
1156
+ "page_idx": 10
1157
+ },
1158
+ {
1159
+ "type": "text",
1160
+ "text": "Formally, there is a depot and a set of $N$ customers in the CVRP. Each customer $i$ , $i \\in \\{ 1 , \\ldots , N \\}$ , has a demand $d _ { i }$ to be satisfied. A vehicle, which always starts at and ends at the depot, can serve a set of customers as long as the total customer demand does not exceed the capacity of the vehicle $C$ . The traveling cost $c _ { i , j }$ is the cost of a vehicle going from node $i$ to $j$ , with $i , j \\in V = \\{ 0 , 1 , . . . , N \\}$ (where the depot is denoted by node 0 for convenience). The objective is to find a routing plan with minimal cost that serves all customers without violating vehicle capacity constraints. An integer programming formulation of the CVRP (Toth & Vigo, 2002) is given below. ",
1161
+ "bbox": [
1162
+ 173,
1163
+ 220,
1164
+ 825,
1165
+ 319
1166
+ ],
1167
+ "page_idx": 10
1168
+ },
1169
+ {
1170
+ "type": "equation",
1171
+ "img_path": "images/ffb127c2bedd0cf8ff014640269ed4dfe33b14376ba84d9e19b68b27bfb5b4a2.jpg",
1172
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\operatorname* { m i n } _ { \\tau \\to \\tau } \\sum _ { \\ell \\in \\mathcal { N } _ { i } } \\sum _ { \\ell \\in \\mathcal { N } _ { i } } \\alpha _ { i , j } } \\\\ & { \\ : \\ : \\ : \\sum _ { \\ell \\in \\mathcal { N } _ { i } } \\alpha _ { i , j } \\le C _ { i , j } \\le V \\setminus \\{ 0 \\} } \\\\ & { \\ : \\ : \\ : \\delta \\cdot \\sum _ { \\ell \\in \\mathcal { N } _ { i } } \\gamma _ { \\ell } = 1 , \\ : \\forall j \\in V \\setminus \\{ 0 \\} } \\\\ & { \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\sum _ { \\ell \\in \\mathcal { N } _ { i } } \\gamma _ { \\ell , j } = 1 , \\ : \\forall i \\in V \\setminus \\{ 0 \\} } \\\\ & { \\ : \\ : \\ : \\ : \\sum _ { \\ell \\in \\mathcal { N } _ { i } \\setminus \\{ 0 \\} } \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\widetilde { \\mathcal { M } } _ { i } = K , } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\mathcal { M } _ { i } \\leq C \\cdot \\ : \\ : \\forall \\ : \\ : \\ : \\ : \\mathcal { M } _ { i } , \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\mathcal { M } _ { i } \\neq \\mathcal { I } \\setminus \\{ \\left\\{ \\left[ \\mathcal { R } \\right] , \\ : \\ : \\ : \\ : \\mu _ { i } \\right\\} } = \\mathcal { A } \\le \\mathcal { L } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\\\ & { \\ : \\ : \\ : \\ : \\ : \\ : \\ : \\ : } \\end{array}\n$$",
1173
+ "text_format": "latex",
1174
+ "bbox": [
1175
+ 253,
1176
+ 321,
1177
+ 745,
1178
+ 553
1179
+ ],
1180
+ "page_idx": 10
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "where $K$ is the number of vehicles available (w.l.o.g., it is assumed that $K = N$ for the CVRP we consider). Constraints (1) and (2) specify that each customer is visited exactly once, while constraints (3) and (4) specify the in and out degree of the depot, respectively. Constraints (5) and (6) impose the vehicle capacity requirements. ",
1185
+ "bbox": [
1186
+ 176,
1187
+ 554,
1188
+ 823,
1189
+ 611
1190
+ ],
1191
+ "page_idx": 10
1192
+ },
1193
+ {
1194
+ "type": "table",
1195
+ "img_path": "images/ae1113fb124271a667bbe89fe44bc749e2a5a4bdc7d0715e42bffc7fca8f68c2.jpg",
1196
+ "table_caption": [
1197
+ "Table 4: State features "
1198
+ ],
1199
+ "table_footnote": [],
1200
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Type</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=8 colspan=1>Problem-andsolution-specific</td><td rowspan=1 colspan=1>Ci</td><td rowspan=1 colspan=1>Demand of customer i</td></tr><tr><td rowspan=1 colspan=1>Ci</td><td rowspan=1 colspan=1>Free capacity of the route containing customer i</td></tr><tr><td rowspan=1 colspan=1>(xi,yi)</td><td rowspan=1 colspan=1>Location of customer i</td></tr><tr><td rowspan=1 colspan=1>(xi-,yi-)</td><td rowspan=1 colspan=1>Location of node visited before i</td></tr><tr><td rowspan=1 colspan=1>(xi+,yi+)</td><td rowspan=1 colspan=1>Location of node visited after i</td></tr><tr><td rowspan=1 colspan=1>di-i</td><td rowspan=1 colspan=1>Distance from i- to i</td></tr><tr><td rowspan=1 colspan=1>dii+</td><td rowspan=1 colspan=1>Distance from i to i+</td></tr><tr><td rowspan=1 colspan=1>di-i+</td><td rowspan=1 colspan=1>Distance from i- to i+</td></tr><tr><td rowspan=2 colspan=1>History-related</td><td rowspan=1 colspan=1>at-h</td><td rowspan=1 colspan=1>Action taken h steps before</td></tr><tr><td rowspan=1 colspan=1>et-h</td><td rowspan=1 colspan=1>Effect of at-h</td></tr></table>",
1201
+ "bbox": [
1202
+ 220,
1203
+ 655,
1204
+ 772,
1205
+ 840
1206
+ ],
1207
+ "page_idx": 10
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "B DETAILS OF STATES AND OPERATORS",
1212
+ "text_level": 1,
1213
+ "bbox": [
1214
+ 174,
1215
+ 878,
1216
+ 526,
1217
+ 895
1218
+ ],
1219
+ "page_idx": 10
1220
+ },
1221
+ {
1222
+ "type": "text",
1223
+ "text": "We list the details of our state features in Table 4, and of operators in Table 5 and 6. ",
1224
+ "bbox": [
1225
+ 174,
1226
+ 909,
1227
+ 722,
1228
+ 924
1229
+ ],
1230
+ "page_idx": 10
1231
+ },
1232
+ {
1233
+ "type": "table",
1234
+ "img_path": "images/2e53331f0f10e420a7ffbf700071a8984b82b5832c2e4dad7e25708f1eff9587.jpg",
1235
+ "table_caption": [
1236
+ "Table 5: Improvement operators "
1237
+ ],
1238
+ "table_footnote": [],
1239
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=3 colspan=1>Intra-route</td><td rowspan=1 colspan=1>2-0pt</td><td rowspan=1 colspan=1>Remove two edges andreconnect their endpoints</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(1)</td><td rowspan=1 colspan=1>Exchange two customers in the route</td></tr><tr><td rowspan=1 colspan=1>Relocate(1)</td><td rowspan=1 colspan=1>Move a customer in the route toa new location</td></tr><tr><td rowspan=6 colspan=1>Inter-route</td><td rowspan=1 colspan=1>Cross(2)</td><td rowspan=1 colspan=1>Exchange the tails of two routes</td></tr><tr><td rowspan=1 colspan=1>Reverse-cross(2)</td><td rowspan=1 colspan=1>Reverse one of two routes and thenexchange their tails</td></tr><tr><td rowspan=1 colspan=1>Symmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m(m =1,2,3) between two routes</td></tr><tr><td rowspan=1 colspan=1>Asymmetric-exchange(2)</td><td rowspan=1 colspan=1>Exchange segments of length m and n(m=1,2,3,n=1,2,3,m/ n)between two routes</td></tr><tr><td rowspan=1 colspan=1>Relocate(2)</td><td rowspan=1 colspan=1>Movea segment oflength m(m =1,2,3) from a route to another</td></tr><tr><td rowspan=1 colspan=1>Cyclic-exchange(3)</td><td rowspan=1 colspan=1>Exchange cyclically one customerbetween three routes</td></tr></table>",
1240
+ "bbox": [
1241
+ 220,
1242
+ 137,
1243
+ 772,
1244
+ 400
1245
+ ],
1246
+ "page_idx": 11
1247
+ },
1248
+ {
1249
+ "type": "table",
1250
+ "img_path": "images/7c62abb095f32f82e80d381838d98e152d28bf12d22bb2737124553d3f5d92f4.jpg",
1251
+ "table_caption": [
1252
+ "Table 6: Perturbation operators "
1253
+ ],
1254
+ "table_footnote": [],
1255
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Class</td><td rowspan=1 colspan=1>Name</td><td rowspan=1 colspan=1>Details</td></tr><tr><td rowspan=3 colspan=1>Inter-route perturbation</td><td rowspan=1 colspan=1>Random-permute</td><td rowspan=1 colspan=1>Randomly destroy m routes andre-construct routes by visiting affectedcustomers in a random order</td></tr><tr><td rowspan=1 colspan=1>Random-exchange(2)</td><td rowspan=1 colspan=1>Randomly exchange m pairs of nearbycustomers between two routes</td></tr><tr><td rowspan=1 colspan=1>Cyclic-exchange</td><td rowspan=1 colspan=1>Exchange cyclically customersbetween multiple routes</td></tr></table>",
1256
+ "bbox": [
1257
+ 192,
1258
+ 455,
1259
+ 802,
1260
+ 573
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "C POLICY NETWORK ",
1267
+ "text_level": 1,
1268
+ "bbox": [
1269
+ 174,
1270
+ 599,
1271
+ 366,
1272
+ 617
1273
+ ],
1274
+ "page_idx": 11
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "Figure 6 shows the structure of our policy network. ",
1279
+ "bbox": [
1280
+ 173,
1281
+ 632,
1282
+ 509,
1283
+ 647
1284
+ ],
1285
+ "page_idx": 11
1286
+ },
1287
+ {
1288
+ "type": "text",
1289
+ "text": "D RESULTS ON TSP ",
1290
+ "text_level": 1,
1291
+ "bbox": [
1292
+ 174,
1293
+ 665,
1294
+ 356,
1295
+ 683
1296
+ ],
1297
+ "page_idx": 11
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "To quickly produce results for the TSP, we slightly modified our code for the CVRP by always using the first point in a TSP input as the depot in the CVRP formulation and enforcing that there is exactly one route in a solution. The capacity of any point is naturally assumed to be zero. Lastly, we implemented a simple perturbation operator by randomly permuting 20 points for TSP-50 and TSP-100 (10 points for TSP20). Figure 7 shows the trends of individual polices, as well as the ensemble one, for TSP-100. Again we observe that the ensemble method out-performed individual policies, while producing a total distance slightly above the optimal value of 7.76 as reported in the literature. The results for TSP-20 and TSP-50 are similar and thus omitted. ",
1302
+ "bbox": [
1303
+ 173,
1304
+ 696,
1305
+ 825,
1306
+ 808
1307
+ ],
1308
+ "page_idx": 11
1309
+ },
1310
+ {
1311
+ "type": "text",
1312
+ "text": "E SCALABILITY ANALYSIS ",
1313
+ "text_level": 1,
1314
+ "bbox": [
1315
+ 176,
1316
+ 829,
1317
+ 411,
1318
+ 844
1319
+ ],
1320
+ "page_idx": 11
1321
+ },
1322
+ {
1323
+ "type": "text",
1324
+ "text": "We also tested our method on larger CVRP instances, CVRP-200 and CVRP- $1 0 0 0 ^ { 3 }$ , using the same experimental settings as CVRP-100 (e.g. the capacity of a vehicle is fixed at 50). The results are ",
1325
+ "bbox": [
1326
+ 176,
1327
+ 859,
1328
+ 821,
1329
+ 888
1330
+ ],
1331
+ "page_idx": 11
1332
+ },
1333
+ {
1334
+ "type": "image",
1335
+ "img_path": "images/783b019a672d88743284734b64dfad47db4f6d8b3db3b15d09e89e7f16446ad1.jpg",
1336
+ "image_caption": [
1337
+ "Figure 6: Policy network. The dash-line box is the state embedding part of policy network, which contains problem- and solution-specific input features, an attention network, and a sequence of historical actions and effects. The concatenated values are fed into a network of two fully connected layers, producing a vector of action probabilities. "
1338
+ ],
1339
+ "image_footnote": [],
1340
+ "bbox": [
1341
+ 338,
1342
+ 101,
1343
+ 660,
1344
+ 570
1345
+ ],
1346
+ "page_idx": 12
1347
+ },
1348
+ {
1349
+ "type": "image",
1350
+ "img_path": "images/81b0bcc5f4fef4dedcd2eb460defc19884151001d2cbb85a7763085b32dc779e.jpg",
1351
+ "image_caption": [
1352
+ "Figure 7: Results for TSP-100 "
1353
+ ],
1354
+ "image_footnote": [],
1355
+ "bbox": [
1356
+ 334,
1357
+ 672,
1358
+ 661,
1359
+ 824
1360
+ ],
1361
+ "page_idx": 12
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "given in Figure 8, which shows that our ensemble method scales well as the number of customers increases. In particular, the running time of our method increases less dramatically than LKH3. ",
1366
+ "bbox": [
1367
+ 173,
1368
+ 895,
1369
+ 825,
1370
+ 924
1371
+ ],
1372
+ "page_idx": 12
1373
+ },
1374
+ {
1375
+ "type": "image",
1376
+ "img_path": "images/03699e7afe1a49a3e3cab690e41519f06213daed8067e598acc25ce915494521.jpg",
1377
+ "image_caption": [
1378
+ "Figure 8: Traveling cost and average computation time as the number of customers increases "
1379
+ ],
1380
+ "image_footnote": [],
1381
+ "bbox": [
1382
+ 184,
1383
+ 99,
1384
+ 812,
1385
+ 251
1386
+ ],
1387
+ "page_idx": 13
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "F SENSITIVITY ANALYSIS ",
1392
+ "text_level": 1,
1393
+ "bbox": [
1394
+ 174,
1395
+ 303,
1396
+ 403,
1397
+ 318
1398
+ ],
1399
+ "page_idx": 13
1400
+ },
1401
+ {
1402
+ "type": "image",
1403
+ "img_path": "images/ddd526c3add62c990e1eeba084d6cf3fc80402e68a557ffb9a214e29bf86f950.jpg",
1404
+ "image_caption": [
1405
+ "Figure 9: CVRP-100 results under different data distributions by Policy 3 "
1406
+ ],
1407
+ "image_footnote": [],
1408
+ "bbox": [
1409
+ 186,
1410
+ 338,
1411
+ 808,
1412
+ 502
1413
+ ],
1414
+ "page_idx": 13
1415
+ },
1416
+ {
1417
+ "type": "image",
1418
+ "img_path": "images/964326a33b9b570479b09dfc1088bc5ff3594bb5df94cdf739f3834fe467e1cb.jpg",
1419
+ "image_caption": [
1420
+ "Figure 10: Generalization results using Policy 3 "
1421
+ ],
1422
+ "image_footnote": [],
1423
+ "bbox": [
1424
+ 183,
1425
+ 549,
1426
+ 818,
1427
+ 705
1428
+ ],
1429
+ "page_idx": 13
1430
+ },
1431
+ {
1432
+ "type": "text",
1433
+ "text": "Following the same protocol of data generation as in Uchoa et al. (2017) (the authors of the paper were the creators and owners of the CVRPLib website4), we tested our method for four additional scenarios, namely, central depot positioning, eccentric depot positioning, clustered customer positioning, and random-clustered customer positioning. It is worthwhile to point out that the data distribution used in our initial paper corresponds to random depot and random customer positioning. Figure 9 (a) shows the impact of depot positioning (while using random customer positioning), and (b) shows the effect of customer positioning (while using random depot positioning). To make results from different data distributions comparable, we normalized the distance by the minimal distance achieved for each data distribution (denoted by “Ratio” as in the Figure), respectively. The plots show that our method works across different data distributions, and the decreasing trends of distance look similar. ",
1434
+ "bbox": [
1435
+ 173,
1436
+ 748,
1437
+ 825,
1438
+ 901
1439
+ ],
1440
+ "page_idx": 13
1441
+ },
1442
+ {
1443
+ "type": "text",
1444
+ "text": "Furthermore, we also used the model trained for CVRP-100 to solve CVRP-50 and CVRP-20. Similarly, we also tested a trained CVRP-50 model for CVRP-20. Figure 10 shows that current implementation of our method can be applied to problems of different sizes. ",
1445
+ "bbox": [
1446
+ 174,
1447
+ 103,
1448
+ 821,
1449
+ 146
1450
+ ],
1451
+ "page_idx": 14
1452
+ }
1453
+ ]
parse/train/BJe1334YDH/BJe1334YDH_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJe1334YDH/BJe1334YDH_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hk6WhagRW/Hk6WhagRW.md ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # EMERGENT COMMUNICATION THROUGH NEGOTIATION
2
+
3
+ Kris Cao∗
4
+ Department of Computer Science and Technology,
5
+ University of Cambridge, UK
6
+ Angeliki Lazaridou, Marc Lanctot, Joel Z Leibo, Karl Tuyls, Stephen Clark
7
+ DeepMind,
8
+ London, UK
9
+
10
+ # ABSTRACT
11
+
12
+ Multi-agent reinforcement learning offers a way to study how communication could emerge in communities of agents needing to solve specific problems. In this paper, we study the emergence of communication in the negotiation environment, a semi-cooperative model of agent interaction. We introduce two communication protocols – one grounded in the semantics of the game, and one which is a priori ungrounded and is a form of cheap talk. We show that self-interested agents can use the pre-grounded communication channel to negotiate fairly, but are unable to effectively use the ungrounded channel. However, prosocial agents do learn to use cheap talk to find an optimal negotiating strategy, suggesting that cooperation is necessary for language to emerge. We also study communication behaviour in a setting where one agent interacts with agents in a community with different levels of prosociality and show how agent identifiability can aid negotiation.
13
+
14
+ # 1 INTRODUCTION
15
+
16
+ How can communication emerge? A necessary prerequisite is a task that requires coordination between multiple agents to solve, and some communication protocol for the agents to exchange messages through (see a review by Wagner et al. (2003) on earlier work on emergent communication as well as recent deep reinforcement learning methods by Foerster et al. (2016) and Sukhbaatar et al. (2016)). Given these basic requirements, an interesting question to ask is what task structures aid the emergence of communication and how different communication protocols affect task success.
17
+
18
+ In the context of linguistic communication, previous work on this subject has mainly studied the emergence of communication in co-operative games like referential games, variants of the Lewis signaling game (Lewis, 1969), where messages are used to disambiguate between different possible referents (Goldman et al., 2007; Lazaridou et al., 2016; Evtimova et al., 2017). Human language, though, is not merely a referential tool. Amongst other things, we communicate private information and thoughts, discuss plans, ask questions and tell jokes. Moreover, many human interactions are not fully cooperative, yet we can still successfully use language to communicate in these situations.
19
+
20
+ In this paper, we study communication in the negotiation game (see Figure 1), an established model of non-cooperative games in classical game theory (Nash, 1950b; Neumann & Morgenstern, 1944; Nash, 1950a; 1951; Schelling, 1960; Binmore et al., 1986; Peters, 2008). In this game, agents are asked to establish a mutually acceptable division of a common pool of items while having their own hidden utilities for each of them. Effective communication is crucial in this game, as the agents need to exchange strategic information about their desires, infer their opponent’s desires from communication, and balance between the two.
21
+
22
+ Work in classical game theory on negotiation typically uses simple forms of offer / counter-offer bargaining games that do not explicitly address the question of emergent communication (Rubinstein, 1982). Recent work on deep multi-agent reinforcement learning (MARL) has shown great success in teaching agents complex behaviour without a complex environment simulator or demonstration data (Panait & Luke, 2005; Busoniu et al., 2008; Tuyls & Weiss, 2012; Silver et al., 2017; Leibo et al., 2017). By repeatedly interacting with other agents learning at the same time, agents can gradually bootstrap complex behaviour, including motor skills (Bansal et al., 2017) and linguistic communication (Lazaridou et al., 2016; Havrylov & Titov, 2017).
23
+
24
+ ![](images/77e7b9b7e1fb927342b9e14cc564b4ad8fff40a371b3635dd58b8b08ed9dd949.jpg)
25
+ Figure 1: High-level overview of the negotiation environment that we implement. Agent A consistently refers to the agent who goes first.
26
+
27
+ We apply techniques from the MARL literature and train agents to negotiate using task success as the only supervision signal.1 We show that, when communicating via a task-specific communication channel with inherent semantics, selfish agents can learn to negotiate fairly and divide up the item pool to the agents’ mutual satisfaction. However, when communicating via cheap talk (Crawford & Sobel, 1982; Farrell & Rabin, 1996), a task-independent communication channel consisting of sequences of arbitrary symbols similar to language, selfish agents fail to exhibit negotiating behaviour at all. On the other hand, we show that cheap talk can facilitate effective negotiation in prosocial agents, which take the other agent’s reward into consideration, providing experimental evidence that cooperation is necessary for language emergence (Nowak & Krakauer, 1999).
28
+
29
+ The above results are obtained from paired agents interacting exclusively with each other. In more realistic multi-agent scenarios, agents may interact with many other agents within a society. In these cases, cheap talk can have a significant effect on the evolutionary dynamics of the population (Robson, 1990) as well as the equilibria, stability, and basins of attractions (Skyrms, 2002). Furthermore, it is well-known that, unless trained in a diverse environment, agents overfit to the their specific opponent or teammate (Lanctot et al., 2017). Inspired by these considerations, we perform experiments where agents interact with many agents having different prosociality levels, and find that being able to identify and model other agents’ beliefs aids the negotiation success. This is consistent with experiments using models based on Theory of Mind: boundedly rational agents can collectively benefit by making inferences about the sophistication levels and beliefs of their opponents, and there is evidence that this occurs in human behavior (Yoshida et al., 2008).
30
+
31
+ # 2 GAME SETTING
32
+
33
+ # 2.1 NEGOTIATION ENVIRONMENT
34
+
35
+ The negotiation task is based on the set-up of Lewis et al. (2017), itself based on DeVault et al. (2015). Agents are presented with three types of items: peppers, cherries and strawberries. At each round (i) an item pool is sampled uniformly, instantiating a quantity (between 0 and 5) for each of the types and represented as a vector $i \in \{ 0 . . . 5 \} ^ { 3 }$ and (ii) each agent $j$ receives a utility function sampled uniformly, which specifies how rewarding one unit of each item is (with item rewards between 0 and 10, and with the constraint that there is at least one item with non-zero utility), represented as a vector $u _ { j } \in \{ 0 . . . 1 0 \} ^ { 3 }$ . These utilities are hidden, i.e., each agent only has access to its own utilities. Following these assignments, the agents start “negotiating” for $N$ timesteps by exchanging messages $m _ { t } ^ { j }$ and proposals $p _ { t } ^ { j } \in \{ 0 . . . 5 \} ^ { 3 }$ for each timestep $1 \leq t \leq N$ . Agents alternate between timesteps, meaning that agent A always acts on the odd turns while agent B on the even turns.
36
+
37
+ Either agent can terminate the negotiation at any timestep $t$ with a special action, which signifies agreement with the most recent proposal made by the other agent. For example, if agent B terminates the negotiation at $t = 4$ , agent A gets rewarded by $R _ { A } = u _ { A } \cdot ( p _ { t - 1 } ^ { A } )$ while agent $\mathbf { B }$ receives reward $R _ { B } = u _ { B } \cdot ( i - p _ { t - 1 } ^ { A } )$ , where $\cdot$ denotes the dot product of vectors. Note that, if an agent makes an invalid proposal, such as asking for more items than exist in the item pool, and this is accepted, then both agents receive $R _ { A } = R _ { B } = 0$ .
38
+
39
+ We impose an upper limit, $N$ , on the number of negotiation turns allowed. If the agents get to the limit without agreement, then both agents receive no reward. We experimented with having a fixed upper limit of 10 turns. However, this led to a “first-mover” advantage: if the agents know in advance how many turns the negotiation lasts, there is a degenerate policy in which agent A can wait until the last timestep $N - 1$ before giving a lopsided offer, which agent B is compelled to accept, a situation similar to the ultimatum game (Guth et al., 1982). To eliminate this effect, we sample N ¨ between 4 and 10 at each round, according to a truncated Poisson distribution with mean 7.
40
+
41
+ # 2.2 COMMUNICATION CHANNELS
42
+
43
+ To achieve negotiation, the agents need to communicate. One obvious communication protocol is to directly transmit the proposed division of items $p _ { j }$ . We refer to this as the proposal channel. This communication channel is task-specific and pertains to the action space of the agents used to derive their pay-offs. Consequently, the information bandwidth is restricted and grounded in the action space of the game. Motivated by work on emergent communication, we also give our agents the ability of transmitting strings of arbitrary symbols with no a priori grounding. We call this the linguistic channel, a specific instantiation of the more general concept of cheap talk. This channel differs from the proposal channel in two key properties:
44
+
45
+ • Non-bindingness: Messages sent via this channel do not commit the sender to any course of action, unlike directly transmitting a proposal which binds the sender to the proposal. • Unverifiability: There is no inherent link between the linguistic utterance and the private proposal made, meaning that the agents could potentially lie.
46
+
47
+ We are interested in whether and under what circumstances the agents can make use of this channel to facilitate negotiation and establish a common ground for the symbols.
48
+
49
+ In our experiments, we consider 4 separate communication configurations: only the proposal channel, only the linguistic channel, both channels open, and no communication at all.2 If a channel is closed, we replace any messages in that channel with a fixed dummy symbol to ensure no information is transmitted. If the proposal channel is closed, we still use the decoded proposal to calculate the item division, but this information is not revealed to the opponent agent.
50
+
51
+ # 2.3 AGENT SOCIALITY AND REWARD SCHEMES
52
+
53
+ While purely self-interested agents may learn to divide up items so that only each individual is satisfied, this may not lead to an optimal joint allocation of items, where each item goes to the agent with the highest utility for that item. We introduce a “prosocial” reward $R$ that is shared across A and B, which is the sum of the agents’ individual (selfish) rewards, i.e., $R = R _ { A } + R _ { B }$ . Prosocial agents are incentivised to communicate, as finding the optimal joint allocation requires communicating the hidden values between the agents. These different reward schemes can be seen as specific instantiations of a more general reward formula of the form $R = \alpha R _ { A } + \beta R _ { B }$ (Peysakhovich & Lerer, 2017). For the selfish agent, $\alpha = 1$ and $\beta = 0$ , while for the prosocial agent $\alpha \overset { \cdot } { = } \beta = 1$ .3
54
+
55
+ # 2.4 AGENT ARCHITECTURE AND LEARNING
56
+
57
+ At each timestep $t$ , the proposer receives three inputs:
58
+
59
+ • The item context $c ^ { j } = [ i ; u _ { j } ]$ , a concatenation of the item pool and the proposer’s utilities.
60
+ • The utterance $m _ { t - 1 }$ produced by the other agent in the previous timestep $t - 1$ . If the linguistic channel is closed, this is simply a dummy message.
61
+ • The proposal $p _ { t - 1 }$ made by the other agent in the previous timestep $t - 1$ . If the proposal channel is closed, this is again a dummy proposal.
62
+
63
+ First, the discrete inputs are turned into dense vectors through an embedding table. We use two embedding tables, one for the item context and the previous proposal, and a separate one for the previous utterance. This is essential as the item context and the previous proposal have predefined numeric semantics, distinct from the linguistic semantics of the utterances’ symbols.
64
+
65
+ Then, each of the input sequences is encoded using an LSTM (Hochreiter & Schmidhuber, 1997), one for each input. This results in 3 fixed-size vectors: $h _ { t } ^ { c }$ , $h _ { t } ^ { m }$ and $h _ { t } ^ { p }$ . These vectors are concatenated and fed through a feedforward layer, followed by a ReLU non-linearity (Nair & Hinton, 2010), to give $h _ { t }$ , the hidden state of the agent at timestep $t$ . This hidden state is then used to initialise the policies for the actions the agent can take:
66
+
67
+ • $\pi _ { t e r m }$ is the policy for the termination action. If this action is taken by an agent, both agents receive reward according to the last proposal made by the other agent. This is a binary decision, and we parametrise $\pi _ { t e r m }$ as a single feedforward layer, with the hidden state as input, followed by a sigmoid function, to represent the probability of termination. • $\pi _ { u t t }$ is the policy for the linguistic utterances. This is parametrised by an LSTM, which takes the hidden state of the agent as the initial hidden state. For the first timestep, a dummy symbol is fed in as input; subsequently, the model prediction from the previous timestep is fed in as input at the next timestep, in order to predict the next symbol. $\pi _ { p r o p }$ is the policy for the proposals the agent generates. This is parametrised by 3 separate feedforward neural networks, one for each item type, which each take as input $h _ { t }$ and output a distribution over $\{ 0 . . . 5 \}$ indicating the proposal for that item.
68
+
69
+ The overall policy for the agent, $\pi ^ { * }$ , is a combination of the separate policies. The action that the agent takes at turn $t$ can be summarised by a triple $( e _ { t } , m _ { t } , p _ { t } )$ , where $e _ { t }$ is a binary variable indicating whether the agent took the termination action, $m _ { t }$ is a sequence of symbols produced from $\pi _ { u t t }$ , and $p _ { t }$ is a proposal produced by $\pi _ { p r o p }$ . A negotiation can then be thought of as a sequence of triples $\tau = \langle ( e _ { t } , u _ { t } , p _ { t } ) | 1 \leq t \leq N \rangle$ , with the agents alternating turns.
70
+
71
+ During training, each agent $i$ tries to independently find the policy $\pi _ { i } ^ { * }$ that maximises the following objective function:
72
+
73
+ $$
74
+ \pi _ { i } ^ { * } = \underset { \pi _ { i } } { \arg \operatorname* { m a x } } \ \underset { \tau \sim ( \pi _ { A } , \pi _ { B } ) } { \mathbb { E } } [ R _ { i } ( \tau ) ] + \lambda H ( \pi _ { i } )
75
+ $$
76
+
77
+ where $R _ { i } ( \tau )$ is the reward agent $i$ receives from the trajectory $\tau$ and $H ( \pi _ { i } )$ is an entropy regularisation term to encourage the agent to explore during training. Note that each agent has its own objective function, and the objectives of both agents are coupled by the trajectory sampled from both agents’ policies. At test time, instead of sampling from the policy $\pi$ , we take the action with the highest probability. Parameters are updated using the REINFORCE (Williams, 1992) update rule with an exponentially smoothed mean baseline. Full hyperparameter details are in the appendix.
78
+
79
+ ![](images/3cb1863a75996c1449c459dda4732af0ba7982b86aebbe33fea181b97ad0bac6.jpg)
80
+ Figure 2: a) Training curves for self-interested agents learning to negotiate under the various communication channels. The results show the mean across 20 different random seeds, as well as bootstrapped confidence intervals via shading (only visible for the linguistic communication case) b) The optimality of the proposed item division as negotiation proceeds for two selfish agents communicating via the proposal channel, shown with error bars for interquartile range.
81
+
82
+ # 3 EXPERIMENT 1: CAN SELF-INTERESTED AGENTS LEARN TO NEGOTIATE?
83
+
84
+ # 3.1 EXPERIMENT DESCRIPTION
85
+
86
+ In our first experiment, we test whether purely self-interested agents can learn to negotiate and divide up items fairly, and investigate the effect of the various communication channels on negotiation success. We train self-interested agents to negotiate for 500k episodes. Each episode corresponds to a batch of 128 games, each with item pools and hidden utilities generated as described in Section 2.1. We also hold out 5 batches worth of games as a test set, and test the agents every 50 episodes, in order to measure the robustness of the negotiating behaviour to unseen environments.
87
+
88
+ # 3.2 RESULTS
89
+
90
+ Self-interested agents can learn to negotiate fairly Figure 2a shows that self-interested agents learn to divide up the items fairly when they exchange proposals directly. We see that the proportion of total utility each agent receives is roughly equal, and above $50 \%$ , suggesting that the agents have learnt to keep items with higher utility, while giving away items with low utility.4 In addition, the agents seem to show evidence of compromise: there is a drop of 0.24 between the value of the proposal that agent 1 makes at the beginning of negotiation, and the final reward it receives; for agent 2, the corresponding drop is 0.18. Furthermore, Figure 2b shows the mean optimality of the proposal made at each turn of the negotiation averaged over 1280 games, calculated as the sum of the reward of both agents divided by the maximum possible reward. This value increases with more rounds of negotiation, suggesting that the agents are adjusting their proposals based on information from the other agent.
91
+
92
+ Table 1 presents an illustrative example of two self-interested agents negotiating using the proposal channel. While the initial proposals made by both agents are over-optimistic, over the course of the negotiation, they compromise to less items. This allows them to achieve higher joint reward, as seen in Figure 2b, a clear example of “negotiation”.
93
+
94
+ Self-interested agents do not appear to ground cheap talk When using the linguistic channel, agents do not negotiate optimally. Instead, the agents randomly alternate taking all the items, which is borne out by the oscillations in Figure 2a. Indeed, examination of the messages exchanged by self-interested agents show they predominantly consist of a single symbol – see Figures 5a and 5b in the appendix for more details. This result suggests that the self-interested agents we implement find it difficult to cheap talk to exchange meaningful information about how to divide up the items, which is in line with the theoretical analysis of cheap talk in Crawford & Sobel (1982), who find that, once agent interests diverge by a finite amount, no communication is to be expected. Our findings also corroborate the hypothesis found in the language evolution literature that cooperation is a prerequisite for the emergence of language (Nowak & Krakauer, 1999).
95
+
96
+ Item pool: [5, 5, 1] A utilities: [8, 7, 1] B utilities: [8, 3, 2]
97
+ Table 1: Actual transcript of two self-interested agents negotiating using the proposal channel. In this setting, no linguistic message is decoded at all.
98
+
99
+ <table><tr><td>Turn</td><td>Agent</td><td>Proposal</td></tr><tr><td>1</td><td>A</td><td>[3,4,4]</td></tr><tr><td>2</td><td>B</td><td>[4,2,0]</td></tr><tr><td>3</td><td>A</td><td>[3, 4,0]</td></tr><tr><td>4</td><td>B</td><td>[4,1,0]</td></tr></table>
100
+
101
+ Table 2: Joint reward success and average number of turns taken for paired agents negotiating with random game termination, varying the agent reward scheme and communication channel. The results are averaged across 20 seeds, with 128 games per seed. We also report the standard deviation as the $\pm$ number and the interquartile range.
102
+
103
+ <table><tr><td>Agent sociality</td><td></td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>None</td></tr><tr><td>Self-interested</td><td>Fraction of joint reward 25th&amp;75th percentiles</td><td>0.87 ± 0.11 [0.81,0.95]</td><td>0.75± 0.22 [0.61, 0.94]</td><td>0.87±0.12 [0.81, 0.95]</td><td>0.77 ± 0.22 [0.62, 0.97]</td></tr><tr><td>Prosocial</td><td>Turns taken Fraction of joint reward 25th &amp; 75th percentiles Turns taken</td><td>3.55 ± 1.12 0.93 ± 0.10 [0.89,1.0] 3.10 ± 0.99</td><td>5.36 ± 1.20 0.99 ± 0.02 [1.0, 1.0] 3.71 ± 0.58</td><td>3.43 ± 1.10 0.92 ± 0.11 [0.88,1.0] 2.98 ± 0.97</td><td>3.00 ± 0.13 0.95 ± 0.11 [0.93,1.0] 2.27 ± 0.69</td></tr></table>
104
+
105
+ We conjecture that this finding is partially due to the fact that the agents operate in a non-iterated environment (i.e., they have no explicit memory of previous interactions). In the classic prisoner’s dilemma game, rational agents playing a single-shot version of the game learn to always defect, whereas rational agents playing iterated prisoner’s dilemma can learn more mutually beneficial cooperative strategies under the right conditions (Sandholm & Crites, 1996; Wunder et al., 2010). More sophisticated players will often have an incentive to take a short-term loss in reward to teach or punish another player for long-term gain in the repeated setting (Fudenberg & Levine, 1998). We suspect that, by iterating the game, there is an incentive for the cheap talk to be more verifiable, as there is a more credible threat of punishment if the accepted proposal and the linguistic utterance do not correspond.
106
+
107
+ 4 EXPERIMENT 2 - CAN PROSOCIAL AGENTS LEARN TO COORDINATE?
108
+
109
+ # 4.1 EXPERIMENT DESCRIPTION
110
+
111
+ In the previous experiment, we showed that self-interested agents can divide up items fairly such that each agent gets equal reward. However, this does not correspond to an optimal joint allocation where items go to the agent with the higher utility for that item (equivalently, maximising the sum of both agents’ rewards). The prosocial reward scheme aligns exactly with this optimal outcome, as learning to negotiate equates to finding the optimal joint item allocation. In this setting, there is an in-built bias towards communication, as solving the game optimally requires pooling hidden utilities. Table 2 reports the turns taken as well as the joint reward optimality, i.e., the sum of both agents’ rewards, divided by the maximum possible reward given the item context, where the latter corresponds to each agent getting all the items for which they have a higher utility.
112
+
113
+ <table><tr><td colspan="2">Item pool: [4, 5,1]</td><td>A utilities: [1, 7, 9]</td><td>B utilities: [7, 0, 10]</td></tr><tr><td>Turn</td><td>Agent</td><td>Linguistic utterance</td><td>Proposal (hidden)</td></tr><tr><td>1</td><td>A</td><td>[3,3, 3, 3, 3, 3]</td><td>[0,5,1]</td></tr><tr><td>2</td><td>B</td><td>[6, 6, 6, 4, 7, 4]</td><td>[4,0, 1]</td></tr><tr><td>3</td><td>A</td><td>[3, 3, 3, 3, 3, 3]</td><td>[0,5,0]</td></tr></table>
114
+
115
+ Table 3: Actual transcript of two prosocial agents negotiating using the linguistic channel. At each turn, the agents decode a proposal but this is hidden and not revealed to the other agent.
116
+
117
+ # 4.2 RESULTS
118
+
119
+ Cheap talk helps agents coordinate For prosocial agents with aligned interests, theoretical results suggest that communication using cheap talk is a Nash equilibrium. This is indeed what we observe, as the linguistic channel results in much better task success than any other communication scheme. The information bandwidth of the proposal channel is limited by the type and number of items, whereas the linguistic channel’s bandwidth is unconstrained and can (in theory) be arbitrarily large, helping the effective exchange of task-specific information. In addition, the variance in joint optimality is much lower for the linguistic channel, suggesting it is more robust. We suspect that difficulties in optimisation cause the results for both channels open to be similar to those for only the proposal channel open, as the proposal channel is pre-grounded, which poses a strong local maxima. With better optimisation, we believe that the performance of both channels open will more closely match those of just the linguistic channel open.
120
+
121
+ Table 3 illustrates an example of negotiation between the two prosocial agents. Interestingly, we observe that agent A over the course of the negotiation game adjusts its proposal (which is however hidden and not revealed) based on the utterances of agent B.
122
+
123
+ Prosocial agents can still use the proposal channel to co-ordinate With random termination, agents communicating with the proposal channel do even worse than the no-communication baseline. However, when given the full 10 turns to exchange information (see Figure 7 in the appendix), prosocial agents manage to outperform the no-communication baseline. This suggests that the agents are slowly learning to repurpose the proposal channel to transmit information, i.e., they communicate directly on the action space. Reusing task-specific actions to transmit information has precedent, such as in bridge bidding (Simon, 1949), and it is interesting to observe that agents learn to develop a codebook without the need for prior agreement.
124
+
125
+ # 5 ANALYSIS OF LINGUISTIC COMMUNICATION
126
+
127
+ # 5.1 SYMBOL USAGE
128
+
129
+ The symbol unigram and bigram distributions of messages exchanged by prosocial agents (see Figures 3a and 3b respectively) show that agent A, the agent who initiates the negotiation, is not transmitting any information using the linguistic channel. On the other hand, agent B uses a diversity of symbols resulting in a long-tailed bigram symbol distribution, reminiscent of the Zipfian distribution found in natural languages. This suggests that, even though the task is symmetric, the agents differentiate into speaker and listener roles, similar to other co-ordination games of communication, such as the reference game. Thus, they have adopted a simple strategy for solving the game: an agent shares its utilities (the speaker), while the other (the listener) compares the shared utilities with their own and generates the optimal proposal.
130
+
131
+ In contrast, the selfish agents do not show evidence of grounded symbol usage. The unigram and bigram statistics show that most messages consist solely of strings of a single fixed symbol, regardless of the item context, and hence no information is being exchanged.
132
+
133
+ ![](images/c84936bfe3d71051d14d48a9d7cfbd42b061d7e0e5c92d3f48d62b69e50844d7.jpg)
134
+ Figure 3: a) Unigram statistics of symbol usage broken down by turn and by position within the utterance for prosocial agents communicating via the linguistic channel. b) Bigram counts for prosocial agents communicating via the linguistic channel, sorted by frequency.
135
+
136
+ <table><tr><td>Agent types</td><td>% agent A value correct</td><td>% agent B value correct</td><td>% proposal correct</td></tr><tr><td>Selfish-Selfish</td><td>21</td><td>25</td><td>94 (94)</td></tr><tr><td>Prosocial-Prosocial</td><td>26</td><td>81</td><td>80 (57)</td></tr><tr><td>Random baseline</td><td>20</td><td>20</td><td>17</td></tr></table>
137
+
138
+ Table 4: Accuracy of predicting individual elements of the agents’ hidden utilities, as well as the final proposal that was accepted. Numbers in brackets indicate accuracy predicting the proposal from just the item pool. Random baseline numbers are obtained by predicting from a message transcript and item pool of all 0’s.
139
+
140
+ # 5.2 CONTENT OF THE MESSAGES
141
+
142
+ To interpret the information that is transmitted through the linguistic channel, we use the message transcript and the item pool to create probe classifiers that predict the hidden utilities of each agent and the (hidden) accepted proposal. We use an LSTM to encode the sequence of symbols belonging to the message transcript into a vector, and another LSTM to encode the item pool into a vector. The resulting two vectors are then concatenated and used to predict the hidden utility functions and the accepted proposal using 9 linear classifiers, one for each item (3 each for agent A and agent B’s utilities and 3 for the proposal). We conduct 10-fold cross-validation and report averaged per-item accuracy (see Table 4).
143
+
144
+ We also include two baselines. The first, reported as the “random baseline” in Table 4, attempts to predict the accepted proposal and agent utilities from a message transcript and item pool of all 0’s (indicating chance performance at the task). The other predicts the accepted proposal from the item pool and a message transcript of all $\mathrm { 0 ^ { \circ } s }$ . This shows how much additional information about the proposal is contained in the message transcript.
145
+
146
+ We can see from Table 4 that not only is there variety in the symbols used, but the messages also have semantic content: they contain information about the hidden utilities of agent B, and about the proposal that was made. This shows that our agents have learned to give meaning to the symbols, and can use them to transmit information. However, the purely self-interested agents do not seem to transmit meaningful information using the linguistic channel, and thus do not appear to ground the symbols.5
147
+
148
+ # 6 EXPERIMENT 3: A SOCIETY OF AGENTS
149
+
150
+ In more realistic scenarios, we learn and practice negotiation in environments with diverse agent populations and levels of prosociality. In this setting, maximising one’s reward requires identifying which agents are most useful in achieving one’s aims. In practice, this involves identifying which agents are the most prosocial, as they are both the most exploitable for self-interested agents, and the most cooperative for other prosocial agents.
151
+
152
+ # 6.1 EXPERIMENTAL PROTOCOL
153
+
154
+ We trained a fixed agent against a community of 10 agents, with varying proportions of selfish and prosocial agents. For each training episode, we randomly sample one agent from the community, play a batch of negotiation games, and then update both agents. We do this for both fixed agent A (the agent who goes first) and for fixed agent B (the agent who goes second). We experiment with either 1 or 5 prosocial agents, which communication channels are open, and also whether the agents are identifiable.
155
+
156
+ At test time, we care primarily about whether self-interested agents can exploit prosocial agents and whether prosocial agents can cooperate with other prosocial agents. Hence, we only test the fixed agent against the prosocial agents in the community. We generate 10 batches of 128 games each batch, and play each game with every pair of fixed agent and community prosocial agent. We average the results across all pairs and all games, and show the mean and standard deviations of the rewards obtained in this experiment in Table 5.
157
+
158
+ If opposing agents are identifiable (i.e. each agent has a name-tag), the fixed agent receives this information as a one-hot vector, which is then used to look up an embedding table with trainable parameters with one embedding per opposing agent. This opponent embedding is then concatenated with the encoded inputs, before being passed through the feedforward layer to get the agent’s hidden state. Intuitively, the induced agent embedding, that takes the form of machine theory of mind (Rabinowitz et al., 2018), should capture any information about the opponent’s behaviour (e.g., negotiating strategy) that, when taken into account, can help an agent maximize their reward.
159
+
160
+ # 6.2 ANALYSIS
161
+
162
+ Identifying agents Our results show that providing agent ID information does help the fixed agent achieve its aims. This effect is particularly pronounced for a selfish fixed agent; here, providing ID information uniformly improves performance. For cooperative agents, the results mixed; for a fixed agent A communicating via the linguistic channel, having agent ID information harms performance. Indeed, the only prosocial agents who beat the no communication baseline (which achieved an average joint optimal reward of 0.95) was when agent A was fixed and ID information was not provided.
163
+
164
+ We also computed the 2D PCA projections of the learnt opponent embeddings for a fixed agent A under a variety of channels and prosocial levels (see Figure 4). Even in cases where the agent ID does not aid negotiation, we find that the embeddings cluster according to the reward scheme of the other agent. This shows that the agents can distinguish different agents by their reward schemes from purely observing negotiating behaviour.
165
+
166
+ Community linguistic phenomena In one of our experimental settings, a community of prosocial agents developed a language and were able to use this to achieve better negotiation success. This is the outcome in the starred cell in Table 5. For a visualisation of the bigram usage statistics in
167
+
168
+ ![](images/380ae6cff0a30b2f8548ea3da3931ae0f678430a5ad69e7e9776ee49de2221c3.jpg)
169
+ Figure 4: PCA plot of whitened opponent ID embeddings that was learnt by a fixed agent 1 for a variety of reward schemes and communication channels.
170
+
171
+ <table><tr><td colspan="3"></td><td colspan="3">Fixed agent A</td><td colspan="3">Fixed agent B</td></tr><tr><td>Fixed # agent type</td><td>cial agents</td><td>IDs proso- given</td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>Proposal</td><td>Linguistic</td><td>Both</td></tr><tr><td rowspan="2">Self</td><td>1</td><td>False True</td><td>0.81 ± 0.17 0.96 ± 0.06</td><td>0.97 ± 0.05 0.97 ± 0.10</td><td>0.87 ± 0.11 0.97 ± 0.04</td><td>0.76 ± 0.18 0.95 ± 0.08</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.76 ± 0.16 1.0 ± 0.0</td></tr><tr><td>5</td><td>False True</td><td>0.82 ±0.17 1.0 ± 0.01</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.98 ± 0.07 1.0 ± 0.01</td><td>0.88 ± 0.14 1.0 ± 0.0</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.88 ± 0.14 1.0 ± 0.02</td></tr><tr><td rowspan="2">Pros.</td><td>1</td><td>False True</td><td>0.91 ± 0.11 0.95 ± 0.10</td><td>0.95 ± 0.09 0.93 ± 0.11</td><td>0.91 ± 0.12 0.95 ± 0.09</td><td>0.93 ± 0.11 0.92 ± 0.01</td><td>0.95 ± 0.10 0.96 ± 0.08</td><td>0.92 ± 0.11 0.92 ± 0.10</td></tr><tr><td>5</td><td>False True</td><td>0.90 ± 0.13 0.94 ± 0.09</td><td>0.98*± 0.06 0.97 ± 0.06</td><td>0.93 ± 0.10 0.94 ± 0.01</td><td>0.92 ± 0.12 0.93 ± 0.10</td><td>0.95 ± 0.08 0.95 ± 0.08</td><td>0.90 ± 0.16 0.92 ± 0.10</td></tr></table>
172
+
173
+ Table 5: Fixed agent return vs opposing prosocial agents, for different numbers of opposing prosocial agents and whether IDs are revealed across the communication channels. For the self-interested fixed agent, the numbers report personal reward, and for the prosocial fixed agent, the numbers report joint reward. The starred result indicates when a community has made use of the linguistic channel to transmit information.
174
+
175
+ each interaction pair in this community, see Figure 6. Interestingly, the only situation when agents developed a language was when ID information was not provided. We suspect this result is due to a poor local optimum; since the prosocial agents can learn to use IDs to distinguish prosocial agents from the selfish agents they can ignore the linguistic utterance.
176
+
177
+ Moreover, we find that when prosocial agents make use of the linguistic channel, the communication protocol differs within the community. We calculate the Spearman correlation $\rho$ between bigram ranks of different pairs of agents, all of them with the same fixed agent A, and show the results in Table 6. Even though all pairs of agents share the same fixed agent A, different pairs of agents learn to use bigrams in a different way, resulting in relatively low correlations between -0.22 and 0.27.
178
+
179
+ # 7 DISCUSSION
180
+
181
+ We showed that by communicating through a verifiable and binding communication channel, selfinterested agents can learn to negotiate fairly by reinforcement learning, using only task success as the reward signal. Moreover, cheap talk facilitated negotiation in prosocial but not in self-interested agents, corroborating theoretical results from the game theory literature (Crawford & Sobel, 1982). An interesting future direction of research would be to investigate whether cheap talk can be made to emerge out of self-interested agents interacting. Recent encouraging results by Crandall et al. (2018) show that communication can help agents cooperate. However, their signalling mechanism is heavily engineered: the speech acts are predefined and the consequences of the speech acts on the observed behaviour are deterministically hard-coded. It would be interesting to see whether a learning algorithm, such as Foerster et al. (2017), can discover the same result.
182
+
183
+ A related paper from Lewis et al. (2017) takes a top-down approach to learning to negotiate by leveraging dialogue data. We demonstrated a bottom up alternative towards learning communicative behaviours directly from interaction with peers. This opens up the exciting possibility of learning domain-specific reasoning capabilities from interaction, while having a general-purpose language layer at the top producing natural language.
184
+
185
+ # ACKNOWLEDGEMENTS
186
+
187
+ We would like to thank Mike Johanson for his insightful comments on an earlier version of this paper, as well as Karl Moritz Hermann and the rest of the DeepMind language team for many fruitful discussions over the course of the project.
188
+
189
+ # REFERENCES
190
+
191
+ Trapit Bansal, Jakub Pachocki, Szymon Sidor, Ilya Sutskever, and Igor Mordatch. Emergent complexity via multi-agent competition. CoRR, abs/1710.03748, 2017.
192
+
193
+ Ken Binmore, Ariel Rubinstein, and Asher Wolinsky. The nash bargaining solution in economic modelling. RAND Journal of Economics, 17(2):176–188, 1986.
194
+
195
+ L. Busoniu, R. Babuska, and B. De Schutter. A comprehensive survey of multiagent reinforcement learning. IEEE Transaction on Systems, Man, and Cybernetics, Part C: Applications and Reviews, 38(2):156–172, 2008.
196
+
197
+ Jacob W Crandall, Mayada Oudah, Fatimah Ishowo-Oloko, Sherief Abdallah, Jean-Franc¸ois Bonnefon, Manuel Cebrian, Azim Shariff, Michael A Goodrich, Iyad Rahwan, et al. Cooperating with machines. Nature communications, 9(1):233, 2018.
198
+
199
+ V.P. Crawford and J. Sobel. Strategic information transmission. Econometrica, 50(6):1431–1451, 1982.
200
+
201
+ David DeVault, Johnathan Mell, and Jonathan Gratch. Toward natural turn-taking in a virtual human negotiation agent, 2015. URL https://www.aaai.org/ocs/index.php/SSS/ SSS15/paper/view/10335.
202
+
203
+ Katrina Evtimova, Andrew Drozdov, Douwe Kiela, and Kyunghyun Cho. Emergent language in a multi-modal, multi-step referential game. CoRR, abs/1705.10369, 2017. URL http://arxiv. org/abs/1705.10369.
204
+
205
+ J. Farrell and M. Rabin. Cheap talk. Journal of Economic Perspectives, 10(3):103–118, 1996.
206
+
207
+ Jakob N. Foerster, Yannis M. Assael, Nando de Freitas, and Shimon Whiteson. Learning to communicate with deep multi-agent reinforcement learning. In Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), 2016.
208
+
209
+ Jakob N. Foerster, Richard Y. Chen, Maruan Al-Shedivat, Shimon Whiteson, Pieter Abbeel, and Igor Mordatch. Learning with opponent-learning awareness. CoRR, abs/1709.04326, 2017. URL http://arxiv.org/abs/1709.04326.
210
+
211
+ D. Fudenberg and D. Levine. The Theory of Learning in Games. MIT Press, 1998.
212
+
213
+ Claudia V. Goldman, Martin Allen, and Shlomo Zilberstein. Learning to communicate in a decentralized environment. Autonomous Agents and Multi-Agent Systems, 15(1):47–90, Aug 2007. ISSN 1573-7454. doi: 10.1007/s10458-006-0008-9. URL https://doi.org/10.1007/ s10458-006-0008-9.
214
+
215
+ Werner Guth, Rolf Schmittberger, and Bernd Schwarze. An experimental analysis of ultimatum bar- ¨ gaining. Journal of Economic Behavior & Organization, 3(4):367 – 388, 1982. ISSN 0167-2681. doi: https://doi.org/10.1016/0167-2681(82)90011-7. URL http://www.sciencedirect. com/science/article/pii/0167268182900117.
216
+
217
+ Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: Learning to communicate with sequences of symbols. CoRR, abs/1705.11192, 2017. URL http://arxiv. org/abs/1705.11192.
218
+
219
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
220
+
221
+ Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
222
+
223
+ M. Lanctot, Vinicius Zambaldi, Audrunas Gruslys, Angeliki Lazaridou, Karl Tuyls, Julien Perolat, David Silver, and Thore Graepel. A unified game-theoretic approach to multiagent reinforcement learning. In Thirty-First Annual Conference on Neural Information Processing Systems (NIPS 2017), 2017. To Appear.
224
+
225
+ Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. CoRR, abs/1612.07182, 2016. URL http://arxiv.org/ abs/1612.07182.
226
+
227
+ Joel Z. Leibo, Vinicius Zambaldi, Marc Lanctot, Janusz Marecki, and Thore Graepel. Multi-agent Reinforcement Learning in Sequential Social Dilemmas. In Proceedings of the 16th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2017), Sao Paulo, Brazil, 2017.
228
+
229
+ David Lewis. Convention: A philosophical study. 1969.
230
+
231
+ Mike Lewis, Denis Yarats, Yann Dauphin, Devi Parikh, and Dhruv Batra. Deal or no deal? endto-end learning of negotiation dialogues. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2433–2443. Association for Computational Linguistics, 2017. URL http://aclweb.org/anthology/D17-1258.
232
+
233
+ John Moody and Matthew Saffell. Learning to trade via direct reinforcement. IEEE transactions on neural Networks, 12(4):875–889, 2001.
234
+
235
+ Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th international conference on machine learning (ICML-10), pp. 807–814, 2010.
236
+
237
+ J.F. Nash. Non-cooperative games. Annals of Mathematics, 54:286–295, 1951.
238
+
239
+ John F. Nash. Equilibrium points in $n$ -person games. Proc. of the National Academy of Sciences, 36:48–49, 1950a.
240
+
241
+ John F. Nash. The bargaining problem. Econometrica, 18(2):155–162, 1950b. ISSN 00129682, 14680262. URL http://www.jstor.org/stable/1907266.
242
+
243
+ John Von Neumann and Oskar Morgenstern. Theory of Games and Economic Behavior. Princeton University Press, 1944.
244
+
245
+ Martin A. Nowak and David C. Krakauer. The evolution of language. Proceedings of the National Academy of Sciences, 96(14):8028–8033, 1999. doi: 10.1073/pnas.96.14.8028. URL http: //www.pnas.org/content/96/14/8028.abstract.
246
+
247
+ Liviu Panait and Sean Luke. Cooperative multi-agent learning: The state of the art. Autonomous Agents and Multi-Agent Systems, 11(3):387–434, 2005.
248
+
249
+ H. Peters. Game Theory: A Multi-Leveled Approach. Springer-Verlag, Berlin-Heidelberg, 2008.
250
+
251
+ A. Peysakhovich and A. Lerer. Prosocial learning agents solve generalized Stag Hunts better than selfish ones. ArXiv e-prints, September 2017.
252
+
253
+ N. C. Rabinowitz, F. Perbet, H. F. Song, C. Zhang, S. M. A. Eslami, and M. Botvinick. Machine Theory of Mind. ArXiv e-prints, 2018.
254
+
255
+ A. J. Robson. Efficiency in evolutionary games: Darwin, nash, and the secret handshake. Journal of Theoretical Biology, 144(3):379–396, 1990.
256
+
257
+ Ariel Rubinstein. Perfect equilibrium in a bargaining model. Econometrica, 50(1):97–109, 1982.
258
+
259
+ Tuomas W. Sandholm and Robert H. Crites. Multiagent reinforcement learning in the iterated prisoner’s dilemma. Biosystems, 37(1–2):147–166, 1996.
260
+
261
+ T.C. Schelling. The Strategy of Conflict. Harvard University Press, 1960.
262
+
263
+ David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, Yutian Chen, Timothy Lillicrap, Fan Hui, Laurent Sifre, George van den Driessche, Thore Graepel, and Demis Hassabis. Mastering the game of go without human knowledge. Nature, 550:354–359, 2017.
264
+
265
+ S. J. Simon. Design for Bidding. Nicholson & Watson, 1949.
266
+
267
+ B. Skyrms. Signals, evolution and the explanatory power of transient information. Philosophy of Science, 69(3):407–428, 2002.
268
+
269
+ S. Sukhbaatar, A. Szlam, and R. Fergus. Learning multiagent communication with backpropagation. In Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), 2016.
270
+
271
+ Karl Tuyls and Gerhard Weiss. Multiagent learning: Basics, challenges, and prospects. AI Magazine, 33(3):41–52, 2012.
272
+
273
+ Kyle Wagner, James A. Reggia, Juan Uriagereka, and Gerald S. Wilkinson. Progress in the simulation of emergent communication and language. Adaptive Behavior, 11(1):37–69, 2003. doi: 10. 1177/10597123030111003. URL https://doi.org/10.1177/10597123030111003.
274
+
275
+ Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn., 8(3-4):229–256, May 1992. ISSN 0885-6125. doi: 10.1007/ BF00992696. URL https://doi.org/10.1007/BF00992696.
276
+
277
+ Michael Wunder, Michael Littman, and Monica Babes. Classes of multiagent q-learning dynamics with $\epsilon$ -greedy exploration. In Proceedings of the 27th International Conference on International Conference on Machine Learning, ICML’10, pp. 1167–1174, USA, 2010. Omnipress. ISBN 978- 1-60558-907-7. URL http://dl.acm.org/citation.cfm?id $=$ 3104322.3104470.
278
+
279
+ Wako Yoshida, Ray J. Dolan, and Karl J. Friston. Game theory of mind. PLOS Computational Biology, 4(12):1–14, 12 2008. doi: 10.1371/journal.pcbi.1000254. URL https://doi.org/ 10.1371/journal.pcbi.1000254.
280
+
281
+ ![](images/418c9f4828ae6a0beb60ecb00c68ebd99a6c3bbcd379aa63b3834726f66f8f57.jpg)
282
+ Figure 5: a) Unigram statistics of symbol usage broken down by turn and by position within the utterance for selfish agents communicating via the linguistic channel. b) Bigram counts for selfish agents communicating via the linguistic channel, sorted by frequency.
283
+
284
+ ![](images/f4ed06bb39797d0baa769d4d6258761decdb4762cc69c667efb71130fc79a81d.jpg)
285
+ Figure 6: Bigram usage in all interaction pairs between a fixed prosocial agent A and a community of 5 prosocial agent Bs. This is the only case where the average joint optimality reward of the negotiating agents is higher than the no communication baseline.
286
+
287
+ Table 6: Correlation between bigram usage between the different responders in the community.
288
+
289
+ <table><tr><td></td><td>Agent 2 ID 1</td><td>Agent 2 ID 2</td><td>Agent 2 ID 3</td><td>Agent 2 ID 4</td></tr><tr><td>Agent 2 ID 0</td><td>-0.118</td><td>0.132</td><td>0.101</td><td>0.057</td></tr><tr><td>Agent 2 ID 1</td><td></td><td>-0.019</td><td>-0.228</td><td>0.269</td></tr><tr><td>Agent 2 ID 2</td><td></td><td></td><td>0.178</td><td>-0.165</td></tr><tr><td>Agent 2 ID 3</td><td></td><td></td><td></td><td>-0.067</td></tr></table>
290
+
291
+ <table><tr><td colspan="2">Agent sociality</td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>None</td></tr><tr><td rowspan="2">Self-interested</td><td rowspan="2">Fraction of joint reward 25h&amp;75h percentiles</td><td>0.76± 0.27</td><td>0.74 ± 0.23</td><td>0.76±0.28</td><td>0.23 ± 0.06</td></tr><tr><td>[0.66,0.96]</td><td>[0.59, 0.96]</td><td>[0.68, 0.96]</td><td>[0.19,0.29]</td></tr><tr><td rowspan="2">Prosocial</td><td>Turns taken Fraction of joint reward</td><td>9.99 ± 0.35</td><td>4.29 ± 2.13</td><td>10.0 ± 0.25</td><td>7.90 ± 3.21</td></tr><tr><td>25th &amp;75th percentiles</td><td>0.96 ± 0.07</td><td>0.95 ± 0.10</td><td>0.96 ± 0.07</td><td>0.85 ± 0.31</td></tr><tr><td rowspan="2"></td><td>Turns taken</td><td>[0.95,1.0]</td><td>[0.91,1.0]</td><td>[0.94, 1.0]</td><td>[0.90, 1.0]</td></tr><tr><td></td><td>9.06 ± 2.50</td><td>4.56± 2.83</td><td>9.06 ± 2.41</td><td>3.30 ± 2.50</td></tr></table>
292
+
293
+ Table 7: Joint reward success and average number of turns taken for paired agents negotiating when allowed the full 10 turns, varying the agent reward scheme and communication channel. The results are averaged across 20 seeds, with 128 games per seed. We also report the standard deviation as the $\pm$ number and the quartiles.
294
+
295
+ # B HYPERPARAMETER DETAILS
296
+
297
+ Embedding sizes, and all neural network hidden states, had dimension 100. We used the ADAM optimizer (Kingma & Ba, 2014), with default parameter settings, to optimize the parameters of each agent. Each agent had a separate optimizer. We used a separate value of $\lambda$ , the entropy regularisation weight hyperparameter, for each policy. For $\pi _ { t e r m }$ and $\pi _ { p r o p }$ , $\lambda = 0 . 0 5$ ; for $\pi _ { u t t }$ , $\lambda = 0 . 0 0 1$ . The symbol vocabulary size was 11, and the agents were allowed to generate utterances of up to length 6. The smoothing constant for the exponential moving average baseline was 0.7 (i.e. if the old baseline value was $b _ { o l d }$ , and the current reward is $R$ , then the new estimate of the baseline is $b _ { n e w } = 0 . 7 b _ { o l d } + 0 . 3 R )$ .
parse/train/Hk6WhagRW/Hk6WhagRW_content_list.json ADDED
@@ -0,0 +1,1674 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "EMERGENT COMMUNICATION THROUGH NEGOTIATION ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 101,
9
+ 658,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Kris Cao∗ \nDepartment of Computer Science and Technology, \nUniversity of Cambridge, UK \nAngeliki Lazaridou, Marc Lanctot, Joel Z Leibo, Karl Tuyls, Stephen Clark \nDeepMind, \nLondon, UK ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 516,
21
+ 212
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "",
28
+ "bbox": [
29
+ 184,
30
+ 224,
31
+ 710,
32
+ 267
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 304,
43
+ 544,
44
+ 319
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Multi-agent reinforcement learning offers a way to study how communication could emerge in communities of agents needing to solve specific problems. In this paper, we study the emergence of communication in the negotiation environment, a semi-cooperative model of agent interaction. We introduce two communication protocols – one grounded in the semantics of the game, and one which is a priori ungrounded and is a form of cheap talk. We show that self-interested agents can use the pre-grounded communication channel to negotiate fairly, but are unable to effectively use the ungrounded channel. However, prosocial agents do learn to use cheap talk to find an optimal negotiating strategy, suggesting that cooperation is necessary for language to emerge. We also study communication behaviour in a setting where one agent interacts with agents in a community with different levels of prosociality and show how agent identifiability can aid negotiation. ",
51
+ "bbox": [
52
+ 233,
53
+ 335,
54
+ 764,
55
+ 502
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 529,
66
+ 336,
67
+ 545
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "How can communication emerge? A necessary prerequisite is a task that requires coordination between multiple agents to solve, and some communication protocol for the agents to exchange messages through (see a review by Wagner et al. (2003) on earlier work on emergent communication as well as recent deep reinforcement learning methods by Foerster et al. (2016) and Sukhbaatar et al. (2016)). Given these basic requirements, an interesting question to ask is what task structures aid the emergence of communication and how different communication protocols affect task success. ",
74
+ "bbox": [
75
+ 174,
76
+ 560,
77
+ 825,
78
+ 643
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In the context of linguistic communication, previous work on this subject has mainly studied the emergence of communication in co-operative games like referential games, variants of the Lewis signaling game (Lewis, 1969), where messages are used to disambiguate between different possible referents (Goldman et al., 2007; Lazaridou et al., 2016; Evtimova et al., 2017). Human language, though, is not merely a referential tool. Amongst other things, we communicate private information and thoughts, discuss plans, ask questions and tell jokes. Moreover, many human interactions are not fully cooperative, yet we can still successfully use language to communicate in these situations. ",
85
+ "bbox": [
86
+ 174,
87
+ 651,
88
+ 825,
89
+ 750
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "In this paper, we study communication in the negotiation game (see Figure 1), an established model of non-cooperative games in classical game theory (Nash, 1950b; Neumann & Morgenstern, 1944; Nash, 1950a; 1951; Schelling, 1960; Binmore et al., 1986; Peters, 2008). In this game, agents are asked to establish a mutually acceptable division of a common pool of items while having their own hidden utilities for each of them. Effective communication is crucial in this game, as the agents need to exchange strategic information about their desires, infer their opponent’s desires from communication, and balance between the two. ",
96
+ "bbox": [
97
+ 174,
98
+ 756,
99
+ 825,
100
+ 852
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Work in classical game theory on negotiation typically uses simple forms of offer / counter-offer bargaining games that do not explicitly address the question of emergent communication (Rubinstein, 1982). Recent work on deep multi-agent reinforcement learning (MARL) has shown great success in teaching agents complex behaviour without a complex environment simulator or demonstration data (Panait & Luke, 2005; Busoniu et al., 2008; Tuyls & Weiss, 2012; Silver et al., 2017; Leibo et al., 2017). By repeatedly interacting with other agents learning at the same time, agents can gradually bootstrap complex behaviour, including motor skills (Bansal et al., 2017) and linguistic communication (Lazaridou et al., 2016; Havrylov & Titov, 2017). ",
107
+ "bbox": [
108
+ 176,
109
+ 859,
110
+ 820,
111
+ 888
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "image",
117
+ "img_path": "images/77e7b9b7e1fb927342b9e14cc564b4ad8fff40a371b3635dd58b8b08ed9dd949.jpg",
118
+ "image_caption": [
119
+ "Figure 1: High-level overview of the negotiation environment that we implement. Agent A consistently refers to the agent who goes first. "
120
+ ],
121
+ "image_footnote": [],
122
+ "bbox": [
123
+ 277,
124
+ 102,
125
+ 722,
126
+ 299
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "",
133
+ "bbox": [
134
+ 174,
135
+ 366,
136
+ 825,
137
+ 449
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "We apply techniques from the MARL literature and train agents to negotiate using task success as the only supervision signal.1 We show that, when communicating via a task-specific communication channel with inherent semantics, selfish agents can learn to negotiate fairly and divide up the item pool to the agents’ mutual satisfaction. However, when communicating via cheap talk (Crawford & Sobel, 1982; Farrell & Rabin, 1996), a task-independent communication channel consisting of sequences of arbitrary symbols similar to language, selfish agents fail to exhibit negotiating behaviour at all. On the other hand, we show that cheap talk can facilitate effective negotiation in prosocial agents, which take the other agent’s reward into consideration, providing experimental evidence that cooperation is necessary for language emergence (Nowak & Krakauer, 1999). ",
144
+ "bbox": [
145
+ 174,
146
+ 457,
147
+ 825,
148
+ 582
149
+ ],
150
+ "page_idx": 1
151
+ },
152
+ {
153
+ "type": "text",
154
+ "text": "The above results are obtained from paired agents interacting exclusively with each other. In more realistic multi-agent scenarios, agents may interact with many other agents within a society. In these cases, cheap talk can have a significant effect on the evolutionary dynamics of the population (Robson, 1990) as well as the equilibria, stability, and basins of attractions (Skyrms, 2002). Furthermore, it is well-known that, unless trained in a diverse environment, agents overfit to the their specific opponent or teammate (Lanctot et al., 2017). Inspired by these considerations, we perform experiments where agents interact with many agents having different prosociality levels, and find that being able to identify and model other agents’ beliefs aids the negotiation success. This is consistent with experiments using models based on Theory of Mind: boundedly rational agents can collectively benefit by making inferences about the sophistication levels and beliefs of their opponents, and there is evidence that this occurs in human behavior (Yoshida et al., 2008). ",
155
+ "bbox": [
156
+ 174,
157
+ 588,
158
+ 825,
159
+ 741
160
+ ],
161
+ "page_idx": 1
162
+ },
163
+ {
164
+ "type": "text",
165
+ "text": "2 GAME SETTING ",
166
+ "text_level": 1,
167
+ "bbox": [
168
+ 176,
169
+ 762,
170
+ 334,
171
+ 777
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "2.1 NEGOTIATION ENVIRONMENT ",
178
+ "text_level": 1,
179
+ "bbox": [
180
+ 176,
181
+ 794,
182
+ 419,
183
+ 808
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "The negotiation task is based on the set-up of Lewis et al. (2017), itself based on DeVault et al. (2015). Agents are presented with three types of items: peppers, cherries and strawberries. At each round (i) an item pool is sampled uniformly, instantiating a quantity (between 0 and 5) for each of the types and represented as a vector $i \\in \\{ 0 . . . 5 \\} ^ { 3 }$ and (ii) each agent $j$ receives a utility function sampled uniformly, which specifies how rewarding one unit of each item is (with item rewards between 0 and 10, and with the constraint that there is at least one item with non-zero utility), represented as a vector $u _ { j } \\in \\{ 0 . . . 1 0 \\} ^ { 3 }$ . These utilities are hidden, i.e., each agent only has access to its own utilities. Following these assignments, the agents start “negotiating” for $N$ timesteps by exchanging messages $m _ { t } ^ { j }$ and proposals $p _ { t } ^ { j } \\in \\{ 0 . . . 5 \\} ^ { 3 }$ for each timestep $1 \\leq t \\leq N$ . Agents alternate between timesteps, meaning that agent A always acts on the odd turns while agent B on the even turns. ",
190
+ "bbox": [
191
+ 174,
192
+ 819,
193
+ 823,
194
+ 862
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "",
201
+ "bbox": [
202
+ 174,
203
+ 103,
204
+ 825,
205
+ 217
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "Either agent can terminate the negotiation at any timestep $t$ with a special action, which signifies agreement with the most recent proposal made by the other agent. For example, if agent B terminates the negotiation at $t = 4$ , agent A gets rewarded by $R _ { A } = u _ { A } \\cdot ( p _ { t - 1 } ^ { A } )$ while agent $\\mathbf { B }$ receives reward $R _ { B } = u _ { B } \\cdot ( i - p _ { t - 1 } ^ { A } )$ , where $\\cdot$ denotes the dot product of vectors. Note that, if an agent makes an invalid proposal, such as asking for more items than exist in the item pool, and this is accepted, then both agents receive $R _ { A } = R _ { B } = 0$ . ",
212
+ "bbox": [
213
+ 174,
214
+ 224,
215
+ 825,
216
+ 310
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "We impose an upper limit, $N$ , on the number of negotiation turns allowed. If the agents get to the limit without agreement, then both agents receive no reward. We experimented with having a fixed upper limit of 10 turns. However, this led to a “first-mover” advantage: if the agents know in advance how many turns the negotiation lasts, there is a degenerate policy in which agent A can wait until the last timestep $N - 1$ before giving a lopsided offer, which agent B is compelled to accept, a situation similar to the ultimatum game (Guth et al., 1982). To eliminate this effect, we sample N ¨ between 4 and 10 at each round, according to a truncated Poisson distribution with mean 7. ",
223
+ "bbox": [
224
+ 174,
225
+ 316,
226
+ 825,
227
+ 414
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "2.2 COMMUNICATION CHANNELS ",
234
+ "text_level": 1,
235
+ "bbox": [
236
+ 176,
237
+ 433,
238
+ 419,
239
+ 445
240
+ ],
241
+ "page_idx": 2
242
+ },
243
+ {
244
+ "type": "text",
245
+ "text": "To achieve negotiation, the agents need to communicate. One obvious communication protocol is to directly transmit the proposed division of items $p _ { j }$ . We refer to this as the proposal channel. This communication channel is task-specific and pertains to the action space of the agents used to derive their pay-offs. Consequently, the information bandwidth is restricted and grounded in the action space of the game. Motivated by work on emergent communication, we also give our agents the ability of transmitting strings of arbitrary symbols with no a priori grounding. We call this the linguistic channel, a specific instantiation of the more general concept of cheap talk. This channel differs from the proposal channel in two key properties: ",
246
+ "bbox": [
247
+ 174,
248
+ 457,
249
+ 825,
250
+ 569
251
+ ],
252
+ "page_idx": 2
253
+ },
254
+ {
255
+ "type": "text",
256
+ "text": "• Non-bindingness: Messages sent via this channel do not commit the sender to any course of action, unlike directly transmitting a proposal which binds the sender to the proposal. • Unverifiability: There is no inherent link between the linguistic utterance and the private proposal made, meaning that the agents could potentially lie. ",
257
+ "bbox": [
258
+ 210,
259
+ 582,
260
+ 825,
261
+ 643
262
+ ],
263
+ "page_idx": 2
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "We are interested in whether and under what circumstances the agents can make use of this channel to facilitate negotiation and establish a common ground for the symbols. ",
268
+ "bbox": [
269
+ 173,
270
+ 655,
271
+ 823,
272
+ 684
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "In our experiments, we consider 4 separate communication configurations: only the proposal channel, only the linguistic channel, both channels open, and no communication at all.2 If a channel is closed, we replace any messages in that channel with a fixed dummy symbol to ensure no information is transmitted. If the proposal channel is closed, we still use the decoded proposal to calculate the item division, but this information is not revealed to the opponent agent. ",
279
+ "bbox": [
280
+ 174,
281
+ 690,
282
+ 825,
283
+ 760
284
+ ],
285
+ "page_idx": 2
286
+ },
287
+ {
288
+ "type": "text",
289
+ "text": "2.3 AGENT SOCIALITY AND REWARD SCHEMES ",
290
+ "text_level": 1,
291
+ "bbox": [
292
+ 178,
293
+ 779,
294
+ 511,
295
+ 791
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "While purely self-interested agents may learn to divide up items so that only each individual is satisfied, this may not lead to an optimal joint allocation of items, where each item goes to the agent with the highest utility for that item. We introduce a “prosocial” reward $R$ that is shared across A and B, which is the sum of the agents’ individual (selfish) rewards, i.e., $R = R _ { A } + R _ { B }$ . Prosocial agents are incentivised to communicate, as finding the optimal joint allocation requires communicating the hidden values between the agents. These different reward schemes can be seen as specific instantiations of a more general reward formula of the form $R = \\alpha R _ { A } + \\beta R _ { B }$ (Peysakhovich & Lerer, 2017). For the selfish agent, $\\alpha = 1$ and $\\beta = 0$ , while for the prosocial agent $\\alpha \\overset { \\cdot } { = } \\beta = 1$ .3 ",
302
+ "bbox": [
303
+ 174,
304
+ 804,
305
+ 825,
306
+ 875
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "",
313
+ "bbox": [
314
+ 174,
315
+ 103,
316
+ 825,
317
+ 146
318
+ ],
319
+ "page_idx": 3
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "2.4 AGENT ARCHITECTURE AND LEARNING ",
324
+ "text_level": 1,
325
+ "bbox": [
326
+ 176,
327
+ 165,
328
+ 490,
329
+ 179
330
+ ],
331
+ "page_idx": 3
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "At each timestep $t$ , the proposer receives three inputs: ",
336
+ "bbox": [
337
+ 174,
338
+ 190,
339
+ 526,
340
+ 205
341
+ ],
342
+ "page_idx": 3
343
+ },
344
+ {
345
+ "type": "text",
346
+ "text": "• The item context $c ^ { j } = [ i ; u _ { j } ]$ , a concatenation of the item pool and the proposer’s utilities. \n• The utterance $m _ { t - 1 }$ produced by the other agent in the previous timestep $t - 1$ . If the linguistic channel is closed, this is simply a dummy message. \n• The proposal $p _ { t - 1 }$ made by the other agent in the previous timestep $t - 1$ . If the proposal channel is closed, this is again a dummy proposal. ",
347
+ "bbox": [
348
+ 215,
349
+ 218,
350
+ 825,
351
+ 301
352
+ ],
353
+ "page_idx": 3
354
+ },
355
+ {
356
+ "type": "text",
357
+ "text": "First, the discrete inputs are turned into dense vectors through an embedding table. We use two embedding tables, one for the item context and the previous proposal, and a separate one for the previous utterance. This is essential as the item context and the previous proposal have predefined numeric semantics, distinct from the linguistic semantics of the utterances’ symbols. ",
358
+ "bbox": [
359
+ 174,
360
+ 315,
361
+ 825,
362
+ 371
363
+ ],
364
+ "page_idx": 3
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "Then, each of the input sequences is encoded using an LSTM (Hochreiter & Schmidhuber, 1997), one for each input. This results in 3 fixed-size vectors: $h _ { t } ^ { c }$ , $h _ { t } ^ { m }$ and $h _ { t } ^ { p }$ . These vectors are concatenated and fed through a feedforward layer, followed by a ReLU non-linearity (Nair & Hinton, 2010), to give $h _ { t }$ , the hidden state of the agent at timestep $t$ . This hidden state is then used to initialise the policies for the actions the agent can take: ",
369
+ "bbox": [
370
+ 176,
371
+ 377,
372
+ 825,
373
+ 448
374
+ ],
375
+ "page_idx": 3
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "• $\\pi _ { t e r m }$ is the policy for the termination action. If this action is taken by an agent, both agents receive reward according to the last proposal made by the other agent. This is a binary decision, and we parametrise $\\pi _ { t e r m }$ as a single feedforward layer, with the hidden state as input, followed by a sigmoid function, to represent the probability of termination. • $\\pi _ { u t t }$ is the policy for the linguistic utterances. This is parametrised by an LSTM, which takes the hidden state of the agent as the initial hidden state. For the first timestep, a dummy symbol is fed in as input; subsequently, the model prediction from the previous timestep is fed in as input at the next timestep, in order to predict the next symbol. $\\pi _ { p r o p }$ is the policy for the proposals the agent generates. This is parametrised by 3 separate feedforward neural networks, one for each item type, which each take as input $h _ { t }$ and output a distribution over $\\{ 0 . . . 5 \\}$ indicating the proposal for that item. ",
380
+ "bbox": [
381
+ 215,
382
+ 462,
383
+ 825,
384
+ 627
385
+ ],
386
+ "page_idx": 3
387
+ },
388
+ {
389
+ "type": "text",
390
+ "text": "The overall policy for the agent, $\\pi ^ { * }$ , is a combination of the separate policies. The action that the agent takes at turn $t$ can be summarised by a triple $( e _ { t } , m _ { t } , p _ { t } )$ , where $e _ { t }$ is a binary variable indicating whether the agent took the termination action, $m _ { t }$ is a sequence of symbols produced from $\\pi _ { u t t }$ , and $p _ { t }$ is a proposal produced by $\\pi _ { p r o p }$ . A negotiation can then be thought of as a sequence of triples $\\tau = \\langle ( e _ { t } , u _ { t } , p _ { t } ) | 1 \\leq t \\leq N \\rangle$ , with the agents alternating turns. ",
391
+ "bbox": [
392
+ 174,
393
+ 640,
394
+ 825,
395
+ 712
396
+ ],
397
+ "page_idx": 3
398
+ },
399
+ {
400
+ "type": "text",
401
+ "text": "During training, each agent $i$ tries to independently find the policy $\\pi _ { i } ^ { * }$ that maximises the following objective function: ",
402
+ "bbox": [
403
+ 174,
404
+ 717,
405
+ 821,
406
+ 744
407
+ ],
408
+ "page_idx": 3
409
+ },
410
+ {
411
+ "type": "equation",
412
+ "img_path": "images/2b9604f93e3d4c0bdf5ee558a0af4ec5f1f307450c1495ffe627f6d52fe5e38d.jpg",
413
+ "text": "$$\n\\pi _ { i } ^ { * } = \\underset { \\pi _ { i } } { \\arg \\operatorname* { m a x } } \\ \\underset { \\tau \\sim ( \\pi _ { A } , \\pi _ { B } ) } { \\mathbb { E } } [ R _ { i } ( \\tau ) ] + \\lambda H ( \\pi _ { i } )\n$$",
414
+ "text_format": "latex",
415
+ "bbox": [
416
+ 354,
417
+ 744,
418
+ 643,
419
+ 770
420
+ ],
421
+ "page_idx": 3
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "where $R _ { i } ( \\tau )$ is the reward agent $i$ receives from the trajectory $\\tau$ and $H ( \\pi _ { i } )$ is an entropy regularisation term to encourage the agent to explore during training. Note that each agent has its own objective function, and the objectives of both agents are coupled by the trajectory sampled from both agents’ policies. At test time, instead of sampling from the policy $\\pi$ , we take the action with the highest probability. Parameters are updated using the REINFORCE (Williams, 1992) update rule with an exponentially smoothed mean baseline. Full hyperparameter details are in the appendix. ",
426
+ "bbox": [
427
+ 173,
428
+ 776,
429
+ 825,
430
+ 861
431
+ ],
432
+ "page_idx": 3
433
+ },
434
+ {
435
+ "type": "image",
436
+ "img_path": "images/3cb1863a75996c1449c459dda4732af0ba7982b86aebbe33fea181b97ad0bac6.jpg",
437
+ "image_caption": [
438
+ "Figure 2: a) Training curves for self-interested agents learning to negotiate under the various communication channels. The results show the mean across 20 different random seeds, as well as bootstrapped confidence intervals via shading (only visible for the linguistic communication case) b) The optimality of the proposed item division as negotiation proceeds for two selfish agents communicating via the proposal channel, shown with error bars for interquartile range. "
439
+ ],
440
+ "image_footnote": [],
441
+ "bbox": [
442
+ 174,
443
+ 101,
444
+ 825,
445
+ 292
446
+ ],
447
+ "page_idx": 4
448
+ },
449
+ {
450
+ "type": "text",
451
+ "text": "3 EXPERIMENT 1: CAN SELF-INTERESTED AGENTS LEARN TO NEGOTIATE? ",
452
+ "text_level": 1,
453
+ "bbox": [
454
+ 173,
455
+ 401,
456
+ 810,
457
+ 416
458
+ ],
459
+ "page_idx": 4
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "3.1 EXPERIMENT DESCRIPTION ",
464
+ "text_level": 1,
465
+ "bbox": [
466
+ 176,
467
+ 433,
468
+ 405,
469
+ 445
470
+ ],
471
+ "page_idx": 4
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "In our first experiment, we test whether purely self-interested agents can learn to negotiate and divide up items fairly, and investigate the effect of the various communication channels on negotiation success. We train self-interested agents to negotiate for 500k episodes. Each episode corresponds to a batch of 128 games, each with item pools and hidden utilities generated as described in Section 2.1. We also hold out 5 batches worth of games as a test set, and test the agents every 50 episodes, in order to measure the robustness of the negotiating behaviour to unseen environments. ",
476
+ "bbox": [
477
+ 174,
478
+ 458,
479
+ 825,
480
+ 541
481
+ ],
482
+ "page_idx": 4
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "3.2 RESULTS ",
487
+ "text_level": 1,
488
+ "bbox": [
489
+ 174,
490
+ 559,
491
+ 277,
492
+ 573
493
+ ],
494
+ "page_idx": 4
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "Self-interested agents can learn to negotiate fairly Figure 2a shows that self-interested agents learn to divide up the items fairly when they exchange proposals directly. We see that the proportion of total utility each agent receives is roughly equal, and above $50 \\%$ , suggesting that the agents have learnt to keep items with higher utility, while giving away items with low utility.4 In addition, the agents seem to show evidence of compromise: there is a drop of 0.24 between the value of the proposal that agent 1 makes at the beginning of negotiation, and the final reward it receives; for agent 2, the corresponding drop is 0.18. Furthermore, Figure 2b shows the mean optimality of the proposal made at each turn of the negotiation averaged over 1280 games, calculated as the sum of the reward of both agents divided by the maximum possible reward. This value increases with more rounds of negotiation, suggesting that the agents are adjusting their proposals based on information from the other agent. ",
499
+ "bbox": [
500
+ 174,
501
+ 585,
502
+ 825,
503
+ 738
504
+ ],
505
+ "page_idx": 4
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "Table 1 presents an illustrative example of two self-interested agents negotiating using the proposal channel. While the initial proposals made by both agents are over-optimistic, over the course of the negotiation, they compromise to less items. This allows them to achieve higher joint reward, as seen in Figure 2b, a clear example of “negotiation”. ",
510
+ "bbox": [
511
+ 174,
512
+ 744,
513
+ 823,
514
+ 801
515
+ ],
516
+ "page_idx": 4
517
+ },
518
+ {
519
+ "type": "text",
520
+ "text": "Self-interested agents do not appear to ground cheap talk When using the linguistic channel, agents do not negotiate optimally. Instead, the agents randomly alternate taking all the items, which is borne out by the oscillations in Figure 2a. Indeed, examination of the messages exchanged by self-interested agents show they predominantly consist of a single symbol – see Figures 5a and 5b in the appendix for more details. This result suggests that the self-interested agents we implement find it difficult to cheap talk to exchange meaningful information about how to divide up the items, which is in line with the theoretical analysis of cheap talk in Crawford & Sobel (1982), who find that, once agent interests diverge by a finite amount, no communication is to be expected. Our findings also corroborate the hypothesis found in the language evolution literature that cooperation is a prerequisite for the emergence of language (Nowak & Krakauer, 1999). ",
521
+ "bbox": [
522
+ 174,
523
+ 818,
524
+ 825,
525
+ 887
526
+ ],
527
+ "page_idx": 4
528
+ },
529
+ {
530
+ "type": "table",
531
+ "img_path": "images/e6a6a35d312e01dcd29a5ba243ba870c88b81002bbc033bdba8920f6a46b4f22.jpg",
532
+ "table_caption": [
533
+ "Item pool: [5, 5, 1] A utilities: [8, 7, 1] B utilities: [8, 3, 2] ",
534
+ "Table 1: Actual transcript of two self-interested agents negotiating using the proposal channel. In this setting, no linguistic message is decoded at all. "
535
+ ],
536
+ "table_footnote": [],
537
+ "table_body": "<table><tr><td>Turn</td><td>Agent</td><td>Proposal</td></tr><tr><td>1</td><td>A</td><td>[3,4,4]</td></tr><tr><td>2</td><td>B</td><td>[4,2,0]</td></tr><tr><td>3</td><td>A</td><td>[3, 4,0]</td></tr><tr><td>4</td><td>B</td><td>[4,1,0]</td></tr></table>",
538
+ "bbox": [
539
+ 281,
540
+ 116,
541
+ 717,
542
+ 198
543
+ ],
544
+ "page_idx": 5
545
+ },
546
+ {
547
+ "type": "table",
548
+ "img_path": "images/006b4e99124191ecafa249bb48904db35e5f1bab2f21224da9e7e68cbc8a7890.jpg",
549
+ "table_caption": [
550
+ "Table 2: Joint reward success and average number of turns taken for paired agents negotiating with random game termination, varying the agent reward scheme and communication channel. The results are averaged across 20 seeds, with 128 games per seed. We also report the standard deviation as the $\\pm$ number and the interquartile range. "
551
+ ],
552
+ "table_footnote": [],
553
+ "table_body": "<table><tr><td>Agent sociality</td><td></td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>None</td></tr><tr><td>Self-interested</td><td>Fraction of joint reward 25th&amp;75th percentiles</td><td>0.87 ± 0.11 [0.81,0.95]</td><td>0.75± 0.22 [0.61, 0.94]</td><td>0.87±0.12 [0.81, 0.95]</td><td>0.77 ± 0.22 [0.62, 0.97]</td></tr><tr><td>Prosocial</td><td>Turns taken Fraction of joint reward 25th &amp; 75th percentiles Turns taken</td><td>3.55 ± 1.12 0.93 ± 0.10 [0.89,1.0] 3.10 ± 0.99</td><td>5.36 ± 1.20 0.99 ± 0.02 [1.0, 1.0] 3.71 ± 0.58</td><td>3.43 ± 1.10 0.92 ± 0.11 [0.88,1.0] 2.98 ± 0.97</td><td>3.00 ± 0.13 0.95 ± 0.11 [0.93,1.0] 2.27 ± 0.69</td></tr></table>",
554
+ "bbox": [
555
+ 176,
556
+ 261,
557
+ 821,
558
+ 376
559
+ ],
560
+ "page_idx": 5
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "",
565
+ "bbox": [
566
+ 174,
567
+ 479,
568
+ 825,
569
+ 549
570
+ ],
571
+ "page_idx": 5
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "We conjecture that this finding is partially due to the fact that the agents operate in a non-iterated environment (i.e., they have no explicit memory of previous interactions). In the classic prisoner’s dilemma game, rational agents playing a single-shot version of the game learn to always defect, whereas rational agents playing iterated prisoner’s dilemma can learn more mutually beneficial cooperative strategies under the right conditions (Sandholm & Crites, 1996; Wunder et al., 2010). More sophisticated players will often have an incentive to take a short-term loss in reward to teach or punish another player for long-term gain in the repeated setting (Fudenberg & Levine, 1998). We suspect that, by iterating the game, there is an incentive for the cheap talk to be more verifiable, as there is a more credible threat of punishment if the accepted proposal and the linguistic utterance do not correspond. ",
576
+ "bbox": [
577
+ 174,
578
+ 556,
579
+ 825,
580
+ 695
581
+ ],
582
+ "page_idx": 5
583
+ },
584
+ {
585
+ "type": "text",
586
+ "text": "4 EXPERIMENT 2 - CAN PROSOCIAL AGENTS LEARN TO COORDINATE? ",
587
+ "bbox": [
588
+ 174,
589
+ 729,
590
+ 772,
591
+ 744
592
+ ],
593
+ "page_idx": 5
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "4.1 EXPERIMENT DESCRIPTION ",
598
+ "text_level": 1,
599
+ "bbox": [
600
+ 176,
601
+ 767,
602
+ 403,
603
+ 781
604
+ ],
605
+ "page_idx": 5
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "In the previous experiment, we showed that self-interested agents can divide up items fairly such that each agent gets equal reward. However, this does not correspond to an optimal joint allocation where items go to the agent with the higher utility for that item (equivalently, maximising the sum of both agents’ rewards). The prosocial reward scheme aligns exactly with this optimal outcome, as learning to negotiate equates to finding the optimal joint item allocation. In this setting, there is an in-built bias towards communication, as solving the game optimally requires pooling hidden utilities. Table 2 reports the turns taken as well as the joint reward optimality, i.e., the sum of both agents’ rewards, divided by the maximum possible reward given the item context, where the latter corresponds to each agent getting all the items for which they have a higher utility. ",
610
+ "bbox": [
611
+ 174,
612
+ 797,
613
+ 825,
614
+ 924
615
+ ],
616
+ "page_idx": 5
617
+ },
618
+ {
619
+ "type": "table",
620
+ "img_path": "images/2176048237004a7cfc4024d0399077d03efa50895134931e26a2d19fa1868c84.jpg",
621
+ "table_caption": [],
622
+ "table_footnote": [],
623
+ "table_body": "<table><tr><td colspan=\"2\">Item pool: [4, 5,1]</td><td>A utilities: [1, 7, 9]</td><td>B utilities: [7, 0, 10]</td></tr><tr><td>Turn</td><td>Agent</td><td>Linguistic utterance</td><td>Proposal (hidden)</td></tr><tr><td>1</td><td>A</td><td>[3,3, 3, 3, 3, 3]</td><td>[0,5,1]</td></tr><tr><td>2</td><td>B</td><td>[6, 6, 6, 4, 7, 4]</td><td>[4,0, 1]</td></tr><tr><td>3</td><td>A</td><td>[3, 3, 3, 3, 3, 3]</td><td>[0,5,0]</td></tr></table>",
624
+ "bbox": [
625
+ 272,
626
+ 99,
627
+ 723,
628
+ 186
629
+ ],
630
+ "page_idx": 6
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "Table 3: Actual transcript of two prosocial agents negotiating using the linguistic channel. At each turn, the agents decode a proposal but this is hidden and not revealed to the other agent. ",
635
+ "bbox": [
636
+ 173,
637
+ 196,
638
+ 826,
639
+ 224
640
+ ],
641
+ "page_idx": 6
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "4.2 RESULTS ",
646
+ "text_level": 1,
647
+ "bbox": [
648
+ 174,
649
+ 265,
650
+ 277,
651
+ 280
652
+ ],
653
+ "page_idx": 6
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "Cheap talk helps agents coordinate For prosocial agents with aligned interests, theoretical results suggest that communication using cheap talk is a Nash equilibrium. This is indeed what we observe, as the linguistic channel results in much better task success than any other communication scheme. The information bandwidth of the proposal channel is limited by the type and number of items, whereas the linguistic channel’s bandwidth is unconstrained and can (in theory) be arbitrarily large, helping the effective exchange of task-specific information. In addition, the variance in joint optimality is much lower for the linguistic channel, suggesting it is more robust. We suspect that difficulties in optimisation cause the results for both channels open to be similar to those for only the proposal channel open, as the proposal channel is pre-grounded, which poses a strong local maxima. With better optimisation, we believe that the performance of both channels open will more closely match those of just the linguistic channel open. ",
658
+ "bbox": [
659
+ 174,
660
+ 297,
661
+ 825,
662
+ 450
663
+ ],
664
+ "page_idx": 6
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "Table 3 illustrates an example of negotiation between the two prosocial agents. Interestingly, we observe that agent A over the course of the negotiation game adjusts its proposal (which is however hidden and not revealed) based on the utterances of agent B. ",
669
+ "bbox": [
670
+ 174,
671
+ 457,
672
+ 825,
673
+ 500
674
+ ],
675
+ "page_idx": 6
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "Prosocial agents can still use the proposal channel to co-ordinate With random termination, agents communicating with the proposal channel do even worse than the no-communication baseline. However, when given the full 10 turns to exchange information (see Figure 7 in the appendix), prosocial agents manage to outperform the no-communication baseline. This suggests that the agents are slowly learning to repurpose the proposal channel to transmit information, i.e., they communicate directly on the action space. Reusing task-specific actions to transmit information has precedent, such as in bridge bidding (Simon, 1949), and it is interesting to observe that agents learn to develop a codebook without the need for prior agreement. ",
680
+ "bbox": [
681
+ 174,
682
+ 530,
683
+ 825,
684
+ 641
685
+ ],
686
+ "page_idx": 6
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "5 ANALYSIS OF LINGUISTIC COMMUNICATION ",
691
+ "text_level": 1,
692
+ "bbox": [
693
+ 174,
694
+ 678,
695
+ 573,
696
+ 693
697
+ ],
698
+ "page_idx": 6
699
+ },
700
+ {
701
+ "type": "text",
702
+ "text": "5.1 SYMBOL USAGE ",
703
+ "text_level": 1,
704
+ "bbox": [
705
+ 174,
706
+ 717,
707
+ 326,
708
+ 732
709
+ ],
710
+ "page_idx": 6
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "The symbol unigram and bigram distributions of messages exchanged by prosocial agents (see Figures 3a and 3b respectively) show that agent A, the agent who initiates the negotiation, is not transmitting any information using the linguistic channel. On the other hand, agent B uses a diversity of symbols resulting in a long-tailed bigram symbol distribution, reminiscent of the Zipfian distribution found in natural languages. This suggests that, even though the task is symmetric, the agents differentiate into speaker and listener roles, similar to other co-ordination games of communication, such as the reference game. Thus, they have adopted a simple strategy for solving the game: an agent shares its utilities (the speaker), while the other (the listener) compares the shared utilities with their own and generates the optimal proposal. ",
715
+ "bbox": [
716
+ 174,
717
+ 750,
718
+ 825,
719
+ 875
720
+ ],
721
+ "page_idx": 6
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "In contrast, the selfish agents do not show evidence of grounded symbol usage. The unigram and bigram statistics show that most messages consist solely of strings of a single fixed symbol, regardless of the item context, and hence no information is being exchanged. ",
726
+ "bbox": [
727
+ 176,
728
+ 882,
729
+ 823,
730
+ 924
731
+ ],
732
+ "page_idx": 6
733
+ },
734
+ {
735
+ "type": "image",
736
+ "img_path": "images/c84936bfe3d71051d14d48a9d7cfbd42b061d7e0e5c92d3f48d62b69e50844d7.jpg",
737
+ "image_caption": [
738
+ "Figure 3: a) Unigram statistics of symbol usage broken down by turn and by position within the utterance for prosocial agents communicating via the linguistic channel. b) Bigram counts for prosocial agents communicating via the linguistic channel, sorted by frequency. "
739
+ ],
740
+ "image_footnote": [],
741
+ "bbox": [
742
+ 176,
743
+ 99,
744
+ 758,
745
+ 445
746
+ ],
747
+ "page_idx": 7
748
+ },
749
+ {
750
+ "type": "table",
751
+ "img_path": "images/86bf7794c3b3f82f1459b03bc80b1fe768abffaf04b6b51b53285f1a0b2cabd1.jpg",
752
+ "table_caption": [],
753
+ "table_footnote": [],
754
+ "table_body": "<table><tr><td>Agent types</td><td>% agent A value correct</td><td>% agent B value correct</td><td>% proposal correct</td></tr><tr><td>Selfish-Selfish</td><td>21</td><td>25</td><td>94 (94)</td></tr><tr><td>Prosocial-Prosocial</td><td>26</td><td>81</td><td>80 (57)</td></tr><tr><td>Random baseline</td><td>20</td><td>20</td><td>17</td></tr></table>",
755
+ "bbox": [
756
+ 204,
757
+ 513,
758
+ 794,
759
+ 580
760
+ ],
761
+ "page_idx": 7
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "Table 4: Accuracy of predicting individual elements of the agents’ hidden utilities, as well as the final proposal that was accepted. Numbers in brackets indicate accuracy predicting the proposal from just the item pool. Random baseline numbers are obtained by predicting from a message transcript and item pool of all 0’s. ",
766
+ "bbox": [
767
+ 174,
768
+ 590,
769
+ 825,
770
+ 647
771
+ ],
772
+ "page_idx": 7
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "5.2 CONTENT OF THE MESSAGES ",
777
+ "text_level": 1,
778
+ "bbox": [
779
+ 176,
780
+ 674,
781
+ 415,
782
+ 689
783
+ ],
784
+ "page_idx": 7
785
+ },
786
+ {
787
+ "type": "text",
788
+ "text": "To interpret the information that is transmitted through the linguistic channel, we use the message transcript and the item pool to create probe classifiers that predict the hidden utilities of each agent and the (hidden) accepted proposal. We use an LSTM to encode the sequence of symbols belonging to the message transcript into a vector, and another LSTM to encode the item pool into a vector. The resulting two vectors are then concatenated and used to predict the hidden utility functions and the accepted proposal using 9 linear classifiers, one for each item (3 each for agent A and agent B’s utilities and 3 for the proposal). We conduct 10-fold cross-validation and report averaged per-item accuracy (see Table 4). ",
789
+ "bbox": [
790
+ 174,
791
+ 700,
792
+ 825,
793
+ 811
794
+ ],
795
+ "page_idx": 7
796
+ },
797
+ {
798
+ "type": "text",
799
+ "text": "We also include two baselines. The first, reported as the “random baseline” in Table 4, attempts to predict the accepted proposal and agent utilities from a message transcript and item pool of all 0’s (indicating chance performance at the task). The other predicts the accepted proposal from the item pool and a message transcript of all $\\mathrm { 0 ^ { \\circ } s }$ . This shows how much additional information about the proposal is contained in the message transcript. ",
800
+ "bbox": [
801
+ 174,
802
+ 819,
803
+ 825,
804
+ 888
805
+ ],
806
+ "page_idx": 7
807
+ },
808
+ {
809
+ "type": "text",
810
+ "text": "We can see from Table 4 that not only is there variety in the symbols used, but the messages also have semantic content: they contain information about the hidden utilities of agent B, and about the proposal that was made. This shows that our agents have learned to give meaning to the symbols, and can use them to transmit information. However, the purely self-interested agents do not seem to transmit meaningful information using the linguistic channel, and thus do not appear to ground the symbols.5 ",
811
+ "bbox": [
812
+ 174,
813
+ 895,
814
+ 823,
815
+ 924
816
+ ],
817
+ "page_idx": 7
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "",
822
+ "bbox": [
823
+ 174,
824
+ 103,
825
+ 825,
826
+ 159
827
+ ],
828
+ "page_idx": 8
829
+ },
830
+ {
831
+ "type": "text",
832
+ "text": "6 EXPERIMENT 3: A SOCIETY OF AGENTS ",
833
+ "text_level": 1,
834
+ "bbox": [
835
+ 174,
836
+ 181,
837
+ 537,
838
+ 196
839
+ ],
840
+ "page_idx": 8
841
+ },
842
+ {
843
+ "type": "text",
844
+ "text": "In more realistic scenarios, we learn and practice negotiation in environments with diverse agent populations and levels of prosociality. In this setting, maximising one’s reward requires identifying which agents are most useful in achieving one’s aims. In practice, this involves identifying which agents are the most prosocial, as they are both the most exploitable for self-interested agents, and the most cooperative for other prosocial agents. ",
845
+ "bbox": [
846
+ 174,
847
+ 213,
848
+ 825,
849
+ 284
850
+ ],
851
+ "page_idx": 8
852
+ },
853
+ {
854
+ "type": "text",
855
+ "text": "6.1 EXPERIMENTAL PROTOCOL ",
856
+ "text_level": 1,
857
+ "bbox": [
858
+ 176,
859
+ 303,
860
+ 401,
861
+ 315
862
+ ],
863
+ "page_idx": 8
864
+ },
865
+ {
866
+ "type": "text",
867
+ "text": "We trained a fixed agent against a community of 10 agents, with varying proportions of selfish and prosocial agents. For each training episode, we randomly sample one agent from the community, play a batch of negotiation games, and then update both agents. We do this for both fixed agent A (the agent who goes first) and for fixed agent B (the agent who goes second). We experiment with either 1 or 5 prosocial agents, which communication channels are open, and also whether the agents are identifiable. ",
868
+ "bbox": [
869
+ 174,
870
+ 328,
871
+ 825,
872
+ 411
873
+ ],
874
+ "page_idx": 8
875
+ },
876
+ {
877
+ "type": "text",
878
+ "text": "At test time, we care primarily about whether self-interested agents can exploit prosocial agents and whether prosocial agents can cooperate with other prosocial agents. Hence, we only test the fixed agent against the prosocial agents in the community. We generate 10 batches of 128 games each batch, and play each game with every pair of fixed agent and community prosocial agent. We average the results across all pairs and all games, and show the mean and standard deviations of the rewards obtained in this experiment in Table 5. ",
879
+ "bbox": [
880
+ 174,
881
+ 419,
882
+ 825,
883
+ 502
884
+ ],
885
+ "page_idx": 8
886
+ },
887
+ {
888
+ "type": "text",
889
+ "text": "If opposing agents are identifiable (i.e. each agent has a name-tag), the fixed agent receives this information as a one-hot vector, which is then used to look up an embedding table with trainable parameters with one embedding per opposing agent. This opponent embedding is then concatenated with the encoded inputs, before being passed through the feedforward layer to get the agent’s hidden state. Intuitively, the induced agent embedding, that takes the form of machine theory of mind (Rabinowitz et al., 2018), should capture any information about the opponent’s behaviour (e.g., negotiating strategy) that, when taken into account, can help an agent maximize their reward. ",
890
+ "bbox": [
891
+ 174,
892
+ 510,
893
+ 825,
894
+ 607
895
+ ],
896
+ "page_idx": 8
897
+ },
898
+ {
899
+ "type": "text",
900
+ "text": "6.2 ANALYSIS ",
901
+ "text_level": 1,
902
+ "bbox": [
903
+ 174,
904
+ 626,
905
+ 285,
906
+ 638
907
+ ],
908
+ "page_idx": 8
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "Identifying agents Our results show that providing agent ID information does help the fixed agent achieve its aims. This effect is particularly pronounced for a selfish fixed agent; here, providing ID information uniformly improves performance. For cooperative agents, the results mixed; for a fixed agent A communicating via the linguistic channel, having agent ID information harms performance. Indeed, the only prosocial agents who beat the no communication baseline (which achieved an average joint optimal reward of 0.95) was when agent A was fixed and ID information was not provided. ",
913
+ "bbox": [
914
+ 174,
915
+ 651,
916
+ 825,
917
+ 748
918
+ ],
919
+ "page_idx": 8
920
+ },
921
+ {
922
+ "type": "text",
923
+ "text": "We also computed the 2D PCA projections of the learnt opponent embeddings for a fixed agent A under a variety of channels and prosocial levels (see Figure 4). Even in cases where the agent ID does not aid negotiation, we find that the embeddings cluster according to the reward scheme of the other agent. This shows that the agents can distinguish different agents by their reward schemes from purely observing negotiating behaviour. ",
924
+ "bbox": [
925
+ 174,
926
+ 756,
927
+ 825,
928
+ 825
929
+ ],
930
+ "page_idx": 8
931
+ },
932
+ {
933
+ "type": "text",
934
+ "text": "Community linguistic phenomena In one of our experimental settings, a community of prosocial agents developed a language and were able to use this to achieve better negotiation success. This is the outcome in the starred cell in Table 5. For a visualisation of the bigram usage statistics in ",
935
+ "bbox": [
936
+ 176,
937
+ 843,
938
+ 823,
939
+ 885
940
+ ],
941
+ "page_idx": 8
942
+ },
943
+ {
944
+ "type": "image",
945
+ "img_path": "images/380ae6cff0a30b2f8548ea3da3931ae0f678430a5ad69e7e9776ee49de2221c3.jpg",
946
+ "image_caption": [
947
+ "Figure 4: PCA plot of whitened opponent ID embeddings that was learnt by a fixed agent 1 for a variety of reward schemes and communication channels. "
948
+ ],
949
+ "image_footnote": [],
950
+ "bbox": [
951
+ 181,
952
+ 95,
953
+ 820,
954
+ 189
955
+ ],
956
+ "page_idx": 9
957
+ },
958
+ {
959
+ "type": "table",
960
+ "img_path": "images/77268d9e18740f184c793513d3e7d793f4f5bcb24592f9f94a4bbfcb0e998e49.jpg",
961
+ "table_caption": [],
962
+ "table_footnote": [],
963
+ "table_body": "<table><tr><td colspan=\"3\"></td><td colspan=\"3\">Fixed agent A</td><td colspan=\"3\">Fixed agent B</td></tr><tr><td>Fixed # agent type</td><td>cial agents</td><td>IDs proso- given</td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>Proposal</td><td>Linguistic</td><td>Both</td></tr><tr><td rowspan=\"2\">Self</td><td>1</td><td>False True</td><td>0.81 ± 0.17 0.96 ± 0.06</td><td>0.97 ± 0.05 0.97 ± 0.10</td><td>0.87 ± 0.11 0.97 ± 0.04</td><td>0.76 ± 0.18 0.95 ± 0.08</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.76 ± 0.16 1.0 ± 0.0</td></tr><tr><td>5</td><td>False True</td><td>0.82 ±0.17 1.0 ± 0.01</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.98 ± 0.07 1.0 ± 0.01</td><td>0.88 ± 0.14 1.0 ± 0.0</td><td>1.0 ± 0.0 1.0 ± 0.0</td><td>0.88 ± 0.14 1.0 ± 0.02</td></tr><tr><td rowspan=\"2\">Pros.</td><td>1</td><td>False True</td><td>0.91 ± 0.11 0.95 ± 0.10</td><td>0.95 ± 0.09 0.93 ± 0.11</td><td>0.91 ± 0.12 0.95 ± 0.09</td><td>0.93 ± 0.11 0.92 ± 0.01</td><td>0.95 ± 0.10 0.96 ± 0.08</td><td>0.92 ± 0.11 0.92 ± 0.10</td></tr><tr><td>5</td><td>False True</td><td>0.90 ± 0.13 0.94 ± 0.09</td><td>0.98*± 0.06 0.97 ± 0.06</td><td>0.93 ± 0.10 0.94 ± 0.01</td><td>0.92 ± 0.12 0.93 ± 0.10</td><td>0.95 ± 0.08 0.95 ± 0.08</td><td>0.90 ± 0.16 0.92 ± 0.10</td></tr></table>",
964
+ "bbox": [
965
+ 176,
966
+ 255,
967
+ 823,
968
+ 444
969
+ ],
970
+ "page_idx": 9
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Table 5: Fixed agent return vs opposing prosocial agents, for different numbers of opposing prosocial agents and whether IDs are revealed across the communication channels. For the self-interested fixed agent, the numbers report personal reward, and for the prosocial fixed agent, the numbers report joint reward. The starred result indicates when a community has made use of the linguistic channel to transmit information. ",
975
+ "bbox": [
976
+ 173,
977
+ 453,
978
+ 825,
979
+ 522
980
+ ],
981
+ "page_idx": 9
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "each interaction pair in this community, see Figure 6. Interestingly, the only situation when agents developed a language was when ID information was not provided. We suspect this result is due to a poor local optimum; since the prosocial agents can learn to use IDs to distinguish prosocial agents from the selfish agents they can ignore the linguistic utterance. ",
986
+ "bbox": [
987
+ 174,
988
+ 550,
989
+ 825,
990
+ 606
991
+ ],
992
+ "page_idx": 9
993
+ },
994
+ {
995
+ "type": "text",
996
+ "text": "Moreover, we find that when prosocial agents make use of the linguistic channel, the communication protocol differs within the community. We calculate the Spearman correlation $\\rho$ between bigram ranks of different pairs of agents, all of them with the same fixed agent A, and show the results in Table 6. Even though all pairs of agents share the same fixed agent A, different pairs of agents learn to use bigrams in a different way, resulting in relatively low correlations between -0.22 and 0.27. ",
997
+ "bbox": [
998
+ 174,
999
+ 613,
1000
+ 825,
1001
+ 684
1002
+ ],
1003
+ "page_idx": 9
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "7 DISCUSSION ",
1008
+ "text_level": 1,
1009
+ "bbox": [
1010
+ 176,
1011
+ 704,
1012
+ 310,
1013
+ 719
1014
+ ],
1015
+ "page_idx": 9
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "We showed that by communicating through a verifiable and binding communication channel, selfinterested agents can learn to negotiate fairly by reinforcement learning, using only task success as the reward signal. Moreover, cheap talk facilitated negotiation in prosocial but not in self-interested agents, corroborating theoretical results from the game theory literature (Crawford & Sobel, 1982). An interesting future direction of research would be to investigate whether cheap talk can be made to emerge out of self-interested agents interacting. Recent encouraging results by Crandall et al. (2018) show that communication can help agents cooperate. However, their signalling mechanism is heavily engineered: the speech acts are predefined and the consequences of the speech acts on the observed behaviour are deterministically hard-coded. It would be interesting to see whether a learning algorithm, such as Foerster et al. (2017), can discover the same result. ",
1020
+ "bbox": [
1021
+ 174,
1022
+ 734,
1023
+ 825,
1024
+ 875
1025
+ ],
1026
+ "page_idx": 9
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "A related paper from Lewis et al. (2017) takes a top-down approach to learning to negotiate by leveraging dialogue data. We demonstrated a bottom up alternative towards learning communicative behaviours directly from interaction with peers. This opens up the exciting possibility of learning domain-specific reasoning capabilities from interaction, while having a general-purpose language layer at the top producing natural language. ",
1031
+ "bbox": [
1032
+ 176,
1033
+ 882,
1034
+ 823,
1035
+ 924
1036
+ ],
1037
+ "page_idx": 9
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "",
1042
+ "bbox": [
1043
+ 173,
1044
+ 103,
1045
+ 823,
1046
+ 132
1047
+ ],
1048
+ "page_idx": 10
1049
+ },
1050
+ {
1051
+ "type": "text",
1052
+ "text": "ACKNOWLEDGEMENTS ",
1053
+ "text_level": 1,
1054
+ "bbox": [
1055
+ 176,
1056
+ 154,
1057
+ 367,
1058
+ 169
1059
+ ],
1060
+ "page_idx": 10
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "We would like to thank Mike Johanson for his insightful comments on an earlier version of this paper, as well as Karl Moritz Hermann and the rest of the DeepMind language team for many fruitful discussions over the course of the project. ",
1065
+ "bbox": [
1066
+ 174,
1067
+ 184,
1068
+ 825,
1069
+ 227
1070
+ ],
1071
+ "page_idx": 10
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "text": "REFERENCES ",
1076
+ "text_level": 1,
1077
+ "bbox": [
1078
+ 174,
1079
+ 248,
1080
+ 287,
1081
+ 263
1082
+ ],
1083
+ "page_idx": 10
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Trapit Bansal, Jakub Pachocki, Szymon Sidor, Ilya Sutskever, and Igor Mordatch. Emergent complexity via multi-agent competition. CoRR, abs/1710.03748, 2017. ",
1088
+ "bbox": [
1089
+ 173,
1090
+ 271,
1091
+ 823,
1092
+ 300
1093
+ ],
1094
+ "page_idx": 10
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "Ken Binmore, Ariel Rubinstein, and Asher Wolinsky. The nash bargaining solution in economic modelling. RAND Journal of Economics, 17(2):176–188, 1986. ",
1099
+ "bbox": [
1100
+ 173,
1101
+ 309,
1102
+ 823,
1103
+ 338
1104
+ ],
1105
+ "page_idx": 10
1106
+ },
1107
+ {
1108
+ "type": "text",
1109
+ "text": "L. Busoniu, R. Babuska, and B. De Schutter. A comprehensive survey of multiagent reinforcement learning. IEEE Transaction on Systems, Man, and Cybernetics, Part C: Applications and Reviews, 38(2):156–172, 2008. ",
1110
+ "bbox": [
1111
+ 173,
1112
+ 347,
1113
+ 826,
1114
+ 390
1115
+ ],
1116
+ "page_idx": 10
1117
+ },
1118
+ {
1119
+ "type": "text",
1120
+ "text": "Jacob W Crandall, Mayada Oudah, Fatimah Ishowo-Oloko, Sherief Abdallah, Jean-Franc¸ois Bonnefon, Manuel Cebrian, Azim Shariff, Michael A Goodrich, Iyad Rahwan, et al. Cooperating with machines. Nature communications, 9(1):233, 2018. ",
1121
+ "bbox": [
1122
+ 173,
1123
+ 400,
1124
+ 825,
1125
+ 443
1126
+ ],
1127
+ "page_idx": 10
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "text": "V.P. Crawford and J. Sobel. Strategic information transmission. Econometrica, 50(6):1431–1451, 1982. ",
1132
+ "bbox": [
1133
+ 168,
1134
+ 452,
1135
+ 825,
1136
+ 481
1137
+ ],
1138
+ "page_idx": 10
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "David DeVault, Johnathan Mell, and Jonathan Gratch. Toward natural turn-taking in a virtual human negotiation agent, 2015. URL https://www.aaai.org/ocs/index.php/SSS/ SSS15/paper/view/10335. ",
1143
+ "bbox": [
1144
+ 174,
1145
+ 491,
1146
+ 823,
1147
+ 534
1148
+ ],
1149
+ "page_idx": 10
1150
+ },
1151
+ {
1152
+ "type": "text",
1153
+ "text": "Katrina Evtimova, Andrew Drozdov, Douwe Kiela, and Kyunghyun Cho. Emergent language in a multi-modal, multi-step referential game. CoRR, abs/1705.10369, 2017. URL http://arxiv. org/abs/1705.10369. ",
1154
+ "bbox": [
1155
+ 173,
1156
+ 542,
1157
+ 825,
1158
+ 585
1159
+ ],
1160
+ "page_idx": 10
1161
+ },
1162
+ {
1163
+ "type": "text",
1164
+ "text": "J. Farrell and M. Rabin. Cheap talk. Journal of Economic Perspectives, 10(3):103–118, 1996. ",
1165
+ "bbox": [
1166
+ 166,
1167
+ 594,
1168
+ 789,
1169
+ 611
1170
+ ],
1171
+ "page_idx": 10
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "text": "Jakob N. Foerster, Yannis M. Assael, Nando de Freitas, and Shimon Whiteson. Learning to communicate with deep multi-agent reinforcement learning. In Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), 2016. ",
1176
+ "bbox": [
1177
+ 174,
1178
+ 619,
1179
+ 823,
1180
+ 662
1181
+ ],
1182
+ "page_idx": 10
1183
+ },
1184
+ {
1185
+ "type": "text",
1186
+ "text": "Jakob N. Foerster, Richard Y. Chen, Maruan Al-Shedivat, Shimon Whiteson, Pieter Abbeel, and Igor Mordatch. Learning with opponent-learning awareness. CoRR, abs/1709.04326, 2017. URL http://arxiv.org/abs/1709.04326. ",
1187
+ "bbox": [
1188
+ 173,
1189
+ 672,
1190
+ 825,
1191
+ 715
1192
+ ],
1193
+ "page_idx": 10
1194
+ },
1195
+ {
1196
+ "type": "text",
1197
+ "text": "D. Fudenberg and D. Levine. The Theory of Learning in Games. MIT Press, 1998. ",
1198
+ "bbox": [
1199
+ 173,
1200
+ 723,
1201
+ 717,
1202
+ 741
1203
+ ],
1204
+ "page_idx": 10
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "Claudia V. Goldman, Martin Allen, and Shlomo Zilberstein. Learning to communicate in a decentralized environment. Autonomous Agents and Multi-Agent Systems, 15(1):47–90, Aug 2007. ISSN 1573-7454. doi: 10.1007/s10458-006-0008-9. URL https://doi.org/10.1007/ s10458-006-0008-9. ",
1209
+ "bbox": [
1210
+ 173,
1211
+ 750,
1212
+ 825,
1213
+ 805
1214
+ ],
1215
+ "page_idx": 10
1216
+ },
1217
+ {
1218
+ "type": "text",
1219
+ "text": "Werner Guth, Rolf Schmittberger, and Bernd Schwarze. An experimental analysis of ultimatum bar- ¨ gaining. Journal of Economic Behavior & Organization, 3(4):367 – 388, 1982. ISSN 0167-2681. doi: https://doi.org/10.1016/0167-2681(82)90011-7. URL http://www.sciencedirect. com/science/article/pii/0167268182900117. ",
1220
+ "bbox": [
1221
+ 174,
1222
+ 815,
1223
+ 823,
1224
+ 872
1225
+ ],
1226
+ "page_idx": 10
1227
+ },
1228
+ {
1229
+ "type": "text",
1230
+ "text": "Serhii Havrylov and Ivan Titov. Emergence of language with multi-agent games: Learning to communicate with sequences of symbols. CoRR, abs/1705.11192, 2017. URL http://arxiv. org/abs/1705.11192. ",
1231
+ "bbox": [
1232
+ 174,
1233
+ 882,
1234
+ 821,
1235
+ 922
1236
+ ],
1237
+ "page_idx": 10
1238
+ },
1239
+ {
1240
+ "type": "text",
1241
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
1242
+ "bbox": [
1243
+ 173,
1244
+ 103,
1245
+ 823,
1246
+ 132
1247
+ ],
1248
+ "page_idx": 11
1249
+ },
1250
+ {
1251
+ "type": "text",
1252
+ "text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
1253
+ "bbox": [
1254
+ 174,
1255
+ 141,
1256
+ 823,
1257
+ 170
1258
+ ],
1259
+ "page_idx": 11
1260
+ },
1261
+ {
1262
+ "type": "text",
1263
+ "text": "M. Lanctot, Vinicius Zambaldi, Audrunas Gruslys, Angeliki Lazaridou, Karl Tuyls, Julien Perolat, David Silver, and Thore Graepel. A unified game-theoretic approach to multiagent reinforcement learning. In Thirty-First Annual Conference on Neural Information Processing Systems (NIPS 2017), 2017. To Appear. ",
1264
+ "bbox": [
1265
+ 173,
1266
+ 179,
1267
+ 826,
1268
+ 236
1269
+ ],
1270
+ "page_idx": 11
1271
+ },
1272
+ {
1273
+ "type": "text",
1274
+ "text": "Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. CoRR, abs/1612.07182, 2016. URL http://arxiv.org/ abs/1612.07182. ",
1275
+ "bbox": [
1276
+ 173,
1277
+ 244,
1278
+ 826,
1279
+ 287
1280
+ ],
1281
+ "page_idx": 11
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "text": "Joel Z. Leibo, Vinicius Zambaldi, Marc Lanctot, Janusz Marecki, and Thore Graepel. Multi-agent Reinforcement Learning in Sequential Social Dilemmas. In Proceedings of the 16th International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2017), Sao Paulo, Brazil, 2017. ",
1286
+ "bbox": [
1287
+ 173,
1288
+ 296,
1289
+ 825,
1290
+ 353
1291
+ ],
1292
+ "page_idx": 11
1293
+ },
1294
+ {
1295
+ "type": "text",
1296
+ "text": "David Lewis. Convention: A philosophical study. 1969. ",
1297
+ "bbox": [
1298
+ 173,
1299
+ 362,
1300
+ 542,
1301
+ 378
1302
+ ],
1303
+ "page_idx": 11
1304
+ },
1305
+ {
1306
+ "type": "text",
1307
+ "text": "Mike Lewis, Denis Yarats, Yann Dauphin, Devi Parikh, and Dhruv Batra. Deal or no deal? endto-end learning of negotiation dialogues. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 2433–2443. Association for Computational Linguistics, 2017. URL http://aclweb.org/anthology/D17-1258. ",
1308
+ "bbox": [
1309
+ 174,
1310
+ 387,
1311
+ 825,
1312
+ 444
1313
+ ],
1314
+ "page_idx": 11
1315
+ },
1316
+ {
1317
+ "type": "text",
1318
+ "text": "John Moody and Matthew Saffell. Learning to trade via direct reinforcement. IEEE transactions on neural Networks, 12(4):875–889, 2001. ",
1319
+ "bbox": [
1320
+ 168,
1321
+ 452,
1322
+ 823,
1323
+ 482
1324
+ ],
1325
+ "page_idx": 11
1326
+ },
1327
+ {
1328
+ "type": "text",
1329
+ "text": "Vinod Nair and Geoffrey E Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th international conference on machine learning (ICML-10), pp. 807–814, 2010. ",
1330
+ "bbox": [
1331
+ 174,
1332
+ 489,
1333
+ 823,
1334
+ 534
1335
+ ],
1336
+ "page_idx": 11
1337
+ },
1338
+ {
1339
+ "type": "text",
1340
+ "text": "J.F. Nash. Non-cooperative games. Annals of Mathematics, 54:286–295, 1951. ",
1341
+ "bbox": [
1342
+ 173,
1343
+ 541,
1344
+ 691,
1345
+ 558
1346
+ ],
1347
+ "page_idx": 11
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "text": "John F. Nash. Equilibrium points in $n$ -person games. Proc. of the National Academy of Sciences, 36:48–49, 1950a. ",
1352
+ "bbox": [
1353
+ 171,
1354
+ 566,
1355
+ 823,
1356
+ 595
1357
+ ],
1358
+ "page_idx": 11
1359
+ },
1360
+ {
1361
+ "type": "text",
1362
+ "text": "John F. Nash. The bargaining problem. Econometrica, 18(2):155–162, 1950b. ISSN 00129682, 14680262. URL http://www.jstor.org/stable/1907266. ",
1363
+ "bbox": [
1364
+ 171,
1365
+ 604,
1366
+ 823,
1367
+ 633
1368
+ ],
1369
+ "page_idx": 11
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "John Von Neumann and Oskar Morgenstern. Theory of Games and Economic Behavior. Princeton University Press, 1944. ",
1374
+ "bbox": [
1375
+ 169,
1376
+ 642,
1377
+ 823,
1378
+ 671
1379
+ ],
1380
+ "page_idx": 11
1381
+ },
1382
+ {
1383
+ "type": "text",
1384
+ "text": "Martin A. Nowak and David C. Krakauer. The evolution of language. Proceedings of the National Academy of Sciences, 96(14):8028–8033, 1999. doi: 10.1073/pnas.96.14.8028. URL http: //www.pnas.org/content/96/14/8028.abstract. ",
1385
+ "bbox": [
1386
+ 173,
1387
+ 680,
1388
+ 825,
1389
+ 723
1390
+ ],
1391
+ "page_idx": 11
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "text": "Liviu Panait and Sean Luke. Cooperative multi-agent learning: The state of the art. Autonomous Agents and Multi-Agent Systems, 11(3):387–434, 2005. ",
1396
+ "bbox": [
1397
+ 174,
1398
+ 732,
1399
+ 821,
1400
+ 762
1401
+ ],
1402
+ "page_idx": 11
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "H. Peters. Game Theory: A Multi-Leveled Approach. Springer-Verlag, Berlin-Heidelberg, 2008. ",
1407
+ "bbox": [
1408
+ 171,
1409
+ 770,
1410
+ 803,
1411
+ 786
1412
+ ],
1413
+ "page_idx": 11
1414
+ },
1415
+ {
1416
+ "type": "text",
1417
+ "text": "A. Peysakhovich and A. Lerer. Prosocial learning agents solve generalized Stag Hunts better than selfish ones. ArXiv e-prints, September 2017. ",
1418
+ "bbox": [
1419
+ 173,
1420
+ 795,
1421
+ 820,
1422
+ 824
1423
+ ],
1424
+ "page_idx": 11
1425
+ },
1426
+ {
1427
+ "type": "text",
1428
+ "text": "N. C. Rabinowitz, F. Perbet, H. F. Song, C. Zhang, S. M. A. Eslami, and M. Botvinick. Machine Theory of Mind. ArXiv e-prints, 2018. ",
1429
+ "bbox": [
1430
+ 173,
1431
+ 833,
1432
+ 823,
1433
+ 862
1434
+ ],
1435
+ "page_idx": 11
1436
+ },
1437
+ {
1438
+ "type": "text",
1439
+ "text": "A. J. Robson. Efficiency in evolutionary games: Darwin, nash, and the secret handshake. Journal of Theoretical Biology, 144(3):379–396, 1990. ",
1440
+ "bbox": [
1441
+ 173,
1442
+ 871,
1443
+ 820,
1444
+ 900
1445
+ ],
1446
+ "page_idx": 11
1447
+ },
1448
+ {
1449
+ "type": "text",
1450
+ "text": "Ariel Rubinstein. Perfect equilibrium in a bargaining model. Econometrica, 50(1):97–109, 1982. ",
1451
+ "bbox": [
1452
+ 169,
1453
+ 909,
1454
+ 808,
1455
+ 924
1456
+ ],
1457
+ "page_idx": 11
1458
+ },
1459
+ {
1460
+ "type": "text",
1461
+ "text": "Tuomas W. Sandholm and Robert H. Crites. Multiagent reinforcement learning in the iterated prisoner’s dilemma. Biosystems, 37(1–2):147–166, 1996. ",
1462
+ "bbox": [
1463
+ 171,
1464
+ 103,
1465
+ 823,
1466
+ 132
1467
+ ],
1468
+ "page_idx": 12
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "text": "T.C. Schelling. The Strategy of Conflict. Harvard University Press, 1960. ",
1473
+ "bbox": [
1474
+ 174,
1475
+ 140,
1476
+ 653,
1477
+ 156
1478
+ ],
1479
+ "page_idx": 12
1480
+ },
1481
+ {
1482
+ "type": "text",
1483
+ "text": "David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, Yutian Chen, Timothy Lillicrap, Fan Hui, Laurent Sifre, George van den Driessche, Thore Graepel, and Demis Hassabis. Mastering the game of go without human knowledge. Nature, 550:354–359, 2017. ",
1484
+ "bbox": [
1485
+ 173,
1486
+ 165,
1487
+ 826,
1488
+ 222
1489
+ ],
1490
+ "page_idx": 12
1491
+ },
1492
+ {
1493
+ "type": "text",
1494
+ "text": "S. J. Simon. Design for Bidding. Nicholson & Watson, 1949. ",
1495
+ "bbox": [
1496
+ 173,
1497
+ 231,
1498
+ 576,
1499
+ 246
1500
+ ],
1501
+ "page_idx": 12
1502
+ },
1503
+ {
1504
+ "type": "text",
1505
+ "text": "B. Skyrms. Signals, evolution and the explanatory power of transient information. Philosophy of Science, 69(3):407–428, 2002. ",
1506
+ "bbox": [
1507
+ 173,
1508
+ 253,
1509
+ 825,
1510
+ 284
1511
+ ],
1512
+ "page_idx": 12
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "text": "S. Sukhbaatar, A. Szlam, and R. Fergus. Learning multiagent communication with backpropagation. In Proceedings of the 30th Conference on Neural Information Processing Systems (NIPS 2016), 2016. ",
1517
+ "bbox": [
1518
+ 174,
1519
+ 291,
1520
+ 825,
1521
+ 334
1522
+ ],
1523
+ "page_idx": 12
1524
+ },
1525
+ {
1526
+ "type": "text",
1527
+ "text": "Karl Tuyls and Gerhard Weiss. Multiagent learning: Basics, challenges, and prospects. AI Magazine, 33(3):41–52, 2012. ",
1528
+ "bbox": [
1529
+ 173,
1530
+ 343,
1531
+ 823,
1532
+ 372
1533
+ ],
1534
+ "page_idx": 12
1535
+ },
1536
+ {
1537
+ "type": "text",
1538
+ "text": "Kyle Wagner, James A. Reggia, Juan Uriagereka, and Gerald S. Wilkinson. Progress in the simulation of emergent communication and language. Adaptive Behavior, 11(1):37–69, 2003. doi: 10. 1177/10597123030111003. URL https://doi.org/10.1177/10597123030111003. ",
1539
+ "bbox": [
1540
+ 173,
1541
+ 381,
1542
+ 825,
1543
+ 424
1544
+ ],
1545
+ "page_idx": 12
1546
+ },
1547
+ {
1548
+ "type": "text",
1549
+ "text": "Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn., 8(3-4):229–256, May 1992. ISSN 0885-6125. doi: 10.1007/ BF00992696. URL https://doi.org/10.1007/BF00992696. ",
1550
+ "bbox": [
1551
+ 174,
1552
+ 433,
1553
+ 825,
1554
+ 476
1555
+ ],
1556
+ "page_idx": 12
1557
+ },
1558
+ {
1559
+ "type": "text",
1560
+ "text": "Michael Wunder, Michael Littman, and Monica Babes. Classes of multiagent q-learning dynamics with $\\epsilon$ -greedy exploration. In Proceedings of the 27th International Conference on International Conference on Machine Learning, ICML’10, pp. 1167–1174, USA, 2010. Omnipress. ISBN 978- 1-60558-907-7. URL http://dl.acm.org/citation.cfm?id $=$ 3104322.3104470. ",
1561
+ "bbox": [
1562
+ 174,
1563
+ 484,
1564
+ 825,
1565
+ 541
1566
+ ],
1567
+ "page_idx": 12
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "Wako Yoshida, Ray J. Dolan, and Karl J. Friston. Game theory of mind. PLOS Computational Biology, 4(12):1–14, 12 2008. doi: 10.1371/journal.pcbi.1000254. URL https://doi.org/ 10.1371/journal.pcbi.1000254. ",
1572
+ "bbox": [
1573
+ 174,
1574
+ 549,
1575
+ 826,
1576
+ 593
1577
+ ],
1578
+ "page_idx": 12
1579
+ },
1580
+ {
1581
+ "type": "image",
1582
+ "img_path": "images/418c9f4828ae6a0beb60ecb00c68ebd99a6c3bbcd379aa63b3834726f66f8f57.jpg",
1583
+ "image_caption": [
1584
+ "Figure 5: a) Unigram statistics of symbol usage broken down by turn and by position within the utterance for selfish agents communicating via the linguistic channel. b) Bigram counts for selfish agents communicating via the linguistic channel, sorted by frequency. "
1585
+ ],
1586
+ "image_footnote": [],
1587
+ "bbox": [
1588
+ 174,
1589
+ 154,
1590
+ 825,
1591
+ 415
1592
+ ],
1593
+ "page_idx": 13
1594
+ },
1595
+ {
1596
+ "type": "image",
1597
+ "img_path": "images/f4ed06bb39797d0baa769d4d6258761decdb4762cc69c667efb71130fc79a81d.jpg",
1598
+ "image_caption": [
1599
+ "Figure 6: Bigram usage in all interaction pairs between a fixed prosocial agent A and a community of 5 prosocial agent Bs. This is the only case where the average joint optimality reward of the negotiating agents is higher than the no communication baseline. "
1600
+ ],
1601
+ "image_footnote": [],
1602
+ "bbox": [
1603
+ 174,
1604
+ 511,
1605
+ 818,
1606
+ 844
1607
+ ],
1608
+ "page_idx": 13
1609
+ },
1610
+ {
1611
+ "type": "table",
1612
+ "img_path": "images/c3b0c17eb9f1418deeec335936d63c39ae2fa88e8a6ded0b7b517a52e5e1e27a.jpg",
1613
+ "table_caption": [
1614
+ "Table 6: Correlation between bigram usage between the different responders in the community. "
1615
+ ],
1616
+ "table_footnote": [],
1617
+ "table_body": "<table><tr><td></td><td>Agent 2 ID 1</td><td>Agent 2 ID 2</td><td>Agent 2 ID 3</td><td>Agent 2 ID 4</td></tr><tr><td>Agent 2 ID 0</td><td>-0.118</td><td>0.132</td><td>0.101</td><td>0.057</td></tr><tr><td>Agent 2 ID 1</td><td></td><td>-0.019</td><td>-0.228</td><td>0.269</td></tr><tr><td>Agent 2 ID 2</td><td></td><td></td><td>0.178</td><td>-0.165</td></tr><tr><td>Agent 2 ID 3</td><td></td><td></td><td></td><td>-0.067</td></tr></table>",
1618
+ "bbox": [
1619
+ 254,
1620
+ 101,
1621
+ 743,
1622
+ 180
1623
+ ],
1624
+ "page_idx": 14
1625
+ },
1626
+ {
1627
+ "type": "table",
1628
+ "img_path": "images/a5824ffc147e6a501daf980da67ea1c03475e3f29a8b58fe7984554fbe18beea.jpg",
1629
+ "table_caption": [],
1630
+ "table_footnote": [],
1631
+ "table_body": "<table><tr><td colspan=\"2\">Agent sociality</td><td>Proposal</td><td>Linguistic</td><td>Both</td><td>None</td></tr><tr><td rowspan=\"2\">Self-interested</td><td rowspan=\"2\">Fraction of joint reward 25h&amp;75h percentiles</td><td>0.76± 0.27</td><td>0.74 ± 0.23</td><td>0.76±0.28</td><td>0.23 ± 0.06</td></tr><tr><td>[0.66,0.96]</td><td>[0.59, 0.96]</td><td>[0.68, 0.96]</td><td>[0.19,0.29]</td></tr><tr><td rowspan=\"2\">Prosocial</td><td>Turns taken Fraction of joint reward</td><td>9.99 ± 0.35</td><td>4.29 ± 2.13</td><td>10.0 ± 0.25</td><td>7.90 ± 3.21</td></tr><tr><td>25th &amp;75th percentiles</td><td>0.96 ± 0.07</td><td>0.95 ± 0.10</td><td>0.96 ± 0.07</td><td>0.85 ± 0.31</td></tr><tr><td rowspan=\"2\"></td><td>Turns taken</td><td>[0.95,1.0]</td><td>[0.91,1.0]</td><td>[0.94, 1.0]</td><td>[0.90, 1.0]</td></tr><tr><td></td><td>9.06 ± 2.50</td><td>4.56± 2.83</td><td>9.06 ± 2.41</td><td>3.30 ± 2.50</td></tr></table>",
1632
+ "bbox": [
1633
+ 178,
1634
+ 219,
1635
+ 821,
1636
+ 333
1637
+ ],
1638
+ "page_idx": 14
1639
+ },
1640
+ {
1641
+ "type": "text",
1642
+ "text": "Table 7: Joint reward success and average number of turns taken for paired agents negotiating when allowed the full 10 turns, varying the agent reward scheme and communication channel. The results are averaged across 20 seeds, with 128 games per seed. We also report the standard deviation as the $\\pm$ number and the quartiles. ",
1643
+ "bbox": [
1644
+ 173,
1645
+ 343,
1646
+ 825,
1647
+ 400
1648
+ ],
1649
+ "page_idx": 14
1650
+ },
1651
+ {
1652
+ "type": "text",
1653
+ "text": "B HYPERPARAMETER DETAILS ",
1654
+ "text_level": 1,
1655
+ "bbox": [
1656
+ 176,
1657
+ 424,
1658
+ 444,
1659
+ 440
1660
+ ],
1661
+ "page_idx": 14
1662
+ },
1663
+ {
1664
+ "type": "text",
1665
+ "text": "Embedding sizes, and all neural network hidden states, had dimension 100. We used the ADAM optimizer (Kingma & Ba, 2014), with default parameter settings, to optimize the parameters of each agent. Each agent had a separate optimizer. We used a separate value of $\\lambda$ , the entropy regularisation weight hyperparameter, for each policy. For $\\pi _ { t e r m }$ and $\\pi _ { p r o p }$ , $\\lambda = 0 . 0 5$ ; for $\\pi _ { u t t }$ , $\\lambda = 0 . 0 0 1$ . The symbol vocabulary size was 11, and the agents were allowed to generate utterances of up to length 6. The smoothing constant for the exponential moving average baseline was 0.7 (i.e. if the old baseline value was $b _ { o l d }$ , and the current reward is $R$ , then the new estimate of the baseline is $b _ { n e w } = 0 . 7 b _ { o l d } + 0 . 3 R )$ . ",
1666
+ "bbox": [
1667
+ 173,
1668
+ 455,
1669
+ 825,
1670
+ 568
1671
+ ],
1672
+ "page_idx": 14
1673
+ }
1674
+ ]
parse/train/Hk6WhagRW/Hk6WhagRW_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Hk6WhagRW/Hk6WhagRW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SJgf6Z-0W/SJgf6Z-0W.md ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PREDICTING MULTIPLE ACTIONS FOR STOCHASTIC CONTINUOUS CONTROL
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We introduce a new approach to estimate continuous actions using actor-critic algorithms for reinforcement learning problems. Policy gradient methods usually predict one continuous action estimate or parameters of a presumed distribution (most commonly Gaussian) for any given state which might not be optimal as it may not capture the complete description of the target distribution. Our approach instead predicts $M$ actions with the policy network (actor) and then uniformly sample one action during training as well as testing at each state. This allows the agent to learn a simple stochastic policy that has an easy to compute expected return. In all experiments, this facilitates better exploration of the state space during training and converges to a better policy.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Reinforcement learning is a traditional branch of machine learning which focuses on learning complex tasks by assigning rewards to agents that interact with their environment. It has recently gained momentum thanks to the combination of novel algorithms for continuous control with deep learning models, sometimes even matching human performance in tasks such as playing video games and manipulating objects Mnih et al. (2015); Silver et al. (2016). Recent methods for continuous control problems like Deep Deterministic Policy Gradient (DDPG) Lillicrap et al. (2016), Asynchronous Advantage Actor Critic (A3C) Mnih et al. (2016) use actor-critic architectures, where an action function is learned by mapping states to actions. DDPG works well on many tasks, but it does not model the uncertainty in actions as it produces a point estimate of the action distribution over states. The actor is forced to deterministically choose an action for every state. A3C and other stochastic policy gradient algorithms output distribution parameters (e.g. Gaussian distributions) instead of point estimate, which can be sampled for action values.
12
+
13
+ As a simple example where this is sub-optimal, consider the inverted pendulum task, where a pendulum is attached to a cart and the agent needs to control the one dimensional movement of the cart to balance the pendulum upside down. A deterministic agent chooses a single action for every state. This breaks the inherent symmetry of the task. When the cart in not moving and the pendulum is hanging down, two actions are equally promising: either moving left or right. The distribution parameter estimation (e.g. A3C) might work better in this case as there are only two good options, but in cases when there are more than two good actions to select, this will not be optimal. In our approach we allow the agent to suggest multiple actions, which enables it to resolve cases like this easily.
14
+
15
+ Further, we observe that a deterministic behavior of DDPG can lead to sub-optimal convergence during training. The main limitation is that, especially in the beginning of the learning procedure, the actor favors actions that lead to a good immediate reward but might end up being far from the globally optimal choice.
16
+
17
+ This work is based on the intuition that if the actor is allowed to suggest, at each time step, multiple actions rather than a single one, this can render the resulting policy non-deterministic, leading to a better exploration of the entire solution space as well as a final solution of potentially higher quality. This can also eliminate the external exploration mechanisms required during training e.g. OrnsteinUhlenbeck process noise Uhlenbeck & Ornstein (1930), parameter noise Plappert et al. (2017) or differential entropy of normal distribution.
18
+
19
+ Here, we introduce an algorithm, which we refer to as Multiple Action Policy Gradients (MAPG), that models a stochastic policy with several point estimates and allows to predict a pre-defined number $M$ of actions at each time step, extending any policy gradient algorithm with little overhead. We will demonstrate the working of this algorithm by adapting DDPG Lillicrap et al. (2016) to use MAPG.
20
+
21
+ Another benefit of the proposed method is that the variance of the predicted actions can give additional insights into the decision process during runtime. A low variance usually implies that the model only sees one way to act in a certain situation. A wider or even multi-modal distribution suggests that there exist several possibilities given the current state.
22
+
23
+ We evaluate the proposed method on six continuous control problems of the OpenAI Gym Brockman et al. (2016) as well as a deep driving scenario using the TORCS car simulator Wymann et al. (2014). For a fair evaluation we directly compare DDPG to our MAPG without changing hyper-parameters or modifying the training scheme. In all experiments, we show an improved performance using MAPG over DDPG. To verify if MAPG helps in better exploration during training, we also analyze MAPG under no external exploration policy.
24
+
25
+ # 2 RELATED WORK
26
+
27
+ There is currently a wide adoption of deep neural networks for reinforcement learning. Deep Q Networks (DQN) Mnih et al. (2015) directly learn the action-value function with a deep neural network. Although this method can handle very high dimensional inputs, such as images, it can only deal well with discrete and low dimensional action spaces. Guided Policy Search Levine & Koltun (2013) can exploit high and low dimensional state descriptions by concatenating the low dimensional state to a fully connected layer inside the network.
28
+
29
+ Recent methods for continuous control problems come in two flavours, vanilla policy gradient methods which directly optimize the policy and actor-critic methods which also approximate state-value function in addition to policy optimization. Trust Region Policy Optimization (TRPO) Schulman et al. (2015) and Proximal Policy Optimization Algorithms Schulman et al. (2017) can be used as vanilla policy gradient as well as actor-critic methods. Whereas, Deep Deterministic Policy Gradient (DDPG) Lillicrap et al. (2016) and Asynchronous Advantage Actor Critic (A3C) Mnih et al. (2016) use actor-critic architectures, where state-action function is learned to calculate policy gradients.
30
+
31
+ Stochastic Value Gradients (SVG) Heess et al. (2015), Generalized Advantage Estimation (GAE) Schulman et al. (2015), A3C, TRPO all use stochastic policy gradients and predict action probability distribution parameters. The action values are then sampled from the predicted distribution. A parametrized normal distribution is most commonly used as action distribution. This means that this formulation models a kind of action noise instead of the true action distribution. For example a distribution with two modes cannot be modeled with a Gaussian.
32
+
33
+ DDPG Lillicrap et al. (2016) which extends DPG Silver et al. (2014) uses deterministic policy gradients and achieves stability when using neural networks to learn the actor-critic functions. The limitation of DDPG is that it always gives a points which may not be desired in stochastic action problems.
34
+
35
+ Lazaric et al. (2007) estimate stochastic action values using a sequential Monte Carlo method (SMC). SMC has actor and critic models where the actor is represented by Monte Carlo sampling weights instead of a general function approximator like a neural network. SMC learning works well in small state space problems, but cannot be extended directly to high dimensional non-linear action space problems.
36
+
37
+ Similar to our idea of predicting multiple instead of one output, but originating from the domain of supervised learning, is Multiple Hypothesis Prediction Rupprecht et al. (2017), which in turn is closely related to Multiple Choice Learning Lee et al. (2016) and Lee et al. (2017). In this line of work, the model is trained to predict multiple possible answers for the given task. Specific care has to be taken since often in supervised datasets not all possible outcomes are labeled, this leading to loss functions that contain an arg min-like term and, as such, are hard to differentiate.
38
+
39
+ # 3 THE MULTIPLE ACTION POLICY GRADIENT ALGORITHM
40
+
41
+ In this section we will describe in detail how multiple action policy gradients can be derived and compare it to DDPG. We will then analyze the differences to understand the performance gain.
42
+
43
+ # 3.1 BACKGROUND
44
+
45
+ We investigate a typical reinforcement learning setup Sutton & Barto (1998) where an agent interacts with an environment $E$ . At discrete time steps $t$ , the agent observes the full state $s _ { t } \in \mathcal { S } \subset \mathbb { R } ^ { c }$ , and after taking action $a _ { t } \in \mathcal { A } \subset \mathbb { R } ^ { d }$ , it receives the reward $r _ { t } \in \mathbb { R }$ . We are interested in learning a policy $\pi : S { \mathcal { P } } ( A )$ , that produces a probability distribution over actions for each state. Similarly to other algorithms, we model the environment as a Markov Decision Process (MDP) with a probabilistic transition between states $p ( s _ { t + 1 } | s _ { t } , a _ { t } )$ and the rewards $r ( s _ { t } , a _ { t } )$ .
46
+
47
+ We associate a state with its current and (discounted with $\gamma \in [ 0 , 1 ]$ ) future rewards by using
48
+
49
+ $$
50
+ R _ { t } = \sum _ { i = 1 } ^ { T } \gamma ^ { i - t } r ( s _ { i } , a _ { i } ) .
51
+ $$
52
+
53
+ Since $\pi$ and $E$ are stochastic, it is more meaningful to investigate the expected reward instead. Thus, the agent tries to find a policy that maximizes the expected discounted reward from the starting state distribution $p ( s _ { 1 } )$ .
54
+
55
+ $$
56
+ J = \mathbb { E } _ { r _ { i } , s _ { i } \sim E , a _ { i } \sim \pi } ( R _ { 1 } )
57
+ $$
58
+
59
+ Here, it is useful to investigate the recursive Bellman equation that associates a value to a state-action pair:
60
+
61
+ $$
62
+ Q ^ { \pi } \big ( s _ { t } , a _ { t } \big ) = \mathbb { E } _ { r _ { t } , s _ { t + 1 } \sim E } \big [ r \big ( s _ { t } , a _ { t } \big ) + \gamma \mathbb { E } _ { a _ { t + 1 } \sim \pi } \big [ Q ^ { \pi } \big ( s _ { t + 1 } , a _ { t + 1 } \big ) \big ] \big ]
63
+ $$
64
+
65
+ Methods such as (D)DPG use a deterministic policy where each state is deterministically mapped to an action using a function $\mu : { \mathcal { S } } A$ which simplifies Equation 3 to
66
+
67
+ $$
68
+ Q ^ { \mu } ( s _ { t } , a _ { t } ) = \mathbb { E } _ { r _ { t } , s _ { t + 1 } \sim E } [ r ( s _ { t } , a _ { t } ) + \gamma Q ^ { \mu } ( s _ { t + 1 } , \mu ( s _ { t + 1 } ) ) ] .
69
+ $$
70
+
71
+ In Q-learning Watkins & Dayan (1992), $\mu$ selects the highest value action for the current state:
72
+
73
+ $$
74
+ \mu ( s _ { t } ) = \operatorname * { a r g m a x } _ { a _ { t } } ( Q ( s _ { t } , a _ { t } ) )
75
+ $$
76
+
77
+ The $Q$ value of an action is approximated by a critic network which estimates $Q ^ { \mu } ( s _ { t } , a _ { t } )$ for the action chosen by the actor network.
78
+
79
+ # 3.2 ALGORITHM
80
+
81
+ The key idea behind predicting multiple actions is that it is possible to learn a stochastic policy as long as the inner expectation remains tractable. Multiple action prediction achieves this by predicting a fixed number $M$ of actions $\rho : \mathcal { S } \mathcal { A } ^ { M }$ and uniformly sampling from them. The expected value is then the mean over all $M$ state-action pairs. The state-action value can then be defined as
82
+
83
+ $$
84
+ Q ^ { \rho } ( s _ { t } , a _ { t } ) = \mathbb { E } _ { r _ { t } , s _ { t + 1 } \sim E } \left[ r ( s _ { t } , a _ { t } ) + \gamma \frac { 1 } { M } \sum _ { m = 1 } ^ { M } Q ^ { \rho } ( s _ { t + 1 } , \rho _ { m } ( s _ { t + 1 } ) ) \right] .
85
+ $$
86
+
87
+ This is beneficial since we not only enable the agent to employ a stochastic policy when necessary, but we also approximate the action distribution of the policy with multiple samples instead of one.
88
+
89
+ There exists an intuitive proof that the outer expectation in Equation 6 will be maximal if and only if the inner $Q ^ { \rho }$ are all equal. The idea is based on the following argument: let us assume $\rho$ as an optimal policy maximizing Equation 2. Further, one of the $M$ actions $\rho _ { j } \big ( s _ { t + 1 } \big ) ,$ ) for a state $s _ { t + 1 }$ has a lower expected return than another action $k$ .
90
+
91
+ $$
92
+ Q ^ { \rho } ( s _ { t + 1 } , \rho _ { j } ( s _ { t + 1 } ) ) < Q ^ { \rho } ( s _ { t + 1 } , \rho _ { k } ( s _ { t + 1 } ) )
93
+ $$
94
+
95
+ Then there exists a policy $\rho ^ { * }$ that would score higher than $\rho$ that is exactly the same as rho exept that it predicts action $k$ instead of $j$ : $\rho _ { j } ^ { * } ( s _ { t + 1 } ) : = \bar { \rho _ { k } } ( s _ { t + 1 } )$ . However, this contradicts the assumption
96
+
97
+ # Algorithm 1 MAPG algorithm
98
+
99
+ <table><tr><td>Modify actor network μ(s|0μ) to output M actions, At = {p1(st),..., pM(st)}. Randomly initialize actor μ(s|θμ) and critic Q(s|0q) network weights. Initialize target actor μ&#x27; and critic Q&#x27; networks,0’μ ← 0μ and 0Q ←0Q. for episode = 1 to N do Initialize random process for exploration. Receive initial observation/state S1.</td></tr><tr><td>fort=1to Tdo Predict M action proposals At = {pi(st),...,ρm(st)}= μ&#x27;(st|0μ).</td></tr><tr><td>Uniformly sample an action j from At: α² = ρj(st) + Nt.</td></tr><tr><td>Execute action α and observe reward rt and state St+1·</td></tr><tr><td>Store transition (St,α²,rt, St+1) to replay buffer R.</td></tr><tr><td>Sample a random batch of size B from R. Set yi=ri+Q&#x27;(Si+1,μ&#x27;(si+1l0μ)|0Q).</td></tr><tr><td>Update critic by minimizing the loss,</td></tr><tr><td>L=B∑i(yi-Q(si,a|Q))²</td></tr><tr><td>Update all actor weights connected to αt .</td></tr><tr><td>VθuJ~B∑iVQ(s,a|0Q)ls=sia=a²Vθ-θ{1.M)+j μ(s|0)|si Update the target networks:</td></tr><tr><td>0μ←T0μ+(1-T)θμ</td></tr><tr><td>←T0Q+(1-T)Q end for end for</td></tr></table>
100
+
101
+ that we had learned an optimal policy beforehand. Thus in an optimal policy all $M$ action proposals will have the same expected return. More informal, this can also be seen as a derivation from the training procedure. If we always select a random action from the $M$ proposals, they should all be equally good since the actor cannot decide which action should be executed.
102
+
103
+ This result has several interesting implications. From the proof, it directly follows that it is possible - and sometimes necessary - that all proposed actions are identical. This is the case in situations where there is just one single right action to take. When the action proposals do not collapse into one, there are two possibilities: either it does not matter what action is currently performed, or all proposed actions lead to a desired outcome.
104
+
105
+ Naturally, the set of stochastic policies includes all deterministic policies, since a deterministic policy is a stochastic policy with a single action having probability density equal to one. This means that in theory we expect the multiple action version of a deterministic algorithm to perform better or equally well, since it could always learn a deterministic policy by predicting $M$ identical actions for every state.
106
+
107
+ Algorithm 1 outlines the MAPG technique. The main change is that the actor is modified to produce $M$ instead of one output. For every timestep one action $j$ is then selected. When updating the actor network, a gradient is only applied to the action (head) that was selected during sampling. Over time each head will be selected equally often, thus every head will be updated and learned during training.
108
+
109
+ # 4 EXPERIMENTS
110
+
111
+ In this section we will investigate and analyze the performance of MAPG in different aspects. First, we compare scores between DDPG, A3C and MAPG on six different tasks. Second, we analyze the influence of the number of actions on the performance by training agents with different $M$ on five tasks. Further, to understand the benefit of multiple action prediction, we observe the variance over actions of a trained agent: the goal is to analyze for which states the predicted actions greatly differ from each other and for which ones they collapse into a single choice instead. Finally, we compare the performance of DDPG and MAPG without any external noise for exploration during training.
112
+
113
+ Table 1: Tasks used for evaluation
114
+ Table 2: Average score $\pm 3 \sigma$ over 100 episodes for Mujoco tasks with different $M$ . For better readability we denote the highest mean score for each task in bold. Corresponding boxplots can be found in Figure 1a and 1b and the appendix.
115
+
116
+ <table><tr><td>TASK</td><td>ACTION DIMENSION</td><td>STATE DIMENSION</td><td>DESCRIPTION</td></tr><tr><td>PENDULUM</td><td>1</td><td>3</td><td>PENDULUM ON A CART.</td></tr><tr><td>HOPPER</td><td>3</td><td>11</td><td>ONELEGGED ROBOT.</td></tr><tr><td>WALKER2D</td><td>6</td><td>17</td><td>TWO DIMENSIONAL BIPEDAL ROBOT.</td></tr><tr><td>HUMANOID</td><td>17</td><td>376</td><td>THREE DIMENSIONAL BIPEDAL ROBOT.</td></tr><tr><td>HALFCHEETAH</td><td>6</td><td>17</td><td>TWO LEG ROBOT.</td></tr><tr><td>SWIMMER</td><td>2</td><td>6</td><td>THREE JOINT SWIMMING ROBOT.</td></tr><tr><td>TORCS</td><td>3</td><td>29</td><td>CONTROL CAR IN3D SIMULATION.</td></tr></table>
117
+
118
+ <table><tr><td>ENVIRONMENT</td><td>DDPG</td><td>A3C</td><td>M=10</td><td>M= 20</td><td>M=50</td></tr><tr><td>HOPPER-V1</td><td>603 ±76</td><td>532 ±105</td><td>824±94</td><td>923±90</td><td>732 ±34</td></tr><tr><td>WALKER2D-V1</td><td>960 ±72</td><td>764 ±112</td><td>1297 ± 70</td><td>1319 ± 50</td><td>1589 ± 45</td></tr><tr><td>HUMANOID-V1</td><td>1091 ± 65</td><td>281±40</td><td>1248 ±115</td><td>1112 ±75</td><td>1212 ±110</td></tr><tr><td>HALFCHEETAH-V1</td><td>4687 ±455</td><td>3803 ±125</td><td>6659 ± 570</td><td>4116± 85</td><td>4333 ± 70</td></tr><tr><td>SWIMMER-V1</td><td>38±7</td><td>33±10</td><td>51±6</td><td>41±4</td><td>40±2</td></tr></table>
119
+
120
+ # 4.1 SETUP
121
+
122
+ In all our experiments, we use five continuous control tasks from the Mujoco Simulator Todorov et al. (2012) and a driving task for The Open Racing Car Simulator (TORCS). A detailed description about the tasks is given in Table 1. We use the OpenAI Gym Brockman et al. (2016) and OpenAI baselines Hesse et al. (2017) for evaluating our experiments.
123
+
124
+ The base actor and critic networks are fixed in all experiments. Each network has two fully connected hidden layers with 64 units each. Each fully-connected layer is followed by a ReLU nonlinearity. The actor network takes the current observed state $s _ { t }$ as input and produces $M$ actions $a _ { t } ^ { ( m ) } \in [ - 1 , 1 ] ^ { d }$ by applying tanh. From $M$ actions $a _ { t } ^ { ( m ) }$ , a single action $a _ { t }$ is randomly chosen with equal probability. The critic uses the current state $s _ { t }$ and action $a _ { t }$ as input and outputs a scalar value ( $Q$ -value). In the critic network, the action value is concatenated with the output of the first layer followed by one hidden layer and an output layer with one unit.
125
+
126
+ The critic network is trained by minimizing the mean square loss between the calculated discounted reward and the computed $Q$ value. The actor network is trained by computing the policy gradient from the $Q$ -value of the chosen action. The network weights of the last layer are only updated for the selected action. Ornstein-Uhlenbeck process noise is added to the action values from the actor for exploration. The training is done for a total of two million steps in all tasks.
127
+
128
+ For A3C training, we use same actor-critic networks as for earlier experiment. The output of actor network is a mean vector $( \mu _ { a } )$ (one for each action value) and a scalar standard deviation $( \sigma ^ { 2 }$ , shared for all actions). The actions values are sampled from the normal distribution $( \mathcal { N } ( \mu _ { a } , \sigma ^ { 2 } ) )$ . We used differential entropy of normal distribution to encourage exploration with weight $1 0 ^ { - } 4$ . In our experiments, A3C performed poorly than DDPG in all tasks and was not able to learn a good policy for Humanoid task.
129
+
130
+ # 4.2 MUJOCO EXPERIMENTS
131
+
132
+ For more meaningful quantitative results, we report the average reward over 100 episodes with different values of $M$ for various tasks in 2. For all environments except HUMANOID we already score higher with $M = 5$ . The lower performance in the HUMANOID task might be explained by the drastically higher dimensionality of the world state in this task which makes it more difficult to observe.
133
+
134
+ The scores of policy based reinforcement learning algorithms can vary a lot depending on network hyper-parameters, reward function and codebase/framework as outlined in Henderson et al. (2017). To minimize the variation in score due to these factors, we fixed all parameters of different algorithms and only studied changes on score by varying $M$ . Our metric for performance in each task is average reward over 100 episodes by an agent trained for 2 million steps. This evaluation hinders actors with high $M$ since in every training step only a single out of the $M$ actions will be updated per state. Thus, in general actors with higher number of action proposals, will need a longer time to learn a meaningful distribution of action.
135
+
136
+ We show a plot for the scores in the HOPPER and WALKER2D environments in Figure 1a and 1b, where we can see that the overall score increases with $M$ .
137
+
138
+ ![](images/ffe57f760e0c5ecdb7ea599b0962f79cd49c64ec3736c8d18bb717038446a420.jpg)
139
+ Figure 1: Variation in score of Hopper and Walker2d with different values of $M$
140
+
141
+ In Figure 2, we studied the variance in action values for $M = 1 0$ during training together with the achieved reward. The standard deviation of actions generated by MAPG decreases with time. As the network converges to a good policy (increase in expected reward) the variation in action values is reduced. However there are some spikes in standard deviation even when network is converged to a better policy. It shows that there are situations in which the policy sees multiple good actions (with high $Q$ -value) which can exploited using MAPG.
142
+
143
+ # 4.3 VARIANCE ANALYSIS
144
+
145
+ We use the simple Pendulum environment to analyze the variance during one episode. The task is the typical inverted pendulum task, where a cart has to be moved such that it balances a pendulum in an inverted position. Figure 3 plots standard deviation and the angle of the pendulum. Some interesting relationships can be observed. The variance exhibits two strong spikes that coincide with an angle of 0 degrees. This indicates that the agent has learned that there are two ways it can swing up the pole: either by swinging it clockwise or counter clockwise. A deterministic agent would need to pick one over the other instead of deciding randomly. Further, once the target inverted pose (at 180 degrees) is reached the variance does not go down to 0. This means that for the agent a slight jitter seems to be the best way to keep the pendulum from gaining momentum in one or the other direction.
146
+
147
+ With this analysis we could show that a MAPG agent can learn meaningful policies. The variance over predicted actions can give additional insight into the learned policy and results in a more diverse agent that can for example swing up the pole in two different directions instead of picking one.
148
+
149
+ # 4.4 EFFECT ON EXPLORATION
150
+
151
+ Here, we study the effect of MAPG on exploration during training. We compare the performance of DDPG and MAPG during training with and without any external noise on Pendulum and HalfCheetah environments. Figure 4 shows the average reward during training with DDPG and MAPG $M = 1 0$ . The policy trained using MAPG converges to better average reward than DDPG in both cases. Moreover, the performance of MAPG without any external exploration is comparable to DDPG with added exploration noise. This means MAPG can explore the state space enough to find a good policy.
152
+
153
+ ![](images/a9d050997bbcb518de69f3dba1f71d448790a5383d4d0ada0e41aa1b314ad36a.jpg)
154
+ Figure 2: Standard deviation and reward with $M = 1 0$ for the Pendulum task during training.
155
+
156
+ ![](images/485c98f8b8e6c185987979292333c3f05ce8976314d05d00ad968a6e39eb0c28.jpg)
157
+ Figure 3: Standard deviation and angle during one episode of the Pendulum environment. An angle of $\pm 1 8 0$ is the target inverted pose. 0 is hanging downwards.
158
+
159
+ In the Half Cheetah environment we can see that using exploration creates a much bigger performance difference between DDPG and MAPG than without. The difference sets in after about 500 epochs. This is an indication that in the beginning of training the actions predicted by MAPG are similar to the one from DDPG. The noise later helps to pull the $M$ actions apart such that they find individual loss minima, leading to a more diverse policy with better reward.
160
+
161
+ # 4.5 TORCS
162
+
163
+ TORCS (The Open Racing Car Simulator) is an open source 3D car racing simulator. It provides an interface for agents to drive the cars. During training, the reward was set proportional to component of car velocity along direction of road $v * \cos ( \alpha )$ , where $\alpha$ is the angle between the velocity vector and the center line of the track. This reward encourages forward motion. The car’s sensor data (velocity, distance from road edges etc.) is used as input state and steer, brake, accelerate as actions at each time step.
164
+
165
+ ![](images/0ae2acc456a9194837f9a54b5a8e40a09a2f8f1e6309b5daa2bd63cfef746875.jpg)
166
+ Figure 4: Performance curves for two environments with and without external exploration noise on DDPG and MAPG: original DDPG with OU process noise (green), DDPG without any exploration noise (blue), MAPG $\mathbf { \Gamma } ( \mathbf { M } { = } 1 0$ ) with OU process noise (red) and MAPG $( \mathbf { M } { = } 1 0 _ { , }$ ) without OU process noise (orange).
167
+
168
+ In our experiments, MAPG with $M = 1 0$ was able to complete multiple laps of the track, whereas the DDPG based agent could not complete even one lap of track. The average distance traveled over 100 episodes by DDPG is 807 and 5882 (both in meters) for MAPG agent.
169
+
170
+ Similar to our other experiments we find that MAPG agents explore more possibilities due to their stochastic nature and can then learn more stable and better policies.
171
+
172
+ # 5 CONCLUSION
173
+
174
+ In this paper, we have proposed MAPG, a technique that leverages multiple action prediction to learn better policies in continuous control problems. The proposed method enables a better exploration of the state space and shows improved performance over DDPG. As indicated by exploration experiments, it can also be a used as a standalone exploration technique, although more work needs to be done in this direction. Last but not least, we conclude with interesting insights gained from the action variance. There are several interesting directions which we would like to investigate in the future. The number of actions $M$ is a hyper-parameter in our model that needs to be selected and seems to be task specific. In general, the idea of predicting multiple action proposals can be extended to other on- or off-policy algorithms, such as NAF Gu et al. (2016) or TRPO. Evaluating MA-NAF and MA-TRPO will enable studying the generality of the proposed approach.
175
+
176
+ # ACKNOWLEDGMENTS
177
+
178
+ Will be added after anonymous review.
179
+
180
+ # REFERENCES
181
+
182
+ Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016.
183
+
184
+ Shixiang Gu, Timothy P. Lillicrap, Ilya Sutskever, and Sergey Levine. Continuous deep q-learning with model-based acceleration. In Proc. International Conference on Machine Learning (ICML), 2016.
185
+
186
+ Nicolas Heess, Gregory Wayne, David Silver, Timothy P. Lillicrap, Tom Erez, and Yuval Tassa. Learning continuous control policies by stochastic value gradients. In Advances in Neural Information Processing Systems, pp. 2944–2952, 2015.
187
+
188
+ Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. arXiv preprint arXiv:1709.06560, 2017.
189
+
190
+ Christopher Hesse, Matthias Plappert, Alec Radford, John Schulman, Szymon Sidor, and Yuhuai Wu. Openai baselines. https://github.com/openai/baselines, 2017.
191
+
192
+ Alessandro Lazaric, Marcello Restelli, and Andrea Bonarini. Reinforcement learning in continuous action spaces through sequential monte carlo methods. In Advances in Neural Information Processing Systems, 2007.
193
+
194
+ Kimin Lee, Changho Hwang, KyoungSoo Park, and Jinwoo Shin. Confident multiple choice learning. arXiv preprint arXiv:1706.03475, 2017.
195
+
196
+ Stefan Lee, Senthil Purushwalkam Shiva Prakash, Michael Cogswell, Viresh Ranjan, David Crandall, and Dhruv Batra. Stochastic multiple choice learning for training diverse deep ensembles. In Advances in Neural Information Processing Systems, pp. 2119–2127, 2016.
197
+
198
+ Sergey Levine and Vladlen Koltun. Guided policy search. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 1–9, 2013.
199
+
200
+ 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. In Proc. International Conference on Learning Representations (ICLR), 2016.
201
+
202
+ 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–533, 2015.
203
+
204
+ Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The $3 3 r d$ International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1928–1937. PMLR, 20–22 Jun 2016.
205
+
206
+ 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. CoRR, abs/1706.01905, 2017.
207
+
208
+ Christian Rupprecht, Iro Laina, Robert DiPietro, Maximilian Baust, Federico Tombari, Nassir Navab, and Gregory D. Hager. Learning in an uncertain world: Representing ambiguity through multiple hypotheses. International Conference on Computer Vision (ICCV 2017), Venice, Italy, October 2017, 2017.
209
+
210
+ John Schulman, Sergey Levine, Philipp Moritz, Michael Jordan, and Pieter Abbeel. Trust region policy optimization. In Proceedings of the 32Nd International Conference on International Conference on Machine Learning - Volume 37, ICML’15, pp. 1889–1897. JMLR.org, 2015.
211
+
212
+ John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv, abs/1707.06347, 2017.
213
+
214
+ David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 387–395, 2014.
215
+
216
+ David Silver, Aja Huang, Chris J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587):484–489, jan 2016.
217
+
218
+ Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998.
219
+
220
+ Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In Intelligent Robots and Systems (IROS), 2012 IEEE/RSJ International Conference on, pp. 5026– 5033. IEEE, 2012.
221
+
222
+ George E Uhlenbeck and Leonard S Ornstein. On the theory of the brownian motion. In Physical review, volume 36.5, pp. 823, 1930.
223
+
224
+ Christopher JCH Watkins and Peter Dayan. Q-learning. Machine learning, 8(3-4):279–292, 1992.
225
+
226
+ Bernhard Wymann, Eric Espie, Christophe Guionneau, Christos Dimitrakakis, R ´ emi Coulom, and ´ Andrew Sumner. TORCS, The Open Racing Car Simulator. http://www.torcs.org, 2014.
227
+
228
+ # APPENDIX
229
+
230
+ In the following we display the box plots similar to Figure 1a and 1b for the remaining tasks.
231
+
232
+ ![](images/2e8b8a6804b5105cd7b02ee0884259f7fa00f5f30052aefa2717e6865f3763eb.jpg)
233
+ Figure 5: Variation in score of (from top left) Swimmer, Humanoid and HalfCheetah with different values of $M$ .
parse/train/SJgf6Z-0W/SJgf6Z-0W_content_list.json ADDED
@@ -0,0 +1,1232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "PREDICTING MULTIPLE ACTIONS FOR STOCHASTIC CONTINUOUS CONTROL ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 236,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We introduce a new approach to estimate continuous actions using actor-critic algorithms for reinforcement learning problems. Policy gradient methods usually predict one continuous action estimate or parameters of a presumed distribution (most commonly Gaussian) for any given state which might not be optimal as it may not capture the complete description of the target distribution. Our approach instead predicts $M$ actions with the policy network (actor) and then uniformly sample one action during training as well as testing at each state. This allows the agent to learn a simple stochastic policy that has an easy to compute expected return. In all experiments, this facilitates better exploration of the state space during training and converges to a better policy. ",
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 764,
44
+ 407
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 438,
55
+ 336,
56
+ 454
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Reinforcement learning is a traditional branch of machine learning which focuses on learning complex tasks by assigning rewards to agents that interact with their environment. It has recently gained momentum thanks to the combination of novel algorithms for continuous control with deep learning models, sometimes even matching human performance in tasks such as playing video games and manipulating objects Mnih et al. (2015); Silver et al. (2016). Recent methods for continuous control problems like Deep Deterministic Policy Gradient (DDPG) Lillicrap et al. (2016), Asynchronous Advantage Actor Critic (A3C) Mnih et al. (2016) use actor-critic architectures, where an action function is learned by mapping states to actions. DDPG works well on many tasks, but it does not model the uncertainty in actions as it produces a point estimate of the action distribution over states. The actor is forced to deterministically choose an action for every state. A3C and other stochastic policy gradient algorithms output distribution parameters (e.g. Gaussian distributions) instead of point estimate, which can be sampled for action values. ",
63
+ "bbox": [
64
+ 174,
65
+ 470,
66
+ 825,
67
+ 637
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "As a simple example where this is sub-optimal, consider the inverted pendulum task, where a pendulum is attached to a cart and the agent needs to control the one dimensional movement of the cart to balance the pendulum upside down. A deterministic agent chooses a single action for every state. This breaks the inherent symmetry of the task. When the cart in not moving and the pendulum is hanging down, two actions are equally promising: either moving left or right. The distribution parameter estimation (e.g. A3C) might work better in this case as there are only two good options, but in cases when there are more than two good actions to select, this will not be optimal. In our approach we allow the agent to suggest multiple actions, which enables it to resolve cases like this easily. ",
74
+ "bbox": [
75
+ 174,
76
+ 645,
77
+ 825,
78
+ 770
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "Further, we observe that a deterministic behavior of DDPG can lead to sub-optimal convergence during training. The main limitation is that, especially in the beginning of the learning procedure, the actor favors actions that lead to a good immediate reward but might end up being far from the globally optimal choice. ",
85
+ "bbox": [
86
+ 174,
87
+ 776,
88
+ 823,
89
+ 833
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "This work is based on the intuition that if the actor is allowed to suggest, at each time step, multiple actions rather than a single one, this can render the resulting policy non-deterministic, leading to a better exploration of the entire solution space as well as a final solution of potentially higher quality. This can also eliminate the external exploration mechanisms required during training e.g. OrnsteinUhlenbeck process noise Uhlenbeck & Ornstein (1930), parameter noise Plappert et al. (2017) or differential entropy of normal distribution. ",
96
+ "bbox": [
97
+ 174,
98
+ 840,
99
+ 825,
100
+ 922
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "Here, we introduce an algorithm, which we refer to as Multiple Action Policy Gradients (MAPG), that models a stochastic policy with several point estimates and allows to predict a pre-defined number $M$ of actions at each time step, extending any policy gradient algorithm with little overhead. We will demonstrate the working of this algorithm by adapting DDPG Lillicrap et al. (2016) to use MAPG. ",
107
+ "bbox": [
108
+ 174,
109
+ 103,
110
+ 825,
111
+ 172
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Another benefit of the proposed method is that the variance of the predicted actions can give additional insights into the decision process during runtime. A low variance usually implies that the model only sees one way to act in a certain situation. A wider or even multi-modal distribution suggests that there exist several possibilities given the current state. ",
118
+ "bbox": [
119
+ 174,
120
+ 180,
121
+ 823,
122
+ 236
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "We evaluate the proposed method on six continuous control problems of the OpenAI Gym Brockman et al. (2016) as well as a deep driving scenario using the TORCS car simulator Wymann et al. (2014). For a fair evaluation we directly compare DDPG to our MAPG without changing hyper-parameters or modifying the training scheme. In all experiments, we show an improved performance using MAPG over DDPG. To verify if MAPG helps in better exploration during training, we also analyze MAPG under no external exploration policy. ",
129
+ "bbox": [
130
+ 174,
131
+ 243,
132
+ 825,
133
+ 327
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 RELATED WORK ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 176,
143
+ 369,
144
+ 343,
145
+ 386
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "There is currently a wide adoption of deep neural networks for reinforcement learning. Deep Q Networks (DQN) Mnih et al. (2015) directly learn the action-value function with a deep neural network. Although this method can handle very high dimensional inputs, such as images, it can only deal well with discrete and low dimensional action spaces. Guided Policy Search Levine & Koltun (2013) can exploit high and low dimensional state descriptions by concatenating the low dimensional state to a fully connected layer inside the network. ",
152
+ "bbox": [
153
+ 174,
154
+ 415,
155
+ 825,
156
+ 498
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Recent methods for continuous control problems come in two flavours, vanilla policy gradient methods which directly optimize the policy and actor-critic methods which also approximate state-value function in addition to policy optimization. Trust Region Policy Optimization (TRPO) Schulman et al. (2015) and Proximal Policy Optimization Algorithms Schulman et al. (2017) can be used as vanilla policy gradient as well as actor-critic methods. Whereas, Deep Deterministic Policy Gradient (DDPG) Lillicrap et al. (2016) and Asynchronous Advantage Actor Critic (A3C) Mnih et al. (2016) use actor-critic architectures, where state-action function is learned to calculate policy gradients. ",
163
+ "bbox": [
164
+ 174,
165
+ 506,
166
+ 825,
167
+ 603
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Stochastic Value Gradients (SVG) Heess et al. (2015), Generalized Advantage Estimation (GAE) Schulman et al. (2015), A3C, TRPO all use stochastic policy gradients and predict action probability distribution parameters. The action values are then sampled from the predicted distribution. A parametrized normal distribution is most commonly used as action distribution. This means that this formulation models a kind of action noise instead of the true action distribution. For example a distribution with two modes cannot be modeled with a Gaussian. ",
174
+ "bbox": [
175
+ 174,
176
+ 609,
177
+ 823,
178
+ 693
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "DDPG Lillicrap et al. (2016) which extends DPG Silver et al. (2014) uses deterministic policy gradients and achieves stability when using neural networks to learn the actor-critic functions. The limitation of DDPG is that it always gives a points which may not be desired in stochastic action problems. ",
185
+ "bbox": [
186
+ 174,
187
+ 700,
188
+ 823,
189
+ 756
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "Lazaric et al. (2007) estimate stochastic action values using a sequential Monte Carlo method (SMC). SMC has actor and critic models where the actor is represented by Monte Carlo sampling weights instead of a general function approximator like a neural network. SMC learning works well in small state space problems, but cannot be extended directly to high dimensional non-linear action space problems. ",
196
+ "bbox": [
197
+ 174,
198
+ 763,
199
+ 823,
200
+ 833
201
+ ],
202
+ "page_idx": 1
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "Similar to our idea of predicting multiple instead of one output, but originating from the domain of supervised learning, is Multiple Hypothesis Prediction Rupprecht et al. (2017), which in turn is closely related to Multiple Choice Learning Lee et al. (2016) and Lee et al. (2017). In this line of work, the model is trained to predict multiple possible answers for the given task. Specific care has to be taken since often in supervised datasets not all possible outcomes are labeled, this leading to loss functions that contain an arg min-like term and, as such, are hard to differentiate. ",
207
+ "bbox": [
208
+ 174,
209
+ 840,
210
+ 825,
211
+ 924
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "3 THE MULTIPLE ACTION POLICY GRADIENT ALGORITHM ",
218
+ "text_level": 1,
219
+ "bbox": [
220
+ 173,
221
+ 101,
222
+ 679,
223
+ 118
224
+ ],
225
+ "page_idx": 2
226
+ },
227
+ {
228
+ "type": "text",
229
+ "text": "In this section we will describe in detail how multiple action policy gradients can be derived and compare it to DDPG. We will then analyze the differences to understand the performance gain. ",
230
+ "bbox": [
231
+ 173,
232
+ 132,
233
+ 823,
234
+ 162
235
+ ],
236
+ "page_idx": 2
237
+ },
238
+ {
239
+ "type": "text",
240
+ "text": "3.1 BACKGROUND ",
241
+ "text_level": 1,
242
+ "bbox": [
243
+ 174,
244
+ 178,
245
+ 316,
246
+ 193
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "We investigate a typical reinforcement learning setup Sutton & Barto (1998) where an agent interacts with an environment $E$ . At discrete time steps $t$ , the agent observes the full state $s _ { t } \\in \\mathcal { S } \\subset \\mathbb { R } ^ { c }$ , and after taking action $a _ { t } \\in \\mathcal { A } \\subset \\mathbb { R } ^ { d }$ , it receives the reward $r _ { t } \\in \\mathbb { R }$ . We are interested in learning a policy $\\pi : S { \\mathcal { P } } ( A )$ , that produces a probability distribution over actions for each state. Similarly to other algorithms, we model the environment as a Markov Decision Process (MDP) with a probabilistic transition between states $p ( s _ { t + 1 } | s _ { t } , a _ { t } )$ and the rewards $r ( s _ { t } , a _ { t } )$ . ",
253
+ "bbox": [
254
+ 173,
255
+ 204,
256
+ 825,
257
+ 290
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "We associate a state with its current and (discounted with $\\gamma \\in [ 0 , 1 ]$ ) future rewards by using ",
264
+ "bbox": [
265
+ 169,
266
+ 294,
267
+ 779,
268
+ 310
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "equation",
274
+ "img_path": "images/8cd028423ca08942013563765d4023a34b0d09ea4f2aed94cfe8d5c5fd87e002.jpg",
275
+ "text": "$$\nR _ { t } = \\sum _ { i = 1 } ^ { T } \\gamma ^ { i - t } r ( s _ { i } , a _ { i } ) .\n$$",
276
+ "text_format": "latex",
277
+ "bbox": [
278
+ 419,
279
+ 315,
280
+ 578,
281
+ 359
282
+ ],
283
+ "page_idx": 2
284
+ },
285
+ {
286
+ "type": "text",
287
+ "text": "Since $\\pi$ and $E$ are stochastic, it is more meaningful to investigate the expected reward instead. Thus, the agent tries to find a policy that maximizes the expected discounted reward from the starting state distribution $p ( s _ { 1 } )$ . ",
288
+ "bbox": [
289
+ 173,
290
+ 363,
291
+ 825,
292
+ 406
293
+ ],
294
+ "page_idx": 2
295
+ },
296
+ {
297
+ "type": "equation",
298
+ "img_path": "images/91c2eafb54d106487bbc08f30d5dea6f4c2c1ba4946af120e56ad3130f02078e.jpg",
299
+ "text": "$$\nJ = \\mathbb { E } _ { r _ { i } , s _ { i } \\sim E , a _ { i } \\sim \\pi } ( R _ { 1 } )\n$$",
300
+ "text_format": "latex",
301
+ "bbox": [
302
+ 418,
303
+ 405,
304
+ 580,
305
+ 421
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "Here, it is useful to investigate the recursive Bellman equation that associates a value to a state-action pair: ",
312
+ "bbox": [
313
+ 171,
314
+ 431,
315
+ 823,
316
+ 458
317
+ ],
318
+ "page_idx": 2
319
+ },
320
+ {
321
+ "type": "equation",
322
+ "img_path": "images/7e0420204d6cb00f21dc31142d39c20e7e3692fc215e7be49c96d5b29c409df5.jpg",
323
+ "text": "$$\nQ ^ { \\pi } \\big ( s _ { t } , a _ { t } \\big ) = \\mathbb { E } _ { r _ { t } , s _ { t + 1 } \\sim E } \\big [ r \\big ( s _ { t } , a _ { t } \\big ) + \\gamma \\mathbb { E } _ { a _ { t + 1 } \\sim \\pi } \\big [ Q ^ { \\pi } \\big ( s _ { t + 1 } , a _ { t + 1 } \\big ) \\big ] \\big ]\n$$",
324
+ "text_format": "latex",
325
+ "bbox": [
326
+ 284,
327
+ 458,
328
+ 714,
329
+ 476
330
+ ],
331
+ "page_idx": 2
332
+ },
333
+ {
334
+ "type": "text",
335
+ "text": "Methods such as (D)DPG use a deterministic policy where each state is deterministically mapped to an action using a function $\\mu : { \\mathcal { S } } A$ which simplifies Equation 3 to ",
336
+ "bbox": [
337
+ 174,
338
+ 477,
339
+ 823,
340
+ 506
341
+ ],
342
+ "page_idx": 2
343
+ },
344
+ {
345
+ "type": "equation",
346
+ "img_path": "images/e0b9338234880e4f454a62e36a4751d970f25f4f041330f3949af813a674a693.jpg",
347
+ "text": "$$\nQ ^ { \\mu } ( s _ { t } , a _ { t } ) = \\mathbb { E } _ { r _ { t } , s _ { t + 1 } \\sim E } [ r ( s _ { t } , a _ { t } ) + \\gamma Q ^ { \\mu } ( s _ { t + 1 } , \\mu ( s _ { t + 1 } ) ) ] .\n$$",
348
+ "text_format": "latex",
349
+ "bbox": [
350
+ 303,
351
+ 511,
352
+ 694,
353
+ 530
354
+ ],
355
+ "page_idx": 2
356
+ },
357
+ {
358
+ "type": "text",
359
+ "text": "In Q-learning Watkins & Dayan (1992), $\\mu$ selects the highest value action for the current state: ",
360
+ "bbox": [
361
+ 171,
362
+ 541,
363
+ 794,
364
+ 556
365
+ ],
366
+ "page_idx": 2
367
+ },
368
+ {
369
+ "type": "equation",
370
+ "img_path": "images/25ccc3fbbe5690701257458bd0f7269aacae9b822e05abc336b964b83dc62731.jpg",
371
+ "text": "$$\n\\mu ( s _ { t } ) = \\operatorname * { a r g m a x } _ { a _ { t } } ( Q ( s _ { t } , a _ { t } ) )\n$$",
372
+ "text_format": "latex",
373
+ "bbox": [
374
+ 403,
375
+ 561,
376
+ 594,
377
+ 588
378
+ ],
379
+ "page_idx": 2
380
+ },
381
+ {
382
+ "type": "text",
383
+ "text": "The $Q$ value of an action is approximated by a critic network which estimates $Q ^ { \\mu } ( s _ { t } , a _ { t } )$ for the action chosen by the actor network. ",
384
+ "bbox": [
385
+ 174,
386
+ 594,
387
+ 825,
388
+ 622
389
+ ],
390
+ "page_idx": 2
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "3.2 ALGORITHM ",
395
+ "text_level": 1,
396
+ "bbox": [
397
+ 174,
398
+ 640,
399
+ 303,
400
+ 654
401
+ ],
402
+ "page_idx": 2
403
+ },
404
+ {
405
+ "type": "text",
406
+ "text": "The key idea behind predicting multiple actions is that it is possible to learn a stochastic policy as long as the inner expectation remains tractable. Multiple action prediction achieves this by predicting a fixed number $M$ of actions $\\rho : \\mathcal { S } \\mathcal { A } ^ { M }$ and uniformly sampling from them. The expected value is then the mean over all $M$ state-action pairs. The state-action value can then be defined as ",
407
+ "bbox": [
408
+ 173,
409
+ 665,
410
+ 825,
411
+ 722
412
+ ],
413
+ "page_idx": 2
414
+ },
415
+ {
416
+ "type": "equation",
417
+ "img_path": "images/18aa48def13c1aa381a6d2941d24f96568db8651351eb3dc57c97f8afb5e2a0f.jpg",
418
+ "text": "$$\nQ ^ { \\rho } ( s _ { t } , a _ { t } ) = \\mathbb { E } _ { r _ { t } , s _ { t + 1 } \\sim E } \\left[ r ( s _ { t } , a _ { t } ) + \\gamma \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } Q ^ { \\rho } ( s _ { t + 1 } , \\rho _ { m } ( s _ { t + 1 } ) ) \\right] .\n$$",
419
+ "text_format": "latex",
420
+ "bbox": [
421
+ 264,
422
+ 727,
423
+ 733,
424
+ 771
425
+ ],
426
+ "page_idx": 2
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "This is beneficial since we not only enable the agent to employ a stochastic policy when necessary, but we also approximate the action distribution of the policy with multiple samples instead of one. ",
431
+ "bbox": [
432
+ 174,
433
+ 775,
434
+ 825,
435
+ 804
436
+ ],
437
+ "page_idx": 2
438
+ },
439
+ {
440
+ "type": "text",
441
+ "text": "There exists an intuitive proof that the outer expectation in Equation 6 will be maximal if and only if the inner $Q ^ { \\rho }$ are all equal. The idea is based on the following argument: let us assume $\\rho$ as an optimal policy maximizing Equation 2. Further, one of the $M$ actions $\\rho _ { j } \\big ( s _ { t + 1 } \\big ) ,$ ) for a state $s _ { t + 1 }$ has a lower expected return than another action $k$ . ",
442
+ "bbox": [
443
+ 173,
444
+ 810,
445
+ 825,
446
+ 866
447
+ ],
448
+ "page_idx": 2
449
+ },
450
+ {
451
+ "type": "equation",
452
+ "img_path": "images/e2ae844e55a5dad7af50940c76f8ca0130ab2dc265bbc4ecd3790667e50553f1.jpg",
453
+ "text": "$$\nQ ^ { \\rho } ( s _ { t + 1 } , \\rho _ { j } ( s _ { t + 1 } ) ) < Q ^ { \\rho } ( s _ { t + 1 } , \\rho _ { k } ( s _ { t + 1 } ) )\n$$",
454
+ "text_format": "latex",
455
+ "bbox": [
456
+ 356,
457
+ 872,
458
+ 640,
459
+ 890
460
+ ],
461
+ "page_idx": 2
462
+ },
463
+ {
464
+ "type": "text",
465
+ "text": "Then there exists a policy $\\rho ^ { * }$ that would score higher than $\\rho$ that is exactly the same as rho exept that it predicts action $k$ instead of $j$ : $\\rho _ { j } ^ { * } ( s _ { t + 1 } ) : = \\bar { \\rho _ { k } } ( s _ { t + 1 } )$ . However, this contradicts the assumption ",
466
+ "bbox": [
467
+ 173,
468
+ 895,
469
+ 828,
470
+ 926
471
+ ],
472
+ "page_idx": 2
473
+ },
474
+ {
475
+ "type": "text",
476
+ "text": "Algorithm 1 MAPG algorithm ",
477
+ "text_level": 1,
478
+ "bbox": [
479
+ 174,
480
+ 103,
481
+ 380,
482
+ 117
483
+ ],
484
+ "page_idx": 3
485
+ },
486
+ {
487
+ "type": "table",
488
+ "img_path": "images/de52201c521f20ceaf7be056562f9b4ec1672a4f7305029c008a7421c19f5cd4.jpg",
489
+ "table_caption": [],
490
+ "table_footnote": [],
491
+ "table_body": "<table><tr><td>Modify actor network μ(s|0μ) to output M actions, At = {p1(st),..., pM(st)}. Randomly initialize actor μ(s|θμ) and critic Q(s|0q) network weights. Initialize target actor μ&#x27; and critic Q&#x27; networks,0’μ ← 0μ and 0Q ←0Q. for episode = 1 to N do Initialize random process for exploration. Receive initial observation/state S1.</td></tr><tr><td>fort=1to Tdo Predict M action proposals At = {pi(st),...,ρm(st)}= μ&#x27;(st|0μ).</td></tr><tr><td>Uniformly sample an action j from At: α² = ρj(st) + Nt.</td></tr><tr><td>Execute action α and observe reward rt and state St+1·</td></tr><tr><td>Store transition (St,α²,rt, St+1) to replay buffer R.</td></tr><tr><td>Sample a random batch of size B from R. Set yi=ri+Q&#x27;(Si+1,μ&#x27;(si+1l0μ)|0Q).</td></tr><tr><td>Update critic by minimizing the loss,</td></tr><tr><td>L=B∑i(yi-Q(si,a|Q))²</td></tr><tr><td>Update all actor weights connected to αt .</td></tr><tr><td>VθuJ~B∑iVQ(s,a|0Q)ls=sia=a²Vθ-θ{1.M)+j μ(s|0)|si Update the target networks:</td></tr><tr><td>0μ←T0μ+(1-T)θμ</td></tr><tr><td>←T0Q+(1-T)Q end for end for</td></tr></table>",
492
+ "bbox": [
493
+ 178,
494
+ 119,
495
+ 784,
496
+ 454
497
+ ],
498
+ "page_idx": 3
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "that we had learned an optimal policy beforehand. Thus in an optimal policy all $M$ action proposals will have the same expected return. More informal, this can also be seen as a derivation from the training procedure. If we always select a random action from the $M$ proposals, they should all be equally good since the actor cannot decide which action should be executed. ",
503
+ "bbox": [
504
+ 174,
505
+ 482,
506
+ 823,
507
+ 537
508
+ ],
509
+ "page_idx": 3
510
+ },
511
+ {
512
+ "type": "text",
513
+ "text": "This result has several interesting implications. From the proof, it directly follows that it is possible - and sometimes necessary - that all proposed actions are identical. This is the case in situations where there is just one single right action to take. When the action proposals do not collapse into one, there are two possibilities: either it does not matter what action is currently performed, or all proposed actions lead to a desired outcome. ",
514
+ "bbox": [
515
+ 174,
516
+ 545,
517
+ 825,
518
+ 614
519
+ ],
520
+ "page_idx": 3
521
+ },
522
+ {
523
+ "type": "text",
524
+ "text": "Naturally, the set of stochastic policies includes all deterministic policies, since a deterministic policy is a stochastic policy with a single action having probability density equal to one. This means that in theory we expect the multiple action version of a deterministic algorithm to perform better or equally well, since it could always learn a deterministic policy by predicting $M$ identical actions for every state. ",
525
+ "bbox": [
526
+ 174,
527
+ 621,
528
+ 825,
529
+ 691
530
+ ],
531
+ "page_idx": 3
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "Algorithm 1 outlines the MAPG technique. The main change is that the actor is modified to produce $M$ instead of one output. For every timestep one action $j$ is then selected. When updating the actor network, a gradient is only applied to the action (head) that was selected during sampling. Over time each head will be selected equally often, thus every head will be updated and learned during training. ",
536
+ "bbox": [
537
+ 174,
538
+ 698,
539
+ 825,
540
+ 768
541
+ ],
542
+ "page_idx": 3
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "4 EXPERIMENTS ",
547
+ "text_level": 1,
548
+ "bbox": [
549
+ 176,
550
+ 792,
551
+ 326,
552
+ 808
553
+ ],
554
+ "page_idx": 3
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "In this section we will investigate and analyze the performance of MAPG in different aspects. First, we compare scores between DDPG, A3C and MAPG on six different tasks. Second, we analyze the influence of the number of actions on the performance by training agents with different $M$ on five tasks. Further, to understand the benefit of multiple action prediction, we observe the variance over actions of a trained agent: the goal is to analyze for which states the predicted actions greatly differ from each other and for which ones they collapse into a single choice instead. Finally, we compare the performance of DDPG and MAPG without any external noise for exploration during training. ",
559
+ "bbox": [
560
+ 174,
561
+ 825,
562
+ 825,
563
+ 924
564
+ ],
565
+ "page_idx": 3
566
+ },
567
+ {
568
+ "type": "table",
569
+ "img_path": "images/65c5bb58f4ebb3c41b6cc2d4acfc4c26c3779ea64fb7250fd6c053573e7a2e61.jpg",
570
+ "table_caption": [
571
+ "Table 1: Tasks used for evaluation ",
572
+ "Table 2: Average score $\\pm 3 \\sigma$ over 100 episodes for Mujoco tasks with different $M$ . For better readability we denote the highest mean score for each task in bold. Corresponding boxplots can be found in Figure 1a and 1b and the appendix. "
573
+ ],
574
+ "table_footnote": [],
575
+ "table_body": "<table><tr><td>TASK</td><td>ACTION DIMENSION</td><td>STATE DIMENSION</td><td>DESCRIPTION</td></tr><tr><td>PENDULUM</td><td>1</td><td>3</td><td>PENDULUM ON A CART.</td></tr><tr><td>HOPPER</td><td>3</td><td>11</td><td>ONELEGGED ROBOT.</td></tr><tr><td>WALKER2D</td><td>6</td><td>17</td><td>TWO DIMENSIONAL BIPEDAL ROBOT.</td></tr><tr><td>HUMANOID</td><td>17</td><td>376</td><td>THREE DIMENSIONAL BIPEDAL ROBOT.</td></tr><tr><td>HALFCHEETAH</td><td>6</td><td>17</td><td>TWO LEG ROBOT.</td></tr><tr><td>SWIMMER</td><td>2</td><td>6</td><td>THREE JOINT SWIMMING ROBOT.</td></tr><tr><td>TORCS</td><td>3</td><td>29</td><td>CONTROL CAR IN3D SIMULATION.</td></tr></table>",
576
+ "bbox": [
577
+ 174,
578
+ 140,
579
+ 834,
580
+ 250
581
+ ],
582
+ "page_idx": 4
583
+ },
584
+ {
585
+ "type": "table",
586
+ "img_path": "images/a21bd86b045b0dcc5b5dd011b727f4ebdfacfe3f3982d1a5a614721eb1eaddd1.jpg",
587
+ "table_caption": [],
588
+ "table_footnote": [],
589
+ "table_body": "<table><tr><td>ENVIRONMENT</td><td>DDPG</td><td>A3C</td><td>M=10</td><td>M= 20</td><td>M=50</td></tr><tr><td>HOPPER-V1</td><td>603 ±76</td><td>532 ±105</td><td>824±94</td><td>923±90</td><td>732 ±34</td></tr><tr><td>WALKER2D-V1</td><td>960 ±72</td><td>764 ±112</td><td>1297 ± 70</td><td>1319 ± 50</td><td>1589 ± 45</td></tr><tr><td>HUMANOID-V1</td><td>1091 ± 65</td><td>281±40</td><td>1248 ±115</td><td>1112 ±75</td><td>1212 ±110</td></tr><tr><td>HALFCHEETAH-V1</td><td>4687 ±455</td><td>3803 ±125</td><td>6659 ± 570</td><td>4116± 85</td><td>4333 ± 70</td></tr><tr><td>SWIMMER-V1</td><td>38±7</td><td>33±10</td><td>51±6</td><td>41±4</td><td>40±2</td></tr></table>",
590
+ "bbox": [
591
+ 192,
592
+ 332,
593
+ 802,
594
+ 416
595
+ ],
596
+ "page_idx": 4
597
+ },
598
+ {
599
+ "type": "text",
600
+ "text": "4.1 SETUP ",
601
+ "text_level": 1,
602
+ "bbox": [
603
+ 174,
604
+ 444,
605
+ 261,
606
+ 458
607
+ ],
608
+ "page_idx": 4
609
+ },
610
+ {
611
+ "type": "text",
612
+ "text": "In all our experiments, we use five continuous control tasks from the Mujoco Simulator Todorov et al. (2012) and a driving task for The Open Racing Car Simulator (TORCS). A detailed description about the tasks is given in Table 1. We use the OpenAI Gym Brockman et al. (2016) and OpenAI baselines Hesse et al. (2017) for evaluating our experiments. ",
613
+ "bbox": [
614
+ 174,
615
+ 472,
616
+ 825,
617
+ 527
618
+ ],
619
+ "page_idx": 4
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "The base actor and critic networks are fixed in all experiments. Each network has two fully connected hidden layers with 64 units each. Each fully-connected layer is followed by a ReLU nonlinearity. The actor network takes the current observed state $s _ { t }$ as input and produces $M$ actions $a _ { t } ^ { ( m ) } \\in [ - 1 , 1 ] ^ { d }$ by applying tanh. From $M$ actions $a _ { t } ^ { ( m ) }$ , a single action $a _ { t }$ is randomly chosen with equal probability. The critic uses the current state $s _ { t }$ and action $a _ { t }$ as input and outputs a scalar value ( $Q$ -value). In the critic network, the action value is concatenated with the output of the first layer followed by one hidden layer and an output layer with one unit. ",
624
+ "bbox": [
625
+ 174,
626
+ 535,
627
+ 825,
628
+ 636
629
+ ],
630
+ "page_idx": 4
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "The critic network is trained by minimizing the mean square loss between the calculated discounted reward and the computed $Q$ value. The actor network is trained by computing the policy gradient from the $Q$ -value of the chosen action. The network weights of the last layer are only updated for the selected action. Ornstein-Uhlenbeck process noise is added to the action values from the actor for exploration. The training is done for a total of two million steps in all tasks. ",
635
+ "bbox": [
636
+ 174,
637
+ 642,
638
+ 825,
639
+ 713
640
+ ],
641
+ "page_idx": 4
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "For A3C training, we use same actor-critic networks as for earlier experiment. The output of actor network is a mean vector $( \\mu _ { a } )$ (one for each action value) and a scalar standard deviation $( \\sigma ^ { 2 }$ , shared for all actions). The actions values are sampled from the normal distribution $( \\mathcal { N } ( \\mu _ { a } , \\sigma ^ { 2 } ) )$ . We used differential entropy of normal distribution to encourage exploration with weight $1 0 ^ { - } 4$ . In our experiments, A3C performed poorly than DDPG in all tasks and was not able to learn a good policy for Humanoid task. ",
646
+ "bbox": [
647
+ 173,
648
+ 719,
649
+ 825,
650
+ 803
651
+ ],
652
+ "page_idx": 4
653
+ },
654
+ {
655
+ "type": "text",
656
+ "text": "4.2 MUJOCO EXPERIMENTS ",
657
+ "text_level": 1,
658
+ "bbox": [
659
+ 174,
660
+ 825,
661
+ 382,
662
+ 840
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "For more meaningful quantitative results, we report the average reward over 100 episodes with different values of $M$ for various tasks in 2. For all environments except HUMANOID we already score higher with $M = 5$ . The lower performance in the HUMANOID task might be explained by the drastically higher dimensionality of the world state in this task which makes it more difficult to observe. ",
669
+ "bbox": [
670
+ 174,
671
+ 854,
672
+ 823,
673
+ 922
674
+ ],
675
+ "page_idx": 4
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "The scores of policy based reinforcement learning algorithms can vary a lot depending on network hyper-parameters, reward function and codebase/framework as outlined in Henderson et al. (2017). To minimize the variation in score due to these factors, we fixed all parameters of different algorithms and only studied changes on score by varying $M$ . Our metric for performance in each task is average reward over 100 episodes by an agent trained for 2 million steps. This evaluation hinders actors with high $M$ since in every training step only a single out of the $M$ actions will be updated per state. Thus, in general actors with higher number of action proposals, will need a longer time to learn a meaningful distribution of action. ",
680
+ "bbox": [
681
+ 174,
682
+ 103,
683
+ 825,
684
+ 214
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "We show a plot for the scores in the HOPPER and WALKER2D environments in Figure 1a and 1b, where we can see that the overall score increases with $M$ . ",
691
+ "bbox": [
692
+ 174,
693
+ 222,
694
+ 823,
695
+ 251
696
+ ],
697
+ "page_idx": 5
698
+ },
699
+ {
700
+ "type": "image",
701
+ "img_path": "images/ffe57f760e0c5ecdb7ea599b0962f79cd49c64ec3736c8d18bb717038446a420.jpg",
702
+ "image_caption": [
703
+ "Figure 1: Variation in score of Hopper and Walker2d with different values of $M$ "
704
+ ],
705
+ "image_footnote": [],
706
+ "bbox": [
707
+ 202,
708
+ 277,
709
+ 784,
710
+ 409
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "In Figure 2, we studied the variance in action values for $M = 1 0$ during training together with the achieved reward. The standard deviation of actions generated by MAPG decreases with time. As the network converges to a good policy (increase in expected reward) the variation in action values is reduced. However there are some spikes in standard deviation even when network is converged to a better policy. It shows that there are situations in which the policy sees multiple good actions (with high $Q$ -value) which can exploited using MAPG. ",
717
+ "bbox": [
718
+ 174,
719
+ 455,
720
+ 825,
721
+ 540
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "text",
727
+ "text": "4.3 VARIANCE ANALYSIS ",
728
+ "text_level": 1,
729
+ "bbox": [
730
+ 176,
731
+ 560,
732
+ 364,
733
+ 575
734
+ ],
735
+ "page_idx": 5
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "We use the simple Pendulum environment to analyze the variance during one episode. The task is the typical inverted pendulum task, where a cart has to be moved such that it balances a pendulum in an inverted position. Figure 3 plots standard deviation and the angle of the pendulum. Some interesting relationships can be observed. The variance exhibits two strong spikes that coincide with an angle of 0 degrees. This indicates that the agent has learned that there are two ways it can swing up the pole: either by swinging it clockwise or counter clockwise. A deterministic agent would need to pick one over the other instead of deciding randomly. Further, once the target inverted pose (at 180 degrees) is reached the variance does not go down to 0. This means that for the agent a slight jitter seems to be the best way to keep the pendulum from gaining momentum in one or the other direction. ",
740
+ "bbox": [
741
+ 174,
742
+ 588,
743
+ 825,
744
+ 727
745
+ ],
746
+ "page_idx": 5
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "With this analysis we could show that a MAPG agent can learn meaningful policies. The variance over predicted actions can give additional insight into the learned policy and results in a more diverse agent that can for example swing up the pole in two different directions instead of picking one. ",
751
+ "bbox": [
752
+ 176,
753
+ 734,
754
+ 825,
755
+ 776
756
+ ],
757
+ "page_idx": 5
758
+ },
759
+ {
760
+ "type": "text",
761
+ "text": "4.4 EFFECT ON EXPLORATION ",
762
+ "text_level": 1,
763
+ "bbox": [
764
+ 176,
765
+ 799,
766
+ 397,
767
+ 813
768
+ ],
769
+ "page_idx": 5
770
+ },
771
+ {
772
+ "type": "text",
773
+ "text": "Here, we study the effect of MAPG on exploration during training. We compare the performance of DDPG and MAPG during training with and without any external noise on Pendulum and HalfCheetah environments. Figure 4 shows the average reward during training with DDPG and MAPG $M = 1 0$ . The policy trained using MAPG converges to better average reward than DDPG in both cases. Moreover, the performance of MAPG without any external exploration is comparable to DDPG with added exploration noise. This means MAPG can explore the state space enough to find a good policy. ",
774
+ "bbox": [
775
+ 174,
776
+ 825,
777
+ 825,
778
+ 924
779
+ ],
780
+ "page_idx": 5
781
+ },
782
+ {
783
+ "type": "image",
784
+ "img_path": "images/a9d050997bbcb518de69f3dba1f71d448790a5383d4d0ada0e41aa1b314ad36a.jpg",
785
+ "image_caption": [
786
+ "Figure 2: Standard deviation and reward with $M = 1 0$ for the Pendulum task during training. "
787
+ ],
788
+ "image_footnote": [],
789
+ "bbox": [
790
+ 209,
791
+ 103,
792
+ 787,
793
+ 361
794
+ ],
795
+ "page_idx": 6
796
+ },
797
+ {
798
+ "type": "image",
799
+ "img_path": "images/485c98f8b8e6c185987979292333c3f05ce8976314d05d00ad968a6e39eb0c28.jpg",
800
+ "image_caption": [
801
+ "Figure 3: Standard deviation and angle during one episode of the Pendulum environment. An angle of $\\pm 1 8 0$ is the target inverted pose. 0 is hanging downwards. "
802
+ ],
803
+ "image_footnote": [],
804
+ "bbox": [
805
+ 210,
806
+ 429,
807
+ 797,
808
+ 648
809
+ ],
810
+ "page_idx": 6
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "In the Half Cheetah environment we can see that using exploration creates a much bigger performance difference between DDPG and MAPG than without. The difference sets in after about 500 epochs. This is an indication that in the beginning of training the actions predicted by MAPG are similar to the one from DDPG. The noise later helps to pull the $M$ actions apart such that they find individual loss minima, leading to a more diverse policy with better reward. ",
815
+ "bbox": [
816
+ 174,
817
+ 724,
818
+ 825,
819
+ 794
820
+ ],
821
+ "page_idx": 6
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "4.5 TORCS ",
826
+ "text_level": 1,
827
+ "bbox": [
828
+ 174,
829
+ 813,
830
+ 271,
831
+ 827
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "TORCS (The Open Racing Car Simulator) is an open source 3D car racing simulator. It provides an interface for agents to drive the cars. During training, the reward was set proportional to component of car velocity along direction of road $v * \\cos ( \\alpha )$ , where $\\alpha$ is the angle between the velocity vector and the center line of the track. This reward encourages forward motion. The car’s sensor data (velocity, distance from road edges etc.) is used as input state and steer, brake, accelerate as actions at each time step. ",
838
+ "bbox": [
839
+ 174,
840
+ 840,
841
+ 825,
842
+ 924
843
+ ],
844
+ "page_idx": 6
845
+ },
846
+ {
847
+ "type": "image",
848
+ "img_path": "images/0ae2acc456a9194837f9a54b5a8e40a09a2f8f1e6309b5daa2bd63cfef746875.jpg",
849
+ "image_caption": [
850
+ "Figure 4: Performance curves for two environments with and without external exploration noise on DDPG and MAPG: original DDPG with OU process noise (green), DDPG without any exploration noise (blue), MAPG $\\mathbf { \\Gamma } ( \\mathbf { M } { = } 1 0$ ) with OU process noise (red) and MAPG $( \\mathbf { M } { = } 1 0 _ { , }$ ) without OU process noise (orange). "
851
+ ],
852
+ "image_footnote": [],
853
+ "bbox": [
854
+ 204,
855
+ 119,
856
+ 767,
857
+ 291
858
+ ],
859
+ "page_idx": 7
860
+ },
861
+ {
862
+ "type": "text",
863
+ "text": "In our experiments, MAPG with $M = 1 0$ was able to complete multiple laps of the track, whereas the DDPG based agent could not complete even one lap of track. The average distance traveled over 100 episodes by DDPG is 807 and 5882 (both in meters) for MAPG agent. ",
864
+ "bbox": [
865
+ 176,
866
+ 382,
867
+ 825,
868
+ 425
869
+ ],
870
+ "page_idx": 7
871
+ },
872
+ {
873
+ "type": "text",
874
+ "text": "Similar to our other experiments we find that MAPG agents explore more possibilities due to their stochastic nature and can then learn more stable and better policies. ",
875
+ "bbox": [
876
+ 174,
877
+ 431,
878
+ 820,
879
+ 460
880
+ ],
881
+ "page_idx": 7
882
+ },
883
+ {
884
+ "type": "text",
885
+ "text": "5 CONCLUSION ",
886
+ "text_level": 1,
887
+ "bbox": [
888
+ 176,
889
+ 479,
890
+ 318,
891
+ 496
892
+ ],
893
+ "page_idx": 7
894
+ },
895
+ {
896
+ "type": "text",
897
+ "text": "In this paper, we have proposed MAPG, a technique that leverages multiple action prediction to learn better policies in continuous control problems. The proposed method enables a better exploration of the state space and shows improved performance over DDPG. As indicated by exploration experiments, it can also be a used as a standalone exploration technique, although more work needs to be done in this direction. Last but not least, we conclude with interesting insights gained from the action variance. There are several interesting directions which we would like to investigate in the future. The number of actions $M$ is a hyper-parameter in our model that needs to be selected and seems to be task specific. In general, the idea of predicting multiple action proposals can be extended to other on- or off-policy algorithms, such as NAF Gu et al. (2016) or TRPO. Evaluating MA-NAF and MA-TRPO will enable studying the generality of the proposed approach. ",
898
+ "bbox": [
899
+ 173,
900
+ 511,
901
+ 825,
902
+ 650
903
+ ],
904
+ "page_idx": 7
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "ACKNOWLEDGMENTS ",
909
+ "text_level": 1,
910
+ "bbox": [
911
+ 176,
912
+ 671,
913
+ 356,
914
+ 685
915
+ ],
916
+ "page_idx": 7
917
+ },
918
+ {
919
+ "type": "text",
920
+ "text": "Will be added after anonymous review. ",
921
+ "bbox": [
922
+ 176,
923
+ 700,
924
+ 429,
925
+ 715
926
+ ],
927
+ "page_idx": 7
928
+ },
929
+ {
930
+ "type": "text",
931
+ "text": "REFERENCES ",
932
+ "text_level": 1,
933
+ "bbox": [
934
+ 176,
935
+ 736,
936
+ 285,
937
+ 751
938
+ ],
939
+ "page_idx": 7
940
+ },
941
+ {
942
+ "type": "text",
943
+ "text": "Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016. ",
944
+ "bbox": [
945
+ 174,
946
+ 758,
947
+ 823,
948
+ 786
949
+ ],
950
+ "page_idx": 7
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "Shixiang Gu, Timothy P. Lillicrap, Ilya Sutskever, and Sergey Levine. Continuous deep q-learning with model-based acceleration. In Proc. International Conference on Machine Learning (ICML), 2016. ",
955
+ "bbox": [
956
+ 174,
957
+ 795,
958
+ 823,
959
+ 837
960
+ ],
961
+ "page_idx": 7
962
+ },
963
+ {
964
+ "type": "text",
965
+ "text": "Nicolas Heess, Gregory Wayne, David Silver, Timothy P. Lillicrap, Tom Erez, and Yuval Tassa. Learning continuous control policies by stochastic value gradients. In Advances in Neural Information Processing Systems, pp. 2944–2952, 2015. ",
966
+ "bbox": [
967
+ 174,
968
+ 844,
969
+ 821,
970
+ 887
971
+ ],
972
+ "page_idx": 7
973
+ },
974
+ {
975
+ "type": "text",
976
+ "text": "Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. arXiv preprint arXiv:1709.06560, 2017. ",
977
+ "bbox": [
978
+ 176,
979
+ 895,
980
+ 820,
981
+ 924
982
+ ],
983
+ "page_idx": 7
984
+ },
985
+ {
986
+ "type": "text",
987
+ "text": "Christopher Hesse, Matthias Plappert, Alec Radford, John Schulman, Szymon Sidor, and Yuhuai Wu. Openai baselines. https://github.com/openai/baselines, 2017. ",
988
+ "bbox": [
989
+ 173,
990
+ 103,
991
+ 823,
992
+ 132
993
+ ],
994
+ "page_idx": 8
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "Alessandro Lazaric, Marcello Restelli, and Andrea Bonarini. Reinforcement learning in continuous action spaces through sequential monte carlo methods. In Advances in Neural Information Processing Systems, 2007. ",
999
+ "bbox": [
1000
+ 173,
1001
+ 143,
1002
+ 823,
1003
+ 185
1004
+ ],
1005
+ "page_idx": 8
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "Kimin Lee, Changho Hwang, KyoungSoo Park, and Jinwoo Shin. Confident multiple choice learning. arXiv preprint arXiv:1706.03475, 2017. ",
1010
+ "bbox": [
1011
+ 173,
1012
+ 195,
1013
+ 820,
1014
+ 226
1015
+ ],
1016
+ "page_idx": 8
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "Stefan Lee, Senthil Purushwalkam Shiva Prakash, Michael Cogswell, Viresh Ranjan, David Crandall, and Dhruv Batra. Stochastic multiple choice learning for training diverse deep ensembles. In Advances in Neural Information Processing Systems, pp. 2119–2127, 2016. ",
1021
+ "bbox": [
1022
+ 173,
1023
+ 236,
1024
+ 825,
1025
+ 280
1026
+ ],
1027
+ "page_idx": 8
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "text": "Sergey Levine and Vladlen Koltun. Guided policy search. In Proceedings of the 30th International Conference on Machine Learning (ICML-13), pp. 1–9, 2013. ",
1032
+ "bbox": [
1033
+ 171,
1034
+ 290,
1035
+ 823,
1036
+ 319
1037
+ ],
1038
+ "page_idx": 8
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "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. In Proc. International Conference on Learning Representations (ICLR), 2016. ",
1043
+ "bbox": [
1044
+ 176,
1045
+ 329,
1046
+ 823,
1047
+ 372
1048
+ ],
1049
+ "page_idx": 8
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "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–533, 2015. ",
1054
+ "bbox": [
1055
+ 173,
1056
+ 382,
1057
+ 825,
1058
+ 454
1059
+ ],
1060
+ "page_idx": 8
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In Maria Florina Balcan and Kilian Q. Weinberger (eds.), Proceedings of The $3 3 r d$ International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 1928–1937. PMLR, 20–22 Jun 2016. ",
1065
+ "bbox": [
1066
+ 174,
1067
+ 464,
1068
+ 825,
1069
+ 535
1070
+ ],
1071
+ "page_idx": 8
1072
+ },
1073
+ {
1074
+ "type": "text",
1075
+ "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. CoRR, abs/1706.01905, 2017. ",
1076
+ "bbox": [
1077
+ 173,
1078
+ 546,
1079
+ 825,
1080
+ 588
1081
+ ],
1082
+ "page_idx": 8
1083
+ },
1084
+ {
1085
+ "type": "text",
1086
+ "text": "Christian Rupprecht, Iro Laina, Robert DiPietro, Maximilian Baust, Federico Tombari, Nassir Navab, and Gregory D. Hager. Learning in an uncertain world: Representing ambiguity through multiple hypotheses. International Conference on Computer Vision (ICCV 2017), Venice, Italy, October 2017, 2017. ",
1087
+ "bbox": [
1088
+ 173,
1089
+ 599,
1090
+ 825,
1091
+ 656
1092
+ ],
1093
+ "page_idx": 8
1094
+ },
1095
+ {
1096
+ "type": "text",
1097
+ "text": "John Schulman, Sergey Levine, Philipp Moritz, Michael Jordan, and Pieter Abbeel. Trust region policy optimization. In Proceedings of the 32Nd International Conference on International Conference on Machine Learning - Volume 37, ICML’15, pp. 1889–1897. JMLR.org, 2015. ",
1098
+ "bbox": [
1099
+ 173,
1100
+ 666,
1101
+ 823,
1102
+ 710
1103
+ ],
1104
+ "page_idx": 8
1105
+ },
1106
+ {
1107
+ "type": "text",
1108
+ "text": "John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv, abs/1707.06347, 2017. ",
1109
+ "bbox": [
1110
+ 171,
1111
+ 719,
1112
+ 821,
1113
+ 750
1114
+ ],
1115
+ "page_idx": 8
1116
+ },
1117
+ {
1118
+ "type": "text",
1119
+ "text": "David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. In Proceedings of the 31st International Conference on Machine Learning (ICML-14), pp. 387–395, 2014. ",
1120
+ "bbox": [
1121
+ 174,
1122
+ 760,
1123
+ 825,
1124
+ 803
1125
+ ],
1126
+ "page_idx": 8
1127
+ },
1128
+ {
1129
+ "type": "text",
1130
+ "text": "David Silver, Aja Huang, Chris J. Maddison, Arthur Guez, Laurent Sifre, George van den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, Sander Dieleman, Dominik Grewe, John Nham, Nal Kalchbrenner, Ilya Sutskever, Timothy Lillicrap, Madeleine Leach, Koray Kavukcuoglu, Thore Graepel, and Demis Hassabis. Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587):484–489, jan 2016. ",
1131
+ "bbox": [
1132
+ 174,
1133
+ 814,
1134
+ 825,
1135
+ 883
1136
+ ],
1137
+ "page_idx": 8
1138
+ },
1139
+ {
1140
+ "type": "text",
1141
+ "text": "Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998. ",
1142
+ "bbox": [
1143
+ 173,
1144
+ 895,
1145
+ 820,
1146
+ 924
1147
+ ],
1148
+ "page_idx": 8
1149
+ },
1150
+ {
1151
+ "type": "text",
1152
+ "text": "Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In Intelligent Robots and Systems (IROS), 2012 IEEE/RSJ International Conference on, pp. 5026– 5033. IEEE, 2012. ",
1153
+ "bbox": [
1154
+ 174,
1155
+ 103,
1156
+ 823,
1157
+ 146
1158
+ ],
1159
+ "page_idx": 9
1160
+ },
1161
+ {
1162
+ "type": "text",
1163
+ "text": "George E Uhlenbeck and Leonard S Ornstein. On the theory of the brownian motion. In Physical review, volume 36.5, pp. 823, 1930. ",
1164
+ "bbox": [
1165
+ 174,
1166
+ 155,
1167
+ 823,
1168
+ 184
1169
+ ],
1170
+ "page_idx": 9
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "Christopher JCH Watkins and Peter Dayan. Q-learning. Machine learning, 8(3-4):279–292, 1992. ",
1175
+ "bbox": [
1176
+ 173,
1177
+ 193,
1178
+ 820,
1179
+ 208
1180
+ ],
1181
+ "page_idx": 9
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "Bernhard Wymann, Eric Espie, Christophe Guionneau, Christos Dimitrakakis, R ´ emi Coulom, and ´ Andrew Sumner. TORCS, The Open Racing Car Simulator. http://www.torcs.org, 2014. ",
1186
+ "bbox": [
1187
+ 173,
1188
+ 217,
1189
+ 825,
1190
+ 246
1191
+ ],
1192
+ "page_idx": 9
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "APPENDIX ",
1197
+ "text_level": 1,
1198
+ "bbox": [
1199
+ 176,
1200
+ 103,
1201
+ 264,
1202
+ 117
1203
+ ],
1204
+ "page_idx": 10
1205
+ },
1206
+ {
1207
+ "type": "text",
1208
+ "text": "In the following we display the box plots similar to Figure 1a and 1b for the remaining tasks. ",
1209
+ "bbox": [
1210
+ 171,
1211
+ 133,
1212
+ 781,
1213
+ 148
1214
+ ],
1215
+ "page_idx": 10
1216
+ },
1217
+ {
1218
+ "type": "image",
1219
+ "img_path": "images/2e8b8a6804b5105cd7b02ee0884259f7fa00f5f30052aefa2717e6865f3763eb.jpg",
1220
+ "image_caption": [
1221
+ "Figure 5: Variation in score of (from top left) Swimmer, Humanoid and HalfCheetah with different values of $M$ . "
1222
+ ],
1223
+ "image_footnote": [],
1224
+ "bbox": [
1225
+ 204,
1226
+ 172,
1227
+ 784,
1228
+ 453
1229
+ ],
1230
+ "page_idx": 10
1231
+ }
1232
+ ]
parse/train/SJgf6Z-0W/SJgf6Z-0W_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SJgf6Z-0W/SJgf6Z-0W_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SknC0bW0-/SknC0bW0-.md ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CONTINUOUS-FIDELITY BAYESIAN OPTIMIZATION WITH KNOWLEDGE GRADIENT
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ While Bayesian optimization (BO) has achieved great success in optimizing expensive-to-evaluate black-box functions, especially tuning hyperparameters of neural networks, methods such as random search (Li et al., 2016) and multifidelity BO (e.g. Klein et al. (2017)) that exploit cheap approximations, e.g. training on a smaller training data or with fewer iterations, can outperform standard BO approaches that use only full-fidelity observations. In this paper, we propose a novel Bayesian optimization algorithm, the continuous-fidelity knowledge gradient (cfKG) method, that can be used when fidelity is controlled by one or more continuous settings such as training data size and the number of training iterations. cfKG characterizes the value of the information gained by sampling a point at a given fidelity, choosing to sample at the point and fidelity with the largest value per unit cost. Furthermore, cfKG can be generalized, following Wu et al. (2017), to settings where derivatives are available in the optimization process, e.g. large-scale kernel learning, and where more than one point can be evaluated simultaneously. Numerical experiments show that cfKG outperforms state-of-art algorithms when optimizing synthetic functions, tuning convolutional neural networks (CNNs) on CIFAR-10 and SVHN, and in large-scale kernel learning.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ In hyperparameter tuning of machine learning models, we seek to find a set of hyperparameters $x$ in some set A to minimize the validation error $f ( x )$ , i.e., to solve
12
+
13
+ $$
14
+ \operatorname* { m i n } _ { x \in \mathbb { A } } f ( x )
15
+ $$
16
+
17
+ Evaluating $f ( x )$ can take substantial time and computational power (Bergstra & Bengio, 2012), and may not provide gradient evaluations. Thus, machine learning practitioners have turned to Bayesian optimization for solving (1.1) (Snoek et al., 2012) because it tends to find good solutions with few function evaluations (Jones et al., 1998).
18
+
19
+ As the computational expense of training and testing a modern deep neural network for a single set of hyperparameters has grown as long as days or weeks, it has become natural to seek ways to solve (1.1) more quickly by supplanting some evaluations of $f ( x )$ with computationally inexpensive lowfidelity approximations. Indeed, when training a neural network or most other machine learning models, we can approximate $f ( x )$ by training on less than the full training data, or using fewer training iterations. Both of these controls on fidelity can be set to achieve either better accuracy or lower computational cost across a range of values reasonably modeled as continuous.
20
+
21
+ In this paper, we consider optimization with evaluations of multiple fidelities and costs where the fidelity is controlled by one or more continuous parameters. We model these evaluations by a realvalued function $g ( x , s )$ where $f ( x ) : = g ( x , 1 _ { m } )$ and $s \in [ 0 , 1 ] ^ { m }$ denotes the $m$ fidelity-control parameters. $g ( x , s )$ can be evaluated, optionally with noise, at a cost that depends on $x$ and $s$ . In the context of hyperparameter tuning, we may take $m = 2$ and let $g ( x , s _ { 1 } , s _ { 2 } )$ denote the loss on the validation set when training using hyperparameters $x$ with a fraction $s _ { 1 }$ of the training data and a fraction $s _ { 2 }$ of some maximum allowed number of training iterations. We may also set $m = 1$ and let $s$ index either training data or training iterations. We assume A is a compact connected uncountable set into which it is easy to project, such as a hyperrectangle.
22
+
23
+ This problem setting also appears outside of hyperparameter tuning, in any application where the objective is expensive to evaluate and we may observe cheap low-fidelity approximations parameterized by a continuous vector. For example, when optimizing a system evaluated via a Monte Carlo simulator, we can evaluate a system configuration approximately by running with fewer replications. Also, when optimizing an engineering system modeled by a partial differential equation (PDE), we can evaluate a system configuration approximately by solving the PDE using a coarse grid.
24
+
25
+ Given this problem setting, we use the knowledge gradient approach (Frazier et al., 2009) to design an algorithm to adaptively select the hyperparameter configuration and fidelity to evaluate, to best support solving (1.1). By generalizing a computational technique based on the envelope theorem first developed in Wu et al. (2017), our algorithm supports parallel function evaluations, and also can take advantage of derivative observations when they are available. This algorithm chooses the point or set of points to evaluate next that maximizes the ratio of the value of information from evaluation against its cost.
26
+
27
+ Unlike most existing work on discrete- and continuous-fidelity Bayesian optimization, our approach considers the impact of our measurement on the future posterior distribution over the full feasible domain, while existing expected-improvement-based approaches consider its impact at only the point evaluated. One exception is the entropy-search-based method [10], which also considers the impact over the full posterior. Our approach differs from entropy search in that it chooses points to sample to directly minimize expected simple regret, while entropy search seeks to minimize the entropy of the location or value of the global optimizer, indirectly reducing simple regret.
28
+
29
+ We summarize our contributions as follows.
30
+
31
+ # Contributions of this paper:
32
+
33
+ • We develop a novel Bayesian Optimization algorithm, the continuous-fidelity knowledge gradient (cfKG) method, which chooses the point and fidelity to sample next that maximizes the ratio of the value of information to its cost; • After first developing this algorithm in the sequential derivative-free setting, and inspired by Wu et al. (2017), we generalize to settings where function evaluations may be performed in parallel, and where we can access possibly noisy and biased gradient information. • We show that our algorithm outperforms a number of start-of-art benchmark algorithms when optimizing common synthetic functions, tuning convolutional neural networks on CIFAR-10 and SVHN, and in a large-scale kernel learning example.
34
+
35
+ The rest of the paper is organized as follows. Sect. 2 reviews related work. Sect. 3 presents the cfKG method. Sect. 4 tests cfKG on benchmarks including synthetic functions and hyperparameter tuning for deep learning and kernel learning. Sect. 5 concludes.
36
+
37
+ # 2 RELATED WORK
38
+
39
+ Algorithms exploiting inexpensive low-fidelity approximations for hyperparameter tuning have been proposed both within and outside the field of Bayesian optimization.
40
+
41
+ Outside of Bayesian optimization, Li et al. (2016) develops an early-stopping method called Hyperband that can outperform traditional Bayesian optimization when tuning hyperparameters within a random search framework by adaptively allocating a single predefined resource that can be taken to be the number of training iterations or the amount of training data. In contrast to Hyperband we allow more than one fidelity control, support derivative observations, and use one-step optimality in terms of value vs. cost to select the point or points to sample. We compare against Hyperband in our numerical experiments, and show improved performance training a convolutional neural network.
42
+
43
+ Using a modified expected improvement (EI) acquisition function, Huang et al. (2006) and Lam et al. (2015) develop methods for multi-fidelity settings with a finite discrete set of low-fidelity approximations. We call this the “discrete-fidelity setting” to contrast it with the continuous-fidelity setting we consider here. We do not compare against discrete-fidelity methods in our numerical experiments as both Kandasamy et al. (2017) and Klein et al. (2017) show that continuous-fidelity methods can find good solutions in continuous-fidelity problems as much as an order of magnitude faster than discrete-fidelity ones.
44
+
45
+ In the specific context of hyperparameter tuning, Domhan et al. (2015) proposes a simple early stopping criterion combined with SMAC (an EI acquisition function with a random forest based statistical model) in which evaluation of a configuration is stopped if its performance is predicted to be worse than the current best configuration.
46
+
47
+ Kandasamy et al. (2016) generalizes the upper confidence bound (UCB) criteria to the discretefidelity setting, and further generalizes to continuous fidelities in Kandasamy et al. (2017). We compare against Kandasamy et al. (2017) in our numerical experiments, finding that cfKG provides improved performance when the budget is sufficiently large. This may be because the UCB criteria was originally designed for minimizing the cumulative regret and not simple regret, with the simple regret bounds resulting from theoretical analysis of cumulative regret being loose enough to be consistent with the empirical performance gap we observe in our experiments. It may also be because both Kandasamy et al. (2016) and Kandasamy et al. (2017) use a two-stage process in which the point to evaluate is selected without considering the fidelity, and the fidelity only selecting afterward. In contrast, cfKG selects the point and fidelity jointly, and considers the impact of fidelity choice on the best point to sample.
48
+
49
+ Entropy search has also been extended to the discrete-fidelity setting by Swersky et al. (2013). Considering training iterations as a one-dimensional continuous fidelity control, Swersky et al. (2014) generalizes Swersky et al. (2013) to this specific continuous-fidelity setting. Klein et al. (2017) adapts entropy search to settings where the size of the training data is a one-dimensional continuous fidelity control. McLeod et al. (2017) extends predictive entropy search to settings with one fidelity control and provides a faster way to compute the acquisition function.
50
+
51
+ Poloczek et al. (2017) develops a knowledge gradient method for the discrete-fidelity setting, but does not consider the continuous-fidelity setting. Our computational techniques are quite different from the ones developed there, as necessitated by our consideration of continuous fidelities. As an advantageous byproduct, our computational techniques also avoid the need to discrete A.
52
+
53
+ This paper proposes the first knowledge gradient method for continuous-fidelity settings, and show how to generalize it to the batch and derivative-enabled settings by generalizing the computational technique developed in Wu et al. (2017). To the best of our knowledge, this is the first multi-fidelity batch Bayesian optimization algorithm. The relationship of this paper to the existing multi-fidelity BO literature is summarized in Table. 1.
54
+
55
+ Table 1: Summary of the multi-fidelity BO literature.
56
+
57
+ <table><tr><td rowspan=1 colspan=1>Literature summary</td><td rowspan=1 colspan=1>EI/SMAC</td><td rowspan=1 colspan=1>Entropy Search</td><td rowspan=1 colspan=1>UCB</td><td rowspan=1 colspan=1>KnowledgeGradient</td></tr><tr><td rowspan=1 colspan=1>Discrete-fidelity</td><td rowspan=1 colspan=1>Huang et al. (2006);Lam et al. (2015)</td><td rowspan=1 colspan=1>Swersky et al. (2013)</td><td rowspan=1 colspan=1>Kandasamyet al. (2016)</td><td rowspan=1 colspan=1>Poloczeket al. (2017)</td></tr><tr><td rowspan=1 colspan=1>Continuous-fidelity</td><td rowspan=1 colspan=1>Domhan et al. (2015)</td><td rowspan=1 colspan=1>Swersky et al. (2014);Klein et al.(2017);McLeod et al. (2017)</td><td rowspan=1 colspan=1>Kandasamyet al. (2017)</td><td rowspan=1 colspan=1>This paper</td></tr></table>
58
+
59
+ Our method is also related to knowledge gradient methods for single-fidelity BO. In particular, the way in which we extend cfKG from the sequential (one evaluation at a time) derivative-free setting to allow batches of points and gradient observations follows work extending single-fidelity knowledge-gradient methods to the batch and derivative settings in Wu & Frazier (2016) and $\mathrm { W u }$ et al. (2017). We also generalize the envelope-theorem based computational technique developed for the single-fidelity setting in Wu et al. (2017) to continuous fidelities. We compare with single-fidelity knowledge gradient methods in our numerical experiments, and show that cfKG is able to levarage inexpensive low-fidelity observations to provide improved performance in both derivative-free and derivative-enabled settings.
60
+
61
+ # 3 CONTINUOUS-FIDELITY KNOWLEDGE GRADIENT
62
+
63
+ In this section, we propose the continuous-fidelity knowledge gradient (cfKG), a novel Bayesian optimization algorithm that exploits inexpensive low-fidelity approximations. This algorithm, like most Bayesian optimization algorithms, consists of a statistical model and an acquisition function. cfKG proceeds iteratively by fitting the statistical model (described below in Section 3.1) to all previously sampled (point, fidelty) pairs, and then finding and sampling the (point, fidelity) pair that maximizes the acquisition function. Once the budget is exhausted, at some iteration $N$ , cfKG returns as its final solution the point with the lowest estimated $g ( x , 1 _ { m } )$ .
64
+
65
+ To describe cfKG in detail, Sect. 3.1 first describes Gaussian process regression for modeling both $g ( x , s )$ and its cost of evaluation. This approach is standard, with the novelty arising in cfKG’s acquisition function and how we optimize it. Then, Sect. 3.2 presents the cfKG acquisition function, which values sampling a (point, fidelity) pair according to the ratio of the value of the information gained from sampling that point at that fidelity, to the cost of doing so. Sect. 3.3 generalizes an envelope-theorem based computational technique developed in $\mathrm { W u }$ et al. (2017) to efficiently maximize this acquisition function. We discuss extensions to the derivative-enabled setting in Sect. 3.4.
66
+
67
+ # 3.1 GAUSSIAN PROCESSES
68
+
69
+ We put a Gaussian process (GP) prior (Rasmussen & Williams, 2006) on the function $g$ or its logarithm. We describe this procedure placing the prior on $g$ directly, and then discuss below when we recommend instead placing it on $( { \bar { x } } , s ) \mapsto \log { \bar { g } } ( x , s )$ . The GP prior is defined by its mean function $\mu ^ { ( 0 ) } : \mathbb { A } \times [ 0 , 1 ] ^ { m } \mapsto \mathbb { R }$ and kernel function $K ^ { ( 0 ) } : \{ \mathbb { A } \times [ 0 , 1 ] ^ { m } \} \times \{ \mathbb { A } \times [ 0 , 1 ] ^ { m } \} \mapsto \mathbb { R }$ . These mean and kernel functions have hyperparameters, whose inference we discuss below.
70
+
71
+ We assume that evaluations of $g ( x , s )$ are subject to additive independent normally distributed noise with common variance $\sigma ^ { 2 }$ . We treat the parameter $\sigma ^ { 2 }$ as a hyperparameter of our model, and also discuss its inference below. Our assumption of normally distributed noise with constant variance is common in the BO literature (Klein et al., 2017).
72
+
73
+ The posterior distribution of $g$ after $n$ function evaluations at points $\begin{array} { r l r } { z ^ { ( 1 : n ) } } & { { } : = } & { } \end{array}$ $\{ ( x ^ { ( 1 ) } , s ^ { ( 1 ) } ) , ( x ^ { ( 2 ) } , s ^ { ( 2 ) } ) , \cdot \cdot \cdot , ( x ^ { ( n ) } , s ^ { ( n ) } ) \}$ with observed values $y ^ { ( 1 : n ) } : = \{ y ^ { ( 1 ) } , y ^ { ( 2 ) } , \cdot \cdot \cdot , y ^ { ( n ) } \}$ remains a Gaussian process (Rasmussen & Williams, 2006), and $g \mid z ^ { ( 1 : n ) } , y ^ { ( 1 : n ) } \sim \mathbf { G P } ( \mu ^ { n } , K ^ { ( n ) } )$ with $\mu ^ { n }$ and $K ^ { ( n ) }$ evaluated at a point $z = ( x , s )$ (or pair of points $z$ , $\tilde { z } = ( \tilde { x } , \tilde { s } ) )$ given as follows
74
+
75
+ $$
76
+ \begin{array} { r l r } & { } & { \mu ^ { ( n ) } ( z ) = \mu ^ { ( 0 ) } \left( z \right) + K ^ { ( 0 ) } \left( z , z ^ { ( 1 : n ) } \right) \left( K ^ { ( 0 ) } ( z ^ { ( 1 : n ) } , z ^ { ( 1 : n ) } ) + \sigma ^ { 2 } I \right) ^ { - 1 } \left( y ^ { ( 1 : n ) } - \mu ( z ^ { ( 1 : n ) } ) \right) , } \\ & { } & { K ^ { ( n ) } \left( z , \tilde { z } \right) = K ^ { ( 0 ) } ( z , \tilde { z } ) - K ^ { ( 0 ) } \left( z , z ^ { ( 1 : n ) } \right) \left( K ^ { ( 0 ) } ( z ^ { ( 1 : n ) } , z ^ { ( 1 : n ) } ) + \sigma ^ { 2 } I \right) ^ { - 1 } K ^ { ( 0 ) } \left( z ^ { ( 1 : n ) } , \tilde { z } \right) . } \end{array}
77
+ $$
78
+
79
+ This statistical approach contains several hyperparameters: the variance $\sigma ^ { 2 }$ , and any parameters in the mean and kernel functions. We treat these hyperparameters in a Bayesian way as proposed in Snoek et al. (2012).
80
+
81
+ When $g$ is the validation error in a hyperparameter optimization problem, we recommend putting a GP prior on $\log g ( x , s )$ , rather than on $g ( x , s )$ directly, because (1) $g ( x , s )$ is nonnegative and will be allowed to be negative after log scaling, better matching the range of values assumed by the GP, and (2) because $g ( x , s )$ can climb steeply over several orders of magnitude as we move away from the optimal $x$ , making $\log g ( x , s )$ easier to model.
82
+
83
+ We analogously train a separate GP on the logarithm of the cost of evaluating $g ( x , s )$
84
+
85
+ # 3.2 THE CFKG ACQUISITION FUNCTION
86
+
87
+ cfKG samples the point and fidelity that jointly maximize an acquisition function, which we define in this section by adopting the knowledge gradient concept (Frazier et al., 2009) in the continuousfidelity setting to value the information gained through one additional sample.
88
+
89
+ If we were to stop sampling after $n$ samples, we would select as our solution to (1.1) a point $x$ with minimum estimated validation error $\mu ^ { ( n ) } ( x , 1 _ { m } )$ , and this point would have a conditional expected validation error of $\begin{array} { r } { \operatorname* { m i n } _ { x \in \mathbb { A } } \mu ^ { ( n ) } ( x , 1 _ { m } ) } \end{array}$ under the posterior. If instead we took an additional sample at $x ^ { ( n + 1 ) }$ with the fidelity $s ^ { ( n + 1 ) }$ , then the minimum expected validation error under the resulting posterior would become minx∈A µ(n+1)(x, 1m). This quantity depends on x(n+1) and s(n+1) through the dependence of $\boldsymbol { \mu } ^ { ( n + 1 ) } ( x , \boldsymbol { 1 } _ { m } )$ on the point and fidelity sampled, and is random under the posterior at iteration $n$ because $\boldsymbol { \mu } ^ { ( n + 1 ) } ( x , \boldsymbol { 1 } _ { m } )$ depends on the observation $y ^ { ( n + 1 ) }$ . We discuss this dependence explicitly in Sect. 3.3.
90
+
91
+ The value of the information gained by sampling at $x ^ { ( n + 1 ) }$ with the fidelity $s ^ { ( n + 1 ) }$ conditioned on any particular outcome $y ^ { ( n + 1 ) }$ is thus the difference of these two expected validation errors $\begin{array} { r } { \operatorname* { m i n } _ { x \in \mathbb { A } } \mu ^ { ( n ) } ( x , 1 _ { m } ) - \operatorname* { m i n } _ { x \in \mathbb { A } } \mu ^ { ( n + 1 ) } ( x , 1 _ { m } ) } \end{array}$ . We then take the expectation of this difference, over the random outcome $y ^ { ( n + 1 ) }$ , to obtain the (unconditional) value of the information gained, and take the ratio of this value with the cost of obtaining it to obtain the cfKG acquistion function,
92
+
93
+ $$
94
+ \operatorname { c f K G } ( x , s ) = { \frac { \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n ) } ( x ^ { \prime } , 1 _ { m } ) - \mathbb { E } _ { n } \left[ \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n + 1 ) } ( x ^ { \prime } , 1 _ { m } ) \mid x ^ { ( n + 1 ) } = x , s ^ { ( n + 1 ) } = s \right] } { \cot ^ { ( n ) } ( x , s ) } } ,
95
+ $$
96
+
97
+ where $\mathrm { c o s t } ^ { ( n ) } ( x , s )$ is the estimated cost of evaluating at $x$ with the fidelity $s$ based on the observations available at iteration $n$ , according to the GP described in Sect. 3.1, and $\mathbb { E } _ { n }$ indicates the expectation taken with respect to the posterior given $\boldsymbol { x } ^ { ( 1 : n ) } , \boldsymbol { s } ^ { ( 1 : n ) } , \boldsymbol { y } ^ { ( 1 : n ) }$ .
98
+
99
+ The cfKG algorithm chooses to sample at the point and fidelity that jointly maximize the cfKG acquistion function
100
+
101
+ $$
102
+ \operatorname* { m a x } _ { ( x , s ) \in \mathbb { A } \times [ 0 , 1 ] ^ { m } } { \mathrm { c f K G } } ( x , s ) .
103
+ $$
104
+
105
+ Although this acquisition function considers the expected value of an improvement due to sampling, it differs from expected improvement approaches such as Lam et al. (2015) because the point at which an improvement occurs, $\operatorname { a r g m a x } _ { x \in \mathbb { A } } \mu ^ { ( n + 1 ) } ( x , 1 _ { m } )$ may differ from the point sampled. Moreover, this acquisition function allows joint valuation of both the point $x$ and the fidelity $s$ , while approaches such as Lam et al. (2015) require valuing a point $x$ assuming it will be evaluated at full fidelity and then choose the fidelity in a second stage.
106
+
107
+ cfKG generalizes naturally to batch settings where we can evaluate multiple (point, fidelity) pairs at once. We value joint evaluation of $q \geq 1$ points $x _ { 1 : q }$ at fidelities $s _ { 1 : q }$ , where $z _ { 1 : q } =$ $\mathsf { \bar { ( } } ( x _ { 1 } , s _ { 1 } ) , \ldots , ( x _ { q } , s _ { q } ) )$ , by
108
+
109
+ $$
110
+ \mathsf { q \mathrm { - } \mathrm { c f K G } } ( z _ { 1 : q } ) = \frac { \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n ) } ( x ^ { \prime } , 1 _ { m } ) - \mathbb { E } _ { n } \left[ \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n + q ) } ( x ^ { \prime } , 1 _ { m } ) \mid z ^ { ( n + 1 : n + q ) } = z _ { 1 : q } \right] } { \operatorname* { m a x } _ { 1 \leq i \leq q } \mathrm { c o s t } ^ { ( n ) } ( z ^ { ( n + i ) } ) } ,
111
+ $$
112
+
113
+ We then modify (3.3) by sampling at the batch of points and fidelities that maximize
114
+
115
+ $$
116
+ \operatorname* { m a x } _ { z _ { 1 : q } \subset \mathbb { A } \times [ 0 , 1 ] ^ { m } } { \bf q } \mathrm { - c f K G } ( z _ { 1 : q } )
117
+ $$
118
+
119
+ Although we have defined the cfKG algorithm’s sampling decision theoretically, (3.3) or (3.5) are challenging optimization problems and naive brute-force approaches are unlikely to produce highquality results with a reasonable amount of computation. Thus, in the next section, we discuss efficient computational methods for solving (3.3) and (3.5).
120
+
121
+ # 3.3 ENVELOPE-THEOREM-BASED COMPUTATIONAL METHOD
122
+
123
+ In this section, we describe computational methods for solving (3.3) and (3.5). We describe our method in the context of (3.5), and observe that (3.3) is a special case.
124
+
125
+ We generalize a recently proposed envelope-theorem based computational method developed for single-fidelity optimization in Wu et al. (2017), which is used to provide unbiased estimators of both $\mathbf { q }$ -cfKG and its gradient. We then use stochastic gradient ascent to optimize the q-cfKG acquistion function, optionally with multiple starts.
126
+
127
+ # 3.3.1 ESTIMATING Q-CFKG
128
+
129
+ To support computation, we express $\mu ^ { ( n + q ) } ( x , 1 _ { m } )$ that results from a chosen batch of points and fidelities $z ^ { ( n + 1 : n + q ) } = z _ { 1 : q }$ as
130
+
131
+ $$
132
+ \begin{array} { l l l } { \iota ^ { ( n + q ) } ( x , 1 _ { m } ) } & { = } & { \mu ^ { ( n ) } ( x , 1 _ { m } ) + } \\ & & { K ^ { ( n ) } ( ( x , 1 _ { m } ) , z _ { 1 : q } ) \left( K ^ { ( n ) } ( z _ { 1 : q } , z _ { 1 : q } ) + \sigma ^ { 2 } I \right) ^ { - 1 } \left( y ^ { ( n + 1 : n + q ) } - \mu ^ { ( n ) } ( z _ { 1 : q } ) \right) . } \end{array}
133
+ $$
134
+
135
+ Because $y ^ { ( n + 1 : n + q ) } \ - \ \mu ^ { ( n ) } ( z _ { 1 : q } )$ is normally distributed with zero mean and covariance matrix $( K ^ { ( n ) } ( z _ { 1 : q } , z _ { 1 : q } ) + \sigma ^ { 2 } I )$ with respect to the posterior after $n$ observations, we can rewrite $\boldsymbol { \mu } ^ { ( n + q ) } \left( \boldsymbol { x } , \boldsymbol { 1 } _ { m } \right)$ as
136
+
137
+ $$
138
+ \begin{array} { r l r } { \mu ^ { ( n + q ) } \left( x , 1 _ { m } \right) } & { = } & { \mu ^ { ( n ) } \left( x , 1 _ { m } \right) + \tilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } , } \end{array}
139
+ $$
140
+
141
+ where $W _ { q }$ is a standard $q$ -dimensional normal random vector, and
142
+
143
+ $$
144
+ \begin{array} { r c l } { \tilde { \sigma } _ { n } ( x , z _ { ( 1 : q ) } ) } & { = } & { K ^ { ( n ) } \left( ( x , 1 _ { m } ) , z _ { 1 : q } \right) \left( D ^ { ( n ) } \left( z _ { 1 : q } \right) ^ { T } \right) ^ { - 1 } , } \end{array}
145
+ $$
146
+
147
+ where $D ^ { ( n ) } \left( z _ { 1 : q } \right)$ is the Cholesky factor of the covariance matrix $K ^ { ( n ) } \left( z _ { 1 : q } , z _ { 1 : q } \right) + \sigma ^ { 2 } I .$
148
+
149
+ Thus, to provide an unbiased Monte Carlo estimator of the expectation within (3.4), we may sample $W _ { q }$ , and then calculate $\begin{array} { r } { \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n + q ) } ( x ^ { \prime } , 1 _ { m } ) = \operatorname* { m i n } _ { x ^ { \prime } \in \mathbb { A } } \mu ^ { ( n ) } \left( x , 1 _ { m } \right) + \tilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } } \end{array}$ . To do this optimization, we use a second-order continuous optimization method, where the gradient and Hessian of $\boldsymbol { \mu } ^ { ( n + q ) } \left( \boldsymbol { x } , \boldsymbol { 1 } _ { m } \right)$ with respect to $x$ in (3.6) can be computed by calculating the gradient and Hessian of $\boldsymbol { \mu } ^ { ( n ) } \left( \boldsymbol { x } , \boldsymbol { 1 } _ { m } \right)$ and $\tilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right)$ . We can then compute the $\mathbf { q }$ -cfKG acquistion function to arbitrary accuracy by averaging many such independent Monte Carlo estimates.
150
+
151
+ # 3.3.2 ESTIMATING THE GRADIENT OF Q-CFKG
152
+
153
+ To solve (3.5), we generalize a recently proposed computational method based on the envelope theorem from $\mathrm { W u }$ et al. (2017) to provide an unbiased estimator of the gradient of the $\mathsf { q }$ -cfKG acquisition function, and then use stochastic gradient ascent.
154
+
155
+ Exploiting (3.6), the q-cfKG acquisition function can be expressed as
156
+
157
+ $$
158
+ \mathsf { q } \mathsf { - } \mathsf { c f K G } ( z _ { 1 : q } ) = \frac { \operatorname* { m i n } _ { x \in \mathbb { A } } \mu ^ { ( n ) } \left( x , 1 _ { m } \right) - \mathbb { E } _ { n } \left[ \operatorname* { m i n } _ { x \in \mathbb { A } } \left( \mu ^ { ( n ) } \left( x , 1 _ { m } \right) + \tilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } \right) \right] } { \operatorname* { m a x } _ { 1 \leq i \leq q } \mathsf { c o s t } ^ { ( n ) } \left( x _ { i } , s _ { i } \right) } ,
159
+ $$
160
+
161
+ where $W _ { q }$ is a standard $q$ -dimensional normal random vector, $\begin{array} { r l r } { \tilde { \sigma } _ { n } ( x , z _ { ( 1 : q ) } ) } & { { } = } & { } \end{array}$ $K ^ { ( n ) } ( ( x , 1 _ { m } ) , z _ { 1 : q } ) ( D ^ { ( n ) } ( z _ { 1 : q } ) ^ { T } ) ^ { - 1 }$ , and $D ^ { ( n ) } \left( z _ { 1 : q } \right)$ is the Cholesky factor of the covariance matrix $K ^ { ( n ) } \left( z _ { 1 : q } , z _ { 1 : q } \right) ~ + ~ \sigma ^ { 2 } I .$ $\nabla \mathbf { q } \mathbf { - } \mathbf { c f K G } ( z _ { 1 : q } )$ can be computed from $\begin{array} { r l } { { - \nabla \mathbb { E } _ { n } [ \operatorname* { m i n } _ { x \in \mathbb { A } } ( \mu ^ { ( n ) } ( x , 1 _ { m } ) + \tilde { \sigma } _ { n } ( x , z _ { 1 : q } ) W _ { q } ) ] } \quad } & { { } } \end{array}$ and $\begin{array} { r } { \nabla \operatorname* { m a x } _ { 1 \leq i \leq q } \operatorname { c o s t } ^ { ( n ) } \big ( z ^ { ( n + i ) } \big ) } \end{array}$ , where differentiability of $\mathrm { c o s t } ^ { ( n ) } ( \cdot )$ implies $\operatorname* { m a x } _ { 1 \leq i \leq q } \cos t ^ { ( n ) } ( x _ { i } , s _ { i } )$ is differentiable almost everywhere. To compute the first term, under sufficient regularity conditions (L’Ecuyer, 1990) that we conjecture hold in most applications to hyperparameter tuning, one can interchange the gradient and expectation operators,
162
+
163
+ $$
164
+ \nabla \mathbb { E } _ { n } \left[ \operatorname* { m i n } _ { x \in \mathbb { A } } \left( \mu ^ { ( n ) } \left( x , 1 _ { m } \right) + \widetilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } \right) \right] = \mathbb { E } _ { n } \left[ \nabla \operatorname* { m i n } _ { x \in \mathbb { A } } \left( \mu ^ { ( n ) } ( x , 1 _ { m } ) + \widetilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } \right) \right] .
165
+ $$
166
+
167
+ This technique is called infinitesimal perturbation analysis (IPA) (L’Ecuyer, 1990).
168
+
169
+ Since multiplication, matrix inversion (when the inverse exists), and Cholesky factorization (Smith, 1995) preserve continuous differentiability, $( x , z _ { 1 : q } ) \mapsto \left( \mu ^ { ( n ) } ( x , 1 _ { m } ) + \tilde { \sigma } _ { n } ( x , z _ { 1 : q } ) W _ { q } \right)$ is continuously differentiable under mild regularity conditions. When this function is continuously differentiable and A is compact, the envelope theorem (Milgrom $\&$ Segal, 2002, Corollary 4) implies
170
+
171
+ $$
172
+ \begin{array} { r l } & { \mathbb { E } _ { n } \left[ \nabla \underset { x \in \mathbb { A } } { \mathrm { m i n } } \left( \mu ^ { ( n ) } ( x , 1 _ { m } ) + \tilde { \sigma } _ { n } \left( x , z _ { 1 : q } \right) W _ { q } \right) \right] } \\ & { = \mathbb { E } _ { n } \left[ \nabla \left( \mu ^ { ( n ) } \left( x ^ { * } ( W _ { q } ) , 1 _ { m } \right) + \tilde { \sigma } _ { n } \left( x ^ { * } ( W _ { q } ) , z _ { 1 : q } \right) \cdot W _ { q } \right) \right] , } \\ & { = \mathbb { E } _ { n } \left[ \nabla \tilde { \sigma } _ { n } \left( x ^ { * } ( W _ { q } ) , z _ { 1 : q } \right) \cdot W _ { q } \right] , } \end{array}
173
+ $$
174
+
175
+ where $\boldsymbol { x } ^ { * } ( W _ { q } ) \in \arg \operatorname* { m i n } _ { \boldsymbol { x } \in \mathbb { A } } \left( \mu ^ { ( n ) } ( \boldsymbol { x } , \boldsymbol { 1 } _ { m } ) + \tilde { \sigma } _ { n } ( \boldsymbol { x } , \boldsymbol { z } _ { 1 : q } ) W _ { q } \right)$ . We can use this unbiased gradient estimator within stochastic gradient ascent (Harold et al., 2003) to solve the optimization problem (3.5).
176
+
177
+ # 3.4 EXTENSIONS TO DERIVATIVE-ENABLED SETTINGS
178
+
179
+ Following $\mathbf { W } \mathbf { u }$ et al. (2017), which developed single-fidelity BO methods for use when gradient information is available, we develop a version of the cfKG algorithm, called derivative-enabled cfKG, that can be used when gradients are available in the continuous-fidelity setting. This can be used to reduce the number of function evaluations required to find a high-quality solution to (1.1).
180
+
181
+ First, observe that a $G P ( \mu ^ { n } , K ^ { n } )$ prior on $g ( x , s )$ implies a multi-output $G P ( \tilde { \mu } ^ { n } , \tilde { K } ^ { n } )$ prior on $( g , \nabla _ { x } g )$ . Then, observe that the same reasoning we used to develop the cfKG acquistion function in (3.2) can be used when when we observe gradients to motivate the acquisition function,
182
+
183
+ $$
184
+ \mathtt { c f - d - K G } ( x , s ) = \frac { \operatorname* { m i n } _ { x \in \mathbb { A } } \tilde { \mu } _ { 1 } ^ { ( n ) } ( x , 1 _ { m } ) - \mathbb { E } _ { n } \left[ \operatorname* { m i n } _ { x \in \mathbb { A } } \tilde { \mu } _ { 1 } ^ { ( n + 1 ) } ( x , 1 _ { m } ) \mid x ^ { ( n + 1 ) } = x , s ^ { ( n + 1 ) } ) = s \right] } { \cos \mathfrak { c } ^ { ( n ) } ( x , s ) } ,
185
+ $$
186
+
187
+ where $\cos \mathbf { t } ^ { ( n ) } ( x , s )$ is now our estimate after $n$ samples of the cost of evaluating both $g$ and its gradient with respect to $x$ , and $\tilde { \mu } _ { 1 } ^ { ( n ) } ( x , s )$ is the posterior mean on $g ( x , s )$ in the multi-output GP. The conditional expectation is taken with respect to both the observed function value and gradient. A batch version of the derivative-enabled cfKG acquistion function can be defined analogously. We use techniques similar to those described in Sect. 3.3 to optimize these acquisition functions.
188
+
189
+ # 4 NUMERICAL EXPERIMENTS
190
+
191
+ In this section, we compare sequential, batch, and derivative-enabled cfKG with several benchmark algorithms on four synthetic functions, tuning convolutional neural networks on CIFAR-10 and SVHN, and on large-scale kernel learning. Our benchmarks include the traditional Bayesian optimization algorithms KG (Wu & Frazier, 2016) and EI (Jones et al., 1998), and the multi-fidelity Bayesian optimization with continuous approximation algorithm (BOCA) (Kandasamy et al., 2017). We also compare with Hyperband (Li et al., 2016) in the CIFRA-10 experiment, and with derivativeenabled KG (Wu et al., 2017) in the kernel-learning experiment. We use squared-exponential kernels with constant mean functions and integrate out the GP hyperparameters by sampling $M = 1 0$ sets of hyperparameters using the emcee package (Foreman-Mackey et al., 2013).
192
+
193
+ # 4.1 OPTIMIZING SYNTHETIC FUNCTIONS
194
+
195
+ Inspired by numerical experiments in Kandasamy et al. (2017), we modify four standard synthetic test functions, 2-d Branin, 3-d Rosenbrock, 3-d Hartmann, and 6-d Hartmann, by adding 1 fidelity control, as described in detail in Appendix. A. We use cost $\textstyle \operatorname { c o s t } ( x , s ) : = \prod _ { i = 1 } ^ { \bar { m } } ( 0 . 0 1 + s _ { i } )$ to mimic the linear cost of training a neural network with more data and longer iterations, and $\begin{array} { r } { \mathrm { c o s t } ( z _ { 1 : q } ) : = \mathrm { m a x } _ { 1 \leq j \leq q } \mathrm { c o s t } ( z _ { j } ) } \end{array}$ to mimic wall-clock time for training $q$ neural networks in parallel. Fig. 1 summarizes the results. cfKG achieves lower simple regret than competitors at the same cost.
196
+
197
+ # 4.2 TUNING CONVOLUTIONAL NEURAL NETWORKS ON CIFAR-10 AND SVHN
198
+
199
+ We use sequential and batch cfKG to tune convolution neural networks (CNNs) on CIFAR-10 and SVHN. Our CNN consists of 3 convolutional blocks and a softmax classification layer. Each convolutional block consists of two convolutional layers with the same number of filters followed by a max-pooling layer. There is no dropout or batch-normalization layer. We split the CIFAR-10 dataset into 40000 training samples, 10000 validation samples and 10000 test samples. We split the SVHN training dataset into 67235 training samples and 6000 validation samples, and use the standard 26032 test samples. We apply standard data augmentation: horizontal and vertical shifts, and horizontal flips. We optimize 5 hyperparameters to minimize the classification error on the validation set: the learning rate, batch size, and number of filters in each convolutional block. cfKG and $\mathbf { q }$ -cfKG use two fidelity controls: the size of the training set and the number of training iterations. Hyperband uses the size of the training set as its resource (it can use only one resource or fidelity), using a bracket size of $s _ { \operatorname* { m a x } } = 4$ as in Li et al. (2016) and the maximum resource allowed by a single configuration set to 40000. We set the maximum number of training epochs for all algorithms to 50 for CIFAR-10 and 40 for SVHN. Fig. 2 shows the performance of cfKG relative to several benchmarks. cfKG successfully exploits the cheap approximations and find a good solution much faster than KG and Hyperband. When we train using optimized hyperparameters on the full training dataset for 200 epochs, test data classification error is $\sim 1 2 \%$ for CIFAR-10 and $\sim 5 \%$ for SVHN.
200
+
201
+ ![](images/08281fbda24d24ce93e41224a3219369ec0988b387e4f0eb1f4f7b0c2407a9e0.jpg)
202
+ Figure 1: Optimizing 4 synthetic functions: 2-d Branin, 3-d Rosenbrock, 3-d Hartmann, and 6-d Hartmann with 20 independent runs. Fidelity is 1-d.
203
+
204
+ # 4.3 LARGE-SCALE KERNEL LEARNING
205
+
206
+ We use derivative-enabled cfKG (cf-d-KG) in a large-scale kernel learning example obtained by modifying the 1-d demo example for KISS-GP (Wilson & Nickisch, 2015) on the GPML website (Rasmussen & Nickisch, 2016). In this example, we optimize 3 hyperparameters (the alpha, the length scale and the variance of the noise) of a GP with an RBF kernel on 1 million training points to maximize the log marginal likelihood. We evaluate both the log marginal likelihood and its gradient using the KISS-GP framework. We use two fidelity controls: the number of training points and the number of inducing points in the KISS-GP framework. We set the maximum number of inducing points to $m = 1 0 0 0$ . We compare cf-d-KG to the derivative-enabled knowledge gradient (d-KG) (Wu et al., 2017) both with batch size $q = 8$ . Fig. 2 shows that cf-d-KG successfully utilizes the inexpensive function and gradient evaluations to find a good solution more quickly.
207
+
208
+ ![](images/580470d835d17f9de2683c6601f0aeb8d69bb5c35eaa24f6276dd39aa59cf605.jpg)
209
+ Figure 2: From left to right: Tuning convolutional neural networks on CIFAR-10 and SVHN with 6 independent runs, and kernel learning under the KISS-GP framework with 10 independent runs.
210
+
211
+ # 5 CONCLUSION
212
+
213
+ We propose a novel continuous-fidelity BO algorithm, cfKG, which generalizes naturally to batch and derivative settings. This algorithm can find good solutions to global optimization problems with less cost than state-of-art algorithms in applications including deep learning and kernel learning.
214
+
215
+ # REFERENCES
216
+
217
+ James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(Feb): 281–305, 2012.
218
+ Tobias Domhan, Jost Tobias Springenberg, and Frank Hutter. Speeding up automatic hyperparameter optimization of deep neural networks by extrapolation of learning curves. In IJCAI, pp. 3460–3468, 2015.
219
+ Daniel Foreman-Mackey, David W Hogg, Dustin Lang, and Jonathan Goodman. emcee: the mcmc hammer. Publications of the Astronomical Society of the Pacific, 125(925):306, 2013.
220
+ Peter Frazier, Warren Powell, and Savas Dayanik. The knowledge-gradient policy for correlated normal beliefs. INFORMS journal on Computing, 21(4):599–613, 2009.
221
+ J Harold, G Kushner, and George Yin. Stochastic approximation and recursive algorithm and applications. Springer, 2003.
222
+ Deng Huang, TT Allen, WI Notz, and RA Miller. Sequential kriging optimization using multiple-fidelity evaluations. Structural and Multidisciplinary Optimization, 32(5):369–382, 2006.
223
+ Donald R Jones, Matthias Schonlau, and William J Welch. Efficient global optimization of expensive black-box functions. Journal of Global optimization, 13(4):455–492, 1998.
224
+ Kirthevasan Kandasamy, Gautam Dasarathy, Junier B Oliva, Jeff Schneider, and Barnabas P ´ oczos. Gaussian process bandit optimisation with ´ multi-fidelity evaluations. In Advances in Neural Information Processing Systems, pp. 992–1000, 2016.
225
+ Kirthevasan Kandasamy, Gautam Dasarathy, Jeff Schneider, and Barnabas Poczos. Multi-fidelity bayesian optimisation with continuous approximations. In ICML, 2017. Accepted for publication. ArXiv preprint 1703.06240.
226
+ Aaron Klein, Stefan Falkner, Simon Bartels, Philipp Hennig, and Frank Hutter. Fast bayesian optimization of machine learning hyperparameters on large datasets. In Artificial Intelligence and Statistics, 2017. Accepted for publication. ArXiv preprint arXiv:1605.07079.
227
+ Remi Lam, Douglas Allaire, and Karen Willcox. Multifidelity optimization using statistical surrogate modeling for non-hierarchical information sources. In 56th AIAA/ASCE/AHS/ASC Structures, Structural Dynamics, and Materials Conference, pp. 0143, 2015.
228
+ Pierre L’Ecuyer. A unified view of the IPA, SF, and LR gradient estimation techniques. Management Science, 36(11):1364–1383, 1990.
229
+ Lisha Li, Kevin Jamieson, Giulia DeSalvo, Afshin Rostamizadeh, and Ameet Talwalkar. Hyperband: A novel bandit-based approach to hyperparameter optimization. arXiv preprint arXiv:1603.06560, 2016.
230
+ Mark McLeod, Michael A Osborne, and Stephen J Roberts. Practical bayesian optimization for variable cost objectives. arXiv preprint arXiv:1703.04335, 2017.
231
+ Paul Milgrom and Ilya Segal. Envelope theorems for arbitrary choice sets. Econometrica, 70(2):583–601, 2002.
232
+ Matthias Poloczek, Jialei Wang, and Peter I Frazier. Multi-information source optimization. In Advances in Neural Information Processing Systems, 2017. Accepted for publication. ArXiv preprint 1603.00389.
233
+ Carl Edward Rasmussen and Hannes Nickisch. documentation for gpml matlab code version 4.0. http://www.gaussianprocess. org/gpml/code/matlab/doc/, 2016.
234
+ Carl Edward Rasmussen and Christopher K.˜I. Williams. Gaussian Processes for Machine Learning. MIT Press, 2006. ISBN ISBN 0-262- 18253-X.
235
+ Stephen P Smith. Differentiation of the cholesky algorithm. Journal of Computational and Graphical Statistics, 4(2):134 – 147, 1995.
236
+ Jasper Snoek, Hugo Larochelle, and Ryan P Adams. Practical bayesian optimization of machine learning algorithms. In Advances in neural information processing systems, pp. 2951–2959, 2012.
237
+ Kevin Swersky, Jasper Snoek, and Ryan P Adams. Multi-task bayesian optimization. In Advances in neural information processing systems, pp. 2004–2012, 2013.
238
+ Kevin Swersky, Jasper Snoek, and Ryan Prescott Adams. Freeze-thaw bayesian optimization. arXiv preprint arXiv:1406.3896, 2014.
239
+ Andrew Gordon Wilson and Hannes Nickisch. Kernel interpolation for scalable structured gaussian processes (kiss-gp). In ICML, pp. 1775– 1784, 2015.
240
+ Jian Wu and Peter Frazier. The parallel knowledge gradient method for batch bayesian optimization. In Advances in Neural Information Processing Systems, pp. 3126–3134, 2016.
241
+ Jian Wu, Matthias Poloczek, Andrew Gordon Wilson, and Peter I Frazier. Bayesian optimization with gradients. In Advances in Neural Information Processing Systems, 2017. Accepted for publication. ArXiv preprint 1703.04389.
242
+
243
+ # A ADDITIONAL EXPERIMENTAL DETAILS
244
+
245
+ Here we define in detail the synthetic test functions on which we perform numerical experiments described in Sect. 4.1. The test functions are:
246
+
247
+ $$
248
+ \begin{array} { r c l } { \mathrm { a u g m e n t e d - B r a m i n } ( x , s ) } & { = } & { \displaystyle \left( x _ { 2 } - \left( \frac { 5 . 1 } { 4 \pi ^ { 2 } } - 0 . 0 0 1 * ( 1 - s _ { 1 } ) \right) x _ { 1 } ^ { 2 } + \frac { 5 } { \pi } x _ { 1 } - 6 \right) ^ { 2 } } \\ & & { \displaystyle + 1 0 * \left( 1 - \frac { 1 } { 8 \pi } \right) \cos ( x _ { 1 } ) + 1 0 } \\ { \mathrm { a g m e n t e d - H a r t m a m } ( x , s ) } & { = } & { \displaystyle ( \alpha _ { 1 } - 0 . 0 1 * ( 1 - s _ { 1 } ) ) \exp \left( - \sum _ { j = 1 } ^ { d } A _ { i j } ( x _ { j } - P _ { \mathrm { i j } } ) ^ { 2 } \right) } \\ & & { \displaystyle + \sum _ { i = 2 } ^ { d } \alpha _ { i } \exp \left( - \sum _ { j = 1 } ^ { d } A _ { i j } ( x _ { j } - P _ { \mathrm { i j } } ) ^ { 2 } \right) } \\ { \mathrm { b a r e n t e d - R o s e n b r o c k } ( x , s ) } & { = } & { \displaystyle \sum _ { i = 1 } ^ { 2 } \left( 1 0 0 * ( x _ { i + 1 } - x _ { i } ^ { 2 } + 0 . 0 0 1 * ( 1 - s _ { 1 } ) ) ^ { 2 } + ( x _ { i } - 1 ) ^ { 2 } \right) . } \end{array}
249
+ $$
parse/train/SknC0bW0-/SknC0bW0-_content_list.json ADDED
@@ -0,0 +1,1162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "CONTINUOUS-FIDELITY BAYESIAN OPTIMIZATION WITH KNOWLEDGE GRADIENT ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 784,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 170,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 250
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "While Bayesian optimization (BO) has achieved great success in optimizing expensive-to-evaluate black-box functions, especially tuning hyperparameters of neural networks, methods such as random search (Li et al., 2016) and multifidelity BO (e.g. Klein et al. (2017)) that exploit cheap approximations, e.g. training on a smaller training data or with fewer iterations, can outperform standard BO approaches that use only full-fidelity observations. In this paper, we propose a novel Bayesian optimization algorithm, the continuous-fidelity knowledge gradient (cfKG) method, that can be used when fidelity is controlled by one or more continuous settings such as training data size and the number of training iterations. cfKG characterizes the value of the information gained by sampling a point at a given fidelity, choosing to sample at the point and fidelity with the largest value per unit cost. Furthermore, cfKG can be generalized, following Wu et al. (2017), to settings where derivatives are available in the optimization process, e.g. large-scale kernel learning, and where more than one point can be evaluated simultaneously. Numerical experiments show that cfKG outperforms state-of-art algorithms when optimizing synthetic functions, tuning convolutional neural networks (CNNs) on CIFAR-10 and SVHN, and in large-scale kernel learning. ",
40
+ "bbox": [
41
+ 233,
42
+ 266,
43
+ 764,
44
+ 501
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 531,
55
+ 334,
56
+ 547
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "In hyperparameter tuning of machine learning models, we seek to find a set of hyperparameters $x$ in some set A to minimize the validation error $f ( x )$ , i.e., to solve ",
63
+ "bbox": [
64
+ 171,
65
+ 564,
66
+ 823,
67
+ 592
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "equation",
73
+ "img_path": "images/5f864310dd6c088c8f4a2d93c10743fd08c231f9f7be127ac71509ced9c96062.jpg",
74
+ "text": "$$\n\\operatorname* { m i n } _ { x \\in \\mathbb { A } } f ( x )\n$$",
75
+ "text_format": "latex",
76
+ "bbox": [
77
+ 465,
78
+ 601,
79
+ 532,
80
+ 625
81
+ ],
82
+ "page_idx": 0
83
+ },
84
+ {
85
+ "type": "text",
86
+ "text": "Evaluating $f ( x )$ can take substantial time and computational power (Bergstra & Bengio, 2012), and may not provide gradient evaluations. Thus, machine learning practitioners have turned to Bayesian optimization for solving (1.1) (Snoek et al., 2012) because it tends to find good solutions with few function evaluations (Jones et al., 1998). ",
87
+ "bbox": [
88
+ 174,
89
+ 633,
90
+ 823,
91
+ 689
92
+ ],
93
+ "page_idx": 0
94
+ },
95
+ {
96
+ "type": "text",
97
+ "text": "As the computational expense of training and testing a modern deep neural network for a single set of hyperparameters has grown as long as days or weeks, it has become natural to seek ways to solve (1.1) more quickly by supplanting some evaluations of $f ( x )$ with computationally inexpensive lowfidelity approximations. Indeed, when training a neural network or most other machine learning models, we can approximate $f ( x )$ by training on less than the full training data, or using fewer training iterations. Both of these controls on fidelity can be set to achieve either better accuracy or lower computational cost across a range of values reasonably modeled as continuous. ",
98
+ "bbox": [
99
+ 174,
100
+ 695,
101
+ 825,
102
+ 792
103
+ ],
104
+ "page_idx": 0
105
+ },
106
+ {
107
+ "type": "text",
108
+ "text": "In this paper, we consider optimization with evaluations of multiple fidelities and costs where the fidelity is controlled by one or more continuous parameters. We model these evaluations by a realvalued function $g ( x , s )$ where $f ( x ) : = g ( x , 1 _ { m } )$ and $s \\in [ 0 , 1 ] ^ { m }$ denotes the $m$ fidelity-control parameters. $g ( x , s )$ can be evaluated, optionally with noise, at a cost that depends on $x$ and $s$ . In the context of hyperparameter tuning, we may take $m = 2$ and let $g ( x , s _ { 1 } , s _ { 2 } )$ denote the loss on the validation set when training using hyperparameters $x$ with a fraction $s _ { 1 }$ of the training data and a fraction $s _ { 2 }$ of some maximum allowed number of training iterations. We may also set $m = 1$ and let $s$ index either training data or training iterations. We assume A is a compact connected uncountable set into which it is easy to project, such as a hyperrectangle. ",
109
+ "bbox": [
110
+ 174,
111
+ 799,
112
+ 825,
113
+ 924
114
+ ],
115
+ "page_idx": 0
116
+ },
117
+ {
118
+ "type": "text",
119
+ "text": "This problem setting also appears outside of hyperparameter tuning, in any application where the objective is expensive to evaluate and we may observe cheap low-fidelity approximations parameterized by a continuous vector. For example, when optimizing a system evaluated via a Monte Carlo simulator, we can evaluate a system configuration approximately by running with fewer replications. Also, when optimizing an engineering system modeled by a partial differential equation (PDE), we can evaluate a system configuration approximately by solving the PDE using a coarse grid. ",
120
+ "bbox": [
121
+ 174,
122
+ 103,
123
+ 823,
124
+ 186
125
+ ],
126
+ "page_idx": 1
127
+ },
128
+ {
129
+ "type": "text",
130
+ "text": "Given this problem setting, we use the knowledge gradient approach (Frazier et al., 2009) to design an algorithm to adaptively select the hyperparameter configuration and fidelity to evaluate, to best support solving (1.1). By generalizing a computational technique based on the envelope theorem first developed in Wu et al. (2017), our algorithm supports parallel function evaluations, and also can take advantage of derivative observations when they are available. This algorithm chooses the point or set of points to evaluate next that maximizes the ratio of the value of information from evaluation against its cost. ",
131
+ "bbox": [
132
+ 174,
133
+ 193,
134
+ 825,
135
+ 290
136
+ ],
137
+ "page_idx": 1
138
+ },
139
+ {
140
+ "type": "text",
141
+ "text": "Unlike most existing work on discrete- and continuous-fidelity Bayesian optimization, our approach considers the impact of our measurement on the future posterior distribution over the full feasible domain, while existing expected-improvement-based approaches consider its impact at only the point evaluated. One exception is the entropy-search-based method [10], which also considers the impact over the full posterior. Our approach differs from entropy search in that it chooses points to sample to directly minimize expected simple regret, while entropy search seeks to minimize the entropy of the location or value of the global optimizer, indirectly reducing simple regret. ",
142
+ "bbox": [
143
+ 174,
144
+ 296,
145
+ 825,
146
+ 393
147
+ ],
148
+ "page_idx": 1
149
+ },
150
+ {
151
+ "type": "text",
152
+ "text": "We summarize our contributions as follows. ",
153
+ "bbox": [
154
+ 176,
155
+ 401,
156
+ 462,
157
+ 415
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "text",
163
+ "text": "Contributions of this paper: ",
164
+ "text_level": 1,
165
+ "bbox": [
166
+ 176,
167
+ 421,
168
+ 369,
169
+ 435
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "text",
175
+ "text": "• We develop a novel Bayesian Optimization algorithm, the continuous-fidelity knowledge gradient (cfKG) method, which chooses the point and fidelity to sample next that maximizes the ratio of the value of information to its cost; • After first developing this algorithm in the sequential derivative-free setting, and inspired by Wu et al. (2017), we generalize to settings where function evaluations may be performed in parallel, and where we can access possibly noisy and biased gradient information. • We show that our algorithm outperforms a number of start-of-art benchmark algorithms when optimizing common synthetic functions, tuning convolutional neural networks on CIFAR-10 and SVHN, and in a large-scale kernel learning example. ",
176
+ "bbox": [
177
+ 214,
178
+ 448,
179
+ 825,
180
+ 583
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "The rest of the paper is organized as follows. Sect. 2 reviews related work. Sect. 3 presents the cfKG method. Sect. 4 tests cfKG on benchmarks including synthetic functions and hyperparameter tuning for deep learning and kernel learning. Sect. 5 concludes. ",
187
+ "bbox": [
188
+ 178,
189
+ 594,
190
+ 825,
191
+ 637
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "text",
197
+ "text": "2 RELATED WORK ",
198
+ "text_level": 1,
199
+ "bbox": [
200
+ 176,
201
+ 656,
202
+ 341,
203
+ 672
204
+ ],
205
+ "page_idx": 1
206
+ },
207
+ {
208
+ "type": "text",
209
+ "text": "Algorithms exploiting inexpensive low-fidelity approximations for hyperparameter tuning have been proposed both within and outside the field of Bayesian optimization. ",
210
+ "bbox": [
211
+ 173,
212
+ 689,
213
+ 821,
214
+ 717
215
+ ],
216
+ "page_idx": 1
217
+ },
218
+ {
219
+ "type": "text",
220
+ "text": "Outside of Bayesian optimization, Li et al. (2016) develops an early-stopping method called Hyperband that can outperform traditional Bayesian optimization when tuning hyperparameters within a random search framework by adaptively allocating a single predefined resource that can be taken to be the number of training iterations or the amount of training data. In contrast to Hyperband we allow more than one fidelity control, support derivative observations, and use one-step optimality in terms of value vs. cost to select the point or points to sample. We compare against Hyperband in our numerical experiments, and show improved performance training a convolutional neural network. ",
221
+ "bbox": [
222
+ 174,
223
+ 723,
224
+ 825,
225
+ 820
226
+ ],
227
+ "page_idx": 1
228
+ },
229
+ {
230
+ "type": "text",
231
+ "text": "Using a modified expected improvement (EI) acquisition function, Huang et al. (2006) and Lam et al. (2015) develop methods for multi-fidelity settings with a finite discrete set of low-fidelity approximations. We call this the “discrete-fidelity setting” to contrast it with the continuous-fidelity setting we consider here. We do not compare against discrete-fidelity methods in our numerical experiments as both Kandasamy et al. (2017) and Klein et al. (2017) show that continuous-fidelity methods can find good solutions in continuous-fidelity problems as much as an order of magnitude faster than discrete-fidelity ones. ",
232
+ "bbox": [
233
+ 174,
234
+ 827,
235
+ 823,
236
+ 924
237
+ ],
238
+ "page_idx": 1
239
+ },
240
+ {
241
+ "type": "text",
242
+ "text": "In the specific context of hyperparameter tuning, Domhan et al. (2015) proposes a simple early stopping criterion combined with SMAC (an EI acquisition function with a random forest based statistical model) in which evaluation of a configuration is stopped if its performance is predicted to be worse than the current best configuration. ",
243
+ "bbox": [
244
+ 174,
245
+ 103,
246
+ 823,
247
+ 159
248
+ ],
249
+ "page_idx": 2
250
+ },
251
+ {
252
+ "type": "text",
253
+ "text": "Kandasamy et al. (2016) generalizes the upper confidence bound (UCB) criteria to the discretefidelity setting, and further generalizes to continuous fidelities in Kandasamy et al. (2017). We compare against Kandasamy et al. (2017) in our numerical experiments, finding that cfKG provides improved performance when the budget is sufficiently large. This may be because the UCB criteria was originally designed for minimizing the cumulative regret and not simple regret, with the simple regret bounds resulting from theoretical analysis of cumulative regret being loose enough to be consistent with the empirical performance gap we observe in our experiments. It may also be because both Kandasamy et al. (2016) and Kandasamy et al. (2017) use a two-stage process in which the point to evaluate is selected without considering the fidelity, and the fidelity only selecting afterward. In contrast, cfKG selects the point and fidelity jointly, and considers the impact of fidelity choice on the best point to sample. ",
254
+ "bbox": [
255
+ 174,
256
+ 166,
257
+ 825,
258
+ 318
259
+ ],
260
+ "page_idx": 2
261
+ },
262
+ {
263
+ "type": "text",
264
+ "text": "Entropy search has also been extended to the discrete-fidelity setting by Swersky et al. (2013). Considering training iterations as a one-dimensional continuous fidelity control, Swersky et al. (2014) generalizes Swersky et al. (2013) to this specific continuous-fidelity setting. Klein et al. (2017) adapts entropy search to settings where the size of the training data is a one-dimensional continuous fidelity control. McLeod et al. (2017) extends predictive entropy search to settings with one fidelity control and provides a faster way to compute the acquisition function. ",
265
+ "bbox": [
266
+ 174,
267
+ 324,
268
+ 823,
269
+ 407
270
+ ],
271
+ "page_idx": 2
272
+ },
273
+ {
274
+ "type": "text",
275
+ "text": "Poloczek et al. (2017) develops a knowledge gradient method for the discrete-fidelity setting, but does not consider the continuous-fidelity setting. Our computational techniques are quite different from the ones developed there, as necessitated by our consideration of continuous fidelities. As an advantageous byproduct, our computational techniques also avoid the need to discrete A. ",
276
+ "bbox": [
277
+ 174,
278
+ 414,
279
+ 823,
280
+ 469
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "This paper proposes the first knowledge gradient method for continuous-fidelity settings, and show how to generalize it to the batch and derivative-enabled settings by generalizing the computational technique developed in Wu et al. (2017). To the best of our knowledge, this is the first multi-fidelity batch Bayesian optimization algorithm. The relationship of this paper to the existing multi-fidelity BO literature is summarized in Table. 1. ",
287
+ "bbox": [
288
+ 174,
289
+ 477,
290
+ 823,
291
+ 545
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "table",
297
+ "img_path": "images/abbd47b80ff52996b43e9008d934deb98e4b187290baf7ba8709de75c3bd1089.jpg",
298
+ "table_caption": [
299
+ "Table 1: Summary of the multi-fidelity BO literature. "
300
+ ],
301
+ "table_footnote": [],
302
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Literature summary</td><td rowspan=1 colspan=1>EI/SMAC</td><td rowspan=1 colspan=1>Entropy Search</td><td rowspan=1 colspan=1>UCB</td><td rowspan=1 colspan=1>KnowledgeGradient</td></tr><tr><td rowspan=1 colspan=1>Discrete-fidelity</td><td rowspan=1 colspan=1>Huang et al. (2006);Lam et al. (2015)</td><td rowspan=1 colspan=1>Swersky et al. (2013)</td><td rowspan=1 colspan=1>Kandasamyet al. (2016)</td><td rowspan=1 colspan=1>Poloczeket al. (2017)</td></tr><tr><td rowspan=1 colspan=1>Continuous-fidelity</td><td rowspan=1 colspan=1>Domhan et al. (2015)</td><td rowspan=1 colspan=1>Swersky et al. (2014);Klein et al.(2017);McLeod et al. (2017)</td><td rowspan=1 colspan=1>Kandasamyet al. (2017)</td><td rowspan=1 colspan=1>This paper</td></tr></table>",
303
+ "bbox": [
304
+ 173,
305
+ 554,
306
+ 820,
307
+ 655
308
+ ],
309
+ "page_idx": 2
310
+ },
311
+ {
312
+ "type": "text",
313
+ "text": "Our method is also related to knowledge gradient methods for single-fidelity BO. In particular, the way in which we extend cfKG from the sequential (one evaluation at a time) derivative-free setting to allow batches of points and gradient observations follows work extending single-fidelity knowledge-gradient methods to the batch and derivative settings in Wu & Frazier (2016) and $\\mathrm { W u }$ et al. (2017). We also generalize the envelope-theorem based computational technique developed for the single-fidelity setting in Wu et al. (2017) to continuous fidelities. We compare with single-fidelity knowledge gradient methods in our numerical experiments, and show that cfKG is able to levarage inexpensive low-fidelity observations to provide improved performance in both derivative-free and derivative-enabled settings. ",
314
+ "bbox": [
315
+ 173,
316
+ 694,
317
+ 825,
318
+ 818
319
+ ],
320
+ "page_idx": 2
321
+ },
322
+ {
323
+ "type": "text",
324
+ "text": "3 CONTINUOUS-FIDELITY KNOWLEDGE GRADIENT ",
325
+ "text_level": 1,
326
+ "bbox": [
327
+ 174,
328
+ 838,
329
+ 609,
330
+ 853
331
+ ],
332
+ "page_idx": 2
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "In this section, we propose the continuous-fidelity knowledge gradient (cfKG), a novel Bayesian optimization algorithm that exploits inexpensive low-fidelity approximations. This algorithm, like most Bayesian optimization algorithms, consists of a statistical model and an acquisition function. cfKG proceeds iteratively by fitting the statistical model (described below in Section 3.1) to all previously sampled (point, fidelty) pairs, and then finding and sampling the (point, fidelity) pair that maximizes the acquisition function. Once the budget is exhausted, at some iteration $N$ , cfKG returns as its final solution the point with the lowest estimated $g ( x , 1 _ { m } )$ . ",
337
+ "bbox": [
338
+ 174,
339
+ 868,
340
+ 823,
341
+ 924
342
+ ],
343
+ "page_idx": 2
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "",
348
+ "bbox": [
349
+ 174,
350
+ 103,
351
+ 823,
352
+ 146
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "To describe cfKG in detail, Sect. 3.1 first describes Gaussian process regression for modeling both $g ( x , s )$ and its cost of evaluation. This approach is standard, with the novelty arising in cfKG’s acquisition function and how we optimize it. Then, Sect. 3.2 presents the cfKG acquisition function, which values sampling a (point, fidelity) pair according to the ratio of the value of the information gained from sampling that point at that fidelity, to the cost of doing so. Sect. 3.3 generalizes an envelope-theorem based computational technique developed in $\\mathrm { W u }$ et al. (2017) to efficiently maximize this acquisition function. We discuss extensions to the derivative-enabled setting in Sect. 3.4. ",
359
+ "bbox": [
360
+ 173,
361
+ 151,
362
+ 825,
363
+ 250
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "3.1 GAUSSIAN PROCESSES ",
370
+ "text_level": 1,
371
+ "bbox": [
372
+ 174,
373
+ 268,
374
+ 372,
375
+ 282
376
+ ],
377
+ "page_idx": 3
378
+ },
379
+ {
380
+ "type": "text",
381
+ "text": "We put a Gaussian process (GP) prior (Rasmussen & Williams, 2006) on the function $g$ or its logarithm. We describe this procedure placing the prior on $g$ directly, and then discuss below when we recommend instead placing it on $( { \\bar { x } } , s ) \\mapsto \\log { \\bar { g } } ( x , s )$ . The GP prior is defined by its mean function $\\mu ^ { ( 0 ) } : \\mathbb { A } \\times [ 0 , 1 ] ^ { m } \\mapsto \\mathbb { R }$ and kernel function $K ^ { ( 0 ) } : \\{ \\mathbb { A } \\times [ 0 , 1 ] ^ { m } \\} \\times \\{ \\mathbb { A } \\times [ 0 , 1 ] ^ { m } \\} \\mapsto \\mathbb { R }$ . These mean and kernel functions have hyperparameters, whose inference we discuss below. ",
382
+ "bbox": [
383
+ 174,
384
+ 295,
385
+ 825,
386
+ 367
387
+ ],
388
+ "page_idx": 3
389
+ },
390
+ {
391
+ "type": "text",
392
+ "text": "We assume that evaluations of $g ( x , s )$ are subject to additive independent normally distributed noise with common variance $\\sigma ^ { 2 }$ . We treat the parameter $\\sigma ^ { 2 }$ as a hyperparameter of our model, and also discuss its inference below. Our assumption of normally distributed noise with constant variance is common in the BO literature (Klein et al., 2017). ",
393
+ "bbox": [
394
+ 174,
395
+ 372,
396
+ 825,
397
+ 429
398
+ ],
399
+ "page_idx": 3
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "The posterior distribution of $g$ after $n$ function evaluations at points $\\begin{array} { r l r } { z ^ { ( 1 : n ) } } & { { } : = } & { } \\end{array}$ $\\{ ( x ^ { ( 1 ) } , s ^ { ( 1 ) } ) , ( x ^ { ( 2 ) } , s ^ { ( 2 ) } ) , \\cdot \\cdot \\cdot , ( x ^ { ( n ) } , s ^ { ( n ) } ) \\}$ with observed values $y ^ { ( 1 : n ) } : = \\{ y ^ { ( 1 ) } , y ^ { ( 2 ) } , \\cdot \\cdot \\cdot , y ^ { ( n ) } \\}$ remains a Gaussian process (Rasmussen & Williams, 2006), and $g \\mid z ^ { ( 1 : n ) } , y ^ { ( 1 : n ) } \\sim \\mathbf { G P } ( \\mu ^ { n } , K ^ { ( n ) } )$ with $\\mu ^ { n }$ and $K ^ { ( n ) }$ evaluated at a point $z = ( x , s )$ (or pair of points $z$ , $\\tilde { z } = ( \\tilde { x } , \\tilde { s } ) )$ given as follows ",
404
+ "bbox": [
405
+ 174,
406
+ 435,
407
+ 823,
408
+ 497
409
+ ],
410
+ "page_idx": 3
411
+ },
412
+ {
413
+ "type": "equation",
414
+ "img_path": "images/130e271be08460c6e5eca20407ea6c2f8027be6ceb5466c73d038662700926bd.jpg",
415
+ "text": "$$\n\\begin{array} { r l r } & { } & { \\mu ^ { ( n ) } ( z ) = \\mu ^ { ( 0 ) } \\left( z \\right) + K ^ { ( 0 ) } \\left( z , z ^ { ( 1 : n ) } \\right) \\left( K ^ { ( 0 ) } ( z ^ { ( 1 : n ) } , z ^ { ( 1 : n ) } ) + \\sigma ^ { 2 } I \\right) ^ { - 1 } \\left( y ^ { ( 1 : n ) } - \\mu ( z ^ { ( 1 : n ) } ) \\right) , } \\\\ & { } & { K ^ { ( n ) } \\left( z , \\tilde { z } \\right) = K ^ { ( 0 ) } ( z , \\tilde { z } ) - K ^ { ( 0 ) } \\left( z , z ^ { ( 1 : n ) } \\right) \\left( K ^ { ( 0 ) } ( z ^ { ( 1 : n ) } , z ^ { ( 1 : n ) } ) + \\sigma ^ { 2 } I \\right) ^ { - 1 } K ^ { ( 0 ) } \\left( z ^ { ( 1 : n ) } , \\tilde { z } \\right) . } \\end{array}\n$$",
416
+ "text_format": "latex",
417
+ "bbox": [
418
+ 181,
419
+ 506,
420
+ 816,
421
+ 568
422
+ ],
423
+ "page_idx": 3
424
+ },
425
+ {
426
+ "type": "text",
427
+ "text": "This statistical approach contains several hyperparameters: the variance $\\sigma ^ { 2 }$ , and any parameters in the mean and kernel functions. We treat these hyperparameters in a Bayesian way as proposed in Snoek et al. (2012). ",
428
+ "bbox": [
429
+ 174,
430
+ 598,
431
+ 823,
432
+ 640
433
+ ],
434
+ "page_idx": 3
435
+ },
436
+ {
437
+ "type": "text",
438
+ "text": "When $g$ is the validation error in a hyperparameter optimization problem, we recommend putting a GP prior on $\\log g ( x , s )$ , rather than on $g ( x , s )$ directly, because (1) $g ( x , s )$ is nonnegative and will be allowed to be negative after log scaling, better matching the range of values assumed by the GP, and (2) because $g ( x , s )$ can climb steeply over several orders of magnitude as we move away from the optimal $x$ , making $\\log g ( x , s )$ easier to model. ",
439
+ "bbox": [
440
+ 174,
441
+ 646,
442
+ 825,
443
+ 717
444
+ ],
445
+ "page_idx": 3
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "We analogously train a separate GP on the logarithm of the cost of evaluating $g ( x , s )$ ",
450
+ "bbox": [
451
+ 176,
452
+ 722,
453
+ 732,
454
+ 737
455
+ ],
456
+ "page_idx": 3
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "3.2 THE CFKG ACQUISITION FUNCTION ",
461
+ "text_level": 1,
462
+ "bbox": [
463
+ 176,
464
+ 756,
465
+ 464,
466
+ 771
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "cfKG samples the point and fidelity that jointly maximize an acquisition function, which we define in this section by adopting the knowledge gradient concept (Frazier et al., 2009) in the continuousfidelity setting to value the information gained through one additional sample. ",
473
+ "bbox": [
474
+ 174,
475
+ 784,
476
+ 823,
477
+ 825
478
+ ],
479
+ "page_idx": 3
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "If we were to stop sampling after $n$ samples, we would select as our solution to (1.1) a point $x$ with minimum estimated validation error $\\mu ^ { ( n ) } ( x , 1 _ { m } )$ , and this point would have a conditional expected validation error of $\\begin{array} { r } { \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\mu ^ { ( n ) } ( x , 1 _ { m } ) } \\end{array}$ under the posterior. If instead we took an additional sample at $x ^ { ( n + 1 ) }$ with the fidelity $s ^ { ( n + 1 ) }$ , then the minimum expected validation error under the resulting posterior would become minx∈A µ(n+1)(x, 1m). This quantity depends on x(n+1) and s(n+1) through the dependence of $\\boldsymbol { \\mu } ^ { ( n + 1 ) } ( x , \\boldsymbol { 1 } _ { m } )$ on the point and fidelity sampled, and is random under the posterior at iteration $n$ because $\\boldsymbol { \\mu } ^ { ( n + 1 ) } ( x , \\boldsymbol { 1 } _ { m } )$ depends on the observation $y ^ { ( n + 1 ) }$ . We discuss this dependence explicitly in Sect. 3.3. ",
484
+ "bbox": [
485
+ 173,
486
+ 832,
487
+ 825,
488
+ 924
489
+ ],
490
+ "page_idx": 3
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "",
495
+ "bbox": [
496
+ 173,
497
+ 102,
498
+ 823,
499
+ 132
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "text",
505
+ "text": "The value of the information gained by sampling at $x ^ { ( n + 1 ) }$ with the fidelity $s ^ { ( n + 1 ) }$ conditioned on any particular outcome $y ^ { ( n + 1 ) }$ is thus the difference of these two expected validation errors $\\begin{array} { r } { \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\mu ^ { ( n ) } ( x , 1 _ { m } ) - \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\mu ^ { ( n + 1 ) } ( x , 1 _ { m } ) } \\end{array}$ . We then take the expectation of this difference, over the random outcome $y ^ { ( n + 1 ) }$ , to obtain the (unconditional) value of the information gained, and take the ratio of this value with the cost of obtaining it to obtain the cfKG acquistion function, ",
506
+ "bbox": [
507
+ 173,
508
+ 138,
509
+ 825,
510
+ 214
511
+ ],
512
+ "page_idx": 4
513
+ },
514
+ {
515
+ "type": "equation",
516
+ "img_path": "images/9d7d32e0f24d645dd7a907d6b82006c88d36b77c08c76b105972b62955be7829.jpg",
517
+ "text": "$$\n\\operatorname { c f K G } ( x , s ) = { \\frac { \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n ) } ( x ^ { \\prime } , 1 _ { m } ) - \\mathbb { E } _ { n } \\left[ \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n + 1 ) } ( x ^ { \\prime } , 1 _ { m } ) \\mid x ^ { ( n + 1 ) } = x , s ^ { ( n + 1 ) } = s \\right] } { \\cot ^ { ( n ) } ( x , s ) } } ,\n$$",
518
+ "text_format": "latex",
519
+ "bbox": [
520
+ 171,
521
+ 218,
522
+ 805,
523
+ 256
524
+ ],
525
+ "page_idx": 4
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "where $\\mathrm { c o s t } ^ { ( n ) } ( x , s )$ is the estimated cost of evaluating at $x$ with the fidelity $s$ based on the observations available at iteration $n$ , according to the GP described in Sect. 3.1, and $\\mathbb { E } _ { n }$ indicates the expectation taken with respect to the posterior given $\\boldsymbol { x } ^ { ( 1 : n ) } , \\boldsymbol { s } ^ { ( 1 : n ) } , \\boldsymbol { y } ^ { ( 1 : n ) }$ . ",
530
+ "bbox": [
531
+ 173,
532
+ 261,
533
+ 823,
534
+ 306
535
+ ],
536
+ "page_idx": 4
537
+ },
538
+ {
539
+ "type": "text",
540
+ "text": "The cfKG algorithm chooses to sample at the point and fidelity that jointly maximize the cfKG acquistion function ",
541
+ "bbox": [
542
+ 173,
543
+ 311,
544
+ 820,
545
+ 340
546
+ ],
547
+ "page_idx": 4
548
+ },
549
+ {
550
+ "type": "equation",
551
+ "img_path": "images/60ff86cda5c185cb919f5e519366c7e8cc6692051da654f0449cd43e6a92ba65.jpg",
552
+ "text": "$$\n\\operatorname* { m a x } _ { ( x , s ) \\in \\mathbb { A } \\times [ 0 , 1 ] ^ { m } } { \\mathrm { c f K G } } ( x , s ) .\n$$",
553
+ "text_format": "latex",
554
+ "bbox": [
555
+ 411,
556
+ 338,
557
+ 586,
558
+ 363
559
+ ],
560
+ "page_idx": 4
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "Although this acquisition function considers the expected value of an improvement due to sampling, it differs from expected improvement approaches such as Lam et al. (2015) because the point at which an improvement occurs, $\\operatorname { a r g m a x } _ { x \\in \\mathbb { A } } \\mu ^ { ( n + 1 ) } ( x , 1 _ { m } )$ may differ from the point sampled. Moreover, this acquisition function allows joint valuation of both the point $x$ and the fidelity $s$ , while approaches such as Lam et al. (2015) require valuing a point $x$ assuming it will be evaluated at full fidelity and then choose the fidelity in a second stage. ",
565
+ "bbox": [
566
+ 173,
567
+ 372,
568
+ 825,
569
+ 458
570
+ ],
571
+ "page_idx": 4
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "cfKG generalizes naturally to batch settings where we can evaluate multiple (point, fidelity) pairs at once. We value joint evaluation of $q \\geq 1$ points $x _ { 1 : q }$ at fidelities $s _ { 1 : q }$ , where $z _ { 1 : q } =$ $\\mathsf { \\bar { ( } } ( x _ { 1 } , s _ { 1 } ) , \\ldots , ( x _ { q } , s _ { q } ) )$ , by ",
576
+ "bbox": [
577
+ 173,
578
+ 463,
579
+ 823,
580
+ 507
581
+ ],
582
+ "page_idx": 4
583
+ },
584
+ {
585
+ "type": "equation",
586
+ "img_path": "images/43e8e037b27197aed398e7861356b90f751f1e1512c306c151f60917582df1a1.jpg",
587
+ "text": "$$\n\\mathsf { q \\mathrm { - } \\mathrm { c f K G } } ( z _ { 1 : q } ) = \\frac { \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n ) } ( x ^ { \\prime } , 1 _ { m } ) - \\mathbb { E } _ { n } \\left[ \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n + q ) } ( x ^ { \\prime } , 1 _ { m } ) \\mid z ^ { ( n + 1 : n + q ) } = z _ { 1 : q } \\right] } { \\operatorname* { m a x } _ { 1 \\leq i \\leq q } \\mathrm { c o s t } ^ { ( n ) } ( z ^ { ( n + i ) } ) } ,\n$$",
588
+ "text_format": "latex",
589
+ "bbox": [
590
+ 192,
591
+ 510,
592
+ 803,
593
+ 549
594
+ ],
595
+ "page_idx": 4
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "We then modify (3.3) by sampling at the batch of points and fidelities that maximize ",
600
+ "bbox": [
601
+ 174,
602
+ 559,
603
+ 725,
604
+ 574
605
+ ],
606
+ "page_idx": 4
607
+ },
608
+ {
609
+ "type": "equation",
610
+ "img_path": "images/91f9777fde39510a1180bec589ce2353128187a2d81b7c5abf838697112900fe.jpg",
611
+ "text": "$$\n\\operatorname* { m a x } _ { z _ { 1 : q } \\subset \\mathbb { A } \\times [ 0 , 1 ] ^ { m } } { \\bf q } \\mathrm { - c f K G } ( z _ { 1 : q } )\n$$",
612
+ "text_format": "latex",
613
+ "bbox": [
614
+ 392,
615
+ 579,
616
+ 573,
617
+ 604
618
+ ],
619
+ "page_idx": 4
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "Although we have defined the cfKG algorithm’s sampling decision theoretically, (3.3) or (3.5) are challenging optimization problems and naive brute-force approaches are unlikely to produce highquality results with a reasonable amount of computation. Thus, in the next section, we discuss efficient computational methods for solving (3.3) and (3.5). ",
624
+ "bbox": [
625
+ 173,
626
+ 616,
627
+ 825,
628
+ 672
629
+ ],
630
+ "page_idx": 4
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "3.3 ENVELOPE-THEOREM-BASED COMPUTATIONAL METHOD ",
635
+ "text_level": 1,
636
+ "bbox": [
637
+ 173,
638
+ 689,
639
+ 607,
640
+ 703
641
+ ],
642
+ "page_idx": 4
643
+ },
644
+ {
645
+ "type": "text",
646
+ "text": "In this section, we describe computational methods for solving (3.3) and (3.5). We describe our method in the context of (3.5), and observe that (3.3) is a special case. ",
647
+ "bbox": [
648
+ 171,
649
+ 713,
650
+ 823,
651
+ 742
652
+ ],
653
+ "page_idx": 4
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "We generalize a recently proposed envelope-theorem based computational method developed for single-fidelity optimization in Wu et al. (2017), which is used to provide unbiased estimators of both $\\mathbf { q }$ -cfKG and its gradient. We then use stochastic gradient ascent to optimize the q-cfKG acquistion function, optionally with multiple starts. ",
658
+ "bbox": [
659
+ 173,
660
+ 748,
661
+ 825,
662
+ 805
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "3.3.1 ESTIMATING Q-CFKG ",
669
+ "text_level": 1,
670
+ "bbox": [
671
+ 174,
672
+ 819,
673
+ 382,
674
+ 834
675
+ ],
676
+ "page_idx": 4
677
+ },
678
+ {
679
+ "type": "text",
680
+ "text": "To support computation, we express $\\mu ^ { ( n + q ) } ( x , 1 _ { m } )$ that results from a chosen batch of points and fidelities $z ^ { ( n + 1 : n + q ) } = z _ { 1 : q }$ as ",
681
+ "bbox": [
682
+ 174,
683
+ 842,
684
+ 823,
685
+ 875
686
+ ],
687
+ "page_idx": 4
688
+ },
689
+ {
690
+ "type": "equation",
691
+ "img_path": "images/236069233dff41e3ab7262535514d953664196caed103c70969ccda8f9dbd776.jpg",
692
+ "text": "$$\n\\begin{array} { l l l } { \\iota ^ { ( n + q ) } ( x , 1 _ { m } ) } & { = } & { \\mu ^ { ( n ) } ( x , 1 _ { m } ) + } \\\\ & & { K ^ { ( n ) } ( ( x , 1 _ { m } ) , z _ { 1 : q } ) \\left( K ^ { ( n ) } ( z _ { 1 : q } , z _ { 1 : q } ) + \\sigma ^ { 2 } I \\right) ^ { - 1 } \\left( y ^ { ( n + 1 : n + q ) } - \\mu ^ { ( n ) } ( z _ { 1 : q } ) \\right) . } \\end{array}\n$$",
693
+ "text_format": "latex",
694
+ "bbox": [
695
+ 181,
696
+ 878,
697
+ 826,
698
+ 929
699
+ ],
700
+ "page_idx": 4
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "Because $y ^ { ( n + 1 : n + q ) } \\ - \\ \\mu ^ { ( n ) } ( z _ { 1 : q } )$ is normally distributed with zero mean and covariance matrix $( K ^ { ( n ) } ( z _ { 1 : q } , z _ { 1 : q } ) + \\sigma ^ { 2 } I )$ with respect to the posterior after $n$ observations, we can rewrite $\\boldsymbol { \\mu } ^ { ( n + q ) } \\left( \\boldsymbol { x } , \\boldsymbol { 1 } _ { m } \\right)$ as ",
705
+ "bbox": [
706
+ 173,
707
+ 102,
708
+ 825,
709
+ 151
710
+ ],
711
+ "page_idx": 5
712
+ },
713
+ {
714
+ "type": "equation",
715
+ "img_path": "images/974460571647175ceb2e4cc718e9d87da6bc1f36ce1798120efb14615c667bcd.jpg",
716
+ "text": "$$\n\\begin{array} { r l r } { \\mu ^ { ( n + q ) } \\left( x , 1 _ { m } \\right) } & { = } & { \\mu ^ { ( n ) } \\left( x , 1 _ { m } \\right) + \\tilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } , } \\end{array}\n$$",
717
+ "text_format": "latex",
718
+ "bbox": [
719
+ 321,
720
+ 160,
721
+ 674,
722
+ 183
723
+ ],
724
+ "page_idx": 5
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "where $W _ { q }$ is a standard $q$ -dimensional normal random vector, and ",
729
+ "bbox": [
730
+ 173,
731
+ 189,
732
+ 606,
733
+ 204
734
+ ],
735
+ "page_idx": 5
736
+ },
737
+ {
738
+ "type": "equation",
739
+ "img_path": "images/7f0d3706c2b45b76f94845e781b40a40192cedf1f3f2df64f591d34efe8e7f02.jpg",
740
+ "text": "$$\n\\begin{array} { r c l } { \\tilde { \\sigma } _ { n } ( x , z _ { ( 1 : q ) } ) } & { = } & { K ^ { ( n ) } \\left( ( x , 1 _ { m } ) , z _ { 1 : q } \\right) \\left( D ^ { ( n ) } \\left( z _ { 1 : q } \\right) ^ { T } \\right) ^ { - 1 } , } \\end{array}\n$$",
741
+ "text_format": "latex",
742
+ "bbox": [
743
+ 302,
744
+ 213,
745
+ 692,
746
+ 243
747
+ ],
748
+ "page_idx": 5
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "where $D ^ { ( n ) } \\left( z _ { 1 : q } \\right)$ is the Cholesky factor of the covariance matrix $K ^ { ( n ) } \\left( z _ { 1 : q } , z _ { 1 : q } \\right) + \\sigma ^ { 2 } I .$ ",
753
+ "bbox": [
754
+ 171,
755
+ 253,
756
+ 761,
757
+ 270
758
+ ],
759
+ "page_idx": 5
760
+ },
761
+ {
762
+ "type": "text",
763
+ "text": "Thus, to provide an unbiased Monte Carlo estimator of the expectation within (3.4), we may sample $W _ { q }$ , and then calculate $\\begin{array} { r } { \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n + q ) } ( x ^ { \\prime } , 1 _ { m } ) = \\operatorname* { m i n } _ { x ^ { \\prime } \\in \\mathbb { A } } \\mu ^ { ( n ) } \\left( x , 1 _ { m } \\right) + \\tilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } } \\end{array}$ . To do this optimization, we use a second-order continuous optimization method, where the gradient and Hessian of $\\boldsymbol { \\mu } ^ { ( n + q ) } \\left( \\boldsymbol { x } , \\boldsymbol { 1 } _ { m } \\right)$ with respect to $x$ in (3.6) can be computed by calculating the gradient and Hessian of $\\boldsymbol { \\mu } ^ { ( n ) } \\left( \\boldsymbol { x } , \\boldsymbol { 1 } _ { m } \\right)$ and $\\tilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right)$ . We can then compute the $\\mathbf { q }$ -cfKG acquistion function to arbitrary accuracy by averaging many such independent Monte Carlo estimates. ",
764
+ "bbox": [
765
+ 173,
766
+ 275,
767
+ 825,
768
+ 364
769
+ ],
770
+ "page_idx": 5
771
+ },
772
+ {
773
+ "type": "text",
774
+ "text": "3.3.2 ESTIMATING THE GRADIENT OF Q-CFKG ",
775
+ "text_level": 1,
776
+ "bbox": [
777
+ 173,
778
+ 382,
779
+ 513,
780
+ 397
781
+ ],
782
+ "page_idx": 5
783
+ },
784
+ {
785
+ "type": "text",
786
+ "text": "To solve (3.5), we generalize a recently proposed computational method based on the envelope theorem from $\\mathrm { W u }$ et al. (2017) to provide an unbiased estimator of the gradient of the $\\mathsf { q }$ -cfKG acquisition function, and then use stochastic gradient ascent. ",
787
+ "bbox": [
788
+ 173,
789
+ 406,
790
+ 826,
791
+ 449
792
+ ],
793
+ "page_idx": 5
794
+ },
795
+ {
796
+ "type": "text",
797
+ "text": "Exploiting (3.6), the q-cfKG acquisition function can be expressed as ",
798
+ "bbox": [
799
+ 173,
800
+ 455,
801
+ 629,
802
+ 470
803
+ ],
804
+ "page_idx": 5
805
+ },
806
+ {
807
+ "type": "equation",
808
+ "img_path": "images/91cca73d239e7f6a9d069117e3ad6b47617164a9a20b2b56b5f3d37e0da09c14.jpg",
809
+ "text": "$$\n\\mathsf { q } \\mathsf { - } \\mathsf { c f K G } ( z _ { 1 : q } ) = \\frac { \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\mu ^ { ( n ) } \\left( x , 1 _ { m } \\right) - \\mathbb { E } _ { n } \\left[ \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\left( \\mu ^ { ( n ) } \\left( x , 1 _ { m } \\right) + \\tilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } \\right) \\right] } { \\operatorname* { m a x } _ { 1 \\leq i \\leq q } \\mathsf { c o s t } ^ { ( n ) } \\left( x _ { i } , s _ { i } \\right) } ,\n$$",
810
+ "text_format": "latex",
811
+ "bbox": [
812
+ 189,
813
+ 479,
814
+ 774,
815
+ 518
816
+ ],
817
+ "page_idx": 5
818
+ },
819
+ {
820
+ "type": "text",
821
+ "text": "where $W _ { q }$ is a standard $q$ -dimensional normal random vector, $\\begin{array} { r l r } { \\tilde { \\sigma } _ { n } ( x , z _ { ( 1 : q ) } ) } & { { } = } & { } \\end{array}$ $K ^ { ( n ) } ( ( x , 1 _ { m } ) , z _ { 1 : q } ) ( D ^ { ( n ) } ( z _ { 1 : q } ) ^ { T } ) ^ { - 1 }$ , and $D ^ { ( n ) } \\left( z _ { 1 : q } \\right)$ is the Cholesky factor of the covariance matrix $K ^ { ( n ) } \\left( z _ { 1 : q } , z _ { 1 : q } \\right) ~ + ~ \\sigma ^ { 2 } I .$ $\\nabla \\mathbf { q } \\mathbf { - } \\mathbf { c f K G } ( z _ { 1 : q } )$ can be computed from $\\begin{array} { r l } { { - \\nabla \\mathbb { E } _ { n } [ \\operatorname* { m i n } _ { x \\in \\mathbb { A } } ( \\mu ^ { ( n ) } ( x , 1 _ { m } ) + \\tilde { \\sigma } _ { n } ( x , z _ { 1 : q } ) W _ { q } ) ] } \\quad } & { { } } \\end{array}$ and $\\begin{array} { r } { \\nabla \\operatorname* { m a x } _ { 1 \\leq i \\leq q } \\operatorname { c o s t } ^ { ( n ) } \\big ( z ^ { ( n + i ) } \\big ) } \\end{array}$ , where differentiability of $\\mathrm { c o s t } ^ { ( n ) } ( \\cdot )$ implies $\\operatorname* { m a x } _ { 1 \\leq i \\leq q } \\cos t ^ { ( n ) } ( x _ { i } , s _ { i } )$ is differentiable almost everywhere. To compute the first term, under sufficient regularity conditions (L’Ecuyer, 1990) that we conjecture hold in most applications to hyperparameter tuning, one can interchange the gradient and expectation operators, ",
822
+ "bbox": [
823
+ 173,
824
+ 526,
825
+ 826,
826
+ 650
827
+ ],
828
+ "page_idx": 5
829
+ },
830
+ {
831
+ "type": "equation",
832
+ "img_path": "images/25f7c69a155695b993a502a04d5e881f4ec75da519377b70201244ad00b103b0.jpg",
833
+ "text": "$$\n\\nabla \\mathbb { E } _ { n } \\left[ \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\left( \\mu ^ { ( n ) } \\left( x , 1 _ { m } \\right) + \\widetilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } \\right) \\right] = \\mathbb { E } _ { n } \\left[ \\nabla \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\left( \\mu ^ { ( n ) } ( x , 1 _ { m } ) + \\widetilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } \\right) \\right] .\n$$",
834
+ "text_format": "latex",
835
+ "bbox": [
836
+ 171,
837
+ 659,
838
+ 812,
839
+ 694
840
+ ],
841
+ "page_idx": 5
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "This technique is called infinitesimal perturbation analysis (IPA) (L’Ecuyer, 1990). ",
846
+ "bbox": [
847
+ 174,
848
+ 702,
849
+ 717,
850
+ 717
851
+ ],
852
+ "page_idx": 5
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "Since multiplication, matrix inversion (when the inverse exists), and Cholesky factorization (Smith, 1995) preserve continuous differentiability, $( x , z _ { 1 : q } ) \\mapsto \\left( \\mu ^ { ( n ) } ( x , 1 _ { m } ) + \\tilde { \\sigma } _ { n } ( x , z _ { 1 : q } ) W _ { q } \\right)$ is continuously differentiable under mild regularity conditions. When this function is continuously differentiable and A is compact, the envelope theorem (Milgrom $\\&$ Segal, 2002, Corollary 4) implies ",
857
+ "bbox": [
858
+ 173,
859
+ 723,
860
+ 825,
861
+ 781
862
+ ],
863
+ "page_idx": 5
864
+ },
865
+ {
866
+ "type": "equation",
867
+ "img_path": "images/de460c7f97a98998cb1387a6b48bcf823b77afa7cef199e46f3266e6ad90a82d.jpg",
868
+ "text": "$$\n\\begin{array} { r l } & { \\mathbb { E } _ { n } \\left[ \\nabla \\underset { x \\in \\mathbb { A } } { \\mathrm { m i n } } \\left( \\mu ^ { ( n ) } ( x , 1 _ { m } ) + \\tilde { \\sigma } _ { n } \\left( x , z _ { 1 : q } \\right) W _ { q } \\right) \\right] } \\\\ & { = \\mathbb { E } _ { n } \\left[ \\nabla \\left( \\mu ^ { ( n ) } \\left( x ^ { * } ( W _ { q } ) , 1 _ { m } \\right) + \\tilde { \\sigma } _ { n } \\left( x ^ { * } ( W _ { q } ) , z _ { 1 : q } \\right) \\cdot W _ { q } \\right) \\right] , } \\\\ & { = \\mathbb { E } _ { n } \\left[ \\nabla \\tilde { \\sigma } _ { n } \\left( x ^ { * } ( W _ { q } ) , z _ { 1 : q } \\right) \\cdot W _ { q } \\right] , } \\end{array}\n$$",
869
+ "text_format": "latex",
870
+ "bbox": [
871
+ 299,
872
+ 790,
873
+ 696,
874
+ 872
875
+ ],
876
+ "page_idx": 5
877
+ },
878
+ {
879
+ "type": "text",
880
+ "text": "where $\\boldsymbol { x } ^ { * } ( W _ { q } ) \\in \\arg \\operatorname* { m i n } _ { \\boldsymbol { x } \\in \\mathbb { A } } \\left( \\mu ^ { ( n ) } ( \\boldsymbol { x } , \\boldsymbol { 1 } _ { m } ) + \\tilde { \\sigma } _ { n } ( \\boldsymbol { x } , \\boldsymbol { z } _ { 1 : q } ) W _ { q } \\right)$ . We can use this unbiased gradient estimator within stochastic gradient ascent (Harold et al., 2003) to solve the optimization problem (3.5). ",
881
+ "bbox": [
882
+ 176,
883
+ 881,
884
+ 821,
885
+ 924
886
+ ],
887
+ "page_idx": 5
888
+ },
889
+ {
890
+ "type": "text",
891
+ "text": "3.4 EXTENSIONS TO DERIVATIVE-ENABLED SETTINGS ",
892
+ "text_level": 1,
893
+ "bbox": [
894
+ 174,
895
+ 104,
896
+ 557,
897
+ 117
898
+ ],
899
+ "page_idx": 6
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "Following $\\mathbf { W } \\mathbf { u }$ et al. (2017), which developed single-fidelity BO methods for use when gradient information is available, we develop a version of the cfKG algorithm, called derivative-enabled cfKG, that can be used when gradients are available in the continuous-fidelity setting. This can be used to reduce the number of function evaluations required to find a high-quality solution to (1.1). ",
904
+ "bbox": [
905
+ 174,
906
+ 128,
907
+ 825,
908
+ 185
909
+ ],
910
+ "page_idx": 6
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "First, observe that a $G P ( \\mu ^ { n } , K ^ { n } )$ prior on $g ( x , s )$ implies a multi-output $G P ( \\tilde { \\mu } ^ { n } , \\tilde { K } ^ { n } )$ prior on $( g , \\nabla _ { x } g )$ . Then, observe that the same reasoning we used to develop the cfKG acquistion function in (3.2) can be used when when we observe gradients to motivate the acquisition function, ",
915
+ "bbox": [
916
+ 174,
917
+ 193,
918
+ 825,
919
+ 236
920
+ ],
921
+ "page_idx": 6
922
+ },
923
+ {
924
+ "type": "equation",
925
+ "img_path": "images/babd220d62f5824db1440b8f3c82dd3a421f1bb2e61be51b3f9d060cde29fada.jpg",
926
+ "text": "$$\n\\mathtt { c f - d - K G } ( x , s ) = \\frac { \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\tilde { \\mu } _ { 1 } ^ { ( n ) } ( x , 1 _ { m } ) - \\mathbb { E } _ { n } \\left[ \\operatorname* { m i n } _ { x \\in \\mathbb { A } } \\tilde { \\mu } _ { 1 } ^ { ( n + 1 ) } ( x , 1 _ { m } ) \\mid x ^ { ( n + 1 ) } = x , s ^ { ( n + 1 ) } ) = s \\right] } { \\cos \\mathfrak { c } ^ { ( n ) } ( x , s ) } ,\n$$",
927
+ "text_format": "latex",
928
+ "bbox": [
929
+ 181,
930
+ 242,
931
+ 820,
932
+ 289
933
+ ],
934
+ "page_idx": 6
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "where $\\cos \\mathbf { t } ^ { ( n ) } ( x , s )$ is now our estimate after $n$ samples of the cost of evaluating both $g$ and its gradient with respect to $x$ , and $\\tilde { \\mu } _ { 1 } ^ { ( n ) } ( x , s )$ is the posterior mean on $g ( x , s )$ in the multi-output GP. The conditional expectation is taken with respect to both the observed function value and gradient. A batch version of the derivative-enabled cfKG acquistion function can be defined analogously. We use techniques similar to those described in Sect. 3.3 to optimize these acquisition functions. ",
939
+ "bbox": [
940
+ 174,
941
+ 296,
942
+ 825,
943
+ 369
944
+ ],
945
+ "page_idx": 6
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "4 NUMERICAL EXPERIMENTS ",
950
+ "text_level": 1,
951
+ "bbox": [
952
+ 176,
953
+ 391,
954
+ 433,
955
+ 406
956
+ ],
957
+ "page_idx": 6
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "In this section, we compare sequential, batch, and derivative-enabled cfKG with several benchmark algorithms on four synthetic functions, tuning convolutional neural networks on CIFAR-10 and SVHN, and on large-scale kernel learning. Our benchmarks include the traditional Bayesian optimization algorithms KG (Wu & Frazier, 2016) and EI (Jones et al., 1998), and the multi-fidelity Bayesian optimization with continuous approximation algorithm (BOCA) (Kandasamy et al., 2017). We also compare with Hyperband (Li et al., 2016) in the CIFRA-10 experiment, and with derivativeenabled KG (Wu et al., 2017) in the kernel-learning experiment. We use squared-exponential kernels with constant mean functions and integrate out the GP hyperparameters by sampling $M = 1 0$ sets of hyperparameters using the emcee package (Foreman-Mackey et al., 2013). ",
962
+ "bbox": [
963
+ 173,
964
+ 422,
965
+ 825,
966
+ 546
967
+ ],
968
+ "page_idx": 6
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "4.1 OPTIMIZING SYNTHETIC FUNCTIONS ",
973
+ "text_level": 1,
974
+ "bbox": [
975
+ 178,
976
+ 565,
977
+ 468,
978
+ 579
979
+ ],
980
+ "page_idx": 6
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "Inspired by numerical experiments in Kandasamy et al. (2017), we modify four standard synthetic test functions, 2-d Branin, 3-d Rosenbrock, 3-d Hartmann, and 6-d Hartmann, by adding 1 fidelity control, as described in detail in Appendix. A. We use cost $\\textstyle \\operatorname { c o s t } ( x , s ) : = \\prod _ { i = 1 } ^ { \\bar { m } } ( 0 . 0 1 + s _ { i } )$ to mimic the linear cost of training a neural network with more data and longer iterations, and $\\begin{array} { r } { \\mathrm { c o s t } ( z _ { 1 : q } ) : = \\mathrm { m a x } _ { 1 \\leq j \\leq q } \\mathrm { c o s t } ( z _ { j } ) } \\end{array}$ to mimic wall-clock time for training $q$ neural networks in parallel. Fig. 1 summarizes the results. cfKG achieves lower simple regret than competitors at the same cost. ",
985
+ "bbox": [
986
+ 174,
987
+ 590,
988
+ 825,
989
+ 686
990
+ ],
991
+ "page_idx": 6
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "4.2 TUNING CONVOLUTIONAL NEURAL NETWORKS ON CIFAR-10 AND SVHN ",
996
+ "text_level": 1,
997
+ "bbox": [
998
+ 176,
999
+ 705,
1000
+ 732,
1001
+ 719
1002
+ ],
1003
+ "page_idx": 6
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "text": "We use sequential and batch cfKG to tune convolution neural networks (CNNs) on CIFAR-10 and SVHN. Our CNN consists of 3 convolutional blocks and a softmax classification layer. Each convolutional block consists of two convolutional layers with the same number of filters followed by a max-pooling layer. There is no dropout or batch-normalization layer. We split the CIFAR-10 dataset into 40000 training samples, 10000 validation samples and 10000 test samples. We split the SVHN training dataset into 67235 training samples and 6000 validation samples, and use the standard 26032 test samples. We apply standard data augmentation: horizontal and vertical shifts, and horizontal flips. We optimize 5 hyperparameters to minimize the classification error on the validation set: the learning rate, batch size, and number of filters in each convolutional block. cfKG and $\\mathbf { q }$ -cfKG use two fidelity controls: the size of the training set and the number of training iterations. Hyperband uses the size of the training set as its resource (it can use only one resource or fidelity), using a bracket size of $s _ { \\operatorname* { m a x } } = 4$ as in Li et al. (2016) and the maximum resource allowed by a single configuration set to 40000. We set the maximum number of training epochs for all algorithms to 50 for CIFAR-10 and 40 for SVHN. Fig. 2 shows the performance of cfKG relative to several benchmarks. cfKG successfully exploits the cheap approximations and find a good solution much faster than KG and Hyperband. When we train using optimized hyperparameters on the full training dataset for 200 epochs, test data classification error is $\\sim 1 2 \\%$ for CIFAR-10 and $\\sim 5 \\%$ for SVHN. ",
1008
+ "bbox": [
1009
+ 174,
1010
+ 731,
1011
+ 825,
1012
+ 924
1013
+ ],
1014
+ "page_idx": 6
1015
+ },
1016
+ {
1017
+ "type": "image",
1018
+ "img_path": "images/08281fbda24d24ce93e41224a3219369ec0988b387e4f0eb1f4f7b0c2407a9e0.jpg",
1019
+ "image_caption": [
1020
+ "Figure 1: Optimizing 4 synthetic functions: 2-d Branin, 3-d Rosenbrock, 3-d Hartmann, and 6-d Hartmann with 20 independent runs. Fidelity is 1-d. "
1021
+ ],
1022
+ "image_footnote": [],
1023
+ "bbox": [
1024
+ 199,
1025
+ 107,
1026
+ 776,
1027
+ 441
1028
+ ],
1029
+ "page_idx": 7
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "",
1034
+ "bbox": [
1035
+ 176,
1036
+ 492,
1037
+ 821,
1038
+ 534
1039
+ ],
1040
+ "page_idx": 7
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "4.3 LARGE-SCALE KERNEL LEARNING ",
1045
+ "text_level": 1,
1046
+ "bbox": [
1047
+ 176,
1048
+ 558,
1049
+ 452,
1050
+ 570
1051
+ ],
1052
+ "page_idx": 7
1053
+ },
1054
+ {
1055
+ "type": "text",
1056
+ "text": "We use derivative-enabled cfKG (cf-d-KG) in a large-scale kernel learning example obtained by modifying the 1-d demo example for KISS-GP (Wilson & Nickisch, 2015) on the GPML website (Rasmussen & Nickisch, 2016). In this example, we optimize 3 hyperparameters (the alpha, the length scale and the variance of the noise) of a GP with an RBF kernel on 1 million training points to maximize the log marginal likelihood. We evaluate both the log marginal likelihood and its gradient using the KISS-GP framework. We use two fidelity controls: the number of training points and the number of inducing points in the KISS-GP framework. We set the maximum number of inducing points to $m = 1 0 0 0$ . We compare cf-d-KG to the derivative-enabled knowledge gradient (d-KG) (Wu et al., 2017) both with batch size $q = 8$ . Fig. 2 shows that cf-d-KG successfully utilizes the inexpensive function and gradient evaluations to find a good solution more quickly. ",
1057
+ "bbox": [
1058
+ 173,
1059
+ 585,
1060
+ 825,
1061
+ 723
1062
+ ],
1063
+ "page_idx": 7
1064
+ },
1065
+ {
1066
+ "type": "image",
1067
+ "img_path": "images/580470d835d17f9de2683c6601f0aeb8d69bb5c35eaa24f6276dd39aa59cf605.jpg",
1068
+ "image_caption": [
1069
+ "Figure 2: From left to right: Tuning convolutional neural networks on CIFAR-10 and SVHN with 6 independent runs, and kernel learning under the KISS-GP framework with 10 independent runs. "
1070
+ ],
1071
+ "image_footnote": [],
1072
+ "bbox": [
1073
+ 241,
1074
+ 748,
1075
+ 746,
1076
+ 887
1077
+ ],
1078
+ "page_idx": 7
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "5 CONCLUSION ",
1083
+ "text_level": 1,
1084
+ "bbox": [
1085
+ 174,
1086
+ 102,
1087
+ 318,
1088
+ 118
1089
+ ],
1090
+ "page_idx": 8
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "We propose a novel continuous-fidelity BO algorithm, cfKG, which generalizes naturally to batch and derivative settings. This algorithm can find good solutions to global optimization problems with less cost than state-of-art algorithms in applications including deep learning and kernel learning. ",
1095
+ "bbox": [
1096
+ 174,
1097
+ 132,
1098
+ 825,
1099
+ 176
1100
+ ],
1101
+ "page_idx": 8
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "REFERENCES ",
1106
+ "text_level": 1,
1107
+ "bbox": [
1108
+ 174,
1109
+ 193,
1110
+ 285,
1111
+ 208
1112
+ ],
1113
+ "page_idx": 8
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(Feb): 281–305, 2012. \nTobias Domhan, Jost Tobias Springenberg, and Frank Hutter. Speeding up automatic hyperparameter optimization of deep neural networks by extrapolation of learning curves. In IJCAI, pp. 3460–3468, 2015. \nDaniel Foreman-Mackey, David W Hogg, Dustin Lang, and Jonathan Goodman. emcee: the mcmc hammer. Publications of the Astronomical Society of the Pacific, 125(925):306, 2013. \nPeter Frazier, Warren Powell, and Savas Dayanik. The knowledge-gradient policy for correlated normal beliefs. INFORMS journal on Computing, 21(4):599–613, 2009. \nJ Harold, G Kushner, and George Yin. Stochastic approximation and recursive algorithm and applications. Springer, 2003. \nDeng Huang, TT Allen, WI Notz, and RA Miller. Sequential kriging optimization using multiple-fidelity evaluations. Structural and Multidisciplinary Optimization, 32(5):369–382, 2006. \nDonald R Jones, Matthias Schonlau, and William J Welch. Efficient global optimization of expensive black-box functions. Journal of Global optimization, 13(4):455–492, 1998. \nKirthevasan Kandasamy, Gautam Dasarathy, Junier B Oliva, Jeff Schneider, and Barnabas P ´ oczos. Gaussian process bandit optimisation with ´ multi-fidelity evaluations. In Advances in Neural Information Processing Systems, pp. 992–1000, 2016. \nKirthevasan Kandasamy, Gautam Dasarathy, Jeff Schneider, and Barnabas Poczos. Multi-fidelity bayesian optimisation with continuous approximations. In ICML, 2017. Accepted for publication. ArXiv preprint 1703.06240. \nAaron Klein, Stefan Falkner, Simon Bartels, Philipp Hennig, and Frank Hutter. Fast bayesian optimization of machine learning hyperparameters on large datasets. In Artificial Intelligence and Statistics, 2017. Accepted for publication. ArXiv preprint arXiv:1605.07079. \nRemi Lam, Douglas Allaire, and Karen Willcox. Multifidelity optimization using statistical surrogate modeling for non-hierarchical information sources. In 56th AIAA/ASCE/AHS/ASC Structures, Structural Dynamics, and Materials Conference, pp. 0143, 2015. \nPierre L’Ecuyer. A unified view of the IPA, SF, and LR gradient estimation techniques. Management Science, 36(11):1364–1383, 1990. \nLisha Li, Kevin Jamieson, Giulia DeSalvo, Afshin Rostamizadeh, and Ameet Talwalkar. Hyperband: A novel bandit-based approach to hyperparameter optimization. arXiv preprint arXiv:1603.06560, 2016. \nMark McLeod, Michael A Osborne, and Stephen J Roberts. Practical bayesian optimization for variable cost objectives. arXiv preprint arXiv:1703.04335, 2017. \nPaul Milgrom and Ilya Segal. Envelope theorems for arbitrary choice sets. Econometrica, 70(2):583–601, 2002. \nMatthias Poloczek, Jialei Wang, and Peter I Frazier. Multi-information source optimization. In Advances in Neural Information Processing Systems, 2017. Accepted for publication. ArXiv preprint 1603.00389. \nCarl Edward Rasmussen and Hannes Nickisch. documentation for gpml matlab code version 4.0. http://www.gaussianprocess. org/gpml/code/matlab/doc/, 2016. \nCarl Edward Rasmussen and Christopher K.˜I. Williams. Gaussian Processes for Machine Learning. MIT Press, 2006. ISBN ISBN 0-262- 18253-X. \nStephen P Smith. Differentiation of the cholesky algorithm. Journal of Computational and Graphical Statistics, 4(2):134 – 147, 1995. \nJasper Snoek, Hugo Larochelle, and Ryan P Adams. Practical bayesian optimization of machine learning algorithms. In Advances in neural information processing systems, pp. 2951–2959, 2012. \nKevin Swersky, Jasper Snoek, and Ryan P Adams. Multi-task bayesian optimization. In Advances in neural information processing systems, pp. 2004–2012, 2013. \nKevin Swersky, Jasper Snoek, and Ryan Prescott Adams. Freeze-thaw bayesian optimization. arXiv preprint arXiv:1406.3896, 2014. \nAndrew Gordon Wilson and Hannes Nickisch. Kernel interpolation for scalable structured gaussian processes (kiss-gp). In ICML, pp. 1775– 1784, 2015. \nJian Wu and Peter Frazier. The parallel knowledge gradient method for batch bayesian optimization. In Advances in Neural Information Processing Systems, pp. 3126–3134, 2016. \nJian Wu, Matthias Poloczek, Andrew Gordon Wilson, and Peter I Frazier. Bayesian optimization with gradients. In Advances in Neural Information Processing Systems, 2017. Accepted for publication. ArXiv preprint 1703.04389. ",
1118
+ "bbox": [
1119
+ 171,
1120
+ 208,
1121
+ 828,
1122
+ 905
1123
+ ],
1124
+ "page_idx": 8
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "A ADDITIONAL EXPERIMENTAL DETAILS ",
1129
+ "text_level": 1,
1130
+ "bbox": [
1131
+ 174,
1132
+ 102,
1133
+ 531,
1134
+ 118
1135
+ ],
1136
+ "page_idx": 9
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "Here we define in detail the synthetic test functions on which we perform numerical experiments described in Sect. 4.1. The test functions are: ",
1141
+ "bbox": [
1142
+ 173,
1143
+ 132,
1144
+ 825,
1145
+ 161
1146
+ ],
1147
+ "page_idx": 9
1148
+ },
1149
+ {
1150
+ "type": "equation",
1151
+ "img_path": "images/e38a1d95d045b4a1aaab490a9303cc7b0fad54e01fc7c24563bc29973bf2e852.jpg",
1152
+ "text": "$$\n\\begin{array} { r c l } { \\mathrm { a u g m e n t e d - B r a m i n } ( x , s ) } & { = } & { \\displaystyle \\left( x _ { 2 } - \\left( \\frac { 5 . 1 } { 4 \\pi ^ { 2 } } - 0 . 0 0 1 * ( 1 - s _ { 1 } ) \\right) x _ { 1 } ^ { 2 } + \\frac { 5 } { \\pi } x _ { 1 } - 6 \\right) ^ { 2 } } \\\\ & & { \\displaystyle + 1 0 * \\left( 1 - \\frac { 1 } { 8 \\pi } \\right) \\cos ( x _ { 1 } ) + 1 0 } \\\\ { \\mathrm { a g m e n t e d - H a r t m a m } ( x , s ) } & { = } & { \\displaystyle ( \\alpha _ { 1 } - 0 . 0 1 * ( 1 - s _ { 1 } ) ) \\exp \\left( - \\sum _ { j = 1 } ^ { d } A _ { i j } ( x _ { j } - P _ { \\mathrm { i j } } ) ^ { 2 } \\right) } \\\\ & & { \\displaystyle + \\sum _ { i = 2 } ^ { d } \\alpha _ { i } \\exp \\left( - \\sum _ { j = 1 } ^ { d } A _ { i j } ( x _ { j } - P _ { \\mathrm { i j } } ) ^ { 2 } \\right) } \\\\ { \\mathrm { b a r e n t e d - R o s e n b r o c k } ( x , s ) } & { = } & { \\displaystyle \\sum _ { i = 1 } ^ { 2 } \\left( 1 0 0 * ( x _ { i + 1 } - x _ { i } ^ { 2 } + 0 . 0 0 1 * ( 1 - s _ { 1 } ) ) ^ { 2 } + ( x _ { i } - 1 ) ^ { 2 } \\right) . } \\end{array}\n$$",
1153
+ "text_format": "latex",
1154
+ "bbox": [
1155
+ 183,
1156
+ 166,
1157
+ 815,
1158
+ 386
1159
+ ],
1160
+ "page_idx": 9
1161
+ }
1162
+ ]
parse/train/SknC0bW0-/SknC0bW0-_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/SknC0bW0-/SknC0bW0-_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/eNdiU_DbM9/eNdiU_DbM9.md ADDED
@@ -0,0 +1,444 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # UNCERTAINTY SETS FOR IMAGE CLASSIFIERS USING CONFORMAL PREDICTION
2
+
3
+ Anastasios N. Angelopoulos∗, Stephen Bates∗, Jitendra Malik, & Michael I. Jordan
4
+
5
+ Departments of Electrical Engineering and Computer Sciences and Statistics University of California, Berkeley {angelopoulos,stephenbates,malik,jordan}@cs.berkeley.edu
6
+
7
+ # ABSTRACT
8
+
9
+ Convolutional image classifiers can achieve high predictive accuracy, but quantifying their uncertainty remains an unresolved challenge, hindering their deployment in consequential settings. Existing uncertainty quantification techniques, such as Platt scaling, attempt to calibrate the network’s probability estimates, but they do not have formal guarantees. We present an algorithm that modifies any classifier to output a predictive set containing the true label with a user-specified probability, such as $9 0 \%$ . The algorithm is simple and fast like Platt scaling, but provides a formal finite-sample coverage guarantee for every model and dataset. Our method modifies an existing conformal prediction algorithm to give more stable predictive sets by regularizing the small scores of unlikely classes after Platt scaling. In experiments on both Imagenet and Imagenet-V2 with ResNet-152 and other classifiers, our scheme outperforms existing approaches, achieving coverage with sets that are often factors of 5 to 10 smaller than a stand-alone Platt scaling baseline.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Imagine you are a doctor making a high-stakes medical decision based on diagnostic information from a computer vision classifier. What would you want the classifier to output in order to make the best decision? This is not a casual hypothetical; such classifiers are already used in medical settings (e.g., Razzak et al., 2018; Lundervold & Lundervold, 2019; Li et al., 2014). A maximumlikelihood diagnosis with an accompanying probability may not be the most essential piece of information. To ensure the health of the patient, you must also rule in or rule out harmful diagnoses. In other words, even if the most likely diagnosis is a stomach ache, it is equally or more important to rule out stomach cancer. Therefore, you would want the classifier to give you—in addition to an estimate of the most likely outcome—actionable uncertainty quantification, such as a set of predictions that provably covers the true diagnosis with a high probability (e.g., $9 0 \%$ ). This is called a prediction set (see Figure 1). Our paper describes a method for constructing prediction sets from any pre-trained image classifier that are formally guaranteed to contain the true class with the desired probability, relatively small, and practical to implement. Our method modifies a conformal predictor (Vovk et al., 2005) given in Romano et al. (2020) for the purpose of modern image classification in order to make it more stable in the presence of noisy small probability estimates. Just as importantly, we provide extensive evaluations and code for conformal prediction in computer vision.
14
+
15
+ Formally, for a discrete response $Y \in \mathcal { Y } = \{ 1 , \dots , K \}$ and a feature vector $X \in \mathbb { R } ^ { d }$ , we desire an uncertainty set function, $\mathcal C ( X )$ , mapping a feature vector to a subset of $\{ 1 , \ldots , K \}$ such that
16
+
17
+ $$
18
+ P ( Y \in { \mathcal { C } } ( X ) ) \geq 1 - \alpha ,
19
+ $$
20
+
21
+ for a pre-specified confidence level $\alpha$ such as $10 \%$ . Conformal predictors like our method can modify any black-box classifier to output predictive sets that are rigorously guaranteed to satisfy the desired coverage property shown in Eq. (1). For evaluations, we focus on Imagenet classification using convolutional neural networks (CNNs) as the base classifiers, since this is a particularly challenging testbed. In this setting, $X$ would be the image and $Y$ would be the class label. Note that the guarantee in Eq. (1) is marginal over $X$ and $Y$ —it holds on average, not for a particular image $X$ .
22
+
23
+ ![](images/b83feab4a65aeb1ea9135e5026304f4f1735b7bfef87c18aee1dda3542d2f0c0.jpg)
24
+ Figure 1: Prediction set examples on Imagenet. We show three examples of the class fox squirrel and the $9 5 \%$ prediction sets generated by RAPS to illustrate how the size of the set changes as a function of the difficulty of a test-time image.
25
+
26
+ A first approach toward this goal might be to assemble the set by including classes from highest to lowest probability (e.g., after Platt scaling and a softmax function; see Platt et al., 1999; Guo et al., 2017) until their sum just exceeds the threshold $1 - \alpha$ . We call this strategy naive and formulate it precisely in Algorithm 1. There are two problems with naive: first, the probabilities output by CNNs are known to be incorrect (Nixon et al., 2019), so the sets from naive do not achieve coverage. Second, image classification models’ tail probabilities are often badly miscalibrated, leading to large sets that do not faithfully articulate the uncertainty of the model; see Section 2.3. Moreover, smaller sets that achieve the same coverage level can be generated with other methods.
27
+
28
+ The coverage problem can be solved by picking a new threshold using holdout samples. For example, with $\alpha = 1 0 \%$ , if choosing sets that contain $93 \%$ estimated probability achieves $90 \%$ coverage on the holdout set, we use the $93 \%$ cutoff instead. We refer to this algorithm, introduced in Romano et al. (2020), as Adaptive Prediction Sets (APS). The APS procedure provides coverage but still produces large sets. To fix this, we introduce a regularization technique that tempers the influence of these noisy estimates, leading to smaller, more stable sets. We describe our proposed algorithm, Regularized Adaptive Prediction Sets (RAPS), in Algorithms 2 and 3 (with APS as a special case). As we will see in Section 2, both APS and RAPS are always guaranteed to satisfy Eq. (1)—regardless of model and dataset. Furthermore, we show that RAPS is guaranteed to have better performance than choosing a fixed-size set. Both methods impose negligible computational requirements in both training and evaluation, and output useful estimates of the model’s uncertainty on a new image given, say, 1000 held-out examples.
29
+
30
+ In Section 3 we conduct the most extensive evaluation of conformal prediction in deep learning to date on Imagenet and Imagenet-V2. We find that RAPS sets always have smaller average size than naive and APSsets. For example, using a ResNeXt-101, naive does not achieve coverage, while APS and RAPS achieve it almost exactly. However, APS sets have an average size of 19, while RAPS sets have an average size of 2 at $\alpha = 1 0 \%$ (Figure 2 and Table 1). We will provide an accompanying codebase that implements our method as a wrapper for any PyTorch classifier, along with code to exactly reproduce all of our experiments.
31
+
32
+ # 1.1 RELATED WORK
33
+
34
+ Reliably estimating predictive uncertainty for neural networks is an unsolved problem. Historically, the standard approach has been to train a Bayesian neural network to learn a distribution over network weights (Quinonero-Candela et al., 2005; MacKay, 1992; Neal, 2012; Kuleshov et al., 2018; Gal, 2016). This approach requires computational and algorithmic modifications; other approaches avoid these via ensembles (Lakshminarayanan et al., 2017; Jiang et al., 2018) or approximations of Bayesian inference (Riquelme et al., 2018; Sensoy et al., 2018). These methods also have major practical limitations; for example, ensembling requires training many copies of a neural network adversarially. Therefore, the most widely used strategy is ad-hoc traditional calibration of the softmax scores with Platt scaling (Platt et al., 1999; Guo et al., 2017; Nixon et al., 2019).
35
+
36
+ This work develops a method for uncertainty quantification based on conformal prediction. Originating in the online learning literature, conformal prediction is an approach for generating predictive sets that satisfy the coverage property in Eq. (1) (Vovk et al., 1999; 2005). We use a convenient data-splitting version known as split conformal prediction that enables conformal prediction methods to be deployed for essentially any predictor (Papadopoulos et al., 2002; Lei et al., 2018). While mechanically very different from traditional calibration as discussed above, we will refer to our approach as conformal calibration to highlight that the two methodologies have overlapping but different goals.
37
+
38
+ ![](images/b145734d9ee59705d4626150202e0ceb926d2eef94d6631535a4e1e770ebb79e.jpg)
39
+ Figure 2: Coverage and average set size on Imagenet for prediction sets from three methods. All methods use a ResNet-152 as the base classifier, and results are reported for 100 random splits of Imagenet-Val, each of size 20K. See Section 3.1 for full details.
40
+
41
+ Conformal prediction is a general framework, not a specific algorithm—important design decisions must be made to achieve the best performance for each context. To this end, Romano et al. (2020) and Cauchois et al. (2020) introduce techniques aimed at achieving coverage that is similar across regions of feature space, whereas Vovk et al. (2003); Hechtlinger et al. (2018) and Guan & Tibshirani (2019) introduce techniques aimed at achieving equal coverage for each class. While these methods have conceptual appeal, thus far there has been limited empirical evaluation of this general approach for state-of-the-art CNNs. Concretely, the only works that we are aware of that include some evaluation of conformal methods on ImageNet—the gold standard for benchmarking computer vision methods—are Hechtlinger et al. (2018), Park et al. (2019), Cauchois et al. (2020), and Messoudi et al. (2020), although in all four cases further experiments are needed to more fully evaluate their operating characteristics for practical deployment. At the heart of conformal prediction is the conformal score - a measure of similarity between labeled examples which is used to compare a new point to among those in a hold out set. Our theoretical contribution can be summarized as a modification of the conformal score from Romano et al. (2020) to have smaller, more stable sets. Lastly, there are alternative approaches to returning prediction sets not based on conformal prediction (Pearce et al., 2018; Zhang et al., 2018). These methods can be used as input to a conformal procedure to potentially improve performance, but they do not have finite-sample coverage guarantees when used alone.
42
+
43
+ # 2 METHODS
44
+
45
+ In developing uncertainty set methods to improve upon naive, we are guided by three desiderata. First and most importantly, the coverage desideratum says the sets must provide $1 - \alpha$ coverage, as discussed above. Secondly, the size desideratum says we want sets of small size, since these convey more detailed information and may be more useful in practice. Lastly, the adaptiveness desideratum says we want the sets to communicate instance-wise uncertainty: they should be smaller for easy test-time examples than for hard ones; see Figure 1 for an illustration. Coverage and size are obviously competing objectives, but size and adaptiveness are also often in tension. The size desideratum seeks small sets, while the adaptiveness desideratum seeks larger sets when the classi
46
+
47
+ # Algorithm 1 Naive Prediction Sets
48
+
49
+ <table><tr><td></td><td colspan="3">Input:α,sorted scores s,associated permutation of classes I,boolean rand</td></tr><tr><td></td><td colspan="3">1: procedure NAIVE(α,s,I,rand) L←1</td></tr><tr><td>2: 3:</td><td colspan="3"></td></tr><tr><td></td><td colspan="3">&gt; Stop if1-α probability exceeded L←L+1</td></tr><tr><td>4:</td><td colspan="3">if rand then</td></tr><tr><td>5:</td><td colspan="3">&gt;Break ties randomly (explained in Appendix B)</td></tr><tr><td>6:</td><td colspan="3">U ←Unif(0,1) L</td></tr><tr><td>7:</td><td colspan="3">V←(∑i=1s-(1-α))/sL</td></tr><tr><td>8:</td><td colspan="3">ifU≤Vthen</td></tr><tr><td>9:</td><td colspan="3">L←L-1</td></tr><tr><td>10:</td><td colspan="3">return {I.,.., IL}</td></tr><tr><td colspan="3">Output: The 1-α prediction set, {I1,,IL}</td><td></td></tr></table>
50
+
51
+ ![](images/853120ecab45b49174ade7da0ac0f77155b7a1b2e945adfe8fc36d7e61839296.jpg)
52
+ Figure 3: Visualizations of conformal calibration and RAPS sets. In the left panel, the $\mathbf { y }$ -axis shows the empirical coverage on the conformal calibration set, and $1 - \alpha ^ { \prime } = \lceil ( n + 1 ) ( 1 - \alpha ) \rceil / n$ . In the right panel, the printed numbers indicate the cumulative probability plus penalty mass. For the indicated value $\hat { \tau } _ { \mathrm { c c a l } }$ , the RAPS prediction set is $\{ \mathbf { c } , \mathbf { d } , \mathbf { f } , \mathbf { b } \}$ .
53
+
54
+ fier is uncertain. For example, always predicting a set of size five could achieve coverage, but it is not adaptive. As noted above, both APSand RAPS achieve correct coverage, and we will show that RAPS improves upon APS according to the other two desiderata.
55
+
56
+ We now turn to the specifics of our proposed method. We begin in Subsection 2.1 by describing an abstract data-splitting procedure called conformal calibration that enables the near-automatic construction of valid predictive sets (that is, sets satisfying Eq. (1)). Subsequently, in Subsection 2.2, we provide a detailed presentation of our procedure, with commentary in Section 2.3. In Subsection 2.4 we discuss the optimality of our procedure, proving that it is at least as good as the procedure that returns sets of a fixed size, unlike alternative approaches.
57
+
58
+ # 2.1 CONFORMAL CALIBRATION
59
+
60
+ We first review a general technique for producing valid prediction sets, following the articulation in Gupta et al. (2019). Consider a procedure that outputs a predictive set for each observation, and further suppose that this procedure has a tuning parameter $\tau$ that controls the size of the sets. (In RAPS, $\tau$ is the cumulative sum of the sorted, penalized classifier scores.) We take a small independent conformal calibration set of data, and then choose the tuning parameter $\tau$ such that the predictive sets are large enough to achieve $1 - \alpha$ coverage on this set. See Figure 3 for an illustration. This calibration step yields a choice of $\tau$ , and the resulting set is formally guaranteed to have coverage $1 - \alpha$ on a future test point from the same distribution; see Theorem 1 below.
61
+
62
+ Formally, let $( X _ { i } , Y _ { i } ) _ { i = 1 , \ldots , n }$ be an independent and identically distributed (i.i.d.) set of variables that was not used for model training. Further, let $\mathcal { C } ( \boldsymbol { x } , \boldsymbol { u } , \tau ) : \mathbb { R } ^ { d } \times [ 0 , 1 ] \times \mathbb { R } 2 ^ { \mathcal { V } }$ be a setvalued function that takes a feature vector $x$ to a subset of the possible labels. The second argument $u$ is included to allow for randomized procedures; let $U _ { 1 } , \ldots , U _ { n }$ be i.i.d. uniform $[ 0 , 1 ]$ random variables that will serve as the second argument for each data point. Suppose that the sets are indexed by $\tau$ such that they are nested, meaning larger values of $\tau$ lead to larger sets:
63
+
64
+ $$
65
+ { \mathcal { C } } ( x , u , \tau _ { 1 } ) \subseteq { \mathcal { C } } ( x , u , \tau _ { 2 } ) \quad { \mathrm { ~ i f ~ } } \quad \tau _ { 1 } \leq \tau _ { 2 } .
66
+ $$
67
+
68
+ To find a function that will achieve $1 - \alpha$ coverage on test data, we select the smallest $\tau$ that gives at least $1 - \alpha$ coverage on the conformal calibration set, with a slight correction to account for the finite sample size:
69
+
70
+ $$
71
+ \hat { \tau } _ { \mathrm { c c a l } } = \operatorname* { i n f } \left\{ \tau : \frac { | \{ i : Y _ { i } \in \mathcal { C } ( X _ { i } , U _ { i } , \tau ) \} | } { n } \geq \frac { \lceil ( n + 1 ) ( 1 - \alpha ) \rceil } { n } \right\} .
72
+ $$
73
+
74
+ The set function $\mathcal { C } ( x , u , \tau )$ with this data-driven choice of $\tau$ is guaranteed to have correct finitesample coverage on a fresh test observation, as stated formally next.
75
+
76
+ Theorem 1 (Conformal calibration coverage guarantee). Suppose $( X _ { i } , Y _ { i } , U _ { i } ) _ { i = 1 , \dots , n }$ and $( X _ { n + 1 } , Y _ { n + 1 } , U _ { n + 1 } )$ are i.i.d. and let $\mathcal { C } ( x , u , \tau )$ be a set-valued function satisfying the nesting property in Eq. (2). Suppose further that the sets $\mathcal { C } ( x , u , \tau )$ grow to include all labels for large enough $\tau$ : for all $x \in \mathbb { R } ^ { d }$ , $\boldsymbol { \mathcal { C } } ( \boldsymbol { x } , \boldsymbol { u } , \tau ) = \boldsymbol { \mathcal { y } }$ for some $\tau$ . Then for $\hat { \tau } _ { \mathrm { c c a l } }$ defined as in Eq. (3), we have the following coverage guarantee:
77
+
78
+ $$
79
+ \begin{array} { r } { P \Big ( Y _ { n + 1 } \in \mathcal { C } ( X _ { n + 1 } , U _ { n + 1 } , \hat { \tau } _ { \mathrm { c c a l } } ) \Big ) \geq 1 - \alpha . } \end{array}
80
+ $$
81
+
82
+ This is the same coverage property as Eq. (1) in the introduction, written in a more explicit manner. The result is not new—a special case of this result leveraging sample-splitting first appears in the regression setting in Papadopoulos et al. (2002), and the core idea of conformal prediction was introduced even earlier; see (Vovk et al., 2005).
83
+
84
+ As a technical remark, the theorem also holds if the observations to satisfy the weaker condition of exchangeability; see Vovk et al. (2005). In addition, for most families of set-valued functions $\mathcal { C } ( x , u , \tau )$ there is a matching upper bound:
85
+
86
+ $$
87
+ P \Big ( Y _ { n + 1 } \in \mathcal { C } ( X _ { n + 1 } , U _ { n + 1 } , \hat { \tau } _ { \mathrm { c c a l } } ) \Big ) \leq 1 - \alpha + \frac { 1 } { n + 1 } .
88
+ $$
89
+
90
+ Roughly speaking, this will hold whenever the sets grow smoothly in $\tau$ . See Lei et al. (2018) for a formal statement of the required conditions.
91
+
92
+ # 2.2 OUR METHOD
93
+
94
+ Conformal calibration is a powerful general idea, allowing one to achieve the coverage desideratum for any choice of sets $\mathcal { C } ( x , u , \tau )$ . Nonetheless, this is not yet a full solution, since the quality of the resulting prediction sets can vary dramatically depending on the design of $\mathcal { C } ( x , u , \tau )$ . In particular, we recall the size and adaptiveness desiderata from Section 1—we want our uncertainty sets to be as small as possible while faithfully articulating the instance-wise uncertainty of each test point. In this section, we explicitly give our algorithm, which can be viewed as a special case of conformal calibration with the uncertainty sets $\mathcal { C }$ designed to extract information from CNNs.
95
+
96
+ Our algorithm has three main ingredients. First, for a feature vector $x$ , the base model computes class probabilities $\hat { \pi } _ { x } \in \mathbb { R } ^ { k }$ , and we order the classes from most probable to least probable. Then, we add a regularization term to promote small predictive sets. Finally, we conformally calibrate the penalized prediction sets to guarantee coverage on future test points.
97
+
98
+ Formally, let $\begin{array} { r } { \rho _ { x } ( y ) = \sum _ { y ^ { \prime } = 1 } ^ { K } \hat { \pi } _ { x } ( y ^ { \prime } ) \mathbb { I } _ { \{ \hat { \pi } _ { x } ( y ^ { \prime } ) > \hat { \pi } _ { x } ( y ) \} } } \end{array}$ be the total probability mass of the set of labels that are more likely than $y$ . These are all the labels that will be included before $y$ is included. In addition, let $o _ { x } ( y ) = | \{ y ^ { \prime } \in \mathcal { y } : \hat { \pi } _ { x } ( y ^ { \prime } ) \geq \hat { \pi } _ { x } ( y ) \} |$ be the ranking of $y$ among the label based on the probabilities $\hat { \pi }$ . For example, if $y$ is the third most likely label, then $o _ { x } ( y ) = 3$ .1 We take
99
+
100
+ $$
101
+ \mathcal { C } ^ { * } ( x , u , \tau ) : = \Big \{ y : \rho _ { x } ( y ) + \hat { \pi } _ { x } ( y ) \cdot u + \underbrace { \lambda \cdot ( o _ { x } ( y ) - k _ { r e g } ) ^ { + } } _ { \mathrm { r e g u l a r i z a t i o n } } \leq \tau \Big \} ,
102
+ $$
103
+
104
+ where $( z ) ^ { + }$ denotes the positive part of $z$ and $\lambda , k _ { r e g } \ge 0$ are regularization hyperparameters that are introduced to encourage small set sizes. See Figure 3 for a visualization of a RAPS predictive set and Appendix $\mathrm { E }$ for a discussion of how to select $k _ { r e g }$ and $\lambda$ .
105
+
106
+ Since this is the heart of our proposal, we carefully parse each term. First, the $\rho _ { x } ( y )$ term increases as $y$ ranges from the most probable to least probable label, so our sets will prefer to include the $y$ that are predicted to be the most probable. The second term, $\hat { \pi } _ { x } ( y ) \cdot u$ , is a randomized term to handle the fact that the value will jump discretely with the inclusion of each new $y$ . The randomization term can never impact more than one value of $y$ : there is at most one value of $y$ such that $y \in \mathcal { C } ( x , 0 , \tau )$ but $y \notin \mathcal { C } ( x , 1 , \tau )$ . These first two terms can be viewed as the CDF transform after arranging the classes from most likely to least likely, randomized in the usual way to result in a continuous uniform random variable (cf. Romano et al., 2020). We discuss randomization further in Appendix B.
107
+
108
+ Lastly, the regularization promotes small set sizes: for values of $y$ that occur farther down the ordered list of classes, the term $\bar { \lambda ^ { \cdot } } ( o _ { x } ( y ) - k _ { r e g } ) ^ { + }$ makes that value of $y$ require a higher value of $\tau$ before it is included in the predictive set. For example, if $k _ { r e g } = 5$ , then the sixth most likely value of $y$ has an extra penalty of size $\lambda$ , so it will never be included until $\tau$ exceeds $\rho _ { x } ( y ) + \hat { \pi } _ { x } ( y ) \cdot u + \lambda .$ , whereas it enters when $\tau$ exceeds $\rho _ { x } ( y ) + { \hat { \pi } } _ { x } ( y ) \cdot u$ in the nonregularized version. Our method has the following coverage property:
109
+
110
+ Proposition 1 (RAPS coverage guarantee). Suppose $( X _ { i } , Y _ { i } , U _ { i } ) _ { i = 1 , \dots , n }$ and $( X _ { n + 1 } , Y _ { n + 1 } , U _ { n + 1 } )$ are i.i.d. and let $\mathcal { C } ^ { * } ( x , u , \tau )$ be defined as in Eq. (4). Suppose further that $\hat { \pi } _ { x } ( y ) > 0$ for all $x$ and $y$ . Then for $\hat { \tau } _ { \mathrm { c c a l } }$ defined as in Eq. (3), we have the following coverage guarantee:
111
+
112
+ $$
113
+ 1 - \alpha \le P \Big ( Y _ { n + 1 } \in \mathcal { C } ^ { * } ( X _ { n + 1 } , U _ { n + 1 } , \widehat { \tau } _ { \mathrm { c c a l } } ) \Big ) \le 1 - \alpha + \frac { 1 } { n + 1 } .
114
+ $$
115
+
116
+ For ease of notation, we assume distinct probabilities. Else, label-ordering ties should be broken randomly.
117
+
118
+ Input: $\alpha ; s \in [ 0 , 1 ] ^ { n \times K }$ , $I \in \{ 1 , . . . , K \} ^ { n \times K }$ , and one-hot $y \in \{ 0 , 1 \} ^ { K }$ corresponding respectively to the sorted scores, the associated permutation of indexes, and labels for each of $n$ examples in the calibration set; $k _ { r e g }$ ; $\lambda$ ; boolean rand
119
+ 1: procedure RAPSC $( \alpha , \bar { s } , I , y , \lambda )$
120
+ 2: for $i \in \{ 1 , \cdots , n \}$ do
121
+ 3: $L _ { i } \gets \{ \ : j : \ : \dot { I _ { i , j } } = y _ { i } \ : \}$
122
+ 4: $E _ { i } \gets \Sigma _ { j = 0 } ^ { L _ { i } } s _ { i , j } + \lambda ( L _ { i } - k _ { r e g } + 1 ) ^ { + }$
123
+ 5: if rand then
124
+ 6: $\begin{array} { l } { { U \sim \mathrm { U n i f } ( 0 , 1 ) } } \\ { { E _ { i } E _ { i } - s _ { i , L _ { i } } + U \ast s _ { i , L _ { i } } } } \end{array}$
125
+ 7:
126
+ 8: $\hat { \tau } _ { c c a l } \gets$ the $\lceil ( 1 - \alpha ) ( 1 + n ) \rceil$ largest value in $\{ E _ { i } \} _ { i = 1 } ^ { n }$
127
+ 9: return τˆccal
128
+
129
+ ![](images/0d21abcc0b71c07dfbe6e87c3bc9ddce258700b8d7443f22b06e401fe31a5451.jpg)
130
+
131
+ Output: The generalized quantile, $\hat { \tau } _ { c c a l }$ . The value in Eq. (3)
132
+
133
+ # Algorithm 3 RAPS Prediction Sets
134
+
135
+ Input: $\alpha$ , sorted scores $s$ and the associated permutation of classes $I$ for a test-time example, $\hat { \tau } _ { c c a l }$ from Algorithm 2, $k _ { r e g }$ , $\lambda$ , boolean rand
136
+ 1: procedure $\mathrm { R A P S } ( \alpha , s , \bar { I } , \hat { \tau } _ { c c a l } , k _ { r e g } , \lambda , r a n d )$
137
+ 2: $L \gets | \ j \in \mathcal { V } : \ \Sigma _ { i = 0 } ^ { j } s _ { i } + \lambda ( L - k _ { r e g } ) ^ { + } \leq \hat { \tau } _ { c c a l } \ | + 1$
138
+ 3: $V ( \hat { \tau } _ { c c a l } - \Sigma _ { i = 0 } ^ { L - 1 } s _ { i } - \lambda ( L - k _ { r e g } ) ^ { + } + s _ { L - 1 } ) / s _ { L - 1 }$
139
+ 4: if rand & $V \leq U \sim \operatorname { U n i f } ( 0 , 1 )$ then
140
+ 5: L ← L − 1
141
+ 6: return $\mathcal { C } = \left\{ I _ { 1 } , . . . I _ { L } \right\}$ $\triangleright$ The $L$ most likely classes
142
+ Output: The $1 - \alpha$ confidence set, $\mathcal { C }$ . The set in Eq. (4)
143
+
144
+ Note that the first inequality is a corollary of Theorem 1, and the second inequality is a special case of the remark in Section 2.1. The restriction that $\hat { \pi } _ { x } ( y ) > 0$ is not necessary for the first inequality.
145
+
146
+ # 2.3 WHY REGULARIZE?
147
+
148
+ In our experiments, the sets from APS are larger than necessary, because APS is sensitive to the noisy probability estimates far down the list of classes. This noise leads to a permutation problem of unlikely classes, where ordering of the classes with small probability estimates is determined mostly by random chance. If $5 \%$ of the true classes from the calibration set are deep in the tail due to the permutation problem, APS will choose large $9 5 \%$ predictive sets; see Figure 2. The inclusion of the RAPS regularization causes the algorithm to avoid using the unreliable probabilities in the tail; see Figure 4. We discuss how RAPS improves the adaptiveness of APS in Section 4 and Appendix E.
149
+
150
+ # 2.4 OPTIMALITY CONSIDERATIONS
151
+
152
+ To complement these experimental results, we now formally prove that RAPS with the correct regularization parameters will always dominate the simple procedure that returns a fixed set size. (Section 3.5 shows the parameters are easy to select and RAPS is not sensitive to their values). For a feature vector $x$ , let ${ \hat { y } } _ { ( j ) } ( x )$ be the label with the $j$ th highest predicted probability. We define the top- $k$ predictive sets to be $\{ \hat { y } _ { ( 1 ) } ( x ) , \ldots , \hat { y } _ { ( k ) } ( x ) \}$ .
153
+
154
+ Proposition 2 (RAPS dominates top- $\mathbf { \nabla } \cdot \mathbf { k }$ sets). Suppose $( X _ { i } , Y _ { i } , U _ { i } ) _ { i = 1 , \dots , n }$ and $( X _ { n + 1 } , Y _ { n + 1 } , U _ { n + 1 } )$ are i.i.d. draws. Let $k ^ { * }$ be the smallest $k$ such that the top- $k$ predictive sets have coverage at least $\lceil ( n + 1 ) ( 1 - \alpha ) \rceil / n$ on the conformal calibration points $( X _ { i } , Y _ { i } ) _ { i = 1 , \dots , n }$ . Take $\mathcal { C } ^ { * } ( x , u , \tau )$ as in Eq. (4) with any $k _ { r e g } \leq k ^ { * }$ and $\lambda = 1$ . Then with $\hat { \tau } _ { \mathrm { c c a l } }$ chosen as in Eq. (3), we have
155
+
156
+ $$
157
+ \mathcal { C } ^ { * } ( X _ { n + 1 } , U _ { n + 1 } , \hat { \tau } _ { \mathrm { c c a l } } ) \subseteq \{ \hat { y } _ { ( 1 ) } ( x ) , \dots , \hat { y } _ { ( k ^ { * } ) } ( x ) \} .
158
+ $$
159
+
160
+ In words, the RAPS procedure with heavy regularization will be at least as good as the top- $k$ procedure in the sense that it has smaller or same average set size while maintaining the desired coverage level. This is not true of either the naive baseline or the APS procedure; Table 2 shows that these two procedures usually return predictive sets with size much larger than $k ^ { * }$ .
161
+
162
+ # 3 EXPERIMENTS
163
+
164
+ Published as a conference paper at ICLR 2021
165
+
166
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Accuracy</td><td colspan="4">Coverage</td><td colspan="4">Size</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td></tr><tr><td>ResNeXt101</td><td>0.793</td><td>0.945</td><td>0.900</td><td>0.889</td><td>0.900</td><td>0.900</td><td>2.42</td><td>17.1</td><td>19.7</td><td>2.00</td></tr><tr><td>ResNet152</td><td>0.783</td><td>0.94</td><td>0.900</td><td>0.895</td><td>0.900</td><td>0.900</td><td>2.63</td><td>9.78</td><td>10.4</td><td>2.11</td></tr><tr><td>ResNet101</td><td>0.774</td><td>0.936</td><td>0.900</td><td>0.896</td><td>0.900</td><td>0.900</td><td>2.83</td><td>10.3</td><td>10.7</td><td>2.25</td></tr><tr><td>ResNet50</td><td>0.761</td><td>0.929</td><td>0.900</td><td>0.896</td><td>0.900</td><td>0.900</td><td>3.14</td><td>11.8</td><td>12.3</td><td>2.57</td></tr><tr><td>ResNet18</td><td>0.698</td><td>0.891</td><td>0.900</td><td>0.895</td><td>0.900</td><td>0.900</td><td>5.72</td><td>15.5</td><td>16.2</td><td>4.43</td></tr><tr><td>DenseNet161</td><td>0.771</td><td>0.936</td><td>0.900</td><td>0.894</td><td>0.900</td><td>0.900</td><td>2.84</td><td>11.2</td><td>12.1</td><td>2.29</td></tr><tr><td>VGG16</td><td>0.716</td><td>0.904</td><td>0.900</td><td>0.895</td><td>0.901</td><td>0.900</td><td>4.75</td><td>13.4</td><td>14.1</td><td>3.54</td></tr><tr><td>Inception</td><td>0.695</td><td>0.887</td><td>0.900</td><td>0.885</td><td>0.900</td><td>0.901</td><td>6.30</td><td>75.4</td><td>89.1</td><td>5.32</td></tr><tr><td>ShuffleNet</td><td>0.694</td><td>0.883</td><td>0.900</td><td>0.891</td><td>0.900</td><td>0.900</td><td>6.46</td><td>28.9</td><td>31.9</td><td>5.05</td></tr></table>
167
+
168
+ Table 1: Results on Imagenet-Val. We report coverage and size of the optimal, randomized fixed sets, naive, APS, and RAPS sets for nine different Imagenet classifiers. The median-of-means for each column is reported over 100 different trials. See Section 3.1 for full details.
169
+
170
+ In this section we report on experiments that study the performance of the predictive sets from naive, APS, and RAPS, evaluating each based on the three desiderata above. We begin with a brief preview of the experiments. In Experiment 1, we evaluate naive, APS, and RAPS on ImagenetVal. Both APS and RAPS provided almost exact coverage, while naive sets had coverage slightly below the specified level. APS has larger sets on average than naive and RAPS. RAPS has a much smaller average set size than APS and naive. In Experiment 2, we repeat Experiment 1 on Imagenet-V2, and the conclusions still hold. In Experiment 3, we produce histograms of set sizes for naive, APS, and RAPS for several different values of $\lambda$ , illustrating a simple tradeoff between set size and adaptiveness. In Experiment 4, we compute histograms of RAPS sets stratified by image difficulty, showing that RAPS sets are smaller for easier images than for difficult ones. In Experiment 5, we report the performance of RAPS with many values of the tuning parameters.
171
+
172
+ In our experiments, we use nine standard, pretrained Imagenet classifiers from the torchvision repository (Paszke et al., 2019) with standard normalization, resize, and crop parameters. Before applying naive, APS, or RAPS, we calibrated the classifiers using the standard temperature scaling/Platt scaling procedure as in Guo et al. (2017) on the calibration set. Thereafter, naive, APS, and RAPS were applied, with RAPS using a data-driven choice of parameters described in Appendix E. We use the randomized versions of these algorithms—see Appendix B for a discussion.
173
+
174
+ # 3.1 EXPERIMENT 1: COVERAGE VS SET SIZE ON IMAGENET
175
+
176
+ In this experiment, we calculated the coverage and mean set size of each procedure for two different choices of $\alpha$ . Over 100 trials, we randomly sampled two subsets of Imagenet-Val: one conformal calibration subset of size 20K and one evaluation subset of size 20K. The median-of-means over trials for both coverage and set size are reported in Table 1. Figure 2 illustrates the performances of naive, APS, and RAPS; RAPS has much smaller sets than both naive and APS, while achieving coverage. We also report results from a conformalized fixed- $\mathbf { \nabla \cdot k }$ procedure, which finds the smallest fixed set size achieving coverage on the holdout set, $k ^ { * }$ , then predicts sets of size $k ^ { * } - 1$ or $k ^ { * }$ on new examples in order to achieve exact coverage; see Algorithm 4 in Appendix E.
177
+
178
+ # 3.2 EXPERIMENT 2: COVERAGE VS SET SIZE ON IMAGENET-V2
179
+
180
+ The same procedure as Experiment 1 was repeated on Imagenet-V2, with exactly the same normalization, resize, and crop parameters. The size of the calibration and evaluation sets was 5K, since Imagenet-V2 is a smaller dataset. The result shows that our method can still provide coverage even for models trained on different distributions, as long as the conformal calibration set comes from the new distribution. The variance of the coverage is higher due to having less data.
181
+
182
+ 3.3 EXPERIMENT 3: SET SIZES OF N A I V E, APS, AND RAPS ON IMAGENET
183
+
184
+ We investigate the effect of regularization in more detail. For three values of $\lambda$ , we collected the set sizes produced by each of naive, APS, and RAPS and report their histograms in Figure 4.
185
+
186
+ # 3.4 EXPERIMENT 4: ADAPTIVENESS OF RAPS ON IMAGENET
187
+
188
+ We now show that RAPS sets are smaller for easy images than hard ones, addressing the adaptiveness desideratum. Table 4 reports the size-stratified coverages of RAPS at the $90 \%$ level with $k _ { r e g } = 5$ and different choices of $\lambda$ . When $\lambda$ is small, RAPS allows sets to be large. But when $\lambda = 1$ , RAPS clips sets to be a maximum of size 5. Table 7 (in the Appendix) stratifies by image difficulty, showing that RAPS sets are small for easy examples and large for hard ones. Experiments 3 and 4 together illustrate the tradeoff between adaptiveness and size: as the average set size decreases, the RAPS procedure truncates sets larger than the smallest fixed set that provides coverage, taming the heavy tail of the APS procedure. Since RAPS with large $\lambda$ undercovers hard examples, it must compensate by taking larger sets for easy examples to ensure the $1 - \alpha$ marginal coverage guarantee. However, the size only increases slightly since easy images are more common than hard ones, and the total probability mass can often exceed $\hat { \tau } _ { c c a l }$ by including only one more class. If this behavior is not desired, we can instead automatically pick $\lambda$ to optimize the adaptiveness of RAPS; see Section 4.
189
+
190
+ Published as a conference paper at ICLR 2021
191
+
192
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Accuracy</td><td colspan="4">Coverage</td><td colspan="4">Size</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td></tr><tr><td>ResNeXt101</td><td>0.678</td><td>0.874</td><td>0.900</td><td>0.888</td><td>0.899</td><td>0.899</td><td>7.48</td><td>43.0</td><td>50.8</td><td>6.18</td></tr><tr><td>ResNet152</td><td>0.67</td><td>0.876</td><td>0.899</td><td>0.896</td><td>0.900</td><td>0.900</td><td>7.18</td><td>25.8</td><td>27.2</td><td>5.69</td></tr><tr><td>ResNet101</td><td>0.657</td><td>0.859</td><td>0.901</td><td>0.894</td><td>0.900</td><td>0.898</td><td>9.21</td><td>28.7</td><td>30.7</td><td>6.93</td></tr><tr><td>ResNet50</td><td>0.634</td><td>0.847</td><td>0.898</td><td>0.894</td><td>0.899</td><td>0.900</td><td>10.3</td><td>30.3</td><td>32.3</td><td>7.80</td></tr><tr><td>ResNet18</td><td>0.572</td><td>0.802</td><td>0.902</td><td>0.895</td><td>0.900</td><td>0.900</td><td>17.5</td><td>35.3</td><td>37.4</td><td>13.3</td></tr><tr><td>DenseNet161</td><td>0.653</td><td>0.862</td><td>0.902</td><td>0.895</td><td>0.901</td><td>0.901</td><td>8.6</td><td>29.9</td><td>32.4</td><td>6.93</td></tr><tr><td>VGG16</td><td>0.588</td><td>0.817</td><td>0.902</td><td>0.897</td><td>0.900</td><td>0.899</td><td>15.1</td><td>31.9</td><td>32.8</td><td>11.2</td></tr><tr><td>Inception</td><td>0.573</td><td>0.797</td><td>0.900</td><td>0.893</td><td>0.900</td><td>0.899</td><td>21.8</td><td>145.0</td><td>155.0</td><td>20.5</td></tr><tr><td>ShuffleNet</td><td>0.559</td><td>0.781</td><td>0.899</td><td>0.892</td><td>0.900</td><td>0.899</td><td>26.0</td><td>66.2</td><td>71.7</td><td>22.5</td></tr></table>
193
+
194
+ Table 2: Results on Imagenet-V2. We report coverage and size of the optimal, randomized fixed sets, naive, APS, and RAPS sets for nine different Imagenet classifiers. The median-of-means for each column is reported over 100 different trials at the $10 \%$ level. See Section 3.2 for full details.
195
+
196
+ ![](images/a536df49415615fe82ae947fd6220877a37f4fe1d2ee3aa82499fe99157eb273.jpg)
197
+ Figure 4: Set sizes produced with ResNet-152. See Section 3.3 for details.
198
+
199
+ # 3.5 EXPERIMENT 5: CHOICE OF TUNING PARAMETERS
200
+
201
+ While any value of the tuning parameters $\lambda$ and $k _ { r e g }$ lead to coverage (Proposition 1), some values will lead to smaller sets. In Experiments 1 and 2, we chose $k _ { r e g }$ and $\lambda$ adaptively from data (see Appendix E), achieving strong results for all models and choices of the coverage level. Table 3 gives the performance of RAPS with many choices of $k _ { r e g }$ and $\lambda$ for ResNet-152.
202
+
203
+ # 4 ADAPTIVENESS AND CONDITIONAL COVERAGE
204
+
205
+ In this section, we point to a definition of adaptiveness that is more natural for the image classification setting than the existing notion of conditional coverage. We show that APS does not satisfy conditional coverage, and that RAPS with small $\lambda$ outperforms it in terms of adaptiveness.
206
+
207
+ We say that a set-valued predictor $\mathcal { C } : \mathbb { R } ^ { d } \to 2 ^ { \mathcal { V } }$ satisfies exact conditional coverage if $P ( Y \in$ ${ \mathcal { C } } ( X ) { \\mathrm { ~ } } { \mathrm { ~ } } | { \mathrm { ~ } } X = x ) = 1 - \alpha$ for each $x$ . Distribution-free guarantees on conditional coverage are impossible (Vovk, 2012; Lei & Wasserman, 2014), but many algorithms try to satisfy it approximately (Romano et al., 2019; 2020; Cauchois et al., 2020). In a similar spirit, Tibshirani et al. (2019) suggest a notion of local conditional coverage, where one asks for coverage in a neighborhood of each point, weighted according to a chosen kernel. Cauchois et al. (2020) introduce the worst-case slab metric for measuring violations of the conditional coverage property. We present a different way of measuring violations of conditional coverage.
208
+
209
+ Proposition 3. Suppose $P ( Y \in { \mathcal { C } } ( X ) \mid X = x ) = 1 - \alpha$ for each $x \in \mathbb { R } ^ { d }$ . Then, $P ( Y \in { \mathcal { C } } ( X ) \mid \{ | C ( X ) | \in { \mathcal { A } } \} ) = 1 - \alpha$ for any $\mathcal { A } \subset \{ 0 , 1 , 2 , \dotsc \}$ .
210
+
211
+ In words, if conditional coverage holds, then coverage holds after stratifying by set size. Based on this result, In Appendix E, we introduce the size-stratified coverage violation criterion, a simple and pragmatic way of quantifying adaptiveness. Then, we automatically tune $\lambda$ on this metric so RAPS markedly outperforms the adaptiveness of APS (see Table 8).
212
+
213
+ <table><tr><td>kreg|入</td><td>0</td><td>1e-4</td><td>1e-3</td><td>0.01</td><td>0.02</td><td>0.05</td><td>0.2</td><td>0.5</td><td>0.7</td><td>1.0</td></tr><tr><td>1</td><td>11.2</td><td>10.2</td><td>7.0</td><td>3.6</td><td>2.9</td><td>2.3</td><td>2.1</td><td>2.3</td><td>2.2</td><td>2.2</td></tr><tr><td>2</td><td>11.2</td><td>10.2</td><td>7.1</td><td>3.7</td><td>3.0</td><td>2.4</td><td>2.1</td><td>2.3</td><td>2.2</td><td>2.2</td></tr><tr><td>5</td><td>11.2</td><td>10.2</td><td>7.2</td><td>3.9</td><td>3.4</td><td>2.9</td><td>2.6</td><td>2.5</td><td>2.5</td><td>2.5</td></tr><tr><td>10</td><td>11.2</td><td>10.2</td><td>7.4</td><td>4.5</td><td>4.0</td><td>3.6</td><td>3.4</td><td>3.4</td><td>3.4</td><td>3.4</td></tr><tr><td>50</td><td>11.2</td><td>10.6</td><td>8.7</td><td>7.2</td><td>7.0</td><td>6.9</td><td>6.9</td><td>6.9</td><td>6.9</td><td>6.9</td></tr></table>
214
+
215
+ Table 3: Set sizes of RAPS with parameters $k _ { r e g }$ and $\lambda$ , a ResNet-152, and coverage level $90 \%$
216
+
217
+ <table><tr><td></td><td colspan="2">入=0</td><td colspan="2">λ= 0.001</td><td colspan="2">入=0.01</td><td colspan="2">入=0.1</td><td colspan="2">入=1</td></tr><tr><td>size</td><td>cnt</td><td>cvg</td><td>cnt</td><td>cvg</td><td>cnt</td><td>cvg</td><td>cnt</td><td>cvg</td><td>cnt</td><td>cvg</td></tr><tr><td>0 to1</td><td>11627</td><td>0.88</td><td>11539</td><td>0.88</td><td>11225</td><td>0.89</td><td>10476</td><td>0.92</td><td>10027</td><td>0.93</td></tr><tr><td>2 to3</td><td>3687</td><td>0.91</td><td>3702</td><td>0.91</td><td>3741</td><td>0.92</td><td>3845</td><td>0.93</td><td>3922</td><td>0.94</td></tr><tr><td>4 to 6</td><td>1239</td><td>0.91</td><td>1290</td><td>0.91</td><td>1706</td><td>0.92</td><td>4221</td><td>0.89</td><td>6051</td><td>0.83</td></tr><tr><td>7 to 10</td><td>688</td><td>0.93</td><td>765</td><td>0.93</td><td>1314</td><td>0.91</td><td>1436</td><td>0.71</td><td>0</td><td></td></tr><tr><td>11 to 100</td><td>2207</td><td>0.94</td><td>2604</td><td>0.93</td><td>2014</td><td>0.86</td><td>22</td><td>0.59</td><td>0</td><td></td></tr><tr><td>101 to 1000</td><td>552</td><td>0.97</td><td>100</td><td>0.90</td><td>0</td><td></td><td>0</td><td></td><td>0</td><td></td></tr></table>
218
+
219
+ Table 4: Coverage conditional on set size. We report average coverage of images stratified by the size of the set output by RAPS using a ResNet-152 for varying $\lambda$ . The marginal coverage rate is $90 \%$ .
220
+
221
+ In Table 4, we report on the coverage of APS and RAPS, stratified by the size of the prediction set. Turning our attention to the $\lambda = 0$ column, we see that when APS outputs a set of size $1 0 1 - 1 0 0 0$ , APS has coverage $9 7 \%$ , substantially higher than $90 \%$ nominal rate. By Proposition 3, we conclude that APS is not achieving exact conditional coverage, because the scores are far from the oracle probabilities. The APS procedure still achieves marginal coverage by overcovering hard examples and undercovering easy ones, an undesirable behavior. Alternatively, RAPS can be used to regularize the set sizes—for $\lambda = . 0 0 1$ to $\lambda = . 0 1$ the coverage stratified by set size is more balanced. In summary, even purely based on the adaptiveness desideratum, RAPS with light regularization is preferable to APS. Note that as the size of the training data increases, as long as $\hat { \pi }$ is consistent, naive and APS will become more stable, and so we expect less regularization will be needed.
222
+
223
+ Lastly, we argue that conditional coverage is a poor notion of adaptiveness when the best possible model (i.e., one fit on infinite data) has high accuracy. Given such a model, the oracle procedure from Romano et al. (2020) would return the correct label with probability $1 - \alpha$ and the empty set with probability $\alpha$ . That is, having correct conditional coverage for high-signal problems where $Y$ is perfectly determined by $X$ requires a perfect classifier. In our experiments on ImageNet, APS does not approximate this behavior. Therefore, conditional coverage isn’t the right goal for prediction sets with realistic sample sizes. Proposition 3 suggests a relaxation. We could require that we have the right coverage, no matter the size of the prediction set: $P ( Y \in { \mathcal { C } } ( X ) \mid \{ | C ( x ) | \in A \} ) \geq 1 - \alpha$ for any $\mathcal { A } \subset \{ 0 , 1 , 2 , . . . \}$ ; Appendix E.2 develops this idea. We view this as a promising way to reason about adaptiveness in high-signal problems such as image classification.
224
+
225
+ # 5 DISCUSSION
226
+
227
+ For classification tasks with many possible labels, our method enables a researcher to take any base classifier and return predictive sets guaranteed to achieve a pre-specified error level, such as $90 \%$ , while retaining small average size. It is simple to deploy, so it is an attractive, automatic way to quantify the uncertainty of image classifiers—an essential task in such settings as medical diagnostics, self-driving vehicles, and flagging dangerous internet content. Predictive sets in computer vision (from RAPS and other conformal methods) have many further uses, since they systematically identify hard test-time examples. Finding such examples is useful in active learning where one only has resources to label a small number of points. In a different direction, one can improve efficiency of a classifier by using a cheap classifier outputting a prediction set first, and an expensive one only when the cheap classifier outputs a large set (a cascade; see, e.g., Li et al. 2015), and Fisch et al. (2021) for an implementation of conformal prediction in this setting. One can also use predictive sets during model development to identify failure cases and outliers and suggest strategies for improving its performance. Prediction sets are most useful for problems with many classes; returning to our initial medical motivation, we envision RAPS could be used by a doctor to automatically screen for a large number of diseases (e.g. via a blood sample) and refer the patient to relevant specialists.
228
+
229
+ # REFERENCES
230
+
231
+ Maxime Cauchois, Suyash Gupta, and John Duchi. Knowing what you know: valid and validated confidence sets in multiclass and multilabel prediction. 2020. arXiv:2004.10181.
232
+
233
+ Adam Fisch, Tal Schuster, Tommi S. Jaakkola, and Regina Barzilay. Efficient conformal prediction via cascaded inference with expanded admission. In International Conference on Learning Representations, 2021.
234
+
235
+ Yarin Gal. Uncertainty in Deep Learning. University of Cambridge, 1(3), 2016.
236
+
237
+ Leying Guan and Rob Tibshirani. Prediction and outlier detection in classification problems. 2019. arXiv:1905.04396.
238
+
239
+ Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. On calibration of modern neural networks. 2017. arXiv:1706.04599.
240
+
241
+ Chirag Gupta, Arun K Kuchibhotla, and Aaditya K Ramdas. Nested conformal prediction and quantile out-of-bag ensemble methods. arXiv, pp. arXiv–1910, 2019.
242
+
243
+ Yotam Hechtlinger, Barnabas P ´ oczos, and Larry Wasserman. Cautious deep learning, 2018. ´ arXiv:1805.09460.
244
+
245
+ Heinrich Jiang, Been Kim, Melody Guan, and Maya Gupta. To trust or not to trust a classifier. In Advances in Neural Information Processing Systems, pp. 5541–5552, 2018.
246
+
247
+ Volodymyr Kuleshov, Nathan Fenner, and Stefano Ermon. Accurate uncertainties for deep learning using calibrated regression. 2018. arXiv:1807.00263.
248
+
249
+ Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems, pp. 6402–6413, 2017.
250
+
251
+ Jing Lei and Larry Wasserman. Distribution-free prediction bands for non-parametric regression. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 76(1):71–96, 2014.
252
+
253
+ Jing Lei, Max G’Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distributionfree predictive inference for regression. Journal of the American Statistical Association, 113 (523):1094–1111, 2018. doi: 10.1080/01621459.2017.1307116.
254
+
255
+ Haoxiang Li, Zhe Lin, Xiaohui Shen, Jonathan Brandt, and Gang Hua. A convolutional neural network cascade for face detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5325–5334, 2015.
256
+
257
+ Qing Li, Weidong Cai, Xiaogang Wang, Yun Zhou, David Dagan Feng, and Mei Chen. Medical image classification with convolutional neural network. In International Conference on Control Automation Robotics & Vision, pp. 844–848. IEEE, 2014.
258
+
259
+ Alexander Selvikvag Lundervold and Arvid Lundervold. An overview of deep learning in medical ˚ imaging focusing on MRI. Zeitschrift fur Medizinische Physik ¨ , 29(2):102–127, 2019.
260
+
261
+ David JC MacKay. Bayesian methods for adaptive models. PhD thesis, California Institute of Technology, 1992.
262
+
263
+ Soundouss Messoudi, Sylvain Rousseau, and Sebastien Destercke. Deep conformal prediction for robust models. In Information Processing and Management of Uncertainty in Knowledge-Based Systems, pp. 528–540. Springer, 2020.
264
+
265
+ Radford M Neal. Bayesian Learning for Neural Networks. Springer Science & Business Media, 2012.
266
+
267
+ Jeremy Nixon, Michael W Dusenberry, Linchuan Zhang, Ghassen Jerfel, and Dustin Tran. Measuring calibration in deep learning. In CVPR Workshops, pp. 38–41, 2019.
268
+
269
+ Harris Papadopoulos, Kostas Proedrou, Vladimir Vovk, and Alex Gammerman. Inductive confidence machines for regression. In Machine Learning: European Conference on Machine Learning ECML 2002, pp. 345–356, 2002.
270
+
271
+ Sangdon Park, Osbert Bastani, Nikolai Matni, and Insup Lee. PAC confidence sets for deep neural networks via calibrated prediction. 2019. arXiv:2001.00106.
272
+
273
+ Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, highperformance deep learning library. In Advances in Neural Information Processing Systems, pp. 8026–8037, 2019.
274
+
275
+ Tim Pearce, Mohamed Zaki, Alexandra Brintrup, and Andy Neely. High-quality prediction intervals for deep learning: A distribution-free, ensembled approach. In International Conference on Machine Learning, pp. 6473–6482, 2018.
276
+
277
+ John Platt et al. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Advances in Large Margin Classifiers, 10(3):61–74, 1999.
278
+
279
+ Joaquin Quinonero-Candela, Carl Edward Rasmussen, Fabian Sinz, Olivier Bousquet, and Bernhard Scholkopf. Evaluating predictive uncertainty challenge. In ¨ Machine Learning Challenges Workshop, pp. 1–27. Springer, 2005.
280
+
281
+ Muhammad Imran Razzak, Saeeda Naz, and Ahmad Zaib. Deep learning for medical image processing: Overview, challenges and the future. In Classification in BioApps, pp. 323–350. Springer, 2018.
282
+
283
+ Carlos Riquelme, George Tucker, and Jasper Snoek. Deep Bayesian bandits showdown: An empirical comparison of Bayesian deep networks for Thompson sampling. 2018. arXiv:1802.09127.
284
+
285
+ Yaniv Romano, Evan Patterson, and Emmanuel Candes. Conformalized quantile regression. In \` Advances in Neural Information Processing Systems, pp. 3543–3553. 2019.
286
+
287
+ Yaniv Romano, Matteo Sesia, and Emmanuel J. Candes. Classification with valid and adaptive \` coverage. 2020. arXiv:2006.02544.
288
+
289
+ Mauricio Sadinle, Jing Lei, and Larry Wasserman. Least ambiguous set-valued classifiers with bounded error levels. Journal of the American Statistical Association, 114(525):223–234, 2019.
290
+
291
+ Murat Sensoy, Lance Kaplan, and Melih Kandemir. Evidential deep learning to quantify classification uncertainty. In Advances in Neural Information Processing Systems, pp. 3179–3189, 2018.
292
+
293
+ Ryan J Tibshirani, Rina Foygel Barber, Emmanuel Candes, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems, pp. 2530–2540. 2019.
294
+
295
+ Vladimir Vovk. Conditional validity of inductive conformal predictors. In Proceedings of the Asian Conference on Machine Learning, volume 25, pp. 475–490, 2012.
296
+
297
+ Vladimir Vovk, Alexander Gammerman, and Craig Saunders. Machine-learning applications of algorithmic randomness. In International Conference on Machine Learning, pp. 444–453, 1999.
298
+
299
+ Vladimir Vovk, David Lindsay, Ilia Nouretdinov, and Alex Gammerman. Mondrian confidence machine. Technical report, 2003. Technical report.
300
+
301
+ Vladimir Vovk, Alex Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
302
+
303
+ Chong Zhang, Wenbo Wang, and Xingye Qiao. On reject and refine options in multicategory classification. Journal of the American Statistical Association, 113(522):730–745, 2018.
304
+
305
+ # A PROOFS
306
+
307
+ Theorem $^ { l }$ . Let $\begin{array} { r } { s ( x , u , y ) = \operatorname* { i n f } _ { \tau } \{ y \in \mathcal { C } ( x , u , \tau ) \} } \end{array}$ , and let $s _ { i } = s ( X _ { i } , U _ { i } , Y _ { i } )$ for $i = 1 , \ldots , n$ . Then
308
+
309
+ $$
310
+ \{ y : s ( x , u , y ) \leq \tau \} = \{ y : y \in \mathcal { C } ( x , u , \tau ) \}
311
+ $$
312
+
313
+ because $\mathcal { C } ( x , u , \tau )$ is a finite set growing in $\tau$ by the assumption in Eq. (2). Thus,
314
+
315
+ $$
316
+ \tau : | \{ i : s _ { i } \leq \tau \} | \geq \lceil ( 1 - \alpha ) ( n + 1 ) \rceil \} = \left\{ \tau : \frac { | \{ i : Y _ { i } \in \mathcal { C } ( X _ { i } , U _ { i } , \tau ) \} | } { n } \geq \frac { \lceil ( n + 1 ) ( 1 - \alpha ) \rceil } { n } \right\} .
317
+ $$
318
+
319
+ Considering the left expression, the infimum over $\tau$ of the set on the left hand side is the $\lceil ( 1 ~ - ~ \alpha ) ( n ~ + ~ 1 ) \rceil$ smallest value of the $s _ { i }$ , so this is the value of $\hat { \tau } _ { \mathrm { c c a l } }$ . Since $s _ { 1 } , \ldots , s _ { n } , s ( X _ { n + 1 } , U _ { n + 1 } , Y _ { n + 1 } )$ are exchangeable random variables, $\begin{array} { r l } { | \{ i } ^ { \cdot } \cdot & { { } : } \end{array}$ $s ( X _ { n + 1 } , U _ { n + 1 } , Y _ { n + 1 } ) \ > \ s _ { i } \} |$ is stochastically dominated by the discrete uniform distribution on $\{ 0 , 1 , \ldots , n \}$ . We thus have that
320
+
321
+ $$
322
+ \begin{array} { r l } & { \mathsf { P } \left( Y _ { n + 1 } \notin \mathcal { C } ( X _ { n + 1 } , U _ { n + 1 } , \hat { \tau } _ { \mathrm { c e a l } } ) \right) = P \left( s ( X _ { n + 1 } , U _ { n + 1 } , Y _ { n + 1 } ) > \hat { \tau } _ { \mathrm { c e a l } } \right) } \\ & { \qquad = P \left( | \{ i : s ( X _ { n + 1 } , U _ { n + 1 } , Y _ { n + 1 } ) > s _ { i } \} | \ge \lceil ( n + 1 ) ( 1 - \alpha ) \rceil \right) } \\ & { \qquad = P \left( \frac { \left[ \{ i : s ( X _ { n + 1 } , U _ { n + 1 } , Y _ { n + 1 } ) > s _ { i } \} \right] } { n + 1 } \ge \frac { \lceil ( n + 1 ) ( 1 - \alpha ) \rceil } { n + 1 } \right) } \\ & { \qquad \le \alpha . } \end{array}
323
+ $$
324
+
325
+ Proposition $^ { l }$ . The lower bound follows from Theorem 1. To prove the upper bound, using the result from Theorem 2.2 of Lei et al. (2018) it suffices to show that the variables $s ( X _ { i } , U _ { i } , Y _ { i } ) =$ $\operatorname* { i n f } \{ \tau : Y _ { i } \in \mathcal { C } ( X _ { i } , U _ { i } , \tau ) \}$ are almost surely distinct. To this end, note that that
326
+
327
+ $$
328
+ s ( X _ { i } , U _ { i } , Y _ { i } ) = \rho _ { X _ { i } } ( Y _ { i } ) + \hat { \pi } _ { X _ { i } } ( Y _ { i } ) \cdot U _ { i } + \lambda ( o _ { X _ { i } } ( Y _ { i } ) - k _ { r e g } ) ^ { + } ,
329
+ $$
330
+
331
+ and due to the middle term of the sum, these values are distinct almost surely provided $\hat { \pi } _ { X _ { i } } ( Y _ { i } ) >$ 0. □
332
+
333
+ Proposition 2. We first show that $\hat { \tau } _ { \mathrm { c c a l } } \leq 1 + k ^ { * } - k _ { r e g }$ . Note that since at least $\lceil ( 1 - \alpha ) ( n + 1 ) \rceil$ of the conformal calibration points are covered by a set of size $k ^ { * }$ , at least $\lceil ( 1 - \alpha ) ( n + 1 ) \rceil$ of the $E _ { i }$ in Algorithm 2 are less than or equal to $1 + k ^ { * } - k _ { r e g }$ . Thus, by the definition of $\hat { \tau } _ { \mathrm { c c a l } }$ , we have that it is less than or equal to $1 + k ^ { * } - k _ { r e g }$ . Then, note that by the definition of $\mathcal { C } ^ { * }$ in Eq. (4), we have that
334
+
335
+ $$
336
+ | { \mathcal { C } } ^ { * } ( X _ { n + 1 } , U _ { n + 1 } , { \hat { \tau } } _ { \mathrm { c c a l } } ) | \leq k ^ { * } .
337
+ $$
338
+
339
+ as long as $\hat { \tau } _ { \mathrm { c c a l } } \leq 1 + k ^ { * } - k _ { r e q }$ , since for the $k ^ { * } + 1$ most likely class, the sum in Eq. (4) will exceed $\lambda \cdot ( 1 + k ^ { * } - k _ { r e g } ) = ( 1 + k ^ { * } - k _ { r e g } ) \geq \hat { \tau } _ { \mathrm { c c a l } } .$ , and so the $k ^ { * } + 1$ class will not be in the set.
340
+
341
+ Proposition 3. Suppose $P ( Y \in { \mathcal { C } } ( X ) \mid X = x ) = 1 - \alpha$ for each $x \in \mathbb { R } ^ { d }$ . Then,
342
+
343
+ $$
344
+ \begin{array} { r l } P ( Y \in \mathcal { C } ( X ) \mid | C ( X ) | \in \mathcal { A } ) = \displaystyle \frac { \int _ { x } P ( Y \in \mathcal { C } ( x ) \mid X = x \} { P ( | \mathcal { C } ( X ) | \in \mathcal { A } ) } \mathbb { I } _ { \{ | \mathcal { C } ( x ) | \in \mathcal { A } \} } d P ( x ) } & { } \\ { = \displaystyle \frac { \int _ { x } ( 1 - \alpha ) \mathbb { I } _ { \{ | \mathcal { C } ( x ) | \in \mathcal { A } \} } d P ( x ) } { P ( | \mathcal { C } ( X ) | \in \mathcal { A } ) } } & { } \\ { = 1 - \alpha . } \end{array}
345
+ $$
346
+
347
+ Published as a conference paper at ICLR 2021
348
+
349
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Accuracy</td><td colspan="4">Coverage</td><td colspan="4">Size</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td></tr><tr><td>ResNeXt101</td><td>0.794</td><td>0.945</td><td>0.905</td><td>0.938</td><td>0.950</td><td>0.950</td><td>5.64</td><td>36.4</td><td>46.3</td><td>4.21</td></tr><tr><td>ResNet152</td><td>0.783</td><td>0.940</td><td>0.950</td><td>0.943</td><td>0.950</td><td>0.950</td><td>6.36</td><td>19.6</td><td>22.5</td><td>4.40</td></tr><tr><td>ResNet101</td><td>0.774</td><td>0.936</td><td>0.950</td><td>0.944</td><td>0.950</td><td>0.950</td><td>6.79</td><td>20.6</td><td>23.2</td><td>4.79</td></tr><tr><td>ResNet50</td><td>0.762</td><td>0.929</td><td>0.951</td><td>0.943</td><td>0.950</td><td>0.950</td><td>8.12</td><td>22.9</td><td>26.2</td><td>5.57</td></tr><tr><td>ResNet18</td><td>0.698</td><td>0.891</td><td>0.950</td><td>0.943</td><td>0.950</td><td>0.950</td><td>16.0</td><td>28.9</td><td>33.2</td><td>11.7</td></tr><tr><td>DenseNet161</td><td>0.772</td><td>0.936</td><td>0.950</td><td>0.942</td><td>0.950</td><td>0.950</td><td>6.84</td><td>23.4</td><td>28.0</td><td>5.09</td></tr><tr><td>VGG16</td><td>0.716</td><td>0.904</td><td>0.950</td><td>0.943</td><td>0.950</td><td>0.950</td><td>12.9</td><td>24.6</td><td>27.8</td><td>8.98</td></tr><tr><td>Inception</td><td>0.695</td><td>0.887</td><td>0.950</td><td>0.937</td><td>0.950</td><td>0.950</td><td>20.3</td><td>142.0</td><td>168.0</td><td>18.5</td></tr><tr><td>ShuffleNet</td><td>0.694</td><td>0.883</td><td>0.950</td><td>0.940</td><td>0.950</td><td>0.950</td><td>19.3</td><td>58.7</td><td>71.6</td><td>16.3</td></tr></table>
350
+
351
+ Table 5: Results on Imagenet-Val. We report coverage and size of the optimal, randomized fixed sets, naive, APS, and RAPS sets for nine different Imagenet classifiers. The median-of-means for each column is reported over 100 different trials. See Section 3.1 for full details.
352
+
353
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Accuracy</td><td colspan="4">Coverage</td><td colspan="4">Size</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td></tr><tr><td>ResNeXt101</td><td>0.678</td><td>0.875</td><td>0.950</td><td>0.937</td><td>0.950</td><td>0.950</td><td>21.7</td><td>86.2</td><td>107.0</td><td>18.5</td></tr><tr><td>ResNet152</td><td>0.670</td><td>0.876</td><td>0.951</td><td>0.944</td><td>0.950</td><td>0.950</td><td>21.3</td><td>51.0</td><td>56.6</td><td>16.2</td></tr><tr><td>ResNet101</td><td>0.656</td><td>0.86</td><td>0.95</td><td>0.944</td><td>0.950</td><td>0.949</td><td>25.7</td><td>55.8</td><td>63.1</td><td>19.1</td></tr><tr><td>ResNet50</td><td>0.634</td><td>0.847</td><td>0.949</td><td>0.944</td><td>0.949</td><td>0.950</td><td>29.5</td><td>58.6</td><td>65.9</td><td>21.5</td></tr><tr><td>ResNet18</td><td>0.572</td><td>0.802</td><td>0.950</td><td>0.942</td><td>0.950</td><td>0.949</td><td>48.3</td><td>65.0</td><td>74.0</td><td>35.3</td></tr><tr><td>DenseNet161</td><td>0.653</td><td>0.861</td><td>0.951</td><td>0.941</td><td>0.950</td><td>0.949</td><td>25.9</td><td>60.0</td><td>72.7</td><td>20.4</td></tr><tr><td>VGG16</td><td>0.588</td><td>0.816</td><td>0.950</td><td>0.943</td><td>0.950</td><td>0.949</td><td>38.5</td><td>57.8</td><td>63.9</td><td>26.4</td></tr><tr><td>Inception</td><td>0.573</td><td>0.797</td><td>0.950</td><td>0.943</td><td>0.949</td><td>0.950</td><td>73.1</td><td>253.0</td><td>275.0</td><td>70.2</td></tr><tr><td>ShuffleNet</td><td>0.560</td><td>0.781</td><td>0.950</td><td>0.941</td><td>0.949</td><td>0.949</td><td>80.0</td><td>125.0</td><td>140.0</td><td>67.4</td></tr></table>
354
+
355
+ Table 6: Results on Imagenet-V2. We report coverage and size of the optimal, randomized fixed sets, naive, APS, and RAPS sets for nine different Imagenet classifiers. The median-of-means for each column is reported over 100 different trials at the $5 \%$ level. See Section 3.2 for full details.
356
+
357
+ # B RANDOMIZED PREDICTORS
358
+
359
+ The reader may wonder why we choose to use a randomized procedure. The randomization is needed to achieve $1 - \alpha$ coverage exactly, which we will explain via an example. Note that the randomization is of little practical importance, since the predictive set output by the randomized procedure will differ from the that of the non-randomized procedure by at most one element.
360
+
361
+ Turning to an example, assume for a particular input image we expect a set of size $k$ to have $9 1 \%$ coverage, and a set of size $k - 1$ to have $8 9 \%$ coverage. In order to achieve our desired coverage of $9 0 \%$ , we randomly choose size $k$ or $k - 1$ with equal probability. In general, the probabilities will not be equal, but rather chosen so the weighted average of the two coverages is exactly $9 0 \%$ . If a user of our method desires deterministic sets, it is easy to turn off this randomization with a single flag, resulting in slightly conservative sets.
362
+
363
+ # C IMAGENET AND IMAGENETV2 RESULTS FOR $\alpha = 5 \%$
364
+
365
+ We repeated Experiments 1 and 2 with $\alpha = 5 \%$ . See the results in Tables 5 and 6.
366
+
367
+ # D COVERAGE AND SIZE CONDITIONAL ON IMAGE DIFFICULTY
368
+
369
+ In order to probe the adaptiveness properties of APS and RAPS we stratified coverage and size by image difficulty (the position of the true label in the list of most likely to least likely classes, based on the classifier predictions) in Table 7. With increasing $\lambda$ , coverage decreases for more difficult images and increases for easier ones. In the most difficult regime, even though APS can output large sets, those sets still rarely contain the true class. This suggests regularization is a sensible way to stabilize the sets. As a final word on Table 7, notice that as $\lambda$ increases, coverage improves for the more common medium-difficulty examples, although not for very rare and difficult ones.
370
+
371
+ <table><tr><td></td><td></td><td colspan="2">入=0</td><td colspan="2">入=0.001</td><td colspan="2">入= 0.01</td><td colspan="2">入=0.1</td><td colspan="2">入=1</td></tr><tr><td>difficulty</td><td>count</td><td>cvg</td><td>SZ</td><td>cvg</td><td>SZ</td><td>cvg</td><td>SZ</td><td>cvg</td><td>SZ</td><td>cvg</td><td>SZ</td></tr><tr><td>1</td><td>15668</td><td>0.95</td><td>5.2</td><td>0.95</td><td>3.8</td><td>0.96</td><td>2.5</td><td>0.97</td><td>2.0</td><td>0.98</td><td>2.0</td></tr><tr><td>2 to3</td><td>2578</td><td>0.78</td><td>15.7</td><td>0.78</td><td>10.5</td><td>0.80</td><td>6.0</td><td>0.84</td><td>3.9</td><td>0.86</td><td>3.6</td></tr><tr><td>4 to6</td><td>717</td><td>0.68</td><td>31.7</td><td>0.68</td><td>19.7</td><td>0.70</td><td>9.7</td><td>0.71</td><td>5.3</td><td>0.64</td><td>4.4</td></tr><tr><td>7 to 10</td><td>334</td><td>0.63</td><td>41.0</td><td>0.63</td><td>24.9</td><td>0.60</td><td>11.6</td><td>0.22</td><td>5.7</td><td>0.00</td><td>4.5</td></tr><tr><td>11 to 100</td><td>622</td><td>0.55</td><td>57.8</td><td>0.51</td><td>34.1</td><td>0.26</td><td>14.7</td><td>0.00</td><td>6.4</td><td>0.00</td><td>4.6</td></tr><tr><td>101 to 1000</td><td>81</td><td>0.23</td><td>96.7</td><td>0.00</td><td>51.6</td><td>0.00</td><td>19.1</td><td>0.00</td><td>7.1</td><td>0.00</td><td>4.7</td></tr></table>
372
+
373
+ Table 7: Coverage and size conditional on difficulty. We report coverage and size of RAPS sets using ResNet152 with $k _ { r e g } = 5$ and varying $\lambda$ (recall that $\lambda = 0$ is the APS procedure). The desired coverage level is $90 \%$ The ‘difficulty’ is the ranking of the true class’s estimated probability.
374
+
375
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Violation at α = 10%</td><td colspan="2">Violationatα= 5%</td></tr><tr><td>APS</td><td>RAPS</td><td>APS</td><td>RAPS</td></tr><tr><td>ResNeXt101</td><td>0.090</td><td>0.049</td><td>0.048</td><td>0.021</td></tr><tr><td>ResNet152</td><td>0.069</td><td>0.038</td><td>0.037</td><td>0.017</td></tr><tr><td>ResNet101</td><td>0.073</td><td>0.041</td><td>0.038</td><td>0.017</td></tr><tr><td>ResNet50</td><td>0.069</td><td>0.037</td><td>0.037</td><td>0.016</td></tr><tr><td>ResNet18</td><td>0.046</td><td>0.025</td><td>0.032</td><td>0.019</td></tr><tr><td>DenseNet161</td><td>0.080</td><td>0.047</td><td>0.040</td><td>0.016</td></tr><tr><td>VGG16</td><td>0.046</td><td>0.022</td><td>0.030</td><td>0.022</td></tr><tr><td>Inception</td><td>0.085</td><td>0.045</td><td>0.043</td><td>0.023</td></tr><tr><td>ShuffleNet</td><td>0.061</td><td>0.033</td><td>0.035</td><td>0.020</td></tr></table>
376
+
377
+ Table 8: Adaptiveness results after automatically tuning λ. We report the median size-stratified coverage violations of APS and RAPS over 10 trials. See Appendix E.2 for experimental details.
378
+
379
+ # E CHOOSING $k _ { r e g }$ AND $\lambda$ TO OPTIMIZE SET SIZE AND ADAPTIVENESS
380
+
381
+ This section describes two procedures for picking $k _ { r e g }$ and $\lambda$ that optimize for set size or adaptiveness, outperforming APS in both cases.
382
+
383
+ # E.1 OPTIMIZING SET SIZE WITH RAPS
384
+
385
+ # Algorithm 4 Adaptive Fixed-K
386
+
387
+ Input: $\alpha$ $x ; I \in \{ 1 , . . . , K \} ^ { n \times K }$ , and one-hot $y \in \{ 0 , 1 \} ^ { K }$ corresponding respectively to the classes from highest to lowest estimated probability mass, and labels for each of $n$ examples in the dataset
388
+ 1: procedure GET-KSTAR $( \alpha , I , y )$
389
+ 2: for $i \in \{ 1 , \cdots , n \}$ do
390
+ 3: $L _ { i } \gets \{ \ : j : I _ { i , j } = y _ { i } \ : \}$
391
+ 4: $\hat { k } ^ { * } \gets \mathrm { t h e } \left\lceil ( 1 - \alpha ) ( 1 + n ) \right\rceil$ largest value in $\{ L _ { i } \} _ { i = 1 } ^ { n }$
392
+ 5: return $\hat { k } ^ { * }$
393
+
394
+ Output: The estimate of the smallest fixed size set that achieves coverage, $\hat { k } ^ { * }$
395
+
396
+ To produce Tables 1, 5, 2, and 6, we chose $k _ { r e g }$ and $\lambda$ adaptively. This required an extra data splitting step, where a small amount of tuning data $\left\{ x _ { i } , y _ { i } \right\} _ { i = 1 } ^ { m }$ were used to estimate $k ^ { * }$ , and then $k _ { r e g }$ is set to $k ^ { * }$ . Taking $m \approx 1 0 0 0$ was sufficient, since the algorithm is fairly insensitive to $k _ { r e g }$ (see Table 3). Then, $\hat { k } ^ { * }$ was calculated with Algorithm 4. We produced the Imagenet V2 tables with $m = 1 0 0 0$ and the Imagenet tables with $m = 1 0 0 0 0$ .
397
+
398
+ After choosing $\hat { k } ^ { * }$ , we chose $\lambda$ to have small set size. We used the same tuning data to pick $\hat { k } ^ { * }$ and $\lambda$ for simplicity (this does not invalidate our coverage guarantee since conformal calibration still uses fresh data). A coarse grid search on $\lambda$ sufficed, since small parameter variations have little impact on RAPS. For example, we chose the $\lambda \in \{ 0 . 0 0 1 , 0 . 0 1 , 0 . 1 , 0 . 2 , 0 . 5 \}$ that achieved the smallest size on the $m$ holdout samples in order to produce Tables 1, 5, 2, and 6. We include a subroutine that automatically chooses $\hat { k } ^ { * }$ and $\lambda$ to optimize size in our GitHub codebase.
399
+
400
+ # E.2 OPTIMIZING ADAPTIVENESS WITH RAPS
401
+
402
+ In this appendix, we show empirically that RAPS with an automatically chosen set of $k _ { r e g }$ and $\lambda$ improves the adaptiveness of APS. Recall our discussion in Section 4 and Proposition 3, wherein we propose size-stratified coverage as a useful definition of adaptiveness in image classification. After picking $k _ { r e g }$ as in Appendix E, we can choose $\lambda$ using the same tuning data to optimize this notion of adaptiveness.
403
+
404
+ We now describe a particular manifestation of our adaptiveness criterion that we will use to optimize $\lambda$ . Consider disjoint set-size strata $\{ S _ { i } \} _ { i = 1 } ^ { i = s }$ , where $\bigcup _ { j = 1 } ^ { j = s } S _ { i } = \{ 1 , \ldots , | \mathcal { V } | \}$ . Then define the indexes of examples stratified by the prediction set size of each example from algorithm $\mathcal { C }$ as ${ \mathcal { I } } _ { j } = \{ i :$ $| { \mathcal { C } } ( X _ { i } , Y _ { i } , U _ { i } ) | \in S _ { j } \}$ . Then we can define the size-stratified coverage violation of an algorithm $\mathcal { C }$ on strata $\{ S \} _ { i = 1 } ^ { i = s }$ as
405
+
406
+ $$
407
+ \mathrm { S S C V } ( \mathscr C , \{ \mathrm S \} _ { \mathrm { j = 1 } } ^ { \mathrm { j = s } } ) = \operatorname* { s u p } _ { \mathrm { j } } \bigg | \frac { | \{ \mathrm { i } : \mathrm { Y } _ { \mathrm { i } } \in \mathscr C ( \mathrm { X } _ { \mathrm { i } } , \mathrm Y _ { \mathrm { i } } , \mathrm U _ { \mathrm { i } } ) , \mathrm { i } \in \mathcal J _ { \mathrm { j } } \} | } { | \mathcal J _ { \mathrm { j } } | } - ( 1 - \alpha ) \bigg | .
408
+ $$
409
+
410
+ In words, Eq. (5) is the worst-case deviation of $\mathcal { C }$ from exact coverage when it outputs sets of a certain size. Computing the size-stratified coverage violation thus only requires post-stratifying the results of $\mathcal { C }$ on a set of labeled examples. If conditional coverage held, the worst stratum coverage violation would be 0 by Proposition 3.
411
+
412
+ To maximize adaptiveness, we’d like to choose $\lambda$ to minimize the size-stratified coverage violation of RAPS. Write $\mathcal { C } _ { \lambda }$ to mean the RAPS procedure for a fixed choice of $k _ { r e g }$ and $\lambda$ . Then we would like to pick
413
+
414
+ $$
415
+ \lambda = \underset { \lambda ^ { \prime } } { \arg \operatorname* { m i n } } \mathrm { S S C V } ( \mathcal C _ { \lambda ^ { \prime } } , \{ \mathrm { S } \} _ { \mathrm { j = 1 } } ^ { \mathrm { j = s } } ) .
416
+ $$
417
+
418
+ In our experiments, we choose a relatively coarse partitioning of the possible set sizes: 0-1, 2-3, 4- 10, 11-100, and 101-1000. Then, we chose the $\lambda \in \{ 0 . 0 0 0 0 1 , 0 . 0 0 0 1 , 0 . 0 0 0 8 , 0 . 0 0 1 , 0 . 0 0 1 5 , 0 . 0 0 2 \}$ which minimized the size-stratified coverage violation on the tuning set. The results in Table 8 show RAPS always outperforms the adaptiveness of APS on the test set, even with this coarse, automated choice of parameters. The table reports the median size-stratified coverage violation over 10 independent trials of APS and RAPS with automated parameter tuning.
419
+
420
+ # F COMPARISON WITH LEAST AMBIGUOUS SET-VALUED CLASSIFIERS
421
+
422
+ In this section, we compare RAPS to the Least Ambiguous Set-valued Classifier (LAC) method introduced in Sadinle et al. (2019), an alternative conformal procedure that is designed to have small sets. The LAC method provable gives the smallest possible average set size in the case where the input probabilities are correct, with the idea that these sets should be small even when the estimated probabilities are only approximately correct. In the notation of this paper, the LAC method considers nested sets of the following form:
423
+
424
+ $$
425
+ \begin{array} { r } { \mathcal { C } ^ { \mathtt { L A C } } ( x , \tau ) : = \{ y : \hat { \pi } _ { x } ( y ) \geq 1 - \tau \} , } \end{array}
426
+ $$
427
+
428
+ which can be calibrated using as before in using $\hat { \tau } _ { \mathrm { c c a l } }$ from Eq. (3).
429
+
430
+ We first compare naive, APS, RAPS, and LAC in terms of power and coverage in Table 9. In this experiment, we tuned RAPS to have small set size as described in Appendix E.1. We see that LAC also achieves correct coverage, as expected since it is a conformal method and satisfies the guarantee from Theorem 1. We further see that it has systematically smaller sets that RAPS, although the difference is slight compared to the gap between APS and RAPS or APS and LAC.
431
+
432
+ We next compare RAPS to LAC in terms of adaptiveness, tuning RAPS as in Section E.2. First, in Table 10, we report on the coverage of LAC for images of different difficulties, and see that LAC has dramatically worse coverage for hard images than for easy ones. Comparing this to RAPS in Table 7, we see that RAPS also has worse coverage for more difficult images, although the gap is much smaller for RAPS. Next, in Table 11, we report on the SSCV metric for of adaptiveness (and conditional coverage) for APS, RAPS, and LAC. We find that APS and RAPS have much better adaptiveness than LAC, with RAPS being the overall winner. The results of all of these comparisons are expected: LAC is not targetting adpativeness and instead trying to achieve the smallest possible set size. It succeeds at its goal, sacrificing adaptiveness to do so.
433
+
434
+ <table><tr><td rowspan="2">Model</td><td colspan="2"> Accuracy</td><td colspan="6">Coverage</td><td colspan="5">Size</td></tr><tr><td>Top-1</td><td>Top-5</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td></td><td>LAC</td><td>Top K</td><td>Naive</td><td>APS</td><td>RAPS</td><td>LAC</td></tr><tr><td>ResNeXt101</td><td>0.793</td><td>0.945</td><td>0.900</td><td>0.889</td><td>0.900</td><td>0.900</td><td>0.900</td><td>2.42</td><td>17.2</td><td>19.9</td><td></td><td>2.01</td><td>1.65</td></tr><tr><td>ResNet152</td><td>0.783</td><td>0.941</td><td>0.900</td><td>0.894</td><td>0.900</td><td></td><td>0.900</td><td>0.900</td><td>2.64</td><td>9.68</td><td>10.4</td><td>2.09</td><td>1.76</td></tr><tr><td>ResNet101</td><td>0.774</td><td>0.936</td><td>0.900</td><td>0.895</td><td>0.900</td><td>0.900</td><td>0.900</td><td></td><td>2.83</td><td>10.0</td><td>10.8</td><td>2.25</td><td>1.87</td></tr><tr><td>ResNet50</td><td>0.761</td><td>0.929</td><td>0.899</td><td>0.896</td><td>0.900</td><td>0.900</td><td>0.900</td><td></td><td>3.13</td><td>11.7</td><td>12.3</td><td>2.55</td><td>2.05</td></tr><tr><td>ResNet18</td><td>0.698</td><td>0.891</td><td>0.900</td><td>0.895</td><td>0.900</td><td>0.900</td><td></td><td>0.900</td><td>5.74</td><td>15.3</td><td>16.1</td><td>4.38</td><td>3.64</td></tr><tr><td>DenseNet161</td><td>0.771</td><td>0.936</td><td>0.900</td><td>0.894</td><td>0.900</td><td>0.900</td><td>0.900</td><td></td><td>2.84</td><td>11.2</td><td>12.0</td><td>2.29</td><td>1.90</td></tr><tr><td>VGG16</td><td>0.716</td><td>0.904</td><td>0.900</td><td>0.896</td><td>0.901</td><td>0.900</td><td>0.900</td><td></td><td>4.75</td><td>13.4</td><td>14.1</td><td>3.54</td><td>3.00</td></tr><tr><td>Inception</td><td>0.695</td><td>0.886</td><td>0.899</td><td>0.884</td><td>0.900</td><td>0.899</td><td>0.900</td><td></td><td>6.27</td><td>74.8</td><td>88.8</td><td>5.24</td><td>4.06</td></tr><tr><td>ShuffleNet</td><td>0.694</td><td>0.883</td><td>0.900</td><td>0.892</td><td>0.900</td><td>0.899</td><td>0.900</td><td></td><td>6.45</td><td>28.8</td><td>32.1</td><td>5.01</td><td>4.14</td></tr></table>
435
+
436
+ Results on Imagenet-Val. We report coverage and size of the optimal, randomized fixed sets, n a i ve , AP S , RAP S , and the LAC sets for nine different Imagenet classifiers . The median-of-means for each column is reported over 1OO different trials at the $10 \%$ 3 . 1 for full details .
437
+
438
+ <table><tr><td>difficulty</td><td>count</td><td>cvg</td><td>SZ</td></tr><tr><td>1</td><td>15668</td><td>1.00</td><td>1.5</td></tr><tr><td>2 to3</td><td>2578</td><td>0.81</td><td>2.6</td></tr><tr><td>4 to 6</td><td>717</td><td>0.23</td><td>3.0</td></tr><tr><td>7 to 10</td><td>334</td><td>0.00</td><td>2.9</td></tr><tr><td>11 to 100</td><td>622</td><td>0.00</td><td>2.7</td></tr><tr><td>101 to 1000</td><td>81</td><td>0.00</td><td>2.4</td></tr></table>
439
+
440
+ Table 10: Coverage and size conditional on difficulty. We report coverage and size of the LAC sets for ResNet-152.
441
+
442
+ <table><tr><td rowspan="2">Model</td><td colspan="3">Violation at α= 10%</td><td colspan="3">Violation at α = 5%</td></tr><tr><td>APS</td><td>RAPS</td><td>LAC</td><td>APS</td><td>RAPS</td><td>LAC</td></tr><tr><td>ResNeXt101</td><td>0.086</td><td>0.047</td><td>0.217</td><td>0.047</td><td>0.022</td><td>0.127</td></tr><tr><td>ResNet152</td><td>0.067</td><td>0.039</td><td>0.156</td><td>0.04</td><td>0.021</td><td>0.141</td></tr><tr><td>ResNet101</td><td>0.075</td><td>0.060</td><td>0.152</td><td>0.039</td><td>0.015</td><td>0.120</td></tr><tr><td>ResNet50</td><td>0.071</td><td>0.042</td><td>0.131</td><td>0.037</td><td>0.014</td><td>0.109</td></tr><tr><td>ResNet18</td><td>0.050</td><td>0.024</td><td>0.196</td><td>0.031</td><td>0.021</td><td>0.059</td></tr><tr><td>DenseNet161</td><td>0.076</td><td>0.055</td><td>0.140</td><td>0.039</td><td>0.016</td><td>0.110</td></tr><tr><td>VGG16</td><td>0.051</td><td>0.023</td><td>0.165</td><td>0.029</td><td>0.019</td><td>0.070</td></tr><tr><td>Inception</td><td>0.086</td><td>0.042</td><td>0.181</td><td>0.043</td><td>0.023</td><td>0.135</td></tr><tr><td>ShuffleNet</td><td>0.058</td><td>0.030</td><td>0.192</td><td>0.033</td><td>0.019</td><td>0.045</td></tr></table>
443
+
444
+ Table 11: Adaptiveness results after automatically tuning λ. We report the median SSCV of APS RAPS and LAC over 10 trials. See Appendix E.2 for experimental details.
parse/train/eNdiU_DbM9/eNdiU_DbM9_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/eNdiU_DbM9/eNdiU_DbM9_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/eNdiU_DbM9/eNdiU_DbM9_model.json ADDED
The diff for this file is too large to render. See raw diff