Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/2F_wnaioS6/2F_wnaioS6.md +250 -0
- parse/train/2F_wnaioS6/2F_wnaioS6_content_list.json +1245 -0
- parse/train/2F_wnaioS6/2F_wnaioS6_middle.json +0 -0
- parse/train/2F_wnaioS6/2F_wnaioS6_model.json +0 -0
- parse/train/Ig53hpHxS4/Ig53hpHxS4_content_list.json +1974 -0
- parse/train/Ig53hpHxS4/Ig53hpHxS4_middle.json +0 -0
- parse/train/QpU7n-6l0n/QpU7n-6l0n_middle.json +0 -0
- parse/train/QpU7n-6l0n/QpU7n-6l0n_model.json +0 -0
- parse/train/SkgHtkrYPH/SkgHtkrYPH.md +261 -0
- parse/train/SkgHtkrYPH/SkgHtkrYPH_content_list.json +1430 -0
- parse/train/SkgHtkrYPH/SkgHtkrYPH_middle.json +0 -0
- parse/train/SkgHtkrYPH/SkgHtkrYPH_model.json +0 -0
- parse/train/SkxKPDv5xl/SkxKPDv5xl.md +265 -0
- parse/train/SkxKPDv5xl/SkxKPDv5xl_content_list.json +1439 -0
- parse/train/SkxKPDv5xl/SkxKPDv5xl_middle.json +0 -0
- parse/train/SkxKPDv5xl/SkxKPDv5xl_model.json +0 -0
- parse/train/UZgGf92u5N0/UZgGf92u5N0.md +457 -0
- parse/train/UZgGf92u5N0/UZgGf92u5N0_content_list.json +966 -0
- parse/train/UZgGf92u5N0/UZgGf92u5N0_middle.json +0 -0
- parse/train/UZgGf92u5N0/UZgGf92u5N0_model.json +0 -0
parse/train/2F_wnaioS6/2F_wnaioS6.md
ADDED
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# A Hierarchical Reinforcement Learning Based Optimization Framework for Large-scale Dynamic Pickup and Delivery Problems
|
| 2 |
+
|
| 3 |
+
Yi $\mathbf { M } \mathbf { a } ^ { 1 }$ ∗, Xiaotian Hao1∗, Jianye $\mathbf { H } \mathbf { a } \mathbf { o } ^ { 1 2 }$ †, Jiawen $\mathbf { L } \mathbf { u } ^ { 2 }$ , Xing Liu2, Xialiang $\mathbf { T o n g } ^ { 2 }$ , Mingxuan Yuan2, Zhigang $\mathbf { L i } ^ { 1 }$ , Jie $\mathbf { T a n g } ^ { 3 }$ , Zhaopeng Meng1 1College of Intelligence and Computing, Tianjin University {mayi,xiaotianhao, jianye.hao, scs_lzg, mengzp} $@$ tju.edu.cn 2Noah’s Ark Lab, Huawei, {jiawen.lu, tongxialiang, Yuan.Mingxuan} $@$ huawei.com 3Tsinghua University, jietang $@$ tsinghua.edu.cn
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
The Dynamic Pickup and Delivery Problem (DPDP) is an essential problem in the logistics domain, which is NP-hard. The objective is to dynamically schedule vehicles among multiple sites to serve the online generated orders such that the overall transportation cost could be minimized. The critical challenge of DPDP is the orders are not known a priori, i.e., the orders are dynamically generated in real-time. To address this problem, existing methods partition the overall DPDP into fixed-size sub-problems by caching online generated orders and solve each sub-problem, or on this basis to utilize the predicted future orders to optimize each sub-problem further. However, the solution quality and efficiency of these methods are unsatisfactory, especially when the problem scale is very large. In this paper, we propose a novel hierarchical optimization framework to better solve large-scale DPDPs. Specifically, we design an upper-level agent to dynamically partition the DPDP into a series of sub-problems with different scales to optimize vehicles routes towards globally better solutions. Besides, a lower-level agent is designed to efficiently solve each sub-problem by incorporating the strengths of classical operational research-based methods with reinforcement learning-based policies. To verify the effectiveness of the proposed framework, real historical data is collected from the order dispatching system of Huawei Supply Chain Business Unit and used to build a functional simulator. Extensive offline simulation and online testing conducted on the industrial order dispatching system justify the superior performance of our framework over existing baselines.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
The Dynamic Pickup and Delivery Problem (DPDP) constitutes an important family of routing problems, which generally contains three key elements: orders, goods and vehicles as shown in Figure 1. Orders are generated in real-time. Different orders contain different types and quantities of goods. A number of vehicles are scheduled to serve the orders by transporting the desired goods from different origins to different destinations. The objective of DPDP is to dynamically assign each order to the most appropriate vehicle so that the overall transportation cost (e.g., overall distances) could be minimized. DPDPs are widespread in order dispatching systems of the supply chain, express mail delivery services and elsewhere.
|
| 12 |
+
|
| 13 |
+
DPDP is a complex variant of the Travelling Salesman Problem (TSP) and Vehicle Routing Problem (VRP), which are both NP-Hard combinatorial optimization problems [25]. The main difficulty of DPDP comes from the dynamically generated orders in real-time, thus the order dispatching decisions cannot be made beforehand in an offline style. Besides, compared with TSP and VRP, there exist various additional complex constraints in DPDP such as pickup and delivery constraint, Last-In-First-Out (LIFO) constraint, time window constraint, split demand constraint, etc.
|
| 14 |
+
|
| 15 |
+
Traditional methods for DPDP. Existing solutions for DPDP fall into two categories. The first category maintains a fixed buffer to cache the most recent generated orders and periodically dispatches all cached orders in a delayed mode. By this way, the overall dynamic problem is partitioned into a series of static sub-problems with subsets of known orders, i.e., static Pickup and Delivery Problems (PDPs). Then, operational research-based (OR) methods [22, 20], heuristic and
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Demonstration of DPDP
|
| 19 |
+
|
| 20 |
+
meta-heuristic methods [7, 16, 25, 4, 5, 3, 11, 26, 23, 9] are designed to solve each sub-problem. However, myopically optimizing each static sub-problem cannot guarantee the overall dynamic problem could be optimized from a long-term perspective since the split sub-problems are not independent of each other. The main reasons are previous orders assignment results will influence (1) the number of remaining orders to be dispatched, (2) the vehicle’s remaining capacity and (3) the relative positions to the following orders. To acquire better solutions, the second category methods [24, 8, 12] try to predict the distribution of future orders and take the predicted orders into consideration when computing the solution for each sub-problem. However, predicting future orders is not realistic due to the high uncertainty in the real world. Inaccurate predictions will mislead the order dispatcher and route planner, and result in poor solution quality.
|
| 21 |
+
|
| 22 |
+
Learning-based methods for VRP. Additionally, a common flaw of traditional OR and metaheuristic methods is that they are computationally expensive and normally unable to obtain a desired solution within the allowable time. Besides, the design of them heavily relies on complex domain knowledge. To improve the solution computing efficiency and ease the difficulty of the algorithm design, recently, several learning-based methods are proposed [27, 1, 18, 6, 13]. These methods have demonstrated that the solution computing efficiency can be significantly improved by leveraging the generalization ability of the trained models. Besides, they could obtain solutions with competitive qualities compared with the state-of-the-art traditional methods. Although these methods mainly focus on TSPs or VRPs, of which all orders’ information is known in advance and much fewer constraints are considered comparing with DPDP, learning-based methods have shown great potential to help solve large-scale DPDPs and reach superior performance.
|
| 23 |
+
|
| 24 |
+
In this paper, we propose a novel hierarchical reinforcement learning (RL) based optimization framework to solve the real-world large-scale DPDPs. Considering that order dispatching has a longterm impact on the overall optimization objective, the upper-level RL agent dynamically determines whether to wait longer at each moment for caching more future orders. In this way, the orders can be more flexibly assigned to vehicles (since each vehicle will have more candidate orders to choose) and the routes of vehicles could be optimized towards globally better solutions. The lower-level RL agent is responsible for assigning the cached orders to the most appropriate vehicles by sequentially manipulating heuristic operators to improve the solution quality iteratively. To verify the effectiveness of the framework, we collected real historical data from the order dispatching system of Huawei Supply Chain and built a simulator to simulate the order dispatching and vehicle transportation process. Further, we deployed our method on the company’s Supply Chain Business Unit. Extensive offline simulation and online testing showed the superior performance of our algorithm.
|
| 25 |
+
|
| 26 |
+
Our main contributions are as follows:
|
| 27 |
+
|
| 28 |
+
• We are the first to propose a practical hierarchical RL framework to efficiently and farsightedly compute superior solutions for the real-world large-scale DPDPs with complex constraints.
|
| 29 |
+
• We design a simulator using real industrial data to be the experimental benchmark to verify the proposed method, which is available here for interested researchers.
|
| 30 |
+
• We show that our approach considerably improves the optimization objectives compared with existing algorithms both in the offline evaluation and online testing. The ablation study indicates our approach can obtain high-quality solutions with fast running speed and has strong generalization ability.
|
| 31 |
+
|
| 32 |
+
# 2 Problem Formulation
|
| 33 |
+
|
| 34 |
+
We now give the formulation of DPDP in our logistics scenario. For the orders dynamically generated in real-time at different nodes (i.e., factories and warehouses) within a day, vehicles should be scheduled to transport the goods from pickup nodes to delivery nodes to fulfil the orders with minimal transportation cost. In our case, the objective is to minimize $K$ vehicles average travelling distances $D ( K )$ of the entire DPDP:
|
| 35 |
+
|
| 36 |
+
$$
|
| 37 |
+
\operatorname* { m i n } D ( K )
|
| 38 |
+
$$
|
| 39 |
+
|
| 40 |
+
while meeting several constraints: Pickup and Delivery Constraint, Capacity Constraint, LIFO Constraint, Time Window Constraint, etc. Detailed constraints are shown in Appendix A.
|
| 41 |
+
|
| 42 |
+
In practice, however, some orders are destined to violate time window constraints2. Thus, we add it to the objective function as an associated penalty to convert the hard time window constraint to a soft one. The penalty function is defined as the overtime beyond the specified completion time of each order. The optimization objective is then reformulated as minimizing the weighted sum 3 of average vehicles travelling distances (kilometers) $D ( K )$ and total overtime (seconds) $O T$ of all orders $C$ :
|
| 43 |
+
|
| 44 |
+
$$
|
| 45 |
+
\operatorname* { m i n } D ( K ) + \lambda * O T ( C )
|
| 46 |
+
$$
|
| 47 |
+
|
| 48 |
+
Apart from the various complex constraints mentioned above, the additional difficulties of this problem mainly come from two aspects:
|
| 49 |
+
|
| 50 |
+
(1) The problem scale is very large. In practical logistic scenarios of the company, millions of products and intermediate materials are manufactured every day. As these products and materials might be used in the subsequent phases (e.g., assembling or selling), they have to be scheduled and transported between hundreds of factories and warehouses by dozens of vehicles within stringent timeline constraints, which constitutes a very large-scale and complex DPDP.
|
| 51 |
+
(2) Besides, as the orders are generated online in real-time, the schedule planning cannot be made aforehand in an offline style. From the oracle’s point of view, i.e., when all orders of a day are known in advance, the uncertainty is eliminated and this DPDP can be formulated as a complex Mixed Integer Programming (MIP) Problem, of which the optimal solution could be obtained utilizing exact algorithms (e.g., cutting plane algorithms, branch-and-bound algorithms or modern solvers such as Gurobi[20]) [22]. However, in reality, it’s impossible to know all the orders in advance, thus these approaches are not applicable.
|
| 52 |
+
|
| 53 |
+
To eliminate the uncertainties brought by the unknown orders, a practical way is to utilize a buffer to cache the most recent generated orders and periodically dispatches all cached orders in a little delayed mode. With the known orders in the cache, the static PDP can be formulated as an MIP as shown in Appendix A. We could resort to modern solvers to solve this MIP. However, even for the static PDP with very few orders, it still costs several hours to compute a feasible solution, which is beyond the acceptable limits (details are shown in Table 2 and 3). Besides, even if we could obtain the optimal solution for each fixed split static PDP, we still cannot guarantee the global DPDP can be optimized as these static sub-problems are not independent of each other.
|
| 54 |
+
|
| 55 |
+
# 3 Method
|
| 56 |
+
|
| 57 |
+
# 3.1 Overall Framework
|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
Figure 2: Hierarchical Optimization Framework
|
| 61 |
+
|
| 62 |
+
In this paper, considering the challenges mentioned above, we propose a novel hierarchical reinforcement learning based optimization framework, which contains two levels of agents. As shown in Figure 2, we maintain a buffer to cache the newly generated orders and periodically dispatch all cached orders at once. But instead of dispatching the cached orders of fixed numbers or predicting future orders, we design an upper-level agent to dynamically determine whether to wait longer for caching more future orders at each moment. Though waiting longer will postpone the dispatching and transportation of the earlier cached orders, additional future orders can be taken into account for the vehicle-order matching. In this way, each vehicle will have more candidate orders to choose, thus the overall travelling distances will be more potentially to be optimized for shorter4. This process could be regarded as sacrificing a little time in exchange for a precise estimation of future orders. However, waiting for too long will also increase the risk of overtime of the earlier cached orders. Thus, whether to wait longer to cache more orders at each moment will have a long-term impact on the overall dispatching results, and can be naturally modeled as a sequential decision-making problem. We model this procedure as a Markov Decision Process (MDP). Depending on whether to wait longer at each moment, the overall DPDP can be dynamically partitioned into a series of static sub-problems, each of which includes different numbers of orders. As shown in Figure 2, the generated orders are accumulated in the buffer until the upper-level agent decides to stop caching at time $t _ { i + k }$ . Then, the agent releases the cached orders to the lower-level agent and clears the buffer.
|
| 63 |
+
|
| 64 |
+
Given the released orders (which form a static sub-problem, i.e., a PDP), the lower-level agent is appointed to assign the orders to the most appropriate vehicles and arrange the transportation route of each vehicle, such that the transportation cost of these orders could be minimized. First, a set of basic operators are maintained, whose roles are converting one feasible solution to another. For instance, given an initial solution’s route $\{ \mathrm { A } \mathrm { - } \mathrm { > B } \mathrm { - } \mathrm { > C } \}$ with three nodes A, B and C, a typical operator is swapping two nodes[13], e.g., swapping A and B. After applying this operator, $\{ \mathrm { A } \mathrm { - } \mathrm { > B } \mathrm { - } \mathrm { > C } \}$ is converted to $\{ { \bf B } { \bf - } { \bf > } { \bf A } { \bf - } { \bf > } { \bf C } \}$ . If the travelling cost of $\{ { \bf B } { \cdot } { > } { \bf A } { \cdot } { > } { \bf C } \}$ is less than $\{ \mathrm { A } \mathrm { - } \mathrm { > B } \mathrm { - } \mathrm { > C } \}$ , the initial solution is improved. On this basis, we design the lower-level agent similar to the traditional metaheuristic algorithms which sequentially manipulates these operators to improve the solution of each PDP. The difference is that we model the process of sequentially manipulating these operators as an MDP and incorporate RL methods to optimize the policy instead of manually designing complex rules. Finally, the best found solution is adopted by the order dispatching system to assign the orders to the vehicles and arrange their transportation routes. In the following two subsections, we will go into more details of the designed two agents.
|
| 65 |
+
|
| 66 |
+
# 3.2 Upper-level Agent
|
| 67 |
+
|
| 68 |
+
# 3.2.1 Workflow
|
| 69 |
+
|
| 70 |
+
The workflow of the upper-level agent is described in Figure 2. We partition a day into $T = 1 4 4$ fixed time intervals, and the time span of each interval is ten minutes. Each time interval starts at time $t _ { i - 1 }$ and ends at time $t _ { i }$ , $i \leq T$ is a positive integer. We name $t _ { 1 } , . . . , t _ { i } , . . . , t _ { T }$ as decision points. At each decision point $t _ { i }$ , the upper-level agent decides whether to release the accumulated orders to the lower-level agent according to their overtime risk. Taking Figure 2 as an example, at decision point $t _ { i - 1 }$ , the buffer already cached some orders $O _ { i - 1 }$ . At $t _ { i - 1 }$ , the upper-level agent makes a decision and determines to wait longer and not to release $O _ { i - 1 }$ to the lower-level agent. Thus $O _ { i - 1 }$ are still maintained in the buffer. Thereafter, at all decision points before $t _ { i + k }$ , the upper-level agent makes the same decisions as at $t _ { i - 1 }$ , i.e., ’not release’. Therefore, new generated orders $\langle \bar { O _ { i } } , . . . , O _ { i + k } \rangle$ between $t _ { i - 1 }$ and $t _ { i + K }$ are all appended to the buffer as well. At $t _ { i + k }$ , the upper-level agent makes a change and determines to release all accumulated orders $\langle O _ { i - 1 } , O _ { i } , . . . , O _ { i + k } \rangle$ to the lower-level agent. At this time, all accumulated orders together with the remaining orders $O _ { \mathrm { r e m a i n } }$ (assigned to the vehicles before $t _ { i - 1 }$ but the goods of the orders are still not loaded onto the vehicles even at $t _ { i + k }$ ) will be released by the upper-level agent. In this way, we get a static sub-problem constituting of orders $\langle O _ { i - 1 } , O _ { i } , . . . , O _ { i + k } , O _ { \mathrm { r e m a i n } } \rangle$ for the lower-level agent. By analogy, the overall DPDP can be divided into a series of static PDPs with different scales. We model the procedure of whether to wait longer at each decision moment as an MDP described in the following subsection.
|
| 71 |
+
|
| 72 |
+
# 3.2.2 Markov Decision Process (MDP)
|
| 73 |
+
|
| 74 |
+
State: The state includes the number of orders accumulated in the buffer, the number of available vehicles, the amount of time left before exceeding the time limit of each order, etc. All these features are normalized and concatenated together. Detailed descriptions are postponed to the Appendix F due to the space limitation.
|
| 75 |
+
|
| 76 |
+
Action: The action is a binary variable indicates whether to release orders to the lower-level agent.
|
| 77 |
+
|
| 78 |
+
Reward: Our ultimate goal is to minimize the optimization objective for the entire dynamic problem. Therefore, we first get the the overtime of the orders completed and the corresponding vehicle travelling distances between two consecutive decision moments $t _ { i - 1 }$ and $t _ { i }$ as shown in Figure 2, i.e., avg_distance $+ \lambda *$ overtime. Then we set the immediate reward of action executed at $t _ { i - 1 }$ as $- ( \mathrm { a v g \_ d i s t a n c e } + \lambda *$ overtime). By this rule, the sum of the immediate rewards forms the negative value of the total objective for the entire dynamic problem. With this reward, the overall objective for the entire dynamic problem could be optimized. In other words, we encourage the upper-level agent to optimize the overall dynamic problem from a long-term perspective when making decisions.
|
| 79 |
+
|
| 80 |
+
# 3.2.3 Agent Model
|
| 81 |
+
|
| 82 |
+
For the upper-level agent, we use Deep Q Network (DQN) [17]. We parameterize a value function $Q \left( s , a ; \phi _ { l } \right)$ using the deep neural network of MLPs in which $\phi _ { l }$ are the parameters of the Q-network at updating iteration $l$ . When reaching decision point $t _ { i }$ , we obtain the state $s _ { t _ { i } }$ , action $\boldsymbol { a } _ { t _ { i } }$ , and reward $r _ { t _ { i } }$ according to Section 3.2.2 for the current static problem and save them to the replay buffer. When reaching decision point $t _ { i + 1 }$ , we obtain the state $s _ { t _ { i + 1 } }$ , which is the next state of the previous static sub-problem and we get a new transition $e _ { t _ { i } } = ( s _ { t _ { i } } , a _ { t _ { i } } , r _ { t _ { i } } , s _ { t _ { i + 1 } } )$ . We store the transitions into buffer $D = \{ e _ { t _ { 1 } } , \ldots , e _ { t _ { i } } , \ldots \}$ during the running of simulator. During the training, we apply Q-learning updates on uniformly sampled transitions $( s , a , r , s ^ { \prime } ) \sim U ( D )$ from the replay buffer. The model updates at iteration $l$ uses the following Temporal Difference (TD) loss function:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
L _ { i } \left( \phi _ { l } \right) = \mathbb { E } _ { ( s , a , r , s ^ { \prime } ) \sim U ( D ) } \left[ \left( r + \gamma \operatorname* { m a x } _ { a ^ { \prime } } Q \left( s ^ { \prime } , a ^ { \prime } ; \phi _ { l } ^ { - } \right) - Q \left( s , a ; \phi _ { l } \right) \right) ^ { 2 } \right]
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $\gamma$ is the discount factor, $\phi _ { l }$ are the parameters of the Q-network at iteration $l$ and ${ \phi } _ { l } ^ { - }$ are the parameters of the target network at iteration $\it l$ .
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
Figure 3: Workflow of Lower-level Agent
|
| 92 |
+
|
| 93 |
+
# 3.3 Lower-level Agent
|
| 94 |
+
|
| 95 |
+
# 3.3.1 Workflow
|
| 96 |
+
|
| 97 |
+
The workflow of the lower-level agent is described in Figure 3. We first generate a feasible initial solution of the static sub-problem using greedy algorithm (described in Section 4.2). Given the initial solution, the lower-level agent iteratively improves the solution by manipulating different operators according to solution states as mentioned in Section 3.1 (we call this step Improvement [6, 13]). When the improved solution reaches a local optimum (i.e., the solution could not be improved further for a series of steps), we will partially or entirely re-assigning the orders using the greedy algorithm (we call this step Reconstruction). The improvement of the next iteration will start from the reconstructed solution. Note that the lower-level agent only selects improvement operators as reconstruction operator has a long-lasting effect on solutions compared with improvement operators and we found mixing up them will lead to instability during the training. The process of improvement and reconstruction alternates until reaching the maximum number of steps or the maximum allowable running time. The best generated solution during the improvements and reconstructions will be adopted to dispatch orders to vehicles. Note that the final accepted solution is ensured to be at least as good as the initial solution. Overall, by transferring the knowledge learned from previously solved PDPs to the new ones, the agent could efficiently and monotonically improve the solution quality. The MDP definition of the operators-manipulating procedure is described in the following subsection.
|
| 98 |
+
|
| 99 |
+
# 3.3.2 Markov Decision Process (MDP)
|
| 100 |
+
|
| 101 |
+
State: The state of the current solution consists of the states of all nodes, i.e., $s = \{ s _ { 1 } , s _ { 2 } , . . . , s _ { | V | } \}$ where $s _ { v }$ is the state of node $v$ . Each $s _ { v }$ includes the position information, order information, vehicle information and objective-related information. Details can be found in Appendix F.
|
| 102 |
+
|
| 103 |
+
Action: The action set consists of 4 carefully designed operators, i.e., inner-exchange, inner-relocate, inter-exchange and inter-relocate. We provide a proof in Appendix G that any feasible solution (including the optimal one) could be obtained by iteratively applying these 4 operators from any given initial solution. Details are described in Appendix G.
|
| 104 |
+
|
| 105 |
+
Reward: We find that the total objective can be easily reduced by a large margin during the first few improvement steps of an initial solution or reconstructed solution in the experiments (See Figure 4). If we assign the actions at these improvement steps a large reward, it’s not fair for the actions in the subsequent steps. This is because the actions in the subsequent steps also play important roles in improving solutions in the complex solution space. Therefore, the overall objective $\mathrm { O B J } _ { b }$ of the sub-problem after the first iteration (e.g., Iteration 1 in Figure 3) is used as the baseline following [13]. For each subsequent iteration $i$ , we first get the optimized objective after the iteration as $\mathrm { O B J } _ { i }$ and then assign $( | \mathbf { O B } \mathbf { J } _ { b } - \mathbf { O B J } _ { i } | ) / n _ { i }$ to all $n _ { i }$ actions executed in iteration $i$ as reward.
|
| 106 |
+
|
| 107 |
+
# 3.3.3 Agent Policy Network
|
| 108 |
+
|
| 109 |
+
The policy network of the lower-level agent inputs the state of the current solution and outputs action probabilities of length $| A |$ where $A$ is the set of operators. In our case, a critical challenge of designing the policy network is the number of orders and the number of available vehicles are different for each static sub-problem. As the quantity of the combination of orders and vehicles are extremely huge, we cannot train a separate model for every combination of different numbers of orders and vehicles. Thus, the desired model should be able to transfer the knowledge learned from the previously solved problems and generalize to new problems of any scale without fine-tuning. Besides, the routes of a solution naturally form a certain topological graph structure as shown in Figure 3. Therefore, in this paper, we incorporate GIN (Graph Isomorphism Network)[30], a powerful Graph Neural Network (GNN), to be the basis of the policy network of the lower-level agent. We use the REINFORCE algorithm [28] to train the policy network. Details of the policy network are shown in Appendix H.
|
| 110 |
+
|
| 111 |
+
# 4 Offline Evaluation
|
| 112 |
+
|
| 113 |
+
# 4.1 Experiments Settings
|
| 114 |
+
|
| 115 |
+
We start with designing a simulator to shed light on the contributions of the proposed framework under more controlled settings. Details of the simulator can be found in Appendix C. To comprehensively verify the effectiveness of our approach on problems of different scales, we use four types of datasets of different sizes, i.e., 15 orders with 5 vehicles, 50 orders with 5 vehicles, 300 orders with 20 vehicles, 1000 orders with 50 vehicles (matching the practical problem of thousand scales). Note that the orders/vehicles ratios are set according to realistic business settings. Each type of datasets contains 10 datasets, including 7 training sets and 3 test sets according to the ratio of 7:3 (e.g., 300-1, 300-2 and 300-3 are test sets with 300 orders). The vehicles have the same load capacity. Details of the datasets are described in Appendix D. According to the realistic business settings, the time span between two consecutive decision points is set to 10 minutes in the simulator.
|
| 116 |
+
|
| 117 |
+
The comparisons of different methods proceed as follows. For our approach, we first train a shared model on each type of training datasets and then evaluate the model on the test datasets of the same size. At each decision point, the upper-level agent decides whether to release orders to the lower-level agent. The lower-level agent is executed for no more than 10 minutes after receiving orders from the upper-level agent. Both agents are trained simultaneously. This training process is relatively stable due to the following reasons. The iterative solution optimization process (starts from an initial greedy solution) of our lower-level agent can ensure the obtained solutions have relatively high quality even at the initial training stages. In other words, the solutions given by the lower-level agent are relatively stable. Therefore, the unstable issue of co-training both levels of policies in our case is negligible, and thus both levels can be trained simultaneously. For baselines showed in Section 4.2, we also run them for up to 10 minutes at each decision point. We run the simulator until all the orders of the dataset are dispatched and completed to ensure fair comparisons. All the results in the experiments are obtained by running each algorithm ten times to get the mean and variance value of the optimization objective.
|
| 118 |
+
|
| 119 |
+
# 4.2 Baselines
|
| 120 |
+
|
| 121 |
+
To help readers better understand the baselines, we name them in the format of ’upper-level method $^ +$ lower-level method’ except for the Optimal baseline. ’10min-Interval’ means the dynamic problem is partitioned into static sub-problems with a fixed interval of ten minutes. ’1order-Interval’ means the dynamic problem is partitioned into static sub-problems consists of a single order.
|
| 122 |
+
|
| 123 |
+
10min-Interval $^ +$ Greedy: Greedy [15] is the most widely-used method in industry, which is also the online deployed baseline method. The solution routes are expanded by greedily inserting new pickup and delivery nodes until all the orders are inserted.
|
| 124 |
+
|
| 125 |
+
10min-Interval $^ +$ ALNS: ALNS [29] is one of the most representative meta-heuristic local search frameworks for solving DPDP that uses a series of operators to improve the solution. In each iteration, an operator is selected to destroy the current solution, and an operator is selected to repair the solution.
|
| 126 |
+
|
| 127 |
+
1order-Interval $^ +$ E2ERL: According to [14], we use a DQN model to assign vehicles to each generated order and insert each order into the vehicle’s order queue using the Greedy algorithm. It’s an E2ERL (end-to-end RL) algorithm.
|
| 128 |
+
|
| 129 |
+
10min-Interval $^ +$ ST-DDGN: ST-DDGN [12] is the state-of-the-art method that predicts future orders of DPDP. Then both the predicted orders and real generated orders are considered when solving each sub-problem using E2ERL.
|
| 130 |
+
|
| 131 |
+
Optimal: We convert DPDPs to static PDPs as we can obtain all the orders’ information beforehand in offline style. Then we use Gurobi to solve the corresponding MIP model to get the optimal solution. As Gurobi can only solve small-scale PDPs within acceptable time due to the NP-hard property, we only compare with the optimal solution on problems of 15 and 50 orders in Section 4.4.1.
|
| 132 |
+
|
| 133 |
+
# 4.3 Main Results
|
| 134 |
+
|
| 135 |
+
Here we show part of the experimental results in Table 1. The complete results are shown in Table 6 of Appendix I. The objective improvement measurement is the improvement percentage of each algorithm compared with the Greedy algorithm. Our approach consistently outperforms all baselines
|
| 136 |
+
|
| 137 |
+
Table 1: Main results of different methods on test datasets
|
| 138 |
+
|
| 139 |
+
<table><tr><td>Dataset</td><td>Algorithm</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td></tr><tr><td rowspan="5">50-1</td><td>10min-Interval + Greedy</td><td>0</td><td>109.30</td><td>109.30</td><td>0.00%</td></tr><tr><td>lorder-Interval +E2ERL</td><td>0</td><td>96.56</td><td>96.56</td><td>11.66%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>107.95</td><td>107.95</td><td>1.24%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>108.95</td><td>108.95</td><td>0.32%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>93.70</td><td>93.70</td><td>14.27%</td></tr><tr><td rowspan="5">300-1</td><td>10min-Interval+Greedy</td><td>0</td><td>147.78</td><td>147.78</td><td>0.00%</td></tr><tr><td>lorder-Interval + E2ERL</td><td>0</td><td>158.39</td><td>158.39</td><td>-7.18%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>137.31</td><td>137.31</td><td>7.08%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>131.99</td><td>131.99</td><td>10.68%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>122.42</td><td>122.42</td><td>17.16%</td></tr><tr><td rowspan="5">1000-1</td><td>10min-Interval+Greedy</td><td>0</td><td>183.04</td><td>183.04</td><td>0.00%</td></tr><tr><td>lorder-Interval + E2ERL</td><td>0</td><td>180.36</td><td>180.36</td><td>1.46%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>174.68</td><td>174.68</td><td>4.57%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>171.09</td><td>171.09</td><td>6.53%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>159.18</td><td>159.18</td><td>13.04%</td></tr></table>
|
| 140 |
+
|
| 141 |
+
on all datasets (lower total objective is better). On some datasets, the baselines have overtime results due to their lack of long-term planning and exhaustively optimization of each static problem from a myopic perspective. As a result, dispatching of some orders is delayed for too long, and finally, overtime is inevitable in any case. In contrast to this, our upper-level RL partitions the dynamic problem into sub-problems considering the balance between the orders overtime (seconds) risk and optimization of vehicle travelling distances (kilometers), and our lower-level RL is responsible for the optimization of each static sub-problem. The cooperation of the two agents enables our method to find solutions with less overtime and vehicle travelling distances on the overall dynamic problem from a long-term perspective. The comparison of the learning curves of all learning-based methods on 50-1 are shown in Figure 11 in Appendix I.
|
| 142 |
+
|
| 143 |
+
# 4.4 Ablation Studies
|
| 144 |
+
|
| 145 |
+
# 4.4.1 How far is our lower-level agent from the optimal one on static PDP?
|
| 146 |
+
|
| 147 |
+
We convert the DPDP to a single static PDP as described in Section 4.2. As the orders should be assigned to vehicles all at once, there is no need to use an upper-level agent. Similarly, without the prediction of future orders, ST-DDGN is essentially the same as E2ERL. Therefore we only use the lower-level agent and E2ERL in the static PDP. Each algorithm is run without time or step limitation to discover its full potential. As shown in Table 2 and 3, the difference of the total objective of our method with the optimal solution is much smaller than the baselines (as all the overtime is 0, the column is omitted from the two Tables). The time consumption is much shorter than ALNS and Gurobi. It is because our method can exert the generalization ability to quickly improve the initial solution by using the most appropriate operators based on the experiences obtained from training, without the need of manually designing complicated search as in ALNS and Gurobi. Note that the time consumption of Gurobi on problems of 50 orders is represented using hyphen symbol ’-’, which means we can’t get results even after 100 hours due to the various complex constraints as described in Appendix A. Comparing with baselines, our method is the most qualified to meet the online deployment requirements that the algorithm should obtain high-quality solutions with fast speed.
|
| 148 |
+
|
| 149 |
+
Table 2: Results on static 15-1, 15-2, 15-3
|
| 150 |
+
|
| 151 |
+
<table><tr><td>Algorithm</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td><td>Time</td></tr><tr><td>Greedy</td><td>53.85</td><td>53.85</td><td>0.00%</td><td>0.38s</td></tr><tr><td>E2ERL</td><td>51.70</td><td>51.70</td><td>3.99%</td><td>0.58s</td></tr><tr><td>ALNS</td><td>51.58</td><td>51.58</td><td>4.22%</td><td>405s</td></tr><tr><td>Our</td><td>45.72</td><td>45.72</td><td>15.10%</td><td>68.21s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>44.35</td><td>44.35</td><td>17.64%</td><td>141360s</td></tr><tr><td>Greedy</td><td>69.61</td><td>69.61</td><td>0.00%</td><td>0.40s</td></tr><tr><td>E2ERL</td><td>68.00</td><td>68.00</td><td>2.31%</td><td>0.79s</td></tr><tr><td>ALNS</td><td>62.62</td><td>62.62</td><td>10.04%</td><td>606s</td></tr><tr><td>Our</td><td>62.32</td><td>62.32</td><td>10.47%</td><td>27.96s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>57.48</td><td>57.48</td><td>17.43%</td><td>193680s</td></tr><tr><td>Greedy</td><td>78.73</td><td>78.73</td><td>0.00%</td><td>0.34s</td></tr><tr><td>E2ERL</td><td>59.02</td><td>59.02</td><td>25.03%</td><td>0.83s</td></tr><tr><td>ALNS</td><td>52.21</td><td>52.21</td><td>33.68%</td><td>920s</td></tr><tr><td>Our</td><td>50.95</td><td>50.95</td><td>35.29%</td><td>71.98s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>50.75</td><td>50.75</td><td>35.54%</td><td>28651s</td></tr></table>
|
| 152 |
+
|
| 153 |
+
Table 3: Results on static 50-1, 50-2, 50-3
|
| 154 |
+
|
| 155 |
+
<table><tr><td>Algorithm</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td><td>Time</td></tr><tr><td>Greedy</td><td>98.68</td><td>98.68</td><td>0.00%</td><td>66.73s</td></tr><tr><td>E2ERL</td><td>94.94</td><td>94.94</td><td>3.79%</td><td>52.64s</td></tr><tr><td>ALNS</td><td>96.98</td><td>96.98</td><td>1.72%</td><td>10728.34s</td></tr><tr><td>Our (Lower-level RL)</td><td>82.43</td><td>82.43</td><td>16.47%</td><td>1459.23s</td></tr><tr><td>Optimal</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Greedy</td><td>80.67</td><td>80.67</td><td>0.00%</td><td>22.27s</td></tr><tr><td>E2ERL</td><td>76.04</td><td>76.04</td><td>5.74%</td><td>16.66s</td></tr><tr><td>ALNS</td><td>65.31</td><td>65.31</td><td>19.04%</td><td>6012.56s</td></tr><tr><td>Our (Lower-level RL)</td><td>58.42</td><td>58.42</td><td>27.58%</td><td>1152.64s</td></tr><tr><td>Optimal</td><td>=</td><td>=</td><td>=</td><td>=</td></tr><tr><td>Greedy</td><td>83.34</td><td>83.34</td><td>0.00%</td><td>44.31s</td></tr><tr><td>E2ERL</td><td>80.92</td><td>80.92</td><td>2.90%</td><td>20.34s</td></tr><tr><td>ALNS</td><td>80.51</td><td>80.51</td><td>3.40%</td><td>4140.15s</td></tr><tr><td>Our (Lower-level RL)</td><td>72.66</td><td>72.66</td><td>12.81%</td><td>1998.09s</td></tr><tr><td>Optimal</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></table>
|
| 156 |
+
|
| 157 |
+
# 4.4.2 Does lower-level agent learn how to select operators?
|
| 158 |
+
|
| 159 |
+
To verify that our lower-level agent learns to choose the most suitable operators at different states, we compare the results of different operator selection methods on both static problems and dynamic problems. We first compare the total objective during the solution improvement process on the static problems using the lower-level agent with the method that randomly selects operators. As the improvement-reconstruct iteration process designed in Section 3.3 ensures the quality of the solution can be monotonically improved, selecting operators randomly is also a powerful baseline that can achieve satisfactory performance for the static PDP.
|
| 160 |
+
|
| 161 |
+
Therefore, for the static problem, we mainly focus on whether the lower-level agent can improve the solving speed. As we can see in Figure 4, at the same step, choosing operators using lower-level RL can reach a better objective than randomly choosing operators, which indicates our lower-level method learned to accelerate the searching for better solutions. Since the static sub-problems of a dynamic problem are not independent of each other, the small gap between the above
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 4: Comparison of different selection methods of operators on static problems
|
| 165 |
+
|
| 166 |
+
two methods in a static sub-problem will continue to enlarge in the subsequent sub-problems, resulting in a very large result gap on the entire dynamic problem. We compare the total objectives of the entire dynamic problems in Table 4. To ensure fairness, we control the upper-level methods to be ’10min-Interval’ and use the lower-level agent and random selection as lower-level methods, respectively. As we can see in Table 4, using the lower-level agent can help find better solutions on the entire dynamic problems.
|
| 167 |
+
|
| 168 |
+
# 4.4.3 Does the upper-level agent learn to partition DPDP from a long-term perspective?
|
| 169 |
+
|
| 170 |
+
To verify that our upper-level agent learns to partition the dynamic problem into static subproblems from a long-term perspective, we compare the results of differ
|
| 171 |
+
|
| 172 |
+
Table 4: Effectiveness of lower-level agent and upper-level agent
|
| 173 |
+
|
| 174 |
+
<table><tr><td>Dataset</td><td>Method</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td><td>ObjImpro</td></tr><tr><td rowspan="3">300-1</td><td>10min-Interval+Random Search</td><td>0</td><td>139.16 ± 8.59</td><td>139.16</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>126.95 ± 4.80</td><td>126.95</td><td>8.77%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>122.42 ± 4.02</td><td>122.42</td><td>12.03%</td></tr><tr><td rowspan="3">300-2</td><td>10min-Interval+RandomSearch</td><td>0</td><td>166.31 ± 10.20</td><td>166.31</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>154.39 ± 8.13</td><td>154.39</td><td>7.17%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>142.33 ± 7.47</td><td>142.33</td><td>14.42%</td></tr><tr><td rowspan="3">300-3</td><td>10min-Interval+RandomSearch</td><td>0</td><td>168.69±7.70</td><td>168.69</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>156.64 ± 7.50</td><td>156.64</td><td>7.14%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>146.88 ±13.91</td><td>146.88</td><td>12.93%</td></tr></table>
|
| 175 |
+
|
| 176 |
+
ent static sub-problems partitioning methods. We compare our upper-level agent with the $\mathrm { \Omega } ^ { , } 1 0 \mathrm { m i n } .$ Interval’ method. As we can see in Table 4, using an upper-level agent to partition the dynamic problem reaches the best objective. The results illustrate that our upper-level agent can partition the problem from a long-term perspective to balance the orders overtime risk and optimization of vehicle travelling distances.
|
| 177 |
+
|
| 178 |
+
# 4.4.4 Can our method generalized to larger-scale problems?
|
| 179 |
+
|
| 180 |
+
To verify our method’s generalization ability, we evaluate the models trained using datasets of 300 orders / 20 vehicles on larger-scale datasets, i.e., 1000 orders / 50 vehicles. As shown in Table 5, the model trained on datasets of 300 orders achieves similar performance with the one trained on datasets of 1000 orders.
|
| 181 |
+
|
| 182 |
+
Table 5: Generalization verification
|
| 183 |
+
|
| 184 |
+
<table><tr><td>Dataset</td><td>Model</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td></tr><tr><td rowspan="2">1000-1</td><td>Trained on 1000</td><td>0</td><td>159.18 ± 4.10</td><td>159.18</td></tr><tr><td>Trained on 300</td><td>0</td><td>170.78 ± 10.27</td><td>170.78</td></tr><tr><td rowspan="2">1000-2</td><td>Trained on 1000</td><td>0</td><td>196.66± 9.52</td><td>196.66</td></tr><tr><td>Trained on 300</td><td>0</td><td>209.48±8.68</td><td>209.48</td></tr><tr><td rowspan="2">1000-3</td><td>Trained on 1000</td><td>0</td><td>176.39 ± 7.61</td><td>176.39</td></tr><tr><td>Trained on 300</td><td>0</td><td>182.83 ± 5.64</td><td>182.83</td></tr></table>
|
| 185 |
+
|
| 186 |
+
Note that the model trained on datasets of 300 orders also outperforms the baselines in Table 1. It verifies that our method can be generalized to new problems of different scales without fine-tuning after well trained on existing problems.
|
| 187 |
+
|
| 188 |
+
# 5 Online Testing
|
| 189 |
+
|
| 190 |
+
We deployed our method on the order dispatching system in Huawei supply chain. In the online experiments, we compare our method with the previously online deployed greedy algorithm (10min-Interval $^ +$ Greedy). For a fair comparison, we control the vehicles and the nodes (factories and warehouses) involved in the online testing to be the same. Normally, a standard A/B testing is required to be performed on homogeneous experimental groups using different methods
|
| 191 |
+
|
| 192 |
+

|
| 193 |
+
Figure 5: Online Results
|
| 194 |
+
|
| 195 |
+
at the same time dimension. Then experimental data of each group are collected and evaluated to choose the best method. However, in our situation, it’s unrealistic to split each order into two sub-orders to ensure the experimental groups are homogeneous. Besides, a large number of offline experiments have demonstrated that our method is significantly better than the greedy algorithm. Even in the worst case when there is no improvement in each sub-problem, our method is still the same with Greedy. Thus, we directly replaced the greedy algorithm for online deployment. Figure 5 summarises the results from Nov 2020 to Apr 2021. The points of Nov and Dec 2020 shown in Figure 5 are generated by greedy algorithm and our method is deployed from Jan to Apr 2021. As we can see, our method can reduce the average orders’ overtime and vehicles’ travelling distances compared with the greedy baseline. Even with more orders, our method can still reach a better optimization objective. Note that in the actual business scenario, orders generated in each day follow a similar distribution with a small variance. These results indicate that our method could achieve a better performance in the realistic deployment environment with varied data distributions.
|
| 196 |
+
|
| 197 |
+
# 6 Conclusions
|
| 198 |
+
|
| 199 |
+
In this paper, we propose a novel hierarchical reinforcement learning based optimization framework to solve the large-scale DPDP in the real world. The upper-level agent is equipped with the far-sight ability whose target is to optimize the long-term cumulative objective. The lower-level agent exerts the generalization ability of GNN to quickly improve the solution quality by transferring the knowledge (policy) learned from training. The cooperation of the upper-level and lower-level agents enables our method to find globally better solutions. Extensive offline simulation on the simulator built on real historical data and online testing verify that our method can obtain higher-quality solutions with faster running speed.
|
| 200 |
+
|
| 201 |
+
The core idea of our learning-based framework are beneficial to a number of similar problems in the supply chain community that have time-evolving components (e.g., orders/customers/tasks), such as dynamic routing problems, dynamic flow shop scheduling, dynamic job shop scheduling, dynamic bin packing and so on. As orders/customers/tasks of all these dynamic problems are online generated that are not known a priori, the orders/customers/tasks should first be cached and then be dispatched. In this way, these problems can be modeled as hierarchical optimization problems like DPDP that the upper-level problem is ”how to cache orders/customers/tasks” and the lower-level problem is ”how to dispatch cached orders/customers/tasks”. We will verify our proposed framework in these fields in the future work.
|
| 202 |
+
|
| 203 |
+
# Acknowledgments and Disclosure of Funding
|
| 204 |
+
|
| 205 |
+
The work is supported by the National Natural Science Foundation of China (Grant Nos: U1836214) and the New Generation of Artificial Intelligence Science and Technology Major Project of Tianjin under grant: 19ZXZNGX00010.
|
| 206 |
+
|
| 207 |
+
References
|
| 208 |
+
[1] Irwan Bello, Hieu Pham, Quoc V Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. arXiv preprint arXiv:1611.09940, 2016.
|
| 209 |
+
[2] Enrique Benavent, Mercedes Landete, Enrique Mota, and Gregorio Tirado. The multiple vehicle pickup and delivery problem with lifo constraints. European Journal of Operational Research, 243(3):752–762, 2015.
|
| 210 |
+
[3] Gerardo Berbeglia, Jean-François Cordeau, and Gilbert Laporte. Dynamic pickup and delivery problems. European journal of operational research, 202(1):8–15, 2010.
|
| 211 |
+
[4] Francesco Carrabs, Jean-François Cordeau, and Gilbert Laporte. Variable neighborhood search for the pickup and delivery traveling salesman problem with lifo loading. INFORMS Journal on Computing, 19 (4):618–632, 2007.
|
| 212 |
+
[5] Brenda Cheang, Xiang Gao, Andrew Lim, Hu Qin, and Wenbin Zhu. Multiple pickup and delivery traveling salesman problem with last-in-first-out loading and distance constraints. European journal of operational research, 223(1):60–75, 2012.
|
| 213 |
+
[6] Xinyun Chen and Yuandong Tian. Learning to perform local rewriting for combinatorial optimization. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 6278–6289, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/ 131f383b434fdf48079bff1e44e2d9a5-Abstract.html.
|
| 214 |
+
[7] Michel Gendreau, Francois Guertin, Jean-Yves Potvin, and René Séguin. Neighborhood search heuristics for a dynamic vehicle dispatching problem with pick-ups and deliveries. Transportation Research Part C: Emerging Technologies, 14(3):157–174, 2006.
|
| 215 |
+
[8] Gianpaolo Ghiani, Emanuele Manni, Antonella Quaranta, and Chefi Triki. Anticipatory algorithms for same-day courier dispatching. Transportation Research Part E: Logistics and Transportation Review, 45 (1):96–106, 2009.
|
| 216 |
+
[9] Péter Györgyi and Tamás Kis. A probabilistic approach to pickup and delivery problems with time window uncertainty. European Journal of Operational Research, 274(3):909–923, 2019.
|
| 217 |
+
[10] Matheus Nohra Haddad, Rafael Martinelli, Thibaut Vidal, Simone Martins, Luiz Satoru Ochi, Marcone Jamilson Freitas Souza, and Richard Hartl. Large neighborhood-based metaheuristic and branch-and-price for the pickup and delivery problem with split loads. European Journal of Operational Research, 270(3): 1014–1027, 2018.
|
| 218 |
+
[11] Farzaneh Karami, Wim Vancroonenburg, and Greet Vanden Berghe. A periodic optimization approach to dynamic pickup and delivery problems with time windows. Journal of Scheduling, 23(6):711–731, 2020.
|
| 219 |
+
[12] Xijun Li, Weilin Luo, Mingxuan Yuan, Jun Wang, Jiawen Lu, Jie Wang, Jinhu Lv, and Jia Zeng. Learning to optimize industry-scale dynamic pickup and delivery problems. 37th IEEE International Conference on Data Engineering, 2021.
|
| 220 |
+
[13] Hao Lu, Xingwen Zhang, and Shuang Yang. A learning-based iterative method for solving vehicle routing problems. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=BJe1334YDH.
|
| 221 |
+
[14] Hongzi Mao, Malte Schwarzkopf, Shaileshh Bojja Venkatakrishnan, Zili Meng, and Mohammad Alizadeh. Learning scheduling algorithms for data processing clusters. In Proceedings of the ACM Special Interest Group on Data Communication, pages 270–288. 2019.
|
| 222 |
+
[15] Snežana Mitrovic-Mini ´ c and Gilbert Laporte. Waiting strategies for the dynamic pickup and delivery ´ problem with time windows. Transportation Research Part B: Methodological, 38(7):635–655, 2004.
|
| 223 |
+
[16] Snezana Mitrovic-Minic, Ramesh Krishnamurti, Gilbert Laporte, et al. Double-horizon based heuristics for the dynamic pickup and delivery problem with time windows. Transportation Research Part B: Methodological, 38(8):669–685, 2004.
|
| 224 |
+
[17] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. nature, 518(7540):529–533, 2015.
|
| 225 |
+
|
| 226 |
+
[18] MohammadReza Nazari, Afshin Oroojlooy, Lawrence V. Snyder, and Martin Takác. Reinforcement learning for solving the vehicle routing problem. In Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicolò Cesa-Bianchi, and Roman Garnett, editors, Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 9861–9871, 2018. URL https://proceedings. neurips.cc/paper/2018/hash/9fb4651c05b2ed70fba5afe0b039a550-Abstract.html.
|
| 227 |
+
|
| 228 |
+
[19] Maciek Nowak, Özlem Ergun, and Chelsea C White III. Pickup and delivery with split loads. Transportation Science, 42(1):32–43, 2008.
|
| 229 |
+
|
| 230 |
+
[20] GUROBI OPTIMIZATION. Inc. gurobi optimizer reference manual, 2015. URL: http://www. gurobi. com, page 29, 2014.
|
| 231 |
+
|
| 232 |
+
[21] Bo Peng, Yuan Zhang, Zhipeng Lü, TCE Cheng, and Fred Glover. A learning-based memetic algorithm for the multiple vehicle pickup and delivery problem with lifo loading. Computers & Industrial Engineering, 142:106241, 2020.
|
| 233 |
+
|
| 234 |
+
[22] Martin Savelsbergh and Marc Sol. Drive: Dynamic routing of independent vehicles. Operations Research, 46(4):474–490, 1998.
|
| 235 |
+
|
| 236 |
+
[23] Zhiyuan Su, Wantao Li, Jicao Li, and Bin Cheng. Heterogeneous fleet vehicle scheduling problems for dynamic pickup and delivery problem with time windows in shared logistics platform: formulation, instances and algorithms. International Journal of Systems Science: Operations & Logistics, pages 1–25, 2021.
|
| 237 |
+
|
| 238 |
+
[24] Barrett W Thomas. Waiting strategies for anticipating service requests from known customer locations. Transportation Science, 41(3):319–331, 2007.
|
| 239 |
+
|
| 240 |
+
[25] Paolo Toth and Daniele Vigo. Vehicle routing: problems, methods, and applications. SIAM, 2014.
|
| 241 |
+
|
| 242 |
+
[26] Marlin W Ulmer, Barrett W Thomas, Ann Melissa Campbell, and Nicholas Woyak. The restaurant meal delivery problem: Dynamic pickup and delivery with deadlines and random ready times. Transportation Science, 55(1):75–100, 2021.
|
| 243 |
+
|
| 244 |
+
[27] Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett, editors, Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7- 12, 2015, Montreal, Quebec, Canada, pages 2692–2700, 2015. URL https://proceedings.neurips. cc/paper/2015/hash/29921001f2f04bd3baee84a12e98098f-Abstract.html.
|
| 245 |
+
|
| 246 |
+
[28] Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992.
|
| 247 |
+
|
| 248 |
+
[29] David Wolfinger. A large neighborhood search for the pickup and delivery problem with time windows, split loads and transshipments. Computers & Operations Research, 126:105110.
|
| 249 |
+
|
| 250 |
+
[30] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=ryGs6iA5Km.
|
parse/train/2F_wnaioS6/2F_wnaioS6_content_list.json
ADDED
|
@@ -0,0 +1,1245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "A Hierarchical Reinforcement Learning Based Optimization Framework for Large-scale Dynamic Pickup and Delivery Problems ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
191,
|
| 8 |
+
122,
|
| 9 |
+
807,
|
| 10 |
+
198
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yi $\\mathbf { M } \\mathbf { a } ^ { 1 }$ ∗, Xiaotian Hao1∗, Jianye $\\mathbf { H } \\mathbf { a } \\mathbf { o } ^ { 1 2 }$ †, Jiawen $\\mathbf { L } \\mathbf { u } ^ { 2 }$ , Xing Liu2, Xialiang $\\mathbf { T o n g } ^ { 2 }$ , Mingxuan Yuan2, Zhigang $\\mathbf { L i } ^ { 1 }$ , Jie $\\mathbf { T a n g } ^ { 3 }$ , Zhaopeng Meng1 1College of Intelligence and Computing, Tianjin University {mayi,xiaotianhao, jianye.hao, scs_lzg, mengzp} $@$ tju.edu.cn 2Noah’s Ark Lab, Huawei, {jiawen.lu, tongxialiang, Yuan.Mingxuan} $@$ huawei.com 3Tsinghua University, jietang $@$ tsinghua.edu.cn ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
223,
|
| 19 |
+
250,
|
| 20 |
+
774,
|
| 21 |
+
338
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
373,
|
| 32 |
+
535,
|
| 33 |
+
390
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "The Dynamic Pickup and Delivery Problem (DPDP) is an essential problem in the logistics domain, which is NP-hard. The objective is to dynamically schedule vehicles among multiple sites to serve the online generated orders such that the overall transportation cost could be minimized. The critical challenge of DPDP is the orders are not known a priori, i.e., the orders are dynamically generated in real-time. To address this problem, existing methods partition the overall DPDP into fixed-size sub-problems by caching online generated orders and solve each sub-problem, or on this basis to utilize the predicted future orders to optimize each sub-problem further. However, the solution quality and efficiency of these methods are unsatisfactory, especially when the problem scale is very large. In this paper, we propose a novel hierarchical optimization framework to better solve large-scale DPDPs. Specifically, we design an upper-level agent to dynamically partition the DPDP into a series of sub-problems with different scales to optimize vehicles routes towards globally better solutions. Besides, a lower-level agent is designed to efficiently solve each sub-problem by incorporating the strengths of classical operational research-based methods with reinforcement learning-based policies. To verify the effectiveness of the proposed framework, real historical data is collected from the order dispatching system of Huawei Supply Chain Business Unit and used to build a functional simulator. Extensive offline simulation and online testing conducted on the industrial order dispatching system justify the superior performance of our framework over existing baselines. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
406,
|
| 43 |
+
764,
|
| 44 |
+
696
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
174,
|
| 54 |
+
727,
|
| 55 |
+
310,
|
| 56 |
+
744
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "The Dynamic Pickup and Delivery Problem (DPDP) constitutes an important family of routing problems, which generally contains three key elements: orders, goods and vehicles as shown in Figure 1. Orders are generated in real-time. Different orders contain different types and quantities of goods. A number of vehicles are scheduled to serve the orders by transporting the desired goods from different origins to different destinations. The objective of DPDP is to dynamically assign each order to the most appropriate vehicle so that the overall transportation cost (e.g., overall distances) could be minimized. DPDPs are widespread in order dispatching systems of the supply chain, express mail delivery services and elsewhere. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
758,
|
| 66 |
+
825,
|
| 67 |
+
869
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "DPDP is a complex variant of the Travelling Salesman Problem (TSP) and Vehicle Routing Problem (VRP), which are both NP-Hard combinatorial optimization problems [25]. The main difficulty of DPDP comes from the dynamically generated orders in real-time, thus the order dispatching decisions cannot be made beforehand in an offline style. Besides, compared with TSP and VRP, there exist various additional complex constraints in DPDP such as pickup and delivery constraint, Last-In-First-Out (LIFO) constraint, time window constraint, split demand constraint, etc. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
173,
|
| 76 |
+
90,
|
| 77 |
+
826,
|
| 78 |
+
174
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 1
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Traditional methods for DPDP. Existing solutions for DPDP fall into two categories. The first category maintains a fixed buffer to cache the most recent generated orders and periodically dispatches all cached orders in a delayed mode. By this way, the overall dynamic problem is partitioned into a series of static sub-problems with subsets of known orders, i.e., static Pickup and Delivery Problems (PDPs). Then, operational research-based (OR) methods [22, 20], heuristic and ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
181,
|
| 88 |
+
388,
|
| 89 |
+
400
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/cffab4ad3c0adfcdecee9a0e263d0743d9661055b3ec7556369c0d85dc0c97b8.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Demonstration of DPDP "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
401,
|
| 102 |
+
194,
|
| 103 |
+
823,
|
| 104 |
+
361
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "meta-heuristic methods [7, 16, 25, 4, 5, 3, 11, 26, 23, 9] are designed to solve each sub-problem. However, myopically optimizing each static sub-problem cannot guarantee the overall dynamic problem could be optimized from a long-term perspective since the split sub-problems are not independent of each other. The main reasons are previous orders assignment results will influence (1) the number of remaining orders to be dispatched, (2) the vehicle’s remaining capacity and (3) the relative positions to the following orders. To acquire better solutions, the second category methods [24, 8, 12] try to predict the distribution of future orders and take the predicted orders into consideration when computing the solution for each sub-problem. However, predicting future orders is not realistic due to the high uncertainty in the real world. Inaccurate predictions will mislead the order dispatcher and route planner, and result in poor solution quality. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
173,
|
| 113 |
+
401,
|
| 114 |
+
825,
|
| 115 |
+
540
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Learning-based methods for VRP. Additionally, a common flaw of traditional OR and metaheuristic methods is that they are computationally expensive and normally unable to obtain a desired solution within the allowable time. Besides, the design of them heavily relies on complex domain knowledge. To improve the solution computing efficiency and ease the difficulty of the algorithm design, recently, several learning-based methods are proposed [27, 1, 18, 6, 13]. These methods have demonstrated that the solution computing efficiency can be significantly improved by leveraging the generalization ability of the trained models. Besides, they could obtain solutions with competitive qualities compared with the state-of-the-art traditional methods. Although these methods mainly focus on TSPs or VRPs, of which all orders’ information is known in advance and much fewer constraints are considered comparing with DPDP, learning-based methods have shown great potential to help solve large-scale DPDPs and reach superior performance. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
546,
|
| 125 |
+
825,
|
| 126 |
+
699
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "In this paper, we propose a novel hierarchical reinforcement learning (RL) based optimization framework to solve the real-world large-scale DPDPs. Considering that order dispatching has a longterm impact on the overall optimization objective, the upper-level RL agent dynamically determines whether to wait longer at each moment for caching more future orders. In this way, the orders can be more flexibly assigned to vehicles (since each vehicle will have more candidate orders to choose) and the routes of vehicles could be optimized towards globally better solutions. The lower-level RL agent is responsible for assigning the cached orders to the most appropriate vehicles by sequentially manipulating heuristic operators to improve the solution quality iteratively. To verify the effectiveness of the framework, we collected real historical data from the order dispatching system of Huawei Supply Chain and built a simulator to simulate the order dispatching and vehicle transportation process. Further, we deployed our method on the company’s Supply Chain Business Unit. Extensive offline simulation and online testing showed the superior performance of our algorithm. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
704,
|
| 136 |
+
825,
|
| 137 |
+
871
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Our main contributions are as follows: ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
176,
|
| 146 |
+
877,
|
| 147 |
+
426,
|
| 148 |
+
890
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "• We are the first to propose a practical hierarchical RL framework to efficiently and farsightedly compute superior solutions for the real-world large-scale DPDPs with complex constraints. \n• We design a simulator using real industrial data to be the experimental benchmark to verify the proposed method, which is available here for interested researchers. \n• We show that our approach considerably improves the optimization objectives compared with existing algorithms both in the offline evaluation and online testing. The ablation study indicates our approach can obtain high-quality solutions with fast running speed and has strong generalization ability. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
217,
|
| 157 |
+
90,
|
| 158 |
+
826,
|
| 159 |
+
228
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 2
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 Problem Formulation ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
247,
|
| 170 |
+
387,
|
| 171 |
+
265
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "We now give the formulation of DPDP in our logistics scenario. For the orders dynamically generated in real-time at different nodes (i.e., factories and warehouses) within a day, vehicles should be scheduled to transport the goods from pickup nodes to delivery nodes to fulfil the orders with minimal transportation cost. In our case, the objective is to minimize $K$ vehicles average travelling distances $D ( K )$ of the entire DPDP: ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
279,
|
| 181 |
+
823,
|
| 182 |
+
348
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "equation",
|
| 188 |
+
"img_path": "images/fbb1306a5d2c874e3898029fb02a44400a1b445c5eeb155f51902b6f4023aa7b.jpg",
|
| 189 |
+
"text": "$$\n\\operatorname* { m i n } D ( K )\n$$",
|
| 190 |
+
"text_format": "latex",
|
| 191 |
+
"bbox": [
|
| 192 |
+
460,
|
| 193 |
+
348,
|
| 194 |
+
535,
|
| 195 |
+
366
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "while meeting several constraints: Pickup and Delivery Constraint, Capacity Constraint, LIFO Constraint, Time Window Constraint, etc. Detailed constraints are shown in Appendix A. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
174,
|
| 204 |
+
369,
|
| 205 |
+
826,
|
| 206 |
+
397
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "In practice, however, some orders are destined to violate time window constraints2. Thus, we add it to the objective function as an associated penalty to convert the hard time window constraint to a soft one. The penalty function is defined as the overtime beyond the specified completion time of each order. The optimization objective is then reformulated as minimizing the weighted sum 3 of average vehicles travelling distances (kilometers) $D ( K )$ and total overtime (seconds) $O T$ of all orders $C$ : ",
|
| 213 |
+
"bbox": [
|
| 214 |
+
173,
|
| 215 |
+
404,
|
| 216 |
+
825,
|
| 217 |
+
473
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "equation",
|
| 223 |
+
"img_path": "images/b56976e96f1c129f139647dee4da696cef5bbfcc1f71184966c068988b7e8bba.jpg",
|
| 224 |
+
"text": "$$\n\\operatorname* { m i n } D ( K ) + \\lambda * O T ( C )\n$$",
|
| 225 |
+
"text_format": "latex",
|
| 226 |
+
"bbox": [
|
| 227 |
+
413,
|
| 228 |
+
481,
|
| 229 |
+
584,
|
| 230 |
+
498
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "Apart from the various complex constraints mentioned above, the additional difficulties of this problem mainly come from two aspects: ",
|
| 237 |
+
"bbox": [
|
| 238 |
+
173,
|
| 239 |
+
512,
|
| 240 |
+
825,
|
| 241 |
+
541
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "(1) The problem scale is very large. In practical logistic scenarios of the company, millions of products and intermediate materials are manufactured every day. As these products and materials might be used in the subsequent phases (e.g., assembling or selling), they have to be scheduled and transported between hundreds of factories and warehouses by dozens of vehicles within stringent timeline constraints, which constitutes a very large-scale and complex DPDP. \n(2) Besides, as the orders are generated online in real-time, the schedule planning cannot be made aforehand in an offline style. From the oracle’s point of view, i.e., when all orders of a day are known in advance, the uncertainty is eliminated and this DPDP can be formulated as a complex Mixed Integer Programming (MIP) Problem, of which the optimal solution could be obtained utilizing exact algorithms (e.g., cutting plane algorithms, branch-and-bound algorithms or modern solvers such as Gurobi[20]) [22]. However, in reality, it’s impossible to know all the orders in advance, thus these approaches are not applicable. ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
174,
|
| 250 |
+
551,
|
| 251 |
+
825,
|
| 252 |
+
724
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "To eliminate the uncertainties brought by the unknown orders, a practical way is to utilize a buffer to cache the most recent generated orders and periodically dispatches all cached orders in a little delayed mode. With the known orders in the cache, the static PDP can be formulated as an MIP as shown in Appendix A. We could resort to modern solvers to solve this MIP. However, even for the static PDP with very few orders, it still costs several hours to compute a feasible solution, which is beyond the acceptable limits (details are shown in Table 2 and 3). Besides, even if we could obtain the optimal solution for each fixed split static PDP, we still cannot guarantee the global DPDP can be optimized as these static sub-problems are not independent of each other. ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
173,
|
| 261 |
+
736,
|
| 262 |
+
825,
|
| 263 |
+
847
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "3 Method ",
|
| 270 |
+
"text_level": 1,
|
| 271 |
+
"bbox": [
|
| 272 |
+
174,
|
| 273 |
+
89,
|
| 274 |
+
271,
|
| 275 |
+
106
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "3.1 Overall Framework ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
125,
|
| 286 |
+
351,
|
| 287 |
+
140
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "image",
|
| 293 |
+
"img_path": "images/a63fc2ac3eace80d601a066183cb4bf3c1da3b9a4dbf769b433fc8344b19c7a8.jpg",
|
| 294 |
+
"image_caption": [
|
| 295 |
+
"Figure 2: Hierarchical Optimization Framework "
|
| 296 |
+
],
|
| 297 |
+
"image_footnote": [],
|
| 298 |
+
"bbox": [
|
| 299 |
+
207,
|
| 300 |
+
165,
|
| 301 |
+
789,
|
| 302 |
+
372
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "In this paper, considering the challenges mentioned above, we propose a novel hierarchical reinforcement learning based optimization framework, which contains two levels of agents. As shown in Figure 2, we maintain a buffer to cache the newly generated orders and periodically dispatch all cached orders at once. But instead of dispatching the cached orders of fixed numbers or predicting future orders, we design an upper-level agent to dynamically determine whether to wait longer for caching more future orders at each moment. Though waiting longer will postpone the dispatching and transportation of the earlier cached orders, additional future orders can be taken into account for the vehicle-order matching. In this way, each vehicle will have more candidate orders to choose, thus the overall travelling distances will be more potentially to be optimized for shorter4. This process could be regarded as sacrificing a little time in exchange for a precise estimation of future orders. However, waiting for too long will also increase the risk of overtime of the earlier cached orders. Thus, whether to wait longer to cache more orders at each moment will have a long-term impact on the overall dispatching results, and can be naturally modeled as a sequential decision-making problem. We model this procedure as a Markov Decision Process (MDP). Depending on whether to wait longer at each moment, the overall DPDP can be dynamically partitioned into a series of static sub-problems, each of which includes different numbers of orders. As shown in Figure 2, the generated orders are accumulated in the buffer until the upper-level agent decides to stop caching at time $t _ { i + k }$ . Then, the agent releases the cached orders to the lower-level agent and clears the buffer. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
173,
|
| 311 |
+
411,
|
| 312 |
+
826,
|
| 313 |
+
661
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "Given the released orders (which form a static sub-problem, i.e., a PDP), the lower-level agent is appointed to assign the orders to the most appropriate vehicles and arrange the transportation route of each vehicle, such that the transportation cost of these orders could be minimized. First, a set of basic operators are maintained, whose roles are converting one feasible solution to another. For instance, given an initial solution’s route $\\{ \\mathrm { A } \\mathrm { - } \\mathrm { > B } \\mathrm { - } \\mathrm { > C } \\}$ with three nodes A, B and C, a typical operator is swapping two nodes[13], e.g., swapping A and B. After applying this operator, $\\{ \\mathrm { A } \\mathrm { - } \\mathrm { > B } \\mathrm { - } \\mathrm { > C } \\}$ is converted to $\\{ { \\bf B } { \\bf - } { \\bf > } { \\bf A } { \\bf - } { \\bf > } { \\bf C } \\}$ . If the travelling cost of $\\{ { \\bf B } { \\cdot } { > } { \\bf A } { \\cdot } { > } { \\bf C } \\}$ is less than $\\{ \\mathrm { A } \\mathrm { - } \\mathrm { > B } \\mathrm { - } \\mathrm { > C } \\}$ , the initial solution is improved. On this basis, we design the lower-level agent similar to the traditional metaheuristic algorithms which sequentially manipulates these operators to improve the solution of each PDP. The difference is that we model the process of sequentially manipulating these operators as an MDP and incorporate RL methods to optimize the policy instead of manually designing complex rules. Finally, the best found solution is adopted by the order dispatching system to assign the orders to the vehicles and arrange their transportation routes. In the following two subsections, we will go into more details of the designed two agents. ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
174,
|
| 322 |
+
667,
|
| 323 |
+
825,
|
| 324 |
+
861
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 3
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "3.2 Upper-level Agent ",
|
| 331 |
+
"text_level": 1,
|
| 332 |
+
"bbox": [
|
| 333 |
+
174,
|
| 334 |
+
90,
|
| 335 |
+
338,
|
| 336 |
+
106
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 4
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "text",
|
| 342 |
+
"text": "3.2.1 Workflow ",
|
| 343 |
+
"text_level": 1,
|
| 344 |
+
"bbox": [
|
| 345 |
+
174,
|
| 346 |
+
119,
|
| 347 |
+
294,
|
| 348 |
+
136
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 4
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "The workflow of the upper-level agent is described in Figure 2. We partition a day into $T = 1 4 4$ fixed time intervals, and the time span of each interval is ten minutes. Each time interval starts at time $t _ { i - 1 }$ and ends at time $t _ { i }$ , $i \\leq T$ is a positive integer. We name $t _ { 1 } , . . . , t _ { i } , . . . , t _ { T }$ as decision points. At each decision point $t _ { i }$ , the upper-level agent decides whether to release the accumulated orders to the lower-level agent according to their overtime risk. Taking Figure 2 as an example, at decision point $t _ { i - 1 }$ , the buffer already cached some orders $O _ { i - 1 }$ . At $t _ { i - 1 }$ , the upper-level agent makes a decision and determines to wait longer and not to release $O _ { i - 1 }$ to the lower-level agent. Thus $O _ { i - 1 }$ are still maintained in the buffer. Thereafter, at all decision points before $t _ { i + k }$ , the upper-level agent makes the same decisions as at $t _ { i - 1 }$ , i.e., ’not release’. Therefore, new generated orders $\\langle \\bar { O _ { i } } , . . . , O _ { i + k } \\rangle$ between $t _ { i - 1 }$ and $t _ { i + K }$ are all appended to the buffer as well. At $t _ { i + k }$ , the upper-level agent makes a change and determines to release all accumulated orders $\\langle O _ { i - 1 } , O _ { i } , . . . , O _ { i + k } \\rangle$ to the lower-level agent. At this time, all accumulated orders together with the remaining orders $O _ { \\mathrm { r e m a i n } }$ (assigned to the vehicles before $t _ { i - 1 }$ but the goods of the orders are still not loaded onto the vehicles even at $t _ { i + k }$ ) will be released by the upper-level agent. In this way, we get a static sub-problem constituting of orders $\\langle O _ { i - 1 } , O _ { i } , . . . , O _ { i + k } , O _ { \\mathrm { r e m a i n } } \\rangle$ for the lower-level agent. By analogy, the overall DPDP can be divided into a series of static PDPs with different scales. We model the procedure of whether to wait longer at each decision moment as an MDP described in the following subsection. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
148,
|
| 358 |
+
825,
|
| 359 |
+
383
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 4
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "3.2.2 Markov Decision Process (MDP) ",
|
| 366 |
+
"text_level": 1,
|
| 367 |
+
"bbox": [
|
| 368 |
+
176,
|
| 369 |
+
409,
|
| 370 |
+
450,
|
| 371 |
+
424
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 4
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "State: The state includes the number of orders accumulated in the buffer, the number of available vehicles, the amount of time left before exceeding the time limit of each order, etc. All these features are normalized and concatenated together. Detailed descriptions are postponed to the Appendix F due to the space limitation. ",
|
| 378 |
+
"bbox": [
|
| 379 |
+
174,
|
| 380 |
+
438,
|
| 381 |
+
825,
|
| 382 |
+
493
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 4
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "Action: The action is a binary variable indicates whether to release orders to the lower-level agent. ",
|
| 389 |
+
"bbox": [
|
| 390 |
+
171,
|
| 391 |
+
500,
|
| 392 |
+
818,
|
| 393 |
+
515
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 4
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "Reward: Our ultimate goal is to minimize the optimization objective for the entire dynamic problem. Therefore, we first get the the overtime of the orders completed and the corresponding vehicle travelling distances between two consecutive decision moments $t _ { i - 1 }$ and $t _ { i }$ as shown in Figure 2, i.e., avg_distance $+ \\lambda *$ overtime. Then we set the immediate reward of action executed at $t _ { i - 1 }$ as $- ( \\mathrm { a v g \\_ d i s t a n c e } + \\lambda *$ overtime). By this rule, the sum of the immediate rewards forms the negative value of the total objective for the entire dynamic problem. With this reward, the overall objective for the entire dynamic problem could be optimized. In other words, we encourage the upper-level agent to optimize the overall dynamic problem from a long-term perspective when making decisions. ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
173,
|
| 402 |
+
520,
|
| 403 |
+
826,
|
| 404 |
+
632
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 4
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "3.2.3 Agent Model ",
|
| 411 |
+
"text_level": 1,
|
| 412 |
+
"bbox": [
|
| 413 |
+
174,
|
| 414 |
+
656,
|
| 415 |
+
315,
|
| 416 |
+
671
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 4
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "For the upper-level agent, we use Deep Q Network (DQN) [17]. We parameterize a value function $Q \\left( s , a ; \\phi _ { l } \\right)$ using the deep neural network of MLPs in which $\\phi _ { l }$ are the parameters of the Q-network at updating iteration $l$ . When reaching decision point $t _ { i }$ , we obtain the state $s _ { t _ { i } }$ , action $\\boldsymbol { a } _ { t _ { i } }$ , and reward $r _ { t _ { i } }$ according to Section 3.2.2 for the current static problem and save them to the replay buffer. When reaching decision point $t _ { i + 1 }$ , we obtain the state $s _ { t _ { i + 1 } }$ , which is the next state of the previous static sub-problem and we get a new transition $e _ { t _ { i } } = ( s _ { t _ { i } } , a _ { t _ { i } } , r _ { t _ { i } } , s _ { t _ { i + 1 } } )$ . We store the transitions into buffer $D = \\{ e _ { t _ { 1 } } , \\ldots , e _ { t _ { i } } , \\ldots \\}$ during the running of simulator. During the training, we apply Q-learning updates on uniformly sampled transitions $( s , a , r , s ^ { \\prime } ) \\sim U ( D )$ from the replay buffer. The model updates at iteration $l$ uses the following Temporal Difference (TD) loss function: ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
173,
|
| 425 |
+
684,
|
| 426 |
+
826,
|
| 427 |
+
814
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 4
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "equation",
|
| 433 |
+
"img_path": "images/b0e8b8af5ae5c96e7a7b4efcb758d48aef40fd75c24324f5ea6cd281e3125faa.jpg",
|
| 434 |
+
"text": "$$\nL _ { i } \\left( \\phi _ { l } \\right) = \\mathbb { E } _ { ( s , a , r , s ^ { \\prime } ) \\sim U ( D ) } \\left[ \\left( r + \\gamma \\operatorname* { m a x } _ { a ^ { \\prime } } Q \\left( s ^ { \\prime } , a ^ { \\prime } ; \\phi _ { l } ^ { - } \\right) - Q \\left( s , a ; \\phi _ { l } \\right) \\right) ^ { 2 } \\right]\n$$",
|
| 435 |
+
"text_format": "latex",
|
| 436 |
+
"bbox": [
|
| 437 |
+
258,
|
| 438 |
+
830,
|
| 439 |
+
738,
|
| 440 |
+
864
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "where $\\gamma$ is the discount factor, $\\phi _ { l }$ are the parameters of the Q-network at iteration $l$ and ${ \\phi } _ { l } ^ { - }$ are the parameters of the target network at iteration $\\it l$ . ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
882,
|
| 450 |
+
825,
|
| 451 |
+
911
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "image",
|
| 457 |
+
"img_path": "images/505766d775cc3d9cb4f45b38bdff6c77c1c8f417fd7954bc4287b3a99b8c0f78.jpg",
|
| 458 |
+
"image_caption": [
|
| 459 |
+
"Figure 3: Workflow of Lower-level Agent "
|
| 460 |
+
],
|
| 461 |
+
"image_footnote": [],
|
| 462 |
+
"bbox": [
|
| 463 |
+
205,
|
| 464 |
+
88,
|
| 465 |
+
789,
|
| 466 |
+
202
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 5
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "3.3 Lower-level Agent ",
|
| 473 |
+
"text_level": 1,
|
| 474 |
+
"bbox": [
|
| 475 |
+
174,
|
| 476 |
+
255,
|
| 477 |
+
339,
|
| 478 |
+
268
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 5
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "3.3.1 Workflow ",
|
| 485 |
+
"text_level": 1,
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
280,
|
| 489 |
+
294,
|
| 490 |
+
295
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 5
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "The workflow of the lower-level agent is described in Figure 3. We first generate a feasible initial solution of the static sub-problem using greedy algorithm (described in Section 4.2). Given the initial solution, the lower-level agent iteratively improves the solution by manipulating different operators according to solution states as mentioned in Section 3.1 (we call this step Improvement [6, 13]). When the improved solution reaches a local optimum (i.e., the solution could not be improved further for a series of steps), we will partially or entirely re-assigning the orders using the greedy algorithm (we call this step Reconstruction). The improvement of the next iteration will start from the reconstructed solution. Note that the lower-level agent only selects improvement operators as reconstruction operator has a long-lasting effect on solutions compared with improvement operators and we found mixing up them will lead to instability during the training. The process of improvement and reconstruction alternates until reaching the maximum number of steps or the maximum allowable running time. The best generated solution during the improvements and reconstructions will be adopted to dispatch orders to vehicles. Note that the final accepted solution is ensured to be at least as good as the initial solution. Overall, by transferring the knowledge learned from previously solved PDPs to the new ones, the agent could efficiently and monotonically improve the solution quality. The MDP definition of the operators-manipulating procedure is described in the following subsection. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
305,
|
| 500 |
+
825,
|
| 501 |
+
525
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 5
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "3.3.2 Markov Decision Process (MDP) ",
|
| 508 |
+
"text_level": 1,
|
| 509 |
+
"bbox": [
|
| 510 |
+
176,
|
| 511 |
+
541,
|
| 512 |
+
450,
|
| 513 |
+
556
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 5
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "State: The state of the current solution consists of the states of all nodes, i.e., $s = \\{ s _ { 1 } , s _ { 2 } , . . . , s _ { | V | } \\}$ where $s _ { v }$ is the state of node $v$ . Each $s _ { v }$ includes the position information, order information, vehicle information and objective-related information. Details can be found in Appendix F. ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
174,
|
| 522 |
+
566,
|
| 523 |
+
823,
|
| 524 |
+
608
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 5
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Action: The action set consists of 4 carefully designed operators, i.e., inner-exchange, inner-relocate, inter-exchange and inter-relocate. We provide a proof in Appendix G that any feasible solution (including the optimal one) could be obtained by iteratively applying these 4 operators from any given initial solution. Details are described in Appendix G. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
174,
|
| 533 |
+
614,
|
| 534 |
+
825,
|
| 535 |
+
670
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "Reward: We find that the total objective can be easily reduced by a large margin during the first few improvement steps of an initial solution or reconstructed solution in the experiments (See Figure 4). If we assign the actions at these improvement steps a large reward, it’s not fair for the actions in the subsequent steps. This is because the actions in the subsequent steps also play important roles in improving solutions in the complex solution space. Therefore, the overall objective $\\mathrm { O B J } _ { b }$ of the sub-problem after the first iteration (e.g., Iteration 1 in Figure 3) is used as the baseline following [13]. For each subsequent iteration $i$ , we first get the optimized objective after the iteration as $\\mathrm { O B J } _ { i }$ and then assign $( | \\mathbf { O B } \\mathbf { J } _ { b } - \\mathbf { O B J } _ { i } | ) / n _ { i }$ to all $n _ { i }$ actions executed in iteration $i$ as reward. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
173,
|
| 544 |
+
676,
|
| 545 |
+
825,
|
| 546 |
+
787
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 5
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "3.3.3 Agent Policy Network ",
|
| 553 |
+
"text_level": 1,
|
| 554 |
+
"bbox": [
|
| 555 |
+
174,
|
| 556 |
+
803,
|
| 557 |
+
377,
|
| 558 |
+
818
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 5
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "The policy network of the lower-level agent inputs the state of the current solution and outputs action probabilities of length $| A |$ where $A$ is the set of operators. In our case, a critical challenge of designing the policy network is the number of orders and the number of available vehicles are different for each static sub-problem. As the quantity of the combination of orders and vehicles are extremely huge, we cannot train a separate model for every combination of different numbers of orders and vehicles. Thus, the desired model should be able to transfer the knowledge learned from the previously solved problems and generalize to new problems of any scale without fine-tuning. Besides, the routes of a solution naturally form a certain topological graph structure as shown in Figure 3. Therefore, in this paper, we incorporate GIN (Graph Isomorphism Network)[30], a powerful Graph Neural Network (GNN), to be the basis of the policy network of the lower-level agent. We use the REINFORCE algorithm [28] to train the policy network. Details of the policy network are shown in Appendix H. ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
174,
|
| 567 |
+
827,
|
| 568 |
+
825,
|
| 569 |
+
911
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 5
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "",
|
| 576 |
+
"bbox": [
|
| 577 |
+
174,
|
| 578 |
+
92,
|
| 579 |
+
825,
|
| 580 |
+
161
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 6
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "4 Offline Evaluation ",
|
| 587 |
+
"text_level": 1,
|
| 588 |
+
"bbox": [
|
| 589 |
+
176,
|
| 590 |
+
179,
|
| 591 |
+
357,
|
| 592 |
+
196
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 6
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "4.1 Experiments Settings ",
|
| 599 |
+
"text_level": 1,
|
| 600 |
+
"bbox": [
|
| 601 |
+
176,
|
| 602 |
+
209,
|
| 603 |
+
361,
|
| 604 |
+
224
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 6
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "text",
|
| 610 |
+
"text": "We start with designing a simulator to shed light on the contributions of the proposed framework under more controlled settings. Details of the simulator can be found in Appendix C. To comprehensively verify the effectiveness of our approach on problems of different scales, we use four types of datasets of different sizes, i.e., 15 orders with 5 vehicles, 50 orders with 5 vehicles, 300 orders with 20 vehicles, 1000 orders with 50 vehicles (matching the practical problem of thousand scales). Note that the orders/vehicles ratios are set according to realistic business settings. Each type of datasets contains 10 datasets, including 7 training sets and 3 test sets according to the ratio of 7:3 (e.g., 300-1, 300-2 and 300-3 are test sets with 300 orders). The vehicles have the same load capacity. Details of the datasets are described in Appendix D. According to the realistic business settings, the time span between two consecutive decision points is set to 10 minutes in the simulator. ",
|
| 611 |
+
"bbox": [
|
| 612 |
+
174,
|
| 613 |
+
234,
|
| 614 |
+
825,
|
| 615 |
+
373
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 6
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "text",
|
| 621 |
+
"text": "The comparisons of different methods proceed as follows. For our approach, we first train a shared model on each type of training datasets and then evaluate the model on the test datasets of the same size. At each decision point, the upper-level agent decides whether to release orders to the lower-level agent. The lower-level agent is executed for no more than 10 minutes after receiving orders from the upper-level agent. Both agents are trained simultaneously. This training process is relatively stable due to the following reasons. The iterative solution optimization process (starts from an initial greedy solution) of our lower-level agent can ensure the obtained solutions have relatively high quality even at the initial training stages. In other words, the solutions given by the lower-level agent are relatively stable. Therefore, the unstable issue of co-training both levels of policies in our case is negligible, and thus both levels can be trained simultaneously. For baselines showed in Section 4.2, we also run them for up to 10 minutes at each decision point. We run the simulator until all the orders of the dataset are dispatched and completed to ensure fair comparisons. All the results in the experiments are obtained by running each algorithm ten times to get the mean and variance value of the optimization objective. ",
|
| 622 |
+
"bbox": [
|
| 623 |
+
174,
|
| 624 |
+
380,
|
| 625 |
+
825,
|
| 626 |
+
559
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 6
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "4.2 Baselines ",
|
| 633 |
+
"text_level": 1,
|
| 634 |
+
"bbox": [
|
| 635 |
+
174,
|
| 636 |
+
575,
|
| 637 |
+
276,
|
| 638 |
+
589
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "To help readers better understand the baselines, we name them in the format of ’upper-level method $^ +$ lower-level method’ except for the Optimal baseline. ’10min-Interval’ means the dynamic problem is partitioned into static sub-problems with a fixed interval of ten minutes. ’1order-Interval’ means the dynamic problem is partitioned into static sub-problems consists of a single order. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
174,
|
| 647 |
+
601,
|
| 648 |
+
825,
|
| 649 |
+
656
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "10min-Interval $^ +$ Greedy: Greedy [15] is the most widely-used method in industry, which is also the online deployed baseline method. The solution routes are expanded by greedily inserting new pickup and delivery nodes until all the orders are inserted. ",
|
| 656 |
+
"bbox": [
|
| 657 |
+
174,
|
| 658 |
+
662,
|
| 659 |
+
825,
|
| 660 |
+
704
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 6
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "10min-Interval $^ +$ ALNS: ALNS [29] is one of the most representative meta-heuristic local search frameworks for solving DPDP that uses a series of operators to improve the solution. In each iteration, an operator is selected to destroy the current solution, and an operator is selected to repair the solution. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
174,
|
| 669 |
+
710,
|
| 670 |
+
825,
|
| 671 |
+
752
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 6
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "1order-Interval $^ +$ E2ERL: According to [14], we use a DQN model to assign vehicles to each generated order and insert each order into the vehicle’s order queue using the Greedy algorithm. It’s an E2ERL (end-to-end RL) algorithm. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
758,
|
| 681 |
+
825,
|
| 682 |
+
801
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "10min-Interval $^ +$ ST-DDGN: ST-DDGN [12] is the state-of-the-art method that predicts future orders of DPDP. Then both the predicted orders and real generated orders are considered when solving each sub-problem using E2ERL. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
806,
|
| 692 |
+
825,
|
| 693 |
+
849
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 6
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "Optimal: We convert DPDPs to static PDPs as we can obtain all the orders’ information beforehand in offline style. Then we use Gurobi to solve the corresponding MIP model to get the optimal solution. As Gurobi can only solve small-scale PDPs within acceptable time due to the NP-hard property, we only compare with the optimal solution on problems of 15 and 50 orders in Section 4.4.1. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
174,
|
| 702 |
+
854,
|
| 703 |
+
825,
|
| 704 |
+
911
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 6
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "4.3 Main Results ",
|
| 711 |
+
"text_level": 1,
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
92,
|
| 715 |
+
303,
|
| 716 |
+
106
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 7
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Here we show part of the experimental results in Table 1. The complete results are shown in Table 6 of Appendix I. The objective improvement measurement is the improvement percentage of each algorithm compared with the Greedy algorithm. Our approach consistently outperforms all baselines ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
173,
|
| 725 |
+
118,
|
| 726 |
+
346,
|
| 727 |
+
296
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 7
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "table",
|
| 733 |
+
"img_path": "images/a6e5a7e490192470b1dc6f14adedb3484e3d2145722ab798d031bf71ef690dbd.jpg",
|
| 734 |
+
"table_caption": [
|
| 735 |
+
"Table 1: Main results of different methods on test datasets "
|
| 736 |
+
],
|
| 737 |
+
"table_footnote": [],
|
| 738 |
+
"table_body": "<table><tr><td>Dataset</td><td>Algorithm</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td></tr><tr><td rowspan=\"5\">50-1</td><td>10min-Interval + Greedy</td><td>0</td><td>109.30</td><td>109.30</td><td>0.00%</td></tr><tr><td>lorder-Interval +E2ERL</td><td>0</td><td>96.56</td><td>96.56</td><td>11.66%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>107.95</td><td>107.95</td><td>1.24%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>108.95</td><td>108.95</td><td>0.32%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>93.70</td><td>93.70</td><td>14.27%</td></tr><tr><td rowspan=\"5\">300-1</td><td>10min-Interval+Greedy</td><td>0</td><td>147.78</td><td>147.78</td><td>0.00%</td></tr><tr><td>lorder-Interval + E2ERL</td><td>0</td><td>158.39</td><td>158.39</td><td>-7.18%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>137.31</td><td>137.31</td><td>7.08%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>131.99</td><td>131.99</td><td>10.68%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>122.42</td><td>122.42</td><td>17.16%</td></tr><tr><td rowspan=\"5\">1000-1</td><td>10min-Interval+Greedy</td><td>0</td><td>183.04</td><td>183.04</td><td>0.00%</td></tr><tr><td>lorder-Interval + E2ERL</td><td>0</td><td>180.36</td><td>180.36</td><td>1.46%</td></tr><tr><td>10min-Interval + ALNS</td><td>0</td><td>174.68</td><td>174.68</td><td>4.57%</td></tr><tr><td>10min-Interval + ST-DDGN</td><td>0</td><td>171.09</td><td>171.09</td><td>6.53%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>159.18</td><td>159.18</td><td>13.04%</td></tr></table>",
|
| 739 |
+
"bbox": [
|
| 740 |
+
383,
|
| 741 |
+
137,
|
| 742 |
+
802,
|
| 743 |
+
273
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 7
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "on all datasets (lower total objective is better). On some datasets, the baselines have overtime results due to their lack of long-term planning and exhaustively optimization of each static problem from a myopic perspective. As a result, dispatching of some orders is delayed for too long, and finally, overtime is inevitable in any case. In contrast to this, our upper-level RL partitions the dynamic problem into sub-problems considering the balance between the orders overtime (seconds) risk and optimization of vehicle travelling distances (kilometers), and our lower-level RL is responsible for the optimization of each static sub-problem. The cooperation of the two agents enables our method to find solutions with less overtime and vehicle travelling distances on the overall dynamic problem from a long-term perspective. The comparison of the learning curves of all learning-based methods on 50-1 are shown in Figure 11 in Appendix I. ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
174,
|
| 752 |
+
297,
|
| 753 |
+
825,
|
| 754 |
+
435
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 7
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "4.4 Ablation Studies ",
|
| 761 |
+
"text_level": 1,
|
| 762 |
+
"bbox": [
|
| 763 |
+
174,
|
| 764 |
+
455,
|
| 765 |
+
328,
|
| 766 |
+
469
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 7
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "4.4.1 How far is our lower-level agent from the optimal one on static PDP? ",
|
| 773 |
+
"text_level": 1,
|
| 774 |
+
"bbox": [
|
| 775 |
+
176,
|
| 776 |
+
482,
|
| 777 |
+
700,
|
| 778 |
+
497
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "We convert the DPDP to a single static PDP as described in Section 4.2. As the orders should be assigned to vehicles all at once, there is no need to use an upper-level agent. Similarly, without the prediction of future orders, ST-DDGN is essentially the same as E2ERL. Therefore we only use the lower-level agent and E2ERL in the static PDP. Each algorithm is run without time or step limitation to discover its full potential. As shown in Table 2 and 3, the difference of the total objective of our method with the optimal solution is much smaller than the baselines (as all the overtime is 0, the column is omitted from the two Tables). The time consumption is much shorter than ALNS and Gurobi. It is because our method can exert the generalization ability to quickly improve the initial solution by using the most appropriate operators based on the experiences obtained from training, without the need of manually designing complicated search as in ALNS and Gurobi. Note that the time consumption of Gurobi on problems of 50 orders is represented using hyphen symbol ’-’, which means we can’t get results even after 100 hours due to the various complex constraints as described in Appendix A. Comparing with baselines, our method is the most qualified to meet the online deployment requirements that the algorithm should obtain high-quality solutions with fast speed. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
173,
|
| 787 |
+
507,
|
| 788 |
+
825,
|
| 789 |
+
700
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "table",
|
| 795 |
+
"img_path": "images/410429e88fb44a084612f20c0a962b435d1f34920667aa33b61c66fe5e5ad191.jpg",
|
| 796 |
+
"table_caption": [
|
| 797 |
+
"Table 2: Results on static 15-1, 15-2, 15-3 "
|
| 798 |
+
],
|
| 799 |
+
"table_footnote": [],
|
| 800 |
+
"table_body": "<table><tr><td>Algorithm</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td><td>Time</td></tr><tr><td>Greedy</td><td>53.85</td><td>53.85</td><td>0.00%</td><td>0.38s</td></tr><tr><td>E2ERL</td><td>51.70</td><td>51.70</td><td>3.99%</td><td>0.58s</td></tr><tr><td>ALNS</td><td>51.58</td><td>51.58</td><td>4.22%</td><td>405s</td></tr><tr><td>Our</td><td>45.72</td><td>45.72</td><td>15.10%</td><td>68.21s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>44.35</td><td>44.35</td><td>17.64%</td><td>141360s</td></tr><tr><td>Greedy</td><td>69.61</td><td>69.61</td><td>0.00%</td><td>0.40s</td></tr><tr><td>E2ERL</td><td>68.00</td><td>68.00</td><td>2.31%</td><td>0.79s</td></tr><tr><td>ALNS</td><td>62.62</td><td>62.62</td><td>10.04%</td><td>606s</td></tr><tr><td>Our</td><td>62.32</td><td>62.32</td><td>10.47%</td><td>27.96s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>57.48</td><td>57.48</td><td>17.43%</td><td>193680s</td></tr><tr><td>Greedy</td><td>78.73</td><td>78.73</td><td>0.00%</td><td>0.34s</td></tr><tr><td>E2ERL</td><td>59.02</td><td>59.02</td><td>25.03%</td><td>0.83s</td></tr><tr><td>ALNS</td><td>52.21</td><td>52.21</td><td>33.68%</td><td>920s</td></tr><tr><td>Our</td><td>50.95</td><td>50.95</td><td>35.29%</td><td>71.98s</td></tr><tr><td>(Lower-level RL) Optimal</td><td>50.75</td><td>50.75</td><td>35.54%</td><td>28651s</td></tr></table>",
|
| 801 |
+
"bbox": [
|
| 802 |
+
186,
|
| 803 |
+
729,
|
| 804 |
+
477,
|
| 805 |
+
897
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "table",
|
| 811 |
+
"img_path": "images/93c1a41a9be6fffb2ac4d30f75f040f569e2a3686e588663e0926b1bc6d794ff.jpg",
|
| 812 |
+
"table_caption": [
|
| 813 |
+
"Table 3: Results on static 50-1, 50-2, 50-3 "
|
| 814 |
+
],
|
| 815 |
+
"table_footnote": [],
|
| 816 |
+
"table_body": "<table><tr><td>Algorithm</td><td>Avg_Dis</td><td>Objective</td><td>Obj Impro</td><td>Time</td></tr><tr><td>Greedy</td><td>98.68</td><td>98.68</td><td>0.00%</td><td>66.73s</td></tr><tr><td>E2ERL</td><td>94.94</td><td>94.94</td><td>3.79%</td><td>52.64s</td></tr><tr><td>ALNS</td><td>96.98</td><td>96.98</td><td>1.72%</td><td>10728.34s</td></tr><tr><td>Our (Lower-level RL)</td><td>82.43</td><td>82.43</td><td>16.47%</td><td>1459.23s</td></tr><tr><td>Optimal</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Greedy</td><td>80.67</td><td>80.67</td><td>0.00%</td><td>22.27s</td></tr><tr><td>E2ERL</td><td>76.04</td><td>76.04</td><td>5.74%</td><td>16.66s</td></tr><tr><td>ALNS</td><td>65.31</td><td>65.31</td><td>19.04%</td><td>6012.56s</td></tr><tr><td>Our (Lower-level RL)</td><td>58.42</td><td>58.42</td><td>27.58%</td><td>1152.64s</td></tr><tr><td>Optimal</td><td>=</td><td>=</td><td>=</td><td>=</td></tr><tr><td>Greedy</td><td>83.34</td><td>83.34</td><td>0.00%</td><td>44.31s</td></tr><tr><td>E2ERL</td><td>80.92</td><td>80.92</td><td>2.90%</td><td>20.34s</td></tr><tr><td>ALNS</td><td>80.51</td><td>80.51</td><td>3.40%</td><td>4140.15s</td></tr><tr><td>Our (Lower-level RL)</td><td>72.66</td><td>72.66</td><td>12.81%</td><td>1998.09s</td></tr><tr><td>Optimal</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></table>",
|
| 817 |
+
"bbox": [
|
| 818 |
+
493,
|
| 819 |
+
729,
|
| 820 |
+
790,
|
| 821 |
+
897
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 7
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "4.4.2 Does lower-level agent learn how to select operators? ",
|
| 828 |
+
"text_level": 1,
|
| 829 |
+
"bbox": [
|
| 830 |
+
173,
|
| 831 |
+
92,
|
| 832 |
+
588,
|
| 833 |
+
106
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 8
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "text",
|
| 839 |
+
"text": "To verify that our lower-level agent learns to choose the most suitable operators at different states, we compare the results of different operator selection methods on both static problems and dynamic problems. We first compare the total objective during the solution improvement process on the static problems using the lower-level agent with the method that randomly selects operators. As the improvement-reconstruct iteration process designed in Section 3.3 ensures the quality of the solution can be monotonically improved, selecting operators randomly is also a powerful baseline that can achieve satisfactory performance for the static PDP. ",
|
| 840 |
+
"bbox": [
|
| 841 |
+
173,
|
| 842 |
+
114,
|
| 843 |
+
826,
|
| 844 |
+
213
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 8
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "Therefore, for the static problem, we mainly focus on whether the lower-level agent can improve the solving speed. As we can see in Figure 4, at the same step, choosing operators using lower-level RL can reach a better objective than randomly choosing operators, which indicates our lower-level method learned to accelerate the searching for better solutions. Since the static sub-problems of a dynamic problem are not independent of each other, the small gap between the above ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
173,
|
| 853 |
+
213,
|
| 854 |
+
408,
|
| 855 |
+
404
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 8
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "image",
|
| 861 |
+
"img_path": "images/bd810fb7e2b2140648402ff44b3c03029bbb2ec9151bf3b8de37d65eaf513284.jpg",
|
| 862 |
+
"image_caption": [
|
| 863 |
+
"Figure 4: Comparison of different selection methods of operators on static problems "
|
| 864 |
+
],
|
| 865 |
+
"image_footnote": [],
|
| 866 |
+
"bbox": [
|
| 867 |
+
426,
|
| 868 |
+
234,
|
| 869 |
+
816,
|
| 870 |
+
348
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 8
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "two methods in a static sub-problem will continue to enlarge in the subsequent sub-problems, resulting in a very large result gap on the entire dynamic problem. We compare the total objectives of the entire dynamic problems in Table 4. To ensure fairness, we control the upper-level methods to be ’10min-Interval’ and use the lower-level agent and random selection as lower-level methods, respectively. As we can see in Table 4, using the lower-level agent can help find better solutions on the entire dynamic problems. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
405,
|
| 880 |
+
826,
|
| 881 |
+
488
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "4.4.3 Does the upper-level agent learn to partition DPDP from a long-term perspective? ",
|
| 888 |
+
"text_level": 1,
|
| 889 |
+
"bbox": [
|
| 890 |
+
173,
|
| 891 |
+
502,
|
| 892 |
+
792,
|
| 893 |
+
518
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 8
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "To verify that our upper-level agent learns to partition the dynamic problem into static subproblems from a long-term perspective, we compare the results of differ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
174,
|
| 902 |
+
526,
|
| 903 |
+
299,
|
| 904 |
+
650
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 8
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "table",
|
| 910 |
+
"img_path": "images/9453374922488b327a5fc2f47b189d248010047d77e4eb62a45c386536e9eae1.jpg",
|
| 911 |
+
"table_caption": [
|
| 912 |
+
"Table 4: Effectiveness of lower-level agent and upper-level agent "
|
| 913 |
+
],
|
| 914 |
+
"table_footnote": [],
|
| 915 |
+
"table_body": "<table><tr><td>Dataset</td><td>Method</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td><td>ObjImpro</td></tr><tr><td rowspan=\"3\">300-1</td><td>10min-Interval+Random Search</td><td>0</td><td>139.16 ± 8.59</td><td>139.16</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>126.95 ± 4.80</td><td>126.95</td><td>8.77%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>122.42 ± 4.02</td><td>122.42</td><td>12.03%</td></tr><tr><td rowspan=\"3\">300-2</td><td>10min-Interval+RandomSearch</td><td>0</td><td>166.31 ± 10.20</td><td>166.31</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>154.39 ± 8.13</td><td>154.39</td><td>7.17%</td></tr><tr><td>Our (Upper-level RL + Lower-level RL)</td><td>0</td><td>142.33 ± 7.47</td><td>142.33</td><td>14.42%</td></tr><tr><td rowspan=\"3\">300-3</td><td>10min-Interval+RandomSearch</td><td>0</td><td>168.69±7.70</td><td>168.69</td><td>0.00%</td></tr><tr><td>10min-Interval + Lower-level RL</td><td>0</td><td>156.64 ± 7.50</td><td>156.64</td><td>7.14%</td></tr><tr><td>Our(Upper-level RL +Lower-level RL)</td><td>0</td><td>146.88 ±13.91</td><td>146.88</td><td>12.93%</td></tr></table>",
|
| 916 |
+
"bbox": [
|
| 917 |
+
333,
|
| 918 |
+
547,
|
| 919 |
+
803,
|
| 920 |
+
638
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 8
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "ent static sub-problems partitioning methods. We compare our upper-level agent with the $\\mathrm { \\Omega } ^ { , } 1 0 \\mathrm { m i n } .$ Interval’ method. As we can see in Table 4, using an upper-level agent to partition the dynamic problem reaches the best objective. The results illustrate that our upper-level agent can partition the problem from a long-term perspective to balance the orders overtime risk and optimization of vehicle travelling distances. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
173,
|
| 929 |
+
651,
|
| 930 |
+
826,
|
| 931 |
+
719
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 8
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "4.4.4 Can our method generalized to larger-scale problems? ",
|
| 938 |
+
"text_level": 1,
|
| 939 |
+
"bbox": [
|
| 940 |
+
173,
|
| 941 |
+
736,
|
| 942 |
+
602,
|
| 943 |
+
750
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 8
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "To verify our method’s generalization ability, we evaluate the models trained using datasets of 300 orders / 20 vehicles on larger-scale datasets, i.e., 1000 orders / 50 vehicles. As shown in Table 5, the model trained on datasets of 300 orders achieves similar performance with the one trained on datasets of 1000 orders. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
760,
|
| 953 |
+
437,
|
| 954 |
+
869
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 8
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "table",
|
| 960 |
+
"img_path": "images/9878aaa0f8430644e217ecb135677ba679d7c97de63230885577a67d2fb4d4f0.jpg",
|
| 961 |
+
"table_caption": [
|
| 962 |
+
"Table 5: Generalization verification "
|
| 963 |
+
],
|
| 964 |
+
"table_footnote": [],
|
| 965 |
+
"table_body": "<table><tr><td>Dataset</td><td>Model</td><td>Overtime</td><td>Avg_Dis</td><td>Objective</td></tr><tr><td rowspan=\"2\">1000-1</td><td>Trained on 1000</td><td>0</td><td>159.18 ± 4.10</td><td>159.18</td></tr><tr><td>Trained on 300</td><td>0</td><td>170.78 ± 10.27</td><td>170.78</td></tr><tr><td rowspan=\"2\">1000-2</td><td>Trained on 1000</td><td>0</td><td>196.66± 9.52</td><td>196.66</td></tr><tr><td>Trained on 300</td><td>0</td><td>209.48±8.68</td><td>209.48</td></tr><tr><td rowspan=\"2\">1000-3</td><td>Trained on 1000</td><td>0</td><td>176.39 ± 7.61</td><td>176.39</td></tr><tr><td>Trained on 300</td><td>0</td><td>182.83 ± 5.64</td><td>182.83</td></tr></table>",
|
| 966 |
+
"bbox": [
|
| 967 |
+
467,
|
| 968 |
+
781,
|
| 969 |
+
808,
|
| 970 |
+
854
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 8
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Note that the model trained on datasets of 300 orders also outperforms the baselines in Table 1. It verifies that our method can be generalized to new problems of different scales without fine-tuning after well trained on existing problems. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
174,
|
| 979 |
+
869,
|
| 980 |
+
825,
|
| 981 |
+
911
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 8
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "5 Online Testing ",
|
| 988 |
+
"text_level": 1,
|
| 989 |
+
"bbox": [
|
| 990 |
+
174,
|
| 991 |
+
89,
|
| 992 |
+
326,
|
| 993 |
+
107
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 9
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "We deployed our method on the order dispatching system in Huawei supply chain. In the online experiments, we compare our method with the previously online deployed greedy algorithm (10min-Interval $^ +$ Greedy). For a fair comparison, we control the vehicles and the nodes (factories and warehouses) involved in the online testing to be the same. Normally, a standard A/B testing is required to be performed on homogeneous experimental groups using different methods ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
173,
|
| 1002 |
+
121,
|
| 1003 |
+
375,
|
| 1004 |
+
342
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 9
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "image",
|
| 1010 |
+
"img_path": "images/03c50a505ccc16ad888407a2571a88d5e637c0de5e647de57cf281efeb8016a4.jpg",
|
| 1011 |
+
"image_caption": [
|
| 1012 |
+
"Figure 5: Online Results "
|
| 1013 |
+
],
|
| 1014 |
+
"image_footnote": [],
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
400,
|
| 1017 |
+
136,
|
| 1018 |
+
812,
|
| 1019 |
+
303
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "at the same time dimension. Then experimental data of each group are collected and evaluated to choose the best method. However, in our situation, it’s unrealistic to split each order into two sub-orders to ensure the experimental groups are homogeneous. Besides, a large number of offline experiments have demonstrated that our method is significantly better than the greedy algorithm. Even in the worst case when there is no improvement in each sub-problem, our method is still the same with Greedy. Thus, we directly replaced the greedy algorithm for online deployment. Figure 5 summarises the results from Nov 2020 to Apr 2021. The points of Nov and Dec 2020 shown in Figure 5 are generated by greedy algorithm and our method is deployed from Jan to Apr 2021. As we can see, our method can reduce the average orders’ overtime and vehicles’ travelling distances compared with the greedy baseline. Even with more orders, our method can still reach a better optimization objective. Note that in the actual business scenario, orders generated in each day follow a similar distribution with a small variance. These results indicate that our method could achieve a better performance in the realistic deployment environment with varied data distributions. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
173,
|
| 1028 |
+
342,
|
| 1029 |
+
825,
|
| 1030 |
+
521
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 9
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "6 Conclusions ",
|
| 1037 |
+
"text_level": 1,
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
542,
|
| 1041 |
+
305,
|
| 1042 |
+
559
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "In this paper, we propose a novel hierarchical reinforcement learning based optimization framework to solve the large-scale DPDP in the real world. The upper-level agent is equipped with the far-sight ability whose target is to optimize the long-term cumulative objective. The lower-level agent exerts the generalization ability of GNN to quickly improve the solution quality by transferring the knowledge (policy) learned from training. The cooperation of the upper-level and lower-level agents enables our method to find globally better solutions. Extensive offline simulation on the simulator built on real historical data and online testing verify that our method can obtain higher-quality solutions with faster running speed. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
174,
|
| 1051 |
+
574,
|
| 1052 |
+
825,
|
| 1053 |
+
685
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 9
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "The core idea of our learning-based framework are beneficial to a number of similar problems in the supply chain community that have time-evolving components (e.g., orders/customers/tasks), such as dynamic routing problems, dynamic flow shop scheduling, dynamic job shop scheduling, dynamic bin packing and so on. As orders/customers/tasks of all these dynamic problems are online generated that are not known a priori, the orders/customers/tasks should first be cached and then be dispatched. In this way, these problems can be modeled as hierarchical optimization problems like DPDP that the upper-level problem is ”how to cache orders/customers/tasks” and the lower-level problem is ”how to dispatch cached orders/customers/tasks”. We will verify our proposed framework in these fields in the future work. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
173,
|
| 1062 |
+
691,
|
| 1063 |
+
825,
|
| 1064 |
+
815
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 1071 |
+
"text_level": 1,
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
174,
|
| 1074 |
+
837,
|
| 1075 |
+
553,
|
| 1076 |
+
854
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "The work is supported by the National Natural Science Foundation of China (Grant Nos: U1836214) and the New Generation of Artificial Intelligence Science and Technology Major Project of Tianjin under grant: 19ZXZNGX00010. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
174,
|
| 1085 |
+
869,
|
| 1086 |
+
825,
|
| 1087 |
+
910
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "References \n[1] Irwan Bello, Hieu Pham, Quoc V Le, Mohammad Norouzi, and Samy Bengio. Neural combinatorial optimization with reinforcement learning. arXiv preprint arXiv:1611.09940, 2016. \n[2] Enrique Benavent, Mercedes Landete, Enrique Mota, and Gregorio Tirado. The multiple vehicle pickup and delivery problem with lifo constraints. European Journal of Operational Research, 243(3):752–762, 2015. \n[3] Gerardo Berbeglia, Jean-François Cordeau, and Gilbert Laporte. Dynamic pickup and delivery problems. European journal of operational research, 202(1):8–15, 2010. \n[4] Francesco Carrabs, Jean-François Cordeau, and Gilbert Laporte. Variable neighborhood search for the pickup and delivery traveling salesman problem with lifo loading. INFORMS Journal on Computing, 19 (4):618–632, 2007. \n[5] Brenda Cheang, Xiang Gao, Andrew Lim, Hu Qin, and Wenbin Zhu. Multiple pickup and delivery traveling salesman problem with last-in-first-out loading and distance constraints. European journal of operational research, 223(1):60–75, 2012. \n[6] Xinyun Chen and Yuandong Tian. Learning to perform local rewriting for combinatorial optimization. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 6278–6289, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/ 131f383b434fdf48079bff1e44e2d9a5-Abstract.html. \n[7] Michel Gendreau, Francois Guertin, Jean-Yves Potvin, and René Séguin. Neighborhood search heuristics for a dynamic vehicle dispatching problem with pick-ups and deliveries. Transportation Research Part C: Emerging Technologies, 14(3):157–174, 2006. \n[8] Gianpaolo Ghiani, Emanuele Manni, Antonella Quaranta, and Chefi Triki. Anticipatory algorithms for same-day courier dispatching. Transportation Research Part E: Logistics and Transportation Review, 45 (1):96–106, 2009. \n[9] Péter Györgyi and Tamás Kis. A probabilistic approach to pickup and delivery problems with time window uncertainty. European Journal of Operational Research, 274(3):909–923, 2019. \n[10] Matheus Nohra Haddad, Rafael Martinelli, Thibaut Vidal, Simone Martins, Luiz Satoru Ochi, Marcone Jamilson Freitas Souza, and Richard Hartl. Large neighborhood-based metaheuristic and branch-and-price for the pickup and delivery problem with split loads. European Journal of Operational Research, 270(3): 1014–1027, 2018. \n[11] Farzaneh Karami, Wim Vancroonenburg, and Greet Vanden Berghe. A periodic optimization approach to dynamic pickup and delivery problems with time windows. Journal of Scheduling, 23(6):711–731, 2020. \n[12] Xijun Li, Weilin Luo, Mingxuan Yuan, Jun Wang, Jiawen Lu, Jie Wang, Jinhu Lv, and Jia Zeng. Learning to optimize industry-scale dynamic pickup and delivery problems. 37th IEEE International Conference on Data Engineering, 2021. \n[13] Hao Lu, Xingwen Zhang, and Shuang Yang. A learning-based iterative method for solving vehicle routing problems. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net, 2020. URL https://openreview.net/forum?id=BJe1334YDH. \n[14] Hongzi Mao, Malte Schwarzkopf, Shaileshh Bojja Venkatakrishnan, Zili Meng, and Mohammad Alizadeh. Learning scheduling algorithms for data processing clusters. In Proceedings of the ACM Special Interest Group on Data Communication, pages 270–288. 2019. \n[15] Snežana Mitrovic-Mini ´ c and Gilbert Laporte. Waiting strategies for the dynamic pickup and delivery ´ problem with time windows. Transportation Research Part B: Methodological, 38(7):635–655, 2004. \n[16] Snezana Mitrovic-Minic, Ramesh Krishnamurti, Gilbert Laporte, et al. Double-horizon based heuristics for the dynamic pickup and delivery problem with time windows. Transportation Research Part B: Methodological, 38(8):669–685, 2004. \n[17] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. nature, 518(7540):529–533, 2015. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
173,
|
| 1096 |
+
74,
|
| 1097 |
+
828,
|
| 1098 |
+
916
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 10
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "[18] MohammadReza Nazari, Afshin Oroojlooy, Lawrence V. Snyder, and Martin Takác. Reinforcement learning for solving the vehicle routing problem. In Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicolò Cesa-Bianchi, and Roman Garnett, editors, Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 9861–9871, 2018. URL https://proceedings. neurips.cc/paper/2018/hash/9fb4651c05b2ed70fba5afe0b039a550-Abstract.html. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
173,
|
| 1107 |
+
92,
|
| 1108 |
+
828,
|
| 1109 |
+
169
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 11
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "[19] Maciek Nowak, Özlem Ergun, and Chelsea C White III. Pickup and delivery with split loads. Transportation Science, 42(1):32–43, 2008. ",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
171,
|
| 1118 |
+
178,
|
| 1119 |
+
823,
|
| 1120 |
+
204
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 11
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "[20] GUROBI OPTIMIZATION. Inc. gurobi optimizer reference manual, 2015. URL: http://www. gurobi. com, page 29, 2014. ",
|
| 1127 |
+
"bbox": [
|
| 1128 |
+
174,
|
| 1129 |
+
212,
|
| 1130 |
+
823,
|
| 1131 |
+
239
|
| 1132 |
+
],
|
| 1133 |
+
"page_idx": 11
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"type": "text",
|
| 1137 |
+
"text": "[21] Bo Peng, Yuan Zhang, Zhipeng Lü, TCE Cheng, and Fred Glover. A learning-based memetic algorithm for the multiple vehicle pickup and delivery problem with lifo loading. Computers & Industrial Engineering, 142:106241, 2020. ",
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
173,
|
| 1140 |
+
247,
|
| 1141 |
+
825,
|
| 1142 |
+
286
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 11
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "[22] Martin Savelsbergh and Marc Sol. Drive: Dynamic routing of independent vehicles. Operations Research, 46(4):474–490, 1998. ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
171,
|
| 1151 |
+
295,
|
| 1152 |
+
825,
|
| 1153 |
+
323
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 11
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "[23] Zhiyuan Su, Wantao Li, Jicao Li, and Bin Cheng. Heterogeneous fleet vehicle scheduling problems for dynamic pickup and delivery problem with time windows in shared logistics platform: formulation, instances and algorithms. International Journal of Systems Science: Operations & Logistics, pages 1–25, 2021. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
176,
|
| 1162 |
+
330,
|
| 1163 |
+
823,
|
| 1164 |
+
382
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 11
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "[24] Barrett W Thomas. Waiting strategies for anticipating service requests from known customer locations. Transportation Science, 41(3):319–331, 2007. ",
|
| 1171 |
+
"bbox": [
|
| 1172 |
+
171,
|
| 1173 |
+
391,
|
| 1174 |
+
825,
|
| 1175 |
+
417
|
| 1176 |
+
],
|
| 1177 |
+
"page_idx": 11
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"type": "text",
|
| 1181 |
+
"text": "[25] Paolo Toth and Daniele Vigo. Vehicle routing: problems, methods, and applications. SIAM, 2014. ",
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
173,
|
| 1184 |
+
426,
|
| 1185 |
+
789,
|
| 1186 |
+
441
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 11
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "[26] Marlin W Ulmer, Barrett W Thomas, Ann Melissa Campbell, and Nicholas Woyak. The restaurant meal delivery problem: Dynamic pickup and delivery with deadlines and random ready times. Transportation Science, 55(1):75–100, 2021. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
173,
|
| 1195 |
+
449,
|
| 1196 |
+
825,
|
| 1197 |
+
488
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 11
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "[27] Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett, editors, Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7- 12, 2015, Montreal, Quebec, Canada, pages 2692–2700, 2015. URL https://proceedings.neurips. cc/paper/2015/hash/29921001f2f04bd3baee84a12e98098f-Abstract.html. ",
|
| 1204 |
+
"bbox": [
|
| 1205 |
+
174,
|
| 1206 |
+
497,
|
| 1207 |
+
826,
|
| 1208 |
+
560
|
| 1209 |
+
],
|
| 1210 |
+
"page_idx": 11
|
| 1211 |
+
},
|
| 1212 |
+
{
|
| 1213 |
+
"type": "text",
|
| 1214 |
+
"text": "[28] Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256, 1992. ",
|
| 1215 |
+
"bbox": [
|
| 1216 |
+
171,
|
| 1217 |
+
569,
|
| 1218 |
+
823,
|
| 1219 |
+
597
|
| 1220 |
+
],
|
| 1221 |
+
"page_idx": 11
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"type": "text",
|
| 1225 |
+
"text": "[29] David Wolfinger. A large neighborhood search for the pickup and delivery problem with time windows, split loads and transshipments. Computers & Operations Research, 126:105110. ",
|
| 1226 |
+
"bbox": [
|
| 1227 |
+
171,
|
| 1228 |
+
604,
|
| 1229 |
+
823,
|
| 1230 |
+
632
|
| 1231 |
+
],
|
| 1232 |
+
"page_idx": 11
|
| 1233 |
+
},
|
| 1234 |
+
{
|
| 1235 |
+
"type": "text",
|
| 1236 |
+
"text": "[30] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. URL https://openreview.net/forum?id=ryGs6iA5Km. ",
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
173,
|
| 1239 |
+
640,
|
| 1240 |
+
825,
|
| 1241 |
+
680
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 11
|
| 1244 |
+
}
|
| 1245 |
+
]
|
parse/train/2F_wnaioS6/2F_wnaioS6_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/2F_wnaioS6/2F_wnaioS6_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Ig53hpHxS4/Ig53hpHxS4_content_list.json
ADDED
|
@@ -0,0 +1,1974 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "FLOWTRON: AN AUTOREGRESSIVE FLOW-BASED GENERATIVE NETWORK FOR TEXT-TO-SPEECH SYNTHESIS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
826,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Rafael Valle, Kevin J. Shih, Ryan Prenger & Bryan Catanzaro \nNVIDIA \nrafaelvalle@nvidia.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
194,
|
| 20 |
+
619,
|
| 21 |
+
236
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
273,
|
| 32 |
+
544,
|
| 33 |
+
289
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "In this paper we propose Flowtron: an autoregressive flow-based generative network for text-to-speech synthesis with style transfer and speech variation. Flowtron borrows insights from Autoregressive Flows and revamps Tacotron 2 in order to provide high-quality and expressive mel-spectrogram synthesis. Flowtron is optimized by maximizing the likelihood of the training data, which makes training simple and stable. Flowtron learns an invertible mapping of data to a latent space that can be used to modulate many aspects of speech synthesis (timbre, expressivity, accent). Our mean opinion scores (MOS) show that Flowtron matches state-ofthe-art TTS models in terms of speech quality. We provide results on speech variation, interpolation over time between samples and style transfer between seen and unseen speakers. Code and pre-trained models are publicly available at https://github.com/NVIDIA/flowtron. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
304,
|
| 43 |
+
766,
|
| 44 |
+
469
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
496,
|
| 55 |
+
336,
|
| 56 |
+
511
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Current speech synthesis methods do not give the user enough control over how speech actually sounds. Automatically converting text to audio that successfully communicates the text was achieved a long time ago (Umeda et al., 1968; Badham et al., 1983). However, communicating only the text information leaves out the acoustic properties of the voice that convey much of the meaning and human expressiveness. In spite of this, the typical speech synthesis problem is formulated as a text to speech (TTS) problem in which the user inputs only text since the 1960s. This work proposes a normalizing flow model (Kingma & Dhariwal, 2018; Huang et al., 2018) that learns an unsupervised mapping from non-textual information to manipulable latent Gaussian distributions. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
526,
|
| 66 |
+
825,
|
| 67 |
+
637
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Taming the non-textual information in speech is difficult because the non-textual is unlabeled. A voice actor may speak the same text with different emphasis or emotion based on context, but it is unclear how to label a particular reading. Without labels for the non-textual information, recent approaches (Shen et al., 2017; Arik et al., 2017a;b; Ping et al., 2017) have formulated speech synthesis as a TTS problem wherein the non-textual information is implicitly learned. Despite their success in recreating non-textual information in the training set, the user has limited insight and control over it. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
645,
|
| 77 |
+
825,
|
| 78 |
+
728
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "It is possible to formulate an unsupervised learning problem in such a way that the user can exploit the unlabeled characteristics of a data set. One way is to formulate the problem such that the data is assumed to have a representation in some latent space, and have the model learn that representation. This latent space can then be investigated and manipulated to give the user more control over the generative model’s output. Such approaches have been popular in image generation, allowing users to interpolate smoothly between images and to identify portions of the latent space that correlate with various features (Radford et al., 2015; Kingma & Dhariwal, 2018; Izmailov et al., 2019). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
734,
|
| 88 |
+
825,
|
| 89 |
+
833
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "Recent deep learning approaches to expressive speech synthesis have combined text and learned latent embeddings for non-textual information (Wang et al., 2018; Skerry-Ryan et al., 2018; Hsu et al., 2018; Habib et al., 2019; Sun et al., 2020). These approaches impose an undesirable paradox: they require making assumptions before hand about the dimensionality of the embeddings when the correct dimensionality can only be determined after the model is trained. Even then, these embeddings are not guaranteed to contain all the non-textual information it takes to reconstruct speech, often ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
840,
|
| 99 |
+
825,
|
| 100 |
+
922
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/0c05d3d0dbb87076db69f42f212b7790e8ecfb5fe50a23eb3336e9f0a2277c75.jpg",
|
| 107 |
+
"image_caption": [],
|
| 108 |
+
"image_footnote": [],
|
| 109 |
+
"bbox": [
|
| 110 |
+
227,
|
| 111 |
+
117,
|
| 112 |
+
483,
|
| 113 |
+
308
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 1
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "image",
|
| 119 |
+
"img_path": "images/55fc3e5bacc9b8755ed7ca12eb90609a6ff9ac878d555efc308b5f8adac3fd79.jpg",
|
| 120 |
+
"image_caption": [],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
516,
|
| 124 |
+
118,
|
| 125 |
+
772,
|
| 126 |
+
306
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "(a) Time-averaged $_ { z }$ -values from multiple samples from 3 speakers with different timbres. $^ +$ is the centroid computed over samples from the same speaker. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
218,
|
| 135 |
+
311,
|
| 136 |
+
495,
|
| 137 |
+
362
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "(b) Time-averaged $_ { z }$ -values from multiple samples from 123 LibriTTS speakers. Each color represents a speaker. $^ +$ is Male (lower $F _ { 0 }$ , third quadrant). is Female (higher $F _ { 0 }$ , first quadrant). ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
506,
|
| 146 |
+
311,
|
| 147 |
+
779,
|
| 148 |
+
376
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Figure 1: T-SNE plot showing Flowtron partitioning the $_ z$ -space according to acoustic characteristics. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
169,
|
| 157 |
+
387,
|
| 158 |
+
823,
|
| 159 |
+
401
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "resulting in models with dummy or uninterpretable latent dimensions and not enough capacity, as the appendices in Wang et al. (2018); Skerry-Ryan et al. (2018); Hsu et al. (2018) confirm. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
171,
|
| 168 |
+
429,
|
| 169 |
+
821,
|
| 170 |
+
457
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "Furthermore, most models are not able to manipulate speech characteristics over time due to fixedlength embeddings. Their assumption is that variable-length embeddings are not robust to text and speaker perturbations (Skerry-Ryan et al., 2018), which we show not to be the case. Finally, although VAEs and GANs (Sun et al., 2020; Habib et al., 2019; Hsu et al., 2018; Binkowski et al., 2019; ´ Akuzawa et al., 2018) provide a latent embedding that can be manipulated, they may be difficult to train, are limited to approximate latent variable prediction, and rely on an implicit generative model or ELBO estimate to perform MLE in the latent space (Kingma & Dhariwal, 2018; Lucic et al., 2018; Kingma et al., 2016). ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
464,
|
| 180 |
+
825,
|
| 181 |
+
575
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "In this paper we propose Flowtron: an autoregressive flow-based generative network for melspectrogram synthesis with style transfer over time and speech variation. Flowtron learns an invertible function that maps a distribution over mel-spectrograms to a latent $_ z$ -space parameterized by a spherical Gaussian. Figure 1 shows that acoustic characteristics like timbre and $F _ { 0 }$ correlate with portions of the $_ z$ -space of Flowtron models trained without speaker embeddings. ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
174,
|
| 190 |
+
582,
|
| 191 |
+
825,
|
| 192 |
+
652
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "With our formalization, we can generate samples containing specific speech characteristics manifested in mel-space by finding and sampling the corresponding region in $_ z$ -space (Gambardella et al., 2019). Our formulation also allows us to impose a structure to the $_ z$ -space and to parametrize it with a Gaussian mixture, similar to Hsu et al. (2018). In our simplest setup, we generate samples with a zero mean spherical Gaussian prior and control the amount of variation by adjusting its variance. ",
|
| 199 |
+
"bbox": [
|
| 200 |
+
174,
|
| 201 |
+
660,
|
| 202 |
+
825,
|
| 203 |
+
728
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "Compared to VAEs and GANs and their disadvantages enumerated in Kingma & Dhariwal (2018), manipulating a latent prior in Flowtron comes at no cost in speech quality nor optimization challenges. Flowtron is able to generalize and produce sharp mel-spectrograms, even at high $\\sigma ^ { 2 }$ values, by simply maximizing the likelihood of the data while not requiring any additional Prenet or Postnet layer (Wang et al., 2017), nor compound loss functions required by most SOTA models (Shen et al., 2017; Ping et al., 2017; Skerry-Ryan et al., 2018; Wang et al., 2018; Binkowski et al., 2019). ´ ",
|
| 210 |
+
"bbox": [
|
| 211 |
+
174,
|
| 212 |
+
734,
|
| 213 |
+
825,
|
| 214 |
+
819
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "In summary, Flowtron is optimized by maximizing the exact likelihood of the training data, which makes training simple and stable. Using normalizing flows, it learns an invertible mapping from data to latent space that can be manipulated to modulate many aspects of speech synthesis. Concurrent with this work are Glow-TTS (Kim et al., 2020) and Flow-TTS (Miao et al., 2020), both of which incorporate normalizing flows into the TTS task. Our work differs from these two in that Flowtron is an autoregressive architecture where we explore the use of flow to modulate speech and style variation. In contrast, Glow-TTS and Flow-TTS are parallel architectures that focus on inference speed. Our mean opinion scores (MOS) show that Flowtron matches SOTA TTS models in terms of speech quality. Further, we provide results on speech variation, interpolation between samples and interpolation between styles over time, and style transfer between seen and unseen speakers with equal or different sentences. We hope this work, the first to show evidence that normalizing flows can be used for expressive text-to-speech synthesis and style transfer, will further stimulate developments in normalizing flows. ",
|
| 221 |
+
"bbox": [
|
| 222 |
+
174,
|
| 223 |
+
825,
|
| 224 |
+
825,
|
| 225 |
+
924
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "",
|
| 232 |
+
"bbox": [
|
| 233 |
+
174,
|
| 234 |
+
103,
|
| 235 |
+
825,
|
| 236 |
+
188
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "2 FLOWTRON ",
|
| 243 |
+
"text_level": 1,
|
| 244 |
+
"bbox": [
|
| 245 |
+
174,
|
| 246 |
+
207,
|
| 247 |
+
302,
|
| 248 |
+
223
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "text",
|
| 254 |
+
"text": "Flowtron is an autoregressive flow that generates a sequence of mel-spectrogram frames. A normalizing flow generates samples by first sampling a latent variable from a known distribution $p ( z )$ , and applying a series of invertible transformations to produce a sample from the target distribution $p ( { \\pmb x } )$ . These invertible transformations $f$ are known as steps of flow: ",
|
| 255 |
+
"bbox": [
|
| 256 |
+
173,
|
| 257 |
+
238,
|
| 258 |
+
826,
|
| 259 |
+
295
|
| 260 |
+
],
|
| 261 |
+
"page_idx": 2
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"type": "equation",
|
| 265 |
+
"img_path": "images/bce7fd2e095f9f60885bbc94f18a3627704417c762e441e07a4a9bdea500a29a.jpg",
|
| 266 |
+
"text": "$$\n\\pmb { x } = \\pmb { f } _ { 1 } \\circ \\pmb { f } _ { 2 } \\circ . . . \\pmb { f } _ { k } ( z )\n$$",
|
| 267 |
+
"text_format": "latex",
|
| 268 |
+
"bbox": [
|
| 269 |
+
421,
|
| 270 |
+
324,
|
| 271 |
+
576,
|
| 272 |
+
340
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "Because each transformation is invertible, we can directly evaluate the exact log-likelihood of the target distribution $p ( { \\pmb x } )$ using the change of variables: ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
171,
|
| 281 |
+
352,
|
| 282 |
+
823,
|
| 283 |
+
382
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 2
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "equation",
|
| 289 |
+
"img_path": "images/d14b588d480f4157aa78b744b410bce81a8aa766a42e149540deb4d4c9953e57.jpg",
|
| 290 |
+
"text": "$$\n\\begin{array} { l } { \\log p _ { \\theta } ( \\pmb { x } ) = \\log p _ { \\theta } ( z ) + \\displaystyle \\sum _ { i = 1 } ^ { k } \\log \\vert \\operatorname* { d e t } ( \\pmb { J } ( \\pmb { f } _ { i } ^ { - 1 } ( \\pmb { x } ) ) ) \\vert } \\\\ { z = \\pmb { f } _ { k } ^ { - 1 } \\circ \\pmb { f } _ { k - 1 } ^ { - 1 } \\circ . . . \\pmb { f } _ { 1 } ^ { - 1 } ( \\pmb { x } ) } \\end{array}\n$$",
|
| 291 |
+
"text_format": "latex",
|
| 292 |
+
"bbox": [
|
| 293 |
+
338,
|
| 294 |
+
387,
|
| 295 |
+
656,
|
| 296 |
+
450
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "Where $\\textbf { { J } }$ is the Jacobian of the inverse transform $f _ { i } ^ { - 1 } ( { \\pmb x } )$ . By cleverly choosing the latent distribution $p ( z )$ and the invertible transformations, the exact log-likelihood becomes simple and tractable. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
462,
|
| 306 |
+
826,
|
| 307 |
+
492
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "2.1 LATENT DISTRIBUTIONS ",
|
| 314 |
+
"text_level": 1,
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
508,
|
| 318 |
+
387,
|
| 319 |
+
522
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "We consider two simple distributions for the latent distribution $_ z$ : a zero-mean spherical Gaussian and a mixture of spherical Gaussians with fixed or learnable parameters. ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
534,
|
| 329 |
+
823,
|
| 330 |
+
563
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "equation",
|
| 336 |
+
"img_path": "images/00bf64d9ae66304b7a9361df0f33d02fcf971960cbc84d548832fef138204b14.jpg",
|
| 337 |
+
"text": "$$\nz \\sim \\mathcal { N } ( z ; 0 , I ) \\quad \\mathrm { o r } \\quad z \\sim \\sum _ { k } \\hat { \\phi } _ { k } \\mathcal { N } ( z ; \\hat { \\mu } _ { k } , \\hat { \\Sigma } _ { k } )\n$$",
|
| 338 |
+
"text_format": "latex",
|
| 339 |
+
"bbox": [
|
| 340 |
+
349,
|
| 341 |
+
587,
|
| 342 |
+
648,
|
| 343 |
+
617
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "The zero-mean spherical Gaussian has a simple log-likelihood. The mixture of the spherical Gaussians, has inherent clusters that might result in interesting aspects of the audio information. ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
171,
|
| 352 |
+
631,
|
| 353 |
+
825,
|
| 354 |
+
660
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "2.2 INVERTIBLE TRANSFORMATIONS ",
|
| 361 |
+
"text_level": 1,
|
| 362 |
+
"bbox": [
|
| 363 |
+
176,
|
| 364 |
+
675,
|
| 365 |
+
444,
|
| 366 |
+
690
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "Normalizing flows are typically constructed using coupling layers (Dinh et al., 2014; 2016; Kingma & Dhariwal, 2018). In our case, we use an autoregressive affine coupling layer (Dinh et al., 2016). The latent variable $_ z$ has the same number of dimensions and frames as the resulting mel-spectrogram sample. The previous frames $z _ { 1 : t - 1 }$ produce scale and bias terms, $\\mathbf { } _ { s _ { t } }$ and $\\mathbf { } _ { b _ { t } }$ respectively, that affine-transform the succeeding time step ${ \\boldsymbol { z } } _ { t }$ : ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
173,
|
| 375 |
+
700,
|
| 376 |
+
826,
|
| 377 |
+
772
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"img_path": "images/ea1735f175b2137a148a3626abac1fe1572348dac1e78f521cf5366136fe0121.jpg",
|
| 384 |
+
"text": "$$\n\\begin{array} { c } { { ( \\log s _ { t } , b _ { t } ) = N N ( z _ { 1 : t - 1 } , t e x t , s p e a k e r ) } } \\\\ { { f ( z _ { t } ) = ( z _ { t } - b _ { t } ) \\div s _ { t } } } \\\\ { { f ^ { - 1 } ( z _ { t } ) = s _ { t } \\odot z _ { t } + b _ { t } } } \\end{array}\n$$",
|
| 385 |
+
"text_format": "latex",
|
| 386 |
+
"bbox": [
|
| 387 |
+
361,
|
| 388 |
+
799,
|
| 389 |
+
635,
|
| 390 |
+
858
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 2
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Here, $N N ( )$ can be any autoregressive causal transformation (Shumway & Stoffer, 2017). The affine coupling layer is a reversible transformation, even though $N N ( )$ itself need not be invertible. We use a 0-vector for obtaining the scaling and bias terms what will affine transform $z _ { 1 }$ . This 0-vector constant also guarantees that the first $_ z$ is always known. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
867,
|
| 400 |
+
825,
|
| 401 |
+
924
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 2
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "image",
|
| 407 |
+
"img_path": "images/a0d01da5631791f09e9056942672608e597522f1883e26e701c1ed9de4deae52.jpg",
|
| 408 |
+
"image_caption": [
|
| 409 |
+
"Figure 2: Mapping data $\\mathbf { \\rho } ( \\mathbf { x } )$ to the latent dimension ${ \\bf \\Pi } ( { \\bf z } )$ for K steps of flow. The right side shows a unrolled view of the $N N ( )$ architecture. Text and speaker embeddings are channel-wise concatenated to produce context matrix $c$ . At every time step $t$ , a recurrent attention mechanism computes a weighting distribution over the context matrix $c$ to produce a weighted-sum reduction over $c$ , which is then passed through an LSTM-Conv decoder architecture to generate affine parameters for transforming $x _ { t + 1 } \\to x _ { t + 1 } ^ { \\prime }$ . As predicted parameters are always for the next time step, the first iteration is conditioned on a pre-defined 0-vector. "
|
| 410 |
+
],
|
| 411 |
+
"image_footnote": [],
|
| 412 |
+
"bbox": [
|
| 413 |
+
174,
|
| 414 |
+
99,
|
| 415 |
+
825,
|
| 416 |
+
203
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "With an affine coupling layer, only the $\\mathbf { \\delta } _ { s _ { t } }$ term changes the volume of the mapping and adds a change of variables term to the loss. This term also penalizes the model for non-invertible affine mappings. ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
171,
|
| 425 |
+
339,
|
| 426 |
+
823,
|
| 427 |
+
368
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "equation",
|
| 433 |
+
"img_path": "images/920afdfc5b16d7a6544216cdbcfd8c60379014edcaa64c38c2eca61a2a803374.jpg",
|
| 434 |
+
"text": "$$\n\\log | \\operatorname* { d e t } ( J ( f _ { c o u p l i n g } ^ { - 1 } ( \\pmb { x } ) ) ) | = \\log | s |\n$$",
|
| 435 |
+
"text_format": "latex",
|
| 436 |
+
"bbox": [
|
| 437 |
+
374,
|
| 438 |
+
377,
|
| 439 |
+
624,
|
| 440 |
+
400
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "To evaluate the likelihood, we take the mel-spectrograms and pass them through the inverse steps of flow conditioned on the text and optional speaker ids, adding the corresponding $\\log | s |$ penalties, and evaluate the result based on the Gaussian likelihoods. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
176,
|
| 449 |
+
415,
|
| 450 |
+
823,
|
| 451 |
+
457
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "With this setup, it is also possible to reverse the ordering of the mel-spectrogram frames in time without loss of generality. We reverse the order of frames on even steps of flow, defining a step of flow as a full pass over the input sequence. This allows the model to learn dependencies both forward and backwards in time while remaining causal and invertible. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
463,
|
| 461 |
+
825,
|
| 462 |
+
520
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 3
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "2.3 MODEL ARCHITECTURE ",
|
| 469 |
+
"text_level": 1,
|
| 470 |
+
"bbox": [
|
| 471 |
+
176,
|
| 472 |
+
541,
|
| 473 |
+
382,
|
| 474 |
+
555
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 3
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Our text encoder modifies the text encoder in Tacotron 2 by replacing batch-norm with instance-norm. Our decoder and $N N$ architecture, depicted in Figure 2, removes the Prenet and Postnet layers from Tacotron previously thought to be essential (Shen et al., 2017). Please compare Figure 2 describing our architecture and Figure 8 in A.4.4 describing Tacotron’s architecture. We also provide model summary views in A.6 ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
568,
|
| 484 |
+
825,
|
| 485 |
+
637
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 3
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "We use the content-based tanh attention described in Vinyals et al. (2015), which can be easily modified to become also location sensitive. We use the Mel Encoder described in Hsu et al. (2018) to predict the parameters of the Gaussian Mixture. Following (Valle et al., 2019b), we use speakerembeddings channel-wise concatenated with the encoder outputs at every token. We use a single shared embedding for models not conditioned on speaker id. ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
174,
|
| 494 |
+
645,
|
| 495 |
+
825,
|
| 496 |
+
715
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 3
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "The step of flow closest to the latent variable $_ { z }$ has a gating mechanism that prunes extra frames from the $_ z$ -values provided to the model during inference. The length of $_ z$ -values remains fixed on the next steps of flow. ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
174,
|
| 505 |
+
722,
|
| 506 |
+
825,
|
| 507 |
+
763
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 3
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "2.4 INFERENCE ",
|
| 514 |
+
"text_level": 1,
|
| 515 |
+
"bbox": [
|
| 516 |
+
174,
|
| 517 |
+
785,
|
| 518 |
+
295,
|
| 519 |
+
799
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 3
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "Inference, given a trained model, is simply a matter of sampling $_ z$ values from a spherical Gaussian, or Gaussian Mixture, and running them through the network in the forward direction $f$ , e.g. Eq. 1. The parameters of the Gaussian mixture are either fixed or predicted by Flowtron. Training was conducted with $\\sigma ^ { 2 } = 1$ , but we explore the effects of different values for $\\sigma ^ { \\bar { 2 } }$ in section 3.3. In general, we found that sampling $_ z$ from a Gaussian with lower standard deviation than used during training resulted in better sounding mel-spectrograms, as similarly concluded in Kingma & Dhariwal (2018) and (Parmar et al., 2018). Our inference results use $\\sigma ^ { \\mathrm { 2 } } = 0 . 5$ while sampling the prior and the posterior variance while sampling the posterior. ",
|
| 526 |
+
"bbox": [
|
| 527 |
+
174,
|
| 528 |
+
811,
|
| 529 |
+
826,
|
| 530 |
+
924
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 3
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "2.5 POSTERIOR INFERENCE ",
|
| 537 |
+
"text_level": 1,
|
| 538 |
+
"bbox": [
|
| 539 |
+
176,
|
| 540 |
+
103,
|
| 541 |
+
379,
|
| 542 |
+
117
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "Figure 1 shows that several speech characteristics present in mel-spectrograms are clustered into regions of the $_ z$ -space. Knowing this, we can treat the latent distribution as a prior $q ( z ) = \\mathcal { N } ( 0 , I )$ and obtain a posterior over the latent space of the flow model $q ( z | \\zeta _ { 1 : m } )$ conditioned on the evidence $\\zeta _ { 1 : m }$ , which are $m$ data observations $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ mapped to the latent space using $\\zeta _ { i } = f ^ { - 1 } ( { \\pmb x } _ { i } )$ . We can use a Gaussian likelihood function with covariance matrix $\\Sigma$ to compute the posterior above analytically, $q ( z | \\boldsymbol { \\zeta } _ { 1 : m } ) = \\mathcal { N } ( \\mu _ { p } , \\boldsymbol { \\Sigma } _ { p } )$ . Following the approach in Gambardella et al. (2019), defining $\\bar { \\zeta }$ as the mean of $\\zeta _ { i }$ and using $\\lambda$ as a hyperparameter, we define the parameters of the posterior below. Please see A.2, Algorithm 1 and Gambardella et al. (2019) for implementation details and a full derivation. ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
173,
|
| 551 |
+
128,
|
| 552 |
+
825,
|
| 553 |
+
243
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "equation",
|
| 559 |
+
"img_path": "images/d9f54447ea9be14a88028cfcfd0b0c16ca546e7c3cbce839d9aa383b06dc26de.jpg",
|
| 560 |
+
"text": "$$\n\\pmb { \\mu } _ { p } = \\frac { \\frac { m } { \\lambda } \\bar { \\zeta } } { \\frac { m } { \\lambda } + 1 } \\quad \\pmb { \\Sigma } _ { p } = \\frac { 1 } { \\frac { m } { \\lambda } + 1 } \\pmb { I }\n$$",
|
| 561 |
+
"text_format": "latex",
|
| 562 |
+
"bbox": [
|
| 563 |
+
401,
|
| 564 |
+
263,
|
| 565 |
+
596,
|
| 566 |
+
299
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "3 EXPERIMENTS ",
|
| 573 |
+
"text_level": 1,
|
| 574 |
+
"bbox": [
|
| 575 |
+
176,
|
| 576 |
+
313,
|
| 577 |
+
326,
|
| 578 |
+
329
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 4
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "This section describes our training setup and provides quantitative and qualitative results. Our quantitative results show that Flowtron has mean opinion scores that are comparable to the state of the art. Our qualitative results demonstrate many features that are either impossible or inefficient to achieve using Tacotron, Tacotron 2 GST and Tacotron GM-VAE. These features include variation control in speech, interpolation between samples, and style transfer over time. ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
173,
|
| 587 |
+
343,
|
| 588 |
+
825,
|
| 589 |
+
414
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 4
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "We decode all mel-spectrograms into waveforms with a WaveGlow (Prenger et al., 2019) model available on github (Valle et al., 2019a). This suggests that WaveGlow can be used as an universal decoder. In addition to our illustrated and quantitative results, we ask that the readers listen to Flowtron samples in our supplementary materials corresponding to our qualitative experiments. ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
174,
|
| 598 |
+
420,
|
| 599 |
+
825,
|
| 600 |
+
477
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 4
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "3.1 TRAINING SETUP ",
|
| 607 |
+
"text_level": 1,
|
| 608 |
+
"bbox": [
|
| 609 |
+
176,
|
| 610 |
+
493,
|
| 611 |
+
334,
|
| 612 |
+
507
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 4
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "We train Flowtron, Tacotron 2 and Tacotron 2 GST models using a dataset (LSH) that combines the LJSpeech dataset (Ito et al., 2017) with two proprietary single speaker datasets with 20 and 10 hours each (Sally and Helen). We also train a Flowtron model on the train-clean-100 subset of LibriTTS (Zen et al., 2019) with 123 speakers and 25 minutes on average per speaker. Speakers with less than 5 minutes of data and files that are larger than 10 seconds are filtered out. For each dataset, we use at least 180 samples for the validation set, and the remainder for the training set. ",
|
| 619 |
+
"bbox": [
|
| 620 |
+
173,
|
| 621 |
+
518,
|
| 622 |
+
825,
|
| 623 |
+
603
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 4
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "The models are trained on uniformly sampled normalized text and ARPAbet encodings obtained from the CMU Pronouncing Dictionary (Weide, 1998). We do not perform any data augmentation. We adapt public Tacotron 2 and Tacotron 2 GST repos to include speaker embeddings as described in Section 2. We use the same mel-spectrogram representation used in WaveGlow (Prenger et al., 2019). We train Flowtron with a pre-trained text encoder, progressively adding steps of flow once the last step of flow has learned to attend to text. Flowtron models used in our experiments have 2 steps of flow. We forward readers to A.3 and A.4 for details on our training setup and ablation studies. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
609,
|
| 633 |
+
825,
|
| 634 |
+
707
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 4
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "3.2 MEAN OPINION SCORE (MOS) COMPARISON ",
|
| 641 |
+
"text_level": 1,
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
723,
|
| 645 |
+
529,
|
| 646 |
+
738
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 4
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "We use the LJS voice as a reference and compare MOS between real samples, samples from Flowtron with 2 steps of flow, and samples from Tacotron 2. Following guidelines in (Prenger et al., 2019), we crowd-sourced MOS tests on Amazon Mechanical Turk using 30 volume normalized utterances disjoint from the training set for evaluation, and randomly chose the utterances for each subject. The scores provided in (Prenger et al., 2019) are used for real samples. ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
174,
|
| 655 |
+
750,
|
| 656 |
+
826,
|
| 657 |
+
819
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 4
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "The mean opinion scores are shown in Table 1 with $9 5 \\%$ confidence intervals computed over approximately 250 scores per source. The results roughly match our subjective qualitative assessment. The larger advantage of Flowtron is in the control over the amount of speech variation and the manipulation of the latent space. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
174,
|
| 666 |
+
827,
|
| 667 |
+
485,
|
| 668 |
+
924
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 4
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "table",
|
| 674 |
+
"img_path": "images/b678e53a40114694eafea8eb842877b0e74bf89c25747a97d752a8948fcf2033.jpg",
|
| 675 |
+
"table_caption": [
|
| 676 |
+
"Table 1: Mean Opinion Scores "
|
| 677 |
+
],
|
| 678 |
+
"table_footnote": [],
|
| 679 |
+
"table_body": "<table><tr><td> Source</td><td>Flows</td><td>MOS</td></tr><tr><td>Real</td><td>1</td><td>4.27 ± 0.13</td></tr><tr><td>Flowtron</td><td>2</td><td>3.66 ± 0.16</td></tr><tr><td>Tacotron 2</td><td>1</td><td>3.52 ± 0.17</td></tr></table>",
|
| 680 |
+
"bbox": [
|
| 681 |
+
532,
|
| 682 |
+
829,
|
| 683 |
+
784,
|
| 684 |
+
901
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 4
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "3.3 SAMPLING THE PRIOR ",
|
| 691 |
+
"text_level": 1,
|
| 692 |
+
"bbox": [
|
| 693 |
+
176,
|
| 694 |
+
103,
|
| 695 |
+
367,
|
| 696 |
+
117
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 5
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "The simplest approach to generating samples with Flowtron is to sample from a prior distribution $z \\sim \\mathcal { N } ( 0 , \\sigma ^ { 2 } )$ and adjust $\\sigma ^ { 2 }$ to control the amount of variation. Whereas $\\sigma ^ { 2 } = { \\overset { \\cdot } { 0 } }$ completely removes variation and produces outputs based on the model bias, increasing $\\sigma ^ { 2 }$ will increase the amount of variation in speech. ",
|
| 703 |
+
"bbox": [
|
| 704 |
+
174,
|
| 705 |
+
131,
|
| 706 |
+
825,
|
| 707 |
+
185
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 5
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "text",
|
| 713 |
+
"text": "3.3.1 SPEECH VARIATION ",
|
| 714 |
+
"text_level": 1,
|
| 715 |
+
"bbox": [
|
| 716 |
+
176,
|
| 717 |
+
200,
|
| 718 |
+
364,
|
| 719 |
+
214
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 5
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "We illustrate the relationship between $\\sigma ^ { 2 }$ and control over variability by synthesizing Flowtron samples with $\\sigma ^ { 2 } \\in \\{ 0 . 0 , 0 . 5 , 1 . 0 \\}$ . All samples are generated conditioned on the speaker Sally and the text “How much variation is there?\". Despite the variability added by increasing $\\sigma ^ { 2 }$ , all Flowtron-synthesized samples produce high quality speech. ",
|
| 726 |
+
"bbox": [
|
| 727 |
+
174,
|
| 728 |
+
224,
|
| 729 |
+
825,
|
| 730 |
+
280
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 5
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "Figure 3 shows that contrary to commonly held wisdom (Shen et al., 2017; Arik et al., 2017a;b; Ping et al., 2017; Skerry-Ryan et al., 2018; Wang et al., 2018; Binkowski et al., 2019), Flowtron generates ´ sharp harmonics and well resolved formants without a compound loss nor Prenet or Postnet layers. ",
|
| 737 |
+
"bbox": [
|
| 738 |
+
174,
|
| 739 |
+
287,
|
| 740 |
+
825,
|
| 741 |
+
329
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 5
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "image",
|
| 747 |
+
"img_path": "images/e7c8b410365c954bd6e9c021768b7bcaf98aa8346bf4d800c4fd74a32b969a41.jpg",
|
| 748 |
+
"image_caption": [
|
| 749 |
+
"Figure 3: Flowtron Mel-spectrograms illustrate increasing variability by using different $\\sigma ^ { 2 }$ and that Flowtron is able to produce sharp harmonics with high $\\sigma ^ { \\tilde { 2 } }$ and without Prenet or Postnet layers. "
|
| 750 |
+
],
|
| 751 |
+
"image_footnote": [],
|
| 752 |
+
"bbox": [
|
| 753 |
+
187,
|
| 754 |
+
366,
|
| 755 |
+
838,
|
| 756 |
+
478
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 5
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "Now we show that adjusting $\\sigma ^ { 2 }$ is a simple and valuable approach that provides more variation and control thereof than Tacotron, without sacrificing speech quality and despite of having a similar but simpler architecture. For this, we synthesize 10 samples with Tacotron 2 using different values for the Prenet dropout probability $p \\in \\{ 0 . 4 5 , 0 . 5 , 0 . 5 5 \\}$ , scaling outputs accordingly. Samples computed on values of $p \\in [ 0 . 3 , 0 . 8 ]$ are not included because they sound unintelligible. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
174,
|
| 765 |
+
520,
|
| 766 |
+
825,
|
| 767 |
+
590
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 5
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "Figure 4 provides plots of $F _ { 0 }$ contours extracted with the YIN algorithm (De Cheveigné & Kawahara, 2002), with minimum $F _ { 0 }$ , maximum $F _ { 0 }$ , and harmonicity threshold equal to $8 0 \\mathrm { H z }$ , $4 0 0 \\mathrm { H z }$ and 0.3 respectively. Our results are similar to the previous sample duration analysis. As expected, $\\sigma ^ { 2 } = 0$ provides no variation in $F _ { 0 }$ contour1, while increasing $\\sigma ^ { \\bar { 2 } }$ will increase variation in $F _ { 0 }$ contours. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
173,
|
| 776 |
+
597,
|
| 777 |
+
825,
|
| 778 |
+
652
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 5
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "Our results in Figure 4 also show that Flowtron samples are considerably less monotonous than the samples produced with Tacotron 2 at no cost and with a similar but simpler architecture. Whereas increasing $\\sigma ^ { 2 }$ considerably increases variation in $F _ { 0 }$ , modifying $p$ barely produces any variation. This is valuable because expressive speech is associated with non-monotonic $F _ { 0 }$ contours. In A.1 we show similar results with respect to sentence duration. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
174,
|
| 787 |
+
660,
|
| 788 |
+
825,
|
| 789 |
+
729
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 5
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "3.3.2 INTERPOLATION BETWEEN SAMPLES ",
|
| 796 |
+
"text_level": 1,
|
| 797 |
+
"bbox": [
|
| 798 |
+
178,
|
| 799 |
+
744,
|
| 800 |
+
482,
|
| 801 |
+
758
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 5
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "With Flowtron, we can perform interpolation in $_ { z }$ -space to achieve interpolation in mel-spectrogram space. This experiment evaluates Flowtron models with and without speaker embeddings. For the experiment with speaker embeddings, we choose the speaker Sally and the phrase $^ { 6 6 } I t$ is well known that deep generative models have a rich latent space.\". We generate mel-spectrograms by sampling $z \\sim \\mathcal { N } ( 0 , 0 . 8 )$ twice and interpolating between them over 100 timesteps. For the experiment without speaker embeddings we interpolate between Sally and Helen using the phrase “We are testing this model.\". ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
768,
|
| 811 |
+
825,
|
| 812 |
+
866
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 5
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "First, we perform inference by sampling $z \\sim \\mathcal { N } ( 0 , 0 . 5 )$ until we find $_ z$ values, $_ { z _ { h } }$ and $z _ { s }$ , that produce mel-spectrograms with Helen’s and Sally’s voice respectively. We then generate samples by performing inference while linearly interpolating between $z _ { h }$ and $z _ { s }$ . Our same speaker interpolation samples show that Flowtron is able to interpolate between multiple samples while producing correct alignment maps. Our different speaker interpolation samples show that Flowtron is able to gradually and smoothly morph one voice into another. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
176,
|
| 821 |
+
872,
|
| 822 |
+
825,
|
| 823 |
+
901
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 5
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "image",
|
| 829 |
+
"img_path": "images/f30f9cb2befac46a0eb35ffb6087c92348c0aedb6f0ca808d2b43b9d9b9d1998.jpg",
|
| 830 |
+
"image_caption": [
|
| 831 |
+
"Figure 4: $F _ { 0 }$ contours obtained from samples generated by Flowtron and Tacotron 2 with different values for $\\sigma ^ { 2 }$ and $p$ . Flowtron provides more variability and expressivity than Tacotron 2. "
|
| 832 |
+
],
|
| 833 |
+
"image_footnote": [],
|
| 834 |
+
"bbox": [
|
| 835 |
+
176,
|
| 836 |
+
112,
|
| 837 |
+
821,
|
| 838 |
+
260
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "",
|
| 845 |
+
"bbox": [
|
| 846 |
+
174,
|
| 847 |
+
314,
|
| 848 |
+
825,
|
| 849 |
+
369
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "3.4 SAMPLING THE POSTERIOR (STYLE TRANSFER) ",
|
| 856 |
+
"text_level": 1,
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
387,
|
| 860 |
+
545,
|
| 861 |
+
401
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 6
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "We generate samples with Flowtron by sampling a posterior distribution conditioned on the evidence containing speech characteristics of interest, as described in 2.5 and Gambardella et al. (2019). Tacotron 2 GST Wang et al. (2018) has an equivalent posterior sampling approach. During inference, the model is conditioned on a weighted sum of global style tokens (posterior) queried through an embedding of existing audio samples (evidence). We evaluate Tacotron 2 GST using a single sample to query a style token, or multiple samples to compute an average style token. For complete results, please refer to audio samples in the supplemental material corresponding to the following sections. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
412,
|
| 871 |
+
826,
|
| 872 |
+
510
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 6
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "3.4.1 SEEN SPEAKER",
|
| 879 |
+
"text_level": 1,
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
525,
|
| 883 |
+
334,
|
| 884 |
+
539
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 6
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "In this section we run two style transfer experiments: the first one (Expressive) uses samples with high variance in pitch, which we use as a proxy for comparing expressivity in speech; the second (High Pitch), uses samples with high average pitch. In these experiments, we provide comparisons between Pitch Mean and Pitch Standard Deviation from the Reference samples providing the style, a Flowtron Baseline and after style transfer using Flowtron Posterior and Tacotron 2 GST. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
549,
|
| 894 |
+
825,
|
| 895 |
+
619
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 6
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Our experiments show that by sampling from the posterior or interpolating between the posterior and the Gaussian prior over time, Flowtron makes a monotonic speaker gradually sound more expressive. Architectures similar to Tacotron 2 GST with fixed-latent embeddings are not able to perform gradual changes in style over time. Table 2 provides pitch summary statistics computed over 5 phrases and 10 takes each and shows that Flowtron is overall closer to the reference providing the style than Tacotron 2 GST. Our supplemental materials also show that Tacotron 2 GST sentences are repetitive and contain vocal-fry like distortions. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
173,
|
| 904 |
+
626,
|
| 905 |
+
825,
|
| 906 |
+
723
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 6
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "table",
|
| 912 |
+
"img_path": "images/78cb70863916da84a2512860053e3537d678234725071d3f79d80b3259c9a31f.jpg",
|
| 913 |
+
"table_caption": [],
|
| 914 |
+
"table_footnote": [],
|
| 915 |
+
"table_body": "<table><tr><td colspan=\"2\"></td><td colspan=\"2\">Pitch Mean</td><td colspan=\"3\">Pitch Standard Deviation</td></tr><tr><td>Model</td><td>Style Expressive</td><td>High Pitch</td><td>Surprised</td><td>Expressive</td><td>High Pitch</td><td>Surprised</td></tr><tr><td>Reference</td><td>53.6</td><td>55.2</td><td>58.2</td><td>4.5</td><td>2.3</td><td>1.0</td></tr><tr><td>FTA Posterior</td><td>53.4</td><td>53.3</td><td>55.5</td><td>2.5</td><td>2.3</td><td>3.0</td></tr><tr><td>FTA Baseline</td><td>53.1</td><td>52.6</td><td>52.8</td><td>2.2</td><td>1.9</td><td>1.9</td></tr><tr><td>Tacotron 2 GST</td><td>51.7</td><td>53.6</td><td>51.6</td><td>2.0</td><td>2.4</td><td>1.7</td></tr></table>",
|
| 916 |
+
"bbox": [
|
| 917 |
+
176,
|
| 918 |
+
734,
|
| 919 |
+
821,
|
| 920 |
+
834
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 6
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "Table 2: Values closer to the Reference are better. Comparison between pitch (MIDI number) summary statistics from Reference providing the style, Flowtron with standard Gaussian prior (FTA Baseline) and samples after style transfer with Flowtron (FTA Posterior) and Tacotron 2 GST. Our results show that FTA Posterior is overall more effective than Tacotron 2 GST in emulating the Reference by better matching its pitch summary statistics. ",
|
| 927 |
+
"bbox": [
|
| 928 |
+
173,
|
| 929 |
+
843,
|
| 930 |
+
825,
|
| 931 |
+
914
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 6
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "3.4.2 SEEN SPEAKER WITH UNSEEN STYLE",
|
| 938 |
+
"text_level": 1,
|
| 939 |
+
"bbox": [
|
| 940 |
+
176,
|
| 941 |
+
103,
|
| 942 |
+
485,
|
| 943 |
+
117
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 7
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "We compare samples generated with Flowtron and Tacotron 2 GST to evaluate their ability to emulate a speaking style unseen during training of a speaker seen during training. While Sally’s data used during training consists of news article readings, the evaluation samples contain Sally’s interpretation of the somber and vampiresque novel, Born of Darkness (BOD). ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
127,
|
| 953 |
+
825,
|
| 954 |
+
184
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 7
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Our samples show that while Tacotron 2 GST fails to emulate the somber timbre in Born of Darkness, Flowtron succeeds in transferring not only the somber timbre, but also the low $F _ { 0 }$ and the long pauses associated with the narrative style. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
176,
|
| 963 |
+
190,
|
| 964 |
+
823,
|
| 965 |
+
233
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 7
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "3.4.3 UNSEEN SPEAKER",
|
| 972 |
+
"text_level": 1,
|
| 973 |
+
"bbox": [
|
| 974 |
+
176,
|
| 975 |
+
250,
|
| 976 |
+
354,
|
| 977 |
+
263
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 7
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "In this experiment we compare Flowtron and Tacotron 2 GST samples to evaluate their ability to emulate the speaking style of a speaker not seen during training. The styles comes from speaker ID 24 and her “surprised\" samples in RAVDESS (Livingstone & Russo, 2018), a dataset with emotion labels. Table 2 shows that while the samples generated with Tacotron 2 GST are not able to emulate the high-pitched style from RAVDESS, Flowtron is able to make Sally sound high-pitched as in the “surprised\" style. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
173,
|
| 986 |
+
272,
|
| 987 |
+
825,
|
| 988 |
+
357
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 7
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "3.5 INTERPOLATION BETWEEN STYLES (PRIOR AND POSTERIOR) ",
|
| 995 |
+
"text_level": 1,
|
| 996 |
+
"bbox": [
|
| 997 |
+
176,
|
| 998 |
+
375,
|
| 999 |
+
637,
|
| 1000 |
+
388
|
| 1001 |
+
],
|
| 1002 |
+
"page_idx": 7
|
| 1003 |
+
},
|
| 1004 |
+
{
|
| 1005 |
+
"type": "text",
|
| 1006 |
+
"text": "In this experiment we illustrate how to control the speaking style at inference time by adjusting the parameter $\\lambda$ in Equation 9 to interpolate between a baseline style (prior) and a target style (posterior). We use a model trained on LibriTTS and use a single sample from Sally’s (unseen speaker) Born of Darkness dataset as evidence providing the target style. We synthesize posterior samples generated with Flowtron with $\\lambda \\in \\{ 0 . 1 , \\bar { 0 } . 6 6 6 , \\bar { 1 . 0 } , 2 . 0 \\}$ . Figure 5 reflects the interpolation in style as interpolation in spectral profiles. Our supplemental materials aurally reflect a similar interpolation in other non-textual characteristics. ",
|
| 1007 |
+
"bbox": [
|
| 1008 |
+
173,
|
| 1009 |
+
400,
|
| 1010 |
+
825,
|
| 1011 |
+
498
|
| 1012 |
+
],
|
| 1013 |
+
"page_idx": 7
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"type": "image",
|
| 1017 |
+
"img_path": "images/3aff932d2f12339fcd2f2fce3f3076915313ae7641a2cba1b3937ff1976cb0df.jpg",
|
| 1018 |
+
"image_caption": [
|
| 1019 |
+
"Figure 5: Spectral profiles from the target style, from the Flowtron baseline generated using the prior, and from Flowtron samples generated using the posterior with different values for $\\lambda$ . These images show that by decreasing the value of $\\lambda$ we gradually move the spectral profile from the baseline style (prior) to the target style (posterior). "
|
| 1020 |
+
],
|
| 1021 |
+
"image_footnote": [],
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
197,
|
| 1024 |
+
523,
|
| 1025 |
+
800,
|
| 1026 |
+
712
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 7
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "3.6 SAMPLING THE GAUSSIAN MIXTURE ",
|
| 1033 |
+
"text_level": 1,
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
176,
|
| 1036 |
+
806,
|
| 1037 |
+
472,
|
| 1038 |
+
820
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 7
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "In this last section we provide samples from Flowtron Gaussian Mixture (GM) and visualizations. We replicate the experiments in Tacotron GM-VAE (Hsu et al., 2018) to visualize how speakers are assigned to mixture components and provide samples in which we modulate speech characteristics by translating one of the dimensions of an individual mixture component. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
174,
|
| 1047 |
+
832,
|
| 1048 |
+
825,
|
| 1049 |
+
888
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 7
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "For these experiments, Flowtron GM-LibriTTS is trained on LibriTTS without speaker embeddings and a Gaussian mixture with 8 component with predicted mean, covariance and component assignment probabilities; Flowtron GM-LSH is trained on LSH with speaker embeddings and a Gaussian Mixture with 8 components, fixed mean and covariances and predicted component assignment probabilities. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
173,
|
| 1058 |
+
895,
|
| 1059 |
+
823,
|
| 1060 |
+
924
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 7
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
173,
|
| 1069 |
+
103,
|
| 1070 |
+
823,
|
| 1071 |
+
132
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 8
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "3.6.1 VISUALIZING ASSIGNMENTS ",
|
| 1078 |
+
"text_level": 1,
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
176,
|
| 1081 |
+
147,
|
| 1082 |
+
426,
|
| 1083 |
+
161
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 8
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "We evaluate model interpretability on a subset of LibriTTS with 123 speakers and 1410 utterances, 180 of which come from the validation set. Following Hsu et al. (2018), each utterance is assigned to the component with the highest posterior probability a $\\cdot \\mathrm { g } \\operatorname* { m a x } _ { k } p ( \\hat { \\phi } _ { k } \\mid \\mathbf { x } )$ . We obtain posterior probabilities per utterance by using the Mel Encoder described in Section 2.3 and averaging the predicted component assignment probabilities over time. Figure 6 suggests that information in each component of Flowtron GM-LibriTTS is gender dependent. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
173,
|
| 1092 |
+
171,
|
| 1093 |
+
825,
|
| 1094 |
+
258
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 8
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "e quant al. (201 the association between gender and mixture components with the The assignment consistency with respect to gender is defined as $\\begin{array} { r } { \\frac { 1 } { M } \\sum _ { i = 1 } ^ { N } \\sum _ { j = 1 } ^ { N _ { i } } \\mathbb { 1 } y _ { i j } = } \\end{array}$ $\\hat { y } _ { i }$ $M$ is the component assignment of utterance $j$ from speaker $i$ , and ugge $\\hat { y } _ { i }$ is the mode of ng that the co $\\{ y _ { i j } \\} _ { j = 1 } ^ { N _ { i } }$ . The assignment consistency in Flowtron GM-LibriTTS is group utterances by speaker and group speakers by gend $8 2 . 4 \\%$ provide visualizations in Figure 6. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
173,
|
| 1103 |
+
263,
|
| 1104 |
+
826,
|
| 1105 |
+
354
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 8
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "image",
|
| 1111 |
+
"img_path": "images/e736b3bc02eb0a38f6cdff0b56f42799339468a72f5b49b7e13d7cb79dfaa76d.jpg",
|
| 1112 |
+
"image_caption": [
|
| 1113 |
+
"Figure 6: Component assignments suggest that information in each component is gender dependent. "
|
| 1114 |
+
],
|
| 1115 |
+
"image_footnote": [],
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
339,
|
| 1118 |
+
371,
|
| 1119 |
+
655,
|
| 1120 |
+
506
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 8
|
| 1123 |
+
},
|
| 1124 |
+
{
|
| 1125 |
+
"type": "text",
|
| 1126 |
+
"text": "3.6.2 TRANSLATING DIMENSIONS ",
|
| 1127 |
+
"text_level": 1,
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
176,
|
| 1130 |
+
558,
|
| 1131 |
+
421,
|
| 1132 |
+
571
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 8
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "We use the model Flowtron GM-LSH and focus on translating one of the dimensions of a single mixture component by adding an offset. The samples in our supplementary material show that we are able to modulate specific speech characteristics like pitch and word duration. Although the samples generated by translating one the dimensions associated with pitch height have different pitch contours, they have the same duration. Similarly, our samples show that translating the dimension associated with length of the first word does not modulate the pitch of the first word. We provide visualizations in Figure 9 in A.5. ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
173,
|
| 1141 |
+
582,
|
| 1142 |
+
825,
|
| 1143 |
+
680
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 8
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "4 CONCLUSION ",
|
| 1150 |
+
"text_level": 1,
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
176,
|
| 1153 |
+
700,
|
| 1154 |
+
318,
|
| 1155 |
+
717
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 8
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "We propose a new text to mel-spectrogram synthesis model based on autoregressive flows that is optimized by maximizing the likelihood and allows for speech variation and style transfer. Our results show that samples generated with Flowtron achieve mean opinion scores similar to SOTA TTS models. We demonstrate that our model learns a latent space that stores non-textual information, supervised using only MLE. Flowtron is able to produce high quality speech with high variability by adjusting $\\sigma ^ { 2 }$ . ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
174,
|
| 1164 |
+
731,
|
| 1165 |
+
825,
|
| 1166 |
+
815
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 8
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Our results show that the latent space over non-textual features that can be investigated and manipulated to give the user more control over the generative model’s output. We provide many examples that showcase this, including transferring the style from speakers seen and unseen during training to another speaker using sentences with similar or different text, and making a monotonic speaker sound more expressive. For future work, we are interested in using normalizing flows for few-shot speech synthesis, speech compression and in semi-supervised settings to exploit datasets with limited labels. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
174,
|
| 1175 |
+
823,
|
| 1176 |
+
825,
|
| 1177 |
+
907
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 8
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "REFERENCES ",
|
| 1184 |
+
"text_level": 1,
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
176,
|
| 1187 |
+
102,
|
| 1188 |
+
287,
|
| 1189 |
+
118
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 9
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Kei Akuzawa, Yusuke Iwasawa, and Yutaka Matsuo. Expressive speech synthesis via modeling expressions with variational autoencoder. arXiv preprint arXiv:1804.02135, 2018. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
173,
|
| 1198 |
+
126,
|
| 1199 |
+
823,
|
| 1200 |
+
155
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 9
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Sercan Arik, Mike Chrzanowski, Adam Coates, Gregory Diamos, Andrew Gibiansky, Yongguo Kang, Xian Li, John Miller, Andrew Ng, Jonathan Raiman, et al. Deep voice: Real-time neural text-to-speech. arXiv preprint arXiv:1702.07825, 2017a. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
176,
|
| 1209 |
+
164,
|
| 1210 |
+
821,
|
| 1211 |
+
207
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 9
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Sercan Arik, Gregory Diamos, Andrew Gibiansky, John Miller, Kainan Peng, Wei Ping, Jonathan Raiman, and Yanqi Zhou. Deep voice 2: Multi-speaker neural text-to-speech. arXiv preprint arXiv:1705.08947, 2017b. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
174,
|
| 1220 |
+
215,
|
| 1221 |
+
823,
|
| 1222 |
+
258
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 9
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "John Badham, Lawrence Lasker, Walter F Parkes, Arthur B Rubinstein, Matthew Broderick, Dabney Coleman, and John Wood. Wargames, 1983. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
169,
|
| 1231 |
+
267,
|
| 1232 |
+
825,
|
| 1233 |
+
296
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 9
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Mikołaj Binkowski, Jeff Donahue, Sander Dieleman, Aidan Clark, Erich Elsen, Norman Casagrande, ´ Luis C Cobo, and Karen Simonyan. High fidelity speech synthesis with adversarial networks. arXiv preprint arXiv:1909.11646, 2019. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
174,
|
| 1242 |
+
305,
|
| 1243 |
+
823,
|
| 1244 |
+
348
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 9
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Alain De Cheveigné and Hideki Kawahara. Yin, a fundamental frequency estimator for speech and music. The Journal of the Acoustical Society of America, 111(4):1917–1930, 2002. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
173,
|
| 1253 |
+
357,
|
| 1254 |
+
823,
|
| 1255 |
+
387
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 9
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Laurent Dinh, David Krueger, and Yoshua Bengio. Nice: Non-linear independent components estimation. arXiv preprint arXiv:1410.8516, 2014. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
395,
|
| 1265 |
+
821,
|
| 1266 |
+
425
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 9
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using real nvp. arXiv preprint arXiv:1605.08803, 2016. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
174,
|
| 1275 |
+
434,
|
| 1276 |
+
823,
|
| 1277 |
+
463
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 9
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Andrew Gambardella, Atılım Güne¸s Baydin, and Philip HS Torr. Transflow learning: Repurposing flow models without retraining. arXiv preprint arXiv:1911.13270, 2019. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
171,
|
| 1286 |
+
472,
|
| 1287 |
+
825,
|
| 1288 |
+
502
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 9
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Raza Habib, Soroosh Mariooryad, Matt Shannon, Eric Battenberg, RJ Skerry-Ryan, Daisy Stanton, David Kao, and Tom Bagby. Semi-supervised generative modeling for controllable speech synthesis. arXiv preprint arXiv:1910.01709, 2019. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
176,
|
| 1297 |
+
510,
|
| 1298 |
+
825,
|
| 1299 |
+
554
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 9
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Wei-Ning Hsu, Yu Zhang, Ron J Weiss, Heiga Zen, Yonghui Wu, Yuxuan Wang, Yuan Cao, Ye Jia, Zhifeng Chen, Jonathan Shen, et al. Hierarchical generative modeling for controllable speech synthesis. arXiv preprint arXiv:1810.07217, 2018. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
174,
|
| 1308 |
+
561,
|
| 1309 |
+
823,
|
| 1310 |
+
606
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 9
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Chin-Wei Huang, David Krueger, Alexandre Lacoste, and Aaron Courville. Neural autoregressive flows. arXiv preprint arXiv:1804.00779, 2018. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
173,
|
| 1319 |
+
613,
|
| 1320 |
+
823,
|
| 1321 |
+
643
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 9
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Keith Ito et al. The LJ speech dataset, 2017. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
176,
|
| 1330 |
+
652,
|
| 1331 |
+
464,
|
| 1332 |
+
667
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 9
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Pavel Izmailov, Polina Kirichenko, Marc Finzi, and Andrew Gordon Wilson. Semi-supervised learning with normalizing flows. arXiv preprint arXiv:1912.13025, 2019. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
171,
|
| 1341 |
+
676,
|
| 1342 |
+
825,
|
| 1343 |
+
705
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 9
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Jaehyeon Kim, Sungwon Kim, Jungil Kong, and Sungroh Yoon. Glow-tts: A generative flow for text-to-speech via monotonic alignment search. arXiv preprint arXiv:2005.11129, 2020. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
169,
|
| 1352 |
+
714,
|
| 1353 |
+
823,
|
| 1354 |
+
744
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 9
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
171,
|
| 1363 |
+
752,
|
| 1364 |
+
823,
|
| 1365 |
+
782
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 9
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Diederik P Kingma and Prafulla Dhariwal. Glow: Generative flow with invertible 1x1 convolutions. arXiv preprint arXiv:1807.03039, 2018. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
169,
|
| 1374 |
+
790,
|
| 1375 |
+
825,
|
| 1376 |
+
820
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 9
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Diederik P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. Improved variational inference with inverse autoregressive flow. In Advances in Neural Information Processing Systems, pp. 4743–4751, 2016. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
176,
|
| 1385 |
+
829,
|
| 1386 |
+
825,
|
| 1387 |
+
872
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 9
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Steven R Livingstone and Frank A Russo. The ryerson audio-visual database of emotional speech and song (ravdess): A dynamic, multimodal set of facial and vocal expressions in north american english. PloS one, 13(5), 2018. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
174,
|
| 1396 |
+
882,
|
| 1397 |
+
825,
|
| 1398 |
+
924
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 9
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Mario Lucic, Karol Kurach, Marcin Michalski, Sylvain Gelly, and Olivier Bousquet. Are gans created equal? a large-scale study. In Advances in neural information processing systems, pp. 700–709, 2018. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
176,
|
| 1407 |
+
103,
|
| 1408 |
+
825,
|
| 1409 |
+
146
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 10
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "C. Miao, S. Liang, M. Chen, J. Ma, S. Wang, and J. Xiao. Flow-tts: A non-autoregressive network for text to speech based on flow. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 7209–7213, 2020. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
176,
|
| 1418 |
+
152,
|
| 1419 |
+
821,
|
| 1420 |
+
196
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 10
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Łukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. arXiv preprint arXiv:1802.05751, 2018. ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
171,
|
| 1429 |
+
203,
|
| 1430 |
+
823,
|
| 1431 |
+
233
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 10
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "Wei Ping, Kainan Peng, Andrew Gibiansky, Sercan Arik, Ajay Kannan, Sharan Narang, Jonathan Raiman, and John Miller. Deep voice 3: 2000-speaker neural text-to-speech. arXiv preprint arXiv:1710.07654, 2017. ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
176,
|
| 1440 |
+
239,
|
| 1441 |
+
823,
|
| 1442 |
+
281
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 10
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "Ryan Prenger, Rafael Valle, and Bryan Catanzaro. Waveglow: A flow-based generative network for speech synthesis. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 3617–3621. IEEE, 2019. ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
173,
|
| 1451 |
+
287,
|
| 1452 |
+
825,
|
| 1453 |
+
332
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 10
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "text",
|
| 1459 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. ",
|
| 1460 |
+
"bbox": [
|
| 1461 |
+
171,
|
| 1462 |
+
338,
|
| 1463 |
+
823,
|
| 1464 |
+
368
|
| 1465 |
+
],
|
| 1466 |
+
"page_idx": 10
|
| 1467 |
+
},
|
| 1468 |
+
{
|
| 1469 |
+
"type": "text",
|
| 1470 |
+
"text": "Jonathan Shen, Ruoming Pang, Ron J Weiss, Mike Schuster, Navdeep Jaitly, Zongheng Yang, Zhifeng Chen, Yu Zhang, Yuxuan Wang, RJ Skerry-Ryan, et al. Natural tts synthesis by conditioning wavenet on mel spectrogram predictions. arXiv preprint arXiv:1712.05884, 2017. ",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
173,
|
| 1473 |
+
375,
|
| 1474 |
+
821,
|
| 1475 |
+
417
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 10
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "Robert H Shumway and David S Stoffer. Time series analysis and its applications: with R examples. Springer, 2017. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
173,
|
| 1484 |
+
424,
|
| 1485 |
+
823,
|
| 1486 |
+
454
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 10
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "RJ Skerry-Ryan, Eric Battenberg, Ying Xiao, Yuxuan Wang, Daisy Stanton, Joel Shor, Ron J Weiss, Rob Clark, and Rif A Saurous. Towards end-to-end prosody transfer for expressive speech synthesis with tacotron. arXiv preprint arXiv:1803.09047, 2018. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
174,
|
| 1495 |
+
460,
|
| 1496 |
+
823,
|
| 1497 |
+
503
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 10
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Guangzhi Sun, Yu Zhang, Ron J Weiss, Yuan Cao, Heiga Zen, and Yonghui Wu. Fully-hierarchical fine-grained prosody modeling for interpretable speech synthesis. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 6264–6268. IEEE, 2020. ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
173,
|
| 1506 |
+
508,
|
| 1507 |
+
825,
|
| 1508 |
+
566
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 10
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Noriko Umeda, E Matsui, Torazo Suzuki, and Hiroshi Omura. Synthesis of fairy tales using an analog vocal tract. In Proceedings of 6th International Congress on Acoustics, pp. B159–162, 1968. ",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
173,
|
| 1517 |
+
573,
|
| 1518 |
+
821,
|
| 1519 |
+
603
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 10
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "Rafael Valle, Jason Li, Ryan Prenger, and Bryan Catanzaro. Mellotron github repo, 2019a. URL https://github.com/NVIDIA/mellotron. ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
174,
|
| 1528 |
+
609,
|
| 1529 |
+
821,
|
| 1530 |
+
638
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 10
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"text": "Rafael Valle, Jason Li, Ryan Prenger, and Bryan Catanzaro. Mellotron: Multispeaker expressive voice synthesis by conditioning on rhythm, pitch and global style tokens. arXiv preprint arXiv:1910.11997, 2019b. ",
|
| 1537 |
+
"bbox": [
|
| 1538 |
+
173,
|
| 1539 |
+
646,
|
| 1540 |
+
825,
|
| 1541 |
+
689
|
| 1542 |
+
],
|
| 1543 |
+
"page_idx": 10
|
| 1544 |
+
},
|
| 1545 |
+
{
|
| 1546 |
+
"type": "text",
|
| 1547 |
+
"text": "Oriol Vinyals, Łukasz Kaiser, Terry Koo, Slav Petrov, Ilya Sutskever, and Geoffrey Hinton. Grammar as a foreign language. In Advances in neural information processing systems, pp. 2773–2781, 2015. ",
|
| 1548 |
+
"bbox": [
|
| 1549 |
+
173,
|
| 1550 |
+
695,
|
| 1551 |
+
825,
|
| 1552 |
+
738
|
| 1553 |
+
],
|
| 1554 |
+
"page_idx": 10
|
| 1555 |
+
},
|
| 1556 |
+
{
|
| 1557 |
+
"type": "text",
|
| 1558 |
+
"text": "Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, et al. Tacotron: A fully end-to-end text-to-speech synthesis model. arXiv preprint arXiv:1703.10135, 2017. ",
|
| 1559 |
+
"bbox": [
|
| 1560 |
+
174,
|
| 1561 |
+
744,
|
| 1562 |
+
825,
|
| 1563 |
+
789
|
| 1564 |
+
],
|
| 1565 |
+
"page_idx": 10
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"type": "text",
|
| 1569 |
+
"text": "Yuxuan Wang, Daisy Stanton, Yu Zhang, RJ Skerry-Ryan, Eric Battenberg, Joel Shor, Ying Xiao, Fei Ren, Ye Jia, and Rif A Saurous. Style tokens: Unsupervised style modeling, control and transfer in end-to-end speech synthesis. arXiv preprint arXiv:1803.09017, 2018. ",
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
173,
|
| 1572 |
+
795,
|
| 1573 |
+
823,
|
| 1574 |
+
838
|
| 1575 |
+
],
|
| 1576 |
+
"page_idx": 10
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"type": "text",
|
| 1580 |
+
"text": "Robert L Weide. The CMU pronouncing dictionary. URL: http://www.speech.cs.cmu.edu/cgibin/cmudict, 1998. ",
|
| 1581 |
+
"bbox": [
|
| 1582 |
+
173,
|
| 1583 |
+
844,
|
| 1584 |
+
823,
|
| 1585 |
+
875
|
| 1586 |
+
],
|
| 1587 |
+
"page_idx": 10
|
| 1588 |
+
},
|
| 1589 |
+
{
|
| 1590 |
+
"type": "text",
|
| 1591 |
+
"text": "Heiga Zen, Viet Dang, Rob Clark, Yu Zhang, Ron J Weiss, Ye Jia, Zhifeng Chen, and Yonghui Wu. Libritts: A corpus derived from librispeech for text-to-speech. arXiv preprint arXiv:1904.02882, 2019. ",
|
| 1592 |
+
"bbox": [
|
| 1593 |
+
174,
|
| 1594 |
+
882,
|
| 1595 |
+
826,
|
| 1596 |
+
922
|
| 1597 |
+
],
|
| 1598 |
+
"page_idx": 10
|
| 1599 |
+
},
|
| 1600 |
+
{
|
| 1601 |
+
"type": "text",
|
| 1602 |
+
"text": "A APPENDIX ",
|
| 1603 |
+
"text_level": 1,
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
176,
|
| 1606 |
+
102,
|
| 1607 |
+
297,
|
| 1608 |
+
117
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 11
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "text",
|
| 1614 |
+
"text": "A.1 SPEECH VARIATION ",
|
| 1615 |
+
"text_level": 1,
|
| 1616 |
+
"bbox": [
|
| 1617 |
+
176,
|
| 1618 |
+
142,
|
| 1619 |
+
356,
|
| 1620 |
+
157
|
| 1621 |
+
],
|
| 1622 |
+
"page_idx": 11
|
| 1623 |
+
},
|
| 1624 |
+
{
|
| 1625 |
+
"type": "text",
|
| 1626 |
+
"text": "Figure 7 provides plots from sample durations in seconds. Our results show that larger values of $\\sigma ^ { 2 }$ produces samples with more variation in duration, whereas $\\sigma ^ { 2 } = 0$ is fully deterministic. These results demonstrate that our latent space is able to model duration, which is a critical non-textual component to expressiveness in speech. ",
|
| 1627 |
+
"bbox": [
|
| 1628 |
+
173,
|
| 1629 |
+
175,
|
| 1630 |
+
826,
|
| 1631 |
+
231
|
| 1632 |
+
],
|
| 1633 |
+
"page_idx": 11
|
| 1634 |
+
},
|
| 1635 |
+
{
|
| 1636 |
+
"type": "image",
|
| 1637 |
+
"img_path": "images/a1d117d71899bdbad6fd981f8c746b3fe210e9afcef209fbdbb739e32933e0c9.jpg",
|
| 1638 |
+
"image_caption": [
|
| 1639 |
+
"Figure 7: Sample duration given $\\sigma ^ { 2 }$ and $p$ show that Flowtron provides more variation in sample duration than Tacotron. "
|
| 1640 |
+
],
|
| 1641 |
+
"image_footnote": [],
|
| 1642 |
+
"bbox": [
|
| 1643 |
+
370,
|
| 1644 |
+
261,
|
| 1645 |
+
627,
|
| 1646 |
+
366
|
| 1647 |
+
],
|
| 1648 |
+
"page_idx": 11
|
| 1649 |
+
},
|
| 1650 |
+
{
|
| 1651 |
+
"type": "text",
|
| 1652 |
+
"text": "A.2 POSTERIOR INFERENCE ",
|
| 1653 |
+
"text_level": 1,
|
| 1654 |
+
"bbox": [
|
| 1655 |
+
176,
|
| 1656 |
+
464,
|
| 1657 |
+
383,
|
| 1658 |
+
478
|
| 1659 |
+
],
|
| 1660 |
+
"page_idx": 11
|
| 1661 |
+
},
|
| 1662 |
+
{
|
| 1663 |
+
"type": "text",
|
| 1664 |
+
"text": "We generate posterior samples with Flowtron by sampling a posterior distribution conditioned on evidence containing speech characteristics of interest, as described in (Gambardella et al., 2019). We collect the evidence by performing a forward pass with Flowtron using with a speaker embedding, $( s \\sim \\mathcal { N } ( 0 , I ) )$ , the observed mel-spectrogram, and the text from a set of samples with the speech characteristics of interest. We use a specific speaker embedding when we want to factor out information about a specific speaker from $\\zeta$ . ",
|
| 1665 |
+
"bbox": [
|
| 1666 |
+
174,
|
| 1667 |
+
496,
|
| 1668 |
+
826,
|
| 1669 |
+
580
|
| 1670 |
+
],
|
| 1671 |
+
"page_idx": 11
|
| 1672 |
+
},
|
| 1673 |
+
{
|
| 1674 |
+
"type": "text",
|
| 1675 |
+
"text": "Next, we compute $\\bar { \\zeta }$ by averaging $\\zeta _ { i , k }$ over batch $( i )$ or over batch and time $( i , k )$ and use Equation 9 to compute the parameters of the posterior. When averaging over batch, we repeat the $\\mathbf { Z }$ -values over the time dimension until they reach the desired length. We find in our experiments that averaging over batch is more efficient for transfering the style than averaging over batch and time. In all experiments, we select the best performing samples given $\\lambda$ values between $m * 0 . 1$ and $m * 4$ , where $m$ is the number of samples in the evidence. While small $\\lambda$ values move the mean of the posterior closer to the evidence and decreases its variance, large $\\lambda$ values move the mean of the posterior closer to the prior and increase the variance. ",
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
174,
|
| 1678 |
+
585,
|
| 1679 |
+
825,
|
| 1680 |
+
698
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 11
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "text",
|
| 1686 |
+
"text": "Once the parameters of the posterior distribution are computed, we can sample the posterior distribution and perform inference with the desired text and speaker. Algorithm 1 provides a description of posterior inference with Flowtron. ",
|
| 1687 |
+
"bbox": [
|
| 1688 |
+
176,
|
| 1689 |
+
705,
|
| 1690 |
+
823,
|
| 1691 |
+
747
|
| 1692 |
+
],
|
| 1693 |
+
"page_idx": 11
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "text",
|
| 1697 |
+
"text": "A.3 TRAINING DETAILS ",
|
| 1698 |
+
"text_level": 1,
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
176,
|
| 1701 |
+
780,
|
| 1702 |
+
354,
|
| 1703 |
+
794
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 11
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "text",
|
| 1709 |
+
"text": "We use the ADAM (Kingma & Ba, 2014) optimizer with default parameters, 1e-4 learning rate and1e-6 weight decay for Flowtron and 1e-3 learning rate and 1e-5 weight decay for the other models,following Wang et al. (2017). We anneal the learning rate once the generalization error starts toplateau and stop training once the the generalization error stops significantly decreasing or startsincreasing. Flowtron models with 2 steps of flow were trained on the LSH dataset for approximately1000 epochs, then fine-tuned on LibriTTS for 500 epochs. Tacotron 2 and Tacotron 2 GST are trained for approximately 500 epochs. Each model is trained on a single NVIDIA DGX-1 with 8 GPUs. ",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
174,
|
| 1712 |
+
811,
|
| 1713 |
+
825,
|
| 1714 |
+
924
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 11
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "text",
|
| 1720 |
+
"text": "Algorithm 1: Flowtron Posterior inference ",
|
| 1721 |
+
"bbox": [
|
| 1722 |
+
176,
|
| 1723 |
+
107,
|
| 1724 |
+
457,
|
| 1725 |
+
122
|
| 1726 |
+
],
|
| 1727 |
+
"page_idx": 12
|
| 1728 |
+
},
|
| 1729 |
+
{
|
| 1730 |
+
"type": "text",
|
| 1731 |
+
"text": "Input : Trained Flowtron model $f$ , evidence audio samples ${ \\boldsymbol { \\mathbf { \\mathit { x } } } } _ { 1 : m }$ Output : Posterior sample ",
|
| 1732 |
+
"bbox": [
|
| 1733 |
+
173,
|
| 1734 |
+
126,
|
| 1735 |
+
601,
|
| 1736 |
+
152
|
| 1737 |
+
],
|
| 1738 |
+
"page_idx": 12
|
| 1739 |
+
},
|
| 1740 |
+
{
|
| 1741 |
+
"type": "text",
|
| 1742 |
+
"text": "1 For each $m e l _ { i , k } , t e x t _ { i }$ , speakeri ∈ x1:m ",
|
| 1743 |
+
"bbox": [
|
| 1744 |
+
165,
|
| 1745 |
+
154,
|
| 1746 |
+
442,
|
| 1747 |
+
166
|
| 1748 |
+
],
|
| 1749 |
+
"page_idx": 12
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"type": "text",
|
| 1753 |
+
"text": "2 if average over batch then ",
|
| 1754 |
+
"bbox": [
|
| 1755 |
+
161,
|
| 1756 |
+
196,
|
| 1757 |
+
351,
|
| 1758 |
+
210
|
| 1759 |
+
],
|
| 1760 |
+
"page_idx": 12
|
| 1761 |
+
},
|
| 1762 |
+
{
|
| 1763 |
+
"type": "text",
|
| 1764 |
+
"text": "3 repeat each $\\zeta _ { k }$ over the time dimension until target length is achieve \n4 $\\bar { \\zeta _ { k } } \\gets \\mathrm { C o m p u }$ te $\\zeta _ { i , k }$ average over batch $k$ \n5 else \n6 ¯ζ ← Compute $\\zeta _ { i , k }$ average over batch and time $k$ \n7 end \n8 $\\mu _ { p }$ , $\\Sigma _ { p } $ Compute posterior parameters using Equation 9 \n9 Initialize $\\boldsymbol { Z } _ { p } \\sim \\mathcal { N } ( \\pmb { \\mu } _ { p } , \\pmb { \\Sigma } _ { p } )$ \n10 Sample $z _ { p }$ from $Z _ { p }$ \n11 Perform inference with Flowtron using $z _ { p }$ , text and speaker ",
|
| 1765 |
+
"bbox": [
|
| 1766 |
+
158,
|
| 1767 |
+
210,
|
| 1768 |
+
642,
|
| 1769 |
+
345
|
| 1770 |
+
],
|
| 1771 |
+
"page_idx": 12
|
| 1772 |
+
},
|
| 1773 |
+
{
|
| 1774 |
+
"type": "text",
|
| 1775 |
+
"text": "A.4 ABLATION STUDIES ",
|
| 1776 |
+
"text_level": 1,
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
176,
|
| 1779 |
+
378,
|
| 1780 |
+
356,
|
| 1781 |
+
392
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 12
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "text",
|
| 1787 |
+
"text": "A.4.1 COMPOSING FLOWS",
|
| 1788 |
+
"text_level": 1,
|
| 1789 |
+
"bbox": [
|
| 1790 |
+
176,
|
| 1791 |
+
404,
|
| 1792 |
+
370,
|
| 1793 |
+
417
|
| 1794 |
+
],
|
| 1795 |
+
"page_idx": 12
|
| 1796 |
+
},
|
| 1797 |
+
{
|
| 1798 |
+
"type": "text",
|
| 1799 |
+
"text": "We evaluated Flowtron models with 2, 3 and 6 steps of flow and found that more steps of flow have better likelihood but no significant qualitative improvement, while increasing inference time significantly. Hence, we chose to report results on Flowtron models with 2 steps of flow. ",
|
| 1800 |
+
"bbox": [
|
| 1801 |
+
174,
|
| 1802 |
+
428,
|
| 1803 |
+
825,
|
| 1804 |
+
470
|
| 1805 |
+
],
|
| 1806 |
+
"page_idx": 12
|
| 1807 |
+
},
|
| 1808 |
+
{
|
| 1809 |
+
"type": "text",
|
| 1810 |
+
"text": "A.4.2 BIDIRECTIONAL PROCESSING",
|
| 1811 |
+
"text_level": 1,
|
| 1812 |
+
"bbox": [
|
| 1813 |
+
176,
|
| 1814 |
+
486,
|
| 1815 |
+
436,
|
| 1816 |
+
501
|
| 1817 |
+
],
|
| 1818 |
+
"page_idx": 12
|
| 1819 |
+
},
|
| 1820 |
+
{
|
| 1821 |
+
"type": "text",
|
| 1822 |
+
"text": "We compared the bidirectional (reversing the ordering of the mel-spectrogram frames in time on even numbered steps of flows) and unidirectional processing and found that bidirectional processing provides better likelihood and audio quality. Hence, we use bidirectional processing in all our Flowtron models. ",
|
| 1823 |
+
"bbox": [
|
| 1824 |
+
174,
|
| 1825 |
+
510,
|
| 1826 |
+
825,
|
| 1827 |
+
565
|
| 1828 |
+
],
|
| 1829 |
+
"page_idx": 12
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"type": "text",
|
| 1833 |
+
"text": "A.4.3 ADDITIVE VS AFFINE TRANSFORMATIONS ",
|
| 1834 |
+
"text_level": 1,
|
| 1835 |
+
"bbox": [
|
| 1836 |
+
174,
|
| 1837 |
+
582,
|
| 1838 |
+
524,
|
| 1839 |
+
595
|
| 1840 |
+
],
|
| 1841 |
+
"page_idx": 12
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"type": "text",
|
| 1845 |
+
"text": "The Tacotron 2 baseline without the postnet layer can be interpreted as additive single step autoregressive normalizing flow (ASSANF). By comparing Flowtron with Tacotron 2, we’re comparing with a model that is better than an (ASSANF), as Tacotron 2 sans Postnet does not have sharp harmonics. Hence, we prefer affine over additive transformations. ",
|
| 1846 |
+
"bbox": [
|
| 1847 |
+
174,
|
| 1848 |
+
606,
|
| 1849 |
+
826,
|
| 1850 |
+
661
|
| 1851 |
+
],
|
| 1852 |
+
"page_idx": 12
|
| 1853 |
+
},
|
| 1854 |
+
{
|
| 1855 |
+
"type": "text",
|
| 1856 |
+
"text": "A.4.4 COMPARISON WITH TACOTRON 2 ",
|
| 1857 |
+
"text_level": 1,
|
| 1858 |
+
"bbox": [
|
| 1859 |
+
176,
|
| 1860 |
+
676,
|
| 1861 |
+
460,
|
| 1862 |
+
690
|
| 1863 |
+
],
|
| 1864 |
+
"page_idx": 12
|
| 1865 |
+
},
|
| 1866 |
+
{
|
| 1867 |
+
"type": "text",
|
| 1868 |
+
"text": "The Tacotron 2 baseline without the postnet layer can be interpreted as additive single step autoregressive normalizing flow (ASSANF). By comparing Flowtron with Tacotron 2, we’re comparing with a model that is better than an (ASSANF), as Tacotron 2 sans Postnet does not have sharp harmonics. Hence, we prefer affine over additive transformations. ",
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
174,
|
| 1871 |
+
700,
|
| 1872 |
+
826,
|
| 1873 |
+
757
|
| 1874 |
+
],
|
| 1875 |
+
"page_idx": 12
|
| 1876 |
+
},
|
| 1877 |
+
{
|
| 1878 |
+
"type": "image",
|
| 1879 |
+
"img_path": "images/cefdc8f2171b60bd2119214eca1bde41063f24f86b63edf5cfab97efff387eb2.jpg",
|
| 1880 |
+
"image_caption": [
|
| 1881 |
+
"Figure 8: Visualization of the decoder in Tacotron 2 during training. Unlike Flowtron, Tacotron 2 requires Prenet and Postnet layers to learn attention and produce sharp harmonics. "
|
| 1882 |
+
],
|
| 1883 |
+
"image_footnote": [],
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
173,
|
| 1886 |
+
98,
|
| 1887 |
+
825,
|
| 1888 |
+
303
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 13
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "image",
|
| 1894 |
+
"img_path": "images/62ef8251c7a9a869a84ca1e2925c939f73e3784e68dce95f76c876c37514717f.jpg",
|
| 1895 |
+
"image_caption": [
|
| 1896 |
+
"Figure 9: (a) shows that by translating one of the dimensions of $_ z$ we are able to alter the pitch contour of the sentence while keeping the length fixed. (b) shows that by translation one of the dimensions of $_ z$ we are able to alter the length of the sentence while keeping a similar pitch contour. "
|
| 1897 |
+
],
|
| 1898 |
+
"image_footnote": [],
|
| 1899 |
+
"bbox": [
|
| 1900 |
+
179,
|
| 1901 |
+
547,
|
| 1902 |
+
826,
|
| 1903 |
+
815
|
| 1904 |
+
],
|
| 1905 |
+
"page_idx": 13
|
| 1906 |
+
},
|
| 1907 |
+
{
|
| 1908 |
+
"type": "text",
|
| 1909 |
+
"text": "A.6 FLOWTRON AND TACOTRON SUMMARY VIEW ",
|
| 1910 |
+
"text_level": 1,
|
| 1911 |
+
"bbox": [
|
| 1912 |
+
178,
|
| 1913 |
+
104,
|
| 1914 |
+
532,
|
| 1915 |
+
117
|
| 1916 |
+
],
|
| 1917 |
+
"page_idx": 14
|
| 1918 |
+
},
|
| 1919 |
+
{
|
| 1920 |
+
"type": "text",
|
| 1921 |
+
"text": "Flowtron( (speaker_embedding): Embedding(3, 128) (embedding): Embedding(185, 512) (flows): ModuleList( (0): AR_Step( (conv): Conv1d(1024, 160, kernel_size $=$ (1,), stride $=$ (1,)) (lstm): LSTM(1664, 1024, num_layers $^ { = 2 }$ ) (attention_lstm): LSTM(80, 1024) (attention_layer): Attention( (softmax): Softmax(dim $^ { = 2 }$ ) (query): LinearNorm( (linear_layer): Linear(in_features=1024, out_features $= 6 4 0$ , bias=False) ) (key): LinearNorm( (linear_layer): Linear(in_features $= 6 4 0$ , out_feature $_ { 3 } = 6 4 0$ , bias $\\mathbf { \\tau } = \\dot { }$ False) ) (value): LinearNorm( (linear_layer): Linear(in_features $= 6 4 0$ , out_feature $\\mathord { : } = 6 4 0$ , bias=False) ) (v): LinearNorm( (linear_layer): Linear(in_features $= 6 4 0$ , out_features $: = 1$ , bias=False) ) ) (dense_layer): DenseLayer( (layers): ModuleList( (0): LinearNorm( (linear_layer): Linear(in_features=1024, out_features=1024, bias=True) ) (1): LinearNorm( (linear_layer): Linear(in_feature $\\mathord { \\mathrm { 3 } } = 1 0 2 4$ , out_features $_ { \\mathrm { : = 1 0 2 4 } }$ , bias $= \"$ True) ) ",
|
| 1922 |
+
"bbox": [
|
| 1923 |
+
174,
|
| 1924 |
+
138,
|
| 1925 |
+
730,
|
| 1926 |
+
478
|
| 1927 |
+
],
|
| 1928 |
+
"page_idx": 14
|
| 1929 |
+
},
|
| 1930 |
+
{
|
| 1931 |
+
"type": "text",
|
| 1932 |
+
"text": "(1): AR_Back_Step( (ar_step): AR_Step( (conv): Conv1d(1024, 160, kernel_size $=$ (1,), stride $=$ (1,)) (lstm): LSTM(1664, 1024, num_layers $^ { = 2 }$ ) (attention_lstm): LSTM(80, 1024) (attention_layer): Attention( (softmax): Softmax(dim $^ { = 2 }$ ) (query): LinearNorm( (linear_layer): Linear(in_feature $\\mathord { \\mathrm { 3 } } = 1 0 2 4$ , out_feature $\\mathtt { s } = 6 4 0$ , bias $=$ False) ) (key): LinearNorm( (linear_layer): Linear(in_feature $\\mathord { : } = 6 4 0$ , out_features $= 6 4 0$ , bias ${ } = \\mathbb { E }$ alse) (value): LinearNorm( (linear_layer): Linear(in_features $_ { : = 6 4 0 }$ , out_features $= 6 4 0$ , bias=False) ) (v): LinearNorm( (linear_layer): Linear(in_features $_ { : = 6 4 0 }$ , out_features $^ { = 1 }$ , bias $=$ False) ) ) (dense_layer): DenseLayer( (layers): ModuleList( (0): LinearNorm( (linear_layer): Linear(in_features $\\mathbf { \\Psi } = \\mathbf { \\dot { \\Psi } }$ 1024, out_features $\\mathbf { \\Psi } = \\mathbf { \\dot { \\Psi } }$ 1024, bias ${ } , = { }$ True) ) (1): LinearNorm( (linear_layer): Linear(in_features $= 1$ 1024, out_features $=$ 1024, bias $=$ True) ) (gate_layer): LinearNorm( (linear_layer): Linear(in_features $^ { = 1 }$ 664, out_features $^ { = 1 }$ , bias $= \"$ True) ) \n) \n(encoder): Encoder( (convolutions): ModuleList( (0): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding=(2,)) ) (1): InstanceNorm1d(512, eps=1e-05, momentum=0.1, affine $=$ True, track_running_ ) ",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
186,
|
| 1935 |
+
482,
|
| 1936 |
+
751,
|
| 1937 |
+
924
|
| 1938 |
+
],
|
| 1939 |
+
"page_idx": 14
|
| 1940 |
+
},
|
| 1941 |
+
{
|
| 1942 |
+
"type": "text",
|
| 1943 |
+
"text": "(1): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding=(2,)) ) (1): InstanceNorm1d(512, ep $\\mathrm { 3 } { = } 1 \\mathrm { e } { - } 0 5$ , momentum $\\ i { = } 0 \\cdot 1$ , affine $= ^ { \\prime }$ True, track_running_stats=False) ) (2): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding=(2,)) ) (1): InstanceNorm1d(512, eps $=$ 1e-05, momentum $\\ i { = } 0 \\cdot 1$ , affine $=$ True, track_running_stats=False) ) ) (lstm): LSTM(512, 256, batch_first $= \"$ True, bidirectional $=$ True) ) ) ",
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
171,
|
| 1946 |
+
107,
|
| 1947 |
+
839,
|
| 1948 |
+
267
|
| 1949 |
+
],
|
| 1950 |
+
"page_idx": 15
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"type": "text",
|
| 1954 |
+
"text": "acotron2( \n(embedding): Embedding(185, 512) \n(encoder): Encoder( (convolutions): ModuleList( (0): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $: =$ (5,), stride $=$ (1,), padding=(2,)) ) (1): BatchNorm1d(512, ep $\\mathtt { s } = 1 \\mathtt { e } - 0 5$ , momentum $\\iota { = } 0 \\cdot 1$ , affine $=$ True, track_running_stat $s =$ True) ) (1): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding ${ } = { }$ (2,)) ) (1): BatchNorm1d(512, ep $\\mathsf { s } { = } 1 \\mathsf { e } { - } 0 5$ , momentum $\\iota { = } 0 \\cdot 1$ , affine $: =$ True, track_running_stat ${ \\mathfrak { s } } =$ True) ) (2): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding=(2,)) ) (1): BatchNorm1d(512, eps $=$ 1e-05, momentum $\\iota { = } 0 \\cdot 1$ , affine $: =$ True, track_running_stats $; =$ True) ) ) (lstm): LSTM(512, 256, batch_first $=$ True, bidirectional ${ } = { }$ True) \n) \n(decoder): Decoder( (prenet): Prenet( (layers): ModuleList( (0): LinearNorm( (linear_layer): Linear(in_features $= 8 0$ , out_feature $_ { 5 } = 2 5 6$ , bias $=$ False) ) (1): LinearNorm( (linear_layer): Linear(in_features=256, out_features=256, bias=False) ) ) (attention_rnn): LSTMCell(896, 1024) (attention_layer): Attention( (query_layer): LinearNorm( (linear_layer): Linear(in_features=1024, out_features=128, bias=False) ) (memory_layer): LinearNorm( (linear_layer): Linear(in_feature $\\mathord { 5 } = 6 4 0$ , out_features $^ { - 1 2 8 }$ , bias $\\fallingdotseq$ False) ) (v): LinearNorm( (linear_layer): Linear(in_feature $\\mathord { \\left. \\mathrm { = } \\right.} 1 2 8 $ , out_features $^ { = 1 }$ , bias=False) ) (location_layer): LocationLayer( (location_conv): ConvNorm( (conv): Conv1d(2, 32, kernel_size $=$ (31,), stride $\\mathbf { \\Omega } : = \\left( \\mathbb { 1 } , \\right)$ , padding $=$ (15,), bia $: =$ False) ) (location_dense): LinearNorm( (linear_layer): Linear(in_features $= 3 2$ , out_features $= 1 2 8$ , bias $=$ False) ) ) (decoder_rnn): LSTMCell(1664, 1024, bias $^ { = 1 }$ ) (linear_projection): LinearNorm( (linear_layer): Linear(in_features $^ { = 1 }$ 664, out_features ${ \\mathfrak { s } } = 8 0$ , bias $= \"$ True) ) (gate_layer): LinearNorm( (linear_layer): Linear(in_features=1664, out_features $^ { = 1 }$ , bias=True) ) \n) \n(postnet): Postnet( (convolutions): ModuleList( (0): Sequential( (0): ConvNorm( (conv): Conv1d(80, 512, kernel_size $=$ (5,), stride $=$ (1,), padding $=$ (2,)) ) (1): BatchNorm1d(512, eps=1e-05, momentum $= 0 \\cdot 1$ , affine $=$ wTrue, track_running_stats $= ^ { \\prime }$ True) ) (1): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $: =$ (5,), stride $=$ (1,), padding $\\bf \\tilde { \\tau } =$ (2,)) ) (1): BatchNorm1d(512, eps $= 1 \\mathrm { e } - 0 5$ , momentum $\\iota { = } 0 \\cdot 1$ , affine $=$ True, track_running_stat $\\bar { \\mathsf { z } } = \\mathsf { ^ { \\prime } }$ True) ) (2): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding ${ } = { }$ (2,)) ) (1): BatchNorm1d(512, ep $\\mathtt { s } = 1 \\mathtt { e } - 0 5$ , momentum $\\iota { = } 0 \\cdot 1$ , affine $: =$ True, track_running_stat ${ \\tt S } =$ True) ) (3): Sequential( (0): ConvNorm( (conv): Conv1d(512, 512, kernel_size $=$ (5,), stride $=$ (1,), padding=(2,)) ) (1): BatchNorm1d(512, eps $=$ 1e-05, momentum $\\iota { = } 0 \\cdot 1$ , affine $: =$ True, track_running_stat $s =$ True) ) (4): Sequential( (0): ConvNorm( (conv): Conv1d(512, 80, kernel_size $=$ (5,), stride $=$ (1,), padding $=$ (2,)) ) (1): BatchNorm1d(80, eps=1e-05, momentum $\\mathord { \\mathrm { 1 } } = 0 \\cdot 1$ , affine $=$ True, track_running_stats $=$ True) ) \n(speaker_embedding): Embedding(3, 128) ",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
184,
|
| 1957 |
+
265,
|
| 1958 |
+
810,
|
| 1959 |
+
926
|
| 1960 |
+
],
|
| 1961 |
+
"page_idx": 15
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"type": "text",
|
| 1965 |
+
"text": "",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
179,
|
| 1968 |
+
103,
|
| 1969 |
+
815,
|
| 1970 |
+
481
|
| 1971 |
+
],
|
| 1972 |
+
"page_idx": 16
|
| 1973 |
+
}
|
| 1974 |
+
]
|
parse/train/Ig53hpHxS4/Ig53hpHxS4_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/QpU7n-6l0n/QpU7n-6l0n_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/QpU7n-6l0n/QpU7n-6l0n_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkgHtkrYPH/SkgHtkrYPH.md
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 6 |
+
|
| 7 |
+
Historically, the pursuit of efficient inference has been one of the driving forces behind the research into new deep learning architectures and building blocks. Some of the recent examples include: the squeeze-and-excitation module of (Hu et al., 2018), depthwise separable convolutions in Xception (Chollet, 2017), and the inverted bottleneck in MobileNet v2 (Sandler et al., 2018). Notably, in all of these cases, the resulting building blocks enabled not only higher efficiency, but also higher accuracy, and found wide adoption in the field. In this work, we further expand the arsenal of efficient building blocks for neural network architectures; but instead of combining standard primitives (such as convolution), we advocate for the replacement of these dense primitives with their sparse counterparts. While the idea of using sparsity to decrease the parameter count is not new (Mozer & Smolensky, 1989), the conventional wisdom is that this reduction in theoretical FLOPs does not translate into real-world efficiency gains. We aim to correct this misconception by introducing a family of efficient sparse kernels for several hardware platforms, which we plan to open-source for the benefit of the community. Equipped with our efficient implementation of sparse primitives, we show that sparse versions of MobileNet v1 and MobileNet v2 architectures substantially outperform strong dense baselines on the efficiency-accuracy curve. On Snapdragon 835 our sparse networks outperform their dense equivalents by $1 . 1 - 2 . 2 \times$ – equivalent to approximately one entire generation of improvement. We hope that our findings will facilitate wider adoption of sparsity as a tool for creating efficient and accurate deep learning architectures.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Convolutional neural networks (CNNs) have proven to be excellent at solving a diverse range of tasks (Bhandare et al., 2016). Standard network architectures are used in classification, segmentation, object detection and generation tasks (Pan et al., 2019; Long et al., 2015; Zhao et al., 2019). Given their wide utility, there has been significant effort to design efficient architectures that are capable of being run on mobile and other low power devices while still achieving high classification accuracy on benchmarks such as ImageNet (Russakovsky et al., 2015). For example, MobileNets (Howard et al., 2017; Sandler et al., 2018) employ the depthwise separable convolutions introduced in (Sifre & Mallat, 2014) to significantly reduce resource requirements over previous architectures. Inference time and computational complexity in these architectures are dominated by the $1 \times 1$ convolutions, which directly map to matrix-matrix multiplications.
|
| 12 |
+
|
| 13 |
+
Weight sparsity is generally known to lead (Cheng et al., 2017) to theoretically smaller and more computationally efficient (in terms of number of floating-point operations) models, but it is often disregarded as a practical means of accelerating models because of the misconception that sparse operations cannot be fast enough to achieve actual speedups during inference. In this work we introduce fast kernels for Sparse Matrix-Dense Matrix Multiplication (SpMM) specifically targeted at the accceleration of sparse neural networks. The main distinction of our $\mathbf { S p M M }$ kernel from prior art (Nagasaka et al., 2018; Yang et al., 2018) is that we focus on a different point in the design space. While prior work focused on extremely sparse problems (typically ${ > } 9 9 \%$ , found in scientific and graph problems), we target the sparsity range of $\bar { 7 } 0 { - } 9 5 \%$ , more common when inducing weight sparsity in neural networks. As a result our kernels outperform both the Intel MKL (Intel, 2009) and the TACO compiler (Kjolstad et al., 2017).
|
| 14 |
+
|
| 15 |
+
Using these kernels, we demonstrate the effectiveness of weight sparsity across three generations of MobileNet (Howard et al., 2017; Sandler et al., 2018; Tan et al., 2018; Tan & Le, 2019) architectures.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: MobileNet v1 and v2 and EfficientNet models. Sparse models: blue, dense models: red. Sparse models include the cost of storing the location of non-zeros for sparse tensors as a bitmask converted back into parameter count. That is every 32 values in the bitmask contributes one “parameter”.
|
| 19 |
+
|
| 20 |
+
Sparsity leads to an approximately one generation improvement in each architecture, with a sparse EfficientNet significantly more efficient than all previous models. These models represent a new generation of efficient CNNs, which reduces inference times by $1 . 1 - 2 . 2 \times$ , parameter counts by over $2 \times$ and number of floating-point operations (FLOPs) by up to $3 \times$ relative to the previous generations.
|
| 21 |
+
|
| 22 |
+
# 2 RELATED WORK
|
| 23 |
+
|
| 24 |
+
Improvements in convolutional network architectures (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; He et al., 2016; Huang et al., 2017), as measured by increased classification accuracy on benchmark tasks such as ImageNet (Russakovsky et al., 2015), have generally been concomitant with increases in model parameter counts, FLOPs and memory requirements. Recently this evolution has led to networks found through neural architecture search (Zoph et al., 2017; Real et al., 2019) which can achieve over $82 \%$ top-1 accuracy, but require nearly 25 GFLOPs for one inference.
|
| 25 |
+
|
| 26 |
+
Given these prohibitive inference costs, there have been many lines of work attempting to improve CNN efficiency, which is often defined as one of three metrics:
|
| 27 |
+
|
| 28 |
+
1. Inference speedup on real hardware
|
| 29 |
+
2. Theoretical speedup through FLOPs reduction
|
| 30 |
+
3. Model size reduction
|
| 31 |
+
|
| 32 |
+
These axes are neither parallel nor orthogonal. The effect of (3) and (2) on (1) in particular can be quite complicated and highly varied depending on the hardware in question.
|
| 33 |
+
|
| 34 |
+
The MobileNet family of architectures (Howard et al., 2017; Sandler et al., 2018) has focused on improving efficiency by taking advantage of the depthwise separable convolutions introduced in (Sifre & Mallat, 2014), which can be thought of as a hand-crafted sparsification of full convolutions with a predefined sparse topology, and which are responsible for the parameter efficiency of these architectures. MobileNet v1 (MBv1) used layers of $1 \times 1$ convolutions followed by depthwise convolutions. MobileNet v2 (MBv2) introduced the inverted residual block which consists of a $1 \times 1$ convolution expanding the channel count, a depthwise convolution on the expanded channel count, and then a $1 \times 1$ convolution reducing the parameter count. Across MobileNet architectures, the depthwise convolutions account for only a small fraction of the total FLOPs, parameters, and inference time of these models. In MBv1, they account for less than $2 \%$ of the total FLOPs and in MBv2 less than $3 \%$ .
|
| 35 |
+
|
| 36 |
+
A different line of work attempted to make more efficient CNNs by directly pruning the weights of full convolutional filters accompanied by the necessary inference kernels (Park et al., 2016; Liu et al., 2015). Park et al. (2016) was not able to accelerate $1 \times 1$ convolutions, Liu et al. (2015) did not attempt it. The latter also required generating a new set of kernels for each instance of a model, which is often impractical for deployment. Due to the difficultly of accelerating sparse computation, channel pruning approaches have been preferred (Gordon et al., 2018; Dai et al., 2018; Luo et al., 2017; Louizos et al., 2018; Theis et al., 2018; He et al., 2018). These approaches prune away entire filters leaving the final model dense, and function more as an architecture search over channel counts.
|
| 37 |
+
|
| 38 |
+

|
| 39 |
+
Figure 2: Sparse 1x1 Convolution as SpMM. Left: Unstructured sparsity (or block size 1). Right: Output channel block size of 4
|
| 40 |
+
|
| 41 |
+
Full Neural Architecture Search has also been applied directly to architectures resembling MBv2 resulting in MobileNet v3 (Tan et al., 2018), FBNet (Wu et al., 2019), and EfficientNet (Tan & Le, 2019).
|
| 42 |
+
|
| 43 |
+
Alternatively, factorizations of the $1 \times 1$ convolutions have been considered in ShuffleNet (Zhang et al., 2017) and Learnable Butterfly Factorizations (Dao et al., 2019). ShuffleNet factorizes the weight matrix into a product of a permutation matrix and block diagonal matrix. Butterfly Factorizations factorize the weight matrix into a sequence of permutation matrices and weight matrices with special structure that can represent many common $\bar { O } ( N l o g N )$ transforms such as Fast Fourier Transforms.
|
| 44 |
+
|
| 45 |
+
Work in Text-to-Speech (TTS) (Kalchbrenner et al., 2018) demonstrated that increasing sparsity and concomitant increase in state size in RNN models lead to increased model quality for a given non-zero parameter count. They additionally demonstrated fast block-sparse matrix-vector (SpMV) multiplication routines necessary for RNN inference.
|
| 46 |
+
|
| 47 |
+
# 3 METHODS
|
| 48 |
+
|
| 49 |
+
To understand how to design the most efficient convolutional models, we investigate both how to construct and train sparse MBv1, MBv2 and EfficientNet models and also the performance of our SpMM kernels.
|
| 50 |
+
|
| 51 |
+
# 3.1 SPARSIFYING NETWORKS
|
| 52 |
+
|
| 53 |
+
We train on the ImageNet (Russakovsky et al., 2015) dataset with standard augmentation and report top-1 accuracies on the provided 50k example validation set. To make the networks sparse we use the gradual magnitude pruning technique of (Zhu & Gupta, 2018).
|
| 54 |
+
|
| 55 |
+
We do not prune the first dense convolution at the beginning of all three networks. Its overall contribution to the parameter count, FLOP count, and runtime is small and does not warrant introducing a new sparse operator. Instead, we implement a dense convolutional kernel which takes as input the image in the standard HWC layout and outputs the CHW layout consumed by the sparse operators in the rest of the network. In HWC layout, the values for different channels corresponding to one spatial location are adjacent in memory. In CHW layout, the values of all the spatial locations for one channel are adjacent in memory.
|
| 56 |
+
|
| 57 |
+
We also do not prune the squeeze-excitation (Hu et al., 2018) blocks in EfficientNet as they contribute ${ < } 1 \%$ of the total FLOPs to the dense model. The last fully-connected layer in all models also contributes insignificantly $( < 1 \% )$ to the total FLOP count, but does contribute a significant fraction $( 2 0 - 5 0 \% )$ of total parameters, especially after the rest of the model is pruned. As we are concerned with maximizing top-1 accuracy for a given runtime, we do not prune the final layer in MobileNet v1 and v2 as doing so leads to a small decrease in top-1 accuracy. Standard EfficientNets do not scale the number of filters in the last convolution by the width of the model, however we find that when introducing sparsity it is beneficial to do this; in all sparse EfficientNet models we double the units from 1280 to 2560. We also find that it is possible to make the fully-connected layer sparse without loss of accuracy in EfficientNet, so we do so.
|
| 58 |
+
|
| 59 |
+

|
| 60 |
+
Figure 3: Visualization of the memory reads and writes of our algorithm. In step 1, we load 8 spatial locations simultaneously for each of the non-zero weights in the first row of the weight matrix. We multiply each scalar weight by its corresponding row, accumulate the results, and in the end write them out. Step 2 performs the same calculation for the next output channel. After steps 1 and 2, all values for these spatial locations are in the cache, so future loads in steps 3 and 4 will be fast, despite being random access.
|
| 61 |
+
|
| 62 |
+
# 3.2 KERNEL IMPLEMENTATION
|
| 63 |
+
|
| 64 |
+
A diagram of the $1 \times 1$ convolution as a SpMM is seen in figure 2. Our scheme requires activation tensors be stored in CHW format, in contrast to dense mobile inference libraries (Jacob, 2017; Dukhan et al., 2019; Jacob, 2019) which favor HWC.
|
| 65 |
+
|
| 66 |
+
There are two key insights enabling the high performance of our kernels:
|
| 67 |
+
|
| 68 |
+
1. While the weight matrix is sparse, the activation matrix is dense. This means that we can perform vector loads from the activation matrix and process multiple spatial locations simultaneously. 2. By processing the matrix in the right order we can keep values that will be randomly accessed in the L1 cache, from which random access is fast and constant time.
|
| 69 |
+
|
| 70 |
+
Figure 3 shows the memory read and write patterns of a few steps of the kernel. The figure shows 8 elements being processed together but other values are possible and we also implement 4 and 16. The outer loop is over columns and the inner loop is over rows; this allows each strip of 4, 8 or 16 spatial locations in the activations to remain in the L1 cache until it is no longer needed. In figure 3 steps 1 and 2 prime the cache, while subsequent steps 3 and 4 load all right hand side values from the L1 cache.
|
| 71 |
+
|
| 72 |
+
In addition to the vectorization in the $H W$ dimension, taking advantage of small amounts of structure in the weight matrix can offer significant performance boosts by increasing data reuse after values are loaded into registers. Constraining the sparsity pattern so that multiple output or input channels all share the same zero/non-zero pattern creates ‘blocks’ in the weight matrix (see figure 3 right). Blocks in the output channel dimension allow for more data reuse than blocks in the input channel dimension. Experiments (see figure 6) show that either choice has the same effect on accuracy, so we implement output channel blocking with sizes of 2 and 4. Our nomenclature for kernels is to give their spatial vectorization width followed by the output channel block size $- 1 6 \times 2$ means 16 pixels and 2 output channels are processed in the inner loop.
|
| 73 |
+
|
| 74 |
+
We implement the ARM kernels in C with NEON intrinsics unlike current production libraries (Jacob, 2017; Dukhan et al., 2019; Jacob, 2019) which rely on expert-optimized assembly. As reference, the code for the $4 \times 1$ inner loop is available in appendix A.
|
| 75 |
+
|
| 76 |
+
# 3.3 LIBRARY
|
| 77 |
+
|
| 78 |
+
We provide a library that can run sparse models trained with the model pruning library in TensorFlow (Abadi et al., 2015). This includes conversion from a dense representation to a Block Compressed Sparse Row (BCSR)-like representation suitable for inference. In addition to the high performance $1 \times 1$ convolutions, we also provide all supporting CHW kernels – depthwise convolutions, global average pooling and a $3 \times 3$ stride-2 dense convolution – necessary for running all three generations of models. While we provide high performance versions of these kernels, we do not detail them here. They are included in end-to-end measurements.
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 4: FLOPs with increasing layer depth. All measurements taken on a Snapdragon (SD) 835.
|
| 82 |
+
|
| 83 |
+
# 4 RESULTS
|
| 84 |
+
|
| 85 |
+
In the main text we mainly include results for MBv1 and MBv2 due to space limitations. EfficientNets generally follow the same trends as MBv2 models, plots for EfficientNet can be found in appendix C.
|
| 86 |
+
|
| 87 |
+
First we reveal performance results for our SpMM kernels, then we show how the networks respond to sparsity and then finally we combine this information to find the models with the lowest inference time.
|
| 88 |
+
|
| 89 |
+
# 4.1 ARM KERNEL PERFORMANCE
|
| 90 |
+
|
| 91 |
+
We use Ruy (Jacob, 2019), the current TensorFlow Lite ARM64 backend written largely in handcoded assembly, as the dense baseline. For a sparse baseline we use the kernel generated by the TACO compiler (Kjolstad et al., 2017). We present results by plotting the FLOPs achieved at each layer in the model, with increasing depth to the right in figure 4. For MBv1 we use a width multiplier of 1.4 and $90 \%$ sparse and for MBV2 we use a width multiplier of 1.4 and $80 \%$ sparse as these configurations approximately match the top-1 accuracy of the width 1 dense models. The kernel variants that process 16 spatial locations at a time (e.g. $1 6 \times 1$ , etc.) are the highest performing and all reported numbers are from these kernel variants. TACO only supports unstructured sparsity and should be compared with the $\beth 6 \times \beth$ kernels.
|
| 92 |
+
|
| 93 |
+
The raw performance of the sparse kernels falls in the range of $40 { - } 9 0 \%$ of the dense kernels. And as they must do much less work, when taking the sparsity of the layer into account, the effective FLOPs are in the $2 { - } 7 \times$ range. In MBv1 performance falls significantly in the last two layers of the model when the number of channels (1024) causes the size of one “strip” of spatial locations to exceed the size of the L1 cache. In MBv2 the sawtooth pattern is caused by the alternating expand and contract operations. The performance is higher for the expand kernels due to greater data reuse of each “strip” that is brought into the L1 cache.
|
| 94 |
+
|
| 95 |
+
# 4.2 X86-64 KERNEL PERFORMANCE
|
| 96 |
+
|
| 97 |
+
We implement an AVX-512 version of our scheme with intrinsics to compare with the Intel MKL (Intel, 2009) SpMM. Results are in figure 5. In the majority of layers our scheme outperforms the MKL. The geometric mean speedup over all layers is 1.20 in both MBv1 and MBv2.
|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
Figure 5: FLOPs with increasing layer depth. Measurements taken on an Intel Xeon W-2135.
|
| 101 |
+
|
| 102 |
+

|
| 103 |
+
Figure 6: Effect of block size on top-1 accuracy. It only matters how many elements are in a block, the configuration is unimportant.
|
| 104 |
+
|
| 105 |
+
# 4.3 MODEL PERFORMANCE
|
| 106 |
+
|
| 107 |
+
The hyper-parameters used to train MBv1 and MBv2 are listed in table 2, they were found with a grid search on dense models with a width multiplier of 1.0 to reproduce the original results, which used RMSProp, with SGD with momentum. The same hyper-parameters are used to train sparse models. This change allows us to match or exceed the reported accuracies with only $4 5 \mathrm { k }$ iterations of training.
|
| 108 |
+
|
| 109 |
+
The hyper-parameters used to train EfficientNet are largely unmodified from their code release, with the exception of extending training from 350 to 550 epochs and increasing the learning rate decay exponent to .985 from .97 so that the learning rate decays more slowly. These changes do not improve the dense baseline.
|
| 110 |
+
|
| 111 |
+
We induce sparsity in MBv1 and MBv2 by starting the sparsification process at iteration 7,000 and stopping at 28,000 with a pruning frequency of 2,000. For EfficientNet we start at iteration 23,000 and end at iteration 105,000, also with a pruning frequency of 2,000.
|
| 112 |
+
|
| 113 |
+
We train on the ImageNet (Russakovsky et al., 2015) dataset with standard data augmentation. Top-1 accuracies are reported on the validation set with center single-crops.
|
| 114 |
+
|
| 115 |
+
To understand the effect of block size, we plot in figure 6 accuracy against flops for different block sizes. In these plots, every sparse tensor in the network uses the same output channel block size. The tradeoff for block sparsity only appears to involve how many elements are in each block, and not their configuration. For example, in MBv1, the $1 \times 4$ , $4 \times 1$ and $2 \times 2$ curves all lie on top of one another. The loss in accuracy due to blocking seems to decrease slightly for larger width models.
|
| 116 |
+
|
| 117 |
+

|
| 118 |
+
Figure 7: Effect of sparsity on top-1 accuracy. The sparser a model is, the fewer flops it requires to achieve a given Top-1 accuracy.
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
Figure 8: The $\mathbf { X }$ -axis corresponds to turning that layer and all following layers to block size 4, the prior layers are unstructured. The y-axis is the efficiency of making this change over an unstructured model given as a ratio where the numerator is the speedup of changing the block(s) from unstructured to block size 4 and the denominator is the decrease in top-1 accuracy that occurs by making this change.
|
| 122 |
+
|
| 123 |
+
To understand how the sparsity level affects the efficiency of the models, we train models at $70 \%$ , $80 \%$ and $90 \%$ unstructured sparsity which is constant throughout the model. The results are plotted in figure 7. MBv1 and MBv2 are more efficient the more sparse they become, confirming that the results of Kalchbrenner et al. (2018) hold not just for RNNs, but also for convolutional models as well.
|
| 124 |
+
|
| 125 |
+
In figure 1 we plot Top-1 accuracy vs. FLOPs for all three generations of sparse and dense models. MobileNet v1 is $90 \%$ sparse, the other models are $80 \%$ sparse. A sparse MBv1 exceeds MBv2 in terms of FLOP and parameter efficiency; a sparse MBv2 matches EfficientNet in terms of FLOP and parameter efficiency; and a sparse EfficientNet exceeds all other models in both categories.
|
| 126 |
+
|
| 127 |
+
# 4.4 MODEL DESIGN
|
| 128 |
+
|
| 129 |
+
To design the models with the best top-1 accuracy vs. inference time frontiers we make the following assumptions to reduce the search space:
|
| 130 |
+
|
| 131 |
+
1. We leave the models themselves unchanged.
|
| 132 |
+
2. We consider only block size 1 and block size 4 variants.
|
| 133 |
+
3. We induce the same level of sparsity in all $1 \times 1$ convolutions.
|
| 134 |
+
|
| 135 |
+
Table 1: All input image sizes are $2 2 4 \mathbf { x } 2 2 4$ . Sparse MBv1 models are $90 \%$ sparse, Sparse MBv2 models are $80 \%$ sparse. In sparse MBv1 models, layer 12 uses a block size of 4. This is almost as efficient as the models in 4.4 and matches the top-1 scores of the dense models more closely. In sparse MBv2 width multiplier 2.0 model, layers 14-16 use block size of 4. In all other MBv2 models, layers 11-16 use a block size of 4.
|
| 136 |
+
|
| 137 |
+
<table><tr><td></td><td>Model</td><td>Width</td><td>Top-1</td><td>Mega-Params</td><td>Time (ms) SD835</td><td>Time (ms) SD670</td></tr><tr><td rowspan="2">MBv1</td><td>Dense</td><td>1.0</td><td>70.9</td><td>4.24</td><td>125</td><td>106</td></tr><tr><td>Sparse</td><td>1.4</td><td>72.0</td><td>2.31</td><td>63</td><td>63</td></tr><tr><td rowspan="2">MBv1</td><td>Dense</td><td>.75</td><td>68.4</td><td>2.59</td><td>73</td><td>64</td></tr><tr><td>Sparse</td><td>1.0</td><td>68.4</td><td>1.48</td><td>33</td><td>34</td></tr><tr><td rowspan="2">MBv1</td><td>Dense</td><td>.5</td><td>63.3</td><td>1.34</td><td>36</td><td>33</td></tr><tr><td>Sparse</td><td>.75</td><td>64.4</td><td>1.29</td><td>21</td><td>20</td></tr><tr><td rowspan="2">MBv2</td><td>Dense</td><td>1.4</td><td>75.0</td><td>6.06</td><td>150</td><td>129</td></tr><tr><td>Sparse</td><td>2.0</td><td>74.9</td><td>4.63</td><td>127</td><td>118</td></tr><tr><td rowspan="2">MBv2</td><td>Dense</td><td>1.0</td><td>71.8</td><td>3.47</td><td>83</td><td>74</td></tr><tr><td>Sparse</td><td>1.4</td><td>72.0</td><td>2.86</td><td>63</td><td>56</td></tr><tr><td rowspan="2">MBv2</td><td>Dense</td><td>.75</td><td>69.8</td><td>2.61</td><td>64</td><td>57</td></tr><tr><td>Sparse</td><td>1.0</td><td>68.6</td><td>1.85</td><td>35</td><td>33</td></tr><tr><td rowspan="2">MBv2</td><td>Dense</td><td>.5</td><td>65.4</td><td>2.61</td><td>33</td><td>30</td></tr><tr><td>Sparse</td><td>.75</td><td>65.2</td><td>1.65</td><td>29</td><td>25</td></tr></table>
|
| 138 |
+
|
| 139 |
+
Then we do a search at width multiplier 1.4 over $N$ models when there are $N$ residual blocks in a model. An $\mathbf { X }$ -axis location of $n$ corresponds to a model in which the first $n$ residual blocks are unstructured and the last $N - n$ residual blocks have an output channel block size of 4. We train each model, note its top-1 accuracy and then measure its inference time. From this we can calculate the ratio of inference time reduction relative to a fully unstructured model and top-1 lost, which are plotted in figure 9. We choose the model with the highest ratio and train models at all widths with this choice. This amounts to making layers 6 and deeper block size 4 in MBv1 models and layers 11 and deeper block size 4 in MBv2.
|
| 140 |
+
|
| 141 |
+
A full Neural Architecture Search (Zoph & Le, 2017; Liu et al., 2019) will likely lead to even more efficient models, but we leave this to future work.
|
| 142 |
+
|
| 143 |
+
Table 1 contains the timings for running our sparse models on a single big core of two different processors, a Snapdragon 835 and a Snapdragon 670. We compare them with MBv1 and MBv2 models from their official repositories (Google, 2018a;b) run on the dense-inference TF Lite framework with the standard Ruy backend.
|
| 144 |
+
|
| 145 |
+
# 5 CONCLUSION
|
| 146 |
+
|
| 147 |
+
We demonstrate that for a constant computational budget, sparse convolutional networks are more accurate than dense ones; this corroborates the findings of Kalchbrenner et al. (2018), which demonstrated that for a set number of floating-point operations, sparse RNNs are more accurate than dense RNNs. We enable the use of weight sparsity to accelerate state-of-the-art convolutional networks by providing fast SpMM kernels along with all necessary supporting kernels for ARM processors. On Snapdragon 835 the sparse networks we present in this paper outperform their dense equivalents by $1 . 1 - 2 . 2 \times$ – equivalent to approximately one entire generation of improvement. By overturning the misconception that “sparsity is slow”, we hope to open new avenues of research that would previously not be considered.
|
| 148 |
+
|
| 149 |
+
# A CODE LISTING
|
| 150 |
+
|
| 151 |
+
We present the code for the $4 \times 1$ kernel here for reference. ARM intrinsics have been renamed for clarity and casts have been removed for brevity.
|
| 152 |
+
|
| 153 |
+
size_t $\mathrm { ~ n ~ } = \mathrm { ~ H W ~ }$ ;
|
| 154 |
+
while $\mathrm { ~ ~ { ~ \langle ~ n ~ \rangle ~ } ~ } ! = \mathrm { ~ ~ { ~ 0 ~ } ~ }$ ) { // Loop over spatial positions float $\star$ w; // Weights, non-zeros are stored consecutively int32_t $\star$ widx_dmap; // Deltas between columns in bytes uint32_t $\star$ nnzmap; // Non-zeros per row size_t k $=$ OutputChannels; do { // Loop over output channels uint32_t nnz $=$ \*nnzmap++; // This next line loads the bias float32x4_t vacc $=$ load_1_f32_value_and_broadcast $( \mathbb { W } ^ { + + } )$ ; while (nnz-- ! $\ : \ 0$ ) { // Loop over non-zero input channels intptr_t diff $=$ \*dmap++; // get delta in bytes and advance float32x4_t vx $=$ load_4_f32_values(x); // Load activations x $+ =$ diff; // advance the activations for the next non-zero float32x4_t vw $=$ load_1_f32_value_and_broadcast $( \mathbb { w } + + )$ ; vacc $=$ multiply_add_4_f32(vacc, vx, vw); // vacc $\begin{array} { r l } { + = } & { { } \nabla \times } \end{array}$ \* vw } store_4_f32_values(y, vacc); y $+ =$ HW; // advance down the output strip } while $\mathrm { ~ ~ \omega ~ } : = \mathrm { ~ ~ 0 ~ }$ ); // Reset pointers for the next strip of spatial locations
|
| 155 |
+
y $- =$ OutputChannels $\star$ HW; y $+ = 4$ ; x $+ = 4$ ; $\mathrm { ~ n ~ \ -- = ~ 4 ~ }$ ;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
# B HYPER PARAMETERS
|
| 159 |
+
|
| 160 |
+
Table 2: Hyper-parameters for MBv1 and MBv2 training. Learning rates are specified in a reduced space and then multiplied by a factor of 16 due to the batch size.
|
| 161 |
+
|
| 162 |
+
<table><tr><td></td><td>MBv1</td><td>MBv2</td></tr><tr><td>learning rate</td><td>.35 *16= 5.6</td><td>.24 *16= 3.84</td></tr><tr><td>momentum</td><td>0.9</td><td>0.92</td></tr><tr><td>12 coefficient</td><td>5e-5</td><td>4e-5</td></tr></table>
|
| 163 |
+
|
| 164 |
+
# C EFFICIENTNET PLOTS
|
| 165 |
+
|
| 166 |
+
Here we present the plots for EfficientNet corresponding to those in the main text for scaling with sparsity and block size. The same trend for block size is observed - the configuration of the blocks isn’t important, only the total size of the block. EfficientNet exhibits less improvement as sparsity increases.
|
| 167 |
+
|
| 168 |
+
# REFERENCES
|
| 169 |
+
|
| 170 |
+
Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org.
|
| 171 |
+
|
| 172 |
+

|
| 173 |
+
Figure 9: (left) EfficientNet scaling with block size. (right) EfficientNet scaling with sparsity.
|
| 174 |
+
|
| 175 |
+
Ashwin Bhandare, Maithili Bhide, Pranav Gokhale, and Rohan Chandavarkar. Applications of convolutional neural networks. International Journal of Computer Science and Information Technologies, 7(5):2206–2215, 2016.
|
| 176 |
+
|
| 177 |
+
Yu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. A survey of model compression and acceleration for deep neural networks. arXiv preprint arXiv:1710.09282, 2017.
|
| 178 |
+
|
| 179 |
+
F. Chollet. Xception: Deep learning with depthwise separable convolutions. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1800–1807, July 2017. doi: 10.1109/CVPR.2017.195.
|
| 180 |
+
|
| 181 |
+
Bin Dai, Chen Zhu, Baining Guo, and David Wipf. Compressing neural networks using the variational information bottleneck. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 1135–1144, Stockholmsmssan, Stockholm Sweden, 10–15 Jul 2018. PMLR. URL http://proceedings.mlr.press/v80/dai18d.html.
|
| 182 |
+
|
| 183 |
+
Tri Dao, Albert Gu, Matthew Eichhorn, Atri Rudra, and Christopher Re. Learning fast algorithms ´ for linear transforms using butterfly factorizations. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, pp. 1517–1527, 2019. URL http://proceedings.mlr.press/v97/dao19a.html.
|
| 184 |
+
|
| 185 |
+
Marat Dukhan, Yiming Wu, and Hao Lu. Qnnpack: Open source library for optimized mobile deep learning, 2019. URL https://engineering.fb.com/ml-applications/ qnnpack/.
|
| 186 |
+
|
| 187 |
+
Google, 2018a. URL https://github.com/tensorflow/models/blob/master/ research/slim/nets/mobilenet_v1.md.
|
| 188 |
+
|
| 189 |
+
Google, 2018b. URL https://github.com/tensorflow/models/tree/master/ research/slim/nets/mobilenet.
|
| 190 |
+
|
| 191 |
+
A. Gordon, E. Eban, O. Nachum, B. Chen, H. Wu, T. Yang, and E. Choi. Morphnet: Fast simple resource-constrained structure learning of deep networks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1586–1595, June 2018. doi: 10.1109/CVPR.2018. 00171.
|
| 192 |
+
|
| 193 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pp. 770–778, 2016.
|
| 194 |
+
|
| 195 |
+
Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. AMC: automl for model compression and acceleration on mobile devices. In Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part VII, pp. 815–832, 2018.
|
| 196 |
+
|
| 197 |
+
Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. CoRR, abs/1704.04861, 2017. URL http://arxiv.org/abs/ 1704.04861.
|
| 198 |
+
|
| 199 |
+
J. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7132–7141, June 2018. doi: 10.1109/CVPR.2018. 00745.
|
| 200 |
+
|
| 201 |
+
G. Huang, Z. Liu, L. v. d. Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2261–2269, July 2017. doi: 10.1109/CVPR.2017.243.
|
| 202 |
+
|
| 203 |
+
Intel. Intel Math Kernel Library. Reference Manual. Intel Corporation, Santa Clara, USA, 2009. ISBN 630813-054US.
|
| 204 |
+
|
| 205 |
+
Benoit Jacob. gemmlowp: a small self-contained low-precision gemm library, 2017. URL https: //github.com/google/gemmlowp.
|
| 206 |
+
|
| 207 |
+
Benoit Jacob. Ruy, 2019. URL https://github.com/tensorflow/tensorflow/ tree/master/tensorflow/lite/experimental/ruy.
|
| 208 |
+
|
| 209 |
+
Nal Kalchbrenner, Erich Elsen, Karen Simonyan, Seb Noury, Norman Casagrande, Edward Lockhart, Florian Stimberg, Aaron van den Oord, Sander Dieleman, and Koray Kavukcuoglu. Efficient ¨ Neural Audio Synthesis. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmassan, Stockholm, Sweden, July 10-15, 2018 ¨ , pp. 2415–2424, 2018.
|
| 210 |
+
|
| 211 |
+
Fredrik Kjolstad, Shoaib Kamil, Stephen Chou, David Lugato, and Saman Amarasinghe. The tensor algebra compiler. Proceedings of the ACM on Programming Languages, 1(OOPSLA):77, 2017.
|
| 212 |
+
|
| 213 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097– 1105. Curran Associates, Inc., 2012. URL http://papers.nips.cc/paper/ 4824-imagenet-classification-with-deep-convolutional-neural-networks. pdf.
|
| 214 |
+
|
| 215 |
+
Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall F. Tappen, and Marianna Pensky. Sparse convolutional neural networks. 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 806–814, 2015.
|
| 216 |
+
|
| 217 |
+
Hanxiao Liu, Karen Simonyan, and Yiming Yang. DARTS: Differentiable architecture search. In International Conference on Learning Representations, 2019. URL https://openreview. net/forum?id ${ . } = { }$ S1eYHoC5FX.
|
| 218 |
+
|
| 219 |
+
Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015.
|
| 220 |
+
|
| 221 |
+
Christos Louizos, Max Welling, and Diederik P. Kingma. Learning sparse neural networks through l0 regularization. In International Conference on Learning Representations, 2018. URL https: //openreview.net/forum?id $\underline { { \underline { { \mathbf { \Pi } } } } } = \underline { { \underline { { \mathbf { \delta \pi } } } } } .$ H1Y8hhg0b.
|
| 222 |
+
|
| 223 |
+
Jian-Hao Luo, Jianxin Wu, and Weiyao Lin. Thinet: A Filter Level Pruning Method for Deep Neural Network Compression. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pp. 5068–5076, 2017.
|
| 224 |
+
|
| 225 |
+
Michael C. Mozer and Paul Smolensky. Using relevance to reduce network size automatically. Connection Science, 1(1):3–16, 1989. doi: 10.1080/09540098908915626. URL https:// doi.org/10.1080/09540098908915626.
|
| 226 |
+
|
| 227 |
+
Yusuke Nagasaka, Satoshi Matsuoka, Ariful Azad, and Aydın Buluc¸. High-performance sparse matrix-matrix products on intel knl and multicore architectures. In Proceedings of the 47th International Conference on Parallel Processing Companion, ICPP ’18, pp. 34:1–34:10, New York, NY, USA, 2018. ACM. ISBN 978-1-4503-6523-9. doi: 10.1145/3229710.3229720. URL http://doi.acm.org/10.1145/3229710.3229720.
|
| 228 |
+
|
| 229 |
+
Z. Pan, W. Yu, X. Yi, A. Khan, F. Yuan, and Y. Zheng. Recent progress on generative adversarial networks (gans): A survey. IEEE Access, 7:36322–36333, 2019. doi: 10.1109/ACCESS.2019. 2905015.
|
| 230 |
+
|
| 231 |
+
Jongsoo Park, Sheng R. Li, Wei Wen, Hai Li, Yiran Chen, and Pradeep Dubey. Holistic sparsecnn: Forging the trident of accuracy, speed, and size. CoRR, abs/1608.01409, 2016. URL http: //arxiv.org/abs/1608.01409.
|
| 232 |
+
|
| 233 |
+
Esteban Real, Alok Aggarwal, Yanping Huang, and Quoc V Le. Regularized evolution for image classifier architecture search. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 4780–4789, 2019.
|
| 234 |
+
|
| 235 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision, 115(3):211– 252, December 2015. ISSN 0920-5691. doi: 10.1007/s11263-015-0816-y. URL http: //dx.doi.org/10.1007/s11263-015-0816-y.
|
| 236 |
+
|
| 237 |
+
M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4510–4520, June 2018. doi: 10.1109/CVPR.2018.00474.
|
| 238 |
+
|
| 239 |
+
Laurent Sifre and Prof Stephane Mallat. Ecole polytechnique, CMAP phd thesis rigid-motion scattering for image classification, 2014.
|
| 240 |
+
|
| 241 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
|
| 242 |
+
|
| 243 |
+
Mingxing Tan and Quoc V. Le. Efficientnet: Rethinking model scaling for convolutional neural networks. CoRR, abs/1905.11946, 2019. URL http://arxiv.org/abs/1905.11946.
|
| 244 |
+
|
| 245 |
+
Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, and Quoc V. Le. Mnasnet: Platformaware neural architecture search for mobile. CoRR, abs/1807.11626, 2018. URL http:// arxiv.org/abs/1807.11626.
|
| 246 |
+
|
| 247 |
+
Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszar. Faster gaze prediction with ´ dense networks and Fisher pruning. CoRR, abs/1801.05787, 2018. URL http://arxiv. org/abs/1801.05787.
|
| 248 |
+
|
| 249 |
+
Bichen Wu, Xiaoliang Dai, Peizhao Zhang, Yanghan Wang, Fei Sun, Yiming Wu, Yuandong Tian, Peter Vajda, Yangqing Jia, and Kurt Keutzer. Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2019.
|
| 250 |
+
|
| 251 |
+
Carl Yang, Aydm Buluc, and John D. Owens. Design principles for sparse matrix multiplication on the gpu. International European Conference on Parallel and Distributed Computing - EUROPAR, 8 2018.
|
| 252 |
+
|
| 253 |
+
Xiangyu Zhang, Xinyu Zhou, Mengxiao Lin, and Jian Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6848–6856, 2017.
|
| 254 |
+
|
| 255 |
+
Zhong-Qiu Zhao, Peng Zheng, Shou-tao Xu, and Xindong Wu. Object detection with deep learning: A review. IEEE transactions on neural networks and learning systems, 2019.
|
| 256 |
+
|
| 257 |
+
Michael Zhu and Suyog Gupta. To Prune, or Not to Prune: Exploring the Efficacy of Pruning for Model Compression. In International Conference on Learning Representations, 2018.
|
| 258 |
+
|
| 259 |
+
Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings, 2017. URL https://openreview.net/forum? id $=$ r1Ue8Hcxg.
|
| 260 |
+
|
| 261 |
+
Barret Zoph, Vijay Vasudevan, Jonathon Shlens, and Quoc V. Le. Learning transferable architectures for scalable image recognition. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8697–8710, 2017.
|
parse/train/SkgHtkrYPH/SkgHtkrYPH_content_list.json
ADDED
|
@@ -0,0 +1,1430 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "FAST SPARSE CONVNETS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
482,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
398,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
209,
|
| 32 |
+
544,
|
| 33 |
+
224
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Historically, the pursuit of efficient inference has been one of the driving forces behind the research into new deep learning architectures and building blocks. Some of the recent examples include: the squeeze-and-excitation module of (Hu et al., 2018), depthwise separable convolutions in Xception (Chollet, 2017), and the inverted bottleneck in MobileNet v2 (Sandler et al., 2018). Notably, in all of these cases, the resulting building blocks enabled not only higher efficiency, but also higher accuracy, and found wide adoption in the field. In this work, we further expand the arsenal of efficient building blocks for neural network architectures; but instead of combining standard primitives (such as convolution), we advocate for the replacement of these dense primitives with their sparse counterparts. While the idea of using sparsity to decrease the parameter count is not new (Mozer & Smolensky, 1989), the conventional wisdom is that this reduction in theoretical FLOPs does not translate into real-world efficiency gains. We aim to correct this misconception by introducing a family of efficient sparse kernels for several hardware platforms, which we plan to open-source for the benefit of the community. Equipped with our efficient implementation of sparse primitives, we show that sparse versions of MobileNet v1 and MobileNet v2 architectures substantially outperform strong dense baselines on the efficiency-accuracy curve. On Snapdragon 835 our sparse networks outperform their dense equivalents by $1 . 1 - 2 . 2 \\times$ – equivalent to approximately one entire generation of improvement. We hope that our findings will facilitate wider adoption of sparsity as a tool for creating efficient and accurate deep learning architectures. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
241,
|
| 43 |
+
764,
|
| 44 |
+
539
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
565,
|
| 55 |
+
336,
|
| 56 |
+
580
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Convolutional neural networks (CNNs) have proven to be excellent at solving a diverse range of tasks (Bhandare et al., 2016). Standard network architectures are used in classification, segmentation, object detection and generation tasks (Pan et al., 2019; Long et al., 2015; Zhao et al., 2019). Given their wide utility, there has been significant effort to design efficient architectures that are capable of being run on mobile and other low power devices while still achieving high classification accuracy on benchmarks such as ImageNet (Russakovsky et al., 2015). For example, MobileNets (Howard et al., 2017; Sandler et al., 2018) employ the depthwise separable convolutions introduced in (Sifre & Mallat, 2014) to significantly reduce resource requirements over previous architectures. Inference time and computational complexity in these architectures are dominated by the $1 \\times 1$ convolutions, which directly map to matrix-matrix multiplications. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
595,
|
| 66 |
+
825,
|
| 67 |
+
732
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Weight sparsity is generally known to lead (Cheng et al., 2017) to theoretically smaller and more computationally efficient (in terms of number of floating-point operations) models, but it is often disregarded as a practical means of accelerating models because of the misconception that sparse operations cannot be fast enough to achieve actual speedups during inference. In this work we introduce fast kernels for Sparse Matrix-Dense Matrix Multiplication (SpMM) specifically targeted at the accceleration of sparse neural networks. The main distinction of our $\\mathbf { S p M M }$ kernel from prior art (Nagasaka et al., 2018; Yang et al., 2018) is that we focus on a different point in the design space. While prior work focused on extremely sparse problems (typically ${ > } 9 9 \\%$ , found in scientific and graph problems), we target the sparsity range of $\\bar { 7 } 0 { - } 9 5 \\%$ , more common when inducing weight sparsity in neural networks. As a result our kernels outperform both the Intel MKL (Intel, 2009) and the TACO compiler (Kjolstad et al., 2017). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
739,
|
| 77 |
+
825,
|
| 78 |
+
888
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Using these kernels, we demonstrate the effectiveness of weight sparsity across three generations of MobileNet (Howard et al., 2017; Sandler et al., 2018; Tan et al., 2018; Tan & Le, 2019) architectures. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
896,
|
| 88 |
+
823,
|
| 89 |
+
922
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/768643c4b40a648f50103e2de8234d672275a600f8aa66150d8daaf370fb367d.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: MobileNet v1 and v2 and EfficientNet models. Sparse models: blue, dense models: red. Sparse models include the cost of storing the location of non-zeros for sparse tensors as a bitmask converted back into parameter count. That is every 32 values in the bitmask contributes one “parameter”. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
202,
|
| 102 |
+
113,
|
| 103 |
+
794,
|
| 104 |
+
297
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Sparsity leads to an approximately one generation improvement in each architecture, with a sparse EfficientNet significantly more efficient than all previous models. These models represent a new generation of efficient CNNs, which reduces inference times by $1 . 1 - 2 . 2 \\times$ , parameter counts by over $2 \\times$ and number of floating-point operations (FLOPs) by up to $3 \\times$ relative to the previous generations. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
390,
|
| 114 |
+
825,
|
| 115 |
+
459
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "2 RELATED WORK ",
|
| 122 |
+
"text_level": 1,
|
| 123 |
+
"bbox": [
|
| 124 |
+
176,
|
| 125 |
+
478,
|
| 126 |
+
344,
|
| 127 |
+
494
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "Improvements in convolutional network architectures (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; He et al., 2016; Huang et al., 2017), as measured by increased classification accuracy on benchmark tasks such as ImageNet (Russakovsky et al., 2015), have generally been concomitant with increases in model parameter counts, FLOPs and memory requirements. Recently this evolution has led to networks found through neural architecture search (Zoph et al., 2017; Real et al., 2019) which can achieve over $82 \\%$ top-1 accuracy, but require nearly 25 GFLOPs for one inference. ",
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
510,
|
| 137 |
+
825,
|
| 138 |
+
593
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Given these prohibitive inference costs, there have been many lines of work attempting to improve CNN efficiency, which is often defined as one of three metrics: ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
599,
|
| 148 |
+
823,
|
| 149 |
+
627
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "1. Inference speedup on real hardware \n2. Theoretical speedup through FLOPs reduction \n3. Model size reduction ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
210,
|
| 158 |
+
638,
|
| 159 |
+
537,
|
| 160 |
+
690
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "These axes are neither parallel nor orthogonal. The effect of (3) and (2) on (1) in particular can be quite complicated and highly varied depending on the hardware in question. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
173,
|
| 169 |
+
702,
|
| 170 |
+
823,
|
| 171 |
+
731
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "The MobileNet family of architectures (Howard et al., 2017; Sandler et al., 2018) has focused on improving efficiency by taking advantage of the depthwise separable convolutions introduced in (Sifre & Mallat, 2014), which can be thought of as a hand-crafted sparsification of full convolutions with a predefined sparse topology, and which are responsible for the parameter efficiency of these architectures. MobileNet v1 (MBv1) used layers of $1 \\times 1$ convolutions followed by depthwise convolutions. MobileNet v2 (MBv2) introduced the inverted residual block which consists of a $1 \\times 1$ convolution expanding the channel count, a depthwise convolution on the expanded channel count, and then a $1 \\times 1$ convolution reducing the parameter count. Across MobileNet architectures, the depthwise convolutions account for only a small fraction of the total FLOPs, parameters, and inference time of these models. In MBv1, they account for less than $2 \\%$ of the total FLOPs and in MBv2 less than $3 \\%$ . ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
737,
|
| 181 |
+
825,
|
| 182 |
+
887
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "A different line of work attempted to make more efficient CNNs by directly pruning the weights of full convolutional filters accompanied by the necessary inference kernels (Park et al., 2016; Liu et al., 2015). Park et al. (2016) was not able to accelerate $1 \\times 1$ convolutions, Liu et al. (2015) did not attempt it. The latter also required generating a new set of kernels for each instance of a model, which is often impractical for deployment. Due to the difficultly of accelerating sparse computation, channel pruning approaches have been preferred (Gordon et al., 2018; Dai et al., 2018; Luo et al., 2017; Louizos et al., 2018; Theis et al., 2018; He et al., 2018). These approaches prune away entire filters leaving the final model dense, and function more as an architecture search over channel counts. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
171,
|
| 191 |
+
893,
|
| 192 |
+
823,
|
| 193 |
+
921
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "image",
|
| 199 |
+
"img_path": "images/1de64d6d12d49e76835e08cf1c6c167b10b266c2dbaa3a3429f353302587b36a.jpg",
|
| 200 |
+
"image_caption": [
|
| 201 |
+
"Figure 2: Sparse 1x1 Convolution as SpMM. Left: Unstructured sparsity (or block size 1). Right: Output channel block size of 4 "
|
| 202 |
+
],
|
| 203 |
+
"image_footnote": [],
|
| 204 |
+
"bbox": [
|
| 205 |
+
179,
|
| 206 |
+
104,
|
| 207 |
+
825,
|
| 208 |
+
218
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "",
|
| 215 |
+
"bbox": [
|
| 216 |
+
174,
|
| 217 |
+
282,
|
| 218 |
+
825,
|
| 219 |
+
377
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "Full Neural Architecture Search has also been applied directly to architectures resembling MBv2 resulting in MobileNet v3 (Tan et al., 2018), FBNet (Wu et al., 2019), and EfficientNet (Tan & Le, 2019). ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
385,
|
| 229 |
+
825,
|
| 230 |
+
425
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "Alternatively, factorizations of the $1 \\times 1$ convolutions have been considered in ShuffleNet (Zhang et al., 2017) and Learnable Butterfly Factorizations (Dao et al., 2019). ShuffleNet factorizes the weight matrix into a product of a permutation matrix and block diagonal matrix. Butterfly Factorizations factorize the weight matrix into a sequence of permutation matrices and weight matrices with special structure that can represent many common $\\bar { O } ( N l o g N )$ transforms such as Fast Fourier Transforms. ",
|
| 237 |
+
"bbox": [
|
| 238 |
+
174,
|
| 239 |
+
433,
|
| 240 |
+
823,
|
| 241 |
+
513
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "Work in Text-to-Speech (TTS) (Kalchbrenner et al., 2018) demonstrated that increasing sparsity and concomitant increase in state size in RNN models lead to increased model quality for a given non-zero parameter count. They additionally demonstrated fast block-sparse matrix-vector (SpMV) multiplication routines necessary for RNN inference. ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
174,
|
| 250 |
+
522,
|
| 251 |
+
825,
|
| 252 |
+
577
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "3 METHODS ",
|
| 259 |
+
"text_level": 1,
|
| 260 |
+
"bbox": [
|
| 261 |
+
174,
|
| 262 |
+
597,
|
| 263 |
+
290,
|
| 264 |
+
613
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "To understand how to design the most efficient convolutional models, we investigate both how to construct and train sparse MBv1, MBv2 and EfficientNet models and also the performance of our SpMM kernels. ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
176,
|
| 273 |
+
628,
|
| 274 |
+
823,
|
| 275 |
+
670
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "3.1 SPARSIFYING NETWORKS ",
|
| 282 |
+
"text_level": 1,
|
| 283 |
+
"bbox": [
|
| 284 |
+
176,
|
| 285 |
+
685,
|
| 286 |
+
393,
|
| 287 |
+
700
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "We train on the ImageNet (Russakovsky et al., 2015) dataset with standard augmentation and report top-1 accuracies on the provided 50k example validation set. To make the networks sparse we use the gradual magnitude pruning technique of (Zhu & Gupta, 2018). ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
174,
|
| 296 |
+
712,
|
| 297 |
+
823,
|
| 298 |
+
753
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "We do not prune the first dense convolution at the beginning of all three networks. Its overall contribution to the parameter count, FLOP count, and runtime is small and does not warrant introducing a new sparse operator. Instead, we implement a dense convolutional kernel which takes as input the image in the standard HWC layout and outputs the CHW layout consumed by the sparse operators in the rest of the network. In HWC layout, the values for different channels corresponding to one spatial location are adjacent in memory. In CHW layout, the values of all the spatial locations for one channel are adjacent in memory. ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
174,
|
| 307 |
+
761,
|
| 308 |
+
825,
|
| 309 |
+
856
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "We also do not prune the squeeze-excitation (Hu et al., 2018) blocks in EfficientNet as they contribute ${ < } 1 \\%$ of the total FLOPs to the dense model. The last fully-connected layer in all models also contributes insignificantly $( < 1 \\% )$ to the total FLOP count, but does contribute a significant fraction $( 2 0 - 5 0 \\% )$ of total parameters, especially after the rest of the model is pruned. As we are concerned with maximizing top-1 accuracy for a given runtime, we do not prune the final layer in MobileNet v1 and v2 as doing so leads to a small decrease in top-1 accuracy. Standard EfficientNets do not scale the number of filters in the last convolution by the width of the model, however we find that when introducing sparsity it is beneficial to do this; in all sparse EfficientNet models we double the units from 1280 to 2560. We also find that it is possible to make the fully-connected layer sparse without loss of accuracy in EfficientNet, so we do so. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
176,
|
| 318 |
+
863,
|
| 319 |
+
823,
|
| 320 |
+
917
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "image",
|
| 326 |
+
"img_path": "images/da03981655f6665941f3caadd1aaf775acf28a3e2ac9da30bac322f9e308566f.jpg",
|
| 327 |
+
"image_caption": [
|
| 328 |
+
"Figure 3: Visualization of the memory reads and writes of our algorithm. In step 1, we load 8 spatial locations simultaneously for each of the non-zero weights in the first row of the weight matrix. We multiply each scalar weight by its corresponding row, accumulate the results, and in the end write them out. Step 2 performs the same calculation for the next output channel. After steps 1 and 2, all values for these spatial locations are in the cache, so future loads in steps 3 and 4 will be fast, despite being random access. "
|
| 329 |
+
],
|
| 330 |
+
"image_footnote": [],
|
| 331 |
+
"bbox": [
|
| 332 |
+
176,
|
| 333 |
+
101,
|
| 334 |
+
825,
|
| 335 |
+
157
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 3
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "",
|
| 342 |
+
"bbox": [
|
| 343 |
+
174,
|
| 344 |
+
276,
|
| 345 |
+
825,
|
| 346 |
+
359
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 3
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "3.2 KERNEL IMPLEMENTATION ",
|
| 353 |
+
"text_level": 1,
|
| 354 |
+
"bbox": [
|
| 355 |
+
176,
|
| 356 |
+
376,
|
| 357 |
+
403,
|
| 358 |
+
390
|
| 359 |
+
],
|
| 360 |
+
"page_idx": 3
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"type": "text",
|
| 364 |
+
"text": "A diagram of the $1 \\times 1$ convolution as a SpMM is seen in figure 2. Our scheme requires activation tensors be stored in CHW format, in contrast to dense mobile inference libraries (Jacob, 2017; Dukhan et al., 2019; Jacob, 2019) which favor HWC. ",
|
| 365 |
+
"bbox": [
|
| 366 |
+
174,
|
| 367 |
+
401,
|
| 368 |
+
825,
|
| 369 |
+
443
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "text",
|
| 375 |
+
"text": "There are two key insights enabling the high performance of our kernels: ",
|
| 376 |
+
"bbox": [
|
| 377 |
+
176,
|
| 378 |
+
449,
|
| 379 |
+
650,
|
| 380 |
+
464
|
| 381 |
+
],
|
| 382 |
+
"page_idx": 3
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"type": "text",
|
| 386 |
+
"text": "1. While the weight matrix is sparse, the activation matrix is dense. This means that we can perform vector loads from the activation matrix and process multiple spatial locations simultaneously. 2. By processing the matrix in the right order we can keep values that will be randomly accessed in the L1 cache, from which random access is fast and constant time. ",
|
| 387 |
+
"bbox": [
|
| 388 |
+
209,
|
| 389 |
+
476,
|
| 390 |
+
823,
|
| 391 |
+
550
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "Figure 3 shows the memory read and write patterns of a few steps of the kernel. The figure shows 8 elements being processed together but other values are possible and we also implement 4 and 16. The outer loop is over columns and the inner loop is over rows; this allows each strip of 4, 8 or 16 spatial locations in the activations to remain in the L1 cache until it is no longer needed. In figure 3 steps 1 and 2 prime the cache, while subsequent steps 3 and 4 load all right hand side values from the L1 cache. ",
|
| 398 |
+
"bbox": [
|
| 399 |
+
174,
|
| 400 |
+
561,
|
| 401 |
+
825,
|
| 402 |
+
643
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "In addition to the vectorization in the $H W$ dimension, taking advantage of small amounts of structure in the weight matrix can offer significant performance boosts by increasing data reuse after values are loaded into registers. Constraining the sparsity pattern so that multiple output or input channels all share the same zero/non-zero pattern creates ‘blocks’ in the weight matrix (see figure 3 right). Blocks in the output channel dimension allow for more data reuse than blocks in the input channel dimension. Experiments (see figure 6) show that either choice has the same effect on accuracy, so we implement output channel blocking with sizes of 2 and 4. Our nomenclature for kernels is to give their spatial vectorization width followed by the output channel block size $- 1 6 \\times 2$ means 16 pixels and 2 output channels are processed in the inner loop. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
650,
|
| 412 |
+
825,
|
| 413 |
+
773
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "We implement the ARM kernels in C with NEON intrinsics unlike current production libraries (Jacob, 2017; Dukhan et al., 2019; Jacob, 2019) which rely on expert-optimized assembly. As reference, the code for the $4 \\times 1$ inner loop is available in appendix A. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
178,
|
| 422 |
+
780,
|
| 423 |
+
820,
|
| 424 |
+
821
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "3.3 LIBRARY ",
|
| 431 |
+
"text_level": 1,
|
| 432 |
+
"bbox": [
|
| 433 |
+
176,
|
| 434 |
+
838,
|
| 435 |
+
279,
|
| 436 |
+
852
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "We provide a library that can run sparse models trained with the model pruning library in TensorFlow (Abadi et al., 2015). This includes conversion from a dense representation to a Block Compressed Sparse Row (BCSR)-like representation suitable for inference. In addition to the high performance $1 \\times 1$ convolutions, we also provide all supporting CHW kernels – depthwise convolutions, global average pooling and a $3 \\times 3$ stride-2 dense convolution – necessary for running all three generations of models. While we provide high performance versions of these kernels, we do not detail them here. They are included in end-to-end measurements. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
176,
|
| 445 |
+
864,
|
| 446 |
+
823,
|
| 447 |
+
919
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "image",
|
| 453 |
+
"img_path": "images/2c914fc93fcd7c7874de5f6a5570203dedee21ec0aaac10f59265e4c7d76da34.jpg",
|
| 454 |
+
"image_caption": [
|
| 455 |
+
"Figure 4: FLOPs with increasing layer depth. All measurements taken on a Snapdragon (SD) 835. "
|
| 456 |
+
],
|
| 457 |
+
"image_footnote": [],
|
| 458 |
+
"bbox": [
|
| 459 |
+
202,
|
| 460 |
+
117,
|
| 461 |
+
799,
|
| 462 |
+
315
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "",
|
| 469 |
+
"bbox": [
|
| 470 |
+
176,
|
| 471 |
+
368,
|
| 472 |
+
823,
|
| 473 |
+
410
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "4 RESULTS ",
|
| 480 |
+
"text_level": 1,
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
429,
|
| 484 |
+
281,
|
| 485 |
+
445
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "In the main text we mainly include results for MBv1 and MBv2 due to space limitations. EfficientNets generally follow the same trends as MBv2 models, plots for EfficientNet can be found in appendix C. ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
174,
|
| 494 |
+
460,
|
| 495 |
+
825,
|
| 496 |
+
502
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "First we reveal performance results for our SpMM kernels, then we show how the networks respond to sparsity and then finally we combine this information to find the models with the lowest inference time. ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
174,
|
| 505 |
+
508,
|
| 506 |
+
825,
|
| 507 |
+
550
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "4.1 ARM KERNEL PERFORMANCE ",
|
| 514 |
+
"text_level": 1,
|
| 515 |
+
"bbox": [
|
| 516 |
+
176,
|
| 517 |
+
568,
|
| 518 |
+
428,
|
| 519 |
+
582
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 4
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "We use Ruy (Jacob, 2019), the current TensorFlow Lite ARM64 backend written largely in handcoded assembly, as the dense baseline. For a sparse baseline we use the kernel generated by the TACO compiler (Kjolstad et al., 2017). We present results by plotting the FLOPs achieved at each layer in the model, with increasing depth to the right in figure 4. For MBv1 we use a width multiplier of 1.4 and $90 \\%$ sparse and for MBV2 we use a width multiplier of 1.4 and $80 \\%$ sparse as these configurations approximately match the top-1 accuracy of the width 1 dense models. The kernel variants that process 16 spatial locations at a time (e.g. $1 6 \\times 1$ , etc.) are the highest performing and all reported numbers are from these kernel variants. TACO only supports unstructured sparsity and should be compared with the $\\beth 6 \\times \\beth$ kernels. ",
|
| 526 |
+
"bbox": [
|
| 527 |
+
174,
|
| 528 |
+
593,
|
| 529 |
+
825,
|
| 530 |
+
715
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 4
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "The raw performance of the sparse kernels falls in the range of $40 { - } 9 0 \\%$ of the dense kernels. And as they must do much less work, when taking the sparsity of the layer into account, the effective FLOPs are in the $2 { - } 7 \\times$ range. In MBv1 performance falls significantly in the last two layers of the model when the number of channels (1024) causes the size of one “strip” of spatial locations to exceed the size of the L1 cache. In MBv2 the sawtooth pattern is caused by the alternating expand and contract operations. The performance is higher for the expand kernels due to greater data reuse of each “strip” that is brought into the L1 cache. ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
174,
|
| 539 |
+
723,
|
| 540 |
+
825,
|
| 541 |
+
819
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "4.2 X86-64 KERNEL PERFORMANCE ",
|
| 548 |
+
"text_level": 1,
|
| 549 |
+
"bbox": [
|
| 550 |
+
178,
|
| 551 |
+
835,
|
| 552 |
+
441,
|
| 553 |
+
849
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "We implement an AVX-512 version of our scheme with intrinsics to compare with the Intel MKL (Intel, 2009) SpMM. Results are in figure 5. In the majority of layers our scheme outperforms the MKL. The geometric mean speedup over all layers is 1.20 in both MBv1 and MBv2. ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
176,
|
| 562 |
+
861,
|
| 563 |
+
823,
|
| 564 |
+
902
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "image",
|
| 570 |
+
"img_path": "images/b6c45c9416d3f0ac6d6c761e8eb479eb446169d3b083c2f67404b9191619ddb8.jpg",
|
| 571 |
+
"image_caption": [
|
| 572 |
+
"Figure 5: FLOPs with increasing layer depth. Measurements taken on an Intel Xeon W-2135. "
|
| 573 |
+
],
|
| 574 |
+
"image_footnote": [],
|
| 575 |
+
"bbox": [
|
| 576 |
+
202,
|
| 577 |
+
118,
|
| 578 |
+
795,
|
| 579 |
+
314
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "image",
|
| 585 |
+
"img_path": "images/c98b84fb2984a8ce8f09802ba2592c14a82879a3f5637a60da4f466ea6dc9ee2.jpg",
|
| 586 |
+
"image_caption": [
|
| 587 |
+
"Figure 6: Effect of block size on top-1 accuracy. It only matters how many elements are in a block, the configuration is unimportant. "
|
| 588 |
+
],
|
| 589 |
+
"image_footnote": [],
|
| 590 |
+
"bbox": [
|
| 591 |
+
200,
|
| 592 |
+
371,
|
| 593 |
+
795,
|
| 594 |
+
536
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "4.3 MODEL PERFORMANCE ",
|
| 601 |
+
"text_level": 1,
|
| 602 |
+
"bbox": [
|
| 603 |
+
176,
|
| 604 |
+
603,
|
| 605 |
+
379,
|
| 606 |
+
616
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 5
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "The hyper-parameters used to train MBv1 and MBv2 are listed in table 2, they were found with a grid search on dense models with a width multiplier of 1.0 to reproduce the original results, which used RMSProp, with SGD with momentum. The same hyper-parameters are used to train sparse models. This change allows us to match or exceed the reported accuracies with only $4 5 \\mathrm { k }$ iterations of training. ",
|
| 613 |
+
"bbox": [
|
| 614 |
+
174,
|
| 615 |
+
628,
|
| 616 |
+
825,
|
| 617 |
+
698
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "The hyper-parameters used to train EfficientNet are largely unmodified from their code release, with the exception of extending training from 350 to 550 epochs and increasing the learning rate decay exponent to .985 from .97 so that the learning rate decays more slowly. These changes do not improve the dense baseline. ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
174,
|
| 626 |
+
703,
|
| 627 |
+
823,
|
| 628 |
+
758
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "We induce sparsity in MBv1 and MBv2 by starting the sparsification process at iteration 7,000 and stopping at 28,000 with a pruning frequency of 2,000. For EfficientNet we start at iteration 23,000 and end at iteration 105,000, also with a pruning frequency of 2,000. ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
176,
|
| 637 |
+
765,
|
| 638 |
+
823,
|
| 639 |
+
808
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "We train on the ImageNet (Russakovsky et al., 2015) dataset with standard data augmentation. Top-1 accuracies are reported on the validation set with center single-crops. ",
|
| 646 |
+
"bbox": [
|
| 647 |
+
171,
|
| 648 |
+
813,
|
| 649 |
+
821,
|
| 650 |
+
842
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 5
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "text",
|
| 656 |
+
"text": "To understand the effect of block size, we plot in figure 6 accuracy against flops for different block sizes. In these plots, every sparse tensor in the network uses the same output channel block size. The tradeoff for block sparsity only appears to involve how many elements are in each block, and not their configuration. For example, in MBv1, the $1 \\times 4$ , $4 \\times 1$ and $2 \\times 2$ curves all lie on top of one another. The loss in accuracy due to blocking seems to decrease slightly for larger width models. ",
|
| 657 |
+
"bbox": [
|
| 658 |
+
174,
|
| 659 |
+
848,
|
| 660 |
+
825,
|
| 661 |
+
917
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 5
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "image",
|
| 667 |
+
"img_path": "images/09c9cc79d70434e98c44f4a4bc5600c27a87cde93b25f6c6814dab0d90fef9d1.jpg",
|
| 668 |
+
"image_caption": [
|
| 669 |
+
"Figure 7: Effect of sparsity on top-1 accuracy. The sparser a model is, the fewer flops it requires to achieve a given Top-1 accuracy. "
|
| 670 |
+
],
|
| 671 |
+
"image_footnote": [],
|
| 672 |
+
"bbox": [
|
| 673 |
+
202,
|
| 674 |
+
117,
|
| 675 |
+
794,
|
| 676 |
+
284
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 6
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "image",
|
| 682 |
+
"img_path": "images/8c1dd0f325bbe87b6efc5642f1e222319a6579f93f9c9836e15fcf70671329d2.jpg",
|
| 683 |
+
"image_caption": [
|
| 684 |
+
"Figure 8: The $\\mathbf { X }$ -axis corresponds to turning that layer and all following layers to block size 4, the prior layers are unstructured. The y-axis is the efficiency of making this change over an unstructured model given as a ratio where the numerator is the speedup of changing the block(s) from unstructured to block size 4 and the denominator is the decrease in top-1 accuracy that occurs by making this change. "
|
| 685 |
+
],
|
| 686 |
+
"image_footnote": [],
|
| 687 |
+
"bbox": [
|
| 688 |
+
200,
|
| 689 |
+
352,
|
| 690 |
+
794,
|
| 691 |
+
527
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 6
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "To understand how the sparsity level affects the efficiency of the models, we train models at $70 \\%$ , $80 \\%$ and $90 \\%$ unstructured sparsity which is constant throughout the model. The results are plotted in figure 7. MBv1 and MBv2 are more efficient the more sparse they become, confirming that the results of Kalchbrenner et al. (2018) hold not just for RNNs, but also for convolutional models as well. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
635,
|
| 701 |
+
825,
|
| 702 |
+
703
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 6
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "In figure 1 we plot Top-1 accuracy vs. FLOPs for all three generations of sparse and dense models. MobileNet v1 is $90 \\%$ sparse, the other models are $80 \\%$ sparse. A sparse MBv1 exceeds MBv2 in terms of FLOP and parameter efficiency; a sparse MBv2 matches EfficientNet in terms of FLOP and parameter efficiency; and a sparse EfficientNet exceeds all other models in both categories. ",
|
| 709 |
+
"bbox": [
|
| 710 |
+
174,
|
| 711 |
+
709,
|
| 712 |
+
825,
|
| 713 |
+
765
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 6
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "4.4 MODEL DESIGN ",
|
| 720 |
+
"text_level": 1,
|
| 721 |
+
"bbox": [
|
| 722 |
+
174,
|
| 723 |
+
782,
|
| 724 |
+
326,
|
| 725 |
+
796
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "To design the models with the best top-1 accuracy vs. inference time frontiers we make the following assumptions to reduce the search space: ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
808,
|
| 735 |
+
823,
|
| 736 |
+
837
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "1. We leave the models themselves unchanged. \n2. We consider only block size 1 and block size 4 variants. \n3. We induce the same level of sparsity in all $1 \\times 1$ convolutions. ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
210,
|
| 745 |
+
847,
|
| 746 |
+
642,
|
| 747 |
+
900
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 6
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "table",
|
| 753 |
+
"img_path": "images/10dcbef08ee3923edde6aeb3513732816ddf3496cd00d4a1237c81fcba5860e0.jpg",
|
| 754 |
+
"table_caption": [
|
| 755 |
+
"Table 1: All input image sizes are $2 2 4 \\mathbf { x } 2 2 4$ . Sparse MBv1 models are $90 \\%$ sparse, Sparse MBv2 models are $80 \\%$ sparse. In sparse MBv1 models, layer 12 uses a block size of 4. This is almost as efficient as the models in 4.4 and matches the top-1 scores of the dense models more closely. In sparse MBv2 width multiplier 2.0 model, layers 14-16 use block size of 4. In all other MBv2 models, layers 11-16 use a block size of 4. "
|
| 756 |
+
],
|
| 757 |
+
"table_footnote": [],
|
| 758 |
+
"table_body": "<table><tr><td></td><td>Model</td><td>Width</td><td>Top-1</td><td>Mega-Params</td><td>Time (ms) SD835</td><td>Time (ms) SD670</td></tr><tr><td rowspan=\"2\">MBv1</td><td>Dense</td><td>1.0</td><td>70.9</td><td>4.24</td><td>125</td><td>106</td></tr><tr><td>Sparse</td><td>1.4</td><td>72.0</td><td>2.31</td><td>63</td><td>63</td></tr><tr><td rowspan=\"2\">MBv1</td><td>Dense</td><td>.75</td><td>68.4</td><td>2.59</td><td>73</td><td>64</td></tr><tr><td>Sparse</td><td>1.0</td><td>68.4</td><td>1.48</td><td>33</td><td>34</td></tr><tr><td rowspan=\"2\">MBv1</td><td>Dense</td><td>.5</td><td>63.3</td><td>1.34</td><td>36</td><td>33</td></tr><tr><td>Sparse</td><td>.75</td><td>64.4</td><td>1.29</td><td>21</td><td>20</td></tr><tr><td rowspan=\"2\">MBv2</td><td>Dense</td><td>1.4</td><td>75.0</td><td>6.06</td><td>150</td><td>129</td></tr><tr><td>Sparse</td><td>2.0</td><td>74.9</td><td>4.63</td><td>127</td><td>118</td></tr><tr><td rowspan=\"2\">MBv2</td><td>Dense</td><td>1.0</td><td>71.8</td><td>3.47</td><td>83</td><td>74</td></tr><tr><td>Sparse</td><td>1.4</td><td>72.0</td><td>2.86</td><td>63</td><td>56</td></tr><tr><td rowspan=\"2\">MBv2</td><td>Dense</td><td>.75</td><td>69.8</td><td>2.61</td><td>64</td><td>57</td></tr><tr><td>Sparse</td><td>1.0</td><td>68.6</td><td>1.85</td><td>35</td><td>33</td></tr><tr><td rowspan=\"2\">MBv2</td><td>Dense</td><td>.5</td><td>65.4</td><td>2.61</td><td>33</td><td>30</td></tr><tr><td>Sparse</td><td>.75</td><td>65.2</td><td>1.65</td><td>29</td><td>25</td></tr></table>",
|
| 759 |
+
"bbox": [
|
| 760 |
+
181,
|
| 761 |
+
99,
|
| 762 |
+
815,
|
| 763 |
+
358
|
| 764 |
+
],
|
| 765 |
+
"page_idx": 7
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"type": "text",
|
| 769 |
+
"text": "Then we do a search at width multiplier 1.4 over $N$ models when there are $N$ residual blocks in a model. An $\\mathbf { X }$ -axis location of $n$ corresponds to a model in which the first $n$ residual blocks are unstructured and the last $N - n$ residual blocks have an output channel block size of 4. We train each model, note its top-1 accuracy and then measure its inference time. From this we can calculate the ratio of inference time reduction relative to a fully unstructured model and top-1 lost, which are plotted in figure 9. We choose the model with the highest ratio and train models at all widths with this choice. This amounts to making layers 6 and deeper block size 4 in MBv1 models and layers 11 and deeper block size 4 in MBv2. ",
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
462,
|
| 773 |
+
825,
|
| 774 |
+
571
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 7
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "A full Neural Architecture Search (Zoph & Le, 2017; Liu et al., 2019) will likely lead to even more efficient models, but we leave this to future work. ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
174,
|
| 783 |
+
579,
|
| 784 |
+
821,
|
| 785 |
+
606
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 7
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "Table 1 contains the timings for running our sparse models on a single big core of two different processors, a Snapdragon 835 and a Snapdragon 670. We compare them with MBv1 and MBv2 models from their official repositories (Google, 2018a;b) run on the dense-inference TF Lite framework with the standard Ruy backend. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
613,
|
| 795 |
+
823,
|
| 796 |
+
667
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 7
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "5 CONCLUSION ",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
176,
|
| 806 |
+
689,
|
| 807 |
+
318,
|
| 808 |
+
704
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 7
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "We demonstrate that for a constant computational budget, sparse convolutional networks are more accurate than dense ones; this corroborates the findings of Kalchbrenner et al. (2018), which demonstrated that for a set number of floating-point operations, sparse RNNs are more accurate than dense RNNs. We enable the use of weight sparsity to accelerate state-of-the-art convolutional networks by providing fast SpMM kernels along with all necessary supporting kernels for ARM processors. On Snapdragon 835 the sparse networks we present in this paper outperform their dense equivalents by $1 . 1 - 2 . 2 \\times$ – equivalent to approximately one entire generation of improvement. By overturning the misconception that “sparsity is slow”, we hope to open new avenues of research that would previously not be considered. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
173,
|
| 817 |
+
719,
|
| 818 |
+
825,
|
| 819 |
+
843
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 7
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "A CODE LISTING ",
|
| 826 |
+
"text_level": 1,
|
| 827 |
+
"bbox": [
|
| 828 |
+
176,
|
| 829 |
+
863,
|
| 830 |
+
334,
|
| 831 |
+
878
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 7
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "We present the code for the $4 \\times 1$ kernel here for reference. ARM intrinsics have been renamed for clarity and casts have been removed for brevity. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
174,
|
| 840 |
+
893,
|
| 841 |
+
823,
|
| 842 |
+
922
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 7
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "size_t $\\mathrm { ~ n ~ } = \\mathrm { ~ H W ~ }$ ; \nwhile $\\mathrm { ~ ~ { ~ \\langle ~ n ~ \\rangle ~ } ~ } ! = \\mathrm { ~ ~ { ~ 0 ~ } ~ }$ ) { // Loop over spatial positions float $\\star$ w; // Weights, non-zeros are stored consecutively int32_t $\\star$ widx_dmap; // Deltas between columns in bytes uint32_t $\\star$ nnzmap; // Non-zeros per row size_t k $=$ OutputChannels; do { // Loop over output channels uint32_t nnz $=$ \\*nnzmap++; // This next line loads the bias float32x4_t vacc $=$ load_1_f32_value_and_broadcast $( \\mathbb { W } ^ { + + } )$ ; while (nnz-- ! $\\ : \\ 0$ ) { // Loop over non-zero input channels intptr_t diff $=$ \\*dmap++; // get delta in bytes and advance float32x4_t vx $=$ load_4_f32_values(x); // Load activations x $+ =$ diff; // advance the activations for the next non-zero float32x4_t vw $=$ load_1_f32_value_and_broadcast $( \\mathbb { w } + + )$ ; vacc $=$ multiply_add_4_f32(vacc, vx, vw); // vacc $\\begin{array} { r l } { + = } & { { } \\nabla \\times } \\end{array}$ \\* vw } store_4_f32_values(y, vacc); y $+ =$ HW; // advance down the output strip } while $\\mathrm { ~ ~ \\omega ~ } : = \\mathrm { ~ ~ 0 ~ }$ ); // Reset pointers for the next strip of spatial locations \ny $- =$ OutputChannels $\\star$ HW; y $+ = 4$ ; x $+ = 4$ ; $\\mathrm { ~ n ~ \\ -- = ~ 4 ~ }$ ; \n} ",
|
| 849 |
+
"bbox": [
|
| 850 |
+
191,
|
| 851 |
+
133,
|
| 852 |
+
812,
|
| 853 |
+
449
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 8
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "B HYPER PARAMETERS ",
|
| 860 |
+
"text_level": 1,
|
| 861 |
+
"bbox": [
|
| 862 |
+
174,
|
| 863 |
+
483,
|
| 864 |
+
387,
|
| 865 |
+
500
|
| 866 |
+
],
|
| 867 |
+
"page_idx": 8
|
| 868 |
+
},
|
| 869 |
+
{
|
| 870 |
+
"type": "table",
|
| 871 |
+
"img_path": "images/f5173eb91312159b2a31c21ee4648447a413c5f8574dcf3f294a3e60966521de.jpg",
|
| 872 |
+
"table_caption": [
|
| 873 |
+
"Table 2: Hyper-parameters for MBv1 and MBv2 training. Learning rates are specified in a reduced space and then multiplied by a factor of 16 due to the batch size. "
|
| 874 |
+
],
|
| 875 |
+
"table_footnote": [],
|
| 876 |
+
"table_body": "<table><tr><td></td><td>MBv1</td><td>MBv2</td></tr><tr><td>learning rate</td><td>.35 *16= 5.6</td><td>.24 *16= 3.84</td></tr><tr><td>momentum</td><td>0.9</td><td>0.92</td></tr><tr><td>12 coefficient</td><td>5e-5</td><td>4e-5</td></tr></table>",
|
| 877 |
+
"bbox": [
|
| 878 |
+
325,
|
| 879 |
+
518,
|
| 880 |
+
668,
|
| 881 |
+
587
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "C EFFICIENTNET PLOTS ",
|
| 888 |
+
"text_level": 1,
|
| 889 |
+
"bbox": [
|
| 890 |
+
174,
|
| 891 |
+
656,
|
| 892 |
+
392,
|
| 893 |
+
672
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 8
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "Here we present the plots for EfficientNet corresponding to those in the main text for scaling with sparsity and block size. The same trend for block size is observed - the configuration of the blocks isn’t important, only the total size of the block. EfficientNet exhibits less improvement as sparsity increases. ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
174,
|
| 902 |
+
688,
|
| 903 |
+
825,
|
| 904 |
+
742
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 8
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "REFERENCES ",
|
| 911 |
+
"text_level": 1,
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
763,
|
| 915 |
+
287,
|
| 916 |
+
779
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 8
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
178,
|
| 925 |
+
786,
|
| 926 |
+
825,
|
| 927 |
+
909
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 8
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "image",
|
| 933 |
+
"img_path": "images/48393732b4c5652a71f98c4f9db45179e073f49780b9d2454071b950283dab9b.jpg",
|
| 934 |
+
"image_caption": [
|
| 935 |
+
"Figure 9: (left) EfficientNet scaling with block size. (right) EfficientNet scaling with sparsity. "
|
| 936 |
+
],
|
| 937 |
+
"image_footnote": [],
|
| 938 |
+
"bbox": [
|
| 939 |
+
202,
|
| 940 |
+
114,
|
| 941 |
+
794,
|
| 942 |
+
297
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 9
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "text",
|
| 948 |
+
"text": "Ashwin Bhandare, Maithili Bhide, Pranav Gokhale, and Rohan Chandavarkar. Applications of convolutional neural networks. International Journal of Computer Science and Information Technologies, 7(5):2206–2215, 2016. ",
|
| 949 |
+
"bbox": [
|
| 950 |
+
174,
|
| 951 |
+
349,
|
| 952 |
+
825,
|
| 953 |
+
391
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 9
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Yu Cheng, Duo Wang, Pan Zhou, and Tao Zhang. A survey of model compression and acceleration for deep neural networks. arXiv preprint arXiv:1710.09282, 2017. ",
|
| 960 |
+
"bbox": [
|
| 961 |
+
174,
|
| 962 |
+
400,
|
| 963 |
+
821,
|
| 964 |
+
429
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 9
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "F. Chollet. Xception: Deep learning with depthwise separable convolutions. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 1800–1807, July 2017. doi: 10.1109/CVPR.2017.195. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
438,
|
| 974 |
+
821,
|
| 975 |
+
479
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 9
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "Bin Dai, Chen Zhu, Baining Guo, and David Wipf. Compressing neural networks using the variational information bottleneck. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 1135–1144, Stockholmsmssan, Stockholm Sweden, 10–15 Jul 2018. PMLR. URL http://proceedings.mlr.press/v80/dai18d.html. ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
174,
|
| 984 |
+
488,
|
| 985 |
+
825,
|
| 986 |
+
558
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 9
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "text",
|
| 992 |
+
"text": "Tri Dao, Albert Gu, Matthew Eichhorn, Atri Rudra, and Christopher Re. Learning fast algorithms ´ for linear transforms using butterfly factorizations. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, 9-15 June 2019, Long Beach, California, USA, pp. 1517–1527, 2019. URL http://proceedings.mlr.press/v97/dao19a.html. ",
|
| 993 |
+
"bbox": [
|
| 994 |
+
173,
|
| 995 |
+
565,
|
| 996 |
+
825,
|
| 997 |
+
622
|
| 998 |
+
],
|
| 999 |
+
"page_idx": 9
|
| 1000 |
+
},
|
| 1001 |
+
{
|
| 1002 |
+
"type": "text",
|
| 1003 |
+
"text": "Marat Dukhan, Yiming Wu, and Hao Lu. Qnnpack: Open source library for optimized mobile deep learning, 2019. URL https://engineering.fb.com/ml-applications/ qnnpack/. ",
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
173,
|
| 1006 |
+
631,
|
| 1007 |
+
823,
|
| 1008 |
+
672
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "Google, 2018a. URL https://github.com/tensorflow/models/blob/master/ research/slim/nets/mobilenet_v1.md. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
171,
|
| 1017 |
+
681,
|
| 1018 |
+
823,
|
| 1019 |
+
710
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "Google, 2018b. URL https://github.com/tensorflow/models/tree/master/ research/slim/nets/mobilenet. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
173,
|
| 1028 |
+
718,
|
| 1029 |
+
821,
|
| 1030 |
+
747
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 9
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "A. Gordon, E. Eban, O. Nachum, B. Chen, H. Wu, T. Yang, and E. Choi. Morphnet: Fast simple resource-constrained structure learning of deep networks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 1586–1595, June 2018. doi: 10.1109/CVPR.2018. 00171. ",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
173,
|
| 1039 |
+
756,
|
| 1040 |
+
825,
|
| 1041 |
+
810
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 9
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pp. 770–778, 2016. ",
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
173,
|
| 1050 |
+
819,
|
| 1051 |
+
825,
|
| 1052 |
+
863
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 9
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li, and Song Han. AMC: automl for model compression and acceleration on mobile devices. In Computer Vision - ECCV 2018 - 15th European Conference, Munich, Germany, September 8-14, 2018, Proceedings, Part VII, pp. 815–832, 2018. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
174,
|
| 1061 |
+
871,
|
| 1062 |
+
826,
|
| 1063 |
+
912
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 9
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. CoRR, abs/1704.04861, 2017. URL http://arxiv.org/abs/ 1704.04861. ",
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
174,
|
| 1072 |
+
103,
|
| 1073 |
+
826,
|
| 1074 |
+
159
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 10
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "text",
|
| 1080 |
+
"text": "J. Hu, L. Shen, and G. Sun. Squeeze-and-excitation networks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7132–7141, June 2018. doi: 10.1109/CVPR.2018. 00745. ",
|
| 1081 |
+
"bbox": [
|
| 1082 |
+
174,
|
| 1083 |
+
166,
|
| 1084 |
+
823,
|
| 1085 |
+
208
|
| 1086 |
+
],
|
| 1087 |
+
"page_idx": 10
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
"type": "text",
|
| 1091 |
+
"text": "G. Huang, Z. Liu, L. v. d. Maaten, and K. Q. Weinberger. Densely connected convolutional networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2261–2269, July 2017. doi: 10.1109/CVPR.2017.243. ",
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
176,
|
| 1094 |
+
215,
|
| 1095 |
+
823,
|
| 1096 |
+
257
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 10
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "Intel. Intel Math Kernel Library. Reference Manual. Intel Corporation, Santa Clara, USA, 2009. ISBN 630813-054US. ",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
173,
|
| 1105 |
+
265,
|
| 1106 |
+
821,
|
| 1107 |
+
292
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 10
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "Benoit Jacob. gemmlowp: a small self-contained low-precision gemm library, 2017. URL https: //github.com/google/gemmlowp. ",
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
174,
|
| 1116 |
+
300,
|
| 1117 |
+
821,
|
| 1118 |
+
329
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 10
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "Benoit Jacob. Ruy, 2019. URL https://github.com/tensorflow/tensorflow/ tree/master/tensorflow/lite/experimental/ruy. ",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
173,
|
| 1127 |
+
335,
|
| 1128 |
+
821,
|
| 1129 |
+
364
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 10
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "Nal Kalchbrenner, Erich Elsen, Karen Simonyan, Seb Noury, Norman Casagrande, Edward Lockhart, Florian Stimberg, Aaron van den Oord, Sander Dieleman, and Koray Kavukcuoglu. Efficient ¨ Neural Audio Synthesis. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmassan, Stockholm, Sweden, July 10-15, 2018 ¨ , pp. 2415–2424, 2018. ",
|
| 1136 |
+
"bbox": [
|
| 1137 |
+
173,
|
| 1138 |
+
371,
|
| 1139 |
+
825,
|
| 1140 |
+
426
|
| 1141 |
+
],
|
| 1142 |
+
"page_idx": 10
|
| 1143 |
+
},
|
| 1144 |
+
{
|
| 1145 |
+
"type": "text",
|
| 1146 |
+
"text": "Fredrik Kjolstad, Shoaib Kamil, Stephen Chou, David Lugato, and Saman Amarasinghe. The tensor algebra compiler. Proceedings of the ACM on Programming Languages, 1(OOPSLA):77, 2017. ",
|
| 1147 |
+
"bbox": [
|
| 1148 |
+
173,
|
| 1149 |
+
434,
|
| 1150 |
+
825,
|
| 1151 |
+
463
|
| 1152 |
+
],
|
| 1153 |
+
"page_idx": 10
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"type": "text",
|
| 1157 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097– 1105. Curran Associates, Inc., 2012. URL http://papers.nips.cc/paper/ 4824-imagenet-classification-with-deep-convolutional-neural-networks. pdf. ",
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
173,
|
| 1160 |
+
469,
|
| 1161 |
+
859,
|
| 1162 |
+
553
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 10
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall F. Tappen, and Marianna Pensky. Sparse convolutional neural networks. 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 806–814, 2015. ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
173,
|
| 1171 |
+
559,
|
| 1172 |
+
825,
|
| 1173 |
+
602
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 10
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "Hanxiao Liu, Karen Simonyan, and Yiming Yang. DARTS: Differentiable architecture search. In International Conference on Learning Representations, 2019. URL https://openreview. net/forum?id ${ . } = { }$ S1eYHoC5FX. ",
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
173,
|
| 1182 |
+
608,
|
| 1183 |
+
825,
|
| 1184 |
+
651
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 10
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 3431–3440, 2015. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
171,
|
| 1193 |
+
657,
|
| 1194 |
+
823,
|
| 1195 |
+
700
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 10
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "Christos Louizos, Max Welling, and Diederik P. Kingma. Learning sparse neural networks through l0 regularization. In International Conference on Learning Representations, 2018. URL https: //openreview.net/forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } = \\underline { { \\underline { { \\mathbf { \\delta \\pi } } } } } .$ H1Y8hhg0b. ",
|
| 1202 |
+
"bbox": [
|
| 1203 |
+
173,
|
| 1204 |
+
707,
|
| 1205 |
+
823,
|
| 1206 |
+
750
|
| 1207 |
+
],
|
| 1208 |
+
"page_idx": 10
|
| 1209 |
+
},
|
| 1210 |
+
{
|
| 1211 |
+
"type": "text",
|
| 1212 |
+
"text": "Jian-Hao Luo, Jianxin Wu, and Weiyao Lin. Thinet: A Filter Level Pruning Method for Deep Neural Network Compression. In IEEE International Conference on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017, pp. 5068–5076, 2017. ",
|
| 1213 |
+
"bbox": [
|
| 1214 |
+
171,
|
| 1215 |
+
756,
|
| 1216 |
+
823,
|
| 1217 |
+
799
|
| 1218 |
+
],
|
| 1219 |
+
"page_idx": 10
|
| 1220 |
+
},
|
| 1221 |
+
{
|
| 1222 |
+
"type": "text",
|
| 1223 |
+
"text": "Michael C. Mozer and Paul Smolensky. Using relevance to reduce network size automatically. Connection Science, 1(1):3–16, 1989. doi: 10.1080/09540098908915626. URL https:// doi.org/10.1080/09540098908915626. ",
|
| 1224 |
+
"bbox": [
|
| 1225 |
+
176,
|
| 1226 |
+
806,
|
| 1227 |
+
823,
|
| 1228 |
+
848
|
| 1229 |
+
],
|
| 1230 |
+
"page_idx": 10
|
| 1231 |
+
},
|
| 1232 |
+
{
|
| 1233 |
+
"type": "text",
|
| 1234 |
+
"text": "Yusuke Nagasaka, Satoshi Matsuoka, Ariful Azad, and Aydın Buluc¸. High-performance sparse matrix-matrix products on intel knl and multicore architectures. In Proceedings of the 47th International Conference on Parallel Processing Companion, ICPP ’18, pp. 34:1–34:10, New York, NY, USA, 2018. ACM. ISBN 978-1-4503-6523-9. doi: 10.1145/3229710.3229720. URL http://doi.acm.org/10.1145/3229710.3229720. ",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
176,
|
| 1237 |
+
856,
|
| 1238 |
+
825,
|
| 1239 |
+
924
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 10
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "Z. Pan, W. Yu, X. Yi, A. Khan, F. Yuan, and Y. Zheng. Recent progress on generative adversarial networks (gans): A survey. IEEE Access, 7:36322–36333, 2019. doi: 10.1109/ACCESS.2019. 2905015. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
173,
|
| 1248 |
+
103,
|
| 1249 |
+
825,
|
| 1250 |
+
145
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 11
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Jongsoo Park, Sheng R. Li, Wei Wen, Hai Li, Yiran Chen, and Pradeep Dubey. Holistic sparsecnn: Forging the trident of accuracy, speed, and size. CoRR, abs/1608.01409, 2016. URL http: //arxiv.org/abs/1608.01409. ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
173,
|
| 1259 |
+
152,
|
| 1260 |
+
820,
|
| 1261 |
+
194
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 11
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "Esteban Real, Alok Aggarwal, Yanping Huang, and Quoc V Le. Regularized evolution for image classifier architecture search. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 4780–4789, 2019. ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
173,
|
| 1270 |
+
202,
|
| 1271 |
+
823,
|
| 1272 |
+
244
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 11
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li FeiFei. Imagenet large scale visual recognition challenge. Int. J. Comput. Vision, 115(3):211– 252, December 2015. ISSN 0920-5691. doi: 10.1007/s11263-015-0816-y. URL http: //dx.doi.org/10.1007/s11263-015-0816-y. ",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
173,
|
| 1281 |
+
252,
|
| 1282 |
+
825,
|
| 1283 |
+
320
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 11
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. Chen. Mobilenetv2: Inverted residuals and linear bottlenecks. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 4510–4520, June 2018. doi: 10.1109/CVPR.2018.00474. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
176,
|
| 1292 |
+
328,
|
| 1293 |
+
821,
|
| 1294 |
+
371
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 11
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "Laurent Sifre and Prof Stephane Mallat. Ecole polytechnique, CMAP phd thesis rigid-motion scattering for image classification, 2014. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
173,
|
| 1303 |
+
377,
|
| 1304 |
+
821,
|
| 1305 |
+
405
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 11
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
174,
|
| 1314 |
+
412,
|
| 1315 |
+
820,
|
| 1316 |
+
443
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 11
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "Mingxing Tan and Quoc V. Le. Efficientnet: Rethinking model scaling for convolutional neural networks. CoRR, abs/1905.11946, 2019. URL http://arxiv.org/abs/1905.11946. ",
|
| 1323 |
+
"bbox": [
|
| 1324 |
+
171,
|
| 1325 |
+
448,
|
| 1326 |
+
821,
|
| 1327 |
+
478
|
| 1328 |
+
],
|
| 1329 |
+
"page_idx": 11
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"type": "text",
|
| 1333 |
+
"text": "Mingxing Tan, Bo Chen, Ruoming Pang, Vijay Vasudevan, and Quoc V. Le. Mnasnet: Platformaware neural architecture search for mobile. CoRR, abs/1807.11626, 2018. URL http:// arxiv.org/abs/1807.11626. ",
|
| 1334 |
+
"bbox": [
|
| 1335 |
+
171,
|
| 1336 |
+
484,
|
| 1337 |
+
823,
|
| 1338 |
+
526
|
| 1339 |
+
],
|
| 1340 |
+
"page_idx": 11
|
| 1341 |
+
},
|
| 1342 |
+
{
|
| 1343 |
+
"type": "text",
|
| 1344 |
+
"text": "Lucas Theis, Iryna Korshunova, Alykhan Tejani, and Ferenc Huszar. Faster gaze prediction with ´ dense networks and Fisher pruning. CoRR, abs/1801.05787, 2018. URL http://arxiv. org/abs/1801.05787. ",
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
171,
|
| 1347 |
+
534,
|
| 1348 |
+
823,
|
| 1349 |
+
575
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 11
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "text",
|
| 1355 |
+
"text": "Bichen Wu, Xiaoliang Dai, Peizhao Zhang, Yanghan Wang, Fei Sun, Yiming Wu, Yuandong Tian, Peter Vajda, Yangqing Jia, and Kurt Keutzer. Fbnet: Hardware-aware efficient convnet design via differentiable neural architecture search. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2019. ",
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
173,
|
| 1358 |
+
583,
|
| 1359 |
+
825,
|
| 1360 |
+
638
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 11
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "Carl Yang, Aydm Buluc, and John D. Owens. Design principles for sparse matrix multiplication on the gpu. International European Conference on Parallel and Distributed Computing - EUROPAR, 8 2018. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
173,
|
| 1369 |
+
646,
|
| 1370 |
+
823,
|
| 1371 |
+
688
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 11
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "Xiangyu Zhang, Xinyu Zhou, Mengxiao Lin, and Jian Sun. Shufflenet: An extremely efficient convolutional neural network for mobile devices. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 6848–6856, 2017. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
171,
|
| 1380 |
+
695,
|
| 1381 |
+
823,
|
| 1382 |
+
738
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 11
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "Zhong-Qiu Zhao, Peng Zheng, Shou-tao Xu, and Xindong Wu. Object detection with deep learning: A review. IEEE transactions on neural networks and learning systems, 2019. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
174,
|
| 1391 |
+
744,
|
| 1392 |
+
820,
|
| 1393 |
+
773
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 11
|
| 1396 |
+
},
|
| 1397 |
+
{
|
| 1398 |
+
"type": "text",
|
| 1399 |
+
"text": "Michael Zhu and Suyog Gupta. To Prune, or Not to Prune: Exploring the Efficacy of Pruning for Model Compression. In International Conference on Learning Representations, 2018. ",
|
| 1400 |
+
"bbox": [
|
| 1401 |
+
171,
|
| 1402 |
+
780,
|
| 1403 |
+
823,
|
| 1404 |
+
809
|
| 1405 |
+
],
|
| 1406 |
+
"page_idx": 11
|
| 1407 |
+
},
|
| 1408 |
+
{
|
| 1409 |
+
"type": "text",
|
| 1410 |
+
"text": "Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings, 2017. URL https://openreview.net/forum? id $=$ r1Ue8Hcxg. ",
|
| 1411 |
+
"bbox": [
|
| 1412 |
+
174,
|
| 1413 |
+
816,
|
| 1414 |
+
825,
|
| 1415 |
+
872
|
| 1416 |
+
],
|
| 1417 |
+
"page_idx": 11
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"type": "text",
|
| 1421 |
+
"text": "Barret Zoph, Vijay Vasudevan, Jonathon Shlens, and Quoc V. Le. Learning transferable architectures for scalable image recognition. 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8697–8710, 2017. ",
|
| 1422 |
+
"bbox": [
|
| 1423 |
+
178,
|
| 1424 |
+
878,
|
| 1425 |
+
823,
|
| 1426 |
+
921
|
| 1427 |
+
],
|
| 1428 |
+
"page_idx": 11
|
| 1429 |
+
}
|
| 1430 |
+
]
|
parse/train/SkgHtkrYPH/SkgHtkrYPH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkgHtkrYPH/SkgHtkrYPH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkxKPDv5xl/SkxKPDv5xl.md
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ush Mehri University of Montreal
|
| 4 |
+
|
| 5 |
+
Kundan Kumar IIT Kanpur
|
| 6 |
+
|
| 7 |
+
Ishaan Gulrajani University of Montreal
|
| 8 |
+
|
| 9 |
+
Rithesh Kumar SSNCE
|
| 10 |
+
|
| 11 |
+
Shubham Jain IIT Kanpur
|
| 12 |
+
|
| 13 |
+
Jose Sotelo University of Montreal
|
| 14 |
+
|
| 15 |
+
Aaron Courville University of Montreal CIFAR Fellow
|
| 16 |
+
|
| 17 |
+
Yoshua Bengio University of Montreal CIFAR Senior Fellow
|
| 18 |
+
|
| 19 |
+
# ABSTRACT
|
| 20 |
+
|
| 21 |
+
In this paper we propose a novel model for unconditional audio generation based on generating one audio sample at a time. We show that our model, which profits from combining memory-less modules, namely autoregressive multilayer perceptrons, and stateful recurrent neural networks in a hierarchical structure is able to capture underlying sources of variations in the temporal sequences over very long time spans, on three datasets of different nature. Human evaluation on the generated samples indicate that our model is preferred over competing models. We also show how each component of the model contributes to the exhibited performance.
|
| 22 |
+
|
| 23 |
+
# 1 INTRODUCTION
|
| 24 |
+
|
| 25 |
+
Audio generation is a challenging task at the core of many problems of interest, such as text-tospeech synthesis, music synthesis and voice conversion. The particular difficulty of audio generation is that there is often a very large discrepancy between the dimensionality of the the raw audio signal and that of the effective semantic-level signal. Consider the task of speech synthesis, where we are typically interested in generating utterances corresponding to full sentences. Even at a relatively low sample rate of 16kHz, on average we will have 6,000 samples per word generated. 1
|
| 26 |
+
|
| 27 |
+
Traditionally, the high-dimensionality of raw audio signal is dealt with by first compressing it into spectral or hand-engineered features and defining the generative model over these features. However, when the generated signal is eventually decompressed into audio waveforms, the sample quality is often degraded and requires extensive domain-expert corrective measures. This results in complicated signal processing pipelines that are to adapt to new tasks or domains. Here we propose a step in the direction of replacing these handcrafted systems.
|
| 28 |
+
|
| 29 |
+
In this work, we investigate the use of recurrent neural networks (RNNs) to model the dependencies in audio data. We believe RNNs are well suited as they have been designed and are suited solutions for these tasks (see Graves (2013), Karpathy (2015), and Siegelmann (1999)). However, in practice it is a known problem of these models to not scale well at such a high temporal resolution as is found when generating acoustic signals one sample at a time, e.g., 16000 times per second. This is one of the reasons that Oord et al. (2016) profits from other neural modules such as one presented by Yu & Koltun (2015) to show extremely good performance.
|
| 30 |
+
|
| 31 |
+
In this paper, an end-to-end unconditional audio synthesis model for raw waveforms is presented while keeping all the computations tractable.2 Since our model has different modules operating at different clock-rates (which is in contrast to WaveNet), we have the flexibility in allocating the amount of computational resources in modeling different levels of abstraction. In particular, we can potentially allocate very limited resource to the module responsible for sample level alignments operating at the clock-rate equivalent to sample-rate of the audio, while allocating more resources in modeling dependencies which vary very slowly in audio, for example identity of phoneme being spoken. This advantage makes our model arbitrarily flexible in handling sequential dependencies at multiple levels of abstraction.
|
| 32 |
+
|
| 33 |
+
Hence, our contribution is threefold:
|
| 34 |
+
|
| 35 |
+
1. We present a novel method that utilizes RNNs at different scales to model longer term dependencies in audio waveforms while training on short sequences which results in memory efficiency during training.
|
| 36 |
+
2. We extensively explore and compare variants of models achieving the above effect.
|
| 37 |
+
3. We study and empirically evaluate the impact of different components of our model on three audio datasets. Human evaluation also has been conducted to test these generative models.
|
| 38 |
+
|
| 39 |
+
# 2 SAMPLERNN MODEL
|
| 40 |
+
|
| 41 |
+
In this paper we propose SampleRNN (shown in Fig. 1), a density model for audio waveforms. SampleRNN models the probability of a sequence of waveform samples $X ~ = ~ \{ x _ { 1 } , x _ { 2 } , \ldots , x _ { T } \}$ (a random variable over input data sequences) as the product of the probabilities of each sample conditioned on all previous samples:
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
p ( X ) = \prod _ { i = 0 } ^ { T - 1 } p ( x _ { i + 1 } \vert x _ { 1 } , \dotsc , x _ { i } )
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
RNNs are commonly used to model sequential data which can be formulated as:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\begin{array} { c } { h _ { t } = \mathcal { H } ( h _ { t - 1 } , x _ { i = t } ) } \\ { p ( x _ { i + 1 } | x _ { 1 } , \dots , x _ { i } ) = S o f t m a x ( M L P ( h _ { t } ) ) } \end{array}
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
with $\mathcal { H }$ being one of the known memory cells, Gated Recurrent Units (GRUs) (Chung et al., 2014), Long Short Term Memory Units (LSTMs) (Hochreiter & Schmidhuber, 1997), or their deep variations (Section 3). However, raw audio signals are challenging to model because they contain structure at very different scales: correlations exist between neighboring samples as well as between ones thousands of samples apart.
|
| 54 |
+
|
| 55 |
+
SampleRNN helps to address this challenge by using a hierarchy of modules, each operating at a different temporal resolution. The lowest module processes individual samples, and each higher module operates on an increasingly longer timescale and a lower temporal resolution. Each module conditions the module below it, with the lowest module outputting sample-level predictions. The entire hierarchy is trained jointly end-to-end by backpropagation.
|
| 56 |
+
|
| 57 |
+
# 2.1 FRAME-LEVEL MODULES
|
| 58 |
+
|
| 59 |
+
Rather than operating on individual samples, the higher-level modules in SampleRNN operate on non-overlapping frames of $F S ^ { ( k ) }$ (“Frame Size”) samples at the $k ^ { \mathrm { { t h } } }$ level up in the hierarchy at a time (frames denoted by $f ^ { ( k ) }$ ). Each frame-level module is a deep RNN which summarizes the history of its inputs into a conditioning vector for the next module downward.
|
| 60 |
+
|
| 61 |
+
The variable number of frames we condition upon up to timestep $t - 1$ is expressed by a fixed length hidden state or memory $h _ { t } ^ { ( k ) }$ where $t$ is related to clock rate at that tier. The RNN makes a memory update at timestep $t$ as a function of the previous memory $h _ { t - 1 } ^ { ( k ) }$ and an input ${ i n p } _ { t } ^ { ( k ) }$ . This input for top tier $k = K$ is simply the input frame. For intermediate tiers $1 < k < K$ ) this input is a linear combination of conditioning vector from higher tier and current input frame. See Eqs. 4–5.
|
| 62 |
+
|
| 63 |
+
Because different modules operate at different temporal resolutions, we need to upsample each vector $c$ at the output of a module into a series of $r ^ { ( k ) }$ vectors (where $r ^ { ( k ) }$ is the ratio between the temporal resolutions of the modules) before feeding it into the input of the next module downward (Eq. 6). We do this with a set of $r ^ { ( k ) }$ separate linear projections.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 1: Snapshot of the unrolled model at timestep $i$ with $K = 3$ tiers. As a simplification only one RNN and up-sampling ratio $r = 4$ is used for all tiers.
|
| 67 |
+
|
| 68 |
+
Here we are formalizing the frame-level module in tier $k$ . Note that following equations are exclusive to tier $k$ and timestep $t$ for that specific tier. To increase the readability, unless necessary superscript $( k )$ is not shown for $\bar { t } , i n p ^ { ( k ) } , \bar { W } _ { x } ^ { ( k ) } , h ^ { ( k ) } , \mathcal { H } ^ { ( k ) } , W _ { j } ^ { ( k ) }$ , and $r ^ { ( k ) }$ .
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\begin{array} { c c } { i n p _ { t } = \left\{ \begin{array} { l l } { W _ { x } f _ { t } ^ { ( k ) } + c _ { t } ^ { ( k + 1 ) } ; } & { 1 < k < K } \\ { f _ { t } ^ { ( k = K ) } ; } & { k = K } \end{array} \right. } \\ { h _ { t } = \mathcal { H } ( h _ { t - 1 } , i n p _ { t } ) } \\ { c _ { ( t - 1 ) * r + j } ^ { ( k ) } = W _ { j } h _ { t } ; } & { 1 \leq j \leq r } \end{array}
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
Our approach of upsampling with $r ^ { ( k ) }$ linear projections is exactly equivalent to upsampling by adding zeros and then applying a linear convolution. This is sometimes called “perforated” upsampling in the context of convolutional neural networks (CNNs). It was first demonstrated to work well in Dosovitskiy et al. (2016) and is a fairly common upsampling technique.
|
| 75 |
+
|
| 76 |
+
# 2.2 SAMPLE-LEVEL MODULE
|
| 77 |
+
|
| 78 |
+
The lowest module (tier $k = 1$ ; Eqs. 7–9) in the SampleRNN hierarchy outputs a distribution over a sample $x _ { i + 1 }$ , conditioned on the $F S ^ { ( 1 ) }$ preceding samples as well as a vector $c _ { i } ^ { ( k = 2 ) }$ from the next higher module which encodes information about the sequence prior to that frame. As $F S ^ { ( 1 ) }$ is usually a small value and correlations in nearby samples are easy to model by a simple memoryless module, we implement it with a multilayer perceptron (MLP) rather than RNN which slightly speeds up the training. Assuming $e _ { i }$ represents $x _ { i }$ after passing through embedding layer (section 2.2.1), conditional distribution in Eq. 1 can be achieved by following and for further clarity two consecutive sample-level frames are shown. In addition, $W _ { x }$ in Eq. 8 is simply used to linearly combine a frame and conditioning vector from above.
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\begin{array} { r } { f _ { i - 1 } ^ { ( 1 ) } = f l a t t e n ( \left[ e _ { i - F S ^ { ( 1 ) } } , \dots , e _ { i - 1 } \right] ) } \\ { f _ { i } ^ { ( 1 ) } = f l a t t e n ( \left[ e _ { i - F S ^ { ( 1 ) } + 1 } , \dots , e _ { i } \right] ) } \\ { i n p _ { i } ^ { ( 1 ) } = W _ { x } ^ { ( 1 ) } f _ { i } ^ { ( 1 ) } + c _ { i } ^ { ( 2 ) } \qquad } \\ { p ( x _ { i + 1 } | x _ { 1 } , \dots , x _ { i } ) = S o f t m a x ( M L P ( i n p _ { i } ^ { ( 1 ) } ) ) } \end{array}
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
We use a Softmax because we found that better results were obtained by discretizing the audio signals (also see van den Oord et al. (2016)) and outputting a Multinoulli distribution rather than using a Gaussian or Gaussian mixture to represent the conditional density of the original real-valued signal. When processing an audio sequence, the MLP is convolved over the sequence, processing each window of $F S ^ { ( 1 ) }$ samples and predicting the next sample. At generation time, the MLP is run repeatedly to generate one sample at a time. Table 1 shows a considerable gap between the baseline model RNN and this model, suggesting that the proposed hierarchically structured architecture of SampleRNN makes a big difference.
|
| 85 |
+
|
| 86 |
+
# 2.2.1 OUTPUT QUANTIZATION
|
| 87 |
+
|
| 88 |
+
The sample-level module models its output as a $q$ -way discrete distribution over possible quantized values of $x _ { i }$ (that is, the output layer of the MLP is a $q$ -way Softmax).
|
| 89 |
+
|
| 90 |
+
To demonstrate the importance of a discrete output distribution, we apply the same architecture on real-valued data by replacing the $q$ -way Softmax with a Gaussian Mixture Models (GMM) output distribution. Table 2 shows that our model outperforms an RNN baseline even when both models use real-valued outputs. However, samples from the real-valued model are almost indistinguishable from random noise.
|
| 91 |
+
|
| 92 |
+
In this work we use linear quantization with $q = 2 5 6$ , corresponding to a per-sample bit depth of 8. Unintuitively, we realized that even linearly decreasing the bit depth (resolution of each audio sample) from 16 to 8 can ease the optimization procedure while generated samples still have reasonable quality and are artifact-free.
|
| 93 |
+
|
| 94 |
+
In addition, early on we noticed that the model can achieve better performance and generation quality when we embed the quantized input values before passing them through the sample-level MLP (see Table 4). The embedding steps maps each of the $q$ discrete values to a real-valued vector embedding. However, real-valued raw samples are still used as input to the higher modules.
|
| 95 |
+
|
| 96 |
+
# 2.2.2 CONDITIONALLY INDEPENDENT SAMPLE OUTPUTS
|
| 97 |
+
|
| 98 |
+
To demonstrate the importance of a sample-level autoregressive module, we try replacing it with “Multi-Softmax” (see Table 4), where the prediction of each sample $x _ { i }$ depends only on the conditioning vector $c$ from Eq. 9. In this configuration, the model outputs an entire frame of $F S ^ { ( 1 ) }$ samples at a time, modeling all samples in a frame as conditionally independent of each other. We find that this Multi-Softmax model (which lacks a sample-level autoregressive module) scores significantly worse in terms of log-likelihood and fails to generate convincing samples. This suggests that modeling the joint distribution of the acoustic samples inside each frame is very important in order to obtain good acoustic generation. We found this to be true even when the frame size is reduced, with best results always with a frame size of 1, i.e., generating only one acoustic sample at a time.
|
| 99 |
+
|
| 100 |
+
# 2.3 TRUNCATED BPTT
|
| 101 |
+
|
| 102 |
+
Training recurrent neural networks on long sequences can be very computationally expensive. Oord et al. (2016) avoid this problem by using a stack of dilated convolutions instead of any recurrent connections. However, when they can be trained efficiently, recurrent networks have been shown to be very powerful and expressive sequence models. We enable efficient training of our recurrent model using truncated backpropagation through time, splitting each sequence into short subsequences and propagating gradients only to the beginning of each subsequence. We experiment with different subsequence lengths and demonstrate that we are able to train our networks, which model very long-term dependencies, despite backpropagating through relatively short subsequences.
|
| 103 |
+
|
| 104 |
+
Table 3 shows that by increasing the subsequence length, performance substantially increases alongside with train-time memory usage and convergence time. Yet it is noteworthy that our best models have been trained on subsequences of length 512, which corresponds to 32 milliseconds, a small fraction of the length of a single a phoneme of human speech while generated samples exhibit longer word-like structures.
|
| 105 |
+
|
| 106 |
+
Despite the aforementioned fact, this generative model can mimic the existing long-term structure of the data which results in more natural and coherent samples that is preferred by human listeners. (More on this in Sections 3.2–3.3.) This is due to the fast updates from TBPTT and specialized frame-level modules (Section 2.1) with top tiers designed to model a lower resolution of signal while leaving the process of filling the details to lower tiers.
|
| 107 |
+
|
| 108 |
+
# 3 EXPERIMENTS AND RESULTS
|
| 109 |
+
|
| 110 |
+
In this section we are introducing three datasets which have been chosen to evaluate the proposed architecture for modeling raw acoustic sequences. The description of each dataset and their preprocessing is as follows:
|
| 111 |
+
|
| 112 |
+
Blizzard which is a dataset presented by Prahallad et al. (2013) for speech synthesis task, contains 315 hours of a single female voice actor in English; however, for our experiments we are using only 20.5 hours. The training/validation/test split is $8 6 \% - 7 \% - 7 \%$ .
|
| 113 |
+
|
| 114 |
+
Onomatopoeia3, a relatively small dataset with 6,738 sequences adding up to 3.5 hours, is human vocal sounds like grunting, screaming, panting, heavy breathing, and coughing. Diversity of sound type and the fact that these sounds were recorded from 51 actors and many categories makes it a challenging task. To add to that, this data is extremely unbalanced. The training/validation/test split is $9 2 \% - 4 \% - 4 \%$ .
|
| 115 |
+
|
| 116 |
+
Music dataset is the collection of all 32 Beethoven’s piano sonatas publicly available on https://archive.org/ amounting to 10 hours of non-vocal audio. The training/validation/test split is $8 8 \% - 6 \% - 6 \%$ .
|
| 117 |
+
|
| 118 |
+
See Fig. 2 for a visual demonstration of examples from datasets and generated samples. For all the datasets we are using a $1 6 ~ \mathrm { k H z }$ sample rate and 16 bit depth. For the Blizzard and Music datasets, preprocessing simply amounts to chunking the long audio files into 8 seconds long sequences on which we will perform truncated backpropagation through time. Each sequence in the Onomatopoeia dataset is few seconds long, ranging from 1 to 11 seconds. To train the models on this dataset, zero-padding has been applied to make all the sequences in a mini-batch have the same length and corresponding cost values (for the predictions over the added 0s) would be ignored when computing the gradients.
|
| 119 |
+
|
| 120 |
+
We particularly explored two gated variants of RNNs—GRUs and LSTMs. For the case of LSTMs, the forget gate bias is initialized with a large positive value of 3, as recommended by Zaremba (2015) and Gers (2001), which has been shown to be beneficial for learning long-term dependencies.
|
| 121 |
+
|
| 122 |
+
As for models that take real-valued input, e.g. the RNN-GMM and SampleRNN-GMM (with 4 components), normalization is applied per audio sample with the global mean and standard deviation obtained from the train split. For most of our experiments where the model demands discrete input, binning was applied per audio sample.
|
| 123 |
+
|
| 124 |
+
All the models have been trained with teacher forcing and stochastic gradient decent (mini-batch size 128) to minimize the Negative Log-Likelihood (NLL) in bits per dimension (per audio sample). Gradients were hard-clipped to remain in [-1, 1] range. Update rules from the Adam optimizer (Kingma & Ba, 2014) $\beta _ { 1 } = 0 . 9$ , $\beta _ { 2 } ~ = ~ 0 . 9 9 9$ , and $\epsilon = 1 e { - 8 } )$ with an initial learning rate of 0.001 was used to adjust the parameters. For training each model, random search over hyper-parameter values (Bergstra & Bengio, 2012) was conducted. The initial RNN state of all the RNN-based models was always learnable. Weight Normalization (Salimans & Kingma, 2016) has been used for all the linear layers in the model (except for the embedding layer) to accelerate the training procedure. Size of the embedding layer was 256 and initialized by standard normal distribution. Orthogonal weight matrices used for hidden-to-hidden connections and other weight matrices initialized similar to He et al. (2015). In final model, we found GRU to work best (slightly better than LSTM). 1024 was the the number of hidden units for all GRUs (1 layer per tier for 3-tier and 3 layer for 2-tier model) and MLPs (3 fully connected layers with ReLU activation with output dimension being 1024 for first two layers and 256 for the final layer before softmax). Also $F \bar { S } ^ { ( 1 ) } = F S ^ { ( 2 ) } = 2$ and $F S ^ { ( 3 ) } = 8 $ were found to result in lowest NLL.
|
| 125 |
+
|
| 126 |
+
# 3.1 WAVENET RE-IMPLEMENTATION
|
| 127 |
+
|
| 128 |
+
We implemented the WaveNet architecture as described in Oord et al. (2016). Ideally, we would have liked to replicate their model exactly but owing to missing details of architecture and hyperparameters, as well as limited compute power at our disposal, we made our own design choices so that the model would fit on a single GPU while having a receptive field of around 250 milliseconds, while having a reasonable number of updates per unit time. Although our model is very similar to WaveNet, the design choices, e.g. number of convolution filters in each dilated convolution layer, length of target sequence to train on simultaneously (one can train with a single target with all samples in the receptive field as input or with target sequence length of size T with input of size receptive field $+ \mathrm { ~ T ~ } - 1$ ), batch-size, etc. might make our implementation different from what the authors have done in the original WaveNet model. Hence, we note here that although we did our best at exactly reproducing their results, there would very likely be different choice of hyper-parameters between our implementation and the one of the authors.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 2: Examples from the datasets compared to samples from our models. In the first 3 rows, 2 seconds of audio are shown. In the bottom 3 rows, 100 milliseconds of audio are shown. Rows 1 and 4 are ground truth from which one can see how the datasets look different and have complex structure in low resolution which the frame-level component of the SampleRNN is designed to capture. Samples also to some extent mimic the same global structure. At the same time, zoomed-in samples of our model shows that it can perfectly resemble the high resolution structure present in the data as well.
|
| 132 |
+
|
| 133 |
+
Table 1: Test NLL in bits for three presented datasets.
|
| 134 |
+
|
| 135 |
+
<table><tr><td>Model</td><td>Blizzard</td><td>Onomatopoeia</td><td>Music</td></tr><tr><td>RNN (Eq.2)</td><td>1.434</td><td>2.034</td><td>1.410</td></tr><tr><td>WaveNet (re-impl.)</td><td>1.480</td><td>2.285</td><td>1.464</td></tr><tr><td>SampleRNN (2-tier)</td><td>1.392</td><td>2.026</td><td>1.076</td></tr><tr><td>SampleRNN (3-tier)</td><td>1.387</td><td>1.990</td><td>1.159</td></tr></table>
|
| 136 |
+
|
| 137 |
+
Table 2: Average NLL on Blizzard test set for real-valued models.
|
| 138 |
+
|
| 139 |
+
<table><tr><td>Model</td><td>Average Test NLL</td></tr><tr><td>RNN-GMM</td><td>-2.415</td></tr><tr><td>SampleRNN-GMM (2-tier)</td><td>-2.782</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Table 3: Effect of subsequence length on NLL (bits per audio sample) computed on the Blizzard validation set.
|
| 142 |
+
|
| 143 |
+
<table><tr><td>Subsequence Length</td><td>32</td><td>64</td><td>128</td><td>256</td><td>512</td></tr><tr><td>NLL Validation</td><td>1.575</td><td>1.468</td><td>1.412</td><td>1.391</td><td>1.364</td></tr></table>
|
| 144 |
+
|
| 145 |
+
Table 4: Test (validation) set NLL (bits per audio sample) for Blizzard. Variants of SampleRNN are provided to compare the contribution of each component in performance.
|
| 146 |
+
|
| 147 |
+
<table><tr><td>Model</td><td>NLL Test (Validation)</td></tr><tr><td>SampleRNN (2-tier)</td><td>1.392 (1.369)</td></tr><tr><td>Without Embedding</td><td>1.566 (1.539)</td></tr><tr><td>Multi-Softmax</td><td>1.685 (1.656)</td></tr></table>
|
| 148 |
+
|
| 149 |
+
For our WaveNet implementation, we have used 4 dilated convolution blocks each having 10 dilated convolution layers with dilation 1, 2, 4, 8 up to 512. Hence, our network has a receptive field of 4092 acoustic samples i.e. the parameters of multinomial distribution of sample at time step t, $p ( x _ { i } ) = f _ { \boldsymbol { \theta } } ( x _ { i - 1 } , \bar { x _ { i - 2 } } , \dots x _ { i - 4 0 9 2 } )$ where $\theta$ is model parameters. We train on target sequence length of 1600 and use batch size of 8. Each dilated convolution filter has size 2 and the number of output channels is 64 for each dilated convolutional layer (128 filters in total due to gated nonlinearity). We trained this model using Adam optimizer with a fixed global learning rate of 0.001 for Blizzard dataset and 0.0001 for Onomatopoeia and Music datasets. We trained these models for about one week on a GeForce GTX TITAN X. We dropped the learning rate in the Blizzard experiment to 0.0001 after around 3 days of training.
|
| 150 |
+
|
| 151 |
+
# 3.2 HUMAN EVALUATION
|
| 152 |
+
|
| 153 |
+
Apart from reporting NLL, we conducted AB preference tests for random samples from four models trained on the Blizzard dataset. For unconditional generation of speech which at best sounds like mumbling, this type of test is the one which is more suited. Competing models were the RNN, SampleRNN (2-tier), SampleRNN (3-tier), and our implementation of WaveNet. The rest of the models were excluded as the quality of samples were definitely lower and also to keep the number of pair comparison tests manageable. We will release the samples that have been used in this test too.
|
| 154 |
+
|
| 155 |
+
All the samples were set to have the same volume. Every user is then shown a set of twenty pairs of samples with one random pair at a time. Each pair had samples from two different models. The human evaluator is asked to listen to the samples and had the option of choosing between the two model or choosing not to prefer any of them. Hence, we have a quantification of preference between every pair of models. We used the online tool made publicly available by Jillings et al. (2015).
|
| 156 |
+
|
| 157 |
+
Results in Fig. 3 clearly points out that SampleRNN (3-tier) is a winner by a huge margin in terms of preference by human raters, then SampleRNN (2-tier) and afterward two other models, which matches with the performance comparison in Table 1.
|
| 158 |
+
|
| 159 |
+
The same evaluation was conducted for Music dataset except for an additional filtering process of samples. Specific to only this dataset, we observed that a batch of generated samples from competing models (this time restricted to RNN, SampleRNN (2-tier), and SampleRNN (3-tier)) were either music-like or random noise. For all these models we only considered random samples that were not random noise. Fig. 4 is dedicated to result of human evaluation on Music dataset.
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
Figure 3: Pairwise comparison of 4 best models based on the votes from listeners conducted on samples generated from models trained on Blizzard dataset.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 4: Pairwise comparison of 3 best models based on the votes from listeners conducted on samples generated from models trained on Music dataset.
|
| 166 |
+
|
| 167 |
+
# 3.3 QUANTIFYING INFORMATION RETENTION
|
| 168 |
+
|
| 169 |
+
For the last experiment we are interested in measuring the memory span of the model. We trained our model, SampleRNN (3-tier), with best hyper-parameters on a dataset of 2 speakers reading audio books, one male and one female, respectively, with mean fundamental frequency of 125.3 and $2 0 1 . 8 \mathrm { H z }$ . Each speaker has roughly 10 hours of audio in the dataset that has been preprocessed similar to Blizzard. We observed that it learned to stay consistent generating samples from the same speaker without having any knowledge about the speaker ID or any other conditioning information. This effect is more apparent here in comparison to the unbalanced Onomatopoeia that sometimes mixes two different categories of sounds.
|
| 170 |
+
|
| 171 |
+
Another experiment was conducted to test the effect of memory and study the effective memory horizon. We inject 1 second of silence in the middle of sampling procedure in order to see if it will remember to generate from the same speaker or not. Initially when sampling we let the model generate 2 seconds of audio as it normally do. From 2 to 3 seconds instead of feeding back the generated sample at that timestep a silent token (zero amplitude) would be fed. From 3 to 5 seconds again we sample normally; feeding back the generated token.
|
| 172 |
+
|
| 173 |
+
We did classification based on mean fundamental frequency of speakers for the first and last 2 seconds. In $83 \%$ of samples SampleRNN generated from the same person in two separate segments.
|
| 174 |
+
|
| 175 |
+
This is in contrast to a model with fixed past window like WaveNet where injecting 16000 silent tokens (3.3 times the receptive field size) is equivalent to generating from scratch which has $50 \%$ chance (assuming each 2-second segment is coherent and not a mixed sound of two speakers).
|
| 176 |
+
|
| 177 |
+
# 4 RELATED WORK
|
| 178 |
+
|
| 179 |
+
Our work is related to earlier work on auto-regressive multi-layer neural networks, starting with Bengio & Bengio (1999), then NADE (Larochelle & Murray, 2011) and more recently PixelRNN (van den Oord et al., 2016). Similar to how they tractably model joint distribution over units of the data (e.g. words in sentences, pixels in images, etc.) through an auto-regressive decomposition, we transform the joint distribution of acoustic samples using Eq. 1.
|
| 180 |
+
|
| 181 |
+
The idea of having part of the model running at different clock rates is related to multi-scale RNNs (Schmidhuber, 1992; El Hihi & Bengio, 1995; Koutnik et al., 2014; Sordoni et al., 2015; Serban et al., 2016).
|
| 182 |
+
|
| 183 |
+
Chung et al. (2015) also attempt to model raw audio waveforms which is in contrast to traditional approaches which use spectral features as in Tokuda et al. (2013), Bertrand et al. (2008), and Lee et al. (2009).
|
| 184 |
+
|
| 185 |
+
Our work is closely related to WaveNet (Oord et al., 2016), which is why we have made the above comparisons, and makes it interesting to compare the effect of adding higher-level RNN stages working at a low resolution. Similar to this work, our models generate one acoustic sample at a time conditioned on all previously generated samples. We also share the preprocessing step of quantizing the acoustics into bins. Unlike this model, we have different modules in our models running at different clock-rates. In contrast to WaveNets, we mitigate the problem of long-term dependency with hierarchical structure and using stateful RNNs, i.e. we will always propagate hidden states to the next training sequence although the gradient of the loss will not take into account the samples in previous training sequence.
|
| 186 |
+
|
| 187 |
+
# 5 DISCUSSION AND CONCLUSION
|
| 188 |
+
|
| 189 |
+
We propose a novel model that can address unconditional audio generation in the raw acoustic domain, which typically has been done until recently with hand-crafted features. We are able to show that a hierarchy of time scales and frequent updates will help to overcome the problem of modeling extremely high-resolution temporal data. That allows us, for this particular application, to learn the data manifold directly from audio samples. We show that this model can generalize well and generate samples on three datasets that are different in nature. We also show that the samples generated by this model are preferred by human raters.
|
| 190 |
+
|
| 191 |
+
Success in this application, with a general-purpose solution as proposed here, opens up room for more improvement when specific domain knowledge is applied. This method, however, proposed with audio generation application in mind, can easily be adapted to other tasks that require learning the representation of sequential data with high temporal resolution and long-range complex structure.
|
| 192 |
+
|
| 193 |
+
# ACKNOWLEDGMENTS
|
| 194 |
+
|
| 195 |
+
The authors would like to thank Joao Felipe Santos and Kyle Kastner for insightful comments and ˜ discussion. We would like to thank the Theano Development Team $\left( 2 0 1 6 \right) ^ { 4 }$ and MILA staff. We acknowledge the support of the following agencies for research funding and computing support: NSERC, Calcul Quebec, Compute Canada, the Canada Research Chairs and CIFAR. Jose Sotelo ´ also thanks the Consejo Nacional de Ciencia y Tecnolog´ıa (CONACyT) as well as the Secretar´ıa de Educacion P ´ ublica (SEP) for their support. This work was a collaboration with Ubisoft. ´
|
| 196 |
+
|
| 197 |
+
# REFERENCES
|
| 198 |
+
|
| 199 |
+
Yoshua Bengio and Samy Bengio. Modeling high-dimensional discrete data with multi-layer neural networks. In NIPS, volume 99, pp. 400–406, 1999.
|
| 200 |
+
|
| 201 |
+
James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(Feb):281–305, 2012.
|
| 202 |
+
|
| 203 |
+
Alexander Bertrand, Kris Demuynck, Veronique Stouten, et al. Unsupervised learning of auditory filter banks using non-negative matrix factorisation. In 2008 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 4713–4716. IEEE, 2008.
|
| 204 |
+
|
| 205 |
+
Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014.
|
| 206 |
+
|
| 207 |
+
Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron C Courville, and Yoshua Bengio. A recurrent latent variable model for sequential data. In Advances in neural information processing systems, pp. 2980–2988, 2015.
|
| 208 |
+
|
| 209 |
+
Alexey Dosovitskiy, Jost Springenberg, Maxim Tatarchenko, and Thomas Brox. Learning to generate chairs, tables and cars with convolutional networks. 2016.
|
| 210 |
+
|
| 211 |
+
Salah El Hihi and Yoshua Bengio. Hierarchical recurrent neural networks for long-term dependencies. In NIPS, volume 400, pp. 409. Citeseer, 1995.
|
| 212 |
+
|
| 213 |
+
Felix Gers. Long short-term memory in recurrent neural networks. PhD thesis, Universitat Han- ¨ nover, 2001.
|
| 214 |
+
|
| 215 |
+
Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013.
|
| 216 |
+
|
| 217 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1026–1034, 2015.
|
| 218 |
+
|
| 219 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 220 |
+
|
| 221 |
+
Nicholas Jillings, David Moffat, Brecht De Man, and Joshua D. Reiss. Web Audio Evaluation Tool: A browser-based listening test environment. In 12th Sound and Music Computing Conference, July 2015.
|
| 222 |
+
|
| 223 |
+
Andrej Karpathy. The unreasonable effectiveness of recurrent neural networks. Andrej Karpathy blog, 2015.
|
| 224 |
+
|
| 225 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 226 |
+
|
| 227 |
+
Jan Koutnik, Klaus Greff, Faustino Gomez, and Juergen Schmidhuber. A clockwork rnn. arXiv preprint arXiv:1402.3511, 2014.
|
| 228 |
+
|
| 229 |
+
Hugo Larochelle and Iain Murray. The neural autoregressive distribution estimator. In AISTATS, volume 1, pp. 2, 2011.
|
| 230 |
+
|
| 231 |
+
Honglak Lee, Peter Pham, Yan Largman, and Andrew Y Ng. Unsupervised feature learning for audio classification using convolutional deep belief networks. In Advances in neural information processing systems, pp. 1096–1104, 2009.
|
| 232 |
+
|
| 233 |
+
Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016.
|
| 234 |
+
|
| 235 |
+
Kishore Prahallad, Anandaswarup Vadapalli, Naresh Elluru, G Mantena, B Pulugundla, P Bhaskararao, HA Murthy, S King, V Karaiskos, and AW Black. The blizzard challenge 2013– indian language task. In Blizzard Challenge Workshop 2013, 2013.
|
| 236 |
+
|
| 237 |
+
Tim Salimans and Diederik P Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. arXiv preprint arXiv:1602.07868, 2016.
|
| 238 |
+
|
| 239 |
+
Jurgen Schmidhuber. Learning complex, extended sequences using the principle of history com-¨ pression. Neural Computation, 4(2):234–242, 1992.
|
| 240 |
+
|
| 241 |
+
Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. Building end-to-end dialogue systems using generative hierarchical neural network models. In Proceedings of the 30th AAAI Conference on Artificial Intelligence (AAAI-16), 2016.
|
| 242 |
+
|
| 243 |
+
Hava T Siegelmann. Computation beyond the turing limit. In Neural Networks and Analog Computation, pp. 153–164. Springer, 1999.
|
| 244 |
+
|
| 245 |
+
Alessandro Sordoni, Yoshua Bengio, Hossein Vahabi, Christina Lioma, Jakob Grue Simonsen, and Jian-Yun Nie. A hierarchical recurrent encoder-decoder for generative context-aware query suggestion. In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, pp. 553–562. ACM, 2015.
|
| 246 |
+
|
| 247 |
+
Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints, abs/1605.02688, May 2016. URL http://arxiv.org/abs/ 1605.02688.
|
| 248 |
+
|
| 249 |
+
Keiichi Tokuda, Yoshihiko Nankaku, Tomoki Toda, Heiga Zen, Junichi Yamagishi, and Keiichiro Oura. Speech synthesis based on hidden markov models. Proceedings of the IEEE, 101(5): 1234–1252, 2013.
|
| 250 |
+
|
| 251 |
+
Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016.
|
| 252 |
+
|
| 253 |
+
Fisher Yu and Vladlen Koltun. Multi-scale context aggregation by dilated convolutions. arXiv preprint arXiv:1511.07122, 2015.
|
| 254 |
+
|
| 255 |
+
Wojciech Zaremba. An empirical exploration of recurrent network architectures. 2015.
|
| 256 |
+
|
| 257 |
+
# APPENDIX A
|
| 258 |
+
|
| 259 |
+
A MODEL VARIANT: SAMPLERNN-WAVENET HYBRID
|
| 260 |
+
|
| 261 |
+
SampleRNN-WaveNet model has two modules operating at two different clock-rate. The slower clock-rate module (frame-level module) sees one frame (each of which has size $F S$ ) at a time while the faster clock-rate component(sample-level component) sees one acoustic sample at a time i.e. the ratio of clock-rates for these two modules would be the size of a single frame. Number of sequential steps for frame-level component would be $F S$ times lower. We repeat the output of each step of frame-level component $F S$ times so that number of time-steps for output of both the components match. The output of both these modules are concatenated for every time-step which is further operated by non-linearities for every time-step independently before generating the final output.
|
| 262 |
+
|
| 263 |
+
In our experiments, we kept size of a single frame $( F S )$ to be 128. We tried two variants of this model: 1. fully convolutional WaveNet and 2. RNN-WaveNet. In fully convolutional WaveNet, both modules described above are implemented using dilated convolutions as described in original WaveNet model. In RNN-WaveNet, we use high capacity RNN in the frame-level module to model the dependency between frames. The sample-level WaveNet in RNN-WaveNet has receptive field of size 509 samples from the past.
|
| 264 |
+
|
| 265 |
+
Although these models are designed with the intention of combining the two models to harness their best features, preliminary experiments show that this variant is not mee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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SAMPLERNN: AN UNCONDITIONAL END-TO-END NEURAL AUDIO GENERATION MODEL ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Soroush Mehri University of Montreal ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
334,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Kundan Kumar IIT Kanpur ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
369,
|
| 30 |
+
170,
|
| 31 |
+
482,
|
| 32 |
+
198
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Ishaan Gulrajani University of Montreal ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
517,
|
| 41 |
+
170,
|
| 42 |
+
669,
|
| 43 |
+
198
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Rithesh Kumar SSNCE ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
702,
|
| 52 |
+
171,
|
| 53 |
+
813,
|
| 54 |
+
198
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Shubham Jain IIT Kanpur ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
183,
|
| 63 |
+
219,
|
| 64 |
+
287,
|
| 65 |
+
248
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Jose Sotelo University of Montreal ",
|
| 72 |
+
"bbox": [
|
| 73 |
+
308,
|
| 74 |
+
219,
|
| 75 |
+
460,
|
| 76 |
+
248
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "Aaron Courville University of Montreal CIFAR Fellow ",
|
| 83 |
+
"bbox": [
|
| 84 |
+
483,
|
| 85 |
+
219,
|
| 86 |
+
633,
|
| 87 |
+
261
|
| 88 |
+
],
|
| 89 |
+
"page_idx": 0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"type": "text",
|
| 93 |
+
"text": "Yoshua Bengio University of Montreal CIFAR Senior Fellow ",
|
| 94 |
+
"bbox": [
|
| 95 |
+
656,
|
| 96 |
+
219,
|
| 97 |
+
808,
|
| 98 |
+
261
|
| 99 |
+
],
|
| 100 |
+
"page_idx": 0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"type": "text",
|
| 104 |
+
"text": "ABSTRACT ",
|
| 105 |
+
"text_level": 1,
|
| 106 |
+
"bbox": [
|
| 107 |
+
454,
|
| 108 |
+
299,
|
| 109 |
+
544,
|
| 110 |
+
314
|
| 111 |
+
],
|
| 112 |
+
"page_idx": 0
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"type": "text",
|
| 116 |
+
"text": "In this paper we propose a novel model for unconditional audio generation based on generating one audio sample at a time. We show that our model, which profits from combining memory-less modules, namely autoregressive multilayer perceptrons, and stateful recurrent neural networks in a hierarchical structure is able to capture underlying sources of variations in the temporal sequences over very long time spans, on three datasets of different nature. Human evaluation on the generated samples indicate that our model is preferred over competing models. We also show how each component of the model contributes to the exhibited performance. ",
|
| 117 |
+
"bbox": [
|
| 118 |
+
233,
|
| 119 |
+
330,
|
| 120 |
+
764,
|
| 121 |
+
441
|
| 122 |
+
],
|
| 123 |
+
"page_idx": 0
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"type": "text",
|
| 127 |
+
"text": "1 INTRODUCTION ",
|
| 128 |
+
"text_level": 1,
|
| 129 |
+
"bbox": [
|
| 130 |
+
176,
|
| 131 |
+
470,
|
| 132 |
+
336,
|
| 133 |
+
487
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Audio generation is a challenging task at the core of many problems of interest, such as text-tospeech synthesis, music synthesis and voice conversion. The particular difficulty of audio generation is that there is often a very large discrepancy between the dimensionality of the the raw audio signal and that of the effective semantic-level signal. Consider the task of speech synthesis, where we are typically interested in generating utterances corresponding to full sentences. Even at a relatively low sample rate of 16kHz, on average we will have 6,000 samples per word generated. 1 ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
502,
|
| 143 |
+
825,
|
| 144 |
+
587
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 0
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "Traditionally, the high-dimensionality of raw audio signal is dealt with by first compressing it into spectral or hand-engineered features and defining the generative model over these features. However, when the generated signal is eventually decompressed into audio waveforms, the sample quality is often degraded and requires extensive domain-expert corrective measures. This results in complicated signal processing pipelines that are to adapt to new tasks or domains. Here we propose a step in the direction of replacing these handcrafted systems. ",
|
| 151 |
+
"bbox": [
|
| 152 |
+
174,
|
| 153 |
+
593,
|
| 154 |
+
825,
|
| 155 |
+
678
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "In this work, we investigate the use of recurrent neural networks (RNNs) to model the dependencies in audio data. We believe RNNs are well suited as they have been designed and are suited solutions for these tasks (see Graves (2013), Karpathy (2015), and Siegelmann (1999)). However, in practice it is a known problem of these models to not scale well at such a high temporal resolution as is found when generating acoustic signals one sample at a time, e.g., 16000 times per second. This is one of the reasons that Oord et al. (2016) profits from other neural modules such as one presented by Yu & Koltun (2015) to show extremely good performance. ",
|
| 162 |
+
"bbox": [
|
| 163 |
+
174,
|
| 164 |
+
684,
|
| 165 |
+
825,
|
| 166 |
+
781
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 0
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "In this paper, an end-to-end unconditional audio synthesis model for raw waveforms is presented while keeping all the computations tractable.2 Since our model has different modules operating at different clock-rates (which is in contrast to WaveNet), we have the flexibility in allocating the amount of computational resources in modeling different levels of abstraction. In particular, we can potentially allocate very limited resource to the module responsible for sample level alignments operating at the clock-rate equivalent to sample-rate of the audio, while allocating more resources in modeling dependencies which vary very slowly in audio, for example identity of phoneme being spoken. This advantage makes our model arbitrarily flexible in handling sequential dependencies at multiple levels of abstraction. ",
|
| 173 |
+
"bbox": [
|
| 174 |
+
174,
|
| 175 |
+
789,
|
| 176 |
+
825,
|
| 177 |
+
858
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 0
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "",
|
| 184 |
+
"bbox": [
|
| 185 |
+
174,
|
| 186 |
+
103,
|
| 187 |
+
825,
|
| 188 |
+
160
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "Hence, our contribution is threefold: ",
|
| 195 |
+
"bbox": [
|
| 196 |
+
176,
|
| 197 |
+
166,
|
| 198 |
+
413,
|
| 199 |
+
181
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "1. We present a novel method that utilizes RNNs at different scales to model longer term dependencies in audio waveforms while training on short sequences which results in memory efficiency during training. \n2. We extensively explore and compare variants of models achieving the above effect. \n3. We study and empirically evaluate the impact of different components of our model on three audio datasets. Human evaluation also has been conducted to test these generative models. ",
|
| 206 |
+
"bbox": [
|
| 207 |
+
212,
|
| 208 |
+
191,
|
| 209 |
+
825,
|
| 210 |
+
299
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 1
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "2 SAMPLERNN MODEL ",
|
| 217 |
+
"text_level": 1,
|
| 218 |
+
"bbox": [
|
| 219 |
+
174,
|
| 220 |
+
318,
|
| 221 |
+
388,
|
| 222 |
+
335
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "In this paper we propose SampleRNN (shown in Fig. 1), a density model for audio waveforms. SampleRNN models the probability of a sequence of waveform samples $X ~ = ~ \\{ x _ { 1 } , x _ { 2 } , \\ldots , x _ { T } \\}$ (a random variable over input data sequences) as the product of the probabilities of each sample conditioned on all previous samples: ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
173,
|
| 231 |
+
349,
|
| 232 |
+
825,
|
| 233 |
+
406
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "equation",
|
| 239 |
+
"img_path": "images/722521ef84b3ac668f48f46d9fce61dd9a97268c5d94b6ebc1f33a3d63eca7e8.jpg",
|
| 240 |
+
"text": "$$\np ( X ) = \\prod _ { i = 0 } ^ { T - 1 } p ( x _ { i + 1 } \\vert x _ { 1 } , \\dotsc , x _ { i } )\n$$",
|
| 241 |
+
"text_format": "latex",
|
| 242 |
+
"bbox": [
|
| 243 |
+
390,
|
| 244 |
+
411,
|
| 245 |
+
606,
|
| 246 |
+
455
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 1
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "RNNs are commonly used to model sequential data which can be formulated as: ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
173,
|
| 255 |
+
467,
|
| 256 |
+
697,
|
| 257 |
+
482
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 1
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "equation",
|
| 263 |
+
"img_path": "images/ccabcbd280ece86d2af2a0bacac3ee9629eafdf953ffec46c1c144757955aa01.jpg",
|
| 264 |
+
"text": "$$\n\\begin{array} { c } { h _ { t } = \\mathcal { H } ( h _ { t - 1 } , x _ { i = t } ) } \\\\ { p ( x _ { i + 1 } | x _ { 1 } , \\dots , x _ { i } ) = S o f t m a x ( M L P ( h _ { t } ) ) } \\end{array}\n$$",
|
| 265 |
+
"text_format": "latex",
|
| 266 |
+
"bbox": [
|
| 267 |
+
349,
|
| 268 |
+
486,
|
| 269 |
+
648,
|
| 270 |
+
522
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 1
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "with $\\mathcal { H }$ being one of the known memory cells, Gated Recurrent Units (GRUs) (Chung et al., 2014), Long Short Term Memory Units (LSTMs) (Hochreiter & Schmidhuber, 1997), or their deep variations (Section 3). However, raw audio signals are challenging to model because they contain structure at very different scales: correlations exist between neighboring samples as well as between ones thousands of samples apart. ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
173,
|
| 279 |
+
526,
|
| 280 |
+
825,
|
| 281 |
+
597
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 1
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "SampleRNN helps to address this challenge by using a hierarchy of modules, each operating at a different temporal resolution. The lowest module processes individual samples, and each higher module operates on an increasingly longer timescale and a lower temporal resolution. Each module conditions the module below it, with the lowest module outputting sample-level predictions. The entire hierarchy is trained jointly end-to-end by backpropagation. ",
|
| 288 |
+
"bbox": [
|
| 289 |
+
174,
|
| 290 |
+
603,
|
| 291 |
+
825,
|
| 292 |
+
674
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 1
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "2.1 FRAME-LEVEL MODULES ",
|
| 299 |
+
"text_level": 1,
|
| 300 |
+
"bbox": [
|
| 301 |
+
174,
|
| 302 |
+
690,
|
| 303 |
+
392,
|
| 304 |
+
704
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 1
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Rather than operating on individual samples, the higher-level modules in SampleRNN operate on non-overlapping frames of $F S ^ { ( k ) }$ (“Frame Size”) samples at the $k ^ { \\mathrm { { t h } } }$ level up in the hierarchy at a time (frames denoted by $f ^ { ( k ) }$ ). Each frame-level module is a deep RNN which summarizes the history of its inputs into a conditioning vector for the next module downward. ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
174,
|
| 313 |
+
715,
|
| 314 |
+
825,
|
| 315 |
+
775
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 1
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "The variable number of frames we condition upon up to timestep $t - 1$ is expressed by a fixed length hidden state or memory $h _ { t } ^ { ( k ) }$ where $t$ is related to clock rate at that tier. The RNN makes a memory update at timestep $t$ as a function of the previous memory $h _ { t - 1 } ^ { ( k ) }$ and an input ${ i n p } _ { t } ^ { ( k ) }$ . This input for top tier $k = K$ is simply the input frame. For intermediate tiers $1 < k < K$ ) this input is a linear combination of conditioning vector from higher tier and current input frame. See Eqs. 4–5. ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
174,
|
| 324 |
+
781,
|
| 325 |
+
825,
|
| 326 |
+
858
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 1
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "Because different modules operate at different temporal resolutions, we need to upsample each vector $c$ at the output of a module into a series of $r ^ { ( k ) }$ vectors (where $r ^ { ( k ) }$ is the ratio between the temporal resolutions of the modules) before feeding it into the input of the next module downward (Eq. 6). We do this with a set of $r ^ { ( k ) }$ separate linear projections. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
174,
|
| 335 |
+
864,
|
| 336 |
+
823,
|
| 337 |
+
924
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 1
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "image",
|
| 343 |
+
"img_path": "images/e8280be33b3609b1d7afc26585a66c21aae4bf4ccb693864961aa5c90ebb6cc5.jpg",
|
| 344 |
+
"image_caption": [
|
| 345 |
+
"Figure 1: Snapshot of the unrolled model at timestep $i$ with $K = 3$ tiers. As a simplification only one RNN and up-sampling ratio $r = 4$ is used for all tiers. "
|
| 346 |
+
],
|
| 347 |
+
"image_footnote": [],
|
| 348 |
+
"bbox": [
|
| 349 |
+
178,
|
| 350 |
+
102,
|
| 351 |
+
820,
|
| 352 |
+
310
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "Here we are formalizing the frame-level module in tier $k$ . Note that following equations are exclusive to tier $k$ and timestep $t$ for that specific tier. To increase the readability, unless necessary superscript $( k )$ is not shown for $\\bar { t } , i n p ^ { ( k ) } , \\bar { W } _ { x } ^ { ( k ) } , h ^ { ( k ) } , \\mathcal { H } ^ { ( k ) } , W _ { j } ^ { ( k ) }$ , and $r ^ { ( k ) }$ . ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
174,
|
| 361 |
+
382,
|
| 362 |
+
825,
|
| 363 |
+
429
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 2
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "equation",
|
| 369 |
+
"img_path": "images/478faea9a499304d61608dd1cfa764565b8d50e3dcb308b7d97936bc648020aa.jpg",
|
| 370 |
+
"text": "$$\n\\begin{array} { c c } { i n p _ { t } = \\left\\{ \\begin{array} { l l } { W _ { x } f _ { t } ^ { ( k ) } + c _ { t } ^ { ( k + 1 ) } ; } & { 1 < k < K } \\\\ { f _ { t } ^ { ( k = K ) } ; } & { k = K } \\end{array} \\right. } \\\\ { h _ { t } = \\mathcal { H } ( h _ { t - 1 } , i n p _ { t } ) } \\\\ { c _ { ( t - 1 ) * r + j } ^ { ( k ) } = W _ { j } h _ { t } ; } & { 1 \\leq j \\leq r } \\end{array}\n$$",
|
| 371 |
+
"text_format": "latex",
|
| 372 |
+
"bbox": [
|
| 373 |
+
339,
|
| 374 |
+
436,
|
| 375 |
+
658,
|
| 376 |
+
523
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "Our approach of upsampling with $r ^ { ( k ) }$ linear projections is exactly equivalent to upsampling by adding zeros and then applying a linear convolution. This is sometimes called “perforated” upsampling in the context of convolutional neural networks (CNNs). It was first demonstrated to work well in Dosovitskiy et al. (2016) and is a fairly common upsampling technique. ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
174,
|
| 385 |
+
530,
|
| 386 |
+
825,
|
| 387 |
+
587
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 2
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "2.2 SAMPLE-LEVEL MODULE ",
|
| 394 |
+
"text_level": 1,
|
| 395 |
+
"bbox": [
|
| 396 |
+
174,
|
| 397 |
+
603,
|
| 398 |
+
392,
|
| 399 |
+
618
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 2
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "The lowest module (tier $k = 1$ ; Eqs. 7–9) in the SampleRNN hierarchy outputs a distribution over a sample $x _ { i + 1 }$ , conditioned on the $F S ^ { ( 1 ) }$ preceding samples as well as a vector $c _ { i } ^ { ( k = 2 ) }$ from the next higher module which encodes information about the sequence prior to that frame. As $F S ^ { ( 1 ) }$ is usually a small value and correlations in nearby samples are easy to model by a simple memoryless module, we implement it with a multilayer perceptron (MLP) rather than RNN which slightly speeds up the training. Assuming $e _ { i }$ represents $x _ { i }$ after passing through embedding layer (section 2.2.1), conditional distribution in Eq. 1 can be achieved by following and for further clarity two consecutive sample-level frames are shown. In addition, $W _ { x }$ in Eq. 8 is simply used to linearly combine a frame and conditioning vector from above. ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
173,
|
| 408 |
+
628,
|
| 409 |
+
826,
|
| 410 |
+
760
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 2
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "equation",
|
| 416 |
+
"img_path": "images/d5acba725dee8e51e6eb7d827ecf3e77d9fbfd70d244b6cc0a4016eaafde8a27.jpg",
|
| 417 |
+
"text": "$$\n\\begin{array} { r } { f _ { i - 1 } ^ { ( 1 ) } = f l a t t e n ( \\left[ e _ { i - F S ^ { ( 1 ) } } , \\dots , e _ { i - 1 } \\right] ) } \\\\ { f _ { i } ^ { ( 1 ) } = f l a t t e n ( \\left[ e _ { i - F S ^ { ( 1 ) } + 1 } , \\dots , e _ { i } \\right] ) } \\\\ { i n p _ { i } ^ { ( 1 ) } = W _ { x } ^ { ( 1 ) } f _ { i } ^ { ( 1 ) } + c _ { i } ^ { ( 2 ) } \\qquad } \\\\ { p ( x _ { i + 1 } | x _ { 1 } , \\dots , x _ { i } ) = S o f t m a x ( M L P ( i n p _ { i } ^ { ( 1 ) } ) ) } \\end{array}\n$$",
|
| 418 |
+
"text_format": "latex",
|
| 419 |
+
"bbox": [
|
| 420 |
+
325,
|
| 421 |
+
765,
|
| 422 |
+
673,
|
| 423 |
+
858
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 2
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "We use a Softmax because we found that better results were obtained by discretizing the audio signals (also see van den Oord et al. (2016)) and outputting a Multinoulli distribution rather than using a Gaussian or Gaussian mixture to represent the conditional density of the original real-valued signal. When processing an audio sequence, the MLP is convolved over the sequence, processing each window of $F S ^ { ( 1 ) }$ samples and predicting the next sample. At generation time, the MLP is run repeatedly to generate one sample at a time. Table 1 shows a considerable gap between the baseline model RNN and this model, suggesting that the proposed hierarchically structured architecture of SampleRNN makes a big difference. ",
|
| 430 |
+
"bbox": [
|
| 431 |
+
174,
|
| 432 |
+
867,
|
| 433 |
+
825,
|
| 434 |
+
924
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 2
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "",
|
| 441 |
+
"bbox": [
|
| 442 |
+
174,
|
| 443 |
+
103,
|
| 444 |
+
825,
|
| 445 |
+
160
|
| 446 |
+
],
|
| 447 |
+
"page_idx": 3
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"type": "text",
|
| 451 |
+
"text": "2.2.1 OUTPUT QUANTIZATION ",
|
| 452 |
+
"text_level": 1,
|
| 453 |
+
"bbox": [
|
| 454 |
+
176,
|
| 455 |
+
176,
|
| 456 |
+
400,
|
| 457 |
+
190
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 3
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "The sample-level module models its output as a $q$ -way discrete distribution over possible quantized values of $x _ { i }$ (that is, the output layer of the MLP is a $q$ -way Softmax). ",
|
| 464 |
+
"bbox": [
|
| 465 |
+
173,
|
| 466 |
+
202,
|
| 467 |
+
821,
|
| 468 |
+
229
|
| 469 |
+
],
|
| 470 |
+
"page_idx": 3
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"type": "text",
|
| 474 |
+
"text": "To demonstrate the importance of a discrete output distribution, we apply the same architecture on real-valued data by replacing the $q$ -way Softmax with a Gaussian Mixture Models (GMM) output distribution. Table 2 shows that our model outperforms an RNN baseline even when both models use real-valued outputs. However, samples from the real-valued model are almost indistinguishable from random noise. ",
|
| 475 |
+
"bbox": [
|
| 476 |
+
174,
|
| 477 |
+
236,
|
| 478 |
+
823,
|
| 479 |
+
306
|
| 480 |
+
],
|
| 481 |
+
"page_idx": 3
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"type": "text",
|
| 485 |
+
"text": "In this work we use linear quantization with $q = 2 5 6$ , corresponding to a per-sample bit depth of 8. Unintuitively, we realized that even linearly decreasing the bit depth (resolution of each audio sample) from 16 to 8 can ease the optimization procedure while generated samples still have reasonable quality and are artifact-free. ",
|
| 486 |
+
"bbox": [
|
| 487 |
+
174,
|
| 488 |
+
313,
|
| 489 |
+
823,
|
| 490 |
+
368
|
| 491 |
+
],
|
| 492 |
+
"page_idx": 3
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"type": "text",
|
| 496 |
+
"text": "In addition, early on we noticed that the model can achieve better performance and generation quality when we embed the quantized input values before passing them through the sample-level MLP (see Table 4). The embedding steps maps each of the $q$ discrete values to a real-valued vector embedding. However, real-valued raw samples are still used as input to the higher modules. ",
|
| 497 |
+
"bbox": [
|
| 498 |
+
174,
|
| 499 |
+
376,
|
| 500 |
+
823,
|
| 501 |
+
433
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 3
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "2.2.2 CONDITIONALLY INDEPENDENT SAMPLE OUTPUTS ",
|
| 508 |
+
"text_level": 1,
|
| 509 |
+
"bbox": [
|
| 510 |
+
174,
|
| 511 |
+
449,
|
| 512 |
+
583,
|
| 513 |
+
463
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 3
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "To demonstrate the importance of a sample-level autoregressive module, we try replacing it with “Multi-Softmax” (see Table 4), where the prediction of each sample $x _ { i }$ depends only on the conditioning vector $c$ from Eq. 9. In this configuration, the model outputs an entire frame of $F S ^ { ( 1 ) }$ samples at a time, modeling all samples in a frame as conditionally independent of each other. We find that this Multi-Softmax model (which lacks a sample-level autoregressive module) scores significantly worse in terms of log-likelihood and fails to generate convincing samples. This suggests that modeling the joint distribution of the acoustic samples inside each frame is very important in order to obtain good acoustic generation. We found this to be true even when the frame size is reduced, with best results always with a frame size of 1, i.e., generating only one acoustic sample at a time. ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
174,
|
| 522 |
+
473,
|
| 523 |
+
825,
|
| 524 |
+
613
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 3
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "2.3 TRUNCATED BPTT ",
|
| 531 |
+
"text_level": 1,
|
| 532 |
+
"bbox": [
|
| 533 |
+
176,
|
| 534 |
+
632,
|
| 535 |
+
348,
|
| 536 |
+
646
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 3
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "Training recurrent neural networks on long sequences can be very computationally expensive. Oord et al. (2016) avoid this problem by using a stack of dilated convolutions instead of any recurrent connections. However, when they can be trained efficiently, recurrent networks have been shown to be very powerful and expressive sequence models. We enable efficient training of our recurrent model using truncated backpropagation through time, splitting each sequence into short subsequences and propagating gradients only to the beginning of each subsequence. We experiment with different subsequence lengths and demonstrate that we are able to train our networks, which model very long-term dependencies, despite backpropagating through relatively short subsequences. ",
|
| 543 |
+
"bbox": [
|
| 544 |
+
174,
|
| 545 |
+
659,
|
| 546 |
+
825,
|
| 547 |
+
771
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 3
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "Table 3 shows that by increasing the subsequence length, performance substantially increases alongside with train-time memory usage and convergence time. Yet it is noteworthy that our best models have been trained on subsequences of length 512, which corresponds to 32 milliseconds, a small fraction of the length of a single a phoneme of human speech while generated samples exhibit longer word-like structures. ",
|
| 554 |
+
"bbox": [
|
| 555 |
+
174,
|
| 556 |
+
777,
|
| 557 |
+
823,
|
| 558 |
+
847
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 3
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "Despite the aforementioned fact, this generative model can mimic the existing long-term structure of the data which results in more natural and coherent samples that is preferred by human listeners. (More on this in Sections 3.2–3.3.) This is due to the fast updates from TBPTT and specialized frame-level modules (Section 2.1) with top tiers designed to model a lower resolution of signal while leaving the process of filling the details to lower tiers. ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
176,
|
| 567 |
+
854,
|
| 568 |
+
823,
|
| 569 |
+
924
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 3
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "text",
|
| 575 |
+
"text": "3 EXPERIMENTS AND RESULTS ",
|
| 576 |
+
"text_level": 1,
|
| 577 |
+
"bbox": [
|
| 578 |
+
176,
|
| 579 |
+
102,
|
| 580 |
+
449,
|
| 581 |
+
117
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 4
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "text",
|
| 587 |
+
"text": "In this section we are introducing three datasets which have been chosen to evaluate the proposed architecture for modeling raw acoustic sequences. The description of each dataset and their preprocessing is as follows: ",
|
| 588 |
+
"bbox": [
|
| 589 |
+
178,
|
| 590 |
+
133,
|
| 591 |
+
825,
|
| 592 |
+
175
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 4
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "Blizzard which is a dataset presented by Prahallad et al. (2013) for speech synthesis task, contains 315 hours of a single female voice actor in English; however, for our experiments we are using only 20.5 hours. The training/validation/test split is $8 6 \\% - 7 \\% - 7 \\%$ . ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
232,
|
| 601 |
+
186,
|
| 602 |
+
823,
|
| 603 |
+
229
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 4
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "Onomatopoeia3, a relatively small dataset with 6,738 sequences adding up to 3.5 hours, is human vocal sounds like grunting, screaming, panting, heavy breathing, and coughing. Diversity of sound type and the fact that these sounds were recorded from 51 actors and many categories makes it a challenging task. To add to that, this data is extremely unbalanced. The training/validation/test split is $9 2 \\% - 4 \\% - 4 \\%$ . ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
233,
|
| 612 |
+
233,
|
| 613 |
+
823,
|
| 614 |
+
303
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 4
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Music dataset is the collection of all 32 Beethoven’s piano sonatas publicly available on https://archive.org/ amounting to 10 hours of non-vocal audio. The training/validation/test split is $8 8 \\% - 6 \\% - 6 \\%$ . ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
233,
|
| 623 |
+
308,
|
| 624 |
+
823,
|
| 625 |
+
349
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 4
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "See Fig. 2 for a visual demonstration of examples from datasets and generated samples. For all the datasets we are using a $1 6 ~ \\mathrm { k H z }$ sample rate and 16 bit depth. For the Blizzard and Music datasets, preprocessing simply amounts to chunking the long audio files into 8 seconds long sequences on which we will perform truncated backpropagation through time. Each sequence in the Onomatopoeia dataset is few seconds long, ranging from 1 to 11 seconds. To train the models on this dataset, zero-padding has been applied to make all the sequences in a mini-batch have the same length and corresponding cost values (for the predictions over the added 0s) would be ignored when computing the gradients. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
361,
|
| 635 |
+
825,
|
| 636 |
+
473
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 4
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "We particularly explored two gated variants of RNNs—GRUs and LSTMs. For the case of LSTMs, the forget gate bias is initialized with a large positive value of 3, as recommended by Zaremba (2015) and Gers (2001), which has been shown to be beneficial for learning long-term dependencies. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
176,
|
| 645 |
+
479,
|
| 646 |
+
823,
|
| 647 |
+
522
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 4
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "As for models that take real-valued input, e.g. the RNN-GMM and SampleRNN-GMM (with 4 components), normalization is applied per audio sample with the global mean and standard deviation obtained from the train split. For most of our experiments where the model demands discrete input, binning was applied per audio sample. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
529,
|
| 657 |
+
825,
|
| 658 |
+
585
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 4
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "All the models have been trained with teacher forcing and stochastic gradient decent (mini-batch size 128) to minimize the Negative Log-Likelihood (NLL) in bits per dimension (per audio sample). Gradients were hard-clipped to remain in [-1, 1] range. Update rules from the Adam optimizer (Kingma & Ba, 2014) $\\beta _ { 1 } = 0 . 9$ , $\\beta _ { 2 } ~ = ~ 0 . 9 9 9$ , and $\\epsilon = 1 e { - 8 } )$ with an initial learning rate of 0.001 was used to adjust the parameters. For training each model, random search over hyper-parameter values (Bergstra & Bengio, 2012) was conducted. The initial RNN state of all the RNN-based models was always learnable. Weight Normalization (Salimans & Kingma, 2016) has been used for all the linear layers in the model (except for the embedding layer) to accelerate the training procedure. Size of the embedding layer was 256 and initialized by standard normal distribution. Orthogonal weight matrices used for hidden-to-hidden connections and other weight matrices initialized similar to He et al. (2015). In final model, we found GRU to work best (slightly better than LSTM). 1024 was the the number of hidden units for all GRUs (1 layer per tier for 3-tier and 3 layer for 2-tier model) and MLPs (3 fully connected layers with ReLU activation with output dimension being 1024 for first two layers and 256 for the final layer before softmax). Also $F \\bar { S } ^ { ( 1 ) } = F S ^ { ( 2 ) } = 2$ and $F S ^ { ( 3 ) } = 8 $ were found to result in lowest NLL. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
592,
|
| 668 |
+
825,
|
| 669 |
+
800
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 4
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "3.1 WAVENET RE-IMPLEMENTATION ",
|
| 676 |
+
"text_level": 1,
|
| 677 |
+
"bbox": [
|
| 678 |
+
176,
|
| 679 |
+
818,
|
| 680 |
+
442,
|
| 681 |
+
832
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 4
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "We implemented the WaveNet architecture as described in Oord et al. (2016). Ideally, we would have liked to replicate their model exactly but owing to missing details of architecture and hyperparameters, as well as limited compute power at our disposal, we made our own design choices so that the model would fit on a single GPU while having a receptive field of around 250 milliseconds, while having a reasonable number of updates per unit time. Although our model is very similar to WaveNet, the design choices, e.g. number of convolution filters in each dilated convolution layer, length of target sequence to train on simultaneously (one can train with a single target with all samples in the receptive field as input or with target sequence length of size T with input of size receptive field $+ \\mathrm { ~ T ~ } - 1$ ), batch-size, etc. might make our implementation different from what the authors have done in the original WaveNet model. Hence, we note here that although we did our best at exactly reproducing their results, there would very likely be different choice of hyper-parameters between our implementation and the one of the authors. ",
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
844,
|
| 691 |
+
823,
|
| 692 |
+
900
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 4
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "image",
|
| 698 |
+
"img_path": "images/095574c20ff2a204bedf1e789a109edb8ab60a841da04859134aaf954e818b5e.jpg",
|
| 699 |
+
"image_caption": [
|
| 700 |
+
"Figure 2: Examples from the datasets compared to samples from our models. In the first 3 rows, 2 seconds of audio are shown. In the bottom 3 rows, 100 milliseconds of audio are shown. Rows 1 and 4 are ground truth from which one can see how the datasets look different and have complex structure in low resolution which the frame-level component of the SampleRNN is designed to capture. Samples also to some extent mimic the same global structure. At the same time, zoomed-in samples of our model shows that it can perfectly resemble the high resolution structure present in the data as well. "
|
| 701 |
+
],
|
| 702 |
+
"image_footnote": [],
|
| 703 |
+
"bbox": [
|
| 704 |
+
176,
|
| 705 |
+
108,
|
| 706 |
+
820,
|
| 707 |
+
559
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 5
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "table",
|
| 713 |
+
"img_path": "images/c233dce22334f3eef34c534948c6a3214414b8b1030397610a781c439d9d6c59.jpg",
|
| 714 |
+
"table_caption": [
|
| 715 |
+
"Table 1: Test NLL in bits for three presented datasets. "
|
| 716 |
+
],
|
| 717 |
+
"table_footnote": [],
|
| 718 |
+
"table_body": "<table><tr><td>Model</td><td>Blizzard</td><td>Onomatopoeia</td><td>Music</td></tr><tr><td>RNN (Eq.2)</td><td>1.434</td><td>2.034</td><td>1.410</td></tr><tr><td>WaveNet (re-impl.)</td><td>1.480</td><td>2.285</td><td>1.464</td></tr><tr><td>SampleRNN (2-tier)</td><td>1.392</td><td>2.026</td><td>1.076</td></tr><tr><td>SampleRNN (3-tier)</td><td>1.387</td><td>1.990</td><td>1.159</td></tr></table>",
|
| 719 |
+
"bbox": [
|
| 720 |
+
297,
|
| 721 |
+
719,
|
| 722 |
+
700,
|
| 723 |
+
806
|
| 724 |
+
],
|
| 725 |
+
"page_idx": 5
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"type": "table",
|
| 729 |
+
"img_path": "images/316cc8398763837a820468e8942732f67c7bfaa44413acd31e62637b4bc5124c.jpg",
|
| 730 |
+
"table_caption": [
|
| 731 |
+
"Table 2: Average NLL on Blizzard test set for real-valued models. "
|
| 732 |
+
],
|
| 733 |
+
"table_footnote": [],
|
| 734 |
+
"table_body": "<table><tr><td>Model</td><td>Average Test NLL</td></tr><tr><td>RNN-GMM</td><td>-2.415</td></tr><tr><td>SampleRNN-GMM (2-tier)</td><td>-2.782</td></tr></table>",
|
| 735 |
+
"bbox": [
|
| 736 |
+
331,
|
| 737 |
+
858,
|
| 738 |
+
665,
|
| 739 |
+
910
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 5
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "table",
|
| 745 |
+
"img_path": "images/9a5606f1f8ce6d42bf0b929a9026ad7eafda452c27c5baae3a6d9c8f1b1db8ef.jpg",
|
| 746 |
+
"table_caption": [
|
| 747 |
+
"Table 3: Effect of subsequence length on NLL (bits per audio sample) computed on the Blizzard validation set. "
|
| 748 |
+
],
|
| 749 |
+
"table_footnote": [],
|
| 750 |
+
"table_body": "<table><tr><td>Subsequence Length</td><td>32</td><td>64</td><td>128</td><td>256</td><td>512</td></tr><tr><td>NLL Validation</td><td>1.575</td><td>1.468</td><td>1.412</td><td>1.391</td><td>1.364</td></tr></table>",
|
| 751 |
+
"bbox": [
|
| 752 |
+
281,
|
| 753 |
+
137,
|
| 754 |
+
714,
|
| 755 |
+
174
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 6
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "table",
|
| 761 |
+
"img_path": "images/eeeb66b7772c54b66bef3e7e38e57499182b59d7daeb8a120439c4f2b9b8a668.jpg",
|
| 762 |
+
"table_caption": [
|
| 763 |
+
"Table 4: Test (validation) set NLL (bits per audio sample) for Blizzard. Variants of SampleRNN are provided to compare the contribution of each component in performance. "
|
| 764 |
+
],
|
| 765 |
+
"table_footnote": [],
|
| 766 |
+
"table_body": "<table><tr><td>Model</td><td>NLL Test (Validation)</td></tr><tr><td>SampleRNN (2-tier)</td><td>1.392 (1.369)</td></tr><tr><td>Without Embedding</td><td>1.566 (1.539)</td></tr><tr><td>Multi-Softmax</td><td>1.685 (1.656)</td></tr></table>",
|
| 767 |
+
"bbox": [
|
| 768 |
+
341,
|
| 769 |
+
226,
|
| 770 |
+
655,
|
| 771 |
+
292
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 6
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "",
|
| 778 |
+
"bbox": [
|
| 779 |
+
173,
|
| 780 |
+
321,
|
| 781 |
+
825,
|
| 782 |
+
434
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 6
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "For our WaveNet implementation, we have used 4 dilated convolution blocks each having 10 dilated convolution layers with dilation 1, 2, 4, 8 up to 512. Hence, our network has a receptive field of 4092 acoustic samples i.e. the parameters of multinomial distribution of sample at time step t, $p ( x _ { i } ) = f _ { \\boldsymbol { \\theta } } ( x _ { i - 1 } , \\bar { x _ { i - 2 } } , \\dots x _ { i - 4 0 9 2 } )$ where $\\theta$ is model parameters. We train on target sequence length of 1600 and use batch size of 8. Each dilated convolution filter has size 2 and the number of output channels is 64 for each dilated convolutional layer (128 filters in total due to gated nonlinearity). We trained this model using Adam optimizer with a fixed global learning rate of 0.001 for Blizzard dataset and 0.0001 for Onomatopoeia and Music datasets. We trained these models for about one week on a GeForce GTX TITAN X. We dropped the learning rate in the Blizzard experiment to 0.0001 after around 3 days of training. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
173,
|
| 791 |
+
440,
|
| 792 |
+
825,
|
| 793 |
+
579
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 6
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "3.2 HUMAN EVALUATION ",
|
| 800 |
+
"text_level": 1,
|
| 801 |
+
"bbox": [
|
| 802 |
+
176,
|
| 803 |
+
597,
|
| 804 |
+
366,
|
| 805 |
+
611
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 6
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Apart from reporting NLL, we conducted AB preference tests for random samples from four models trained on the Blizzard dataset. For unconditional generation of speech which at best sounds like mumbling, this type of test is the one which is more suited. Competing models were the RNN, SampleRNN (2-tier), SampleRNN (3-tier), and our implementation of WaveNet. The rest of the models were excluded as the quality of samples were definitely lower and also to keep the number of pair comparison tests manageable. We will release the samples that have been used in this test too. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
623,
|
| 815 |
+
825,
|
| 816 |
+
720
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 6
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "All the samples were set to have the same volume. Every user is then shown a set of twenty pairs of samples with one random pair at a time. Each pair had samples from two different models. The human evaluator is asked to listen to the samples and had the option of choosing between the two model or choosing not to prefer any of them. Hence, we have a quantification of preference between every pair of models. We used the online tool made publicly available by Jillings et al. (2015). ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
728,
|
| 826 |
+
825,
|
| 827 |
+
797
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 6
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "Results in Fig. 3 clearly points out that SampleRNN (3-tier) is a winner by a huge margin in terms of preference by human raters, then SampleRNN (2-tier) and afterward two other models, which matches with the performance comparison in Table 1. ",
|
| 834 |
+
"bbox": [
|
| 835 |
+
176,
|
| 836 |
+
804,
|
| 837 |
+
820,
|
| 838 |
+
847
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "The same evaluation was conducted for Music dataset except for an additional filtering process of samples. Specific to only this dataset, we observed that a batch of generated samples from competing models (this time restricted to RNN, SampleRNN (2-tier), and SampleRNN (3-tier)) were either music-like or random noise. For all these models we only considered random samples that were not random noise. Fig. 4 is dedicated to result of human evaluation on Music dataset. ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
174,
|
| 847 |
+
853,
|
| 848 |
+
823,
|
| 849 |
+
924
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 6
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "image",
|
| 855 |
+
"img_path": "images/2d96293eb1cfa3e42560f06229017eae1d46d950502c02d79fe8cdd1fbcdb740.jpg",
|
| 856 |
+
"image_caption": [
|
| 857 |
+
"Figure 3: Pairwise comparison of 4 best models based on the votes from listeners conducted on samples generated from models trained on Blizzard dataset. "
|
| 858 |
+
],
|
| 859 |
+
"image_footnote": [],
|
| 860 |
+
"bbox": [
|
| 861 |
+
220,
|
| 862 |
+
123,
|
| 863 |
+
761,
|
| 864 |
+
388
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 7
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "image",
|
| 870 |
+
"img_path": "images/3f4065b402e4c76a71a4ce716fe699ae6b8f5f5dd56e968b020de62c176579b7.jpg",
|
| 871 |
+
"image_caption": [
|
| 872 |
+
"Figure 4: Pairwise comparison of 3 best models based on the votes from listeners conducted on samples generated from models trained on Music dataset. "
|
| 873 |
+
],
|
| 874 |
+
"image_footnote": [],
|
| 875 |
+
"bbox": [
|
| 876 |
+
223,
|
| 877 |
+
468,
|
| 878 |
+
763,
|
| 879 |
+
585
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 7
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "3.3 QUANTIFYING INFORMATION RETENTION ",
|
| 886 |
+
"text_level": 1,
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
659,
|
| 890 |
+
504,
|
| 891 |
+
672
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "For the last experiment we are interested in measuring the memory span of the model. We trained our model, SampleRNN (3-tier), with best hyper-parameters on a dataset of 2 speakers reading audio books, one male and one female, respectively, with mean fundamental frequency of 125.3 and $2 0 1 . 8 \\mathrm { H z }$ . Each speaker has roughly 10 hours of audio in the dataset that has been preprocessed similar to Blizzard. We observed that it learned to stay consistent generating samples from the same speaker without having any knowledge about the speaker ID or any other conditioning information. This effect is more apparent here in comparison to the unbalanced Onomatopoeia that sometimes mixes two different categories of sounds. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
686,
|
| 901 |
+
825,
|
| 902 |
+
797
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Another experiment was conducted to test the effect of memory and study the effective memory horizon. We inject 1 second of silence in the middle of sampling procedure in order to see if it will remember to generate from the same speaker or not. Initially when sampling we let the model generate 2 seconds of audio as it normally do. From 2 to 3 seconds instead of feeding back the generated sample at that timestep a silent token (zero amplitude) would be fed. From 3 to 5 seconds again we sample normally; feeding back the generated token. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
174,
|
| 911 |
+
805,
|
| 912 |
+
823,
|
| 913 |
+
888
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 7
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "We did classification based on mean fundamental frequency of speakers for the first and last 2 seconds. In $83 \\%$ of samples SampleRNN generated from the same person in two separate segments. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
174,
|
| 922 |
+
895,
|
| 923 |
+
823,
|
| 924 |
+
924
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 7
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "text",
|
| 930 |
+
"text": "This is in contrast to a model with fixed past window like WaveNet where injecting 16000 silent tokens (3.3 times the receptive field size) is equivalent to generating from scratch which has $50 \\%$ chance (assuming each 2-second segment is coherent and not a mixed sound of two speakers). ",
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
103,
|
| 934 |
+
825,
|
| 935 |
+
146
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "4 RELATED WORK ",
|
| 942 |
+
"text_level": 1,
|
| 943 |
+
"bbox": [
|
| 944 |
+
176,
|
| 945 |
+
174,
|
| 946 |
+
344,
|
| 947 |
+
190
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 8
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "Our work is related to earlier work on auto-regressive multi-layer neural networks, starting with Bengio & Bengio (1999), then NADE (Larochelle & Murray, 2011) and more recently PixelRNN (van den Oord et al., 2016). Similar to how they tractably model joint distribution over units of the data (e.g. words in sentences, pixels in images, etc.) through an auto-regressive decomposition, we transform the joint distribution of acoustic samples using Eq. 1. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
210,
|
| 957 |
+
823,
|
| 958 |
+
281
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 8
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "The idea of having part of the model running at different clock rates is related to multi-scale RNNs (Schmidhuber, 1992; El Hihi & Bengio, 1995; Koutnik et al., 2014; Sordoni et al., 2015; Serban et al., 2016). ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
176,
|
| 967 |
+
287,
|
| 968 |
+
825,
|
| 969 |
+
329
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 8
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Chung et al. (2015) also attempt to model raw audio waveforms which is in contrast to traditional approaches which use spectral features as in Tokuda et al. (2013), Bertrand et al. (2008), and Lee et al. (2009). ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
176,
|
| 978 |
+
337,
|
| 979 |
+
825,
|
| 980 |
+
378
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 8
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Our work is closely related to WaveNet (Oord et al., 2016), which is why we have made the above comparisons, and makes it interesting to compare the effect of adding higher-level RNN stages working at a low resolution. Similar to this work, our models generate one acoustic sample at a time conditioned on all previously generated samples. We also share the preprocessing step of quantizing the acoustics into bins. Unlike this model, we have different modules in our models running at different clock-rates. In contrast to WaveNets, we mitigate the problem of long-term dependency with hierarchical structure and using stateful RNNs, i.e. we will always propagate hidden states to the next training sequence although the gradient of the loss will not take into account the samples in previous training sequence. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
386,
|
| 990 |
+
825,
|
| 991 |
+
511
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 8
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "5 DISCUSSION AND CONCLUSION ",
|
| 998 |
+
"text_level": 1,
|
| 999 |
+
"bbox": [
|
| 1000 |
+
176,
|
| 1001 |
+
540,
|
| 1002 |
+
467,
|
| 1003 |
+
555
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 8
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "We propose a novel model that can address unconditional audio generation in the raw acoustic domain, which typically has been done until recently with hand-crafted features. We are able to show that a hierarchy of time scales and frequent updates will help to overcome the problem of modeling extremely high-resolution temporal data. That allows us, for this particular application, to learn the data manifold directly from audio samples. We show that this model can generalize well and generate samples on three datasets that are different in nature. We also show that the samples generated by this model are preferred by human raters. ",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
174,
|
| 1012 |
+
575,
|
| 1013 |
+
825,
|
| 1014 |
+
672
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 8
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "Success in this application, with a general-purpose solution as proposed here, opens up room for more improvement when specific domain knowledge is applied. This method, however, proposed with audio generation application in mind, can easily be adapted to other tasks that require learning the representation of sequential data with high temporal resolution and long-range complex structure. ",
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
176,
|
| 1023 |
+
680,
|
| 1024 |
+
825,
|
| 1025 |
+
750
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 8
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 1032 |
+
"text_level": 1,
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
176,
|
| 1035 |
+
775,
|
| 1036 |
+
326,
|
| 1037 |
+
787
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 8
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "The authors would like to thank Joao Felipe Santos and Kyle Kastner for insightful comments and ˜ discussion. We would like to thank the Theano Development Team $\\left( 2 0 1 6 \\right) ^ { 4 }$ and MILA staff. We acknowledge the support of the following agencies for research funding and computing support: NSERC, Calcul Quebec, Compute Canada, the Canada Research Chairs and CIFAR. Jose Sotelo ´ also thanks the Consejo Nacional de Ciencia y Tecnolog´ıa (CONACyT) as well as the Secretar´ıa de Educacion P ´ ublica (SEP) for their support. This work was a collaboration with Ubisoft. ´ ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
174,
|
| 1046 |
+
801,
|
| 1047 |
+
825,
|
| 1048 |
+
885
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 8
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "REFERENCES ",
|
| 1055 |
+
"text_level": 1,
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
176,
|
| 1058 |
+
102,
|
| 1059 |
+
287,
|
| 1060 |
+
117
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 9
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Yoshua Bengio and Samy Bengio. Modeling high-dimensional discrete data with multi-layer neural networks. In NIPS, volume 99, pp. 400–406, 1999. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
176,
|
| 1069 |
+
126,
|
| 1070 |
+
823,
|
| 1071 |
+
155
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "James Bergstra and Yoshua Bengio. Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13(Feb):281–305, 2012. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
173,
|
| 1080 |
+
162,
|
| 1081 |
+
823,
|
| 1082 |
+
191
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Alexander Bertrand, Kris Demuynck, Veronique Stouten, et al. Unsupervised learning of auditory filter banks using non-negative matrix factorisation. In 2008 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 4713–4716. IEEE, 2008. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
174,
|
| 1091 |
+
199,
|
| 1092 |
+
823,
|
| 1093 |
+
243
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 9
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
169,
|
| 1102 |
+
251,
|
| 1103 |
+
823,
|
| 1104 |
+
281
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 9
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron C Courville, and Yoshua Bengio. A recurrent latent variable model for sequential data. In Advances in neural information processing systems, pp. 2980–2988, 2015. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
173,
|
| 1113 |
+
289,
|
| 1114 |
+
823,
|
| 1115 |
+
332
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 9
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Alexey Dosovitskiy, Jost Springenberg, Maxim Tatarchenko, and Thomas Brox. Learning to generate chairs, tables and cars with convolutional networks. 2016. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
171,
|
| 1124 |
+
339,
|
| 1125 |
+
823,
|
| 1126 |
+
369
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 9
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Salah El Hihi and Yoshua Bengio. Hierarchical recurrent neural networks for long-term dependencies. In NIPS, volume 400, pp. 409. Citeseer, 1995. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
171,
|
| 1135 |
+
377,
|
| 1136 |
+
821,
|
| 1137 |
+
406
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 9
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Felix Gers. Long short-term memory in recurrent neural networks. PhD thesis, Universitat Han- ¨ nover, 2001. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
171,
|
| 1146 |
+
415,
|
| 1147 |
+
823,
|
| 1148 |
+
444
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 9
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Alex Graves. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
171,
|
| 1157 |
+
452,
|
| 1158 |
+
825,
|
| 1159 |
+
481
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 9
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE International Conference on Computer Vision, pp. 1026–1034, 2015. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
489,
|
| 1169 |
+
823,
|
| 1170 |
+
534
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
171,
|
| 1179 |
+
540,
|
| 1180 |
+
823,
|
| 1181 |
+
569
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Nicholas Jillings, David Moffat, Brecht De Man, and Joshua D. Reiss. Web Audio Evaluation Tool: A browser-based listening test environment. In 12th Sound and Music Computing Conference, July 2015. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
174,
|
| 1190 |
+
578,
|
| 1191 |
+
823,
|
| 1192 |
+
621
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 9
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Andrej Karpathy. The unreasonable effectiveness of recurrent neural networks. Andrej Karpathy blog, 2015. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
171,
|
| 1201 |
+
628,
|
| 1202 |
+
825,
|
| 1203 |
+
659
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 9
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
666,
|
| 1213 |
+
825,
|
| 1214 |
+
695
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 9
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Jan Koutnik, Klaus Greff, Faustino Gomez, and Juergen Schmidhuber. A clockwork rnn. arXiv preprint arXiv:1402.3511, 2014. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
171,
|
| 1223 |
+
704,
|
| 1224 |
+
825,
|
| 1225 |
+
733
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 9
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Hugo Larochelle and Iain Murray. The neural autoregressive distribution estimator. In AISTATS, volume 1, pp. 2, 2011. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
173,
|
| 1234 |
+
741,
|
| 1235 |
+
823,
|
| 1236 |
+
770
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 9
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Honglak Lee, Peter Pham, Yan Largman, and Andrew Y Ng. Unsupervised feature learning for audio classification using convolutional deep belief networks. In Advances in neural information processing systems, pp. 1096–1104, 2009. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
174,
|
| 1245 |
+
779,
|
| 1246 |
+
825,
|
| 1247 |
+
821
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 9
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
174,
|
| 1256 |
+
830,
|
| 1257 |
+
823,
|
| 1258 |
+
873
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 9
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Kishore Prahallad, Anandaswarup Vadapalli, Naresh Elluru, G Mantena, B Pulugundla, P Bhaskararao, HA Murthy, S King, V Karaiskos, and AW Black. The blizzard challenge 2013– indian language task. In Blizzard Challenge Workshop 2013, 2013. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
176,
|
| 1267 |
+
882,
|
| 1268 |
+
825,
|
| 1269 |
+
924
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 9
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Tim Salimans and Diederik P Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. arXiv preprint arXiv:1602.07868, 2016. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
103,
|
| 1279 |
+
821,
|
| 1280 |
+
132
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 10
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Jurgen Schmidhuber. Learning complex, extended sequences using the principle of history com-¨ pression. Neural Computation, 4(2):234–242, 1992. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
173,
|
| 1289 |
+
141,
|
| 1290 |
+
821,
|
| 1291 |
+
170
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 10
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. Building end-to-end dialogue systems using generative hierarchical neural network models. In Proceedings of the 30th AAAI Conference on Artificial Intelligence (AAAI-16), 2016. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
174,
|
| 1300 |
+
178,
|
| 1301 |
+
821,
|
| 1302 |
+
222
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 10
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Hava T Siegelmann. Computation beyond the turing limit. In Neural Networks and Analog Computation, pp. 153–164. Springer, 1999. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
171,
|
| 1311 |
+
229,
|
| 1312 |
+
823,
|
| 1313 |
+
258
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 10
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Alessandro Sordoni, Yoshua Bengio, Hossein Vahabi, Christina Lioma, Jakob Grue Simonsen, and Jian-Yun Nie. A hierarchical recurrent encoder-decoder for generative context-aware query suggestion. In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, pp. 553–562. ACM, 2015. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
174,
|
| 1322 |
+
267,
|
| 1323 |
+
826,
|
| 1324 |
+
325
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 10
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints, abs/1605.02688, May 2016. URL http://arxiv.org/abs/ 1605.02688. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
174,
|
| 1333 |
+
333,
|
| 1334 |
+
825,
|
| 1335 |
+
376
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 10
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Keiichi Tokuda, Yoshihiko Nankaku, Tomoki Toda, Heiga Zen, Junichi Yamagishi, and Keiichiro Oura. Speech synthesis based on hidden markov models. Proceedings of the IEEE, 101(5): 1234–1252, 2013. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
174,
|
| 1344 |
+
385,
|
| 1345 |
+
825,
|
| 1346 |
+
428
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. arXiv preprint arXiv:1601.06759, 2016. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
173,
|
| 1355 |
+
436,
|
| 1356 |
+
823,
|
| 1357 |
+
465
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 10
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Fisher Yu and Vladlen Koltun. Multi-scale context aggregation by dilated convolutions. arXiv preprint arXiv:1511.07122, 2015. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
173,
|
| 1366 |
+
474,
|
| 1367 |
+
823,
|
| 1368 |
+
503
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 10
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Wojciech Zaremba. An empirical exploration of recurrent network architectures. 2015. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
176,
|
| 1377 |
+
512,
|
| 1378 |
+
743,
|
| 1379 |
+
526
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 10
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "APPENDIX A ",
|
| 1386 |
+
"text_level": 1,
|
| 1387 |
+
"bbox": [
|
| 1388 |
+
176,
|
| 1389 |
+
554,
|
| 1390 |
+
282,
|
| 1391 |
+
570
|
| 1392 |
+
],
|
| 1393 |
+
"page_idx": 10
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"type": "text",
|
| 1397 |
+
"text": "A MODEL VARIANT: SAMPLERNN-WAVENET HYBRID ",
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
174,
|
| 1400 |
+
584,
|
| 1401 |
+
553,
|
| 1402 |
+
599
|
| 1403 |
+
],
|
| 1404 |
+
"page_idx": 10
|
| 1405 |
+
},
|
| 1406 |
+
{
|
| 1407 |
+
"type": "text",
|
| 1408 |
+
"text": "SampleRNN-WaveNet model has two modules operating at two different clock-rate. The slower clock-rate module (frame-level module) sees one frame (each of which has size $F S$ ) at a time while the faster clock-rate component(sample-level component) sees one acoustic sample at a time i.e. the ratio of clock-rates for these two modules would be the size of a single frame. Number of sequential steps for frame-level component would be $F S$ times lower. We repeat the output of each step of frame-level component $F S$ times so that number of time-steps for output of both the components match. The output of both these modules are concatenated for every time-step which is further operated by non-linearities for every time-step independently before generating the final output. ",
|
| 1409 |
+
"bbox": [
|
| 1410 |
+
174,
|
| 1411 |
+
611,
|
| 1412 |
+
825,
|
| 1413 |
+
722
|
| 1414 |
+
],
|
| 1415 |
+
"page_idx": 10
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"type": "text",
|
| 1419 |
+
"text": "In our experiments, we kept size of a single frame $( F S )$ to be 128. We tried two variants of this model: 1. fully convolutional WaveNet and 2. RNN-WaveNet. In fully convolutional WaveNet, both modules described above are implemented using dilated convolutions as described in original WaveNet model. In RNN-WaveNet, we use high capacity RNN in the frame-level module to model the dependency between frames. The sample-level WaveNet in RNN-WaveNet has receptive field of size 509 samples from the past. ",
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
174,
|
| 1422 |
+
728,
|
| 1423 |
+
823,
|
| 1424 |
+
813
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 10
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "text",
|
| 1430 |
+
"text": "Although these models are designed with the intention of combining the two models to harness their best features, preliminary experiments show that this variant is not meeting our expectations at the moment which directs us to a possible future work. ",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
176,
|
| 1433 |
+
820,
|
| 1434 |
+
825,
|
| 1435 |
+
862
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 10
|
| 1438 |
+
}
|
| 1439 |
+
]
|
parse/train/SkxKPDv5xl/SkxKPDv5xl_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SkxKPDv5xl/SkxKPDv5xl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/UZgGf92u5N0/UZgGf92u5N0.md
ADDED
|
@@ -0,0 +1,457 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# On the Effects of Data Distortion on Model Analysis and Training
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 Data modification can introduce artificial information. It is often assumed that
|
| 11 |
+
2 the resulting artefacts are detrimental to training, whilst being negligible when
|
| 12 |
+
3 analysing models. We investigate these assumptions and conclude that in some
|
| 13 |
+
4 cases they are unfounded and lead to incorrect results. Specifically, we show current
|
| 14 |
+
5 shape bias identification methods and occlusion robustness measures are biased
|
| 15 |
+
6 and propose a fairer alternative for the latter. Subsequently, through a series of
|
| 16 |
+
7 experiments we seek to correct and strengthen the community’s perception of how
|
| 17 |
+
8 distorting data affects learning. Based on our empirical results we argue that the
|
| 18 |
+
9 impact of the artefacts must be understood and exploited rather than eliminated.
|
| 19 |
+
|
| 20 |
+
# 10 1 Motivation
|
| 21 |
+
|
| 22 |
+
11 Modifying data has become commonplace both when training and analysing models, yet the wider
|
| 23 |
+
12 implications are often disregarded. We delve into some of the side-effects and point out that this
|
| 24 |
+
13 practice has resulted in the creation of biased model interpretation tools and poorly informed theories.
|
| 25 |
+
14 On the analysis side, we take as examples occlusion robustness and shape bias identification methods.
|
| 26 |
+
15 On the training side, we focus on some instances of Mixed Sample Data Augmentation (MSDA),
|
| 27 |
+
16 where two images are combined to obtain a new training sample. Visual examples of each can
|
| 28 |
+
17 be found in Figure 1. In this paper we study a number of assumptions that lie at the heart of the
|
| 29 |
+
18 aforementioned methods, which we briefly introduce below.
|
| 30 |
+
19 Shape-texture bias: Deep models are known to be sensitive to interventions that are imperceptible
|
| 31 |
+
20 to humans [35, 13], as well as to other forms of distribution shifts [1, 6, 8]. It has been argued that
|
| 32 |
+
21 this is intimately linked to networks tending to use texture rather than shape information [2, 11].
|
| 33 |
+
22 Recently, input distortions have become a popular way of assessing a model’s texture bias. To this end,
|
| 34 |
+
23 images are divided into a grid and the resulting patches are randomly shuffled such that information
|
| 35 |
+
24 is preserved locally, while the global shape is altered [32, 27, 25, 41]. It is implicitly assumed that
|
| 36 |
+
25 patch-shuffling does not introduce misleading shape or texture that could affect model evaluation.
|
| 37 |
+
26 Occlusion robustness: A widely adopted method for measuring occlusion robustness is through the
|
| 38 |
+
27 accuracy obtained after superimposing a rectangular patch on an image [5, 9, 39, 42, 20]. We refer
|
| 39 |
+
28 to this approach as CutOcclusion throughout the paper. Just as for shape bias, this method relies on
|
| 40 |
+
29 information introduced not to interfere with a model’s learnt representations such that a decrease in
|
| 41 |
+
30 performance can be directly attributed to lack of robustness.
|
| 42 |
+
31 Data augmentation studies: In statistical learning, training with augmented data is termed Vicinal
|
| 43 |
+
32 Risk Minimisation (VRM) [37, 4] and it is seen as injecting prior knowledge about the neighbourhood
|
| 44 |
+
33 of the data samples. The intuition behind augmentation caused researchers to interpret its effect
|
| 45 |
+
34 through the similarity between original and augmented data distributions. This perspective is often
|
| 46 |
+
35 challenged by methods which, despite generating samples that do not appear to fall under the
|
| 47 |
+
36 distribution of natural images, lead to strong learners. Gontijo-Lopes et al. [12] argue it is the
|
| 48 |
+
37 perceived distribution shift that needs to be minimised, while maximising the sample vicinity.
|
| 49 |
+
38 Formalising these concepts, they introduce augmentation “diversity” and “affinity”. Diversity is
|
| 50 |
+
39 defined as the training loss when learning with artificial samples, while affinity quantifies the
|
| 51 |
+
40 difference between the accuracy on original test data and augmented test data for a reference model.
|
| 52 |
+
41 The latter penalises augmentations that introduce artificial information to which the model is not
|
| 53 |
+
42 invariant, implicitly assuming that training with that information is detrimental to generalisation.
|
| 54 |
+
43 In summary, it is currently assumed that the artefacts introduced by changes in the data are negligible
|
| 55 |
+
44 when evaluating models, while those introduced when training are important and undesirable. Does
|
| 56 |
+
45 the artificial information added by analysis methods not have major side-effects or does it lead to
|
| 57 |
+
46 biased results? Conversely, are the artefacts important when training with modified data? Do they
|
| 58 |
+
47 cause models to learn better or worse representations?
|
| 59 |
+
48 We set out to answer these questions and find that when the secondary effects of data manipulation
|
| 60 |
+
49 are not accounted for, results can be misleading, especially in comparative studies. Subsequently, we
|
| 61 |
+
50 construct empirical counter-examples which disprove common beliefs in the literature and highlight
|
| 62 |
+
51 the importance of understanding the changes MSDAs introduce. Our contributions are:
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
Figure 1: Examples of image distortions. For test-time distortions (Occlusion and Shuffled grid) only Image 1 was used. For mixing augmentations, the first row was generated with a mixing factor of 0.2, while the second one with 0.5.
|
| 66 |
+
|
| 67 |
+
• We show that increasingly popular model interpretation and analysis methods are biased, relying on unfounded assumptions (Section 2);
|
| 68 |
+
• For measuring occlusion robustness, we propose a fairer alternative (Section 3);
|
| 69 |
+
• We show that, in contrast to what is widely assumed, not preserving the data distribution can lead to learning better representations (Section 4).
|
| 70 |
+
|
| 71 |
+
# 57 2 Are artefacts negligible when analysing classifiers?
|
| 72 |
+
|
| 73 |
+
58 To verify whether distorting data at evaluation time could have side-effects previously not considered,
|
| 74 |
+
59 we look at the increase in misclassifications per category. That is, from the number of incorrect
|
| 75 |
+
60 predictions of a model evaluated on modified data, we subtract the incorrect predictions when testing
|
| 76 |
+
61 on original data. If there is a significant increase for a specific class, it indicates that the distortion
|
| 77 |
+
62 introduces features the model associates with that class. We refer to this phenomenon as “data
|
| 78 |
+
63 interference”. Considering only positive differences, we denote the increase in the percentage of
|
| 79 |
+
64 misclassifications for class $c$ of a given model $m$ by $i _ { c } ^ { m }$ . We define the Data Interference $D I$ index as
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
D I = \frac { i _ { c _ { m a x } } } { \sum _ { c } i _ { c } } i _ { c _ { m a x } } ,
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
65 where $c _ { m a x }$ is the class with highest mean increase across all runs. The $D I$ index measures the
|
| 86 |
+
66 percentage represented by the dominant class $c _ { m a x }$ weighted by its increase. A high index value
|
| 87 |
+
67 indicates a sharp increase for a particular class which is consistent across runs. We associate this with
|
| 88 |
+
68 an overlap between introduced artefacts and learnt representations. In Appendix B.1 we experiment
|
| 89 |
+
69 with an alternative index, where we weight by the highest increase of a model across the 5 runs, so as
|
| 90 |
+
70 to obtain a worst-case analysis. As expected, we observe a more accentuated bias in this case.
|
| 91 |
+
71 To obtain models with different behaviours in a controlled manner, we make use of data augmentation.
|
| 92 |
+
72 Since it is sufficient to identify some common cases in which models are disfavoured, we choose to
|
| 93 |
+
73 reduce our environmental impact by restricting the analysis to simple MSDAs that combine images
|
| 94 |
+
74 without incurring additional computation time or external models. As will be argued in Section 3, we
|
| 95 |
+
75 expect the unfairness to be present in most settings, thus the exact choice of augmentation is irrelevant.
|
| 96 |
+
76 We focus on two popular MSDAs, MixUp [40] and CutMix [39]. MixUp linearly interpolates between
|
| 97 |
+
77 two images to obtain a new training example, while CutMix masks out a rectangular region of an
|
| 98 |
+
78 image with the corresponding region of another image. Besides the aforementioned methods, we
|
| 99 |
+
79 also employ FMix due to its irregularly shaped masks sampled from Fourier space, which will play
|
| 100 |
+
80 an important role in our analysis. Note that although the masking methods sample the size of the
|
| 101 |
+
81 occluding patch from the same distribution, in CutMix part of the rectangle can be outside the image,
|
| 102 |
+
82 which leads to less occluded samples overall. We refer to models by the augmentations they were
|
| 103 |
+
83 trained with and use “basic” to label the models trained without MSDA.
|
| 104 |
+
84 Throughout the paper, we do 5 runs of each experiment with PreAct-ResNet18 [15] as the default
|
| 105 |
+
85 architecture. We include results for BagNet [2] and VGG [33] in the Appendices. The main data sets
|
| 106 |
+
86 we report results on are CIFAR-10/100 [21], Tiny ImageNet [34], FashionMNIST [38], ImageNet [29].
|
| 107 |
+
87 For ImageNet we use pretrained ResNet-101 models made publicly available by Harris et al. [14].
|
| 108 |
+
88 Note that the only experiments for which we are unable to run repeats are those on ImageNet, since
|
| 109 |
+
89 only one model per augmentation is provided. For full experimental details, see Appendix A. Total
|
| 110 |
+
90 emissions of training the models evaluated in this paper are estimated [22] to be $3 8 . 0 7 \mathrm { k g C O _ { 2 } e q }$ , to
|
| 111 |
+
91 which $1 3 . 1 1 \mathrm { k g C O _ { 2 } e q }$ more are added during the analysis. The hope is that our findings will lead to a
|
| 112 |
+
92 better understanding which in the long run would help reduce erroneous research directions without
|
| 113 |
+
93 needing to empirically disprove them, lessening the future carbon footprint of the community.
|
| 114 |
+
|
| 115 |
+
Table 1: DI index $( \% )$ for PreAct-ResNet18 on grid-shuffled images for four different types of models. Results with the highest average are given in italic and the lowest in bold. Information introduced when shuffling tends to interfere less with the representations of FMix and CutMix models.
|
| 116 |
+
|
| 117 |
+
<table><tr><td></td><td>basic</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>CIFAR-10</td><td>2.90±1.10</td><td>2.54±1.29</td><td>0.60±0.26</td><td>0.33±0.17</td></tr><tr><td>CIFAR-100</td><td>1.05±0.59</td><td>0.93±0.44</td><td>0.23±0.29</td><td>0.11±0.10</td></tr><tr><td>FashionMNIST</td><td>1.12±0.63</td><td>2.73±1.64</td><td>1.12±0.61</td><td>0.70±0.22</td></tr><tr><td>Tiny ImageNet</td><td>2.58±4.73</td><td>0.54±0.27</td><td>0.38±0.12</td><td>0.14±0.12</td></tr><tr><td>ImageNet</td><td>0.82</td><td>1.49</td><td>0.58</td><td>1</td></tr></table>
|
| 118 |
+
|
| 119 |
+
# 94 2.1 Shape bias
|
| 120 |
+
|
| 121 |
+
95 For assessing shape bias through sample manipulation, the standard procedure is to choose between
|
| 122 |
+
96 dividing the image in 4, 16 or 64 patches to be shuffled. Since FashionMNIST images are smaller,
|
| 123 |
+
97 we choose a $2 \times 2$ grid, for CIFAR-10/100 and Tiny ImageNet $4 \times 4$ , while for ImageNet we use
|
| 124 |
+
98 an $8 \times 8$ grid. However, similar results are obtained for different grid sizes (Appendix B.2). The
|
| 125 |
+
99 large DI index in Table 1 indicates that either basic or MixUp models tend to associate the features
|
| 126 |
+
100 artificially introduced by patch-shuffling with a certain class. We take a closer look at the distribution
|
| 127 |
+
101 of misclassifications for CIFAR-10 and notice that the basic model tends to wrongly predict the class
|
| 128 |
+
102 “Truck” (Figure 2). This is not at all surprising, given that the strong horizontal and vertical edges are
|
| 129 |
+
103 highly indicative of this class. Similar observations can be made for other data sets (Appendix B.3).
|
| 130 |
+
104 Thus, we believe the grid-shuffling approach is causing models which are not invariant to strong
|
| 131 |
+
105 horizontal and vertical edges to appear to rely more heavily on shape information. A model not
|
| 132 |
+
106 affected by this transformation could be considered texture-biased if we accept the larger definition
|
| 133 |
+
107 of texture as local information. However, there is a question about the extent to which the reciprocal
|
| 134 |
+
108 is true; A model can be invariant to the aforementioned edges because it is indeed relying on texture
|
| 135 |
+
109 information or simply because it uses different shape-related features.
|
| 136 |
+
110 Is a model necessarily more affected by patch-shuffling if it has a higher shape bias? To answer
|
| 137 |
+
111 this question, we can use another method of determining shape and texture bias to find a counter
|
| 138 |
+
112 example. We analyse the ImageNet models on the Geirhos Style-Transfer (GST) [11] data set. GST
|
| 139 |
+
113 contains artificially generated images where the shape belongs to one class and the texture to another.
|
| 140 |
+
114 There are 16 coarse classes that encompass a number of ImageNet categories to which they are
|
| 141 |
+
115 mapped. The bias of the models is given by the accuracy obtained when the label is set to either the
|
| 142 |
+
116 shape or texture. Using this well-known method of identifying shape bias we want to find models
|
| 143 |
+
117 which have similar biases but different DI indices when patch-shuffling. This would indicate that
|
| 144 |
+
118 sensitivity to shuffling is not necessarily linked to increased shape bias.
|
| 145 |
+
119 The results in Table 2 show that the basic model does not have a higher shape bias than masking
|
| 146 |
+
120 methods although it has a significantly higher DI index, as we have seen in Table 1. We repeat the
|
| 147 |
+
121 same experiment on the Tiny ImageNet [34] data set. Geirhos et al. [11] use WordNet [26] to map the
|
| 148 |
+
122 1000 categories to the 16 classes of the GST data set. A number of ImageNet categories that belong
|
| 149 |
+
123 to the 16 higher-level classes of GST are missing. For this reason, a poorer overall performance is
|
| 150 |
+
124 expected and the results could differ slightly given a better fit between the sets. Nonetheless, we find
|
| 151 |
+
125 again no significant correlation between masking augmentation and texture bias. We also include in
|
| 152 |
+
126 Table B.2 the results for BagNet models, which have smaller receptive fields and so are forced to use
|
| 153 |
+
127 more local information. Even in this case, we find a high DI for the basic model and no difference
|
| 154 |
+
128 in texture bias compared to MSDA. Thus, a model which is more affected by patch-shuffling is not
|
| 155 |
+
129 necessary more shaped-bias. In other words, models can appear to have vastly different shape bias
|
| 156 |
+
130 when evaluated on randomly rearranged patches, albeit in reality their bias is similar. The inability of
|
| 157 |
+
131 this method to account for artefacts makes it unfair and unreliable.
|
| 158 |
+
|
| 159 |
+
Table 2: Accuracy of augmentation-trained ImageNet and Tiny ImageNet models on the GST data set when the label is taken to be either the shape or texture. There is no clear correlation between masking methods and low texture bias.
|
| 160 |
+
|
| 161 |
+
<table><tr><td colspan="3">ImageNet</td><td colspan="2">Tiny ImageNet</td></tr><tr><td></td><td>Shape</td><td>Texture</td><td>Shape</td><td>Texture</td></tr><tr><td>basic</td><td>20.31</td><td>53.28</td><td>10.56±0.65</td><td>26.04±1.77</td></tr><tr><td>MixUp</td><td>24.14</td><td>60.31</td><td>12.02±0.33</td><td>27.77±1.56</td></tr><tr><td>FMix</td><td>21.25</td><td>53.43</td><td>10.40±0.39</td><td>19.90±2.12</td></tr><tr><td>CutMix</td><td>1</td><td>1</td><td>10.54±0.38</td><td>23.72±2.42</td></tr></table>
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 2: Difference in incorrect predictions on CIFAR-10 for the basic model.
|
| 165 |
+
|
| 166 |
+
# 2.2 Occlusion measurement
|
| 167 |
+
|
| 168 |
+
133 We want to determine whether the same issue identified in the case of shape bias evaluation applies
|
| 169 |
+
134 to occlusion robustness measures. We focus on CutOcclusion, where a rectangular black patch is
|
| 170 |
+
135 superimposed on test images and the robustness is given by the resulting accuracy. We perform
|
| 171 |
+
136 the same experiment as before, where the $D I$ index is now measured when testing on rectangle
|
| 172 |
+
137 occluded images. There is no standardised distortion when measuring CutOcclusion, with the size
|
| 173 |
+
138 and positioning of the obstructing patch varying between studies. Most often in prior art a lack of
|
| 174 |
+
139 robustness is noted for large occluders [e.g. 5, 42]. For this reason, we sample the size of the patch
|
| 175 |
+
140 from a Beta(2,1) distribution, allowing the occluding patch to lie outside the image (as it is done for
|
| 176 |
+
141 augmenting with CutMix and CutOut [7]). This allows us to capture both the cases in which either
|
| 177 |
+
142 the centre or the border area is masked out but requires a non-uniform distribution to counter for the
|
| 178 |
+
143 patches existing outside the image. We also sample from a uniform distribution where the occluder is
|
| 179 |
+
144 restricted to be positioned within the image boundaries and obtain similar results (See Appendix C.1).
|
| 180 |
+
145 Table 3 shows that a significant gap in the DI index can be identified for each of the data sets. This
|
| 181 |
+
146 indicates that some models will again be disadvantaged. We additionally find that data interference is
|
| 182 |
+
147 present for different architectures, when overlapping patches from external images or using differently
|
| 183 |
+
148 shaped masks (Appendix B.4). Thus, the result of CutOcclusion and its variants is highly dependent
|
| 184 |
+
149 on the problem at hand. That is, whether the artefacts introduced by the artificial occlusion are
|
| 185 |
+
150 salient features of the model depends on what features are naturally distinctive for the model. Just as
|
| 186 |
+
151 for randomly shuffling tiles, by occluding images using a particularly shaped patch, one implicitly
|
| 187 |
+
152 measures a model’s affinity to certain features, albeit those features might be discriminative. This
|
| 188 |
+
153 deems such methods inappropriate for fairly assessing robustness and texture bias.
|
| 189 |
+
154 A related observation was made by Hooker et al. [17] who note the pitfalls of manipulating data to
|
| 190 |
+
155 determine feature importance. They point out that when simply superimposing uniform patches over
|
| 191 |
+
156 image features, it is difficult to asses how much of the reduction in accuracy is caused by the absence
|
| 192 |
+
157 of those features and how much is due to images becoming out of distribution. To address this, the
|
| 193 |
+
158 most important features identified by an estimator are masked out both on train and test data, closing
|
| 194 |
+
159 the gap between the two sets. Hooker et al. then train and evaluate models on the newly generated
|
| 195 |
+
160 images. Unlike for interpretability methods, the subject of occlusion robustness studies is the model
|
| 196 |
+
161 itself, which makes training with a modified version of the data an inviable option. In the following
|
| 197 |
+
162 section we explore ways of overcoming this bias when measuring occlusion robustness.
|
| 198 |
+
|
| 199 |
+
Table 3: DI index $( \% )$ when occluding with black patches. The highest results are given in italic and the lowest in bold. For each data set, there exists a non-negligible gap in the DI index.
|
| 200 |
+
|
| 201 |
+
<table><tr><td></td><td>basic</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>CIFAR-10</td><td>5.48±1.31</td><td>0.75±0.55</td><td>0.87±0.92</td><td>2.87±3.04</td></tr><tr><td>CIFAR-100</td><td>3.25±1.31</td><td>0.80±0.46</td><td>1.28±2.48</td><td>1.36±0.63</td></tr><tr><td>FashionMNIST</td><td>0.44±0.34</td><td>2.59±1.05</td><td>0.92±1.79</td><td>0.97±1.82</td></tr><tr><td>Tiny</td><td>2.40±0.82</td><td>1.88±0.61</td><td>0.47±0.41</td><td>4.62±4.93</td></tr><tr><td>Imagenet</td><td>1.28</td><td>4.50</td><td>1.02</td><td></td></tr></table>
|
| 202 |
+
|
| 203 |
+
# 163 3 What are fairer alternatives?
|
| 204 |
+
|
| 205 |
+
164 We propose a simple, more carefully defined measure that aims to decouple the machine’s edge bias
|
| 206 |
+
165 from the occlusion robustness, which we refer to as “interplay occlusion” (iOcclusion). Interplay
|
| 207 |
+
166 occlusion reflects the change in the interplay between performance on seen and unseen data. Formally,
|
| 208 |
+
|
| 209 |
+
$$
|
| 210 |
+
i O c c l u s i o n _ { i } = \left| \frac { \mathcal { A } ( \mathcal { D } _ { t r a i n } ^ { i } ) - \mathcal { A } ( \mathcal { D } _ { t e s t } ^ { i } ) } { \mathcal { A } ( \mathcal { D } _ { t r a i n } ) - \mathcal { A } ( \mathcal { D } _ { t e s t } ) } \right| ,
|
| 211 |
+
$$
|
| 212 |
+
|
| 213 |
+
167 where $\mathcal A ( \mathcal D )$ denotes the accuracy on a given data set $\mathcal { D }$ , and $\mathcal { D } ^ { i }$ is the data set resulting from
|
| 214 |
+
168 removing $i \%$ pixels of each image. The intuition is that on train data robust models are less sensitive
|
| 215 |
+
169 to the artefacts of the occlusion policy for small levels of occlusion, resulting in a large difference in
|
| 216 |
+
170 accuracy from that on unseen data. The performance of both train and test gets close to random as
|
| 217 |
+
171 the percentage of occluded data approaches $90 \%$ and we expect the gap to fall off quicker for less
|
| 218 |
+
172 robust models. This change in interplay is taken with respect to the generalisation gap of the model,
|
| 219 |
+
173 such that the quality of the model fit in itself does not interfere with the robustness measure.
|
| 220 |
+
174 Although iOcclusion reduces data interference, other factors have to also be considered when choosing
|
| 221 |
+
175 a masking method for computing $\mathcal { D } ^ { i }$ , such as the number of contiguous components or the amount of
|
| 222 |
+
176 salient information masked out. In this paper we choose to generate masks using Grad-CAM [30],
|
| 223 |
+
177 such that the area with most salient $\mathrm { i } \%$ pixels is covered. It must be noted that this method implicitly
|
| 224 |
+
178 assumes there could be multiple occluders and has the downside of incurring a higher environmental
|
| 225 |
+
179 cost. For this, we also experiment with using rectangular or Fourier-sampled masks and conclude
|
| 226 |
+
180 that although random masking makes the process noisier, the exact choice of masking method is of
|
| 227 |
+
181 secondary importance as long as the occluder’s granularity is accounted for. Appendix C.4 provides
|
| 228 |
+
182 discussion and results on these alternative instances of iOcclusion, as well as differences in their
|
| 229 |
+
183 carbon footprint. For a fair comparison, throughout this section we do not allow the obstructing patch
|
| 230 |
+
184 when measuring CutOcclusion to lie outside the image such that the fraction removed is exact.
|
| 231 |
+
185 Assessing the correctness of such a measure is difficult in the absence of a baseline. For the remainder
|
| 232 |
+
186 of this section we will build varied experiments to attest the validity of our method. We focus on the
|
| 233 |
+
187 key results, but include additional ones and further experiments in Appendix C. Since occlusion in
|
| 234 |
+
188 real-life scenarios could be caused by non-uniformly coloured objects, an appropriate measure must
|
| 235 |
+
189 generalise across colour patterns. When computing iOcclusion and CutOcclusion, we superimpose
|
| 236 |
+
190 patches from images belonging to a different data set and compare the results to those obtained
|
| 237 |
+
191 when occluding with black patches only. For visual clarity, Figure 3 presents the results for the
|
| 238 |
+
192 least and most robust models (see Appendix C.2 for a full comparison). For iOcclusion, using
|
| 239 |
+
193 uniform occluders gives similar results to its non-uniform version, whereas the CutOcclusion measure
|
| 240 |
+
194 provides an inconsistent model evaluation.
|
| 241 |
+
195 As we have argued, in addition to not being sensitive to the colour pattern of the patch, a fair measure
|
| 242 |
+
196 must also be invariant to the shape of the patch. To empirically confirm iOcclusion reduces the
|
| 243 |
+
197 importance of edge information, we aim to obtain a model that is robust to occlusion, but at the same
|
| 244 |
+
198 time has a high DI index (it is sensitive to edge information). To this end, we create a variation of
|
| 245 |
+
199 FMix, Random Masks (RM), where at the beginning of the training process three masks are randomly
|
| 246 |
+
200 sampled from Fourier space. For each batch, one of the three is chosen uniformly at random. While
|
| 247 |
+
201 the RM models are not sensitive to black-patch occlusion, when masking with patterned patches they
|
| 248 |
+
202 have a higher DI index than FMix, as desired. Table 4 gives results for a fraction of 0.3 pixels covered
|
| 249 |
+
203 by a non-uniform occluder. Our measure reflects the robustness of training with RM, situating it close
|
| 250 |
+
204 to other masking methods. On the other hand, because CutOcclusion implicitly penalises models
|
| 251 |
+
205 with high DI index, according to this measure RM appears almost as sensitive to occlusion as MixUp.
|
| 252 |
+
206 Figure B.4 shows results for a wider range of fractions.
|
| 253 |
+
207 Another problem that occurs when purely looking at post-masking accuracy is weaker models would
|
| 254 |
+
208 erroneously appear less robust. We show this by reversing the problem: we evaluate the same model
|
| 255 |
+
209 on two different subsets of the CIFAR-100 data set: typical and tail images as categorised by Feldman
|
| 256 |
+
210 and Zhang [10]. They consider a train-test sample pair to belong to the tail of the data distribution if
|
| 257 |
+
211 the test sample is correctly classified when a model is trained with the train sample and incorrectly
|
| 258 |
+
212 without it. CutOcclusion would indicate that models are significantly more robust to occluding typical
|
| 259 |
+
213 examples. However, a closer analysis makes us doubt this conclusion. The raw accuracy on both
|
| 260 |
+
214 train and test data for tail examples is lower than for the typical ones. In fact, the performance when
|
| 261 |
+
215 occluding images decreases at the same rate for the two subsets. By way of definition, iOcclusion
|
| 262 |
+
216 allows a fair comparison of robustness regardless of the overall performance of a model (Figure 4).
|
| 263 |
+
217 As we evidenced through controlled experiments, there are many cases that CutOcclusion does not
|
| 264 |
+
218 properly address. From a model analysis perspective, correctly assessing the occlusion robustness
|
| 265 |
+
219 could lead to better understanding and development of models and training procedures. Equally
|
| 266 |
+
220 important, it has applicability for real-world deployments where no prior knowledge exists about the
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
Figure 3: CutOcclusion (left) and iOcclusion (right) when occluding with black patches (uniform) and patches taken from other images (nonuniform). iOcclusion gives more consistent results.
|
| 270 |
+
|
| 271 |
+
Table 4: DI index $( \% )$ and occlusion robustness for models trained on CIFAR-10 when obstructing $30 \%$ of the image pixels with non-uniform patches. When measuring the robustness with CutOcclusion, RM appears significantly less robust than CutMix due to its sensitivity to patching with rectangles, while iOcclusion highlights the robustness specific to training with FMix-like masks. Given in bold is the closest result to that of RM for each evaluation.
|
| 272 |
+
|
| 273 |
+
<table><tr><td></td><td>basic</td><td>MixUp</td><td>CutMix</td><td>FMix</td><td>RM</td></tr><tr><td>DI index</td><td>1.67±0.27</td><td>1.00±0.31</td><td>0.17±0.16</td><td>0.15±0.03</td><td>0.39±0.07</td></tr><tr><td>CutOcclusion</td><td>47.97±0.52</td><td>58.65±1.01</td><td>76.56±6.36</td><td>78.00±0.45</td><td>60.79±5.03</td></tr><tr><td>iOcclusion</td><td>0.21±0.10</td><td>0.57±0.18</td><td>1.09±0.17</td><td>1.46±0.07</td><td>1.20±0.23</td></tr></table>
|
| 274 |
+
|
| 275 |
+

|
| 276 |
+
Figure 4: CutOcclusion (left) and iOcclusion (right) for the basic and FMix models on two subsets of the same data set: tail and typical. Evaluating the models with iOcclusion on the two types of samples leads to mostly overlapping robustness levels. That is, they do not differ outside the margin of error. On the contrary, CutOcclusion incorrectly finds the models to be less robust on tail data.
|
| 277 |
+
|
| 278 |
+
Table 5: Augmentation comparison on CIFAR-10. We consider two variants when calculating diversity. One is computing the cross-entropy loss using the label of the majority class (Diversity), as for mixing in [19]. The alternative, MixDiversity, takes a linear combination of the two cross-entropy losses.
|
| 279 |
+
Table 6: DI index $( \% )$ measured for nonuniform occlusion when training without the class with highest increase in incorrect predictions. Again, a gap can be noted, supporting the idea that data interference is not specific to peculiar cases.
|
| 280 |
+
|
| 281 |
+
<table><tr><td></td><td>Affinity</td><td>Diversity</td><td>MixDiversity</td><td></td><td>CIFAR-10</td><td>CIFAR-100</td></tr><tr><td>MixUp</td><td>-12.58±0.14</td><td>0.41±0.01</td><td>0.84±0.00</td><td>MixUp</td><td>0.39±0.15</td><td>1.22±0.19</td></tr><tr><td>FMix</td><td>-25.55±0.26</td><td>0.34±0.01</td><td>0.65±0.00</td><td>FMix</td><td>0.08±0.06</td><td>0.50±0.21</td></tr></table>
|
| 282 |
+
|
| 283 |
+
possible shapes of the obstructions. While this aspect of generality is the strength of our approach, it must be stressed that when there exists a limited set of known possible occluders, evaluating robustness specifically to them could be safer. Incorrectly assessing robustness can have severe effects especially when applied to autonomous vehicles or medical imaging. We do not propose a universal solution, but rather suggest an alternative to the biased approach for the common scenario in which the environment is not controlled and little is known about all the potential occluders. However, even in this case, our metric should be taken as a guide when analysing models. Although iOcclusion aims to address data interference, since a ground-truth does not exist, it cannot be guaranteed that this method provides fair results in the absolute.
|
| 284 |
+
|
| 285 |
+
230 The strength of the bias will depend on the data in question and some applications will be more heavily
|
| 286 |
+
231 affected than others. We have seen that for natural images this bias does exist. To confirm that we have
|
| 287 |
+
232 not just identified isolated cases, we remove the class that has the highest increase in mispredictions
|
| 288 |
+
233 and retrain the models on the remaining classes. We find that the bias is again present (Table 6),
|
| 289 |
+
234 but with respect to another class. For example, in the case of CIFAR-10, after removing the “Truck”
|
| 290 |
+
235 class, models mispredict rectangle-occluded images as “Boat” (Appendix D). Thus, the edge artefacts
|
| 291 |
+
236 are very likely to interfere with learnt representations since they are such fundamental features. From
|
| 292 |
+
237 an evaluation perspective, as we have seen, this impacts assessment methods and must be accounted
|
| 293 |
+
238 for. From the training perspective, such a widespread data interference of masking distortions would
|
| 294 |
+
239 indicate a large perceptual shift in the data when performing MSDA. In the following section we
|
| 295 |
+
240 investigate the importance of the artefacts in this case and their implications.
|
| 296 |
+
|
| 297 |
+
# 241 4 Is the magnitude of the distribution shift important?
|
| 298 |
+
|
| 299 |
+
Traditionally it was believed that a good augmentation should have minimal distribution shift. Most recently, it has been argued that it is the degree of the perceived shift that determines augmentation quality [12]. We start with the perceptual gap of training with MSDA, as proposed in Gontijo-Lopes et al. [12]. Reiterating, this is given by the difference between the performance of the baseline model when presented with original test data and augmented test data and is termed “affinity”. Subsequently,
|
| 300 |
+
|
| 301 |
+
247 we address the gap in the wider sense, as is often sought in prior art. We first argue that high affinity
|
| 302 |
+
248 and high diversity are not necessarily desirable. Indeed, on CIFAR-10, we find FMix, a better
|
| 303 |
+
249 performing augmentation, to have both lower affinity and lower diversity than MixUp (Table 5). For
|
| 304 |
+
250 diversity, we compute the cross-entropy loss where the label is taken to be that of the majority class.
|
| 305 |
+
251 Similar results are obtained with the MixUp loss, where a weighted average of the true labels is taken.
|
| 306 |
+
252 While intuitively for a high level of affinity, high diversity could correspond to better methods,
|
| 307 |
+
253 the converse does not hold. We argue this is because affinity is rather an analysis of the learnt
|
| 308 |
+
254 representations of the reference model and cannot give an insight into the quality of the augmentation
|
| 309 |
+
255 or its effect on learning. The limitations of affinity are intimately linked to those of CutOcclusion.
|
| 310 |
+
256 We have seen in Section 3 that the bias of the basic model is present not only when obstructing an
|
| 311 |
+
257 image with a uniform patch, but also when mask-mixing. As such, an augmentation will have a
|
| 312 |
+
258 lower affinity if it introduces artefacts that could otherwise lead to learning better representations
|
| 313 |
+
259 when used in the training process. We believe this issue extends to other approaches that aim to
|
| 314 |
+
260 motivate the success of MSDA through reduced distribution shift. Henceforth, we focus on bringing
|
| 315 |
+
261 further supporting evidence that the importance lies in the invariance introduced by the shift and its
|
| 316 |
+
262 interaction with the given problem rather than its magnitude.
|
| 317 |
+
|
| 318 |
+
# 263 4.1 If it is not the magnitude that matters, is it the direction?
|
| 319 |
+
|
| 320 |
+
264 We use empirical evidence to argue against previous assumptions behind the success of MSDA and
|
| 321 |
+
265 propose the study of introduced bias as a more informative research direction. Here we use the term
|
| 322 |
+
266 “bias” to refer to a drift in the learnt representations introduced by the change in the training procedure.
|
| 323 |
+
267 A fundamental difference to classical training is that in the case of augmentation the samples are no
|
| 324 |
+
268 longer independent. Mixed-sampling takes this even further. An immediate question is, does the
|
| 325 |
+
269 added correlation lead to more meaningful representations? It is claimed that the strength of MixUp
|
| 326 |
+
270 lies in causing the model to behave linearly between two images [40] or in pushing the examples
|
| 327 |
+
271 towards their mean [3]. Both of these claims rely on the combined images to be generated from the
|
| 328 |
+
272 same distribution. We want to verify to which extent this is necessary for a successful augmentation.
|
| 329 |
+
|
| 330 |
+
It has been argued that label mixing has a negligible effect on the final model performance [19, 18, 14, 24]. We use the reformulated objective setting [18, 14], where targets are not mixed and the mixing coefficient is drawn from an imbalanced Beta distribution. This allows us to apply MSDA between data sets. Thus, for training a model on a data set, we use an additional one whose targets will be ignored. As an example, a model that is learning to predict CIFAR-10 images will be trained on a combination of CIFAR-10 and CIFAR-100 images, with the target of the former. This scenario breaks the added correlation between training examples. Note that when mixing between data sets we use the same procedure as when performing regular MSDA, without improving the process.
|
| 331 |
+
|
| 332 |
+
281 Table 7 contains the results of this experiment, showing that an accuracy similar to or better than that
|
| 333 |
+
282 of regular MSDA can be obtained by performing inter-dataset MSDA.This invalidates the argument
|
| 334 |
+
283 that the power of MixUp resides in causing the model to act linearly between samples. Another
|
| 335 |
+
284 observation is that for FMix and MixUp, introducing elements from CIFAR-100 when training
|
| 336 |
+
285 models on the CIFAR-10 problem does not harm the learning process. The reciprocal, however, does
|
| 337 |
+
286 not hold. Hence, the “distribution shift” is more intimately linked to the problem at hand and aiming
|
| 338 |
+
287 to characterise an augmentation based on the distance from the original distribution is a limiting
|
| 339 |
+
288 approach, especially when the distance is measured as perceived by a reference model.
|
| 340 |
+
289 We believe an explanation is that the artefacts created when putting together images from CIFAR-10
|
| 341 |
+
290 with those of CIFAR-100 could introduce information that makes the separation of the 10 classes
|
| 342 |
+
291 easier. However, if the information happens to interfere with a feature that is important for separating
|
| 343 |
+
292 the CIFAR-100 categories, the performance could degrade on this data set. This singular experiment
|
| 344 |
+
293 is not sufficient to draw any general conclusions. However, it does show that shifting two distributions
|
| 345 |
+
294 by the same amount can have different effects on the model performance. Thus, the specifics of the
|
| 346 |
+
295 bias introduced could be more important than its magnitude. While some level of data similarity has
|
| 347 |
+
296 to be preserved when performing MSDA, it is far from being the objective of such data-distorting
|
| 348 |
+
297 approaches which, as we will argue further, should be rather seen as forms of regularisation.
|
| 349 |
+
298 We have seen that for all considered data sets, artefacts introduced by masking methods seem to
|
| 350 |
+
299 overlap with common features. This has led us to believe that MSDA training could help bypass
|
| 351 |
+
300 some of the simplicity bias. The simplicity bias refers to the tendency of deep models to find simple
|
| 352 |
+
301 representations and has been used to justify the success of deep models [28, 36]. Recent research
|
| 353 |
+
302 shows that this propensity causes models to ignore complex features that explain the data well in
|
| 354 |
+
303 favour of elementary features, even when they lead to worse performance [31, 16].
|
| 355 |
+
|
| 356 |
+
Table 7: Accuracy on CIFAR-10 (left) and CIFAR-100 (right) upon mixing with samples from a different data set. The baseline is the accuracy when training with a single data set using the reformulated objective. In the interest of space, CIFAR-110 is used to refer to mixing with CIFAR100 when training on the CIFAR-10 problem and vice-versa.
|
| 357 |
+
|
| 358 |
+
<table><tr><td></td><td>MixUp</td><td>FMix</td><td>CutMix</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>baseline</td><td>94.18±0.34</td><td>94.36±0.28</td><td>94.67±0.20</td><td>74.68±0.37</td><td>75.75±0.31</td><td>74.19±0.50</td></tr><tr><td>CIFAR-110</td><td>94.70±0.27</td><td>94.80±0.32</td><td>94.66±0.12</td><td>72.36±1.04</td><td>74.80±0.55</td><td>74.47±0.39</td></tr><tr><td>Fashion</td><td>92.28±0.28</td><td>95.03±0.10</td><td>94.61±0.19</td><td>66.40±1.86</td><td>74.46±0.57</td><td>74.06±0.28</td></tr></table>
|
| 359 |
+
|
| 360 |
+
Although it could seem natural that since MSDAs are not augmentations in the VRM sense, they will increase the complexity of the problem, we design an experiment to support this claim. Similarly to Shah et al. [31], we combine CIFAR-10 and MNIST [23] samples. Since they have the same number of classes, we can easily associate each class of one data set with a corresponding one from the other. Thus, we stack a padded image from the $k$ th class of MNIST on top of a sample from the kth class of CIFAR-10, such that a $3 \times 6 4 \times 3 2$ image is obtained. We then randomly combine the test images and separately compute the accuracy with respect to the targets of each data set.
|
| 361 |
+
|
| 362 |
+
311 The predictions with respect to the CIFAR-10 labels are no better than random $( 1 0 . 0 4 _ { \pm 0 . 1 1 } )$ , while
|
| 363 |
+
312 the accuracy with respect to the MNIST images remains high $( 9 9 . 5 7 _ { \pm 0 . 7 2 } )$ . Thus, models trained
|
| 364 |
+
313 on this combination are mostly relying on MNIST images to make predictions. Similar behaviours
|
| 365 |
+
314 have previously been associated with simplicity bias. Subsequently, when training, we perform FMix
|
| 366 |
+
315 only on MNIST images and observe that this is enough to reverse the results. Evaluating against the
|
| 367 |
+
316 CIFAR-10 label gives an accuracy of $8 6 . 6 0 _ { \pm 0 . 3 4 }$ , while testing against the MNIST label only gives
|
| 368 |
+
317 $1 1 . 6 1 _ { \pm 0 . 3 0 }$ . We find that this also holds true for the other MSDAs. Thus, performing these distortions
|
| 369 |
+
318 on the simpler data set increases its complexity to the point where it surpasses that of CIFAR-10.
|
| 370 |
+
319 Previously, we presented evidence that masking MSDA does not necessarily promote learning neither
|
| 371 |
+
320 more shape nor texture information. In the light of this fact along with the results from this section,
|
| 372 |
+
321 we believe image distortions force the model to learn more complex both shape and texture-specific
|
| 373 |
+
322 features. Thus, in this paper we pointed out that the shift in learnt representations can lead to better
|
| 374 |
+
323 models and simply quantifying the distribution shift can be misleading. An open question remains:
|
| 375 |
+
324 How can we better capture the bias that is introduced and its quality? We believe understanding how
|
| 376 |
+
325 a relatively small change in the data distribution impacts learnt representations could lead the way to
|
| 377 |
+
326 characterising the relationship between data and model generalisation.
|
| 378 |
+
|
| 379 |
+
# 327 5 Conclusions
|
| 380 |
+
|
| 381 |
+
328 Distorting data is such a commonplace procedure, yet little effort has been devoted to investigating its
|
| 382 |
+
329 broader effects. This is particularly problematic when image modifications are applied in analyses. We
|
| 383 |
+
330 show a number of cases in which this leads to biased results. For occlusion robustness measurement,
|
| 384 |
+
331 we propose an alternative. The insights we gain from this endeavour point towards the study of data
|
| 385 |
+
332 characteristics as a cornerstone of our understanding and raise a number of questions about mixed
|
| 386 |
+
333 sample data augmentation, on which we subsequently focus. We note that they interfere with features
|
| 387 |
+
334 that are consistently found across a number of data sets and conclude that the methods commonly
|
| 388 |
+
335 used are forms of mixed sample regularisation rather than augmentation. A limitation of previous
|
| 389 |
+
336 studies that aim to explain their success is the focus on trying to argue similarity with original data,
|
| 390 |
+
337 rather than explaining the bias introduced by the distortion. Correctly interpreting it is important
|
| 391 |
+
338 not only for making the models trustable but also for injecting more informed prior knowledge in
|
| 392 |
+
339 future applications. Beyond their practical benefits, we believe MSDAs have the potential to help
|
| 393 |
+
340 characterise the interplay between data and learnt representations. Overall, the purpose of our paper
|
| 394 |
+
341 is to encourage better practice when dealing with all forms of data distortions.
|
| 395 |
+
|
| 396 |
+
References
|
| 397 |
+
[1] Rocío Alaiz-Rodríguez and Nathalie Japkowicz. Assessing the impact of changing environments on classifier performance. In Conference of the Canadian Society for Computational Studies of Intelligence, pages 13–24. Springer, 2008.
|
| 398 |
+
[2] Wieland Brendel and Matthias Bethge. Approximating CNNs with bag-of-local-features models works surprisingly well on imagenet. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id $\equiv$ SkfMWhAqYQ.
|
| 399 |
+
[3] Luigi Carratino, Moustapha Cissé, Rodolphe Jenatton, and Jean-Philippe Vert. On mixup regularization. arXiv preprint arXiv:2006.06049, 2020.
|
| 400 |
+
[4] Olivier Chapelle, Jason Weston, Léon Bottou, and Vladimir Vapnik. Vicinal risk minimization. In Advances in neural information processing systems, pages 416–422, 2001.
|
| 401 |
+
[5] Sanghyuk Chun, Seong Joon Oh, Sangdoo Yun, Dongyoon Han, Junsuk Choe, and Youngjoon Yoo. An empirical evaluation on robustness and uncertainty of regularization methods. arXiv preprint arXiv:2003.03879, 2020.
|
| 402 |
+
[6] David A Cieslak and Nitesh V Chawla. A framework for monitoring classifiers’ performance: when and why failure occurs? Knowledge and Information Systems, 18(1):83–108, 2009.
|
| 403 |
+
[7] Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017.
|
| 404 |
+
[8] Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. Exploring the landscape of spatial robustness. In International Conference on Machine Learning, pages 1802–1811. PMLR, 2019.
|
| 405 |
+
[9] Alhussein Fawzi and Pascal Frossard. Measuring the effect of nuisance variables on classifiers. In Edwin R. Hancock Richard C. Wilson and William A. P. Smith, editors, Proceedings of the British Machine Vision Conference (BMVC), pages 137.1–137.12. BMVA Press, September 2016. ISBN 1-901725-59-6. doi: 10.5244/C.30.137. URL https://dx.doi.org/10.5244/ C.30.137.
|
| 406 |
+
[10] Vitaly Feldman and Chiyuan Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. Advances in Neural Information Processing Systems, 33, 2020.
|
| 407 |
+
[11] Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A. Wichmann, and Wieland Brendel. Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id $\equiv$ Bygh9j09KX.
|
| 408 |
+
[12] Raphael Gontijo-Lopes, Sylvia J Smullin, Ekin D Cubuk, and Ethan Dyer. Affinity and diversity: Quantifying mechanisms of data augmentation. arXiv preprint arXiv:2002.08973, 2020.
|
| 409 |
+
[13] Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
|
| 410 |
+
[14] Ethan Harris, Antonia Marcu, Matthew Painter, Mahesan Niranjan, Adam Prügel-Bennett, and Jonathon Hare. Understanding and enhancing mixed sample data augmentation. arXiv preprint arXiv:2002.12047, 2020.
|
| 411 |
+
[15] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pages 630–645. Springer, 2016.
|
| 412 |
+
[16] Katherine Hermann and Andrew Lampinen. What shapes feature representations? exploring datasets, architectures, and training. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 9995–10006. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/71e9c6620d381d60196ebe694840aaaa-Paper.pdf. [17] Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. A benchmark for interpretability methods in deep neural networks. In Advances in Neural Information Processing Systems, pages 9737–9748, 2019.
|
| 413 |
+
392 [18] Ferenc Huszár. mixup: Data-dependent data augmentation, 2017. URL http://www. inference.vc/mixup-data-dependent-data-augmentation/. [19] Hiroshi Inoue. Data augmentation by pairing samples for images classification. arXiv preprint arXiv:1801.02929, 2018. [20] Narine Kokhlikyan, Vivek Miglani, Miguel Martin, Edward Wang, Bilal Alsallakh, Jonathan Reynolds, Alexander Melnikov, Natalia Kliushkina, Carlos Araya, Siqi Yan, et al. Captum: A unified and generic model interpretability library for pytorch. arXiv preprint arXiv:2009.07896, 2020. [21] Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009. [22] Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the carbon emissions of machine learning. arXiv preprint arXiv:1910.09700, 2019. [23] Yann LeCun and Corinna Cortes. MNIST handwritten digit database. 2010. URL http: //yann.lecun.com/exdb/mnist/. [24] Daojun Liang, Feng Yang, Tian Zhang, and Peter Yang. Understanding mixup training methods. IEEE Access, 6:58774–58783, 2018. [25] Tiange Luo, Tianle Cai, Mengxiao Zhang, Siyu Chen, Di He, and Liwei Wang. Defective convolutional layers learn robust CNNs. arXiv preprint arXiv:1911.08432, 2019. [26] George A Miller. Wordnet: a lexical database for english. Communications of the ACM, 38(11): 39–41, 1995. [27] Chaithanya Kumar Mummadi, Ranjitha Subramaniam, Robin Hutmacher, Julien Vitay, Volker Fischer, and Jan Hendrik Metzen. Does enhanced shape bias improve neural network robustness to common corruptions? In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=yUxUNaj2Sl. [28] Preetum Nakkiran, Gal Kaplun, Dimitris Kalimeris, Tristan Yang, Benjamin L Edelman, Fred Zhang, and Boaz Barak. SGD on neural networks learns functions of increasing complexity. arXiv preprint arXiv:1905.11604, 2019.
|
| 414 |
+
418 [29] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y. [30] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pages 618–626, 2017. [31] Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, and Praneeth Netrapalli. The pitfalls of simplicity bias in neural networks. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 9573–9585. Curran Associates, Inc., 2020. URL https://proceedings.neurips. cc/paper/2020/file/6cfe0e6127fa25df2a0ef2ae1067d915-Paper.pdf.
|
| 415 |
+
431 [32] Baifeng Shi, Dinghuai Zhang, Qi Dai, Zhanxing Zhu, Yadong Mu, and Jingdong Wang. Informative dropout for robust representation learning: A shape-bias perspective. In International Conference on Machine Learning, pages 8828–8839. PMLR, 2020. [33] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
|
| 416 |
+
[34] Stanford. Tiny imagenet visual recognition challenge, 2015. URL https://tiny-imagenet. herokuapp.com/.
|
| 417 |
+
[35] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
|
| 418 |
+
[36] Guillermo Valle-Perez, Chico Q. Camargo, and Ard A. Louis. Deep learning generalizes because the parameter-function map is biased towards simple functions. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id ${ } = { }$ rye4g3AqFm.
|
| 419 |
+
[37] Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 1999.
|
| 420 |
+
[38] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
|
| 421 |
+
[39] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In Proceedings of the IEEE International Conference on Computer Vision, pages 6023–6032, 2019.
|
| 422 |
+
[40] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=r1Ddp1-Rb.
|
| 423 |
+
[41] Tianyuan Zhang and Zhanxing Zhu. Interpreting adversarially trained convolutional neural networks. In International Conference on Machine Learning, pages 7502–7511. PMLR, 2019.
|
| 424 |
+
[42] Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, number 34(07), pages 13001–13008, 2020.
|
| 425 |
+
|
| 426 |
+
# Checklist
|
| 427 |
+
|
| 428 |
+
1. For all authors...
|
| 429 |
+
|
| 430 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] (b) Did you describe the limitations of your work? [Yes] See lines 174–184, 221–229,
|
| 431 |
+
292–294. (c) Did you discuss any potential negative societal impacts of your work? [Yes] See lines
|
| 432 |
+
221–229 as well as 89–93 and Appendix C.4. (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 433 |
+
|
| 434 |
+
2. If you are including theoretical results...
|
| 435 |
+
|
| 436 |
+
(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
|
| 437 |
+
|
| 438 |
+
3. If you ran experiments...
|
| 439 |
+
|
| 440 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
|
| 441 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix A.
|
| 442 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] The only exception is when using publicly available models, as mentioned in Section 2.
|
| 443 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Appendix A.
|
| 444 |
+
|
| 445 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 446 |
+
|
| 447 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] See lines 84–93 and Appendix A.
|
| 448 |
+
(b) Did you mention the license of the assets? [N/A]
|
| 449 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
|
| 450 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 451 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 452 |
+
|
| 453 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 454 |
+
|
| 455 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 456 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 457 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/UZgGf92u5N0/UZgGf92u5N0_content_list.json
ADDED
|
@@ -0,0 +1,966 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
815,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
580,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
318,
|
| 32 |
+
535,
|
| 33 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 Data modification can introduce artificial information. It is often assumed that \n2 the resulting artefacts are detrimental to training, whilst being negligible when \n3 analysing models. We investigate these assumptions and conclude that in some \n4 cases they are unfounded and lead to incorrect results. Specifically, we show current \n5 shape bias identification methods and occlusion robustness measures are biased \n6 and propose a fairer alternative for the latter. Subsequently, through a series of \n7 experiments we seek to correct and strengthen the community’s perception of how \n8 distorting data affects learning. Based on our empirical results we argue that the \n9 impact of the artefacts must be understood and exploited rather than eliminated. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
150,
|
| 42 |
+
349,
|
| 43 |
+
766,
|
| 44 |
+
474
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "10 1 Motivation ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
502,
|
| 55 |
+
297,
|
| 56 |
+
518
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "11 Modifying data has become commonplace both when training and analysing models, yet the wider \n12 implications are often disregarded. We delve into some of the side-effects and point out that this \n13 practice has resulted in the creation of biased model interpretation tools and poorly informed theories. \n14 On the analysis side, we take as examples occlusion robustness and shape bias identification methods. \n15 On the training side, we focus on some instances of Mixed Sample Data Augmentation (MSDA), \n16 where two images are combined to obtain a new training sample. Visual examples of each can \n17 be found in Figure 1. In this paper we study a number of assumptions that lie at the heart of the \n18 aforementioned methods, which we briefly introduce below. \n19 Shape-texture bias: Deep models are known to be sensitive to interventions that are imperceptible \n20 to humans [35, 13], as well as to other forms of distribution shifts [1, 6, 8]. It has been argued that \n21 this is intimately linked to networks tending to use texture rather than shape information [2, 11]. \n22 Recently, input distortions have become a popular way of assessing a model’s texture bias. To this end, \n23 images are divided into a grid and the resulting patches are randomly shuffled such that information \n24 is preserved locally, while the global shape is altered [32, 27, 25, 41]. It is implicitly assumed that \n25 patch-shuffling does not introduce misleading shape or texture that could affect model evaluation. \n26 Occlusion robustness: A widely adopted method for measuring occlusion robustness is through the \n27 accuracy obtained after superimposing a rectangular patch on an image [5, 9, 39, 42, 20]. We refer \n28 to this approach as CutOcclusion throughout the paper. Just as for shape bias, this method relies on \n29 information introduced not to interfere with a model’s learnt representations such that a decrease in \n30 performance can be directly attributed to lack of robustness. \n31 Data augmentation studies: In statistical learning, training with augmented data is termed Vicinal \n32 Risk Minimisation (VRM) [37, 4] and it is seen as injecting prior knowledge about the neighbourhood \n33 of the data samples. The intuition behind augmentation caused researchers to interpret its effect \n34 through the similarity between original and augmented data distributions. This perspective is often \n35 challenged by methods which, despite generating samples that do not appear to fall under the \n36 distribution of natural images, lead to strong learners. Gontijo-Lopes et al. [12] argue it is the \n37 perceived distribution shift that needs to be minimised, while maximising the sample vicinity. \n38 Formalising these concepts, they introduce augmentation “diversity” and “affinity”. Diversity is \n39 defined as the training loss when learning with artificial samples, while affinity quantifies the \n40 difference between the accuracy on original test data and augmented test data for a reference model. \n41 The latter penalises augmentations that introduce artificial information to which the model is not \n42 invariant, implicitly assuming that training with that information is detrimental to generalisation. \n43 In summary, it is currently assumed that the artefacts introduced by changes in the data are negligible \n44 when evaluating models, while those introduced when training are important and undesirable. Does \n45 the artificial information added by analysis methods not have major side-effects or does it lead to \n46 biased results? Conversely, are the artefacts important when training with modified data? Do they \n47 cause models to learn better or worse representations? \n48 We set out to answer these questions and find that when the secondary effects of data manipulation \n49 are not accounted for, results can be misleading, especially in comparative studies. Subsequently, we \n50 construct empirical counter-examples which disprove common beliefs in the literature and highlight \n51 the importance of understanding the changes MSDAs introduce. Our contributions are: ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
534,
|
| 66 |
+
825,
|
| 67 |
+
645
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
651,
|
| 77 |
+
825,
|
| 78 |
+
748
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
147,
|
| 87 |
+
755,
|
| 88 |
+
825,
|
| 89 |
+
824
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
147,
|
| 98 |
+
830,
|
| 99 |
+
823,
|
| 100 |
+
900
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/c60398d309119af7ef6dce4ba96a96def6d83386bbef24d7aa21c2ed9b677914.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Examples of image distortions. For test-time distortions (Occlusion and Shuffled grid) only Image 1 was used. For mixing augmentations, the first row was generated with a mixing factor of 0.2, while the second one with 0.5. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
184,
|
| 113 |
+
88,
|
| 114 |
+
826,
|
| 115 |
+
250
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
147,
|
| 124 |
+
328,
|
| 125 |
+
825,
|
| 126 |
+
426
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
147,
|
| 135 |
+
431,
|
| 136 |
+
825,
|
| 137 |
+
501
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "",
|
| 144 |
+
"bbox": [
|
| 145 |
+
148,
|
| 146 |
+
507,
|
| 147 |
+
825,
|
| 148 |
+
564
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "• We show that increasingly popular model interpretation and analysis methods are biased, relying on unfounded assumptions (Section 2); \n• For measuring occlusion robustness, we propose a fairer alternative (Section 3); \n• We show that, in contrast to what is widely assumed, not preserving the data distribution can lead to learning better representations (Section 4). ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
217,
|
| 157 |
+
574,
|
| 158 |
+
825,
|
| 159 |
+
659
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "57 2 Are artefacts negligible when analysing classifiers? ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
150,
|
| 169 |
+
678,
|
| 170 |
+
627,
|
| 171 |
+
695
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "58 To verify whether distorting data at evaluation time could have side-effects previously not considered, \n59 we look at the increase in misclassifications per category. That is, from the number of incorrect \n60 predictions of a model evaluated on modified data, we subtract the incorrect predictions when testing \n61 on original data. If there is a significant increase for a specific class, it indicates that the distortion \n62 introduces features the model associates with that class. We refer to this phenomenon as “data \n63 interference”. Considering only positive differences, we denote the increase in the percentage of \n64 misclassifications for class $c$ of a given model $m$ by $i _ { c } ^ { m }$ . We define the Data Interference $D I$ index as ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
147,
|
| 180 |
+
709,
|
| 181 |
+
825,
|
| 182 |
+
808
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "equation",
|
| 188 |
+
"img_path": "images/e9e8efd4c1e8dc0e1364d560dc768d970bdd837aafe41853e9ef03b6e4b355f8.jpg",
|
| 189 |
+
"text": "$$\nD I = \\frac { i _ { c _ { m a x } } } { \\sum _ { c } i _ { c } } i _ { c _ { m a x } } ,\n$$",
|
| 190 |
+
"text_format": "latex",
|
| 191 |
+
"bbox": [
|
| 192 |
+
431,
|
| 193 |
+
815,
|
| 194 |
+
563,
|
| 195 |
+
849
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 1
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "65 where $c _ { m a x }$ is the class with highest mean increase across all runs. The $D I$ index measures the \n66 percentage represented by the dominant class $c _ { m a x }$ weighted by its increase. A high index value \n67 indicates a sharp increase for a particular class which is consistent across runs. We associate this with \n68 an overlap between introduced artefacts and learnt representations. In Appendix B.1 we experiment \n69 with an alternative index, where we weight by the highest increase of a model across the 5 runs, so as \n70 to obtain a worst-case analysis. As expected, we observe a more accentuated bias in this case. \n71 To obtain models with different behaviours in a controlled manner, we make use of data augmentation. \n72 Since it is sufficient to identify some common cases in which models are disfavoured, we choose to \n73 reduce our environmental impact by restricting the analysis to simple MSDAs that combine images \n74 without incurring additional computation time or external models. As will be argued in Section 3, we \n75 expect the unfairness to be present in most settings, thus the exact choice of augmentation is irrelevant. \n76 We focus on two popular MSDAs, MixUp [40] and CutMix [39]. MixUp linearly interpolates between \n77 two images to obtain a new training example, while CutMix masks out a rectangular region of an \n78 image with the corresponding region of another image. Besides the aforementioned methods, we \n79 also employ FMix due to its irregularly shaped masks sampled from Fourier space, which will play \n80 an important role in our analysis. Note that although the masking methods sample the size of the \n81 occluding patch from the same distribution, in CutMix part of the rectangle can be outside the image, \n82 which leads to less occluded samples overall. We refer to models by the augmentations they were \n83 trained with and use “basic” to label the models trained without MSDA. \n84 Throughout the paper, we do 5 runs of each experiment with PreAct-ResNet18 [15] as the default \n85 architecture. We include results for BagNet [2] and VGG [33] in the Appendices. The main data sets \n86 we report results on are CIFAR-10/100 [21], Tiny ImageNet [34], FashionMNIST [38], ImageNet [29]. \n87 For ImageNet we use pretrained ResNet-101 models made publicly available by Harris et al. [14]. \n88 Note that the only experiments for which we are unable to run repeats are those on ImageNet, since \n89 only one model per augmentation is provided. For full experimental details, see Appendix A. Total \n90 emissions of training the models evaluated in this paper are estimated [22] to be $3 8 . 0 7 \\mathrm { k g C O _ { 2 } e q }$ , to \n91 which $1 3 . 1 1 \\mathrm { k g C O _ { 2 } e q }$ more are added during the analysis. The hope is that our findings will lead to a \n92 better understanding which in the long run would help reduce erroneous research directions without \n93 needing to empirically disprove them, lessening the future carbon footprint of the community. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
147,
|
| 204 |
+
856,
|
| 205 |
+
823,
|
| 206 |
+
911
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 1
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "table",
|
| 212 |
+
"img_path": "images/07fc4188dc35f838b3349791d44bf80f91b7cbd4801166921e5ebe843492a0bc.jpg",
|
| 213 |
+
"table_caption": [
|
| 214 |
+
"Table 1: DI index $( \\% )$ for PreAct-ResNet18 on grid-shuffled images for four different types of models. Results with the highest average are given in italic and the lowest in bold. Information introduced when shuffling tends to interfere less with the representations of FMix and CutMix models. "
|
| 215 |
+
],
|
| 216 |
+
"table_footnote": [],
|
| 217 |
+
"table_body": "<table><tr><td></td><td>basic</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>CIFAR-10</td><td>2.90±1.10</td><td>2.54±1.29</td><td>0.60±0.26</td><td>0.33±0.17</td></tr><tr><td>CIFAR-100</td><td>1.05±0.59</td><td>0.93±0.44</td><td>0.23±0.29</td><td>0.11±0.10</td></tr><tr><td>FashionMNIST</td><td>1.12±0.63</td><td>2.73±1.64</td><td>1.12±0.61</td><td>0.70±0.22</td></tr><tr><td>Tiny ImageNet</td><td>2.58±4.73</td><td>0.54±0.27</td><td>0.38±0.12</td><td>0.14±0.12</td></tr><tr><td>ImageNet</td><td>0.82</td><td>1.49</td><td>0.58</td><td>1</td></tr></table>",
|
| 218 |
+
"bbox": [
|
| 219 |
+
258,
|
| 220 |
+
140,
|
| 221 |
+
740,
|
| 222 |
+
238
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 2
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "",
|
| 229 |
+
"bbox": [
|
| 230 |
+
150,
|
| 231 |
+
266,
|
| 232 |
+
823,
|
| 233 |
+
294
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 2
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "",
|
| 240 |
+
"bbox": [
|
| 241 |
+
147,
|
| 242 |
+
299,
|
| 243 |
+
825,
|
| 244 |
+
479
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "",
|
| 251 |
+
"bbox": [
|
| 252 |
+
145,
|
| 253 |
+
486,
|
| 254 |
+
825,
|
| 255 |
+
625
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "94 2.1 Shape bias ",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
150,
|
| 265 |
+
643,
|
| 266 |
+
287,
|
| 267 |
+
657
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "95 For assessing shape bias through sample manipulation, the standard procedure is to choose between \n96 dividing the image in 4, 16 or 64 patches to be shuffled. Since FashionMNIST images are smaller, \n97 we choose a $2 \\times 2$ grid, for CIFAR-10/100 and Tiny ImageNet $4 \\times 4$ , while for ImageNet we use \n98 an $8 \\times 8$ grid. However, similar results are obtained for different grid sizes (Appendix B.2). The \n99 large DI index in Table 1 indicates that either basic or MixUp models tend to associate the features \n100 artificially introduced by patch-shuffling with a certain class. We take a closer look at the distribution \n101 of misclassifications for CIFAR-10 and notice that the basic model tends to wrongly predict the class \n102 “Truck” (Figure 2). This is not at all surprising, given that the strong horizontal and vertical edges are \n103 highly indicative of this class. Similar observations can be made for other data sets (Appendix B.3). \n104 Thus, we believe the grid-shuffling approach is causing models which are not invariant to strong \n105 horizontal and vertical edges to appear to rely more heavily on shape information. A model not \n106 affected by this transformation could be considered texture-biased if we accept the larger definition \n107 of texture as local information. However, there is a question about the extent to which the reciprocal \n108 is true; A model can be invariant to the aforementioned edges because it is indeed relying on texture \n109 information or simply because it uses different shape-related features. \n110 Is a model necessarily more affected by patch-shuffling if it has a higher shape bias? To answer \n111 this question, we can use another method of determining shape and texture bias to find a counter \n112 example. We analyse the ImageNet models on the Geirhos Style-Transfer (GST) [11] data set. GST \n113 contains artificially generated images where the shape belongs to one class and the texture to another. \n114 There are 16 coarse classes that encompass a number of ImageNet categories to which they are \n115 mapped. The bias of the models is given by the accuracy obtained when the label is set to either the \n116 shape or texture. Using this well-known method of identifying shape bias we want to find models \n117 which have similar biases but different DI indices when patch-shuffling. This would indicate that \n118 sensitivity to shuffling is not necessarily linked to increased shape bias. \n119 The results in Table 2 show that the basic model does not have a higher shape bias than masking \n120 methods although it has a significantly higher DI index, as we have seen in Table 1. We repeat the \n121 same experiment on the Tiny ImageNet [34] data set. Geirhos et al. [11] use WordNet [26] to map the \n122 1000 categories to the 16 classes of the GST data set. A number of ImageNet categories that belong \n123 to the 16 higher-level classes of GST are missing. For this reason, a poorer overall performance is \n124 expected and the results could differ slightly given a better fit between the sets. Nonetheless, we find \n125 again no significant correlation between masking augmentation and texture bias. We also include in \n126 Table B.2 the results for BagNet models, which have smaller receptive fields and so are forced to use \n127 more local information. Even in this case, we find a high DI for the basic model and no difference \n128 in texture bias compared to MSDA. Thus, a model which is more affected by patch-shuffling is not \n129 necessary more shaped-bias. In other words, models can appear to have vastly different shape bias \n130 when evaluated on randomly rearranged patches, albeit in reality their bias is similar. The inability of \n131 this method to account for artefacts makes it unfair and unreliable. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
142,
|
| 276 |
+
670,
|
| 277 |
+
825,
|
| 278 |
+
877
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "",
|
| 285 |
+
"bbox": [
|
| 286 |
+
145,
|
| 287 |
+
883,
|
| 288 |
+
823,
|
| 289 |
+
911
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "table",
|
| 295 |
+
"img_path": "images/9ffacb2cec5360213deafce9b9b24a4bb5010576b1f2c944b4e616a03383a105.jpg",
|
| 296 |
+
"table_caption": [
|
| 297 |
+
"Table 2: Accuracy of augmentation-trained ImageNet and Tiny ImageNet models on the GST data set when the label is taken to be either the shape or texture. There is no clear correlation between masking methods and low texture bias. "
|
| 298 |
+
],
|
| 299 |
+
"table_footnote": [],
|
| 300 |
+
"table_body": "<table><tr><td colspan=\"3\">ImageNet</td><td colspan=\"2\">Tiny ImageNet</td></tr><tr><td></td><td>Shape</td><td>Texture</td><td>Shape</td><td>Texture</td></tr><tr><td>basic</td><td>20.31</td><td>53.28</td><td>10.56±0.65</td><td>26.04±1.77</td></tr><tr><td>MixUp</td><td>24.14</td><td>60.31</td><td>12.02±0.33</td><td>27.77±1.56</td></tr><tr><td>FMix</td><td>21.25</td><td>53.43</td><td>10.40±0.39</td><td>19.90±2.12</td></tr><tr><td>CutMix</td><td>1</td><td>1</td><td>10.54±0.38</td><td>23.72±2.42</td></tr></table>",
|
| 301 |
+
"bbox": [
|
| 302 |
+
173,
|
| 303 |
+
174,
|
| 304 |
+
555,
|
| 305 |
+
280
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 3
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "image",
|
| 311 |
+
"img_path": "images/90d416994389419c06e2ed3c99f10e5e22c66a3a72e7c7adbbcc7f6219c23af3.jpg",
|
| 312 |
+
"image_caption": [
|
| 313 |
+
"Figure 2: Difference in incorrect predictions on CIFAR-10 for the basic model. "
|
| 314 |
+
],
|
| 315 |
+
"image_footnote": [],
|
| 316 |
+
"bbox": [
|
| 317 |
+
568,
|
| 318 |
+
93,
|
| 319 |
+
816,
|
| 320 |
+
243
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "",
|
| 327 |
+
"bbox": [
|
| 328 |
+
140,
|
| 329 |
+
314,
|
| 330 |
+
825,
|
| 331 |
+
411
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "",
|
| 338 |
+
"bbox": [
|
| 339 |
+
140,
|
| 340 |
+
417,
|
| 341 |
+
825,
|
| 342 |
+
597
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "2.2 Occlusion measurement ",
|
| 349 |
+
"text_level": 1,
|
| 350 |
+
"bbox": [
|
| 351 |
+
160,
|
| 352 |
+
616,
|
| 353 |
+
379,
|
| 354 |
+
631
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "133 We want to determine whether the same issue identified in the case of shape bias evaluation applies \n134 to occlusion robustness measures. We focus on CutOcclusion, where a rectangular black patch is \n135 superimposed on test images and the robustness is given by the resulting accuracy. We perform \n136 the same experiment as before, where the $D I$ index is now measured when testing on rectangle \n137 occluded images. There is no standardised distortion when measuring CutOcclusion, with the size \n138 and positioning of the obstructing patch varying between studies. Most often in prior art a lack of \n139 robustness is noted for large occluders [e.g. 5, 42]. For this reason, we sample the size of the patch \n140 from a Beta(2,1) distribution, allowing the occluding patch to lie outside the image (as it is done for \n141 augmenting with CutMix and CutOut [7]). This allows us to capture both the cases in which either \n142 the centre or the border area is masked out but requires a non-uniform distribution to counter for the \n143 patches existing outside the image. We also sample from a uniform distribution where the occluder is \n144 restricted to be positioned within the image boundaries and obtain similar results (See Appendix C.1). \n145 Table 3 shows that a significant gap in the DI index can be identified for each of the data sets. This \n146 indicates that some models will again be disadvantaged. We additionally find that data interference is \n147 present for different architectures, when overlapping patches from external images or using differently \n148 shaped masks (Appendix B.4). Thus, the result of CutOcclusion and its variants is highly dependent \n149 on the problem at hand. That is, whether the artefacts introduced by the artificial occlusion are \n150 salient features of the model depends on what features are naturally distinctive for the model. Just as \n151 for randomly shuffling tiles, by occluding images using a particularly shaped patch, one implicitly \n152 measures a model’s affinity to certain features, albeit those features might be discriminative. This \n153 deems such methods inappropriate for fairly assessing robustness and texture bias. \n154 A related observation was made by Hooker et al. [17] who note the pitfalls of manipulating data to \n155 determine feature importance. They point out that when simply superimposing uniform patches over \n156 image features, it is difficult to asses how much of the reduction in accuracy is caused by the absence \n157 of those features and how much is due to images becoming out of distribution. To address this, the \n158 most important features identified by an estimator are masked out both on train and test data, closing \n159 the gap between the two sets. Hooker et al. then train and evaluate models on the newly generated \n160 images. Unlike for interpretability methods, the subject of occlusion robustness studies is the model \n161 itself, which makes training with a modified version of the data an inviable option. In the following \n162 section we explore ways of overcoming this bias when measuring occlusion robustness. ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
140,
|
| 363 |
+
642,
|
| 364 |
+
825,
|
| 365 |
+
808
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 3
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "",
|
| 372 |
+
"bbox": [
|
| 373 |
+
140,
|
| 374 |
+
814,
|
| 375 |
+
825,
|
| 376 |
+
911
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 3
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "table",
|
| 382 |
+
"img_path": "images/0d23f93688caf5ab96dfb2027a8cf8367d4facea300855d2750a1b2dfcb42213.jpg",
|
| 383 |
+
"table_caption": [
|
| 384 |
+
"Table 3: DI index $( \\% )$ when occluding with black patches. The highest results are given in italic and the lowest in bold. For each data set, there exists a non-negligible gap in the DI index. "
|
| 385 |
+
],
|
| 386 |
+
"table_footnote": [],
|
| 387 |
+
"table_body": "<table><tr><td></td><td>basic</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>CIFAR-10</td><td>5.48±1.31</td><td>0.75±0.55</td><td>0.87±0.92</td><td>2.87±3.04</td></tr><tr><td>CIFAR-100</td><td>3.25±1.31</td><td>0.80±0.46</td><td>1.28±2.48</td><td>1.36±0.63</td></tr><tr><td>FashionMNIST</td><td>0.44±0.34</td><td>2.59±1.05</td><td>0.92±1.79</td><td>0.97±1.82</td></tr><tr><td>Tiny</td><td>2.40±0.82</td><td>1.88±0.61</td><td>0.47±0.41</td><td>4.62±4.93</td></tr><tr><td>Imagenet</td><td>1.28</td><td>4.50</td><td>1.02</td><td></td></tr></table>",
|
| 388 |
+
"bbox": [
|
| 389 |
+
259,
|
| 390 |
+
126,
|
| 391 |
+
738,
|
| 392 |
+
224
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 4
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "",
|
| 399 |
+
"bbox": [
|
| 400 |
+
145,
|
| 401 |
+
250,
|
| 402 |
+
826,
|
| 403 |
+
279
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 4
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "",
|
| 410 |
+
"bbox": [
|
| 411 |
+
140,
|
| 412 |
+
284,
|
| 413 |
+
825,
|
| 414 |
+
410
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 4
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "163 3 What are fairer alternatives? ",
|
| 421 |
+
"text_level": 1,
|
| 422 |
+
"bbox": [
|
| 423 |
+
148,
|
| 424 |
+
429,
|
| 425 |
+
446,
|
| 426 |
+
445
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "164 We propose a simple, more carefully defined measure that aims to decouple the machine’s edge bias \n165 from the occlusion robustness, which we refer to as “interplay occlusion” (iOcclusion). Interplay \n166 occlusion reflects the change in the interplay between performance on seen and unseen data. Formally, ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
142,
|
| 435 |
+
460,
|
| 436 |
+
825,
|
| 437 |
+
502
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"img_path": "images/597c39f26ffac08c41d36b861d9cf2573a2c8a83b47688e9a08d35a97d77898a.jpg",
|
| 444 |
+
"text": "$$\ni O c c l u s i o n _ { i } = \\left| \\frac { \\mathcal { A } ( \\mathcal { D } _ { t r a i n } ^ { i } ) - \\mathcal { A } ( \\mathcal { D } _ { t e s t } ^ { i } ) } { \\mathcal { A } ( \\mathcal { D } _ { t r a i n } ) - \\mathcal { A } ( \\mathcal { D } _ { t e s t } ) } \\right| ,\n$$",
|
| 445 |
+
"text_format": "latex",
|
| 446 |
+
"bbox": [
|
| 447 |
+
356,
|
| 448 |
+
508,
|
| 449 |
+
637,
|
| 450 |
+
545
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "167 where $\\mathcal A ( \\mathcal D )$ denotes the accuracy on a given data set $\\mathcal { D }$ , and $\\mathcal { D } ^ { i }$ is the data set resulting from \n168 removing $i \\%$ pixels of each image. The intuition is that on train data robust models are less sensitive \n169 to the artefacts of the occlusion policy for small levels of occlusion, resulting in a large difference in \n170 accuracy from that on unseen data. The performance of both train and test gets close to random as \n171 the percentage of occluded data approaches $90 \\%$ and we expect the gap to fall off quicker for less \n172 robust models. This change in interplay is taken with respect to the generalisation gap of the model, \n173 such that the quality of the model fit in itself does not interfere with the robustness measure. \n174 Although iOcclusion reduces data interference, other factors have to also be considered when choosing \n175 a masking method for computing $\\mathcal { D } ^ { i }$ , such as the number of contiguous components or the amount of \n176 salient information masked out. In this paper we choose to generate masks using Grad-CAM [30], \n177 such that the area with most salient $\\mathrm { i } \\%$ pixels is covered. It must be noted that this method implicitly \n178 assumes there could be multiple occluders and has the downside of incurring a higher environmental \n179 cost. For this, we also experiment with using rectangular or Fourier-sampled masks and conclude \n180 that although random masking makes the process noisier, the exact choice of masking method is of \n181 secondary importance as long as the occluder’s granularity is accounted for. Appendix C.4 provides \n182 discussion and results on these alternative instances of iOcclusion, as well as differences in their \n183 carbon footprint. For a fair comparison, throughout this section we do not allow the obstructing patch \n184 when measuring CutOcclusion to lie outside the image such that the fraction removed is exact. \n185 Assessing the correctness of such a measure is difficult in the absence of a baseline. For the remainder \n186 of this section we will build varied experiments to attest the validity of our method. We focus on the \n187 key results, but include additional ones and further experiments in Appendix C. Since occlusion in \n188 real-life scenarios could be caused by non-uniformly coloured objects, an appropriate measure must \n189 generalise across colour patterns. When computing iOcclusion and CutOcclusion, we superimpose \n190 patches from images belonging to a different data set and compare the results to those obtained \n191 when occluding with black patches only. For visual clarity, Figure 3 presents the results for the \n192 least and most robust models (see Appendix C.2 for a full comparison). For iOcclusion, using \n193 uniform occluders gives similar results to its non-uniform version, whereas the CutOcclusion measure \n194 provides an inconsistent model evaluation. \n195 As we have argued, in addition to not being sensitive to the colour pattern of the patch, a fair measure \n196 must also be invariant to the shape of the patch. To empirically confirm iOcclusion reduces the \n197 importance of edge information, we aim to obtain a model that is robust to occlusion, but at the same \n198 time has a high DI index (it is sensitive to edge information). To this end, we create a variation of \n199 FMix, Random Masks (RM), where at the beginning of the training process three masks are randomly \n200 sampled from Fourier space. For each batch, one of the three is chosen uniformly at random. While \n201 the RM models are not sensitive to black-patch occlusion, when masking with patterned patches they \n202 have a higher DI index than FMix, as desired. Table 4 gives results for a fraction of 0.3 pixels covered \n203 by a non-uniform occluder. Our measure reflects the robustness of training with RM, situating it close \n204 to other masking methods. On the other hand, because CutOcclusion implicitly penalises models \n205 with high DI index, according to this measure RM appears almost as sensitive to occlusion as MixUp. \n206 Figure B.4 shows results for a wider range of fractions. \n207 Another problem that occurs when purely looking at post-masking accuracy is weaker models would \n208 erroneously appear less robust. We show this by reversing the problem: we evaluate the same model \n209 on two different subsets of the CIFAR-100 data set: typical and tail images as categorised by Feldman \n210 and Zhang [10]. They consider a train-test sample pair to belong to the tail of the data distribution if \n211 the test sample is correctly classified when a model is trained with the train sample and incorrectly \n212 without it. CutOcclusion would indicate that models are significantly more robust to occluding typical \n213 examples. However, a closer analysis makes us doubt this conclusion. The raw accuracy on both \n214 train and test data for tail examples is lower than for the typical ones. In fact, the performance when \n215 occluding images decreases at the same rate for the two subsets. By way of definition, iOcclusion \n216 allows a fair comparison of robustness regardless of the overall performance of a model (Figure 4). \n217 As we evidenced through controlled experiments, there are many cases that CutOcclusion does not \n218 properly address. From a model analysis perspective, correctly assessing the occlusion robustness \n219 could lead to better understanding and development of models and training procedures. Equally \n220 important, it has applicability for real-world deployments where no prior knowledge exists about the ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
140,
|
| 459 |
+
551,
|
| 460 |
+
825,
|
| 461 |
+
650
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "",
|
| 468 |
+
"bbox": [
|
| 469 |
+
140,
|
| 470 |
+
656,
|
| 471 |
+
825,
|
| 472 |
+
808
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "",
|
| 479 |
+
"bbox": [
|
| 480 |
+
142,
|
| 481 |
+
814,
|
| 482 |
+
825,
|
| 483 |
+
911
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "image",
|
| 489 |
+
"img_path": "images/e551cc1ecfbeb68fefe5795596197f7407ea4247c54f483da25a921da06b6e03.jpg",
|
| 490 |
+
"image_caption": [
|
| 491 |
+
"Figure 3: CutOcclusion (left) and iOcclusion (right) when occluding with black patches (uniform) and patches taken from other images (nonuniform). iOcclusion gives more consistent results. "
|
| 492 |
+
],
|
| 493 |
+
"image_footnote": [],
|
| 494 |
+
"bbox": [
|
| 495 |
+
176,
|
| 496 |
+
92,
|
| 497 |
+
820,
|
| 498 |
+
253
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 5
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "table",
|
| 504 |
+
"img_path": "images/ac0723b3d42939649e2fb98ab1a09cea78de4038a662aa054510ce7cb02ba323.jpg",
|
| 505 |
+
"table_caption": [
|
| 506 |
+
"Table 4: DI index $( \\% )$ and occlusion robustness for models trained on CIFAR-10 when obstructing $30 \\%$ of the image pixels with non-uniform patches. When measuring the robustness with CutOcclusion, RM appears significantly less robust than CutMix due to its sensitivity to patching with rectangles, while iOcclusion highlights the robustness specific to training with FMix-like masks. Given in bold is the closest result to that of RM for each evaluation. "
|
| 507 |
+
],
|
| 508 |
+
"table_footnote": [],
|
| 509 |
+
"table_body": "<table><tr><td></td><td>basic</td><td>MixUp</td><td>CutMix</td><td>FMix</td><td>RM</td></tr><tr><td>DI index</td><td>1.67±0.27</td><td>1.00±0.31</td><td>0.17±0.16</td><td>0.15±0.03</td><td>0.39±0.07</td></tr><tr><td>CutOcclusion</td><td>47.97±0.52</td><td>58.65±1.01</td><td>76.56±6.36</td><td>78.00±0.45</td><td>60.79±5.03</td></tr><tr><td>iOcclusion</td><td>0.21±0.10</td><td>0.57±0.18</td><td>1.09±0.17</td><td>1.46±0.07</td><td>1.20±0.23</td></tr></table>",
|
| 510 |
+
"bbox": [
|
| 511 |
+
209,
|
| 512 |
+
386,
|
| 513 |
+
789,
|
| 514 |
+
465
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 5
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "text",
|
| 520 |
+
"text": "",
|
| 521 |
+
"bbox": [
|
| 522 |
+
147,
|
| 523 |
+
491,
|
| 524 |
+
825,
|
| 525 |
+
531
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 5
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "",
|
| 532 |
+
"bbox": [
|
| 533 |
+
140,
|
| 534 |
+
537,
|
| 535 |
+
825,
|
| 536 |
+
704
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 5
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "",
|
| 543 |
+
"bbox": [
|
| 544 |
+
138,
|
| 545 |
+
710,
|
| 546 |
+
825,
|
| 547 |
+
849
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 5
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "",
|
| 554 |
+
"bbox": [
|
| 555 |
+
140,
|
| 556 |
+
856,
|
| 557 |
+
823,
|
| 558 |
+
911
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 5
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "image",
|
| 564 |
+
"img_path": "images/65a8e783befee46722765dbd36fdc4b45482b8cf690fcfb225f9686c5ea7be1c.jpg",
|
| 565 |
+
"image_caption": [
|
| 566 |
+
"Figure 4: CutOcclusion (left) and iOcclusion (right) for the basic and FMix models on two subsets of the same data set: tail and typical. Evaluating the models with iOcclusion on the two types of samples leads to mostly overlapping robustness levels. That is, they do not differ outside the margin of error. On the contrary, CutOcclusion incorrectly finds the models to be less robust on tail data. "
|
| 567 |
+
],
|
| 568 |
+
"image_footnote": [],
|
| 569 |
+
"bbox": [
|
| 570 |
+
178,
|
| 571 |
+
92,
|
| 572 |
+
818,
|
| 573 |
+
253
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 6
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "table",
|
| 579 |
+
"img_path": "images/b8d52cf3cc95e0d722ea78fe9652dc66078ecd33a20a3dd3b82df64ecbaa7eb1.jpg",
|
| 580 |
+
"table_caption": [
|
| 581 |
+
"Table 5: Augmentation comparison on CIFAR-10. We consider two variants when calculating diversity. One is computing the cross-entropy loss using the label of the majority class (Diversity), as for mixing in [19]. The alternative, MixDiversity, takes a linear combination of the two cross-entropy losses. ",
|
| 582 |
+
"Table 6: DI index $( \\% )$ measured for nonuniform occlusion when training without the class with highest increase in incorrect predictions. Again, a gap can be noted, supporting the idea that data interference is not specific to peculiar cases. "
|
| 583 |
+
],
|
| 584 |
+
"table_footnote": [],
|
| 585 |
+
"table_body": "<table><tr><td></td><td>Affinity</td><td>Diversity</td><td>MixDiversity</td><td></td><td>CIFAR-10</td><td>CIFAR-100</td></tr><tr><td>MixUp</td><td>-12.58±0.14</td><td>0.41±0.01</td><td>0.84±0.00</td><td>MixUp</td><td>0.39±0.15</td><td>1.22±0.19</td></tr><tr><td>FMix</td><td>-25.55±0.26</td><td>0.34±0.01</td><td>0.65±0.00</td><td>FMix</td><td>0.08±0.06</td><td>0.50±0.21</td></tr></table>",
|
| 586 |
+
"bbox": [
|
| 587 |
+
173,
|
| 588 |
+
426,
|
| 589 |
+
808,
|
| 590 |
+
484
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 6
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "possible shapes of the obstructions. While this aspect of generality is the strength of our approach, it must be stressed that when there exists a limited set of known possible occluders, evaluating robustness specifically to them could be safer. Incorrectly assessing robustness can have severe effects especially when applied to autonomous vehicles or medical imaging. We do not propose a universal solution, but rather suggest an alternative to the biased approach for the common scenario in which the environment is not controlled and little is known about all the potential occluders. However, even in this case, our metric should be taken as a guide when analysing models. Although iOcclusion aims to address data interference, since a ground-truth does not exist, it cannot be guaranteed that this method provides fair results in the absolute. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
171,
|
| 599 |
+
508,
|
| 600 |
+
825,
|
| 601 |
+
633
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 6
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "230 The strength of the bias will depend on the data in question and some applications will be more heavily \n231 affected than others. We have seen that for natural images this bias does exist. To confirm that we have \n232 not just identified isolated cases, we remove the class that has the highest increase in mispredictions \n233 and retrain the models on the remaining classes. We find that the bias is again present (Table 6), \n234 but with respect to another class. For example, in the case of CIFAR-10, after removing the “Truck” \n235 class, models mispredict rectangle-occluded images as “Boat” (Appendix D). Thus, the edge artefacts \n236 are very likely to interfere with learnt representations since they are such fundamental features. From \n237 an evaluation perspective, as we have seen, this impacts assessment methods and must be accounted \n238 for. From the training perspective, such a widespread data interference of masking distortions would \n239 indicate a large perceptual shift in the data when performing MSDA. In the following section we \n240 investigate the importance of the artefacts in this case and their implications. ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
140,
|
| 610 |
+
640,
|
| 611 |
+
825,
|
| 612 |
+
791
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 6
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "241 4 Is the magnitude of the distribution shift important? ",
|
| 619 |
+
"text_level": 1,
|
| 620 |
+
"bbox": [
|
| 621 |
+
148,
|
| 622 |
+
810,
|
| 623 |
+
642,
|
| 624 |
+
828
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Traditionally it was believed that a good augmentation should have minimal distribution shift. Most recently, it has been argued that it is the degree of the perceived shift that determines augmentation quality [12]. We start with the perceptual gap of training with MSDA, as proposed in Gontijo-Lopes et al. [12]. Reiterating, this is given by the difference between the performance of the baseline model when presented with original test data and augmented test data and is termed “affinity”. Subsequently, ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
171,
|
| 633 |
+
842,
|
| 634 |
+
823,
|
| 635 |
+
911
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "247 we address the gap in the wider sense, as is often sought in prior art. We first argue that high affinity \n248 and high diversity are not necessarily desirable. Indeed, on CIFAR-10, we find FMix, a better \n249 performing augmentation, to have both lower affinity and lower diversity than MixUp (Table 5). For \n250 diversity, we compute the cross-entropy loss where the label is taken to be that of the majority class. \n251 Similar results are obtained with the MixUp loss, where a weighted average of the true labels is taken. \n252 While intuitively for a high level of affinity, high diversity could correspond to better methods, \n253 the converse does not hold. We argue this is because affinity is rather an analysis of the learnt \n254 representations of the reference model and cannot give an insight into the quality of the augmentation \n255 or its effect on learning. The limitations of affinity are intimately linked to those of CutOcclusion. \n256 We have seen in Section 3 that the bias of the basic model is present not only when obstructing an \n257 image with a uniform patch, but also when mask-mixing. As such, an augmentation will have a \n258 lower affinity if it introduces artefacts that could otherwise lead to learning better representations \n259 when used in the training process. We believe this issue extends to other approaches that aim to \n260 motivate the success of MSDA through reduced distribution shift. Henceforth, we focus on bringing \n261 further supporting evidence that the importance lies in the invariance introduced by the shift and its \n262 interaction with the given problem rather than its magnitude. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
140,
|
| 644 |
+
92,
|
| 645 |
+
826,
|
| 646 |
+
161
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 7
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "",
|
| 653 |
+
"bbox": [
|
| 654 |
+
140,
|
| 655 |
+
166,
|
| 656 |
+
825,
|
| 657 |
+
319
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 7
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "263 4.1 If it is not the magnitude that matters, is it the direction? ",
|
| 664 |
+
"text_level": 1,
|
| 665 |
+
"bbox": [
|
| 666 |
+
145,
|
| 667 |
+
344,
|
| 668 |
+
606,
|
| 669 |
+
359
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 7
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "264 We use empirical evidence to argue against previous assumptions behind the success of MSDA and \n265 propose the study of introduced bias as a more informative research direction. Here we use the term \n266 “bias” to refer to a drift in the learnt representations introduced by the change in the training procedure. \n267 A fundamental difference to classical training is that in the case of augmentation the samples are no \n268 longer independent. Mixed-sampling takes this even further. An immediate question is, does the \n269 added correlation lead to more meaningful representations? It is claimed that the strength of MixUp \n270 lies in causing the model to behave linearly between two images [40] or in pushing the examples \n271 towards their mean [3]. Both of these claims rely on the combined images to be generated from the \n272 same distribution. We want to verify to which extent this is necessary for a successful augmentation. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
142,
|
| 678 |
+
373,
|
| 679 |
+
825,
|
| 680 |
+
498
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 7
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "It has been argued that label mixing has a negligible effect on the final model performance [19, 18, 14, 24]. We use the reformulated objective setting [18, 14], where targets are not mixed and the mixing coefficient is drawn from an imbalanced Beta distribution. This allows us to apply MSDA between data sets. Thus, for training a model on a data set, we use an additional one whose targets will be ignored. As an example, a model that is learning to predict CIFAR-10 images will be trained on a combination of CIFAR-10 and CIFAR-100 images, with the target of the former. This scenario breaks the added correlation between training examples. Note that when mixing between data sets we use the same procedure as when performing regular MSDA, without improving the process. ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
158,
|
| 689 |
+
503,
|
| 690 |
+
825,
|
| 691 |
+
614
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 7
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "281 Table 7 contains the results of this experiment, showing that an accuracy similar to or better than that \n282 of regular MSDA can be obtained by performing inter-dataset MSDA.This invalidates the argument \n283 that the power of MixUp resides in causing the model to act linearly between samples. Another \n284 observation is that for FMix and MixUp, introducing elements from CIFAR-100 when training \n285 models on the CIFAR-10 problem does not harm the learning process. The reciprocal, however, does \n286 not hold. Hence, the “distribution shift” is more intimately linked to the problem at hand and aiming \n287 to characterise an augmentation based on the distance from the original distribution is a limiting \n288 approach, especially when the distance is measured as perceived by a reference model. \n289 We believe an explanation is that the artefacts created when putting together images from CIFAR-10 \n290 with those of CIFAR-100 could introduce information that makes the separation of the 10 classes \n291 easier. However, if the information happens to interfere with a feature that is important for separating \n292 the CIFAR-100 categories, the performance could degrade on this data set. This singular experiment \n293 is not sufficient to draw any general conclusions. However, it does show that shifting two distributions \n294 by the same amount can have different effects on the model performance. Thus, the specifics of the \n295 bias introduced could be more important than its magnitude. While some level of data similarity has \n296 to be preserved when performing MSDA, it is far from being the objective of such data-distorting \n297 approaches which, as we will argue further, should be rather seen as forms of regularisation. \n298 We have seen that for all considered data sets, artefacts introduced by masking methods seem to \n299 overlap with common features. This has led us to believe that MSDA training could help bypass \n300 some of the simplicity bias. The simplicity bias refers to the tendency of deep models to find simple \n301 representations and has been used to justify the success of deep models [28, 36]. Recent research \n302 shows that this propensity causes models to ignore complex features that explain the data well in \n303 favour of elementary features, even when they lead to worse performance [31, 16]. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
147,
|
| 700 |
+
621,
|
| 701 |
+
825,
|
| 702 |
+
732
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 7
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "",
|
| 709 |
+
"bbox": [
|
| 710 |
+
142,
|
| 711 |
+
738,
|
| 712 |
+
825,
|
| 713 |
+
863
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 7
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "",
|
| 720 |
+
"bbox": [
|
| 721 |
+
142,
|
| 722 |
+
869,
|
| 723 |
+
825,
|
| 724 |
+
911
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 7
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "table",
|
| 730 |
+
"img_path": "images/b39a3472c272fd6807fa8e70564fedc67eb960c722fb9e02ba2c7006d626b6dc.jpg",
|
| 731 |
+
"table_caption": [
|
| 732 |
+
"Table 7: Accuracy on CIFAR-10 (left) and CIFAR-100 (right) upon mixing with samples from a different data set. The baseline is the accuracy when training with a single data set using the reformulated objective. In the interest of space, CIFAR-110 is used to refer to mixing with CIFAR100 when training on the CIFAR-10 problem and vice-versa. "
|
| 733 |
+
],
|
| 734 |
+
"table_footnote": [],
|
| 735 |
+
"table_body": "<table><tr><td></td><td>MixUp</td><td>FMix</td><td>CutMix</td><td>MixUp</td><td>FMix</td><td>CutMix</td></tr><tr><td>baseline</td><td>94.18±0.34</td><td>94.36±0.28</td><td>94.67±0.20</td><td>74.68±0.37</td><td>75.75±0.31</td><td>74.19±0.50</td></tr><tr><td>CIFAR-110</td><td>94.70±0.27</td><td>94.80±0.32</td><td>94.66±0.12</td><td>72.36±1.04</td><td>74.80±0.55</td><td>74.47±0.39</td></tr><tr><td>Fashion</td><td>92.28±0.28</td><td>95.03±0.10</td><td>94.61±0.19</td><td>66.40±1.86</td><td>74.46±0.57</td><td>74.06±0.28</td></tr></table>",
|
| 736 |
+
"bbox": [
|
| 737 |
+
173,
|
| 738 |
+
152,
|
| 739 |
+
825,
|
| 740 |
+
224
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 8
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "",
|
| 747 |
+
"bbox": [
|
| 748 |
+
143,
|
| 749 |
+
263,
|
| 750 |
+
823,
|
| 751 |
+
305
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 8
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "Although it could seem natural that since MSDAs are not augmentations in the VRM sense, they will increase the complexity of the problem, we design an experiment to support this claim. Similarly to Shah et al. [31], we combine CIFAR-10 and MNIST [23] samples. Since they have the same number of classes, we can easily associate each class of one data set with a corresponding one from the other. Thus, we stack a padded image from the $k$ th class of MNIST on top of a sample from the kth class of CIFAR-10, such that a $3 \\times 6 4 \\times 3 2$ image is obtained. We then randomly combine the test images and separately compute the accuracy with respect to the targets of each data set. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
165,
|
| 760 |
+
311,
|
| 761 |
+
823,
|
| 762 |
+
409
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 8
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "311 The predictions with respect to the CIFAR-10 labels are no better than random $( 1 0 . 0 4 _ { \\pm 0 . 1 1 } )$ , while \n312 the accuracy with respect to the MNIST images remains high $( 9 9 . 5 7 _ { \\pm 0 . 7 2 } )$ . Thus, models trained \n313 on this combination are mostly relying on MNIST images to make predictions. Similar behaviours \n314 have previously been associated with simplicity bias. Subsequently, when training, we perform FMix \n315 only on MNIST images and observe that this is enough to reverse the results. Evaluating against the \n316 CIFAR-10 label gives an accuracy of $8 6 . 6 0 _ { \\pm 0 . 3 4 }$ , while testing against the MNIST label only gives \n317 $1 1 . 6 1 _ { \\pm 0 . 3 0 }$ . We find that this also holds true for the other MSDAs. Thus, performing these distortions \n318 on the simpler data set increases its complexity to the point where it surpasses that of CIFAR-10. \n319 Previously, we presented evidence that masking MSDA does not necessarily promote learning neither \n320 more shape nor texture information. In the light of this fact along with the results from this section, \n321 we believe image distortions force the model to learn more complex both shape and texture-specific \n322 features. Thus, in this paper we pointed out that the shift in learnt representations can lead to better \n323 models and simply quantifying the distribution shift can be misleading. An open question remains: \n324 How can we better capture the bias that is introduced and its quality? We believe understanding how \n325 a relatively small change in the data distribution impacts learnt representations could lead the way to \n326 characterising the relationship between data and model generalisation. ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
140,
|
| 771 |
+
415,
|
| 772 |
+
825,
|
| 773 |
+
526
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 8
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "",
|
| 780 |
+
"bbox": [
|
| 781 |
+
143,
|
| 782 |
+
532,
|
| 783 |
+
825,
|
| 784 |
+
643
|
| 785 |
+
],
|
| 786 |
+
"page_idx": 8
|
| 787 |
+
},
|
| 788 |
+
{
|
| 789 |
+
"type": "text",
|
| 790 |
+
"text": "327 5 Conclusions ",
|
| 791 |
+
"text_level": 1,
|
| 792 |
+
"bbox": [
|
| 793 |
+
142,
|
| 794 |
+
678,
|
| 795 |
+
305,
|
| 796 |
+
694
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "328 Distorting data is such a commonplace procedure, yet little effort has been devoted to investigating its \n329 broader effects. This is particularly problematic when image modifications are applied in analyses. We \n330 show a number of cases in which this leads to biased results. For occlusion robustness measurement, \n331 we propose an alternative. The insights we gain from this endeavour point towards the study of data \n332 characteristics as a cornerstone of our understanding and raise a number of questions about mixed \n333 sample data augmentation, on which we subsequently focus. We note that they interfere with features \n334 that are consistently found across a number of data sets and conclude that the methods commonly \n335 used are forms of mixed sample regularisation rather than augmentation. A limitation of previous \n336 studies that aim to explain their success is the focus on trying to argue similarity with original data, \n337 rather than explaining the bias introduced by the distortion. Correctly interpreting it is important \n338 not only for making the models trustable but also for injecting more informed prior knowledge in \n339 future applications. Beyond their practical benefits, we believe MSDAs have the potential to help \n340 characterise the interplay between data and learnt representations. Overall, the purpose of our paper \n341 is to encourage better practice when dealing with all forms of data distortions. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
140,
|
| 805 |
+
718,
|
| 806 |
+
825,
|
| 807 |
+
911
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 8
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "References \n[1] Rocío Alaiz-Rodríguez and Nathalie Japkowicz. Assessing the impact of changing environments on classifier performance. In Conference of the Canadian Society for Computational Studies of Intelligence, pages 13–24. Springer, 2008. \n[2] Wieland Brendel and Matthias Bethge. Approximating CNNs with bag-of-local-features models works surprisingly well on imagenet. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id $\\equiv$ SkfMWhAqYQ. \n[3] Luigi Carratino, Moustapha Cissé, Rodolphe Jenatton, and Jean-Philippe Vert. On mixup regularization. arXiv preprint arXiv:2006.06049, 2020. \n[4] Olivier Chapelle, Jason Weston, Léon Bottou, and Vladimir Vapnik. Vicinal risk minimization. In Advances in neural information processing systems, pages 416–422, 2001. \n[5] Sanghyuk Chun, Seong Joon Oh, Sangdoo Yun, Dongyoon Han, Junsuk Choe, and Youngjoon Yoo. An empirical evaluation on robustness and uncertainty of regularization methods. arXiv preprint arXiv:2003.03879, 2020. \n[6] David A Cieslak and Nitesh V Chawla. A framework for monitoring classifiers’ performance: when and why failure occurs? Knowledge and Information Systems, 18(1):83–108, 2009. \n[7] Terrance DeVries and Graham W Taylor. Improved regularization of convolutional neural networks with cutout. arXiv preprint arXiv:1708.04552, 2017. \n[8] Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. Exploring the landscape of spatial robustness. In International Conference on Machine Learning, pages 1802–1811. PMLR, 2019. \n[9] Alhussein Fawzi and Pascal Frossard. Measuring the effect of nuisance variables on classifiers. In Edwin R. Hancock Richard C. Wilson and William A. P. Smith, editors, Proceedings of the British Machine Vision Conference (BMVC), pages 137.1–137.12. BMVA Press, September 2016. ISBN 1-901725-59-6. doi: 10.5244/C.30.137. URL https://dx.doi.org/10.5244/ C.30.137. \n[10] Vitaly Feldman and Chiyuan Zhang. What neural networks memorize and why: Discovering the long tail via influence estimation. Advances in Neural Information Processing Systems, 33, 2020. \n[11] Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A. Wichmann, and Wieland Brendel. Imagenet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id $\\equiv$ Bygh9j09KX. \n[12] Raphael Gontijo-Lopes, Sylvia J Smullin, Ekin D Cubuk, and Ethan Dyer. Affinity and diversity: Quantifying mechanisms of data augmentation. arXiv preprint arXiv:2002.08973, 2020. \n[13] Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. \n[14] Ethan Harris, Antonia Marcu, Matthew Painter, Mahesan Niranjan, Adam Prügel-Bennett, and Jonathon Hare. Understanding and enhancing mixed sample data augmentation. arXiv preprint arXiv:2002.12047, 2020. \n[15] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pages 630–645. Springer, 2016. \n[16] Katherine Hermann and Andrew Lampinen. What shapes feature representations? exploring datasets, architectures, and training. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 9995–10006. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/71e9c6620d381d60196ebe694840aaaa-Paper.pdf. [17] Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. A benchmark for interpretability methods in deep neural networks. In Advances in Neural Information Processing Systems, pages 9737–9748, 2019. \n392 [18] Ferenc Huszár. mixup: Data-dependent data augmentation, 2017. URL http://www. inference.vc/mixup-data-dependent-data-augmentation/. [19] Hiroshi Inoue. Data augmentation by pairing samples for images classification. arXiv preprint arXiv:1801.02929, 2018. [20] Narine Kokhlikyan, Vivek Miglani, Miguel Martin, Edward Wang, Bilal Alsallakh, Jonathan Reynolds, Alexander Melnikov, Natalia Kliushkina, Carlos Araya, Siqi Yan, et al. Captum: A unified and generic model interpretability library for pytorch. arXiv preprint arXiv:2009.07896, 2020. [21] Alex Krizhevsky et al. Learning multiple layers of features from tiny images. 2009. [22] Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the carbon emissions of machine learning. arXiv preprint arXiv:1910.09700, 2019. [23] Yann LeCun and Corinna Cortes. MNIST handwritten digit database. 2010. URL http: //yann.lecun.com/exdb/mnist/. [24] Daojun Liang, Feng Yang, Tian Zhang, and Peter Yang. Understanding mixup training methods. IEEE Access, 6:58774–58783, 2018. [25] Tiange Luo, Tianle Cai, Mengxiao Zhang, Siyu Chen, Di He, and Liwei Wang. Defective convolutional layers learn robust CNNs. arXiv preprint arXiv:1911.08432, 2019. [26] George A Miller. Wordnet: a lexical database for english. Communications of the ACM, 38(11): 39–41, 1995. [27] Chaithanya Kumar Mummadi, Ranjitha Subramaniam, Robin Hutmacher, Julien Vitay, Volker Fischer, and Jan Hendrik Metzen. Does enhanced shape bias improve neural network robustness to common corruptions? In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=yUxUNaj2Sl. [28] Preetum Nakkiran, Gal Kaplun, Dimitris Kalimeris, Tristan Yang, Benjamin L Edelman, Fred Zhang, and Boaz Barak. SGD on neural networks learns functions of increasing complexity. arXiv preprint arXiv:1905.11604, 2019. \n418 [29] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y. [30] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision, pages 618–626, 2017. [31] Harshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain, and Praneeth Netrapalli. The pitfalls of simplicity bias in neural networks. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 9573–9585. Curran Associates, Inc., 2020. URL https://proceedings.neurips. cc/paper/2020/file/6cfe0e6127fa25df2a0ef2ae1067d915-Paper.pdf. \n431 [32] Baifeng Shi, Dinghuai Zhang, Qi Dai, Zhanxing Zhu, Yadong Mu, and Jingdong Wang. Informative dropout for robust representation learning: A shape-bias perspective. In International Conference on Machine Learning, pages 8828–8839. PMLR, 2020. [33] Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. \n[34] Stanford. Tiny imagenet visual recognition challenge, 2015. URL https://tiny-imagenet. herokuapp.com/. \n[35] Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. \n[36] Guillermo Valle-Perez, Chico Q. Camargo, and Ard A. Louis. Deep learning generalizes because the parameter-function map is biased towards simple functions. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id ${ } = { }$ rye4g3AqFm. \n[37] Vladimir Vapnik. The nature of statistical learning theory. Springer science & business media, 1999. \n[38] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017. \n[39] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In Proceedings of the IEEE International Conference on Computer Vision, pages 6023–6032, 2019. \n[40] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=r1Ddp1-Rb. \n[41] Tianyuan Zhang and Zhanxing Zhu. Interpreting adversarially trained convolutional neural networks. In International Conference on Machine Learning, pages 7502–7511. PMLR, 2019. \n[42] Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, number 34(07), pages 13001–13008, 2020. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
156,
|
| 816 |
+
90,
|
| 817 |
+
828,
|
| 818 |
+
924
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 9
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "",
|
| 825 |
+
"bbox": [
|
| 826 |
+
145,
|
| 827 |
+
56,
|
| 828 |
+
828,
|
| 829 |
+
915
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 10
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "",
|
| 836 |
+
"bbox": [
|
| 837 |
+
158,
|
| 838 |
+
90,
|
| 839 |
+
828,
|
| 840 |
+
510
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 11
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Checklist ",
|
| 847 |
+
"text_level": 1,
|
| 848 |
+
"bbox": [
|
| 849 |
+
163,
|
| 850 |
+
535,
|
| 851 |
+
253,
|
| 852 |
+
551
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 11
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "1. For all authors... ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
214,
|
| 861 |
+
563,
|
| 862 |
+
339,
|
| 863 |
+
577
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 11
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] (b) Did you describe the limitations of your work? [Yes] See lines 174–184, 221–229, \n292–294. (c) Did you discuss any potential negative societal impacts of your work? [Yes] See lines \n221–229 as well as 89–93 and Appendix C.4. (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
238,
|
| 872 |
+
582,
|
| 873 |
+
825,
|
| 874 |
+
700
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 11
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "2. If you are including theoretical results... ",
|
| 881 |
+
"bbox": [
|
| 882 |
+
214,
|
| 883 |
+
705,
|
| 884 |
+
493,
|
| 885 |
+
719
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 11
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
|
| 892 |
+
"bbox": [
|
| 893 |
+
236,
|
| 894 |
+
723,
|
| 895 |
+
738,
|
| 896 |
+
756
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 11
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "3. If you ran experiments... ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
214,
|
| 905 |
+
761,
|
| 906 |
+
393,
|
| 907 |
+
775
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 11
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix A. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] The only exception is when using publicly available models, as mentioned in Section 2. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Appendix A. ",
|
| 914 |
+
"bbox": [
|
| 915 |
+
238,
|
| 916 |
+
779,
|
| 917 |
+
825,
|
| 918 |
+
912
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 11
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
210,
|
| 927 |
+
90,
|
| 928 |
+
825,
|
| 929 |
+
107
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 12
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See lines 84–93 and Appendix A. \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
238,
|
| 938 |
+
109,
|
| 939 |
+
825,
|
| 940 |
+
246
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 12
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 947 |
+
"bbox": [
|
| 948 |
+
214,
|
| 949 |
+
250,
|
| 950 |
+
705,
|
| 951 |
+
263
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 12
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 958 |
+
"bbox": [
|
| 959 |
+
238,
|
| 960 |
+
267,
|
| 961 |
+
825,
|
| 962 |
+
358
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 12
|
| 965 |
+
}
|
| 966 |
+
]
|
parse/train/UZgGf92u5N0/UZgGf92u5N0_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/UZgGf92u5N0/UZgGf92u5N0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|