ZHANGYUXUAN-zR commited on
Commit
6c80697
·
verified ·
1 Parent(s): 09af1ed

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/train/BkgRe1SFDS/BkgRe1SFDS.md +440 -0
  2. parse/train/BkgRe1SFDS/BkgRe1SFDS_content_list.json +0 -0
  3. parse/train/BkgRe1SFDS/BkgRe1SFDS_middle.json +0 -0
  4. parse/train/BkgRe1SFDS/BkgRe1SFDS_model.json +0 -0
  5. parse/train/H1VyHY9gg/H1VyHY9gg.md +313 -0
  6. parse/train/H1VyHY9gg/H1VyHY9gg_content_list.json +1659 -0
  7. parse/train/H1VyHY9gg/H1VyHY9gg_middle.json +0 -0
  8. parse/train/H1VyHY9gg/H1VyHY9gg_model.json +0 -0
  9. parse/train/H1xPR3NtPB/H1xPR3NtPB.md +330 -0
  10. parse/train/H1xPR3NtPB/H1xPR3NtPB_content_list.json +1717 -0
  11. parse/train/Iz3zU3M316D/Iz3zU3M316D_middle.json +0 -0
  12. parse/train/Iz3zU3M316D/Iz3zU3M316D_model.json +0 -0
  13. parse/train/Syr8Qc1CW/Syr8Qc1CW.md +318 -0
  14. parse/train/Syr8Qc1CW/Syr8Qc1CW_content_list.json +1573 -0
  15. parse/train/Syr8Qc1CW/Syr8Qc1CW_middle.json +0 -0
  16. parse/train/Syr8Qc1CW/Syr8Qc1CW_model.json +0 -0
  17. parse/train/wHoIjrT6MMb/wHoIjrT6MMb.md +376 -0
  18. parse/train/wHoIjrT6MMb/wHoIjrT6MMb_content_list.json +1534 -0
  19. parse/train/wHoIjrT6MMb/wHoIjrT6MMb_middle.json +0 -0
  20. parse/train/wHoIjrT6MMb/wHoIjrT6MMb_model.json +0 -0
  21. vlm/train/0IOX0YcCdTn/0.png +3 -0
  22. vlm/train/0IOX0YcCdTn/1.png +3 -0
  23. vlm/train/0IOX0YcCdTn/10.png +3 -0
  24. vlm/train/0IOX0YcCdTn/11.png +3 -0
  25. vlm/train/0IOX0YcCdTn/12.png +3 -0
  26. vlm/train/0IOX0YcCdTn/13.png +3 -0
  27. vlm/train/0IOX0YcCdTn/14.png +3 -0
  28. vlm/train/0IOX0YcCdTn/15.png +3 -0
  29. vlm/train/0IOX0YcCdTn/16.png +3 -0
  30. vlm/train/0IOX0YcCdTn/17.png +3 -0
  31. vlm/train/0IOX0YcCdTn/18.png +3 -0
  32. vlm/train/0IOX0YcCdTn/19.png +3 -0
  33. vlm/train/0IOX0YcCdTn/2.png +3 -0
  34. vlm/train/0IOX0YcCdTn/20.png +3 -0
  35. vlm/train/0IOX0YcCdTn/3.png +3 -0
  36. vlm/train/0IOX0YcCdTn/4.png +3 -0
  37. vlm/train/0IOX0YcCdTn/5.png +3 -0
  38. vlm/train/0IOX0YcCdTn/6.png +3 -0
  39. vlm/train/0IOX0YcCdTn/7.png +3 -0
  40. vlm/train/0IOX0YcCdTn/8.png +3 -0
  41. vlm/train/0IOX0YcCdTn/9.png +3 -0
  42. vlm/train/0cmMMy8J5q/0.png +3 -0
  43. vlm/train/0cmMMy8J5q/1.png +3 -0
  44. vlm/train/0cmMMy8J5q/10.png +3 -0
  45. vlm/train/0cmMMy8J5q/11.png +3 -0
  46. vlm/train/0cmMMy8J5q/12.png +3 -0
  47. vlm/train/0cmMMy8J5q/13.png +3 -0
  48. vlm/train/0cmMMy8J5q/14.png +3 -0
  49. vlm/train/0cmMMy8J5q/15.png +3 -0
  50. vlm/train/0cmMMy8J5q/16.png +3 -0
parse/train/BkgRe1SFDS/BkgRe1SFDS.md ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LEARNING WORLD GRAPH DECOMPOSITIONS TO ACCELERATE REINFORCEMENT LEARNING
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Efficiently learning to solve tasks in complex environments is a key challenge for reinforcement learning (RL) agents. We propose to decompose a complex environment using a task-agnostic world graphs, an abstraction that accelerates learning by enabling agents to focus exploration on a subspace of the environment. The nodes of a world graph are important waypoint states and edges represent feasible traversals between them. Our framework has two learning phases: 1) identifying world graph nodes and edges by training a binary recurrent variational autoencoder (VAE) on trajectory data and 2) a hierarchical RL framework that leverages structural and connectivity knowledge from the learned world graph to bias exploration towards task-relevant waypoints and regions. We thoroughly evaluate our approach on a suite of challenging maze tasks and show that using world graphs significantly accelerates RL, achieving higher reward and faster learning.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Many real-world applications, e.g., self-driving cars and in-home robotics, require an autonomous agent to execute different tasks within a single environment that features, e.g. high-dimensional state space, complex world dynamics or structured layouts. In these settings, model-free reinforcement learning (RL) agents often struggle to learn efficiently, requiring a large amount of experience collections to converge to optimal behaviors. Intuitively, an agent could learn more efficiently by focusing its exploration in task-relevant regions, if it has knowledge of the high-level structure of the environment.
12
+
13
+ We propose a method to 1) learn and 2) use an environment decomposition in the form of a world graph, a task-agnostic abstraction. World graph nodes are waypoint states, a set of salient states that can summarize agent trajectories and provide meaningful starting points for efficient exploration (Chatzigiorgaki & Skodras, 2009; Jayaraman et al., 2018; Ghosh et al., 2018). The directed and weighted world graph edges characterize feasible traversals among the waypoints. To leverage the world graph, we model hierarchical RL (HRL) agents where a high-level policy chooses a waypoint state as a goal to guide exploration towards task-relevant regions, and a low-level policy strives to reach the chosen goals.
14
+
15
+ Our framework consists of two phases. In the task-agnostic phase, we obtain world graphs by training a recurrent variational auto-encoder (VAE) (Chung et al., 2015; Gregor et al., 2015; Kingma & Welling, 2013) with binary latent variables (Nalisnick & Smyth, 2016) over trajectories collected using a random walk policy (Ha & Schmidhuber, 2018) and a curiosity-driven goal-conditioned policy (Ghosh et al., 2018; Nair et al., 2018). World graph nodes are states that are most frequently selected by the binary latent variables, while edges are inferred from empirical transition statistics between neighboring waypoints. In the task-specific phase, taking advantage of the learned world graph for structured exploration, we efficiently train an HRL model (Taylor & Stone, 2009).
16
+
17
+ In summary, our main contributions are:
18
+
19
+ • A task-agnostic unsupervised approach to learn world graphs, using a recurrent VAE with binary latent variables and a curiosity-driven goal-conditioned policy. • An HRL scheme for the task-specific phase that features multi-goal selection (Wide-thenNarrow) and navigation via world graph traversal.
20
+
21
+ ![](images/87e8c713c76547993153ec99d35d40aae11b5121b86240dad4d5ac65a6d03b12.jpg)
22
+ Figure 1: Top Left: overall pipeline of our 2-phase framework. Top Right (world graph discovery): a subgraph exemplifies traversal between waypoint states (in blue), see Section 3 for more details. Bottom (Hierarhical $R L$ ): an example rollout from our proposed HRL policy with Wide-then-Narrow Manager instructions and world graph traversals, solving a challenging Door-Key task, see Section 4 for more details.
23
+
24
+ • Empirical evaluations on multiple tasks in complex 2D grid worlds to validate that our framework produces descriptive world graphs and significantly improves both sample efficiency and final performance on these tasks over baselines, especially thanks to transfer learning from the unsupervised phase and world graph traversal.
25
+
26
+ # 2 RELATED WORK
27
+
28
+ An understanding of the environment and its dynamics is essential for effective planning and control in model-based RL. For example, a robotics agent often locates or navigates by interpreting a map (Lowry et al., 2015; Thrun, 1998; Angeli et al., 2008). Our exploration strategy draws inspiration from active localization, where robots are actively guided to investigate unfamiliar regions (Fox et al., 1998; Li et al., 2016). Besides mapping, recent works (Azar et al., 2019; Ha & Schmidhuber, 2018; Guo et al., 2018) learn to represent the world with generative latent states (Tian & Gong, 2017; Haarnoja et al., 2018; Racanière et al., 2017). If the latent dynamics are also extrapolated, the latent states can assist planning (Mnih et al., 2016a; Hafner et al., 2018) or model-based RL (Gregor & Besse, 2018; Kaiser et al., 2019).
29
+
30
+ While also aiming to model the world, we approach this as abstracting both the structure and dynamics of the environment in a graph representation, where nodes are states from the environment and edges encode actionable efficient transitions between nodes. Existing works (Metzen, 2013; Mannor et al., 2004; Eysenbach et al., 2019; Entezari et al., 2010) have shown benefits of such graph abstractions but typically select nodes only subject to a good coverage the observed state space. Instead, we identify a parsimonious subset of states that can summarize trajectories and provide more useful intermediate landmarks, i.e. waypoints, for navigating complex environments.
31
+
32
+ Our method for estimating waypoint states can be viewed as performing automatic (sub)goal discovery. Subgoal and subpolicy learning are two major approaches to identify a set of temporally-extended actions, “skills”, that allow agents to efficiently learn to solve complex tasks. Subpolicy learning identifies policies useful to solve RL tasks, such as option-based methods (Daniel et al., 2016; Bacon et al., 2017) and subtask segmentations (Pertsch et al., 2019; Kipf et al., 2018). Subgoal learning, on the other hand, identifies “important states” to reach ( ¸Sim¸sek et al., 2005).
33
+
34
+ Previous works consider various definitions of “important” states: frequently visited states during successful task completions (Digney, 1998; McGovern & Barto, 2001), states introducing the most novel information (Goyal et al., 2019), bottleneck states connecting densely-populated regions (Chen et al., 2007; ¸Sim¸sek et al., 2005), or environment-specific heuristics (Ecoffet et al., 2019). Our work draws intuition from unsupervised temporal segmentation (Chatzigiorgaki & Skodras, 2009; Jayaraman et al., 2018) and imitation learning (Abbeel & $\mathrm { N g }$ , 2004; Hussein et al., 2017). We define “important” states (waypoints) as the most critical states in recovering action sequences generated by some agent, which indicates that these states contain the richest information about the executed policy (Azar et al., 2019).
35
+
36
+ ![](images/0b8b33e4d41c1c614e19d9ac24f4cdb5614a9211348b71ee40716b3df882e83c.jpg)
37
+ Figure 2: Our recurrent latent model with differentiable binary latent units to identify waypoint states. A prior network (left) learns the state-conditioned prior in Beta distribution, $p _ { \psi } ( z _ { t } | s _ { t } ) { = } \mathrm { B e t a } ( \alpha _ { t } , \beta _ { t } )$ . An inference encoder learns an approximate posterior in HardKuma distribution inferred from the state-action sequence input, $q _ { \phi } ( z _ { t } | \mathbf { a } , z ) { = } \mathrm { H a r d } \hat { \mathrm { K } } \mathrm { u m a } ( \tilde { \alpha _ { t } } , \mathbf { \hat { 1 } } )$ . A generation network $p _ { \theta }$ reconstructs $\textbf { \em a }$ from $\{ s _ { t } | z _ { t } = 1 \}$ .
38
+
39
+ # 3 LEARNING WORLD GRAPHS
40
+
41
+ We propose a method for learning a world graph $\mathcal { G } _ { w }$ , a task-agnostic abstraction of an environment that captures its high-level structure and dynamics. In this work, the primary use of world graphs is to accelerate reinforcement learning of downstream tasks. The nodes of $\mathcal { G } _ { w }$ , denoted by a set of waypoints states $s _ { p } \in \mathcal { V } _ { p }$ , are generically “important” for accomplishing tasks within the environment, and therefore useful as starting points for exploration. Our method identifies such waypoint states from interactions with the environment. In addition, we embed feasible transitions between nearby waypoint states as the edges of $\mathcal { G } _ { w }$ .
42
+
43
+ In this work, we define important states in the context of learning $\mathcal { G } _ { w }$ (see Section 2 for alternative definitions). That is, we wish to discover a small set of states that, when used as world graph nodes, concisely summarize the structure and dynamics of the environment. Below, we describe 1) how to collect state-action trajectories and an unsupervised learning objective to identify world graph nodes, and 2) how the graph’s edges (i.e., how to transition between nodes) are formed from trajectories.
44
+
45
+ # 3.1 WAYPOINT STATE IDENTIFICATION
46
+
47
+ The structure and dynamics of an environment are implicit in the state-action trajectories observed during exploration. To identify world graph nodes from such data, we train a recurrent variational autoencoder (VAE) that, given a sequence of state-action pairs, identifies a subset of the states in the sequence from which the full action sequence can be reconstructed (Figure 2). In particular, the VAE infers binary latent variables that controls whether each state in the sequence is used by the generative decoder, i.e., whether a state is “important” or not.
48
+
49
+ Binary Latent VAE The VAE consists of an inference, a generative and a prior network. These are structured as follows: the input to the inference network $q _ { \phi }$ is a trajectory of state-action pairs observed from the environment ${ \tau } = \{ ( s _ { t } , a _ { t } ) \} _ { t = 0 } ^ { T }$ , with ${ \pmb s } = \{ { \boldsymbol s } _ { t } \} _ { t = 0 } ^ { T }$ and $\pmb { a } { = } \{ a _ { t } \} _ { t = 0 } ^ { T }$ denoting the state and action sequences respectively. The output of the inference network is the approximated posterior over a sequence ${ z } = \{ z _ { t } \} _ { t = 0 } ^ { \bar { T } }$ of binary latent variables, denoted as $\varphi _ { \phi } ( \boldsymbol { z } | \boldsymbol { a } , \boldsymbol { s } )$ . The generative network $p _ { \theta }$ computes a distribution over the full action sequence $\textbf { \em a }$ using the masked state sequence, where $s _ { t }$ is masked if $z _ { t } { = } 0$ (we fix $z _ { 0 } { = } z _ { T } { = } 1$ during training), denoted as $p _ { \theta } ( { \pmb a } | { \pmb s } , z )$ .
50
+
51
+ Finally, a state-conditioned $p _ { \psi } ( z _ { t } | s _ { t } )$ given by the prior network $p _ { \psi }$ for each $s _ { t }$ encodes the empirical average probability that state $s _ { t }$ is activated for reconstruction. This choice encourages inference to select within a consistent subset of states for use in action reconstruction. In particular, the waypoint states $\nu _ { p }$ are chosen as the states with the largest prior means and during training, once every few iterations, $\nu _ { p }$ is updated based on the current prior network.
52
+
53
+ <table><tr><td>Algorithm 1: Identifying waypoint states Vp and learning a goal-conditioned policy g Result: Waypoint states Vp and a goal-conditioned policy π g</td></tr><tr><td>Initialize network parameters for the recurrent variational inference model V Initialize network parameters for the goal-conditioned policy g Initialize Vp with the initial position of the agent,i.e.Vp = {so = (1,1)}</td></tr><tr><td>while VAE reconstruction error has not converged do</td></tr><tr><td>forn←1toNdo Sample random waypoint sp ∈ Vp</td></tr><tr><td>Navigate agent to sp and perform T-step rollout using a randow walk policy: T𝑛 ←{(s0= Sp,ao),.,(sT,ar)}</td></tr><tr><td>gn←ST Navigate agent to Sp and perform T-step rollout using Tg with goal gn:</td></tr><tr><td>Tπ ←{(s= Sp,ao),.,(sT,ar)}at~πg(-st,9n) Re-label πg rewards with action reconstruction error as curiosity bonus:</td></tr><tr><td>rπ←{1st+1=n-λ·p(at|s,z)}=0</td></tr><tr><td>end</td></tr><tr><td>Perform policy gradient update of πg using T&quot; and rπ</td></tr><tr><td>Update V using T and T</td></tr><tr><td>Update Vp as set of states with largest prior mean αs αs+βs</td></tr></table>
54
+
55
+ Objective Formally, we optimize the VAE using the following evidence lower bound (ELBO):
56
+
57
+ $$
58
+ \mathrm { E L B O } = \mathbb { E } _ { q _ { \phi } ( z | a , s ) } \left[ \log p _ { \theta } ( a | s , z ) \right] - D _ { \mathrm { K L } } \left( q _ { \phi } ( z | a , s ) | p _ { \psi } ( z | s ) \right) .
59
+ $$
60
+
61
+ To ensure differentiablity, we apply a continuous relaxation over the discrete $z _ { t }$ . We use the Beta distribution $p _ { \psi } ( z _ { t } ) = \mathrm { B e t a } ( \alpha _ { t } , \beta _ { t } )$ for the prior and the Hard Kumaraswamy distribution $q _ { \psi } ( z _ { t } | { a } , { z } ) = \mathrm { H a r d K u m a } ( \tilde { \alpha } _ { t } , \tilde { \beta } _ { t } )$ for the approximate posterior, which resembles the Beta distribution but is outside the exponential family (Bastings et al., 2019). This choice allows us to sample 0s and 1s without sacrificing differentiability, accomplished via the stretch-and-rectify procedure (Bastings et al., 2019; Louizos et al., 2017) and the reparametrization trick (Kingma & Welling, 2013). Lastly, to prevent the trivial solution of using all states for reconstruction, we use a secondary objective $\mathcal { L } _ { 0 }$ to regularize the $L _ { 0 }$ norm of $_ z$ at a targeted value $\mu _ { 0 }$ (Louizos et al., 2017; Bastings et al., 2019), the desired number of selected states out of $T$ steps, e.g. for when $T = 2 5$ , we set $\mu _ { 0 } = 5$ , meaning ideally 5 out of 25 states are activated for action reconstruction. Another term $\mathcal { L } _ { T }$ to encourage temporal separation between selected states by targeting the number of $0 / 1$ switches among $_ z$ at $2 \mu _ { 0 }$ :
62
+
63
+ $$
64
+ \mathcal { L } _ { 0 } = \Big | \Big | \mathbb { E } _ { q _ { \phi } ( z | s , a ) } [ \| z \| _ { 0 } ] - \mu _ { 0 } \Big | \Big | ^ { 2 } , \quad \mathcal { L } _ { T } = \Bigg | \Bigg | \mathbb { E } _ { q _ { \phi } ( z | s , a ) } \left[ \sum _ { t = 0 } ^ { T } \mathbb { 1 } [ z _ { t } \neq z _ { t + 1 } ] \right] - 2 \mu _ { 0 } \Bigg | \Bigg | ^ { 2 } .
65
+ $$
66
+
67
+ See Appendix A for details on training the VAE with binary $z _ { t }$ , including integration of the Hard Kumaraswamy distribution and how to regularize the statistics of $_ z$ .
68
+
69
+ # 3.2 EXPLORATION FOR WORLD GRAPH DISCOVERY
70
+
71
+ Naturally, the latent structure learned by the VAE depends on the trajectories used to train it. Hence, collecting a rich set of trajectories is crucial. Here, we propose a strategy to bootstrap a useful set of trajectories by alternately exploring the environment based on the current iteration’s $\nu _ { p }$ and updating the VAE and $\nu _ { p }$ , repeating this cycle until the action reconstruction accuracy plateaus (Algorithm 1).
72
+
73
+ During exploration, we use action replay to navigate the agent to a state drawn from the current iteration’s $\nu _ { p }$ . Although resetting via action replay assumes our underneath environment to be deterministic, in cases where this resetting strategy is infeasible, it may be modified so long as to allow the exploration starting points to expand as the agent discovers more of its environment. For each such starting point, we collect two rollouts. In the first rollout, we perform a random walk to explore the nearby region. In the second rollout, we perform actions using a goal-conditioned policy $\pi _ { g }$ (GCP), setting the final state reached by the random walk as the goal. Both rollouts are used for trianing the VAE and the latter is also used for training $\pi _ { g }$ .
74
+
75
+ ![](images/0c4516ced121df0c03431d831806e1817ee32a043d24758d20a0950c4f69de1d.jpg)
76
+ Figure 3: Left: a standard Feudal Network. Right: using Wide-then-Narrow goals. The Manager first outputs a waypoint state as the wide goal $g ^ { w }$ , then attends to a closer-up area around $g ^ { w }$ to narrow down the final goal $g ^ { n }$ .
77
+
78
+ GCP provides a venue to integrate intrinsic motivation, such as curiosity (Burda et al., 2018; Achiam & Sastry, 2017; Pathak et al., 2017; Azar et al., 2019) to generate more diverse rollouts. Specifically, we use the action reconstruction error of the VAE as an intrinsic reward signal when training $\pi _ { g }$ . This choice of curioisty also prevents the VAE from collapsing to the simple behaviors of a vanilla $\pi _ { g }$ .
79
+
80
+ # 3.3 EDGE FORMATION
81
+
82
+ The final stage is to construct the edges of $\mathcal { G } _ { w }$ , which should ideally capture the environment dynamics, i.e. how to transition between waypoint states. Once VAE training is complete and $\nu _ { p }$ is fixed, we collect random walk rollouts from each of the waypoints $s _ { p } \in \mathcal { V } _ { p }$ to estimate the underlying adjacency matrix (Biggs, 1993). More precisely, we claim a directed edge $s _ { p } \to s _ { q }$ if there exists a random walk trajectory from $s _ { p }$ to $s _ { q }$ that does not intersect a third waypoint. We also consider paths taken by $\pi _ { g }$ (starting at $s _ { p }$ and setting $s _ { q }$ as the goal) and keep the shortest observed path from $s _ { p }$ to $s _ { q }$ as a world graph edge transition. We use the action sequence length of the edge transition between adjacent waypoints as the weight of the edge. As shown experimentally, a key benefit of our approach is the ability to plan over $\mathcal { G } _ { w }$ . To navigate from one waypoint to another, we can use dynamic programming (Sutton, 1998; Feng et al., 2004) to output the optimal traversal of the graph.
83
+
84
+ # 4 ACCELERATING REINFORCEMENT LEARNING WITH WORLD GRAPHS
85
+
86
+ World graphs present a high-level, task-agnostic abstraction of the environment through waypoints and feasible transition routes between them. A key example of world graph applications for taskspecific RL is structured exploration: instead of exploring the entire environment, RL agents can use world graphs to quickly identify task-relevant regions and bias low-level exploration to these regions. Our framework to leverage world graphs for structured exploration consists of two parts:
87
+
88
+ 1. Hierarchical RL wherein the high-level policy selects subgoals from $\nu _ { p }$ .
89
+ 2. Traversals using world graph edges.
90
+
91
+ # 4.1 HIERARCHICAL RL OVER WORLD GRAPHS
92
+
93
+ Formally, an RL agent learning to solve a task is formulated as a Markov Decision Process: at time $t$ , the agent is in a state $s _ { t }$ , executes an action $a _ { t }$ via a policy $\pi ( a _ { t } | s _ { t } )$ and receives a rewards $r _ { t }$ . The agent’s goal is to maximize its cumulative expected return $\begin{array} { r } { R = \mathbb { E } _ { ( s _ { t } , a _ { t } ) \sim \pi , p , p _ { 0 } } \left[ \sum _ { t \geq 0 } \gamma ^ { t } r _ { t } \right] } \end{array}$ , where $p ( s _ { t + 1 } | s _ { t } , a _ { t } ) , p _ { 0 } ( s _ { 0 } )$ are the transition and initial state distributions.
94
+
95
+ To incorporate world graphs with RL, we use a hierarchical approach based on the Feudal Network (FN) (Dayan $\&$ Hinton, 1993; Vezhnevets et al., 2017), depicted in Figure 3. A standard FN
96
+
97
+ # Task Description
98
+
99
+ Task MultiGoal
100
+
101
+ # Environment Characteristics
102
+
103
+ Balls are located randomly, dense reward.
104
+
105
+ # MultiGoal-Sparse
106
+
107
+ Collect randomly spawned balls, each ball gives $+ 1$ reward. To end an episode, the agent has to exit at a designated point. Agents receive a single reward $r \leq 1$ proportional to the number of balls collected upon exiting.
108
+
109
+ MultiGoalStochastic Door-Key
110
+
111
+ Balls are located randomly, sparse reward.
112
+
113
+ Spawn lava blocks at random locations each time step that immediately terminates the episode if stepped on. Agent has to pick up a key to open a door (reward $+ 1 \AA$ and reach the exit point on the other side (reward $+ 1$ ).
114
+
115
+ Stochastic environment. Multiple objects: lava and balls are randomly located, dense reward.
116
+ Walls, door and key are located randomly. Agents have additional actions: pick and toggle.
117
+
118
+ Table 1: An overview of tasks used to evaluate the benefit of using world graphs. Visualizations can be found in Appendix D.
119
+
120
+ decomposes the policy of the agent into two separate policies that receive distinct streams of reward: a high-level policy (“Manager”) learns to propose subgoals; a low-level policy (“Worker”) receives subgoals from the Manager as inputs and is rewarded for taking actions in the environment that reach the subgoals. The Manager receives the environment reward defined by the task and therefore must learn to emit subgoals that lead to task completion. The Manager and Worker do not share weights and operate at different temporal resolutions: the Manager only outputs a new subgoal if either the Worker reaches the chosen one or a subgoal horizon $c$ is exceeded.
121
+
122
+ For all our experiments, policies are trained using advantage actor-critic (A2C), an on-policy RL algorithm (Wu & Tian, 2016; Pane et al., 2016; Mnih et al., 2016b). To ease optimization, the feature extraction layers of the Manager and Worker that encode $s _ { t }$ are initialized with the corresponding layers from $\pi _ { g }$ , the GCP learned during world graph discovery phase. More details are in Appendix B.
123
+
124
+ # 4.2 WIDE-THEN-NARROW GOALS AND WORLD GRAPHS
125
+
126
+ To incorporate the world graph, we introduce a Manager policy that factorizes subgoal selection as follows: a wide policy $\pi ^ { w } ( g _ { t } ^ { w } | s _ { t } )$ selects a waypoint state as the wide goal $g ^ { w } \in \mathcal { V } _ { p }$ , and a narrow policy $\pi ^ { n } ( g _ { t } ^ { n } | s _ { t } , g _ { t } ^ { w } )$ selects a state within a local neighborhood of $g _ { t } ^ { w }$ , i.e. its $\epsilon$ -net (Mahadevan $\&$ Maggioni, 2007), as the narrow goal $g ^ { n } \in \{ s : \mathcal { D } ( s , \bar { g } _ { t } ^ { w } ) \leq \epsilon \}$ . The Worker policy $\pi ^ { \mathrm { w o r k e r } } ( a _ { t } | s _ { t } , g _ { t } ^ { n } , g _ { t } ^ { \bar { w } } )$ chooses the action taken by the agent given the current state and the wide and narrow goals from the Manager. A visual illustration is in Figure 4 and training details in Appendix C.2.
127
+
128
+ # 4.3 WORLD GRAPH TRAVERSAL
129
+
130
+ The wide-then-narrow subgoal format simplifies the search space for the Manager policy. Using waypoints as wide goals also makes it possible to leverage the edges of the world graph for planning and executing the planned traversals. This process breaks down as follows:
131
+
132
+ 1. When to Traverse: When the agent encounters a waypoint state $s _ { t } \in \mathcal V _ { p }$ , a “traversal” is initiated if $s _ { t }$ has a feasible connection in $\mathcal { G } _ { w }$ to the active wide goal $g _ { t } ^ { w }$ . 2. Planning: Upon triggering a traversal, the optimal traversal route from the initiating state to $g _ { t } ^ { w }$ is estimated from the $\mathcal { G } _ { w }$ edge weights using classic dynamic programming planning (Sutton, 1998; Feng et al., 2004). This yields a sequence of intermediate waypoint states. 3. Execution: Execution of graph traversals depends on the nature of the environment. If deterministic, the agent simply follows the action sequences given by the edges of the traversal. Otherwise, the agent uses the pretrained $\mathbf { G C P } \pi _ { g }$ to sequentially reach each of the intermediate waypoint states along the traversal (we fine-tune $\pi _ { g }$ in parallel where applicable). If the agent fails to reach the next waypoint state within a certain time limit, it stops its current pursuit and a new $( g ^ { w } , g ^ { n } )$ pair is received from the Manager.
133
+
134
+ World graph traversal allows the Manager to assign task-relevant wide goals $g ^ { w }$ that can be far away from the agent yet still reachable, which consequentially accelerates learning by focusing exploration around the task-relevant region near $g ^ { w }$ .
135
+
136
+ # 5 EXPERIMENTAL VALIDATION
137
+
138
+ We now assess each component of our framework on a set of challenging 2D grid worlds. Our ablation studies demonstrate the following benefits of our framework:
139
+
140
+ Table 2: On a variety of tasks and environment setups, we evaluate RL models trained with GCP $\pi _ { g }$ initialization, with $\mathcal { G } _ { w }$ world graph travresal, and with both. All models on the right are equipped with WN. Left are baselines for additional comparison. We report final rewards for MultiGoal tasks and success rates for Door-Key are reported. If no result reported, the agent failed to solve the task.
141
+
142
+ <table><tr><td rowspan="2">Task</td><td rowspan="2">Size</td><td rowspan="2">A2C</td><td rowspan="2">FN+πg init</td><td colspan="3">Ours</td></tr><tr><td>+πg-init</td><td>+ 9w-traversal</td><td>+πg-init+Gw-traversal</td></tr><tr><td rowspan="3">MultiGoal</td><td>Small</td><td>2.04±0.05</td><td>2.93±0.74</td><td>5.25±0.13</td><td>3.92±0.22</td><td>5.05±0.03</td></tr><tr><td>Medium</td><td>=</td><td>=</td><td>5.15±0.11</td><td>2.56±0.09</td><td>3.00±0.90</td></tr><tr><td>Larger</td><td>=</td><td>=</td><td>-</td><td>2.18±0.12</td><td>2.72±0.59</td></tr><tr><td rowspan="3">MultiGoal-Sparse</td><td>Small</td><td>=</td><td>=</td><td>0.39±0.09</td><td>0.24±0.04</td><td>0.42±0.07</td></tr><tr><td>Medium</td><td></td><td></td><td></td><td>0.20±0.04</td><td>0.25±0.03</td></tr><tr><td>Larger</td><td></td><td></td><td></td><td>0.16±0.22</td><td>0.26±0.11</td></tr><tr><td rowspan="3">MultiGoal-Stochastic</td><td>Small</td><td>1.38±1.20</td><td>1.93±0.16</td><td>3.06±0.31</td><td></td><td>2.92±0.45</td></tr><tr><td>Medium</td><td></td><td>=</td><td>2.99±0.12</td><td>2.42±0.24</td><td>2.64±0.14</td></tr><tr><td>Larger</td><td>=</td><td></td><td>=</td><td>=</td><td>0.60±0.12</td></tr><tr><td rowspan="3">Door-Key</td><td>Small</td><td></td><td>=</td><td>0.99±0.00</td><td>0.37±0.15</td><td>0.92±0.02</td></tr><tr><td>Medium</td><td></td><td></td><td>0.56±0.02</td><td></td><td>0.76±0.06</td></tr><tr><td>Larger</td><td></td><td></td><td>=</td><td></td><td>0.26±0.19</td></tr></table>
143
+
144
+ Table 3: Comparing learned $\nu _ { p }$ versus random $\mathcal { V } _ { \mathrm { r a n d } }$ as wide subgoals on large mazes, all trained with $\pi _ { g }$ initialization and graph traversal. $\nu _ { p }$ generally is superior in terms of performance and consistency. We report final rewards for MultiGoal tasks and success rates for Door-Key are reported.
145
+
146
+ <table><tr><td>Waypoint type</td><td>MultiGoal</td><td>MultiGoal-Sparse</td><td>MultiGoal-Stochastic</td><td>Door-Key</td></tr><tr><td>Learned</td><td>2.72±0.59</td><td>0.26±0.11</td><td>0.60±0.12</td><td>0.26±0.19</td></tr><tr><td>Random</td><td>2.30±0.49</td><td>0.19±0.11</td><td>0.41±0.25</td><td>0.27±0.40</td></tr></table>
147
+
148
+ • It improves sample efficiency and performance over the baseline HRL model. • It benefits tasks varying in envirionment scale, task type, reward structure, and stochasticity. • The identified waypoints provide superior world representations for solving downstream tasks, as compared to graphs using randomly selected states as nodes.
149
+
150
+ Implementation details, snippets of the tasks and mazes are in Appendix C-D.
151
+
152
+ # 5.1 ABLATION STUDIES ON 2D GRID WORLDS
153
+
154
+ For our ablation studies, we construct 2D grid worlds of increasing sizes (small, medium and large) along with challenging tasks with different reward structures, levels of stochasticity and logic (summarized in Table 1). In all tasks, every action taken by the agent receives a negative reward penalty. We follow a rigorous evaluation protocol (Wu et al., 2017; Ostrovski et al., 2017; Henderson et al., 2018): each experiment is repeated with 3 training seeds. 10 additional validation seeds are used to pick the model with the best reward performance. This model is then tested on 100 testing seeds. We report mean reward and standard deviation.
155
+
156
+ We ablate each of the following components in our framework and compare against non-hierarchical (A2C) and hierarchical baselines (FN):
157
+
158
+ 1. initializing the feature extraction layers of the Manager and Worker from $\pi _ { g }$ ,
159
+ 2. applying Wide-then-Narrow Manager (WN) goal instruction, and
160
+ 3. allowing the Worker to traverse along $\mathcal { G } _ { w }$ .
161
+
162
+ Results are shown in Table 2. In sum, each component improves performance over the baselines.
163
+
164
+ Wide and narrow goals Using two goal types is a highly effective way to structure the Manager instructions and enables the Worker to differentiate the transition and local task-solving phases. We note that for small MultiGoal, agents do not benefit much from $\mathcal { G } _ { w }$ traversal: it can rely solely on the guidance from WN goals to master both phases. However with increasing maze size, the Worker struggles to master traversals on its own and thus fails solving the tasks.
165
+
166
+ World Graph Traversal As conjectured in Section 4.3, the performance gain of our framework can be explained by the larger range and more targeted exploration strategy. In addition, the Worker does not have to learn long distance transitions with the aid of $\mathcal { G } _ { w }$ traversals. Figure 4 confirms that $\mathcal { G } _ { w }$ traversal speeds up convergence and its effect becomes more evident with larger mazes. Note that the graph learning stage only need 2.4K iterations to converge. Even when taking these additional environment interactions into account, $\mathcal { G } _ { w }$ traversal still exhibits superior sample efficiency, not to mention that the graph is shared among all tasks. Moreover, solving Door-Key involves a complex combination of sub-tasks: find and pick up the key, reach and open the door and finally exit. With limited reward feedback, this is particularly difficult to learn. The ability to traverse along $\mathcal { G } _ { w }$ enables longer-horizon planning on top of the waypoints, thanks to which the agents boost the success rate on medium Door-Key from $0 . 5 6 { \pm } 0 . 0 2$ to $0 . 7 5 { \pm } 0 . 0 6 $ .
167
+
168
+ ![](images/eeccd173a66cc7f083254caca6b3d6fe078ddac17830e5c24ef8e6d8706c4b0b.jpg)
169
+ Figure 4: Validation performance during training (mean and standard-deviation of reward, 3 seeds) for MultiGoal. Left: Comparing $\nu _ { p }$ and $\mathcal { V } _ { \mathrm { r a n d } }$ , with or without traversal, all models use WN and $\pi _ { g }$ initialization. We see that 1) traversal speeds up convergence, 2) $\mathcal { V } _ { \mathrm { r a n d } }$ gives higher variance and slightly worse performance than $\nu _ { p }$ . Right: comparing with or without $\pi _ { g }$ initialization on $\nu _ { p }$ , all models use WN. We see that initializing the task-specific phase with the task-agnostic goal-conditioned policy significantly boosts learning.
170
+
171
+ Benefits of Learned Waypoints To highlight the benefit of establishing the waypoints learned by the VAE as nodes for $\mathcal { G } _ { w }$ , we compare against results using a $\mathcal { G } _ { w }$ constructed around randomly selected states $( \nu _ { \mathrm { r a n d } } )$ . The edges of the random-node graph are formed in the same way as described in Section 3.3 and its feature extractor is also initialized from $\pi _ { g }$ . Although granting knowledge acquired during the unsupervised phase to $\mathcal { V } _ { \mathrm { r a n d } }$ is unfair to $\nu _ { p }$ , deploying both initialization and traversal while only varying $\mathcal { V } _ { \mathrm { r a n d } }$ and $\nu _ { p }$ isolates the effect from the nodes to the best extent. The comparative results (in Table 3, learning curves for MultiGoal in Figure 4) suggest $\nu _ { p }$ generally outperforms $\mathcal { V } _ { \mathrm { r a n d } }$ . Door-Key is the only task in which the two matches. However, $\mathcal { V } _ { \mathrm { r a n d } }$ exhibits a large variance, implying that certain sets of random states can be suitable for this task, but using learned waypoints gives strong performance more consistently.
172
+
173
+ Initialization with GCP Initializing the weights of the Worker and Manager feature extractors from $\pi _ { g }$ (learned during the task-agnostic phase) consistently benefits learning.In fact, we observe that models starting from scratch fail on almost all tasks within the maximal number of training iterations, unless coupled with $\mathcal { G } _ { w }$ traversal, which is still inferior to using $\pi _ { g }$ -initialization. Particularly, for the small MultiGoal-Stochastic environment, there is a high chance that a lava square blocks traversal; therefore, without the environment knowledge from $\pi _ { g }$ transferred by weight initialization, the interference created by the episode-terminating lava prevents the agent from learning the task.
174
+
175
+ # 6 CONCLUSION
176
+
177
+ We have shown that world graphs are powerful environment abstractions, which, in particular, are capable of accelerating reinforcement learning. Future works may extend their applications to more challenging RL setups, such as real-world multi-task learning and navigation. It is also interesting to generalize the proposed framework to learn dynamic world graphs for evolving environments, and applying world graphs to multi-agent problems, where agents become part of the world graphs of other agents.
178
+
179
+ # REFERENCES
180
+
181
+ Pieter Abbeel and Andrew $\mathrm { ~ Y ~ N ~ g ~ }$ . Apprenticeship learning via inverse reinforcement learning. In Proceedings of the twenty-first international conference on Machine learning, pp. 1. ACM, 2004.
182
+
183
+ Joshua Achiam and Shankar Sastry. Surprise-based intrinsic motivation for deep reinforcement learning. arXiv preprint arXiv:1703.01732, 2017.
184
+
185
+ Adrien Angeli, David Filliat, Stéphane Doncieux, and Jean-Arcady Meyer. A fast and incremental method for loop-closure detection using bags of visual words. IEEE Transactions on Robotics, pp. 1027–1037, 2008.
186
+
187
+ Mohammad Gheshlaghi Azar, Biala Piot, Bernardo Avila Pires, Jean-Bastien Gril, Florent Altche, and Remi Munos. World discovery model. arXiv, 2019.
188
+
189
+ Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
190
+
191
+ André Barreto, Will Dabney, Rémi Munos, Jonathan J Hunt, Tom Schaul, Hado P van Hasselt, and David Silver. Successor features for transfer in reinforcement learning. In Advances in neural information processing systems, pp. 4055–4065, 2017.
192
+
193
+ Joost Bastings, Wilker Aziz, and Ivan Titov. Interpretable neural predictions with differentiable binary variables. In Proceedings of the 2019 Conference of the Association for Computational Linguistics, Volume 1 (Long Papers). Association for Computational Linguistics, 2019.
194
+
195
+ Dimitri P Bertsekas. Nonlinear Programming. 1999.
196
+
197
+ Norman Biggs. Algebraic Graph Theory. 1993.
198
+
199
+ Yuri Burda, Harri Edwards, Deepak Pathak, Amos Storkey, Trevor Darrell, and Alexei A Efros. Large-scale study of curiosity-driven learning. arXiv preprint arXiv:1808.04355, 2018.
200
+
201
+ Maria Chatzigiorgaki and Athanassios N Skodras. Real-time keyframe extraction towards video content identification. In 2009 16th International conference on digital signal processing, pp. 1–6. IEEE, 2009.
202
+
203
+ Fei Chen, Yang Gao, Shifu Chen, and Zhenduo Ma. Connect-based subgoal discovery for options in hierarchical reinforcement learning. In Third International Conference on Natural Computation (ICNC 2007), volume 4, pp. 698–702. IEEE, 2007.
204
+
205
+ 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.
206
+
207
+ John D Co-Reyes, YuXuan Liu, Abhishek Gupta, Benjamin Eysenbach, Pieter Abbeel, and Sergey Levine. Self-consistent trajectory autoencoder: Hierarchical reinforcement learning with trajectory embeddings. arXiv preprint arXiv:1806.02813, 2018.
208
+
209
+ Christian Daniel, Herke Van Hoof, Jan Peters, and Gerhard Neumann. Probabilistic inference for determining options in reinforcement learning. Machine Learning, 104(2-3):337–357, 2016.
210
+
211
+ Peter Dayan and Geoffrey E Hinton. Feudal reinforcement learning. In Advances in neural information processing systems, pp. 271–278, 1993.
212
+
213
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv, 2018.
214
+
215
+ Bruce L Digney. Learning hierarchical control structures for multiple tasks and changing environments. 1998.
216
+
217
+ Jeff Donahue, Yangqing Jia, Oriol Vinyals, Judy Hoffman, Ning Zhang, Eric Tzeng, and Trevor Darrell. Decaf: A deep convolutional activation feature for generic visual recognition. In International conference on machine learning, pp. 647–655, 2014.
218
+
219
+ Adrien Ecoffet, Joost Huizinga, Joel Lehman, Kenneth O Stanley, and Jeff Clune. Go-explore: a new approach for hard-exploration problems. arXiv preprint arXiv:1901.10995, 2019.
220
+
221
+ Negin Entezari, Mohammad Ebrahim Shiri, and Parham Moradi. A local graph clustering algorithm for discovering subgoals in reinforcement learning. In International Conference on Future Generation Communication and Networking, pp. 41–50. Springer, 2010.
222
+
223
+ Benjamin Eysenbach, Ruslan Salakhutdinov, and Sergey Levine. Search on the replay buffer: Bridging planning and reinforcement learning. arXiv preprint arXiv:1903.00606, 2019.
224
+
225
+ Zhengzhu Feng, Richard Dearden, Nicolas Meuleau, and Richard Washington. Dynamic programming for structured continuous markov decision problems. In Proceedings of the 20th conference on Uncertainty in artificial intelligence, pp. 154–161. AUAI Press, 2004.
226
+
227
+ Dieter Fox, Wolfram Burgard, and Sebastian Thrun. Active markov localization for mobile robots. Robotics and Autonomous Systems, 25(3-4):195–207, 1998.
228
+
229
+ Dibya Ghosh, Abhishek Gupta, and Sergey Levine. Learning actionable representations with goalconditioned policies. arXiv preprint arXiv:1811.07819, 2018.
230
+
231
+ Anirudh Goyal, Riashat Islam, Daniel Strouse, Zafarali Ahmed, Matthew Botvinick, Hugo Larochelle, Sergey Levine, and Yoshua Bengio. Infobot: Transfer and exploration via the information bottleneck. arXiv preprint arXiv:1901.10902, 2019.
232
+
233
+ Karol Gregor and Frederic Besse. Temporal difference variational auto-encoder. arXiv preprint arXiv:1806.03107, 2018.
234
+
235
+ Karol Gregor, Ivo Danihelka, Alex Graves, Danilo Jimenez Rezende, and Daan Wierstra. Draw: A recurrent neural network for image generation. In ICML, 2015.
236
+
237
+ Zhaohan Daniel Guo, Mohammad Gheshlaghi Azar, Bilal Piot, Bernardo A Pires, Toby Pohlen, and Rémi Munos. Neural predictive belief representations. arXiv preprint arXiv:1811.06407, 2018.
238
+
239
+ David Ha and Jürgen Schmidhuber. World models. arXiv preprint arXiv:1803.10122, 2018.
240
+
241
+ Tuomas Haarnoja, Kristian Hartikainen, Pieter Abbeel, and Sergey Levine. Latent space policies for hierarchical reinforcement learning. arXiv preprint arXiv:1804.02808, 2018.
242
+
243
+ Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning latent dynamics for planning from pixels. arXiv preprint arXiv:1811.04551, 2018.
244
+
245
+ Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
246
+
247
+ Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. In ICLR), 2017.
248
+
249
+ Ahmed Hussein, Mohamed Medhat Gaber, Eyad Elyan, and Chrisina Jayne. Imitation learning: A survey of learning methods. ACM Computing Surveys (CSUR), 50(2):21, 2017.
250
+
251
+ Dinesh Jayaraman, Frederik Ebert, Alexei A Efros, and Sergey Levine. Time-agnostic prediction: Predicting predictable video frames. arXiv preprint arXiv:1808.07784, 2018.
252
+
253
+ Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Model-based reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019.
254
+
255
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
256
+
257
+ Diederik P Kingma and Max Welling. Auto-encoding variational bayes. In ICLR, 2013.
258
+
259
+ Thomas Kipf, Yujia Li, Hanjun Dai, Vinicius Zambaldi, Edward Grefenstette, Pushmeet Kohli, and Peter Battaglia. Compositional imitation learning: Explaining and executing one task at a time. arXiv preprint arXiv:1812.01483, 2018.
260
+
261
+ Quoc V Le, Navdeep Jaitly, and Geoffrey E Hinton. A simple way to initialize recurrent networks of rectified linear units. arXiv preprint arXiv:1504.00941, 2015.
262
+
263
+ Alberto Quattrini Li, Marios Xanthidis, Jason M O’Kane, and Ioannis Rekleitis. Active localization with dynamic obstacles. In 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 1902–1909. IEEE, 2016.
264
+
265
+ Christos Louizos, Max Welling, and Diederik P Kingma. Learning sparse neural networks through l_0 regularization. arXiv preprint arXiv:1712.01312, 2017.
266
+
267
+ Stephanie Lowry, Niko Sünderhauf, Paul Newman, John J Leonard, David Cox, Peter Corke, and Michael J Milford. Visual place recognition: A survey. IEEE Transactions on Robotics, 32(1): 1–19, 2015.
268
+
269
+ Chris J Maddison, Andriy Mnih, and Yee Whye Teh. The concrete distribution: A continuous relaxation of discrete random variables. arXiv preprint arXiv:1611.00712, 2016.
270
+
271
+ Sridhar Mahadevan and Mauro Maggioni. Proto-value functions: A laplacian framework for learning representation and control in markov decision processes. Journal of Machine Learning Research, 8(Oct):2169–2231, 2007.
272
+
273
+ Shie Mannor, Ishai Menache, Amit Hoze, and Uri Klein. Dynamic abstraction in reinforcement learning via clustering. In Proceedings of the twenty-first international conference on Machine learning, pp. 71. ACM, 2004.
274
+
275
+ Amy McGovern and Andrew G Barto. Automatic discovery of subgoals in reinforcement learning using diverse density. 2001.
276
+
277
+ Jan Hendrik Metzen. Learning graph-based representations for continuous reinforcement learning domains. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 81–96. Springer, 2013.
278
+
279
+ Dmytro Mishkin and Jiri Matas. All you need is a good init. arXiv preprint arXiv:1511.06422, 2015.
280
+
281
+ Volodymyr Mnih, John Agapiou, Simon Osindero, Alex Graves, Oriol Vinyals, Koray Kavukcuoglu, et al. Strategic attentive writer for learning macro-actions. arXiv preprint arXiv:1606.04695, 2016a.
282
+
283
+ Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, pp. 1928–1937, 2016b.
284
+
285
+ Ashvin V Nair, Vitchyr Pong, Murtaza Dalal, Shikhar Bahl, Steven Lin, and Sergey Levine. Visual reinforcement learning with imagined goals. In Advances in Neural Information Processing Systems, pp. 9191–9200, 2018.
286
+
287
+ Eric Nalisnick and Padhraic Smyth. Stick-breaking variational autoencoders. arXiv preprint arXiv:1605.06197, 2016.
288
+
289
+ Georg Ostrovski, Marc G Bellemare, Aaron van den Oord, and Rémi Munos. Count-based exploration with neural density models. ICML, 2017.
290
+
291
+ Yudha P Pane, Subramanya P Nageshrao, and Robert Babuška. Actor-critic reinforcement learning for tracking control in robotics. In Decision and Control (CDC), 2016 IEEE 55th Conference on, pp. 5819–5826. IEEE, 2016.
292
+
293
+ Deepak Pathak, Pulkit Agrawal, Alexei A Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 16–17, 2017.
294
+
295
+ Karl Pertsch, Oleh Rybkin, Jingyun Yang, Kost Derpanis, Joseph Lim, Kostas Daniilidis, and Andrew Jeable. Keyin: Discovering subgoal structure with keyframe-based video prediction. arXiv, 2019.
296
+
297
+ Sébastien Racanière, Théophane Weber, David Reichert, Lars Buesing, Arthur Guez, Danilo Jimenez Rezende, Adria Puigdomenech Badia, Oriol Vinyals, Nicolas Heess, Yujia Li, et al. Imaginationaugmented agents for deep reinforcement learning. In Advances in neural information processing systems, pp. 5690–5701, 2017.
298
+
299
+ Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
300
+
301
+ Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In ICML, 2014.
302
+
303
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International journal of computer vision, 115(3):211–252, 2015.
304
+
305
+ Wenling Shang, Herk van Hoof, and Max Welling. Stochastic activation actor-critic methods. In ECML-PKDD, 2019.
306
+
307
+ Özgür ¸Sim¸sek, Alicia P Wolfe, and Andrew G Barto. Identifying useful subgoals in reinforcement learning by local graph partitioning. In Proceedings of the 22nd international conference on Machine learning, pp. 816–823. ACM, 2005.
308
+
309
+ Richard S Sutton. Introduction to reinforcement learning, volume 135. 1998.
310
+
311
+ Matthew E Taylor and Peter Stone. Transfer learning for reinforcement learning domains: A survey. Journal of Machine Learning Research, 10(Jul):1633–1685, 2009.
312
+
313
+ Sebastian Thrun. Learning metric-topological maps for indoor mobile robot navigation. Artificial Intelligence, 99(1):21–71, 1998.
314
+
315
+ Yuandong Tian and Qucheng Gong. Latent forward model for real-time strategy game planning with incomplete information. In NIPS Symposium, 2017.
316
+
317
+ Alexander Sasha Vezhnevets, Simon Osindero, Tom Schaul, Nicolas Heess, Max Jaderberg, David Silver, and Koray Kavukcuoglu. Feudal networks for hierarchical reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 3540–3549. JMLR. org, 2017.
318
+
319
+ Yuhuai Wu, Elman Mansimov, Roger B Grosse, Shun Liao, and Jimmy Ba. Scalable trust-region method for deep reinforcement learning using kronecker-factored approximation. In NIPS, 2017.
320
+
321
+ Yuxin Wu and Yuandong Tian. Training agent for first-person shooter game with actor-critic curriculum learning. 2016.
322
+
323
+ # A RECURRENT VAE WITH DIFFERENTIABLE BINARY LATENT VARIABLES
324
+
325
+ As illustrated in the main text, the main objective for the recurrent VAE is the following evidence lower bound with derivation:
326
+
327
+ $$
328
+ \begin{array} { r l } & { \log p ( a | s ) = \log \int p ( a | s , z ) d z } \\ & { \qquad = \log \int p ( a | s , z ) p ( z | s ) \frac { q ( z | a , s ) } { q ( z | a , s ) } d z } \\ & { \qquad = \log \int p ( a | s , z ) \frac { p ( z | s ) } { q ( z | a , s ) } q ( z | a , s ) d z } \\ & { \qquad \geq \mathbb { E } _ { q ( z | a , s ) } [ \log p ( a | s , z ) - \log \frac { q ( z | a , s ) } { p ( z | s ) } ] } \\ & { \qquad = \mathbb { E } _ { q ( z | a , s ) } [ \log p ( a | s , z ) ] - D _ { \mathrm { K L } } ( q ( z | a , s ) | | p ( z | s ) ) } \end{array}
329
+ $$
330
+
331
+ The inference network $q _ { \psi }$ takes in the trajectories of state-action pairs $\tau$ and at each time step approximates the posterior of the corresponding latent variable $z _ { t }$ . The prior network $p _ { \psi }$ takes the state $s _ { t }$ at each time step and outputs the state-conditioned prior $p _ { \psi } ( s _ { t } )$ . We choose Beta as the prior distribution and the Hard Kuma as the approximated posterior to relax the discrete latent variables to continuous surrogates.
332
+
333
+ The Kuma distribution $\mathrm { K u m a } ( \alpha , \beta )$ highly resembles the Beta Distribution in shape but does not come from the exponential family. Similar to Beta, the Kuma distribution also ranges from bimodal (when $\alpha \approx \beta )$ to unimodal $( \alpha / \beta \to 0$ or $\alpha / \beta \to \infty )$ ). Also, when $\alpha = 1$ or $\beta = 1$ , $\operatorname { K u m a } ( \alpha , \beta ) = \operatorname { B e t a } ( \alpha , \beta )$ . We observe empirically better performance when we fix $\beta = 1$ for the Kuma approximated posterior. One major advantage of the Kuma distribution is its simple Cumulative Distribution Function (CDF):
334
+
335
+ $$
336
+ F _ { \mathrm { K u m a } } ( x , \alpha , \beta ) = ( 1 - ( 1 - x ^ { \alpha } ) ) ^ { \beta } .
337
+ $$
338
+
339
+ It is therefore amendable to the reparametrization trick (Kingma & Welling, 2013; Rezende et al., 2014; Maddison et al., 2016) by sampling from uniform distribution $u \sim \mathcal { U } ( 0 , 1 )$ :
340
+
341
+ $$
342
+ z = F _ { \mathrm { K u m a } } ^ { - 1 } ( u ; \alpha , \beta ) \sim \mathrm { K u m a } ( \alpha , \beta ) .
343
+ $$
344
+
345
+ Lastly, the KL-divergence between the Kuma and Beta distributions can be approximated in closed form (Nalisnick & Smyth, 2016):
346
+
347
+ $$
348
+ \begin{array} { l } { \displaystyle { { \cal D } _ { \mathrm { K L } } ( \mathrm { K u m a } ( a , b ) | \mathrm { B e t a } ( \alpha , \beta ) ) = \frac { a - \alpha } { a } \left( - \gamma - \Psi ( b ) - \frac { 1 } { b } \right) } } \\ { \displaystyle { \phantom { \frac { b - a } { b - a } ( \mathrm { K u m a } ( a , b ) + \log \mathrm { B e t a } ( \alpha , \beta ) - \frac { b - 1 } { b } + ( \beta - 1 ) b \sum _ { m = 1 } ^ { \infty } \frac { 1 } { m + a b } \mathrm { B e t a } \left( \frac { m } { a } , b \right) , } } } \end{array}
349
+ $$
350
+
351
+ where $\Psi$ is the Digamma function, $\gamma$ the Euler constant, and the approximation uses the first few terms of the Taylor series expansion. We take the first 5 terms here.
352
+
353
+ Next, we make the Kuma distribution “hard” by following the steps in Bastings et al. (2019). First stretch the support to $( r = 0 - \epsilon _ { 1 } , l = 1 + \epsilon _ { 2 }$ ), $\epsilon _ { 1 } , \epsilon _ { 2 } > 0$ , and the resulting CDF distribution takes the form:
354
+
355
+ $$
356
+ F _ { S } ( z ) = F _ { \mathrm { K u m a } } \left( { \frac { z - l } { r - l } } ; \alpha , \beta \right) .
357
+ $$
358
+
359
+ Then, the non-eligible probabilities for 0’s and 1’s are attained by rectifying all samples below 0 to 0 and above 1 to 1, and other value as it is, that is
360
+
361
+ $$
362
+ P ( z = 0 ) = F _ { \mathrm { K u m a } } \left( \frac { - l } { r - l } ; \alpha , \beta \right) , \quad P ( z = 1 ) = 1 - F _ { \mathrm { K u m a } } \left( \frac { 1 - l } { r - l } ; \alpha , \beta \right) .
363
+ $$
364
+
365
+ Lastly, we impose two additional regularization terms ${ \mathcal { L } } _ { \prime }$ and $\mathcal { L } _ { T }$ on the approximated posteriors. As described in the main text, ${ \mathcal { L } } _ { \prime }$ prevents the model from selecting all states to reconstruct $\{ a _ { t } \} _ { 0 } ^ { T - 1 }$ by restraining the expected $L _ { 0 }$ norm of $z = \left( z _ { 1 } \cdot \cdot \cdot z _ { T - 1 } \right)$ to approximately be at a targeted value $\mu _ { 0 }$ (Louizos et al., 2017; Bastings et al., 2019). In other words, this objective adds the constraint that there should be $\mu _ { 0 }$ of activated $z _ { t } = 1$ given a sequence of length $T$ . The other term $\mathcal { L } _ { T }$ encourages temporally isolated activation of $z _ { t }$ , meaning the number of transition between 0 and 1 among $z _ { t }$ ’s should roughly be $2 \mu _ { 0 }$ . Note that both expectations in Equation 2 have closed forms for HardKuma.
366
+
367
+ $$
368
+ \begin{array} { l } { \displaystyle \mathcal { L } _ { 0 } = \left\| \mathbb { E } _ { q ( \boldsymbol { z } | \boldsymbol { s } , \boldsymbol { a } ) } \left[ \left\| \boldsymbol { z } \right\| _ { 0 } \right] - \mu _ { 0 } \right\| ^ { 2 } , \mathrm { w h e r e } } \\ { \displaystyle \mathbb { E } _ { q ( \boldsymbol { z } | \boldsymbol { s } , \boldsymbol { a } ) } \left[ \left\| \boldsymbol { z } \right\| _ { 0 } \right] = \sum _ { t = 1 } ^ { T } \mathbb { E } _ { q ( \boldsymbol { z } _ { t } | \boldsymbol { s } , \boldsymbol { a } ) } \left[ \mathbb { 1 } _ { \boldsymbol { z } _ { t } \neq 0 } \right] } \\ { \displaystyle \qquad = \sum _ { t = 1 } ^ { T } 1 - p \left( \boldsymbol { z } _ { t } = 0 \right) = \sum _ { t = 1 } ^ { T } 1 - F _ { \mathrm { K u m a } } \left( \frac { - l } { r - l } ; \alpha _ { t } , \beta _ { t } \right) , } \end{array}
369
+ $$
370
+
371
+ $$
372
+ \mathbb { E } _ { q ( z | s , a ) } [ \sum _ { t = 1 } ^ { T - 1 } \mathbb { 1 } _ { z _ { t } \neq z _ { t + 1 } } ] = \sum _ { t = 1 } ^ { T - 1 } p \left( z _ { t } = 0 \right) \left( 1 - p \left( z _ { t + 1 } = 0 \right) \right) + \left( 1 - p \left( z _ { t } = 0 \right) \right) p \left( z _ { t + 1 } = 0 \right) .
373
+ $$
374
+
375
+ Lagrangian Relaxation. The overall optimization objective consists of action sequence reconstruction, KL-divergence between the posterior and prior, $\mathcal { L } _ { 0 }$ and $\mathcal { L } _ { T }$ (Equation 12). We tune the objective weights $\lambda _ { i }$ using Lagrangian relaxation (Higgins et al., 2017; Bastings et al., 2019; Bertsekas, 1999), treating $\lambda _ { i }$ ’s as learnable parameters and performing alternative optimization between $\lambda _ { i }$ ’s and the model parameters. We observe that as long as their initialization is within a reasonable range, $\lambda _ { i }$ ’s converge to a local optimum:
376
+
377
+ $$
378
+ \operatorname* { m a x } _ { \{ \lambda _ { 1 } , 2 , 3 \} } \operatorname* { m i n } _ { \substack { \left\{ \theta , \phi , \psi \right\} } } - \mathbb { E } _ { q _ { \psi } ( z | a , s ) } \left[ \log p _ { \theta } ( a | s , z ) \right] + \lambda _ { 1 } D _ { \mathrm { K L } } \left( q _ { \phi } ( z | a , s ) | p _ { \psi } ( z | s ) \right) + \lambda _ { 2 } \mathcal { L } _ { 0 } + \lambda _ { 3 } \mathcal { L } _ { T } .
379
+ $$
380
+
381
+ We observe this approach to produce efficient and stable mini-batch training.
382
+
383
+ # B GOAL-CONDITIONED POLICY INITIALIZATION FOR HRL
384
+
385
+ Optimizing composite neural networks like HRL (Co-Reyes et al., 2018) is sensitive to weight initialization (Mishkin & Matas, 2015; Le et al., 2015), due to its complexity and lack of clear supervision at various levels. Therefore, taking inspiration from prevailing pre-training procedures in computer vision (Russakovsky et al., 2015; Donahue et al., 2014) and NLP (Devlin et al., 2018; Radford et al., 2019), we take advantage of the weights learned by $\pi _ { g }$ during world graph discovery when initializing the Worker and Manager policies for downstream HRL, as $\pi _ { g }$ has already implicitly embodied much environment dynamics information.
386
+
387
+ More specifically, we extract the weights of the feature extractor, i.e. the state encoder, and use them as the initial weights for the state encoders of the HRL policies. Our empirical results demonstrate that such weight initialization consistently improves performance and validates the value of skill/knowledge transfer from GCP (Taylor & Stone, 2009; Barreto et al., 2017).
388
+
389
+ # C ADDITIONAL IMPLEMENTATION DETAILS
390
+
391
+ Model code folder including all architecture details is shared in comment.
392
+
393
+ # C.1 HYPERPARAMETERS FOR VAE TRAINING
394
+
395
+ Our models are optimized with Adam (Kingma & Ba, 2014) using mini-batches of size 128, thus spawning 128 asynchronous agents to explore. We use an initial learning rate of 0.0001, with $\bar { \epsilon } = 0 . 0 0 \bar { 1 } , \beta _ { 1 } = \bar { 0 } . 9 , \beta _ { 2 } = 0 . 9 9 \bar { 9 }$ ; gradients are clipped to 40 for inference and generation nets. For HardKuma, we set $l = - 0 . 1$ and $r = 1 . 1$ . The maximum sequence length for BiLSTM is 25. The total number of training iterations is 3600 and model usually converges around 2400 iterations. We train the prior, inference, and generation networks end-to-end.
396
+
397
+ We initialize $\lambda _ { i }$ ’s (see Lagrangian Relaxation) to be $\lambda _ { 1 } = 0 . 0 1$ (KL-divergence), $\begin{array} { r } { , \lambda _ { 2 } = 0 . 0 6 ( \mathcal { L } _ { 0 } ) . } \end{array}$ $\lambda _ { 3 } = 0 . 0 2 ( \mathcal { L } _ { T } )$ . After each update of the latent model, we update $\lambda _ { i }$ ’s, whose initial learning rate is 0.0005, by maximizing the original objective in a similar way as using Lagrangian Multiplier. At the end of optimization, $\lambda _ { i }$ ’s converge to locally optimal values. For example, with the medium maze, $\lambda _ { 1 } = 0 . 0 6 7$ for the KL-term, $\lambda _ { 2 } = 0 . 0 7 0$ for the $\mathcal { L } _ { 0 }$ and $\lambda _ { 3 } = 0 . 0 5 1$ for the $\mathcal { L } _ { T }$ term. The total number of waypoints $| \nu _ { p } |$ is set to be $2 0 \%$ of the size of the full state space.
398
+
399
+ # C.2 TRAINING HRL MODELS
400
+
401
+ The procedure of the Manager and the Worker in sending/receiving orders using either traversal paths among $\nu _ { p }$ from replay buffer for deterministic environments or with $\pi _ { g }$ for stochastic ones follows:
402
+
403
+ 1. The Manager gives a wide-narrow subgoal pair $( g _ { w } , g _ { n } )$ .
404
+ 2. The agent takes action based on the Worker policy $\pi ^ { \omega }$ conditioned on $( g _ { w } , g _ { n } )$ and reaches a new state $s ^ { \prime }$ . If $s ^ { \prime } \in \mathcal { V } _ { p }$ , $g _ { w }$ has not yet met, and there exists a valid path basing on the edge paths from the world graph $s ^ { \prime } \to g _ { w }$ , agent then either follows replay actions or $\pi _ { g }$ to reach $g _ { w }$ . If $\pi _ { g }$ still does not reach desired destination in a certain steps, then stop the agent wherever it stands; also $\pi _ { g }$ can be finetuned here.
405
+ 3. The Worker receives positive reward for reaching $g _ { w }$ for the first time.
406
+ 4. If agent reaches $g _ { n }$ , the Worker also receives positive rewards and terminates this horizon.
407
+ 5. The Worker receives negative for every action taken except for during traversal; the Manager receives negative reward for every action taken including traversal.
408
+ 6. When either $g _ { n }$ is reached or the maximum time step for this horizon is met, the Manager renews its subgoal pair.
409
+
410
+ The training of the Worker policy $\pi ^ { \omega }$ follows the same A2C algorithm as $\pi _ { g }$
411
+
412
+ The training of the Manager policy $\pi ^ { m }$ also follows a similar procedure but as it operates at a lower temporal resolution, its value function regresses against the $t _ { m }$ -step discounted reward where $t _ { m }$ covers all actions and rewards generated from the Worker.
413
+
414
+ When using the Wide-then-Narrow instruction, the policy gradient for the Manager policy $\pi _ { m }$ becomes:
415
+
416
+ $\begin{array} { r } { \boldsymbol { \mathbb { E } } _ { ( s _ { t } , a _ { t } ) \sim \pi , p , p _ { 0 } } \left[ A _ { m , t } \nabla \log \left( \pi ^ { \omega } \left( g _ { w , t } | s _ { t } \right) \pi ^ { n } \left( g _ { n , t } | s _ { t } , g _ { w , t } , s _ { w , t } \right) \right) \right] + \nabla \left[ \mathcal { H } \left( \pi ^ { \omega } \right) + \mathcal { H } \left( \pi ^ { n } ( \cdot | g _ { w , t } ) \right) \right] , } \end{array}$ where $A _ { m , t }$ is the Manager’s advantage at time $t$ . Also, for Manager, as the size of the action space scales linearly with $| S |$ , the exact entropy for the $\pi ^ { m }$ can easily become intractable. Essentially there are $O$ $^ { \prime } \left( | \mathcal { V } | \times \left( N ^ { 2 } \right) \right)$ possible actions. To calculate the entropy exactly, all of them has to be summed, making it easily computationally intractable:
417
+
418
+ $$
419
+ \mathcal { H } = \sum _ { w \in \mathcal { V } } \sum _ { w _ { n } \in s _ { w } } \pi ^ { n } ( w _ { n } | s _ { w } , s _ { t } ) \pi ^ { \omega } ( w | s _ { t } ) \log { \nabla \pi ^ { n } ( w _ { n } | s _ { w } , s _ { t } ) \pi ^ { \omega } ( w | s _ { t } ) } .
420
+ $$
421
+
422
+ Thus in practice we resort to an effective alternative $\mathcal { H } \left( \pi ^ { \omega } \right) + \mathcal { H } \left( \pi ^ { n } ( \cdot | g _ { w , t } ) \right)$ .
423
+
424
+ Psuedo-code for Manager training is in Algorithm 2.
425
+
426
+ # C.3 HYPERPARAMETERS FOR HRL
427
+
428
+ For training the HRL policies, we inherit most hyperparameters from those used when training $\pi _ { g }$ , as the Manager and the Worker both share similar architectures with $\pi _ { g }$ . The hyperparameters used when training $\pi _ { g }$ follow those from Shang et al. (2019). Because the tasks used in HRL experiments are more difficult than the generic goal-reaching task, we set the maximal number of training iterations to 100K abd training is stopped early if model performance reaches a plateau. The rollout steps for each iteration is 60. Hyperparameters specific to HRL are the horizon $c = 2 0$ and the size of the Manager’s local attention range (that is, the neighborhood around $g ^ { w }$ within which $g ^ { n }$ is selected), which are $N = 5$ for small and medium mazes, and $N = 7$ for the large maze.
429
+
430
+ Algorithm 2: Training of $\pi ^ { m }$ for HRL models
431
+
432
+ <table><tr><td>Clear gradients dθ ←O; while t &lt;= tmax or episode not terminated do Simulate under current policy πm,t-1, πω,t-1; if the Worker has met the previous subgoal or exceeded the horizon c then</td><td>Reset the set of time steps where πm,t omits a new subgoal Sm = {} and tm = 0.;</td></tr><tr><td colspan="2">Sample a new subgoal gm,t from πm,t; end</td></tr><tr><td>Zm,t = fLsTM(CNN(sm,t,sv),hm,tm),Vm,t = fu(zm,t),Tt = fp(2m,t) ;</td><td></td></tr><tr><td>Sm= SmU {tm} and tm =t;</td><td></td></tr><tr><td></td><td></td></tr><tr><td colspan="2">O, if terminal</td></tr><tr><td>Vtmax+1, otherwise</td><td></td></tr><tr><td>for t = tmax,...1 do R←rt+γR;</td><td></td></tr><tr><td>if t ∈ Sm then</td><td></td></tr><tr><td>Am,t ←R-Vm,t;</td><td></td></tr><tr><td></td><td></td></tr><tr><td>Accumulate gradients from value loss: dθ ← d0 + 入</td><td></td></tr><tr><td></td><td></td></tr><tr><td>Accumulate policy gradients with entropy regularization:</td><td>80</td></tr><tr><td></td><td></td></tr><tr><td>d0 ← d0+ VlogTm,t(gm,t)Am,t + βVH(πm,t);</td><td></td></tr><tr><td></td><td></td></tr><tr><td>end</td><td></td></tr><tr><td>end</td><td></td></tr></table>
433
+
434
+ # D 2D GRID WORLD VISUALIZATIONS
435
+
436
+ ![](images/e873103b674e3b139b1dde9c9a9cc1ebfed8b9e0f0f4150e66c98c1ba56795b4.jpg)
437
+ Figure 5: Visualization of the 2D grid environments in our experiments, along with the learned waypoints in blue.
438
+
439
+ ![](images/86812f5f54acb2108da0bc58155e8700f4575fcfaa3ed83f6a9417d89e4ae0b7.jpg)
440
+ Figure 6: Visualization of tasks in our experiments.
parse/train/BkgRe1SFDS/BkgRe1SFDS_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BkgRe1SFDS/BkgRe1SFDS_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BkgRe1SFDS/BkgRe1SFDS_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H1VyHY9gg/H1VyHY9gg.md ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DATA NOISING AS SMOOTHING IN NEURAL NETWORK LANGUAGE MODELS
2
+
3
+ Ziang Xie, Sida I. Wang, Jiwei Li, Daniel Levy, Aiming Nie, Dan Jurafsky, Andrew Y. Ng ´
4
+
5
+ Computer Science Department, Stanford University zxie,sidaw,danilevy,anie,ang @cs.stanford.edu, jiweil,jurafsky @stanford.edu
6
+
7
+ # ABSTRACT
8
+
9
+ Data noising is an effective technique for regularizing neural network models. While noising is widely adopted in application domains such as vision and speech, commonly used noising primitives have not been developed for discrete sequencelevel settings such as language modeling. In this paper, we derive a connection between input noising in neural network language models and smoothing in $n$ - gram models. Using this connection, we draw upon ideas from smoothing to develop effective noising schemes. We demonstrate performance gains when applying the proposed schemes to language modeling and machine translation. Finally, we provide empirical analysis validating the relationship between noising and smoothing.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Language models are a crucial component in many domains, such as autocompletion, machine translation, and speech recognition. A key challenge when performing estimation in language modeling is the data sparsity problem: due to large vocabulary sizes and the exponential number of possible contexts, the majority of possible sequences are rarely or never observed, even for very short subsequences.
14
+
15
+ In other application domains, data augmentation has been key to improving the performance of neural network models in the face of insufficient data. In computer vision, for example, there exist well-established primitives for synthesizing additional image data, such as by rescaling or applying affine distortions to images (LeCun et al., 1998; Krizhevsky et al., 2012). Similarly, in speech recognition adding a background audio track or applying small shifts along the time dimension has been shown to yield significant gains, especially in noisy settings (Deng et al., 2000; Hannun et al., 2014). However, widely-adopted noising primitives have not yet been developed for neural network language models.
16
+
17
+ Classic $n$ -gram models of language cope with rare and unseen sequences by using smoothing methods, such as interpolation or absolute discounting (Chen & Goodman, 1996). Neural network models, however, have no notion of discrete counts, and instead use distributed representations to combat the curse of dimensionality (Bengio et al., 2003). Despite the effectiveness of distributed representations, overfitting due to data sparsity remains an issue. Existing regularization methods, however, are typically applied to weights or hidden units within the network (Srivastava et al., 2014; Le et al., 2015) instead of directly considering the input data.
18
+
19
+ In this work, we consider noising primitives as a form of data augmentation for recurrent neural network-based language models. By examining the expected pseudocounts from applying the noising schemes, we draw connections between noising and linear interpolation smoothing. Using this connection, we then derive noising schemes that are analogues of more advanced smoothing methods. We demonstrate the effectiveness of these schemes for regularization through experiments on language modeling and machine translation. Finally, we validate our theoretical claims by examining the empirical effects of noising.
20
+
21
+ # 2 RELATED WORK
22
+
23
+ Our work can be viewed as a form of data augmentation, for which to the best of our knowledge there exists no widely adopted schemes in language modeling with neural networks. Classical regularization methods such as $L _ { 2 }$ -regularization are typically applied to the model parameters, while dropout is applied to activations which can be along the forward as well as the recurrent directions (Zaremba et al., 2014; Semeniuta et al., 2016; Gal, 2015). Others have introduced methods for recurrent neural networks encouraging the hidden activations to remain stable in norm, or constraining the recurrent weight matrix to have eigenvalues close to one (Krueger & Memisevic, 2015; Arjovsky et al., 2015; Le et al., 2015). These methods, however, all consider weights and hidden units instead of the input data, and are motivated by the vanishing and exploding gradient problem.
24
+
25
+ Feature noising has been demonstrated to be effective for structured prediction tasks, and has been interpreted as an explicit regularizer (Wang et al., 2013). Additionally, Wager et al. (2014) show that noising can inject appropriate generative assumptions into discriminative models to reduce their generalization error, but do not consider sequence models (Wager et al., 2016).
26
+
27
+ The technique of randomly zero-masking input word embeddings for learning sentence representations has been proposed by Iyyer et al. (2015), Kumar et al. (2015), and Dai & Le (2015), and adopted by others such as Bowman et al. (2015). However, to the best of our knowledge, no analysis has been provided besides reasoning that zeroing embeddings may result in a model ensembling effect similar to that in standard dropout. This analysis is applicable to classification tasks involving sum-of-embeddings or bag-of-words models, but does not capture sequence-level effects. Bengio et al. (2015) also make an empirical observation that the method of randomly replacing words with fixed probability with a draw from the uniform distribution improved performance slightly for an image captioning task; however, they do not examine why performance improved.
28
+
29
+ # 3 METHOD
30
+
31
+ # 3.1 PRELIMINARIES
32
+
33
+ We consider language models where given a sequence of indices $X = ( x _ { 1 } , x _ { 2 } , \cdot \cdot \cdot , x _ { T } )$ , over the vocabulary $V$ , we model
34
+
35
+ $$
36
+ p ( X ) = \prod _ { t = 1 } ^ { T } p ( x _ { t } | x _ { < t } )
37
+ $$
38
+
39
+ In $n$ -gram models, it is not feasible to model the full context $x _ { < t }$ for large $t$ due to the exponential number of possible histories. Recurrent neural network (RNN) language models can (in theory) model longer dependencies, since they operate over distributed hidden states instead of modeling an exponential number of discrete counts (Bengio et al., 2003; Mikolov, 2012).
40
+
41
+ An $L$ -layer recurrent neural network is modeled as $h _ { t } ^ { ( l ) } = f _ { \theta } ( h _ { t - 1 } ^ { ( l ) } , h _ { t } ^ { ( l - 1 ) } )$ , where $l$ denotes the layer index, $h ^ { ( 0 ) }$ contains the one-hot encoding of $X$ , and in its simplest form $f _ { \theta }$ applies an affine transformation followed by a nonlinearity. In this work, we use RNNs with a more complex form of $f _ { \theta }$ , namely long short-term memory (LSTM) units (Hochreiter & Schmidhuber, 1997), which have been shown to ease training and allow RNNs to capture longer dependencies. The output distribution over the vocabulary V at time t is pθ(xt|x<t) = softmax(gθ(h(L)t )), where g : R|h| → R|V | a pplies an affine transformation. The RNN is then trained by minimizing over its parameters $\theta$ the sequence cross-entropy loss $\begin{array} { r } { \ell ( \theta ) = - \sum _ { t } \log p _ { \theta } ( x _ { t } | x _ { < t } ) } \end{array}$ , thus maximizing the likelihood $p _ { \theta } ( X )$ .
42
+
43
+ As an extension, we also consider encoder-decoder or sequence-to-sequence (Cho et al., 2014; Sutskever et al., 2014) models where given an input sequence $X$ and output sequence $Y$ of length $T _ { Y }$ , we model
44
+
45
+ $$
46
+ p ( Y | X ) = \prod _ { t = 1 } ^ { T _ { Y } } p ( y _ { t } | X , y _ { < t } ) .
47
+ $$
48
+
49
+ and minimize the loss $\begin{array} { r } { \ell ( \theta ) = - \sum _ { t } \log p _ { \theta } ( y _ { t } | X , y _ { < t } ) } \end{array}$ . This setting can also be seen as conditional language modeling, and encompasses tasks such as machine translation, where $X$ is a source lan
50
+
51
+ guage sequence and $Y$ a target language sequence, as well as language modeling, where $Y$ is the given sequence and $X$ is the empty sequence.
52
+
53
+ # 3.2 SMOOTHING AND NOISING
54
+
55
+ Recall that for a given context length $l$ , an $n$ -gram model of order $l + 1$ is optimal under the loglikelihood criterion. Hence in the case where an RNN with finite context achieves near the lowest possible cross-entropy loss, it behaves like an $n$ -gram model.
56
+
57
+ Like $n$ -gram models, RNNs are trained using maximum likelihood, and can easily overfit (Zaremba et al., 2014). While generic regularization methods such $L _ { 2 }$ -regularization and dropout are effective, they do not take advantage of specific properties of sequence modeling. In order to understand sequence-specific regularization, it is helpful to examine $n$ -gram language models, whose properties are well-understood.
58
+
59
+ Smoothing for $n$ -gram models When modeling $p ( x _ { t } | x _ { < t } )$ , the maximum likelihood estimate $c ( x _ { < t } , x _ { t } ) \bar { / } c ( x _ { < t } )$ based on empirical counts puts zero probability on unseen sequences, and thus smoothing is crucial for obtaining good estimates. In particular, we consider interpolation, which performs a weighted average between higher and lower order models. The idea is that when there are not enough observations of the full sequence, observations of subsequences can help us obtain better estimates.1 For example, in a bigram model, $p _ { \mathrm { i n t e r p } } ( x _ { t } | x _ { t - 1 } ) = \bar { \lambda p } ( x _ { t } | x _ { t - 1 } ) + ( \bar { 1 - \lambda } ) p ( x _ { t } )$ , where $0 \leq \lambda \leq 1$ .
60
+
61
+ Noising for RNN models We would like to apply well-understood smoothing methods such as interpolation to RNNs, which are also trained using maximum likelihood. Unfortunately, RNN models have no notion of counts, and we cannot directly apply one of the usual smoothing methods. In this section, we consider two simple noising schemes which we proceed to show correspond to smoothing methods. Since we can noise the data while training an RNN, we can then incorporate well-understood generative assumptions that are known to be helpful in the domain. First consider the following two noising schemes:
62
+
63
+ • unigram noising For each $x _ { i }$ in $x _ { < t }$ , with probability $\gamma$ replace $x _ { i }$ with a sample from the unigram frequency distribution. • blank noising For each $x _ { i }$ in $x _ { < t }$ , with probability $\gamma$ replace $x _ { i }$ with a placeholder token “ ”.
64
+
65
+ While blank noising can be seen as a way to avoid overfitting on specific contexts, we will see that both schemes are related to smoothing, and that unigram noising provides a path to analogues of more advanced smoothing methods.
66
+
67
+ # 3.3 NOISING AS SMOOTHING
68
+
69
+ We now consider the maximum likelihood estimate of $n$ -gram probabilities estimated using the pseudocounts of the noised data. By examining these estimates, we draw a connection between linear interpolation smoothing and noising.
70
+
71
+ Unigram noising as interpolation To start, we consider the simplest case of bigram probabilities. Let $c ( x )$ denote the count of a token $x$ in the original data, and let $c _ { \gamma } ( x ) \ { \stackrel { \mathrm { d e f } } { = } } \ \mathbb { E } _ { \tilde { x } } \left[ c ( { \tilde { x } } ) \right]$ be the expected count of $x$ under the unigram noising scheme. We then have
72
+
73
+ $$
74
+ \begin{array} { r l } & { p _ { \gamma } ( x _ { t } | x _ { t - 1 } ) = \frac { c _ { \gamma } ( x _ { t - 1 } , x _ { t } ) } { c _ { \gamma } ( x _ { t - 1 } ) } } \\ & { \qquad = [ ( 1 - \gamma ) c ( x _ { t - 1 } , x _ { t } ) + \gamma p ( x _ { t - 1 } ) c ( x _ { t } ) ] / c ( x _ { t - 1 } ) } \\ & { \qquad = ( 1 - \gamma ) p ( x _ { t } | x _ { t - 1 } ) + \gamma p ( x _ { t } ) , } \end{array}
75
+ $$
76
+
77
+ where $c _ { \gamma } ( x ) = c ( x )$ since our proposal distribution $q ( x )$ is the unigram distribution, and the last line follows since $c ( x _ { t - 1 } ) / p ( x _ { t - 1 } ) = c ( x _ { t } ) / p ( x _ { t } )$ is equal to the total number of tokens in the training
78
+
79
+ set. Thus we see that the noised data has pseudocounts corresponding to interpolation or a mixture of different order $n$ -gram models with fixed weighting.
80
+
81
+ More generally, let $\tilde { { \boldsymbol { x } } } _ { < t }$ be noised tokens from $\tilde { x }$ . We consider the expected prediction under noise
82
+
83
+ $$
84
+ \begin{array} { r } { p _ { \gamma } ( x _ { t } | x _ { < t } ) = \mathbb { E } _ { \tilde { x } _ { < t } } \left[ p ( x _ { t } | \tilde { x } _ { < t } ) \right] \ ~ } \\ { = \sum _ { J } \underbrace { \pi ( | J | ) } _ { p ( | J | \mathrm { s w a p s } ) } \ \sum _ { x _ { K } } \underbrace { p ( x _ { t } | x _ { J } , x _ { K } ) } _ { p ( x _ { t } | \mathrm { n o i s e d c o n t e x t } ) } \prod _ { z \in x _ { K } } \underbrace { p ( z ) } _ { p ( \mathrm { d r a w i n g } \ z ) } } \end{array}
85
+ $$
86
+
87
+ where the mixture coefficients are $\pi ( | J | ) ~ = ~ ( 1 - \gamma ) ^ { | J | } \gamma ^ { t - 1 - | J | }$ with $\begin{array} { r } { \sum _ { J } \pi ( | J | ) ~ = ~ 1 } \end{array}$ . $J \subseteq$ $\{ 1 , 2 , \ldots , t - 1 \}$ denotes the set of indices whose corresponding tokens are left unchanged, and $K$ the set of indices that were replaced.
88
+
89
+ Blank noising as interpolation Next we consider the blank noising scheme and show that it corresponds to interpolation as well. This also serves as an alternative explanation for the gains that other related work have found with the “word-dropout” idea (Kumar et al., 2015; Dai & Le, 2015; Bowman et al., 2015). As before, we do not noise the token being predicted $x _ { t }$ . Let $\tilde { { \boldsymbol { x } } } _ { < t }$ denote the random variable where each of its tokens is replaced by “ ” with probability $\gamma$ , and let $x J$ denote the sequence with indices $J$ unchanged, and the rest replaced by $\underline { { \boldsymbol { \cdot } } } \underline { { \boldsymbol { \mathit { \Pi } } } } ,$ . To make a prediction, we use the expected probability over different noisings of the context
90
+
91
+ $$
92
+ p _ { \gamma } ( x _ { t } | x _ { < t } ) = \mathbb { E } _ { \tilde { x } _ { < t } } \left[ p ( x _ { t } | \tilde { x } _ { < t } ) \right] = \sum _ { J } \underbrace { \pi ( | J | ) } _ { p ( | J | \mathrm { s w a p s } ) } \underbrace { p ( x _ { t } | x _ { J } ) } _ { p ( x _ { t } | \mathrm { n o i s e d c o n t e x t } ) } ,
93
+ $$
94
+
95
+ where $J \subseteq \{ 1 , 2 , \dots , t - 1 \}$ , which is also a mixture of the unnoised probabilities over subsequences of the current context. For example, in the case of trigrams, we have
96
+
97
+ $$
98
+ p _ { \gamma } ( x _ { 3 } | x _ { 1 } , x _ { 2 } ) = \pi ( 2 ) p ( x _ { 3 } | x _ { 1 } , x _ { 2 } ) + \pi ( 1 ) p ( x _ { 3 } | x _ { 1 } , \ldots ) + \pi ( 1 ) p ( x _ { 3 } | \ldots , x _ { 2 } ) + \pi ( 0 ) p ( x _ { 3 } | \ldots , \ldots )
99
+ $$
100
+
101
+ where the mixture coefficient $\pi ( i ) = ( 1 - \gamma ) ^ { i } \gamma ^ { 2 - i }$ .
102
+
103
+ # 3.4 BORROWING TECHNIQUES
104
+
105
+ With the connection between noising and smoothing in place, we now consider how we can improve the two components of the noising scheme by considering:
106
+
107
+ 1. Adaptively computing noising probability $\gamma$ to reflect our confidence about a particular input subsequence.
108
+ 2. Selecting a proposal distribution $q ( x )$ that is less naive than the unigram distribution by leveraging higher order $n$ -gram statistics.
109
+
110
+ Noising Probability Although it simplifies analysis, there is no reason why we should choose fixed $\gamma$ ; we now consider defining an adaptive $\gamma ( \boldsymbol { x } _ { 1 : t } )$ which depends on the input sequence. Consider the following bigrams:
111
+
112
+ “and the”
113
+
114
+ “Humpty Dumpty”
115
+
116
+ The first bigram is one of the most common in English corpora; its probability is hence well estimated and should not be interpolated with lower order distributions. In expectation, however, using fixed $\gamma _ { 0 }$ when noising results in the same lower order interpolation weight $\pi _ { \gamma _ { 0 } }$ for common as well as rare bigrams. Intuitively, we should define $\gamma ( \boldsymbol { x } _ { 1 : t } )$ such that commonly seen bigrams are less likely to be noised.
117
+
118
+ The second bigram, “Humpty Dumpty,” is relatively uncommon, as are its constituent unigrams. However, it forms what Brown et al. (1992) term a “sticky pair”: the unigram “Dumpty” almost always follows the unigram “Humpty”, and similarly, “Humpty” almost always precedes “Dumpty”. For pairs with high mutual information, we wish to avoid backing off from the bigram to the unigram distribution.
119
+
120
+ <table><tr><td>Noised</td><td>γ(x1:2)</td><td>q(x)</td><td>Analogue</td></tr><tr><td>x1</td><td>20</td><td>q(“_&quot;)=1</td><td>interpolation</td></tr><tr><td>x1</td><td>70</td><td>unigram</td><td>interpolation</td></tr><tr><td>x1</td><td>20N1+(x1,.)/c(x1)</td><td>unigram</td><td>absolute discounting</td></tr><tr><td>x1,x2</td><td>20N1+(x1,·)/c(x1)</td><td>q(x) x Ni+(•,x)</td><td>Kneser-Ney</td></tr></table>
121
+
122
+ Table 1: Noising schemes Example noising schemes and their bigram smoothing analogues. Here we consider the bigram probability $p ( x _ { 1 } , x _ { 2 } ) \ : = \ : p ( x _ { 2 } \vert x _ { 1 } ) p ( x _ { 1 } )$ . Notation: $\gamma ( \boldsymbol { x } _ { 1 : t } )$ denotes the noising probability for a given input sequence $x _ { 1 : t }$ , $q ( x )$ denotes the proposal distribution, and $N _ { 1 + } ( x , \bullet )$ denotes the number of distinct bigrams in the training set where $x$ is the first unigram. In all but the last case we only noise the context $x _ { 1 }$ and not the target prediction $x _ { 2 }$ .
123
+
124
+ Let $N _ { 1 + } ( x _ { 1 } , \bullet ) \ { \stackrel { \mathrm { d e f } } { = } } \ | \{ x _ { 2 } : c ( x _ { 1 } , x _ { 2 } ) > 0 \} |$ be the number of distinct continutions following $x _ { 1 }$ , or equivalently the number of bigram types beginning with $x _ { 1 }$ (Chen $\&$ Goodman, 1996). From the above intuitions, we arrive at the absolute discounting noising probability
125
+
126
+ $$
127
+ \gamma _ { \mathrm { A D } } ( x _ { 1 } ) = \gamma _ { 0 } \frac { N _ { 1 + } ( x _ { 1 } , \bullet ) } { \sum _ { x _ { 2 } } c ( x _ { 1 } , x _ { 2 } ) }
128
+ $$
129
+
130
+ where for $0 \leq \gamma _ { 0 } \leq 1$ we have $0 \leq \gamma _ { \mathrm { A D } } \leq 1$ , though in practice we can also clip larger noising probabilities to 1. Note that this encourages noising of unigrams that precede many possible other tokens while discouraging noising of common unigrams, since if we ignore the final token, $\begin{array} { r } { \sum _ { x _ { 2 } } c ( x _ { 1 } , x _ { 2 } ) = c ( x _ { 1 } ) } \end{array}$ .
131
+
132
+ Proposal Distribution While choosing the unigram distribution as the proposal distribution $q ( x )$ preserves unigram frequencies, by borrowing from the smoothing literature we find another distribution performs better. We again begin with two motivating examples:
133
+
134
+ “San Francisco”
135
+
136
+ “New York”
137
+
138
+ Both bigrams appear frequently in text corpora. As a direct consequence, the unigrams “Francisco” and “York” also appear frequently. However, since “Francisco” and “York” typically follow “San” and “New”, respectively, they should not have high probability in the proposal distribution as they might if we use unigram frequencies (Chen $\&$ Goodman, 1996). Instead, it would be better to increase the proposal probability of unigrams with diverse histories, or more precisely unigrams that complete a large number of bigram types. Thus instead of drawing from the unigram distribution, we consider drawing from
139
+
140
+ $$
141
+ q ( x ) \propto N _ { 1 + } ( \bullet , x )
142
+ $$
143
+
144
+ Note that we now noise the prediction $x _ { t }$ in addition to the context $x _ { 1 : t - 1 }$ . Combining this new proposal distribution with the discounted $\gamma _ { \mathrm { A D } } ( x _ { 1 } )$ from the previous section, we obtain the noising analogue of Kneser-Ney smoothing.
145
+
146
+ Table 1 summarizes the discussed noising schemes.
147
+
148
+ # 3.5 TRAINING AND TESTING
149
+
150
+ During training, noising is performed per batch and is done online such that each epoch of training sees a different noised version of the training data. At test time, to match the training objective we should sample multiple corrupted versions of the test data, then average the predictions (Srivastava et al., 2014). In practice, however, we find that simply using the maximum likelihood (uncorrupted) input sequence works well; evaluation runtime remains unchanged.
151
+
152
+ # 3.6 EXTENSIONS
153
+
154
+ The schemes described are for the language model setting. To extend them to the sequence-tosequence or encoder-decoder setting, we noise both $x _ { < t }$ as well as $y _ { < t }$ . While in the decoder we
155
+
156
+ Table 2: Single-model perplexity on Penn Treebank with different noising schemes. We also compare to the variational method of Gal (2015), who also train LSTM models with the same hidden dimension. Note that performing Monte Carlo dropout at test time is significantly more expensive than our approach, where test time is unchanged.
157
+
158
+ <table><tr><td>Noising scheme</td><td>Validation</td><td>Test</td></tr><tr><td colspan="2">Medium models (512 hidden size)</td><td></td></tr><tr><td>none (dropout only) blank</td><td>84.3</td><td>80.4</td></tr><tr><td></td><td>82.7</td><td>78.8</td></tr><tr><td>unigram</td><td>83.1</td><td>80.1</td></tr><tr><td>bigram Kneser-Ney</td><td>79.9</td><td>76.9</td></tr><tr><td colspan="2">Large models (1500 hidden size)</td><td></td></tr><tr><td rowspan="3">none (dropout only) blank unigram bigram Kneser-Ney</td><td>81.6</td><td>77.5</td></tr><tr><td>79.4</td><td>75.5</td></tr><tr><td>79.4 76.2</td><td>76.1 73.4</td></tr><tr><td>Zaremba et al. (2014)</td><td>82.2</td><td></td></tr><tr><td>Gal (2015) variational dropout (tied weights)</td><td></td><td>78.4</td></tr><tr><td>Gal (2015) (untied weights,Monte Carlo)</td><td>77.3 丨</td><td>75.0 73.4</td></tr></table>
159
+
160
+ Table 3: Perplexity on Text8 with different noising schemes.
161
+
162
+ <table><tr><td>Noising scheme</td><td>Validation</td><td>Test</td></tr><tr><td>none</td><td>94.3</td><td>123.6</td></tr><tr><td>blank</td><td>85.0</td><td>110.7</td></tr><tr><td>unigram</td><td>85.2</td><td>111.3</td></tr><tr><td>bigram Kneser-Ney</td><td>84.5</td><td>110.6</td></tr></table>
163
+
164
+ have $y _ { < t }$ and $y _ { t }$ as analogues to language model context and target prediction, it is unclear whether noising $x _ { < t }$ should be beneficial. Empirically, however, we find this to be the case (Table 4).
165
+
166
+ # 4 EXPERIMENTS
167
+
168
+ # 4.1 LANGUAGE MODELING
169
+
170
+ Penn Treebank We train networks for word-level language modeling on the Penn Treebank dataset, using the standard preprocessed splits with a 10K size vocabulary (Mikolov, 2012). The PTB dataset contains $9 2 9 \mathrm { k }$ training tokens, 73k validation tokens, and ${ 8 2 } \mathrm { k }$ test tokens. Following Zaremba et al. (2014), we use minibatches of size 20 and unroll for 35 time steps when performing backpropagation through time. All models have two hidden layers and use LSTM units. Weights are initialized uniformly in the range $[ - 0 . 1 , 0 . 1 ]$ . We consider models with hidden sizes of 512 and 1500.
171
+
172
+ We train using stochastic gradient descent with an initial learning rate of 1.0, clipping the gradient if its norm exceeds 5.0. When the validation cross entropy does not decrease after a training epoch, we halve the learning rate. We anneal the learning rate 8 times before stopping training, and pick the model with the lowest perplexity on the validation set.
173
+
174
+ For regularization, we apply feed-forward dropout (Pham et al., 2014) in combination with our noising schemes. We report results in Table 2 for the best setting of the dropout rate (which we find to match the settings reported in Zaremba et al. (2014)) as well as the best setting of noising
175
+
176
+ ![](images/a74791f89bc2ae43fdc9a304f47b23fda338e2c01b613335fe659ced2c4f1495.jpg)
177
+ Figure 1: Example training and validation curves for an unnoised model and model regularized using the bigram Kneser-Ney noising scheme.
178
+
179
+ <table><tr><td>Scheme</td><td>Perplexity</td><td>BLEU</td></tr><tr><td>dropout, no noising</td><td>8.84</td><td>24.6</td></tr><tr><td>blank noising</td><td>8.28</td><td>25.3 (+0.7)</td></tr><tr><td>unigram noising</td><td>8.15</td><td>25.5 (+0.9)</td></tr><tr><td>bigram Kneser-Ney</td><td>7.92</td><td>26.0 (+1.4)</td></tr><tr><td>source only</td><td>8.74</td><td>24.8 (+0.2)</td></tr><tr><td>target only</td><td>8.14</td><td>25.6 (+1.0)</td></tr></table>
180
+
181
+ Table 4: Perplexities and BLEU scores for machine translation task. Results for bigram KN noising on only the source sequence and only the target sequence are given as well.
182
+
183
+ probability $\gamma _ { 0 }$ on the validation set.2 Figure 1 shows the training and validation perplexity curves for a noised versus an unnoised run.
184
+
185
+ Our large models match the state-of-the-art regularization method for single model performance on this task. In particular, we find that picking $\gamma _ { \mathrm { A D } } ( x _ { 1 } )$ and $q ( x )$ corresponding to Kneser-Ney smoothing yields significant gains in validation perplexity, both for the medium and large size models. Recent work (Merity et al., 2016; Zilly et al., 2016) has also achieved impressive results on this task by proposing different architectures which are orthogonal to our data augmentation schemes.
186
+
187
+ Text8 In order to determine whether noising remains effective with a larger dataset, we perform experiments on the Text8 corpus3. The first 90M characters are used for training, the next 5M for validation, and the final 5M for testing, resulting in $1 5 . 3 \mathbf { M }$ training tokens, 848K validation tokens, and 855K test tokens. We preprocess the data by mapping all words which appear 10 or fewer times to the unknown token, resulting in a 42K size vocabulary. Other parameter settings are the same as described in the Penn Treebank experiments, besides that only models with hidden size 512 are considered, and noising is not combined with feed-forward dropout. Results are given in Table 3.
188
+
189
+ # 4.2 MACHINE TRANSLATION
190
+
191
+ For our machine translation experiments we consider the English-German machine translation track of IWSLT $2 0 1 5 ^ { 4 }$ . The IWSLT 2015 corpus consists of sentence-aligned subtitles of TED and TEDx talks. The training set contains roughly 190K sentence pairs with 5.4M tokens. Following Luong & Manning (2015), we use TED tst2012 as a validation set and report BLEU score results (Papineni et al., 2002) on tst2014. We limit the vocabulary to the top 50K most frequent words for each language.
192
+
193
+ ![](images/c52239f55d9409031ab76a2c2d420a3bbb70c906f6f5db3a48bd4677b262db5b.jpg)
194
+ Figure 2: Perplexity with noising on Penn Treebank while varying the value of $\gamma _ { 0 }$ . Using discounting to scale $\gamma _ { 0 }$ (yielding $\gamma _ { \mathrm { A D . } }$ ) maintains gains for a range of values of noising probability, which is not true for the unscaled case.
195
+
196
+ ![](images/66596b6cf7d5d61afc0773e432d36885d11d8c1b6493b1dddbc53657d86ae861.jpg)
197
+ Figure 3: Mean KL-divergence over validation set between softmax distributions of noised and unnoised models and lower order distributions. Noised model distributions are closer to the uniform and unigram frequency distributions.
198
+
199
+ We train a two-layer LSTM encoder-decoder network (Sutskever et al., 2014; Cho et al., 2014) with 512 hidden units in each layer. The decoder uses an attention mechanism (Bahdanau et al., 2014) with the dot alignment function (Luong et al., 2015). The initial learning rate is 1.0 and we start halving the learning rate when the relative difference in perplexity on the validation set between two consecutive epochs is less than $1 \%$ . We follow training protocols as described in Sutskever et al. (2014): (a) LSTM parameters and word embeddings are initialized from a uniform distribution between $[ - 0 . 1 , 0 . 1 ]$ , (b) inputs are reversed, (c) batch size is set to 128, (d) gradient clipping is performed when the norm exceeds a threshold of 5. We set hidden unit dropout rate to 0.2 across all settings as suggested in Luong et al. (2015). We compare unigram, blank, and bigram Kneser-Ney noising. Noising rate $\gamma$ is selected on the validation set.
200
+
201
+ Results are shown in Table 4. We observe performance gains for both blank noising and unigram noising, giving roughly $+ 0 . 7$ BLEU score on the test set. The proposed bigram Kneser-Ney noising scheme gives an additional performance boost of $+ 0 . 5 – 0 . 7$ on top of the blank noising and unigram noising models, yielding a total gain of $+ 1 . 4$ BLEU.
202
+
203
+ # 5 DISCUSSION
204
+
205
+ # 5.1 SCALING $\gamma$ VIA DISCOUNTING
206
+
207
+ We now examine whether discounting has the desired effect of noising subsequences according to their uncertainty. If we consider the discounting
208
+
209
+ $$
210
+ \gamma _ { \mathrm { A D } } ( x _ { 1 } ) = \gamma _ { 0 } \frac { N _ { 1 + } ( x _ { 1 } , \bullet ) } { c ( x _ { 1 } ) }
211
+ $$
212
+
213
+ we observe that the denominator $c ( x _ { 1 } )$ can dominate than the numerator $N _ { 1 + } ( x _ { 1 } , \bullet )$ . Common tokens are often noised infrequently when discounting is used to rescale the noising probability, while rare tokens are noised comparatively much more frequently, where in the extreme case when a token appears exactly once, we have $\gamma _ { \mathrm { A D } } ~ = ~ \gamma _ { 0 }$ . Due to word frequencies following a Zipfian power law distribution, however, common tokens constitute the majority of most texts, and thus discounting leads to significantly less noising.
214
+
215
+ We compare the performance of models trained with a fixed $\gamma _ { 0 }$ versus a $\gamma _ { 0 }$ rescaled using discounting. As shown in Figure 2, bigram discounting leads to gains in perplexity for a much broader range of $\gamma _ { 0 }$ . Thus the discounting ratio seems to effectively capture the “right” tokens to noise.
216
+
217
+ <table><tr><td>Noising</td><td>Bigrams</td><td>Trigrams</td></tr><tr><td>none (dropout only)</td><td>2881</td><td>381</td></tr><tr><td>blank noising</td><td>2760</td><td>372</td></tr><tr><td>unigram noising</td><td>2612</td><td>365</td></tr></table>
218
+
219
+ Table 5: Perplexity of last unigram for unseen bigrams and trigrams in Penn Treebank validation set. We compare noised and unnoised models with noising probabilities chosen such that models have near-identical perplexity on full validation set.
220
+
221
+ # 5.2 NOISED VERSUS UNNOISED MODELS
222
+
223
+ Smoothed distributions In order to validate that data noising for RNN models has a similar effect to that of smoothing counts in $n$ -gram models, we consider three models trained with unigram noising as described in Section 4.1 on the Penn Treebank corpus with $\gamma = 0$ (no noising), $\gamma = 0 . 1$ , and $\gamma = 0 . 2 5$ . Using the trained models, we measure the Kullback-Leibler divergence $D _ { \mathrm { K L } } ( p \Vert q ) =$ $\textstyle \sum _ { i } p _ { i } \log ( p _ { i } / q _ { i } )$ over the validation set between the predicted softmax distributions, $\hat { p }$ , and the uniform distribution as well as the unigram frequency distribution. We then take the mean KL divergence over all tokens in the validation set.
224
+
225
+ Recall that in interpolation smoothing, a weighted combination of higher and lower order $n$ -gram models is used. As seen in Figure 3, the softmax distributions of noised models are significantly closer to the lower order frequency distributions than unnoised models, in particular in the case of the unigram distribution, thus validating our analysis in Section 3.3.
226
+
227
+ Unseen $n$ -grams Smoothing is most beneficial for increasing the probability of unobserved sequences. To measure whether noising has a similar effect, we consider bigrams and trigrams in the validation set that do not appear in the training set. For these unseen bigrams (15062 occurrences) and trigrams (43051 occurrences), we measure the perplexity for noised and unnoised models with near-identical perplexity on the full set. As expected, noising yields lower perplexity for these unseen instances.
228
+
229
+ # 6 CONCLUSION
230
+
231
+ In this work, we show that data noising is effective for regularizing neural network-based sequence models. By deriving a correspondence between noising and smoothing, we are able to adapt advanced smoothing methods for $n$ -gram models to the neural network setting, thereby incorporating well-understood generative assumptions of language. Possible applications include exploring noising for improving performance in low resource settings, or examining how these techniques generalize to sequence modeling in other domains.
232
+
233
+ # ACKNOWLEDGMENTS
234
+
235
+ We thank Will Monroe for feedback on a draft of this paper, Anand Avati for help running experiments, and Jimmy Wu for computing support. We also thank the developers of Theano (Theano Development Team, 2016) and Tensorflow (Abadi et al., 2016). Some GPUs used in this work were donated by NVIDIA Corporation. ZX, SW, and JL were supported by an NDSEG Fellowship, NSERC PGS-D Fellowship, and Facebook Fellowship, respectively. This project was funded in part by DARPA MUSE award FA8750-15-C-0242 AFRL/RIKF.
236
+
237
+ # REFERENCES
238
+
239
+ Martın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, et al. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467, 2016.
240
+
241
+ Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. arXiv preprint arXiv:1511.06464, 2015.
242
+
243
+ Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014.
244
+
245
+ Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Neural Information Processing Systems (NIPS), 2015.
246
+
247
+ Yoshua Bengio, Rejean Ducharme, Pascal Vincent, and Christian Jauvin. A neural probabilistic ´ language model. In Journal Of Machine Learning Research, 2003.
248
+
249
+ Samuel R Bowman, Luke Vilnis, Oriol Vinyals, Andrew M Dai, Rafal Jozefowicz, and Samy Bengio. Generating sentences from a continuous space. arXiv preprint arXiv:1511.06349, 2015.
250
+
251
+ Peter F Brown, Peter V Desouza, Robert L Mercer, Vincent J Della Pietra, and Jenifer C Lai. Classbased n-gram models of natural language. Computational linguistics, 1992.
252
+
253
+ Stanley F Chen and Joshua Goodman. An empirical study of smoothing techniques for language modeling. In Association for Computational Linguistics (ACL), 1996.
254
+
255
+ Kyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014.
256
+
257
+ Andrew M Dai and Quoc V Le. Semi-supervised sequence learning. In Advances in Neural Information Processing Systems, pp. 3061–3069, 2015.
258
+
259
+ Li Deng, Alex Acero, Mike Plumpe, and Xuedong Huang. Large-vocabulary speech recognition under adverse acoustic environments. In ICSLP, 2000.
260
+
261
+ Yarin Gal. A theoretically grounded application of dropout in recurrent neural networks. arXiv:1512.05287, 2015.
262
+
263
+ Awni Hannun, Carl Case, Jared Casper, Bryan Catanzaro, Greg Diamos, et al. Deep speech: Scaling up end-to-end speech recognition. arXiv preprint arXiv:1412.5567, 2014.
264
+
265
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 1997.
266
+
267
+ Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered compo- ´ sition rivals syntactic methods for text classification. In Association for Computatonal Linguistics (ACL), 2015.
268
+
269
+ A. Krizhevsky, I. Sutskever, and G. E. Hinton. ImageNet Classification with Deep Convolutional Neural Networks. In NIPS, 2012.
270
+
271
+ David Krueger and Roland Memisevic. Regularizing rnns by stabilizing activations. arXiv preprint arXiv:1511.08400, 2015.
272
+
273
+ Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. arXiv preprint arXiv:1506.07285, 2015.
274
+
275
+ Quoc V Le, Navdeep Jaitly, and Geoffrey E Hinton. A simple way to initialize recurrent networks of rectified linear units. arXiv preprint arXiv:1504.00941, 2015.
276
+
277
+ Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based Learning Applied to Document Recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
278
+
279
+ Minh-Thang Luong and Christopher D Manning. Stanford neural machine translation systems for spoken language domains. In Proceedings of the International Workshop on Spoken Language Translation, 2015.
280
+
281
+ Minh-Thang Luong, Hieu Pham, and Christopher D. Manning. Effective approaches to attentionbased neural machine translation. In Empirical Methods in Natural Language Processing (EMNLP), 2015.
282
+
283
+ Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016.
284
+
285
+ Toma´s Mikolov. ˇ Statistical language models based on neural networks. PhD thesis, PhD thesis, Brno University of Technology. 2012.[PDF], 2012.
286
+
287
+ Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting on association for computational linguistics, pp. 311–318. Association for Computational Linguistics, 2002.
288
+
289
+ Vu Pham, Theodore Bluche, Christopher Kermorvant, and J ´ er´ ome Louradour. Dropout improves ˆ recurrent neural networks for handwriting recognition. In Frontiers in Handwriting Recognition (ICFHR), 2014 14th International Conference on, 2014.
290
+
291
+ Stanislau Semeniuta, Aliaksei Severyn, and Erhardt Barth. Recurrent dropout without memory loss. arXiv preprint arXiv:1603.05118, 2016.
292
+
293
+ Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 2014.
294
+
295
+ Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014.
296
+
297
+ 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.
298
+
299
+ S. Wager, W. Fithian, S. I. Wang, and P. Liang. Altitude training: Strong bounds for single-layer dropout. In Advances in Neural Information Processing Systems (NIPS), 2014.
300
+
301
+ Stefan Wager, William Fithian, and Percy Liang. Data augmentation via levy processes. arXiv preprint arXiv:1603.06340, 2016.
302
+
303
+ Sida I Wang, Mengqiu Wang, Stefan Wager, Percy Liang, and Christopher D Manning. Feature noising for log-linear structured prediction. In Empirical Methods in Natural Language Processing (EMNLP), 2013.
304
+
305
+ Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. Recurrent neural network regularization. arXiv preprint arXiv:1409.2329, 2014.
306
+
307
+ Julian Georg Zilly, Rupesh Kumar Srivastava, Jan Koutn´ık, and Jurgen Schmidhuber. Recurrent ¨ highway networks. arXiv preprint arXiv:1607.03474, 2016.
308
+
309
+ # A SKETCH OF NOISING ALGORITHM
310
+
311
+ We provide pseudocode of the noising algorithm corresponding to bigram Kneser-Ney smoothing for $n$ -grams (In the case of sequence-to-sequence tasks, we estimate the count-based parameters separately for source and target). To simplify, we assume a batch size of one. The noising algorithm is applied to each data batch during training. No noising is applied at test time.
312
+
313
+ <table><tr><td>Algorithm 1 Bigram KN noising (Language modeling setting)</td></tr><tr><td>Require counts c(x), number of distinct continuations N1+(x,·), proposal distribution q(x) N1+(.,x) Inputs X,Y batch of unnoised data indices, scaling factor γo</td></tr><tr><td>procedure NOISEBGKN(X, Y) &gt;X=(x1,...,xt),Y=(x2,...,xt+1)</td></tr><tr><td>X,Y←X,Y</td></tr><tr><td>for j = 1,...,t do γ ←γ0N1+(xj,·)/c(xj)</td></tr><tr><td>if ~ Bernoulli(~) then</td></tr><tr><td>xj~ Categorical(q) Updates X</td></tr><tr><td>yj~ Categorical(q)</td></tr><tr><td>end if</td></tr><tr><td>end for</td></tr><tr><td>return X, Y Run training iteration with noised batch</td></tr><tr><td>end procedure</td></tr></table>
parse/train/H1VyHY9gg/H1VyHY9gg_content_list.json ADDED
@@ -0,0 +1,1659 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DATA NOISING AS SMOOTHING IN NEURAL NETWORK LANGUAGE MODELS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 823,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ziang Xie, Sida I. Wang, Jiwei Li, Daniel Levy, Aiming Nie, Dan Jurafsky, Andrew Y. Ng ´ ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 802,
21
+ 185
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Computer Science Department, Stanford University zxie,sidaw,danilevy,anie,ang @cs.stanford.edu, jiweil,jurafsky @stanford.edu ",
28
+ "bbox": [
29
+ 186,
30
+ 185,
31
+ 637,
32
+ 227
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 262,
43
+ 544,
44
+ 277
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Data noising is an effective technique for regularizing neural network models. While noising is widely adopted in application domains such as vision and speech, commonly used noising primitives have not been developed for discrete sequencelevel settings such as language modeling. In this paper, we derive a connection between input noising in neural network language models and smoothing in $n$ - gram models. Using this connection, we draw upon ideas from smoothing to develop effective noising schemes. We demonstrate performance gains when applying the proposed schemes to language modeling and machine translation. Finally, we provide empirical analysis validating the relationship between noising and smoothing. ",
51
+ "bbox": [
52
+ 233,
53
+ 301,
54
+ 764,
55
+ 441
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 488,
66
+ 336,
67
+ 503
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Language models are a crucial component in many domains, such as autocompletion, machine translation, and speech recognition. A key challenge when performing estimation in language modeling is the data sparsity problem: due to large vocabulary sizes and the exponential number of possible contexts, the majority of possible sequences are rarely or never observed, even for very short subsequences. ",
74
+ "bbox": [
75
+ 174,
76
+ 526,
77
+ 823,
78
+ 595
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In other application domains, data augmentation has been key to improving the performance of neural network models in the face of insufficient data. In computer vision, for example, there exist well-established primitives for synthesizing additional image data, such as by rescaling or applying affine distortions to images (LeCun et al., 1998; Krizhevsky et al., 2012). Similarly, in speech recognition adding a background audio track or applying small shifts along the time dimension has been shown to yield significant gains, especially in noisy settings (Deng et al., 2000; Hannun et al., 2014). However, widely-adopted noising primitives have not yet been developed for neural network language models. ",
85
+ "bbox": [
86
+ 174,
87
+ 603,
88
+ 825,
89
+ 714
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Classic $n$ -gram models of language cope with rare and unseen sequences by using smoothing methods, such as interpolation or absolute discounting (Chen & Goodman, 1996). Neural network models, however, have no notion of discrete counts, and instead use distributed representations to combat the curse of dimensionality (Bengio et al., 2003). Despite the effectiveness of distributed representations, overfitting due to data sparsity remains an issue. Existing regularization methods, however, are typically applied to weights or hidden units within the network (Srivastava et al., 2014; Le et al., 2015) instead of directly considering the input data. ",
96
+ "bbox": [
97
+ 174,
98
+ 722,
99
+ 825,
100
+ 819
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In this work, we consider noising primitives as a form of data augmentation for recurrent neural network-based language models. By examining the expected pseudocounts from applying the noising schemes, we draw connections between noising and linear interpolation smoothing. Using this connection, we then derive noising schemes that are analogues of more advanced smoothing methods. We demonstrate the effectiveness of these schemes for regularization through experiments on language modeling and machine translation. Finally, we validate our theoretical claims by examining the empirical effects of noising. ",
107
+ "bbox": [
108
+ 174,
109
+ 827,
110
+ 823,
111
+ 924
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2 RELATED WORK ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 176,
121
+ 102,
122
+ 344,
123
+ 118
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "Our work can be viewed as a form of data augmentation, for which to the best of our knowledge there exists no widely adopted schemes in language modeling with neural networks. Classical regularization methods such as $L _ { 2 }$ -regularization are typically applied to the model parameters, while dropout is applied to activations which can be along the forward as well as the recurrent directions (Zaremba et al., 2014; Semeniuta et al., 2016; Gal, 2015). Others have introduced methods for recurrent neural networks encouraging the hidden activations to remain stable in norm, or constraining the recurrent weight matrix to have eigenvalues close to one (Krueger & Memisevic, 2015; Arjovsky et al., 2015; Le et al., 2015). These methods, however, all consider weights and hidden units instead of the input data, and are motivated by the vanishing and exploding gradient problem. ",
130
+ "bbox": [
131
+ 174,
132
+ 133,
133
+ 825,
134
+ 261
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "Feature noising has been demonstrated to be effective for structured prediction tasks, and has been interpreted as an explicit regularizer (Wang et al., 2013). Additionally, Wager et al. (2014) show that noising can inject appropriate generative assumptions into discriminative models to reduce their generalization error, but do not consider sequence models (Wager et al., 2016). ",
141
+ "bbox": [
142
+ 174,
143
+ 266,
144
+ 825,
145
+ 321
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "The technique of randomly zero-masking input word embeddings for learning sentence representations has been proposed by Iyyer et al. (2015), Kumar et al. (2015), and Dai & Le (2015), and adopted by others such as Bowman et al. (2015). However, to the best of our knowledge, no analysis has been provided besides reasoning that zeroing embeddings may result in a model ensembling effect similar to that in standard dropout. This analysis is applicable to classification tasks involving sum-of-embeddings or bag-of-words models, but does not capture sequence-level effects. Bengio et al. (2015) also make an empirical observation that the method of randomly replacing words with fixed probability with a draw from the uniform distribution improved performance slightly for an image captioning task; however, they do not examine why performance improved. ",
152
+ "bbox": [
153
+ 174,
154
+ 329,
155
+ 825,
156
+ 455
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "3 METHOD ",
163
+ "text_level": 1,
164
+ "bbox": [
165
+ 174,
166
+ 474,
167
+ 282,
168
+ 492
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "3.1 PRELIMINARIES ",
175
+ "text_level": 1,
176
+ "bbox": [
177
+ 174,
178
+ 507,
179
+ 326,
180
+ 522
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "text",
186
+ "text": "We consider language models where given a sequence of indices $X = ( x _ { 1 } , x _ { 2 } , \\cdot \\cdot \\cdot , x _ { T } )$ , over the vocabulary $V$ , we model ",
187
+ "bbox": [
188
+ 176,
189
+ 534,
190
+ 823,
191
+ 563
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "equation",
197
+ "img_path": "images/c0d2f832e5e905d46da1dbe6fa5ecbb8e2bc7af43c18208d5774ce81ef3d5ebd.jpg",
198
+ "text": "$$\np ( X ) = \\prod _ { t = 1 } ^ { T } p ( x _ { t } | x _ { < t } )\n$$",
199
+ "text_format": "latex",
200
+ "bbox": [
201
+ 423,
202
+ 561,
203
+ 575,
204
+ 606
205
+ ],
206
+ "page_idx": 1
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "In $n$ -gram models, it is not feasible to model the full context $x _ { < t }$ for large $t$ due to the exponential number of possible histories. Recurrent neural network (RNN) language models can (in theory) model longer dependencies, since they operate over distributed hidden states instead of modeling an exponential number of discrete counts (Bengio et al., 2003; Mikolov, 2012). ",
211
+ "bbox": [
212
+ 174,
213
+ 616,
214
+ 825,
215
+ 672
216
+ ],
217
+ "page_idx": 1
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "An $L$ -layer recurrent neural network is modeled as $h _ { t } ^ { ( l ) } = f _ { \\theta } ( h _ { t - 1 } ^ { ( l ) } , h _ { t } ^ { ( l - 1 ) } )$ , where $l$ denotes the layer index, $h ^ { ( 0 ) }$ contains the one-hot encoding of $X$ , and in its simplest form $f _ { \\theta }$ applies an affine transformation followed by a nonlinearity. In this work, we use RNNs with a more complex form of $f _ { \\theta }$ , namely long short-term memory (LSTM) units (Hochreiter & Schmidhuber, 1997), which have been shown to ease training and allow RNNs to capture longer dependencies. The output distribution over the vocabulary V at time t is pθ(xt|x<t) = softmax(gθ(h(L)t )), where g : R|h| → R|V | a pplies an affine transformation. The RNN is then trained by minimizing over its parameters $\\theta$ the sequence cross-entropy loss $\\begin{array} { r } { \\ell ( \\theta ) = - \\sum _ { t } \\log p _ { \\theta } ( x _ { t } | x _ { < t } ) } \\end{array}$ , thus maximizing the likelihood $p _ { \\theta } ( X )$ . ",
222
+ "bbox": [
223
+ 174,
224
+ 678,
225
+ 825,
226
+ 801
227
+ ],
228
+ "page_idx": 1
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "As an extension, we also consider encoder-decoder or sequence-to-sequence (Cho et al., 2014; Sutskever et al., 2014) models where given an input sequence $X$ and output sequence $Y$ of length $T _ { Y }$ , we model ",
233
+ "bbox": [
234
+ 174,
235
+ 806,
236
+ 825,
237
+ 848
238
+ ],
239
+ "page_idx": 1
240
+ },
241
+ {
242
+ "type": "equation",
243
+ "img_path": "images/834c59cfefc4fe594b900da8062028f031b5e5d81427473bdf5d97f117e3da52.jpg",
244
+ "text": "$$\np ( Y | X ) = \\prod _ { t = 1 } ^ { T _ { Y } } p ( y _ { t } | X , y _ { < t } ) .\n$$",
245
+ "text_format": "latex",
246
+ "bbox": [
247
+ 401,
248
+ 848,
249
+ 594,
250
+ 891
251
+ ],
252
+ "page_idx": 1
253
+ },
254
+ {
255
+ "type": "text",
256
+ "text": "and minimize the loss $\\begin{array} { r } { \\ell ( \\theta ) = - \\sum _ { t } \\log p _ { \\theta } ( y _ { t } | X , y _ { < t } ) } \\end{array}$ . This setting can also be seen as conditional language modeling, and encompasses tasks such as machine translation, where $X$ is a source lan",
257
+ "bbox": [
258
+ 174,
259
+ 895,
260
+ 823,
261
+ 924
262
+ ],
263
+ "page_idx": 1
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "guage sequence and $Y$ a target language sequence, as well as language modeling, where $Y$ is the given sequence and $X$ is the empty sequence. ",
268
+ "bbox": [
269
+ 174,
270
+ 103,
271
+ 823,
272
+ 132
273
+ ],
274
+ "page_idx": 2
275
+ },
276
+ {
277
+ "type": "text",
278
+ "text": "3.2 SMOOTHING AND NOISING ",
279
+ "text_level": 1,
280
+ "bbox": [
281
+ 176,
282
+ 148,
283
+ 401,
284
+ 164
285
+ ],
286
+ "page_idx": 2
287
+ },
288
+ {
289
+ "type": "text",
290
+ "text": "Recall that for a given context length $l$ , an $n$ -gram model of order $l + 1$ is optimal under the loglikelihood criterion. Hence in the case where an RNN with finite context achieves near the lowest possible cross-entropy loss, it behaves like an $n$ -gram model. ",
291
+ "bbox": [
292
+ 174,
293
+ 174,
294
+ 825,
295
+ 217
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "Like $n$ -gram models, RNNs are trained using maximum likelihood, and can easily overfit (Zaremba et al., 2014). While generic regularization methods such $L _ { 2 }$ -regularization and dropout are effective, they do not take advantage of specific properties of sequence modeling. In order to understand sequence-specific regularization, it is helpful to examine $n$ -gram language models, whose properties are well-understood. ",
302
+ "bbox": [
303
+ 174,
304
+ 223,
305
+ 825,
306
+ 292
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "Smoothing for $n$ -gram models When modeling $p ( x _ { t } | x _ { < t } )$ , the maximum likelihood estimate $c ( x _ { < t } , x _ { t } ) \\bar { / } c ( x _ { < t } )$ based on empirical counts puts zero probability on unseen sequences, and thus smoothing is crucial for obtaining good estimates. In particular, we consider interpolation, which performs a weighted average between higher and lower order models. The idea is that when there are not enough observations of the full sequence, observations of subsequences can help us obtain better estimates.1 For example, in a bigram model, $p _ { \\mathrm { i n t e r p } } ( x _ { t } | x _ { t - 1 } ) = \\bar { \\lambda p } ( x _ { t } | x _ { t - 1 } ) + ( \\bar { 1 - \\lambda } ) p ( x _ { t } )$ , where $0 \\leq \\lambda \\leq 1$ . ",
313
+ "bbox": [
314
+ 173,
315
+ 309,
316
+ 825,
317
+ 407
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "Noising for RNN models We would like to apply well-understood smoothing methods such as interpolation to RNNs, which are also trained using maximum likelihood. Unfortunately, RNN models have no notion of counts, and we cannot directly apply one of the usual smoothing methods. In this section, we consider two simple noising schemes which we proceed to show correspond to smoothing methods. Since we can noise the data while training an RNN, we can then incorporate well-understood generative assumptions that are known to be helpful in the domain. First consider the following two noising schemes: ",
324
+ "bbox": [
325
+ 173,
326
+ 420,
327
+ 825,
328
+ 520
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "text",
334
+ "text": "• unigram noising For each $x _ { i }$ in $x _ { < t }$ , with probability $\\gamma$ replace $x _ { i }$ with a sample from the unigram frequency distribution. • blank noising For each $x _ { i }$ in $x _ { < t }$ , with probability $\\gamma$ replace $x _ { i }$ with a placeholder token “ ”. ",
335
+ "bbox": [
336
+ 174,
337
+ 531,
338
+ 825,
339
+ 580
340
+ ],
341
+ "page_idx": 2
342
+ },
343
+ {
344
+ "type": "text",
345
+ "text": "While blank noising can be seen as a way to avoid overfitting on specific contexts, we will see that both schemes are related to smoothing, and that unigram noising provides a path to analogues of more advanced smoothing methods. ",
346
+ "bbox": [
347
+ 176,
348
+ 590,
349
+ 823,
350
+ 633
351
+ ],
352
+ "page_idx": 2
353
+ },
354
+ {
355
+ "type": "text",
356
+ "text": "3.3 NOISING AS SMOOTHING ",
357
+ "text_level": 1,
358
+ "bbox": [
359
+ 174,
360
+ 650,
361
+ 390,
362
+ 665
363
+ ],
364
+ "page_idx": 2
365
+ },
366
+ {
367
+ "type": "text",
368
+ "text": "We now consider the maximum likelihood estimate of $n$ -gram probabilities estimated using the pseudocounts of the noised data. By examining these estimates, we draw a connection between linear interpolation smoothing and noising. ",
369
+ "bbox": [
370
+ 174,
371
+ 676,
372
+ 825,
373
+ 718
374
+ ],
375
+ "page_idx": 2
376
+ },
377
+ {
378
+ "type": "text",
379
+ "text": "Unigram noising as interpolation To start, we consider the simplest case of bigram probabilities. Let $c ( x )$ denote the count of a token $x$ in the original data, and let $c _ { \\gamma } ( x ) \\ { \\stackrel { \\mathrm { d e f } } { = } } \\ \\mathbb { E } _ { \\tilde { x } } \\left[ c ( { \\tilde { x } } ) \\right]$ be the expected count of $x$ under the unigram noising scheme. We then have ",
380
+ "bbox": [
381
+ 171,
382
+ 733,
383
+ 823,
384
+ 781
385
+ ],
386
+ "page_idx": 2
387
+ },
388
+ {
389
+ "type": "equation",
390
+ "img_path": "images/241793d87fdc726ea54893ba7935fd412bfe09d457a908aa91f9d87a533783c2.jpg",
391
+ "text": "$$\n\\begin{array} { r l } & { p _ { \\gamma } ( x _ { t } | x _ { t - 1 } ) = \\frac { c _ { \\gamma } ( x _ { t - 1 } , x _ { t } ) } { c _ { \\gamma } ( x _ { t - 1 } ) } } \\\\ & { \\qquad = [ ( 1 - \\gamma ) c ( x _ { t - 1 } , x _ { t } ) + \\gamma p ( x _ { t - 1 } ) c ( x _ { t } ) ] / c ( x _ { t - 1 } ) } \\\\ & { \\qquad = ( 1 - \\gamma ) p ( x _ { t } | x _ { t - 1 } ) + \\gamma p ( x _ { t } ) , } \\end{array}\n$$",
392
+ "text_format": "latex",
393
+ "bbox": [
394
+ 287,
395
+ 790,
396
+ 710,
397
+ 864
398
+ ],
399
+ "page_idx": 2
400
+ },
401
+ {
402
+ "type": "text",
403
+ "text": "where $c _ { \\gamma } ( x ) = c ( x )$ since our proposal distribution $q ( x )$ is the unigram distribution, and the last line follows since $c ( x _ { t - 1 } ) / p ( x _ { t - 1 } ) = c ( x _ { t } ) / p ( x _ { t } )$ is equal to the total number of tokens in the training ",
404
+ "bbox": [
405
+ 176,
406
+ 871,
407
+ 823,
408
+ 901
409
+ ],
410
+ "page_idx": 2
411
+ },
412
+ {
413
+ "type": "text",
414
+ "text": "set. Thus we see that the noised data has pseudocounts corresponding to interpolation or a mixture of different order $n$ -gram models with fixed weighting. ",
415
+ "bbox": [
416
+ 171,
417
+ 103,
418
+ 823,
419
+ 132
420
+ ],
421
+ "page_idx": 3
422
+ },
423
+ {
424
+ "type": "text",
425
+ "text": "More generally, let $\\tilde { { \\boldsymbol { x } } } _ { < t }$ be noised tokens from $\\tilde { x }$ . We consider the expected prediction under noise ",
426
+ "bbox": [
427
+ 171,
428
+ 138,
429
+ 818,
430
+ 155
431
+ ],
432
+ "page_idx": 3
433
+ },
434
+ {
435
+ "type": "equation",
436
+ "img_path": "images/de7b60cba45caaa79680718a35bbb43c39f7887ef6a098b1853e5b18ec840038.jpg",
437
+ "text": "$$\n\\begin{array} { r } { p _ { \\gamma } ( x _ { t } | x _ { < t } ) = \\mathbb { E } _ { \\tilde { x } _ { < t } } \\left[ p ( x _ { t } | \\tilde { x } _ { < t } ) \\right] \\ ~ } \\\\ { = \\sum _ { J } \\underbrace { \\pi ( | J | ) } _ { p ( | J | \\mathrm { s w a p s } ) } \\ \\sum _ { x _ { K } } \\underbrace { p ( x _ { t } | x _ { J } , x _ { K } ) } _ { p ( x _ { t } | \\mathrm { n o i s e d c o n t e x t } ) } \\prod _ { z \\in x _ { K } } \\underbrace { p ( z ) } _ { p ( \\mathrm { d r a w i n g } \\ z ) } } \\end{array}\n$$",
438
+ "text_format": "latex",
439
+ "bbox": [
440
+ 287,
441
+ 162,
442
+ 710,
443
+ 227
444
+ ],
445
+ "page_idx": 3
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "where the mixture coefficients are $\\pi ( | J | ) ~ = ~ ( 1 - \\gamma ) ^ { | J | } \\gamma ^ { t - 1 - | J | }$ with $\\begin{array} { r } { \\sum _ { J } \\pi ( | J | ) ~ = ~ 1 } \\end{array}$ . $J \\subseteq$ $\\{ 1 , 2 , \\ldots , t - 1 \\}$ denotes the set of indices whose corresponding tokens are left unchanged, and $K$ the set of indices that were replaced. ",
450
+ "bbox": [
451
+ 176,
452
+ 236,
453
+ 821,
454
+ 280
455
+ ],
456
+ "page_idx": 3
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "Blank noising as interpolation Next we consider the blank noising scheme and show that it corresponds to interpolation as well. This also serves as an alternative explanation for the gains that other related work have found with the “word-dropout” idea (Kumar et al., 2015; Dai & Le, 2015; Bowman et al., 2015). As before, we do not noise the token being predicted $x _ { t }$ . Let $\\tilde { { \\boldsymbol { x } } } _ { < t }$ denote the random variable where each of its tokens is replaced by “ ” with probability $\\gamma$ , and let $x J$ denote the sequence with indices $J$ unchanged, and the rest replaced by $\\underline { { \\boldsymbol { \\cdot } } } \\underline { { \\boldsymbol { \\mathit { \\Pi } } } } ,$ . To make a prediction, we use the expected probability over different noisings of the context ",
461
+ "bbox": [
462
+ 173,
463
+ 294,
464
+ 826,
465
+ 392
466
+ ],
467
+ "page_idx": 3
468
+ },
469
+ {
470
+ "type": "equation",
471
+ "img_path": "images/3c8fc28e5495d21db5e81a7c6979205ac30377154a8f74339b29127c348490f2.jpg",
472
+ "text": "$$\np _ { \\gamma } ( x _ { t } | x _ { < t } ) = \\mathbb { E } _ { \\tilde { x } _ { < t } } \\left[ p ( x _ { t } | \\tilde { x } _ { < t } ) \\right] = \\sum _ { J } \\underbrace { \\pi ( | J | ) } _ { p ( | J | \\mathrm { s w a p s } ) } \\underbrace { p ( x _ { t } | x _ { J } ) } _ { p ( x _ { t } | \\mathrm { n o i s e d c o n t e x t } ) } ,\n$$",
473
+ "text_format": "latex",
474
+ "bbox": [
475
+ 287,
476
+ 401,
477
+ 709,
478
+ 444
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "where $J \\subseteq \\{ 1 , 2 , \\dots , t - 1 \\}$ , which is also a mixture of the unnoised probabilities over subsequences of the current context. For example, in the case of trigrams, we have ",
485
+ "bbox": [
486
+ 171,
487
+ 454,
488
+ 825,
489
+ 483
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "equation",
495
+ "img_path": "images/7583458ebcb163fe0982ab8ec7910e0b6b8b0de45f514d5325cf4736095f41f9.jpg",
496
+ "text": "$$\np _ { \\gamma } ( x _ { 3 } | x _ { 1 } , x _ { 2 } ) = \\pi ( 2 ) p ( x _ { 3 } | x _ { 1 } , x _ { 2 } ) + \\pi ( 1 ) p ( x _ { 3 } | x _ { 1 } , \\ldots ) + \\pi ( 1 ) p ( x _ { 3 } | \\ldots , x _ { 2 } ) + \\pi ( 0 ) p ( x _ { 3 } | \\ldots , \\ldots )\n$$",
497
+ "text_format": "latex",
498
+ "bbox": [
499
+ 186,
500
+ 493,
501
+ 812,
502
+ 511
503
+ ],
504
+ "page_idx": 3
505
+ },
506
+ {
507
+ "type": "text",
508
+ "text": "where the mixture coefficient $\\pi ( i ) = ( 1 - \\gamma ) ^ { i } \\gamma ^ { 2 - i }$ . ",
509
+ "bbox": [
510
+ 176,
511
+ 522,
512
+ 513,
513
+ 539
514
+ ],
515
+ "page_idx": 3
516
+ },
517
+ {
518
+ "type": "text",
519
+ "text": "3.4 BORROWING TECHNIQUES",
520
+ "text_level": 1,
521
+ "bbox": [
522
+ 174,
523
+ 554,
524
+ 400,
525
+ 569
526
+ ],
527
+ "page_idx": 3
528
+ },
529
+ {
530
+ "type": "text",
531
+ "text": "With the connection between noising and smoothing in place, we now consider how we can improve the two components of the noising scheme by considering: ",
532
+ "bbox": [
533
+ 173,
534
+ 580,
535
+ 823,
536
+ 611
537
+ ],
538
+ "page_idx": 3
539
+ },
540
+ {
541
+ "type": "text",
542
+ "text": "1. Adaptively computing noising probability $\\gamma$ to reflect our confidence about a particular input subsequence. \n2. Selecting a proposal distribution $q ( x )$ that is less naive than the unigram distribution by leveraging higher order $n$ -gram statistics. ",
543
+ "bbox": [
544
+ 210,
545
+ 619,
546
+ 825,
547
+ 683
548
+ ],
549
+ "page_idx": 3
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "Noising Probability Although it simplifies analysis, there is no reason why we should choose fixed $\\gamma$ ; we now consider defining an adaptive $\\gamma ( \\boldsymbol { x } _ { 1 : t } )$ which depends on the input sequence. Consider the following bigrams: ",
554
+ "bbox": [
555
+ 176,
556
+ 696,
557
+ 825,
558
+ 739
559
+ ],
560
+ "page_idx": 3
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "“and the” ",
565
+ "bbox": [
566
+ 331,
567
+ 751,
568
+ 393,
569
+ 765
570
+ ],
571
+ "page_idx": 3
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "“Humpty Dumpty” ",
576
+ "bbox": [
577
+ 539,
578
+ 751,
579
+ 666,
580
+ 766
581
+ ],
582
+ "page_idx": 3
583
+ },
584
+ {
585
+ "type": "text",
586
+ "text": "The first bigram is one of the most common in English corpora; its probability is hence well estimated and should not be interpolated with lower order distributions. In expectation, however, using fixed $\\gamma _ { 0 }$ when noising results in the same lower order interpolation weight $\\pi _ { \\gamma _ { 0 } }$ for common as well as rare bigrams. Intuitively, we should define $\\gamma ( \\boldsymbol { x } _ { 1 : t } )$ such that commonly seen bigrams are less likely to be noised. ",
587
+ "bbox": [
588
+ 173,
589
+ 776,
590
+ 825,
591
+ 847
592
+ ],
593
+ "page_idx": 3
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "The second bigram, “Humpty Dumpty,” is relatively uncommon, as are its constituent unigrams. However, it forms what Brown et al. (1992) term a “sticky pair”: the unigram “Dumpty” almost always follows the unigram “Humpty”, and similarly, “Humpty” almost always precedes “Dumpty”. For pairs with high mutual information, we wish to avoid backing off from the bigram to the unigram distribution. ",
598
+ "bbox": [
599
+ 174,
600
+ 853,
601
+ 825,
602
+ 924
603
+ ],
604
+ "page_idx": 3
605
+ },
606
+ {
607
+ "type": "table",
608
+ "img_path": "images/e13c6137b1c48c7239d1e1784e9ec03752dd675aa62c34ce23e0d0c44644ff61.jpg",
609
+ "table_caption": [],
610
+ "table_footnote": [],
611
+ "table_body": "<table><tr><td>Noised</td><td>γ(x1:2)</td><td>q(x)</td><td>Analogue</td></tr><tr><td>x1</td><td>20</td><td>q(“_&quot;)=1</td><td>interpolation</td></tr><tr><td>x1</td><td>70</td><td>unigram</td><td>interpolation</td></tr><tr><td>x1</td><td>20N1+(x1,.)/c(x1)</td><td>unigram</td><td>absolute discounting</td></tr><tr><td>x1,x2</td><td>20N1+(x1,·)/c(x1)</td><td>q(x) x Ni+(•,x)</td><td>Kneser-Ney</td></tr></table>",
612
+ "bbox": [
613
+ 240,
614
+ 101,
615
+ 758,
616
+ 186
617
+ ],
618
+ "page_idx": 4
619
+ },
620
+ {
621
+ "type": "text",
622
+ "text": "Table 1: Noising schemes Example noising schemes and their bigram smoothing analogues. Here we consider the bigram probability $p ( x _ { 1 } , x _ { 2 } ) \\ : = \\ : p ( x _ { 2 } \\vert x _ { 1 } ) p ( x _ { 1 } )$ . Notation: $\\gamma ( \\boldsymbol { x } _ { 1 : t } )$ denotes the noising probability for a given input sequence $x _ { 1 : t }$ , $q ( x )$ denotes the proposal distribution, and $N _ { 1 + } ( x , \\bullet )$ denotes the number of distinct bigrams in the training set where $x$ is the first unigram. In all but the last case we only noise the context $x _ { 1 }$ and not the target prediction $x _ { 2 }$ . ",
623
+ "bbox": [
624
+ 173,
625
+ 202,
626
+ 825,
627
+ 273
628
+ ],
629
+ "page_idx": 4
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "Let $N _ { 1 + } ( x _ { 1 } , \\bullet ) \\ { \\stackrel { \\mathrm { d e f } } { = } } \\ | \\{ x _ { 2 } : c ( x _ { 1 } , x _ { 2 } ) > 0 \\} |$ be the number of distinct continutions following $x _ { 1 }$ , or equivalently the number of bigram types beginning with $x _ { 1 }$ (Chen $\\&$ Goodman, 1996). From the above intuitions, we arrive at the absolute discounting noising probability ",
634
+ "bbox": [
635
+ 173,
636
+ 299,
637
+ 825,
638
+ 345
639
+ ],
640
+ "page_idx": 4
641
+ },
642
+ {
643
+ "type": "equation",
644
+ "img_path": "images/103e5fafdc04d38a9dbcd28816e24601025f95aa7ddfec353e823ad8955d335b.jpg",
645
+ "text": "$$\n\\gamma _ { \\mathrm { A D } } ( x _ { 1 } ) = \\gamma _ { 0 } \\frac { N _ { 1 + } ( x _ { 1 } , \\bullet ) } { \\sum _ { x _ { 2 } } c ( x _ { 1 } , x _ { 2 } ) }\n$$",
646
+ "text_format": "latex",
647
+ "bbox": [
648
+ 398,
649
+ 354,
650
+ 598,
651
+ 391
652
+ ],
653
+ "page_idx": 4
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "where for $0 \\leq \\gamma _ { 0 } \\leq 1$ we have $0 \\leq \\gamma _ { \\mathrm { A D } } \\leq 1$ , though in practice we can also clip larger noising probabilities to 1. Note that this encourages noising of unigrams that precede many possible other tokens while discouraging noising of common unigrams, since if we ignore the final token, $\\begin{array} { r } { \\sum _ { x _ { 2 } } c ( x _ { 1 } , x _ { 2 } ) = c ( x _ { 1 } ) } \\end{array}$ . ",
658
+ "bbox": [
659
+ 174,
660
+ 400,
661
+ 825,
662
+ 458
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "Proposal Distribution While choosing the unigram distribution as the proposal distribution $q ( x )$ preserves unigram frequencies, by borrowing from the smoothing literature we find another distribution performs better. We again begin with two motivating examples: ",
669
+ "bbox": [
670
+ 173,
671
+ 474,
672
+ 825,
673
+ 517
674
+ ],
675
+ "page_idx": 4
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "“San Francisco” ",
680
+ "bbox": [
681
+ 334,
682
+ 529,
683
+ 442,
684
+ 544
685
+ ],
686
+ "page_idx": 4
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "“New York” ",
691
+ "bbox": [
692
+ 580,
693
+ 529,
694
+ 661,
695
+ 544
696
+ ],
697
+ "page_idx": 4
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "Both bigrams appear frequently in text corpora. As a direct consequence, the unigrams “Francisco” and “York” also appear frequently. However, since “Francisco” and “York” typically follow “San” and “New”, respectively, they should not have high probability in the proposal distribution as they might if we use unigram frequencies (Chen $\\&$ Goodman, 1996). Instead, it would be better to increase the proposal probability of unigrams with diverse histories, or more precisely unigrams that complete a large number of bigram types. Thus instead of drawing from the unigram distribution, we consider drawing from ",
702
+ "bbox": [
703
+ 173,
704
+ 556,
705
+ 825,
706
+ 654
707
+ ],
708
+ "page_idx": 4
709
+ },
710
+ {
711
+ "type": "equation",
712
+ "img_path": "images/980c4872295f29ca37308b17006c5554cd89b053a47ad326e301ec6e7b60fe18.jpg",
713
+ "text": "$$\nq ( x ) \\propto N _ { 1 + } ( \\bullet , x )\n$$",
714
+ "text_format": "latex",
715
+ "bbox": [
716
+ 437,
717
+ 652,
718
+ 560,
719
+ 670
720
+ ],
721
+ "page_idx": 4
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "Note that we now noise the prediction $x _ { t }$ in addition to the context $x _ { 1 : t - 1 }$ . Combining this new proposal distribution with the discounted $\\gamma _ { \\mathrm { A D } } ( x _ { 1 } )$ from the previous section, we obtain the noising analogue of Kneser-Ney smoothing. ",
726
+ "bbox": [
727
+ 174,
728
+ 674,
729
+ 826,
730
+ 717
731
+ ],
732
+ "page_idx": 4
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "Table 1 summarizes the discussed noising schemes. ",
737
+ "bbox": [
738
+ 174,
739
+ 723,
740
+ 511,
741
+ 738
742
+ ],
743
+ "page_idx": 4
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "3.5 TRAINING AND TESTING ",
748
+ "text_level": 1,
749
+ "bbox": [
750
+ 176,
751
+ 755,
752
+ 387,
753
+ 770
754
+ ],
755
+ "page_idx": 4
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "During training, noising is performed per batch and is done online such that each epoch of training sees a different noised version of the training data. At test time, to match the training objective we should sample multiple corrupted versions of the test data, then average the predictions (Srivastava et al., 2014). In practice, however, we find that simply using the maximum likelihood (uncorrupted) input sequence works well; evaluation runtime remains unchanged. ",
760
+ "bbox": [
761
+ 174,
762
+ 781,
763
+ 825,
764
+ 852
765
+ ],
766
+ "page_idx": 4
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "3.6 EXTENSIONS ",
771
+ "text_level": 1,
772
+ "bbox": [
773
+ 174,
774
+ 868,
775
+ 305,
776
+ 883
777
+ ],
778
+ "page_idx": 4
779
+ },
780
+ {
781
+ "type": "text",
782
+ "text": "The schemes described are for the language model setting. To extend them to the sequence-tosequence or encoder-decoder setting, we noise both $x _ { < t }$ as well as $y _ { < t }$ . While in the decoder we ",
783
+ "bbox": [
784
+ 174,
785
+ 895,
786
+ 823,
787
+ 924
788
+ ],
789
+ "page_idx": 4
790
+ },
791
+ {
792
+ "type": "table",
793
+ "img_path": "images/433cc1e793e26806f3efe06406a2893eefd2a4b30dcac6547f09e55dd8656961.jpg",
794
+ "table_caption": [
795
+ "Table 2: Single-model perplexity on Penn Treebank with different noising schemes. We also compare to the variational method of Gal (2015), who also train LSTM models with the same hidden dimension. Note that performing Monte Carlo dropout at test time is significantly more expensive than our approach, where test time is unchanged. "
796
+ ],
797
+ "table_footnote": [],
798
+ "table_body": "<table><tr><td>Noising scheme</td><td>Validation</td><td>Test</td></tr><tr><td colspan=\"2\">Medium models (512 hidden size)</td><td></td></tr><tr><td>none (dropout only) blank</td><td>84.3</td><td>80.4</td></tr><tr><td></td><td>82.7</td><td>78.8</td></tr><tr><td>unigram</td><td>83.1</td><td>80.1</td></tr><tr><td>bigram Kneser-Ney</td><td>79.9</td><td>76.9</td></tr><tr><td colspan=\"2\">Large models (1500 hidden size)</td><td></td></tr><tr><td rowspan=\"3\">none (dropout only) blank unigram bigram Kneser-Ney</td><td>81.6</td><td>77.5</td></tr><tr><td>79.4</td><td>75.5</td></tr><tr><td>79.4 76.2</td><td>76.1 73.4</td></tr><tr><td>Zaremba et al. (2014)</td><td>82.2</td><td></td></tr><tr><td>Gal (2015) variational dropout (tied weights)</td><td></td><td>78.4</td></tr><tr><td>Gal (2015) (untied weights,Monte Carlo)</td><td>77.3 丨</td><td>75.0 73.4</td></tr></table>",
799
+ "bbox": [
800
+ 272,
801
+ 101,
802
+ 725,
803
+ 335
804
+ ],
805
+ "page_idx": 5
806
+ },
807
+ {
808
+ "type": "table",
809
+ "img_path": "images/8bf8a47b4b2c61b0c81790044b83acf9981a8eb13ac5bc06ab7e338f3f44d3b6.jpg",
810
+ "table_caption": [
811
+ "Table 3: Perplexity on Text8 with different noising schemes. "
812
+ ],
813
+ "table_footnote": [],
814
+ "table_body": "<table><tr><td>Noising scheme</td><td>Validation</td><td>Test</td></tr><tr><td>none</td><td>94.3</td><td>123.6</td></tr><tr><td>blank</td><td>85.0</td><td>110.7</td></tr><tr><td>unigram</td><td>85.2</td><td>111.3</td></tr><tr><td>bigram Kneser-Ney</td><td>84.5</td><td>110.6</td></tr></table>",
815
+ "bbox": [
816
+ 351,
817
+ 433,
818
+ 647,
819
+ 518
820
+ ],
821
+ "page_idx": 5
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "have $y _ { < t }$ and $y _ { t }$ as analogues to language model context and target prediction, it is unclear whether noising $x _ { < t }$ should be beneficial. Empirically, however, we find this to be the case (Table 4). ",
826
+ "bbox": [
827
+ 173,
828
+ 587,
829
+ 825,
830
+ 614
831
+ ],
832
+ "page_idx": 5
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "4 EXPERIMENTS ",
837
+ "text_level": 1,
838
+ "bbox": [
839
+ 176,
840
+ 646,
841
+ 326,
842
+ 661
843
+ ],
844
+ "page_idx": 5
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "4.1 LANGUAGE MODELING ",
849
+ "text_level": 1,
850
+ "bbox": [
851
+ 176,
852
+ 684,
853
+ 377,
854
+ 698
855
+ ],
856
+ "page_idx": 5
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "Penn Treebank We train networks for word-level language modeling on the Penn Treebank dataset, using the standard preprocessed splits with a 10K size vocabulary (Mikolov, 2012). The PTB dataset contains $9 2 9 \\mathrm { k }$ training tokens, 73k validation tokens, and ${ 8 2 } \\mathrm { k }$ test tokens. Following Zaremba et al. (2014), we use minibatches of size 20 and unroll for 35 time steps when performing backpropagation through time. All models have two hidden layers and use LSTM units. Weights are initialized uniformly in the range $[ - 0 . 1 , 0 . 1 ]$ . We consider models with hidden sizes of 512 and 1500. ",
861
+ "bbox": [
862
+ 174,
863
+ 713,
864
+ 825,
865
+ 811
866
+ ],
867
+ "page_idx": 5
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "We train using stochastic gradient descent with an initial learning rate of 1.0, clipping the gradient if its norm exceeds 5.0. When the validation cross entropy does not decrease after a training epoch, we halve the learning rate. We anneal the learning rate 8 times before stopping training, and pick the model with the lowest perplexity on the validation set. ",
872
+ "bbox": [
873
+ 174,
874
+ 819,
875
+ 825,
876
+ 875
877
+ ],
878
+ "page_idx": 5
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "For regularization, we apply feed-forward dropout (Pham et al., 2014) in combination with our noising schemes. We report results in Table 2 for the best setting of the dropout rate (which we find to match the settings reported in Zaremba et al. (2014)) as well as the best setting of noising ",
883
+ "bbox": [
884
+ 176,
885
+ 882,
886
+ 823,
887
+ 924
888
+ ],
889
+ "page_idx": 5
890
+ },
891
+ {
892
+ "type": "image",
893
+ "img_path": "images/a74791f89bc2ae43fdc9a304f47b23fda338e2c01b613335fe659ced2c4f1495.jpg",
894
+ "image_caption": [
895
+ "Figure 1: Example training and validation curves for an unnoised model and model regularized using the bigram Kneser-Ney noising scheme. "
896
+ ],
897
+ "image_footnote": [],
898
+ "bbox": [
899
+ 228,
900
+ 102,
901
+ 769,
902
+ 270
903
+ ],
904
+ "page_idx": 6
905
+ },
906
+ {
907
+ "type": "table",
908
+ "img_path": "images/85a9023a7951293ef108ad65feeb0560267842bb762db52ddd9b9e963097c913.jpg",
909
+ "table_caption": [],
910
+ "table_footnote": [],
911
+ "table_body": "<table><tr><td>Scheme</td><td>Perplexity</td><td>BLEU</td></tr><tr><td>dropout, no noising</td><td>8.84</td><td>24.6</td></tr><tr><td>blank noising</td><td>8.28</td><td>25.3 (+0.7)</td></tr><tr><td>unigram noising</td><td>8.15</td><td>25.5 (+0.9)</td></tr><tr><td>bigram Kneser-Ney</td><td>7.92</td><td>26.0 (+1.4)</td></tr><tr><td>source only</td><td>8.74</td><td>24.8 (+0.2)</td></tr><tr><td>target only</td><td>8.14</td><td>25.6 (+1.0)</td></tr></table>",
912
+ "bbox": [
913
+ 331,
914
+ 324,
915
+ 666,
916
+ 445
917
+ ],
918
+ "page_idx": 6
919
+ },
920
+ {
921
+ "type": "text",
922
+ "text": "Table 4: Perplexities and BLEU scores for machine translation task. Results for bigram KN noising on only the source sequence and only the target sequence are given as well. ",
923
+ "bbox": [
924
+ 173,
925
+ 462,
926
+ 825,
927
+ 489
928
+ ],
929
+ "page_idx": 6
930
+ },
931
+ {
932
+ "type": "text",
933
+ "text": "probability $\\gamma _ { 0 }$ on the validation set.2 Figure 1 shows the training and validation perplexity curves for a noised versus an unnoised run. ",
934
+ "bbox": [
935
+ 173,
936
+ 518,
937
+ 823,
938
+ 546
939
+ ],
940
+ "page_idx": 6
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "Our large models match the state-of-the-art regularization method for single model performance on this task. In particular, we find that picking $\\gamma _ { \\mathrm { A D } } ( x _ { 1 } )$ and $q ( x )$ corresponding to Kneser-Ney smoothing yields significant gains in validation perplexity, both for the medium and large size models. Recent work (Merity et al., 2016; Zilly et al., 2016) has also achieved impressive results on this task by proposing different architectures which are orthogonal to our data augmentation schemes. ",
945
+ "bbox": [
946
+ 174,
947
+ 554,
948
+ 825,
949
+ 625
950
+ ],
951
+ "page_idx": 6
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "Text8 In order to determine whether noising remains effective with a larger dataset, we perform experiments on the Text8 corpus3. The first 90M characters are used for training, the next 5M for validation, and the final 5M for testing, resulting in $1 5 . 3 \\mathbf { M }$ training tokens, 848K validation tokens, and 855K test tokens. We preprocess the data by mapping all words which appear 10 or fewer times to the unknown token, resulting in a 42K size vocabulary. Other parameter settings are the same as described in the Penn Treebank experiments, besides that only models with hidden size 512 are considered, and noising is not combined with feed-forward dropout. Results are given in Table 3. ",
956
+ "bbox": [
957
+ 174,
958
+ 641,
959
+ 825,
960
+ 739
961
+ ],
962
+ "page_idx": 6
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "4.2 MACHINE TRANSLATION ",
967
+ "text_level": 1,
968
+ "bbox": [
969
+ 174,
970
+ 758,
971
+ 388,
972
+ 772
973
+ ],
974
+ "page_idx": 6
975
+ },
976
+ {
977
+ "type": "text",
978
+ "text": "For our machine translation experiments we consider the English-German machine translation track of IWSLT $2 0 1 5 ^ { 4 }$ . The IWSLT 2015 corpus consists of sentence-aligned subtitles of TED and TEDx talks. The training set contains roughly 190K sentence pairs with 5.4M tokens. Following Luong & Manning (2015), we use TED tst2012 as a validation set and report BLEU score results (Papineni et al., 2002) on tst2014. We limit the vocabulary to the top 50K most frequent words for each language. ",
979
+ "bbox": [
980
+ 174,
981
+ 785,
982
+ 825,
983
+ 869
984
+ ],
985
+ "page_idx": 6
986
+ },
987
+ {
988
+ "type": "image",
989
+ "img_path": "images/c52239f55d9409031ab76a2c2d420a3bbb70c906f6f5db3a48bd4677b262db5b.jpg",
990
+ "image_caption": [
991
+ "Figure 2: Perplexity with noising on Penn Treebank while varying the value of $\\gamma _ { 0 }$ . Using discounting to scale $\\gamma _ { 0 }$ (yielding $\\gamma _ { \\mathrm { A D . } }$ ) maintains gains for a range of values of noising probability, which is not true for the unscaled case. "
992
+ ],
993
+ "image_footnote": [],
994
+ "bbox": [
995
+ 176,
996
+ 103,
997
+ 454,
998
+ 255
999
+ ],
1000
+ "page_idx": 7
1001
+ },
1002
+ {
1003
+ "type": "image",
1004
+ "img_path": "images/66596b6cf7d5d61afc0773e432d36885d11d8c1b6493b1dddbc53657d86ae861.jpg",
1005
+ "image_caption": [
1006
+ "Figure 3: Mean KL-divergence over validation set between softmax distributions of noised and unnoised models and lower order distributions. Noised model distributions are closer to the uniform and unigram frequency distributions. "
1007
+ ],
1008
+ "image_footnote": [],
1009
+ "bbox": [
1010
+ 524,
1011
+ 104,
1012
+ 803,
1013
+ 251
1014
+ ],
1015
+ "page_idx": 7
1016
+ },
1017
+ {
1018
+ "type": "text",
1019
+ "text": "We train a two-layer LSTM encoder-decoder network (Sutskever et al., 2014; Cho et al., 2014) with 512 hidden units in each layer. The decoder uses an attention mechanism (Bahdanau et al., 2014) with the dot alignment function (Luong et al., 2015). The initial learning rate is 1.0 and we start halving the learning rate when the relative difference in perplexity on the validation set between two consecutive epochs is less than $1 \\%$ . We follow training protocols as described in Sutskever et al. (2014): (a) LSTM parameters and word embeddings are initialized from a uniform distribution between $[ - 0 . 1 , 0 . 1 ]$ , (b) inputs are reversed, (c) batch size is set to 128, (d) gradient clipping is performed when the norm exceeds a threshold of 5. We set hidden unit dropout rate to 0.2 across all settings as suggested in Luong et al. (2015). We compare unigram, blank, and bigram Kneser-Ney noising. Noising rate $\\gamma$ is selected on the validation set. ",
1020
+ "bbox": [
1021
+ 173,
1022
+ 383,
1023
+ 825,
1024
+ 523
1025
+ ],
1026
+ "page_idx": 7
1027
+ },
1028
+ {
1029
+ "type": "text",
1030
+ "text": "Results are shown in Table 4. We observe performance gains for both blank noising and unigram noising, giving roughly $+ 0 . 7$ BLEU score on the test set. The proposed bigram Kneser-Ney noising scheme gives an additional performance boost of $+ 0 . 5 – 0 . 7$ on top of the blank noising and unigram noising models, yielding a total gain of $+ 1 . 4$ BLEU. ",
1031
+ "bbox": [
1032
+ 174,
1033
+ 530,
1034
+ 825,
1035
+ 587
1036
+ ],
1037
+ "page_idx": 7
1038
+ },
1039
+ {
1040
+ "type": "text",
1041
+ "text": "5 DISCUSSION ",
1042
+ "text_level": 1,
1043
+ "bbox": [
1044
+ 174,
1045
+ 627,
1046
+ 310,
1047
+ 645
1048
+ ],
1049
+ "page_idx": 7
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "5.1 SCALING $\\gamma$ VIA DISCOUNTING ",
1054
+ "text_level": 1,
1055
+ "bbox": [
1056
+ 176,
1057
+ 672,
1058
+ 426,
1059
+ 688
1060
+ ],
1061
+ "page_idx": 7
1062
+ },
1063
+ {
1064
+ "type": "text",
1065
+ "text": "We now examine whether discounting has the desired effect of noising subsequences according to their uncertainty. If we consider the discounting ",
1066
+ "bbox": [
1067
+ 174,
1068
+ 707,
1069
+ 823,
1070
+ 736
1071
+ ],
1072
+ "page_idx": 7
1073
+ },
1074
+ {
1075
+ "type": "equation",
1076
+ "img_path": "images/47c0323ecd79554a5f1c5395c87014c0e560225c8e275b0bb72df7cb9486da72.jpg",
1077
+ "text": "$$\n\\gamma _ { \\mathrm { A D } } ( x _ { 1 } ) = \\gamma _ { 0 } \\frac { N _ { 1 + } ( x _ { 1 } , \\bullet ) } { c ( x _ { 1 } ) }\n$$",
1078
+ "text_format": "latex",
1079
+ "bbox": [
1080
+ 408,
1081
+ 746,
1082
+ 588,
1083
+ 781
1084
+ ],
1085
+ "page_idx": 7
1086
+ },
1087
+ {
1088
+ "type": "text",
1089
+ "text": "we observe that the denominator $c ( x _ { 1 } )$ can dominate than the numerator $N _ { 1 + } ( x _ { 1 } , \\bullet )$ . Common tokens are often noised infrequently when discounting is used to rescale the noising probability, while rare tokens are noised comparatively much more frequently, where in the extreme case when a token appears exactly once, we have $\\gamma _ { \\mathrm { A D } } ~ = ~ \\gamma _ { 0 }$ . Due to word frequencies following a Zipfian power law distribution, however, common tokens constitute the majority of most texts, and thus discounting leads to significantly less noising. ",
1090
+ "bbox": [
1091
+ 173,
1092
+ 790,
1093
+ 825,
1094
+ 875
1095
+ ],
1096
+ "page_idx": 7
1097
+ },
1098
+ {
1099
+ "type": "text",
1100
+ "text": "We compare the performance of models trained with a fixed $\\gamma _ { 0 }$ versus a $\\gamma _ { 0 }$ rescaled using discounting. As shown in Figure 2, bigram discounting leads to gains in perplexity for a much broader range of $\\gamma _ { 0 }$ . Thus the discounting ratio seems to effectively capture the “right” tokens to noise. ",
1101
+ "bbox": [
1102
+ 174,
1103
+ 882,
1104
+ 823,
1105
+ 924
1106
+ ],
1107
+ "page_idx": 7
1108
+ },
1109
+ {
1110
+ "type": "table",
1111
+ "img_path": "images/3aaade1cbb46aa669668f26488ab20ff05510266f5c3d019e55c0935efcf7dbc.jpg",
1112
+ "table_caption": [],
1113
+ "table_footnote": [],
1114
+ "table_body": "<table><tr><td>Noising</td><td>Bigrams</td><td>Trigrams</td></tr><tr><td>none (dropout only)</td><td>2881</td><td>381</td></tr><tr><td>blank noising</td><td>2760</td><td>372</td></tr><tr><td>unigram noising</td><td>2612</td><td>365</td></tr></table>",
1115
+ "bbox": [
1116
+ 346,
1117
+ 101,
1118
+ 651,
1119
+ 172
1120
+ ],
1121
+ "page_idx": 8
1122
+ },
1123
+ {
1124
+ "type": "text",
1125
+ "text": "Table 5: Perplexity of last unigram for unseen bigrams and trigrams in Penn Treebank validation set. We compare noised and unnoised models with noising probabilities chosen such that models have near-identical perplexity on full validation set. ",
1126
+ "bbox": [
1127
+ 174,
1128
+ 189,
1129
+ 825,
1130
+ 231
1131
+ ],
1132
+ "page_idx": 8
1133
+ },
1134
+ {
1135
+ "type": "text",
1136
+ "text": "5.2 NOISED VERSUS UNNOISED MODELS ",
1137
+ "text_level": 1,
1138
+ "bbox": [
1139
+ 176,
1140
+ 261,
1141
+ 473,
1142
+ 275
1143
+ ],
1144
+ "page_idx": 8
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "Smoothed distributions In order to validate that data noising for RNN models has a similar effect to that of smoothing counts in $n$ -gram models, we consider three models trained with unigram noising as described in Section 4.1 on the Penn Treebank corpus with $\\gamma = 0$ (no noising), $\\gamma = 0 . 1$ , and $\\gamma = 0 . 2 5$ . Using the trained models, we measure the Kullback-Leibler divergence $D _ { \\mathrm { K L } } ( p \\Vert q ) =$ $\\textstyle \\sum _ { i } p _ { i } \\log ( p _ { i } / q _ { i } )$ over the validation set between the predicted softmax distributions, $\\hat { p }$ , and the uniform distribution as well as the unigram frequency distribution. We then take the mean KL divergence over all tokens in the validation set. ",
1149
+ "bbox": [
1150
+ 174,
1151
+ 287,
1152
+ 825,
1153
+ 386
1154
+ ],
1155
+ "page_idx": 8
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "text": "Recall that in interpolation smoothing, a weighted combination of higher and lower order $n$ -gram models is used. As seen in Figure 3, the softmax distributions of noised models are significantly closer to the lower order frequency distributions than unnoised models, in particular in the case of the unigram distribution, thus validating our analysis in Section 3.3. ",
1160
+ "bbox": [
1161
+ 174,
1162
+ 392,
1163
+ 825,
1164
+ 449
1165
+ ],
1166
+ "page_idx": 8
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "text": "Unseen $n$ -grams Smoothing is most beneficial for increasing the probability of unobserved sequences. To measure whether noising has a similar effect, we consider bigrams and trigrams in the validation set that do not appear in the training set. For these unseen bigrams (15062 occurrences) and trigrams (43051 occurrences), we measure the perplexity for noised and unnoised models with near-identical perplexity on the full set. As expected, noising yields lower perplexity for these unseen instances. ",
1171
+ "bbox": [
1172
+ 174,
1173
+ 467,
1174
+ 825,
1175
+ 551
1176
+ ],
1177
+ "page_idx": 8
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "text": "6 CONCLUSION ",
1182
+ "text_level": 1,
1183
+ "bbox": [
1184
+ 174,
1185
+ 574,
1186
+ 318,
1187
+ 590
1188
+ ],
1189
+ "page_idx": 8
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "In this work, we show that data noising is effective for regularizing neural network-based sequence models. By deriving a correspondence between noising and smoothing, we are able to adapt advanced smoothing methods for $n$ -gram models to the neural network setting, thereby incorporating well-understood generative assumptions of language. Possible applications include exploring noising for improving performance in low resource settings, or examining how these techniques generalize to sequence modeling in other domains. ",
1194
+ "bbox": [
1195
+ 174,
1196
+ 608,
1197
+ 825,
1198
+ 691
1199
+ ],
1200
+ "page_idx": 8
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "ACKNOWLEDGMENTS ",
1205
+ "text_level": 1,
1206
+ "bbox": [
1207
+ 176,
1208
+ 717,
1209
+ 356,
1210
+ 731
1211
+ ],
1212
+ "page_idx": 8
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "We thank Will Monroe for feedback on a draft of this paper, Anand Avati for help running experiments, and Jimmy Wu for computing support. We also thank the developers of Theano (Theano Development Team, 2016) and Tensorflow (Abadi et al., 2016). Some GPUs used in this work were donated by NVIDIA Corporation. ZX, SW, and JL were supported by an NDSEG Fellowship, NSERC PGS-D Fellowship, and Facebook Fellowship, respectively. This project was funded in part by DARPA MUSE award FA8750-15-C-0242 AFRL/RIKF. ",
1217
+ "bbox": [
1218
+ 174,
1219
+ 748,
1220
+ 825,
1221
+ 832
1222
+ ],
1223
+ "page_idx": 8
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "REFERENCES ",
1228
+ "text_level": 1,
1229
+ "bbox": [
1230
+ 176,
1231
+ 856,
1232
+ 285,
1233
+ 871
1234
+ ],
1235
+ "page_idx": 8
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "Martın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, et al. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467, 2016. ",
1240
+ "bbox": [
1241
+ 176,
1242
+ 882,
1243
+ 825,
1244
+ 924
1245
+ ],
1246
+ "page_idx": 8
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. arXiv preprint arXiv:1511.06464, 2015. ",
1251
+ "bbox": [
1252
+ 171,
1253
+ 103,
1254
+ 821,
1255
+ 132
1256
+ ],
1257
+ "page_idx": 9
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. ",
1262
+ "bbox": [
1263
+ 171,
1264
+ 142,
1265
+ 823,
1266
+ 171
1267
+ ],
1268
+ "page_idx": 9
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. In Neural Information Processing Systems (NIPS), 2015. ",
1273
+ "bbox": [
1274
+ 176,
1275
+ 180,
1276
+ 823,
1277
+ 223
1278
+ ],
1279
+ "page_idx": 9
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "Yoshua Bengio, Rejean Ducharme, Pascal Vincent, and Christian Jauvin. A neural probabilistic ´ language model. In Journal Of Machine Learning Research, 2003. ",
1284
+ "bbox": [
1285
+ 173,
1286
+ 233,
1287
+ 823,
1288
+ 262
1289
+ ],
1290
+ "page_idx": 9
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "Samuel R Bowman, Luke Vilnis, Oriol Vinyals, Andrew M Dai, Rafal Jozefowicz, and Samy Bengio. Generating sentences from a continuous space. arXiv preprint arXiv:1511.06349, 2015. ",
1295
+ "bbox": [
1296
+ 174,
1297
+ 271,
1298
+ 823,
1299
+ 301
1300
+ ],
1301
+ "page_idx": 9
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "Peter F Brown, Peter V Desouza, Robert L Mercer, Vincent J Della Pietra, and Jenifer C Lai. Classbased n-gram models of natural language. Computational linguistics, 1992. ",
1306
+ "bbox": [
1307
+ 173,
1308
+ 310,
1309
+ 823,
1310
+ 340
1311
+ ],
1312
+ "page_idx": 9
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "Stanley F Chen and Joshua Goodman. An empirical study of smoothing techniques for language modeling. In Association for Computational Linguistics (ACL), 1996. ",
1317
+ "bbox": [
1318
+ 173,
1319
+ 349,
1320
+ 823,
1321
+ 380
1322
+ ],
1323
+ "page_idx": 9
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Kyunghyun Cho, Bart Van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Hol- ¨ ger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. ",
1328
+ "bbox": [
1329
+ 174,
1330
+ 387,
1331
+ 823,
1332
+ 431
1333
+ ],
1334
+ "page_idx": 9
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "Andrew M Dai and Quoc V Le. Semi-supervised sequence learning. In Advances in Neural Information Processing Systems, pp. 3061–3069, 2015. ",
1339
+ "bbox": [
1340
+ 171,
1341
+ 440,
1342
+ 823,
1343
+ 470
1344
+ ],
1345
+ "page_idx": 9
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "Li Deng, Alex Acero, Mike Plumpe, and Xuedong Huang. Large-vocabulary speech recognition under adverse acoustic environments. In ICSLP, 2000. ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 479,
1353
+ 823,
1354
+ 508
1355
+ ],
1356
+ "page_idx": 9
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "Yarin Gal. A theoretically grounded application of dropout in recurrent neural networks. arXiv:1512.05287, 2015. ",
1361
+ "bbox": [
1362
+ 174,
1363
+ 518,
1364
+ 821,
1365
+ 547
1366
+ ],
1367
+ "page_idx": 9
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "Awni Hannun, Carl Case, Jared Casper, Bryan Catanzaro, Greg Diamos, et al. Deep speech: Scaling up end-to-end speech recognition. arXiv preprint arXiv:1412.5567, 2014. ",
1372
+ "bbox": [
1373
+ 176,
1374
+ 558,
1375
+ 821,
1376
+ 587
1377
+ ],
1378
+ "page_idx": 9
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 1997. ",
1383
+ "bbox": [
1384
+ 174,
1385
+ 595,
1386
+ 805,
1387
+ 611
1388
+ ],
1389
+ "page_idx": 9
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered compo- ´ sition rivals syntactic methods for text classification. In Association for Computatonal Linguistics (ACL), 2015. ",
1394
+ "bbox": [
1395
+ 174,
1396
+ 621,
1397
+ 825,
1398
+ 664
1399
+ ],
1400
+ "page_idx": 9
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "A. Krizhevsky, I. Sutskever, and G. E. Hinton. ImageNet Classification with Deep Convolutional Neural Networks. In NIPS, 2012. ",
1405
+ "bbox": [
1406
+ 171,
1407
+ 672,
1408
+ 823,
1409
+ 702
1410
+ ],
1411
+ "page_idx": 9
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "David Krueger and Roland Memisevic. Regularizing rnns by stabilizing activations. arXiv preprint arXiv:1511.08400, 2015. ",
1416
+ "bbox": [
1417
+ 171,
1418
+ 712,
1419
+ 823,
1420
+ 741
1421
+ ],
1422
+ "page_idx": 9
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "Ankit Kumar, Ozan Irsoy, Jonathan Su, James Bradbury, Robert English, Brian Pierce, Peter Ondruska, Ishaan Gulrajani, and Richard Socher. Ask me anything: Dynamic memory networks for natural language processing. arXiv preprint arXiv:1506.07285, 2015. ",
1427
+ "bbox": [
1428
+ 174,
1429
+ 751,
1430
+ 825,
1431
+ 795
1432
+ ],
1433
+ "page_idx": 9
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "Quoc V Le, Navdeep Jaitly, and Geoffrey E Hinton. A simple way to initialize recurrent networks of rectified linear units. arXiv preprint arXiv:1504.00941, 2015. ",
1438
+ "bbox": [
1439
+ 173,
1440
+ 804,
1441
+ 823,
1442
+ 833
1443
+ ],
1444
+ "page_idx": 9
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based Learning Applied to Document Recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ",
1449
+ "bbox": [
1450
+ 171,
1451
+ 842,
1452
+ 823,
1453
+ 872
1454
+ ],
1455
+ "page_idx": 9
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Minh-Thang Luong and Christopher D Manning. Stanford neural machine translation systems for spoken language domains. In Proceedings of the International Workshop on Spoken Language Translation, 2015. ",
1460
+ "bbox": [
1461
+ 174,
1462
+ 882,
1463
+ 825,
1464
+ 924
1465
+ ],
1466
+ "page_idx": 9
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "Minh-Thang Luong, Hieu Pham, and Christopher D. Manning. Effective approaches to attentionbased neural machine translation. In Empirical Methods in Natural Language Processing (EMNLP), 2015. ",
1471
+ "bbox": [
1472
+ 176,
1473
+ 103,
1474
+ 823,
1475
+ 146
1476
+ ],
1477
+ "page_idx": 10
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "text": "Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016. ",
1482
+ "bbox": [
1483
+ 173,
1484
+ 155,
1485
+ 823,
1486
+ 184
1487
+ ],
1488
+ "page_idx": 10
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "Toma´s Mikolov. ˇ Statistical language models based on neural networks. PhD thesis, PhD thesis, Brno University of Technology. 2012.[PDF], 2012. ",
1493
+ "bbox": [
1494
+ 171,
1495
+ 193,
1496
+ 823,
1497
+ 222
1498
+ ],
1499
+ "page_idx": 10
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting on association for computational linguistics, pp. 311–318. Association for Computational Linguistics, 2002. ",
1504
+ "bbox": [
1505
+ 176,
1506
+ 229,
1507
+ 823,
1508
+ 273
1509
+ ],
1510
+ "page_idx": 10
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "Vu Pham, Theodore Bluche, Christopher Kermorvant, and J ´ er´ ome Louradour. Dropout improves ˆ recurrent neural networks for handwriting recognition. In Frontiers in Handwriting Recognition (ICFHR), 2014 14th International Conference on, 2014. ",
1515
+ "bbox": [
1516
+ 176,
1517
+ 281,
1518
+ 821,
1519
+ 325
1520
+ ],
1521
+ "page_idx": 10
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "Stanislau Semeniuta, Aliaksei Severyn, and Erhardt Barth. Recurrent dropout without memory loss. arXiv preprint arXiv:1603.05118, 2016. ",
1526
+ "bbox": [
1527
+ 173,
1528
+ 333,
1529
+ 821,
1530
+ 363
1531
+ ],
1532
+ "page_idx": 10
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research, 2014. ",
1537
+ "bbox": [
1538
+ 173,
1539
+ 371,
1540
+ 823,
1541
+ 414
1542
+ ],
1543
+ "page_idx": 10
1544
+ },
1545
+ {
1546
+ "type": "text",
1547
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014. ",
1548
+ "bbox": [
1549
+ 171,
1550
+ 422,
1551
+ 821,
1552
+ 452
1553
+ ],
1554
+ "page_idx": 10
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "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. ",
1559
+ "bbox": [
1560
+ 174,
1561
+ 460,
1562
+ 823,
1563
+ 503
1564
+ ],
1565
+ "page_idx": 10
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "S. Wager, W. Fithian, S. I. Wang, and P. Liang. Altitude training: Strong bounds for single-layer dropout. In Advances in Neural Information Processing Systems (NIPS), 2014. ",
1570
+ "bbox": [
1571
+ 176,
1572
+ 511,
1573
+ 821,
1574
+ 541
1575
+ ],
1576
+ "page_idx": 10
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": "Stefan Wager, William Fithian, and Percy Liang. Data augmentation via levy processes. arXiv preprint arXiv:1603.06340, 2016. ",
1581
+ "bbox": [
1582
+ 174,
1583
+ 549,
1584
+ 821,
1585
+ 579
1586
+ ],
1587
+ "page_idx": 10
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "text": "Sida I Wang, Mengqiu Wang, Stefan Wager, Percy Liang, and Christopher D Manning. Feature noising for log-linear structured prediction. In Empirical Methods in Natural Language Processing (EMNLP), 2013. ",
1592
+ "bbox": [
1593
+ 173,
1594
+ 587,
1595
+ 823,
1596
+ 630
1597
+ ],
1598
+ "page_idx": 10
1599
+ },
1600
+ {
1601
+ "type": "text",
1602
+ "text": "Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. Recurrent neural network regularization. arXiv preprint arXiv:1409.2329, 2014. ",
1603
+ "bbox": [
1604
+ 171,
1605
+ 638,
1606
+ 823,
1607
+ 667
1608
+ ],
1609
+ "page_idx": 10
1610
+ },
1611
+ {
1612
+ "type": "text",
1613
+ "text": "Julian Georg Zilly, Rupesh Kumar Srivastava, Jan Koutn´ık, and Jurgen Schmidhuber. Recurrent ¨ highway networks. arXiv preprint arXiv:1607.03474, 2016. ",
1614
+ "bbox": [
1615
+ 168,
1616
+ 676,
1617
+ 823,
1618
+ 705
1619
+ ],
1620
+ "page_idx": 10
1621
+ },
1622
+ {
1623
+ "type": "text",
1624
+ "text": "A SKETCH OF NOISING ALGORITHM ",
1625
+ "text_level": 1,
1626
+ "bbox": [
1627
+ 176,
1628
+ 102,
1629
+ 496,
1630
+ 118
1631
+ ],
1632
+ "page_idx": 11
1633
+ },
1634
+ {
1635
+ "type": "text",
1636
+ "text": "We provide pseudocode of the noising algorithm corresponding to bigram Kneser-Ney smoothing for $n$ -grams (In the case of sequence-to-sequence tasks, we estimate the count-based parameters separately for source and target). To simplify, we assume a batch size of one. The noising algorithm is applied to each data batch during training. No noising is applied at test time. ",
1637
+ "bbox": [
1638
+ 174,
1639
+ 133,
1640
+ 825,
1641
+ 190
1642
+ ],
1643
+ "page_idx": 11
1644
+ },
1645
+ {
1646
+ "type": "table",
1647
+ "img_path": "images/ba25aa9492fc996e662fbbadff1ac3507e55932b0ceb6cf05e1b211c9da77e81.jpg",
1648
+ "table_caption": [],
1649
+ "table_footnote": [],
1650
+ "table_body": "<table><tr><td>Algorithm 1 Bigram KN noising (Language modeling setting)</td></tr><tr><td>Require counts c(x), number of distinct continuations N1+(x,·), proposal distribution q(x) N1+(.,x) Inputs X,Y batch of unnoised data indices, scaling factor γo</td></tr><tr><td>procedure NOISEBGKN(X, Y) &gt;X=(x1,...,xt),Y=(x2,...,xt+1)</td></tr><tr><td>X,Y←X,Y</td></tr><tr><td>for j = 1,...,t do γ ←γ0N1+(xj,·)/c(xj)</td></tr><tr><td>if ~ Bernoulli(~) then</td></tr><tr><td>xj~ Categorical(q) Updates X</td></tr><tr><td>yj~ Categorical(q)</td></tr><tr><td>end if</td></tr><tr><td>end for</td></tr><tr><td>return X, Y Run training iteration with noised batch</td></tr><tr><td>end procedure</td></tr></table>",
1651
+ "bbox": [
1652
+ 173,
1653
+ 202,
1654
+ 826,
1655
+ 444
1656
+ ],
1657
+ "page_idx": 11
1658
+ }
1659
+ ]
parse/train/H1VyHY9gg/H1VyHY9gg_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H1VyHY9gg/H1VyHY9gg_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/H1xPR3NtPB/H1xPR3NtPB.md ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ARE PRE-TRAINED LANGUAGE MODELS AWARE OFPHRASES? SIMPLE BUT STRONG BASELINES FORGRAMMAR INDUCTION
2
+
3
+ Taeuk $\mathbf { K i m ^ { 1 } }$ , Jihun Choi1, Daniel Edmiston2 & Sang-goo Lee1
4
+ 1Dept. of Computer Science and Engineering, Seoul National University, Seoul, Korea
5
+ 2Dept. of Linguistics, University of Chicago, Chicago, IL, USA
6
+ {taeuk,jhchoi,sglee}@europa.snu.ac.kr, danedmiston@uchicago.edu
7
+
8
+ # ABSTRACT
9
+
10
+ With the recent success and popularity of pre-trained language models (LMs) in natural language processing, there has been a rise in efforts to understand their inner workings. In line with such interest, we propose a novel method that assists us in investigating the extent to which pre-trained LMs capture the syntactic notion of constituency. Our method provides an effective way of extracting constituency trees from the pre-trained LMs without training. In addition, we report intriguing findings in the induced trees, including the fact that some pre-trained LMs outperform other approaches in correctly demarcating adverb phrases in sentences.
11
+
12
+ # 1 INTRODUCTION
13
+
14
+ Grammar induction, which is closely related to unsupervised parsing and latent tree learning, allows one to associate syntactic trees, i.e., constituency and dependency trees, with sentences. As grammar induction essentially assumes no supervision from gold-standard syntactic trees, the existing approaches for this task mainly rely on unsupervised objectives, such as language modeling (Shen et al., 2018b; 2019; Kim et al., 2019a;b) and cloze-style word prediction (Drozdov et al., 2019) to train their task-oriented models. On the other hand, there is a trend in the natural language processing (NLP) community of leveraging pre-trained language models (LMs), e.g., ELMo (Peters et al., 2018) and BERT (Devlin et al., 2019), as a means of acquiring contextualized word representations. These representations have proven to be surprisingly effective, playing key roles in recent improvements in various models for diverse NLP tasks.
15
+
16
+ In this paper, inspired by the fact that the training objectives of both the approaches for grammar induction and for training LMs are identical, namely, (masked) language modeling, we investigate whether pre-trained LMs can also be utilized for grammar induction/unsupervised parsing, especially without training. Specifically, we focus on extracting constituency trees from pre-trained LMs without fine-tuning or introducing another task-specific module, at least one of which is usually required in other cases where representations from pre-trained LMs are employed. This restriction provides us with some advantages: (1) it enables us to derive strong baselines for grammar induction with reduced time and space complexity, offering a chance to reexamine the current status of existing grammar induction methods, (2) it facilitates an analysis on how much and what kind of syntactic information each pre-trained LM contains in its intermediate representations and attention distributions in terms of phrase-structure grammar, and (3) it allows us to easily inject biases into our framework, for instance, to encourage the right-skewness of the induced trees, resulting in performance gains in English unsupervised parsing.
17
+
18
+ First, we briefly mention related work (§2). Then, we introduce the intuition behind our proposal in detail (§3), which is motivated by our observation that we can cluster words in a sentence according to the similarity of their attention distributions over words in the sentence. Based on this intuition, we define a straightforward yet effective method $( \ S 4 )$ of drawing constituency trees directly from pretrained LMs with no fine-tuning or addition of task-specific parts, instead resorting to the concept of Syntactic Distance (Shen et al., 2018a;b). Then, we conduct experiments (§5) on the induced constituency trees, discovering some intriguing phenomena. Moreover, we analyze the pre-trained
19
+
20
+ LMs and constituency trees from various points of view, including looking into which layer(s) of the LMs is considered to be sensitive to phrase information (§6).
21
+
22
+ To summarize, our contributions in this work are as follows:
23
+
24
+ • By investigating the attention distributions from Transformer-based pre-trained LMs, we show that there is evidence to suggest that several attention heads of the LMs exhibit syntactic structure akin to constituency grammar. Inspired by the above observation, we propose a method that facilitates the derivation of constituency trees from pre-trained LMs without training. We also demonstrate that the induced trees can serve as a strong baseline for English grammar induction. We inspect, in view of our framework, what type of syntactic knowledge the pre-trained LMs capture, discovering interesting facts, e.g., that some pre-trained LMs are more aware of adverb phrases than other approaches.
25
+
26
+ # 2 RELATED WORK
27
+
28
+ Grammar induction is a task whose goal is to infer from sequential data grammars which generalize, and are able to account for unseen data (Lari & Young (1990); Clark (2001); Klein & Manning (2002; 2004), to name a few). Traditionally, this was done by learning explicit grammar rules (e.g., context free rewrite rules), though more recent methods employ neural networks to learn such rules implicitly, focusing more on the induced grammars’ ability to generate or parse sequences.
29
+
30
+ Specifically, Shen et al. (2018b) proposed Parsing-Reading-Predict Network (PRPN) where the concept of Syntactic Distance is first introduced. They devised a neural model for language modeling where the model is encouraged to recognize syntactic structure. The authors also probed the possibility of inducing constituency trees without access to gold-standard trees by adopting an algorithm that recursively splits a sequence of words into two parts, the split point being determined according to correlated syntactic distances; the point having the biggest distance becomes the first target of division. Shen et al. (2019) presented a model called Ordered Neurons (ON), which is a revised version of LSTM (Long Short-Term Memory, Hochreiter & Schmidhuber (1997)) which reflects the hierarchical biases of natural language and can be used to compute syntactic distances. Shen et al. (2018a) trained a supervised parser relying on the concept of syntactic distance.
31
+
32
+ Other studies include Drozdov et al. (2019), who trained deep inside-outside recursive autoencoders (DIORA) to derive syntactic trees in an exhaustive way with the aid of the inside-outside algorithm, and Kim et al. (2019a) who proposed Compound Probabilistic Context-Free Grammars (compound PCFG), showing that neural PCFG models are capable of producing promising unsupervised parsing results. Li et al. (2019) proved that an ensemble of unsupervised parsing models can be beneficial, while Shi et al. (2019) utilized additional training signals from pictures related with input text. Dyer et al. (2016) proposed Recurrent Neural Network Grammars (RNNG) for both language modeling and parsing, and Kim et al. (2019b) suggested an unsupervised variant of the RNNG. There also exists another line of research on task-specific latent tree learning (Yogatama et al., 2017; Choi et al., 2018; Havrylov et al., 2019; Maillard et al., 2019). The goal here is not to construct linguistically plausible trees, but to induce trees fitted to improving target performance. Naturally, the induced performance-based trees need not resemble linguistically plausible trees, and some studies (Williams et al., 2018a; Nangia & Bowman, 2018) examined the apparent fact that performance-based and lingusitically plausible trees bear little resemblance to one another.
33
+
34
+ Concerning pre-trained language models (Peters et al. (2018); Devlin et al. (2019); Radford et al. (2019); Yang et al. (2019); Liu et al. (2019b), inter alia)—particularly those employing a Transformer architecture (Vaswani et al., 2017)—these have proven to be helpful for diverse NLP downstream tasks. In spite of this, there is no vivid picture for explaining what particular factors contribute to performance gains, even though some recent work has attempted to shed light on this question. In detail, one group of studies (Raganato & Tiedemann (2018); Clark et al. (2019); Ethayarajh (2019); Hao et al. (2019); Voita et al. (2019), inter alia) has focused on dissecting the intermediate representations and attention distributions of the pre-trained LMs, while the another group of publications (Marecek & Rosa (2018); Goldberg (2019); Hewitt & Manning (2019); Liu et al. (2019a); Rosa & ˇ Marecek (2019), to name a few) delve into the question of the existence of syntactic knowledge in ˇ
35
+
36
+ ![](images/6b59545393c8be32c7e4710ab90ef69ecbf77cabd130491c54d540a4d216ac52.jpg)
37
+ Figure 1: Self-attention heatmaps from two different pre-trained LMs. (Left) A heatmap for the average of attention distributions from the 7th layer of the XLNet-base (Yang et al., 2019) model given the sample sentence. (Right) A heatmap for the average of attention distributions from the 9th layer of the BERT-base (Devlin et al., 2019) model given another sample sentence. We can easily spot the chunks of words on the two heatmaps that are correlated with the constituents of the input sentences, e.g., (Left) ‘the price of plastics’, ‘took off in 1987’, ‘Quantum Chemical Corp.’, (Right) ‘when price increases can be sustained’, and ‘he remarks’.
38
+
39
+ Transformer-based models. Particularly, Marecek & Rosa (2019) proposed an algorithm for extract- ˇ ing constituency trees from Transformers trained for machine translation, which is similar to our approach.
40
+
41
+ # 3 MOTIVATION
42
+
43
+ As pioneers in the literature have pointed out, the multi-head self-attention mechanism (Vaswani et al., 2017) is a key component in Transformer-based language models, and it seems this mechanism empowers the models to capture certain semantic and syntactic information existing in natural language. Among a diverse set of knowledge they may capture, in this work we concentrate on phrase-structure grammar by seeking to extract constituency trees directly from their attention information and intermediate weights.
44
+
45
+ In preliminary experiments, where we manually visualize and investigate the intermediate representations and attention distributions of several pre-trained LMs given input, we have found some evidence which suggests that the pre-trained LMs exhibit syntactic structure akin to constituency grammar in some degree. Specifically, we have noticed some patterns which are often displayed in self-attention heatmaps as explicit horizontal lines, or groups of rectangles of various sizes. As an attention distribution of a word in an input sentence corresponds to a row in a heatmap matrix, we can say that the appearance of these patterns indicates the existence of groups of words where the attention distributions of the words in the same group are relatively similar. Interestingly, we have also discovered the fact that the groups of words we observed are fairly correlated with the constituents of the input sentence, as shown in Figure 1 (above) and Figure 3 (in Appendix A.1).
46
+
47
+ Even though we have identified some patterns which match with the constituents of sentences, it is not enough to conclude that the pre-trained LMs are aware of syntactic phrases as found in phrasestructure grammars. To demonstrate the claim, we attempt to obtain constituency trees in a zero-shot learning fashion, relying only on the knowledge from the pre-trained LMs. To this end, we suggest the following, inspired from our finding: two words in a sentence are syntactically close to each other (i.e., the two words belong to the same constituent) if their attention distributions over words in the sentence are also close to each other. Note that this implicitly presumes that each word is more likely to attend more on the words in the same constituent to enrich its representation in the pre-trained LMs. Finally, we utilize the assumption to compute syntactic distances between each pair of adjacent words in a sentence, from which the corresponding constituency tree can be built.
48
+
49
+ # 4 PROPOSED METHOD
50
+
51
+ # 4.1 SYNTACTIC DISTANCE AND TREE CONSTRUCTION
52
+
53
+ We leverage the concept of Syntactic Distance proposed by Shen et al. (2018a;b) to draw constituency trees from raw sentences in an intuitive way. Formally, given a sequence of words in a sentence, $w _ { 1 } , w _ { 2 } , \ldots , w _ { n }$ , we compute $\mathbf { d } = [ d _ { 1 } , d _ { 2 } , \dots , d _ { n - 1 } ]$ where $d _ { i }$ corresponds to the syntactic distance between $w _ { i }$ and $w _ { i + 1 }$ . Each $d _ { i }$ is defined as follows:
54
+
55
+ $$
56
+ d _ { i } = f ( g ( w _ { i } ) , g ( w _ { i + 1 } ) ) ,
57
+ $$
58
+
59
+ where $f ( \cdot , \cdot )$ and $g ( \cdot )$ are a distance measure function and representation extractor function, respectively. The function $g$ converts each word into the corresponding vector representation, while $f$ computes the syntactic distance between the two words given their representations. Once $\mathbf { d }$ is derived, it can be easily converted into the target constituency tree by a simple algorithm following Shen et al. (2018a).1 For details of the algorithm, we refer the reader to Appendix A.2.
60
+
61
+ Although previous studies attempted to explicitly train the functions $f$ and $g$ with supervision (with access to gold-standard trees, Shen et al. (2018a)) or to obtain them as a by-product of training particular models that are carefully designed to recognize syntactic information (Shen et al., 2018b; 2019), in this work we stick to simple distance metric functions for $f$ and pre-trained LMs for $g$ , forgoing any training process. In other words, we focus on investigating the possibility of pre-trained LMs possessing constituency information in a form that can be readily extracted with straightforward computations. If the trees induced by the syntactic distances derived from the pre-trained LMs are similar enough to gold-standard syntax trees, we can reasonably claim that the LMs resemble phrase-structure.
62
+
63
+ # 4.2 PRE-TRAINED LANGUAGE MODELS
64
+
65
+ We consider four types of recently proposed language models. These are: BERT (Devlin et al., 2019), GPT-2 (Radford et al., 2019), RoBERTa (Liu et al., 2019b), and XLNet (Yang et al., 2019). They all have in common that they are based on the Transformer architecture and have been proven to be effective in natural language understanding (Wang et al., 2019) or generation. We handle two variants for each LM, varying in the number of layers, attention heads, and hidden dimensions, resulting in eight different cases in total. In particular, each LM has two variants. (1) base: consists of $l { = } 1 2$ layers, $a { = } 1 2$ attention heads, and $d { = } 7 6 8$ hidden dimensions, while (2) large: has $l { = } 2 4$ layers, $a { = } 1 6$ attention heads, and $d { = } 1 0 2 4$ hidden dimensions.2 We deal with a wide range of pre-trained LMs, unlike previous work which has mostly analyzed a specific model, particularly BERT. For details about each LM, we refer readers to the respective original papers.
66
+
67
+ In terms of our formulation, each LM instance provides two categories of representation extractor functions, $G ^ { v }$ and $G ^ { d }$ . Specifically, $G ^ { v }$ refers to a set of functions $\{ g _ { j } ^ { v } | j = 1 , \ldots , l \}$ , each of which simply outputs the intermediate hidden representation of a given word on the $j$ th layer of the LM. Likewise, $\dot { G } ^ { d }$ is a set of functions $\{ g _ { ( j , k ) } ^ { d } | \bar { j } = 1 , \ldots , l , k = 1 , \ldots , a + 1 \}$ , each of which outputs the attention distribution of an input word by the $k$ th attention head on the $j$ th layer of the LM. Even though our main motivation comes from the self-attention mechanism, we also deal with the intermediate hidden representations present in the pre-trained LMs by introducing $G ^ { v }$ , considering that the hidden representations serve as storage of collective information taken from the processing of the pre-trained LMs. Note that $k$ ranges up to $a + 1$ , not $a$ , implying that we consider the average of all attention distributions on the same layer in addition to the individual ones. This averaging function can be regarded as an ensemble of other functions in the layer which are specialized for different aspects of information, and we expect that this technique will provide a better option in some cases as reported in previous work (Li et al., 2019).
68
+
69
+ One remaining issue is that all the pre-trained LMs we use regard each input sentence as a sequence of subword tokens, while our formulation assumes words cannot be further divided into smaller tokens. To resolve this difference, we tested certain heuristics that guide how subword tokens for a complete word should be exploited to represent the word, and we have empirically found that the best result comes when each word is represented by an average of the representations of its subwords.3 Therefore, we adopt the above heuristic in this work for cases where a word is tokenized into more than two parts.
70
+
71
+ # 4.3 DISTANCE MEASURE FUNCTIONS
72
+
73
+ For the distance measure function $f$ , we prepare three options $( F ^ { v } )$ for $G ^ { v }$ and two options $( F ^ { d } )$ for $G ^ { d }$ . Formally, $f \in F ^ { v } \cup F ^ { d }$ , where $F ^ { v } = \{ \mathbf { C O S } , \mathbf { L 1 } , \mathbf { L 2 } \}$ , $F ^ { d } = \{ \mathrm { J S D } , \mathrm { H E L } \}$ . COS, L1, L2, JSD, and HEL correspond to Cosine, L1, and L2, Jensen-Shannon, and Hellinger distance respectively. The functions in $F ^ { v }$ are only compatible with the elements of $G ^ { v }$ , and the same holds for $F ^ { d }$ and $G ^ { d }$ . The exact definition of each function is listed in Appendix A.3.
74
+
75
+ # 4.4 INJECTING BIAS INTO SYNTACTIC DISTANCES
76
+
77
+ One of the main advantages we obtain by leveraging syntactic distances to derive parse trees is that we can easily inject inductive bias into our framework by simply modifying the values of the syntactic distances. Hence, we investigate whether the extracted trees from our method can be further refined with the aid of additional biases. To this end, we introduce a well-known bias for English constituency trees—the right-skewness bias—in a simple linear form.4 Namely, our intention is to influence the induced trees such that they are moderately right-skewed following the nature of gold-standard parse trees in English.
78
+
79
+ Formally, we compute $\hat { d } _ { i }$ by appending the following linear bias term to every $d _ { i }$
80
+
81
+ $$
82
+ \hat { d } _ { i } = d _ { i } + \lambda \cdot \mathrm { A V G } ( \mathbf { d } ) \times ( 1 - 1 / ( m - 1 ) \times ( i - 1 ) ) ,
83
+ $$
84
+
85
+ where $\operatorname { A V G } ( \cdot )$ outputs an average of all elements in a vector, $\lambda$ is a hyperparameter, and $i$ ranges from 1 to $m = n - 1$ . We write $\hat { \mathbf { d } } = [ \hat { d } _ { 1 } , \hat { d } _ { 2 } , \dots , \hat { d } _ { m } ]$ in place of $\mathbf { d }$ to signify biased syntactic distances.
86
+
87
+ The main purpose of introducing such a bias is examining what changes are made to the resulting tree structures rather than boosting quantitative performance per $s e$ , though it is of note that it serves this purpose as well. We believe that this additional consideration is necessary based on two points. First, English is what is known as a head-initial language. That is, given a selector and argument, the selector has a strong tendency to appear on the left, e.g., ‘eat food’, or ‘to Canada’. Head-initial languages therefore have an in-built preference for right-branching structures. By adjusting the bias injected into syntactic distances derived from pre-trained LMs, we can figure out whether the LMs are capable of inducing the right-branching bias, which is one of the main properties of English syntax; if injecting the bias does not influence the performance of the LMs on unsupervised parsing, we can conjecture they are inherently capturing the bias to some extent. Second, as mentioned before, we have witnessed some previous work (Shen et al., 2018b; 2019; Htut et al., 2018; Li et al., 2019; Shi et al., 2019) where the right-skewness bias is implicitly exploited, although it could be regarded as not ideal. What we intend to focus on is the question about which benefits the bias provides for such parsing models, leading to overall performance improvements. In other words, we look for what the exact contribution of the bias is when it is injected into grammar induction models, by explicitly controlling the bias using our framework.
88
+
89
+ # 5 EXPERIMENTS
90
+
91
+ # 5.1 GENERAL SETTINGS
92
+
93
+ # 5.1.1 DATASETS
94
+
95
+ In this section, we conduct unsupervised constituency parsing on two datasets. The first dataset is WSJ Penn Treebank (PTB, Marcus et al. (1993)), in which human-annotated gold-standard trees are available. We use the standard split of the dataset—2-21 for training, 22 for validation, and 23 for test. The second one is MNLI (Williams et al., 2018b), which is originally designed to test natural language inference but often utilized as a means of evaluating parsers. It contains constituency trees produced by an external parser (Klein & Manning, 2003). We leverage the union of two different versions of the MNLI development set as test data following convention (Htut et al., 2018; Drozdov et al., 2019), and we call it the MNLI test set in this paper. Moreover, we randomly sample 40K sentences from the training set of the MNLI to utilize them as a validation set. To preprocess the datasets, we follow the setting of Kim et al. (2019a) with the minor exceptions that words are not lower-cased and number characters are preserved instead of being substituted by a special character.
96
+
97
+ # 5.1.2 IMPLEMENTATION DETAILS
98
+
99
+ For implementation, to compare pre-trained LMs in an unified manner, we resort to an integrated PyTorch codebase that supports all the models we consider.5 For each LM, we tune the best combination of $f$ and $g$ functions using the validation set. Then, we derive a set of $\mathbf { d }$ for sentences in the test set using the chosen functions, followed by the resulting constituency trees converted from each d by the tree construction algorithm in Section 4.1. In addition to sentence-level F1 (S-F1) score, we report label recall scores for six main categories: SBAR, NP, VP, PP, ADJP, and ADVP. We also present the results of utilizing $\hat { \mathbf { d } }$ instead of $\mathbf { d }$ , empirically setting the bias hyperparameter $\lambda$ as 1.5. We do not fine-tune the LMs on domain-specific data, as we here focus on finding their universal characteristics.
100
+
101
+ We take four na¨ıve baselines into account, random (averaged over 5 trials), balanced, left-branching, and right-branching binary trees. In addition, we present two more baselines which are identical to our models except that their $g$ functions are based on a randomly initialized XLNet-base rather than pre-trained ones. To be concrete, We provide ‘Random XLNet-base $( F ^ { v } ) ^ { : }$ ’ which applies the functions in $F ^ { v }$ on random hidden representations and ‘Random XLNet-base $( F ^ { d } )$ ’ that utilizes the functions in $F ^ { d }$ and random attention distributions, respectively. Considering the randomness of initialization and possible choices for $f$ , the final score for each of the baselines is calculated as an average over 5 trials of each possible $f$ , i.e., an average over $5 \times 3$ runs in case of $F ^ { v }$ and $5 \times 2$ runs for $F ^ { d }$ . These baselines enable us to estimate the exact advantage we obtain by pre-training LMs, effectively removing additional unexpected gains that may exist. Furthermore, we compare our parse trees against ones from existing grammar induction models.
102
+
103
+ All scripts used in our experiments will be publicly available for reproduction and further analysis.6
104
+
105
+ # 5.2 EXPERIMENTAL RESULTS ON PTB
106
+
107
+ In Table 1, we report the results of the various models on the PTB test set. First of all, our method combined with pre-trained LMs shows competitive or comparable results in terms of S-F1 even without the right-skewness bias. This result implies that the extracted trees from our method can be regarded as a baseline for English grammar induction. Moreover, pre-trained LMs show substantial improvements over Random Transformers (XLNet-base), demonstrating that training language models on large corpora, in fact, enables the LMs to be more aware of syntactic information.
108
+
109
+ When the right-skewness bias is applied to syntactic distances derived from pre-trained LMs, the S-F1 scores of the LMs increase by up to ten percentage points. This improvement indicates that the pre-trained LMs do not properly capture the largely right-branching nature of English syntax, at least when observed through the lens of our framework. By explicitly controlling the bias through our framework and observing the performance gap between our models with and without the bias, we confirm that the main contribution of the bias comes from its capability to capture subordinate clauses (SBAR) and verb phrases (VP). This observation provides a hint for what some previous work on unsupervised parsing desired to obtain by introducing the bias to their models. It is intriguing to see that all of the existing grammar induction models are inferior to the right-branching baseline in recognizing SBAR and VP (although some of them already utilized the right-skewness bias), implying that the same problem—models do not properly capture the right-branching nature— may also exist in current grammar induction models. One possible assumption is that the models do not need the bias to perform well in language modeling, although future work should provide a rigorous analysis about the phenomenon.
110
+
111
+ Table 1: Results on the PTB test set. Bold numbers correspond to the top 3 results for each column. L: layer number, A: attention head number (AVG: the average of all attentions). $\dagger$ : Results reported by Kim et al. (2019a). $\ddagger$ : Approaches in which COO parser is utilized.
112
+
113
+ <table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random Trees</td><td></td><td>=</td><td></td><td>18.1</td><td>8%</td><td>23%</td><td>12%</td><td>18%</td><td>23%</td><td>28%</td></tr><tr><td>Balanced Trees</td><td></td><td>=</td><td>=</td><td>18.5</td><td>7%</td><td>27%</td><td>8%</td><td>18%</td><td>27%</td><td>25%</td></tr><tr><td>Left Branching Trees</td><td></td><td></td><td></td><td>8.7</td><td>5%</td><td>11%</td><td>0%</td><td>5%</td><td>2%</td><td>8%</td></tr><tr><td>Right Branching Trees</td><td></td><td></td><td></td><td>39.4</td><td>68%</td><td>24%</td><td>71%</td><td>42%</td><td>27%</td><td>38%</td></tr><tr><td>Random XLNet-base (F)</td><td></td><td></td><td></td><td>19.6</td><td>9%</td><td>26%</td><td>12%</td><td>20%</td><td>23%</td><td>24%</td></tr><tr><td>Random XLNet-base (Fd)</td><td></td><td></td><td></td><td>20.1</td><td>11%</td><td>25%</td><td>14%</td><td>19%</td><td>22%</td><td>26%</td></tr><tr><td>Pre-trainedLMs (w/o bias)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>JSD</td><td>9</td><td>AVG</td><td>32.4</td><td>28%</td><td>42%</td><td>28%</td><td>31%</td><td>35%</td><td>63%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>17</td><td>AVG</td><td>34.2</td><td>34%</td><td>43%</td><td>27%</td><td>39%</td><td>37%</td><td>57%</td></tr><tr><td>GPT2</td><td>JSD</td><td>9</td><td>1</td><td>37.1</td><td>32%</td><td>47%</td><td>27%</td><td>55%</td><td>27%</td><td>36%</td></tr><tr><td>GPT2-medium</td><td>JSD</td><td>10</td><td>13</td><td>39.4</td><td>41%</td><td>51%</td><td>21%</td><td>67%</td><td>33%</td><td>44%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>9</td><td>4</td><td>33.8</td><td>40%</td><td>38%</td><td>33%</td><td>43%</td><td>42%</td><td>57%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>14</td><td>5</td><td>34.1</td><td>29%</td><td>46%</td><td>30%</td><td>37%</td><td>28%</td><td>40%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>9</td><td>AVG</td><td>40.1</td><td>35%</td><td>56%</td><td>26%</td><td>38%</td><td>47%</td><td>68%</td></tr><tr><td>XLNet-large</td><td>L2</td><td>11</td><td>-</td><td>38.1</td><td>36%</td><td>51%</td><td>26%</td><td>41%</td><td>45%</td><td>69%</td></tr><tr><td>Pre-trainedLMs (w/bias入=1.5)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>9</td><td>AVG</td><td>42.3</td><td>45%</td><td>46%</td><td>49%</td><td>43%</td><td>41%</td><td>65%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>17</td><td>AVG</td><td>44.4</td><td>55%</td><td>48%</td><td>48%</td><td>52%</td><td>41%</td><td>62%</td></tr><tr><td>GPT2</td><td>JSD</td><td>9</td><td>1</td><td>41.3</td><td>43%</td><td>49%</td><td>38%</td><td>58%</td><td>27%</td><td>43%</td></tr><tr><td>GPT2-medium</td><td>HEL</td><td>2</td><td>1</td><td>42.3</td><td>54%</td><td>50%</td><td>39%</td><td>56%</td><td>24%</td><td>41%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>8</td><td>AVG</td><td>42.1</td><td>51%</td><td>44%</td><td>44%</td><td>55%</td><td>40%</td><td>66%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>12</td><td>AVG</td><td>42.3</td><td>40%</td><td>50%</td><td>43%</td><td>44%</td><td>48%</td><td>56%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>7</td><td>AVG</td><td>48.3</td><td>62%</td><td>53%</td><td>50%</td><td>58%</td><td>49%</td><td>74%</td></tr><tr><td>XLNet-large</td><td>HEL</td><td>11</td><td>AVG</td><td>46.7</td><td>57%</td><td>50%</td><td>54%</td><td>50%</td><td>57%</td><td>73%</td></tr><tr><td>Other models</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>PRPN(tuned)† ‡</td><td></td><td></td><td>=</td><td>47.3</td><td>50%</td><td>59%</td><td>46%</td><td>57%</td><td>44%</td><td>32%</td></tr><tr><td>ON(tuned)† ‡</td><td></td><td></td><td></td><td>48.1</td><td>51%</td><td>64%</td><td>41%</td><td>54%</td><td>38%</td><td>31%</td></tr><tr><td>Neural PCFG†</td><td></td><td></td><td></td><td>50.8</td><td>52%</td><td>71%</td><td>33%</td><td>58%</td><td>32%</td><td>45%</td></tr><tr><td>Compound PCFG+</td><td>=</td><td>=</td><td>=</td><td>55.2</td><td>56%</td><td>74%</td><td>41%</td><td>68%</td><td>40%</td><td>52%</td></tr></table>
114
+
115
+ On the other hand, the existing models show exceptionally high recall scores on noun phrases (NP), even though our pre-trained LMs also have success to some extent in capturing noun phrases compared to na¨ıve baselines. From this, we conjecture that neural models trained with a language modeling objective become largely equipped with the ability to understand the concept of NP. In contrast, the pre-trained LMs record the best recall scores on adjective and adverb phrases (ADJP and ADVP), suggesting that the LMs and existing models capture disparate aspects of English syntax to differing degrees. To further explain why some pre-trained LMs are good at capturing ADJPs and ADVPs, we manually investigated the attention heatmaps of the sentences that contain ADJPs or ADVPs. From the inspection, we empirically found that there are some keywords—including ‘two’, ‘ago’, ‘too’, and ‘far’—which have different patterns of attention distributions compared to those of their neighbors and that these keywords can be a clue for our framework to recognize the existence of ADJPs or ADJPs. It is also worth mentioning that ADJPs and ADVPs consist of a relatively smaller number of words than those of SBAR and VP, indicating that the LMs combined with our method have strength in correctly finding small chunks of words, i.e., low-level phrases.
116
+
117
+ Meanwhile, in comparison with other LM models, GPT-2 and XLNet based models demonstrate their effectiveness and robustness in unsupervised parsing. Particularly, the XLNet-base model serves as a robust baseline achieving the top performance among LM candidates. One plausible explanation for this outcome is that the training objective of XLNet, which considers both autoencoding (AE) and autoregressive (AR) features, might encourage the model to be better aware of phrase structure than other LMs. Another possible hypothesis is that AR objective functions (e.g., typical language modeling) are more effective in training syntax-aware neural models than AE objectives (e.g., masked language modeling), as both GPT-2 and XLNet are pre-trained on AR variants. However, it is hard to conclude what factors contribute to their high performance at this stage.
118
+
119
+ ![](images/d982602134138e02110915208629d6ca404a31eb2399467fa65e34bb481667ef.jpg)
120
+ Figure 2: The best layer-wise S-F1 scores of each LM instance on the PTB test set. (Left) The performance of the X-‘base’ models. (Right) The performance of the X-‘large’ models.
121
+
122
+ Interestingly, there is an obvious trend that the functions in $F ^ { d } .$ —the distance measure functions for attention distributions—lead most of the LM instances to the best parsing results, indicating that deriving parse trees from attention information can be more compact and efficient than extracting them from the LMs’ intermediate representations, which should contain linguistic knowledge beyond phrase structure. In addition, the results in Table 1 show that large parameterizations of the LMs generally increase their parsing performance, but this improvement is not always guaranteed. Meanwhile, as we expected in Section 4.2 and as seen in the $\mathbf { \^ A }$ (attention head number) column of Table 1, the average of attention distributions in the same layer often provides better results than individual attention distributions.
123
+
124
+ # 5.3 EXPERIMENTAL RESULTS ON MNLI
125
+
126
+ We present the results of various models on the MNLI test set in Table 3 of Appendix A.5. We observe trends in the results which mainly coincide with those of the PTB dataset. Particularly, (1) right-branching trees are strong baselines for the task, especially showing their strengths in capturing SBAR and VP clauses/phrases, (2) our method resorting to the LM instances is also comparable to the right-branching trees, demonstrating its superiority in recognizing different aspects of phrase categories including prepositional phrases (PP) and adverb phrases (ADVP), and (3) attention distributions seem more effective for distilling the phrase structures of sentences than intermediate representations.
127
+
128
+ However, there are some issues worth mentioning. First, the right-branching baseline seems to be even stronger in the case of MNLI, recording a score of over 50 in sentence-level F1. We conjecture that this result comes principally from two reasons: (1) the average length of sentences in MNLI is much shorter than in PTB, giving a disproportionate advantage to na¨ıve baselines, and (2) our data preprocessing, which follows Kim et al. (2019a), removes all punctuation marks, unlike previous work (Htut et al., 2018; Drozdov et al., 2019), leading to an unexpected advantage for the rightbranching scheme. Moreover, it deserves to consider the fact that the gold-standard parse trees in MNLI are not human-annotated, rather automatically generated.
129
+
130
+ Second, in terms of consistency in identifying the best choice of $f$ and $g$ for each LM, we observe that most of the best combinations of $f$ and $g$ tuned for PTB do not correspond well to the best ones for MNLI. Does this observation imply that a specific combination of these functions and the resulting performance do not generalize well across different data domains? To clarify, we manually investigated the performance of some combinations of $f$ and $g$ , which are tuned on PTB but tested on MNLI instead. As a result, we discover that particular combinations of $f$ and $g$ which are good at PTB are also competitive on MNLI, even though they fail to record the best scores on MNLI.
131
+
132
+ Table 2: Results of training a pseudo-optimum $f _ { \mathrm { i d e a l } }$ with PTB and XLNet-base model.
133
+
134
+ <table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines (from Table1)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random XLNet-base (F)</td><td>1</td><td></td><td>-</td><td>19.6</td><td>9%</td><td>26%</td><td>12%</td><td>20%</td><td>23%</td><td>24%</td></tr><tr><td>Random XLNet-base (Fd)</td><td></td><td>1</td><td>-</td><td>20.1</td><td>11%</td><td>25%</td><td>14%</td><td>19%</td><td>22%</td><td>26%</td></tr><tr><td>XLNet-base (入=0)</td><td>JSD</td><td>9</td><td>AVG</td><td>40.1</td><td>35%</td><td>56%</td><td>26%</td><td>38%</td><td>47%</td><td>68%</td></tr><tr><td>XLNet-base (入=1.5)</td><td>HEL</td><td>7</td><td>AVG</td><td>48.3</td><td>62%</td><td>53%</td><td>50%</td><td>58%</td><td>49%</td><td>74%</td></tr><tr><td>Trained models(w/gold trees)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random XLNet-base</td><td>fideal</td><td>-</td><td>=</td><td>41.2</td><td>28%</td><td>58%</td><td>29%</td><td>50%</td><td>35%</td><td>41%</td></tr><tr><td>XLNet-base (worst case)</td><td>fideal</td><td>1</td><td>-</td><td>58.0</td><td>47%</td><td>75%</td><td>56%</td><td>71%</td><td>50%</td><td>61%</td></tr><tr><td>XLNet-base (best case)</td><td>fideal</td><td>7</td><td>=</td><td>65.1</td><td>61%</td><td>82%</td><td>67%</td><td>78%</td><td>55%</td><td>73%</td></tr></table>
135
+
136
+ Concretely, the union of $f ^ { d } ( \mathrm { J S D } )$ and $g _ { ( 9 , 1 3 ) } ^ { d }$ —the best duo for the XLNet-base on PTB—achieves 39.2 in sentence-level F1 on MNLI, which is very close to the top performance (39.3) we can obtain when leveraging the XLNet-base. It is also worth noting that GPT-2 and XLNet are efficient in capturing PP and ADVP respectively, regardless of the data domain and the choice of $f$ and $g$ .
137
+
138
+ # 6 FURTHER ANALYSIS
139
+
140
+ # 6.1 PERFORMANCE COMPARISON BY LAYER
141
+
142
+ To take a closer look at how different the layers of the pre-trained LMs are in terms of parsing performance, we retrieve the best sentence-level F1 scores from the lth layer of an LM from all combinations of $f$ and $g _ { l }$ , with regard to the PTB and MNLI respectively. Then we plot the scores as graphs in Figure 2 for the PTB and Figure 4 in Appendix A.4 for the MNLI. Each score is from the models to which the bias is not applied.
143
+
144
+ From the graphs, we observe several patterns. First, XLNet-based models outperform other competitors across most of the layers. Second, the best outcomes are largely shown in the middle layers of the LMs akin to the observation from Shen et al. (2019), except for some cases where the first layers (especially in case of MNLI) record the best. Interestingly, GPT-2 shows a decreasing trend in its output values as the layer becomes high, while other models generally exhibit the opposite pattern. Moreover, we discover from raw statistics that regardless of the choice of $f$ and $g _ { l }$ , the parsing performance reported as S-F1 is moderately correlated with the layer number l. In other words, it seems that there are some particular layers in the LMs which are more sensitive to syntactic information.
145
+
146
+ # 6.2 ESTIMATING THE UPPER LIMIT OF DISTANCE MEASURE FUNCTIONS
147
+
148
+ Although we have introduced effective candidates for $f$ , we explore the potential of extracting more sophisticated trees from pre-trained LMs, supposing we are equipped with a pseudo-optimum $f$ , call it $f _ { \mathrm { i d e a l } }$ . To obtain $f _ { \mathrm { i d e a l } }$ , we train a simple linear layer on each layer of the pre-trained LMs with supervision from the gold-standard trees of the PTB training set, while $g$ remains unchanged—the pre-trained LMs are frozen during training. We choose the XLNet-base model as a representative for the pre-trained LMs. For more details about experimental settings, refer to Appendix A.6.
149
+
150
+ In Table 2, we present three new results using $f _ { \mathrm { i d e a l } }$ . As a baseline, we report the performance of $f _ { \mathrm { i d e a l } }$ with a randomly initialized XLNet-base. Then, we list the worst and best result of $f _ { \mathrm { i d e a l } }$ according to $g$ , when it is combined with the pre-trained LM. We here mention some findings from the experiment. First, comparing the results with the pre-trained LM against one with the random LM, we reconfirm that pre-training an LM apparently enables the model to capture some aspects of grammar. Specifically, our method is comparable to the linear model trained on the gold-standard trees. Second, we find that there is a tendency for the performance of $f _ { \mathrm { i d e a l } }$ relying on different LM layers to follow one we already observed in Section 6.1—the best result comes from the middle layers of the LM while the worst from the first and last layer. Third, we identify that the LM has a potential to show improved performance on grammar induction by adopting a more sophisticated $f$ . However, we emphasize that our method equipped with a simple $f$ without gold-standard trees is remarkably reasonable in recognizing constituency grammar, being especially good at catching ADJP and ADVP.
151
+
152
+ # 6.3 CONSTITUENCY TREE EXAMPLES
153
+
154
+ We visualize several gold-standard trees from PTB and the corresponding tree predictions for comparison. For more details, we refer readers to Appendix A.7.
155
+
156
+ # 7 CONCLUSIONS AND FUTURE WORK
157
+
158
+ In this paper, we propose a simple but effective method of inducing constituency trees from pretrained language models in a zero-shot learning fashion. Furthermore, we report a set of intuitive findings observed from the extracted trees, demonstrating that the pre-trained LMs exhibit some properties similar to constituency grammar. In addition, we show that our method can serve as a strong baseline for English grammar induction when combined with (or even without) appropriate linguistic biases.
159
+
160
+ On the other hand, there are still remaining issues that can be good starting points for future work. First, although we analyzed our method based on two popular datasets, we focused only on English grammar induction. As each language has its own properties (and correspondingly would need individualized biases), it is desirable to expand this work to other languages. Second, it would also be desirable to investigate whether further improvements can be achieved by directly grafting the pre-trained LMs onto existing grammar induction models. Lastly, by verifying the usefulness of the knowledge from the pre-trained LMs and linguistic biases for grammar induction, we want to point out that there is still much room for improvement in the existing grammar induction models.
161
+
162
+ # ACKNOWLEDGMENTS
163
+
164
+ We would like to thank Reinald Kim Amplayo and the anonymous reviewers for their thoughtful and valuable comments. This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (NRF2016M3C4A7952587).
165
+
166
+ # REFERENCES
167
+
168
+ Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pp. 89–96. ACM, 2005.
169
+
170
+ Jihun Choi, Kang Min Yoo, and Sang-goo Lee. Learning to compose task-specific tree structures. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
171
+
172
+ Alexander Clark. Unsupervised induction of stochastic context-free grammars using distributional clustering. In Proceedings of the 2001 workshop on Computational Natural Language LearningVolume 7, pp. 13, 2001.
173
+
174
+ Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. What does BERT look at? an analysis of BERT’s attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 276–286, Florence, Italy, August 2019.
175
+
176
+ Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019.
177
+
178
+ Andrew Drozdov, Patrick Verga, Mohit Yadav, Mohit Iyyer, and Andrew McCallum. Unsupervised latent tree induction with deep inside-outside recursive auto-encoders. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1129–1141, Minneapolis, Minnesota, June 2019.
179
+
180
+ Chris Dyer, Adhiguna Kuncoro, Miguel Ballesteros, and Noah A. Smith. Recurrent neural network grammars. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 199–209, San Diego, California, June 2016.
181
+
182
+ Chris Dyer, Gabor Melis, and Phil Blunsom. A critical analysis of biased parsers in unsupervised ´ parsing. arXiv preprint arXiv:1909.09428, 2019.
183
+
184
+ Kawin Ethayarajh. How contextual are contextualized word representations? comparing the geometry of BERT, ELMo, and GPT-2 embeddings. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 55–65, Hong Kong, China, November 2019.
185
+
186
+ Yoav Goldberg. Assessing bert’s syntactic abilities. arXiv preprint arXiv:1901.05287, 2019.
187
+
188
+ Yaru Hao, Li Dong, Furu Wei, and Ke Xu. Visualizing and understanding the effectiveness of bert. arXiv preprint arXiv:1908.05620, 2019.
189
+
190
+ Serhii Havrylov, German Kruszewski, and Armand Joulin. Cooperative learning of disjoint syntax ´ and semantics. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1118–1128, Minneapolis, Minnesota, June 2019.
191
+
192
+ John Hewitt and Christopher D. Manning. A structural probe for finding syntax in word representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4129–4138, Minneapolis, Minnesota, June 2019.
193
+
194
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
195
+
196
+ Phu Mon Htut, Kyunghyun Cho, and Samuel Bowman. Grammar induction with neural language models: An unusual replication. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 371–373, Brussels, Belgium, November 2018.
197
+
198
+ Yoon Kim, Chris Dyer, and Alexander Rush. Compound probabilistic context-free grammars for grammar induction. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 2369–2385, Florence, Italy, July 2019a.
199
+
200
+ Yoon Kim, Alexander Rush, Lei Yu, Adhiguna Kuncoro, Chris Dyer, and Gabor Melis. Unsuper-´ vised recurrent neural network grammars. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1105–1117, Minneapolis, Minnesota, June 2019b.
201
+
202
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
203
+
204
+ Nikita Kitaev and Dan Klein. Constituency parsing with a self-attentive encoder. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2676–2686, Melbourne, Australia, July 2018.
205
+
206
+ Dan Klein and Christopher Manning. Corpus-based induction of syntactic structure: Models of dependency and constituency. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pp. 478–485, Barcelona, Spain, July 2004.
207
+
208
+ Dan Klein and Christopher D. Manning. A generative constituent-context model for improved grammar induction. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 128–135, Philadelphia, Pennsylvania, USA, July 2002.
209
+
210
+ Dan Klein and Christopher D Manning. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pp. 423–430. Association for Computational Linguistics, 2003.
211
+
212
+ Karim Lari and Steve J Young. The estimation of stochastic context-free grammars using the insideoutside algorithm. Computer speech & language, 4(1):35–56, 1990.
213
+
214
+ Bowen Li, Lili Mou, and Frank Keller. An imitation learning approach to unsupervised parsing. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 3485–3492, Florence, Italy, July 2019.
215
+
216
+ Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. Linguistic knowledge and transferability of contextual representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1073–1094, Minneapolis, Minnesota, June 2019a.
217
+
218
+ Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019b.
219
+
220
+ Jean Maillard, Stephen Clark, and Dani Yogatama. Jointly learning sentence embeddings and syntax with unsupervised tree-lstms. Natural Language Engineering, 25(4):433–449, 2019.
221
+
222
+ Mitchell P. Marcus, Beatrice Santorini, and Mary Ann Marcinkiewicz. Building a large annotated corpus of English: The Penn Treebank. Computational Linguistics, 19(2):313–330, 1993.
223
+
224
+ David Marecek and Rudolf Rosa. Extracting syntactic trees from transformer encoder self- ˇ attentions. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 347–349, Brussels, Belgium, November 2018.
225
+
226
+ David Marecek and Rudolf Rosa. From balustrades to pierre vinken: Looking for syntax in trans- ˇ former self-attentions. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 263–275, Florence, Italy, August 2019.
227
+
228
+ Nikita Nangia and Samuel Bowman. Listops: A diagnostic dataset for latent tree learning. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Student Research Workshop, pp. 92–99, 2018.
229
+
230
+ Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 2227–2237, New Orleans, Louisiana, June 2018.
231
+
232
+ Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
233
+
234
+ Alessandro Raganato and Jorg Tiedemann. An analysis of encoder representations in transformer- ¨ based machine translation. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 287–297, Brussels, Belgium, November 2018.
235
+
236
+ Rudolf Rosa and David Marecek. Inducing syntactic trees from bert representations. ˇ arXiv preprint arXiv:1906.11511, 2019.
237
+
238
+ Yikang Shen, Zhouhan Lin, Athul Paul Jacob, Alessandro Sordoni, Aaron Courville, and Yoshua Bengio. Straight to the tree: Constituency parsing with neural syntactic distance. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1171–1180, Melbourne, Australia, July 2018a.
239
+
240
+ Yikang Shen, Zhouhan Lin, Chin wei Huang, and Aaron Courville. Neural language modeling by jointly learning syntax and lexicon. In International Conference on Learning Representations, 2018b.
241
+
242
+ Yikang Shen, Shawn Tan, Alessandro Sordoni, and Aaron Courville. Ordered neurons: Integrating tree structures into recurrent neural networks. In International Conference on Learning Representations, 2019.
243
+
244
+ Haoyue Shi, Jiayuan Mao, Kevin Gimpel, and Karen Livescu. Visually grounded neural syntax acquisition. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 1842–1861, Florence, Italy, July 2019.
245
+
246
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017.
247
+
248
+ Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 5797–5808, July 2019.
249
+
250
+ Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In International Conference on Learning Representations, 2019.
251
+
252
+ Adina Williams, Andrew Drozdov, and Samuel R. Bowman. Do latent tree learning models identify meaningful structure in sentences? Transactions of the Association for Computational Linguistics, 6:253–267, 2018a.
253
+
254
+ Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 1112–1122, New Orleans, Louisiana, June 2018b.
255
+
256
+ Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. Advances in Neural Information Processing Systems 32, pp. 5754–5764, 2019.
257
+
258
+ Dani Yogatama, Phil Blunsom, Chris Dyer, Edward Grefenstette, and Wang Ling. Learning to compose words into sentences with reinforcement learning. In International Conference on Learning Representations, 2017.
259
+
260
+ # A APPENDIX
261
+
262
+ ![](images/4557215c033955f375eec54b05ca4b1a0d588cb45906a8bd42cdd74d3224d2f4.jpg)
263
+ A.1 ATTENTION HEATMAP EXAMPLES
264
+ Figure 3: Self-attention heatmaps for the average of all attention distributions from the 7th layer of the XLNet-base model, given a set of input sentences.
265
+
266
+ # A.2 TREE CONSTRUCTION ALGORITHM WITH SYNTACTIC DISTANCES
267
+
268
+ # Algorithm 1 Syntactic Distances to Binary Constituency Tree (originally from Shen et al. (2018a))
269
+
270
+ 1: $S = [ w _ { 1 } , w _ { 2 } , \ldots , w _ { n } ] ;$ a sequence of words in a sentence of length $_ n$ .
271
+ 2: $\mathbf { d } = [ d _ { 1 } , d _ { 2 } , \dotsc , d _ { n - 1 } ]$ : a vector whose elements are the distances between every two adjacent words.
272
+ 3: function TREE $( S , { \bf d } )$
273
+ 4: if $\mathbf { d } = \left[ \begin{array} { l l l l l } \end{array} \right]$ then
274
+ 5: node $ \mathrm { L e a f } ( S [ 0 ] )$
275
+ 6: else
276
+ 7: $i \gets \arg \operatorname* { m a x } _ { i } ( { \bf d } )$
277
+ 8: $\mathrm { c h i l d } _ { l } \gets \mathrm { T R E E } ( S _ { \leq i } , { \bf d } _ { < i } )$
278
+ 9: $\mathrm { c h i l d } _ { r } \gets \mathrm { T R E E } ( S _ { > i } , { \bf d } _ { > i } )$
279
+ 10: node ← Node(childl, childr)
280
+ 11: end if
281
+ 12: return node
282
+ 13: end function
283
+
284
+ # A.3 DISTANCE MEASURE FUNCTIONS
285
+
286
+ Table 3: The definitions of distance measure functions for computing syntactic distances between two adjacent words in a sentence. Note that $\mathbf { r } = g ^ { v } ( w _ { i } )$ , $\mathbf { s } = g ^ { v } ( w _ { i + 1 } )$ , $P = g ^ { d } ( w _ { i } )$ , and $Q =$ $g ^ { d } ( w _ { i + 1 } )$ , respectively. $d$ : hidden embedding size, $n$ : the number of words $( w )$ in a sentence $( S )$ .
287
+ A.4 PERFORMANCE COMPARISON BY LAYER ON MNLI
288
+
289
+ <table><tr><td>Function(f)Definition</td></tr><tr><td>Functions for intermediate representations (Fu)</td></tr><tr><td>(rTs/((∑(1r):(∑_1s2)2) +1)/2 Cos(r,s) L1(r,s)</td></tr><tr><td>L2(r,s) i-1(r -si)2) Functions for attention distributions (Fd)</td></tr><tr><td>JSD(PIIQ) ((DKL(P||M)+DKL(Q||M))/2) where M=(P+Q)/2</td></tr><tr><td>and DKL(A|lB) =∑ω∈sA(w)log(A(ω)/B(ω)) HEL(P,Q)</td></tr></table>
290
+
291
+ ![](images/57638ca8b998e629ceb0f21baa45992e8d097a5cba5affbe54347892a5bf5588.jpg)
292
+ Figure 4: The best layer-wise S-F1 scores of each LM instance on the MNLI test set. (Left) The performance of the X-‘base’ models. (Right) The performance of the X-‘large’ models.
293
+
294
+ # A.5 EXPERIMENTAL RESULTS ON MNLI
295
+
296
+ Table 4: Results on the MNLI test set. Bold numbers correspond to the top 3 results for each column. L: layer number, A: attention head number (AVG: the average of all attentions). $\dagger$ : Results reported by Htut et al. (2018) and Drozdov et al. (2019). $\ddagger$ : Approaches in which $\overline { { \mathbf { C O O } } }$ parser is utilized. $^ *$ : These results are not strictly comparable to ours, due to the difference in data preprocessing.
297
+
298
+ <table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random Trees</td><td></td><td></td><td></td><td>21.4</td><td>11%</td><td>25%</td><td>16%</td><td>22%</td><td>22%</td><td>27%</td></tr><tr><td>Balanced Trees</td><td></td><td></td><td></td><td>20.0</td><td>8%</td><td>29%</td><td>11%</td><td>20%</td><td>22%</td><td>32%</td></tr><tr><td>Left Branching Trees</td><td></td><td></td><td></td><td>8.4</td><td>6%</td><td>13%</td><td>1%</td><td>4%</td><td>1%</td><td>8%</td></tr><tr><td>Right Branching Trees</td><td></td><td></td><td></td><td>51.9</td><td>65%</td><td>28%</td><td>75%</td><td>47%</td><td>45%</td><td>30%</td></tr><tr><td>Random XLNet-base (F)</td><td></td><td></td><td></td><td>22.0</td><td>12%</td><td>26%</td><td>15%</td><td>22%</td><td>22%</td><td>25%</td></tr><tr><td>Random XLNet-base (Fd)</td><td>=</td><td></td><td>=</td><td>23.5</td><td>14%</td><td>26%</td><td>18%</td><td>22%</td><td>22%</td><td>25%</td></tr><tr><td>Pre-trained LMs (w/o bias)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>9</td><td>10</td><td>36.1</td><td>36%</td><td>37%</td><td>34%</td><td>45%</td><td>26%</td><td>42%</td></tr><tr><td>BERT-large</td><td>JSD</td><td>17</td><td>10</td><td>37.0</td><td>38%</td><td>32%</td><td>34%</td><td>50%</td><td>22%</td><td>39%</td></tr><tr><td>GPT2</td><td>JSD</td><td>1</td><td>10</td><td>44.0</td><td>43%</td><td>53%</td><td>31%</td><td>60%</td><td>24%</td><td>40%</td></tr><tr><td>GPT2-medium</td><td>JSD</td><td>3</td><td>12</td><td>49.1</td><td>57%</td><td>32%</td><td>61%</td><td>44%</td><td>35%</td><td>37%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>10</td><td>9</td><td>36.2</td><td>26%</td><td>35%</td><td>34%</td><td>50%</td><td>23%</td><td>44%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>3</td><td>6</td><td>39.8</td><td>20%</td><td>28%</td><td>35%</td><td>30%</td><td>28%</td><td>27%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>1</td><td>6</td><td>39.0</td><td>25%</td><td>39%</td><td>28%</td><td>59%</td><td>35%</td><td>44%</td></tr><tr><td>XLNet-large</td><td>HEL</td><td>1</td><td>15</td><td>42.2</td><td>32%</td><td>49%</td><td>27%</td><td>62%</td><td>32%</td><td>49%</td></tr><tr><td>Pre-trained LMs (w/bias入=1.5)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>2</td><td>12</td><td>52.7</td><td>64%</td><td>35%</td><td>70%</td><td>50%</td><td>46%</td><td>30%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>4</td><td>4</td><td>51.7</td><td>63%</td><td>31%</td><td>71%</td><td>49%</td><td>46%</td><td>30%</td></tr><tr><td>GPT2</td><td>HEL</td><td>1</td><td>10</td><td>52.2</td><td>57%</td><td>53%</td><td>49%</td><td>62%</td><td>32%</td><td>42%</td></tr><tr><td>GPT2-medium</td><td>HEL</td><td>2</td><td>1</td><td>53.9</td><td>53%</td><td>57%</td><td>50%</td><td>62%</td><td>29%</td><td>44%</td></tr><tr><td>RoBERTa-base</td><td>HEL</td><td>2</td><td>3</td><td>52.0</td><td>64%</td><td>31%</td><td>72%</td><td>49%</td><td>47%</td><td>30%</td></tr><tr><td>RoBERTa-large</td><td>L1</td><td>23</td><td>=</td><td>52.7</td><td>55%</td><td>40%</td><td>65%</td><td>53%</td><td>43%</td><td>41%</td></tr><tr><td>XLNet-base</td><td>L2</td><td>8</td><td></td><td>54.9</td><td>57%</td><td>49%</td><td>61%</td><td>55%</td><td>44%</td><td>57%</td></tr><tr><td>XLNet-large</td><td>L2</td><td>12</td><td>=</td><td>53.5</td><td>54%</td><td>47%</td><td>59%</td><td>51%</td><td>48%</td><td>60%</td></tr><tr><td>Other models</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>PRPN-UPt $</td><td></td><td></td><td></td><td>48.6*</td><td></td><td></td><td></td><td></td><td></td><td>=</td></tr><tr><td>PRPN-LM†‡</td><td></td><td></td><td></td><td>50.4*</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>DIORA†</td><td></td><td></td><td></td><td>51.2*</td><td></td><td>=</td><td></td><td></td><td></td><td>=</td></tr><tr><td>DIORA(+PP)†</td><td></td><td></td><td></td><td>59.0*</td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
299
+
300
+ # A.6 EXPERIMENTAL DETAILS FOR TRAINING IDEAL DISTANCE MEASURE FUNCTION
301
+
302
+ In this part, we present the detailed specifications of the experiments introduced in Section 6.2. We assume $f _ { \mathrm { i d e a l } }$ is only compatible with the functions in $G ^ { v }$ , as the functions in $G ^ { d }$ are not suitable for training as the sizes of the representations provided by $G ^ { d }$ are variable according to the length of an input sentence. To train the pseudo-optimal function $f _ { \mathrm { i d e a l } }$ , we minimize a pair-wise learning-to-rank loss following previous work (Burges et al., 2005; Shen et al., 2018a):
303
+
304
+ $$
305
+ L _ { \mathrm { d i s t } } ^ { \mathrm { r a n k } } = \sum _ { i , j > i } [ 1 - \mathrm { s i g n } ( d _ { i } ^ { \mathrm { g o l d } } - d _ { j } ^ { \mathrm { g o l d } } ) ( d _ { i } ^ { \mathrm { p r e d } } - d _ { j } ^ { \mathrm { p r e d } } ) ] ^ { + } ,
306
+ $$
307
+
308
+ where $d ^ { \mathrm { g o l d } }$ and $d ^ { \mathrm { p r e d } }$ are computed from the gold tree and our predicted one, respectively. $[ x ] ^ { + }$ is defined as $m a x ( 0 , x )$ . We train the $f _ { \mathrm { i d e a l } }$ with the PTB training set for 5 epochs. Each batch of the training set contains 16 sentences. We use an ADAM optimizer (Kingma & Ba, 2014) with the learning rate 5e-4. We train the variations of $f _ { \mathrm { i d e a l } }$ differentiated by the choice of $g$ in $G ^ { v }$ and report the best result in the Table 2. Each $f _ { \mathrm { i d e a l } }$ is chosen based on its performance on the PTB validation set. Considering the randomness of training, every result for $f _ { \mathrm { i d e a l } }$ is averaged over 3 different trials.
309
+
310
+ # A.7 CONSTITUENCY TREE EXAMPLES
311
+
312
+ We randomly select six sentences from PTB and visualize their trees, where the resulting group of trees for each sentence consists of a gold constituency tree and two induced trees (one without the right-skewness bias and the other with the bias) from our best model—XLNet-base. The ‘T’ character in the induced trees indicates a dummy tag.
313
+
314
+ ![](images/2f5466c302db8af3968e112d6a6fc4110fb4ef20f050196c5a7a65dfa8733b06.jpg)
315
+ Figure 5: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘These include a child-care initiative and extensions of soon-to-expire tax breaks for low-income housing and research-and-development expenditures’.
316
+
317
+ ![](images/6138640de123c6c8c0d5b6307a743fd5691924d2c7b4d57ffee6d0c560e437e7.jpg)
318
+ Figure 6: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘But HOFI ‘s first offer would have given Ideal ’s other shareholders about $10 \%$ of the combined company’.
319
+
320
+ ![](images/7d0c9332a71f76b64f2aa2c57d9f2bc965adeb519c3ddb317aa2f119b1f2525e.jpg)
321
+ Figure 7: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘It was Friday the $1 3 \mathrm { t h }$ and the stock market plummeted nearly 200 points’.
322
+
323
+ ![](images/4a2a79c63bc955bde02bf004df0ecf68c2fd14a5b3664a006bf8bc3680db54a9.jpg)
324
+ Figure 8: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Until recently national governments in Europe controlled most of the air time and allowed little or no advertising’.
325
+
326
+ ![](images/3317260942a98cdd94ddf89da58fac2f95eb78e8752f7828db2b29796cd36683.jpg)
327
+ Figure 9: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Nevertheless Ms. Garzarelli said she was swamped with phone calls over the weekend from nervous shareholders’.
328
+
329
+ ![](images/60ab9c2749c684e51447319241b1e8da126a5f9ff2078536ebeed7661fa5fa58.jpg)
330
+ Figure 10: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Analysts and competitors however doubt the numbers were that high’.
parse/train/H1xPR3NtPB/H1xPR3NtPB_content_list.json ADDED
@@ -0,0 +1,1717 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "ARE PRE-TRAINED LANGUAGE MODELS AWARE OFPHRASES? SIMPLE BUT STRONG BASELINES FORGRAMMAR INDUCTION",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 823,
10
+ 171
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Taeuk $\\mathbf { K i m ^ { 1 } }$ , Jihun Choi1, Daniel Edmiston2 & Sang-goo Lee1 \n1Dept. of Computer Science and Engineering, Seoul National University, Seoul, Korea \n2Dept. of Linguistics, University of Chicago, Chicago, IL, USA \n{taeuk,jhchoi,sglee}@europa.snu.ac.kr, danedmiston@uchicago.edu ",
17
+ "bbox": [
18
+ 184,
19
+ 194,
20
+ 789,
21
+ 253
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 289,
32
+ 544,
33
+ 304
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "With the recent success and popularity of pre-trained language models (LMs) in natural language processing, there has been a rise in efforts to understand their inner workings. In line with such interest, we propose a novel method that assists us in investigating the extent to which pre-trained LMs capture the syntactic notion of constituency. Our method provides an effective way of extracting constituency trees from the pre-trained LMs without training. In addition, we report intriguing findings in the induced trees, including the fact that some pre-trained LMs outperform other approaches in correctly demarcating adverb phrases in sentences. ",
40
+ "bbox": [
41
+ 233,
42
+ 320,
43
+ 764,
44
+ 433
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 460,
55
+ 336,
56
+ 477
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Grammar induction, which is closely related to unsupervised parsing and latent tree learning, allows one to associate syntactic trees, i.e., constituency and dependency trees, with sentences. As grammar induction essentially assumes no supervision from gold-standard syntactic trees, the existing approaches for this task mainly rely on unsupervised objectives, such as language modeling (Shen et al., 2018b; 2019; Kim et al., 2019a;b) and cloze-style word prediction (Drozdov et al., 2019) to train their task-oriented models. On the other hand, there is a trend in the natural language processing (NLP) community of leveraging pre-trained language models (LMs), e.g., ELMo (Peters et al., 2018) and BERT (Devlin et al., 2019), as a means of acquiring contextualized word representations. These representations have proven to be surprisingly effective, playing key roles in recent improvements in various models for diverse NLP tasks. ",
63
+ "bbox": [
64
+ 174,
65
+ 492,
66
+ 825,
67
+ 631
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "In this paper, inspired by the fact that the training objectives of both the approaches for grammar induction and for training LMs are identical, namely, (masked) language modeling, we investigate whether pre-trained LMs can also be utilized for grammar induction/unsupervised parsing, especially without training. Specifically, we focus on extracting constituency trees from pre-trained LMs without fine-tuning or introducing another task-specific module, at least one of which is usually required in other cases where representations from pre-trained LMs are employed. This restriction provides us with some advantages: (1) it enables us to derive strong baselines for grammar induction with reduced time and space complexity, offering a chance to reexamine the current status of existing grammar induction methods, (2) it facilitates an analysis on how much and what kind of syntactic information each pre-trained LM contains in its intermediate representations and attention distributions in terms of phrase-structure grammar, and (3) it allows us to easily inject biases into our framework, for instance, to encourage the right-skewness of the induced trees, resulting in performance gains in English unsupervised parsing. ",
74
+ "bbox": [
75
+ 173,
76
+ 638,
77
+ 825,
78
+ 819
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "First, we briefly mention related work (§2). Then, we introduce the intuition behind our proposal in detail (§3), which is motivated by our observation that we can cluster words in a sentence according to the similarity of their attention distributions over words in the sentence. Based on this intuition, we define a straightforward yet effective method $( \\ S 4 )$ of drawing constituency trees directly from pretrained LMs with no fine-tuning or addition of task-specific parts, instead resorting to the concept of Syntactic Distance (Shen et al., 2018a;b). Then, we conduct experiments (§5) on the induced constituency trees, discovering some intriguing phenomena. Moreover, we analyze the pre-trained ",
85
+ "bbox": [
86
+ 174,
87
+ 827,
88
+ 823,
89
+ 924
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "LMs and constituency trees from various points of view, including looking into which layer(s) of the LMs is considered to be sensitive to phrase information (§6). ",
96
+ "bbox": [
97
+ 173,
98
+ 103,
99
+ 825,
100
+ 132
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "To summarize, our contributions in this work are as follows: ",
107
+ "bbox": [
108
+ 173,
109
+ 138,
110
+ 568,
111
+ 154
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "• By investigating the attention distributions from Transformer-based pre-trained LMs, we show that there is evidence to suggest that several attention heads of the LMs exhibit syntactic structure akin to constituency grammar. Inspired by the above observation, we propose a method that facilitates the derivation of constituency trees from pre-trained LMs without training. We also demonstrate that the induced trees can serve as a strong baseline for English grammar induction. We inspect, in view of our framework, what type of syntactic knowledge the pre-trained LMs capture, discovering interesting facts, e.g., that some pre-trained LMs are more aware of adverb phrases than other approaches. ",
118
+ "bbox": [
119
+ 215,
120
+ 166,
121
+ 825,
122
+ 306
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 RELATED WORK ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 176,
132
+ 327,
133
+ 344,
134
+ 344
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "Grammar induction is a task whose goal is to infer from sequential data grammars which generalize, and are able to account for unseen data (Lari & Young (1990); Clark (2001); Klein & Manning (2002; 2004), to name a few). Traditionally, this was done by learning explicit grammar rules (e.g., context free rewrite rules), though more recent methods employ neural networks to learn such rules implicitly, focusing more on the induced grammars’ ability to generate or parse sequences. ",
141
+ "bbox": [
142
+ 174,
143
+ 361,
144
+ 825,
145
+ 431
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Specifically, Shen et al. (2018b) proposed Parsing-Reading-Predict Network (PRPN) where the concept of Syntactic Distance is first introduced. They devised a neural model for language modeling where the model is encouraged to recognize syntactic structure. The authors also probed the possibility of inducing constituency trees without access to gold-standard trees by adopting an algorithm that recursively splits a sequence of words into two parts, the split point being determined according to correlated syntactic distances; the point having the biggest distance becomes the first target of division. Shen et al. (2019) presented a model called Ordered Neurons (ON), which is a revised version of LSTM (Long Short-Term Memory, Hochreiter & Schmidhuber (1997)) which reflects the hierarchical biases of natural language and can be used to compute syntactic distances. Shen et al. (2018a) trained a supervised parser relying on the concept of syntactic distance. ",
152
+ "bbox": [
153
+ 174,
154
+ 438,
155
+ 825,
156
+ 577
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Other studies include Drozdov et al. (2019), who trained deep inside-outside recursive autoencoders (DIORA) to derive syntactic trees in an exhaustive way with the aid of the inside-outside algorithm, and Kim et al. (2019a) who proposed Compound Probabilistic Context-Free Grammars (compound PCFG), showing that neural PCFG models are capable of producing promising unsupervised parsing results. Li et al. (2019) proved that an ensemble of unsupervised parsing models can be beneficial, while Shi et al. (2019) utilized additional training signals from pictures related with input text. Dyer et al. (2016) proposed Recurrent Neural Network Grammars (RNNG) for both language modeling and parsing, and Kim et al. (2019b) suggested an unsupervised variant of the RNNG. There also exists another line of research on task-specific latent tree learning (Yogatama et al., 2017; Choi et al., 2018; Havrylov et al., 2019; Maillard et al., 2019). The goal here is not to construct linguistically plausible trees, but to induce trees fitted to improving target performance. Naturally, the induced performance-based trees need not resemble linguistically plausible trees, and some studies (Williams et al., 2018a; Nangia & Bowman, 2018) examined the apparent fact that performance-based and lingusitically plausible trees bear little resemblance to one another. ",
163
+ "bbox": [
164
+ 173,
165
+ 584,
166
+ 825,
167
+ 777
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "Concerning pre-trained language models (Peters et al. (2018); Devlin et al. (2019); Radford et al. (2019); Yang et al. (2019); Liu et al. (2019b), inter alia)—particularly those employing a Transformer architecture (Vaswani et al., 2017)—these have proven to be helpful for diverse NLP downstream tasks. In spite of this, there is no vivid picture for explaining what particular factors contribute to performance gains, even though some recent work has attempted to shed light on this question. In detail, one group of studies (Raganato & Tiedemann (2018); Clark et al. (2019); Ethayarajh (2019); Hao et al. (2019); Voita et al. (2019), inter alia) has focused on dissecting the intermediate representations and attention distributions of the pre-trained LMs, while the another group of publications (Marecek & Rosa (2018); Goldberg (2019); Hewitt & Manning (2019); Liu et al. (2019a); Rosa & ˇ Marecek (2019), to name a few) delve into the question of the existence of syntactic knowledge in ˇ ",
174
+ "bbox": [
175
+ 173,
176
+ 784,
177
+ 825,
178
+ 924
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "image",
184
+ "img_path": "images/6b59545393c8be32c7e4710ab90ef69ecbf77cabd130491c54d540a4d216ac52.jpg",
185
+ "image_caption": [
186
+ "Figure 1: Self-attention heatmaps from two different pre-trained LMs. (Left) A heatmap for the average of attention distributions from the 7th layer of the XLNet-base (Yang et al., 2019) model given the sample sentence. (Right) A heatmap for the average of attention distributions from the 9th layer of the BERT-base (Devlin et al., 2019) model given another sample sentence. We can easily spot the chunks of words on the two heatmaps that are correlated with the constituents of the input sentences, e.g., (Left) ‘the price of plastics’, ‘took off in 1987’, ‘Quantum Chemical Corp.’, (Right) ‘when price increases can be sustained’, and ‘he remarks’. "
187
+ ],
188
+ "image_footnote": [],
189
+ "bbox": [
190
+ 232,
191
+ 99,
192
+ 753,
193
+ 263
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "text",
199
+ "text": "Transformer-based models. Particularly, Marecek & Rosa (2019) proposed an algorithm for extract- ˇ ing constituency trees from Transformers trained for machine translation, which is similar to our approach. ",
200
+ "bbox": [
201
+ 174,
202
+ 424,
203
+ 825,
204
+ 467
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "3 MOTIVATION ",
211
+ "text_level": 1,
212
+ "bbox": [
213
+ 176,
214
+ 505,
215
+ 313,
216
+ 521
217
+ ],
218
+ "page_idx": 2
219
+ },
220
+ {
221
+ "type": "text",
222
+ "text": "As pioneers in the literature have pointed out, the multi-head self-attention mechanism (Vaswani et al., 2017) is a key component in Transformer-based language models, and it seems this mechanism empowers the models to capture certain semantic and syntactic information existing in natural language. Among a diverse set of knowledge they may capture, in this work we concentrate on phrase-structure grammar by seeking to extract constituency trees directly from their attention information and intermediate weights. ",
223
+ "bbox": [
224
+ 174,
225
+ 547,
226
+ 825,
227
+ 631
228
+ ],
229
+ "page_idx": 2
230
+ },
231
+ {
232
+ "type": "text",
233
+ "text": "In preliminary experiments, where we manually visualize and investigate the intermediate representations and attention distributions of several pre-trained LMs given input, we have found some evidence which suggests that the pre-trained LMs exhibit syntactic structure akin to constituency grammar in some degree. Specifically, we have noticed some patterns which are often displayed in self-attention heatmaps as explicit horizontal lines, or groups of rectangles of various sizes. As an attention distribution of a word in an input sentence corresponds to a row in a heatmap matrix, we can say that the appearance of these patterns indicates the existence of groups of words where the attention distributions of the words in the same group are relatively similar. Interestingly, we have also discovered the fact that the groups of words we observed are fairly correlated with the constituents of the input sentence, as shown in Figure 1 (above) and Figure 3 (in Appendix A.1). ",
234
+ "bbox": [
235
+ 174,
236
+ 638,
237
+ 825,
238
+ 777
239
+ ],
240
+ "page_idx": 2
241
+ },
242
+ {
243
+ "type": "text",
244
+ "text": "Even though we have identified some patterns which match with the constituents of sentences, it is not enough to conclude that the pre-trained LMs are aware of syntactic phrases as found in phrasestructure grammars. To demonstrate the claim, we attempt to obtain constituency trees in a zero-shot learning fashion, relying only on the knowledge from the pre-trained LMs. To this end, we suggest the following, inspired from our finding: two words in a sentence are syntactically close to each other (i.e., the two words belong to the same constituent) if their attention distributions over words in the sentence are also close to each other. Note that this implicitly presumes that each word is more likely to attend more on the words in the same constituent to enrich its representation in the pre-trained LMs. Finally, we utilize the assumption to compute syntactic distances between each pair of adjacent words in a sentence, from which the corresponding constituency tree can be built. ",
245
+ "bbox": [
246
+ 174,
247
+ 785,
248
+ 825,
249
+ 924
250
+ ],
251
+ "page_idx": 2
252
+ },
253
+ {
254
+ "type": "text",
255
+ "text": "4 PROPOSED METHOD ",
256
+ "text_level": 1,
257
+ "bbox": [
258
+ 176,
259
+ 102,
260
+ 377,
261
+ 118
262
+ ],
263
+ "page_idx": 3
264
+ },
265
+ {
266
+ "type": "text",
267
+ "text": "4.1 SYNTACTIC DISTANCE AND TREE CONSTRUCTION ",
268
+ "text_level": 1,
269
+ "bbox": [
270
+ 174,
271
+ 133,
272
+ 563,
273
+ 148
274
+ ],
275
+ "page_idx": 3
276
+ },
277
+ {
278
+ "type": "text",
279
+ "text": "We leverage the concept of Syntactic Distance proposed by Shen et al. (2018a;b) to draw constituency trees from raw sentences in an intuitive way. Formally, given a sequence of words in a sentence, $w _ { 1 } , w _ { 2 } , \\ldots , w _ { n }$ , we compute $\\mathbf { d } = [ d _ { 1 } , d _ { 2 } , \\dots , d _ { n - 1 } ]$ where $d _ { i }$ corresponds to the syntactic distance between $w _ { i }$ and $w _ { i + 1 }$ . Each $d _ { i }$ is defined as follows: ",
280
+ "bbox": [
281
+ 174,
282
+ 160,
283
+ 823,
284
+ 215
285
+ ],
286
+ "page_idx": 3
287
+ },
288
+ {
289
+ "type": "equation",
290
+ "img_path": "images/4d4250423561bb4858740e95debd332a335e6c7ab11bbf3ee13a1d175948687c.jpg",
291
+ "text": "$$\nd _ { i } = f ( g ( w _ { i } ) , g ( w _ { i + 1 } ) ) ,\n$$",
292
+ "text_format": "latex",
293
+ "bbox": [
294
+ 415,
295
+ 223,
296
+ 581,
297
+ 241
298
+ ],
299
+ "page_idx": 3
300
+ },
301
+ {
302
+ "type": "text",
303
+ "text": "where $f ( \\cdot , \\cdot )$ and $g ( \\cdot )$ are a distance measure function and representation extractor function, respectively. The function $g$ converts each word into the corresponding vector representation, while $f$ computes the syntactic distance between the two words given their representations. Once $\\mathbf { d }$ is derived, it can be easily converted into the target constituency tree by a simple algorithm following Shen et al. (2018a).1 For details of the algorithm, we refer the reader to Appendix A.2. ",
304
+ "bbox": [
305
+ 174,
306
+ 247,
307
+ 823,
308
+ 318
309
+ ],
310
+ "page_idx": 3
311
+ },
312
+ {
313
+ "type": "text",
314
+ "text": "Although previous studies attempted to explicitly train the functions $f$ and $g$ with supervision (with access to gold-standard trees, Shen et al. (2018a)) or to obtain them as a by-product of training particular models that are carefully designed to recognize syntactic information (Shen et al., 2018b; 2019), in this work we stick to simple distance metric functions for $f$ and pre-trained LMs for $g$ , forgoing any training process. In other words, we focus on investigating the possibility of pre-trained LMs possessing constituency information in a form that can be readily extracted with straightforward computations. If the trees induced by the syntactic distances derived from the pre-trained LMs are similar enough to gold-standard syntax trees, we can reasonably claim that the LMs resemble phrase-structure. ",
315
+ "bbox": [
316
+ 173,
317
+ 324,
318
+ 825,
319
+ 449
320
+ ],
321
+ "page_idx": 3
322
+ },
323
+ {
324
+ "type": "text",
325
+ "text": "4.2 PRE-TRAINED LANGUAGE MODELS ",
326
+ "text_level": 1,
327
+ "bbox": [
328
+ 176,
329
+ 467,
330
+ 460,
331
+ 481
332
+ ],
333
+ "page_idx": 3
334
+ },
335
+ {
336
+ "type": "text",
337
+ "text": "We consider four types of recently proposed language models. These are: BERT (Devlin et al., 2019), GPT-2 (Radford et al., 2019), RoBERTa (Liu et al., 2019b), and XLNet (Yang et al., 2019). They all have in common that they are based on the Transformer architecture and have been proven to be effective in natural language understanding (Wang et al., 2019) or generation. We handle two variants for each LM, varying in the number of layers, attention heads, and hidden dimensions, resulting in eight different cases in total. In particular, each LM has two variants. (1) base: consists of $l { = } 1 2$ layers, $a { = } 1 2$ attention heads, and $d { = } 7 6 8$ hidden dimensions, while (2) large: has $l { = } 2 4$ layers, $a { = } 1 6$ attention heads, and $d { = } 1 0 2 4$ hidden dimensions.2 We deal with a wide range of pre-trained LMs, unlike previous work which has mostly analyzed a specific model, particularly BERT. For details about each LM, we refer readers to the respective original papers. ",
338
+ "bbox": [
339
+ 173,
340
+ 492,
341
+ 825,
342
+ 632
343
+ ],
344
+ "page_idx": 3
345
+ },
346
+ {
347
+ "type": "text",
348
+ "text": "In terms of our formulation, each LM instance provides two categories of representation extractor functions, $G ^ { v }$ and $G ^ { d }$ . Specifically, $G ^ { v }$ refers to a set of functions $\\{ g _ { j } ^ { v } | j = 1 , \\ldots , l \\}$ , each of which simply outputs the intermediate hidden representation of a given word on the $j$ th layer of the LM. Likewise, $\\dot { G } ^ { d }$ is a set of functions $\\{ g _ { ( j , k ) } ^ { d } | \\bar { j } = 1 , \\ldots , l , k = 1 , \\ldots , a + 1 \\}$ , each of which outputs the attention distribution of an input word by the $k$ th attention head on the $j$ th layer of the LM. Even though our main motivation comes from the self-attention mechanism, we also deal with the intermediate hidden representations present in the pre-trained LMs by introducing $G ^ { v }$ , considering that the hidden representations serve as storage of collective information taken from the processing of the pre-trained LMs. Note that $k$ ranges up to $a + 1$ , not $a$ , implying that we consider the average of all attention distributions on the same layer in addition to the individual ones. This averaging function can be regarded as an ensemble of other functions in the layer which are specialized for different aspects of information, and we expect that this technique will provide a better option in some cases as reported in previous work (Li et al., 2019). ",
349
+ "bbox": [
350
+ 173,
351
+ 638,
352
+ 825,
353
+ 821
354
+ ],
355
+ "page_idx": 3
356
+ },
357
+ {
358
+ "type": "text",
359
+ "text": "One remaining issue is that all the pre-trained LMs we use regard each input sentence as a sequence of subword tokens, while our formulation assumes words cannot be further divided into smaller tokens. To resolve this difference, we tested certain heuristics that guide how subword tokens for a complete word should be exploited to represent the word, and we have empirically found that the best result comes when each word is represented by an average of the representations of its subwords.3 Therefore, we adopt the above heuristic in this work for cases where a word is tokenized into more than two parts. ",
360
+ "bbox": [
361
+ 173,
362
+ 103,
363
+ 825,
364
+ 202
365
+ ],
366
+ "page_idx": 4
367
+ },
368
+ {
369
+ "type": "text",
370
+ "text": "4.3 DISTANCE MEASURE FUNCTIONS ",
371
+ "text_level": 1,
372
+ "bbox": [
373
+ 176,
374
+ 232,
375
+ 447,
376
+ 246
377
+ ],
378
+ "page_idx": 4
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "For the distance measure function $f$ , we prepare three options $( F ^ { v } )$ for $G ^ { v }$ and two options $( F ^ { d } )$ for $G ^ { d }$ . Formally, $f \\in F ^ { v } \\cup F ^ { d }$ , where $F ^ { v } = \\{ \\mathbf { C O S } , \\mathbf { L 1 } , \\mathbf { L 2 } \\}$ , $F ^ { d } = \\{ \\mathrm { J S D } , \\mathrm { H E L } \\}$ . COS, L1, L2, JSD, and HEL correspond to Cosine, L1, and L2, Jensen-Shannon, and Hellinger distance respectively. The functions in $F ^ { v }$ are only compatible with the elements of $G ^ { v }$ , and the same holds for $F ^ { d }$ and $G ^ { d }$ . The exact definition of each function is listed in Appendix A.3. ",
383
+ "bbox": [
384
+ 174,
385
+ 263,
386
+ 825,
387
+ 333
388
+ ],
389
+ "page_idx": 4
390
+ },
391
+ {
392
+ "type": "text",
393
+ "text": "4.4 INJECTING BIAS INTO SYNTACTIC DISTANCES ",
394
+ "text_level": 1,
395
+ "bbox": [
396
+ 174,
397
+ 364,
398
+ 535,
399
+ 378
400
+ ],
401
+ "page_idx": 4
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "One of the main advantages we obtain by leveraging syntactic distances to derive parse trees is that we can easily inject inductive bias into our framework by simply modifying the values of the syntactic distances. Hence, we investigate whether the extracted trees from our method can be further refined with the aid of additional biases. To this end, we introduce a well-known bias for English constituency trees—the right-skewness bias—in a simple linear form.4 Namely, our intention is to influence the induced trees such that they are moderately right-skewed following the nature of gold-standard parse trees in English. ",
406
+ "bbox": [
407
+ 173,
408
+ 395,
409
+ 825,
410
+ 494
411
+ ],
412
+ "page_idx": 4
413
+ },
414
+ {
415
+ "type": "text",
416
+ "text": "Formally, we compute $\\hat { d } _ { i }$ by appending the following linear bias term to every $d _ { i }$ ",
417
+ "bbox": [
418
+ 173,
419
+ 502,
420
+ 707,
421
+ 517
422
+ ],
423
+ "page_idx": 4
424
+ },
425
+ {
426
+ "type": "equation",
427
+ "img_path": "images/74474b452d0cb11b6e27012649daac141a7510dd7bbdee901a8d3907dd37d1aa.jpg",
428
+ "text": "$$\n\\hat { d } _ { i } = d _ { i } + \\lambda \\cdot \\mathrm { A V G } ( \\mathbf { d } ) \\times ( 1 - 1 / ( m - 1 ) \\times ( i - 1 ) ) ,\n$$",
429
+ "text_format": "latex",
430
+ "bbox": [
431
+ 320,
432
+ 536,
433
+ 676,
434
+ 556
435
+ ],
436
+ "page_idx": 4
437
+ },
438
+ {
439
+ "type": "text",
440
+ "text": "where $\\operatorname { A V G } ( \\cdot )$ outputs an average of all elements in a vector, $\\lambda$ is a hyperparameter, and $i$ ranges from 1 to $m = n - 1$ . We write $\\hat { \\mathbf { d } } = [ \\hat { d } _ { 1 } , \\hat { d } _ { 2 } , \\dots , \\hat { d } _ { m } ]$ in place of $\\mathbf { d }$ to signify biased syntactic distances. ",
441
+ "bbox": [
442
+ 174,
443
+ 574,
444
+ 825,
445
+ 619
446
+ ],
447
+ "page_idx": 4
448
+ },
449
+ {
450
+ "type": "text",
451
+ "text": "The main purpose of introducing such a bias is examining what changes are made to the resulting tree structures rather than boosting quantitative performance per $s e$ , though it is of note that it serves this purpose as well. We believe that this additional consideration is necessary based on two points. First, English is what is known as a head-initial language. That is, given a selector and argument, the selector has a strong tendency to appear on the left, e.g., ‘eat food’, or ‘to Canada’. Head-initial languages therefore have an in-built preference for right-branching structures. By adjusting the bias injected into syntactic distances derived from pre-trained LMs, we can figure out whether the LMs are capable of inducing the right-branching bias, which is one of the main properties of English syntax; if injecting the bias does not influence the performance of the LMs on unsupervised parsing, we can conjecture they are inherently capturing the bias to some extent. Second, as mentioned before, we have witnessed some previous work (Shen et al., 2018b; 2019; Htut et al., 2018; Li et al., 2019; Shi et al., 2019) where the right-skewness bias is implicitly exploited, although it could be regarded as not ideal. What we intend to focus on is the question about which benefits the bias provides for such parsing models, leading to overall performance improvements. In other words, we look for what the exact contribution of the bias is when it is injected into grammar induction models, by explicitly controlling the bias using our framework. ",
452
+ "bbox": [
453
+ 174,
454
+ 627,
455
+ 825,
456
+ 848
457
+ ],
458
+ "page_idx": 4
459
+ },
460
+ {
461
+ "type": "text",
462
+ "text": "5 EXPERIMENTS ",
463
+ "text_level": 1,
464
+ "bbox": [
465
+ 176,
466
+ 102,
467
+ 326,
468
+ 118
469
+ ],
470
+ "page_idx": 5
471
+ },
472
+ {
473
+ "type": "text",
474
+ "text": "5.1 GENERAL SETTINGS ",
475
+ "text_level": 1,
476
+ "bbox": [
477
+ 174,
478
+ 132,
479
+ 357,
480
+ 147
481
+ ],
482
+ "page_idx": 5
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "5.1.1 DATASETS ",
487
+ "text_level": 1,
488
+ "bbox": [
489
+ 174,
490
+ 159,
491
+ 302,
492
+ 172
493
+ ],
494
+ "page_idx": 5
495
+ },
496
+ {
497
+ "type": "text",
498
+ "text": "In this section, we conduct unsupervised constituency parsing on two datasets. The first dataset is WSJ Penn Treebank (PTB, Marcus et al. (1993)), in which human-annotated gold-standard trees are available. We use the standard split of the dataset—2-21 for training, 22 for validation, and 23 for test. The second one is MNLI (Williams et al., 2018b), which is originally designed to test natural language inference but often utilized as a means of evaluating parsers. It contains constituency trees produced by an external parser (Klein & Manning, 2003). We leverage the union of two different versions of the MNLI development set as test data following convention (Htut et al., 2018; Drozdov et al., 2019), and we call it the MNLI test set in this paper. Moreover, we randomly sample 40K sentences from the training set of the MNLI to utilize them as a validation set. To preprocess the datasets, we follow the setting of Kim et al. (2019a) with the minor exceptions that words are not lower-cased and number characters are preserved instead of being substituted by a special character. ",
499
+ "bbox": [
500
+ 174,
501
+ 184,
502
+ 825,
503
+ 335
504
+ ],
505
+ "page_idx": 5
506
+ },
507
+ {
508
+ "type": "text",
509
+ "text": "5.1.2 IMPLEMENTATION DETAILS ",
510
+ "text_level": 1,
511
+ "bbox": [
512
+ 176,
513
+ 352,
514
+ 419,
515
+ 366
516
+ ],
517
+ "page_idx": 5
518
+ },
519
+ {
520
+ "type": "text",
521
+ "text": "For implementation, to compare pre-trained LMs in an unified manner, we resort to an integrated PyTorch codebase that supports all the models we consider.5 For each LM, we tune the best combination of $f$ and $g$ functions using the validation set. Then, we derive a set of $\\mathbf { d }$ for sentences in the test set using the chosen functions, followed by the resulting constituency trees converted from each d by the tree construction algorithm in Section 4.1. In addition to sentence-level F1 (S-F1) score, we report label recall scores for six main categories: SBAR, NP, VP, PP, ADJP, and ADVP. We also present the results of utilizing $\\hat { \\mathbf { d } }$ instead of $\\mathbf { d }$ , empirically setting the bias hyperparameter $\\lambda$ as 1.5. We do not fine-tune the LMs on domain-specific data, as we here focus on finding their universal characteristics. ",
522
+ "bbox": [
523
+ 174,
524
+ 376,
525
+ 825,
526
+ 502
527
+ ],
528
+ "page_idx": 5
529
+ },
530
+ {
531
+ "type": "text",
532
+ "text": "We take four na¨ıve baselines into account, random (averaged over 5 trials), balanced, left-branching, and right-branching binary trees. In addition, we present two more baselines which are identical to our models except that their $g$ functions are based on a randomly initialized XLNet-base rather than pre-trained ones. To be concrete, We provide ‘Random XLNet-base $( F ^ { v } ) ^ { : }$ ’ which applies the functions in $F ^ { v }$ on random hidden representations and ‘Random XLNet-base $( F ^ { d } )$ ’ that utilizes the functions in $F ^ { d }$ and random attention distributions, respectively. Considering the randomness of initialization and possible choices for $f$ , the final score for each of the baselines is calculated as an average over 5 trials of each possible $f$ , i.e., an average over $5 \\times 3$ runs in case of $F ^ { v }$ and $5 \\times 2$ runs for $F ^ { d }$ . These baselines enable us to estimate the exact advantage we obtain by pre-training LMs, effectively removing additional unexpected gains that may exist. Furthermore, we compare our parse trees against ones from existing grammar induction models. ",
533
+ "bbox": [
534
+ 174,
535
+ 510,
536
+ 825,
537
+ 662
538
+ ],
539
+ "page_idx": 5
540
+ },
541
+ {
542
+ "type": "text",
543
+ "text": "All scripts used in our experiments will be publicly available for reproduction and further analysis.6 ",
544
+ "bbox": [
545
+ 176,
546
+ 670,
547
+ 820,
548
+ 684
549
+ ],
550
+ "page_idx": 5
551
+ },
552
+ {
553
+ "type": "text",
554
+ "text": "5.2 EXPERIMENTAL RESULTS ON PTB ",
555
+ "text_level": 1,
556
+ "bbox": [
557
+ 178,
558
+ 700,
559
+ 452,
560
+ 714
561
+ ],
562
+ "page_idx": 5
563
+ },
564
+ {
565
+ "type": "text",
566
+ "text": "In Table 1, we report the results of the various models on the PTB test set. First of all, our method combined with pre-trained LMs shows competitive or comparable results in terms of S-F1 even without the right-skewness bias. This result implies that the extracted trees from our method can be regarded as a baseline for English grammar induction. Moreover, pre-trained LMs show substantial improvements over Random Transformers (XLNet-base), demonstrating that training language models on large corpora, in fact, enables the LMs to be more aware of syntactic information. ",
567
+ "bbox": [
568
+ 174,
569
+ 727,
570
+ 823,
571
+ 810
572
+ ],
573
+ "page_idx": 5
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "When the right-skewness bias is applied to syntactic distances derived from pre-trained LMs, the S-F1 scores of the LMs increase by up to ten percentage points. This improvement indicates that the pre-trained LMs do not properly capture the largely right-branching nature of English syntax, at least when observed through the lens of our framework. By explicitly controlling the bias through our framework and observing the performance gap between our models with and without the bias, we confirm that the main contribution of the bias comes from its capability to capture subordinate clauses (SBAR) and verb phrases (VP). This observation provides a hint for what some previous work on unsupervised parsing desired to obtain by introducing the bias to their models. It is intriguing to see that all of the existing grammar induction models are inferior to the right-branching baseline in recognizing SBAR and VP (although some of them already utilized the right-skewness bias), implying that the same problem—models do not properly capture the right-branching nature— may also exist in current grammar induction models. One possible assumption is that the models do not need the bias to perform well in language modeling, although future work should provide a rigorous analysis about the phenomenon. ",
578
+ "bbox": [
579
+ 174,
580
+ 818,
581
+ 825,
582
+ 887
583
+ ],
584
+ "page_idx": 5
585
+ },
586
+ {
587
+ "type": "table",
588
+ "img_path": "images/99029a5c4f5ac241dd71e58e413a4475da609effa3e42f899f7dc962553c93cc.jpg",
589
+ "table_caption": [
590
+ "Table 1: Results on the PTB test set. Bold numbers correspond to the top 3 results for each column. L: layer number, A: attention head number (AVG: the average of all attentions). $\\dagger$ : Results reported by Kim et al. (2019a). $\\ddagger$ : Approaches in which COO parser is utilized. "
591
+ ],
592
+ "table_footnote": [],
593
+ "table_body": "<table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random Trees</td><td></td><td>=</td><td></td><td>18.1</td><td>8%</td><td>23%</td><td>12%</td><td>18%</td><td>23%</td><td>28%</td></tr><tr><td>Balanced Trees</td><td></td><td>=</td><td>=</td><td>18.5</td><td>7%</td><td>27%</td><td>8%</td><td>18%</td><td>27%</td><td>25%</td></tr><tr><td>Left Branching Trees</td><td></td><td></td><td></td><td>8.7</td><td>5%</td><td>11%</td><td>0%</td><td>5%</td><td>2%</td><td>8%</td></tr><tr><td>Right Branching Trees</td><td></td><td></td><td></td><td>39.4</td><td>68%</td><td>24%</td><td>71%</td><td>42%</td><td>27%</td><td>38%</td></tr><tr><td>Random XLNet-base (F)</td><td></td><td></td><td></td><td>19.6</td><td>9%</td><td>26%</td><td>12%</td><td>20%</td><td>23%</td><td>24%</td></tr><tr><td>Random XLNet-base (Fd)</td><td></td><td></td><td></td><td>20.1</td><td>11%</td><td>25%</td><td>14%</td><td>19%</td><td>22%</td><td>26%</td></tr><tr><td>Pre-trainedLMs (w/o bias)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>JSD</td><td>9</td><td>AVG</td><td>32.4</td><td>28%</td><td>42%</td><td>28%</td><td>31%</td><td>35%</td><td>63%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>17</td><td>AVG</td><td>34.2</td><td>34%</td><td>43%</td><td>27%</td><td>39%</td><td>37%</td><td>57%</td></tr><tr><td>GPT2</td><td>JSD</td><td>9</td><td>1</td><td>37.1</td><td>32%</td><td>47%</td><td>27%</td><td>55%</td><td>27%</td><td>36%</td></tr><tr><td>GPT2-medium</td><td>JSD</td><td>10</td><td>13</td><td>39.4</td><td>41%</td><td>51%</td><td>21%</td><td>67%</td><td>33%</td><td>44%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>9</td><td>4</td><td>33.8</td><td>40%</td><td>38%</td><td>33%</td><td>43%</td><td>42%</td><td>57%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>14</td><td>5</td><td>34.1</td><td>29%</td><td>46%</td><td>30%</td><td>37%</td><td>28%</td><td>40%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>9</td><td>AVG</td><td>40.1</td><td>35%</td><td>56%</td><td>26%</td><td>38%</td><td>47%</td><td>68%</td></tr><tr><td>XLNet-large</td><td>L2</td><td>11</td><td>-</td><td>38.1</td><td>36%</td><td>51%</td><td>26%</td><td>41%</td><td>45%</td><td>69%</td></tr><tr><td>Pre-trainedLMs (w/bias入=1.5)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>9</td><td>AVG</td><td>42.3</td><td>45%</td><td>46%</td><td>49%</td><td>43%</td><td>41%</td><td>65%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>17</td><td>AVG</td><td>44.4</td><td>55%</td><td>48%</td><td>48%</td><td>52%</td><td>41%</td><td>62%</td></tr><tr><td>GPT2</td><td>JSD</td><td>9</td><td>1</td><td>41.3</td><td>43%</td><td>49%</td><td>38%</td><td>58%</td><td>27%</td><td>43%</td></tr><tr><td>GPT2-medium</td><td>HEL</td><td>2</td><td>1</td><td>42.3</td><td>54%</td><td>50%</td><td>39%</td><td>56%</td><td>24%</td><td>41%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>8</td><td>AVG</td><td>42.1</td><td>51%</td><td>44%</td><td>44%</td><td>55%</td><td>40%</td><td>66%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>12</td><td>AVG</td><td>42.3</td><td>40%</td><td>50%</td><td>43%</td><td>44%</td><td>48%</td><td>56%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>7</td><td>AVG</td><td>48.3</td><td>62%</td><td>53%</td><td>50%</td><td>58%</td><td>49%</td><td>74%</td></tr><tr><td>XLNet-large</td><td>HEL</td><td>11</td><td>AVG</td><td>46.7</td><td>57%</td><td>50%</td><td>54%</td><td>50%</td><td>57%</td><td>73%</td></tr><tr><td>Other models</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>PRPN(tuned)† ‡</td><td></td><td></td><td>=</td><td>47.3</td><td>50%</td><td>59%</td><td>46%</td><td>57%</td><td>44%</td><td>32%</td></tr><tr><td>ON(tuned)† ‡</td><td></td><td></td><td></td><td>48.1</td><td>51%</td><td>64%</td><td>41%</td><td>54%</td><td>38%</td><td>31%</td></tr><tr><td>Neural PCFG†</td><td></td><td></td><td></td><td>50.8</td><td>52%</td><td>71%</td><td>33%</td><td>58%</td><td>32%</td><td>45%</td></tr><tr><td>Compound PCFG+</td><td>=</td><td>=</td><td>=</td><td>55.2</td><td>56%</td><td>74%</td><td>41%</td><td>68%</td><td>40%</td><td>52%</td></tr></table>",
594
+ "bbox": [
595
+ 189,
596
+ 156,
597
+ 807,
598
+ 483
599
+ ],
600
+ "page_idx": 6
601
+ },
602
+ {
603
+ "type": "text",
604
+ "text": "",
605
+ "bbox": [
606
+ 174,
607
+ 520,
608
+ 825,
609
+ 646
610
+ ],
611
+ "page_idx": 6
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "On the other hand, the existing models show exceptionally high recall scores on noun phrases (NP), even though our pre-trained LMs also have success to some extent in capturing noun phrases compared to na¨ıve baselines. From this, we conjecture that neural models trained with a language modeling objective become largely equipped with the ability to understand the concept of NP. In contrast, the pre-trained LMs record the best recall scores on adjective and adverb phrases (ADJP and ADVP), suggesting that the LMs and existing models capture disparate aspects of English syntax to differing degrees. To further explain why some pre-trained LMs are good at capturing ADJPs and ADVPs, we manually investigated the attention heatmaps of the sentences that contain ADJPs or ADVPs. From the inspection, we empirically found that there are some keywords—including ‘two’, ‘ago’, ‘too’, and ‘far’—which have different patterns of attention distributions compared to those of their neighbors and that these keywords can be a clue for our framework to recognize the existence of ADJPs or ADJPs. It is also worth mentioning that ADJPs and ADVPs consist of a relatively smaller number of words than those of SBAR and VP, indicating that the LMs combined with our method have strength in correctly finding small chunks of words, i.e., low-level phrases. ",
616
+ "bbox": [
617
+ 174,
618
+ 652,
619
+ 825,
620
+ 847
621
+ ],
622
+ "page_idx": 6
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "Meanwhile, in comparison with other LM models, GPT-2 and XLNet based models demonstrate their effectiveness and robustness in unsupervised parsing. Particularly, the XLNet-base model serves as a robust baseline achieving the top performance among LM candidates. One plausible explanation for this outcome is that the training objective of XLNet, which considers both autoencoding (AE) and autoregressive (AR) features, might encourage the model to be better aware of phrase structure than other LMs. Another possible hypothesis is that AR objective functions (e.g., typical language modeling) are more effective in training syntax-aware neural models than AE objectives (e.g., masked language modeling), as both GPT-2 and XLNet are pre-trained on AR variants. However, it is hard to conclude what factors contribute to their high performance at this stage. ",
627
+ "bbox": [
628
+ 174,
629
+ 853,
630
+ 823,
631
+ 924
632
+ ],
633
+ "page_idx": 6
634
+ },
635
+ {
636
+ "type": "image",
637
+ "img_path": "images/d982602134138e02110915208629d6ca404a31eb2399467fa65e34bb481667ef.jpg",
638
+ "image_caption": [
639
+ "Figure 2: The best layer-wise S-F1 scores of each LM instance on the PTB test set. (Left) The performance of the X-‘base’ models. (Right) The performance of the X-‘large’ models. "
640
+ ],
641
+ "image_footnote": [],
642
+ "bbox": [
643
+ 215,
644
+ 107,
645
+ 779,
646
+ 268
647
+ ],
648
+ "page_idx": 7
649
+ },
650
+ {
651
+ "type": "text",
652
+ "text": "",
653
+ "bbox": [
654
+ 174,
655
+ 351,
656
+ 823,
657
+ 406
658
+ ],
659
+ "page_idx": 7
660
+ },
661
+ {
662
+ "type": "text",
663
+ "text": "Interestingly, there is an obvious trend that the functions in $F ^ { d } .$ —the distance measure functions for attention distributions—lead most of the LM instances to the best parsing results, indicating that deriving parse trees from attention information can be more compact and efficient than extracting them from the LMs’ intermediate representations, which should contain linguistic knowledge beyond phrase structure. In addition, the results in Table 1 show that large parameterizations of the LMs generally increase their parsing performance, but this improvement is not always guaranteed. Meanwhile, as we expected in Section 4.2 and as seen in the $\\mathbf { \\^ A }$ (attention head number) column of Table 1, the average of attention distributions in the same layer often provides better results than individual attention distributions. ",
664
+ "bbox": [
665
+ 174,
666
+ 414,
667
+ 825,
668
+ 539
669
+ ],
670
+ "page_idx": 7
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "5.3 EXPERIMENTAL RESULTS ON MNLI ",
675
+ "text_level": 1,
676
+ "bbox": [
677
+ 178,
678
+ 561,
679
+ 465,
680
+ 575
681
+ ],
682
+ "page_idx": 7
683
+ },
684
+ {
685
+ "type": "text",
686
+ "text": "We present the results of various models on the MNLI test set in Table 3 of Appendix A.5. We observe trends in the results which mainly coincide with those of the PTB dataset. Particularly, (1) right-branching trees are strong baselines for the task, especially showing their strengths in capturing SBAR and VP clauses/phrases, (2) our method resorting to the LM instances is also comparable to the right-branching trees, demonstrating its superiority in recognizing different aspects of phrase categories including prepositional phrases (PP) and adverb phrases (ADVP), and (3) attention distributions seem more effective for distilling the phrase structures of sentences than intermediate representations. ",
687
+ "bbox": [
688
+ 174,
689
+ 589,
690
+ 825,
691
+ 700
692
+ ],
693
+ "page_idx": 7
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "However, there are some issues worth mentioning. First, the right-branching baseline seems to be even stronger in the case of MNLI, recording a score of over 50 in sentence-level F1. We conjecture that this result comes principally from two reasons: (1) the average length of sentences in MNLI is much shorter than in PTB, giving a disproportionate advantage to na¨ıve baselines, and (2) our data preprocessing, which follows Kim et al. (2019a), removes all punctuation marks, unlike previous work (Htut et al., 2018; Drozdov et al., 2019), leading to an unexpected advantage for the rightbranching scheme. Moreover, it deserves to consider the fact that the gold-standard parse trees in MNLI are not human-annotated, rather automatically generated. ",
698
+ "bbox": [
699
+ 174,
700
+ 708,
701
+ 823,
702
+ 819
703
+ ],
704
+ "page_idx": 7
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "Second, in terms of consistency in identifying the best choice of $f$ and $g$ for each LM, we observe that most of the best combinations of $f$ and $g$ tuned for PTB do not correspond well to the best ones for MNLI. Does this observation imply that a specific combination of these functions and the resulting performance do not generalize well across different data domains? To clarify, we manually investigated the performance of some combinations of $f$ and $g$ , which are tuned on PTB but tested on MNLI instead. As a result, we discover that particular combinations of $f$ and $g$ which are good at PTB are also competitive on MNLI, even though they fail to record the best scores on MNLI. ",
709
+ "bbox": [
710
+ 174,
711
+ 825,
712
+ 823,
713
+ 924
714
+ ],
715
+ "page_idx": 7
716
+ },
717
+ {
718
+ "type": "table",
719
+ "img_path": "images/4a404207e4f6e394ff294f94f09fa00ce5e2b34bb1aeed1c5f58ff3a6d5c3378.jpg",
720
+ "table_caption": [
721
+ "Table 2: Results of training a pseudo-optimum $f _ { \\mathrm { i d e a l } }$ with PTB and XLNet-base model. "
722
+ ],
723
+ "table_footnote": [],
724
+ "table_body": "<table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines (from Table1)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random XLNet-base (F)</td><td>1</td><td></td><td>-</td><td>19.6</td><td>9%</td><td>26%</td><td>12%</td><td>20%</td><td>23%</td><td>24%</td></tr><tr><td>Random XLNet-base (Fd)</td><td></td><td>1</td><td>-</td><td>20.1</td><td>11%</td><td>25%</td><td>14%</td><td>19%</td><td>22%</td><td>26%</td></tr><tr><td>XLNet-base (入=0)</td><td>JSD</td><td>9</td><td>AVG</td><td>40.1</td><td>35%</td><td>56%</td><td>26%</td><td>38%</td><td>47%</td><td>68%</td></tr><tr><td>XLNet-base (入=1.5)</td><td>HEL</td><td>7</td><td>AVG</td><td>48.3</td><td>62%</td><td>53%</td><td>50%</td><td>58%</td><td>49%</td><td>74%</td></tr><tr><td>Trained models(w/gold trees)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random XLNet-base</td><td>fideal</td><td>-</td><td>=</td><td>41.2</td><td>28%</td><td>58%</td><td>29%</td><td>50%</td><td>35%</td><td>41%</td></tr><tr><td>XLNet-base (worst case)</td><td>fideal</td><td>1</td><td>-</td><td>58.0</td><td>47%</td><td>75%</td><td>56%</td><td>71%</td><td>50%</td><td>61%</td></tr><tr><td>XLNet-base (best case)</td><td>fideal</td><td>7</td><td>=</td><td>65.1</td><td>61%</td><td>82%</td><td>67%</td><td>78%</td><td>55%</td><td>73%</td></tr></table>",
725
+ "bbox": [
726
+ 199,
727
+ 130,
728
+ 800,
729
+ 238
730
+ ],
731
+ "page_idx": 8
732
+ },
733
+ {
734
+ "type": "text",
735
+ "text": "Concretely, the union of $f ^ { d } ( \\mathrm { J S D } )$ and $g _ { ( 9 , 1 3 ) } ^ { d }$ —the best duo for the XLNet-base on PTB—achieves 39.2 in sentence-level F1 on MNLI, which is very close to the top performance (39.3) we can obtain when leveraging the XLNet-base. It is also worth noting that GPT-2 and XLNet are efficient in capturing PP and ADVP respectively, regardless of the data domain and the choice of $f$ and $g$ . ",
736
+ "bbox": [
737
+ 174,
738
+ 272,
739
+ 825,
740
+ 332
741
+ ],
742
+ "page_idx": 8
743
+ },
744
+ {
745
+ "type": "text",
746
+ "text": "6 FURTHER ANALYSIS ",
747
+ "text_level": 1,
748
+ "bbox": [
749
+ 174,
750
+ 356,
751
+ 375,
752
+ 371
753
+ ],
754
+ "page_idx": 8
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "6.1 PERFORMANCE COMPARISON BY LAYER ",
759
+ "text_level": 1,
760
+ "bbox": [
761
+ 176,
762
+ 390,
763
+ 490,
764
+ 404
765
+ ],
766
+ "page_idx": 8
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "To take a closer look at how different the layers of the pre-trained LMs are in terms of parsing performance, we retrieve the best sentence-level F1 scores from the lth layer of an LM from all combinations of $f$ and $g _ { l }$ , with regard to the PTB and MNLI respectively. Then we plot the scores as graphs in Figure 2 for the PTB and Figure 4 in Appendix A.4 for the MNLI. Each score is from the models to which the bias is not applied. ",
771
+ "bbox": [
772
+ 174,
773
+ 416,
774
+ 825,
775
+ 486
776
+ ],
777
+ "page_idx": 8
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "From the graphs, we observe several patterns. First, XLNet-based models outperform other competitors across most of the layers. Second, the best outcomes are largely shown in the middle layers of the LMs akin to the observation from Shen et al. (2019), except for some cases where the first layers (especially in case of MNLI) record the best. Interestingly, GPT-2 shows a decreasing trend in its output values as the layer becomes high, while other models generally exhibit the opposite pattern. Moreover, we discover from raw statistics that regardless of the choice of $f$ and $g _ { l }$ , the parsing performance reported as S-F1 is moderately correlated with the layer number l. In other words, it seems that there are some particular layers in the LMs which are more sensitive to syntactic information. ",
782
+ "bbox": [
783
+ 174,
784
+ 493,
785
+ 825,
786
+ 604
787
+ ],
788
+ "page_idx": 8
789
+ },
790
+ {
791
+ "type": "text",
792
+ "text": "6.2 ESTIMATING THE UPPER LIMIT OF DISTANCE MEASURE FUNCTIONS ",
793
+ "text_level": 1,
794
+ "bbox": [
795
+ 176,
796
+ 626,
797
+ 679,
798
+ 640
799
+ ],
800
+ "page_idx": 8
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "Although we have introduced effective candidates for $f$ , we explore the potential of extracting more sophisticated trees from pre-trained LMs, supposing we are equipped with a pseudo-optimum $f$ , call it $f _ { \\mathrm { i d e a l } }$ . To obtain $f _ { \\mathrm { i d e a l } }$ , we train a simple linear layer on each layer of the pre-trained LMs with supervision from the gold-standard trees of the PTB training set, while $g$ remains unchanged—the pre-trained LMs are frozen during training. We choose the XLNet-base model as a representative for the pre-trained LMs. For more details about experimental settings, refer to Appendix A.6. ",
805
+ "bbox": [
806
+ 174,
807
+ 652,
808
+ 825,
809
+ 736
810
+ ],
811
+ "page_idx": 8
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "In Table 2, we present three new results using $f _ { \\mathrm { i d e a l } }$ . As a baseline, we report the performance of $f _ { \\mathrm { i d e a l } }$ with a randomly initialized XLNet-base. Then, we list the worst and best result of $f _ { \\mathrm { i d e a l } }$ according to $g$ , when it is combined with the pre-trained LM. We here mention some findings from the experiment. First, comparing the results with the pre-trained LM against one with the random LM, we reconfirm that pre-training an LM apparently enables the model to capture some aspects of grammar. Specifically, our method is comparable to the linear model trained on the gold-standard trees. Second, we find that there is a tendency for the performance of $f _ { \\mathrm { i d e a l } }$ relying on different LM layers to follow one we already observed in Section 6.1—the best result comes from the middle layers of the LM while the worst from the first and last layer. Third, we identify that the LM has a potential to show improved performance on grammar induction by adopting a more sophisticated $f$ . However, we emphasize that our method equipped with a simple $f$ without gold-standard trees is remarkably reasonable in recognizing constituency grammar, being especially good at catching ADJP and ADVP. ",
816
+ "bbox": [
817
+ 174,
818
+ 743,
819
+ 825,
820
+ 922
821
+ ],
822
+ "page_idx": 8
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "6.3 CONSTITUENCY TREE EXAMPLES ",
827
+ "text_level": 1,
828
+ "bbox": [
829
+ 176,
830
+ 103,
831
+ 449,
832
+ 117
833
+ ],
834
+ "page_idx": 9
835
+ },
836
+ {
837
+ "type": "text",
838
+ "text": "We visualize several gold-standard trees from PTB and the corresponding tree predictions for comparison. For more details, we refer readers to Appendix A.7. ",
839
+ "bbox": [
840
+ 173,
841
+ 131,
842
+ 821,
843
+ 159
844
+ ],
845
+ "page_idx": 9
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "7 CONCLUSIONS AND FUTURE WORK ",
850
+ "text_level": 1,
851
+ "bbox": [
852
+ 174,
853
+ 183,
854
+ 503,
855
+ 199
856
+ ],
857
+ "page_idx": 9
858
+ },
859
+ {
860
+ "type": "text",
861
+ "text": "In this paper, we propose a simple but effective method of inducing constituency trees from pretrained language models in a zero-shot learning fashion. Furthermore, we report a set of intuitive findings observed from the extracted trees, demonstrating that the pre-trained LMs exhibit some properties similar to constituency grammar. In addition, we show that our method can serve as a strong baseline for English grammar induction when combined with (or even without) appropriate linguistic biases. ",
862
+ "bbox": [
863
+ 174,
864
+ 217,
865
+ 825,
866
+ 299
867
+ ],
868
+ "page_idx": 9
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "On the other hand, there are still remaining issues that can be good starting points for future work. First, although we analyzed our method based on two popular datasets, we focused only on English grammar induction. As each language has its own properties (and correspondingly would need individualized biases), it is desirable to expand this work to other languages. Second, it would also be desirable to investigate whether further improvements can be achieved by directly grafting the pre-trained LMs onto existing grammar induction models. Lastly, by verifying the usefulness of the knowledge from the pre-trained LMs and linguistic biases for grammar induction, we want to point out that there is still much room for improvement in the existing grammar induction models. ",
873
+ "bbox": [
874
+ 174,
875
+ 306,
876
+ 825,
877
+ 417
878
+ ],
879
+ "page_idx": 9
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "ACKNOWLEDGMENTS ",
884
+ "text_level": 1,
885
+ "bbox": [
886
+ 176,
887
+ 438,
888
+ 326,
889
+ 450
890
+ ],
891
+ "page_idx": 9
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "We would like to thank Reinald Kim Amplayo and the anonymous reviewers for their thoughtful and valuable comments. This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (NRF2016M3C4A7952587). ",
896
+ "bbox": [
897
+ 174,
898
+ 462,
899
+ 825,
900
+ 503
901
+ ],
902
+ "page_idx": 9
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "REFERENCES ",
907
+ "text_level": 1,
908
+ "bbox": [
909
+ 176,
910
+ 529,
911
+ 285,
912
+ 544
913
+ ],
914
+ "page_idx": 9
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "Chris Burges, Tal Shaked, Erin Renshaw, Ari Lazier, Matt Deeds, Nicole Hamilton, and Greg Hullender. Learning to rank using gradient descent. In Proceedings of the 22nd international conference on Machine learning, pp. 89–96. ACM, 2005. ",
919
+ "bbox": [
920
+ 176,
921
+ 553,
922
+ 821,
923
+ 595
924
+ ],
925
+ "page_idx": 9
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "Jihun Choi, Kang Min Yoo, and Sang-goo Lee. Learning to compose task-specific tree structures. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. ",
930
+ "bbox": [
931
+ 173,
932
+ 611,
933
+ 821,
934
+ 640
935
+ ],
936
+ "page_idx": 9
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "Alexander Clark. Unsupervised induction of stochastic context-free grammars using distributional clustering. In Proceedings of the 2001 workshop on Computational Natural Language LearningVolume 7, pp. 13, 2001. ",
941
+ "bbox": [
942
+ 176,
943
+ 654,
944
+ 821,
945
+ 696
946
+ ],
947
+ "page_idx": 9
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D. Manning. What does BERT look at? an analysis of BERT’s attention. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 276–286, Florence, Italy, August 2019. ",
952
+ "bbox": [
953
+ 173,
954
+ 710,
955
+ 825,
956
+ 755
957
+ ],
958
+ "page_idx": 9
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019. ",
963
+ "bbox": [
964
+ 173,
965
+ 768,
966
+ 825,
967
+ 838
968
+ ],
969
+ "page_idx": 9
970
+ },
971
+ {
972
+ "type": "text",
973
+ "text": "Andrew Drozdov, Patrick Verga, Mohit Yadav, Mohit Iyyer, and Andrew McCallum. Unsupervised latent tree induction with deep inside-outside recursive auto-encoders. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1129–1141, Minneapolis, Minnesota, June 2019. ",
974
+ "bbox": [
975
+ 176,
976
+ 854,
977
+ 825,
978
+ 922
979
+ ],
980
+ "page_idx": 9
981
+ },
982
+ {
983
+ "type": "text",
984
+ "text": "Chris Dyer, Adhiguna Kuncoro, Miguel Ballesteros, and Noah A. Smith. Recurrent neural network grammars. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 199–209, San Diego, California, June 2016. ",
985
+ "bbox": [
986
+ 174,
987
+ 103,
988
+ 825,
989
+ 159
990
+ ],
991
+ "page_idx": 10
992
+ },
993
+ {
994
+ "type": "text",
995
+ "text": "Chris Dyer, Gabor Melis, and Phil Blunsom. A critical analysis of biased parsers in unsupervised ´ parsing. arXiv preprint arXiv:1909.09428, 2019. ",
996
+ "bbox": [
997
+ 171,
998
+ 167,
999
+ 823,
1000
+ 196
1001
+ ],
1002
+ "page_idx": 10
1003
+ },
1004
+ {
1005
+ "type": "text",
1006
+ "text": "Kawin Ethayarajh. How contextual are contextualized word representations? comparing the geometry of BERT, ELMo, and GPT-2 embeddings. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 55–65, Hong Kong, China, November 2019. ",
1007
+ "bbox": [
1008
+ 174,
1009
+ 205,
1010
+ 825,
1011
+ 275
1012
+ ],
1013
+ "page_idx": 10
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "text": "Yoav Goldberg. Assessing bert’s syntactic abilities. arXiv preprint arXiv:1901.05287, 2019. ",
1018
+ "bbox": [
1019
+ 171,
1020
+ 284,
1021
+ 777,
1022
+ 299
1023
+ ],
1024
+ "page_idx": 10
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "Yaru Hao, Li Dong, Furu Wei, and Ke Xu. Visualizing and understanding the effectiveness of bert. arXiv preprint arXiv:1908.05620, 2019. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 306,
1032
+ 818,
1033
+ 335
1034
+ ],
1035
+ "page_idx": 10
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Serhii Havrylov, German Kruszewski, and Armand Joulin. Cooperative learning of disjoint syntax ´ and semantics. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1118–1128, Minneapolis, Minnesota, June 2019. ",
1040
+ "bbox": [
1041
+ 174,
1042
+ 344,
1043
+ 825,
1044
+ 401
1045
+ ],
1046
+ "page_idx": 10
1047
+ },
1048
+ {
1049
+ "type": "text",
1050
+ "text": "John Hewitt and Christopher D. Manning. A structural probe for finding syntax in word representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4129–4138, Minneapolis, Minnesota, June 2019. ",
1051
+ "bbox": [
1052
+ 174,
1053
+ 409,
1054
+ 825,
1055
+ 465
1056
+ ],
1057
+ "page_idx": 10
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
1062
+ "bbox": [
1063
+ 173,
1064
+ 474,
1065
+ 823,
1066
+ 502
1067
+ ],
1068
+ "page_idx": 10
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "Phu Mon Htut, Kyunghyun Cho, and Samuel Bowman. Grammar induction with neural language models: An unusual replication. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 371–373, Brussels, Belgium, November 2018. ",
1073
+ "bbox": [
1074
+ 174,
1075
+ 511,
1076
+ 825,
1077
+ 566
1078
+ ],
1079
+ "page_idx": 10
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "Yoon Kim, Chris Dyer, and Alexander Rush. Compound probabilistic context-free grammars for grammar induction. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 2369–2385, Florence, Italy, July 2019a. ",
1084
+ "bbox": [
1085
+ 176,
1086
+ 575,
1087
+ 823,
1088
+ 618
1089
+ ],
1090
+ "page_idx": 10
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "Yoon Kim, Alexander Rush, Lei Yu, Adhiguna Kuncoro, Chris Dyer, and Gabor Melis. Unsuper-´ vised recurrent neural network grammars. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1105–1117, Minneapolis, Minnesota, June 2019b. ",
1095
+ "bbox": [
1096
+ 174,
1097
+ 626,
1098
+ 825,
1099
+ 683
1100
+ ],
1101
+ "page_idx": 10
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
1106
+ "bbox": [
1107
+ 171,
1108
+ 691,
1109
+ 823,
1110
+ 719
1111
+ ],
1112
+ "page_idx": 10
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "Nikita Kitaev and Dan Klein. Constituency parsing with a self-attentive encoder. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2676–2686, Melbourne, Australia, July 2018. ",
1117
+ "bbox": [
1118
+ 176,
1119
+ 728,
1120
+ 825,
1121
+ 771
1122
+ ],
1123
+ "page_idx": 10
1124
+ },
1125
+ {
1126
+ "type": "text",
1127
+ "text": "Dan Klein and Christopher Manning. Corpus-based induction of syntactic structure: Models of dependency and constituency. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pp. 478–485, Barcelona, Spain, July 2004. ",
1128
+ "bbox": [
1129
+ 176,
1130
+ 779,
1131
+ 823,
1132
+ 821
1133
+ ],
1134
+ "page_idx": 10
1135
+ },
1136
+ {
1137
+ "type": "text",
1138
+ "text": "Dan Klein and Christopher D. Manning. A generative constituent-context model for improved grammar induction. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 128–135, Philadelphia, Pennsylvania, USA, July 2002. ",
1139
+ "bbox": [
1140
+ 176,
1141
+ 830,
1142
+ 823,
1143
+ 873
1144
+ ],
1145
+ "page_idx": 10
1146
+ },
1147
+ {
1148
+ "type": "text",
1149
+ "text": "Dan Klein and Christopher D Manning. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pp. 423–430. Association for Computational Linguistics, 2003. ",
1150
+ "bbox": [
1151
+ 174,
1152
+ 881,
1153
+ 823,
1154
+ 924
1155
+ ],
1156
+ "page_idx": 10
1157
+ },
1158
+ {
1159
+ "type": "text",
1160
+ "text": "Karim Lari and Steve J Young. The estimation of stochastic context-free grammars using the insideoutside algorithm. Computer speech & language, 4(1):35–56, 1990. ",
1161
+ "bbox": [
1162
+ 171,
1163
+ 103,
1164
+ 823,
1165
+ 132
1166
+ ],
1167
+ "page_idx": 11
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "text": "Bowen Li, Lili Mou, and Frank Keller. An imitation learning approach to unsupervised parsing. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 3485–3492, Florence, Italy, July 2019. ",
1172
+ "bbox": [
1173
+ 176,
1174
+ 140,
1175
+ 823,
1176
+ 184
1177
+ ],
1178
+ "page_idx": 11
1179
+ },
1180
+ {
1181
+ "type": "text",
1182
+ "text": "Nelson F. Liu, Matt Gardner, Yonatan Belinkov, Matthew E. Peters, and Noah A. Smith. Linguistic knowledge and transferability of contextual representations. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 1073–1094, Minneapolis, Minnesota, June 2019a. ",
1183
+ "bbox": [
1184
+ 174,
1185
+ 191,
1186
+ 825,
1187
+ 261
1188
+ ],
1189
+ "page_idx": 11
1190
+ },
1191
+ {
1192
+ "type": "text",
1193
+ "text": "Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019b. ",
1194
+ "bbox": [
1195
+ 174,
1196
+ 270,
1197
+ 825,
1198
+ 313
1199
+ ],
1200
+ "page_idx": 11
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "text": "Jean Maillard, Stephen Clark, and Dani Yogatama. Jointly learning sentence embeddings and syntax with unsupervised tree-lstms. Natural Language Engineering, 25(4):433–449, 2019. ",
1205
+ "bbox": [
1206
+ 171,
1207
+ 320,
1208
+ 823,
1209
+ 351
1210
+ ],
1211
+ "page_idx": 11
1212
+ },
1213
+ {
1214
+ "type": "text",
1215
+ "text": "Mitchell P. Marcus, Beatrice Santorini, and Mary Ann Marcinkiewicz. Building a large annotated corpus of English: The Penn Treebank. Computational Linguistics, 19(2):313–330, 1993. ",
1216
+ "bbox": [
1217
+ 173,
1218
+ 357,
1219
+ 821,
1220
+ 387
1221
+ ],
1222
+ "page_idx": 11
1223
+ },
1224
+ {
1225
+ "type": "text",
1226
+ "text": "David Marecek and Rudolf Rosa. Extracting syntactic trees from transformer encoder self- ˇ attentions. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 347–349, Brussels, Belgium, November 2018. ",
1227
+ "bbox": [
1228
+ 174,
1229
+ 395,
1230
+ 825,
1231
+ 438
1232
+ ],
1233
+ "page_idx": 11
1234
+ },
1235
+ {
1236
+ "type": "text",
1237
+ "text": "David Marecek and Rudolf Rosa. From balustrades to pierre vinken: Looking for syntax in trans- ˇ former self-attentions. In Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 263–275, Florence, Italy, August 2019. ",
1238
+ "bbox": [
1239
+ 174,
1240
+ 445,
1241
+ 825,
1242
+ 489
1243
+ ],
1244
+ "page_idx": 11
1245
+ },
1246
+ {
1247
+ "type": "text",
1248
+ "text": "Nikita Nangia and Samuel Bowman. Listops: A diagnostic dataset for latent tree learning. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Student Research Workshop, pp. 92–99, 2018. ",
1249
+ "bbox": [
1250
+ 174,
1251
+ 496,
1252
+ 825,
1253
+ 540
1254
+ ],
1255
+ "page_idx": 11
1256
+ },
1257
+ {
1258
+ "type": "text",
1259
+ "text": "Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 2227–2237, New Orleans, Louisiana, June 2018. ",
1260
+ "bbox": [
1261
+ 173,
1262
+ 547,
1263
+ 825,
1264
+ 617
1265
+ ],
1266
+ "page_idx": 11
1267
+ },
1268
+ {
1269
+ "type": "text",
1270
+ "text": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019. ",
1271
+ "bbox": [
1272
+ 171,
1273
+ 626,
1274
+ 823,
1275
+ 655
1276
+ ],
1277
+ "page_idx": 11
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "text": "Alessandro Raganato and Jorg Tiedemann. An analysis of encoder representations in transformer- ¨ based machine translation. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pp. 287–297, Brussels, Belgium, November 2018. ",
1282
+ "bbox": [
1283
+ 174,
1284
+ 664,
1285
+ 825,
1286
+ 719
1287
+ ],
1288
+ "page_idx": 11
1289
+ },
1290
+ {
1291
+ "type": "text",
1292
+ "text": "Rudolf Rosa and David Marecek. Inducing syntactic trees from bert representations. ˇ arXiv preprint arXiv:1906.11511, 2019. ",
1293
+ "bbox": [
1294
+ 171,
1295
+ 728,
1296
+ 823,
1297
+ 757
1298
+ ],
1299
+ "page_idx": 11
1300
+ },
1301
+ {
1302
+ "type": "text",
1303
+ "text": "Yikang Shen, Zhouhan Lin, Athul Paul Jacob, Alessandro Sordoni, Aaron Courville, and Yoshua Bengio. Straight to the tree: Constituency parsing with neural syntactic distance. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1171–1180, Melbourne, Australia, July 2018a. ",
1304
+ "bbox": [
1305
+ 174,
1306
+ 765,
1307
+ 825,
1308
+ 821
1309
+ ],
1310
+ "page_idx": 11
1311
+ },
1312
+ {
1313
+ "type": "text",
1314
+ "text": "Yikang Shen, Zhouhan Lin, Chin wei Huang, and Aaron Courville. Neural language modeling by jointly learning syntax and lexicon. In International Conference on Learning Representations, 2018b. ",
1315
+ "bbox": [
1316
+ 176,
1317
+ 830,
1318
+ 825,
1319
+ 872
1320
+ ],
1321
+ "page_idx": 11
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Yikang Shen, Shawn Tan, Alessandro Sordoni, and Aaron Courville. Ordered neurons: Integrating tree structures into recurrent neural networks. In International Conference on Learning Representations, 2019. ",
1326
+ "bbox": [
1327
+ 176,
1328
+ 881,
1329
+ 823,
1330
+ 924
1331
+ ],
1332
+ "page_idx": 11
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "Haoyue Shi, Jiayuan Mao, Kevin Gimpel, and Karen Livescu. Visually grounded neural syntax acquisition. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 1842–1861, Florence, Italy, July 2019. ",
1337
+ "bbox": [
1338
+ 176,
1339
+ 103,
1340
+ 823,
1341
+ 146
1342
+ ],
1343
+ "page_idx": 12
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pp. 5998–6008, 2017. ",
1348
+ "bbox": [
1349
+ 176,
1350
+ 155,
1351
+ 823,
1352
+ 196
1353
+ ],
1354
+ "page_idx": 12
1355
+ },
1356
+ {
1357
+ "type": "text",
1358
+ "text": "Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 5797–5808, July 2019. ",
1359
+ "bbox": [
1360
+ 173,
1361
+ 205,
1362
+ 826,
1363
+ 262
1364
+ ],
1365
+ "page_idx": 12
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "text": "Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In International Conference on Learning Representations, 2019. ",
1370
+ "bbox": [
1371
+ 174,
1372
+ 271,
1373
+ 826,
1374
+ 314
1375
+ ],
1376
+ "page_idx": 12
1377
+ },
1378
+ {
1379
+ "type": "text",
1380
+ "text": "Adina Williams, Andrew Drozdov, and Samuel R. Bowman. Do latent tree learning models identify meaningful structure in sentences? Transactions of the Association for Computational Linguistics, 6:253–267, 2018a. ",
1381
+ "bbox": [
1382
+ 174,
1383
+ 323,
1384
+ 825,
1385
+ 366
1386
+ ],
1387
+ "page_idx": 12
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pp. 1112–1122, New Orleans, Louisiana, June 2018b. ",
1392
+ "bbox": [
1393
+ 173,
1394
+ 375,
1395
+ 825,
1396
+ 431
1397
+ ],
1398
+ "page_idx": 12
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Russ R Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. Advances in Neural Information Processing Systems 32, pp. 5754–5764, 2019. ",
1403
+ "bbox": [
1404
+ 176,
1405
+ 440,
1406
+ 823,
1407
+ 483
1408
+ ],
1409
+ "page_idx": 12
1410
+ },
1411
+ {
1412
+ "type": "text",
1413
+ "text": "Dani Yogatama, Phil Blunsom, Chris Dyer, Edward Grefenstette, and Wang Ling. Learning to compose words into sentences with reinforcement learning. In International Conference on Learning Representations, 2017. ",
1414
+ "bbox": [
1415
+ 171,
1416
+ 492,
1417
+ 823,
1418
+ 535
1419
+ ],
1420
+ "page_idx": 12
1421
+ },
1422
+ {
1423
+ "type": "text",
1424
+ "text": "A APPENDIX ",
1425
+ "text_level": 1,
1426
+ "bbox": [
1427
+ 176,
1428
+ 102,
1429
+ 299,
1430
+ 117
1431
+ ],
1432
+ "page_idx": 13
1433
+ },
1434
+ {
1435
+ "type": "image",
1436
+ "img_path": "images/4557215c033955f375eec54b05ca4b1a0d588cb45906a8bd42cdd74d3224d2f4.jpg",
1437
+ "image_caption": [
1438
+ "A.1 ATTENTION HEATMAP EXAMPLES ",
1439
+ "Figure 3: Self-attention heatmaps for the average of all attention distributions from the 7th layer of the XLNet-base model, given a set of input sentences. "
1440
+ ],
1441
+ "image_footnote": [],
1442
+ "bbox": [
1443
+ 232,
1444
+ 171,
1445
+ 779,
1446
+ 868
1447
+ ],
1448
+ "page_idx": 13
1449
+ },
1450
+ {
1451
+ "type": "text",
1452
+ "text": "A.2 TREE CONSTRUCTION ALGORITHM WITH SYNTACTIC DISTANCES",
1453
+ "text_level": 1,
1454
+ "bbox": [
1455
+ 173,
1456
+ 103,
1457
+ 674,
1458
+ 118
1459
+ ],
1460
+ "page_idx": 14
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Algorithm 1 Syntactic Distances to Binary Constituency Tree (originally from Shen et al. (2018a)) ",
1465
+ "text_level": 1,
1466
+ "bbox": [
1467
+ 168,
1468
+ 135,
1469
+ 820,
1470
+ 150
1471
+ ],
1472
+ "page_idx": 14
1473
+ },
1474
+ {
1475
+ "type": "text",
1476
+ "text": "1: $S = [ w _ { 1 } , w _ { 2 } , \\ldots , w _ { n } ] ;$ a sequence of words in a sentence of length $_ n$ . \n2: $\\mathbf { d } = [ d _ { 1 } , d _ { 2 } , \\dotsc , d _ { n - 1 } ]$ : a vector whose elements are the distances between every two adjacent words. \n3: function TREE $( S , { \\bf d } )$ \n4: if $\\mathbf { d } = \\left[ \\begin{array} { l l l l l } \\end{array} \\right]$ then \n5: node $ \\mathrm { L e a f } ( S [ 0 ] )$ \n6: else \n7: $i \\gets \\arg \\operatorname* { m a x } _ { i } ( { \\bf d } )$ \n8: $\\mathrm { c h i l d } _ { l } \\gets \\mathrm { T R E E } ( S _ { \\leq i } , { \\bf d } _ { < i } )$ \n9: $\\mathrm { c h i l d } _ { r } \\gets \\mathrm { T R E E } ( S _ { > i } , { \\bf d } _ { > i } )$ \n10: node ← Node(childl, childr) \n11: end if \n12: return node \n13: end function ",
1477
+ "bbox": [
1478
+ 176,
1479
+ 154,
1480
+ 821,
1481
+ 319
1482
+ ],
1483
+ "page_idx": 14
1484
+ },
1485
+ {
1486
+ "type": "text",
1487
+ "text": "A.3 DISTANCE MEASURE FUNCTIONS ",
1488
+ "text_level": 1,
1489
+ "bbox": [
1490
+ 176,
1491
+ 347,
1492
+ 450,
1493
+ 361
1494
+ ],
1495
+ "page_idx": 14
1496
+ },
1497
+ {
1498
+ "type": "table",
1499
+ "img_path": "images/d40ea323231b5354516b3efc3ab6d7da46e884c0f6f13343496af8876e419fcd.jpg",
1500
+ "table_caption": [
1501
+ "Table 3: The definitions of distance measure functions for computing syntactic distances between two adjacent words in a sentence. Note that $\\mathbf { r } = g ^ { v } ( w _ { i } )$ , $\\mathbf { s } = g ^ { v } ( w _ { i + 1 } )$ , $P = g ^ { d } ( w _ { i } )$ , and $Q =$ $g ^ { d } ( w _ { i + 1 } )$ , respectively. $d$ : hidden embedding size, $n$ : the number of words $( w )$ in a sentence $( S )$ . ",
1502
+ "A.4 PERFORMANCE COMPARISON BY LAYER ON MNLI "
1503
+ ],
1504
+ "table_footnote": [],
1505
+ "table_body": "<table><tr><td>Function(f)Definition</td></tr><tr><td>Functions for intermediate representations (Fu)</td></tr><tr><td>(rTs/((∑(1r):(∑_1s2)2) +1)/2 Cos(r,s) L1(r,s)</td></tr><tr><td>L2(r,s) i-1(r -si)2) Functions for attention distributions (Fd)</td></tr><tr><td>JSD(PIIQ) ((DKL(P||M)+DKL(Q||M))/2) where M=(P+Q)/2</td></tr><tr><td>and DKL(A|lB) =∑ω∈sA(w)log(A(ω)/B(ω)) HEL(P,Q)</td></tr></table>",
1506
+ "bbox": [
1507
+ 267,
1508
+ 434,
1509
+ 728,
1510
+ 602
1511
+ ],
1512
+ "page_idx": 14
1513
+ },
1514
+ {
1515
+ "type": "image",
1516
+ "img_path": "images/57638ca8b998e629ceb0f21baa45992e8d097a5cba5affbe54347892a5bf5588.jpg",
1517
+ "image_caption": [
1518
+ "Figure 4: The best layer-wise S-F1 scores of each LM instance on the MNLI test set. (Left) The performance of the X-‘base’ models. (Right) The performance of the X-‘large’ models. "
1519
+ ],
1520
+ "image_footnote": [],
1521
+ "bbox": [
1522
+ 186,
1523
+ 665,
1524
+ 812,
1525
+ 849
1526
+ ],
1527
+ "page_idx": 14
1528
+ },
1529
+ {
1530
+ "type": "text",
1531
+ "text": "A.5 EXPERIMENTAL RESULTS ON MNLI ",
1532
+ "text_level": 1,
1533
+ "bbox": [
1534
+ 176,
1535
+ 103,
1536
+ 468,
1537
+ 118
1538
+ ],
1539
+ "page_idx": 15
1540
+ },
1541
+ {
1542
+ "type": "table",
1543
+ "img_path": "images/d2e610d715e4f5c9829f017b6e3bde488a70b8d3bdbe2e708155e0df63d6dc09.jpg",
1544
+ "table_caption": [
1545
+ "Table 4: Results on the MNLI test set. Bold numbers correspond to the top 3 results for each column. L: layer number, A: attention head number (AVG: the average of all attentions). $\\dagger$ : Results reported by Htut et al. (2018) and Drozdov et al. (2019). $\\ddagger$ : Approaches in which $\\overline { { \\mathbf { C O O } } }$ parser is utilized. $^ *$ : These results are not strictly comparable to ours, due to the difference in data preprocessing. "
1546
+ ],
1547
+ "table_footnote": [],
1548
+ "table_body": "<table><tr><td>Model</td><td>f</td><td>L</td><td>A</td><td>S-F1</td><td>SBAR</td><td>NP</td><td>VP</td><td>PP</td><td>ADJP</td><td>ADVP</td></tr><tr><td>Baselines</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Random Trees</td><td></td><td></td><td></td><td>21.4</td><td>11%</td><td>25%</td><td>16%</td><td>22%</td><td>22%</td><td>27%</td></tr><tr><td>Balanced Trees</td><td></td><td></td><td></td><td>20.0</td><td>8%</td><td>29%</td><td>11%</td><td>20%</td><td>22%</td><td>32%</td></tr><tr><td>Left Branching Trees</td><td></td><td></td><td></td><td>8.4</td><td>6%</td><td>13%</td><td>1%</td><td>4%</td><td>1%</td><td>8%</td></tr><tr><td>Right Branching Trees</td><td></td><td></td><td></td><td>51.9</td><td>65%</td><td>28%</td><td>75%</td><td>47%</td><td>45%</td><td>30%</td></tr><tr><td>Random XLNet-base (F)</td><td></td><td></td><td></td><td>22.0</td><td>12%</td><td>26%</td><td>15%</td><td>22%</td><td>22%</td><td>25%</td></tr><tr><td>Random XLNet-base (Fd)</td><td>=</td><td></td><td>=</td><td>23.5</td><td>14%</td><td>26%</td><td>18%</td><td>22%</td><td>22%</td><td>25%</td></tr><tr><td>Pre-trained LMs (w/o bias)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>9</td><td>10</td><td>36.1</td><td>36%</td><td>37%</td><td>34%</td><td>45%</td><td>26%</td><td>42%</td></tr><tr><td>BERT-large</td><td>JSD</td><td>17</td><td>10</td><td>37.0</td><td>38%</td><td>32%</td><td>34%</td><td>50%</td><td>22%</td><td>39%</td></tr><tr><td>GPT2</td><td>JSD</td><td>1</td><td>10</td><td>44.0</td><td>43%</td><td>53%</td><td>31%</td><td>60%</td><td>24%</td><td>40%</td></tr><tr><td>GPT2-medium</td><td>JSD</td><td>3</td><td>12</td><td>49.1</td><td>57%</td><td>32%</td><td>61%</td><td>44%</td><td>35%</td><td>37%</td></tr><tr><td>RoBERTa-base</td><td>JSD</td><td>10</td><td>9</td><td>36.2</td><td>26%</td><td>35%</td><td>34%</td><td>50%</td><td>23%</td><td>44%</td></tr><tr><td>RoBERTa-large</td><td>JSD</td><td>3</td><td>6</td><td>39.8</td><td>20%</td><td>28%</td><td>35%</td><td>30%</td><td>28%</td><td>27%</td></tr><tr><td>XLNet-base</td><td>HEL</td><td>1</td><td>6</td><td>39.0</td><td>25%</td><td>39%</td><td>28%</td><td>59%</td><td>35%</td><td>44%</td></tr><tr><td>XLNet-large</td><td>HEL</td><td>1</td><td>15</td><td>42.2</td><td>32%</td><td>49%</td><td>27%</td><td>62%</td><td>32%</td><td>49%</td></tr><tr><td>Pre-trained LMs (w/bias入=1.5)</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>BERT-base</td><td>HEL</td><td>2</td><td>12</td><td>52.7</td><td>64%</td><td>35%</td><td>70%</td><td>50%</td><td>46%</td><td>30%</td></tr><tr><td>BERT-large</td><td>HEL</td><td>4</td><td>4</td><td>51.7</td><td>63%</td><td>31%</td><td>71%</td><td>49%</td><td>46%</td><td>30%</td></tr><tr><td>GPT2</td><td>HEL</td><td>1</td><td>10</td><td>52.2</td><td>57%</td><td>53%</td><td>49%</td><td>62%</td><td>32%</td><td>42%</td></tr><tr><td>GPT2-medium</td><td>HEL</td><td>2</td><td>1</td><td>53.9</td><td>53%</td><td>57%</td><td>50%</td><td>62%</td><td>29%</td><td>44%</td></tr><tr><td>RoBERTa-base</td><td>HEL</td><td>2</td><td>3</td><td>52.0</td><td>64%</td><td>31%</td><td>72%</td><td>49%</td><td>47%</td><td>30%</td></tr><tr><td>RoBERTa-large</td><td>L1</td><td>23</td><td>=</td><td>52.7</td><td>55%</td><td>40%</td><td>65%</td><td>53%</td><td>43%</td><td>41%</td></tr><tr><td>XLNet-base</td><td>L2</td><td>8</td><td></td><td>54.9</td><td>57%</td><td>49%</td><td>61%</td><td>55%</td><td>44%</td><td>57%</td></tr><tr><td>XLNet-large</td><td>L2</td><td>12</td><td>=</td><td>53.5</td><td>54%</td><td>47%</td><td>59%</td><td>51%</td><td>48%</td><td>60%</td></tr><tr><td>Other models</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>PRPN-UPt $</td><td></td><td></td><td></td><td>48.6*</td><td></td><td></td><td></td><td></td><td></td><td>=</td></tr><tr><td>PRPN-LM†‡</td><td></td><td></td><td></td><td>50.4*</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>DIORA†</td><td></td><td></td><td></td><td>51.2*</td><td></td><td>=</td><td></td><td></td><td></td><td>=</td></tr><tr><td>DIORA(+PP)†</td><td></td><td></td><td></td><td>59.0*</td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
1549
+ "bbox": [
1550
+ 192,
1551
+ 204,
1552
+ 805,
1553
+ 529
1554
+ ],
1555
+ "page_idx": 15
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "text": "A.6 EXPERIMENTAL DETAILS FOR TRAINING IDEAL DISTANCE MEASURE FUNCTION ",
1560
+ "text_level": 1,
1561
+ "bbox": [
1562
+ 173,
1563
+ 563,
1564
+ 766,
1565
+ 577
1566
+ ],
1567
+ "page_idx": 15
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "text": "In this part, we present the detailed specifications of the experiments introduced in Section 6.2. We assume $f _ { \\mathrm { i d e a l } }$ is only compatible with the functions in $G ^ { v }$ , as the functions in $G ^ { d }$ are not suitable for training as the sizes of the representations provided by $G ^ { d }$ are variable according to the length of an input sentence. To train the pseudo-optimal function $f _ { \\mathrm { i d e a l } }$ , we minimize a pair-wise learning-to-rank loss following previous work (Burges et al., 2005; Shen et al., 2018a): ",
1572
+ "bbox": [
1573
+ 174,
1574
+ 587,
1575
+ 825,
1576
+ 657
1577
+ ],
1578
+ "page_idx": 15
1579
+ },
1580
+ {
1581
+ "type": "equation",
1582
+ "img_path": "images/e27c12de29e9d89362a298f0feda60496cccd36773d8cfaebd549bd738f43405.jpg",
1583
+ "text": "$$\nL _ { \\mathrm { d i s t } } ^ { \\mathrm { r a n k } } = \\sum _ { i , j > i } [ 1 - \\mathrm { s i g n } ( d _ { i } ^ { \\mathrm { g o l d } } - d _ { j } ^ { \\mathrm { g o l d } } ) ( d _ { i } ^ { \\mathrm { p r e d } } - d _ { j } ^ { \\mathrm { p r e d } } ) ] ^ { + } ,\n$$",
1584
+ "text_format": "latex",
1585
+ "bbox": [
1586
+ 323,
1587
+ 664,
1588
+ 673,
1589
+ 699
1590
+ ],
1591
+ "page_idx": 15
1592
+ },
1593
+ {
1594
+ "type": "text",
1595
+ "text": "where $d ^ { \\mathrm { g o l d } }$ and $d ^ { \\mathrm { p r e d } }$ are computed from the gold tree and our predicted one, respectively. $[ x ] ^ { + }$ is defined as $m a x ( 0 , x )$ . We train the $f _ { \\mathrm { i d e a l } }$ with the PTB training set for 5 epochs. Each batch of the training set contains 16 sentences. We use an ADAM optimizer (Kingma & Ba, 2014) with the learning rate 5e-4. We train the variations of $f _ { \\mathrm { i d e a l } }$ differentiated by the choice of $g$ in $G ^ { v }$ and report the best result in the Table 2. Each $f _ { \\mathrm { i d e a l } }$ is chosen based on its performance on the PTB validation set. Considering the randomness of training, every result for $f _ { \\mathrm { i d e a l } }$ is averaged over 3 different trials. ",
1596
+ "bbox": [
1597
+ 174,
1598
+ 707,
1599
+ 825,
1600
+ 792
1601
+ ],
1602
+ "page_idx": 15
1603
+ },
1604
+ {
1605
+ "type": "text",
1606
+ "text": "A.7 CONSTITUENCY TREE EXAMPLES ",
1607
+ "text_level": 1,
1608
+ "bbox": [
1609
+ 176,
1610
+ 808,
1611
+ 452,
1612
+ 821
1613
+ ],
1614
+ "page_idx": 15
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "We randomly select six sentences from PTB and visualize their trees, where the resulting group of trees for each sentence consists of a gold constituency tree and two induced trees (one without the right-skewness bias and the other with the bias) from our best model—XLNet-base. The ‘T’ character in the induced trees indicates a dummy tag. ",
1619
+ "bbox": [
1620
+ 174,
1621
+ 833,
1622
+ 823,
1623
+ 890
1624
+ ],
1625
+ "page_idx": 15
1626
+ },
1627
+ {
1628
+ "type": "image",
1629
+ "img_path": "images/2f5466c302db8af3968e112d6a6fc4110fb4ef20f050196c5a7a65dfa8733b06.jpg",
1630
+ "image_caption": [
1631
+ "Figure 5: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘These include a child-care initiative and extensions of soon-to-expire tax breaks for low-income housing and research-and-development expenditures’. "
1632
+ ],
1633
+ "image_footnote": [],
1634
+ "bbox": [
1635
+ 196,
1636
+ 258,
1637
+ 799,
1638
+ 694
1639
+ ],
1640
+ "page_idx": 16
1641
+ },
1642
+ {
1643
+ "type": "image",
1644
+ "img_path": "images/6138640de123c6c8c0d5b6307a743fd5691924d2c7b4d57ffee6d0c560e437e7.jpg",
1645
+ "image_caption": [
1646
+ "Figure 6: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘But HOFI ‘s first offer would have given Ideal ’s other shareholders about $10 \\%$ of the combined company’. "
1647
+ ],
1648
+ "image_footnote": [],
1649
+ "bbox": [
1650
+ 196,
1651
+ 228,
1652
+ 799,
1653
+ 726
1654
+ ],
1655
+ "page_idx": 17
1656
+ },
1657
+ {
1658
+ "type": "image",
1659
+ "img_path": "images/7d0c9332a71f76b64f2aa2c57d9f2bc965adeb519c3ddb317aa2f119b1f2525e.jpg",
1660
+ "image_caption": [
1661
+ "Figure 7: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘It was Friday the $1 3 \\mathrm { t h }$ and the stock market plummeted nearly 200 points’. "
1662
+ ],
1663
+ "image_footnote": [],
1664
+ "bbox": [
1665
+ 245,
1666
+ 162,
1667
+ 751,
1668
+ 770
1669
+ ],
1670
+ "page_idx": 18
1671
+ },
1672
+ {
1673
+ "type": "image",
1674
+ "img_path": "images/4a2a79c63bc955bde02bf004df0ecf68c2fd14a5b3664a006bf8bc3680db54a9.jpg",
1675
+ "image_caption": [
1676
+ "Figure 8: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Until recently national governments in Europe controlled most of the air time and allowed little or no advertising’. "
1677
+ ],
1678
+ "image_footnote": [],
1679
+ "bbox": [
1680
+ 197,
1681
+ 227,
1682
+ 797,
1683
+ 732
1684
+ ],
1685
+ "page_idx": 19
1686
+ },
1687
+ {
1688
+ "type": "image",
1689
+ "img_path": "images/3317260942a98cdd94ddf89da58fac2f95eb78e8752f7828db2b29796cd36683.jpg",
1690
+ "image_caption": [
1691
+ "Figure 9: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Nevertheless Ms. Garzarelli said she was swamped with phone calls over the weekend from nervous shareholders’. "
1692
+ ],
1693
+ "image_footnote": [],
1694
+ "bbox": [
1695
+ 202,
1696
+ 199,
1697
+ 797,
1698
+ 758
1699
+ ],
1700
+ "page_idx": 20
1701
+ },
1702
+ {
1703
+ "type": "image",
1704
+ "img_path": "images/60ab9c2749c684e51447319241b1e8da126a5f9ff2078536ebeed7661fa5fa58.jpg",
1705
+ "image_caption": [
1706
+ "Figure 10: Gold (top) and predicted trees (one without the bias in the middle, the other with the bias at the bottom) for the sentence ‘Analysts and competitors however doubt the numbers were that high’. "
1707
+ ],
1708
+ "image_footnote": [],
1709
+ "bbox": [
1710
+ 254,
1711
+ 117,
1712
+ 753,
1713
+ 792
1714
+ ],
1715
+ "page_idx": 21
1716
+ }
1717
+ ]
parse/train/Iz3zU3M316D/Iz3zU3M316D_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Iz3zU3M316D/Iz3zU3M316D_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Syr8Qc1CW/Syr8Qc1CW.md ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DNA-GAN: LEARNING DISENTANGLED REPRESEN-TATIONS FROM MULTI-ATTRIBUTE IMAGES
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Disentangling factors of variation has always been a challenging problem in representation learning. Existing algorithms suffer from many limitations, such as unpredictable disentangling factors, bad quality of generated images from encodings, lack of identity information, etc. In this paper, we proposed a supervised algorithm called DNA-GAN trying to disentangle different attributes of images. The latent representations of images are DNA-like, in which each individual piece represents an independent factor of variation. By annihilating the recessive piece and swapping a certain piece of two latent representations, we obtain another two different representations which could be decoded into images. In order to obtain realistic images and also disentangled representations, we introduced the discriminator for adversarial training. Experiments on Multi-PIE and CelebA datasets demonstrate the effectiveness of our method and the advantage of overcoming limitations existing in other methods.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ The success of machine learning algorithms depends on data representation, because different representations can entangle different explanatory factors of variation behind the data. Although prior knowledge can help us design representations, the vast demand of AI algorithms in various domains cannot be met, since feature engineering is labor-intensive and needs domain expert knowledge. Therefore, algorithms that can automatically learn good representations of data will definitely make it easier for people to extract useful information when building classifiers or predictors.
12
+
13
+ Of all criteria of learning good representations as discussed in Bengio et al. (2013), disentangling factors of variation is an important one that helps separate various explanatory factors. For example, given a human-face image, we can obtain various information about the person, including gender, hair style, facial expression, with/without eyeglasses and so on. All of these information are entangled in a single image, which renders the difficulty of training a single classifier to handle different facial attributes. If we could obtain a disentangled representation of the face image, we may build up only one classifier for multiple attributes.
14
+
15
+ In this paper, we propose a supervised method called DNA-GAN to obtain disentangled representations of images. The idea of DNA-GAN is motivated by the DNA double helix structure, in which different kinds of traits are encoded in different DNA pieces. We make a similar assumption that different visual attributes in an image are controlled by different pieces of encodings in its latent representations. In DNA-GAN, an encoder is used to encode an image to the attribute-relevant part and the attribute-irrelevant part, where different pieces in the attribute-relevant part encode information of different attributes, and the attribute-irrelevant part encodes other information. For example, given a facial image, we are trying to obtain a latent representation that each individual part controls different attributes, such as hairstyles, genders, expressions and so on. Though annihilating recessive pieces and swapping certain pieces, we can obtain novel crossbreeds that can be decoded into new images. By the adversarial discriminator loss and the reconstruction loss, DNA-GAN can reconstruct the input images and generate new images with new attributes. Each attribute is disentangled from others gradually though iterative training. Finally, we are able to obtain disentangled representations in the latent representations.
16
+
17
+ The summary of contributions of our work is as follows:
18
+
19
+ 1. We propose a supervised algorithm called DNA-GAN, that is able to disentangle multiple attributes as demonstrated by the experiments of interpolating multiple attributes on MultiPIE (Gross et al., 2010) and CelebA (Liu et al., 2015) datasets.
20
+ 2. We introduce the annihilating operation that prevents from trivial solutions: the attributerelevant part encodes information of the whole image instead of a certain attribute.
21
+ 3. We employ iterative training to address the problem of unbalanced multi-attribute image data, which was theoretically proved to be more efficient than random image pairs.
22
+
23
+ # 2 RELATED WORK
24
+
25
+ Traditional representation learning algorithms focus on (1) probabilistic graphical models, characterized by Restricted Boltzmann Machine (RBM) (Smolensky, 1986), Autoencoder (AE) and their variants; (2) manifold learning and geometrical approaches, such as Principal Components Analysis (PCA) (Pearson, 1901), Locally Linear Embedding (LLE) (Roweis & Saul, 2000), Local Coordinate Coding (LCC) (Yu et al., 2009), etc. However, recent research has actively focused on developing deep probabilistic models that learn to represent the distribution of data. Kingma & Welling (2013) employs an explicit model distribution and uses variational inference to learn its parameters. As the generative adversarial networks (GAN) (Goodfellow et al., 2014) has been invented, many implicit models are developed.
26
+
27
+ In the semi-supervised setting, Siddharth et al. (2016) learns a disentangled representations by using an auxiliary variable. Bouchacourt et al. (2017) proposes the ML-VAE that can learn disentangled representations from a set of grouped observations. In the unsupervised setting, InfoGAN (Chen et al., 2016) tries to maximize mutual information between a small subset of latent variables and observations by introducing an auxiliary network to approximate the posterior. However, it relies much on the a-priori choice of distributions and suffered from unstable training. Another popular unsupervised method $\beta$ -VAE (Higgins et al., 2016), adapted from VAE, lays great stress on the KL distance between the approximate posterior and the prior. However, unsupervised approaches do not anchor a specific meaning into the disentanglement.
28
+
29
+ More closely with our method, supervised methods take the advantage of labeled data and try to disentangle the factors as expected. DC-IGN (Kulkarni et al., 2015) asks the active attribute to explain certain factor of variation by feeding the other attributes by the average in a mini-batch. TD-GAN (Wang et al., 2017) uses a tag mapping net to boost the quality of disentangled representations, which are consistent with the representations extracted from images through the disentangling network. Besides, the quality of generated images is improved by implementing the adversarial training strategy. However, the identity information should be labeled so as to preserve the id information when swapping attributes, which renders the limitation of applying it into many other datasets without id labels. IcGAN (Perarnau et al., 2016) is a multi-stage training algorithm that first takes the advantage of cGAN (Mirza & Osindero, 2014) to learn a map from latent representations and conditional information to real images, and then learn its inverse map from images to the latent representations and conditions in a supervised manner. The overall effect depends on each training stage, therefore it is hard to obtain satisfying images. Unlike these models, our model requires neither explicit id information in labels nor multi-stage training.
30
+
31
+ Many works have studied the image-to-image translation between unpaired image data using GANbased architectures, see Isola et al. (2016), Taigman et al. (2016), Zhu et al. (2017), Liu et al. (2017) and Zhou et al. (2017). Interestingly, these models require a form of 0/1 weak supervision that is similar to our setting. However, they are circumscribed in two image domains which are opposite to each other with respect to a single attribute. Our model differs from theirs as we generalize to the case of multi-attribute image data. Specifically, we employ the strategy of iterative training to overcome the difficulty of training on unbalanced multi-attribute image datasets.
32
+
33
+ # 3 DNA-GAN APPROACH
34
+
35
+ In this section, we formally outline our method. A set $\mathcal { X }$ of multi-labeled images and a set of labels $\mathcal { V }$ are considered in our setting. Let $\{ ( \mathbf { X } ^ { 1 } , \mathbf { Y } ^ { 1 } ) , \ldots , ( \mathbf { X } ^ { m } , \mathbf { Y } ^ { m } ) \}$ denote the whole training dataset, where $\mathbf { X } ^ { i } \in \mathcal X$ is the $i$ -th image with its label $\mathbf { Y } ^ { i } \in \mathcal { V }$ . The small letter $m$ denotes the number of samples in set $\mathcal { X }$ and $n$ denotes the number of attributes. The label $\mathbf { Y } ^ { i } = ( \mathbf { y } _ { 1 } ^ { i } , \ldots , \mathbf { y } _ { n } ^ { i } )$ is a $n$ -dimensional vector where each element represents whether $\mathbf { X } ^ { i }$ has certain attribute or not. For example, in the case of labels with three candidates [Bangs, Eyeglasses, Smiling], the facial image $\mathbf { X } ^ { i }$ whose label is $\mathbf { Y } ^ { i } = ( 1 , 0 , 1 )$ should depict a smiling face with bangs and no eyeglasses.
36
+
37
+ # 3.1 MODEL
38
+
39
+ As shown in Figure 1, DNA-GAN is mainly composed of three parts: an encoder $( { \mathrm { E n c } } )$ , a decoder (Dec) and a discriminator (D). The encoder maps the real-world images $A$ and $B$ into two latent disentangled representations
40
+
41
+ $$
42
+ \operatorname { E n c } ( A ) = [ a _ { 1 } , \dots , a _ { i } , \dots , a _ { n } , z _ { a } ] , \quad \operatorname { E n c } ( B ) = [ b _ { 1 } , \dots , b _ { i } , \dots , b _ { n } , z _ { b } ]
43
+ $$
44
+
45
+ where $[ a _ { 1 } , \ldots , a _ { i } , \ldots , a _ { n } ]$ is called the attribute-relevant part, and $z _ { a }$ is called the attribute-irrelevant part. $a _ { i }$ is supposed to be a DNA piece that controls $\mathbf { y } _ { i }$ , the $i$ -th attribute in the label, and $z _ { a }$ is for keeping other silent factors which do not appear in the attribute list as well as image identity information. The same thing applies for $\operatorname { E n c } ( B )$ .
46
+
47
+ ![](images/7d30a549e7003d1f960dc09538b3a978887025f279e99544c245587f3e976cda.jpg)
48
+ Figure 1: DNA-GAN architecture.
49
+
50
+ e focus on one attribute each time in ourare required to have different labels, i.e. we a and $i$ $A$ and, re$B$ $( \mathbf { y } _ { 1 } ^ { A } , \ldots , 1 _ { i } ^ { A } , \ldots , \mathbf { y } _ { n } ^ { \bar { A } } )$ $( \mathbf { y } _ { 1 } ^ { B } , \ldots , 0 _ { i } ^ { B } , \ldots , \mathbf { y } _ { n } ^ { B } )$ spectively. In our convention, $A$ is always for the dominant pattern, while $B$ is for the recessive pattern. We copy $\operatorname { E n c } ( A )$ directly as the latent representation of $A _ { 1 }$ , and annihilate $b _ { i }$ in the copy of $\operatorname { E n c } ( B )$ as the latent representation of $B _ { 1 }$ . The annihilating operation means replacing all elements with zeros, and plays a key role in disentangling the attribute, which we will discuss in detail in Section 3.3. By swapping $a _ { i }$ and $0 _ { i }$ , we obtain two new latent representations $\left[ a _ { 1 } , \ldots , 0 _ { i } , \ldots , a _ { n } , z _ { a } \right]$ and $\left[ b _ { 1 } , \dots , a _ { i } , \dots , b _ { n } , z _ { b } \right]$ that are supposed to be decoded into $A _ { 2 }$ and $B _ { 2 }$ , respectively. Though a decoder Dec, we can get four newly generated images $A _ { 1 }$ , $B _ { 1 }$ , $A _ { 2 }$ and $B _ { 2 }$ .
51
+
52
+ $$
53
+ \begin{array} { r l } & { \mathrm { D e c } ( [ a _ { 1 } , \dots , a _ { i } , \dots , a _ { n } , z _ { a } ] ) = A _ { 1 } , \quad \mathrm { D e c } ( [ b _ { 1 } , \dots , 0 _ { i } , \dots , b _ { n } , z _ { b } ] ) = B _ { 1 } } \\ & { \mathrm { D e c } ( [ a _ { 1 } , \dots , 0 _ { i } , \dots , a _ { n } , z _ { a } ] ) = A _ { 2 } , \quad \mathrm { D e c } ( [ b _ { 1 } , \dots , a _ { i } , \dots , b _ { n } , z _ { b } ] ) = B _ { 2 } } \end{array}
54
+ $$
55
+
56
+ Out of these four children, $A _ { 1 }$ and $B _ { 1 }$ are reconstructions of $A$ and $B$ , while $A _ { 2 }$ and $B _ { 2 }$ are novel crossbreeds. The reconstruction losses between $A$ and $A _ { 1 }$ , $B$ and $B _ { 1 }$ ensure the quality of reconstructed samples. Besides, using an adversarial discriminator D that helps make generated samples $A _ { 2 }$ indistinguishable from $B$ , and $B _ { 2 }$ indistinguishable from $A$ , we can enforce attribute-related information to be encoded in $a _ { i }$ .
57
+
58
+ # 3.2 LOSS FUNCTIONS
59
+
60
+ Given two images $A$ and $B$ and their labels $\begin{array} { c c l } { \mathbf { Y } ^ { A } } & { = } & { ( \mathbf { y } _ { 1 } ^ { A } , \ldots , \mathbf { l } _ { i } ^ { A } , \ldots , \mathbf { y } _ { n } ^ { A } ) } \end{array}$ and $\begin{array} { r l } { \mathbf { Y } ^ { B } } & { { } = } \end{array}$ $( \mathbf { y } _ { 1 } ^ { B } , \ldots , 0 _ { i } ^ { B } , \ldots , \mathbf { y } _ { n } ^ { B } )$ which are different at the $i$ -th position, the data flow can be summarized by (1) and (2). We force the $i$ -th latent encoding of $B$ to be zero in order to prevent from trivial solutions as we will discuss in Section 3.3.
61
+
62
+ The encoder and decoder receive two types of losses: (1) the reconstruction loss,
63
+
64
+ $$
65
+ L _ { r e c o n s t r u c t } = \| A - A _ { 1 } \| _ { 1 } + \| B - B _ { 1 } \| _ { 1 }
66
+ $$
67
+
68
+ which measures the reconstruction quality after a sequence of encoding and decoding; (2) the standard GAN loss,
69
+
70
+ $$
71
+ L _ { G A N } = - \mathbb { E } [ \log ( \mathrm { D } ( A _ { 2 } | \mathbf { y } _ { i } ^ { A } = 1 ) ) ] - \mathbb { E } [ \log ( \mathrm { D } ( B _ { 2 } | \mathbf { y } _ { i } ^ { B } = 0 ) ) ]
72
+ $$
73
+
74
+ which measures how realistic the generated images are. The discriminator takes the generated image and the $i$ -th element of its label as inputs, and outputs a number which indicates how realistic the input image is. The larger the number is, the more realistic the image is. Omitting the coefficient, the loss function for the encoder and decoder is
75
+
76
+ $$
77
+ L _ { G } = L _ { r e c o n s t r u c t } + L _ { G A N } .
78
+ $$
79
+
80
+ The discriminator D receives the standard GAN discriminator loss
81
+
82
+ $$
83
+ \begin{array} { r l } & { L _ { D _ { 1 } } = - \mathbb { E } [ \log ( \mathrm { D } ( A | \mathbf { y } _ { i } ^ { A } = 1 ) ) ] - \mathbb { E } [ \log ( 1 - \mathrm { D } ( B _ { 2 } | \mathbf { y } _ { i } ^ { A } = 1 ) ) ] } \\ & { L _ { D _ { 0 } } = - \mathbb { E } [ \log ( \mathrm { D } ( B | \mathbf { y } _ { i } ^ { B } = 0 ) ) ] - \mathbb { E } [ \log ( 1 - \mathrm { D } ( A _ { 2 } | \mathbf { y } _ { i } ^ { B } = 0 ) ) ] } \\ & { L _ { D } = L _ { D _ { 1 } } + L _ { D _ { 0 } } } \end{array}
84
+ $$
85
+
86
+ where $L _ { D _ { 1 } }$ drives $\mathrm { D }$ to tell $A$ from $B _ { 2 }$ , and $L _ { D _ { 0 } }$ drives $\mathrm { D }$ to tell $B$ from $A _ { 2 }$ .
87
+
88
+ # 3.3 ANNIHILATING OPERATION PREVENTS FROM TRIVIAL SOLUTIONS
89
+
90
+ Through experiments, we observe that there exist trivial solutions to our model without the annihilating operation. We just take the single-attribute case as an example. Suppose that $\operatorname { E n c } ( A ) = [ a , z _ { a } ]$ and $\bar { \mathrm { E n c } } ( B ) = [ b , \bar { z } _ { b } ]$ , we can get four children without annihilating operation
91
+
92
+ $$
93
+ A _ { 1 } = \mathrm { D e c } ( [ a , z _ { a } ] ) , \quad B _ { 1 } = \mathrm { D e c } ( [ b , z _ { b } ] ) , \quad A _ { 2 } = \mathrm { D e c } ( [ b , z _ { a } ] ) , \quad B _ { 2 } = \mathrm { D e c } ( [ a , z _ { b } ] )
94
+ $$
95
+
96
+ The reconstruction loss makes it invertible between the latent encoding space and image space. The adversarial discriminator D is supposed to disentangle the attribute from other information by telling whether $A _ { 2 }$ looks as real as $B$ and $B _ { 2 }$ looks as real as $A$ or not. As we know that the generative adversarial networks give the best solution when achieving the Nash equilibrium. But without the annihilating operation, information of the whole image could be encoded into the attribute-relevant part, which means
97
+
98
+ $$
99
+ \operatorname { E n c } ( A ) = [ a , 0 ] , \quad \operatorname { E n c } ( B ) = [ b , 0 ]
100
+ $$
101
+
102
+ Therefore, we obtain the following four children
103
+
104
+ $$
105
+ A _ { 1 } = \operatorname { D e c } ( [ a , 0 ] ) , \quad B _ { 1 } = \operatorname { D e c } ( [ b , 0 ] ) , \quad A _ { 2 } = \operatorname { D e c } ( [ b , 0 ] ) , \quad B _ { 2 } = \operatorname { D e c } ( [ a , 0 ] )
106
+ $$
107
+
108
+ In this situation, the discriminator $\mathrm { D }$ cannot discriminate $A _ { 2 }$ from $B$ , since they share the same latent encodings. By reconstruction loss, $A _ { 2 }$ and $B$ are exactly the same image, which is against our expectation that $A _ { 2 }$ should depict the person from $A$ with the attribute borrowed from $B$ . The same thing happens to $B _ { 2 }$ and $A$ as well.
109
+
110
+ To prevent from learning trivial solutions, we adopt the annihilating operation by replacing the recessive pattern $b$ with a zero tensor of the same $\bar { \mathrm { s i z e } ^ { 1 } }$ . If information of the whole image were encoded into the attribute-relevant part, the four children in this case are
111
+
112
+ $$
113
+ A _ { 1 } = \operatorname { D e c } ( [ a , 0 ] ) , \quad B _ { 1 } = \operatorname { D e c } ( [ 0 , 0 ] ) , \quad A _ { 2 } = \operatorname { D e c } ( [ 0 , 0 ] ) , \quad B _ { 2 } = \operatorname { D e c } ( [ a , 0 ] )
114
+ $$
115
+
116
+ The encodings of $B _ { 1 }$ and $A _ { 2 }$ contain no information at all, thus neither the person in $B _ { 1 }$ nor $A _ { 2 }$ who is supposed to be the same as in $B$ can be reconstructed by Dec. This forces the attribute-irrelevant part to encode some information of images.
117
+
118
+ # 3.4 ITERATIVE TRAINING
119
+
120
+ To reduce the difficulty of disentangling multiple attributes, we take the strategy of iterative training: we update our model using a pair of images with opposite labels at a certain position each time. Suppose that we are at the $i$ -th position, the label of image $A$ is $( \mathbf { y } _ { 1 } ^ { A } , \ldots , 1 _ { i } ^ { A } , \cdot \cdot . , \mathbf { y } _ { n } ^ { A } )$ , while the label of image $B$ is $( \mathbf { y } _ { 1 } ^ { B } , \ldots , 0 _ { i } ^ { B } , \ldots , \mathbf { y } _ { n } ^ { B } )$ . During each iteration, as $i$ goes through from 1 to $n$ repeatedly, our model fed with such a pair of images can disentangle multiple attributes one-by-one.
121
+
122
+ Compared with training with random pairs of images, iterative training is proved to be more effective. Random pairs of images means randomly selecting pairs of images each time without label constraints. A pair of images with different labels is called a useful pair.
123
+
124
+ We theoretically show that our iterative training is much more efficient than random image pairs especially when the dataset is unbalanced. All proofs can be found in the Appendix.
125
+
126
+ Theorem 1. Let $\mathcal { X } = \{ ( \mathbf { X } ^ { 1 } , \mathbf { Y } ^ { 1 } ) , \dots , ( \mathbf { X } ^ { m } , \mathbf { Y } ^ { m } ) \}$ denote the whole multi-attribute image dataset,
127
+ where $\mathbf { X } ^ { i }$ is a multi-attribute image and its label $\mathbf { \dot { Y } } ^ { i } = ( \mathbf { y } _ { 1 } ^ { i } , \dots , \mathbf { y } _ { n } ^ { i } )$ is an $n$ -dimensional vector.
128
+ Therelabel iterat reis ns ally , anded $2 ^ { n }$ ls, denoted by . To select all lecting pairs an $\mathcal { L } = \{ l _ { 1 } , \ldots , l _ { 2 ^ { n } } \}$ . The number of ionce, the expecteding are denoted by ges wmberand $l _ { i }$ $m _ { i }$ $\textstyle \sum _ { i = 1 } ^ { 2 ^ { n } } m _ { i } = m$ $\mathrm { E _ { 1 } }$ $\mathrm { E _ { 2 } }$ respectively. Then,
129
+
130
+ $$
131
+ \begin{array} { l } { \mathrm { E } _ { 1 } = m ^ { 2 } \left( 1 + \displaystyle \frac { 1 } { 2 } + \cdot \cdot \cdot + \frac { 1 } { m ^ { 2 } - \sum _ { i = 1 } ^ { 2 n } m _ { i } ^ { 2 } } \right) } \\ { \mathrm { E } _ { 2 } \leq 2 n \cdot \displaystyle \operatorname* { m a x } _ { s = 1 , \ldots , n } \displaystyle \sum _ { i \in I _ { s } , j \in J _ { s } } m _ { i } m _ { j } \left( 1 + \frac { 1 } { 2 } + \cdot \cdot \cdot + \frac { 1 } { m ^ { 2 } - \sum _ { k _ { 1 } = 1 } ^ { 2 n - 1 } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } \right) } \end{array}
132
+ $$
133
+
134
+ where $I _ { s }$ represents the indices of labels where the s-th element is $1$ , and $J _ { s }$ represents the indices of labels where the $s$ -th element is 0.
135
+
136
+ Definition 1. (Balancedness) Define the balancedness of a dataset $\mathcal { X }$ described above with respect to the $s$ -th attribute as follows:
137
+
138
+ $$
139
+ \rho _ { s } = \frac { \sum _ { i \in I _ { s } } m _ { i } } { \sum _ { j \in J _ { s } } m _ { j } }
140
+ $$
141
+
142
+ where $I _ { s }$ represents the indices of labels where the $s$ -th element is 1, and $J _ { s }$ represents the indices of labels where the $s$ -th element is 0.
143
+
144
+ Theorem 2. We have $\mathrm { E } _ { 2 } \leq \mathrm { E } _ { 1 }$ , when
145
+
146
+ $$
147
+ n \leq \operatorname* { m i n } _ { s } \frac { ( \rho _ { s } + 1 ) ^ { 2 } } { 2 \rho _ { s } } .
148
+ $$
149
+
150
+ Specifically, $\mathrm { E } _ { 2 } \leq \mathrm { E } _ { 1 }$ holds true for all $n \leq 2$
151
+
152
+ The property of the function $( \rho + 1 ) ^ { 2 } / ( 2 \rho )$ suits well with the definition of balancedness, because it attains the same value for $\rho$ and $1 / \rho$ , which is invariant to different labeling methods. Its value gets larger as the dataset becomes more unbalanced. The minimum is obtained at $\rho = 1$ , which is the case of a balanced dataset.
153
+
154
+ Theorem 2 demonstrates that the iterative training mechanism is always more efficient than random pairs of images when the number of attributes met the criterion (16). As the dataset becomes more unbalanced, $\dot { ( \rho _ { s } + 1 ) } ^ { 2 } / ( 2 \rho _ { s } )$ goes larger, which means (16) can be more easily satisfied. More importantly, iterative training helps stabilize the training process on unbalanced datasets. For example, given a two-attribute dataset, the number of data of each kind is as follows:
155
+
156
+ Table 1: The example of an unbalanced two-attribute dataset.
157
+
158
+ <table><tr><td rowspan=1 colspan=1>Label</td><td rowspan=1 colspan=1>(0,0)</td><td rowspan=1 colspan=1>(0,1)</td><td rowspan=1 colspan=1>(1,0)</td><td rowspan=1 colspan=1>(1,1)</td></tr><tr><td rowspan=1 colspan=1>Number of data</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>m</td><td rowspan=1 colspan=1>m</td></tr></table>
159
+
160
+ If $m \gg 1$ is a very large number, then it is highly likely that we will select a pair of images whose labels are $( 1 , 0 )$ and $( 1 , 1 )$ each time by randomly selecting pairs. We ignore the pair of images whose labels are $( 1 , 0 )$ and $( 1 , 0 )$ or $( 1 , 1 )$ and $( 1 , 1 )$ , though these two cases have equal probabilities of being chosen. Because they are not useful pairs, thus do not participated in training. In this case, most of the time the model is trained with respect to the second attribute, which will cause the final learnt model less effective to the first attribute. However, iterative training can prevent this from happening, since we update our model evenly with respect to two attributes.
161
+
162
+ ![](images/42278b7c4d2b1d49753c4445c4a11a8a8c9c804e77fceacb234d8a1b49c813d2.jpg)
163
+ Figure 2: Manipulating illumination factors on the Multi-PIE dataset. From left to right, the six images in a row are: original images $A$ with light illumination and $B$ with the dark illumination, newly generated images $A _ { 2 }$ and $B _ { 2 }$ by swapping the illumination-relevant piece in disentangled representations, and reconstructed images $A _ { 1 }$ and $B _ { 1 }$ .
164
+
165
+ # 4 EXPERIMENTS
166
+
167
+ In this section, we perform different kinds of experiments on two real-world datasets to validate the effectiveness of our methods. We use the RMSProp (Sutskever et al., 2013) optimization method initialized by a learning rate of 5e-5 and momentum 0. All neural networks are equipped with Batch Normalization (Ioffe & Szegedy, 2015) after convolutions or deconvolutions. We used Leaky Relu (Maas et al., 2013) as the activation function in the encoder. Besides, we adopt strategies mentioned in Wasserstein GAN (Arjovsky et al., 2017) for stable training. More details will be available online. We divide all images into training images and test images according to the ratio of 9:1. All of the following results are from test images without cherry-picking.
168
+
169
+ # 4.1 MULTI-PIE DATABASE
170
+
171
+ The Multi-PIE (Gross et al., 2010) face database contains over 750,000 images of 337 subjects captured under 15 view points and 19 illumination conditions. We collecte all front faces images of different illuminations and align them based on 5-point landmarks on eyes, nose and mouth. All aligned images are resized into $1 2 8 \times 1 2 8$ as inputs in our experiments. We label the light illumination face images by 1 and the dark illumination face images by 0. As shown in Figure 2, the illumination on one face is successfully transferred into the other face without modifying any other information in the images. This demonstrates that DNA-GAN can effectively disentangle the illumination factor from other factors in the latent space.
172
+
173
+ # 4.2 CELEBA DATASET
174
+
175
+ CelebA (Liu et al., 2015) is a dataset composed of 202599 face images and 40 attribute binary vectors and 5 landmark locations. We use the aligned and cropped version and scaled all images down to $6 4 \times 6 4$ . To better demonstrate the advantage of our method, we choose TD-GAN (Wang et al., 2017) and IcGAN (Perarnau et al., 2016) for comparisons.
176
+
177
+ As we mentioned before, TD-GAN requires the explicit id information in the label, thus cannot be applied to the CelebA dataset directly. To overcome this limitation, we use some channels to encode the id information in its latent representations. In our experiments, the id information is preserved when swapping the attribute information in the latent encodings. We also compared the experimental results of IcGAN with ours in the celebA dataset. The following results are obtained using the the official code and pre-trained celebA model provided by the author2.
178
+
179
+ ![](images/2ecc4949d6e212e1bf23ef9de4b47d50e299cd2832f3f41476204d10ce9d8fab.jpg)
180
+ Figure 3: The experimental results of TD-GAN and IcGAN on CelebA dataset. Three rows indicates the swapping attributes of Bangs, Eyeglasses and Smiling. For each model, the four images in a row are: two original images, and two newly generated images by swapping the attributes. The third image is generated by adding the attribute to the first one, and the fourth image is generated by removing the attribute from the second one.
181
+
182
+ As displayed in Figure 3a, modified TD-GAN encounters the problem of trivial solutions. Without id information explicitly contained in the label, TD-GAN encodes the information of the whole image into the attribute-related part in the latent representations. As a result, two faces are swapped directly. Whereas in Figure 3b, the quality of images generated by IcGAN are very bad, which is probably due to the multi-stage training process of IcGAN. Since the overall effect of the model relies much on the each stage.
183
+
184
+ DNA-GAN is able to disentangle multiple attributes in the latent representations as shown in Figure 4. Since different attributes are encoded in different DNA pieces in our latent representations, we are able to interpolate the attribute subspaces by linear combination of disentangled encodings. Figure 4a, 4b and 4c present disentangled attribute subspaces spanned by any two attributes of Bangs, Eyeglasses and Smiling. They demonstrate that our model is effective in learning disentangled representations. Figure 4d shows the hairstyle transfer process among different Bangs styles. It is worth mentioning that the top-left image in Figure 4d is outside the CelebA dataset, which further validate the generalization potential of our model on unseen data. Please refer to Figure 5 in the Appendix for more results.
185
+
186
+ ![](images/aa58c88e87268845652e308670f5efc003ac56f4242bd70d79371ee40a8ddf34.jpg)
187
+ Figure 4: The interpolation results of DNA-GAN. Figure 4a, 4b and 4c display the disentangled attribute subspaces spanned by any two attributes of Bangs, Eyeglasses and Smiling. Figure 4d shows the attribute subspaces spanned by several Bangs feature vectors. Besides, the top-left image in Figure 4d is outside the CelebA dataset.
188
+
189
+ # 5 CONCLUSION
190
+
191
+ In this paper, we propose a supervised algorithm called DNA-GAN that can learn disentangled representations from multi-attribute images. The latent representations of images are DNA-like, consisting of attribute-relevant and attribute-irrelevant parts. By the annihilating operation and attribute hybridization, we are able to create new latent representations which could be decoded into novel images with designed attributes. The iterative training strategy effectively overcomes the difficulty of training on unbalanced datasets and helps disentangle multiple attributes in the latent space.
192
+
193
+ The experimental results not only demonstrate that DNA-GAN is effective in learning disentangled representations and image editing, but also point out its potential in interpretable deep learning, image understanding and transfer learning.
194
+
195
+ There also exist some limitations of our model. Without strong guidance on the attribute-irrelevant parts, some background information is encoded into the attribute-relevant part. As we can see in Figure 4, the background color gets changed when swapping attributes. Besides, our model may fail when several attributes are highly correlated with each other. For example, Male and Mustache are statistically dependent, which are hard to disentangle in the latent representations. These are left as our future work.
196
+
197
+ # REFERENCES
198
+
199
+ Mart´ın Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. ´ CoRR, abs/1701.07875, 2017.
200
+
201
+ Yoshua Bengio, Aaron C. Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE Trans. Pattern Anal. Mach. Intell., 35(8):1798–1828, 2013.
202
+
203
+ Diane Bouchacourt, Ryota Tomioka, and Sebastian Nowozin. Multi-level variational autoencoder: Learning disentangled representations from grouped observations. CoRR, abs/1705.08841, 2017.
204
+
205
+ Xi Chen, Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in Neural Information Processing Systems 29, pp. 2172–2180, 2016.
206
+
207
+ Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems 27, pp. 2672–2680, 2014.
208
+
209
+ Ralph Gross, Iain A. Matthews, Jeffrey F. Cohn, Takeo Kanade, and Simon Baker. Multi-pie. Image Vision Comput., 28(5):807–813, 2010.
210
+
211
+ Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. 2016.
212
+
213
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, pp. 448–456, 2015.
214
+
215
+ Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. CoRR, abs/1611.07004, 2016.
216
+
217
+ Diederik P. Kingma and Max Welling. Auto-encoding variational bayes. CoRR, abs/1312.6114, 2013.
218
+
219
+ Tejas D. Kulkarni, William F. Whitney, Pushmeet Kohli, and Joshua B. Tenenbaum. Deep convolutional inverse graphics network. In Advances in Neural Information Processing Systems 28, pp. 2539–2547, 2015.
220
+
221
+ Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. CoRR, abs/1703.00848, 2017.
222
+
223
+ Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, pp. 3730–3738, 2015.
224
+
225
+ Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. In Proc. ICML, volume 30, 2013.
226
+
227
+ Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. CoRR, abs/1411.1784, 2014.
228
+
229
+ Karl Pearson. Liii. on lines and planes of closest fit to systems of points in space. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 2(11):559–572, 1901.
230
+
231
+ Guim Perarnau, Joost van de Weijer, Bogdan Raducanu, and Jose M. Alvarez. Invertible conditional ´ gans for image editing. CoRR, abs/1611.06355, 2016.
232
+
233
+ Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. science, 290(5500):2323–2326, 2000.
234
+
235
+ N Siddharth, Brooks Paige, Alban Desmaison, Jan-Willem van de Meent, Frank Wood, Noah D Goodman, Pushmeet Kohli, and Philip HS Torr. Learning disentangled representations in deep generative models. 2016.
236
+
237
+ Paul Smolensky. Information processing in dynamical systems: Foundations of harmony theory. Technical report, COLORADO UNIV AT BOULDER DEPT OF COMPUTER SCIENCE, 1986.
238
+
239
+ Ilya Sutskever, James Martens, George E. Dahl, and Geoffrey E. Hinton. On the importance of initialization and momentum in deep learning. In Proceedings of the 30th International Conference on Machine Learning, ICML 2013, pp. 1139–1147, 2013.
240
+
241
+ Yaniv Taigman, Adam Polyak, and Lior Wolf. Unsupervised cross-domain image generation. CoRR, abs/1611.02200, 2016.
242
+
243
+ Chaoyue Wang, Chaohui Wang, Chang Xu, and Dacheng Tao. Tag disentangled generative adversarial network for object image re-rendering. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI 2017, pp. 2901–2907, 2017.
244
+
245
+ Kai Yu, Tong Zhang, and Yihong Gong. Nonlinear learning using local coordinate coding. In Advances in Neural Information Processing Systems 22, pp. 2223–2231, 2009.
246
+
247
+ Shuchang Zhou, Taihong Xiao, Yi Yang, Dieqiao Feng, Qinyao He, and Weiran He. Genegan: Learning object transfiguration and attribute subspace from unpaired data. CoRR, abs/1705.04932, 2017.
248
+
249
+ Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. CoRR, abs/1703.10593, 2017.
250
+
251
+ # APPENDIX
252
+
253
+ To prove Theorem 1, we need the following lemma.
254
+
255
+ Lemma 1. $A$ set $S = \{ s _ { 1 } , \ldots , s _ { m } \}$ has m different elements, from which elements are being selected equally likely with replacement. The expected number of trials needed to collect a subset $R = \{ s _ { 1 } , \ldots , s _ { n } \}$ of $n ( 1 \leq n \leq m )$ elements is
256
+
257
+ $$
258
+ m \cdot \left( { \frac { 1 } { 1 } } + { \frac { 1 } { 2 } } + \cdots + { \frac { 1 } { n } } \right) .
259
+ $$
260
+
261
+ Proof. Let $T$ be the time to collect all $n$ elements in the subset $R$ , and let $t _ { i }$ be the time to collect the $i$ -th new elements after $i - 1$ elements in $R$ have been collected. Observe that the probability of collecting a new element is $p _ { i } = ( n - ( i - 1 ) ) / m$ . Therefore, $t _ { i }$ is a geometrically distributed random variable with expectation $1 / p _ { i }$ . By the linearity of expectations, we have:
262
+
263
+ $$
264
+ { \begin{array} { r l } & { \mathbb { E } ( T ) = \mathbb { E } ( t _ { 1 } ) + \mathbb { E } ( t _ { 2 } ) + \dots + \mathbb { E } ( t _ { n } ) } \\ & { \qquad = { \frac { 1 } { p _ { 1 } } } + { \frac { 1 } { p _ { 2 } } } + \dots + { \frac { 1 } { p _ { n } } } } \\ & { \qquad = { \frac { m } { n } } + { \frac { m } { n - 1 } } + \dots + { \frac { m } { 1 } } } \\ & { \qquad = m \cdot \left( { \frac { 1 } { 1 } } + { \frac { 1 } { 2 } } + \dots + { \frac { 1 } { n } } \right) . } \end{array} }
265
+ $$
266
+
267
+ Proof. (of Theorem 1)
268
+
269
+ We first consider the case of randomly selecting pairs. All possible image pairs are actually in the product space $\mathcal X \times \mathcal X$ , whose cardinality is $m ^ { 2 }$ . If we take the order of two images in a pair into consideration, the number of possible pairs is $m ^ { 2 }$ . Recall that the useful pair denotes a pair of image of different labels. Therefore, the number of all useful pairs is $\textstyle \sum _ { i \neq j } m _ { i } m _ { j }$ . By Lemma 1, the expected number of iterations for randomly selecting pairs to select all useful pairs at least once is
270
+
271
+ $$
272
+ \begin{array} { r l } & { \mathrm { E } _ { 1 } = m ^ { 2 } \left( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { \sum _ { i \neq j } m _ { i } m _ { j } } \right) } \\ & { \quad = m ^ { 2 } \left( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { \sum _ { i = 1 } ^ { 2 n } ( m _ { i } \sum _ { j \neq i } m _ { j } ) } \right) } \\ & { \quad = m ^ { 2 } \left( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { \sum _ { i = 1 } ^ { 2 n } m _ { i } ( m - m _ { i } ) } \right) } \\ & { \quad = m ^ { 2 } \left( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { i = 1 } ^ { 2 n } m _ { i } ^ { 2 } } \right) . } \end{array}
273
+ $$
274
+
275
+ Now we consider the case of iterative training. We always select a pair of images of different labels each time. Suppose we are selecting images with opposite labels at the $s$ -th position. Let $I _ { s }$ denote the indices of all labels with the $s$ -th element 1, and $J _ { s }$ denote the indices of all labels with the $s$ -th element 0, where $| I _ { s } | = | J _ { s } | = 2 ^ { n - 1 }$ . Then we consider the subproblem by neglecting the first position in data labels, the number of all possible pairs is $2 \sum _ { i \in I _ { s } , j \in J _ { s } } m _ { i } m _ { j }$ (regarding of order),
276
+
277
+ and the number of useful pairs is
278
+
279
+ $$
280
+ \begin{array} { r l } & { \displaystyle \sum _ { k _ { 1 } \neq k _ { 2 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m _ { i _ { k _ { 2 } } } + m _ { j _ { k _ { 2 } } } ) } \\ & { = \displaystyle \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } \sum _ { k _ { 2 } \neq k _ { 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m _ { i _ { k _ { 2 } } } + m _ { j _ { k _ { 2 } } } ) } \\ & { = \displaystyle \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m - m _ { i _ { k _ { 1 } } } - m _ { j _ { k _ { 1 } } } ) } \\ & { = m ^ { 2 } - \displaystyle \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } . } \end{array}
281
+ $$
282
+
283
+ Therefore, the expectation to select all useful pairs at least once regardless of the $s$ -th element in the label is
284
+
285
+ $$
286
+ \mathrm { E } _ { \backslash s } = 2 \sum _ { i \in I _ { s } , j \in J _ { s } } m _ { i } m _ { j } \left( 1 + { \frac { 1 } { 2 } } + \cdots + { \frac { 1 } { m ^ { 2 } - \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } } \right)
287
+ $$
288
+
289
+ Since we rotate the subscript $s$ from 1 to $n$ , the expected number of iterations for iterative training to select all useful pairs at least once is
290
+
291
+ $$
292
+ \begin{array} { r l r } { { \mathrm { E } _ { 2 } \le n \cdot \operatorname* { m a x } _ { s = 1 , \ldots , n } \mathrm { E } _ { \mathsf { V } ^ { s } } } } \\ & { } & { = 2 n \cdot \operatorname* { m a x } _ { s = 1 , \ldots , n } \sum _ { i \in I _ { s } , j \in J _ { s } } m _ { i } m _ { j } ( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } ) . } \end{array}
293
+ $$
294
+
295
+ Proof. (of Theorem 2) We firstly show that
296
+
297
+ $$
298
+ \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } \geq \sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } ^ { 2 } + m _ { j _ { k _ { 1 } } } ^ { 2 } ) = \sum _ { i = 1 } ^ { 2 ^ { n } } m _ { i } ^ { 2 }
299
+ $$
300
+
301
+ According to the result of Theorem 1 and the Definition 1 of balancedness, we have
302
+
303
+ $$
304
+ \begin{array} { r l } & { \mathbb { E } _ { 2 } = 2 n \cdot \operatorname* { m a x } \displaystyle \sum _ { s \in L _ { s } \times \xi _ { s } } m _ { s t } ( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { k = 1 } ^ { 2 n } ( m _ { k _ { 1 } } + m _ { \delta _ { 1 } } ) ^ { 2 } } ) } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { = 2 n \cdot \operatorname* { m a x } \displaystyle \sum _ { s \in L _ { s } \times \xi _ { s } } m _ { s t } ( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { = 2 n \cdot \operatorname* { m a x } \displaystyle \sum _ { s \in L _ { s } \times \xi _ { s } } m _ { s t } ( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { = 2 n \cdot \operatorname* { m a x } \displaystyle \frac { 2 n \rho _ { 3 } } { \rho _ { 3 } + 1 } \cdots m ^ { 2 } ( 1 + \frac { 1 } { 2 } + \cdots + \frac { 1 } { m ^ { 2 } - \sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\ & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & = \operatorname* { m a x } \displaystyle \frac { 2 n \rho _ { 3 } } { s } \cdots m ^ { 2 } ( 1 + \frac { 1 } { 2 } + \cdots + \ \end{array}
305
+ $$
306
+
307
+ Specifically, if $n \leq 2$ ,
308
+
309
+ $$
310
+ \frac { 2 n \rho _ { s } } { ( \rho _ { s } + 1 ) ^ { 2 } } \leq \frac { 4 \rho _ { s } } { ( \rho _ { s } + 1 ) ^ { 2 } } \leq 1 .
311
+ $$
312
+
313
+ The inequality holds true forever.
314
+
315
+ ![](images/01582e6778fd2c6a1e43ba8985b6f2f757a12e7f81e62d5cd93e936a006ec71e.jpg)
316
+
317
+ ![](images/e207376bc660c66977376b6de530ed48d15a212cb7ebb3b54a7a0215adaba738.jpg)
318
+ Figure 5: More experimental results of DNA-GAN.
parse/train/Syr8Qc1CW/Syr8Qc1CW_content_list.json ADDED
@@ -0,0 +1,1573 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DNA-GAN: LEARNING DISENTANGLED REPRESEN-TATIONS FROM MULTI-ATTRIBUTE IMAGES",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 821,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 171,
20
+ 398,
21
+ 198
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 234,
32
+ 544,
33
+ 251
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Disentangling factors of variation has always been a challenging problem in representation learning. Existing algorithms suffer from many limitations, such as unpredictable disentangling factors, bad quality of generated images from encodings, lack of identity information, etc. In this paper, we proposed a supervised algorithm called DNA-GAN trying to disentangle different attributes of images. The latent representations of images are DNA-like, in which each individual piece represents an independent factor of variation. By annihilating the recessive piece and swapping a certain piece of two latent representations, we obtain another two different representations which could be decoded into images. In order to obtain realistic images and also disentangled representations, we introduced the discriminator for adversarial training. Experiments on Multi-PIE and CelebA datasets demonstrate the effectiveness of our method and the advantage of overcoming limitations existing in other methods. ",
40
+ "bbox": [
41
+ 233,
42
+ 268,
43
+ 764,
44
+ 449
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 479,
55
+ 336,
56
+ 496
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "The success of machine learning algorithms depends on data representation, because different representations can entangle different explanatory factors of variation behind the data. Although prior knowledge can help us design representations, the vast demand of AI algorithms in various domains cannot be met, since feature engineering is labor-intensive and needs domain expert knowledge. Therefore, algorithms that can automatically learn good representations of data will definitely make it easier for people to extract useful information when building classifiers or predictors. ",
63
+ "bbox": [
64
+ 174,
65
+ 513,
66
+ 823,
67
+ 597
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Of all criteria of learning good representations as discussed in Bengio et al. (2013), disentangling factors of variation is an important one that helps separate various explanatory factors. For example, given a human-face image, we can obtain various information about the person, including gender, hair style, facial expression, with/without eyeglasses and so on. All of these information are entangled in a single image, which renders the difficulty of training a single classifier to handle different facial attributes. If we could obtain a disentangled representation of the face image, we may build up only one classifier for multiple attributes. ",
74
+ "bbox": [
75
+ 174,
76
+ 603,
77
+ 825,
78
+ 700
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In this paper, we propose a supervised method called DNA-GAN to obtain disentangled representations of images. The idea of DNA-GAN is motivated by the DNA double helix structure, in which different kinds of traits are encoded in different DNA pieces. We make a similar assumption that different visual attributes in an image are controlled by different pieces of encodings in its latent representations. In DNA-GAN, an encoder is used to encode an image to the attribute-relevant part and the attribute-irrelevant part, where different pieces in the attribute-relevant part encode information of different attributes, and the attribute-irrelevant part encodes other information. For example, given a facial image, we are trying to obtain a latent representation that each individual part controls different attributes, such as hairstyles, genders, expressions and so on. Though annihilating recessive pieces and swapping certain pieces, we can obtain novel crossbreeds that can be decoded into new images. By the adversarial discriminator loss and the reconstruction loss, DNA-GAN can reconstruct the input images and generate new images with new attributes. Each attribute is disentangled from others gradually though iterative training. Finally, we are able to obtain disentangled representations in the latent representations. ",
85
+ "bbox": [
86
+ 174,
87
+ 708,
88
+ 825,
89
+ 901
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "The summary of contributions of our work is as follows: ",
96
+ "bbox": [
97
+ 174,
98
+ 909,
99
+ 544,
100
+ 922
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "1. We propose a supervised algorithm called DNA-GAN, that is able to disentangle multiple attributes as demonstrated by the experiments of interpolating multiple attributes on MultiPIE (Gross et al., 2010) and CelebA (Liu et al., 2015) datasets. \n2. We introduce the annihilating operation that prevents from trivial solutions: the attributerelevant part encodes information of the whole image instead of a certain attribute. \n3. We employ iterative training to address the problem of unbalanced multi-attribute image data, which was theoretically proved to be more efficient than random image pairs. ",
107
+ "bbox": [
108
+ 209,
109
+ 103,
110
+ 825,
111
+ 213
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2 RELATED WORK ",
118
+ "text_level": 1,
119
+ "bbox": [
120
+ 176,
121
+ 232,
122
+ 344,
123
+ 248
124
+ ],
125
+ "page_idx": 1
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "Traditional representation learning algorithms focus on (1) probabilistic graphical models, characterized by Restricted Boltzmann Machine (RBM) (Smolensky, 1986), Autoencoder (AE) and their variants; (2) manifold learning and geometrical approaches, such as Principal Components Analysis (PCA) (Pearson, 1901), Locally Linear Embedding (LLE) (Roweis & Saul, 2000), Local Coordinate Coding (LCC) (Yu et al., 2009), etc. However, recent research has actively focused on developing deep probabilistic models that learn to represent the distribution of data. Kingma & Welling (2013) employs an explicit model distribution and uses variational inference to learn its parameters. As the generative adversarial networks (GAN) (Goodfellow et al., 2014) has been invented, many implicit models are developed. ",
130
+ "bbox": [
131
+ 174,
132
+ 263,
133
+ 825,
134
+ 390
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "In the semi-supervised setting, Siddharth et al. (2016) learns a disentangled representations by using an auxiliary variable. Bouchacourt et al. (2017) proposes the ML-VAE that can learn disentangled representations from a set of grouped observations. In the unsupervised setting, InfoGAN (Chen et al., 2016) tries to maximize mutual information between a small subset of latent variables and observations by introducing an auxiliary network to approximate the posterior. However, it relies much on the a-priori choice of distributions and suffered from unstable training. Another popular unsupervised method $\\beta$ -VAE (Higgins et al., 2016), adapted from VAE, lays great stress on the KL distance between the approximate posterior and the prior. However, unsupervised approaches do not anchor a specific meaning into the disentanglement. ",
141
+ "bbox": [
142
+ 173,
143
+ 396,
144
+ 825,
145
+ 522
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "More closely with our method, supervised methods take the advantage of labeled data and try to disentangle the factors as expected. DC-IGN (Kulkarni et al., 2015) asks the active attribute to explain certain factor of variation by feeding the other attributes by the average in a mini-batch. TD-GAN (Wang et al., 2017) uses a tag mapping net to boost the quality of disentangled representations, which are consistent with the representations extracted from images through the disentangling network. Besides, the quality of generated images is improved by implementing the adversarial training strategy. However, the identity information should be labeled so as to preserve the id information when swapping attributes, which renders the limitation of applying it into many other datasets without id labels. IcGAN (Perarnau et al., 2016) is a multi-stage training algorithm that first takes the advantage of cGAN (Mirza & Osindero, 2014) to learn a map from latent representations and conditional information to real images, and then learn its inverse map from images to the latent representations and conditions in a supervised manner. The overall effect depends on each training stage, therefore it is hard to obtain satisfying images. Unlike these models, our model requires neither explicit id information in labels nor multi-stage training. ",
152
+ "bbox": [
153
+ 174,
154
+ 529,
155
+ 825,
156
+ 723
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Many works have studied the image-to-image translation between unpaired image data using GANbased architectures, see Isola et al. (2016), Taigman et al. (2016), Zhu et al. (2017), Liu et al. (2017) and Zhou et al. (2017). Interestingly, these models require a form of 0/1 weak supervision that is similar to our setting. However, they are circumscribed in two image domains which are opposite to each other with respect to a single attribute. Our model differs from theirs as we generalize to the case of multi-attribute image data. Specifically, we employ the strategy of iterative training to overcome the difficulty of training on unbalanced multi-attribute image datasets. ",
163
+ "bbox": [
164
+ 174,
165
+ 729,
166
+ 825,
167
+ 828
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "text",
173
+ "text": "3 DNA-GAN APPROACH",
174
+ "text_level": 1,
175
+ "bbox": [
176
+ 176,
177
+ 848,
178
+ 400,
179
+ 864
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "In this section, we formally outline our method. A set $\\mathcal { X }$ of multi-labeled images and a set of labels $\\mathcal { V }$ are considered in our setting. Let $\\{ ( \\mathbf { X } ^ { 1 } , \\mathbf { Y } ^ { 1 } ) , \\ldots , ( \\mathbf { X } ^ { m } , \\mathbf { Y } ^ { m } ) \\}$ denote the whole training dataset, where $\\mathbf { X } ^ { i } \\in \\mathcal X$ is the $i$ -th image with its label $\\mathbf { Y } ^ { i } \\in \\mathcal { V }$ . The small letter $m$ denotes the number of samples in set $\\mathcal { X }$ and $n$ denotes the number of attributes. The label $\\mathbf { Y } ^ { i } = ( \\mathbf { y } _ { 1 } ^ { i } , \\ldots , \\mathbf { y } _ { n } ^ { i } )$ is a $n$ -dimensional vector where each element represents whether $\\mathbf { X } ^ { i }$ has certain attribute or not. For example, in the case of labels with three candidates [Bangs, Eyeglasses, Smiling], the facial image $\\mathbf { X } ^ { i }$ whose label is $\\mathbf { Y } ^ { i } = ( 1 , 0 , 1 )$ should depict a smiling face with bangs and no eyeglasses. ",
186
+ "bbox": [
187
+ 176,
188
+ 881,
189
+ 823,
190
+ 924
191
+ ],
192
+ "page_idx": 1
193
+ },
194
+ {
195
+ "type": "text",
196
+ "text": "",
197
+ "bbox": [
198
+ 174,
199
+ 103,
200
+ 825,
201
+ 160
202
+ ],
203
+ "page_idx": 2
204
+ },
205
+ {
206
+ "type": "text",
207
+ "text": "3.1 MODEL ",
208
+ "text_level": 1,
209
+ "bbox": [
210
+ 174,
211
+ 181,
212
+ 267,
213
+ 195
214
+ ],
215
+ "page_idx": 2
216
+ },
217
+ {
218
+ "type": "text",
219
+ "text": "As shown in Figure 1, DNA-GAN is mainly composed of three parts: an encoder $( { \\mathrm { E n c } } )$ , a decoder (Dec) and a discriminator (D). The encoder maps the real-world images $A$ and $B$ into two latent disentangled representations ",
220
+ "bbox": [
221
+ 174,
222
+ 209,
223
+ 825,
224
+ 252
225
+ ],
226
+ "page_idx": 2
227
+ },
228
+ {
229
+ "type": "equation",
230
+ "img_path": "images/862a9018ec059cea213406b52f5f9af48338a1889a5203e19fd5a5048289b32d.jpg",
231
+ "text": "$$\n\\operatorname { E n c } ( A ) = [ a _ { 1 } , \\dots , a _ { i } , \\dots , a _ { n } , z _ { a } ] , \\quad \\operatorname { E n c } ( B ) = [ b _ { 1 } , \\dots , b _ { i } , \\dots , b _ { n } , z _ { b } ]\n$$",
232
+ "text_format": "latex",
233
+ "bbox": [
234
+ 261,
235
+ 262,
236
+ 736,
237
+ 280
238
+ ],
239
+ "page_idx": 2
240
+ },
241
+ {
242
+ "type": "text",
243
+ "text": "where $[ a _ { 1 } , \\ldots , a _ { i } , \\ldots , a _ { n } ]$ is called the attribute-relevant part, and $z _ { a }$ is called the attribute-irrelevant part. $a _ { i }$ is supposed to be a DNA piece that controls $\\mathbf { y } _ { i }$ , the $i$ -th attribute in the label, and $z _ { a }$ is for keeping other silent factors which do not appear in the attribute list as well as image identity information. The same thing applies for $\\operatorname { E n c } ( B )$ . ",
244
+ "bbox": [
245
+ 174,
246
+ 290,
247
+ 823,
248
+ 347
249
+ ],
250
+ "page_idx": 2
251
+ },
252
+ {
253
+ "type": "image",
254
+ "img_path": "images/7d30a549e7003d1f960dc09538b3a978887025f279e99544c245587f3e976cda.jpg",
255
+ "image_caption": [
256
+ "Figure 1: DNA-GAN architecture. "
257
+ ],
258
+ "image_footnote": [],
259
+ "bbox": [
260
+ 254,
261
+ 371,
262
+ 743,
263
+ 613
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "e focus on one attribute each time in ourare required to have different labels, i.e. we a and $i$ $A$ and, re$B$ $( \\mathbf { y } _ { 1 } ^ { A } , \\ldots , 1 _ { i } ^ { A } , \\ldots , \\mathbf { y } _ { n } ^ { \\bar { A } } )$ $( \\mathbf { y } _ { 1 } ^ { B } , \\ldots , 0 _ { i } ^ { B } , \\ldots , \\mathbf { y } _ { n } ^ { B } )$ spectively. In our convention, $A$ is always for the dominant pattern, while $B$ is for the recessive pattern. We copy $\\operatorname { E n c } ( A )$ directly as the latent representation of $A _ { 1 }$ , and annihilate $b _ { i }$ in the copy of $\\operatorname { E n c } ( B )$ as the latent representation of $B _ { 1 }$ . The annihilating operation means replacing all elements with zeros, and plays a key role in disentangling the attribute, which we will discuss in detail in Section 3.3. By swapping $a _ { i }$ and $0 _ { i }$ , we obtain two new latent representations $\\left[ a _ { 1 } , \\ldots , 0 _ { i } , \\ldots , a _ { n } , z _ { a } \\right]$ and $\\left[ b _ { 1 } , \\dots , a _ { i } , \\dots , b _ { n } , z _ { b } \\right]$ that are supposed to be decoded into $A _ { 2 }$ and $B _ { 2 }$ , respectively. Though a decoder Dec, we can get four newly generated images $A _ { 1 }$ , $B _ { 1 }$ , $A _ { 2 }$ and $B _ { 2 }$ . ",
270
+ "bbox": [
271
+ 173,
272
+ 662,
273
+ 826,
274
+ 790
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "equation",
280
+ "img_path": "images/58992e71ad3df820585aff5d0db75eb6d561ba270b05faacae435a8d7bc17efb.jpg",
281
+ "text": "$$\n\\begin{array} { r l } & { \\mathrm { D e c } ( [ a _ { 1 } , \\dots , a _ { i } , \\dots , a _ { n } , z _ { a } ] ) = A _ { 1 } , \\quad \\mathrm { D e c } ( [ b _ { 1 } , \\dots , 0 _ { i } , \\dots , b _ { n } , z _ { b } ] ) = B _ { 1 } } \\\\ & { \\mathrm { D e c } ( [ a _ { 1 } , \\dots , 0 _ { i } , \\dots , a _ { n } , z _ { a } ] ) = A _ { 2 } , \\quad \\mathrm { D e c } ( [ b _ { 1 } , \\dots , a _ { i } , \\dots , b _ { n } , z _ { b } ] ) = B _ { 2 } } \\end{array}\n$$",
282
+ "text_format": "latex",
283
+ "bbox": [
284
+ 254,
285
+ 799,
286
+ 743,
287
+ 837
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "Out of these four children, $A _ { 1 }$ and $B _ { 1 }$ are reconstructions of $A$ and $B$ , while $A _ { 2 }$ and $B _ { 2 }$ are novel crossbreeds. The reconstruction losses between $A$ and $A _ { 1 }$ , $B$ and $B _ { 1 }$ ensure the quality of reconstructed samples. Besides, using an adversarial discriminator D that helps make generated samples $A _ { 2 }$ indistinguishable from $B$ , and $B _ { 2 }$ indistinguishable from $A$ , we can enforce attribute-related information to be encoded in $a _ { i }$ . ",
294
+ "bbox": [
295
+ 174,
296
+ 853,
297
+ 825,
298
+ 924
299
+ ],
300
+ "page_idx": 2
301
+ },
302
+ {
303
+ "type": "text",
304
+ "text": "3.2 LOSS FUNCTIONS ",
305
+ "text_level": 1,
306
+ "bbox": [
307
+ 174,
308
+ 103,
309
+ 338,
310
+ 117
311
+ ],
312
+ "page_idx": 3
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "Given two images $A$ and $B$ and their labels $\\begin{array} { c c l } { \\mathbf { Y } ^ { A } } & { = } & { ( \\mathbf { y } _ { 1 } ^ { A } , \\ldots , \\mathbf { l } _ { i } ^ { A } , \\ldots , \\mathbf { y } _ { n } ^ { A } ) } \\end{array}$ and $\\begin{array} { r l } { \\mathbf { Y } ^ { B } } & { { } = } \\end{array}$ $( \\mathbf { y } _ { 1 } ^ { B } , \\ldots , 0 _ { i } ^ { B } , \\ldots , \\mathbf { y } _ { n } ^ { B } )$ which are different at the $i$ -th position, the data flow can be summarized by (1) and (2). We force the $i$ -th latent encoding of $B$ to be zero in order to prevent from trivial solutions as we will discuss in Section 3.3. ",
317
+ "bbox": [
318
+ 173,
319
+ 127,
320
+ 825,
321
+ 186
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "The encoder and decoder receive two types of losses: (1) the reconstruction loss, ",
328
+ "bbox": [
329
+ 173,
330
+ 193,
331
+ 702,
332
+ 208
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "equation",
338
+ "img_path": "images/07466c7a4826e26c64201dca70be516401caae58df9ace79a04a5086feff7e53.jpg",
339
+ "text": "$$\nL _ { r e c o n s t r u c t } = \\| A - A _ { 1 } \\| _ { 1 } + \\| B - B _ { 1 } \\| _ { 1 }\n$$",
340
+ "text_format": "latex",
341
+ "bbox": [
342
+ 359,
343
+ 212,
344
+ 637,
345
+ 229
346
+ ],
347
+ "page_idx": 3
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "which measures the reconstruction quality after a sequence of encoding and decoding; (2) the standard GAN loss, ",
352
+ "bbox": [
353
+ 173,
354
+ 233,
355
+ 823,
356
+ 262
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "equation",
362
+ "img_path": "images/7ee58a3cfc37580a17c2d2480f2686c3ad149a54cfca6a1ca1e2319f4492e2dd.jpg",
363
+ "text": "$$\nL _ { G A N } = - \\mathbb { E } [ \\log ( \\mathrm { D } ( A _ { 2 } | \\mathbf { y } _ { i } ^ { A } = 1 ) ) ] - \\mathbb { E } [ \\log ( \\mathrm { D } ( B _ { 2 } | \\mathbf { y } _ { i } ^ { B } = 0 ) ) ]\n$$",
364
+ "text_format": "latex",
365
+ "bbox": [
366
+ 294,
367
+ 263,
368
+ 702,
369
+ 284
370
+ ],
371
+ "page_idx": 3
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "which measures how realistic the generated images are. The discriminator takes the generated image and the $i$ -th element of its label as inputs, and outputs a number which indicates how realistic the input image is. The larger the number is, the more realistic the image is. Omitting the coefficient, the loss function for the encoder and decoder is ",
376
+ "bbox": [
377
+ 173,
378
+ 287,
379
+ 825,
380
+ 343
381
+ ],
382
+ "page_idx": 3
383
+ },
384
+ {
385
+ "type": "equation",
386
+ "img_path": "images/7e6d6f0431289d21191bb1499c4b159a5b48786ba608a0f94d4593bd884ba9a6.jpg",
387
+ "text": "$$\nL _ { G } = L _ { r e c o n s t r u c t } + L _ { G A N } .\n$$",
388
+ "text_format": "latex",
389
+ "bbox": [
390
+ 400,
391
+ 348,
392
+ 598,
393
+ 364
394
+ ],
395
+ "page_idx": 3
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "The discriminator D receives the standard GAN discriminator loss ",
400
+ "bbox": [
401
+ 174,
402
+ 376,
403
+ 609,
404
+ 391
405
+ ],
406
+ "page_idx": 3
407
+ },
408
+ {
409
+ "type": "equation",
410
+ "img_path": "images/4a82d22fc3d8d8b66457300e6ed2afe790d0114be92a9d0131745aea4cca54c6.jpg",
411
+ "text": "$$\n\\begin{array} { r l } & { L _ { D _ { 1 } } = - \\mathbb { E } [ \\log ( \\mathrm { D } ( A | \\mathbf { y } _ { i } ^ { A } = 1 ) ) ] - \\mathbb { E } [ \\log ( 1 - \\mathrm { D } ( B _ { 2 } | \\mathbf { y } _ { i } ^ { A } = 1 ) ) ] } \\\\ & { L _ { D _ { 0 } } = - \\mathbb { E } [ \\log ( \\mathrm { D } ( B | \\mathbf { y } _ { i } ^ { B } = 0 ) ) ] - \\mathbb { E } [ \\log ( 1 - \\mathrm { D } ( A _ { 2 } | \\mathbf { y } _ { i } ^ { B } = 0 ) ) ] } \\\\ & { L _ { D } = L _ { D _ { 1 } } + L _ { D _ { 0 } } } \\end{array}\n$$",
412
+ "text_format": "latex",
413
+ "bbox": [
414
+ 287,
415
+ 392,
416
+ 707,
417
+ 452
418
+ ],
419
+ "page_idx": 3
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "where $L _ { D _ { 1 } }$ drives $\\mathrm { D }$ to tell $A$ from $B _ { 2 }$ , and $L _ { D _ { 0 } }$ drives $\\mathrm { D }$ to tell $B$ from $A _ { 2 }$ . ",
424
+ "bbox": [
425
+ 176,
426
+ 454,
427
+ 673,
428
+ 469
429
+ ],
430
+ "page_idx": 3
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "3.3 ANNIHILATING OPERATION PREVENTS FROM TRIVIAL SOLUTIONS",
435
+ "text_level": 1,
436
+ "bbox": [
437
+ 176,
438
+ 484,
439
+ 678,
440
+ 500
441
+ ],
442
+ "page_idx": 3
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Through experiments, we observe that there exist trivial solutions to our model without the annihilating operation. We just take the single-attribute case as an example. Suppose that $\\operatorname { E n c } ( A ) = [ a , z _ { a } ]$ and $\\bar { \\mathrm { E n c } } ( B ) = [ b , \\bar { z } _ { b } ]$ , we can get four children without annihilating operation ",
447
+ "bbox": [
448
+ 174,
449
+ 511,
450
+ 825,
451
+ 554
452
+ ],
453
+ "page_idx": 3
454
+ },
455
+ {
456
+ "type": "equation",
457
+ "img_path": "images/5b78ef2d4ce7f2fdce9d5e27f928f8ee478428a7411397fed7be3cfae5048b1e.jpg",
458
+ "text": "$$\nA _ { 1 } = \\mathrm { D e c } ( [ a , z _ { a } ] ) , \\quad B _ { 1 } = \\mathrm { D e c } ( [ b , z _ { b } ] ) , \\quad A _ { 2 } = \\mathrm { D e c } ( [ b , z _ { a } ] ) , \\quad B _ { 2 } = \\mathrm { D e c } ( [ a , z _ { b } ] )\n$$",
459
+ "text_format": "latex",
460
+ "bbox": [
461
+ 220,
462
+ 558,
463
+ 776,
464
+ 575
465
+ ],
466
+ "page_idx": 3
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "The reconstruction loss makes it invertible between the latent encoding space and image space. The adversarial discriminator D is supposed to disentangle the attribute from other information by telling whether $A _ { 2 }$ looks as real as $B$ and $B _ { 2 }$ looks as real as $A$ or not. As we know that the generative adversarial networks give the best solution when achieving the Nash equilibrium. But without the annihilating operation, information of the whole image could be encoded into the attribute-relevant part, which means ",
471
+ "bbox": [
472
+ 174,
473
+ 579,
474
+ 825,
475
+ 662
476
+ ],
477
+ "page_idx": 3
478
+ },
479
+ {
480
+ "type": "equation",
481
+ "img_path": "images/5b54ec0ca354a878b2aded056d8b7b38590700449dd9574b6c60a8499d20c51f.jpg",
482
+ "text": "$$\n\\operatorname { E n c } ( A ) = [ a , 0 ] , \\quad \\operatorname { E n c } ( B ) = [ b , 0 ]\n$$",
483
+ "text_format": "latex",
484
+ "bbox": [
485
+ 379,
486
+ 666,
487
+ 620,
488
+ 684
489
+ ],
490
+ "page_idx": 3
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "Therefore, we obtain the following four children ",
495
+ "bbox": [
496
+ 174,
497
+ 688,
498
+ 493,
499
+ 703
500
+ ],
501
+ "page_idx": 3
502
+ },
503
+ {
504
+ "type": "equation",
505
+ "img_path": "images/50277d639067aa79ee24f2d1963c9ff94e2f25f50ebcfa5107338b719ab0f46f.jpg",
506
+ "text": "$$\nA _ { 1 } = \\operatorname { D e c } ( [ a , 0 ] ) , \\quad B _ { 1 } = \\operatorname { D e c } ( [ b , 0 ] ) , \\quad A _ { 2 } = \\operatorname { D e c } ( [ b , 0 ] ) , \\quad B _ { 2 } = \\operatorname { D e c } ( [ a , 0 ] )\n$$",
507
+ "text_format": "latex",
508
+ "bbox": [
509
+ 235,
510
+ 707,
511
+ 763,
512
+ 724
513
+ ],
514
+ "page_idx": 3
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "In this situation, the discriminator $\\mathrm { D }$ cannot discriminate $A _ { 2 }$ from $B$ , since they share the same latent encodings. By reconstruction loss, $A _ { 2 }$ and $B$ are exactly the same image, which is against our expectation that $A _ { 2 }$ should depict the person from $A$ with the attribute borrowed from $B$ . The same thing happens to $B _ { 2 }$ and $A$ as well. ",
519
+ "bbox": [
520
+ 173,
521
+ 728,
522
+ 823,
523
+ 785
524
+ ],
525
+ "page_idx": 3
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "To prevent from learning trivial solutions, we adopt the annihilating operation by replacing the recessive pattern $b$ with a zero tensor of the same $\\bar { \\mathrm { s i z e } ^ { 1 } }$ . If information of the whole image were encoded into the attribute-relevant part, the four children in this case are ",
530
+ "bbox": [
531
+ 174,
532
+ 790,
533
+ 825,
534
+ 833
535
+ ],
536
+ "page_idx": 3
537
+ },
538
+ {
539
+ "type": "equation",
540
+ "img_path": "images/0bfb7f393066e2f9187ab9da3970d59533691430390260d14b27a9afc3f6d116.jpg",
541
+ "text": "$$\nA _ { 1 } = \\operatorname { D e c } ( [ a , 0 ] ) , \\quad B _ { 1 } = \\operatorname { D e c } ( [ 0 , 0 ] ) , \\quad A _ { 2 } = \\operatorname { D e c } ( [ 0 , 0 ] ) , \\quad B _ { 2 } = \\operatorname { D e c } ( [ a , 0 ] )\n$$",
542
+ "text_format": "latex",
543
+ "bbox": [
544
+ 233,
545
+ 837,
546
+ 764,
547
+ 854
548
+ ],
549
+ "page_idx": 3
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "The encodings of $B _ { 1 }$ and $A _ { 2 }$ contain no information at all, thus neither the person in $B _ { 1 }$ nor $A _ { 2 }$ who is supposed to be the same as in $B$ can be reconstructed by Dec. This forces the attribute-irrelevant part to encode some information of images. ",
554
+ "bbox": [
555
+ 174,
556
+ 858,
557
+ 825,
558
+ 901
559
+ ],
560
+ "page_idx": 3
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "3.4 ITERATIVE TRAINING ",
565
+ "text_level": 1,
566
+ "bbox": [
567
+ 176,
568
+ 103,
569
+ 366,
570
+ 118
571
+ ],
572
+ "page_idx": 4
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "To reduce the difficulty of disentangling multiple attributes, we take the strategy of iterative training: we update our model using a pair of images with opposite labels at a certain position each time. Suppose that we are at the $i$ -th position, the label of image $A$ is $( \\mathbf { y } _ { 1 } ^ { A } , \\ldots , 1 _ { i } ^ { A } , \\cdot \\cdot . , \\mathbf { y } _ { n } ^ { A } )$ , while the label of image $B$ is $( \\mathbf { y } _ { 1 } ^ { B } , \\ldots , 0 _ { i } ^ { B } , \\ldots , \\mathbf { y } _ { n } ^ { B } )$ . During each iteration, as $i$ goes through from 1 to $n$ repeatedly, our model fed with such a pair of images can disentangle multiple attributes one-by-one. ",
577
+ "bbox": [
578
+ 174,
579
+ 128,
580
+ 825,
581
+ 202
582
+ ],
583
+ "page_idx": 4
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "Compared with training with random pairs of images, iterative training is proved to be more effective. Random pairs of images means randomly selecting pairs of images each time without label constraints. A pair of images with different labels is called a useful pair. ",
588
+ "bbox": [
589
+ 174,
590
+ 207,
591
+ 825,
592
+ 251
593
+ ],
594
+ "page_idx": 4
595
+ },
596
+ {
597
+ "type": "text",
598
+ "text": "We theoretically show that our iterative training is much more efficient than random image pairs especially when the dataset is unbalanced. All proofs can be found in the Appendix. ",
599
+ "bbox": [
600
+ 173,
601
+ 256,
602
+ 823,
603
+ 285
604
+ ],
605
+ "page_idx": 4
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "Theorem 1. Let $\\mathcal { X } = \\{ ( \\mathbf { X } ^ { 1 } , \\mathbf { Y } ^ { 1 } ) , \\dots , ( \\mathbf { X } ^ { m } , \\mathbf { Y } ^ { m } ) \\}$ denote the whole multi-attribute image dataset, \nwhere $\\mathbf { X } ^ { i }$ is a multi-attribute image and its label $\\mathbf { \\dot { Y } } ^ { i } = ( \\mathbf { y } _ { 1 } ^ { i } , \\dots , \\mathbf { y } _ { n } ^ { i } )$ is an $n$ -dimensional vector. \nTherelabel iterat reis ns ally , anded $2 ^ { n }$ ls, denoted by . To select all lecting pairs an $\\mathcal { L } = \\{ l _ { 1 } , \\ldots , l _ { 2 ^ { n } } \\}$ . The number of ionce, the expecteding are denoted by ges wmberand $l _ { i }$ $m _ { i }$ $\\textstyle \\sum _ { i = 1 } ^ { 2 ^ { n } } m _ { i } = m$ $\\mathrm { E _ { 1 } }$ $\\mathrm { E _ { 2 } }$ respectively. Then, ",
610
+ "bbox": [
611
+ 173,
612
+ 287,
613
+ 825,
614
+ 376
615
+ ],
616
+ "page_idx": 4
617
+ },
618
+ {
619
+ "type": "equation",
620
+ "img_path": "images/19d786c7c69fdbbe50531bf2dde0caf9c798ff67eaa267dd0f79dc6152a27c25.jpg",
621
+ "text": "$$\n\\begin{array} { l } { \\mathrm { E } _ { 1 } = m ^ { 2 } \\left( 1 + \\displaystyle \\frac { 1 } { 2 } + \\cdot \\cdot \\cdot + \\frac { 1 } { m ^ { 2 } - \\sum _ { i = 1 } ^ { 2 n } m _ { i } ^ { 2 } } \\right) } \\\\ { \\mathrm { E } _ { 2 } \\leq 2 n \\cdot \\displaystyle \\operatorname* { m a x } _ { s = 1 , \\ldots , n } \\displaystyle \\sum _ { i \\in I _ { s } , j \\in J _ { s } } m _ { i } m _ { j } \\left( 1 + \\frac { 1 } { 2 } + \\cdot \\cdot \\cdot + \\frac { 1 } { m ^ { 2 } - \\sum _ { k _ { 1 } = 1 } ^ { 2 n - 1 } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } \\right) } \\end{array}\n$$",
622
+ "text_format": "latex",
623
+ "bbox": [
624
+ 205,
625
+ 378,
626
+ 763,
627
+ 468
628
+ ],
629
+ "page_idx": 4
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "where $I _ { s }$ represents the indices of labels where the s-th element is $1$ , and $J _ { s }$ represents the indices of labels where the $s$ -th element is 0. ",
634
+ "bbox": [
635
+ 173,
636
+ 470,
637
+ 823,
638
+ 500
639
+ ],
640
+ "page_idx": 4
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "Definition 1. (Balancedness) Define the balancedness of a dataset $\\mathcal { X }$ described above with respect to the $s$ -th attribute as follows: ",
645
+ "bbox": [
646
+ 173,
647
+ 502,
648
+ 823,
649
+ 529
650
+ ],
651
+ "page_idx": 4
652
+ },
653
+ {
654
+ "type": "equation",
655
+ "img_path": "images/e1d4656bff670afa9322c085cd8d8f692c14c1c6aa00ddbc7c13f5e41fd5a746.jpg",
656
+ "text": "$$\n\\rho _ { s } = \\frac { \\sum _ { i \\in I _ { s } } m _ { i } } { \\sum _ { j \\in J _ { s } } m _ { j } }\n$$",
657
+ "text_format": "latex",
658
+ "bbox": [
659
+ 441,
660
+ 525,
661
+ 557,
662
+ 564
663
+ ],
664
+ "page_idx": 4
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "where $I _ { s }$ represents the indices of labels where the $s$ -th element is 1, and $J _ { s }$ represents the indices of labels where the $s$ -th element is 0. ",
669
+ "bbox": [
670
+ 176,
671
+ 565,
672
+ 823,
673
+ 593
674
+ ],
675
+ "page_idx": 4
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "Theorem 2. We have $\\mathrm { E } _ { 2 } \\leq \\mathrm { E } _ { 1 }$ , when ",
680
+ "bbox": [
681
+ 176,
682
+ 597,
683
+ 424,
684
+ 612
685
+ ],
686
+ "page_idx": 4
687
+ },
688
+ {
689
+ "type": "equation",
690
+ "img_path": "images/d88f84453b0f379304dc3eb22966c93fbe04475d6a40d88ff7fd2fcb71cac786.jpg",
691
+ "text": "$$\nn \\leq \\operatorname* { m i n } _ { s } \\frac { ( \\rho _ { s } + 1 ) ^ { 2 } } { 2 \\rho _ { s } } .\n$$",
692
+ "text_format": "latex",
693
+ "bbox": [
694
+ 429,
695
+ 616,
696
+ 568,
697
+ 650
698
+ ],
699
+ "page_idx": 4
700
+ },
701
+ {
702
+ "type": "text",
703
+ "text": "Specifically, $\\mathrm { E } _ { 2 } \\leq \\mathrm { E } _ { 1 }$ holds true for all $n \\leq 2$ ",
704
+ "bbox": [
705
+ 174,
706
+ 652,
707
+ 477,
708
+ 669
709
+ ],
710
+ "page_idx": 4
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "The property of the function $( \\rho + 1 ) ^ { 2 } / ( 2 \\rho )$ suits well with the definition of balancedness, because it attains the same value for $\\rho$ and $1 / \\rho$ , which is invariant to different labeling methods. Its value gets larger as the dataset becomes more unbalanced. The minimum is obtained at $\\rho = 1$ , which is the case of a balanced dataset. ",
715
+ "bbox": [
716
+ 173,
717
+ 678,
718
+ 825,
719
+ 736
720
+ ],
721
+ "page_idx": 4
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "Theorem 2 demonstrates that the iterative training mechanism is always more efficient than random pairs of images when the number of attributes met the criterion (16). As the dataset becomes more unbalanced, $\\dot { ( \\rho _ { s } + 1 ) } ^ { 2 } / ( 2 \\rho _ { s } )$ goes larger, which means (16) can be more easily satisfied. More importantly, iterative training helps stabilize the training process on unbalanced datasets. For example, given a two-attribute dataset, the number of data of each kind is as follows: ",
726
+ "bbox": [
727
+ 173,
728
+ 742,
729
+ 825,
730
+ 813
731
+ ],
732
+ "page_idx": 4
733
+ },
734
+ {
735
+ "type": "table",
736
+ "img_path": "images/96a0a3f1b0864738700a0fd2e730f849e909de8fbfcac2512d130bd49fb9d92e.jpg",
737
+ "table_caption": [
738
+ "Table 1: The example of an unbalanced two-attribute dataset. "
739
+ ],
740
+ "table_footnote": [],
741
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Label</td><td rowspan=1 colspan=1>(0,0)</td><td rowspan=1 colspan=1>(0,1)</td><td rowspan=1 colspan=1>(1,0)</td><td rowspan=1 colspan=1>(1,1)</td></tr><tr><td rowspan=1 colspan=1>Number of data</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>m</td><td rowspan=1 colspan=1>m</td></tr></table>",
742
+ "bbox": [
743
+ 323,
744
+ 849,
745
+ 673,
746
+ 882
747
+ ],
748
+ "page_idx": 4
749
+ },
750
+ {
751
+ "type": "text",
752
+ "text": "If $m \\gg 1$ is a very large number, then it is highly likely that we will select a pair of images whose labels are $( 1 , 0 )$ and $( 1 , 1 )$ each time by randomly selecting pairs. We ignore the pair of images whose labels are $( 1 , 0 )$ and $( 1 , 0 )$ or $( 1 , 1 )$ and $( 1 , 1 )$ , though these two cases have equal probabilities of being chosen. Because they are not useful pairs, thus do not participated in training. In this case, most of the time the model is trained with respect to the second attribute, which will cause the final learnt model less effective to the first attribute. However, iterative training can prevent this from happening, since we update our model evenly with respect to two attributes. ",
753
+ "bbox": [
754
+ 174,
755
+ 895,
756
+ 825,
757
+ 924
758
+ ],
759
+ "page_idx": 4
760
+ },
761
+ {
762
+ "type": "image",
763
+ "img_path": "images/42278b7c4d2b1d49753c4445c4a11a8a8c9c804e77fceacb234d8a1b49c813d2.jpg",
764
+ "image_caption": [
765
+ "Figure 2: Manipulating illumination factors on the Multi-PIE dataset. From left to right, the six images in a row are: original images $A$ with light illumination and $B$ with the dark illumination, newly generated images $A _ { 2 }$ and $B _ { 2 }$ by swapping the illumination-relevant piece in disentangled representations, and reconstructed images $A _ { 1 }$ and $B _ { 1 }$ . "
766
+ ],
767
+ "image_footnote": [],
768
+ "bbox": [
769
+ 271,
770
+ 101,
771
+ 725,
772
+ 474
773
+ ],
774
+ "page_idx": 5
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "",
779
+ "bbox": [
780
+ 174,
781
+ 570,
782
+ 825,
783
+ 640
784
+ ],
785
+ "page_idx": 5
786
+ },
787
+ {
788
+ "type": "text",
789
+ "text": "4 EXPERIMENTS ",
790
+ "text_level": 1,
791
+ "bbox": [
792
+ 176,
793
+ 662,
794
+ 326,
795
+ 679
796
+ ],
797
+ "page_idx": 5
798
+ },
799
+ {
800
+ "type": "text",
801
+ "text": "In this section, we perform different kinds of experiments on two real-world datasets to validate the effectiveness of our methods. We use the RMSProp (Sutskever et al., 2013) optimization method initialized by a learning rate of 5e-5 and momentum 0. All neural networks are equipped with Batch Normalization (Ioffe & Szegedy, 2015) after convolutions or deconvolutions. We used Leaky Relu (Maas et al., 2013) as the activation function in the encoder. Besides, we adopt strategies mentioned in Wasserstein GAN (Arjovsky et al., 2017) for stable training. More details will be available online. We divide all images into training images and test images according to the ratio of 9:1. All of the following results are from test images without cherry-picking. ",
802
+ "bbox": [
803
+ 174,
804
+ 695,
805
+ 825,
806
+ 808
807
+ ],
808
+ "page_idx": 5
809
+ },
810
+ {
811
+ "type": "text",
812
+ "text": "4.1 MULTI-PIE DATABASE ",
813
+ "text_level": 1,
814
+ "bbox": [
815
+ 174,
816
+ 827,
817
+ 374,
818
+ 840
819
+ ],
820
+ "page_idx": 5
821
+ },
822
+ {
823
+ "type": "text",
824
+ "text": "The Multi-PIE (Gross et al., 2010) face database contains over 750,000 images of 337 subjects captured under 15 view points and 19 illumination conditions. We collecte all front faces images of different illuminations and align them based on 5-point landmarks on eyes, nose and mouth. All aligned images are resized into $1 2 8 \\times 1 2 8$ as inputs in our experiments. We label the light illumination face images by 1 and the dark illumination face images by 0. As shown in Figure 2, the illumination on one face is successfully transferred into the other face without modifying any other information in the images. This demonstrates that DNA-GAN can effectively disentangle the illumination factor from other factors in the latent space. ",
825
+ "bbox": [
826
+ 174,
827
+ 854,
828
+ 823,
829
+ 924
830
+ ],
831
+ "page_idx": 5
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "",
836
+ "bbox": [
837
+ 174,
838
+ 103,
839
+ 825,
840
+ 146
841
+ ],
842
+ "page_idx": 6
843
+ },
844
+ {
845
+ "type": "text",
846
+ "text": "4.2 CELEBA DATASET ",
847
+ "text_level": 1,
848
+ "bbox": [
849
+ 176,
850
+ 170,
851
+ 341,
852
+ 184
853
+ ],
854
+ "page_idx": 6
855
+ },
856
+ {
857
+ "type": "text",
858
+ "text": "CelebA (Liu et al., 2015) is a dataset composed of 202599 face images and 40 attribute binary vectors and 5 landmark locations. We use the aligned and cropped version and scaled all images down to $6 4 \\times 6 4$ . To better demonstrate the advantage of our method, we choose TD-GAN (Wang et al., 2017) and IcGAN (Perarnau et al., 2016) for comparisons. ",
859
+ "bbox": [
860
+ 173,
861
+ 199,
862
+ 825,
863
+ 256
864
+ ],
865
+ "page_idx": 6
866
+ },
867
+ {
868
+ "type": "text",
869
+ "text": "As we mentioned before, TD-GAN requires the explicit id information in the label, thus cannot be applied to the CelebA dataset directly. To overcome this limitation, we use some channels to encode the id information in its latent representations. In our experiments, the id information is preserved when swapping the attribute information in the latent encodings. We also compared the experimental results of IcGAN with ours in the celebA dataset. The following results are obtained using the the official code and pre-trained celebA model provided by the author2. ",
870
+ "bbox": [
871
+ 174,
872
+ 262,
873
+ 825,
874
+ 347
875
+ ],
876
+ "page_idx": 6
877
+ },
878
+ {
879
+ "type": "image",
880
+ "img_path": "images/2ecc4949d6e212e1bf23ef9de4b47d50e299cd2832f3f41476204d10ce9d8fab.jpg",
881
+ "image_caption": [
882
+ "Figure 3: The experimental results of TD-GAN and IcGAN on CelebA dataset. Three rows indicates the swapping attributes of Bangs, Eyeglasses and Smiling. For each model, the four images in a row are: two original images, and two newly generated images by swapping the attributes. The third image is generated by adding the attribute to the first one, and the fourth image is generated by removing the attribute from the second one. "
883
+ ],
884
+ "image_footnote": [],
885
+ "bbox": [
886
+ 192,
887
+ 377,
888
+ 805,
889
+ 568
890
+ ],
891
+ "page_idx": 6
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "As displayed in Figure 3a, modified TD-GAN encounters the problem of trivial solutions. Without id information explicitly contained in the label, TD-GAN encodes the information of the whole image into the attribute-related part in the latent representations. As a result, two faces are swapped directly. Whereas in Figure 3b, the quality of images generated by IcGAN are very bad, which is probably due to the multi-stage training process of IcGAN. Since the overall effect of the model relies much on the each stage. ",
896
+ "bbox": [
897
+ 174,
898
+ 672,
899
+ 825,
900
+ 756
901
+ ],
902
+ "page_idx": 6
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "DNA-GAN is able to disentangle multiple attributes in the latent representations as shown in Figure 4. Since different attributes are encoded in different DNA pieces in our latent representations, we are able to interpolate the attribute subspaces by linear combination of disentangled encodings. Figure 4a, 4b and 4c present disentangled attribute subspaces spanned by any two attributes of Bangs, Eyeglasses and Smiling. They demonstrate that our model is effective in learning disentangled representations. Figure 4d shows the hairstyle transfer process among different Bangs styles. It is worth mentioning that the top-left image in Figure 4d is outside the CelebA dataset, which further validate the generalization potential of our model on unseen data. Please refer to Figure 5 in the Appendix for more results. ",
907
+ "bbox": [
908
+ 174,
909
+ 762,
910
+ 825,
911
+ 888
912
+ ],
913
+ "page_idx": 6
914
+ },
915
+ {
916
+ "type": "image",
917
+ "img_path": "images/aa58c88e87268845652e308670f5efc003ac56f4242bd70d79371ee40a8ddf34.jpg",
918
+ "image_caption": [
919
+ "Figure 4: The interpolation results of DNA-GAN. Figure 4a, 4b and 4c display the disentangled attribute subspaces spanned by any two attributes of Bangs, Eyeglasses and Smiling. Figure 4d shows the attribute subspaces spanned by several Bangs feature vectors. Besides, the top-left image in Figure 4d is outside the CelebA dataset. "
920
+ ],
921
+ "image_footnote": [],
922
+ "bbox": [
923
+ 181,
924
+ 114,
925
+ 815,
926
+ 497
927
+ ],
928
+ "page_idx": 7
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "5 CONCLUSION ",
933
+ "text_level": 1,
934
+ "bbox": [
935
+ 176,
936
+ 590,
937
+ 318,
938
+ 607
939
+ ],
940
+ "page_idx": 7
941
+ },
942
+ {
943
+ "type": "text",
944
+ "text": "In this paper, we propose a supervised algorithm called DNA-GAN that can learn disentangled representations from multi-attribute images. The latent representations of images are DNA-like, consisting of attribute-relevant and attribute-irrelevant parts. By the annihilating operation and attribute hybridization, we are able to create new latent representations which could be decoded into novel images with designed attributes. The iterative training strategy effectively overcomes the difficulty of training on unbalanced datasets and helps disentangle multiple attributes in the latent space. ",
945
+ "bbox": [
946
+ 174,
947
+ 622,
948
+ 825,
949
+ 707
950
+ ],
951
+ "page_idx": 7
952
+ },
953
+ {
954
+ "type": "text",
955
+ "text": "The experimental results not only demonstrate that DNA-GAN is effective in learning disentangled representations and image editing, but also point out its potential in interpretable deep learning, image understanding and transfer learning. ",
956
+ "bbox": [
957
+ 174,
958
+ 713,
959
+ 823,
960
+ 756
961
+ ],
962
+ "page_idx": 7
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "There also exist some limitations of our model. Without strong guidance on the attribute-irrelevant parts, some background information is encoded into the attribute-relevant part. As we can see in Figure 4, the background color gets changed when swapping attributes. Besides, our model may fail when several attributes are highly correlated with each other. For example, Male and Mustache are statistically dependent, which are hard to disentangle in the latent representations. These are left as our future work. ",
967
+ "bbox": [
968
+ 174,
969
+ 762,
970
+ 825,
971
+ 845
972
+ ],
973
+ "page_idx": 7
974
+ },
975
+ {
976
+ "type": "text",
977
+ "text": "REFERENCES ",
978
+ "text_level": 1,
979
+ "bbox": [
980
+ 174,
981
+ 102,
982
+ 287,
983
+ 118
984
+ ],
985
+ "page_idx": 8
986
+ },
987
+ {
988
+ "type": "text",
989
+ "text": "Mart´ın Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein GAN. ´ CoRR, abs/1701.07875, 2017. ",
990
+ "bbox": [
991
+ 174,
992
+ 126,
993
+ 823,
994
+ 155
995
+ ],
996
+ "page_idx": 8
997
+ },
998
+ {
999
+ "type": "text",
1000
+ "text": "Yoshua Bengio, Aaron C. Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE Trans. Pattern Anal. Mach. Intell., 35(8):1798–1828, 2013. ",
1001
+ "bbox": [
1002
+ 174,
1003
+ 162,
1004
+ 823,
1005
+ 193
1006
+ ],
1007
+ "page_idx": 8
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "Diane Bouchacourt, Ryota Tomioka, and Sebastian Nowozin. Multi-level variational autoencoder: Learning disentangled representations from grouped observations. CoRR, abs/1705.08841, 2017. ",
1012
+ "bbox": [
1013
+ 173,
1014
+ 202,
1015
+ 823,
1016
+ 231
1017
+ ],
1018
+ "page_idx": 8
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "Xi Chen, Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in Neural Information Processing Systems 29, pp. 2172–2180, 2016. ",
1023
+ "bbox": [
1024
+ 176,
1025
+ 239,
1026
+ 825,
1027
+ 284
1028
+ ],
1029
+ "page_idx": 8
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems 27, pp. 2672–2680, 2014. ",
1034
+ "bbox": [
1035
+ 173,
1036
+ 291,
1037
+ 823,
1038
+ 335
1039
+ ],
1040
+ "page_idx": 8
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "Ralph Gross, Iain A. Matthews, Jeffrey F. Cohn, Takeo Kanade, and Simon Baker. Multi-pie. Image Vision Comput., 28(5):807–813, 2010. ",
1045
+ "bbox": [
1046
+ 168,
1047
+ 343,
1048
+ 825,
1049
+ 372
1050
+ ],
1051
+ "page_idx": 8
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "text": "Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. 2016. ",
1056
+ "bbox": [
1057
+ 173,
1058
+ 381,
1059
+ 823,
1060
+ 424
1061
+ ],
1062
+ "page_idx": 8
1063
+ },
1064
+ {
1065
+ "type": "text",
1066
+ "text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, pp. 448–456, 2015. ",
1067
+ "bbox": [
1068
+ 176,
1069
+ 434,
1070
+ 821,
1071
+ 477
1072
+ ],
1073
+ "page_idx": 8
1074
+ },
1075
+ {
1076
+ "type": "text",
1077
+ "text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A. Efros. Image-to-image translation with conditional adversarial networks. CoRR, abs/1611.07004, 2016. ",
1078
+ "bbox": [
1079
+ 174,
1080
+ 484,
1081
+ 821,
1082
+ 515
1083
+ ],
1084
+ "page_idx": 8
1085
+ },
1086
+ {
1087
+ "type": "text",
1088
+ "text": "Diederik P. Kingma and Max Welling. Auto-encoding variational bayes. CoRR, abs/1312.6114, 2013. ",
1089
+ "bbox": [
1090
+ 173,
1091
+ 523,
1092
+ 823,
1093
+ 553
1094
+ ],
1095
+ "page_idx": 8
1096
+ },
1097
+ {
1098
+ "type": "text",
1099
+ "text": "Tejas D. Kulkarni, William F. Whitney, Pushmeet Kohli, and Joshua B. Tenenbaum. Deep convolutional inverse graphics network. In Advances in Neural Information Processing Systems 28, pp. 2539–2547, 2015. ",
1100
+ "bbox": [
1101
+ 174,
1102
+ 560,
1103
+ 823,
1104
+ 604
1105
+ ],
1106
+ "page_idx": 8
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "Ming-Yu Liu, Thomas Breuel, and Jan Kautz. Unsupervised image-to-image translation networks. CoRR, abs/1703.00848, 2017. ",
1111
+ "bbox": [
1112
+ 174,
1113
+ 613,
1114
+ 823,
1115
+ 642
1116
+ ],
1117
+ "page_idx": 8
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In 2015 IEEE International Conference on Computer Vision, ICCV 2015, pp. 3730–3738, 2015. ",
1122
+ "bbox": [
1123
+ 171,
1124
+ 651,
1125
+ 821,
1126
+ 681
1127
+ ],
1128
+ "page_idx": 8
1129
+ },
1130
+ {
1131
+ "type": "text",
1132
+ "text": "Andrew L Maas, Awni Y Hannun, and Andrew Y Ng. Rectifier nonlinearities improve neural network acoustic models. In Proc. ICML, volume 30, 2013. ",
1133
+ "bbox": [
1134
+ 171,
1135
+ 689,
1136
+ 821,
1137
+ 719
1138
+ ],
1139
+ "page_idx": 8
1140
+ },
1141
+ {
1142
+ "type": "text",
1143
+ "text": "Mehdi Mirza and Simon Osindero. Conditional generative adversarial nets. CoRR, abs/1411.1784, 2014. ",
1144
+ "bbox": [
1145
+ 173,
1146
+ 727,
1147
+ 823,
1148
+ 757
1149
+ ],
1150
+ "page_idx": 8
1151
+ },
1152
+ {
1153
+ "type": "text",
1154
+ "text": "Karl Pearson. Liii. on lines and planes of closest fit to systems of points in space. The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 2(11):559–572, 1901. ",
1155
+ "bbox": [
1156
+ 173,
1157
+ 765,
1158
+ 821,
1159
+ 795
1160
+ ],
1161
+ "page_idx": 8
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "text": "Guim Perarnau, Joost van de Weijer, Bogdan Raducanu, and Jose M. Alvarez. Invertible conditional ´ gans for image editing. CoRR, abs/1611.06355, 2016. ",
1166
+ "bbox": [
1167
+ 171,
1168
+ 804,
1169
+ 823,
1170
+ 835
1171
+ ],
1172
+ "page_idx": 8
1173
+ },
1174
+ {
1175
+ "type": "text",
1176
+ "text": "Sam T Roweis and Lawrence K Saul. Nonlinear dimensionality reduction by locally linear embedding. science, 290(5500):2323–2326, 2000. ",
1177
+ "bbox": [
1178
+ 173,
1179
+ 843,
1180
+ 823,
1181
+ 872
1182
+ ],
1183
+ "page_idx": 8
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "N Siddharth, Brooks Paige, Alban Desmaison, Jan-Willem van de Meent, Frank Wood, Noah D Goodman, Pushmeet Kohli, and Philip HS Torr. Learning disentangled representations in deep generative models. 2016. ",
1188
+ "bbox": [
1189
+ 174,
1190
+ 882,
1191
+ 825,
1192
+ 924
1193
+ ],
1194
+ "page_idx": 8
1195
+ },
1196
+ {
1197
+ "type": "text",
1198
+ "text": "Paul Smolensky. Information processing in dynamical systems: Foundations of harmony theory. Technical report, COLORADO UNIV AT BOULDER DEPT OF COMPUTER SCIENCE, 1986. ",
1199
+ "bbox": [
1200
+ 171,
1201
+ 103,
1202
+ 823,
1203
+ 132
1204
+ ],
1205
+ "page_idx": 9
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "Ilya Sutskever, James Martens, George E. Dahl, and Geoffrey E. Hinton. On the importance of initialization and momentum in deep learning. In Proceedings of the 30th International Conference on Machine Learning, ICML 2013, pp. 1139–1147, 2013. ",
1210
+ "bbox": [
1211
+ 174,
1212
+ 140,
1213
+ 821,
1214
+ 184
1215
+ ],
1216
+ "page_idx": 9
1217
+ },
1218
+ {
1219
+ "type": "text",
1220
+ "text": "Yaniv Taigman, Adam Polyak, and Lior Wolf. Unsupervised cross-domain image generation. CoRR, abs/1611.02200, 2016. ",
1221
+ "bbox": [
1222
+ 173,
1223
+ 193,
1224
+ 823,
1225
+ 222
1226
+ ],
1227
+ "page_idx": 9
1228
+ },
1229
+ {
1230
+ "type": "text",
1231
+ "text": "Chaoyue Wang, Chaohui Wang, Chang Xu, and Dacheng Tao. Tag disentangled generative adversarial network for object image re-rendering. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence, IJCAI 2017, pp. 2901–2907, 2017. ",
1232
+ "bbox": [
1233
+ 173,
1234
+ 229,
1235
+ 821,
1236
+ 273
1237
+ ],
1238
+ "page_idx": 9
1239
+ },
1240
+ {
1241
+ "type": "text",
1242
+ "text": "Kai Yu, Tong Zhang, and Yihong Gong. Nonlinear learning using local coordinate coding. In Advances in Neural Information Processing Systems 22, pp. 2223–2231, 2009. ",
1243
+ "bbox": [
1244
+ 173,
1245
+ 281,
1246
+ 820,
1247
+ 310
1248
+ ],
1249
+ "page_idx": 9
1250
+ },
1251
+ {
1252
+ "type": "text",
1253
+ "text": "Shuchang Zhou, Taihong Xiao, Yi Yang, Dieqiao Feng, Qinyao He, and Weiran He. Genegan: Learning object transfiguration and attribute subspace from unpaired data. CoRR, abs/1705.04932, 2017. ",
1254
+ "bbox": [
1255
+ 173,
1256
+ 319,
1257
+ 821,
1258
+ 362
1259
+ ],
1260
+ "page_idx": 9
1261
+ },
1262
+ {
1263
+ "type": "text",
1264
+ "text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A. Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. CoRR, abs/1703.10593, 2017. ",
1265
+ "bbox": [
1266
+ 171,
1267
+ 371,
1268
+ 823,
1269
+ 400
1270
+ ],
1271
+ "page_idx": 9
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "text": "APPENDIX ",
1276
+ "text_level": 1,
1277
+ "bbox": [
1278
+ 176,
1279
+ 102,
1280
+ 264,
1281
+ 117
1282
+ ],
1283
+ "page_idx": 10
1284
+ },
1285
+ {
1286
+ "type": "text",
1287
+ "text": "To prove Theorem 1, we need the following lemma. ",
1288
+ "bbox": [
1289
+ 173,
1290
+ 138,
1291
+ 514,
1292
+ 154
1293
+ ],
1294
+ "page_idx": 10
1295
+ },
1296
+ {
1297
+ "type": "text",
1298
+ "text": "Lemma 1. $A$ set $S = \\{ s _ { 1 } , \\ldots , s _ { m } \\}$ has m different elements, from which elements are being selected equally likely with replacement. The expected number of trials needed to collect a subset $R = \\{ s _ { 1 } , \\ldots , s _ { n } \\}$ of $n ( 1 \\leq n \\leq m )$ elements is ",
1299
+ "bbox": [
1300
+ 173,
1301
+ 161,
1302
+ 826,
1303
+ 205
1304
+ ],
1305
+ "page_idx": 10
1306
+ },
1307
+ {
1308
+ "type": "equation",
1309
+ "img_path": "images/b66a6e79384835f1c90ce6e07cf7361d4f54595af05d88b8b33f58c93fe99950.jpg",
1310
+ "text": "$$\nm \\cdot \\left( { \\frac { 1 } { 1 } } + { \\frac { 1 } { 2 } } + \\cdots + { \\frac { 1 } { n } } \\right) .\n$$",
1311
+ "text_format": "latex",
1312
+ "bbox": [
1313
+ 410,
1314
+ 219,
1315
+ 588,
1316
+ 255
1317
+ ],
1318
+ "page_idx": 10
1319
+ },
1320
+ {
1321
+ "type": "text",
1322
+ "text": "Proof. Let $T$ be the time to collect all $n$ elements in the subset $R$ , and let $t _ { i }$ be the time to collect the $i$ -th new elements after $i - 1$ elements in $R$ have been collected. Observe that the probability of collecting a new element is $p _ { i } = ( n - ( i - 1 ) ) / m$ . Therefore, $t _ { i }$ is a geometrically distributed random variable with expectation $1 / p _ { i }$ . By the linearity of expectations, we have: ",
1323
+ "bbox": [
1324
+ 173,
1325
+ 295,
1326
+ 825,
1327
+ 352
1328
+ ],
1329
+ "page_idx": 10
1330
+ },
1331
+ {
1332
+ "type": "equation",
1333
+ "img_path": "images/f2081993145fc79439626001eb13bd9e7041c8f72aac4a3f3696e8d923bb187b.jpg",
1334
+ "text": "$$\n{ \\begin{array} { r l } & { \\mathbb { E } ( T ) = \\mathbb { E } ( t _ { 1 } ) + \\mathbb { E } ( t _ { 2 } ) + \\dots + \\mathbb { E } ( t _ { n } ) } \\\\ & { \\qquad = { \\frac { 1 } { p _ { 1 } } } + { \\frac { 1 } { p _ { 2 } } } + \\dots + { \\frac { 1 } { p _ { n } } } } \\\\ & { \\qquad = { \\frac { m } { n } } + { \\frac { m } { n - 1 } } + \\dots + { \\frac { m } { 1 } } } \\\\ & { \\qquad = m \\cdot \\left( { \\frac { 1 } { 1 } } + { \\frac { 1 } { 2 } } + \\dots + { \\frac { 1 } { n } } \\right) . } \\end{array} }\n$$",
1335
+ "text_format": "latex",
1336
+ "bbox": [
1337
+ 372,
1338
+ 366,
1339
+ 624,
1340
+ 483
1341
+ ],
1342
+ "page_idx": 10
1343
+ },
1344
+ {
1345
+ "type": "text",
1346
+ "text": "Proof. (of Theorem 1) ",
1347
+ "bbox": [
1348
+ 174,
1349
+ 553,
1350
+ 325,
1351
+ 568
1352
+ ],
1353
+ "page_idx": 10
1354
+ },
1355
+ {
1356
+ "type": "text",
1357
+ "text": "We first consider the case of randomly selecting pairs. All possible image pairs are actually in the product space $\\mathcal X \\times \\mathcal X$ , whose cardinality is $m ^ { 2 }$ . If we take the order of two images in a pair into consideration, the number of possible pairs is $m ^ { 2 }$ . Recall that the useful pair denotes a pair of image of different labels. Therefore, the number of all useful pairs is $\\textstyle \\sum _ { i \\neq j } m _ { i } m _ { j }$ . By Lemma 1, the expected number of iterations for randomly selecting pairs to select all useful pairs at least once is ",
1358
+ "bbox": [
1359
+ 173,
1360
+ 574,
1361
+ 826,
1362
+ 647
1363
+ ],
1364
+ "page_idx": 10
1365
+ },
1366
+ {
1367
+ "type": "equation",
1368
+ "img_path": "images/5f43a617a0c143d83d982b51f6229cfbd05fa3caa670184b983a78f21c7e02fe.jpg",
1369
+ "text": "$$\n\\begin{array} { r l } & { \\mathrm { E } _ { 1 } = m ^ { 2 } \\left( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { \\sum _ { i \\neq j } m _ { i } m _ { j } } \\right) } \\\\ & { \\quad = m ^ { 2 } \\left( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { \\sum _ { i = 1 } ^ { 2 n } ( m _ { i } \\sum _ { j \\neq i } m _ { j } ) } \\right) } \\\\ & { \\quad = m ^ { 2 } \\left( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { \\sum _ { i = 1 } ^ { 2 n } m _ { i } ( m - m _ { i } ) } \\right) } \\\\ & { \\quad = m ^ { 2 } \\left( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { i = 1 } ^ { 2 n } m _ { i } ^ { 2 } } \\right) . } \\end{array}\n$$",
1370
+ "text_format": "latex",
1371
+ "bbox": [
1372
+ 331,
1373
+ 661,
1374
+ 666,
1375
+ 834
1376
+ ],
1377
+ "page_idx": 10
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "Now we consider the case of iterative training. We always select a pair of images of different labels each time. Suppose we are selecting images with opposite labels at the $s$ -th position. Let $I _ { s }$ denote the indices of all labels with the $s$ -th element 1, and $J _ { s }$ denote the indices of all labels with the $s$ -th element 0, where $| I _ { s } | = | J _ { s } | = 2 ^ { n - 1 }$ . Then we consider the subproblem by neglecting the first position in data labels, the number of all possible pairs is $2 \\sum _ { i \\in I _ { s } , j \\in J _ { s } } m _ { i } m _ { j }$ (regarding of order), ",
1382
+ "bbox": [
1383
+ 173,
1384
+ 853,
1385
+ 825,
1386
+ 928
1387
+ ],
1388
+ "page_idx": 10
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "and the number of useful pairs is ",
1393
+ "bbox": [
1394
+ 173,
1395
+ 103,
1396
+ 392,
1397
+ 117
1398
+ ],
1399
+ "page_idx": 11
1400
+ },
1401
+ {
1402
+ "type": "equation",
1403
+ "img_path": "images/62f9d9dd209ee36047a4396ef53a4d632aa865865c3b837509cb8e8dc42d7262.jpg",
1404
+ "text": "$$\n\\begin{array} { r l } & { \\displaystyle \\sum _ { k _ { 1 } \\neq k _ { 2 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m _ { i _ { k _ { 2 } } } + m _ { j _ { k _ { 2 } } } ) } \\\\ & { = \\displaystyle \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } \\sum _ { k _ { 2 } \\neq k _ { 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m _ { i _ { k _ { 2 } } } + m _ { j _ { k _ { 2 } } } ) } \\\\ & { = \\displaystyle \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ( m - m _ { i _ { k _ { 1 } } } - m _ { j _ { k _ { 1 } } } ) } \\\\ & { = m ^ { 2 } - \\displaystyle \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } . } \\end{array}\n$$",
1405
+ "text_format": "latex",
1406
+ "bbox": [
1407
+ 352,
1408
+ 121,
1409
+ 645,
1410
+ 297
1411
+ ],
1412
+ "page_idx": 11
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "text": "Therefore, the expectation to select all useful pairs at least once regardless of the $s$ -th element in the label is ",
1417
+ "bbox": [
1418
+ 173,
1419
+ 297,
1420
+ 826,
1421
+ 324
1422
+ ],
1423
+ "page_idx": 11
1424
+ },
1425
+ {
1426
+ "type": "equation",
1427
+ "img_path": "images/b1ab780bff59ff6d8d4adca0032b2a9f5bf711971f7196a93a01bbb66f1929c8.jpg",
1428
+ "text": "$$\n\\mathrm { E } _ { \\backslash s } = 2 \\sum _ { i \\in I _ { s } , j \\in J _ { s } } m _ { i } m _ { j } \\left( 1 + { \\frac { 1 } { 2 } } + \\cdots + { \\frac { 1 } { m ^ { 2 } - \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } } \\right)\n$$",
1429
+ "text_format": "latex",
1430
+ "bbox": [
1431
+ 253,
1432
+ 323,
1433
+ 743,
1434
+ 368
1435
+ ],
1436
+ "page_idx": 11
1437
+ },
1438
+ {
1439
+ "type": "text",
1440
+ "text": "Since we rotate the subscript $s$ from 1 to $n$ , the expected number of iterations for iterative training to select all useful pairs at least once is ",
1441
+ "bbox": [
1442
+ 173,
1443
+ 368,
1444
+ 823,
1445
+ 396
1446
+ ],
1447
+ "page_idx": 11
1448
+ },
1449
+ {
1450
+ "type": "equation",
1451
+ "img_path": "images/9991e42608c20e5a8f6c92201723e1d7ad4649ed2021eaa47181793e365c5fd1.jpg",
1452
+ "text": "$$\n\\begin{array} { r l r } { { \\mathrm { E } _ { 2 } \\le n \\cdot \\operatorname* { m a x } _ { s = 1 , \\ldots , n } \\mathrm { E } _ { \\mathsf { V } ^ { s } } } } \\\\ & { } & { = 2 n \\cdot \\operatorname* { m a x } _ { s = 1 , \\ldots , n } \\sum _ { i \\in I _ { s } , j \\in J _ { s } } m _ { i } m _ { j } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } } ) . } \\end{array}\n$$",
1453
+ "text_format": "latex",
1454
+ "bbox": [
1455
+ 200,
1456
+ 397,
1457
+ 767,
1458
+ 468
1459
+ ],
1460
+ "page_idx": 11
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Proof. (of Theorem 2) We firstly show that ",
1465
+ "bbox": [
1466
+ 174,
1467
+ 503,
1468
+ 460,
1469
+ 518
1470
+ ],
1471
+ "page_idx": 11
1472
+ },
1473
+ {
1474
+ "type": "equation",
1475
+ "img_path": "images/a48e578e69dc8825accd38dde7f6f74831c5ba094feff2f94b25a5ae7d29cc58.jpg",
1476
+ "text": "$$\n\\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } + m _ { j _ { k _ { 1 } } } ) ^ { 2 } \\geq \\sum _ { k _ { 1 } = 1 } ^ { 2 ^ { n - 1 } } ( m _ { i _ { k _ { 1 } } } ^ { 2 } + m _ { j _ { k _ { 1 } } } ^ { 2 } ) = \\sum _ { i = 1 } ^ { 2 ^ { n } } m _ { i } ^ { 2 }\n$$",
1477
+ "text_format": "latex",
1478
+ "bbox": [
1479
+ 316,
1480
+ 518,
1481
+ 679,
1482
+ 565
1483
+ ],
1484
+ "page_idx": 11
1485
+ },
1486
+ {
1487
+ "type": "text",
1488
+ "text": "According to the result of Theorem 1 and the Definition 1 of balancedness, we have ",
1489
+ "bbox": [
1490
+ 174,
1491
+ 573,
1492
+ 723,
1493
+ 588
1494
+ ],
1495
+ "page_idx": 11
1496
+ },
1497
+ {
1498
+ "type": "equation",
1499
+ "img_path": "images/a901205c457c39f1963c07bc0f2c90a57ce856779d01e591c538e747bef1aeb0.jpg",
1500
+ "text": "$$\n\\begin{array} { r l } & { \\mathbb { E } _ { 2 } = 2 n \\cdot \\operatorname* { m a x } \\displaystyle \\sum _ { s \\in L _ { s } \\times \\xi _ { s } } m _ { s t } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { k = 1 } ^ { 2 n } ( m _ { k _ { 1 } } + m _ { \\delta _ { 1 } } ) ^ { 2 } } ) } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { = 2 n \\cdot \\operatorname* { m a x } \\displaystyle \\sum _ { s \\in L _ { s } \\times \\xi _ { s } } m _ { s t } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { = 2 n \\cdot \\operatorname* { m a x } \\displaystyle \\sum _ { s \\in L _ { s } \\times \\xi _ { s } } m _ { s t } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & { = 2 n \\cdot \\operatorname* { m a x } \\displaystyle \\frac { 2 n \\rho _ { 3 } } { \\rho _ { 3 } + 1 } \\cdots m ^ { 2 } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\frac { 1 } { m ^ { 2 } - \\sum _ { s = 1 } ^ { 2 n } m _ { s t } ^ { 2 } } ) } \\\\ & { \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad \\quad } \\\\ & = \\operatorname* { m a x } \\displaystyle \\frac { 2 n \\rho _ { 3 } } { s } \\cdots m ^ { 2 } ( 1 + \\frac { 1 } { 2 } + \\cdots + \\ \\end{array}\n$$",
1501
+ "text_format": "latex",
1502
+ "bbox": [
1503
+ 228,
1504
+ 589,
1505
+ 766,
1506
+ 820
1507
+ ],
1508
+ "page_idx": 11
1509
+ },
1510
+ {
1511
+ "type": "text",
1512
+ "text": "Specifically, if $n \\leq 2$ , ",
1513
+ "bbox": [
1514
+ 173,
1515
+ 832,
1516
+ 318,
1517
+ 847
1518
+ ],
1519
+ "page_idx": 11
1520
+ },
1521
+ {
1522
+ "type": "equation",
1523
+ "img_path": "images/4426c40508d4bc4887515586da1e58169a88080c8109608e068056c69e02d0a6.jpg",
1524
+ "text": "$$\n\\frac { 2 n \\rho _ { s } } { ( \\rho _ { s } + 1 ) ^ { 2 } } \\leq \\frac { 4 \\rho _ { s } } { ( \\rho _ { s } + 1 ) ^ { 2 } } \\leq 1 .\n$$",
1525
+ "text_format": "latex",
1526
+ "bbox": [
1527
+ 401,
1528
+ 847,
1529
+ 596,
1530
+ 880
1531
+ ],
1532
+ "page_idx": 11
1533
+ },
1534
+ {
1535
+ "type": "text",
1536
+ "text": "The inequality holds true forever. ",
1537
+ "bbox": [
1538
+ 174,
1539
+ 880,
1540
+ 393,
1541
+ 895
1542
+ ],
1543
+ "page_idx": 11
1544
+ },
1545
+ {
1546
+ "type": "image",
1547
+ "img_path": "images/01582e6778fd2c6a1e43ba8985b6f2f757a12e7f81e62d5cd93e936a006ec71e.jpg",
1548
+ "image_caption": [],
1549
+ "image_footnote": [],
1550
+ "bbox": [
1551
+ 181,
1552
+ 77,
1553
+ 818,
1554
+ 929
1555
+ ],
1556
+ "page_idx": 12
1557
+ },
1558
+ {
1559
+ "type": "image",
1560
+ "img_path": "images/e207376bc660c66977376b6de530ed48d15a212cb7ebb3b54a7a0215adaba738.jpg",
1561
+ "image_caption": [
1562
+ "Figure 5: More experimental results of DNA-GAN. "
1563
+ ],
1564
+ "image_footnote": [],
1565
+ "bbox": [
1566
+ 183,
1567
+ 71,
1568
+ 816,
1569
+ 900
1570
+ ],
1571
+ "page_idx": 13
1572
+ }
1573
+ ]
parse/train/Syr8Qc1CW/Syr8Qc1CW_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Syr8Qc1CW/Syr8Qc1CW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/wHoIjrT6MMb/wHoIjrT6MMb.md ADDED
@@ -0,0 +1,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Robust Compressed Sensing MRI with Deep Generative Priors
2
+
3
+ Ajil Jalal∗ ECE, UT Austin ajiljalal@utexas.edu
4
+
5
+ Marius Arvinte\* ECE, UT Austin arvinte@utexas.edu
6
+
7
+ Giannis Daras CS, UT Austin giannisdaras@utexas.edu
8
+
9
+ Eric Price CS, UT Austin ecprice@cs.utexas.edu
10
+
11
+ Alexandros G. Dimakis ECE, UT Austin dimakis@austin.utexas.edu
12
+
13
+ Jonathan I. Tamir ECE, UT Austin jtamir@utexas.edu
14
+
15
+ # Abstract
16
+
17
+ The CSGM framework (Bora-Jalal-Price-Dimakis’17) has shown that deep generative priors can be powerful tools for solving inverse problems. However, to date this framework has been empirically successful only on certain datasets (for example, human faces and MNIST digits), and it is known to perform poorly on out-of-distribution samples. In this paper, we present the first successful application of the CSGM framework on clinical MRI data. We train a generative prior on brain scans from the fastMRI dataset, and show that posterior sampling via Langevin dynamics achieves high quality reconstructions. Furthermore, our experiments and theory show that posterior sampling is robust to changes in the ground-truth distribution and measurement process. Our code and models are available at: https://github.com/utcsilab/csgm-mri-langevin.
18
+
19
+ # 1 Introduction
20
+
21
+ Compressed sensing [23, 15] has enabled reductions to the number of measurements needed for successful reconstruction in a variety of imaging inverse problems. In particular, it has led to shorter scan times for magnetic resonance imaging (MRI) [62, 90], and most MRI vendors have released products leveraging this framework to accelerate clinical workflows. Despite their successes, sparsitybased methods are limited by the achievable acceleration rates, as the sparsity assumptions are either hand-crafted or are limited to simple learned sparse codes [72, 73].
22
+
23
+ More recently, deep learning techniques have been used as powerful data-driven reconstruction methods for inverse problems [49, 68]. There are two broad families of deep learning inversion techniques [68]: end-to-end supervised and distribution-learning approaches. End-to-end supervised techniques use a training set of measured images and deploy convolutional neural networks (CNNs) and other architectures to learn the inverse mapping from measurements to image. Network architectures that include both CNN blocks and the imaging forward model have grown in popularity, as they combine deep learning with the compressed sensing optimization framework, see e.g. [32, 3, 64]. End-to-end methods are trained for specific imaging anatomy and measurement models and show excellent performance in these tasks. However, reconstruction quality is known to suffer when applied out of distribution, and recently has been shown to severely degrade [4, 19] under certain types of natural measurement and anatomy perturbations.
24
+
25
+ In this paper we study deep learning inversion techniques based on distribution learning. These models are trained without reference to measurements, and so easily adapt to changes in the measurement process. The most common family of such techniques, known also as Compressed Sensing with Generative Models (CSGM) [13] uses pre-trained generative models as priors. Generative models are extremely powerful at representing image statistics and CSGM has been successfully applied to numerous inverse problems [13, 34] including non-linear phase retrieval [35], and improved with invertible models [6], sparsity based deviations [21], image adaptivity [42], and posterior sampling [79, 45]. These methods have only recently been applied to MRI and have not yet been shown to be competitive with supervised end-to-end methods. The very recent work [53] trains a StyleGAN for magnitude-only DICOM images but requires the presence of side-information and studies Gaussian, real-valued measurements for reconstruction. The deviation from the true MRI measurement model and the use of magnitude images are known to be problematic when evaluating performance [77]. Another work [54] trained an Invertible Neural Network on complex-valued single-coil MR images and showed very good performance in comparison to sparsity and GAN priors. Untrained and unamortized generators [37] have also been recently explored [19], showing promising results in some cases. Further, [17] studies the harder problem of learning a generative model for a class of images using only partial observations, as first proposed in AmbientGAN [14].
26
+
27
+ In this paper we train the first score-based generative model [80] for MR images. We show that we can faithfully represent MR images without any assumptions on the measurement system. As a consequence, we are able to reconstruct retrospectively under-sampled MRI data under a variety of realistic sampling schemes. We show that our reconstruction algorithm is competitive with end-to-end supervised training when the test-data are matched to the training data and that it is robust to various out-of-distribution shifts, while in some cases end-to-end methods significantly degrade.
28
+
29
+ # 1.1 Contributions
30
+
31
+ • We successfully train a score-based deep generative model for complex-valued, T2-weighted brain MR images without any assumptions on the measurement scheme. When applied to multi-coil MRI reconstruction under the CSGM framework, we achieve competitive performance compared to end-to-end deep learning methods when the test-time data are sampled within distribution.
32
+
33
+ • We give evidence that posterior sampling should give high-quality reconstructions. First, we show that for any measurements (including the Fourier measurements in MRI) that posterior sampling with the correct prior is within constant factors of the optimal recovery method; second, even if the prior is wrong but gives $\alpha$ mass to the true distribution, we show that posterior sampling for Gaussian measurements is nearly optimal with just an additive ${ \cal O } ( \log ( 1 / \alpha ) )$ loss.
34
+
35
+ • We empirically show that our approach is robust to test-time distribution shifts including different sampling patterns and imaging anatomy. The former is unsurprising given that our model was trained without knowledge of the measurement scheme. As a consequence, our approach provides a degree of flexibility in choosing scan parameters – a common situation in routine clinical imaging. Perhaps surprisingly, the latter indicates that a specialized training set may offer sufficient regularization for a larger class of images. In contrast, we empirically show that end-to-end methods do not always enjoy the same robustness guarantees, in some cases leading to severe degradation in reconstruction quality when applied out-of-distribution.
36
+
37
+ • Our method can be used to obtain multiple samples from the posterior by running Langevin dynamics with different random initializations. This allows us to get multiple reconstructions which can be used to obtain confidence intervals for each reconstructed voxel and visualize our reconstruction uncertainty on a voxel-by-voxel resolution. Uncertainty quantification can be incorporated into end-to-end methods, e.g., using variational auto-encoders [24], but this requires changes to the architecture. Our method does not require any modification and multiple reconstruction samplers can be run in parallel.
38
+
39
+ Our main results are succinctly summarized in Figure 1: we achieve equivalent reconstruction performance using a reduced training set when evaluated in-distribution and are robust when evaluated out-of-distribution.
40
+
41
+ # 1.2 Related Work
42
+
43
+ Generative priors have shown great utility to improving compressed sensing and other inverse problems, starting with [13], who generalized the theoretical framework of compressed sensing and restricted eigenvalue conditions [85, 23, 12, 15, 40, 11, 10, 25] for signals lying on the range of a deep generative model [29, 55, 81]. Lower bounds in [51, 61, 48] established that the sample complexities in [13] are order optimal. The approach in [13] has been generalized to tackle different inverse problems [47, 35, 7, 71, 60, 63, 74, 9], and different reconstruction algorithms [21, 50, 69, 27, 26, 64, 37, 38, 18]. The complexity of optimization algorithms using generative models have been analyzed in [28, 39, 58, 36]. Our prior work shows that posterior sampling is instance-optimal for compressed sensing [45], and satisfies certain fairness guarantees without explicit information about protected sensitive groups [46].
44
+
45
+ ![](images/2271a0cb7f02f9550b6dba08cb9ce9313a3b43e69cf78b71f113305da794db8e.jpg)
46
+ Figure 1: Comparison of reconstruction methods for in-distribution, sampling-shift, and anatomy-shift images. All methods and hyperparameters were optimized on T2-weighted brain scans with a vertical sampling mask, and tested at higher accelerations, horizontal masks, and on knee & abdomen scans. Our reconstructions are competitive with state-of-the-art methods, and introduce fewer artifacts out of distribution. All measurements are multicoil k-space from the NYU fastMRI dataset and the supervised baselines are trained from scratch on MVUE targets for a fair comparison.
47
+
48
+ Using compressed sensing for multi-coil MRI reconstruction has led to a rich body of work in the past two decades [62, 20, 87, 75]. See [22] and the recent special issue [44] for an overview of these methods. Classical approaches impose sparsity in a well-chosen basis, such as the wavelet domain [62], or apply shallow learning that leverages low-level redundancy in the images [72, 73, 93]. Recent research has demonstrated the superior performance of deep neural networks for MR image reconstruction [76, 32, 3, 82, 83]. A broad class of approaches is represented by end-to-end unrolled methods, which use deep networks as learned data priors in the image [3, 32, 82] or k-space domain [84]. Recent work has also investigated the performance of untrained methods [89, 38] for MR reconstruction and has shown competitive results. A much less explored line of research is MR image reconstruction with generative priors. The work in [67] proposes a CSGM-like algorithm that finetunes an entire pre-trained generator that requires a carefully tuned optimization algorithm during inference.
49
+
50
+ ![](images/aa8365114dade2d73b532b23e5dd1bac6e3a03cbc1f245453109db8cadcc4644.jpg)
51
+ Figure 2: Average test PSNR in various scenarios, across a range of acceleration factors $R$ . Higher $R$ indicates a smaller number of acquired measurements. All methods and hyperparameters were optimized on brains with an equispaced vertical mask. Our approach mostly shows the best performance and lowest reconstruction variance both in- and out-of-distribution at test-time. Shaded regions indicate $9 5 \%$ confidence intervals. Note that we trained baselines on MVUE images and hence these numerical values should not be compared with those in literature trained on RSS images (see Appendix A.1 for a more detailed discussion).
52
+
53
+ # 2 System Model and Algorithm
54
+
55
+ # 2.1 Multi-coil Magnetic Resonance Imaging
56
+
57
+ MRI is a medical imaging modality that makes measurements using an array of radio-frequency coils placed around the body. Each coil is spatially sensitive to a local region, and measurements are acquired directly in the spatial frequency, or $k$ -space, domain. To decrease scan time, reduce operating costs, and improve patient comfort, a reduced number of $\mathbf { k }$ -space measurements are acquired in clinical use and reconstructed by incorporating explicit or implicit knowledge of the spatial sensitivity maps [78, 70, 30]. Formally, the vector of measurements $\dot { y } _ { i } \in \mathbb { C } ^ { L }$ acquired by the $\mathrm { i ^ { t h } }$ coil can be characterized by the forward model [70]:
58
+
59
+ $$
60
+ y _ { i } = P F S _ { i } x ^ { * } + w _ { i } , \quad i = 1 , . . . , N _ { c } ,
61
+ $$
62
+
63
+ where $\boldsymbol { x } ^ { * } \in \mathbb { C } ^ { N }$ is the image containing $N$ pixels, $S _ { i }$ is an operator representing the point-wise multiplication of the $\mathrm { i ^ { t h } }$ coil sensitivity map, $F$ is the spatial Fourier transform operator, $P$ represents the $\mathbf { k }$ -space sampling operator, and we assume $w _ { i } \sim \dot { \mathcal { N } } _ { c } \left( 0 , \sigma ^ { 2 } I \right)$ for simplicity. Importantly, note that the same under-sampling operator is applied to all $N _ { c }$ coils.
64
+
65
+ The acceleration factor $R$ denotes the degree of under-sampling in the $k$ -space domain, i.e., $R = N / L$ Due to the multiple coils, the measurements may not be compressive for small $R$ . However, due to redundancy between the coils, the measurements are compressive for moderate values of $R$ (even if $N _ { c } \cdot L > N )$ [41]. Also note that we use the true acceleration factor $R$ , and this does not match the values in fastMRI [56] 2 on certain sampling patterns.
66
+
67
+ Given multi-coil measurements $y$ , sensitivity maps represented by $S$ and the sampling operator $P$ , the goal of MR image reconstruction is to estimate the underlying image variable $x ^ { * }$ . Prior work formulates this as a regularized optimization problem:
68
+
69
+ $$
70
+ \underset { x } { \arg \operatorname* { m i n } } \| y - A x \| _ { 2 } ^ { 2 } + \lambda Q ( x ) ,
71
+ $$
72
+
73
+ where we use the operator $A \in \mathbb { C } ^ { M \times N }$ ( with $M = N _ { c } \cdot L )$ ) to subsume the discrete approximation to all linear effects, and $Q$ is a suitably chosen functional prior for the image variable $x$ . For example, to enforce a sparsity prior, one can penalize the $\ell _ { 1 }$ norm in the wavelet representation of $x$ [62]. More recent approaches involve learned regularization terms parameterized by deep neural networks [76, 32, 3]. These models are typically trained end-to-end using a fixed training set and certain assumptions about the sampling operator. In the sequel, we present how score-based generative models can be combined with the posterior sampling [45] mechanism to reformulate (2) and achieve good quality reconstructions without any a priori assumptions about the sampling scheme.
74
+
75
+ When k-space is fully sampled at the Nyquist rate and no regularization is applied, the solution to (2) corresponds to the minimum-variance unbiased estimator (MVUE) of $x ^ { * }$ , denoted by $\hat { x } _ { \mathrm { M V U E } }$ [70]. Given fully sampled $\mathbf { k }$ -space data, this estimate can act as a reference image for evaluating reconstruction error as well as for end-to-end training. Alternatively, a reference image called the root-sum-of-squares (RSS) estimate can be formed by taking the inverse Fourier transform of each coil and subsequently applying the $\ell _ { 2 }$ norm for each pixel across the coil dimension, i.e. $\begin{array} { r } { \hat { x } _ { \mathrm { R S S } } = \sqrt { \sum _ { i = 1 } ^ { N _ { c } } \left| \left( F ^ { H } y _ { i } \right) \right| ^ { 2 } } } \end{array}$ , where $F ^ { H }$ is the Hermitian transpose of $F$ (here the inverse DFT). Although the RSS estimate is a biased estimator, it is often used as it does not make any assumptions about the sensitivity maps, which are not explicitly measured by the MRI system. However, even if solving (2) results in perfect recovery of $x ^ { * }$ , there will be a bias when comparing the result to $\scriptstyle { \hat { x } } _ { \mathrm { R S S } }$ and thus the RSS and MVUE cannot be directly compared numerically.
76
+
77
+ # 2.2 Posterior Sampling
78
+
79
+ The algorithm we consider is posterior sampling [45]. That is, given an observation of the form $y = A x ^ { * } + w$ , where $y \in \mathbb { C } ^ { M }$ , $A \in \mathbb { C } ^ { M \times N }$ , $w \stackrel { - } { \sim } \mathcal { N } _ { c } ( 0 , \sigma ^ { 2 } I )$ , and $x ^ { * } \sim \mu$ , the posterior sampling recovery algorithm outputs $\widehat { x }$ according to the posterior distribution $\mu ( \cdot | y )$ .
80
+
81
+ In order to sample from the posterior, we use Langevin Dynamics [8]. Assuming we have access to $\nabla _ { x } \log \mu ( x | y )$ , we can sample from $\mu ( x | y )$ by running noisy gradient ascent:
82
+
83
+ $$
84
+ x _ { t + 1 } \gets x _ { t } + \eta _ { t } \nabla _ { x _ { t } } \log \mu ( x _ { t } | y ) + \sqrt { 2 \eta _ { t } } \ \zeta _ { t } , \quad \zeta _ { t } \sim \mathcal { N } ( 0 , 1 ) .
85
+ $$
86
+
87
+ Prior work [8] has shown that as $t \to \infty$ and $\eta _ { t } 0$ , Langevin dynamics will correctly sample from $\mu ( x | y )$ . In practice, vanilla Langevin Dynamics are slow to converge. Hence, the work in [79] proposes annealed Langevin Dynamics, where the marginal distribution of $x$ at iteration $t$ is modelled as $\mu _ { t } = \mu * \mathcal { N } ( 0 , \beta _ { t } ^ { 2 } )$ and the generative model is trained to estimate the score function $f ( x _ { t } ; \beta _ { t } ) : = \nabla _ { x _ { t } } \log ( ( \mu * \mathcal { N } ( 0 , \beta _ { t } ^ { 2 } ) ( x _ { t } ) )$ .
88
+
89
+ Since the distribution of $y | x ^ { * }$ is Gaussian in Eqn (2), we obtain $\begin{array} { r } { \nabla _ { x _ { t } } \log \mu ( y | x _ { t } ) = \frac { A ^ { H } ( y - A x _ { t } ) } { \sigma ^ { 2 } } } \end{array}$ . We find that it is also helpful to anneal this term, and we set it to AH (y−Axt)σ2+γ2 , where γt → 0 is a decreasing sequence. An application of Bayes’ rule gives: $\begin{array} { r } { \nabla _ { x _ { t } } \log \mu ( x _ { t } | y ) = f ( x _ { t } ; \beta _ { t } ) + \frac { A ^ { H } ( y - A x _ { t } ) } { \sigma ^ { 2 } + \gamma _ { t } ^ { 2 } } , } \end{array}$ .
90
+
91
+ Putting everything together, our final algorithm is: for $x _ { 0 } \sim \mathcal { N } _ { c } ( 0 , I )$ and for all $t = 0 , \cdots , T - 1$ ,
92
+
93
+ $$
94
+ x _ { t + 1 } x _ { t } + \eta _ { t } ( f ( x _ { t } ; \beta _ { t } ) + \frac { A ^ { H } ( y - A x _ { t } ) } { \gamma _ { t } ^ { 2 } + \sigma ^ { 2 } } ) + \sqrt { 2 \eta _ { t } } \ \zeta _ { t } , \quad \zeta _ { t } \sim \mathcal { N } ( 0 ; I ) .
95
+ $$
96
+
97
+ Note that the parameters $T , \{ \beta _ { t } \} _ { t = 0 } ^ { T - 1 }$ were fixed during training of the generative model, and hence the only hyperparameters during inference are $\{ \eta _ { t } \} _ { t = 0 } ^ { T - 1 } , \sigma$ and $\{ \gamma _ { t } \} _ { t = 0 } ^ { T - 1 }$ . Scripts in our codebase describe hyperparameter values used in our experiments.
98
+
99
+ # 3 Theoretical Results
100
+
101
+ Background and Notation. We first introduce background and notation required for our theoretical results. $\| \cdot \|$ refers to the $\ell _ { 2 }$ norm. In this section alone, for simplicity of exposition, we will assume that all matrices and vectors are real valued.
102
+
103
+ For two probability distributions $\mu , \nu$ on some normed space $\Omega$ , and for any $q \geq 1$ , the Wasserstein$q$ [91, 5] and Wasserstein- $\infty$ [16] distances are defined as:
104
+
105
+ $$
106
+ \mathcal { W } _ { q } ( \mu , \nu ) : = \operatorname* { i n f } _ { \gamma \in \Pi ( \mu , \nu ) } \left( \bigoplus _ { ( u , v ) \sim \gamma } [ \| u - v \| ^ { q } ] \right) ^ { 1 / q } , \quad \mathcal { W } _ { \infty } ( \mu , \nu ) : = \operatorname* { i n f } _ { \gamma \in \Pi ( \mu , \nu ) } \left( \gamma _ { ( u , v ) \in \Omega ^ { 2 } } ^ { - \mathrm { e s s } } \| u - v \| \right) .
107
+ $$
108
+
109
+ where $\Pi ( \mu , \nu )$ denotes the set of joint distributions whose marginals are $\mu , \nu$ . The above definition says that if $\mathcal { W } _ { \infty } ( \mu , \nu ) \leq \varepsilon$ , and $( u , v ) \sim \gamma$ , then $\| u - v \| \leq \varepsilon$ almost surely.
110
+
111
+ The $( \varepsilon , \delta ) \cdot$ −approximate covering number [45], is defined as the smallest number of $\varepsilon$ -radius balls required to cover $1 - \delta$ mass under a distribution.
112
+
113
+ Definition 3.1 $( \varepsilon , \delta )$ -approximate covering number). Let $\mu$ be a distribution on $\mathbb { R } ^ { N }$ . For some parameters $\varepsilon > 0 , \delta \in [ 0 , 1 ]$ , the $( \varepsilon , \delta )$ -approximate covering number of $\mu$ is defined as
114
+
115
+ $$
116
+ \mathrm { C o v } _ { \varepsilon , \delta } ( \mu ) : = \operatorname* { m i n } \left\{ k : \mu \left[ \cup _ { i = 1 } ^ { k } B ( x _ { i } , \varepsilon ) \right] \geq 1 - \delta , x _ { i } \in \mathbb { R } ^ { N } \right\} ,
117
+ $$
118
+
119
+ where $B ( x , \varepsilon )$ is the $\ell _ { 2 }$ ball of radius $\varepsilon$ centered at $x$ .
120
+
121
+ Distributional robustness under Gaussian measurements. First, we consider mismatch between the ground-truth distribution, denoted by $\mu$ , and the generator distribution, denoted by $\nu$ . Prior work [45] has shown that if (i) $\mathcal { W } _ { q } ( \mu , \nu ) \leq \varepsilon$ for some $q \geq 1$ and (ii) we are given $M \geq O ( \log \mathrm { C o v } _ { \varepsilon , \delta } ( \mu ) )$ Gaussian measurements, then posterior sampling with respect to $\nu$ will recover $x ^ { * } \sim \mu$ up to an error of $\varepsilon / \delta ^ { 1 / q }$ with probability $1 - \delta$ . Closeness in Wasserstein distance is a reasonable assumption in certain examples, such as when $\mu$ is the distribution of celebrity faces and $\nu$ is the distribution of a generator trained on FlickrFaces [52]. However, this assumption is unsatisfactory when we consider distributions of abdominal and brain MR scans, for example, since images of these anatomies look entirely different.
122
+
123
+ We define the following weaker notion of divergence between distributions. Informally, this new definition tells us that $\nu$ and $\mu$ are “close” if they can each be split into components which are close in $\mathcal { W } _ { \infty }$ distance, such that the close components contain a sufficiently large fraction under $\nu$ and $\mu$ . Formally, this is defined as:
124
+
125
+ Definition 3.2 $( ( \delta , \alpha ) – \mathcal { W } _ { \infty }$ divergence). For two probability distributions $\nu$ and $\mu ,$ , and parameters $\delta , \alpha \in [ 0 , 1 ]$ , the $( \delta , \alpha ) \ – \mathcal { W } _ { \infty }$ divergence is defined as
126
+
127
+ $$
128
+ \begin{array} { r l } & { ( \delta , \alpha ) { { \mathcal W } } _ { \infty } ( \mu , \nu ) : = \operatorname* { i n f } \{ \varepsilon \geq 0 : } \\ & { \exists \mu ^ { \prime } , \mu ^ { \prime \prime } , \nu ^ { \prime } , \nu ^ { \prime \prime } \in { { \mathcal W } } ( { { \mathbb R } } ^ { N } ) \ s . t . \ \mu = ( 1 - \delta ) \mu ^ { \prime } + \delta \mu ^ { \prime \prime } , \nu = ( 1 - \alpha ) \nu ^ { \prime } + \alpha \nu ^ { \prime \prime } , \mathcal W _ { \infty } ( \mu ^ { \prime } , \nu ^ { \prime } ) = \varepsilon . \} } \end{array}
129
+ $$
130
+
131
+ Lemma B.1 highlights that this is a strict generalization of Wasserstein distances, in the sense that closeness in Wasserstein distance implies closeness in this new divergence.
132
+
133
+ Since the $( \delta , \alpha ) \ – \mathcal { W } _ { \infty }$ divergence is a generalization of Wasserstein distances, it is not clear that the main Theorem in [45] holds for distributions that are close in this new divergence. The following result shows a rather surprising fact: if $( \delta , \alpha ) \ – \mathcal { W } _ { \infty } ( \mu , \nu ) \leq \varepsilon$ then posterior sampling with $M =$ $\begin{array} { r } { O \left( \log \left( \frac { 1 } { 1 - \alpha } \right) + \log \mathrm { C o v } _ { \varepsilon , \delta } ( \mu ) \right) } \end{array}$ measurements will still succeed with probability $\ge 1 - O ( \delta )$ .
134
+
135
+ Theorem 3.3. Let $\delta , \alpha \in [ 0 , 1 ]$ , and $\varepsilon > 0$ be parameters. Let $\mu , \nu$ be arbitrary distributions over $\mathbb { R } ^ { N }$ satisfying $( \delta , \alpha ) \ – \mathcal { W } _ { \infty } ( \mu , \nu ) \leq \varepsilon$ . Let $x ^ { * } \sim \mu$ and suppose $y = A x ^ { * } + w$ , where $A \in \mathbb { R } ^ { M \times N }$ and $w \in \dot { \mathbb { R } } ^ { M }$ are i.i.d. Gaussian normalized such that $A _ { i j } \sim \mathcal { N } ( 0 , 1 / M )$ and $w _ { i } \sim \mathcal { N } ( 0 , \sigma ^ { 2 } / M )$ , with $\sigma \gtrsim \varepsilon$ . Given $y$ and the fixed matrix $A$ , let $\widehat { x }$ be the output of posterior sampling with respect to $\nu$ .
136
+
137
+ Then for $\begin{array} { r } { M \geq O \left( \log \left( \frac { 1 } { 1 - \alpha } \right) + \operatorname* { m i n } ( \log \mathrm { C o v } _ { \sigma , \delta } ( \mu ) , \log \mathrm { C o v } _ { \sigma , \delta } ( \nu ) ) \right) } \end{array}$ , there exists a universal constant $c > 0$ such that with probability at least $1 - e ^ { - \Omega ( M ) }$ over $A , w$ ,
138
+
139
+ $$
140
+ \operatorname* { P r } _ { x ^ { * } \sim \mu , \widehat { x } \sim \nu ( \cdot | y ) } \left[ \| x ^ { * } - \widehat { x } \| \geq c ( \varepsilon + \sigma ) \right] \leq \delta + e ^ { - \Omega ( M ) } .
141
+ $$
142
+
143
+ ![](images/90078d3b474935e152b912aec68c52df9e50dcb9e83b5141f2339a17391f80a8.jpg)
144
+ Figure 3: Comparative reconstructions of a 2D abdominal scan with uniform random under-sampling in the horizontal direction at $R = 4$ . None of the methods were trained to reconstruct abdomen MRI. Our method uses a score-based generative model trained on brain images (as explained) and obtains good reconstructions. The red arrows indicate missing details or artifacts in the kidney structure.
145
+
146
+ For our running example of $\nu$ being a generator trained on brain scans, and $\mu$ the distribution of abdominal scans, we can set $\nu ^ { \prime }$ to be the distribution of our generator restricted to abdominal scans, and we can let $\mu ^ { \prime }$ be the distribution restricted to “inliers” in $\mu$ . This shows that even if our generator places an exponentially small probability mass(i.e., $1 - \alpha \ll 1 ,$ ) on the set of abdominal scans, we can still recover abdominal scans with a polynomial additive increase in the number of measurements (i.e., $\log ( 1 / ( 1 - \alpha ) )$ ).
147
+
148
+ Near-optimality under arbitrary measurement processes. The previous result required Gaussian matrices to handle the distribution shift. Our next result shows that for an arbitrary measurement process, and assuming that there is no distribution shift between the generator and the ground truth distribution, posterior sampling is almost the best algorithm for this fixed measurement process. This result also shows that posterior sampling is good with respect to any metric.
149
+
150
+ Theorem 3.4. Let $d ( \cdot , \cdot )$ be an arbitrary metric over $\mathbb { R } ^ { N } \times \mathbb { R } ^ { N }$ . Let $x ^ { * } \sim \mu$ and let $y = \mathcal { A } ( x ^ { * } )$ be measurements generated from $x ^ { * }$ for some arbitrary forward operator $\mathcal { A } : \mathbb { R } ^ { N } \to \mathbb { R } ^ { M }$ . Then if there exists an algorithm that uses y as inputs and outputs $x ^ { \prime }$ such that
151
+
152
+ $$
153
+ d ( x ^ { * } , x ^ { \prime } ) \leq \varepsilon { \mathit { w i t h } } p r o b a b i l i t y \ 1 - \delta ,
154
+ $$
155
+
156
+ then posterior sampling $\widehat { x } \sim \mu ( \cdot | y )$ will satisfy
157
+
158
+ $$
159
+ d ( x ^ { * } , \widehat { x } ) \leq 2 \varepsilon w i t h p r o b a b i l i t y \ \geq 1 - 2 \delta .
160
+ $$
161
+
162
+ Remark on combining these results. Our theoretical results above show that posterior sampling is (1) highly robust to distribution shift under Gaussian measurements, and (2) accurate with arbitrary measurements without distribution shift. A natural hope would be to combine these two results and show that it is robust to distribution shift under Fourier measurements. Unfortunately, this is not true for general distributions: for example, if $\mu$ and $\nu$ are both random distributions over Fourier-sparse signals, then Fourier measurements will usually give zero information about the signal, so cannot convince the sampler to sample near $\mu$ rather than $\nu$ .
163
+
164
+ # 4 Experimental Results
165
+
166
+ We perform retrospective under-sampling in all experiments, i.e., given fully-sampled $\mathbf { k }$ -space measurements from the NYU fastMRI [56, 94] and Stanford MRI [1] datasets, we apply sampling masks and evaluate the performance of all considered algorithms on the reconstructed data. Depending on scan parameters (e.g., 3D scans for the Stanford knee data in Appendix F), we appropriately slice and sample the data in the proper dimension so as to not commit any inverse crime [31, 77].
167
+
168
+ We first highlight that an advantage of the proposed approach is the invariance to the sampling scheme during training. In contrast, this is a design choice that must be made for supervised end-to-end methods, which here were trained on equispaced, vertical sampling masks, following the fastMRI 2020 challenge guidelines [94, 66]. As our results show, this affords us a significant degree of robustness across a wide distribution of sampling masks during inference.
169
+
170
+ We train a score-based model, NCSNv2 [80], on a small subset of scans from the NYU fastMRI brain dataset. Specifically, we train using T2-weighted images at a field strength of 3 Tesla for a total of 14,539 2D training slices. We calculate the MVUE from the fully sampled data and use the ESPIRiT algorithm [87, 43] applied to the fully-sampled central portion of $\mathbf { k }$ -space to estimate the sensitivity maps. The backbone network for our model is a RefineNet [59]. Since the generator’s output is expected to be complex-valued, we treat the real and imaginary parts as separate image channels. Details about the architectures are given in Appendix G.
171
+
172
+ We use an $\ell _ { 1 }$ -Wavelet regularized reconstruction algorithm [62] as a parallel imaging and compressed sensing baseline. This aims to solve the optimization problem given in (2) with $\mathbf { \bar { Q } } ( x ) = | | \mathbf { \bar { W } } x | | _ { 1 }$ where $W$ is a 2D Wavelet transform. We use the publicly available implementation from the BART toolbox [88, 86] and optimize the regularization hyper-parameter using the same subset of samples from the brain dataset that was used to train our method. We find that $\lambda = 0 . 0 1$ performs the best on the training data and use this value for all experiments. We consider three different deep learning baselines: MoDL [3], E2E-VarNet [82], and the ConvDecoder architecture [19].
173
+
174
+ We train the MoDL and E2E-VarNet baselines from scratch on the same training dataset as our method, at acceleration factors $R = \{ 3 , 6 \}$ and equispaced under-sampling, with a supervised SSIM loss on the magnitude MVUE image, for 40 and 15 epochs, respectively, using a batch size of 1. For the ConvDecoder baseline, we use the architecture for brain data in [19] that outputs a complex image estimate and optimize the number of fitting iterations on a subset of samples from the training data. We find that 10000 iterations are sufficient to reach a stable average performance at $R = 3$ . Put together, all of our baselines are tailored to estimate the complex image $x$ , thus all comparisons are fair. We evaluate reconstruction performance using the complex MVUE of the fully sampled data as a reference image and measure the peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) [92] between the absolute values of the reconstruction and ground-truth MVUE images.
175
+
176
+ # 4.1 In-Distribution Performance
177
+
178
+ In this experiment, we test all models using the same forward model that matches the training conditions for the baselines: vertical, equispaced sampling patterns. Examples of various sampling patterns are shown in Appendix C.
179
+
180
+ Figure 1 (top three rows) shows qualitative results and Figures 2a & 5a respectively show PSNR & SSIM values, for the case where there is no mismatch between the training and inference sampling patterns. As the baselines were trained to maximize SSIM at $R = 3 ~ \& ~ 6$ , we see that they achieve better SSIM scores than us at these accelerations, although there is clear aliasing in the baselines at $R = 6$ . We achieve better PSNR values at these accelerations, which supports the claim that our method does not overfit to a particular metric (Theorem 3.4). This also highlights the importance of qualitative evaluations in medical image reconstruction and the limitations of existing image quality metrics [65]. From the third row of Figure 1, and Figures 2a & 5a, we notice that our method surpasses baselines at higher accelerations.
181
+
182
+ We find that $\ell _ { 1 }$ -Wavelet suffers both qualitatively and quantitatively at high acceleration factors, while the ConvDecoder is also a competitive architecture, but incurs a large computational cost. When benchmarked on an NVIDIA RTX 2080Ti GPU, our method takes 16 minutes and $0 . 9 5 \mathrm { G B }$ of memory to reconstruct a high-resolution brain scan, whereas the ConvDecoder takes longer than 80 minutes and $6 . 6 \mathrm { G B }$ of memory. While our method is limited by the inference time and is not in the range of end-to-end models (where reconstruction takes at most on the order of seconds and $3 . 5 \mathrm { G B }$ of memory), multiple scans can be reconstructed in parallel due to the reduced memory footprint.
183
+
184
+ # 4.2 Out-of-Distribution Performance
185
+
186
+ Test-time sampling pattern shifts. Here we consider shifts in the forward sampling operator at test-time, while still evaluating on the same anatomy as the training conditions. We measure robustness by evaluating the average incurred performance loss when the sampling pattern changes. Recall that our proposed approach does not use any explicit information about the sampling pattern $P$ during training, hence we anticipate the highest degree of robustness.
187
+
188
+ ![](images/b018ec33241411896dc3fc3986cc59d405d15f8a24b43f8fcf25f05147bb0981.jpg)
189
+ Figure 4: Our method successfully recovers fine details and can provide an estimate of the reconstruction error. The left column shows a knee from the fastMRI dataset, along with an annotated meniscus tear (indicated by red arrow in zoomed inset). Given measurements at an acceleration factor of $R = 4$ , we obtain 48 independent reconstructions via posterior sampling. The second column shows the pixel-wise average of reconstructions, the third column shows the pixel-wise standard deviation, and the fourth column shows the magnitude of the error between the ground truth and the mean reconstruction. Note that our generative prior has never seen such pathology, as it was trained on T2-weighted brain scans.
190
+
191
+ Figure 1 (fourth row) shows qualitative reconstructions when the measurements are obtained from an equispaced, horizontal sampling mask, with an acceleration factor $R = 3$ . It can be observed that the reconstructions output by E2E-VarNet show aliasing artifacts. Based on the statistical results in Figure 2b & 5b, our method retains its performance.
192
+
193
+ Furthermore, this experiment reveals that MoDL is more robust to this type of mask shift when compared to E2E-VarNet, even though it uses a smaller network. This is explained by the fact that E2E-VarNet does not use external sensitivity map estimates, but uses a deep neural network for endto-end map estimation. While this improves performance on in-distribution samples, the performance drop is strong evidence that accurate sensitivity map estimation is vital for robust generalization, and both our proposed approach and MoDL benefit from the external ESPIRiT algorithm, which is compatible with different sampling patterns.
194
+
195
+ We do note that retrospectively flipping the horizontal and vertical sampling direction is not necessarily representative of prospective sampling in the horizontal direction due to the discrete nature of the phase encoding direction in MRI, and this may contribute to the higher scores compared to the vertical mask experiments.
196
+
197
+ Test-time anatomy shifts. We now consider the more difficult problem of reconstructing different anatomies than the ones seen during. This was previously investigated in [19], which concluded that all methods suffer a drastic shift due to the various changes in scan parameters between body parts. In contrast to prior work, our main finding is that the proposed score-based model retains a significant degree of robustness under these shifts, and outputs excellent qualitative reconstructions. In some cases, some end-to-end methods retain robustness as well.
198
+
199
+ Figures 2c & 5c show PSNR and SSIM scores obtained on reconstructed abdominal scans obtained from [1] at different acceleration factors. This represents both an anatomy and sampling pattern shift, and it can be seen that our method, MoDL, and the $\ell _ { 1 }$ -Wavelet algorithm retain their competitive advantage, while the ConvDecoder and E2E-VarNet suffer severe performance losses. Figure 3 further shows a qualitative comparison of a reconstructed abdominal scan at $R = 4$ , with highlighted artifacts. Appendix E shows another abdomen scan.
200
+
201
+ Finally, Figures 2d & 5d show PSNR and SSIM scores obtained on fastMRI knee reconstructions, while Figure 1 (bottom row) shows the accompanying qualitative plots. This anatomy is challenging especially because of the poor signal-to-noise ratio conditions, which can be seen even in the groundtruth image. It can be noticed that this is the most severe shift for all methods, but our approach still shows the best performance at $R = 2 , 4$ and a significantly lower variance. Appendix D shows more examples of knee reconstructions with and without fat suppression, and Figure 20 shows metrics on fat suppressed knees.
202
+
203
+ # 4.3 Uncertainty Estimation
204
+
205
+ Our method can also provide uncertainty estimates for each reconstructed pixel by running multiple truc, for n samplers. For a given observation sufficiently large. Now, using the $y$ , we can obtain independeonditional mean estimate $\widehat { x } _ { 1 } , \cdots , \widehat { x } _ { K } \sim$ $\mu ( \cdot | y )$ $K$ $\textstyle { \bar { x } } = \sum _ { i = 1 } ^ { K } { \widehat { x } } _ { i } / K$ compute the pixel-wise standard deviation $\sqrt { \textstyle \sum _ { i = 1 } ^ { K } | \widehat { x } _ { i } - \bar { x } | ^ { 2 } / K }$ , and this gives an estimate of the error in each pixel. As shown in $\mathrm { F i g ~ 4 }$ , the pixel-wise standard deviation is a good estimate of the ground truth error $| x ^ { * } - { \bar { x } } |$ . Additionally, notice that the reconstructions are able to recover fine details such as the annotated meniscus tear3 in Fig 4 and predict low uncertainty for these features.
206
+
207
+ Figure 17 in Appendix D shows another example of an annotated meniscus tear. Figures 18 and 19 show comparisons with baselines on the same examples.
208
+
209
+ # 4.4 Radiologist Study
210
+
211
+ We have conducted a preliminary blind assessment of overall image quality with two board-certified radiologists and one faculty member who uses neuroimaging for their research. These experts were not involved in our research. We have found that our algorithm was ranked best for knee scans, and tied with the baselines for abdominal and brain scans, supporting our robustness claims in the paper. For more details, please see Appendix H.
212
+
213
+ # 5 Limitations
214
+
215
+ We reported PSNR and SSIM values as they are correlated with radiologist evaluation upto an extent, and our preliminary radiologist study in Section 4.4 suggests the feasibility of clinical adoption. These metrics do not capture the needs of real-world radiologists, and a more detailed study is required before the proposed techniques can be clinically adopted.
216
+
217
+ Though promising, our initial results were still limited to fast spin-echo imaging only and all data were retrospectively under-sampled. Further study is required to demonstrate prospective performance in a larger body of heterogeneous MRI data. Our method also currently requires a high compute cost at inference time, as well as the need for a pre-trained generative model. Clinical use requires fast reconstruction in addition to fast scanning. Future work should investigate whether score-based models can be trained without a fully-sampled training set as well as investigate approaches to reducing computation time.
218
+
219
+ Finally, there are potential issues related to discrimination. Specifically, it is possible that the quality of the reconstructed images varies across protected attributes, such as gender or race [57].
220
+
221
+ # 6 Conclusions
222
+
223
+ This paper reports the first successful application of the CSGM framework for robust multi-coil MR image reconstruction under realistic sampling conditions, and provides theoretical evidence for the robustness of posterior sampling. Our score-based model was trained on a small subset of brain MRI scans without any explicit information about the sampling scheme. This shows state-of-the-art performance under severe distributional shifts, making our model applicable in a wide range of clinical settings.
224
+
225
+ Our method shows a considerable degree of generalization to out-of-distribution samples such as abdomen and knee MRI, even when trained exclusively on brain MRI. Notably, these scans were acquired using different MRI vendors with different pulse sequence parameters and at different institutions. We postulate that adding a small set of diverse training samples to our generative model could further improve robustness, and we hypothesize that these samples may not necessarily be restricted to MR images.
226
+
227
+ The results presented in this work represent an important step to applying deep learning models in the clinic, as there is a natural variation in sampling, image orientation, receive coils, scanner hardware, and anatomy in clinical practice.
228
+
229
+ # 7 Acknowledgements
230
+
231
+ Ajil Jalal, Giannis Daras and Alex Dimakis have been supported by NSF Grants CCF 1763702, 1934932, AF 1901281, 2008710, 2019844, the NSF IFML 2019844 award as well as research gifts by Western Digital, Interdigital, WNCG and MLL, computing resources from TACC and the Archie Straiton Fellowship.
232
+
233
+ Eric Price has been supported by NSF Award CCF-1751040 (CAREER), NSF Award CCF-2008868, and NSF IFML 2019844.
234
+
235
+ Marius Arvinte and Jon Tamir have been supported by NSF IFML 2019844 award, ONR grant N00014-19-1-2590, NIH Grant U24EB029240, and an AWS Machine Learning Research Award.
236
+
237
+ We thank the anonymous NeurIPS reviewers for their helpful and considerate feedback.
238
+
239
+ Finally, we would like to thank the experts who graciously helped with our image assessment study.
240
+
241
+ # 8 Funding Transparency Statements
242
+
243
+ # 8.1 Funding (financial activities supporting the submitted work):
244
+
245
+ Funding in direct support of this work: NSF Grants CCF 1763702, 1934932, AF 1901281, 2008710, 2019844, 1751040, 2008868, the NSF IFML 2019844 award, ONR grant N00014-19-1-2590, NIH Grant U24EB029240, and an AWS Machine Learning Research Award, as well as research gifts by Western Digital, Interdigital, WNCG and MLL, computing resources from TACC and the Archie Straiton Fellowship.
246
+
247
+ # 8.2 Competing Interests (financial activities outside the submitted work):
248
+
249
+ Additional revenues related to this work: Internship at Intel and Google.
250
+
251
+ # References
252
+
253
+ [1] http://mridata.org/.
254
+ [2] https://pingouin-stats.org/generated/pingouin.intraclass_corr.html. [3] Hemant K Aggarwal, Merry P Mani, and Mathews Jacob. Modl: Model-based deep learning architecture for inverse problems. IEEE transactions on medical imaging, 38(2):394–405, 2018.
255
+ [4] Vegard Antun, Francesco Renna, Clarice Poon, Ben Adcock, and Anders C Hansen. On instabilities of deep learning in image reconstruction and the potential costs of ai. Proceedings of the National Academy of Sciences, 117(48):30088–30095, 2020.
256
+ [5] Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017. [6] Muhammad Asim, Ali Ahmed, and Paul Hand. Invertible generative models for inverse problems: mitigating representation error and dataset bias. arXiv preprint arXiv:1905.11672, 2019. [7] Muhammad Asim, Fahad Shamshad, and Ali Ahmed. Solving bilinear inverse problems using deep generative priors. CoRR, abs/1802.04073, 3(4):8, 2018. [8] Dominique Bakry and Michel Émery. Diffusions hypercontractives. In Seminaire de probabilités XIX 1983/84, pages 177–206. Springer, 1985.
257
+ [9] Eren Balevi, Akash Doshi, Ajil Jalal, Alexandros Dimakis, and Jeffrey G Andrews. High dimensional channel estimation using deep generative networks. IEEE Journal on Selected Areas in Communications, 39(1):18–30, 2020.
258
+ [10] Richard G Baraniuk, Volkan Cevher, Marco F Duarte, and Chinmay Hegde. Model-based compressive sensing. IEEE Transactions on Information Theory, 56(4):1982–2001, 2010.
259
+ [11] Richard G Baraniuk and Michael B Wakin. Random projections of smooth manifolds. Foundations of computational mathematics, 9(1):51–77, 2009.
260
+ [12] Peter J Bickel, Ya’acov Ritov, and Alexandre B Tsybakov. Simultaneous analysis of lasso and dantzig selector. The Annals of Statistics, 37(4):1705–1732, 2009.
261
+ [13] Ashish Bora, Ajil Jalal, Eric Price, and Alexandros G Dimakis. Compressed sensing using generative models. In Proceedings of the 34th International Conference on Machine LearningVolume 70, pages 537–546. JMLR. org, 2017.
262
+ [14] Ashish Bora, Eric Price, and Alexandros G Dimakis. Ambientgan: Generative models from lossy measurements. ICLR, 2:5, 2018.
263
+ [15] Emmanuel J Candes. The restricted isometry property and its implications for compressed sensing. Comptes rendus mathematique, 346(9-10):589–592, 2008.
264
+ [16] Thierry Champion, Luigi De Pascale, and Petri Juutinen. The $\infty$ -Wasserstein distance: Local solutions and existence of optimal transport maps. SIAM Journal on Mathematical Analysis, 40(1):1–20, 2008.
265
+ [17] Elizabeth K Cole, Frank Ong, Shreyas S Vasanawala, and John M Pauly. Fast unsupervised mri reconstruction without fully-sampled ground truth data using generative adversarial networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3988–3997, 2021.
266
+ [18] Giannis Daras, Joseph Dean, Ajil Jalal, and Alexandros G Dimakis. Intermediate layer optimization for inverse problems using deep generative models. International Conference on Machine Learning, 2021.
267
+ [19] Mohammad Zalbagi Darestani, Akshay Chaudhari, and Reinhard Heckel. Measuring robustness in deep learning based compressive sensing. International Conference on Machine Learning, 2021.
268
+ [20] Anagha Deshmane, Vikas Gulani, Mark A Griswold, and Nicole Seiberlich. Parallel mr imaging. Journal of Magnetic Resonance Imaging, 36(1):55–72, 2012.
269
+ [21] Manik Dhar, Aditya Grover, and Stefano Ermon. Modeling sparse deviations for compressed sensing using generative models. arXiv preprint arXiv:1807.01442, 2018.
270
+ [22] Mariya Doneva. Mathematical models for magnetic resonance imaging reconstruction: An overview of the approaches, problems, and future research areas. IEEE Signal Processing Magazine, 37(1):24–32, 2020.
271
+ [23] David L Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289– 1306, 2006.
272
+ [24] Vineet Edupuganti, Morteza Mardani, Shreyas Vasanawala, and John Pauly. Uncertainty quantification in deep mri reconstruction. IEEE Transactions on Medical Imaging, 40(1):239– 250, 2021.
273
+ [25] Yonina C Eldar and Moshe Mishali. Robust recovery of signals from a structured union of subspaces. IEEE Transactions on Information Theory, 55(11):5302–5316, 2009.
274
+ [26] Alyson K Fletcher, Parthe Pandit, Sundeep Rangan, Subrata Sarkar, and Philip Schniter. Plug-in estimation in high-dimensional linear inverse problems: A rigorous analysis. In Advances in Neural Information Processing Systems, pages 7440–7449, 2018.
275
+ [27] Alyson K Fletcher, Sundeep Rangan, and Philip Schniter. Inference in deep networks in high dimensions. In 2018 IEEE International Symposium on Information Theory (ISIT), pages 1884–1888. IEEE, 2018.
276
+ [28] Fabian Latorre Gómez, Armin Eftekhari, and Volkan Cevher. Fast and provable admm for learning with generative priors. arXiv preprint arXiv:1907.03343, 2019.
277
+ [29] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672–2680, 2014.
278
+ [30] Mark A. Griswold, Peter M. Jakob, Robin M. Heidemann, Mathias Nittka, Vladimir Jellus, Jianmin Wang, Berthold Kiefer, and Axel Haase. Generalized autocalibrating partially parallel acquisitions (grappa). Magnetic Resonance in Medicine, 47(6):1202–1210, 2002.
279
+ [31] Matthieu Guerquin-Kern, Laurent Lejeune, Klaas Paul Pruessmann, and Michael Unser. Realistic analytical phantoms for parallel magnetic resonance imaging. IEEE Transactions on Medical Imaging, 31(3):626–636, 2011.
280
+ [32] Kerstin Hammernik, Teresa Klatzer, Erich Kobler, Michael P Recht, Daniel K Sodickson, Thomas Pock, and Florian Knoll. Learning a variational network for reconstruction of accelerated mri data. Magnetic resonance in medicine, 79(6):3055–3071, 2018.
281
+ [33] Kerstin Hammernik, Jo Schlemper, Chen Qin, Jinming Duan, Ronald M Summers, and Daniel Rueckert. Systematic evaluation of iterative deep neural networks for fast parallel mri reconstruction with sensitivity-weighted coil combination. Magnetic Resonance in Medicine, 2021.
282
+ [34] Paul Hand and Babhru Joshi. Global guarantees for blind demodulation with generative priors. In Advances in Neural Information Processing Systems, pages 11531–11541, 2019.
283
+ [35] Paul Hand, Oscar Leong, and Vlad Voroninski. Phase retrieval under a generative prior. In Advances in Neural Information Processing Systems, pages 9136–9146, 2018.
284
+ [36] Paul Hand and Vladislav Voroninski. Global guarantees for enforcing deep generative priors by empirical risk. arXiv preprint arXiv:1705.07576, 2017.
285
+ [37] Reinhard Heckel and Paul Hand. Deep decoder: Concise image representations from untrained non-convolutional networks. arXiv preprint arXiv:1810.03982, 2018.
286
+ [38] Reinhard Heckel and Mahdi Soltanolkotabi. Compressive sensing with un-trained neural networks: Gradient descent finds the smoothest approximation. arXiv preprint arXiv:2005.03991, 2020.
287
+ [39] Chinmay Hegde. Algorithmic aspects of inverse problems using generative models. In 2018 56th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 166–172. IEEE, 2018.
288
+ [40] Chinmay Hegde, Michael Wakin, and Richard G Baraniuk. Random projections for manifold learning. In Advances in neural information processing systems, pages 641–648, 2008.
289
+ [41] Feng Huang, Sathya Vijayakumar, Yu Li, Sarah Hertel, and George R Duensing. A software channel compression technique for faster reconstruction with many channels. Magnetic resonance imaging, 26(1):133–141, 2008.
290
+ [42] Shady Abu Hussein, Tom Tirer, and Raja Giryes. Image-adaptive gan based reconstruction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 3121–3129, 2020.
291
+ [43] Siddharth Iyer, Frank Ong, Kawin Setsompop, Mariya Doneva, and Michael Lustig. Surebased automatic parameter selection for espirit calibration. Magnetic Resonance in Medicine, 84(6):3423–3437, 2020.
292
+ [44] Mathews Jacob, Jong Chul Ye, Leslie Ying, and Mariya Doneva. Computational mri: Compressive sensing and beyond [from the guest editors]. IEEE Signal Processing Magazine, 37(1):21–23, 2020.
293
+ [45] Ajil Jalal, Sushrut Karmalkar, Alexandros G Dimakis, and Eric Price. Instance-optimal compressed sensing via posterior sampling. International Conference on Machine Learning, 2021.
294
+ [46] Ajil Jalal, Sushrut Karmalkar, Jessica Hoffmann, Alexandros G Dimakis, and Eric Price. Fairness for image generation with uncertain sensitive attributes. International Conference on Machine Learning, 2021.
295
+ [47] Ajil Jalal, Liu Liu, Alexandros G Dimakis, and Constantine Caramanis. Robust compressed sensing using generative models. Advances in Neural Information Processing Systems, 33, 2020.
296
+ [48] Shirin Jalali and Xin Yuan. Solving linear inverse problems using generative models. In 2019 IEEE International Symposium on Information Theory (ISIT), pages 512–516. IEEE, 2019.
297
+ [49] Kyong Hwan Jin, Michael T. McCann, Emmanuel Froustey, and Michael Unser. Deep convolutional neural network for inverse problems in imaging. IEEE Transactions on Image Processing, 26(9):4509–4522, 2017.
298
+ [50] Maya Kabkab, Pouya Samangouei, and Rama Chellappa. Task-aware compressed sensing with generative adversarial networks. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
299
+ [51] Akshay Kamath, Sushrut Karmalkar, and Eric Price. Lower bounds for compressed sensing with generative models. arXiv preprint arXiv:1912.02938, 2019.
300
+ [52] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4401–4410, 2019.
301
+ [53] Varun A Kelkar and Mark A Anastasio. Prior image-constrained reconstruction using style-based generative models. arXiv preprint arXiv:2102.12525, 2021.
302
+ [54] Varun A Kelkar, Sayantan Bhadra, and Mark A Anastasio. Compressible latent-space invertible networks for generative model-constrained image reconstruction. IEEE Transactions on Computational Imaging, 7:209–223, 2021.
303
+ [55] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
304
+ [56] Florian Knoll, Jure Zbontar, Anuroop Sriram, Matthew J Muckley, Mary Bruno, Aaron Defazio, Marc Parente, Krzysztof J Geras, Joe Katsnelson, Hersh Chandarana, et al. fastmri: A publicly available raw k-space and dicom dataset of knee images for accelerated mr image reconstruction using machine learning. Radiology: Artificial Intelligence, 2(1):e190007, 2020.
305
+ [57] Agostina J Larrazabal, Nicolás Nieto, Victoria Peterson, Diego H Milone, and Enzo Ferrante. Gender imbalance in medical imaging datasets produces biased classifiers for computer-aided diagnosis. Proceedings of the National Academy of Sciences, 117(23):12592–12594, 2020.
306
+ [58] Qi Lei, Ajil Jalal, Inderjit S Dhillon, and Alexandros G Dimakis. Inverting deep generative models, one layer at a time. In Advances in Neural Information Processing Systems, pages 13910–13919, 2019.
307
+ [59] Guosheng Lin, Anton Milan, Chunhua Shen, and Ian Reid. Refinenet: Multi-path refinement networks for high-resolution semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1925–1934, 2017.
308
+ [60] Zhaoqiang Liu, Selwyn Gomes, Avtansh Tiwari, and Jonathan Scarlett. Sample complexity bounds for 1-bit compressive sensing and binary stable embeddings with generative priors. arXiv preprint arXiv:2002.01697, 2020.
309
+ [61] Zhaoqiang Liu and Jonathan Scarlett. Information-theoretic lower bounds for compressive sensing with generative models. arXiv preprint arXiv:1908.10744, 2019.
310
+ [62] Michael Lustig, David Donoho, and John M Pauly. Sparse mri: The application of compressed sensing for rapid mr imaging. Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, 58(6):1182–1195, 2007.
311
+ [63] Morteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas Vasanawala, Greg Zaharchuk, Marcus Alley, Neil Thakur, Song Han, William Dally, John M Pauly, et al. Deep generative adversarial networks for compressed sensing automates mri. arXiv preprint arXiv:1706.00051, 2017.
312
+ [64] Morteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas S Vasanawala, Greg Zaharchuk, Lei Xing, and John M Pauly. Deep generative adversarial neural networks for compressive sensing mri. IEEE transactions on medical imaging, 38(1):167–179, 2018.
313
+ [65] Allister Mason, James Rioux, Sharon E Clarke, Andreu Costa, Matthias Schmidt, Valerie Keough, Thien Huynh, and Steven Beyea. Comparison of objective image quality metrics to expert radiologists’ scoring of diagnostic quality of mr images. IEEE transactions on medical imaging, 39(4):1064–1072, 2019.
314
+ [66] Matthew J. Muckley, Bruno Riemenschneider, Alireza Radmanesh, Sunwoo Kim, Geunu Jeong, Jingyu Ko, Yohan Jun, Hyungseob Shin, Dosik Hwang, Mahmoud Mostapha, Simon Arberet, Dominik Nickel, Zaccharie Ramzi, Philippe Ciuciu, Jean-Luc Starck, Jonas Teuwen, Dimitrios Karkalousos, Chaoping Zhang, Anuroop Sriram, Zhengnan Huang, Nafissa Yakubova, Yvonne W. Lui, and Florian Knoll. Results of the 2020 fastmri challenge for machine learning mr image reconstruction. IEEE Transactions on Medical Imaging, pages 1–1, 2021.
315
+ [67] Dominik Narnhofer, Kerstin Hammernik, Florian Knoll, and Thomas Pock. Inverse gans for accelerated mri reconstruction. In Wavelets and Sparsity XVIII, volume 11138, page 111381A. International Society for Optics and Photonics, 2019.
316
+ [68] Gregory Ongie, Ajil Jalal, Christopher A Metzler, Richard G Baraniuk, Alexandros G Dimakis, and Rebecca Willett. Deep learning techniques for inverse problems in imaging. arXiv preprint arXiv:2005.06001, 2020.
317
+ [69] Parthe Pandit, Mojtaba Sahraee-Ardakan, Sundeep Rangan, Philip Schniter, and Alyson K Fletcher. Inference with deep generative priors in high dimensions. arXiv preprint arXiv:1911.03409, 2019.
318
+ [70] Klaas P Pruessmann, Markus Weiger, Markus B Scheidegger, and Peter Boesiger. Sense: sensitivity encoding for fast mri. Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, 42(5):952–962, 1999.
319
+ [71] Shuang Qiu, Xiaohan Wei, and Zhuoran Yang. Robust one-bit recovery via relu generative networks: Improved statistical rates and global landscape analysis. arXiv preprint arXiv:1908.05368, 2019.
320
+ [72] Saiprasad Ravishankar and Yoram Bresler. Mr image reconstruction from highly undersampled k-space data by dictionary learning. IEEE Transactions on Medical Imaging, 30(5):1028–1041, 2011.
321
+ [73] Saiprasad Ravishankar and Jeffrey A. Fessler. Data-driven models and approaches for imaging. In Imaging and Applied Optics 2017 (3D, AIO, COSI, IS, MATH, pcAOP), page MW2C.4. Optical Society of America, 2017.
322
+ [74] JH Rick Chang, Chun-Liang Li, Barnabas Poczos, BVK Vijaya Kumar, and Aswin C Sankaranarayanan. One network to solve them all–solving linear inverse problems using deep projection models. In Proceedings of the IEEE International Conference on Computer Vision, pages 5888–5897, 2017.
323
+ [75] Sebastian Rosenzweig, Hans Christian Martin Holme, Robin N Wilke, Dirk Voit, Jens Frahm, and Martin Uecker. Simultaneous multi-slice mri using cartesian and radial flash and regularized nonlinear inversion: Sms-nlinv. Magnetic resonance in medicine, 79(4):2057–2066, 2018.
324
+ [76] Jo Schlemper, Jose Caballero, Joseph V Hajnal, Anthony N Price, and Daniel Rueckert. A deep cascade of convolutional neural networks for dynamic mr image reconstruction. IEEE transactions on Medical Imaging, 37(2):491–503, 2017.
325
+ [77] Efrat Shimron, Jonathan I Tamir, Ke Wang, and Michael Lustig. Subtle inverse crimes: Na\" ively training machine learning algorithms could lead to overly-optimistic results. arXiv preprint arXiv:2109.08237, 2021.
326
+ [78] Daniel K Sodickson and Warren J Manning. Simultaneous acquisition of spatial harmonics (smash): fast imaging with radiofrequency coil arrays. Magnetic resonance in medicine, 38(4):591–603, 1997.
327
+ [79] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems, pages 11918–11930, 2019.
328
+ [80] Yang Song and Stefano Ermon. Improved techniques for training score-based generative models. arXiv preprint arXiv:2006.09011, 2020.
329
+ [81] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
330
+ [82] Anuroop Sriram, Jure Zbontar, Tullie Murrell, Aaron Defazio, C Lawrence Zitnick, Nafissa Yakubova, Florian Knoll, and Patricia Johnson. End-to-end variational networks for accelerated mri reconstruction. In International Conference on Medical Image Computing and ComputerAssisted Intervention, pages 64–73. Springer, 2020.
331
+ [83] Anuroop Sriram, Jure Zbontar, Tullie Murrell, C. Lawrence Zitnick, Aaron Defazio, and Daniel K. Sodickson. Grappanet: Combining parallel imaging with deep learning for multi-coil mri reconstruction. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
332
+ [84] Anuroop Sriram, Jure Zbontar, Tullie Murrell, C Lawrence Zitnick, Aaron Defazio, and Daniel K Sodickson. Grappanet: Combining parallel imaging with deep learning for multi-coil mri reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14315–14322, 2020.
333
+ [85] Robert Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society. Series B (Methodological), pages 267–288, 1996.
334
+ [86] Martin Uecker, Christian Holme, Moritz Blumenthal, Xiaoqing Wang, Zhengguo Tan, Nick Scholand, Siddharth Iyer, Jon Tamir, and Michael Lustig. mrirecon/bart: version 0.7.00, March 2021.
335
+ [87] Martin Uecker, Peng Lai, Mark J Murphy, Patrick Virtue, Michael Elad, John M Pauly, Shreyas S Vasanawala, and Michael Lustig. Espirit—an eigenvalue approach to autocalibrating parallel mri: where sense meets grappa. Magnetic resonance in medicine, 71(3):990–1001, 2014.
336
+ [88] Martin Uecker, Frank Ong, Jonathan I Tamir, Dara Bahri, Patrick Virtue, Joseph Y Cheng, Tao Zhang, and Michael Lustig. Berkeley advanced reconstruction toolbox. In Proc. Intl. Soc. Mag. Reson. Med, volume 23, 2015.
337
+ [89] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Deep image prior. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 9446–9454, 2018.
338
+ [90] Shreyas S. Vasanawala, Marcus T. Alley, Brian A. Hargreaves, Richard A. Barth, John M. Pauly, and Michael Lustig. Improved pediatric mr imaging with compressed sensing. Radiology, 256(2):607–616, 2010. PMID: 20529991.
339
+ [91] Cédric Villani. Optimal transport: old and new, volume 338. Springer Science & Business Media, 2008.
340
+ [92] Zhou Wang and Alan C Bovik. Modern image quality assessment. Synthesis Lectures on Image, Video, and Multimedia Processing, 2(1):1–156, 2006.
341
+ [93] Bihan Wen, Saiprasad Ravishankar, Luke Pfister, and Yoram Bresler. Transform learning for magnetic resonance image reconstruction: From model-based learning to building neural networks. IEEE Signal Processing Magazine, 37(1):41–53, 2020.
342
+ [94] Jure Zbontar, Florian Knoll, Anuroop Sriram, Tullie Murrell, Zhengnan Huang, Matthew J. Muckley, Aaron Defazio, Ruben Stern, Patricia Johnson, Mary Bruno, Marc Parente, Krzysztof J. Geras, Joe Katsnelson, Hersh Chandarana, Zizhao Zhang, Michal Drozdzal, Adriana Romero, Michael Rabbat, Pascal Vincent, Nafissa Yakubova, James Pinkerton, Duo Wang, Erich Owens, C. Lawrence Zitnick, Michael P. Recht, Daniel K. Sodickson, and Yvonne W. Lui. fastMRI: An open dataset and benchmarks for accelerated MRI. 2018.
343
+
344
+ # Checklist
345
+
346
+ 1. For all authors...
347
+
348
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] See Section 3, 4, 4.3
349
+ (b) Did you describe the limitations of your work? [Yes] See Section 5
350
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 5
351
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] Yes we have read the ethics review guidelines.
352
+
353
+ 2. If you are including theoretical results...
354
+
355
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes] In the statements of Theorem 3.3, Theorem 3.4. (b) Did you include complete proofs of all theoretical results? [Yes] In Appendix B
356
+
357
+ 3. If you ran experiments...
358
+
359
+ (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] Our GitHub link contains all relevant information
360
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] In Appendix G
361
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] All quantitative plots have $9 5 \%$ confidence intervals.
362
+ (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] Yes, in section 4 and Appendix G
363
+
364
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
365
+
366
+ (a) If your work uses existing assets, did you cite the creators? [Yes] Our algorithm uses the NCSNv2 generative model, NYU fastMRI dataset, and Stanford MRI datasets, all of which have been cited.
367
+ (b) Did you mention the license of the assets? [Yes] In Appendix G
368
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes] To the best of our knowledge, we are the first to train generative models for complex valued MR scans, and we include this in the GitHub link in Appendix G
369
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We used the NYU fastMRI and Stanford MRI datasets, both of which have this covered in their terms of agreement.
370
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We used the NYU fastMRI and Stanford MRI datasets, both of which have been anonymized.
371
+
372
+ 5. If you used crowdsourcing or conducted research with human subjects...
373
+
374
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] We didn’t do any human subject experiments
375
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] We didn’t do any human subject experiments
376
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] We didn’t do any human subject experiments
parse/train/wHoIjrT6MMb/wHoIjrT6MMb_content_list.json ADDED
@@ -0,0 +1,1534 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Robust Compressed Sensing MRI with Deep Generative Priors ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 230,
8
+ 122,
9
+ 767,
10
+ 171
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ajil Jalal∗ ECE, UT Austin ajiljalal@utexas.edu ",
17
+ "bbox": [
18
+ 200,
19
+ 222,
20
+ 374,
21
+ 263
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Marius Arvinte\\* ECE, UT Austin arvinte@utexas.edu ",
28
+ "bbox": [
29
+ 406,
30
+ 222,
31
+ 565,
32
+ 263
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Giannis Daras CS, UT Austin giannisdaras@utexas.edu ",
39
+ "bbox": [
40
+ 596,
41
+ 222,
42
+ 797,
43
+ 263
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "Eric Price CS, UT Austin ecprice@cs.utexas.edu ",
50
+ "bbox": [
51
+ 196,
52
+ 285,
53
+ 377,
54
+ 327
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Alexandros G. Dimakis ECE, UT Austin dimakis@austin.utexas.edu ",
61
+ "bbox": [
62
+ 408,
63
+ 285,
64
+ 624,
65
+ 327
66
+ ],
67
+ "page_idx": 0
68
+ },
69
+ {
70
+ "type": "text",
71
+ "text": "Jonathan I. Tamir ECE, UT Austin jtamir@utexas.edu ",
72
+ "bbox": [
73
+ 651,
74
+ 285,
75
+ 802,
76
+ 327
77
+ ],
78
+ "page_idx": 0
79
+ },
80
+ {
81
+ "type": "text",
82
+ "text": "Abstract ",
83
+ "text_level": 1,
84
+ "bbox": [
85
+ 462,
86
+ 363,
87
+ 535,
88
+ 378
89
+ ],
90
+ "page_idx": 0
91
+ },
92
+ {
93
+ "type": "text",
94
+ "text": "The CSGM framework (Bora-Jalal-Price-Dimakis’17) has shown that deep generative priors can be powerful tools for solving inverse problems. However, to date this framework has been empirically successful only on certain datasets (for example, human faces and MNIST digits), and it is known to perform poorly on out-of-distribution samples. In this paper, we present the first successful application of the CSGM framework on clinical MRI data. We train a generative prior on brain scans from the fastMRI dataset, and show that posterior sampling via Langevin dynamics achieves high quality reconstructions. Furthermore, our experiments and theory show that posterior sampling is robust to changes in the ground-truth distribution and measurement process. Our code and models are available at: https://github.com/utcsilab/csgm-mri-langevin. ",
95
+ "bbox": [
96
+ 233,
97
+ 393,
98
+ 766,
99
+ 546
100
+ ],
101
+ "page_idx": 0
102
+ },
103
+ {
104
+ "type": "text",
105
+ "text": "1 Introduction ",
106
+ "text_level": 1,
107
+ "bbox": [
108
+ 174,
109
+ 570,
110
+ 310,
111
+ 588
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Compressed sensing [23, 15] has enabled reductions to the number of measurements needed for successful reconstruction in a variety of imaging inverse problems. In particular, it has led to shorter scan times for magnetic resonance imaging (MRI) [62, 90], and most MRI vendors have released products leveraging this framework to accelerate clinical workflows. Despite their successes, sparsitybased methods are limited by the achievable acceleration rates, as the sparsity assumptions are either hand-crafted or are limited to simple learned sparse codes [72, 73]. ",
118
+ "bbox": [
119
+ 174,
120
+ 602,
121
+ 825,
122
+ 685
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "More recently, deep learning techniques have been used as powerful data-driven reconstruction methods for inverse problems [49, 68]. There are two broad families of deep learning inversion techniques [68]: end-to-end supervised and distribution-learning approaches. End-to-end supervised techniques use a training set of measured images and deploy convolutional neural networks (CNNs) and other architectures to learn the inverse mapping from measurements to image. Network architectures that include both CNN blocks and the imaging forward model have grown in popularity, as they combine deep learning with the compressed sensing optimization framework, see e.g. [32, 3, 64]. End-to-end methods are trained for specific imaging anatomy and measurement models and show excellent performance in these tasks. However, reconstruction quality is known to suffer when applied out of distribution, and recently has been shown to severely degrade [4, 19] under certain types of natural measurement and anatomy perturbations. ",
129
+ "bbox": [
130
+ 174,
131
+ 691,
132
+ 825,
133
+ 843
134
+ ],
135
+ "page_idx": 0
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "In this paper we study deep learning inversion techniques based on distribution learning. These models are trained without reference to measurements, and so easily adapt to changes in the measurement process. The most common family of such techniques, known also as Compressed Sensing with Generative Models (CSGM) [13] uses pre-trained generative models as priors. Generative models are extremely powerful at representing image statistics and CSGM has been successfully applied to numerous inverse problems [13, 34] including non-linear phase retrieval [35], and improved with invertible models [6], sparsity based deviations [21], image adaptivity [42], and posterior sampling [79, 45]. These methods have only recently been applied to MRI and have not yet been shown to be competitive with supervised end-to-end methods. The very recent work [53] trains a StyleGAN for magnitude-only DICOM images but requires the presence of side-information and studies Gaussian, real-valued measurements for reconstruction. The deviation from the true MRI measurement model and the use of magnitude images are known to be problematic when evaluating performance [77]. Another work [54] trained an Invertible Neural Network on complex-valued single-coil MR images and showed very good performance in comparison to sparsity and GAN priors. Untrained and unamortized generators [37] have also been recently explored [19], showing promising results in some cases. Further, [17] studies the harder problem of learning a generative model for a class of images using only partial observations, as first proposed in AmbientGAN [14]. ",
140
+ "bbox": [
141
+ 176,
142
+ 849,
143
+ 823,
144
+ 878
145
+ ],
146
+ "page_idx": 0
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "",
151
+ "bbox": [
152
+ 174,
153
+ 92,
154
+ 825,
155
+ 299
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "In this paper we train the first score-based generative model [80] for MR images. We show that we can faithfully represent MR images without any assumptions on the measurement system. As a consequence, we are able to reconstruct retrospectively under-sampled MRI data under a variety of realistic sampling schemes. We show that our reconstruction algorithm is competitive with end-to-end supervised training when the test-data are matched to the training data and that it is robust to various out-of-distribution shifts, while in some cases end-to-end methods significantly degrade. ",
162
+ "bbox": [
163
+ 174,
164
+ 304,
165
+ 825,
166
+ 388
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "1.1 Contributions ",
173
+ "text_level": 1,
174
+ "bbox": [
175
+ 174,
176
+ 405,
177
+ 310,
178
+ 419
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "• We successfully train a score-based deep generative model for complex-valued, T2-weighted brain MR images without any assumptions on the measurement scheme. When applied to multi-coil MRI reconstruction under the CSGM framework, we achieve competitive performance compared to end-to-end deep learning methods when the test-time data are sampled within distribution. ",
185
+ "bbox": [
186
+ 174,
187
+ 426,
188
+ 825,
189
+ 481
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "• We give evidence that posterior sampling should give high-quality reconstructions. First, we show that for any measurements (including the Fourier measurements in MRI) that posterior sampling with the correct prior is within constant factors of the optimal recovery method; second, even if the prior is wrong but gives $\\alpha$ mass to the true distribution, we show that posterior sampling for Gaussian measurements is nearly optimal with just an additive ${ \\cal O } ( \\log ( 1 / \\alpha ) )$ loss. ",
196
+ "bbox": [
197
+ 174,
198
+ 486,
199
+ 825,
200
+ 555
201
+ ],
202
+ "page_idx": 1
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "• We empirically show that our approach is robust to test-time distribution shifts including different sampling patterns and imaging anatomy. The former is unsurprising given that our model was trained without knowledge of the measurement scheme. As a consequence, our approach provides a degree of flexibility in choosing scan parameters – a common situation in routine clinical imaging. Perhaps surprisingly, the latter indicates that a specialized training set may offer sufficient regularization for a larger class of images. In contrast, we empirically show that end-to-end methods do not always enjoy the same robustness guarantees, in some cases leading to severe degradation in reconstruction quality when applied out-of-distribution. ",
207
+ "bbox": [
208
+ 174,
209
+ 560,
210
+ 825,
211
+ 671
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "• Our method can be used to obtain multiple samples from the posterior by running Langevin dynamics with different random initializations. This allows us to get multiple reconstructions which can be used to obtain confidence intervals for each reconstructed voxel and visualize our reconstruction uncertainty on a voxel-by-voxel resolution. Uncertainty quantification can be incorporated into end-to-end methods, e.g., using variational auto-encoders [24], but this requires changes to the architecture. Our method does not require any modification and multiple reconstruction samplers can be run in parallel. ",
218
+ "bbox": [
219
+ 174,
220
+ 675,
221
+ 825,
222
+ 772
223
+ ],
224
+ "page_idx": 1
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "Our main results are succinctly summarized in Figure 1: we achieve equivalent reconstruction performance using a reduced training set when evaluated in-distribution and are robust when evaluated out-of-distribution. ",
229
+ "bbox": [
230
+ 176,
231
+ 786,
232
+ 823,
233
+ 827
234
+ ],
235
+ "page_idx": 1
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "1.2 Related Work ",
240
+ "text_level": 1,
241
+ "bbox": [
242
+ 174,
243
+ 843,
244
+ 310,
245
+ 858
246
+ ],
247
+ "page_idx": 1
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "Generative priors have shown great utility to improving compressed sensing and other inverse problems, starting with [13], who generalized the theoretical framework of compressed sensing and restricted eigenvalue conditions [85, 23, 12, 15, 40, 11, 10, 25] for signals lying on the range of a deep generative model [29, 55, 81]. Lower bounds in [51, 61, 48] established that the sample complexities in [13] are order optimal. The approach in [13] has been generalized to tackle different inverse problems [47, 35, 7, 71, 60, 63, 74, 9], and different reconstruction algorithms [21, 50, 69, 27, 26, 64, 37, 38, 18]. The complexity of optimization algorithms using generative models have been analyzed in [28, 39, 58, 36]. Our prior work shows that posterior sampling is instance-optimal for compressed sensing [45], and satisfies certain fairness guarantees without explicit information about protected sensitive groups [46]. ",
252
+ "bbox": [
253
+ 176,
254
+ 869,
255
+ 823,
256
+ 911
257
+ ],
258
+ "page_idx": 1
259
+ },
260
+ {
261
+ "type": "image",
262
+ "img_path": "images/2271a0cb7f02f9550b6dba08cb9ce9313a3b43e69cf78b71f113305da794db8e.jpg",
263
+ "image_caption": [
264
+ "Figure 1: Comparison of reconstruction methods for in-distribution, sampling-shift, and anatomy-shift images. All methods and hyperparameters were optimized on T2-weighted brain scans with a vertical sampling mask, and tested at higher accelerations, horizontal masks, and on knee & abdomen scans. Our reconstructions are competitive with state-of-the-art methods, and introduce fewer artifacts out of distribution. All measurements are multicoil k-space from the NYU fastMRI dataset and the supervised baselines are trained from scratch on MVUE targets for a fair comparison. "
265
+ ],
266
+ "image_footnote": [],
267
+ "bbox": [
268
+ 173,
269
+ 88,
270
+ 821,
271
+ 501
272
+ ],
273
+ "page_idx": 2
274
+ },
275
+ {
276
+ "type": "text",
277
+ "text": "",
278
+ "bbox": [
279
+ 174,
280
+ 641,
281
+ 825,
282
+ 739
283
+ ],
284
+ "page_idx": 2
285
+ },
286
+ {
287
+ "type": "text",
288
+ "text": "Using compressed sensing for multi-coil MRI reconstruction has led to a rich body of work in the past two decades [62, 20, 87, 75]. See [22] and the recent special issue [44] for an overview of these methods. Classical approaches impose sparsity in a well-chosen basis, such as the wavelet domain [62], or apply shallow learning that leverages low-level redundancy in the images [72, 73, 93]. Recent research has demonstrated the superior performance of deep neural networks for MR image reconstruction [76, 32, 3, 82, 83]. A broad class of approaches is represented by end-to-end unrolled methods, which use deep networks as learned data priors in the image [3, 32, 82] or k-space domain [84]. Recent work has also investigated the performance of untrained methods [89, 38] for MR reconstruction and has shown competitive results. A much less explored line of research is MR image reconstruction with generative priors. The work in [67] proposes a CSGM-like algorithm that finetunes an entire pre-trained generator that requires a carefully tuned optimization algorithm during inference. ",
289
+ "bbox": [
290
+ 174,
291
+ 746,
292
+ 825,
293
+ 911
294
+ ],
295
+ "page_idx": 2
296
+ },
297
+ {
298
+ "type": "image",
299
+ "img_path": "images/aa8365114dade2d73b532b23e5dd1bac6e3a03cbc1f245453109db8cadcc4644.jpg",
300
+ "image_caption": [
301
+ "Figure 2: Average test PSNR in various scenarios, across a range of acceleration factors $R$ . Higher $R$ indicates a smaller number of acquired measurements. All methods and hyperparameters were optimized on brains with an equispaced vertical mask. Our approach mostly shows the best performance and lowest reconstruction variance both in- and out-of-distribution at test-time. Shaded regions indicate $9 5 \\%$ confidence intervals. Note that we trained baselines on MVUE images and hence these numerical values should not be compared with those in literature trained on RSS images (see Appendix A.1 for a more detailed discussion). "
302
+ ],
303
+ "image_footnote": [],
304
+ "bbox": [
305
+ 173,
306
+ 92,
307
+ 821,
308
+ 459
309
+ ],
310
+ "page_idx": 3
311
+ },
312
+ {
313
+ "type": "text",
314
+ "text": "2 System Model and Algorithm ",
315
+ "text_level": 1,
316
+ "bbox": [
317
+ 176,
318
+ 569,
319
+ 450,
320
+ 587
321
+ ],
322
+ "page_idx": 3
323
+ },
324
+ {
325
+ "type": "text",
326
+ "text": "2.1 Multi-coil Magnetic Resonance Imaging ",
327
+ "text_level": 1,
328
+ "bbox": [
329
+ 174,
330
+ 599,
331
+ 491,
332
+ 614
333
+ ],
334
+ "page_idx": 3
335
+ },
336
+ {
337
+ "type": "text",
338
+ "text": "MRI is a medical imaging modality that makes measurements using an array of radio-frequency coils placed around the body. Each coil is spatially sensitive to a local region, and measurements are acquired directly in the spatial frequency, or $k$ -space, domain. To decrease scan time, reduce operating costs, and improve patient comfort, a reduced number of $\\mathbf { k }$ -space measurements are acquired in clinical use and reconstructed by incorporating explicit or implicit knowledge of the spatial sensitivity maps [78, 70, 30]. Formally, the vector of measurements $\\dot { y } _ { i } \\in \\mathbb { C } ^ { L }$ acquired by the $\\mathrm { i ^ { t h } }$ coil can be characterized by the forward model [70]: ",
339
+ "bbox": [
340
+ 173,
341
+ 625,
342
+ 825,
343
+ 723
344
+ ],
345
+ "page_idx": 3
346
+ },
347
+ {
348
+ "type": "equation",
349
+ "img_path": "images/29b1692fef51364c3db80de63aa8662b2f4c15ab37ecaf07478309721f64fba8.jpg",
350
+ "text": "$$\ny _ { i } = P F S _ { i } x ^ { * } + w _ { i } , \\quad i = 1 , . . . , N _ { c } ,\n$$",
351
+ "text_format": "latex",
352
+ "bbox": [
353
+ 375,
354
+ 726,
355
+ 620,
356
+ 741
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "where $\\boldsymbol { x } ^ { * } \\in \\mathbb { C } ^ { N }$ is the image containing $N$ pixels, $S _ { i }$ is an operator representing the point-wise multiplication of the $\\mathrm { i ^ { t h } }$ coil sensitivity map, $F$ is the spatial Fourier transform operator, $P$ represents the $\\mathbf { k }$ -space sampling operator, and we assume $w _ { i } \\sim \\dot { \\mathcal { N } } _ { c } \\left( 0 , \\sigma ^ { 2 } I \\right)$ for simplicity. Importantly, note that the same under-sampling operator is applied to all $N _ { c }$ coils. ",
363
+ "bbox": [
364
+ 174,
365
+ 744,
366
+ 825,
367
+ 801
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "The acceleration factor $R$ denotes the degree of under-sampling in the $k$ -space domain, i.e., $R = N / L$ Due to the multiple coils, the measurements may not be compressive for small $R$ . However, due to redundancy between the coils, the measurements are compressive for moderate values of $R$ (even if $N _ { c } \\cdot L > N )$ [41]. Also note that we use the true acceleration factor $R$ , and this does not match the values in fastMRI [56] 2 on certain sampling patterns. ",
374
+ "bbox": [
375
+ 173,
376
+ 806,
377
+ 825,
378
+ 877
379
+ ],
380
+ "page_idx": 3
381
+ },
382
+ {
383
+ "type": "text",
384
+ "text": "Given multi-coil measurements $y$ , sensitivity maps represented by $S$ and the sampling operator $P$ , the goal of MR image reconstruction is to estimate the underlying image variable $x ^ { * }$ . Prior work formulates this as a regularized optimization problem: ",
385
+ "bbox": [
386
+ 173,
387
+ 90,
388
+ 825,
389
+ 133
390
+ ],
391
+ "page_idx": 4
392
+ },
393
+ {
394
+ "type": "equation",
395
+ "img_path": "images/9ebc91ed6c1378a1a7b084de2493d405f5149f9e1a1118564f7cf957eb81f657.jpg",
396
+ "text": "$$\n\\underset { x } { \\arg \\operatorname* { m i n } } \\| y - A x \\| _ { 2 } ^ { 2 } + \\lambda Q ( x ) ,\n$$",
397
+ "text_format": "latex",
398
+ "bbox": [
399
+ 397,
400
+ 145,
401
+ 599,
402
+ 171
403
+ ],
404
+ "page_idx": 4
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "where we use the operator $A \\in \\mathbb { C } ^ { M \\times N }$ ( with $M = N _ { c } \\cdot L )$ ) to subsume the discrete approximation to all linear effects, and $Q$ is a suitably chosen functional prior for the image variable $x$ . For example, to enforce a sparsity prior, one can penalize the $\\ell _ { 1 }$ norm in the wavelet representation of $x$ [62]. More recent approaches involve learned regularization terms parameterized by deep neural networks [76, 32, 3]. These models are typically trained end-to-end using a fixed training set and certain assumptions about the sampling operator. In the sequel, we present how score-based generative models can be combined with the posterior sampling [45] mechanism to reformulate (2) and achieve good quality reconstructions without any a priori assumptions about the sampling scheme. ",
409
+ "bbox": [
410
+ 173,
411
+ 184,
412
+ 825,
413
+ 297
414
+ ],
415
+ "page_idx": 4
416
+ },
417
+ {
418
+ "type": "text",
419
+ "text": "When k-space is fully sampled at the Nyquist rate and no regularization is applied, the solution to (2) corresponds to the minimum-variance unbiased estimator (MVUE) of $x ^ { * }$ , denoted by $\\hat { x } _ { \\mathrm { M V U E } }$ [70]. Given fully sampled $\\mathbf { k }$ -space data, this estimate can act as a reference image for evaluating reconstruction error as well as for end-to-end training. Alternatively, a reference image called the root-sum-of-squares (RSS) estimate can be formed by taking the inverse Fourier transform of each coil and subsequently applying the $\\ell _ { 2 }$ norm for each pixel across the coil dimension, i.e. $\\begin{array} { r } { \\hat { x } _ { \\mathrm { R S S } } = \\sqrt { \\sum _ { i = 1 } ^ { N _ { c } } \\left| \\left( F ^ { H } y _ { i } \\right) \\right| ^ { 2 } } } \\end{array}$ , where $F ^ { H }$ is the Hermitian transpose of $F$ (here the inverse DFT). Although the RSS estimate is a biased estimator, it is often used as it does not make any assumptions about the sensitivity maps, which are not explicitly measured by the MRI system. However, even if solving (2) results in perfect recovery of $x ^ { * }$ , there will be a bias when comparing the result to $\\scriptstyle { \\hat { x } } _ { \\mathrm { R S S } }$ and thus the RSS and MVUE cannot be directly compared numerically. ",
420
+ "bbox": [
421
+ 173,
422
+ 303,
423
+ 826,
424
+ 465
425
+ ],
426
+ "page_idx": 4
427
+ },
428
+ {
429
+ "type": "text",
430
+ "text": "2.2 Posterior Sampling ",
431
+ "text_level": 1,
432
+ "bbox": [
433
+ 174,
434
+ 488,
435
+ 348,
436
+ 503
437
+ ],
438
+ "page_idx": 4
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "The algorithm we consider is posterior sampling [45]. That is, given an observation of the form $y = A x ^ { * } + w$ , where $y \\in \\mathbb { C } ^ { M }$ , $A \\in \\mathbb { C } ^ { M \\times N }$ , $w \\stackrel { - } { \\sim } \\mathcal { N } _ { c } ( 0 , \\sigma ^ { 2 } I )$ , and $x ^ { * } \\sim \\mu$ , the posterior sampling recovery algorithm outputs $\\widehat { x }$ according to the posterior distribution $\\mu ( \\cdot | y )$ . ",
443
+ "bbox": [
444
+ 174,
445
+ 517,
446
+ 825,
447
+ 560
448
+ ],
449
+ "page_idx": 4
450
+ },
451
+ {
452
+ "type": "text",
453
+ "text": "In order to sample from the posterior, we use Langevin Dynamics [8]. Assuming we have access to $\\nabla _ { x } \\log \\mu ( x | y )$ , we can sample from $\\mu ( x | y )$ by running noisy gradient ascent: ",
454
+ "bbox": [
455
+ 171,
456
+ 565,
457
+ 823,
458
+ 594
459
+ ],
460
+ "page_idx": 4
461
+ },
462
+ {
463
+ "type": "equation",
464
+ "img_path": "images/b70c7754778d3cec0378156f0ede78ee2cdbc338a0f39fc6727feec9cba3daf4.jpg",
465
+ "text": "$$\nx _ { t + 1 } \\gets x _ { t } + \\eta _ { t } \\nabla _ { x _ { t } } \\log \\mu ( x _ { t } | y ) + \\sqrt { 2 \\eta _ { t } } \\ \\zeta _ { t } , \\quad \\zeta _ { t } \\sim \\mathcal { N } ( 0 , 1 ) .\n$$",
466
+ "text_format": "latex",
467
+ "bbox": [
468
+ 297,
469
+ 607,
470
+ 700,
471
+ 627
472
+ ],
473
+ "page_idx": 4
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "Prior work [8] has shown that as $t \\to \\infty$ and $\\eta _ { t } 0$ , Langevin dynamics will correctly sample from $\\mu ( x | y )$ . In practice, vanilla Langevin Dynamics are slow to converge. Hence, the work in [79] proposes annealed Langevin Dynamics, where the marginal distribution of $x$ at iteration $t$ is modelled as $\\mu _ { t } = \\mu * \\mathcal { N } ( 0 , \\beta _ { t } ^ { 2 } )$ and the generative model is trained to estimate the score function $f ( x _ { t } ; \\beta _ { t } ) : = \\nabla _ { x _ { t } } \\log ( ( \\mu * \\mathcal { N } ( 0 , \\beta _ { t } ^ { 2 } ) ( x _ { t } ) )$ . ",
478
+ "bbox": [
479
+ 173,
480
+ 640,
481
+ 825,
482
+ 712
483
+ ],
484
+ "page_idx": 4
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "Since the distribution of $y | x ^ { * }$ is Gaussian in Eqn (2), we obtain $\\begin{array} { r } { \\nabla _ { x _ { t } } \\log \\mu ( y | x _ { t } ) = \\frac { A ^ { H } ( y - A x _ { t } ) } { \\sigma ^ { 2 } } } \\end{array}$ . We find that it is also helpful to anneal this term, and we set it to AH (y−Axt)σ2+γ2 , where γt → 0 is a decreasing sequence. An application of Bayes’ rule gives: $\\begin{array} { r } { \\nabla _ { x _ { t } } \\log \\mu ( x _ { t } | y ) = f ( x _ { t } ; \\beta _ { t } ) + \\frac { A ^ { H } ( y - A x _ { t } ) } { \\sigma ^ { 2 } + \\gamma _ { t } ^ { 2 } } , } \\end{array}$ . ",
489
+ "bbox": [
490
+ 173,
491
+ 718,
492
+ 825,
493
+ 781
494
+ ],
495
+ "page_idx": 4
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "Putting everything together, our final algorithm is: for $x _ { 0 } \\sim \\mathcal { N } _ { c } ( 0 , I )$ and for all $t = 0 , \\cdots , T - 1$ , ",
500
+ "bbox": [
501
+ 171,
502
+ 786,
503
+ 821,
504
+ 804
505
+ ],
506
+ "page_idx": 4
507
+ },
508
+ {
509
+ "type": "equation",
510
+ "img_path": "images/ded09d7532b80b482b08bc4a5c530417020d93a37403e5fb93cdaeaa5cac8967.jpg",
511
+ "text": "$$\nx _ { t + 1 } x _ { t } + \\eta _ { t } ( f ( x _ { t } ; \\beta _ { t } ) + \\frac { A ^ { H } ( y - A x _ { t } ) } { \\gamma _ { t } ^ { 2 } + \\sigma ^ { 2 } } ) + \\sqrt { 2 \\eta _ { t } } \\ \\zeta _ { t } , \\quad \\zeta _ { t } \\sim \\mathcal { N } ( 0 ; I ) .\n$$",
512
+ "text_format": "latex",
513
+ "bbox": [
514
+ 246,
515
+ 815,
516
+ 751,
517
+ 852
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "Note that the parameters $T , \\{ \\beta _ { t } \\} _ { t = 0 } ^ { T - 1 }$ were fixed during training of the generative model, and hence the only hyperparameters during inference are $\\{ \\eta _ { t } \\} _ { t = 0 } ^ { T - 1 } , \\sigma$ and $\\{ \\gamma _ { t } \\} _ { t = 0 } ^ { T - 1 }$ . Scripts in our codebase describe hyperparameter values used in our experiments. ",
524
+ "bbox": [
525
+ 174,
526
+ 864,
527
+ 825,
528
+ 912
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "3 Theoretical Results ",
535
+ "text_level": 1,
536
+ "bbox": [
537
+ 174,
538
+ 88,
539
+ 367,
540
+ 106
541
+ ],
542
+ "page_idx": 5
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "Background and Notation. We first introduce background and notation required for our theoretical results. $\\| \\cdot \\|$ refers to the $\\ell _ { 2 }$ norm. In this section alone, for simplicity of exposition, we will assume that all matrices and vectors are real valued. ",
547
+ "bbox": [
548
+ 173,
549
+ 119,
550
+ 825,
551
+ 161
552
+ ],
553
+ "page_idx": 5
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "For two probability distributions $\\mu , \\nu$ on some normed space $\\Omega$ , and for any $q \\geq 1$ , the Wasserstein$q$ [91, 5] and Wasserstein- $\\infty$ [16] distances are defined as: ",
558
+ "bbox": [
559
+ 173,
560
+ 167,
561
+ 825,
562
+ 196
563
+ ],
564
+ "page_idx": 5
565
+ },
566
+ {
567
+ "type": "equation",
568
+ "img_path": "images/35e518ee0c97c76140f0bb6a7b11ec72e19574cb305f4f6c785ea0cbf2b4557a.jpg",
569
+ "text": "$$\n\\mathcal { W } _ { q } ( \\mu , \\nu ) : = \\operatorname* { i n f } _ { \\gamma \\in \\Pi ( \\mu , \\nu ) } \\left( \\bigoplus _ { ( u , v ) \\sim \\gamma } [ \\| u - v \\| ^ { q } ] \\right) ^ { 1 / q } , \\quad \\mathcal { W } _ { \\infty } ( \\mu , \\nu ) : = \\operatorname* { i n f } _ { \\gamma \\in \\Pi ( \\mu , \\nu ) } \\left( \\gamma _ { ( u , v ) \\in \\Omega ^ { 2 } } ^ { - \\mathrm { e s s } } \\| u - v \\| \\right) .\n$$",
570
+ "text_format": "latex",
571
+ "bbox": [
572
+ 181,
573
+ 199,
574
+ 821,
575
+ 241
576
+ ],
577
+ "page_idx": 5
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "where $\\Pi ( \\mu , \\nu )$ denotes the set of joint distributions whose marginals are $\\mu , \\nu$ . The above definition says that if $\\mathcal { W } _ { \\infty } ( \\mu , \\nu ) \\leq \\varepsilon$ , and $( u , v ) \\sim \\gamma$ , then $\\| u - v \\| \\leq \\varepsilon$ almost surely. ",
582
+ "bbox": [
583
+ 174,
584
+ 244,
585
+ 823,
586
+ 273
587
+ ],
588
+ "page_idx": 5
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "The $( \\varepsilon , \\delta ) \\cdot$ −approximate covering number [45], is defined as the smallest number of $\\varepsilon$ -radius balls required to cover $1 - \\delta$ mass under a distribution. ",
593
+ "bbox": [
594
+ 174,
595
+ 279,
596
+ 823,
597
+ 308
598
+ ],
599
+ "page_idx": 5
600
+ },
601
+ {
602
+ "type": "text",
603
+ "text": "Definition 3.1 $( \\varepsilon , \\delta )$ -approximate covering number). Let $\\mu$ be a distribution on $\\mathbb { R } ^ { N }$ . For some parameters $\\varepsilon > 0 , \\delta \\in [ 0 , 1 ]$ , the $( \\varepsilon , \\delta )$ -approximate covering number of $\\mu$ is defined as ",
604
+ "bbox": [
605
+ 173,
606
+ 310,
607
+ 823,
608
+ 339
609
+ ],
610
+ "page_idx": 5
611
+ },
612
+ {
613
+ "type": "equation",
614
+ "img_path": "images/1dd825bd3421d010a912014d47f3af9dc57b4c5477f8887452c494794b0e3c89.jpg",
615
+ "text": "$$\n\\mathrm { C o v } _ { \\varepsilon , \\delta } ( \\mu ) : = \\operatorname* { m i n } \\left\\{ k : \\mu \\left[ \\cup _ { i = 1 } ^ { k } B ( x _ { i } , \\varepsilon ) \\right] \\geq 1 - \\delta , x _ { i } \\in \\mathbb { R } ^ { N } \\right\\} ,\n$$",
616
+ "text_format": "latex",
617
+ "bbox": [
618
+ 292,
619
+ 342,
620
+ 704,
621
+ 362
622
+ ],
623
+ "page_idx": 5
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "where $B ( x , \\varepsilon )$ is the $\\ell _ { 2 }$ ball of radius $\\varepsilon$ centered at $x$ . ",
628
+ "bbox": [
629
+ 171,
630
+ 364,
631
+ 522,
632
+ 381
633
+ ],
634
+ "page_idx": 5
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "Distributional robustness under Gaussian measurements. First, we consider mismatch between the ground-truth distribution, denoted by $\\mu$ , and the generator distribution, denoted by $\\nu$ . Prior work [45] has shown that if (i) $\\mathcal { W } _ { q } ( \\mu , \\nu ) \\leq \\varepsilon$ for some $q \\geq 1$ and (ii) we are given $M \\geq O ( \\log \\mathrm { C o v } _ { \\varepsilon , \\delta } ( \\mu ) )$ Gaussian measurements, then posterior sampling with respect to $\\nu$ will recover $x ^ { * } \\sim \\mu$ up to an error of $\\varepsilon / \\delta ^ { 1 / q }$ with probability $1 - \\delta$ . Closeness in Wasserstein distance is a reasonable assumption in certain examples, such as when $\\mu$ is the distribution of celebrity faces and $\\nu$ is the distribution of a generator trained on FlickrFaces [52]. However, this assumption is unsatisfactory when we consider distributions of abdominal and brain MR scans, for example, since images of these anatomies look entirely different. ",
639
+ "bbox": [
640
+ 173,
641
+ 396,
642
+ 826,
643
+ 525
644
+ ],
645
+ "page_idx": 5
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "We define the following weaker notion of divergence between distributions. Informally, this new definition tells us that $\\nu$ and $\\mu$ are “close” if they can each be split into components which are close in $\\mathcal { W } _ { \\infty }$ distance, such that the close components contain a sufficiently large fraction under $\\nu$ and $\\mu$ . Formally, this is defined as: ",
650
+ "bbox": [
651
+ 173,
652
+ 530,
653
+ 826,
654
+ 587
655
+ ],
656
+ "page_idx": 5
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "Definition 3.2 $( ( \\delta , \\alpha ) – \\mathcal { W } _ { \\infty }$ divergence). For two probability distributions $\\nu$ and $\\mu ,$ , and parameters $\\delta , \\alpha \\in [ 0 , 1 ]$ , the $( \\delta , \\alpha ) \\ – \\mathcal { W } _ { \\infty }$ divergence is defined as ",
661
+ "bbox": [
662
+ 173,
663
+ 588,
664
+ 823,
665
+ 617
666
+ ],
667
+ "page_idx": 5
668
+ },
669
+ {
670
+ "type": "equation",
671
+ "img_path": "images/0ddba17a0ff889534246acd5cb1545fe7028d1786ab1b44e8e32398c7b613bea.jpg",
672
+ "text": "$$\n\\begin{array} { r l } & { ( \\delta , \\alpha ) { { \\mathcal W } } _ { \\infty } ( \\mu , \\nu ) : = \\operatorname* { i n f } \\{ \\varepsilon \\geq 0 : } \\\\ & { \\exists \\mu ^ { \\prime } , \\mu ^ { \\prime \\prime } , \\nu ^ { \\prime } , \\nu ^ { \\prime \\prime } \\in { { \\mathcal W } } ( { { \\mathbb R } } ^ { N } ) \\ s . t . \\ \\mu = ( 1 - \\delta ) \\mu ^ { \\prime } + \\delta \\mu ^ { \\prime \\prime } , \\nu = ( 1 - \\alpha ) \\nu ^ { \\prime } + \\alpha \\nu ^ { \\prime \\prime } , \\mathcal W _ { \\infty } ( \\mu ^ { \\prime } , \\nu ^ { \\prime } ) = \\varepsilon . \\} } \\end{array}\n$$",
673
+ "text_format": "latex",
674
+ "bbox": [
675
+ 184,
676
+ 621,
677
+ 812,
678
+ 659
679
+ ],
680
+ "page_idx": 5
681
+ },
682
+ {
683
+ "type": "text",
684
+ "text": "Lemma B.1 highlights that this is a strict generalization of Wasserstein distances, in the sense that closeness in Wasserstein distance implies closeness in this new divergence. ",
685
+ "bbox": [
686
+ 171,
687
+ 667,
688
+ 823,
689
+ 696
690
+ ],
691
+ "page_idx": 5
692
+ },
693
+ {
694
+ "type": "text",
695
+ "text": "Since the $( \\delta , \\alpha ) \\ – \\mathcal { W } _ { \\infty }$ divergence is a generalization of Wasserstein distances, it is not clear that the main Theorem in [45] holds for distributions that are close in this new divergence. The following result shows a rather surprising fact: if $( \\delta , \\alpha ) \\ – \\mathcal { W } _ { \\infty } ( \\mu , \\nu ) \\leq \\varepsilon$ then posterior sampling with $M =$ $\\begin{array} { r } { O \\left( \\log \\left( \\frac { 1 } { 1 - \\alpha } \\right) + \\log \\mathrm { C o v } _ { \\varepsilon , \\delta } ( \\mu ) \\right) } \\end{array}$ measurements will still succeed with probability $\\ge 1 - O ( \\delta )$ . ",
696
+ "bbox": [
697
+ 173,
698
+ 702,
699
+ 826,
700
+ 768
701
+ ],
702
+ "page_idx": 5
703
+ },
704
+ {
705
+ "type": "text",
706
+ "text": "Theorem 3.3. Let $\\delta , \\alpha \\in [ 0 , 1 ]$ , and $\\varepsilon > 0$ be parameters. Let $\\mu , \\nu$ be arbitrary distributions over $\\mathbb { R } ^ { N }$ satisfying $( \\delta , \\alpha ) \\ – \\mathcal { W } _ { \\infty } ( \\mu , \\nu ) \\leq \\varepsilon$ . Let $x ^ { * } \\sim \\mu$ and suppose $y = A x ^ { * } + w$ , where $A \\in \\mathbb { R } ^ { M \\times N }$ and $w \\in \\dot { \\mathbb { R } } ^ { M }$ are i.i.d. Gaussian normalized such that $A _ { i j } \\sim \\mathcal { N } ( 0 , 1 / M )$ and $w _ { i } \\sim \\mathcal { N } ( 0 , \\sigma ^ { 2 } / M )$ , with $\\sigma \\gtrsim \\varepsilon$ . Given $y$ and the fixed matrix $A$ , let $\\widehat { x }$ be the output of posterior sampling with respect to $\\nu$ . ",
707
+ "bbox": [
708
+ 173,
709
+ 771,
710
+ 826,
711
+ 842
712
+ ],
713
+ "page_idx": 5
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "Then for $\\begin{array} { r } { M \\geq O \\left( \\log \\left( \\frac { 1 } { 1 - \\alpha } \\right) + \\operatorname* { m i n } ( \\log \\mathrm { C o v } _ { \\sigma , \\delta } ( \\mu ) , \\log \\mathrm { C o v } _ { \\sigma , \\delta } ( \\nu ) ) \\right) } \\end{array}$ , there exists a universal constant $c > 0$ such that with probability at least $1 - e ^ { - \\Omega ( M ) }$ over $A , w$ , ",
718
+ "bbox": [
719
+ 171,
720
+ 843,
721
+ 823,
722
+ 885
723
+ ],
724
+ "page_idx": 5
725
+ },
726
+ {
727
+ "type": "equation",
728
+ "img_path": "images/58a5abdc99094d4283011d361873f698f4de0998ffe998e2a1c844ad72262e4b.jpg",
729
+ "text": "$$\n\\operatorname* { P r } _ { x ^ { * } \\sim \\mu , \\widehat { x } \\sim \\nu ( \\cdot | y ) } \\left[ \\| x ^ { * } - \\widehat { x } \\| \\geq c ( \\varepsilon + \\sigma ) \\right] \\leq \\delta + e ^ { - \\Omega ( M ) } .\n$$",
730
+ "text_format": "latex",
731
+ "bbox": [
732
+ 323,
733
+ 888,
734
+ 669,
735
+ 915
736
+ ],
737
+ "page_idx": 5
738
+ },
739
+ {
740
+ "type": "image",
741
+ "img_path": "images/90078d3b474935e152b912aec68c52df9e50dcb9e83b5141f2339a17391f80a8.jpg",
742
+ "image_caption": [
743
+ "Figure 3: Comparative reconstructions of a 2D abdominal scan with uniform random under-sampling in the horizontal direction at $R = 4$ . None of the methods were trained to reconstruct abdomen MRI. Our method uses a score-based generative model trained on brain images (as explained) and obtains good reconstructions. The red arrows indicate missing details or artifacts in the kidney structure. "
744
+ ],
745
+ "image_footnote": [],
746
+ "bbox": [
747
+ 179,
748
+ 89,
749
+ 821,
750
+ 296
751
+ ],
752
+ "page_idx": 6
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "For our running example of $\\nu$ being a generator trained on brain scans, and $\\mu$ the distribution of abdominal scans, we can set $\\nu ^ { \\prime }$ to be the distribution of our generator restricted to abdominal scans, and we can let $\\mu ^ { \\prime }$ be the distribution restricted to “inliers” in $\\mu$ . This shows that even if our generator places an exponentially small probability mass(i.e., $1 - \\alpha \\ll 1 ,$ ) on the set of abdominal scans, we can still recover abdominal scans with a polynomial additive increase in the number of measurements (i.e., $\\log ( 1 / ( 1 - \\alpha ) )$ ). ",
757
+ "bbox": [
758
+ 173,
759
+ 392,
760
+ 826,
761
+ 477
762
+ ],
763
+ "page_idx": 6
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "Near-optimality under arbitrary measurement processes. The previous result required Gaussian matrices to handle the distribution shift. Our next result shows that for an arbitrary measurement process, and assuming that there is no distribution shift between the generator and the ground truth distribution, posterior sampling is almost the best algorithm for this fixed measurement process. This result also shows that posterior sampling is good with respect to any metric. ",
768
+ "bbox": [
769
+ 173,
770
+ 491,
771
+ 825,
772
+ 560
773
+ ],
774
+ "page_idx": 6
775
+ },
776
+ {
777
+ "type": "text",
778
+ "text": "Theorem 3.4. Let $d ( \\cdot , \\cdot )$ be an arbitrary metric over $\\mathbb { R } ^ { N } \\times \\mathbb { R } ^ { N }$ . Let $x ^ { * } \\sim \\mu$ and let $y = \\mathcal { A } ( x ^ { * } )$ be measurements generated from $x ^ { * }$ for some arbitrary forward operator $\\mathcal { A } : \\mathbb { R } ^ { N } \\to \\mathbb { R } ^ { M }$ . Then if there exists an algorithm that uses y as inputs and outputs $x ^ { \\prime }$ such that ",
779
+ "bbox": [
780
+ 174,
781
+ 564,
782
+ 823,
783
+ 608
784
+ ],
785
+ "page_idx": 6
786
+ },
787
+ {
788
+ "type": "equation",
789
+ "img_path": "images/0e4132a2773c8ebb84769d8be006d200fbc1c262dab01137845da997a698bf30.jpg",
790
+ "text": "$$\nd ( x ^ { * } , x ^ { \\prime } ) \\leq \\varepsilon { \\mathit { w i t h } } p r o b a b i l i t y \\ 1 - \\delta ,\n$$",
791
+ "text_format": "latex",
792
+ "bbox": [
793
+ 377,
794
+ 614,
795
+ 619,
796
+ 632
797
+ ],
798
+ "page_idx": 6
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "then posterior sampling $\\widehat { x } \\sim \\mu ( \\cdot | y )$ will satisfy ",
803
+ "bbox": [
804
+ 176,
805
+ 638,
806
+ 482,
807
+ 654
808
+ ],
809
+ "page_idx": 6
810
+ },
811
+ {
812
+ "type": "equation",
813
+ "img_path": "images/2dfd04d7ca1ab69153f765dd53831d0231d84a0cfe1c58235156a309c4a8b4fd.jpg",
814
+ "text": "$$\nd ( x ^ { * } , \\widehat { x } ) \\leq 2 \\varepsilon w i t h p r o b a b i l i t y \\ \\geq 1 - 2 \\delta .\n$$",
815
+ "text_format": "latex",
816
+ "bbox": [
817
+ 361,
818
+ 661,
819
+ 635,
820
+ 679
821
+ ],
822
+ "page_idx": 6
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "Remark on combining these results. Our theoretical results above show that posterior sampling is (1) highly robust to distribution shift under Gaussian measurements, and (2) accurate with arbitrary measurements without distribution shift. A natural hope would be to combine these two results and show that it is robust to distribution shift under Fourier measurements. Unfortunately, this is not true for general distributions: for example, if $\\mu$ and $\\nu$ are both random distributions over Fourier-sparse signals, then Fourier measurements will usually give zero information about the signal, so cannot convince the sampler to sample near $\\mu$ rather than $\\nu$ . ",
827
+ "bbox": [
828
+ 173,
829
+ 693,
830
+ 825,
831
+ 790
832
+ ],
833
+ "page_idx": 6
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "4 Experimental Results ",
838
+ "text_level": 1,
839
+ "bbox": [
840
+ 174,
841
+ 809,
842
+ 385,
843
+ 827
844
+ ],
845
+ "page_idx": 6
846
+ },
847
+ {
848
+ "type": "text",
849
+ "text": "We perform retrospective under-sampling in all experiments, i.e., given fully-sampled $\\mathbf { k }$ -space measurements from the NYU fastMRI [56, 94] and Stanford MRI [1] datasets, we apply sampling masks and evaluate the performance of all considered algorithms on the reconstructed data. Depending on scan parameters (e.g., 3D scans for the Stanford knee data in Appendix F), we appropriately slice and sample the data in the proper dimension so as to not commit any inverse crime [31, 77]. ",
850
+ "bbox": [
851
+ 174,
852
+ 842,
853
+ 825,
854
+ 911
855
+ ],
856
+ "page_idx": 6
857
+ },
858
+ {
859
+ "type": "text",
860
+ "text": "We first highlight that an advantage of the proposed approach is the invariance to the sampling scheme during training. In contrast, this is a design choice that must be made for supervised end-to-end methods, which here were trained on equispaced, vertical sampling masks, following the fastMRI 2020 challenge guidelines [94, 66]. As our results show, this affords us a significant degree of robustness across a wide distribution of sampling masks during inference. ",
861
+ "bbox": [
862
+ 174,
863
+ 92,
864
+ 825,
865
+ 161
866
+ ],
867
+ "page_idx": 7
868
+ },
869
+ {
870
+ "type": "text",
871
+ "text": "We train a score-based model, NCSNv2 [80], on a small subset of scans from the NYU fastMRI brain dataset. Specifically, we train using T2-weighted images at a field strength of 3 Tesla for a total of 14,539 2D training slices. We calculate the MVUE from the fully sampled data and use the ESPIRiT algorithm [87, 43] applied to the fully-sampled central portion of $\\mathbf { k }$ -space to estimate the sensitivity maps. The backbone network for our model is a RefineNet [59]. Since the generator’s output is expected to be complex-valued, we treat the real and imaginary parts as separate image channels. Details about the architectures are given in Appendix G. ",
872
+ "bbox": [
873
+ 174,
874
+ 166,
875
+ 825,
876
+ 263
877
+ ],
878
+ "page_idx": 7
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "We use an $\\ell _ { 1 }$ -Wavelet regularized reconstruction algorithm [62] as a parallel imaging and compressed sensing baseline. This aims to solve the optimization problem given in (2) with $\\mathbf { \\bar { Q } } ( x ) = | | \\mathbf { \\bar { W } } x | | _ { 1 }$ where $W$ is a 2D Wavelet transform. We use the publicly available implementation from the BART toolbox [88, 86] and optimize the regularization hyper-parameter using the same subset of samples from the brain dataset that was used to train our method. We find that $\\lambda = 0 . 0 1$ performs the best on the training data and use this value for all experiments. We consider three different deep learning baselines: MoDL [3], E2E-VarNet [82], and the ConvDecoder architecture [19]. ",
883
+ "bbox": [
884
+ 174,
885
+ 270,
886
+ 825,
887
+ 367
888
+ ],
889
+ "page_idx": 7
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "We train the MoDL and E2E-VarNet baselines from scratch on the same training dataset as our method, at acceleration factors $R = \\{ 3 , 6 \\}$ and equispaced under-sampling, with a supervised SSIM loss on the magnitude MVUE image, for 40 and 15 epochs, respectively, using a batch size of 1. For the ConvDecoder baseline, we use the architecture for brain data in [19] that outputs a complex image estimate and optimize the number of fitting iterations on a subset of samples from the training data. We find that 10000 iterations are sufficient to reach a stable average performance at $R = 3$ . Put together, all of our baselines are tailored to estimate the complex image $x$ , thus all comparisons are fair. We evaluate reconstruction performance using the complex MVUE of the fully sampled data as a reference image and measure the peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) [92] between the absolute values of the reconstruction and ground-truth MVUE images. ",
894
+ "bbox": [
895
+ 174,
896
+ 373,
897
+ 825,
898
+ 512
899
+ ],
900
+ "page_idx": 7
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "4.1 In-Distribution Performance ",
905
+ "text_level": 1,
906
+ "bbox": [
907
+ 174,
908
+ 532,
909
+ 411,
910
+ 547
911
+ ],
912
+ "page_idx": 7
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "In this experiment, we test all models using the same forward model that matches the training conditions for the baselines: vertical, equispaced sampling patterns. Examples of various sampling patterns are shown in Appendix C. ",
917
+ "bbox": [
918
+ 174,
919
+ 559,
920
+ 825,
921
+ 601
922
+ ],
923
+ "page_idx": 7
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "Figure 1 (top three rows) shows qualitative results and Figures 2a & 5a respectively show PSNR & SSIM values, for the case where there is no mismatch between the training and inference sampling patterns. As the baselines were trained to maximize SSIM at $R = 3 ~ \\& ~ 6$ , we see that they achieve better SSIM scores than us at these accelerations, although there is clear aliasing in the baselines at $R = 6$ . We achieve better PSNR values at these accelerations, which supports the claim that our method does not overfit to a particular metric (Theorem 3.4). This also highlights the importance of qualitative evaluations in medical image reconstruction and the limitations of existing image quality metrics [65]. From the third row of Figure 1, and Figures 2a & 5a, we notice that our method surpasses baselines at higher accelerations. ",
928
+ "bbox": [
929
+ 174,
930
+ 607,
931
+ 825,
932
+ 732
933
+ ],
934
+ "page_idx": 7
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "We find that $\\ell _ { 1 }$ -Wavelet suffers both qualitatively and quantitatively at high acceleration factors, while the ConvDecoder is also a competitive architecture, but incurs a large computational cost. When benchmarked on an NVIDIA RTX 2080Ti GPU, our method takes 16 minutes and $0 . 9 5 \\mathrm { G B }$ of memory to reconstruct a high-resolution brain scan, whereas the ConvDecoder takes longer than 80 minutes and $6 . 6 \\mathrm { G B }$ of memory. While our method is limited by the inference time and is not in the range of end-to-end models (where reconstruction takes at most on the order of seconds and $3 . 5 \\mathrm { G B }$ of memory), multiple scans can be reconstructed in parallel due to the reduced memory footprint. ",
939
+ "bbox": [
940
+ 174,
941
+ 738,
942
+ 825,
943
+ 835
944
+ ],
945
+ "page_idx": 7
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "4.2 Out-of-Distribution Performance ",
950
+ "text_level": 1,
951
+ "bbox": [
952
+ 176,
953
+ 856,
954
+ 442,
955
+ 871
956
+ ],
957
+ "page_idx": 7
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "Test-time sampling pattern shifts. Here we consider shifts in the forward sampling operator at test-time, while still evaluating on the same anatomy as the training conditions. We measure robustness by evaluating the average incurred performance loss when the sampling pattern changes. Recall that our proposed approach does not use any explicit information about the sampling pattern $P$ during training, hence we anticipate the highest degree of robustness. ",
962
+ "bbox": [
963
+ 173,
964
+ 882,
965
+ 821,
966
+ 911
967
+ ],
968
+ "page_idx": 7
969
+ },
970
+ {
971
+ "type": "image",
972
+ "img_path": "images/b018ec33241411896dc3fc3986cc59d405d15f8a24b43f8fcf25f05147bb0981.jpg",
973
+ "image_caption": [
974
+ "Figure 4: Our method successfully recovers fine details and can provide an estimate of the reconstruction error. The left column shows a knee from the fastMRI dataset, along with an annotated meniscus tear (indicated by red arrow in zoomed inset). Given measurements at an acceleration factor of $R = 4$ , we obtain 48 independent reconstructions via posterior sampling. The second column shows the pixel-wise average of reconstructions, the third column shows the pixel-wise standard deviation, and the fourth column shows the magnitude of the error between the ground truth and the mean reconstruction. Note that our generative prior has never seen such pathology, as it was trained on T2-weighted brain scans. "
975
+ ],
976
+ "image_footnote": [],
977
+ "bbox": [
978
+ 176,
979
+ 88,
980
+ 821,
981
+ 207
982
+ ],
983
+ "page_idx": 8
984
+ },
985
+ {
986
+ "type": "text",
987
+ "text": "",
988
+ "bbox": [
989
+ 174,
990
+ 344,
991
+ 825,
992
+ 386
993
+ ],
994
+ "page_idx": 8
995
+ },
996
+ {
997
+ "type": "text",
998
+ "text": "Figure 1 (fourth row) shows qualitative reconstructions when the measurements are obtained from an equispaced, horizontal sampling mask, with an acceleration factor $R = 3$ . It can be observed that the reconstructions output by E2E-VarNet show aliasing artifacts. Based on the statistical results in Figure 2b & 5b, our method retains its performance. ",
999
+ "bbox": [
1000
+ 173,
1001
+ 392,
1002
+ 825,
1003
+ 448
1004
+ ],
1005
+ "page_idx": 8
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "Furthermore, this experiment reveals that MoDL is more robust to this type of mask shift when compared to E2E-VarNet, even though it uses a smaller network. This is explained by the fact that E2E-VarNet does not use external sensitivity map estimates, but uses a deep neural network for endto-end map estimation. While this improves performance on in-distribution samples, the performance drop is strong evidence that accurate sensitivity map estimation is vital for robust generalization, and both our proposed approach and MoDL benefit from the external ESPIRiT algorithm, which is compatible with different sampling patterns. ",
1010
+ "bbox": [
1011
+ 174,
1012
+ 454,
1013
+ 825,
1014
+ 553
1015
+ ],
1016
+ "page_idx": 8
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "We do note that retrospectively flipping the horizontal and vertical sampling direction is not necessarily representative of prospective sampling in the horizontal direction due to the discrete nature of the phase encoding direction in MRI, and this may contribute to the higher scores compared to the vertical mask experiments. ",
1021
+ "bbox": [
1022
+ 174,
1023
+ 558,
1024
+ 825,
1025
+ 613
1026
+ ],
1027
+ "page_idx": 8
1028
+ },
1029
+ {
1030
+ "type": "text",
1031
+ "text": "Test-time anatomy shifts. We now consider the more difficult problem of reconstructing different anatomies than the ones seen during. This was previously investigated in [19], which concluded that all methods suffer a drastic shift due to the various changes in scan parameters between body parts. In contrast to prior work, our main finding is that the proposed score-based model retains a significant degree of robustness under these shifts, and outputs excellent qualitative reconstructions. In some cases, some end-to-end methods retain robustness as well. ",
1032
+ "bbox": [
1033
+ 174,
1034
+ 635,
1035
+ 825,
1036
+ 718
1037
+ ],
1038
+ "page_idx": 8
1039
+ },
1040
+ {
1041
+ "type": "text",
1042
+ "text": "Figures 2c & 5c show PSNR and SSIM scores obtained on reconstructed abdominal scans obtained from [1] at different acceleration factors. This represents both an anatomy and sampling pattern shift, and it can be seen that our method, MoDL, and the $\\ell _ { 1 }$ -Wavelet algorithm retain their competitive advantage, while the ConvDecoder and E2E-VarNet suffer severe performance losses. Figure 3 further shows a qualitative comparison of a reconstructed abdominal scan at $R = 4$ , with highlighted artifacts. Appendix E shows another abdomen scan. ",
1043
+ "bbox": [
1044
+ 174,
1045
+ 724,
1046
+ 825,
1047
+ 808
1048
+ ],
1049
+ "page_idx": 8
1050
+ },
1051
+ {
1052
+ "type": "text",
1053
+ "text": "Finally, Figures 2d & 5d show PSNR and SSIM scores obtained on fastMRI knee reconstructions, while Figure 1 (bottom row) shows the accompanying qualitative plots. This anatomy is challenging especially because of the poor signal-to-noise ratio conditions, which can be seen even in the groundtruth image. It can be noticed that this is the most severe shift for all methods, but our approach still shows the best performance at $R = 2 , 4$ and a significantly lower variance. Appendix D shows more examples of knee reconstructions with and without fat suppression, and Figure 20 shows metrics on fat suppressed knees. ",
1054
+ "bbox": [
1055
+ 174,
1056
+ 814,
1057
+ 825,
1058
+ 911
1059
+ ],
1060
+ "page_idx": 8
1061
+ },
1062
+ {
1063
+ "type": "text",
1064
+ "text": "4.3 Uncertainty Estimation ",
1065
+ "text_level": 1,
1066
+ "bbox": [
1067
+ 174,
1068
+ 92,
1069
+ 377,
1070
+ 106
1071
+ ],
1072
+ "page_idx": 9
1073
+ },
1074
+ {
1075
+ "type": "text",
1076
+ "text": "Our method can also provide uncertainty estimates for each reconstructed pixel by running multiple truc, for n samplers. For a given observation sufficiently large. Now, using the $y$ , we can obtain independeonditional mean estimate $\\widehat { x } _ { 1 } , \\cdots , \\widehat { x } _ { K } \\sim$ $\\mu ( \\cdot | y )$ $K$ $\\textstyle { \\bar { x } } = \\sum _ { i = 1 } ^ { K } { \\widehat { x } } _ { i } / K$ compute the pixel-wise standard deviation $\\sqrt { \\textstyle \\sum _ { i = 1 } ^ { K } | \\widehat { x } _ { i } - \\bar { x } | ^ { 2 } / K }$ , and this gives an estimate of the error in each pixel. As shown in $\\mathrm { F i g ~ 4 }$ , the pixel-wise standard deviation is a good estimate of the ground truth error $| x ^ { * } - { \\bar { x } } |$ . Additionally, notice that the reconstructions are able to recover fine details such as the annotated meniscus tear3 in Fig 4 and predict low uncertainty for these features. ",
1077
+ "bbox": [
1078
+ 173,
1079
+ 116,
1080
+ 825,
1081
+ 227
1082
+ ],
1083
+ "page_idx": 9
1084
+ },
1085
+ {
1086
+ "type": "text",
1087
+ "text": "Figure 17 in Appendix D shows another example of an annotated meniscus tear. Figures 18 and 19 show comparisons with baselines on the same examples. ",
1088
+ "bbox": [
1089
+ 173,
1090
+ 233,
1091
+ 821,
1092
+ 261
1093
+ ],
1094
+ "page_idx": 9
1095
+ },
1096
+ {
1097
+ "type": "text",
1098
+ "text": "4.4 Radiologist Study ",
1099
+ "text_level": 1,
1100
+ "bbox": [
1101
+ 174,
1102
+ 276,
1103
+ 336,
1104
+ 292
1105
+ ],
1106
+ "page_idx": 9
1107
+ },
1108
+ {
1109
+ "type": "text",
1110
+ "text": "We have conducted a preliminary blind assessment of overall image quality with two board-certified radiologists and one faculty member who uses neuroimaging for their research. These experts were not involved in our research. We have found that our algorithm was ranked best for knee scans, and tied with the baselines for abdominal and brain scans, supporting our robustness claims in the paper. For more details, please see Appendix H. ",
1111
+ "bbox": [
1112
+ 174,
1113
+ 303,
1114
+ 826,
1115
+ 372
1116
+ ],
1117
+ "page_idx": 9
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "text": "5 Limitations ",
1122
+ "text_level": 1,
1123
+ "bbox": [
1124
+ 174,
1125
+ 390,
1126
+ 302,
1127
+ 407
1128
+ ],
1129
+ "page_idx": 9
1130
+ },
1131
+ {
1132
+ "type": "text",
1133
+ "text": "We reported PSNR and SSIM values as they are correlated with radiologist evaluation upto an extent, and our preliminary radiologist study in Section 4.4 suggests the feasibility of clinical adoption. These metrics do not capture the needs of real-world radiologists, and a more detailed study is required before the proposed techniques can be clinically adopted. ",
1134
+ "bbox": [
1135
+ 174,
1136
+ 421,
1137
+ 825,
1138
+ 478
1139
+ ],
1140
+ "page_idx": 9
1141
+ },
1142
+ {
1143
+ "type": "text",
1144
+ "text": "Though promising, our initial results were still limited to fast spin-echo imaging only and all data were retrospectively under-sampled. Further study is required to demonstrate prospective performance in a larger body of heterogeneous MRI data. Our method also currently requires a high compute cost at inference time, as well as the need for a pre-trained generative model. Clinical use requires fast reconstruction in addition to fast scanning. Future work should investigate whether score-based models can be trained without a fully-sampled training set as well as investigate approaches to reducing computation time. ",
1145
+ "bbox": [
1146
+ 174,
1147
+ 484,
1148
+ 825,
1149
+ 582
1150
+ ],
1151
+ "page_idx": 9
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "text": "Finally, there are potential issues related to discrimination. Specifically, it is possible that the quality of the reconstructed images varies across protected attributes, such as gender or race [57]. ",
1156
+ "bbox": [
1157
+ 174,
1158
+ 588,
1159
+ 823,
1160
+ 616
1161
+ ],
1162
+ "page_idx": 9
1163
+ },
1164
+ {
1165
+ "type": "text",
1166
+ "text": "6 Conclusions ",
1167
+ "text_level": 1,
1168
+ "bbox": [
1169
+ 174,
1170
+ 635,
1171
+ 305,
1172
+ 651
1173
+ ],
1174
+ "page_idx": 9
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "This paper reports the first successful application of the CSGM framework for robust multi-coil MR image reconstruction under realistic sampling conditions, and provides theoretical evidence for the robustness of posterior sampling. Our score-based model was trained on a small subset of brain MRI scans without any explicit information about the sampling scheme. This shows state-of-the-art performance under severe distributional shifts, making our model applicable in a wide range of clinical settings. ",
1179
+ "bbox": [
1180
+ 174,
1181
+ 666,
1182
+ 825,
1183
+ 750
1184
+ ],
1185
+ "page_idx": 9
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Our method shows a considerable degree of generalization to out-of-distribution samples such as abdomen and knee MRI, even when trained exclusively on brain MRI. Notably, these scans were acquired using different MRI vendors with different pulse sequence parameters and at different institutions. We postulate that adding a small set of diverse training samples to our generative model could further improve robustness, and we hypothesize that these samples may not necessarily be restricted to MR images. ",
1190
+ "bbox": [
1191
+ 174,
1192
+ 756,
1193
+ 825,
1194
+ 839
1195
+ ],
1196
+ "page_idx": 9
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "The results presented in this work represent an important step to applying deep learning models in the clinic, as there is a natural variation in sampling, image orientation, receive coils, scanner hardware, and anatomy in clinical practice. ",
1201
+ "bbox": [
1202
+ 176,
1203
+ 845,
1204
+ 825,
1205
+ 887
1206
+ ],
1207
+ "page_idx": 9
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "7 Acknowledgements ",
1212
+ "text_level": 1,
1213
+ "bbox": [
1214
+ 176,
1215
+ 89,
1216
+ 367,
1217
+ 106
1218
+ ],
1219
+ "page_idx": 10
1220
+ },
1221
+ {
1222
+ "type": "text",
1223
+ "text": "Ajil Jalal, Giannis Daras and Alex Dimakis have been supported by NSF Grants CCF 1763702, 1934932, AF 1901281, 2008710, 2019844, the NSF IFML 2019844 award as well as research gifts by Western Digital, Interdigital, WNCG and MLL, computing resources from TACC and the Archie Straiton Fellowship. ",
1224
+ "bbox": [
1225
+ 174,
1226
+ 121,
1227
+ 825,
1228
+ 176
1229
+ ],
1230
+ "page_idx": 10
1231
+ },
1232
+ {
1233
+ "type": "text",
1234
+ "text": "Eric Price has been supported by NSF Award CCF-1751040 (CAREER), NSF Award CCF-2008868, and NSF IFML 2019844. ",
1235
+ "bbox": [
1236
+ 176,
1237
+ 181,
1238
+ 823,
1239
+ 210
1240
+ ],
1241
+ "page_idx": 10
1242
+ },
1243
+ {
1244
+ "type": "text",
1245
+ "text": "Marius Arvinte and Jon Tamir have been supported by NSF IFML 2019844 award, ONR grant N00014-19-1-2590, NIH Grant U24EB029240, and an AWS Machine Learning Research Award. ",
1246
+ "bbox": [
1247
+ 176,
1248
+ 217,
1249
+ 823,
1250
+ 246
1251
+ ],
1252
+ "page_idx": 10
1253
+ },
1254
+ {
1255
+ "type": "text",
1256
+ "text": "We thank the anonymous NeurIPS reviewers for their helpful and considerate feedback. ",
1257
+ "bbox": [
1258
+ 173,
1259
+ 251,
1260
+ 746,
1261
+ 266
1262
+ ],
1263
+ "page_idx": 10
1264
+ },
1265
+ {
1266
+ "type": "text",
1267
+ "text": "Finally, we would like to thank the experts who graciously helped with our image assessment study. ",
1268
+ "bbox": [
1269
+ 176,
1270
+ 272,
1271
+ 823,
1272
+ 286
1273
+ ],
1274
+ "page_idx": 10
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "8 Funding Transparency Statements ",
1279
+ "text_level": 1,
1280
+ "bbox": [
1281
+ 173,
1282
+ 306,
1283
+ 495,
1284
+ 324
1285
+ ],
1286
+ "page_idx": 10
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "8.1 Funding (financial activities supporting the submitted work): ",
1291
+ "text_level": 1,
1292
+ "bbox": [
1293
+ 174,
1294
+ 338,
1295
+ 635,
1296
+ 353
1297
+ ],
1298
+ "page_idx": 10
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "Funding in direct support of this work: NSF Grants CCF 1763702, 1934932, AF 1901281, 2008710, 2019844, 1751040, 2008868, the NSF IFML 2019844 award, ONR grant N00014-19-1-2590, NIH Grant U24EB029240, and an AWS Machine Learning Research Award, as well as research gifts by Western Digital, Interdigital, WNCG and MLL, computing resources from TACC and the Archie Straiton Fellowship. ",
1303
+ "bbox": [
1304
+ 174,
1305
+ 363,
1306
+ 825,
1307
+ 433
1308
+ ],
1309
+ "page_idx": 10
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "8.2 Competing Interests (financial activities outside the submitted work): ",
1314
+ "text_level": 1,
1315
+ "bbox": [
1316
+ 173,
1317
+ 449,
1318
+ 691,
1319
+ 464
1320
+ ],
1321
+ "page_idx": 10
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Additional revenues related to this work: Internship at Intel and Google. ",
1326
+ "bbox": [
1327
+ 174,
1328
+ 476,
1329
+ 647,
1330
+ 489
1331
+ ],
1332
+ "page_idx": 10
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "text": "References ",
1337
+ "text_level": 1,
1338
+ "bbox": [
1339
+ 174,
1340
+ 510,
1341
+ 266,
1342
+ 526
1343
+ ],
1344
+ "page_idx": 10
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "[1] http://mridata.org/. \n[2] https://pingouin-stats.org/generated/pingouin.intraclass_corr.html. [3] Hemant K Aggarwal, Merry P Mani, and Mathews Jacob. Modl: Model-based deep learning architecture for inverse problems. IEEE transactions on medical imaging, 38(2):394–405, 2018. \n[4] Vegard Antun, Francesco Renna, Clarice Poon, Ben Adcock, and Anders C Hansen. On instabilities of deep learning in image reconstruction and the potential costs of ai. Proceedings of the National Academy of Sciences, 117(48):30088–30095, 2020. \n[5] Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017. [6] Muhammad Asim, Ali Ahmed, and Paul Hand. Invertible generative models for inverse problems: mitigating representation error and dataset bias. arXiv preprint arXiv:1905.11672, 2019. [7] Muhammad Asim, Fahad Shamshad, and Ali Ahmed. Solving bilinear inverse problems using deep generative priors. CoRR, abs/1802.04073, 3(4):8, 2018. [8] Dominique Bakry and Michel Émery. Diffusions hypercontractives. In Seminaire de probabilités XIX 1983/84, pages 177–206. Springer, 1985. \n[9] Eren Balevi, Akash Doshi, Ajil Jalal, Alexandros Dimakis, and Jeffrey G Andrews. High dimensional channel estimation using deep generative networks. IEEE Journal on Selected Areas in Communications, 39(1):18–30, 2020. \n[10] Richard G Baraniuk, Volkan Cevher, Marco F Duarte, and Chinmay Hegde. Model-based compressive sensing. IEEE Transactions on Information Theory, 56(4):1982–2001, 2010. \n[11] Richard G Baraniuk and Michael B Wakin. Random projections of smooth manifolds. Foundations of computational mathematics, 9(1):51–77, 2009. \n[12] Peter J Bickel, Ya’acov Ritov, and Alexandre B Tsybakov. Simultaneous analysis of lasso and dantzig selector. The Annals of Statistics, 37(4):1705–1732, 2009. \n[13] Ashish Bora, Ajil Jalal, Eric Price, and Alexandros G Dimakis. Compressed sensing using generative models. In Proceedings of the 34th International Conference on Machine LearningVolume 70, pages 537–546. JMLR. org, 2017. \n[14] Ashish Bora, Eric Price, and Alexandros G Dimakis. Ambientgan: Generative models from lossy measurements. ICLR, 2:5, 2018. \n[15] Emmanuel J Candes. The restricted isometry property and its implications for compressed sensing. Comptes rendus mathematique, 346(9-10):589–592, 2008. \n[16] Thierry Champion, Luigi De Pascale, and Petri Juutinen. The $\\infty$ -Wasserstein distance: Local solutions and existence of optimal transport maps. SIAM Journal on Mathematical Analysis, 40(1):1–20, 2008. \n[17] Elizabeth K Cole, Frank Ong, Shreyas S Vasanawala, and John M Pauly. Fast unsupervised mri reconstruction without fully-sampled ground truth data using generative adversarial networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3988–3997, 2021. \n[18] Giannis Daras, Joseph Dean, Ajil Jalal, and Alexandros G Dimakis. Intermediate layer optimization for inverse problems using deep generative models. International Conference on Machine Learning, 2021. \n[19] Mohammad Zalbagi Darestani, Akshay Chaudhari, and Reinhard Heckel. Measuring robustness in deep learning based compressive sensing. International Conference on Machine Learning, 2021. \n[20] Anagha Deshmane, Vikas Gulani, Mark A Griswold, and Nicole Seiberlich. Parallel mr imaging. Journal of Magnetic Resonance Imaging, 36(1):55–72, 2012. \n[21] Manik Dhar, Aditya Grover, and Stefano Ermon. Modeling sparse deviations for compressed sensing using generative models. arXiv preprint arXiv:1807.01442, 2018. \n[22] Mariya Doneva. Mathematical models for magnetic resonance imaging reconstruction: An overview of the approaches, problems, and future research areas. IEEE Signal Processing Magazine, 37(1):24–32, 2020. \n[23] David L Donoho. Compressed sensing. IEEE Transactions on information theory, 52(4):1289– 1306, 2006. \n[24] Vineet Edupuganti, Morteza Mardani, Shreyas Vasanawala, and John Pauly. Uncertainty quantification in deep mri reconstruction. IEEE Transactions on Medical Imaging, 40(1):239– 250, 2021. \n[25] Yonina C Eldar and Moshe Mishali. Robust recovery of signals from a structured union of subspaces. IEEE Transactions on Information Theory, 55(11):5302–5316, 2009. \n[26] Alyson K Fletcher, Parthe Pandit, Sundeep Rangan, Subrata Sarkar, and Philip Schniter. Plug-in estimation in high-dimensional linear inverse problems: A rigorous analysis. In Advances in Neural Information Processing Systems, pages 7440–7449, 2018. \n[27] Alyson K Fletcher, Sundeep Rangan, and Philip Schniter. Inference in deep networks in high dimensions. In 2018 IEEE International Symposium on Information Theory (ISIT), pages 1884–1888. IEEE, 2018. \n[28] Fabian Latorre Gómez, Armin Eftekhari, and Volkan Cevher. Fast and provable admm for learning with generative priors. arXiv preprint arXiv:1907.03343, 2019. \n[29] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in neural information processing systems, pages 2672–2680, 2014. \n[30] Mark A. Griswold, Peter M. Jakob, Robin M. Heidemann, Mathias Nittka, Vladimir Jellus, Jianmin Wang, Berthold Kiefer, and Axel Haase. Generalized autocalibrating partially parallel acquisitions (grappa). Magnetic Resonance in Medicine, 47(6):1202–1210, 2002. \n[31] Matthieu Guerquin-Kern, Laurent Lejeune, Klaas Paul Pruessmann, and Michael Unser. Realistic analytical phantoms for parallel magnetic resonance imaging. IEEE Transactions on Medical Imaging, 31(3):626–636, 2011. \n[32] Kerstin Hammernik, Teresa Klatzer, Erich Kobler, Michael P Recht, Daniel K Sodickson, Thomas Pock, and Florian Knoll. Learning a variational network for reconstruction of accelerated mri data. Magnetic resonance in medicine, 79(6):3055–3071, 2018. \n[33] Kerstin Hammernik, Jo Schlemper, Chen Qin, Jinming Duan, Ronald M Summers, and Daniel Rueckert. Systematic evaluation of iterative deep neural networks for fast parallel mri reconstruction with sensitivity-weighted coil combination. Magnetic Resonance in Medicine, 2021. \n[34] Paul Hand and Babhru Joshi. Global guarantees for blind demodulation with generative priors. In Advances in Neural Information Processing Systems, pages 11531–11541, 2019. \n[35] Paul Hand, Oscar Leong, and Vlad Voroninski. Phase retrieval under a generative prior. In Advances in Neural Information Processing Systems, pages 9136–9146, 2018. \n[36] Paul Hand and Vladislav Voroninski. Global guarantees for enforcing deep generative priors by empirical risk. arXiv preprint arXiv:1705.07576, 2017. \n[37] Reinhard Heckel and Paul Hand. Deep decoder: Concise image representations from untrained non-convolutional networks. arXiv preprint arXiv:1810.03982, 2018. \n[38] Reinhard Heckel and Mahdi Soltanolkotabi. Compressive sensing with un-trained neural networks: Gradient descent finds the smoothest approximation. arXiv preprint arXiv:2005.03991, 2020. \n[39] Chinmay Hegde. Algorithmic aspects of inverse problems using generative models. In 2018 56th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 166–172. IEEE, 2018. \n[40] Chinmay Hegde, Michael Wakin, and Richard G Baraniuk. Random projections for manifold learning. In Advances in neural information processing systems, pages 641–648, 2008. \n[41] Feng Huang, Sathya Vijayakumar, Yu Li, Sarah Hertel, and George R Duensing. A software channel compression technique for faster reconstruction with many channels. Magnetic resonance imaging, 26(1):133–141, 2008. \n[42] Shady Abu Hussein, Tom Tirer, and Raja Giryes. Image-adaptive gan based reconstruction. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 3121–3129, 2020. \n[43] Siddharth Iyer, Frank Ong, Kawin Setsompop, Mariya Doneva, and Michael Lustig. Surebased automatic parameter selection for espirit calibration. Magnetic Resonance in Medicine, 84(6):3423–3437, 2020. \n[44] Mathews Jacob, Jong Chul Ye, Leslie Ying, and Mariya Doneva. Computational mri: Compressive sensing and beyond [from the guest editors]. IEEE Signal Processing Magazine, 37(1):21–23, 2020. \n[45] Ajil Jalal, Sushrut Karmalkar, Alexandros G Dimakis, and Eric Price. Instance-optimal compressed sensing via posterior sampling. International Conference on Machine Learning, 2021. \n[46] Ajil Jalal, Sushrut Karmalkar, Jessica Hoffmann, Alexandros G Dimakis, and Eric Price. Fairness for image generation with uncertain sensitive attributes. International Conference on Machine Learning, 2021. \n[47] Ajil Jalal, Liu Liu, Alexandros G Dimakis, and Constantine Caramanis. Robust compressed sensing using generative models. Advances in Neural Information Processing Systems, 33, 2020. \n[48] Shirin Jalali and Xin Yuan. Solving linear inverse problems using generative models. In 2019 IEEE International Symposium on Information Theory (ISIT), pages 512–516. IEEE, 2019. \n[49] Kyong Hwan Jin, Michael T. McCann, Emmanuel Froustey, and Michael Unser. Deep convolutional neural network for inverse problems in imaging. IEEE Transactions on Image Processing, 26(9):4509–4522, 2017. \n[50] Maya Kabkab, Pouya Samangouei, and Rama Chellappa. Task-aware compressed sensing with generative adversarial networks. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. \n[51] Akshay Kamath, Sushrut Karmalkar, and Eric Price. Lower bounds for compressed sensing with generative models. arXiv preprint arXiv:1912.02938, 2019. \n[52] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4401–4410, 2019. \n[53] Varun A Kelkar and Mark A Anastasio. Prior image-constrained reconstruction using style-based generative models. arXiv preprint arXiv:2102.12525, 2021. \n[54] Varun A Kelkar, Sayantan Bhadra, and Mark A Anastasio. Compressible latent-space invertible networks for generative model-constrained image reconstruction. IEEE Transactions on Computational Imaging, 7:209–223, 2021. \n[55] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. \n[56] Florian Knoll, Jure Zbontar, Anuroop Sriram, Matthew J Muckley, Mary Bruno, Aaron Defazio, Marc Parente, Krzysztof J Geras, Joe Katsnelson, Hersh Chandarana, et al. fastmri: A publicly available raw k-space and dicom dataset of knee images for accelerated mr image reconstruction using machine learning. Radiology: Artificial Intelligence, 2(1):e190007, 2020. \n[57] Agostina J Larrazabal, Nicolás Nieto, Victoria Peterson, Diego H Milone, and Enzo Ferrante. Gender imbalance in medical imaging datasets produces biased classifiers for computer-aided diagnosis. Proceedings of the National Academy of Sciences, 117(23):12592–12594, 2020. \n[58] Qi Lei, Ajil Jalal, Inderjit S Dhillon, and Alexandros G Dimakis. Inverting deep generative models, one layer at a time. In Advances in Neural Information Processing Systems, pages 13910–13919, 2019. \n[59] Guosheng Lin, Anton Milan, Chunhua Shen, and Ian Reid. Refinenet: Multi-path refinement networks for high-resolution semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1925–1934, 2017. \n[60] Zhaoqiang Liu, Selwyn Gomes, Avtansh Tiwari, and Jonathan Scarlett. Sample complexity bounds for 1-bit compressive sensing and binary stable embeddings with generative priors. arXiv preprint arXiv:2002.01697, 2020. \n[61] Zhaoqiang Liu and Jonathan Scarlett. Information-theoretic lower bounds for compressive sensing with generative models. arXiv preprint arXiv:1908.10744, 2019. \n[62] Michael Lustig, David Donoho, and John M Pauly. Sparse mri: The application of compressed sensing for rapid mr imaging. Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, 58(6):1182–1195, 2007. \n[63] Morteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas Vasanawala, Greg Zaharchuk, Marcus Alley, Neil Thakur, Song Han, William Dally, John M Pauly, et al. Deep generative adversarial networks for compressed sensing automates mri. arXiv preprint arXiv:1706.00051, 2017. \n[64] Morteza Mardani, Enhao Gong, Joseph Y Cheng, Shreyas S Vasanawala, Greg Zaharchuk, Lei Xing, and John M Pauly. Deep generative adversarial neural networks for compressive sensing mri. IEEE transactions on medical imaging, 38(1):167–179, 2018. \n[65] Allister Mason, James Rioux, Sharon E Clarke, Andreu Costa, Matthias Schmidt, Valerie Keough, Thien Huynh, and Steven Beyea. Comparison of objective image quality metrics to expert radiologists’ scoring of diagnostic quality of mr images. IEEE transactions on medical imaging, 39(4):1064–1072, 2019. \n[66] Matthew J. Muckley, Bruno Riemenschneider, Alireza Radmanesh, Sunwoo Kim, Geunu Jeong, Jingyu Ko, Yohan Jun, Hyungseob Shin, Dosik Hwang, Mahmoud Mostapha, Simon Arberet, Dominik Nickel, Zaccharie Ramzi, Philippe Ciuciu, Jean-Luc Starck, Jonas Teuwen, Dimitrios Karkalousos, Chaoping Zhang, Anuroop Sriram, Zhengnan Huang, Nafissa Yakubova, Yvonne W. Lui, and Florian Knoll. Results of the 2020 fastmri challenge for machine learning mr image reconstruction. IEEE Transactions on Medical Imaging, pages 1–1, 2021. \n[67] Dominik Narnhofer, Kerstin Hammernik, Florian Knoll, and Thomas Pock. Inverse gans for accelerated mri reconstruction. In Wavelets and Sparsity XVIII, volume 11138, page 111381A. International Society for Optics and Photonics, 2019. \n[68] Gregory Ongie, Ajil Jalal, Christopher A Metzler, Richard G Baraniuk, Alexandros G Dimakis, and Rebecca Willett. Deep learning techniques for inverse problems in imaging. arXiv preprint arXiv:2005.06001, 2020. \n[69] Parthe Pandit, Mojtaba Sahraee-Ardakan, Sundeep Rangan, Philip Schniter, and Alyson K Fletcher. Inference with deep generative priors in high dimensions. arXiv preprint arXiv:1911.03409, 2019. \n[70] Klaas P Pruessmann, Markus Weiger, Markus B Scheidegger, and Peter Boesiger. Sense: sensitivity encoding for fast mri. Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine, 42(5):952–962, 1999. \n[71] Shuang Qiu, Xiaohan Wei, and Zhuoran Yang. Robust one-bit recovery via relu generative networks: Improved statistical rates and global landscape analysis. arXiv preprint arXiv:1908.05368, 2019. \n[72] Saiprasad Ravishankar and Yoram Bresler. Mr image reconstruction from highly undersampled k-space data by dictionary learning. IEEE Transactions on Medical Imaging, 30(5):1028–1041, 2011. \n[73] Saiprasad Ravishankar and Jeffrey A. Fessler. Data-driven models and approaches for imaging. In Imaging and Applied Optics 2017 (3D, AIO, COSI, IS, MATH, pcAOP), page MW2C.4. Optical Society of America, 2017. \n[74] JH Rick Chang, Chun-Liang Li, Barnabas Poczos, BVK Vijaya Kumar, and Aswin C Sankaranarayanan. One network to solve them all–solving linear inverse problems using deep projection models. In Proceedings of the IEEE International Conference on Computer Vision, pages 5888–5897, 2017. \n[75] Sebastian Rosenzweig, Hans Christian Martin Holme, Robin N Wilke, Dirk Voit, Jens Frahm, and Martin Uecker. Simultaneous multi-slice mri using cartesian and radial flash and regularized nonlinear inversion: Sms-nlinv. Magnetic resonance in medicine, 79(4):2057–2066, 2018. \n[76] Jo Schlemper, Jose Caballero, Joseph V Hajnal, Anthony N Price, and Daniel Rueckert. A deep cascade of convolutional neural networks for dynamic mr image reconstruction. IEEE transactions on Medical Imaging, 37(2):491–503, 2017. \n[77] Efrat Shimron, Jonathan I Tamir, Ke Wang, and Michael Lustig. Subtle inverse crimes: Na\\\" ively training machine learning algorithms could lead to overly-optimistic results. arXiv preprint arXiv:2109.08237, 2021. \n[78] Daniel K Sodickson and Warren J Manning. Simultaneous acquisition of spatial harmonics (smash): fast imaging with radiofrequency coil arrays. Magnetic resonance in medicine, 38(4):591–603, 1997. \n[79] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems, pages 11918–11930, 2019. \n[80] Yang Song and Stefano Ermon. Improved techniques for training score-based generative models. arXiv preprint arXiv:2006.09011, 2020. \n[81] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021. \n[82] Anuroop Sriram, Jure Zbontar, Tullie Murrell, Aaron Defazio, C Lawrence Zitnick, Nafissa Yakubova, Florian Knoll, and Patricia Johnson. End-to-end variational networks for accelerated mri reconstruction. In International Conference on Medical Image Computing and ComputerAssisted Intervention, pages 64–73. Springer, 2020. \n[83] Anuroop Sriram, Jure Zbontar, Tullie Murrell, C. Lawrence Zitnick, Aaron Defazio, and Daniel K. Sodickson. Grappanet: Combining parallel imaging with deep learning for multi-coil mri reconstruction. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020. \n[84] Anuroop Sriram, Jure Zbontar, Tullie Murrell, C Lawrence Zitnick, Aaron Defazio, and Daniel K Sodickson. Grappanet: Combining parallel imaging with deep learning for multi-coil mri reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14315–14322, 2020. \n[85] Robert Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society. Series B (Methodological), pages 267–288, 1996. \n[86] Martin Uecker, Christian Holme, Moritz Blumenthal, Xiaoqing Wang, Zhengguo Tan, Nick Scholand, Siddharth Iyer, Jon Tamir, and Michael Lustig. mrirecon/bart: version 0.7.00, March 2021. \n[87] Martin Uecker, Peng Lai, Mark J Murphy, Patrick Virtue, Michael Elad, John M Pauly, Shreyas S Vasanawala, and Michael Lustig. Espirit—an eigenvalue approach to autocalibrating parallel mri: where sense meets grappa. Magnetic resonance in medicine, 71(3):990–1001, 2014. \n[88] Martin Uecker, Frank Ong, Jonathan I Tamir, Dara Bahri, Patrick Virtue, Joseph Y Cheng, Tao Zhang, and Michael Lustig. Berkeley advanced reconstruction toolbox. In Proc. Intl. Soc. Mag. Reson. Med, volume 23, 2015. \n[89] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Deep image prior. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 9446–9454, 2018. \n[90] Shreyas S. Vasanawala, Marcus T. Alley, Brian A. Hargreaves, Richard A. Barth, John M. Pauly, and Michael Lustig. Improved pediatric mr imaging with compressed sensing. Radiology, 256(2):607–616, 2010. PMID: 20529991. \n[91] Cédric Villani. Optimal transport: old and new, volume 338. Springer Science & Business Media, 2008. \n[92] Zhou Wang and Alan C Bovik. Modern image quality assessment. Synthesis Lectures on Image, Video, and Multimedia Processing, 2(1):1–156, 2006. \n[93] Bihan Wen, Saiprasad Ravishankar, Luke Pfister, and Yoram Bresler. Transform learning for magnetic resonance image reconstruction: From model-based learning to building neural networks. IEEE Signal Processing Magazine, 37(1):41–53, 2020. \n[94] Jure Zbontar, Florian Knoll, Anuroop Sriram, Tullie Murrell, Zhengnan Huang, Matthew J. Muckley, Aaron Defazio, Ruben Stern, Patricia Johnson, Mary Bruno, Marc Parente, Krzysztof J. Geras, Joe Katsnelson, Hersh Chandarana, Zizhao Zhang, Michal Drozdzal, Adriana Romero, Michael Rabbat, Pascal Vincent, Nafissa Yakubova, James Pinkerton, Duo Wang, Erich Owens, C. Lawrence Zitnick, Michael P. Recht, Daniel K. Sodickson, and Yvonne W. Lui. fastMRI: An open dataset and benchmarks for accelerated MRI. 2018. ",
1349
+ "bbox": [
1350
+ 173,
1351
+ 536,
1352
+ 826,
1353
+ 912
1354
+ ],
1355
+ "page_idx": 10
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "",
1360
+ "bbox": [
1361
+ 171,
1362
+ 49,
1363
+ 830,
1364
+ 912
1365
+ ],
1366
+ "page_idx": 11
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "",
1371
+ "bbox": [
1372
+ 171,
1373
+ 75,
1374
+ 828,
1375
+ 916
1376
+ ],
1377
+ "page_idx": 12
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "",
1382
+ "bbox": [
1383
+ 171,
1384
+ 53,
1385
+ 826,
1386
+ 917
1387
+ ],
1388
+ "page_idx": 13
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "",
1393
+ "bbox": [
1394
+ 171,
1395
+ 63,
1396
+ 828,
1397
+ 919
1398
+ ],
1399
+ "page_idx": 14
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "",
1404
+ "bbox": [
1405
+ 171,
1406
+ 92,
1407
+ 828,
1408
+ 503
1409
+ ],
1410
+ "page_idx": 15
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "text": "Checklist ",
1415
+ "text_level": 1,
1416
+ "bbox": [
1417
+ 174,
1418
+ 522,
1419
+ 254,
1420
+ 537
1421
+ ],
1422
+ "page_idx": 15
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "1. For all authors... ",
1427
+ "bbox": [
1428
+ 214,
1429
+ 549,
1430
+ 339,
1431
+ 563
1432
+ ],
1433
+ "page_idx": 15
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] See Section 3, 4, 4.3 \n(b) Did you describe the limitations of your work? [Yes] See Section 5 \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See Section 5 \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] Yes we have read the ethics review guidelines. ",
1438
+ "bbox": [
1439
+ 238,
1440
+ 566,
1441
+ 825,
1442
+ 671
1443
+ ],
1444
+ "page_idx": 15
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "2. If you are including theoretical results... ",
1449
+ "bbox": [
1450
+ 214,
1451
+ 676,
1452
+ 493,
1453
+ 690
1454
+ ],
1455
+ "page_idx": 15
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] In the statements of Theorem 3.3, Theorem 3.4. (b) Did you include complete proofs of all theoretical results? [Yes] In Appendix B ",
1460
+ "bbox": [
1461
+ 238,
1462
+ 694,
1463
+ 825,
1464
+ 738
1465
+ ],
1466
+ "page_idx": 15
1467
+ },
1468
+ {
1469
+ "type": "text",
1470
+ "text": "3. If you ran experiments... ",
1471
+ "bbox": [
1472
+ 214,
1473
+ 743,
1474
+ 393,
1475
+ 757
1476
+ ],
1477
+ "page_idx": 15
1478
+ },
1479
+ {
1480
+ "type": "text",
1481
+ "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] Our GitHub link contains all relevant information \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] In Appendix G \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] All quantitative plots have $9 5 \\%$ confidence intervals. \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] Yes, in section 4 and Appendix G ",
1482
+ "bbox": [
1483
+ 238,
1484
+ 761,
1485
+ 825,
1486
+ 892
1487
+ ],
1488
+ "page_idx": 15
1489
+ },
1490
+ {
1491
+ "type": "text",
1492
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1493
+ "bbox": [
1494
+ 209,
1495
+ 897,
1496
+ 823,
1497
+ 911
1498
+ ],
1499
+ "page_idx": 15
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] Our algorithm uses the NCSNv2 generative model, NYU fastMRI dataset, and Stanford MRI datasets, all of which have been cited. \n(b) Did you mention the license of the assets? [Yes] In Appendix G \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] To the best of our knowledge, we are the first to train generative models for complex valued MR scans, and we include this in the GitHub link in Appendix G \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We used the NYU fastMRI and Stanford MRI datasets, both of which have this covered in their terms of agreement. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We used the NYU fastMRI and Stanford MRI datasets, both of which have been anonymized. ",
1504
+ "bbox": [
1505
+ 238,
1506
+ 92,
1507
+ 825,
1508
+ 281
1509
+ ],
1510
+ "page_idx": 16
1511
+ },
1512
+ {
1513
+ "type": "text",
1514
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1515
+ "bbox": [
1516
+ 215,
1517
+ 285,
1518
+ 705,
1519
+ 300
1520
+ ],
1521
+ "page_idx": 16
1522
+ },
1523
+ {
1524
+ "type": "text",
1525
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] We didn’t do any human subject experiments \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] We didn’t do any human subject experiments \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] We didn’t do any human subject experiments ",
1526
+ "bbox": [
1527
+ 238,
1528
+ 304,
1529
+ 825,
1530
+ 393
1531
+ ],
1532
+ "page_idx": 16
1533
+ }
1534
+ ]
parse/train/wHoIjrT6MMb/wHoIjrT6MMb_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/wHoIjrT6MMb/wHoIjrT6MMb_model.json ADDED
The diff for this file is too large to render. See raw diff
 
vlm/train/0IOX0YcCdTn/0.png ADDED

Git LFS Details

  • SHA256: 93709c86087a6718ac6c0e7f37a9f6cc3e7d078c7de02e5d32cab2d6abe97574
  • Pointer size: 131 Bytes
  • Size of remote file: 771 kB
vlm/train/0IOX0YcCdTn/1.png ADDED

Git LFS Details

  • SHA256: 6e7f8cadfb96235d4ffb50943473b56557631616be6dc40671f7f75471c5dc34
  • Pointer size: 131 Bytes
  • Size of remote file: 631 kB
vlm/train/0IOX0YcCdTn/10.png ADDED

Git LFS Details

  • SHA256: dbe44f39156a6d110a08e1adffbf73c00092438cadd03f19096f089764e0447e
  • Pointer size: 131 Bytes
  • Size of remote file: 549 kB
vlm/train/0IOX0YcCdTn/11.png ADDED

Git LFS Details

  • SHA256: 4bcf82f8bdc0938b7862292834b982199680ba5e64f124de045f8ad371c0098f
  • Pointer size: 131 Bytes
  • Size of remote file: 545 kB
vlm/train/0IOX0YcCdTn/12.png ADDED

Git LFS Details

  • SHA256: c5f9d7a7d097af0b5eac989969322b4623f42db24a4d42a6bddef2e893a35019
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
vlm/train/0IOX0YcCdTn/13.png ADDED

Git LFS Details

  • SHA256: 4ff8da0be4809632c1efe7a707f58fe00a450ccb0e82ac30fd05fe981a12afad
  • Pointer size: 131 Bytes
  • Size of remote file: 433 kB
vlm/train/0IOX0YcCdTn/14.png ADDED

Git LFS Details

  • SHA256: 7a61f370f703bc5dc99612041832af0c7571ca00f5b92a40ead072c237b7770e
  • Pointer size: 131 Bytes
  • Size of remote file: 441 kB
vlm/train/0IOX0YcCdTn/15.png ADDED

Git LFS Details

  • SHA256: de44f05503c53c1823de07ded36d7148d832305119ff7a48de572b18f1588901
  • Pointer size: 131 Bytes
  • Size of remote file: 546 kB
vlm/train/0IOX0YcCdTn/16.png ADDED

Git LFS Details

  • SHA256: ade58d70dbee694677f3de9cce176d1926ab552fe7d906176ce89cad32673559
  • Pointer size: 131 Bytes
  • Size of remote file: 360 kB
vlm/train/0IOX0YcCdTn/17.png ADDED

Git LFS Details

  • SHA256: 7b11058aa6829c4f2a31797d0352cfa0cfa7b3c8f8740626484929681642dca9
  • Pointer size: 131 Bytes
  • Size of remote file: 247 kB
vlm/train/0IOX0YcCdTn/18.png ADDED

Git LFS Details

  • SHA256: a52d6fc636774b8aa1cd4ddd69e50893044e0654fcb94efc5c0c358a5b3cd6fb
  • Pointer size: 131 Bytes
  • Size of remote file: 456 kB
vlm/train/0IOX0YcCdTn/19.png ADDED

Git LFS Details

  • SHA256: 110a63b52aca15000af465b72c037aa56a5ff56b7d60aa3799fa7e3e8b28771d
  • Pointer size: 131 Bytes
  • Size of remote file: 262 kB
vlm/train/0IOX0YcCdTn/2.png ADDED

Git LFS Details

  • SHA256: b82dae913a6cf17ab61c459d90b43b2cce6cf81e24cd66a84219462d6ad23949
  • Pointer size: 131 Bytes
  • Size of remote file: 617 kB
vlm/train/0IOX0YcCdTn/20.png ADDED

Git LFS Details

  • SHA256: 4af80ff52b21bd5c174f9bc356ec193d5ccf70b6606f80a859d3445d27b6f4ca
  • Pointer size: 131 Bytes
  • Size of remote file: 400 kB
vlm/train/0IOX0YcCdTn/3.png ADDED

Git LFS Details

  • SHA256: 419c08bd733d41fcd60b62eb8609a128533412050c947406da0f6a0212deb8c2
  • Pointer size: 131 Bytes
  • Size of remote file: 653 kB
vlm/train/0IOX0YcCdTn/4.png ADDED

Git LFS Details

  • SHA256: e1b41c6e807c715f21c19131db10a50b335ce90a614100bb1af0debf11beee9b
  • Pointer size: 131 Bytes
  • Size of remote file: 589 kB
vlm/train/0IOX0YcCdTn/5.png ADDED

Git LFS Details

  • SHA256: a13ebb517bf930cbd969364744b85ce873441945c108802747489dadb38adb63
  • Pointer size: 131 Bytes
  • Size of remote file: 629 kB
vlm/train/0IOX0YcCdTn/6.png ADDED

Git LFS Details

  • SHA256: fa9833c314c8a35534936988d5adddc0c4070497be713323bdd22686cda4f6dc
  • Pointer size: 131 Bytes
  • Size of remote file: 600 kB
vlm/train/0IOX0YcCdTn/7.png ADDED

Git LFS Details

  • SHA256: c0a1d944fb7c1e8d01f940a4d3bce73ef6ab925103e45d82f3a64ff1d0e24278
  • Pointer size: 131 Bytes
  • Size of remote file: 649 kB
vlm/train/0IOX0YcCdTn/8.png ADDED

Git LFS Details

  • SHA256: adc0e43948eac2cdc1fe96d5942dad98d81e4f41cd19a6c0e035937c308103e1
  • Pointer size: 131 Bytes
  • Size of remote file: 574 kB
vlm/train/0IOX0YcCdTn/9.png ADDED

Git LFS Details

  • SHA256: 0099c98c5606739cfec6e6ef34422fe898f56457e5231c32f94dd4de76fb8260
  • Pointer size: 131 Bytes
  • Size of remote file: 563 kB
vlm/train/0cmMMy8J5q/0.png ADDED

Git LFS Details

  • SHA256: 9a514e651bb61e6e1001a50eced1bbb542969871ab3ff42745c0f104fc2ae49d
  • Pointer size: 131 Bytes
  • Size of remote file: 544 kB
vlm/train/0cmMMy8J5q/1.png ADDED

Git LFS Details

  • SHA256: c16a1f3150bb876e8a3151ad14758c4d2db046c96a58153f61617bc8b22c1e66
  • Pointer size: 131 Bytes
  • Size of remote file: 609 kB
vlm/train/0cmMMy8J5q/10.png ADDED

Git LFS Details

  • SHA256: 0bd8742b0a281d53c39d889bdfb61d80a7ee306f9501c0a717c7b0f2f67fa7cf
  • Pointer size: 131 Bytes
  • Size of remote file: 564 kB
vlm/train/0cmMMy8J5q/11.png ADDED

Git LFS Details

  • SHA256: 1cf7de773edad4aad79b3f5441ba2e8a10fef5001fab8440575481b62aaa228c
  • Pointer size: 131 Bytes
  • Size of remote file: 402 kB
vlm/train/0cmMMy8J5q/12.png ADDED

Git LFS Details

  • SHA256: 78d1d0585387dbeb9cddfc1a6792ca95e3b9b1a3f803bf190b7a6a5c50d211ed
  • Pointer size: 131 Bytes
  • Size of remote file: 457 kB
vlm/train/0cmMMy8J5q/13.png ADDED

Git LFS Details

  • SHA256: b964238458b34d9b68e5bd40ee790185ea07b7a09e384ab1e4401e435056c07e
  • Pointer size: 131 Bytes
  • Size of remote file: 326 kB
vlm/train/0cmMMy8J5q/14.png ADDED

Git LFS Details

  • SHA256: 000a9b875c8a46f154813eb2bc08a09a54693794cbe9416a0b704116d5bccafa
  • Pointer size: 131 Bytes
  • Size of remote file: 331 kB
vlm/train/0cmMMy8J5q/15.png ADDED

Git LFS Details

  • SHA256: 6be6d3ea088746ec40f79367cd89c5482e90b6368c81ec61cc1af555bc66f129
  • Pointer size: 131 Bytes
  • Size of remote file: 371 kB
vlm/train/0cmMMy8J5q/16.png ADDED

Git LFS Details

  • SHA256: a7633813d5e11c90e5a8988f6326d399ab4b54398d19df3d1c3f6b7c85f4ef3e
  • Pointer size: 131 Bytes
  • Size of remote file: 624 kB