Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/BkJsCIcgl/BkJsCIcgl.md +295 -0
- parse/train/BkJsCIcgl/BkJsCIcgl_content_list.json +1621 -0
- parse/train/BkJsCIcgl/BkJsCIcgl_middle.json +0 -0
- parse/train/BkJsCIcgl/BkJsCIcgl_model.json +0 -0
- parse/train/Byl8hhNYPS/Byl8hhNYPS.md +282 -0
- parse/train/Byl8hhNYPS/Byl8hhNYPS_content_list.json +1557 -0
- parse/train/Byl8hhNYPS/Byl8hhNYPS_middle.json +0 -0
- parse/train/Byl8hhNYPS/Byl8hhNYPS_model.json +0 -0
- parse/train/SJgEl3A5tm/SJgEl3A5tm.md +416 -0
- parse/train/SJgEl3A5tm/SJgEl3A5tm_content_list.json +2225 -0
- parse/train/SJgEl3A5tm/SJgEl3A5tm_middle.json +0 -0
- parse/train/SJgEl3A5tm/SJgEl3A5tm_model.json +0 -0
- parse/train/SylR6n4tPS/SylR6n4tPS.md +443 -0
- parse/train/SylR6n4tPS/SylR6n4tPS_content_list.json +0 -0
- parse/train/SylR6n4tPS/SylR6n4tPS_middle.json +0 -0
- parse/train/SylR6n4tPS/SylR6n4tPS_model.json +0 -0
- parse/train/x5hh6N9bUUb/x5hh6N9bUUb.md +252 -0
- parse/train/x5hh6N9bUUb/x5hh6N9bUUb_content_list.json +1014 -0
- parse/train/x5hh6N9bUUb/x5hh6N9bUUb_middle.json +0 -0
- parse/train/x5hh6N9bUUb/x5hh6N9bUUb_model.json +0 -0
parse/train/BkJsCIcgl/BkJsCIcgl.md
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THE PREDICTRON: END-TO-END LEARNING AND PLANNING
|
| 2 |
+
|
| 3 |
+
David Silver\*, Hado van Hasselt\*, Matteo Hessel\*, Tom Schaul\*, Arthur Guez\*, Tim Harley, Gabriel Dulac-Arnold, David Reichert, Neil Rabinowitz, Andre Barreto, Thomas Degris DeepMind, London {davidsilver,hado,mtthss,schaul,aguez}@google.com
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
One of the key challenges of artificial intelligence is to learn models that are effective in the context of planning. In this document we introduce the predictron architecture. The predictron consists of a fully abstract model, represented by a Markov reward process, that can be rolled forward multiple “imagined” planning steps. Each forward pass of the predictron accumulates internal rewards and values over multiple planning depths. The predictron is trained end-to-end so as to make these accumulated values accurately approximate the true value function. We applied the predictron to procedurally generated random mazes and a simulator for the game of pool. The predictron yielded significantly more accurate predictions than conventional deep neural network architectures.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The central idea of model-based reinforcement learning is to decompose the RL problem into two subproblems: learning a model of the environment, and then planning with this model. The model is typically represented by a Markov reward process (MRP) or decision process (MDP). The planning component uses this model to evaluate and select among possible strategies. This is typically achieved by rolling forward the model to construct a value function that estimates cumulative reward. In prior work, the model is trained essentially independently of its use within the planner. As a result, the model is not well-matched with the overall objective of the agent. Prior deep reinforcement learning methods have successfully constructed models that can unroll near pixel-perfect reconstructions (Oh et al., 2015; Chiappa et al., 2016); but are yet to surpass state-of-the-art modelfree methods in challenging RL domains with raw inputs (e.g., Mnih et al., 2015; 2016; Lillicrap et al., 2016).
|
| 12 |
+
|
| 13 |
+
In this paper we introduce a new architecture, which we call the predictron, that integrates learning and planning into one end-to-end training procedure. At every step, a model is applied to an internal state, to produce a next state, reward, discount, and value estimate. This model is completely abstract and its only goal is to facilitate accurate value prediction. For example, to plan effectively in a game, an agent must be able to predict the score. If our model makes accurate predictions, then an optimal plan with respect to our model will also be an optimal plan for the underlying game – even if that model uses a different state space (e.g., an abstract representation of enemy positions, ignoring their shapes and colours), action space (e.g., a high-level action to move away from an enemy), rewards (e.g., a single abstract step could have a higher value than any real reward), or even timestep (e.g., a single abstract step could “jump” the agent to the end of a corridor). All we require is that trajectories through the abstract model produce scores that are consistent with trajectories through the real environment. This is achieved by training the predictron end-to-end, so as to make its value estimates as accurate as possible.
|
| 14 |
+
|
| 15 |
+
An ideal model could generalise to many different prediction tasks, rather than overfitting to a single task; and could learn from a rich variety of feedback signals, not just a single extrinsic reward. We therefore train the predictron to predict a host of different value functions for a variety of pseudoreward functions and discount factors. These pseudo-rewards can encode any event or aspect of the environment that the agent may care about, e.g., staying alive or reaching the next room.
|
| 16 |
+
|
| 17 |
+
We focus upon the prediction task: estimating value functions in MRP environments with uncontrolled dynamics. In this case, the predictron can be implemented as a deep neural network with an
|
| 18 |
+
|
| 19 |
+
MRP as a recurrent core. The predictron unrolls this core multiple steps and accumulates rewards into an overall estimate of value.
|
| 20 |
+
|
| 21 |
+
We applied the predictron to procedurally generated random mazes, and a simulated pool domain, directly from pixel inputs. In both cases, the predictron significantly outperformed model-free algorithms with conventional deep network architectures; and was much more robust to architectural choices such as depth.
|
| 22 |
+
|
| 23 |
+
# 2 BACKGROUND
|
| 24 |
+
|
| 25 |
+
We consider environments defined by an MRP with states $s \in S$ . The MRP is defined by a function, $s ^ { \prime } , r , \gamma = p ( s , \alpha )$ , where $s ^ { \prime }$ is the next state, $r$ is the reward, and $\gamma$ is the discount factor, which can for instance represent the non-termination probability for this transition. The process may be stochastic, given IID noise $\alpha$ .
|
| 26 |
+
|
| 27 |
+
The return of an MRP is the cumulative discounted reward over a single trajectory, $g _ { t } = r _ { t + 1 } +$ $\gamma _ { t + 1 } r _ { t + 2 } + \gamma _ { t + 1 } \gamma _ { t + 2 } r _ { t + 3 } + \ldots ,$ , where $\gamma _ { t }$ can vary per time-step. We consider a generalisation of the MRP setting that includes vector-valued rewards $\mathbf { r }$ , diagonal-matrix discounts $\gamma$ , and vector-valued returns $\mathbf { g }$ ; definitions are otherwise identical to the above. We use this bold font notation to closely match the more familiar scalar MRP case; the majority of the paper can be comfortably understood by reading all rewards as scalars, and all discount factors as scalar and constant, i.e., $\gamma _ { t } = \gamma$ .
|
| 28 |
+
|
| 29 |
+
The value function of an MRP $p$ is the expected return from state $s$ , $v _ { p } ( s ) = \mathbb { E } _ { p } \left[ \mathbf { g } _ { t } \mid s _ { t } = s \right]$ . In the vector case, these are known as general value functions (Sutton et al., 2011). We will say that a (general) value function $v ( \cdot )$ is consistent with environment $p$ if and only if $v = v _ { p }$ which satisfies the following Bellman equation (Bellman, 1957),
|
| 30 |
+
|
| 31 |
+
$$
|
| 32 |
+
v _ { p } ( s ) = \mathbb { E } _ { p } \left[ \mathbf { r } + \gamma v _ { p } ( s ^ { \prime } ) \mid s \right] .
|
| 33 |
+
$$
|
| 34 |
+
|
| 35 |
+
In model-based reinforcement learning (Sutton and Barto, 1998), an approximation $m \approx p$ to the environment is learned. In the uncontrolled setting this model is normally an MRP $s ^ { \prime } , \mathbf { r } , \gamma = m ( s , \beta )$ that maps from state $s$ to subsequent state $s ^ { \prime }$ and additionally outputs rewards $\mathbf { r }$ and discounts $\gamma$ ; the model may be stochastic given an IID source of noise $\beta$ . A (general) value function $v _ { m } ( \cdot )$ is consistent with model $m$ (or valid, (Sutton, 1995)), if and only if it satisfies a Bellman equation $v _ { m } ( s ) = \mathbb { E } _ { m } \left[ \mathbf { r } + \gamma v _ { m } ( s ^ { \prime } ) \mid s \right]$ with respect to model $m$ . Conventionally, model-based RL methods focus on finding a value function $v$ that is consistent with a separately learned model $m$ .
|
| 36 |
+
|
| 37 |
+
# 3 PREDICTRON ARCHITECTURE
|
| 38 |
+
|
| 39 |
+
The predictron is composed of four main components. First, a state representation $\mathbf { s } = f ( s )$ that encodes raw input $s$ (this could be a history of observations, in the partially observed setting, for example when $f$ is a recurrent network) into an internal (abstract, hidden) state s. Second, a model $\mathbf { s } ^ { \prime } , \mathbf { r } , \gamma = m ( \mathbf { s } , \beta )$ that maps from internal state s to subsequent internal state $\mathbf { s } ^ { \prime }$ , internal rewards $\mathbf { r }$ , and internal discounts $\gamma$ . Third, a value function $v$ that outputs internal values $\mathbf { v } = v ( \mathbf { s } )$ representing the future, internal return from internal state s onwards. The predictron is applied by unrolling its model $m$ multiple “planning” steps to produce internal rewards, discounts and values. We use superscripts $\bullet ^ { k }$ to indicate internal steps of the model (which have no necessary connection to time steps $\bullet _ { t }$ of the environment). Finally, these internal rewards, discounts and values are combined together by an accumulator into an overall estimate of value g. The whole predictron, from input state $s$ to output g, may be viewed as a value function approximator for external targets (i.e. the returns in the real environment). We consider both $k$ -step and $\lambda$ -weighted accumulators.
|
| 40 |
+
|
| 41 |
+
The $k$ -step predictron rolls its internal model forward $k$ steps. Specifically, the $k$ -step predictron return $\mathbf { g } ^ { k }$ (henceforth abbreviated as preturn) is the internal return obtained by accumulating $k$ model steps, plus a final value $\mathbf { v } ^ { k }$ from the $k$ th step,
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
\mathbf { g } ^ { k } = \mathbf { r } ^ { 1 } + \gamma ^ { 1 } ( \mathbf { r } ^ { 2 } + \gamma ^ { 2 } ( \ldots ( \mathbf { r } ^ { k - 1 } + \gamma ^ { k - 1 } ( \mathbf { r } ^ { k } + \gamma ^ { k } \mathbf { v } ^ { k } ) ) \ldots ) ) .
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
The 0-step preturn is simply the first value $\mathbf { g } ^ { 0 } = \mathbf { v } ^ { 0 }$ . The 1-step preturn is $\mathbf { g } ^ { 1 } = \mathbf { r } ^ { 1 } + \gamma ^ { 1 } \mathbf { v } ^ { 1 }$ , and so on (see Fig. 1a).
|
| 48 |
+
|
| 49 |
+
The $\lambda$ -predictron combines together many $k$ -step preturns. Specifically, it computes a diagonal weight matrix $\lambda ^ { k }$ from each internal state $\boldsymbol { \bar { s } } ^ { k }$ . The accumulator uses weights $\lambda ^ { 0 } , . . . , \lambda ^ { K }$ to aggregate
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 1: a) The $k$ -step predictron architecture. The first three columns illustrate 0, 1 and 2-step pathways through the predictron. The 0-step preturn reduces to standard model-free value function approximation; other preturns “imagine” additional steps with an internal model. Each pathway outputs a $k \mathrm { . }$ -step preturn $\mathbf { g } ^ { k }$ that accumulates discounted rewards along with a final value estimate. In practice all $k$ -step preturns are computed in a single forward pass. b) The $\lambda$ -predictron architecture. The $\lambda$ -parameters gate between the different preturns. The output is a $\lambda$ -preturn $\mathbf { g } ^ { \lambda }$ that is a mixture over the $k$ -step preturns. For example, if $\pmb { \lambda } ^ { 0 } = \mathbf { 1 } , \pmb { \lambda } ^ { 1 } = \mathbf { 1 } , \pmb { \lambda } ^ { 2 } = \mathbf { 0 }$ then we recover the 2-step preturn, $\mathbf { g } ^ { \lambda } = \mathbf { g } ^ { 2 }$ . Discount factors $\gamma ^ { k }$ and $\lambda$ -parameters $\lambda ^ { k }$ are dependent on state $\mathbf { s } ^ { k }$ ; this dependence is not shown in the figure.
|
| 53 |
+
|
| 54 |
+
over $k$ -step preturns $\mathbf { g } ^ { 0 } , . . . , \mathbf { g } ^ { K }$ and output a combined value that we call the $\lambda$ -preturn $\mathbf { g } ^ { \lambda }$ ,
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\mathbf { g } ^ { \lambda } = \sum _ { k = 0 } ^ { K } w ^ { k } \mathbf { g } ^ { k } \qquad \mathrm { w h e r e } \qquad w ^ { k } = \left\{ \begin{array} { l l } { ( 1 - \lambda ^ { k } ) \prod _ { j = 0 } ^ { k - 1 } \lambda ^ { j } } & { \mathrm { i f ~ } k < K } \\ { \qquad } \\ { \prod _ { j = 0 } ^ { K - 1 } \lambda ^ { j } } & { \mathrm { o t h e r w i s e . } } \end{array} \right.
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where 1 is the identity matrix. This $\lambda$ -preturn is analogous to the $\lambda$ -return in the forward-view $\mathrm { T D } ( \lambda )$ algorithm (Sutton, 1988; Sutton and Barto, 1998). It may also be computed by a backward accumulation through intermediate steps $\mathbf { g } ^ { k , \lambda }$ ,
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\mathbf { g } ^ { k , \lambda } = ( \mathbf { 1 } - \lambda ^ { k } ) \mathbf { v } ^ { k } + \lambda ^ { k } \left( \mathbf { r } ^ { k + 1 } + \gamma ^ { k + 1 } \mathbf { g } ^ { k + 1 , \lambda } \right) ,
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
where $\mathbf { g } ^ { K , \lambda } = \mathbf { v } ^ { K }$ , and then using $\mathbf { g } ^ { \lambda } = \mathbf { g } ^ { 0 , \lambda }$ . Computation in the $\lambda$ -predictron operates in a sweep, iterating first through the model from $k = 0 \ldots K$ and then back through the accumulator from $k = K \ldots 0$ in a single “forward” pass of the network (see Figure 1b). Each $\lambda ^ { k }$ weight acts as a gate on the computation of the $\lambda$ -preturn: a value of $\lambda ^ { k } = 0$ will truncate the $\lambda$ -preturn at layer $k$ , while a value of $\mathbf { \hat { \lambda } } \mathbf { \lambda } ^ { k } = \mathbf { 1 }$ will utilise deeper layers based on additional steps of the model $m$ ; the final weight is always $\pmb { \lambda } ^ { K } = \mathbf { 0 }$ . The individual $\dot { \lambda } ^ { k }$ weights may depend on the corresponding abstract state $\mathbf { s } ^ { k }$ and can differ per prediction. This enables the predictron to compute to an adaptive depth (Graves, 2016) depending on the internal state and learning dynamics of the network.
|
| 67 |
+
|
| 68 |
+
# 4 PREDICTRON LEARNING UPDATES
|
| 69 |
+
|
| 70 |
+
We first consider updates that optimise the joint parameters $\pmb { \theta }$ of the state representation, model, and value function. We begin with the $k$ -step predictron. We update the $k$ -step predictron $\mathbf { g } ^ { k }$ towards a target outcome $\mathbf { g }$ , such as the Monte-Carlo return from the real environment, by minimising a mean-squared error loss,
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
L ^ { k } = { \frac { 1 } { 2 } } \left\| \mathbb { E } _ { p } \left[ \mathbf { g } \mid s \right] - \mathbb { E } _ { m } \left[ \mathbf { g } ^ { k } \mid s \right] \right\| ^ { 2 } . \qquad { \frac { \partial l ^ { k } } { \partial \theta } } = \left( \mathbf { g } - \mathbf { g } ^ { k } \right) { \frac { \partial \mathbf { g } ^ { k } } { \partial \theta } } .
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
where $l ^ { k } = \textstyle { \frac { 1 } { 2 } } \left\| \mathbf { g } - \mathbf { g } ^ { k } \right\| ^ { 2 }$ is the sample loss. We can use the gradient of the sample loss to update parameters, e.g. by stochastic gradient descent. For stochastic models, two independent samples are required for $\mathbf { g } ^ { k }$ and ∂ g k to get unbiased samples for the gradient of $L ^ { k }$ .
|
| 77 |
+
|
| 78 |
+
The $\lambda$ -predictron combines together many $k$ -step preturns. To update the joint parameters $\pmb \theta$ , we can uniformly average the losses on the individual preturns $\mathbf { g } ^ { k }$ ,
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
L ^ { 0 : K } = \frac { 1 } { 2 K } \sum _ { k = 0 } ^ { K } \left\| \mathbb { E } _ { p } \left[ \mathbf { g } \mid s \right] - \mathbb { E } _ { m } \left[ \mathbf { g } ^ { k } \mid s \right] \right\| ^ { 2 } , \qquad \frac { \partial l ^ { 0 : K } } { \partial \theta } = \frac { 1 } { K } \sum _ { k = 0 } ^ { K } \left( \mathbf { g } - \mathbf { g } ^ { k } \right) \frac { \partial \mathbf { g } ^ { k } } { \partial \theta } .
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
Alternative, we could weight each loss by the usage $\boldsymbol { w } ^ { k }$ of the corresponding preturn, such that the gradient is $\begin{array} { r } { \sum _ { k = 0 } ^ { K } \pmb { w } ^ { k } \left( \mathbf { g } - \mathbf { g } ^ { k } \right) \frac { \partial \mathbf { g } ^ { k } } { \partial \pmb { \theta } } } \end{array}$ ∂ g k∂ θ .
|
| 85 |
+
|
| 86 |
+
The $\lambda$ -predictron uses an accumulator with additional parameters $\eta$ that determine the relative weighting of the $k$ -step preturns. These weights are also updated so as to minimise a mean-squared error loss $L ^ { \lambda }$ ,
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
L ^ { \lambda } = \frac { 1 } { 2 } \left\| \mathbb { E } _ { p } \left[ \mathbf { g } \mid s \right] - \mathbb { E } _ { m } \left[ \mathbf { g } ^ { \lambda } \mid s \right] \right\| ^ { 2 } , \qquad \frac { \partial l ^ { \lambda } } { \partial \eta } = \left( \mathbf { g } - \mathbf { g } ^ { \lambda } \right) \frac { \partial \mathbf { g } ^ { \lambda } } { \partial \eta } .
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
In summary, the joint parameters $\pmb \theta$ of the state representation $f$ , the model $m$ , and the value function $v$ are updated to make each of the $k$ -step preturns $\mathbf { g } ^ { k }$ more similar to the target $\mathbf { g }$ , and the parameters $\eta$ of the $\lambda$ -accumulator are updated to make the aggregate $\lambda$ -preturn $\mathbf { g } ^ { \lambda }$ more similar to the target g.
|
| 93 |
+
|
| 94 |
+
# 4.1 CONSISTENCY (SEMI-SUPERVISED) LEARNING WITH THE $\lambda$ -PREDICTRON
|
| 95 |
+
|
| 96 |
+
Ideally, the predictron $( f , m , v )$ learns preturns that are all equal in expectation to the true value function of the environment, $\mathbb { E } _ { m } \left[ \mathbf { g } ^ { k } \mid s \right] = \mathbb { E } _ { p } \left[ \mathbf { g } _ { t } \mid s \right] = v _ { p } ( s )$ , in which case the preturns must be equal in expectation, $\mathbb { E } _ { m } \left[ \mathbf { g } ^ { 0 } \mid s \right] = \mathbb { E } _ { m } \left[ \mathbf { g } ^ { 1 } \mid s \right] = \ldots = \mathbb { E } _ { m } \left[ \mathbf { g } ^ { K } \mid s \right]$ . In addition, each $k$ -step preturn must then be equal in expectation to th $: \lambda - p$ return, $\mathbb { E } _ { m } \left[ \mathbf { \bar { g } } ^ { k } \mid s \right] \mathbf { \bar { \Lambda } } = \mathbb { E } _ { m } \left[ \mathbf { g } ^ { \lambda } \mid s \right]$ , for any $\lambda$ parameters. All these consistency relations between preturns give rise to additional constraints upon the predictron. Specifically, we may adjust the parameters of the predictron to lead to consistent preturns, even in the absence of labelled targets.
|
| 97 |
+
|
| 98 |
+
Concretely, we can adjust each preturn $\mathbf { g } ^ { k }$ towards the $\lambda$ -preturn $\mathbf { g } ^ { \lambda }$ ; in other words, we can update each individual value estimate towards the best aggregated estimate by minimizing
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
L = \frac { 1 } { 2 } \sum _ { k = 0 } ^ { K } \left\| \mathbb { E } _ { m } \left[ \mathbf { g } ^ { \lambda } \mid s \right] - \mathbb { E } _ { m } \left[ \mathbf { g } ^ { k } \mid s \right] \right\| ^ { 2 } , \qquad \quad \quad \frac { \partial l } { \partial \theta } = \sum _ { k = 0 } ^ { K } \left( \mathbf { g } ^ { \lambda } - \mathbf { g } ^ { k } \right) \frac { \partial \mathbf { g } ^ { k } } { \partial \theta } .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
Here $\mathbf { g } ^ { \lambda }$ is considered fixed; the parameters $\pmb \theta$ are only updated to make $\mathbf { g } ^ { k }$ more similar to $\mathbf { g } ^ { \lambda }$ , not vice versa. This consistency update does not require any labels $\mathbf { g }$ or samples from the environment. As a result, it can be applied to (potentially hypothetical) states that have no associated ‘real’ (e.g. Monte-Carlo) outcome: we update the value estimates to be self-consistent with each other. Note the similarity with the semi-supervised setting, where we may have unlabelled inputs.
|
| 105 |
+
|
| 106 |
+
# 5 EXPERIMENTS
|
| 107 |
+
|
| 108 |
+
We conducted experiments on two domains. The first domain consists of randomly generated $2 0 \times 2 0$ mazes in which each location either is empty or contains a wall. Two locations in a maze are considered connected if they are both empty and we can reach one from the other by moving horizontally or vertically through adjacent empty cells. The goal is to predict, for each of the locations on the diagonal from top-left to bottom-right of the maze, whether the bottom-right corner is connected to that location, given the entire maze as an input image. Some of these predictions will be straightforward, for instance for locations on the diagonal that contain a wall themselves and for locations close to the bottom right. Many other predictive questions seem to require a simple algorithm, such as some form of a flood fill or search; our hypothesis is that an internal model can learn to emulate such algorithms, where naive approximation may struggle. A few example mazes are shown in Figure 2.
|
| 109 |
+
|
| 110 |
+
Our second domain is a simulation of the game of pool, using four balls and four pockets. The simulator is implemented in the physics engine Mujoco (Todorov et al., 2012). We generate sequences of RGB frames starting from a random arrangement of balls on the table. The goal is to simultaneously learn to predict future events for each of the four balls, given 5 RGB frames as input. These events include: collision with any other ball, collision with any boundary of the table, entering a quadrant $\times 4$ , for each quadrant), being located in a quadrant $\times 4$ , for each quadrant), and entering a pocket $( \times 4$ , for each pocket). Each of these $1 4 \times 4$ events provides a binary pseudo-reward that we combine with 5 different discount factors $\{ 0 , 0 . 5 , 0 . 9 , 0 . 9 8 , 1 \}$ and predict their cumulative discounted sum over various time spans. This yields a total of 280 general value functions. An example trajectory is shown in Figure 2. In both domains, inputs are presented as minibatches of i.i.d. samples with their regression targets. Additional domain details are provided in Appendix E.
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 2: Left: Two sample mazes from the random-maze domain. Light blue cells are empty, darker blue cells contain a wall. One maze is connected from top-left to bottom-right (indicated in black), the other is not. Right: An example trajectory in the pool domain (before downsampling). It was selected by maximising the prediction of pocketing balls, using the predictron.
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 3: Exploring predictron variants. Aggregated prediction errors over all predictions (20 for mazes, 280 for pool) for the eight predictron variants corresponding to the cube on the left (as described in the main text), for both random mazes (top) and pool (bottom). Each line is the median of RMSE over five seeds; shaded regions encompass all seeds. The full $( r , \gamma , \lambda )$ -prediction (red) consistently performed best.
|
| 117 |
+
|
| 118 |
+
# 5.1 EXPLORING THE PREDICTRON ARCHITECTURE
|
| 119 |
+
|
| 120 |
+
Our first set of experiments examines three binary dimensions that differentiate the predictron from standard deep networks. We compare eight predictron variants corresponding to the corners of the cube on the left in Figure 3.
|
| 121 |
+
|
| 122 |
+
The first dimension corresponds to whether or not the predictron architecture utilises the structure of an MRP model. In the MRP case, labelled $r , \gamma$ , internal rewards and discounts are both learned. In the non- $r$ , $\gamma$ case, which corresponds to a vanilla hidden-to-hidden neural network module, internal rewards and discounts are ignored by fixing their values to $\mathbf { r } ^ { k } = \mathbf { 0 }$ and $\gamma ^ { k } = \mathbf { 1 }$ .
|
| 123 |
+
|
| 124 |
+
The second dimension is whether a $K$ -step accumulator or $\lambda$ -accumulator is used to aggregate over preturns. When a $\lambda$ -accumulator is used, a $\lambda$ -preturn is computed as described in Section 3. Otherwise, intermediate preturns are ignored by fixing their values to $\lambda ^ { k } = 1$ for $k < K$ . In this case, the overall output of the predictron is simply the maximum-depth preturn $\mathbf { g } ^ { K }$ .
|
| 125 |
+
|
| 126 |
+
The third dimension, labelled usage weighting, defines the loss that is used to update the parameters $\pmb \theta$ . On this dimension, we consider two options: the preturn losses can either be weighted uniformly (see Equation 6), or the update for each preturn $\mathbf { g } ^ { k }$ can be weighted according to the weight $\boldsymbol { w } ^ { k }$ that determines how much it is used in the $\lambda$ -predictron’s overall output. We call the latter loss ‘usage weighted‘. Note that for architectures without a $\lambda$ -accumulator, $\bar { \boldsymbol { w } } ^ { k } = 0$ for $k < K$ , and $\mathbf { \Delta } w ^ { K } = \mathbf { \bar { \mu } }$ , thus usage weighting then implies backpropagating only the loss on the final preturn $\mathbf { g } ^ { K }$ .
|
| 127 |
+
|
| 128 |
+
All variants utilise a convolutional core with 2 intermediate hidden layers (see Appendix A); parameters were updated by supervised learning (see Appendix $\mathbf { B }$ for more details). Root mean squared prediction errors for each architecture, aggregated over all predictions, are shown in Figure 3. The top row corresponds to the random mazes and the bottom row to the pool domain. The main conclusion is that learning an MRP model improved performance greatly. The inclusion of $\lambda$ weights helped as well, especially on pool. Usage weighting further improved performance.
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
Figure 4: Comparing predictron to baselines. Aggregated prediction errors on random mazes (top) and pool (bottom) over all predictions for the eight architectures corresponding to the cube on the left. Each line is the median of RMSE over five seeds; shaded regions encompass all seeds. The full $( r , \gamma , \lambda )$ -predictron (red), consistently outperformed conventional deep network architectures (black), with and without skips and with and without weight sharing.
|
| 132 |
+
|
| 133 |
+
# 5.2 COMPARING THE PREDICTRON TO OTHER DEEP NETWORKS
|
| 134 |
+
|
| 135 |
+
Our second set of experiments compares the predictron to feedforward and recurrent deep learning architectures, with and without skip connections. We compare the corners of a new cube, as depicted on the left in Figure 4, based on three different binary dimensions.
|
| 136 |
+
|
| 137 |
+
The first dimension of this second cube is whether we use a predictron, or a (non- $\boldsymbol { \cdot } \lambda$ , non- $\cdot r , \gamma$ ) deep network that does not have an internal model and does not output or learn from intermediate predictions. We use the most effective predictron from the previous section, i.e., the $( r , \gamma , \lambda )$ -predictron with usage weighting.
|
| 138 |
+
|
| 139 |
+
The second dimension is whether weights are shared between all cores (as in a recurrent network), or whether each core uses separate weights (as in a feedforward network). We note that the non$\lambda$ , non- $\cdot r , \gamma$ variants of the predictron then correspond to standard (convolutional) feedforward and (unrolled) recurrent neural networks respectively.
|
| 140 |
+
|
| 141 |
+
The third dimension is whether we include skip connections. This is equivalent to defining the model step to output a change to the current state, $\Delta \mathbf { s } .$ , and then defining $\mathbf { s } ^ { \hat { k } + 1 } = h ( \mathbf { s } ^ { k } + \Delta \mathbf { s } ^ { \tilde { k } } )$ , where $h$ is the non-linear function—in our case a ReLU, $h ( x ) = \operatorname* { m a x } ( \bar { 0 , x } )$ . The deep network with skip connections is a variant of ResNet (He et al., 2015).
|
| 142 |
+
|
| 143 |
+
Root mean squared prediction errors for each architecture are shown in Figure 4. All $( r , \gamma , \lambda )$ - predictrons (red lines) outperformed the corresponding feedforward or recurrent neural network baselines (black lines) both in the random mazes and in pool. We also investigated the effect of changing the depth of the networks (see Appendix C). The predictron outperformed the corresponding feedforward or recurrent baselines for all depths, with and without skip connections.
|
| 144 |
+
|
| 145 |
+
# 5.3 SEMI-SUPERVISED LEARNING BY CONSISTENCY
|
| 146 |
+
|
| 147 |
+
We now consider how to use the predictron for semi-supervised learning, training the model on a combination of labelled and unlabelled random mazes. Semi-supervised learning is important because a common bottleneck in applying machine learning in the real world is the difficulty of collecting labelled data, whereas often large quantities of unlabelled data exist.
|
| 148 |
+
|
| 149 |
+
We trained a full $( r , \gamma , \lambda )$ -predictron by alternating standard supervised updates with consistency updates, obtained by stochastically minimizing the consistency loss (8), on the unlabelled samples. For each supervised update we apply either 0, 1, or 9 consistency updates. Figure 5 shows that the performance improved monotonically with the number of consistency updates, measured as a function of the number of labelled samples consumed.
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 5: Semi-supervised learning. Prediction errors of the $( r , \gamma , \lambda )$ -predictrons (shared core, no skips) using 0, 1, or 9 consistency updates for every update with labelled data, plotted as function of the number of labels consumed. Learning performance improves with more consistency updates.
|
| 153 |
+
|
| 154 |
+
# 5.4 ANALYSIS OF ADAPTIVE DEPTH
|
| 155 |
+
|
| 156 |
+
In principle, the predictron can adapt its depth to ‘think more’ about some predictions than others, perhaps depending on the complexity of the underlying target. We investigate this by looking at qualitatively different prediction types in pool: ball collisions, rail collisions, pocketing balls, and entering or staying in quadrants. For each prediction type we consider several different time-spans (determined by the real-world discount factors associated with each pseudo-reward). Figure 6 shows distributions of depth for each type of prediction. The ‘depth’ of a predictron is here defined as the effective number of model steps. If the predictron relies fully on the very first value (i.e., $\lambda ^ { 0 } = 0$ ), this counts as 0 steps. If, instead, it learns to place equal weight on all rewards and on the final value, this counts as 16 steps. Concretely, the depth $^ d$ can be defined recursively as $\pmb { d } = \pmb { d } ^ { 0 }$ where $\pmb { d } ^ { k } = \lambda ^ { k } ( 1 + \gamma ^ { k } \pmb { d } ^ { k + 1 } )$ and $\mathbf { { \mathbf { { \mathbf { { \mathbf { { \mathbf { \alpha } } } } } } } } } \mathbf { { \mathbf { { \mathbf { { d } } } } } } ^ { K } = \mathbf { { \mathbf { 0 } } }$ . Note that even for the same input state, each prediction has a separate depth.
|
| 157 |
+
|
| 158 |
+
The depth distributions exhibit three properties. First, different types of predictions used different depths. Second, depth was correlated with the real-world discount for the first four prediction types. Third, the distributions are not strongly peaked, which implies that the depth can differ per input even for a single real-world discount and prediction type. In a control experiment (not shown) we used a scalar $\lambda$ shared among all predictions, which reduced performance in all scenarios, indicating that the heterogeneous depth is a valuable form of flexibility.
|
| 159 |
+
|
| 160 |
+
# 5.5 VISUALIZING THE PREDICTIONS IN THE POOL DOMAIN
|
| 161 |
+
|
| 162 |
+
We test the quality of the predictions in the pool domain to evaluate whether they are well-suited to making decisions. For each sampled pool position, we consider a set $I$ of different initial conditions (different angles and velocity of the white ball), and ask which is more likely to lead to pocketing coloured balls. For each initial condition $s \in I$ , we apply the $( r , \gamma , \lambda )$ -predictron (shared cores, 16 model steps, no skip connections) to obtain predictions $\mathbf { g } ^ { \lambda }$ . We sum the predictions that correspond to pocketing any ball except the white ball, and to real-world discounts $\gamma = 0 . 9 8$ and $\gamma = 1$ . We select the condition $s ^ { * }$ that maximises this sum.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 6: Thinking depth. Distributions of thinking depth on pool for different types of predictions and for different real-world discounts.
|
| 166 |
+
|
| 167 |
+
We then roll forward the pool simulator from $s ^ { * }$ and log the number of pocketing events. Figure 2 shows a sampled rollout, using the predictron to pick $s ^ { * }$ . When providing the choice of 128 angles and two velocities for initial conditions $\left. \vert I \right. = 2 5 6 )$ , this procedure resulted in pocketing 27 coloured balls in 50 episodes. Using the same procedure with an equally deep convolutional network only resulted in 10 pocketing events. These results suggest that the lower loss of the learned $( r , \gamma , \lambda )$ -predictron translated into meaningful improvements when informing decisions. A video of the rollouts selected by the predictron is available here: https://youtu.be/BeaLdaN2C3Q.
|
| 168 |
+
|
| 169 |
+
# 6 RELATED WORK
|
| 170 |
+
|
| 171 |
+
Lee et al. (2015) introduced a neural network architecture where classifications branch off intermediate hidden layers. An important difference with respect to the $\lambda$ -predictron, is that the weights are hand-tuned as hyper-parameters, whereas in the predictron the $\lambda$ weights are learnt and, more importantly, conditional on the input. Another difference is that the loss on the auxiliary classifications is used to speed up learning, but the classifications themselves are not combined into an aggregate prediction; the output of the model itself is the deepest prediction.
|
| 172 |
+
|
| 173 |
+
Graves (2016) introduced an architecture with adaptive computation time (ACT), with a discrete (but differentiable) decision on when to halt, and aggregating over the outputs at each pondering step. This is related to our $\lambda$ weights, but obtains depth in a different way; one notable difference is that the $\lambda$ -predictron can choose different pondering depths for each of its predictions.
|
| 174 |
+
|
| 175 |
+
Value iteration networks (VINs) (Tamar et al., 2016) also learn value functions end-to-end using an internal model, similar to the (non- $\lambda$ ) predictron. However, VINs plan via convolutional operations over the full input state space; whereas the predictron plans via imagined trajectories through an abstract state space. This may allow the predictron architecture to scale much more effectively in domains that do not have a natural two-dimensional encoding of the state space.
|
| 176 |
+
|
| 177 |
+
The notion of learning about many predictions of the future relates to work on predictive state representations (PSRs; Littman et al., 2001), general value functions (GVFs; Sutton et al., 2011), and nexting (Modayil et al., 2012). Such predictions have been shown to be useful as representations (Schaul and Ring, 2013) and for transfer (Schaul et al., 2015). So far, however, none of these have been considered for learning abstract models.
|
| 178 |
+
|
| 179 |
+
Schmidhuber (2015) discusses learning abstract models, but maintains separate losses for the model and a controller, and suggests training the model unsupervised to compactly encode the entire history of observations, through predictive coding. The predictron’s abstract model is instead trained endto-end to obtain accurate values.
|
| 180 |
+
|
| 181 |
+
# 7 CONCLUSION
|
| 182 |
+
|
| 183 |
+
The predictron is a single differentiable architecture that rolls forward an internal model to estimate external values. This internal model may be given both the structure and the semantics of traditional reinforcement learning models. But unlike most approaches to model-based reinforcement learning, the model is fully abstract: it need not correspond to the real environment in any human understandable fashion, so long as its rolled-forward “plans” accurately predict outcomes in the true environment.
|
| 184 |
+
|
| 185 |
+
The predictron may be viewed as a novel network architecture that incorporates several separable ideas. First, the predictron outputs a value by accumulating rewards over a series of internal planning steps. Second, each forward pass of the predictron outputs values at multiple planning depths. Third, these values may be combined together, also within a single forward pass, to output an overall ensemble value. Finally, the different values output by the predictron may be encouraged to be self-consistent with each other, to provide an additional signal during learning. Our experiments demonstrate that these differences result in more accurate predictions of value, in reinforcement learning environments, than more conventional network architectures.
|
| 186 |
+
|
| 187 |
+
We have focused on value prediction tasks in uncontrolled environments. However, these ideas may transfer to the control setting, for example by using the predictron as a Q-network (Mnih et al., 2015). Even more intriguing is the possibility of learning an internal MDP with abstract internal actions, rather than the MRP considered in this paper. We aim to explore these ideas in future work.
|
| 188 |
+
|
| 189 |
+
# REFERENCES
|
| 190 |
+
|
| 191 |
+
R. Bellman. Dynamic programming. Princeton University Press, 1957.
|
| 192 |
+
|
| 193 |
+
S. Chiappa, S. Racaniere, D. Wierstra, and S. Mohamed. Recurrent environment simulators. 2016.
|
| 194 |
+
|
| 195 |
+
X. Glorot, A. Bordes, and Y. Bengio. Deep sparse rectifier neural networks. In Aistats, volume 15, page 275, 2011.
|
| 196 |
+
|
| 197 |
+
A. Graves. Adaptive computation time for recurrent neural networks. CoRR, abs/1603.08983, 2016. URL http://arxiv.org/abs/1603.08983.
|
| 198 |
+
|
| 199 |
+
K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015.
|
| 200 |
+
|
| 201 |
+
S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015.
|
| 202 |
+
|
| 203 |
+
D. P. Kingma and J. Ba. A method for stochastic optimization. In International Conference on Learning Representation, 2015.
|
| 204 |
+
|
| 205 |
+
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.
|
| 206 |
+
|
| 207 |
+
C.-Y. Lee, S. Xie, P. Gallagher, Z. Zhang, and Z. Tu. Deeply-supervised nets. In AISTATS, volume 2, page 6, 2015.
|
| 208 |
+
|
| 209 |
+
T. Lillicrap, J. Hunt, A. Pritzel, N. Heess, T. Erez, Y. Tassa, D. Silver, and D. Wierstra. Continuous control with deep reinforcement learning. In ICLR, 2016.
|
| 210 |
+
|
| 211 |
+
M. L. Littman, R. S. Sutton, and S. P. Singh. Predictive representations of state. In NIPS, volume 14, pages 1555–1561, 2001.
|
| 212 |
+
|
| 213 |
+
V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, S. Petersen, C. Beattie, A. Sadik, I. Antonoglou, H. King, D. Kumaran, D. Wierstra, S. Legg, and D. Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 214 |
+
|
| 215 |
+
V. Mnih, A. P. Badia, M. Mirza, A. Graves, T. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016.
|
| 216 |
+
|
| 217 |
+
J. Modayil, A. White, and R. S. Sutton. Multi-timescale nexting in a reinforcement learning robot. In International Conference on Simulation of Adaptive Behavior, pages 299–309. Springer, 2012.
|
| 218 |
+
|
| 219 |
+
J. Oh, X. Guo, H. Lee, R. L. Lewis, and S. Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems, pages 2863– 2871, 2015.
|
| 220 |
+
|
| 221 |
+
T. Schaul and M. B. Ring. Better Generalization with Forecasts. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Beijing, China, 2013.
|
| 222 |
+
|
| 223 |
+
T. Schaul, D. Horgan, K. Gregor, and D. Silver. Universal Value Function Approximators. In International Conference on Machine Learning (ICML), 2015.
|
| 224 |
+
|
| 225 |
+
J. Schmidhuber. On learning to think: Algorithmic information theory for novel combinations of reinforcement learning controllers and recurrent neural world models. arXiv preprint arXiv:1511.09249, 2015.
|
| 226 |
+
|
| 227 |
+
R. S. Sutton. Learning to predict by the methods of temporal differences. Machine Learning, 3: 9–44, 1988.
|
| 228 |
+
|
| 229 |
+
R. S. Sutton. TD models: Modeling the world at a mixture of time scales. In Proceedings of the Twelfth International Conference on Machine Learning, pages 531–539, 1995.
|
| 230 |
+
|
| 231 |
+
R. S. Sutton and A. G. Barto. Reinforcement Learning: An Introduction. The MIT press, Cambridge MA, 1998.
|
| 232 |
+
|
| 233 |
+
R. S. Sutton, J. Modayil, M. Delp, T. Degris, P. M. Pilarski, A. White, and D. Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In The 10th International Conference on Autonomous Agents and Multiagent Systems-Volume 2, pages 761–768. International Foundation for Autonomous Agents and Multiagent Systems, 2011.
|
| 234 |
+
|
| 235 |
+
A. Tamar, Y. Wu, G. Thomas, S. Levine, and P. Abbeel. Value iteration networks. In Neural Information Processing Systems (NIPS), 2016.
|
| 236 |
+
|
| 237 |
+
E. Todorov, T. Erez, and Y. Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012.
|
| 238 |
+
|
| 239 |
+

|
| 240 |
+
Figure 7: The predictron core used in our experiments.
|
| 241 |
+
|
| 242 |
+
# A ARCHITECTURE
|
| 243 |
+
|
| 244 |
+
The state representation $f$ is a two-layer convolutional neural network (LeCun et al., 1998). There is a core $c$ , again based on convolutions, that combines both MRP model and $\lambda$ -network into a single repeatable module, such that $\mathbf { s } ^ { k + 1 } , \mathbf { r } ^ { k + 1 } , \gamma ^ { k + 1 } , \lambda ^ { k } = c ( \mathbf { s } ^ { k } )$ . This core is deterministic, and is duplicated $K$ times in the predictron with shared weights. (The predictron with unshared weights has $K$ distinct cores.) Finally, the value network $v$ is a fully connected neural network that computes $\mathbf { v } ^ { k } = v ( \mathbf { s } ^ { k } )$ .
|
| 245 |
+
|
| 246 |
+
Concretely, the core (Figure 7) consists first of a convolutional layer that maps into an intermediate (hidden) layer. From this layer, another two convolutions compute the next abstract state of the predictron. Additionally, this same hidden layer is flattened and fed into three separate networks, with two fully connected layers each. The outputs of these three networks represent the internal rewards, discounts, and lambdas. A similar small network also hangs off the internal states, in addition to the core, and computes the values. All convolutions use $3 \times 3$ filters and a stride of one, and use padding to retain the size of the feature maps. All feature maps have 32 channels. The hidden layers within the MLPs have 32 hidden units.
|
| 247 |
+
|
| 248 |
+
In Figure 7 the convolutional layers are schematically drawn with three channels, flattening is represented by curly brakets, while the arrows represent the small multi-layer perceptrons which compute values, rewards, discounts and lambdas.
|
| 249 |
+
|
| 250 |
+
We allow up to 16 model steps in our experiments, resulting in 52-layer deep networks—two convolutional layers for the state representations, $3 \times 1 6 = 4 8$ convolutional layers for the core steps, and two fully-connected layers for the values on top of the final state. Between each two layers we apply batch normalization (Ioffe and Szegedy, 2015) followed by a ReLU non-linearity (Glorot et al., 2011). The value and reward networks end with a linear layer, whereas the discount and $\lambda$ -networks additionally add a sigmoid non-linearity to ensure that these quantities are in $[ 0 , 1 ]$ .
|
| 251 |
+
|
| 252 |
+
# B TRAINING
|
| 253 |
+
|
| 254 |
+
All experiments used the supervised (Monte-Carlo) update described in Section 4 except for the semi-supervised experiment which used the consistency update described in Section 4.1. We update all parameters by applying the Adam optimiser (Kingma and Ba, 2015) to stochastic gradients of the corresponding loss functions. Each return is normalised by dividing it by its standard deviation (as measured, prior to the experiment, on a set of 20,000 episodes). In all experiments, the learning rate was 0.001, and the other parameters of the Adam optimiser were $\beta _ { 1 } = 0 . 9$ , $\beta _ { 2 } = 0 . 9 9 9$ , and $\epsilon = 1 0 ^ { - 8 }$ . We used mini-batches of 100 samples.
|
| 255 |
+
|
| 256 |
+
# C COMPARING ARCHITECTURES OF DIFFERENT DEPTHS
|
| 257 |
+
|
| 258 |
+
We investigated the effect of changing the depth of the networks, with and without skip connections. Figure 8 in shows that skip connections (dashed lines) make the conventional architectures
|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
Figure 8: Comparing depths. Comparing the $( r , \gamma , \lambda )$ -predictron (red) against more conventional deep networks (black) for various depths (2, 4, 8, or 16 model steps, corresponding to 10, 16, 28, or 52 total layers of depth). Lighter colours correspond to shallower networks. Dashed lines correspond to networks with skip connections.
|
| 262 |
+
|
| 263 |
+
(black/grey lines) more robust to the depth (i.e., the black/grey dashed lines almost overlap, especially on pool), and that the predictron outperforms the corresponding feedforward or recurrent baselines for all depths, with and without skips.
|
| 264 |
+
|
| 265 |
+
# D CAPACITY COMPARISONS
|
| 266 |
+
|
| 267 |
+
In this section, we present some additional experiments comparing the predictron to more conventional deep networks. The purposes of these experiments are 1) to show that the conclusions obtained above do not depend on the precise architecture used, and 2) to show that the structure of the network—whether we use a predictron or not—is more important than the raw number of parameters.
|
| 268 |
+
|
| 269 |
+
Specifically, we again consider the same 20 by 20 random mazes, and the pool task described in the main text. As described in Section A, for the results in the paper we used an encoder that preserved the size of the input plans, $2 0 \times 2 0$ for the mazes and $2 8 \times 2 8$ for pool. Each convolution had 32 channels and therefore the abstract states were $2 0 \times 2 0 \times 3 2$ for the mazes and $2 8 \times 2 8 \times 3 2$ for pool.
|
| 270 |
+
|
| 271 |
+
We now consider a different architecture, where we no longer pad the convolutions used in the encoder. For the mazes, we still use two layers of $3 \times 3$ stride-1 convolutions, which means the planes reduce in size to $1 6 \times 1 6$ . This means that the abstract states are about one third smaller. For pool, we use three $5 \times 5$ stride-1 convolutions, which bring us from $2 8 \times 2 8$ down to $1 6 \times 1 6$ as well. So, the abstract states are now of equal size for both experiments. For pool, this is approximately a two-thirds reduction, which helps reduce the compute needed to run the model.
|
| 272 |
+
|
| 273 |
+
Most of the parameters in the predictron are in the fully connected layers. Previously, the first fully connected layer for each of the internal values, rewards, discounts, and $\lambda$ -parameters would take a flattened abstract state, and then go into 32 hidden nodes. This means the number of parameters in this layer were $2 0 \times 2 0 \times 3 2 \times 3 2 = 4 0 9 , 6$ 00 for the mazes and $2 8 \times 2 8 \times 3 2 \times 3 2 = 8 0 2 , 8 1$ 6 for pool. The predictron with shared core would have four of these layers, one for each of the internal values, rewards, discounts, and $\lambda s$ , compared to one for the deep network which only has values. We change this in two ways. First, we add a $1 \times 1$ convolution with a stride of 1 and 8 channels before the first fully connected layer for each of these outputs. This reduces the number of channels, and therefore the number of parameters in the subsequent fully-connected layer, by one fourth. Second, we tested three different numbers of hidden nodes: 32, 128, or 512.
|
| 274 |
+
|
| 275 |
+

|
| 276 |
+
Figure 9: Comparing depths. Comparing the $( r , \gamma , \lambda )$ -predictron (red) against more conventional deep networks (blue) for different numbers hidden nodes in the fully connected layers, and therefore different total numbers of parameters. The deep networks with 32, 128, and 512 nodes respectively have 381,416, 1,275,752, and 4,853,096 parameters in total. The predictrons with 32 and 128 nodes respectively have 1,275,752, and 4,853,096 parameters in total. Note that the number of parameters for the 32 and 128 node predictrons are exactly equal to the number of parameters for the 128 and 512 node deep networks.
|
| 277 |
+
|
| 278 |
+
The deep network with 128 hidden nodes for its values has the exact same number of parameters as the $( r , \gamma , \lambda )$ -predictron with 32 hidden nodes for each of its outputs. Before, the deep network had fewer parameters, because we kept this number fixed at 32 across experiments. This opens the question of whether the improved performance of the predictron was not just an artifact of having more parameters. We tested this hypothesis, and the results are shown in Figure 9.
|
| 279 |
+
|
| 280 |
+
Figure 9 shows that in each setting—on the mazes and pool, and with or without shared cores— both. The predictrons always performed better than all the deep networks. This includes the 32 node predictron (darkest red) compared to the 512 node deep network (lightest blue), even though the latter has approximately 4 times as many parameters (1.27M vs 4.85M). This means that the number of parameters mattered less than whether or not we use a predictron.
|
| 281 |
+
|
| 282 |
+
# E ADDITIONAL DOMAIN DETAILS
|
| 283 |
+
|
| 284 |
+
We now provide some additional details of domains.
|
| 285 |
+
|
| 286 |
+
# E.1 POOL
|
| 287 |
+
|
| 288 |
+
To generate sequences in the Pool domain, the initial locations of 4 balls of different colours are sampled at random. The white ball is the only one moving initially. Its velocity has a norm sampled uniformly between 7 and 14. The initial angle is sampled uniformly in the range $( 0 , 2 \pi )$ . From the initial condition, the Mujoco simulation is run forward until all balls have stopped moving; sequences that last more than 151 frames are rejected, and a new one is generated as replacement. Each frame is rendered by Mujoco as a $2 8 0 \mathbf { x } 2 8 0$ RGB image, and subsequently downsampled through bilinear interpolation to a 28x28 RGB input (see Figure 10 for an example). Since the 280 signals described in Section 6.1 as targets for the Pool experiments have very different levels of sparsity, resulting in values with very different scales, we have normalised the pseudo returns. The normalization procedure consisted in dividing all targets by their standard deviation, as empirically measured across an initial set of 20,000 sequences.
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
Figure 10: Pool input frame. An example of a $2 8 \mathbf { x } 2 8$ RGB input frame in the pool domain.
|
| 292 |
+
|
| 293 |
+
# E.2 RANDOM MAZES
|
| 294 |
+
|
| 295 |
+
To generate mazes we first determine, with a stochastic line search, a number of walls so that the topleft corner is connected to the bottom-right corner (both always forced to be empty) in approximately $50 \%$ of the mazes. We then shuffle the walls uniformly randomly. For 20 by 20 mazes this means $70 \%$ of locations are empty and $30 \%$ contain walls. More than a googol different such 20-by-20 mazes exist (as $\mathrm { \binom { 3 9 8 } { 1 2 0 } } > \mathrm { \bar { 1 0 } ^ { \bar { 1 } 0 0 } } ,$ ).
|
parse/train/BkJsCIcgl/BkJsCI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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "THE PREDICTRON: END-TO-END LEARNING AND PLANNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
673,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "David Silver\\*, Hado van Hasselt\\*, Matteo Hessel\\*, Tom Schaul\\*, Arthur Guez\\*, Tim Harley, Gabriel Dulac-Arnold, David Reichert, Neil Rabinowitz, Andre Barreto, Thomas Degris DeepMind, London {davidsilver,hado,mtthss,schaul,aguez}@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
165,
|
| 20 |
+
833,
|
| 21 |
+
223
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
241,
|
| 32 |
+
544,
|
| 33 |
+
256
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "One of the key challenges of artificial intelligence is to learn models that are effective in the context of planning. In this document we introduce the predictron architecture. The predictron consists of a fully abstract model, represented by a Markov reward process, that can be rolled forward multiple “imagined” planning steps. Each forward pass of the predictron accumulates internal rewards and values over multiple planning depths. The predictron is trained end-to-end so as to make these accumulated values accurately approximate the true value function. We applied the predictron to procedurally generated random mazes and a simulator for the game of pool. The predictron yielded significantly more accurate predictions than conventional deep neural network architectures. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
268,
|
| 43 |
+
764,
|
| 44 |
+
407
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
431,
|
| 55 |
+
334,
|
| 56 |
+
446
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "The central idea of model-based reinforcement learning is to decompose the RL problem into two subproblems: learning a model of the environment, and then planning with this model. The model is typically represented by a Markov reward process (MRP) or decision process (MDP). The planning component uses this model to evaluate and select among possible strategies. This is typically achieved by rolling forward the model to construct a value function that estimates cumulative reward. In prior work, the model is trained essentially independently of its use within the planner. As a result, the model is not well-matched with the overall objective of the agent. Prior deep reinforcement learning methods have successfully constructed models that can unroll near pixel-perfect reconstructions (Oh et al., 2015; Chiappa et al., 2016); but are yet to surpass state-of-the-art modelfree methods in challenging RL domains with raw inputs (e.g., Mnih et al., 2015; 2016; Lillicrap et al., 2016). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
459,
|
| 66 |
+
825,
|
| 67 |
+
612
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In this paper we introduce a new architecture, which we call the predictron, that integrates learning and planning into one end-to-end training procedure. At every step, a model is applied to an internal state, to produce a next state, reward, discount, and value estimate. This model is completely abstract and its only goal is to facilitate accurate value prediction. For example, to plan effectively in a game, an agent must be able to predict the score. If our model makes accurate predictions, then an optimal plan with respect to our model will also be an optimal plan for the underlying game – even if that model uses a different state space (e.g., an abstract representation of enemy positions, ignoring their shapes and colours), action space (e.g., a high-level action to move away from an enemy), rewards (e.g., a single abstract step could have a higher value than any real reward), or even timestep (e.g., a single abstract step could “jump” the agent to the end of a corridor). All we require is that trajectories through the abstract model produce scores that are consistent with trajectories through the real environment. This is achieved by training the predictron end-to-end, so as to make its value estimates as accurate as possible. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
616,
|
| 77 |
+
825,
|
| 78 |
+
795
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "An ideal model could generalise to many different prediction tasks, rather than overfitting to a single task; and could learn from a rich variety of feedback signals, not just a single extrinsic reward. We therefore train the predictron to predict a host of different value functions for a variety of pseudoreward functions and discount factors. These pseudo-rewards can encode any event or aspect of the environment that the agent may care about, e.g., staying alive or reaching the next room. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
799,
|
| 88 |
+
823,
|
| 89 |
+
868
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We focus upon the prediction task: estimating value functions in MRP environments with uncontrolled dynamics. In this case, the predictron can be implemented as a deep neural network with an ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
872,
|
| 99 |
+
823,
|
| 100 |
+
900
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "MRP as a recurrent core. The predictron unrolls this core multiple steps and accumulates rewards into an overall estimate of value. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
171,
|
| 109 |
+
103,
|
| 110 |
+
823,
|
| 111 |
+
132
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We applied the predictron to procedurally generated random mazes, and a simulated pool domain, directly from pixel inputs. In both cases, the predictron significantly outperformed model-free algorithms with conventional deep network architectures; and was much more robust to architectural choices such as depth. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
135,
|
| 121 |
+
825,
|
| 122 |
+
190
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 BACKGROUND ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
208,
|
| 133 |
+
326,
|
| 134 |
+
224
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "We consider environments defined by an MRP with states $s \\in S$ . The MRP is defined by a function, $s ^ { \\prime } , r , \\gamma = p ( s , \\alpha )$ , where $s ^ { \\prime }$ is the next state, $r$ is the reward, and $\\gamma$ is the discount factor, which can for instance represent the non-termination probability for this transition. The process may be stochastic, given IID noise $\\alpha$ . ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
236,
|
| 144 |
+
825,
|
| 145 |
+
291
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "The return of an MRP is the cumulative discounted reward over a single trajectory, $g _ { t } = r _ { t + 1 } +$ $\\gamma _ { t + 1 } r _ { t + 2 } + \\gamma _ { t + 1 } \\gamma _ { t + 2 } r _ { t + 3 } + \\ldots ,$ , where $\\gamma _ { t }$ can vary per time-step. We consider a generalisation of the MRP setting that includes vector-valued rewards $\\mathbf { r }$ , diagonal-matrix discounts $\\gamma$ , and vector-valued returns $\\mathbf { g }$ ; definitions are otherwise identical to the above. We use this bold font notation to closely match the more familiar scalar MRP case; the majority of the paper can be comfortably understood by reading all rewards as scalars, and all discount factors as scalar and constant, i.e., $\\gamma _ { t } = \\gamma$ . ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
295,
|
| 155 |
+
825,
|
| 156 |
+
378
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "The value function of an MRP $p$ is the expected return from state $s$ , $v _ { p } ( s ) = \\mathbb { E } _ { p } \\left[ \\mathbf { g } _ { t } \\mid s _ { t } = s \\right]$ . In the vector case, these are known as general value functions (Sutton et al., 2011). We will say that a (general) value function $v ( \\cdot )$ is consistent with environment $p$ if and only if $v = v _ { p }$ which satisfies the following Bellman equation (Bellman, 1957), ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
382,
|
| 166 |
+
823,
|
| 167 |
+
438
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "equation",
|
| 173 |
+
"img_path": "images/592d1d3e31a4ecdf1a1e4f2bf7665fd4a0cd742f9ccc0a118110105edca09678.jpg",
|
| 174 |
+
"text": "$$\nv _ { p } ( s ) = \\mathbb { E } _ { p } \\left[ \\mathbf { r } + \\gamma v _ { p } ( s ^ { \\prime } ) \\mid s \\right] .\n$$",
|
| 175 |
+
"text_format": "latex",
|
| 176 |
+
"bbox": [
|
| 177 |
+
400,
|
| 178 |
+
445,
|
| 179 |
+
599,
|
| 180 |
+
463
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "In model-based reinforcement learning (Sutton and Barto, 1998), an approximation $m \\approx p$ to the environment is learned. In the uncontrolled setting this model is normally an MRP $s ^ { \\prime } , \\mathbf { r } , \\gamma = m ( s , \\beta )$ that maps from state $s$ to subsequent state $s ^ { \\prime }$ and additionally outputs rewards $\\mathbf { r }$ and discounts $\\gamma$ ; the model may be stochastic given an IID source of noise $\\beta$ . A (general) value function $v _ { m } ( \\cdot )$ is consistent with model $m$ (or valid, (Sutton, 1995)), if and only if it satisfies a Bellman equation $v _ { m } ( s ) = \\mathbb { E } _ { m } \\left[ \\mathbf { r } + \\gamma v _ { m } ( s ^ { \\prime } ) \\mid s \\right]$ with respect to model $m$ . Conventionally, model-based RL methods focus on finding a value function $v$ that is consistent with a separately learned model $m$ . ",
|
| 187 |
+
"bbox": [
|
| 188 |
+
173,
|
| 189 |
+
473,
|
| 190 |
+
825,
|
| 191 |
+
571
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 1
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "3 PREDICTRON ARCHITECTURE ",
|
| 198 |
+
"text_level": 1,
|
| 199 |
+
"bbox": [
|
| 200 |
+
176,
|
| 201 |
+
588,
|
| 202 |
+
452,
|
| 203 |
+
604
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 1
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "The predictron is composed of four main components. First, a state representation $\\mathbf { s } = f ( s )$ that encodes raw input $s$ (this could be a history of observations, in the partially observed setting, for example when $f$ is a recurrent network) into an internal (abstract, hidden) state s. Second, a model $\\mathbf { s } ^ { \\prime } , \\mathbf { r } , \\gamma = m ( \\mathbf { s } , \\beta )$ that maps from internal state s to subsequent internal state $\\mathbf { s } ^ { \\prime }$ , internal rewards $\\mathbf { r }$ , and internal discounts $\\gamma$ . Third, a value function $v$ that outputs internal values $\\mathbf { v } = v ( \\mathbf { s } )$ representing the future, internal return from internal state s onwards. The predictron is applied by unrolling its model $m$ multiple “planning” steps to produce internal rewards, discounts and values. We use superscripts $\\bullet ^ { k }$ to indicate internal steps of the model (which have no necessary connection to time steps $\\bullet _ { t }$ of the environment). Finally, these internal rewards, discounts and values are combined together by an accumulator into an overall estimate of value g. The whole predictron, from input state $s$ to output g, may be viewed as a value function approximator for external targets (i.e. the returns in the real environment). We consider both $k$ -step and $\\lambda$ -weighted accumulators. ",
|
| 210 |
+
"bbox": [
|
| 211 |
+
173,
|
| 212 |
+
616,
|
| 213 |
+
825,
|
| 214 |
+
784
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 1
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "text",
|
| 220 |
+
"text": "The $k$ -step predictron rolls its internal model forward $k$ steps. Specifically, the $k$ -step predictron return $\\mathbf { g } ^ { k }$ (henceforth abbreviated as preturn) is the internal return obtained by accumulating $k$ model steps, plus a final value $\\mathbf { v } ^ { k }$ from the $k$ th step, ",
|
| 221 |
+
"bbox": [
|
| 222 |
+
174,
|
| 223 |
+
786,
|
| 224 |
+
825,
|
| 225 |
+
829
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 1
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "equation",
|
| 231 |
+
"img_path": "images/3a50df1e4acdaaa18efc0491d17fa4c0272053b7e0b3186b85a705a0d0b8f4f4.jpg",
|
| 232 |
+
"text": "$$\n\\mathbf { g } ^ { k } = \\mathbf { r } ^ { 1 } + \\gamma ^ { 1 } ( \\mathbf { r } ^ { 2 } + \\gamma ^ { 2 } ( \\ldots ( \\mathbf { r } ^ { k - 1 } + \\gamma ^ { k - 1 } ( \\mathbf { r } ^ { k } + \\gamma ^ { k } \\mathbf { v } ^ { k } ) ) \\ldots ) ) .\n$$",
|
| 233 |
+
"text_format": "latex",
|
| 234 |
+
"bbox": [
|
| 235 |
+
297,
|
| 236 |
+
835,
|
| 237 |
+
699,
|
| 238 |
+
856
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 1
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "The 0-step preturn is simply the first value $\\mathbf { g } ^ { 0 } = \\mathbf { v } ^ { 0 }$ . The 1-step preturn is $\\mathbf { g } ^ { 1 } = \\mathbf { r } ^ { 1 } + \\gamma ^ { 1 } \\mathbf { v } ^ { 1 }$ , and so on (see Fig. 1a). ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
171,
|
| 247 |
+
863,
|
| 248 |
+
823,
|
| 249 |
+
893
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 1
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "The $\\lambda$ -predictron combines together many $k$ -step preturns. Specifically, it computes a diagonal weight matrix $\\lambda ^ { k }$ from each internal state $\\boldsymbol { \\bar { s } } ^ { k }$ . The accumulator uses weights $\\lambda ^ { 0 } , . . . , \\lambda ^ { K }$ to aggregate ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
173,
|
| 258 |
+
895,
|
| 259 |
+
823,
|
| 260 |
+
924
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 1
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "image",
|
| 266 |
+
"img_path": "images/6f6c0ac1ea5dd3b78bbf370494686c721ff710971f39d404ac4fa8e2eec69c6a.jpg",
|
| 267 |
+
"image_caption": [
|
| 268 |
+
"Figure 1: a) The $k$ -step predictron architecture. The first three columns illustrate 0, 1 and 2-step pathways through the predictron. The 0-step preturn reduces to standard model-free value function approximation; other preturns “imagine” additional steps with an internal model. Each pathway outputs a $k \\mathrm { . }$ -step preturn $\\mathbf { g } ^ { k }$ that accumulates discounted rewards along with a final value estimate. In practice all $k$ -step preturns are computed in a single forward pass. b) The $\\lambda$ -predictron architecture. The $\\lambda$ -parameters gate between the different preturns. The output is a $\\lambda$ -preturn $\\mathbf { g } ^ { \\lambda }$ that is a mixture over the $k$ -step preturns. For example, if $\\pmb { \\lambda } ^ { 0 } = \\mathbf { 1 } , \\pmb { \\lambda } ^ { 1 } = \\mathbf { 1 } , \\pmb { \\lambda } ^ { 2 } = \\mathbf { 0 }$ then we recover the 2-step preturn, $\\mathbf { g } ^ { \\lambda } = \\mathbf { g } ^ { 2 }$ . Discount factors $\\gamma ^ { k }$ and $\\lambda$ -parameters $\\lambda ^ { k }$ are dependent on state $\\mathbf { s } ^ { k }$ ; this dependence is not shown in the figure. "
|
| 269 |
+
],
|
| 270 |
+
"image_footnote": [],
|
| 271 |
+
"bbox": [
|
| 272 |
+
178,
|
| 273 |
+
73,
|
| 274 |
+
833,
|
| 275 |
+
305
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "over $k$ -step preturns $\\mathbf { g } ^ { 0 } , . . . , \\mathbf { g } ^ { K }$ and output a combined value that we call the $\\lambda$ -preturn $\\mathbf { g } ^ { \\lambda }$ , ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
169,
|
| 284 |
+
467,
|
| 285 |
+
767,
|
| 286 |
+
483
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "equation",
|
| 292 |
+
"img_path": "images/349f1e8d5535c720c97c4daf1653bc4cef214c958e36bf810ab5162246522f2f.jpg",
|
| 293 |
+
"text": "$$\n\\mathbf { g } ^ { \\lambda } = \\sum _ { k = 0 } ^ { K } w ^ { k } \\mathbf { g } ^ { k } \\qquad \\mathrm { w h e r e } \\qquad w ^ { k } = \\left\\{ \\begin{array} { l l } { ( 1 - \\lambda ^ { k } ) \\prod _ { j = 0 } ^ { k - 1 } \\lambda ^ { j } } & { \\mathrm { i f ~ } k < K } \\\\ { \\qquad } \\\\ { \\prod _ { j = 0 } ^ { K - 1 } \\lambda ^ { j } } & { \\mathrm { o t h e r w i s e . } } \\end{array} \\right.\n$$",
|
| 294 |
+
"text_format": "latex",
|
| 295 |
+
"bbox": [
|
| 296 |
+
230,
|
| 297 |
+
486,
|
| 298 |
+
761,
|
| 299 |
+
545
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "where 1 is the identity matrix. This $\\lambda$ -preturn is analogous to the $\\lambda$ -return in the forward-view $\\mathrm { T D } ( \\lambda )$ algorithm (Sutton, 1988; Sutton and Barto, 1998). It may also be computed by a backward accumulation through intermediate steps $\\mathbf { g } ^ { k , \\lambda }$ , ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
178,
|
| 308 |
+
549,
|
| 309 |
+
820,
|
| 310 |
+
592
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 2
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "equation",
|
| 316 |
+
"img_path": "images/3bcf3f07b5596719b14bfb35b0fae8902269d7bcf989870314babc28e4648e57.jpg",
|
| 317 |
+
"text": "$$\n\\mathbf { g } ^ { k , \\lambda } = ( \\mathbf { 1 } - \\lambda ^ { k } ) \\mathbf { v } ^ { k } + \\lambda ^ { k } \\left( \\mathbf { r } ^ { k + 1 } + \\gamma ^ { k + 1 } \\mathbf { g } ^ { k + 1 , \\lambda } \\right) ,\n$$",
|
| 318 |
+
"text_format": "latex",
|
| 319 |
+
"bbox": [
|
| 320 |
+
333,
|
| 321 |
+
594,
|
| 322 |
+
663,
|
| 323 |
+
616
|
| 324 |
+
],
|
| 325 |
+
"page_idx": 2
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"type": "text",
|
| 329 |
+
"text": "where $\\mathbf { g } ^ { K , \\lambda } = \\mathbf { v } ^ { K }$ , and then using $\\mathbf { g } ^ { \\lambda } = \\mathbf { g } ^ { 0 , \\lambda }$ . Computation in the $\\lambda$ -predictron operates in a sweep, iterating first through the model from $k = 0 \\ldots K$ and then back through the accumulator from $k = K \\ldots 0$ in a single “forward” pass of the network (see Figure 1b). Each $\\lambda ^ { k }$ weight acts as a gate on the computation of the $\\lambda$ -preturn: a value of $\\lambda ^ { k } = 0$ will truncate the $\\lambda$ -preturn at layer $k$ , while a value of $\\mathbf { \\hat { \\lambda } } \\mathbf { \\lambda } ^ { k } = \\mathbf { 1 }$ will utilise deeper layers based on additional steps of the model $m$ ; the final weight is always $\\pmb { \\lambda } ^ { K } = \\mathbf { 0 }$ . The individual $\\dot { \\lambda } ^ { k }$ weights may depend on the corresponding abstract state $\\mathbf { s } ^ { k }$ and can differ per prediction. This enables the predictron to compute to an adaptive depth (Graves, 2016) depending on the internal state and learning dynamics of the network. ",
|
| 330 |
+
"bbox": [
|
| 331 |
+
173,
|
| 332 |
+
619,
|
| 333 |
+
825,
|
| 334 |
+
733
|
| 335 |
+
],
|
| 336 |
+
"page_idx": 2
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"type": "text",
|
| 340 |
+
"text": "4 PREDICTRON LEARNING UPDATES ",
|
| 341 |
+
"text_level": 1,
|
| 342 |
+
"bbox": [
|
| 343 |
+
174,
|
| 344 |
+
748,
|
| 345 |
+
493,
|
| 346 |
+
765
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 2
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "We first consider updates that optimise the joint parameters $\\pmb { \\theta }$ of the state representation, model, and value function. We begin with the $k$ -step predictron. We update the $k$ -step predictron $\\mathbf { g } ^ { k }$ towards a target outcome $\\mathbf { g }$ , such as the Monte-Carlo return from the real environment, by minimising a mean-squared error loss, ",
|
| 353 |
+
"bbox": [
|
| 354 |
+
173,
|
| 355 |
+
775,
|
| 356 |
+
825,
|
| 357 |
+
832
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 2
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "equation",
|
| 363 |
+
"img_path": "images/351eac7a2de69730f3dab1f5189c90d52d764ae134a2439b606e7ef12358b6b9.jpg",
|
| 364 |
+
"text": "$$\nL ^ { k } = { \\frac { 1 } { 2 } } \\left\\| \\mathbb { E } _ { p } \\left[ \\mathbf { g } \\mid s \\right] - \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { k } \\mid s \\right] \\right\\| ^ { 2 } . \\qquad { \\frac { \\partial l ^ { k } } { \\partial \\theta } } = \\left( \\mathbf { g } - \\mathbf { g } ^ { k } \\right) { \\frac { \\partial \\mathbf { g } ^ { k } } { \\partial \\theta } } .\n$$",
|
| 365 |
+
"text_format": "latex",
|
| 366 |
+
"bbox": [
|
| 367 |
+
230,
|
| 368 |
+
835,
|
| 369 |
+
764,
|
| 370 |
+
871
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 2
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "where $l ^ { k } = \\textstyle { \\frac { 1 } { 2 } } \\left\\| \\mathbf { g } - \\mathbf { g } ^ { k } \\right\\| ^ { 2 }$ is the sample loss. We can use the gradient of the sample loss to update parameters, e.g. by stochastic gradient descent. For stochastic models, two independent samples are required for $\\mathbf { g } ^ { k }$ and ∂ g k to get unbiased samples for the gradient of $L ^ { k }$ . ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
875,
|
| 380 |
+
825,
|
| 381 |
+
925
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 2
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "The $\\lambda$ -predictron combines together many $k$ -step preturns. To update the joint parameters $\\pmb \\theta$ , we can uniformly average the losses on the individual preturns $\\mathbf { g } ^ { k }$ , ",
|
| 388 |
+
"bbox": [
|
| 389 |
+
171,
|
| 390 |
+
103,
|
| 391 |
+
825,
|
| 392 |
+
133
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "equation",
|
| 398 |
+
"img_path": "images/0c90f66f7c185d870095fba4c191fd03f8dfa64dd7bf7c1c35ee13b6c046dadd.jpg",
|
| 399 |
+
"text": "$$\nL ^ { 0 : K } = \\frac { 1 } { 2 K } \\sum _ { k = 0 } ^ { K } \\left\\| \\mathbb { E } _ { p } \\left[ \\mathbf { g } \\mid s \\right] - \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { k } \\mid s \\right] \\right\\| ^ { 2 } , \\qquad \\frac { \\partial l ^ { 0 : K } } { \\partial \\theta } = \\frac { 1 } { K } \\sum _ { k = 0 } ^ { K } \\left( \\mathbf { g } - \\mathbf { g } ^ { k } \\right) \\frac { \\partial \\mathbf { g } ^ { k } } { \\partial \\theta } .\n$$",
|
| 400 |
+
"text_format": "latex",
|
| 401 |
+
"bbox": [
|
| 402 |
+
199,
|
| 403 |
+
137,
|
| 404 |
+
779,
|
| 405 |
+
183
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "Alternative, we could weight each loss by the usage $\\boldsymbol { w } ^ { k }$ of the corresponding preturn, such that the gradient is $\\begin{array} { r } { \\sum _ { k = 0 } ^ { K } \\pmb { w } ^ { k } \\left( \\mathbf { g } - \\mathbf { g } ^ { k } \\right) \\frac { \\partial \\mathbf { g } ^ { k } } { \\partial \\pmb { \\theta } } } \\end{array}$ \u0001 ∂ g k∂ θ . ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
173,
|
| 414 |
+
188,
|
| 415 |
+
825,
|
| 416 |
+
223
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 3
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "The $\\lambda$ -predictron uses an accumulator with additional parameters $\\eta$ that determine the relative weighting of the $k$ -step preturns. These weights are also updated so as to minimise a mean-squared error loss $L ^ { \\lambda }$ , ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
176,
|
| 425 |
+
226,
|
| 426 |
+
825,
|
| 427 |
+
266
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "equation",
|
| 433 |
+
"img_path": "images/01e9a10653c8121ca7431bc9d38a2316a64da433a9cd12cbede9880710b232ad.jpg",
|
| 434 |
+
"text": "$$\nL ^ { \\lambda } = \\frac { 1 } { 2 } \\left\\| \\mathbb { E } _ { p } \\left[ \\mathbf { g } \\mid s \\right] - \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { \\lambda } \\mid s \\right] \\right\\| ^ { 2 } , \\qquad \\frac { \\partial l ^ { \\lambda } } { \\partial \\eta } = \\left( \\mathbf { g } - \\mathbf { g } ^ { \\lambda } \\right) \\frac { \\partial \\mathbf { g } ^ { \\lambda } } { \\partial \\eta } .\n$$",
|
| 435 |
+
"text_format": "latex",
|
| 436 |
+
"bbox": [
|
| 437 |
+
235,
|
| 438 |
+
271,
|
| 439 |
+
763,
|
| 440 |
+
306
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "In summary, the joint parameters $\\pmb \\theta$ of the state representation $f$ , the model $m$ , and the value function $v$ are updated to make each of the $k$ -step preturns $\\mathbf { g } ^ { k }$ more similar to the target $\\mathbf { g }$ , and the parameters $\\eta$ of the $\\lambda$ -accumulator are updated to make the aggregate $\\lambda$ -preturn $\\mathbf { g } ^ { \\lambda }$ more similar to the target g. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
315,
|
| 450 |
+
826,
|
| 451 |
+
358
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "4.1 CONSISTENCY (SEMI-SUPERVISED) LEARNING WITH THE $\\lambda$ -PREDICTRON ",
|
| 458 |
+
"text_level": 1,
|
| 459 |
+
"bbox": [
|
| 460 |
+
176,
|
| 461 |
+
369,
|
| 462 |
+
725,
|
| 463 |
+
386
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 3
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "text",
|
| 469 |
+
"text": "Ideally, the predictron $( f , m , v )$ learns preturns that are all equal in expectation to the true value function of the environment, $\\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { k } \\mid s \\right] = \\mathbb { E } _ { p } \\left[ \\mathbf { g } _ { t } \\mid s \\right] = v _ { p } ( s )$ , in which case the preturns must be equal in expectation, $\\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { 0 } \\mid s \\right] = \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { 1 } \\mid s \\right] = \\ldots = \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { K } \\mid s \\right]$ . In addition, each $k$ -step preturn must then be equal in expectation to th $: \\lambda - p$ return, $\\mathbb { E } _ { m } \\left[ \\mathbf { \\bar { g } } ^ { k } \\mid s \\right] \\mathbf { \\bar { \\Lambda } } = \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { \\lambda } \\mid s \\right]$ , for any $\\lambda$ parameters. All these consistency relations between preturns give rise to additional constraints upon the predictron. Specifically, we may adjust the parameters of the predictron to lead to consistent preturns, even in the absence of labelled targets. ",
|
| 470 |
+
"bbox": [
|
| 471 |
+
173,
|
| 472 |
+
391,
|
| 473 |
+
825,
|
| 474 |
+
497
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 3
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Concretely, we can adjust each preturn $\\mathbf { g } ^ { k }$ towards the $\\lambda$ -preturn $\\mathbf { g } ^ { \\lambda }$ ; in other words, we can update each individual value estimate towards the best aggregated estimate by minimizing ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
498,
|
| 484 |
+
825,
|
| 485 |
+
527
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 3
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "equation",
|
| 491 |
+
"img_path": "images/01111d8b32de3dca2ecfde14ec4f99c730d6eb5016758fe903611948268c3209.jpg",
|
| 492 |
+
"text": "$$\nL = \\frac { 1 } { 2 } \\sum _ { k = 0 } ^ { K } \\left\\| \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { \\lambda } \\mid s \\right] - \\mathbb { E } _ { m } \\left[ \\mathbf { g } ^ { k } \\mid s \\right] \\right\\| ^ { 2 } , \\qquad \\quad \\quad \\frac { \\partial l } { \\partial \\theta } = \\sum _ { k = 0 } ^ { K } \\left( \\mathbf { g } ^ { \\lambda } - \\mathbf { g } ^ { k } \\right) \\frac { \\partial \\mathbf { g } ^ { k } } { \\partial \\theta } .\n$$",
|
| 493 |
+
"text_format": "latex",
|
| 494 |
+
"bbox": [
|
| 495 |
+
217,
|
| 496 |
+
532,
|
| 497 |
+
781,
|
| 498 |
+
577
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 3
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Here $\\mathbf { g } ^ { \\lambda }$ is considered fixed; the parameters $\\pmb \\theta$ are only updated to make $\\mathbf { g } ^ { k }$ more similar to $\\mathbf { g } ^ { \\lambda }$ , not vice versa. This consistency update does not require any labels $\\mathbf { g }$ or samples from the environment. As a result, it can be applied to (potentially hypothetical) states that have no associated ‘real’ (e.g. Monte-Carlo) outcome: we update the value estimates to be self-consistent with each other. Note the similarity with the semi-supervised setting, where we may have unlabelled inputs. ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
174,
|
| 507 |
+
583,
|
| 508 |
+
825,
|
| 509 |
+
655
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 3
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "5 EXPERIMENTS ",
|
| 516 |
+
"text_level": 1,
|
| 517 |
+
"bbox": [
|
| 518 |
+
176,
|
| 519 |
+
670,
|
| 520 |
+
326,
|
| 521 |
+
686
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 3
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "We conducted experiments on two domains. The first domain consists of randomly generated $2 0 \\times 2 0$ mazes in which each location either is empty or contains a wall. Two locations in a maze are considered connected if they are both empty and we can reach one from the other by moving horizontally or vertically through adjacent empty cells. The goal is to predict, for each of the locations on the diagonal from top-left to bottom-right of the maze, whether the bottom-right corner is connected to that location, given the entire maze as an input image. Some of these predictions will be straightforward, for instance for locations on the diagonal that contain a wall themselves and for locations close to the bottom right. Many other predictive questions seem to require a simple algorithm, such as some form of a flood fill or search; our hypothesis is that an internal model can learn to emulate such algorithms, where naive approximation may struggle. A few example mazes are shown in Figure 2. ",
|
| 528 |
+
"bbox": [
|
| 529 |
+
174,
|
| 530 |
+
696,
|
| 531 |
+
825,
|
| 532 |
+
838
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 3
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Our second domain is a simulation of the game of pool, using four balls and four pockets. The simulator is implemented in the physics engine Mujoco (Todorov et al., 2012). We generate sequences of RGB frames starting from a random arrangement of balls on the table. The goal is to simultaneously learn to predict future events for each of the four balls, given 5 RGB frames as input. These events include: collision with any other ball, collision with any boundary of the table, entering a quadrant $\\times 4$ , for each quadrant), being located in a quadrant $\\times 4$ , for each quadrant), and entering a pocket $( \\times 4$ , for each pocket). Each of these $1 4 \\times 4$ events provides a binary pseudo-reward that we combine with 5 different discount factors $\\{ 0 , 0 . 5 , 0 . 9 , 0 . 9 8 , 1 \\}$ and predict their cumulative discounted sum over various time spans. This yields a total of 280 general value functions. An example trajectory is shown in Figure 2. In both domains, inputs are presented as minibatches of i.i.d. samples with their regression targets. Additional domain details are provided in Appendix E. ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
840,
|
| 542 |
+
825,
|
| 543 |
+
924
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 3
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "image",
|
| 549 |
+
"img_path": "images/8a31c76eabf685b5e20aa0765cb76bf5f66494f925957476c5705091f578ef29.jpg",
|
| 550 |
+
"image_caption": [
|
| 551 |
+
"Figure 2: Left: Two sample mazes from the random-maze domain. Light blue cells are empty, darker blue cells contain a wall. One maze is connected from top-left to bottom-right (indicated in black), the other is not. Right: An example trajectory in the pool domain (before downsampling). It was selected by maximising the prediction of pocketing balls, using the predictron. "
|
| 552 |
+
],
|
| 553 |
+
"image_footnote": [],
|
| 554 |
+
"bbox": [
|
| 555 |
+
238,
|
| 556 |
+
102,
|
| 557 |
+
758,
|
| 558 |
+
170
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "image",
|
| 564 |
+
"img_path": "images/e602264f049e19e6be76364d251d62f7e9f44ac88523eb8c4214db23eff3de07.jpg",
|
| 565 |
+
"image_caption": [
|
| 566 |
+
"Figure 3: Exploring predictron variants. Aggregated prediction errors over all predictions (20 for mazes, 280 for pool) for the eight predictron variants corresponding to the cube on the left (as described in the main text), for both random mazes (top) and pool (bottom). Each line is the median of RMSE over five seeds; shaded regions encompass all seeds. The full $( r , \\gamma , \\lambda )$ -prediction (red) consistently performed best. "
|
| 567 |
+
],
|
| 568 |
+
"image_footnote": [],
|
| 569 |
+
"bbox": [
|
| 570 |
+
184,
|
| 571 |
+
236,
|
| 572 |
+
795,
|
| 573 |
+
440
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 4
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "text",
|
| 579 |
+
"text": "",
|
| 580 |
+
"bbox": [
|
| 581 |
+
174,
|
| 582 |
+
525,
|
| 583 |
+
825,
|
| 584 |
+
595
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 4
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "5.1 EXPLORING THE PREDICTRON ARCHITECTURE ",
|
| 591 |
+
"text_level": 1,
|
| 592 |
+
"bbox": [
|
| 593 |
+
174,
|
| 594 |
+
609,
|
| 595 |
+
540,
|
| 596 |
+
623
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 4
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Our first set of experiments examines three binary dimensions that differentiate the predictron from standard deep networks. We compare eight predictron variants corresponding to the corners of the cube on the left in Figure 3. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
176,
|
| 605 |
+
632,
|
| 606 |
+
825,
|
| 607 |
+
674
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 4
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "The first dimension corresponds to whether or not the predictron architecture utilises the structure of an MRP model. In the MRP case, labelled $r , \\gamma$ , internal rewards and discounts are both learned. In the non- $r$ , $\\gamma$ case, which corresponds to a vanilla hidden-to-hidden neural network module, internal rewards and discounts are ignored by fixing their values to $\\mathbf { r } ^ { k } = \\mathbf { 0 }$ and $\\gamma ^ { k } = \\mathbf { 1 }$ . ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
174,
|
| 616 |
+
678,
|
| 617 |
+
825,
|
| 618 |
+
733
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 4
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "The second dimension is whether a $K$ -step accumulator or $\\lambda$ -accumulator is used to aggregate over preturns. When a $\\lambda$ -accumulator is used, a $\\lambda$ -preturn is computed as described in Section 3. Otherwise, intermediate preturns are ignored by fixing their values to $\\lambda ^ { k } = 1$ for $k < K$ . In this case, the overall output of the predictron is simply the maximum-depth preturn $\\mathbf { g } ^ { K }$ . ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
174,
|
| 627 |
+
736,
|
| 628 |
+
825,
|
| 629 |
+
792
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 4
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "The third dimension, labelled usage weighting, defines the loss that is used to update the parameters $\\pmb \\theta$ . On this dimension, we consider two options: the preturn losses can either be weighted uniformly (see Equation 6), or the update for each preturn $\\mathbf { g } ^ { k }$ can be weighted according to the weight $\\boldsymbol { w } ^ { k }$ that determines how much it is used in the $\\lambda$ -predictron’s overall output. We call the latter loss ‘usage weighted‘. Note that for architectures without a $\\lambda$ -accumulator, $\\bar { \\boldsymbol { w } } ^ { k } = 0$ for $k < K$ , and $\\mathbf { \\Delta } w ^ { K } = \\mathbf { \\bar { \\mu } }$ , thus usage weighting then implies backpropagating only the loss on the final preturn $\\mathbf { g } ^ { K }$ . ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
795,
|
| 639 |
+
825,
|
| 640 |
+
878
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 4
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "All variants utilise a convolutional core with 2 intermediate hidden layers (see Appendix A); parameters were updated by supervised learning (see Appendix $\\mathbf { B }$ for more details). Root mean squared prediction errors for each architecture, aggregated over all predictions, are shown in Figure 3. The top row corresponds to the random mazes and the bottom row to the pool domain. The main conclusion is that learning an MRP model improved performance greatly. The inclusion of $\\lambda$ weights helped as well, especially on pool. Usage weighting further improved performance. ",
|
| 647 |
+
"bbox": [
|
| 648 |
+
176,
|
| 649 |
+
882,
|
| 650 |
+
823,
|
| 651 |
+
924
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 4
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "image",
|
| 657 |
+
"img_path": "images/dba61ef00d493777d067bc381985a11c743383fcb9df81dc1d0a496239d6428e.jpg",
|
| 658 |
+
"image_caption": [
|
| 659 |
+
"Figure 4: Comparing predictron to baselines. Aggregated prediction errors on random mazes (top) and pool (bottom) over all predictions for the eight architectures corresponding to the cube on the left. Each line is the median of RMSE over five seeds; shaded regions encompass all seeds. The full $( r , \\gamma , \\lambda )$ -predictron (red), consistently outperformed conventional deep network architectures (black), with and without skips and with and without weight sharing. "
|
| 660 |
+
],
|
| 661 |
+
"image_footnote": [],
|
| 662 |
+
"bbox": [
|
| 663 |
+
173,
|
| 664 |
+
107,
|
| 665 |
+
812,
|
| 666 |
+
314
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "",
|
| 673 |
+
"bbox": [
|
| 674 |
+
174,
|
| 675 |
+
412,
|
| 676 |
+
825,
|
| 677 |
+
455
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "5.2 COMPARING THE PREDICTRON TO OTHER DEEP NETWORKS ",
|
| 684 |
+
"text_level": 1,
|
| 685 |
+
"bbox": [
|
| 686 |
+
174,
|
| 687 |
+
469,
|
| 688 |
+
632,
|
| 689 |
+
484
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 5
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Our second set of experiments compares the predictron to feedforward and recurrent deep learning architectures, with and without skip connections. We compare the corners of a new cube, as depicted on the left in Figure 4, based on three different binary dimensions. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
176,
|
| 698 |
+
492,
|
| 699 |
+
823,
|
| 700 |
+
535
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "The first dimension of this second cube is whether we use a predictron, or a (non- $\\boldsymbol { \\cdot } \\lambda$ , non- $\\cdot r , \\gamma$ ) deep network that does not have an internal model and does not output or learn from intermediate predictions. We use the most effective predictron from the previous section, i.e., the $( r , \\gamma , \\lambda )$ -predictron with usage weighting. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
537,
|
| 710 |
+
825,
|
| 711 |
+
593
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 5
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "The second dimension is whether weights are shared between all cores (as in a recurrent network), or whether each core uses separate weights (as in a feedforward network). We note that the non$\\lambda$ , non- $\\cdot r , \\gamma$ variants of the predictron then correspond to standard (convolutional) feedforward and (unrolled) recurrent neural networks respectively. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
174,
|
| 720 |
+
597,
|
| 721 |
+
825,
|
| 722 |
+
652
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 5
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "The third dimension is whether we include skip connections. This is equivalent to defining the model step to output a change to the current state, $\\Delta \\mathbf { s } .$ , and then defining $\\mathbf { s } ^ { \\hat { k } + 1 } = h ( \\mathbf { s } ^ { k } + \\Delta \\mathbf { s } ^ { \\tilde { k } } )$ , where $h$ is the non-linear function—in our case a ReLU, $h ( x ) = \\operatorname* { m a x } ( \\bar { 0 , x } )$ . The deep network with skip connections is a variant of ResNet (He et al., 2015). ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
174,
|
| 731 |
+
655,
|
| 732 |
+
825,
|
| 733 |
+
712
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 5
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "Root mean squared prediction errors for each architecture are shown in Figure 4. All $( r , \\gamma , \\lambda )$ - predictrons (red lines) outperformed the corresponding feedforward or recurrent neural network baselines (black lines) both in the random mazes and in pool. We also investigated the effect of changing the depth of the networks (see Appendix C). The predictron outperformed the corresponding feedforward or recurrent baselines for all depths, with and without skip connections. ",
|
| 740 |
+
"bbox": [
|
| 741 |
+
174,
|
| 742 |
+
714,
|
| 743 |
+
825,
|
| 744 |
+
785
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 5
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "5.3 SEMI-SUPERVISED LEARNING BY CONSISTENCY ",
|
| 751 |
+
"text_level": 1,
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
800,
|
| 755 |
+
545,
|
| 756 |
+
814
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 5
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "text",
|
| 762 |
+
"text": "We now consider how to use the predictron for semi-supervised learning, training the model on a combination of labelled and unlabelled random mazes. Semi-supervised learning is important because a common bottleneck in applying machine learning in the real world is the difficulty of collecting labelled data, whereas often large quantities of unlabelled data exist. ",
|
| 763 |
+
"bbox": [
|
| 764 |
+
174,
|
| 765 |
+
823,
|
| 766 |
+
825,
|
| 767 |
+
878
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 5
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "We trained a full $( r , \\gamma , \\lambda )$ -predictron by alternating standard supervised updates with consistency updates, obtained by stochastically minimizing the consistency loss (8), on the unlabelled samples. For each supervised update we apply either 0, 1, or 9 consistency updates. Figure 5 shows that the performance improved monotonically with the number of consistency updates, measured as a function of the number of labelled samples consumed. ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
176,
|
| 776 |
+
882,
|
| 777 |
+
823,
|
| 778 |
+
924
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 5
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "",
|
| 785 |
+
"bbox": [
|
| 786 |
+
173,
|
| 787 |
+
103,
|
| 788 |
+
823,
|
| 789 |
+
132
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 6
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "image",
|
| 795 |
+
"img_path": "images/a6a297ad344d3d9b89961b40f0a239cf9bf15e8964e2525c883b866251e3e396.jpg",
|
| 796 |
+
"image_caption": [
|
| 797 |
+
"Figure 5: Semi-supervised learning. Prediction errors of the $( r , \\gamma , \\lambda )$ -predictrons (shared core, no skips) using 0, 1, or 9 consistency updates for every update with labelled data, plotted as function of the number of labels consumed. Learning performance improves with more consistency updates. "
|
| 798 |
+
],
|
| 799 |
+
"image_footnote": [],
|
| 800 |
+
"bbox": [
|
| 801 |
+
246,
|
| 802 |
+
154,
|
| 803 |
+
745,
|
| 804 |
+
290
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 6
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "5.4 ANALYSIS OF ADAPTIVE DEPTH ",
|
| 811 |
+
"text_level": 1,
|
| 812 |
+
"bbox": [
|
| 813 |
+
176,
|
| 814 |
+
372,
|
| 815 |
+
433,
|
| 816 |
+
385
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 6
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "In principle, the predictron can adapt its depth to ‘think more’ about some predictions than others, perhaps depending on the complexity of the underlying target. We investigate this by looking at qualitatively different prediction types in pool: ball collisions, rail collisions, pocketing balls, and entering or staying in quadrants. For each prediction type we consider several different time-spans (determined by the real-world discount factors associated with each pseudo-reward). Figure 6 shows distributions of depth for each type of prediction. The ‘depth’ of a predictron is here defined as the effective number of model steps. If the predictron relies fully on the very first value (i.e., $\\lambda ^ { 0 } = 0$ ), this counts as 0 steps. If, instead, it learns to place equal weight on all rewards and on the final value, this counts as 16 steps. Concretely, the depth $^ d$ can be defined recursively as $\\pmb { d } = \\pmb { d } ^ { 0 }$ where $\\pmb { d } ^ { k } = \\lambda ^ { k } ( 1 + \\gamma ^ { k } \\pmb { d } ^ { k + 1 } )$ and $\\mathbf { { \\mathbf { { \\mathbf { { \\mathbf { { \\mathbf { \\alpha } } } } } } } } } \\mathbf { { \\mathbf { { \\mathbf { { d } } } } } } ^ { K } = \\mathbf { { \\mathbf { 0 } } }$ . Note that even for the same input state, each prediction has a separate depth. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
173,
|
| 825 |
+
393,
|
| 826 |
+
825,
|
| 827 |
+
546
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 6
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "The depth distributions exhibit three properties. First, different types of predictions used different depths. Second, depth was correlated with the real-world discount for the first four prediction types. Third, the distributions are not strongly peaked, which implies that the depth can differ per input even for a single real-world discount and prediction type. In a control experiment (not shown) we used a scalar $\\lambda$ shared among all predictions, which reduced performance in all scenarios, indicating that the heterogeneous depth is a valuable form of flexibility. ",
|
| 834 |
+
"bbox": [
|
| 835 |
+
173,
|
| 836 |
+
549,
|
| 837 |
+
825,
|
| 838 |
+
632
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 6
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "5.5 VISUALIZING THE PREDICTIONS IN THE POOL DOMAIN ",
|
| 845 |
+
"text_level": 1,
|
| 846 |
+
"bbox": [
|
| 847 |
+
174,
|
| 848 |
+
648,
|
| 849 |
+
593,
|
| 850 |
+
661
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 6
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "We test the quality of the predictions in the pool domain to evaluate whether they are well-suited to making decisions. For each sampled pool position, we consider a set $I$ of different initial conditions (different angles and velocity of the white ball), and ask which is more likely to lead to pocketing coloured balls. For each initial condition $s \\in I$ , we apply the $( r , \\gamma , \\lambda )$ -predictron (shared cores, 16 model steps, no skip connections) to obtain predictions $\\mathbf { g } ^ { \\lambda }$ . We sum the predictions that correspond to pocketing any ball except the white ball, and to real-world discounts $\\gamma = 0 . 9 8$ and $\\gamma = 1$ . We select the condition $s ^ { * }$ that maximises this sum. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
173,
|
| 859 |
+
670,
|
| 860 |
+
825,
|
| 861 |
+
741
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 6
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "image",
|
| 867 |
+
"img_path": "images/9e5eda1ba0817010e3a899cfcd39b4555fece7632765839f1302bb06efcfea60.jpg",
|
| 868 |
+
"image_caption": [
|
| 869 |
+
"Figure 6: Thinking depth. Distributions of thinking depth on pool for different types of predictions and for different real-world discounts. "
|
| 870 |
+
],
|
| 871 |
+
"image_footnote": [],
|
| 872 |
+
"bbox": [
|
| 873 |
+
181,
|
| 874 |
+
770,
|
| 875 |
+
816,
|
| 876 |
+
886
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "",
|
| 883 |
+
"bbox": [
|
| 884 |
+
173,
|
| 885 |
+
103,
|
| 886 |
+
823,
|
| 887 |
+
132
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 7
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "We then roll forward the pool simulator from $s ^ { * }$ and log the number of pocketing events. Figure 2 shows a sampled rollout, using the predictron to pick $s ^ { * }$ . When providing the choice of 128 angles and two velocities for initial conditions $\\left. \\vert I \\right. = 2 5 6 )$ , this procedure resulted in pocketing 27 coloured balls in 50 episodes. Using the same procedure with an equally deep convolutional network only resulted in 10 pocketing events. These results suggest that the lower loss of the learned $( r , \\gamma , \\lambda )$ -predictron translated into meaningful improvements when informing decisions. A video of the rollouts selected by the predictron is available here: https://youtu.be/BeaLdaN2C3Q. ",
|
| 894 |
+
"bbox": [
|
| 895 |
+
174,
|
| 896 |
+
135,
|
| 897 |
+
825,
|
| 898 |
+
232
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 7
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "6 RELATED WORK ",
|
| 905 |
+
"text_level": 1,
|
| 906 |
+
"bbox": [
|
| 907 |
+
174,
|
| 908 |
+
248,
|
| 909 |
+
341,
|
| 910 |
+
265
|
| 911 |
+
],
|
| 912 |
+
"page_idx": 7
|
| 913 |
+
},
|
| 914 |
+
{
|
| 915 |
+
"type": "text",
|
| 916 |
+
"text": "Lee et al. (2015) introduced a neural network architecture where classifications branch off intermediate hidden layers. An important difference with respect to the $\\lambda$ -predictron, is that the weights are hand-tuned as hyper-parameters, whereas in the predictron the $\\lambda$ weights are learnt and, more importantly, conditional on the input. Another difference is that the loss on the auxiliary classifications is used to speed up learning, but the classifications themselves are not combined into an aggregate prediction; the output of the model itself is the deepest prediction. ",
|
| 917 |
+
"bbox": [
|
| 918 |
+
174,
|
| 919 |
+
276,
|
| 920 |
+
825,
|
| 921 |
+
359
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 7
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "Graves (2016) introduced an architecture with adaptive computation time (ACT), with a discrete (but differentiable) decision on when to halt, and aggregating over the outputs at each pondering step. This is related to our $\\lambda$ weights, but obtains depth in a different way; one notable difference is that the $\\lambda$ -predictron can choose different pondering depths for each of its predictions. ",
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
363,
|
| 931 |
+
825,
|
| 932 |
+
417
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 7
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "Value iteration networks (VINs) (Tamar et al., 2016) also learn value functions end-to-end using an internal model, similar to the (non- $\\lambda$ ) predictron. However, VINs plan via convolutional operations over the full input state space; whereas the predictron plans via imagined trajectories through an abstract state space. This may allow the predictron architecture to scale much more effectively in domains that do not have a natural two-dimensional encoding of the state space. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
174,
|
| 941 |
+
421,
|
| 942 |
+
823,
|
| 943 |
+
491
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 7
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "The notion of learning about many predictions of the future relates to work on predictive state representations (PSRs; Littman et al., 2001), general value functions (GVFs; Sutton et al., 2011), and nexting (Modayil et al., 2012). Such predictions have been shown to be useful as representations (Schaul and Ring, 2013) and for transfer (Schaul et al., 2015). So far, however, none of these have been considered for learning abstract models. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
494,
|
| 953 |
+
823,
|
| 954 |
+
564
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 7
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Schmidhuber (2015) discusses learning abstract models, but maintains separate losses for the model and a controller, and suggests training the model unsupervised to compactly encode the entire history of observations, through predictive coding. The predictron’s abstract model is instead trained endto-end to obtain accurate values. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
174,
|
| 963 |
+
568,
|
| 964 |
+
823,
|
| 965 |
+
622
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 7
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "7 CONCLUSION ",
|
| 972 |
+
"text_level": 1,
|
| 973 |
+
"bbox": [
|
| 974 |
+
176,
|
| 975 |
+
638,
|
| 976 |
+
318,
|
| 977 |
+
655
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 7
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "The predictron is a single differentiable architecture that rolls forward an internal model to estimate external values. This internal model may be given both the structure and the semantics of traditional reinforcement learning models. But unlike most approaches to model-based reinforcement learning, the model is fully abstract: it need not correspond to the real environment in any human understandable fashion, so long as its rolled-forward “plans” accurately predict outcomes in the true environment. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
174,
|
| 986 |
+
666,
|
| 987 |
+
825,
|
| 988 |
+
750
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 7
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "The predictron may be viewed as a novel network architecture that incorporates several separable ideas. First, the predictron outputs a value by accumulating rewards over a series of internal planning steps. Second, each forward pass of the predictron outputs values at multiple planning depths. Third, these values may be combined together, also within a single forward pass, to output an overall ensemble value. Finally, the different values output by the predictron may be encouraged to be self-consistent with each other, to provide an additional signal during learning. Our experiments demonstrate that these differences result in more accurate predictions of value, in reinforcement learning environments, than more conventional network architectures. ",
|
| 995 |
+
"bbox": [
|
| 996 |
+
174,
|
| 997 |
+
753,
|
| 998 |
+
825,
|
| 999 |
+
864
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 7
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "We have focused on value prediction tasks in uncontrolled environments. However, these ideas may transfer to the control setting, for example by using the predictron as a Q-network (Mnih et al., 2015). Even more intriguing is the possibility of learning an internal MDP with abstract internal actions, rather than the MRP considered in this paper. We aim to explore these ideas in future work. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
174,
|
| 1008 |
+
867,
|
| 1009 |
+
823,
|
| 1010 |
+
924
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 7
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "REFERENCES ",
|
| 1017 |
+
"text_level": 1,
|
| 1018 |
+
"bbox": [
|
| 1019 |
+
174,
|
| 1020 |
+
103,
|
| 1021 |
+
287,
|
| 1022 |
+
118
|
| 1023 |
+
],
|
| 1024 |
+
"page_idx": 8
|
| 1025 |
+
},
|
| 1026 |
+
{
|
| 1027 |
+
"type": "text",
|
| 1028 |
+
"text": "R. Bellman. Dynamic programming. Princeton University Press, 1957. ",
|
| 1029 |
+
"bbox": [
|
| 1030 |
+
174,
|
| 1031 |
+
126,
|
| 1032 |
+
640,
|
| 1033 |
+
142
|
| 1034 |
+
],
|
| 1035 |
+
"page_idx": 8
|
| 1036 |
+
},
|
| 1037 |
+
{
|
| 1038 |
+
"type": "text",
|
| 1039 |
+
"text": "S. Chiappa, S. Racaniere, D. Wierstra, and S. Mohamed. Recurrent environment simulators. 2016. ",
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
173,
|
| 1042 |
+
150,
|
| 1043 |
+
820,
|
| 1044 |
+
165
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 8
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "X. Glorot, A. Bordes, and Y. Bengio. Deep sparse rectifier neural networks. In Aistats, volume 15, page 275, 2011. ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
173,
|
| 1053 |
+
174,
|
| 1054 |
+
821,
|
| 1055 |
+
204
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 8
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "text",
|
| 1061 |
+
"text": "A. Graves. Adaptive computation time for recurrent neural networks. CoRR, abs/1603.08983, 2016. URL http://arxiv.org/abs/1603.08983. ",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
173,
|
| 1064 |
+
213,
|
| 1065 |
+
823,
|
| 1066 |
+
242
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 8
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. arXiv preprint arXiv:1512.03385, 2015. ",
|
| 1073 |
+
"bbox": [
|
| 1074 |
+
173,
|
| 1075 |
+
251,
|
| 1076 |
+
825,
|
| 1077 |
+
280
|
| 1078 |
+
],
|
| 1079 |
+
"page_idx": 8
|
| 1080 |
+
},
|
| 1081 |
+
{
|
| 1082 |
+
"type": "text",
|
| 1083 |
+
"text": "S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015. ",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
171,
|
| 1086 |
+
290,
|
| 1087 |
+
825,
|
| 1088 |
+
319
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 8
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "D. P. Kingma and J. Ba. A method for stochastic optimization. In International Conference on Learning Representation, 2015. ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
173,
|
| 1097 |
+
327,
|
| 1098 |
+
823,
|
| 1099 |
+
357
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 8
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"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. ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
171,
|
| 1108 |
+
366,
|
| 1109 |
+
823,
|
| 1110 |
+
396
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 8
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "C.-Y. Lee, S. Xie, P. Gallagher, Z. Zhang, and Z. Tu. Deeply-supervised nets. In AISTATS, volume 2, page 6, 2015. ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
173,
|
| 1119 |
+
404,
|
| 1120 |
+
823,
|
| 1121 |
+
434
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 8
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "T. Lillicrap, J. Hunt, A. Pritzel, N. Heess, T. Erez, Y. Tassa, D. Silver, and D. Wierstra. Continuous control with deep reinforcement learning. In ICLR, 2016. ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
169,
|
| 1130 |
+
443,
|
| 1131 |
+
823,
|
| 1132 |
+
473
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 8
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "M. L. Littman, R. S. Sutton, and S. P. Singh. Predictive representations of state. In NIPS, volume 14, pages 1555–1561, 2001. ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
171,
|
| 1141 |
+
481,
|
| 1142 |
+
821,
|
| 1143 |
+
511
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 8
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, S. Petersen, C. Beattie, A. Sadik, I. Antonoglou, H. King, D. Kumaran, D. Wierstra, S. Legg, and D. Hassabis. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015. ",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
174,
|
| 1152 |
+
518,
|
| 1153 |
+
825,
|
| 1154 |
+
577
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 8
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "V. Mnih, A. P. Badia, M. Mirza, A. Graves, T. Lillicrap, T. Harley, D. Silver, and K. Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International Conference on Machine Learning, 2016. ",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
173,
|
| 1163 |
+
585,
|
| 1164 |
+
823,
|
| 1165 |
+
628
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 8
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "J. Modayil, A. White, and R. S. Sutton. Multi-timescale nexting in a reinforcement learning robot. In International Conference on Simulation of Adaptive Behavior, pages 299–309. Springer, 2012. ",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
173,
|
| 1174 |
+
637,
|
| 1175 |
+
825,
|
| 1176 |
+
667
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 8
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "J. Oh, X. Guo, H. Lee, R. L. Lewis, and S. Singh. Action-conditional video prediction using deep networks in atari games. In Advances in Neural Information Processing Systems, pages 2863– 2871, 2015. ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
171,
|
| 1185 |
+
675,
|
| 1186 |
+
823,
|
| 1187 |
+
718
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 8
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "T. Schaul and M. B. Ring. Better Generalization with Forecasts. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Beijing, China, 2013. ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
171,
|
| 1196 |
+
727,
|
| 1197 |
+
823,
|
| 1198 |
+
758
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 8
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "T. Schaul, D. Horgan, K. Gregor, and D. Silver. Universal Value Function Approximators. In International Conference on Machine Learning (ICML), 2015. ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
173,
|
| 1207 |
+
766,
|
| 1208 |
+
823,
|
| 1209 |
+
796
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 8
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "J. Schmidhuber. On learning to think: Algorithmic information theory for novel combinations of reinforcement learning controllers and recurrent neural world models. arXiv preprint arXiv:1511.09249, 2015. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
174,
|
| 1218 |
+
804,
|
| 1219 |
+
823,
|
| 1220 |
+
848
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 8
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "R. S. Sutton. Learning to predict by the methods of temporal differences. Machine Learning, 3: 9–44, 1988. ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
173,
|
| 1229 |
+
857,
|
| 1230 |
+
820,
|
| 1231 |
+
886
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 8
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "R. S. Sutton. TD models: Modeling the world at a mixture of time scales. In Proceedings of the Twelfth International Conference on Machine Learning, pages 531–539, 1995. ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
173,
|
| 1240 |
+
895,
|
| 1241 |
+
820,
|
| 1242 |
+
924
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 8
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "R. S. Sutton and A. G. Barto. Reinforcement Learning: An Introduction. The MIT press, Cambridge MA, 1998. ",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
171,
|
| 1251 |
+
103,
|
| 1252 |
+
823,
|
| 1253 |
+
132
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 9
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "R. S. Sutton, J. Modayil, M. Delp, T. Degris, P. M. Pilarski, A. White, and D. Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In The 10th International Conference on Autonomous Agents and Multiagent Systems-Volume 2, pages 761–768. International Foundation for Autonomous Agents and Multiagent Systems, 2011. ",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
173,
|
| 1262 |
+
140,
|
| 1263 |
+
825,
|
| 1264 |
+
196
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 9
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "A. Tamar, Y. Wu, G. Thomas, S. Levine, and P. Abbeel. Value iteration networks. In Neural Information Processing Systems (NIPS), 2016. ",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
173,
|
| 1273 |
+
205,
|
| 1274 |
+
821,
|
| 1275 |
+
236
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 9
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "E. Todorov, T. Erez, and Y. Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012. ",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
174,
|
| 1284 |
+
244,
|
| 1285 |
+
826,
|
| 1286 |
+
286
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 9
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "image",
|
| 1292 |
+
"img_path": "images/470c195ad3d74763aaa60fca5f7047608345478b942bb4154c2bfe8bc163ff2a.jpg",
|
| 1293 |
+
"image_caption": [
|
| 1294 |
+
"Figure 7: The predictron core used in our experiments. "
|
| 1295 |
+
],
|
| 1296 |
+
"image_footnote": [],
|
| 1297 |
+
"bbox": [
|
| 1298 |
+
434,
|
| 1299 |
+
102,
|
| 1300 |
+
557,
|
| 1301 |
+
295
|
| 1302 |
+
],
|
| 1303 |
+
"page_idx": 10
|
| 1304 |
+
},
|
| 1305 |
+
{
|
| 1306 |
+
"type": "text",
|
| 1307 |
+
"text": "A ARCHITECTURE ",
|
| 1308 |
+
"text_level": 1,
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
176,
|
| 1311 |
+
352,
|
| 1312 |
+
343,
|
| 1313 |
+
367
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 10
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "The state representation $f$ is a two-layer convolutional neural network (LeCun et al., 1998). There is a core $c$ , again based on convolutions, that combines both MRP model and $\\lambda$ -network into a single repeatable module, such that $\\mathbf { s } ^ { k + 1 } , \\mathbf { r } ^ { k + 1 } , \\gamma ^ { k + 1 } , \\lambda ^ { k } = c ( \\mathbf { s } ^ { k } )$ . This core is deterministic, and is duplicated $K$ times in the predictron with shared weights. (The predictron with unshared weights has $K$ distinct cores.) Finally, the value network $v$ is a fully connected neural network that computes $\\mathbf { v } ^ { k } = v ( \\mathbf { s } ^ { k } )$ . ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
174,
|
| 1322 |
+
378,
|
| 1323 |
+
825,
|
| 1324 |
+
463
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 10
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Concretely, the core (Figure 7) consists first of a convolutional layer that maps into an intermediate (hidden) layer. From this layer, another two convolutions compute the next abstract state of the predictron. Additionally, this same hidden layer is flattened and fed into three separate networks, with two fully connected layers each. The outputs of these three networks represent the internal rewards, discounts, and lambdas. A similar small network also hangs off the internal states, in addition to the core, and computes the values. All convolutions use $3 \\times 3$ filters and a stride of one, and use padding to retain the size of the feature maps. All feature maps have 32 channels. The hidden layers within the MLPs have 32 hidden units. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
173,
|
| 1333 |
+
465,
|
| 1334 |
+
825,
|
| 1335 |
+
577
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 10
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "In Figure 7 the convolutional layers are schematically drawn with three channels, flattening is represented by curly brakets, while the arrows represent the small multi-layer perceptrons which compute values, rewards, discounts and lambdas. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
176,
|
| 1344 |
+
579,
|
| 1345 |
+
820,
|
| 1346 |
+
621
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "We allow up to 16 model steps in our experiments, resulting in 52-layer deep networks—two convolutional layers for the state representations, $3 \\times 1 6 = 4 8$ convolutional layers for the core steps, and two fully-connected layers for the values on top of the final state. Between each two layers we apply batch normalization (Ioffe and Szegedy, 2015) followed by a ReLU non-linearity (Glorot et al., 2011). The value and reward networks end with a linear layer, whereas the discount and $\\lambda$ -networks additionally add a sigmoid non-linearity to ensure that these quantities are in $[ 0 , 1 ]$ . ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
174,
|
| 1355 |
+
625,
|
| 1356 |
+
825,
|
| 1357 |
+
708
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 10
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "B TRAINING ",
|
| 1364 |
+
"text_level": 1,
|
| 1365 |
+
"bbox": [
|
| 1366 |
+
174,
|
| 1367 |
+
724,
|
| 1368 |
+
294,
|
| 1369 |
+
741
|
| 1370 |
+
],
|
| 1371 |
+
"page_idx": 10
|
| 1372 |
+
},
|
| 1373 |
+
{
|
| 1374 |
+
"type": "text",
|
| 1375 |
+
"text": "All experiments used the supervised (Monte-Carlo) update described in Section 4 except for the semi-supervised experiment which used the consistency update described in Section 4.1. We update all parameters by applying the Adam optimiser (Kingma and Ba, 2015) to stochastic gradients of the corresponding loss functions. Each return is normalised by dividing it by its standard deviation (as measured, prior to the experiment, on a set of 20,000 episodes). In all experiments, the learning rate was 0.001, and the other parameters of the Adam optimiser were $\\beta _ { 1 } = 0 . 9$ , $\\beta _ { 2 } = 0 . 9 9 9$ , and $\\epsilon = 1 0 ^ { - 8 }$ . We used mini-batches of 100 samples. ",
|
| 1376 |
+
"bbox": [
|
| 1377 |
+
173,
|
| 1378 |
+
752,
|
| 1379 |
+
825,
|
| 1380 |
+
851
|
| 1381 |
+
],
|
| 1382 |
+
"page_idx": 10
|
| 1383 |
+
},
|
| 1384 |
+
{
|
| 1385 |
+
"type": "text",
|
| 1386 |
+
"text": "C COMPARING ARCHITECTURES OF DIFFERENT DEPTHS ",
|
| 1387 |
+
"text_level": 1,
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
174,
|
| 1390 |
+
868,
|
| 1391 |
+
651,
|
| 1392 |
+
883
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 10
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "We investigated the effect of changing the depth of the networks, with and without skip connections. Figure 8 in shows that skip connections (dashed lines) make the conventional architectures ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
174,
|
| 1401 |
+
895,
|
| 1402 |
+
818,
|
| 1403 |
+
924
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 10
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "image",
|
| 1409 |
+
"img_path": "images/b6658dee23cb96957d5c8447b1e18b5490b5e092b78dedcaac61ba8d741f03c4.jpg",
|
| 1410 |
+
"image_caption": [
|
| 1411 |
+
"Figure 8: Comparing depths. Comparing the $( r , \\gamma , \\lambda )$ -predictron (red) against more conventional deep networks (black) for various depths (2, 4, 8, or 16 model steps, corresponding to 10, 16, 28, or 52 total layers of depth). Lighter colours correspond to shallower networks. Dashed lines correspond to networks with skip connections. "
|
| 1412 |
+
],
|
| 1413 |
+
"image_footnote": [],
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
246,
|
| 1416 |
+
106,
|
| 1417 |
+
740,
|
| 1418 |
+
344
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 11
|
| 1421 |
+
},
|
| 1422 |
+
{
|
| 1423 |
+
"type": "text",
|
| 1424 |
+
"text": "(black/grey lines) more robust to the depth (i.e., the black/grey dashed lines almost overlap, especially on pool), and that the predictron outperforms the corresponding feedforward or recurrent baselines for all depths, with and without skips. ",
|
| 1425 |
+
"bbox": [
|
| 1426 |
+
174,
|
| 1427 |
+
455,
|
| 1428 |
+
825,
|
| 1429 |
+
497
|
| 1430 |
+
],
|
| 1431 |
+
"page_idx": 11
|
| 1432 |
+
},
|
| 1433 |
+
{
|
| 1434 |
+
"type": "text",
|
| 1435 |
+
"text": "D CAPACITY COMPARISONS ",
|
| 1436 |
+
"text_level": 1,
|
| 1437 |
+
"bbox": [
|
| 1438 |
+
176,
|
| 1439 |
+
521,
|
| 1440 |
+
421,
|
| 1441 |
+
536
|
| 1442 |
+
],
|
| 1443 |
+
"page_idx": 11
|
| 1444 |
+
},
|
| 1445 |
+
{
|
| 1446 |
+
"type": "text",
|
| 1447 |
+
"text": "In this section, we present some additional experiments comparing the predictron to more conventional deep networks. The purposes of these experiments are 1) to show that the conclusions obtained above do not depend on the precise architecture used, and 2) to show that the structure of the network—whether we use a predictron or not—is more important than the raw number of parameters. ",
|
| 1448 |
+
"bbox": [
|
| 1449 |
+
174,
|
| 1450 |
+
551,
|
| 1451 |
+
825,
|
| 1452 |
+
622
|
| 1453 |
+
],
|
| 1454 |
+
"page_idx": 11
|
| 1455 |
+
},
|
| 1456 |
+
{
|
| 1457 |
+
"type": "text",
|
| 1458 |
+
"text": "Specifically, we again consider the same 20 by 20 random mazes, and the pool task described in the main text. As described in Section A, for the results in the paper we used an encoder that preserved the size of the input plans, $2 0 \\times 2 0$ for the mazes and $2 8 \\times 2 8$ for pool. Each convolution had 32 channels and therefore the abstract states were $2 0 \\times 2 0 \\times 3 2$ for the mazes and $2 8 \\times 2 8 \\times 3 2$ for pool. ",
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
174,
|
| 1461 |
+
626,
|
| 1462 |
+
823,
|
| 1463 |
+
695
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 11
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"text": "We now consider a different architecture, where we no longer pad the convolutions used in the encoder. For the mazes, we still use two layers of $3 \\times 3$ stride-1 convolutions, which means the planes reduce in size to $1 6 \\times 1 6$ . This means that the abstract states are about one third smaller. For pool, we use three $5 \\times 5$ stride-1 convolutions, which bring us from $2 8 \\times 2 8$ down to $1 6 \\times 1 6$ as well. So, the abstract states are now of equal size for both experiments. For pool, this is approximately a two-thirds reduction, which helps reduce the compute needed to run the model. ",
|
| 1470 |
+
"bbox": [
|
| 1471 |
+
173,
|
| 1472 |
+
698,
|
| 1473 |
+
825,
|
| 1474 |
+
782
|
| 1475 |
+
],
|
| 1476 |
+
"page_idx": 11
|
| 1477 |
+
},
|
| 1478 |
+
{
|
| 1479 |
+
"type": "text",
|
| 1480 |
+
"text": "Most of the parameters in the predictron are in the fully connected layers. Previously, the first fully connected layer for each of the internal values, rewards, discounts, and $\\lambda$ -parameters would take a flattened abstract state, and then go into 32 hidden nodes. This means the number of parameters in this layer were $2 0 \\times 2 0 \\times 3 2 \\times 3 2 = 4 0 9 , 6$ 00 for the mazes and $2 8 \\times 2 8 \\times 3 2 \\times 3 2 = 8 0 2 , 8 1$ 6 for pool. The predictron with shared core would have four of these layers, one for each of the internal values, rewards, discounts, and $\\lambda s$ , compared to one for the deep network which only has values. We change this in two ways. First, we add a $1 \\times 1$ convolution with a stride of 1 and 8 channels before the first fully connected layer for each of these outputs. This reduces the number of channels, and therefore the number of parameters in the subsequent fully-connected layer, by one fourth. Second, we tested three different numbers of hidden nodes: 32, 128, or 512. ",
|
| 1481 |
+
"bbox": [
|
| 1482 |
+
173,
|
| 1483 |
+
785,
|
| 1484 |
+
825,
|
| 1485 |
+
924
|
| 1486 |
+
],
|
| 1487 |
+
"page_idx": 11
|
| 1488 |
+
},
|
| 1489 |
+
{
|
| 1490 |
+
"type": "image",
|
| 1491 |
+
"img_path": "images/93fd02c8270d80a1af3e7ef67faee6943d3152147776544fec0ca60f183fb98d.jpg",
|
| 1492 |
+
"image_caption": [
|
| 1493 |
+
"Figure 9: Comparing depths. Comparing the $( r , \\gamma , \\lambda )$ -predictron (red) against more conventional deep networks (blue) for different numbers hidden nodes in the fully connected layers, and therefore different total numbers of parameters. The deep networks with 32, 128, and 512 nodes respectively have 381,416, 1,275,752, and 4,853,096 parameters in total. The predictrons with 32 and 128 nodes respectively have 1,275,752, and 4,853,096 parameters in total. Note that the number of parameters for the 32 and 128 node predictrons are exactly equal to the number of parameters for the 128 and 512 node deep networks. "
|
| 1494 |
+
],
|
| 1495 |
+
"image_footnote": [],
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
199,
|
| 1498 |
+
102,
|
| 1499 |
+
799,
|
| 1500 |
+
340
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 12
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "The deep network with 128 hidden nodes for its values has the exact same number of parameters as the $( r , \\gamma , \\lambda )$ -predictron with 32 hidden nodes for each of its outputs. Before, the deep network had fewer parameters, because we kept this number fixed at 32 across experiments. This opens the question of whether the improved performance of the predictron was not just an artifact of having more parameters. We tested this hypothesis, and the results are shown in Figure 9. ",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
174,
|
| 1509 |
+
486,
|
| 1510 |
+
825,
|
| 1511 |
+
556
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 12
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Figure 9 shows that in each setting—on the mazes and pool, and with or without shared cores— both. The predictrons always performed better than all the deep networks. This includes the 32 node predictron (darkest red) compared to the 512 node deep network (lightest blue), even though the latter has approximately 4 times as many parameters (1.27M vs 4.85M). This means that the number of parameters mattered less than whether or not we use a predictron. ",
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
174,
|
| 1520 |
+
559,
|
| 1521 |
+
825,
|
| 1522 |
+
628
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 12
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "text",
|
| 1528 |
+
"text": "E ADDITIONAL DOMAIN DETAILS ",
|
| 1529 |
+
"text_level": 1,
|
| 1530 |
+
"bbox": [
|
| 1531 |
+
178,
|
| 1532 |
+
648,
|
| 1533 |
+
467,
|
| 1534 |
+
662
|
| 1535 |
+
],
|
| 1536 |
+
"page_idx": 12
|
| 1537 |
+
},
|
| 1538 |
+
{
|
| 1539 |
+
"type": "text",
|
| 1540 |
+
"text": "We now provide some additional details of domains. ",
|
| 1541 |
+
"bbox": [
|
| 1542 |
+
176,
|
| 1543 |
+
676,
|
| 1544 |
+
516,
|
| 1545 |
+
690
|
| 1546 |
+
],
|
| 1547 |
+
"page_idx": 12
|
| 1548 |
+
},
|
| 1549 |
+
{
|
| 1550 |
+
"type": "text",
|
| 1551 |
+
"text": "E.1 POOL ",
|
| 1552 |
+
"text_level": 1,
|
| 1553 |
+
"bbox": [
|
| 1554 |
+
174,
|
| 1555 |
+
707,
|
| 1556 |
+
254,
|
| 1557 |
+
720
|
| 1558 |
+
],
|
| 1559 |
+
"page_idx": 12
|
| 1560 |
+
},
|
| 1561 |
+
{
|
| 1562 |
+
"type": "text",
|
| 1563 |
+
"text": "To generate sequences in the Pool domain, the initial locations of 4 balls of different colours are sampled at random. The white ball is the only one moving initially. Its velocity has a norm sampled uniformly between 7 and 14. The initial angle is sampled uniformly in the range $( 0 , 2 \\pi )$ . From the initial condition, the Mujoco simulation is run forward until all balls have stopped moving; sequences that last more than 151 frames are rejected, and a new one is generated as replacement. Each frame is rendered by Mujoco as a $2 8 0 \\mathbf { x } 2 8 0$ RGB image, and subsequently downsampled through bilinear interpolation to a 28x28 RGB input (see Figure 10 for an example). Since the 280 signals described in Section 6.1 as targets for the Pool experiments have very different levels of sparsity, resulting in values with very different scales, we have normalised the pseudo returns. The normalization procedure consisted in dividing all targets by their standard deviation, as empirically measured across an initial set of 20,000 sequences. ",
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
174,
|
| 1566 |
+
729,
|
| 1567 |
+
552,
|
| 1568 |
+
924
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 12
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "image",
|
| 1574 |
+
"img_path": "images/5d383c73a965d3d3933c82e67191cd7d3082ff03872892bee902b7940be8a77b.jpg",
|
| 1575 |
+
"image_caption": [
|
| 1576 |
+
"Figure 10: Pool input frame. An example of a $2 8 \\mathbf { x } 2 8$ RGB input frame in the pool domain. "
|
| 1577 |
+
],
|
| 1578 |
+
"image_footnote": [],
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
622,
|
| 1581 |
+
695,
|
| 1582 |
+
772,
|
| 1583 |
+
811
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 12
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"type": "text",
|
| 1589 |
+
"text": "",
|
| 1590 |
+
"bbox": [
|
| 1591 |
+
176,
|
| 1592 |
+
103,
|
| 1593 |
+
823,
|
| 1594 |
+
145
|
| 1595 |
+
],
|
| 1596 |
+
"page_idx": 13
|
| 1597 |
+
},
|
| 1598 |
+
{
|
| 1599 |
+
"type": "text",
|
| 1600 |
+
"text": "E.2 RANDOM MAZES ",
|
| 1601 |
+
"text_level": 1,
|
| 1602 |
+
"bbox": [
|
| 1603 |
+
174,
|
| 1604 |
+
159,
|
| 1605 |
+
338,
|
| 1606 |
+
172
|
| 1607 |
+
],
|
| 1608 |
+
"page_idx": 13
|
| 1609 |
+
},
|
| 1610 |
+
{
|
| 1611 |
+
"type": "text",
|
| 1612 |
+
"text": "To generate mazes we first determine, with a stochastic line search, a number of walls so that the topleft corner is connected to the bottom-right corner (both always forced to be empty) in approximately $50 \\%$ of the mazes. We then shuffle the walls uniformly randomly. For 20 by 20 mazes this means $70 \\%$ of locations are empty and $30 \\%$ contain walls. More than a googol different such 20-by-20 mazes exist (as $\\mathrm { \\binom { 3 9 8 } { 1 2 0 } } > \\mathrm { \\bar { 1 0 } ^ { \\bar { 1 } 0 0 } } ,$ ). ",
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
174,
|
| 1615 |
+
181,
|
| 1616 |
+
825,
|
| 1617 |
+
253
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 13
|
| 1620 |
+
}
|
| 1621 |
+
]
|
parse/train/BkJsCIcgl/BkJsCIcgl_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkJsCIcgl/BkJsCIcgl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Byl8hhNYPS/Byl8hhNYPS.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NEURAL MACHINE TRANSLATION WITH UNIVERSAL VISUAL REPRESENTATION
|
| 2 |
+
|
| 3 |
+
Zhuosheng Zhang1,2,3, Kehai Chen4, Rui Wang4,∗, Masao Utiyama4, Eiichiro Sumita4, Zuchao Li1,2,3 , Hai Zhao1,2,3,∗
|
| 4 |
+
|
| 5 |
+
1Department of Computer Science and Engineering, Shanghai Jiao Tong University 2Key Laboratory of Shanghai Education Commission for Intelligent Interaction and Cognitive Engineering, Shanghai Jiao Tong University, Shanghai, China 3MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University 4National Institute of Information and Communications Technology (NICT), Kyoto, Japan zhangzs@sjtu.edu.cn, charlee@sjtu.edu.cn, zhaohai@cs.sjtu.edu.cn, {khchen, wangrui, mutiyama, eiichiro.sumita}@nict.go.jp
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
Though visual information has been introduced for enhancing neural machine translation (NMT), its effectiveness strongly relies on the availability of large amounts of bilingual parallel sentence pairs with manual image annotations. In this paper, we present a universal visual representation learned over the monolingual corpora with image annotations, which overcomes the lack of largescale bilingual sentence-image pairs, thereby extending image applicability in NMT. In detail, a group of images with similar topics to the source sentence will be retrieved from a light topic-image lookup table learned over the existing sentence-image pairs, and then is encoded as image representations by a pretrained ResNet. An attention layer with a gated weighting is to fuse the visual information and text information as input to the decoder for predicting target translations. In particular, the proposed method enables the visual information to be integrated into large-scale text-only NMT in addition to the multimodal NMT. Experiments on four widely used translation datasets, including the WMT’16 English-to-Romanian, WMT’14 English-to-German, WMT’14 Englishto-French, and Multi30K, show that the proposed approach achieves significant improvements over strong baselines.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Visual information has been introduced for neural machine translation in some previous studies (NMT) (Specia et al., 2016; Elliott et al., 2017; Barrault et al., 2018; Ive et al., 2019) though the contribution of images is still an open question (Elliott, 2018; Caglayan et al., 2019). Typically, each bilingual (or multilingual) parallel sentence pair is annotated manually by one image describing the content of this sentence pair. The bilingual parallel corpora with manual image annotations are used to train a multimodal NMT model by an end-to-end framework, and results are reported on a specific data set, Multi30K (Calixto & Liu, 2017; Calixto et al., 2017).
|
| 14 |
+
|
| 15 |
+
One strong point of the multimodal NMT model is the ability to use visual information to improve the quality of the target translation. However, the effectiveness heavily relies on the availability of bilingual parallel sentence pairs with manual image annotations, which hinders the image applicability to the NMT. As a result, the visual information is only applied to the translation task over a small and specific multimodal data set Multi30K (Elliott et al., 2016), but not to large-scale text-only NMT (Bahdanau et al., 2014; Gehring et al., 2017; Vaswani et al., 2017) and low-resource text-only NMT (Fadaee et al., 2017; Lample et al., 2018; Ma et al., 2019; Zhou et al., 2019). In addition, because of the high cost of annotation, the content of one bilingual parallel sentence pair is only represented by a single image, which is weak in capturing the diversity of visual information. The current situation of introducing visual information results in a bottleneck in the multimodal NMT and is not feasible for text-only NMT and low-resource NMT.
|
| 16 |
+
|
| 17 |
+
In this paper, we present a universal visual representation (VR) method1 relying only on image-monolingual annotations instead of the existing approach that depends on image-bilingual annotations, thus breaking the bottleneck of using visual information in NMT. In detail, we transform the existing sentence-image pairs into a topic-image lookup table from a small-scale multimodal data set Multi30K. During the training and decoding process, a group of images with a similar topic to the source sentence will be retrieved from the topic-image lookup table learned by the term frequency-inverse document frequency, and thus is encoded as image representations by a pretrained ResNet (He et al., 2016). A simple and effective attention layer is then designed to fuse the image representations and the original source sentence representations as input to the decoder for predicting target translations. In particular, the proposed approach can be easily integrated into the text-only NMT model without annotating large-scale bilingual parallel corpora. The proposed method was evaluated on four widely-used translation datasets, including the WMT’16 Englishto-Romanian, WMT’14 English-to-German, WMT’14 English-to-French, and Multi30K which are standard corpora for NMT and multimodal machine translation (MMT) evaluation. Experiments and analyses show effectiveness. In summary, our contributions are primarily three-fold:
|
| 18 |
+
|
| 19 |
+
1. We present a universal visual representation method that overcomes the shortcomings of the bilingual (or multilingual) parallel data with manual image annotations for MMT.
|
| 20 |
+
2. The proposed method enables the text-only NMT to use the multimodality of visual information without annotating the existing large scale bilingual parallel data.
|
| 21 |
+
3. Experiments on different scales of translation tasks verified the effectiveness and generality of the proposed approach.
|
| 22 |
+
|
| 23 |
+
# 2 RELATED WORK
|
| 24 |
+
|
| 25 |
+
Building fine-grained representation with extra knowledge is an essential topic in language modeling (Li et al., 2020a;b; Zhang et al., 2020b;a), among which adopting visual modality could potentially benefit the machine with a more comprehensive perception of the real world. Inspired by the studies on the image description generation (IDG) task (Mao et al., 2014; Elliott et al., 2015; Venugopalan et al., 2015; Xu et al., 2015), a new shared translation task for multimodal machine translation was addressed by the machine translation community (Specia et al., 2016). In particular, the released dataset Multi30K (Elliott et al., 2016) includes 29,000 multilingual (English, German, and French) parallel sentence pairs with image annotations (Elliott et al., 2017; Barrault et al., 2018). Subsequently, there has been a rise in the number of studies (Caglayan et al., 2016; 2017; Calixto et al., 2016; Huang et al., 2016; Libovicky & Helcl, 2017; Helcl et al., 2018). For \` example, Calixto et al. (2017) proposed a doubly-attentive multimodal NMT model to incorporate spatial-visual features, improving translation performance. Compared with spatial-visual features, Calixto & Liu (2017) further incorporated global image features as words in the source sentence and to enhance the encoder or decoder hidden state. In contrast, some recent studies indicated that the visual modality is either unnecessary (Zhang et al., 2017) or only marginally beneficial (Gronroos ¨ et al., 2018). More recently, Ive et al. (2019) showed that visual information is only needed in particular cases, such as for ambiguous words where the textual context is not sufficient.
|
| 26 |
+
|
| 27 |
+
However, these approaches only center around a small and specific Multi30K data set to build a multimodal NMT model, which hinders image applicability to NMT. The reason would be the high cost of image annotations, resulting potentially in the image information not being adequately discovered. We believe that the capacity of MMT has not yet been excavated sufficiently, and there is still a long way to go before the potential of MMT is fully discovered. In this work, we seek to break this constraint and enable visual information to benefit NMT, especially text-only NMT.
|
| 28 |
+
|
| 29 |
+
# 3 UNIVERSAL VISUAL RETRIEVAL
|
| 30 |
+
|
| 31 |
+
<table><tr><td colspan="2">Algorithm1 Topic-image Lookup Table Conversion Algorithm</td></tr><tr><td>Require: Input sentences, S= {Xi, X2,... X1} and paired images E = {e1,e2,...,e1} 1:Obtain the TF-IDF dictionary F= TF-IDF(S) 2: 3: procedure TF-IDF(S)</td><td>Ensure: Topic-image lookup table Q where each word is associated with a group of images Transform sentence-image pair to topic-image lookup table Q= LookUp(S,E,F)</td></tr><tr><td>4: for each sentence in S do 5: end for</td><td>Filter stop-words in the sentence</td></tr><tr><td>6:</td><td>Calculate the TF-IDF weight for each word</td></tr><tr><td>7: 8:</td><td></td></tr><tr><td>9:</td><td></td></tr><tr><td></td><td>return TF-IDF dictionary F</td></tr><tr><td>10:</td><td>end procedure</td></tr><tr><td>11:</td><td>procedure LOOKUP(S,E,F)</td></tr><tr><td>12:</td><td>for For each pair{Ti,ei} ∈zip{S,E}do</td></tr><tr><td></td><td>Rank and pick out the top-w“topic” words in the sentence according to the TF-IDF</td></tr><tr><td>13:</td><td>score in the dictionary F,and each sentence is reformed as T= {t1,t2,...,tw}</td></tr><tr><td>14:</td><td>Pair the w words with the corresponding image ei</td></tr><tr><td>15:</td><td>for For each word tjin T do</td></tr><tr><td></td><td>if ei not in Q[tj] then</td></tr><tr><td>16:</td><td></td></tr><tr><td>17:</td><td>Add ej to the corresponding image set Q[tj] for word t j</td></tr><tr><td>18:</td><td>end if</td></tr><tr><td></td><td></td></tr><tr><td>19:</td><td>end for</td></tr><tr><td></td><td></td></tr><tr><td>20:</td><td>end for</td></tr><tr><td></td><td></td></tr><tr><td>21:</td><td>return Topic-image lookup table Q</td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td>end procedure</td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>
|
| 32 |
+
|
| 33 |
+
In this section, we will introduce the proposed universal visual representation method. Generally, the default input setting of the MMT is a sentence-image pair. Our basic intuition is to transform the existing sentence-image pairs into topic-image lookup table2, which assumes the topic words in a sentence should be relevant to the paired image. Consequently, a sentence can possess a group of images by retrieving the topic-image lookup table.
|
| 34 |
+
|
| 35 |
+
Topic-image Lookup Table Conversion To focus on the major part of the sentence and suppress the noise such as stopwords and low-frequency words, we design a filtering method to extract the “topic” words of the sentence through the term frequency-inverse document frequency $( \mathrm { T F - I D F } ) ^ { 3 }$ inspired by Chen et al. (2019). Specifically, given an original input sentence $X = \{ x _ { 1 } , x _ { 2 } , \dots , x _ { I } \}$ of length $I$ and its paired image $e$ , $X$ is first filtered by a stopword list4 and then the sentence is treated as a document $g$ . We then compute TF-IDF $T I _ { i , j }$ for each word $x _ { i }$ in $g$ ,
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
T I _ { i , j } = \frac { o _ { i , j } } { \sum _ { k } o _ { k , j } } \times \log \frac { | { G } | } { 1 + | { j } : { x } _ { i } \in { g } | } ,
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $o _ { i , j }$ represents the number of occurrences of the word $x _ { i }$ in the input sentence $g$ , $| G |$ the total number of source language sentences in the training data, and $| j : x _ { i } \in g |$ the number of source sentences including word $x _ { i }$ in the training data. We then select the top- $w$ high TF-IDF words as the new image description $T = \{ t _ { 1 } , t _ { 2 } , \dots , t _ { w } \}$ for the input sentence $X$ . After preprocessing, each filtered sentence $T$ is paired with an image $e$ , and each word $t _ { i } \in T$ is regarded as the topic word for image $e$ . After processing the whole corpus (i.e., Multi30K), we form a topic-image lookup table $\mathcal { Q }$ as described in Algorithm 1, in which each topic word $t _ { i }$ would be paired with dozens of images.
|
| 42 |
+
|
| 43 |
+
Image Retrieval For the input sentence, we first obtain its topic words according to the text preprocessing method described above. Then we retrieve the associated images for each topic word from the lookup table $\mathcal { Q }$ and group all the retrieved images together to form an image list $\mathcal { G }$ . We observe that an image might be associated with multiple topic words so that it would occur multiple times in the list $\mathcal { G }$ . Therefore, we sort the images according to the frequency of occurrences in $\mathcal { G }$ to maintain the total number of images for each sentence at $m$ .
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
Figure 1: Illustration of the proposed visual retrieval.
|
| 47 |
+
|
| 48 |
+
Figure 1 illustrates the retrieval process5. In the left block, we show six examples of sentence-image pairs in which the topic words are in boldface. Then we process the corpus using the topic-image transformation method demonstrated above and obtain the topic-image lookup table. For example, the word dog is associated with 1,512 images. For an input source sentence, we obtain the topic words (in boldface) using the same preprocessing. Then we retrieve the corresponding images from the lookup table for each topic word. Now we have a list of images, and some images appear multiple times as they have various topics (like the boxed image in Figure 1). So we sort the retrieved image list by the count of occurrence to pick out the top- $m$ images that cover the most topics of the sentence.
|
| 49 |
+
|
| 50 |
+
At test time, the process of getting images is done using the image lookup table built by the training set, so we do not need to use the images from the dev and test sets in Multi30K dataset6. Intuitively, we do not strictly require the manual alignment of the word (or concept) and image, but rely on the co-occurrence of topic word and image, which is simpler and more general. In this way, we call our method as universal visual retrieval.
|
| 51 |
+
|
| 52 |
+
# 4 NMT WITH UNIVERSAL VISUAL REPRESENTATION
|
| 53 |
+
|
| 54 |
+
In this section, we introduce the proposed universal visual representation (VR) method for NMT.
|
| 55 |
+
The overview of the framework of our proposed method is shown in Figure 2.
|
| 56 |
+
|
| 57 |
+
# 4.1 SOURCE REPRESENTATION FOR NEURAL MACHINE TRANSLATION
|
| 58 |
+
|
| 59 |
+
In the state-of-the-art Transformer-based NMT (Vaswani et al., 2017), source information is encoded as source representation by an SAN-based encoder with multiple layers. Specifically, the encoder is composed of a stack of $L$ identical layers, each of which includes two sub-layers. The first sublayer is a self-attention module, whereas the second is a position-wise, fully connected feed-forward network. A residual connection (He et al., 2016) is applied between the two sub-layers, and then a layer normalization (Ba et al., 2016) is performed. Formally, the stack of learning the source representation is organized as follows:
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
Figure 2: Overview of the framework of our proposed method.
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\begin{array} { r l } & { \overline { { \mathbf { H } } } ^ { l } = \mathrm { L N } ( \mathrm { A T T } ^ { l } ( \mathbf { Q } ^ { l - 1 } , \mathbf { K } ^ { l - 1 } , \mathbf { V } ^ { l - 1 } ) + \mathbf { H } ^ { l - 1 } ) , } \\ & { \mathbf { H } ^ { l } = \mathrm { L N } ( \mathrm { F F N } ^ { l } ( \overline { { \mathbf { H } } } ^ { l } ) + \overline { { \mathbf { H } } } ^ { l } ) , } \end{array}
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $\mathrm { A T T } ^ { l } ( \cdot ) , \mathrm { L N } ( \cdot )$ , and $\mathrm { F F N } ^ { l } ( \cdot )$ are the attention module, layer normalization, and the feedforward network for the $l$ -th identical layer, respectively. $\{ \mathbf { Q } ^ { l - 1 } , \mathbf { K } ^ { l - 1 } , \mathbf { V } ^ { l - 1 } \}$ are query, key, and value vectors that are transformed from the (l-1)-th layer $\mathbf { H } ^ { l - 1 }$ . For example, $\{ Q ^ { 0 } , K ^ { 0 } , V ^ { 0 } \}$ are packed from the summation $\mathbf { H } ^ { 0 }$ of the positional embeddings and word embeddings. Finally, the output of the stack of $L$ identical layers $\mathbf { \bar { H } } ^ { L }$ is the final source sentence representation.
|
| 69 |
+
|
| 70 |
+
# 4.2 AGGREGATION FOR TEXT AND IMAGE REPRESENTATIONS
|
| 71 |
+
|
| 72 |
+
After retrieval as described in Section 3, each original sentence $X ~ = ~ \{ x _ { 1 } , x _ { 2 } , \ldots , x _ { I } \}$ is paired with $m$ images $E = \{ e _ { 1 } , e _ { 2 } , \ldots , e _ { m } \}$ retrieved from the topic-image lookup table $\mathcal { Q }$ . First, the source sentence $X { = } \{ x _ { 1 } , x _ { 2 } , \ldots , x _ { I } \}$ is fed into the encoder (Eq.2) to learn the source sentence representation $\mathbf { H } ^ { L }$ . Second, the images $E = \{ e _ { 1 } , e _ { 2 } , \dots , e _ { m } \}$ are the inputs to a pre-trained ResNet (He et al., 2016) followed by a feed forward layer to learn the source image representation $t e x t M \in$ $R ^ { m \times 2 0 4 8 }$ . Then, we apply an attention mechanism7 to append the image representation to the text representation:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\begin{array} { r } { \overline { { \mathscr { H } } } = \mathrm { A T T } _ { \mathcal { M } } ( \mathbf { H } ^ { L } , \mathbf { K } _ { \mathcal { M } } , \mathbf { V } _ { \mathcal { M } } ) , } \end{array}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
where $\{ \mathbf { K } _ { \mathcal { M } } , \mathbf { V } _ { \mathcal { M } } \}$ are packed from the learned source image representation $\mathbf { \mathcal { M } }$
|
| 79 |
+
|
| 80 |
+
Intuitively, NMT aims to produce a target word sequence with the same meaning as the source sentence rather than a group of images. In other words, the image information may play an auxiliary effect during the translation prediction. Therefore, we compute $\lambda \in [ 0 , 1 ]$ to weight the expected importance of source image representation for each source word:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\lambda = \mathrm { s i g m o i d } ( \mathbf { W } _ { \lambda } \overline { { \pmb { \mathscr { H } } } } + \mathbf { U } _ { \lambda } \mathbf { H } ^ { L } ) ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $\mathbf { W } _ { \lambda }$ and $\mathbf { U } _ { \lambda }$ are model parameters. We then fuse $\mathbf { H } ^ { L }$ and $\overline { { \mathcal { H } } }$ to learn an effective source representation:
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\pmb { \mathcal { H } } = \mathbf { H } ^ { L } + \lambda \overline { { \pmb { \mathcal { H } } } } .
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
Finally, $\varkappa$ is fed to the decoder to learn a dependent-time context vector for predicting target translation. Note that there is a single aggregation layer to fuse image and text information.
|
| 93 |
+
|
| 94 |
+
# 5 EXPERIMENTS
|
| 95 |
+
|
| 96 |
+
# 5.1 DATA
|
| 97 |
+
|
| 98 |
+
The proposed method was evaluated on four widely-used translation datasets, including WMT’16 English-to-Romanian (EN-RO), WMT’14 English-to-German (EN-DE), WMT’14 English-toFrench (EN-DE), and Multi30K which are standard corpora for NMT and MMT evaluation.
|
| 99 |
+
|
| 100 |
+
1) For the EN-RO task, we experimented with the officially provided parallel corpus: Europarl v7 and SETIMES2 from WMT’16 with 0.6M sentence pairs. We used newsdev2016 as the dev set and newstest2016 as the test set.
|
| 101 |
+
|
| 102 |
+
2) For the EN-DE translation task, 4.43M bilingual sentence pairs of the WMT14 dataset were used as training data, including Common Crawl, News Commentary, and Europarl v7. The newstest2013 and newstest2014 datasets were used as the dev set and test set, respectively.
|
| 103 |
+
|
| 104 |
+
3) For the EN-FR translation task, 36M bilingual sentence pairs from the WMT14 dataset were used as training data. Newstest12 and newstest13 were combined for validation and newstest14 was used as the test set, following the setting of Gehring et al. (2017).
|
| 105 |
+
|
| 106 |
+
4) The Multi30K dataset contains 29K English {German, French} parallel sentence pairs with visual annotations. The 1,014 English {German, French $\}$ sentence pairs visual annotations are as dev set. The test sets are test2016 and test2017 with 1,000 pairs for each.
|
| 107 |
+
|
| 108 |
+
# 5.2 SYSTEM SETTING
|
| 109 |
+
|
| 110 |
+
Image Retrieval Implementation We used 29,000 sentence-image pairs from Multi30K to build the topic-image lookup table. We segmented the sentences using the same BPE vocabulary as that for each source language. We selected top-8 $\omega = 8$ ) high TF-IDF words, and the default number of images $m$ was set 5. The detailed case study is shown in Section 6.2. After preprocessing, we had about 3K topic words, associated with a total of 10K images for retrieval. Image features were extracted from the averaged pooled features of a pre-trained ResNet50 CNN (He et al., 2016). This led to feature maps V ∈ R2048.
|
| 111 |
+
|
| 112 |
+
Baseline Our baseline was text-only Transformer (Vaswani et al., 2017). We used six layers for the encoder and the decoder. The number of dimensions of all input and output layers was set to 512 and 1024 for base and big models. The inner feed-forward neural network layer was set to 2048. The heads of all multi-head modules were set to eight in both encoder and decoder layers. For the Multi30K dataset, we further evaluated a multimodal baseline (denoted as MMT) where each source sentence was paired with an original image. The other settings were the same as our proposed model.
|
| 113 |
+
|
| 114 |
+
Model Implementation The byte pair encoding algorithm was adopted, and the size of the vocabulary was set to 40,000. In each training batch, a set of sentence pairs contained approximately $4 0 9 6 \times 4$ source tokens and $4 0 9 6 \times 4$ target tokens. During training, the value of label smoothing was set to 0.1, and the attention dropout and residual dropout were $p = 0 . 1$ . We used Adam optimizer (Kingma & Ba, 2014) to tune the parameters of the model. The learning rate was varied
|
| 115 |
+
|
| 116 |
+
<table><tr><td rowspan="2">System</td><td rowspan="2">Architecture</td><td colspan="2">EN-RO</td><td colspan="2">EN-DE</td><td colspan="2">EN-FR</td></tr><tr><td>BLEU #Param</td><td>BLEU</td><td></td><td>#Param</td><td>BLEU</td><td>#Param</td></tr><tr><td colspan="7">ExistingNMTsystems</td></tr><tr><td>Vaswani et al. (2017)</td><td>Trans.(base)</td><td>N/A</td><td>N/A</td><td>27.3</td><td>N/A</td><td>38.1</td><td>N/A</td></tr><tr><td></td><td>Trans.(big)</td><td>N/A</td><td>N/A</td><td>28.4</td><td>N/A</td><td>41.0</td><td>N/A</td></tr><tr><td>Lee et al. (2018)</td><td>Trans.(base)</td><td>32.40</td><td>N/A</td><td>24.57</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td colspan="8">OurNMTsystems</td></tr><tr><td rowspan="4">This work</td><td>Trans.(base)</td><td>32.66</td><td>61.54M</td><td>27.31</td><td>63.44M</td><td>38.52</td><td>63.83M</td></tr><tr><td>+VR</td><td>33.78++</td><td>63.04M</td><td>28.14++</td><td>64.94M</td><td>39.64++</td><td>65.33M</td></tr><tr><td>Trans. (big)</td><td>33.85</td><td>207.02M</td><td>28.45</td><td>210.88M</td><td>41.10</td><td>211.66M</td></tr><tr><td>+VR</td><td>34.46+</td><td>211.02M</td><td>29.14++</td><td>214.89M</td><td>41.83+</td><td>215.66M</td></tr></table>
|
| 117 |
+
|
| 118 |
+
Table 1: Results on EN-RO, EN-DE, and EN-FR for the NMT tasks. Trans. is short for transformer. N/A denotes that those numbers are not reported in the corresponding literature. $" + + / + "$ after the BLEU score indicate that the proposed method was significantly better than the corresponding baseline Transformer (base or big) at significance level $p { < } 0 . 0 1 / 0 . 0 5$ .
|
| 119 |
+
|
| 120 |
+
under a warm-up strategy with 8,000 steps. For evaluation, we validated the model with an interval of 1,000 batches on the dev set. For the Multi30K dataset, we trained the model up to 10,000 steps, and the training was early-stopped if dev set BLEU score did not improve for ten epochs. For the ENDE, EN-RO, and EN-FR tasks, following the training of 200,000 batches, the model with the highest BLEU score of the dev set was selected to evaluate the test sets. During the decoding, the beam size was set to five. All models were trained and evaluated on a single V100 GPU. Multi-bleu.perl8 was used to compute case-sensitive 4-gram BLEU scores for all test sets. The signtest (Collins et al., 2005) is a standard statistical-significance test. In addition, we followed the model configurations of Vaswani et al. (2017) to train Big models for WMT EN-RO, EN-DE, and EN-FR translation tasks. All experiments were conducted with fairseq9 (Ott et al., 2019). The analysis in Section 6 is conducted on base models.
|
| 121 |
+
|
| 122 |
+
# 5.3 RESULTS
|
| 123 |
+
|
| 124 |
+
Table 1 shows the results for the WMT’14 EN-DE, EN-FR, and WMT’16 EN-RO translation tasks. Our implemented Transformer (base/big) models showed similar BLEU scores with the original Transformer (Vaswani et al., 2017), ensuring that the proposed method can be evaluated over strong baseline NMT systems. As seen, the proposed $+ \mathrm { V R }$ significantly outperformed the baseline Transformer (base), demonstrating the effectiveness of modeling visual information for text-only NMT. In particular, the effectiveness was adapted to the translation tasks of the three language pairs, which have different scales of training data, verifying that the proposed approach is a universal method for improving translation performance.
|
| 125 |
+
|
| 126 |
+
Our method introduced only $1 . 5 \mathbf { M }$ and $4 . 0 \mathbf { M }$ parameters for the base and big transformers, respectively. The number is less than $3 \%$ of the baseline parameters as we used the fixed image embeddings from the pre-trained ResNet feature extractor. Besides, the training time was basically the same as the baseline model (Section 6.4).
|
| 127 |
+
|
| 128 |
+
In addition, the proposed method was also evaluated for MMT on the multimodal dataset, Multi30K. Results in Table 2 show that our model also outperformed the transformer baseline. Compared with the results in text-only NMT, we find that the image presentation gave marginal contribution, which was consistent with the findings in previous work (Zhang et al., 2017; Gronroos et al., 2018; ¨ Caglayan et al., 2019). The most plausible reason might be that the sentences in Multi30K are so simple, short, and repetitive that the source text is sufficient to perform the translation (Caglayan et al., 2019; Ive et al., 2019). This verifies our assumption of the current bottleneck of MMT due to the limitation of Multi30K and shows the necessity of our new setting of transferring multimodality into more standard and mature text-only NMT tasks.
|
| 129 |
+
|
| 130 |
+
<table><tr><td rowspan="2">System</td><td rowspan="2">Architecture</td><td colspan="3">EN-DE</td><td colspan="3">EN-FR</td></tr><tr><td>Test2016</td><td>Test2017</td><td>#Param</td><td>Test2016</td><td>Test2017</td><td>#Param</td></tr><tr><td colspan="8">Existing NMTsystems</td></tr><tr><td>Calixto et al. (2017)</td><td>RNN</td><td>33.7</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>Elliott et al. (2017)</td><td>RNN</td><td>N/A</td><td>19.3</td><td>N/A</td><td>N/A</td><td>44.3</td><td>N/A</td></tr><tr><td>Elliott & Kadar (2017)</td><td>Imagination</td><td>36.8</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td rowspan="2">Ive et al. (2019)</td><td>Trans. (big)</td><td>36.4</td><td>N/A</td><td>N/A</td><td>59.0</td><td>N/A</td><td>N/A</td></tr><tr><td>Del</td><td>38.0</td><td>N/A</td><td>N/A</td><td>60.1</td><td>N/A</td><td>N/A</td></tr><tr><td colspan="8">Our MMTsystems</td></tr><tr><td rowspan="6">This work</td><td>MMT.(base)</td><td>35.09</td><td>27.10</td><td>50.72M</td><td>57.40</td><td>48.02</td><td>50.65M</td></tr><tr><td>MMT.(big)</td><td>35.60</td><td>28.02</td><td>190.58M</td><td>57.87</td><td>49.63</td><td>190.43M</td></tr><tr><td>Trans.(base)</td><td>35.59</td><td>26.31</td><td>49.15M</td><td>57.88</td><td>48.55</td><td>49.07M</td></tr><tr><td>+VR</td><td>35.72</td><td>26.87</td><td>50.72M</td><td>58.32</td><td>48.69</td><td>50.65M</td></tr><tr><td>Trans. (big)</td><td>36.86</td><td>27.62</td><td>186.38M</td><td>56.97</td><td>48.17</td><td>186.23M</td></tr><tr><td>+VR</td><td>36.94</td><td>28.63</td><td>190.58M</td><td>57.53</td><td>48.46</td><td>190.43M</td></tr></table>
|
| 131 |
+
|
| 132 |
+
Table 2: Results from the test2016 and test2017 for the MMT task. Del denotes the deliberation network in (Ive et al., 2019). Elliott et al. (2017) is the official baseline (text-only NMT) on WMT17- Multi30K 2017 test data. Trans. is short for transformer and MMT is the multimodal baseline described in Section 5.2. Because we used the same model for test2016 and test2017 evaluation, the numbers of parameters are the same.
|
| 133 |
+
|
| 134 |
+
# 6 ANALYSIS
|
| 135 |
+
|
| 136 |
+
# 6.1 WHY DOES THE LOOKUP TABLE WORK
|
| 137 |
+
|
| 138 |
+
The contribution of the lookup table could be two folds: 1) the content connection of the sentences and images; 2) the topic-aware co-occurrence of similar images and sentences. There are cases when paired images are not accurately related to the given sentence. A simple solution is to set a threshold heuristically for the TF-IDF retrieval to filter out the “improper” images. However, we maintain the specific number of the images in this work because of the second potential benefits of the cooccurrence, by taking images as diverse topic information. According to Distributional Hypothesis (Harris, 1954), which states that words that occur in similar contexts tend to have similar meanings, we are inspired to extend the concept in the multimodal world, the sentences with similar meanings would be likely to pair with similar even the same images. Therefore, the consistent images (with a related topic) could play the role of topic or type hints for similar sentence modeling.
|
| 139 |
+
|
| 140 |
+
This is also very similar to the idea of word embedding by taking each image as a “word”. Because we use the average pooled output of ResNet, each image is represented as a 2400-d vector. For all the 29,000 images, we have an embedding layer with size (29000, 2400). The “content” of the image is regarded as the embedding initialization. It indeed makes effects, but the capacity of the neural network is not up to it. In contrast, the mapping from text word to the index in the word embedding is critical. Similarly, the mapping of sentence to image in image embedding would be essential, i.e., the similar sentences (with the same topic words) tend to map the same or similar image.
|
| 141 |
+
|
| 142 |
+
To verify the hypotheses, we replace our ResNet features with 1) Shuffle: shuffle the image features but keep the lookup table; 2) Random Init: randomly initialize the image embedding but keep the lookup table; 3) Random Mapping: randomly retrieve unrelated images. The BLEU scores are on EN-RO are 33.53, 33,28, 32.14, respectively. The results of 1-2 are close to the proposed VR (33.78) and outperform the baseline (32.66), which shows that the content of images would not be very important. The ablation 3) gives a lower result, which verifies the necessity of the mapping, especially the topic relationship.
|
| 143 |
+
|
| 144 |
+
# 6.2 INFLUENCE OF THE NUMBER OF IMAGES
|
| 145 |
+
|
| 146 |
+
To evaluate the influence of the number of paired images $m$ , we constrained $m$ in $\{ 0 , 1 , 3 , 5 , 7 , 9 ,$ $1 5 , 2 0 , 3 0 \}$ for experiments on the EN-RO test set, as shown in Figure 4. When $m = 0$ , the model is the baseline NMT model, whose BLEU score was lower than all the models with images. As the number of images increases, the BLEU score also increased at the beginning (from 32.66 to 33.78)
|
| 147 |
+
|
| 148 |
+
and then slightly decreased when $m$ exceeds 5. The reason might be that too many images for a sentence would have a higher chance of noise. Therefore, we set $m = 5$ in our models.
|
| 149 |
+
|
| 150 |
+
The number of sentence-image pairs to create the lookup table could also make effects. We randomly split the pairs of Multi30K into the proportion in [0.1, 0.3, 0.5, 0.7, 0.9], the corresponding BLEU scores for EN-RO are [33.07, 33.44, 34.01, 34.06, 33.80]. Furthermore, we also evaluate the performance by adding external sentence-pairs from the training set of MS COCO image caption dataset (Lin et al., 2014). The BLEU scores are 33.55 and 33.71, respectively, for COCO only and Mult $1 3 0 \mathrm { K + C O C O }$ . These results indicate that a modest number of pairs would be beneficial.
|
| 151 |
+
|
| 152 |
+
# 6.3 THE INFLUENCE OF GATING WEIGHT λ
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
Figure 4: Influence of the number of images on the BLEU score.
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
Figure 5: Quantitative study of the gating weight $\lambda$ .
|
| 159 |
+
|
| 160 |
+
In our model, the weight $\lambda$ of the gated aggregation method was learned automatically to measure the importance of the visual information. We compared by manually setting the weight $\lambda$ into scalar values in $\{ 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 \}$ for experiments on the EN-RO test set. Figure 5 shows that all models with manual $\lambda$ outperformed the baseline Trans. (base), indicating the effectiveness of image information. In contrast, they were inferior to the performance of our model. This means that the degree of dependency for image information varies for each source sentence, indicating the necessity of automatically learning the gating weights of image representations.
|
| 161 |
+
|
| 162 |
+
# 6.4 EXTRA COMPUTATION TIME
|
| 163 |
+
|
| 164 |
+
There are mainly two extra computation costs using our method, including 1) obtaining image data for sentences and 2) learning image representations, which are negligible compared with training an NMT model. The time of obtaining image data for MT sentences for the EN-RO dataset is less than 1 minute using GPU. The lookup table is formed as the mapping of token (only topic words) index to image id. Then, the retrieval method is applied as the tensor indexing from the sentence token indices (only topic words) to image ids, which is the same as the procedure of word embedding. The retrieved image ids are then sorted by frequency. Learning image representations takes about 2 minutes for all the 29,000 images in Multi30K using 6G GPU memory for feature extraction and eight threads of CPU for transforming images. The extracted features are formed as the “image embedding layer” with the size of (29000, 2400) for quick access in the neural network.
|
| 165 |
+
|
| 166 |
+
# 7 CONCLUSION
|
| 167 |
+
|
| 168 |
+
This work presents a universal visual representation method for neural machine translation relying on monolingual image annotations, which breaks the restraint of heavy dependency on bilingual sentence-image pairs in the current multimodal NMT setting. In particular, this method enables visual information to be applied to large-scale text-only NMT through a topic-image lookup. We hope this work sheds some light on future MMT research. In the future, we will try to adopt the proposed method for other tasks.
|
| 169 |
+
|
| 170 |
+
# REFERENCES
|
| 171 |
+
|
| 172 |
+
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 173 |
+
|
| 174 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014.
|
| 175 |
+
|
| 176 |
+
Lo¨ıc Barrault, Fethi Bougares, Lucia Specia, Chiraag Lala, Desmond Elliott, and Stella Frank. Findings of the third shared task on multimodal machine translation. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 304–323, 2018.
|
| 177 |
+
|
| 178 |
+
Ozan Caglayan, Lo¨ıc Barrault, and Fethi Bougares. Multimodal attention for neural machine translation. arXiv preprint arXiv:1609.03976, 2016.
|
| 179 |
+
|
| 180 |
+
Ozan Caglayan, Walid Aransa, Adrien Bardet, Mercedes Garc´ıa-Mart´ınez, Fethi Bougares, Lo¨ıc Barrault, Marc Masana, Luis Herranz, and Joost van de Weijer. Lium-cvc submissions for wmt17 multimodal translation task. In Proceedings of the Second Conference on Machine Translation, pp. 432–439, 2017.
|
| 181 |
+
|
| 182 |
+
Ozan Caglayan, Pranava Swaroop Madhyastha, Lucia Specia, and Lo¨ıc Barrault. Probing the need for visual context in multimodal machine translation. 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. 4159–4170, 2019.
|
| 183 |
+
|
| 184 |
+
Iacer Calixto and Qun Liu. Incorporating global visual features into attention-based neural machine translation. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 992–1003, 2017.
|
| 185 |
+
|
| 186 |
+
Iacer Calixto, Desmond Elliott, and Stella Frank. Dcu-uva multimodal mt system report. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 634–638, 2016.
|
| 187 |
+
|
| 188 |
+
Iacer Calixto, Qun Liu, and Nick Campbell. Doubly-attentive decoder for multi-modal neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1913–1924, 2017.
|
| 189 |
+
|
| 190 |
+
Kehai Chen, Rui Wang, Masao Utiyama, Eiichiro Sumita, and Tiejun Zhao. Neural machine translation with sentence-level topic context. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2019.
|
| 191 |
+
|
| 192 |
+
Michael Collins, Philipp Koehn, and Ivona Kucerova. Clause restructuring for statistical machine translation. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics, Ann Arbor, Michigan, 2005.
|
| 193 |
+
|
| 194 |
+
Desmond Elliott. Adversarial evaluation of multimodal machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2974–2978, 2018.
|
| 195 |
+
|
| 196 |
+
Desmond Elliott and Akos K ´ ad´ ar. Imagination improves multimodal translation. In ´ Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 130–141, 2017.
|
| 197 |
+
|
| 198 |
+
Desmond Elliott, Stella Frank, and Eva Hasler. Multilingual image description with neural sequence models. arXiv preprint arXiv:1510.04709, 2015.
|
| 199 |
+
|
| 200 |
+
Desmond Elliott, Stella Frank, Khalil Sima’an, and Lucia Specia. Multi30k: Multilingual englishgerman image descriptions. In Proceedings of the 5th Workshop on Vision and Language, pp. 70–74, 2016.
|
| 201 |
+
|
| 202 |
+
Desmond Elliott, Stella Frank, Lo¨ıc Barrault, Fethi Bougares, and Lucia Specia. Findings of the second shared task on multimodal machine translation and multilingual image description. In Proceedings of the Second Conference on Machine Translation, pp. 215–233, 2017.
|
| 203 |
+
|
| 204 |
+
Marzieh Fadaee, Arianna Bisazza, and Christof Monz. Data augmentation for low-resource neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, pp. 567–573, 2017.
|
| 205 |
+
|
| 206 |
+
Jonas Gehring, Michael Auli, David Grangier, and Yann Dauphin. A convolutional encoder model for neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 123–135, 2017.
|
| 207 |
+
|
| 208 |
+
Stig-Arne Gronroos, Benoit Huet, Mikko Kurimo, Jorma Laaksonen, Bernard Merialdo, Phu Pham, ¨ Mats Sjoberg, Umut Sulubacak, J ¨ org Tiedemann, Raphael Troncy, et al. The memad submission ¨ to the wmt18 multimodal translation task. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 603–611, 2018.
|
| 209 |
+
|
| 210 |
+
Zellig S Harris. Distributional structure. Word, 10(2-3):146–162, 1954.
|
| 211 |
+
|
| 212 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
|
| 213 |
+
|
| 214 |
+
Jindˇrich Helcl, Jindˇrich Libovicky, and Dusan Varis. Cuni system for the wmt18 multimodal \` translation task. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 616–623, 2018.
|
| 215 |
+
|
| 216 |
+
Po-Yao Huang, Frederick Liu, Sz-Rung Shiang, Jean Oh, and Chris Dyer. Attention-based multimodal neural machine translation. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 639–645, 2016.
|
| 217 |
+
|
| 218 |
+
Julia Ive, Pranava Madhyastha, and Lucia Specia. Distilling translations with visual awareness. arXiv preprint arXiv:1906.07701, 2019.
|
| 219 |
+
|
| 220 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 221 |
+
|
| 222 |
+
Guillaume Lample, Myle Ott, Alexis Conneau, Ludovic Denoyer, et al. Phrase-based & neural unsupervised machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 5039–5049, 2018.
|
| 223 |
+
|
| 224 |
+
Jason Lee, Elman Mansimov, and Kyunghyun Cho. Deterministic -autoregressive neural sequence modeling by iterative refinement. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1173–1182, 2018.
|
| 225 |
+
|
| 226 |
+
Zuchao Li, Rui Wang, Kehai Chen, Masao Utiyama, Eiichiro Sumita, Zhuosheng Zhang, and Hai Zhao. Explicit sentence compression for neural machine translation. In Proceedings of the ThirtyFourth AAAI Conference on Artificial Intelligence, 2020a.
|
| 227 |
+
|
| 228 |
+
Zuchao Li, Rui Wang, Kehai Chen, Masao Utiyama, Eiichiro Sumita, Zhuosheng Zhang, and Hai Zhao. Data-dependent gaussian prior objective for language generation. In Eighth International Conference on Learning Representations, 2020b.
|
| 229 |
+
|
| 230 |
+
Jindˇrich Libovicky and Jind \` ˇrich Helcl. Attention strategies for multi-source sequence-to-sequence learning. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 196–202, 2017.
|
| 231 |
+
|
| 232 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014.
|
| 233 |
+
|
| 234 |
+
Xuezhe Ma, Chunting Zhou, Xian Li, Graham Neubig, and Eduard Hovy. Flowseq: Nonautoregressive conditional sequence generation with generative flow. 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. 4273–4283, 2019.
|
| 235 |
+
|
| 236 |
+
Junhua Mao, Wei Xu, Yi Yang, Jiang Wang, and Alan L Yuille. Explain images with multimodal recurrent neural networks. arXiv preprint arXiv:1410.1090, 2014.
|
| 237 |
+
|
| 238 |
+
Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), pp. 48–53, 2019.
|
| 239 |
+
|
| 240 |
+
Lucia Specia, Stella Frank, Khalil Sima’an, and Desmond Elliott. A shared task on multimodal machine translation and crosslingual image description. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 543–553, 2016.
|
| 241 |
+
|
| 242 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 5998–6008, 2017.
|
| 243 |
+
|
| 244 |
+
Subhashini Venugopalan, Marcus Rohrbach, Jeffrey Donahue, Raymond Mooney, Trevor Darrell, and Kate Saenko. Sequence to sequence-video to text. In Proceedings of the IEEE international conference on computer vision, pp. 4534–4542, 2015.
|
| 245 |
+
|
| 246 |
+
Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhudinov, Rich Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In International conference on machine learning, pp. 2048–2057, 2015.
|
| 247 |
+
|
| 248 |
+
Jingyi Zhang, Masao Utiyama, Eiichro Sumita, Graham Neubig, and Satoshi Nakamura. Nict-naist system for wmt17 multimodal translation task. In Proceedings of the Second Conference on Machine Translation, pp. 477–482, 2017.
|
| 249 |
+
|
| 250 |
+
Zhuosheng Zhang, Yuwei Wu, Hai Zhao, Zuchao Li, Shuailiang Zhang, Xi Zhou, and Xiang Zhou. Semantics-aware BERT for language understanding. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, 2020a.
|
| 251 |
+
|
| 252 |
+
Zhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan, Hai Zhao, and Rui Wang. SG-Net: Syntax-guided machine reading comprehension. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, 2020b.
|
| 253 |
+
|
| 254 |
+
Chunting Zhou, Xuezhe Ma, Junjie Hu, and Graham Neubig. Handling syntactic divergence in low-resource machine translation. arXiv preprint arXiv:1909.00040, 2019.
|
| 255 |
+
|
| 256 |
+
A APPENDIX
|
| 257 |
+
|
| 258 |
+
A.1 EXAMPLES OF RETRIEVED IMAGES
|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
Figure 5: Examples of the topic-image lookup table and retrieved images for sentences in Multi30K dataset. We only show six images for each topic or sentence for instance. The topics in each sentence are in boldface.
|
| 262 |
+
|
| 263 |
+
The old system of private arbitration courts is off the table
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
|
| 267 |
+
This issue is shaping as a potential early rift with the business community
|
| 268 |
+
|
| 269 |
+

|
| 270 |
+
|
| 271 |
+
He said he then heard his friend , Hamza calling to him
|
| 272 |
+
|
| 273 |
+

|
| 274 |
+
|
| 275 |
+
The red flag has been risen
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
|
| 279 |
+
The character attempts to pass human smugglers and then border police on his way to a refugee centre in the European Union .
|
| 280 |
+
|
| 281 |
+

|
| 282 |
+
Figure 6: Examples of the retrieved images for sentences in WMT datasets. We only show six images for each sentence for instance. The topics in each sentence are in boldface.
|
parse/train/Byl8hhNYPS/Byl8hhNYPS_content_list.json
ADDED
|
@@ -0,0 +1,1557 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "NEURAL MACHINE TRANSLATION WITH UNIVERSAL VISUAL REPRESENTATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
655,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Zhuosheng Zhang1,2,3, Kehai Chen4, Rui Wang4,∗, Masao Utiyama4, Eiichiro Sumita4, Zuchao Li1,2,3 , Hai Zhao1,2,3,∗ ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
790,
|
| 21 |
+
199
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1Department of Computer Science and Engineering, Shanghai Jiao Tong University 2Key Laboratory of Shanghai Education Commission for Intelligent Interaction and Cognitive Engineering, Shanghai Jiao Tong University, Shanghai, China 3MoE Key Lab of Artificial Intelligence, AI Institute, Shanghai Jiao Tong University 4National Institute of Information and Communications Technology (NICT), Kyoto, Japan zhangzs@sjtu.edu.cn, charlee@sjtu.edu.cn, zhaohai@cs.sjtu.edu.cn, {khchen, wangrui, mutiyama, eiichiro.sumita}@nict.go.jp ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
200,
|
| 31 |
+
781,
|
| 32 |
+
297
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
334,
|
| 43 |
+
544,
|
| 44 |
+
349
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Though visual information has been introduced for enhancing neural machine translation (NMT), its effectiveness strongly relies on the availability of large amounts of bilingual parallel sentence pairs with manual image annotations. In this paper, we present a universal visual representation learned over the monolingual corpora with image annotations, which overcomes the lack of largescale bilingual sentence-image pairs, thereby extending image applicability in NMT. In detail, a group of images with similar topics to the source sentence will be retrieved from a light topic-image lookup table learned over the existing sentence-image pairs, and then is encoded as image representations by a pretrained ResNet. An attention layer with a gated weighting is to fuse the visual information and text information as input to the decoder for predicting target translations. In particular, the proposed method enables the visual information to be integrated into large-scale text-only NMT in addition to the multimodal NMT. Experiments on four widely used translation datasets, including the WMT’16 English-to-Romanian, WMT’14 English-to-German, WMT’14 Englishto-French, and Multi30K, show that the proposed approach achieves significant improvements over strong baselines. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
366,
|
| 54 |
+
764,
|
| 55 |
+
602
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
630,
|
| 66 |
+
334,
|
| 67 |
+
646
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Visual information has been introduced for neural machine translation in some previous studies (NMT) (Specia et al., 2016; Elliott et al., 2017; Barrault et al., 2018; Ive et al., 2019) though the contribution of images is still an open question (Elliott, 2018; Caglayan et al., 2019). Typically, each bilingual (or multilingual) parallel sentence pair is annotated manually by one image describing the content of this sentence pair. The bilingual parallel corpora with manual image annotations are used to train a multimodal NMT model by an end-to-end framework, and results are reported on a specific data set, Multi30K (Calixto & Liu, 2017; Calixto et al., 2017). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
662,
|
| 77 |
+
825,
|
| 78 |
+
758
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "One strong point of the multimodal NMT model is the ability to use visual information to improve the quality of the target translation. However, the effectiveness heavily relies on the availability of bilingual parallel sentence pairs with manual image annotations, which hinders the image applicability to the NMT. As a result, the visual information is only applied to the translation task over a small and specific multimodal data set Multi30K (Elliott et al., 2016), but not to large-scale text-only NMT (Bahdanau et al., 2014; Gehring et al., 2017; Vaswani et al., 2017) and low-resource text-only NMT (Fadaee et al., 2017; Lample et al., 2018; Ma et al., 2019; Zhou et al., 2019). In addition, because of the high cost of annotation, the content of one bilingual parallel sentence pair is only represented by a single image, which is weak in capturing the diversity of visual information. The current situation of introducing visual information results in a bottleneck in the multimodal NMT and is not feasible for text-only NMT and low-resource NMT. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
766,
|
| 88 |
+
825,
|
| 89 |
+
849
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
823,
|
| 100 |
+
172
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "In this paper, we present a universal visual representation (VR) method1 relying only on image-monolingual annotations instead of the existing approach that depends on image-bilingual annotations, thus breaking the bottleneck of using visual information in NMT. In detail, we transform the existing sentence-image pairs into a topic-image lookup table from a small-scale multimodal data set Multi30K. During the training and decoding process, a group of images with a similar topic to the source sentence will be retrieved from the topic-image lookup table learned by the term frequency-inverse document frequency, and thus is encoded as image representations by a pretrained ResNet (He et al., 2016). A simple and effective attention layer is then designed to fuse the image representations and the original source sentence representations as input to the decoder for predicting target translations. In particular, the proposed approach can be easily integrated into the text-only NMT model without annotating large-scale bilingual parallel corpora. The proposed method was evaluated on four widely-used translation datasets, including the WMT’16 Englishto-Romanian, WMT’14 English-to-German, WMT’14 English-to-French, and Multi30K which are standard corpora for NMT and multimodal machine translation (MMT) evaluation. Experiments and analyses show effectiveness. In summary, our contributions are primarily three-fold: ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
181,
|
| 110 |
+
825,
|
| 111 |
+
388
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "1. We present a universal visual representation method that overcomes the shortcomings of the bilingual (or multilingual) parallel data with manual image annotations for MMT. \n2. The proposed method enables the text-only NMT to use the multimodality of visual information without annotating the existing large scale bilingual parallel data. \n3. Experiments on different scales of translation tasks verified the effectiveness and generality of the proposed approach. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
212,
|
| 120 |
+
402,
|
| 121 |
+
825,
|
| 122 |
+
506
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "2 RELATED WORK ",
|
| 129 |
+
"text_level": 1,
|
| 130 |
+
"bbox": [
|
| 131 |
+
176,
|
| 132 |
+
530,
|
| 133 |
+
344,
|
| 134 |
+
546
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "Building fine-grained representation with extra knowledge is an essential topic in language modeling (Li et al., 2020a;b; Zhang et al., 2020b;a), among which adopting visual modality could potentially benefit the machine with a more comprehensive perception of the real world. Inspired by the studies on the image description generation (IDG) task (Mao et al., 2014; Elliott et al., 2015; Venugopalan et al., 2015; Xu et al., 2015), a new shared translation task for multimodal machine translation was addressed by the machine translation community (Specia et al., 2016). In particular, the released dataset Multi30K (Elliott et al., 2016) includes 29,000 multilingual (English, German, and French) parallel sentence pairs with image annotations (Elliott et al., 2017; Barrault et al., 2018). Subsequently, there has been a rise in the number of studies (Caglayan et al., 2016; 2017; Calixto et al., 2016; Huang et al., 2016; Libovicky & Helcl, 2017; Helcl et al., 2018). For \\` example, Calixto et al. (2017) proposed a doubly-attentive multimodal NMT model to incorporate spatial-visual features, improving translation performance. Compared with spatial-visual features, Calixto & Liu (2017) further incorporated global image features as words in the source sentence and to enhance the encoder or decoder hidden state. In contrast, some recent studies indicated that the visual modality is either unnecessary (Zhang et al., 2017) or only marginally beneficial (Gronroos ¨ et al., 2018). More recently, Ive et al. (2019) showed that visual information is only needed in particular cases, such as for ambiguous words where the textual context is not sufficient. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
564,
|
| 144 |
+
825,
|
| 145 |
+
800
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "However, these approaches only center around a small and specific Multi30K data set to build a multimodal NMT model, which hinders image applicability to NMT. The reason would be the high cost of image annotations, resulting potentially in the image information not being adequately discovered. We believe that the capacity of MMT has not yet been excavated sufficiently, and there is still a long way to go before the potential of MMT is fully discovered. In this work, we seek to break this constraint and enable visual information to benefit NMT, especially text-only NMT. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
808,
|
| 155 |
+
823,
|
| 156 |
+
891
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "3 UNIVERSAL VISUAL RETRIEVAL ",
|
| 163 |
+
"text_level": 1,
|
| 164 |
+
"bbox": [
|
| 165 |
+
176,
|
| 166 |
+
102,
|
| 167 |
+
475,
|
| 168 |
+
118
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 2
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "table",
|
| 174 |
+
"img_path": "images/defc9f518dc7533012149235c5366d1974794c375d0f02385a9512b421bf3035.jpg",
|
| 175 |
+
"table_caption": [],
|
| 176 |
+
"table_footnote": [],
|
| 177 |
+
"table_body": "<table><tr><td colspan=\"2\">Algorithm1 Topic-image Lookup Table Conversion Algorithm</td></tr><tr><td>Require: Input sentences, S= {Xi, X2,... X1} and paired images E = {e1,e2,...,e1} 1:Obtain the TF-IDF dictionary F= TF-IDF(S) 2: 3: procedure TF-IDF(S)</td><td>Ensure: Topic-image lookup table Q where each word is associated with a group of images Transform sentence-image pair to topic-image lookup table Q= LookUp(S,E,F)</td></tr><tr><td>4: for each sentence in S do 5: end for</td><td>Filter stop-words in the sentence</td></tr><tr><td>6:</td><td>Calculate the TF-IDF weight for each word</td></tr><tr><td>7: 8:</td><td></td></tr><tr><td>9:</td><td></td></tr><tr><td></td><td>return TF-IDF dictionary F</td></tr><tr><td>10:</td><td>end procedure</td></tr><tr><td>11:</td><td>procedure LOOKUP(S,E,F)</td></tr><tr><td>12:</td><td>for For each pair{Ti,ei} ∈zip{S,E}do</td></tr><tr><td></td><td>Rank and pick out the top-w“topic” words in the sentence according to the TF-IDF</td></tr><tr><td>13:</td><td>score in the dictionary F,and each sentence is reformed as T= {t1,t2,...,tw}</td></tr><tr><td>14:</td><td>Pair the w words with the corresponding image ei</td></tr><tr><td>15:</td><td>for For each word tjin T do</td></tr><tr><td></td><td>if ei not in Q[tj] then</td></tr><tr><td>16:</td><td></td></tr><tr><td>17:</td><td>Add ej to the corresponding image set Q[tj] for word t j</td></tr><tr><td>18:</td><td>end if</td></tr><tr><td></td><td></td></tr><tr><td>19:</td><td>end for</td></tr><tr><td></td><td></td></tr><tr><td>20:</td><td>end for</td></tr><tr><td></td><td></td></tr><tr><td>21:</td><td>return Topic-image lookup table Q</td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td>end procedure</td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
135,
|
| 181 |
+
826,
|
| 182 |
+
492
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "In this section, we will introduce the proposed universal visual representation method. Generally, the default input setting of the MMT is a sentence-image pair. Our basic intuition is to transform the existing sentence-image pairs into topic-image lookup table2, which assumes the topic words in a sentence should be relevant to the paired image. Consequently, a sentence can possess a group of images by retrieving the topic-image lookup table. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
508,
|
| 192 |
+
825,
|
| 193 |
+
579
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Topic-image Lookup Table Conversion To focus on the major part of the sentence and suppress the noise such as stopwords and low-frequency words, we design a filtering method to extract the “topic” words of the sentence through the term frequency-inverse document frequency $( \\mathrm { T F - I D F } ) ^ { 3 }$ inspired by Chen et al. (2019). Specifically, given an original input sentence $X = \\{ x _ { 1 } , x _ { 2 } , \\dots , x _ { I } \\}$ of length $I$ and its paired image $e$ , $X$ is first filtered by a stopword list4 and then the sentence is treated as a document $g$ . We then compute TF-IDF $T I _ { i , j }$ for each word $x _ { i }$ in $g$ , ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
593,
|
| 203 |
+
825,
|
| 204 |
+
678
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "equation",
|
| 210 |
+
"img_path": "images/5e6adfd4a11803de2c3e651c913f01404a6b2137ee63c87007ff743efb324361.jpg",
|
| 211 |
+
"text": "$$\nT I _ { i , j } = \\frac { o _ { i , j } } { \\sum _ { k } o _ { k , j } } \\times \\log \\frac { | { G } | } { 1 + | { j } : { x } _ { i } \\in { g } | } ,\n$$",
|
| 212 |
+
"text_format": "latex",
|
| 213 |
+
"bbox": [
|
| 214 |
+
364,
|
| 215 |
+
681,
|
| 216 |
+
632,
|
| 217 |
+
717
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "where $o _ { i , j }$ represents the number of occurrences of the word $x _ { i }$ in the input sentence $g$ , $| G |$ the total number of source language sentences in the training data, and $| j : x _ { i } \\in g |$ the number of source sentences including word $x _ { i }$ in the training data. We then select the top- $w$ high TF-IDF words as the new image description $T = \\{ t _ { 1 } , t _ { 2 } , \\dots , t _ { w } \\}$ for the input sentence $X$ . After preprocessing, each filtered sentence $T$ is paired with an image $e$ , and each word $t _ { i } \\in T$ is regarded as the topic word for image $e$ . After processing the whole corpus (i.e., Multi30K), we form a topic-image lookup table $\\mathcal { Q }$ as described in Algorithm 1, in which each topic word $t _ { i }$ would be paired with dozens of images. ",
|
| 224 |
+
"bbox": [
|
| 225 |
+
173,
|
| 226 |
+
719,
|
| 227 |
+
825,
|
| 228 |
+
819
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "Image Retrieval For the input sentence, we first obtain its topic words according to the text preprocessing method described above. Then we retrieve the associated images for each topic word from the lookup table $\\mathcal { Q }$ and group all the retrieved images together to form an image list $\\mathcal { G }$ . We observe that an image might be associated with multiple topic words so that it would occur multiple times in the list $\\mathcal { G }$ . Therefore, we sort the images according to the frequency of occurrences in $\\mathcal { G }$ to maintain the total number of images for each sentence at $m$ . ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
832,
|
| 238 |
+
821,
|
| 239 |
+
861
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "image",
|
| 245 |
+
"img_path": "images/ec6ef9a373972526443f987670429f17c4cfcb962c73244ef05b7230b637fbcc.jpg",
|
| 246 |
+
"image_caption": [
|
| 247 |
+
"Figure 1: Illustration of the proposed visual retrieval. "
|
| 248 |
+
],
|
| 249 |
+
"image_footnote": [],
|
| 250 |
+
"bbox": [
|
| 251 |
+
176,
|
| 252 |
+
102,
|
| 253 |
+
823,
|
| 254 |
+
333
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 3
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "",
|
| 261 |
+
"bbox": [
|
| 262 |
+
174,
|
| 263 |
+
409,
|
| 264 |
+
825,
|
| 265 |
+
463
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 3
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "Figure 1 illustrates the retrieval process5. In the left block, we show six examples of sentence-image pairs in which the topic words are in boldface. Then we process the corpus using the topic-image transformation method demonstrated above and obtain the topic-image lookup table. For example, the word dog is associated with 1,512 images. For an input source sentence, we obtain the topic words (in boldface) using the same preprocessing. Then we retrieve the corresponding images from the lookup table for each topic word. Now we have a list of images, and some images appear multiple times as they have various topics (like the boxed image in Figure 1). So we sort the retrieved image list by the count of occurrence to pick out the top- $m$ images that cover the most topics of the sentence. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
173,
|
| 274 |
+
469,
|
| 275 |
+
825,
|
| 276 |
+
595
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 3
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "At test time, the process of getting images is done using the image lookup table built by the training set, so we do not need to use the images from the dev and test sets in Multi30K dataset6. Intuitively, we do not strictly require the manual alignment of the word (or concept) and image, but rely on the co-occurrence of topic word and image, which is simpler and more general. In this way, we call our method as universal visual retrieval. ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
603,
|
| 286 |
+
825,
|
| 287 |
+
672
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "4 NMT WITH UNIVERSAL VISUAL REPRESENTATION ",
|
| 294 |
+
"text_level": 1,
|
| 295 |
+
"bbox": [
|
| 296 |
+
174,
|
| 297 |
+
694,
|
| 298 |
+
630,
|
| 299 |
+
710
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 3
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "In this section, we introduce the proposed universal visual representation (VR) method for NMT. \nThe overview of the framework of our proposed method is shown in Figure 2. ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
171,
|
| 308 |
+
727,
|
| 309 |
+
821,
|
| 310 |
+
755
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "4.1 SOURCE REPRESENTATION FOR NEURAL MACHINE TRANSLATION ",
|
| 317 |
+
"text_level": 1,
|
| 318 |
+
"bbox": [
|
| 319 |
+
174,
|
| 320 |
+
773,
|
| 321 |
+
673,
|
| 322 |
+
789
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 3
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "In the state-of-the-art Transformer-based NMT (Vaswani et al., 2017), source information is encoded as source representation by an SAN-based encoder with multiple layers. Specifically, the encoder is composed of a stack of $L$ identical layers, each of which includes two sub-layers. The first sublayer is a self-attention module, whereas the second is a position-wise, fully connected feed-forward network. A residual connection (He et al., 2016) is applied between the two sub-layers, and then a layer normalization (Ba et al., 2016) is performed. Formally, the stack of learning the source representation is organized as follows: ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
174,
|
| 331 |
+
801,
|
| 332 |
+
825,
|
| 333 |
+
871
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "image",
|
| 339 |
+
"img_path": "images/c4aaf77a9b3f70bdd6db859235887c88b50e0497f0bb88b7a5d30fb871a689b9.jpg",
|
| 340 |
+
"image_caption": [
|
| 341 |
+
"Figure 2: Overview of the framework of our proposed method. "
|
| 342 |
+
],
|
| 343 |
+
"image_footnote": [],
|
| 344 |
+
"bbox": [
|
| 345 |
+
196,
|
| 346 |
+
108,
|
| 347 |
+
797,
|
| 348 |
+
464
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 4
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
527,
|
| 358 |
+
823,
|
| 359 |
+
556
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 4
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/cc0b3aa12284535f464095aa3124201fde3ed32ba427b49331568468b9474b0d.jpg",
|
| 366 |
+
"text": "$$\n\\begin{array} { r l } & { \\overline { { \\mathbf { H } } } ^ { l } = \\mathrm { L N } ( \\mathrm { A T T } ^ { l } ( \\mathbf { Q } ^ { l - 1 } , \\mathbf { K } ^ { l - 1 } , \\mathbf { V } ^ { l - 1 } ) + \\mathbf { H } ^ { l - 1 } ) , } \\\\ & { \\mathbf { H } ^ { l } = \\mathrm { L N } ( \\mathrm { F F N } ^ { l } ( \\overline { { \\mathbf { H } } } ^ { l } ) + \\overline { { \\mathbf { H } } } ^ { l } ) , } \\end{array}\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
346,
|
| 370 |
+
563,
|
| 371 |
+
648,
|
| 372 |
+
612
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 4
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "where $\\mathrm { A T T } ^ { l } ( \\cdot ) , \\mathrm { L N } ( \\cdot )$ , and $\\mathrm { F F N } ^ { l } ( \\cdot )$ are the attention module, layer normalization, and the feedforward network for the $l$ -th identical layer, respectively. $\\{ \\mathbf { Q } ^ { l - 1 } , \\mathbf { K } ^ { l - 1 } , \\mathbf { V } ^ { l - 1 } \\}$ are query, key, and value vectors that are transformed from the (l-1)-th layer $\\mathbf { H } ^ { l - 1 }$ . For example, $\\{ Q ^ { 0 } , K ^ { 0 } , V ^ { 0 } \\}$ are packed from the summation $\\mathbf { H } ^ { 0 }$ of the positional embeddings and word embeddings. Finally, the output of the stack of $L$ identical layers $\\mathbf { \\bar { H } } ^ { L }$ is the final source sentence representation. ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
173,
|
| 381 |
+
618,
|
| 382 |
+
825,
|
| 383 |
+
696
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 4
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "4.2 AGGREGATION FOR TEXT AND IMAGE REPRESENTATIONS ",
|
| 390 |
+
"text_level": 1,
|
| 391 |
+
"bbox": [
|
| 392 |
+
173,
|
| 393 |
+
714,
|
| 394 |
+
616,
|
| 395 |
+
729
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 4
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "After retrieval as described in Section 3, each original sentence $X ~ = ~ \\{ x _ { 1 } , x _ { 2 } , \\ldots , x _ { I } \\}$ is paired with $m$ images $E = \\{ e _ { 1 } , e _ { 2 } , \\ldots , e _ { m } \\}$ retrieved from the topic-image lookup table $\\mathcal { Q }$ . First, the source sentence $X { = } \\{ x _ { 1 } , x _ { 2 } , \\ldots , x _ { I } \\}$ is fed into the encoder (Eq.2) to learn the source sentence representation $\\mathbf { H } ^ { L }$ . Second, the images $E = \\{ e _ { 1 } , e _ { 2 } , \\dots , e _ { m } \\}$ are the inputs to a pre-trained ResNet (He et al., 2016) followed by a feed forward layer to learn the source image representation $t e x t M \\in$ $R ^ { m \\times 2 0 4 8 }$ . Then, we apply an attention mechanism7 to append the image representation to the text representation: ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
173,
|
| 404 |
+
741,
|
| 405 |
+
825,
|
| 406 |
+
842
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 4
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "equation",
|
| 412 |
+
"img_path": "images/185e5439db35160603490c27b9c92a26ad5c51777553cad91e3658049e84e79b.jpg",
|
| 413 |
+
"text": "$$\n\\begin{array} { r } { \\overline { { \\mathscr { H } } } = \\mathrm { A T T } _ { \\mathcal { M } } ( \\mathbf { H } ^ { L } , \\mathbf { K } _ { \\mathcal { M } } , \\mathbf { V } _ { \\mathcal { M } } ) , } \\end{array}\n$$",
|
| 414 |
+
"text_format": "latex",
|
| 415 |
+
"bbox": [
|
| 416 |
+
400,
|
| 417 |
+
859,
|
| 418 |
+
596,
|
| 419 |
+
878
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 4
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "where $\\{ \\mathbf { K } _ { \\mathcal { M } } , \\mathbf { V } _ { \\mathcal { M } } \\}$ are packed from the learned source image representation $\\mathbf { \\mathcal { M } }$ ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
174,
|
| 428 |
+
883,
|
| 429 |
+
702,
|
| 430 |
+
898
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 4
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "Intuitively, NMT aims to produce a target word sequence with the same meaning as the source sentence rather than a group of images. In other words, the image information may play an auxiliary effect during the translation prediction. Therefore, we compute $\\lambda \\in [ 0 , 1 ]$ to weight the expected importance of source image representation for each source word: ",
|
| 437 |
+
"bbox": [
|
| 438 |
+
174,
|
| 439 |
+
103,
|
| 440 |
+
823,
|
| 441 |
+
160
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 5
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "equation",
|
| 447 |
+
"img_path": "images/d444fefa305388b408ca9b6a434b610fc66bd2b15a1e0d9cd3bec9bd1acc68aa.jpg",
|
| 448 |
+
"text": "$$\n\\lambda = \\mathrm { s i g m o i d } ( \\mathbf { W } _ { \\lambda } \\overline { { \\pmb { \\mathscr { H } } } } + \\mathbf { U } _ { \\lambda } \\mathbf { H } ^ { L } ) ,\n$$",
|
| 449 |
+
"text_format": "latex",
|
| 450 |
+
"bbox": [
|
| 451 |
+
393,
|
| 452 |
+
166,
|
| 453 |
+
602,
|
| 454 |
+
185
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 5
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "where $\\mathbf { W } _ { \\lambda }$ and $\\mathbf { U } _ { \\lambda }$ are model parameters. We then fuse $\\mathbf { H } ^ { L }$ and $\\overline { { \\mathcal { H } } }$ to learn an effective source representation: ",
|
| 461 |
+
"bbox": [
|
| 462 |
+
173,
|
| 463 |
+
191,
|
| 464 |
+
823,
|
| 465 |
+
220
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 5
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "equation",
|
| 471 |
+
"img_path": "images/c8ad9ce2aeb2b3a0bda97c9e25e990f4b12208e45970b8458cae5e2b3e5055e6.jpg",
|
| 472 |
+
"text": "$$\n\\pmb { \\mathcal { H } } = \\mathbf { H } ^ { L } + \\lambda \\overline { { \\pmb { \\mathcal { H } } } } .\n$$",
|
| 473 |
+
"text_format": "latex",
|
| 474 |
+
"bbox": [
|
| 475 |
+
441,
|
| 476 |
+
219,
|
| 477 |
+
555,
|
| 478 |
+
237
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 5
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "Finally, $\\varkappa$ is fed to the decoder to learn a dependent-time context vector for predicting target translation. Note that there is a single aggregation layer to fuse image and text information. ",
|
| 485 |
+
"bbox": [
|
| 486 |
+
171,
|
| 487 |
+
241,
|
| 488 |
+
825,
|
| 489 |
+
270
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 5
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "5 EXPERIMENTS ",
|
| 496 |
+
"text_level": 1,
|
| 497 |
+
"bbox": [
|
| 498 |
+
176,
|
| 499 |
+
290,
|
| 500 |
+
326,
|
| 501 |
+
306
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 5
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "5.1 DATA ",
|
| 508 |
+
"text_level": 1,
|
| 509 |
+
"bbox": [
|
| 510 |
+
174,
|
| 511 |
+
320,
|
| 512 |
+
254,
|
| 513 |
+
335
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 5
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "The proposed method was evaluated on four widely-used translation datasets, including WMT’16 English-to-Romanian (EN-RO), WMT’14 English-to-German (EN-DE), WMT’14 English-toFrench (EN-DE), and Multi30K which are standard corpora for NMT and MMT evaluation. ",
|
| 520 |
+
"bbox": [
|
| 521 |
+
174,
|
| 522 |
+
347,
|
| 523 |
+
825,
|
| 524 |
+
388
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 5
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "1) For the EN-RO task, we experimented with the officially provided parallel corpus: Europarl v7 and SETIMES2 from WMT’16 with 0.6M sentence pairs. We used newsdev2016 as the dev set and newstest2016 as the test set. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
176,
|
| 533 |
+
395,
|
| 534 |
+
825,
|
| 535 |
+
438
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "2) For the EN-DE translation task, 4.43M bilingual sentence pairs of the WMT14 dataset were used as training data, including Common Crawl, News Commentary, and Europarl v7. The newstest2013 and newstest2014 datasets were used as the dev set and test set, respectively. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
444,
|
| 545 |
+
825,
|
| 546 |
+
487
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 5
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "3) For the EN-FR translation task, 36M bilingual sentence pairs from the WMT14 dataset were used as training data. Newstest12 and newstest13 were combined for validation and newstest14 was used as the test set, following the setting of Gehring et al. (2017). ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
493,
|
| 556 |
+
825,
|
| 557 |
+
536
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 5
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "4) The Multi30K dataset contains 29K English {German, French} parallel sentence pairs with visual annotations. The 1,014 English {German, French $\\}$ sentence pairs visual annotations are as dev set. The test sets are test2016 and test2017 with 1,000 pairs for each. ",
|
| 564 |
+
"bbox": [
|
| 565 |
+
174,
|
| 566 |
+
542,
|
| 567 |
+
825,
|
| 568 |
+
585
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 5
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "5.2 SYSTEM SETTING ",
|
| 575 |
+
"text_level": 1,
|
| 576 |
+
"bbox": [
|
| 577 |
+
176,
|
| 578 |
+
602,
|
| 579 |
+
338,
|
| 580 |
+
616
|
| 581 |
+
],
|
| 582 |
+
"page_idx": 5
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"type": "text",
|
| 586 |
+
"text": "Image Retrieval Implementation We used 29,000 sentence-image pairs from Multi30K to build the topic-image lookup table. We segmented the sentences using the same BPE vocabulary as that for each source language. We selected top-8 $\\omega = 8$ ) high TF-IDF words, and the default number of images $m$ was set 5. The detailed case study is shown in Section 6.2. After preprocessing, we had about 3K topic words, associated with a total of 10K images for retrieval. Image features were extracted from the averaged pooled features of a pre-trained ResNet50 CNN (He et al., 2016). This led to feature maps V ∈ R2048. ",
|
| 587 |
+
"bbox": [
|
| 588 |
+
173,
|
| 589 |
+
627,
|
| 590 |
+
825,
|
| 591 |
+
726
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "Baseline Our baseline was text-only Transformer (Vaswani et al., 2017). We used six layers for the encoder and the decoder. The number of dimensions of all input and output layers was set to 512 and 1024 for base and big models. The inner feed-forward neural network layer was set to 2048. The heads of all multi-head modules were set to eight in both encoder and decoder layers. For the Multi30K dataset, we further evaluated a multimodal baseline (denoted as MMT) where each source sentence was paired with an original image. The other settings were the same as our proposed model. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
741,
|
| 601 |
+
825,
|
| 602 |
+
838
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 5
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Model Implementation The byte pair encoding algorithm was adopted, and the size of the vocabulary was set to 40,000. In each training batch, a set of sentence pairs contained approximately $4 0 9 6 \\times 4$ source tokens and $4 0 9 6 \\times 4$ target tokens. During training, the value of label smoothing was set to 0.1, and the attention dropout and residual dropout were $p = 0 . 1$ . We used Adam optimizer (Kingma & Ba, 2014) to tune the parameters of the model. The learning rate was varied ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
854,
|
| 612 |
+
823,
|
| 613 |
+
924
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "table",
|
| 619 |
+
"img_path": "images/31ba0171280d6bb266d7f31e0843bfbed84ca390f0bb738fbd08fdee8047d1d3.jpg",
|
| 620 |
+
"table_caption": [],
|
| 621 |
+
"table_footnote": [],
|
| 622 |
+
"table_body": "<table><tr><td rowspan=\"2\">System</td><td rowspan=\"2\">Architecture</td><td colspan=\"2\">EN-RO</td><td colspan=\"2\">EN-DE</td><td colspan=\"2\">EN-FR</td></tr><tr><td>BLEU #Param</td><td>BLEU</td><td></td><td>#Param</td><td>BLEU</td><td>#Param</td></tr><tr><td colspan=\"7\">ExistingNMTsystems</td></tr><tr><td>Vaswani et al. (2017)</td><td>Trans.(base)</td><td>N/A</td><td>N/A</td><td>27.3</td><td>N/A</td><td>38.1</td><td>N/A</td></tr><tr><td></td><td>Trans.(big)</td><td>N/A</td><td>N/A</td><td>28.4</td><td>N/A</td><td>41.0</td><td>N/A</td></tr><tr><td>Lee et al. (2018)</td><td>Trans.(base)</td><td>32.40</td><td>N/A</td><td>24.57</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td colspan=\"8\">OurNMTsystems</td></tr><tr><td rowspan=\"4\">This work</td><td>Trans.(base)</td><td>32.66</td><td>61.54M</td><td>27.31</td><td>63.44M</td><td>38.52</td><td>63.83M</td></tr><tr><td>+VR</td><td>33.78++</td><td>63.04M</td><td>28.14++</td><td>64.94M</td><td>39.64++</td><td>65.33M</td></tr><tr><td>Trans. (big)</td><td>33.85</td><td>207.02M</td><td>28.45</td><td>210.88M</td><td>41.10</td><td>211.66M</td></tr><tr><td>+VR</td><td>34.46+</td><td>211.02M</td><td>29.14++</td><td>214.89M</td><td>41.83+</td><td>215.66M</td></tr></table>",
|
| 623 |
+
"bbox": [
|
| 624 |
+
176,
|
| 625 |
+
102,
|
| 626 |
+
825,
|
| 627 |
+
244
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 6
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "text",
|
| 633 |
+
"text": "Table 1: Results on EN-RO, EN-DE, and EN-FR for the NMT tasks. Trans. is short for transformer. N/A denotes that those numbers are not reported in the corresponding literature. $\" + + / + \"$ after the BLEU score indicate that the proposed method was significantly better than the corresponding baseline Transformer (base or big) at significance level $p { < } 0 . 0 1 / 0 . 0 5$ . ",
|
| 634 |
+
"bbox": [
|
| 635 |
+
173,
|
| 636 |
+
261,
|
| 637 |
+
825,
|
| 638 |
+
316
|
| 639 |
+
],
|
| 640 |
+
"page_idx": 6
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"type": "text",
|
| 644 |
+
"text": "under a warm-up strategy with 8,000 steps. For evaluation, we validated the model with an interval of 1,000 batches on the dev set. For the Multi30K dataset, we trained the model up to 10,000 steps, and the training was early-stopped if dev set BLEU score did not improve for ten epochs. For the ENDE, EN-RO, and EN-FR tasks, following the training of 200,000 batches, the model with the highest BLEU score of the dev set was selected to evaluate the test sets. During the decoding, the beam size was set to five. All models were trained and evaluated on a single V100 GPU. Multi-bleu.perl8 was used to compute case-sensitive 4-gram BLEU scores for all test sets. The signtest (Collins et al., 2005) is a standard statistical-significance test. In addition, we followed the model configurations of Vaswani et al. (2017) to train Big models for WMT EN-RO, EN-DE, and EN-FR translation tasks. All experiments were conducted with fairseq9 (Ott et al., 2019). The analysis in Section 6 is conducted on base models. ",
|
| 645 |
+
"bbox": [
|
| 646 |
+
173,
|
| 647 |
+
348,
|
| 648 |
+
825,
|
| 649 |
+
502
|
| 650 |
+
],
|
| 651 |
+
"page_idx": 6
|
| 652 |
+
},
|
| 653 |
+
{
|
| 654 |
+
"type": "text",
|
| 655 |
+
"text": "5.3 RESULTS ",
|
| 656 |
+
"text_level": 1,
|
| 657 |
+
"bbox": [
|
| 658 |
+
176,
|
| 659 |
+
525,
|
| 660 |
+
277,
|
| 661 |
+
540
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 6
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "text",
|
| 667 |
+
"text": "Table 1 shows the results for the WMT’14 EN-DE, EN-FR, and WMT’16 EN-RO translation tasks. Our implemented Transformer (base/big) models showed similar BLEU scores with the original Transformer (Vaswani et al., 2017), ensuring that the proposed method can be evaluated over strong baseline NMT systems. As seen, the proposed $+ \\mathrm { V R }$ significantly outperformed the baseline Transformer (base), demonstrating the effectiveness of modeling visual information for text-only NMT. In particular, the effectiveness was adapted to the translation tasks of the three language pairs, which have different scales of training data, verifying that the proposed approach is a universal method for improving translation performance. ",
|
| 668 |
+
"bbox": [
|
| 669 |
+
174,
|
| 670 |
+
554,
|
| 671 |
+
825,
|
| 672 |
+
666
|
| 673 |
+
],
|
| 674 |
+
"page_idx": 6
|
| 675 |
+
},
|
| 676 |
+
{
|
| 677 |
+
"type": "text",
|
| 678 |
+
"text": "Our method introduced only $1 . 5 \\mathbf { M }$ and $4 . 0 \\mathbf { M }$ parameters for the base and big transformers, respectively. The number is less than $3 \\%$ of the baseline parameters as we used the fixed image embeddings from the pre-trained ResNet feature extractor. Besides, the training time was basically the same as the baseline model (Section 6.4). ",
|
| 679 |
+
"bbox": [
|
| 680 |
+
174,
|
| 681 |
+
672,
|
| 682 |
+
825,
|
| 683 |
+
728
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 6
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "text",
|
| 689 |
+
"text": "In addition, the proposed method was also evaluated for MMT on the multimodal dataset, Multi30K. Results in Table 2 show that our model also outperformed the transformer baseline. Compared with the results in text-only NMT, we find that the image presentation gave marginal contribution, which was consistent with the findings in previous work (Zhang et al., 2017; Gronroos et al., 2018; ¨ Caglayan et al., 2019). The most plausible reason might be that the sentences in Multi30K are so simple, short, and repetitive that the source text is sufficient to perform the translation (Caglayan et al., 2019; Ive et al., 2019). This verifies our assumption of the current bottleneck of MMT due to the limitation of Multi30K and shows the necessity of our new setting of transferring multimodality into more standard and mature text-only NMT tasks. ",
|
| 690 |
+
"bbox": [
|
| 691 |
+
174,
|
| 692 |
+
736,
|
| 693 |
+
825,
|
| 694 |
+
861
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 6
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "table",
|
| 700 |
+
"img_path": "images/9174b9f74032debafeac17829500226aec57bfc9f7b9449831ed8598024e155d.jpg",
|
| 701 |
+
"table_caption": [],
|
| 702 |
+
"table_footnote": [],
|
| 703 |
+
"table_body": "<table><tr><td rowspan=\"2\">System</td><td rowspan=\"2\">Architecture</td><td colspan=\"3\">EN-DE</td><td colspan=\"3\">EN-FR</td></tr><tr><td>Test2016</td><td>Test2017</td><td>#Param</td><td>Test2016</td><td>Test2017</td><td>#Param</td></tr><tr><td colspan=\"8\">Existing NMTsystems</td></tr><tr><td>Calixto et al. (2017)</td><td>RNN</td><td>33.7</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td>Elliott et al. (2017)</td><td>RNN</td><td>N/A</td><td>19.3</td><td>N/A</td><td>N/A</td><td>44.3</td><td>N/A</td></tr><tr><td>Elliott & Kadar (2017)</td><td>Imagination</td><td>36.8</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td><td>N/A</td></tr><tr><td rowspan=\"2\">Ive et al. (2019)</td><td>Trans. (big)</td><td>36.4</td><td>N/A</td><td>N/A</td><td>59.0</td><td>N/A</td><td>N/A</td></tr><tr><td>Del</td><td>38.0</td><td>N/A</td><td>N/A</td><td>60.1</td><td>N/A</td><td>N/A</td></tr><tr><td colspan=\"8\">Our MMTsystems</td></tr><tr><td rowspan=\"6\">This work</td><td>MMT.(base)</td><td>35.09</td><td>27.10</td><td>50.72M</td><td>57.40</td><td>48.02</td><td>50.65M</td></tr><tr><td>MMT.(big)</td><td>35.60</td><td>28.02</td><td>190.58M</td><td>57.87</td><td>49.63</td><td>190.43M</td></tr><tr><td>Trans.(base)</td><td>35.59</td><td>26.31</td><td>49.15M</td><td>57.88</td><td>48.55</td><td>49.07M</td></tr><tr><td>+VR</td><td>35.72</td><td>26.87</td><td>50.72M</td><td>58.32</td><td>48.69</td><td>50.65M</td></tr><tr><td>Trans. (big)</td><td>36.86</td><td>27.62</td><td>186.38M</td><td>56.97</td><td>48.17</td><td>186.23M</td></tr><tr><td>+VR</td><td>36.94</td><td>28.63</td><td>190.58M</td><td>57.53</td><td>48.46</td><td>190.43M</td></tr></table>",
|
| 704 |
+
"bbox": [
|
| 705 |
+
176,
|
| 706 |
+
102,
|
| 707 |
+
823,
|
| 708 |
+
289
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 7
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "Table 2: Results from the test2016 and test2017 for the MMT task. Del denotes the deliberation network in (Ive et al., 2019). Elliott et al. (2017) is the official baseline (text-only NMT) on WMT17- Multi30K 2017 test data. Trans. is short for transformer and MMT is the multimodal baseline described in Section 5.2. Because we used the same model for test2016 and test2017 evaluation, the numbers of parameters are the same. ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
173,
|
| 717 |
+
304,
|
| 718 |
+
825,
|
| 719 |
+
375
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 7
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "6 ANALYSIS ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
174,
|
| 729 |
+
405,
|
| 730 |
+
290,
|
| 731 |
+
420
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 7
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "6.1 WHY DOES THE LOOKUP TABLE WORK ",
|
| 738 |
+
"text_level": 1,
|
| 739 |
+
"bbox": [
|
| 740 |
+
174,
|
| 741 |
+
439,
|
| 742 |
+
491,
|
| 743 |
+
454
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 7
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "The contribution of the lookup table could be two folds: 1) the content connection of the sentences and images; 2) the topic-aware co-occurrence of similar images and sentences. There are cases when paired images are not accurately related to the given sentence. A simple solution is to set a threshold heuristically for the TF-IDF retrieval to filter out the “improper” images. However, we maintain the specific number of the images in this work because of the second potential benefits of the cooccurrence, by taking images as diverse topic information. According to Distributional Hypothesis (Harris, 1954), which states that words that occur in similar contexts tend to have similar meanings, we are inspired to extend the concept in the multimodal world, the sentences with similar meanings would be likely to pair with similar even the same images. Therefore, the consistent images (with a related topic) could play the role of topic or type hints for similar sentence modeling. ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
174,
|
| 752 |
+
468,
|
| 753 |
+
825,
|
| 754 |
+
607
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 7
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "This is also very similar to the idea of word embedding by taking each image as a “word”. Because we use the average pooled output of ResNet, each image is represented as a 2400-d vector. For all the 29,000 images, we have an embedding layer with size (29000, 2400). The “content” of the image is regarded as the embedding initialization. It indeed makes effects, but the capacity of the neural network is not up to it. In contrast, the mapping from text word to the index in the word embedding is critical. Similarly, the mapping of sentence to image in image embedding would be essential, i.e., the similar sentences (with the same topic words) tend to map the same or similar image. ",
|
| 761 |
+
"bbox": [
|
| 762 |
+
174,
|
| 763 |
+
614,
|
| 764 |
+
825,
|
| 765 |
+
712
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 7
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "To verify the hypotheses, we replace our ResNet features with 1) Shuffle: shuffle the image features but keep the lookup table; 2) Random Init: randomly initialize the image embedding but keep the lookup table; 3) Random Mapping: randomly retrieve unrelated images. The BLEU scores are on EN-RO are 33.53, 33,28, 32.14, respectively. The results of 1-2 are close to the proposed VR (33.78) and outperform the baseline (32.66), which shows that the content of images would not be very important. The ablation 3) gives a lower result, which verifies the necessity of the mapping, especially the topic relationship. ",
|
| 772 |
+
"bbox": [
|
| 773 |
+
174,
|
| 774 |
+
718,
|
| 775 |
+
825,
|
| 776 |
+
816
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 7
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "6.2 INFLUENCE OF THE NUMBER OF IMAGES ",
|
| 783 |
+
"text_level": 1,
|
| 784 |
+
"bbox": [
|
| 785 |
+
178,
|
| 786 |
+
840,
|
| 787 |
+
493,
|
| 788 |
+
853
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 7
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "To evaluate the influence of the number of paired images $m$ , we constrained $m$ in $\\{ 0 , 1 , 3 , 5 , 7 , 9 ,$ $1 5 , 2 0 , 3 0 \\}$ for experiments on the EN-RO test set, as shown in Figure 4. When $m = 0$ , the model is the baseline NMT model, whose BLEU score was lower than all the models with images. As the number of images increases, the BLEU score also increased at the beginning (from 32.66 to 33.78) ",
|
| 795 |
+
"bbox": [
|
| 796 |
+
174,
|
| 797 |
+
867,
|
| 798 |
+
823,
|
| 799 |
+
924
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 7
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "and then slightly decreased when $m$ exceeds 5. The reason might be that too many images for a sentence would have a higher chance of noise. Therefore, we set $m = 5$ in our models. ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
173,
|
| 808 |
+
103,
|
| 809 |
+
823,
|
| 810 |
+
132
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 8
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "The number of sentence-image pairs to create the lookup table could also make effects. We randomly split the pairs of Multi30K into the proportion in [0.1, 0.3, 0.5, 0.7, 0.9], the corresponding BLEU scores for EN-RO are [33.07, 33.44, 34.01, 34.06, 33.80]. Furthermore, we also evaluate the performance by adding external sentence-pairs from the training set of MS COCO image caption dataset (Lin et al., 2014). The BLEU scores are 33.55 and 33.71, respectively, for COCO only and Mult $1 3 0 \\mathrm { K + C O C O }$ . These results indicate that a modest number of pairs would be beneficial. ",
|
| 817 |
+
"bbox": [
|
| 818 |
+
174,
|
| 819 |
+
138,
|
| 820 |
+
825,
|
| 821 |
+
223
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 8
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "6.3 THE INFLUENCE OF GATING WEIGHT λ",
|
| 828 |
+
"text_level": 1,
|
| 829 |
+
"bbox": [
|
| 830 |
+
174,
|
| 831 |
+
242,
|
| 832 |
+
480,
|
| 833 |
+
257
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 8
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "image",
|
| 839 |
+
"img_path": "images/4afe8a65f062ea1895711881c063117fba5d70ddc29a026e2c577a7da5e5e8cd.jpg",
|
| 840 |
+
"image_caption": [
|
| 841 |
+
"Figure 4: Influence of the number of images on the BLEU score. "
|
| 842 |
+
],
|
| 843 |
+
"image_footnote": [],
|
| 844 |
+
"bbox": [
|
| 845 |
+
183,
|
| 846 |
+
282,
|
| 847 |
+
491,
|
| 848 |
+
435
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 8
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "image",
|
| 854 |
+
"img_path": "images/2cf68d92dc3d17de00225cf8437e911eec88366d65a4a253c5cc7df8c22e8536.jpg",
|
| 855 |
+
"image_caption": [
|
| 856 |
+
"Figure 5: Quantitative study of the gating weight $\\lambda$ . "
|
| 857 |
+
],
|
| 858 |
+
"image_footnote": [],
|
| 859 |
+
"bbox": [
|
| 860 |
+
508,
|
| 861 |
+
281,
|
| 862 |
+
816,
|
| 863 |
+
425
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 8
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "In our model, the weight $\\lambda$ of the gated aggregation method was learned automatically to measure the importance of the visual information. We compared by manually setting the weight $\\lambda$ into scalar values in $\\{ 0 . 1 , 0 . 3 , 0 . 5 , 0 . 7 , 0 . 9 \\}$ for experiments on the EN-RO test set. Figure 5 shows that all models with manual $\\lambda$ outperformed the baseline Trans. (base), indicating the effectiveness of image information. In contrast, they were inferior to the performance of our model. This means that the degree of dependency for image information varies for each source sentence, indicating the necessity of automatically learning the gating weights of image representations. ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
174,
|
| 872 |
+
500,
|
| 873 |
+
825,
|
| 874 |
+
597
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 8
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "6.4 EXTRA COMPUTATION TIME ",
|
| 881 |
+
"text_level": 1,
|
| 882 |
+
"bbox": [
|
| 883 |
+
176,
|
| 884 |
+
616,
|
| 885 |
+
413,
|
| 886 |
+
631
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "There are mainly two extra computation costs using our method, including 1) obtaining image data for sentences and 2) learning image representations, which are negligible compared with training an NMT model. The time of obtaining image data for MT sentences for the EN-RO dataset is less than 1 minute using GPU. The lookup table is formed as the mapping of token (only topic words) index to image id. Then, the retrieval method is applied as the tensor indexing from the sentence token indices (only topic words) to image ids, which is the same as the procedure of word embedding. The retrieved image ids are then sorted by frequency. Learning image representations takes about 2 minutes for all the 29,000 images in Multi30K using 6G GPU memory for feature extraction and eight threads of CPU for transforming images. The extracted features are formed as the “image embedding layer” with the size of (29000, 2400) for quick access in the neural network. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
174,
|
| 895 |
+
643,
|
| 896 |
+
825,
|
| 897 |
+
784
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "7 CONCLUSION ",
|
| 904 |
+
"text_level": 1,
|
| 905 |
+
"bbox": [
|
| 906 |
+
176,
|
| 907 |
+
806,
|
| 908 |
+
318,
|
| 909 |
+
821
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 8
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "This work presents a universal visual representation method for neural machine translation relying on monolingual image annotations, which breaks the restraint of heavy dependency on bilingual sentence-image pairs in the current multimodal NMT setting. In particular, this method enables visual information to be applied to large-scale text-only NMT through a topic-image lookup. We hope this work sheds some light on future MMT research. In the future, we will try to adopt the proposed method for other tasks. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
174,
|
| 918 |
+
840,
|
| 919 |
+
825,
|
| 920 |
+
922
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 8
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "REFERENCES ",
|
| 927 |
+
"text_level": 1,
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
102,
|
| 931 |
+
287,
|
| 932 |
+
118
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 9
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
173,
|
| 941 |
+
126,
|
| 942 |
+
823,
|
| 943 |
+
155
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 9
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
171,
|
| 952 |
+
165,
|
| 953 |
+
823,
|
| 954 |
+
195
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 9
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Lo¨ıc Barrault, Fethi Bougares, Lucia Specia, Chiraag Lala, Desmond Elliott, and Stella Frank. Findings of the third shared task on multimodal machine translation. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 304–323, 2018. ",
|
| 961 |
+
"bbox": [
|
| 962 |
+
176,
|
| 963 |
+
204,
|
| 964 |
+
821,
|
| 965 |
+
247
|
| 966 |
+
],
|
| 967 |
+
"page_idx": 9
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"type": "text",
|
| 971 |
+
"text": "Ozan Caglayan, Lo¨ıc Barrault, and Fethi Bougares. Multimodal attention for neural machine translation. arXiv preprint arXiv:1609.03976, 2016. ",
|
| 972 |
+
"bbox": [
|
| 973 |
+
173,
|
| 974 |
+
257,
|
| 975 |
+
821,
|
| 976 |
+
286
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 9
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "Ozan Caglayan, Walid Aransa, Adrien Bardet, Mercedes Garc´ıa-Mart´ınez, Fethi Bougares, Lo¨ıc Barrault, Marc Masana, Luis Herranz, and Joost van de Weijer. Lium-cvc submissions for wmt17 multimodal translation task. In Proceedings of the Second Conference on Machine Translation, pp. 432–439, 2017. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
173,
|
| 985 |
+
296,
|
| 986 |
+
826,
|
| 987 |
+
353
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 9
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Ozan Caglayan, Pranava Swaroop Madhyastha, Lucia Specia, and Lo¨ıc Barrault. Probing the need for visual context in multimodal machine translation. 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. 4159–4170, 2019. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
173,
|
| 996 |
+
363,
|
| 997 |
+
826,
|
| 998 |
+
420
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 9
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Iacer Calixto and Qun Liu. Incorporating global visual features into attention-based neural machine translation. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 992–1003, 2017. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
176,
|
| 1007 |
+
430,
|
| 1008 |
+
823,
|
| 1009 |
+
473
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 9
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Iacer Calixto, Desmond Elliott, and Stella Frank. Dcu-uva multimodal mt system report. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 634–638, 2016. ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
173,
|
| 1018 |
+
483,
|
| 1019 |
+
826,
|
| 1020 |
+
526
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 9
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Iacer Calixto, Qun Liu, and Nick Campbell. Doubly-attentive decoder for multi-modal neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1913–1924, 2017. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
173,
|
| 1029 |
+
536,
|
| 1030 |
+
825,
|
| 1031 |
+
580
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 9
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Kehai Chen, Rui Wang, Masao Utiyama, Eiichiro Sumita, and Tiejun Zhao. Neural machine translation with sentence-level topic context. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 2019. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
173,
|
| 1040 |
+
588,
|
| 1041 |
+
825,
|
| 1042 |
+
632
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "Michael Collins, Philipp Koehn, and Ivona Kucerova. Clause restructuring for statistical machine translation. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics, Ann Arbor, Michigan, 2005. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
642,
|
| 1052 |
+
825,
|
| 1053 |
+
685
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 9
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "Desmond Elliott. Adversarial evaluation of multimodal machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2974–2978, 2018. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
171,
|
| 1062 |
+
695,
|
| 1063 |
+
823,
|
| 1064 |
+
724
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Desmond Elliott and Akos K ´ ad´ ar. Imagination improves multimodal translation. In ´ Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 130–141, 2017. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
173,
|
| 1073 |
+
734,
|
| 1074 |
+
825,
|
| 1075 |
+
780
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Desmond Elliott, Stella Frank, and Eva Hasler. Multilingual image description with neural sequence models. arXiv preprint arXiv:1510.04709, 2015. ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
171,
|
| 1084 |
+
789,
|
| 1085 |
+
823,
|
| 1086 |
+
818
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 9
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "Desmond Elliott, Stella Frank, Khalil Sima’an, and Lucia Specia. Multi30k: Multilingual englishgerman image descriptions. In Proceedings of the 5th Workshop on Vision and Language, pp. 70–74, 2016. ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
173,
|
| 1095 |
+
828,
|
| 1096 |
+
823,
|
| 1097 |
+
871
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 9
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Desmond Elliott, Stella Frank, Lo¨ıc Barrault, Fethi Bougares, and Lucia Specia. Findings of the second shared task on multimodal machine translation and multilingual image description. In Proceedings of the Second Conference on Machine Translation, pp. 215–233, 2017. ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
174,
|
| 1106 |
+
881,
|
| 1107 |
+
825,
|
| 1108 |
+
924
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 9
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Marzieh Fadaee, Arianna Bisazza, and Christof Monz. Data augmentation for low-resource neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, pp. 567–573, 2017. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
176,
|
| 1117 |
+
103,
|
| 1118 |
+
823,
|
| 1119 |
+
146
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 10
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Jonas Gehring, Michael Auli, David Grangier, and Yann Dauphin. A convolutional encoder model for neural machine translation. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 123–135, 2017. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
176,
|
| 1128 |
+
154,
|
| 1129 |
+
823,
|
| 1130 |
+
198
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 10
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "Stig-Arne Gronroos, Benoit Huet, Mikko Kurimo, Jorma Laaksonen, Bernard Merialdo, Phu Pham, ¨ Mats Sjoberg, Umut Sulubacak, J ¨ org Tiedemann, Raphael Troncy, et al. The memad submission ¨ to the wmt18 multimodal translation task. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 603–611, 2018. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
205,
|
| 1140 |
+
825,
|
| 1141 |
+
262
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 10
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Zellig S Harris. Distributional structure. Word, 10(2-3):146–162, 1954. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
173,
|
| 1150 |
+
270,
|
| 1151 |
+
640,
|
| 1152 |
+
286
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 10
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
174,
|
| 1161 |
+
294,
|
| 1162 |
+
826,
|
| 1163 |
+
337
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 10
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Jindˇrich Helcl, Jindˇrich Libovicky, and Dusan Varis. Cuni system for the wmt18 multimodal \\` translation task. In Proceedings of the Third Conference on Machine Translation: Shared Task Papers, pp. 616–623, 2018. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
174,
|
| 1172 |
+
345,
|
| 1173 |
+
826,
|
| 1174 |
+
388
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 10
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "Po-Yao Huang, Frederick Liu, Sz-Rung Shiang, Jean Oh, and Chris Dyer. Attention-based multimodal neural machine translation. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 639–645, 2016. ",
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
173,
|
| 1183 |
+
397,
|
| 1184 |
+
825,
|
| 1185 |
+
439
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 10
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "Julia Ive, Pranava Madhyastha, and Lucia Specia. Distilling translations with visual awareness. arXiv preprint arXiv:1906.07701, 2019. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
171,
|
| 1194 |
+
448,
|
| 1195 |
+
823,
|
| 1196 |
+
477
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 10
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
173,
|
| 1205 |
+
486,
|
| 1206 |
+
823,
|
| 1207 |
+
513
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 10
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Guillaume Lample, Myle Ott, Alexis Conneau, Ludovic Denoyer, et al. Phrase-based & neural unsupervised machine translation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 5039–5049, 2018. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
173,
|
| 1216 |
+
522,
|
| 1217 |
+
825,
|
| 1218 |
+
565
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 10
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Jason Lee, Elman Mansimov, and Kyunghyun Cho. Deterministic -autoregressive neural sequence modeling by iterative refinement. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1173–1182, 2018. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
173,
|
| 1227 |
+
573,
|
| 1228 |
+
825,
|
| 1229 |
+
617
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 10
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Zuchao Li, Rui Wang, Kehai Chen, Masao Utiyama, Eiichiro Sumita, Zhuosheng Zhang, and Hai Zhao. Explicit sentence compression for neural machine translation. In Proceedings of the ThirtyFourth AAAI Conference on Artificial Intelligence, 2020a. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
173,
|
| 1238 |
+
625,
|
| 1239 |
+
825,
|
| 1240 |
+
667
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 10
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Zuchao Li, Rui Wang, Kehai Chen, Masao Utiyama, Eiichiro Sumita, Zhuosheng Zhang, and Hai Zhao. Data-dependent gaussian prior objective for language generation. In Eighth International Conference on Learning Representations, 2020b. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
174,
|
| 1249 |
+
676,
|
| 1250 |
+
823,
|
| 1251 |
+
719
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 10
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "Jindˇrich Libovicky and Jind \\` ˇrich Helcl. Attention strategies for multi-source sequence-to-sequence learning. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pp. 196–202, 2017. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
173,
|
| 1260 |
+
727,
|
| 1261 |
+
823,
|
| 1262 |
+
771
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 10
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
176,
|
| 1271 |
+
779,
|
| 1272 |
+
823,
|
| 1273 |
+
821
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 10
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Xuezhe Ma, Chunting Zhou, Xian Li, Graham Neubig, and Eduard Hovy. Flowseq: Nonautoregressive conditional sequence generation with generative flow. 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. 4273–4283, 2019. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
830,
|
| 1283 |
+
825,
|
| 1284 |
+
887
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 10
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Junhua Mao, Wei Xu, Yi Yang, Jiang Wang, and Alan L Yuille. Explain images with multimodal recurrent neural networks. arXiv preprint arXiv:1410.1090, 2014. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
895,
|
| 1294 |
+
821,
|
| 1295 |
+
924
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 10
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan Ng, David Grangier, and Michael Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations), pp. 48–53, 2019. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
174,
|
| 1304 |
+
103,
|
| 1305 |
+
826,
|
| 1306 |
+
160
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 11
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Lucia Specia, Stella Frank, Khalil Sima’an, and Desmond Elliott. A shared task on multimodal machine translation and crosslingual image description. In Proceedings of the First Conference on Machine Translation: Volume 2, Shared Task Papers, pp. 543–553, 2016. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
174,
|
| 1315 |
+
169,
|
| 1316 |
+
821,
|
| 1317 |
+
212
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 11
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"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 I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 5998–6008, 2017. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
173,
|
| 1326 |
+
219,
|
| 1327 |
+
825,
|
| 1328 |
+
276
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 11
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Subhashini Venugopalan, Marcus Rohrbach, Jeffrey Donahue, Raymond Mooney, Trevor Darrell, and Kate Saenko. Sequence to sequence-video to text. In Proceedings of the IEEE international conference on computer vision, pp. 4534–4542, 2015. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
285,
|
| 1338 |
+
823,
|
| 1339 |
+
329
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 11
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhudinov, Rich Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In International conference on machine learning, pp. 2048–2057, 2015. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
176,
|
| 1348 |
+
337,
|
| 1349 |
+
823,
|
| 1350 |
+
381
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 11
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Jingyi Zhang, Masao Utiyama, Eiichro Sumita, Graham Neubig, and Satoshi Nakamura. Nict-naist system for wmt17 multimodal translation task. In Proceedings of the Second Conference on Machine Translation, pp. 477–482, 2017. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
173,
|
| 1359 |
+
388,
|
| 1360 |
+
823,
|
| 1361 |
+
431
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 11
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Zhuosheng Zhang, Yuwei Wu, Hai Zhao, Zuchao Li, Shuailiang Zhang, Xi Zhou, and Xiang Zhou. Semantics-aware BERT for language understanding. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, 2020a. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
176,
|
| 1370 |
+
440,
|
| 1371 |
+
823,
|
| 1372 |
+
483
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 11
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Zhuosheng Zhang, Yuwei Wu, Junru Zhou, Sufeng Duan, Hai Zhao, and Rui Wang. SG-Net: Syntax-guided machine reading comprehension. In Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence, 2020b. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
178,
|
| 1381 |
+
492,
|
| 1382 |
+
823,
|
| 1383 |
+
535
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 11
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Chunting Zhou, Xuezhe Ma, Junjie Hu, and Graham Neubig. Handling syntactic divergence in low-resource machine translation. arXiv preprint arXiv:1909.00040, 2019. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
173,
|
| 1392 |
+
544,
|
| 1393 |
+
823,
|
| 1394 |
+
571
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 11
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "A APPENDIX ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
176,
|
| 1403 |
+
599,
|
| 1404 |
+
299,
|
| 1405 |
+
614
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 11
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "A.1 EXAMPLES OF RETRIEVED IMAGES ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
176,
|
| 1414 |
+
630,
|
| 1415 |
+
460,
|
| 1416 |
+
645
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 11
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "image",
|
| 1422 |
+
"img_path": "images/293a5463d7433f9fcf3db43d8f8e360e7f0c0a86cb0f1e2cbf762a4bcdf0de49.jpg",
|
| 1423 |
+
"image_caption": [
|
| 1424 |
+
"Figure 5: Examples of the topic-image lookup table and retrieved images for sentences in Multi30K dataset. We only show six images for each topic or sentence for instance. The topics in each sentence are in boldface. "
|
| 1425 |
+
],
|
| 1426 |
+
"image_footnote": [],
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
207,
|
| 1429 |
+
167,
|
| 1430 |
+
792,
|
| 1431 |
+
833
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 12
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "text",
|
| 1437 |
+
"text": "The old system of private arbitration courts is off the table ",
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
209,
|
| 1440 |
+
209,
|
| 1441 |
+
534,
|
| 1442 |
+
220
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 13
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "image",
|
| 1448 |
+
"img_path": "images/e5ba119ecb4055c44d9ac56f8f958a5bf101cbc9dfd928f44a8f71b79e2c460d.jpg",
|
| 1449 |
+
"image_caption": [],
|
| 1450 |
+
"image_footnote": [],
|
| 1451 |
+
"bbox": [
|
| 1452 |
+
209,
|
| 1453 |
+
226,
|
| 1454 |
+
787,
|
| 1455 |
+
316
|
| 1456 |
+
],
|
| 1457 |
+
"page_idx": 13
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"type": "text",
|
| 1461 |
+
"text": "This issue is shaping as a potential early rift with the business community ",
|
| 1462 |
+
"bbox": [
|
| 1463 |
+
207,
|
| 1464 |
+
327,
|
| 1465 |
+
630,
|
| 1466 |
+
339
|
| 1467 |
+
],
|
| 1468 |
+
"page_idx": 13
|
| 1469 |
+
},
|
| 1470 |
+
{
|
| 1471 |
+
"type": "image",
|
| 1472 |
+
"img_path": "images/42433a729a2739381d56bd5a48c8efe8b2f45ab2f7e88db467ebdf9f4a94fba9.jpg",
|
| 1473 |
+
"image_caption": [],
|
| 1474 |
+
"image_footnote": [],
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
209,
|
| 1477 |
+
347,
|
| 1478 |
+
787,
|
| 1479 |
+
435
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 13
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "He said he then heard his friend , Hamza calling to him ",
|
| 1486 |
+
"bbox": [
|
| 1487 |
+
209,
|
| 1488 |
+
445,
|
| 1489 |
+
521,
|
| 1490 |
+
457
|
| 1491 |
+
],
|
| 1492 |
+
"page_idx": 13
|
| 1493 |
+
},
|
| 1494 |
+
{
|
| 1495 |
+
"type": "image",
|
| 1496 |
+
"img_path": "images/3ef3ba5df5780e6c074b6b54dd18c1288a6010c367ada066a6c05dccf074ad88.jpg",
|
| 1497 |
+
"image_caption": [],
|
| 1498 |
+
"image_footnote": [],
|
| 1499 |
+
"bbox": [
|
| 1500 |
+
209,
|
| 1501 |
+
467,
|
| 1502 |
+
789,
|
| 1503 |
+
555
|
| 1504 |
+
],
|
| 1505 |
+
"page_idx": 13
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"type": "text",
|
| 1509 |
+
"text": "The red flag has been risen ",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
209,
|
| 1512 |
+
564,
|
| 1513 |
+
364,
|
| 1514 |
+
575
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 13
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "image",
|
| 1520 |
+
"img_path": "images/feaeea2efe7f95fcdd779fa0dfcbc2340d2b06448715b7e1cbee82ec6754e002.jpg",
|
| 1521 |
+
"image_caption": [],
|
| 1522 |
+
"image_footnote": [],
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
209,
|
| 1525 |
+
585,
|
| 1526 |
+
789,
|
| 1527 |
+
674
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 13
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "The character attempts to pass human smugglers and then border police on his way to a refugee centre in the European Union . ",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
209,
|
| 1536 |
+
683,
|
| 1537 |
+
764,
|
| 1538 |
+
705
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 13
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "image",
|
| 1544 |
+
"img_path": "images/6a2a396fc01022d989bc1aaf0e76e67498ceb7789654193b875e7f01d6cafe83.jpg",
|
| 1545 |
+
"image_caption": [
|
| 1546 |
+
"Figure 6: Examples of the retrieved images for sentences in WMT datasets. We only show six images for each sentence for instance. The topics in each sentence are in boldface. "
|
| 1547 |
+
],
|
| 1548 |
+
"image_footnote": [],
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
209,
|
| 1551 |
+
717,
|
| 1552 |
+
787,
|
| 1553 |
+
805
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 13
|
| 1556 |
+
}
|
| 1557 |
+
]
|
parse/train/Byl8hhNYPS/Byl8hhNYPS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Byl8hhNYPS/Byl8hhNYPS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJgEl3A5tm/SJgEl3A5tm.md
ADDED
|
@@ -0,0 +1,416 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CAMOU: LEARNING A VEHICLE CAMOUFLAGE FOR PHYSICAL ADVERSARIAL ATTACK ON OBJECT DETECTORS IN THE WILD
|
| 2 |
+
|
| 3 |
+
Yang Zhang1, Hassan Foroosh1, Philip David2, and Boqing Gong3
|
| 4 |
+
|
| 5 |
+
1 Department of Computer Science, University of Central Florida 2 Computational and Information Sciences Directorate, U.S. Army Research Laboratory 3 Tencent A.I. Lab yangzhang@knights.ucf.edu, foroosh@cs.ucf.edu, philip.j.david4.civ@mail.mil, boqinggo@outlook.com
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
In this paper, we conduct an intriguing experimental study about the physical adversarial attack on object detectors in the wild. In particular, we learn a camouflage pattern to hide vehicles from being detected by state-of-the-art convolutional neural network based detectors. Our approach alternates between two threads. In the first, we train a neural approximation function to imitate how a simulator applies a camouflage to vehicles and how a vehicle detector performs given images of the camouflaged vehicles. In the second, we minimize the approximated detection score by searching for the optimal camouflage. Experiments show that the learned camouflage can not only hide a vehicle from the image-based detectors under many test cases but also generalizes to different environments, vehicles, and object detectors.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Is it possible to paint a unique pattern on a vehicle’s body and hence hide it from being detected by surveillance cameras? We conjecture the answer is affirmative mainly for two reasons. First, deep neural networks will be widely used in modern surveillance and autonomous driving systems for automatic vehicle detection. Second, unfortunately, these neural networks are intriguingly vulnerable to adversarial examples (Akhtar & Mian, 2018).
|
| 14 |
+
|
| 15 |
+
Szegedy et al. (2013) found that adding imperceptible perturbations to clean images can result in the failure of neural networks trained for image classification. This motivates a rich line of work on developing defense techniques for the neural networks (Akhtar & Mian, 2018) and powerful attack methods to defeat those defenses (Athalye et al., 2018a). Moreover, the adversarial attack has been extended to other tasks, such as semantic segmentation (Arnab et al., 2018), object detection (Xie et al., 2017), image captioning (Chen et al., 2018a), etc.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: A Toyota Camry XLE in the center of the image fools the Mask R-CNN object detector after we apply the learned camouflage to it (on the right), whereas neither plain colors (on the left) nor a random camouflage (in the middle) is able to escape the Camry from being detected.
|
| 19 |
+
|
| 20 |
+
It is worth noting that the adversarial examples in the works mentioned above are not physical, i.e., the adversary directly manipulates image pixels. Although it is arguably more challenging to create physical adversarial objects than to produce adversarial images, some existing works have shown promising results with adversarial patches (Brown et al., 2017), stop signs (Eykholt et al., 2018b; Chen et al., 2018b), and small objects like baseballs and 3D turtle models (Athalye et al., 2018b).
|
| 21 |
+
|
| 22 |
+
To this end, we are reasonably optimistic about designing a special pattern to camouflage a 3D car, in order to make it difficult to detect by the deep learning based vehicle detectors.
|
| 23 |
+
|
| 24 |
+
It is undoubtedly challenging to run experiments in the real world considering financial and time constraints. In this paper, we instead demonstrate results using a simulation engine (Unreal) with a high-fidelity 3D sedan model and a 3D SUV. Fig. 1 shows that the vehicle in the simulation is photo-realistic such that, even covered with random camouflage, it can still be detected by the Mask R-CNN detector (He et al., 2017) trained on COCO (Lin et al., 2014).
|
| 25 |
+
|
| 26 |
+
The simulation engine enables us to test the physically adversarial cars under a considerable spectrum of environmental conditions: lighting, backgrounds, camera-to-object distances, viewing angles, occlusions, etc. In contrast, existing experiments on physical adversarial attacks are all executed in simplified scenarios. Eykholt et al. (2018b), Eykholt et al. (2018a), and Chen et al. (2018b) attack neural classifiers and detectors of stop signs. While projective transformations could be used to render the planar stop signs to various images, it is more involved to image the nonplanar 3D vehicles considered in this paper; we learn a neural approximation function instead. Athalye et al. (2018b) synthesize objects (e.g., baseball, turtle, etc.) which are adversarial within a small range of camera-to-object distances and viewing angles.
|
| 27 |
+
|
| 28 |
+
Given a 3D vehicle model in the simulation engine, we learn a camouflage for it by following the expectation over transformation (EoT) principle first formalized by Athalye et al. (2018b). The main idea is to consider a variety of transformations under which the camouflage can consistently hide the vehicle from a neural detector. A transformation imitates the imaging procedure and produces an image of the 3D vehicle model in the simulated environment. If a camouflage works under many transformations seen in the training phase, it is expected to also generalize to unseen transformations in the test phase.
|
| 29 |
+
|
| 30 |
+
One of the major challenges is that the simulator’s image generation procedure is non-differentiable. A seemingly plausible solution is to train a neural network to approximate this procedure. The network takes as input the environment, a camouflage pattern, and the 3D vehicle model and outputs an image as close as possible to the one rendered by the simulator. Although this approach is viable, it is extremely difficult to generate high-resolution images. State-of-the-art methods (e.g., RenderNet (Nguyen-Phuoc et al., 2018)) can only generate simple 3D objects without any backgrounds.
|
| 31 |
+
|
| 32 |
+
We tackle the above challenge by drawing the following observation. In EoT (Athalye et al., 2018b; Chen et al., 2018b), the gradients propagate back to the physical object from the detector/classifier’s decision values. If we jointly consider the object detector and the imaging procedure of the simulator as a whole black box, it is easier to learn a function to approximate this black box’s behavior than to train the image generation neural network. Hence, we learn a substitute neural network which takes as input a camouflage, the vehicle model, and the environment and outputs the vehicle detector’s decision value. Equipped with this substitute network, we can readily run the EoT algorithm (Athalye et al., 2018b) over our simulator in order to infer an adversarial camouflage for the vehicles.
|
| 33 |
+
|
| 34 |
+
Finally, we make some remarks about the significance and potential impact of this work. In the real world, multiclass visual object detection neural networks (He et al., 2017; Redmon & Farhadi, 2018) have become the cornerstone of multiple industrial applications, such as surveillance systems (Nair et al., 2018), autonomous driving (Huval et al., 2015), and military systems (Pellerin, 2017). Among these applications, cars are one of the most crucial objects. Attacking vehicle detectors in the physical world will be enormously valuable and impactful from the perspective of the malicious adversaries. Compared with the stop sign, it is legal in the United States to paint a car while defacing a stop sign is criminal. This poses a more significant threat to autonomous driving systems since anyone has access to perturb public machine learning based systems legally. This observation motivates us to focus our approach on cars. We limit our camouflage within the legally paintable car body parts, which means that we will leave discriminative visual cues, such as the tires, windows, grille, lights, etc. unaltered for the detectors.
|
| 35 |
+
|
| 36 |
+
# 2 RELATED WORK
|
| 37 |
+
|
| 38 |
+
# 2.1 ADVERSARIAL ATTACK AND ITS GENERALIZATION
|
| 39 |
+
|
| 40 |
+
Currently, the adversarial attack is powerful enough to attack image classification (MoosaviDezfooli et al., 2017), object detection (Arnab et al., 2018), semantic segmentation (Xie et al., 2017), audio recognition (Carlini & Wagner, 2018) and even bypass most of the defense mechanism (Athalye et al., 2018a). The mainstream adversarial machine learning research focuses on the in silico ones or the generalization within in silico (Liu et al., 2017). Such learned perturbations are practically unusable in the real world as shown in the experiments by Lu et al. (2017b), who found that almost all perturbation methods failed to prevent a detector from detecting real stop signs.
|
| 41 |
+
|
| 42 |
+
The first physical world adversarial attack by Kurakin et al. (2016) found perturbations remain effective on the printed paper. Eykholt et al. (2018b) found a way to train perturbations that remain effective against a classifier on real stop signs for different viewing angles and such. Athalye et al. (2018b) trained another perturbation that successfully attacks an image classifier on 3D-printed objects. However Lu et al. (2017c) found that Eykholt et al. (2018b)’s perturbation does not fool the object detectors YOLO9000 (Redmon & Farhadi, 2017) and Faster RCNN (Ren et al., 2015). They argue that fooling an image classifier is different and easier than fooling an object detector because the detector is able to propose object bounding boxes on its own. In the meanwhile, Lu et al. (2017a)’s and Chen et al. (2018b)’s work could be generalized to attack the stop sign detector in the physical world more effectively. However, all the above methods aim to perturb detecting the stop signs.
|
| 43 |
+
|
| 44 |
+
Blackbox attack is another relevant topic. Among the current blackbox attack literature, Papernot et al. (2017) trained a target model substitution based on the assumption that the gradient between the image and the perturbation is available. We do not have the gradient since the simulation is nondifferentiable. Chen et al. (2017) proposed a coordinate descent to attack the model. However, we found that our optimization problem is time-consuming, noisy (see Sec. G.2), empirically nonlinear and non-convex (see Sec. H). Time constraints made this approach unavailable to us since it requires extensive evaluations during coordinate descent. Besides, coordinate descent generally requires precise evaluation at each data-point.
|
| 45 |
+
|
| 46 |
+
# 2.2 SIMULATION AIDED MACHINE LEARNING
|
| 47 |
+
|
| 48 |
+
Since the dawn of deep learning, data collection has always been of fundamental importance as deep learning model performance is generally correlated with the amount of training data used. Given the sometimes unrealistically expensive annotation costs, some machine learning researchers use synthetic data to train their models. This is especially true in computer vision applications since state-of-the-art computer-generated graphics are truly photo-realistic. Ros et al. (2016); Richter et al. (2017) proposed synthetic datasets for semantic segmentation. Gaidon et al. (2016) proposed virtual KITTI as a synthetic replica of the famous KITTI dataset (Geiger et al., 2012) for tracking, segmentation, etc. And Varol et al. (2017) proposed using synthetic data for human action learning. Zhang et al. (2017); Bousmalis et al. (2017) adapt RL-trained robot grasping models from the synthetic environment to the real environment. Tremblay et al. (2018) trained a detection network using the same Unreal engine that we are using.
|
| 49 |
+
|
| 50 |
+
# 3 PROBLEM STATEMENT
|
| 51 |
+
|
| 52 |
+
In this paper, we investigate physical adversarial attack on state-of-the-art neural network based object detectors. The objective is to find a camouflage pattern such that, when it is painted on the body of a vehicle, the Mask R-CNN (He et al., 2017) and YOLO (Redmon & Farhadi, 2018) detectors fail to detect the vehicle under a wide spectrum of variations (e.g., locations, lighting conditions, viewing angles, etc.). We learn the camouflage in a black-box fashion, without the need for accessing the detectors’ network architecture or weights.
|
| 53 |
+
|
| 54 |
+
Expectation-over-transformation (EoT). We formalize the physical adversarial attack problem with the EoT framework (Athalye et al., 2018b). Denote by $t$ a transformation which converts a camouflage pattern $c$ to a real photo. Such a transformation actually represents an involved procedure: paint the pattern to a vehicle’s body, drive the vehicle to a location, configure a camera, and take a picture of the vehicle. The transformation conveniently abstracts away enormous factors (e.g., quality of painting, camera, etc.), each of which could play a role in this procedure. Denote by $V _ { t } ( c )$ the detection score (e.g., by Mask-RCNN) over an image which is a result of a transformation $t$ and a camouflage $c$ . The physical adversarial attack problem is then described by
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
Figure 2: Example procedure of a transformation $t$ . From left to right: a $1 6 \times 1 6$ camouflage, a highfidelity vehicle, a location in our simulated environment, and an image due to this transformation over the camouflage.
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\arg \operatorname* { m i n } _ { c } \quad \mathbb { E } _ { t \sim \mathcal { T } } V _ { t } ( c )
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
where $\tau$ is a distribution over all the possible transformations $\{ t \}$ . In other words, we search for a camouflage $c$ that minimizes the vehicle detection score in expectation.
|
| 64 |
+
|
| 65 |
+
Transformation in simulation. Due to financial and time constraints, we conduct our study with the photo-realistic Unreal 4 game engine. It supplies us sufficient configuration parameters, such as the resolution and pattern of the camouflage, 3D models of vehicles, parameters of cameras and environments, etc. Fig. 2 shows a camouflage pattern, a high-fidelity 3D model of Toyota Camry, a corner of the virtual city used in this paper, and finally the picture taken by a camera after we apply the camouflage to the Camry and drive it to that corner — in other words, the rightmost image is the result of a certain transformation $t$ acting on the three images on the left of Fig. 2.
|
| 66 |
+
|
| 67 |
+
# 4 APPROACH
|
| 68 |
+
|
| 69 |
+
In this section, we present two key techniques for solving the problem $\operatorname* { m i n } _ { c }$ $\mathbb { E } _ { t } V _ { t } ( c )$ (cf. Eq. (1) and the text there). One is to estimate the expectation $\mathbb { E } _ { t }$ by an empirical mean over many transformations. The other is to train a neural network to clone the joint behavior $V _ { t } ( c )$ of the black-box detector and the non-differentiable simulator.
|
| 70 |
+
|
| 71 |
+
# 4.1 SAMPLING TRANSFORMATIONS TO ESTIMATE $\mathbb { E } _ { t }$
|
| 72 |
+
|
| 73 |
+
Recall that a transformation $t$ specifies a particular procedure from applying the camouflage $c$ to a vehicle until the corresponding image captured by a camera. In the context of the simulation engine, the camouflage $c$ is first programmed as textures, which are then warped onto the 3D model of an object. The simulator can teleport the object to different locations in the environment. The simulator also has multiple cameras to photograph the teleported object from various distances and viewing angles.
|
| 74 |
+
|
| 75 |
+
We identify some key factors involved in this procedure, including vehicle, location, camera-toobject distance, and viewing angle. The combinations of them also give rise to variations along other dimensions. For instance, the lighting condition changes from one location to another. The vehicle of interest is occluded to different degrees in the images captured by the cameras. Denote by $T _ { S }$ all the sampled transformations that are used for learning the camouflage.
|
| 76 |
+
|
| 77 |
+
Fig. 3 illustrates the positions where the cameras are placed. We can see how the viewing angles and camera-to-object distances vary. The ones shown in the green color are used in the training. We left out some cameras shown in the red color for the testing. Since it is computationally expensive to utilize the cameras, we randomly arrange them in different heights and distances to create as much variations as possible instead of traversing all possible height-distance combinations.
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 3: The camera setup as well as some exemplar locations. The cameras depicted in the green color are used to learn the camouflage while those in red are unseen cameras used for testing the camouflage’s generalization. (H: camera height, L: vehicle-to-camera distance.)
|
| 81 |
+
|
| 82 |
+
4.2 LEARNING A CLONE NETWORK $V _ { \theta } ( c , t )$ TO APPROXIMATE $V _ { t } ( c )$
|
| 83 |
+
|
| 84 |
+
If we unroll the detection score $V _ { t } ( c )$ , it contains two major components. The first renders an image based on the camouflage $c$ by following the procedure specified by the transformation $t$ . The second obtains the detection score of a vehicle detector (e.g., Mask-RCNN) over the rendered image. The first component is non-differentiable while the second one could be a black box in practice. Therefore, we propose to consider them jointly as a single black box. Furthermore, we learn a clone neural network $V _ { \theta } ( c , t )$ to imitate the input-output behavior of this extended black box. As the transformation $t$ itself is involved and hard to represent, we instead input its consequence to the network: a background image and the cropped foreground of the vehicle.
|
| 85 |
+
|
| 86 |
+
Fig. 4b shows the network architecture. It takes as input a camouflage pattern $c$ , the background image due to a sampled transformation $t$ , and the cropped foreground. The network $V _ { \theta } ( c , t )$ has a single output to approximate the detection score $V _ { t } ( c )$ .
|
| 87 |
+
|
| 88 |
+
To this end, we are ready to write down an approximate form of problem (1),
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\underset { c } { \arg \operatorname* { m i n } } \quad \frac { 1 } { \left| T _ { S } \right| } \sum _ { t \in T _ { S } } V _ { \theta } ( c , t ) .
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
Thanks to the differentiable network $V _ { \theta } ( c , t )$ with respect to the camouflage $c$ , we can solve the problem above by standard (stochastic) gradient descent.
|
| 95 |
+
|
| 96 |
+
It is important to note that the fidelity of problem (2) depends on the size and diversity of the sampled set of transformations $T _ { S }$ as well as the quality of the clone network $V _ { \theta } ( c , t )$ . It is straightforward to generate a large training set for the clone network by randomizing the camouflages and transformations and “labeling” the resulting images with the detection scores. However, if the optimal camouflage is unfortunately not covered by this training set, a discrepancy would occur when we solve problem (2). In other words, the network may fail to well approximate the detection scores at the region around the optimal camouflage. We address this discrepancy by an alternative learning algorithm as follows.
|
| 97 |
+
|
| 98 |
+
# 4.3 JOINTLY LEARNING THE CLONE NETWORK AND THE OPTIMAL CAMOUFLAGE
|
| 99 |
+
|
| 100 |
+
We alternatively learn the clone network $V _ { \theta } ( c , t )$ and solve the problem (2). Once a new camouflage pattern is found due to optimizing problem (2), it is converted to multiple images by the training
|
| 101 |
+
|
| 102 |
+

|
| 103 |
+
Figure 4: Overview of our optimization pipeline and the clone network $V _ { \theta } ( c , t )$ .
|
| 104 |
+
|
| 105 |
+
transformations $T _ { S }$ . We obtain the detection score for each of the images by querying a detector. The camouflage pattern, along with the detection scores are then added to the training set for learning the clone network $V _ { \theta } ( c , t )$ . Fig. 4a illustrates this process.
|
| 106 |
+
|
| 107 |
+
Implementation details. Denote by $H [ p , q ] : = - p \log q - ( 1 - p ) \log ( 1 - q )$ the cross-entropy loss. We alternately solve the following two problems,
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\arg \operatorname* { m i n } _ { \theta } \ \frac { 1 } { | C | | T s | } \sum _ { c \in C } \sum _ { t \in T s } H \big [ s , V _ { \theta } ( c , t ) \big ] + \lambda \| \theta \| _ { 2 } , \qquad \arg \operatorname* { m i n } _ { c } \ \frac { 1 } { | T | } \sum _ { t \in T s } H \big [ 0 , V _ { \theta } ( c , t ) \big ]
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
where $C$ is the collection of all camouflages in the training set for learning the clone network $V _ { \theta } ( c , t )$ , and $s : = V _ { t } ( c )$ is the detection score corresponding to the camouflage $c$ and the transformation $t$ . The $\ell _ { 2 }$ regularization $\lambda \| \boldsymbol { \theta } \| _ { 2 }$ over the clone network’s weights is essential. Without this term, the two loss functions may cause oscillations or degeneration of the solutions. We set $\lambda = 1 0$ in the experiments. Since the approximation accuracy of the clone network near the optimal camouflage is more important than in other regions, we weigh the newly added samples to the training set 10 times higher than the old ones at each iteration. Algorithm 1 in the Appendix gives more details.
|
| 114 |
+
|
| 115 |
+
# 5 EXPERIMENTS
|
| 116 |
+
|
| 117 |
+
Since the primary objective of this paper is to learn camouflage patterns that deceive vehicle detectors, we introduce two baseline camouflage patterns in the experiments: 6 most popular car colors and 800 random camouflages in different resolutions. We then analyze how the resolution of the camouflage affects the detection performance. For the vehicles, we employ two 3D models: a 2015 Toyota Camry and a virtual SUV. In addition to the main comparison results, we also test the transferability of the learned camouflage across different car models, environments, camera positions, and object detectors.
|
| 118 |
+
|
| 119 |
+
# 5.1 EXPERIMENT SETUP
|
| 120 |
+
|
| 121 |
+
We describe the detailed experimental setup in this section, including the simulator, vehicle detector, evaluation metrics, and the baseline camouflage patterns.
|
| 122 |
+
|
| 123 |
+
# 5.1.1 THE SIMULATOR
|
| 124 |
+
|
| 125 |
+
As shown in Fig. 5a, we use the Unreal engine to build our first simulation environment from the photo-realistic DownTown environment. It is modeled after the downtown Manhattan in New York. There are skyscrapers, cars, traffic signs, a park, and roads in this environment, resembling a typical urban environment. We sample 32 different locations along the streets. Eight cameras perch at each location, each taking pictures of the size $7 2 0 \times 3 6 0$ . The relative position of a camera is indexed by the viewing angle and camera-to-object distance, as shown in Fig. 3. In addition, we install another 16 cameras to test the generalization of the learned camouflage across viewing angles, distances, etc. In total, we use 18 locations for training and another 18 for testing. Note that the vehicles are invisible to some cameras due to occlusion.
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
(b) A mountain environment.
|
| 129 |
+
Figure 5: The two environments we built to learn and test the vehicle camouflage. Zoom in for more details. These images are of the higher resolution but the same rendering quality (anti-aliasing level, shadow quality, rendering distance, texture resolution etc.) the detector perceived.
|
| 130 |
+
|
| 131 |
+
Our second environment is based on a totally different countryside scene called Landscape Mountains, shown in Fig. 5b. The roads lie on high-altitude mountains and cross bridges, forest, snow, and a lake. We use this scene to test the transferability of our camouflage across different environments; this scene is not used in the training. Like the DownTown environment, we sample 18 locations along the roads for the purpose of testing.
|
| 132 |
+
|
| 133 |
+
The two vehicles used in the experiments are shown in Fig. 6. One is a 2015 Toyota Camry XLE sold in the European Union. The other is a virtual SUV from AirSim (Shah et al., 2017). It is worth noting that the Toyota sedan appears multiple times in the MS-COCO dataset (Lin et al., 2014) (cf. some examples in Fig. 12). Since the object detectors are trained on MS-COCO, the Camry is more challenging to hide than the virtual SUV.
|
| 134 |
+
|
| 135 |
+
# 5.1.2 VEHICLE DETECTORS
|
| 136 |
+
|
| 137 |
+
We study two state-of-the-art detectors: Mask R-CNN (He et al., 2017) and YOLOv3-SPP (Redmon & Farhadi, 2018). Mask R-CNN is one of the most powerful publicly available object detectors; it currently ranks in the 4th place in the MS COCO detection leaderboard. Both detectors are pretrained on MS COCO. For Mask R-CNN, we use the one implemented by Abdulla (2017). Its backbone network is ResNet-101 (He et al., 2016). YOLOv3 has comparable performance with
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
Figure 6: Orthogonal views of the Toyota Carmy XLE 2015 (second row) and the virtual SUV (first row) used in our simulation.
|
| 141 |
+
|
| 142 |
+
Mask R-CNN. Its network architecture is very different from Mask R-CNN’s, causing challenges to the transfer of the camouflage between the two detectors. We use the spatial pyramid pooling (SPP) variant of YOLOv3 in the experiments.
|
| 143 |
+
|
| 144 |
+
In the rest of the paper, we experiment with Mask R-CNN except the transfer experiments in Sec. 5.4.
|
| 145 |
+
|
| 146 |
+
# 5.1.3 EVALUATION METRICS
|
| 147 |
+
|
| 148 |
+
We adopt two metrics to evaluate the detection performance. The first one is a variation of the Intersection over Union proposed by Everingham et al. (2015). The IoU between a predicted box and the groundtruth bounding box is defined as $\begin{array} { r } { \mathsf { \bar { I } } o U ( A , B ) = \frac { A \bigcap B } { A \bigcup B } } \end{array}$ . Since IoU was originally proposed to evaluate the results of multi-object detection, as opposed to the single vehicle detection in our context, we modify it to the following to better capture the vehicle of interest: $\mathrm { m a x } _ { p \in P } I o U ( p , G T )$ , where $P$ is the set of all detection proposals in an image. We average this quantity across all the test images and denote by mIoU the mean value.
|
| 149 |
+
|
| 150 |
+
Our second metric is precision at 0.5 or $\mathrm { P @ 0 . 5 }$ . Everingham et al. (2015) set a 0.5 threshold for the detection IoU in the PASCAL VOC detection challenge to determine whether a detection is a hit or miss. We report the percentage of the hit detections out of all observations as our $\mathrm { P @ 0 . 5 }$ . We also report the relative precision drop of the camouflage against the baseline colors whenever possible.
|
| 151 |
+
|
| 152 |
+
# 5.1.4 BASELINES
|
| 153 |
+
|
| 154 |
+
Our first baseline is when a vehicle is colored in popular real car colors. We select 6 basic car colors (red, black, silver, grey, blue, and white) which cover over $90 \%$ of the car colors worldwide (Axalta). We obtain their RGB values according to the X11 Color Names.
|
| 155 |
+
|
| 156 |
+
As the second baseline, we generate 800 random camouflages in different resolutions ranging in $\{ 2 ^ { i } \times 2 ^ { i } ; i \in [ 1 . . 8 ] \}$ . Since we find that camouflages with strong contrasts work better, we generate half of the camouflages using RGB values $\in \ [ 0 , 2 5 5 ]$ and the other half using RGB values $\in \ \{ 0 , 2 5 5 \}$ . After we obtain these camouflages and the corresponding detection scores, we use those with proper resolutions to initialize the training set for the clone network $V _ { \theta } ( c , t )$ .
|
| 157 |
+
|
| 158 |
+
The two baselines partially resolve the concern one might have that the learned camouflage successfully attacks the detector not because it exploits the CNN’s structural weakness, but because it takes advantage of the domain gap between the real data used to train the detector and our simulated data used to test the detector. Results show that the baselines could not fail the detectors under most test cases, indicating that the detectors are fairly resilient to the domain gap between the simulated imagery and the real data (at least for the vehicle detection task).
|
| 159 |
+
|
| 160 |
+
# 5.2 RESOLUTION OF THE CAMOUFLAGES
|
| 161 |
+
|
| 162 |
+
We first report the random camouflages’ performance on hiding the Camry from the Mast R-CNN detector in the DownTown environment. Fig. 7 shows the results. The first observation is that, although random camouflages are visually very different from conventional car paintings (cf. Fig. 8), the Mask R-CNN detector is still able to detect most of them. Another slightly counter-intuitive yet interesting observation is that the detector’s performance does not always decrease as the camouflages’ resolutions increase. This is probably because some fine-grained patterns displayed by the high-resolution camouflage become harder to observe from a distance. Since the high-resolution camouflage does not bring any additional benefits beyond the $1 6 \times 1 6$ resolution, we use camouflages of size $1 6 \times 1 6$ in the remaining experiments.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 7: The mIoU and $\mathrm { P @ 0 . 5 }$ of the 800 random camouflages in different resolutions on Camry in the DownTown environment. There are 100 camouflages per resolution.
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
Figure 8: Visualization of three random camouflages of resolutions $4 \times 4$ , $1 6 \times 1 6$ , and $2 5 6 \times 2 5 6$ , respectively, as well as the resulting images by the same camera.
|
| 169 |
+
|
| 170 |
+
# 5.3 CAMOUFLAGING TOYOTA CAMRY IN THE URBAN ENVIRONMENT
|
| 171 |
+
|
| 172 |
+
Here we report the results on detecting the Camry in the urban environment. Table 1 summarizes the results for the Camry respectively with the baseline colors, random camouflages, and our learned camouflage. We can see from the table that the Mask R-CNN is surprisingly robust against different types of random camouflages. The random camouflages’ detection scores are close to the baseline colors’. Moreover, the standard deviation of the random camouflages’ scores is also very low, indicating that the difference in the random camouflages does not really change the detector’s performance. Note that we apply the camouflage to the body of the Camry, leaving tires, windows, grilles, etc. as informative visual cues to the detector. Despite that, our learned camouflage reduces the precision by around $3 0 \%$ over baseline colors in both training and testing scenes in the urban environment.
|
| 173 |
+
|
| 174 |
+
Table 1: Mask R-CNN detection performance on the Camry in the urban environment.
|
| 175 |
+
|
| 176 |
+
<table><tr><td rowspan="2">Camouflages</td><td colspan="2">Training Scenes</td><td colspan="2">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>76.14</td><td>84.40</td><td>72.88</td><td>77.57</td></tr><tr><td>Random Camou</td><td>73.48± 0.80</td><td>82.17± 1.20</td><td>67.79± 0.79</td><td>71.42± 1.20</td></tr><tr><td>Ours</td><td>57.69</td><td>62.14</td><td>53.64</td><td>52.17</td></tr><tr><td>Relative Performance Drop</td><td>24.23%</td><td>26.37%</td><td>26.39%</td><td>32.74%</td></tr></table>
|
| 177 |
+
|
| 178 |
+
Table 2: YOLOv3-SPP detection performance on the Camry in the urban environment. In addition to the camouflage inferred for YOLO, we also include the YOLO detection results on the camouflage learned for Mask R-CNN.
|
| 179 |
+
|
| 180 |
+
<table><tr><td rowspan="2">Camouflages</td><td colspan="2">Training Scenes</td><td colspan="2">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline colors</td><td>76.79</td><td>85.34</td><td>73.00</td><td>78.50</td></tr><tr><td>Random Camou</td><td>73.19±0.75</td><td>83.30±0.89</td><td>68.76±0.81</td><td>73.92±1.00</td></tr><tr><td>Ours (YOLO trained)</td><td>65.83</td><td>72.53</td><td>64.03</td><td>69.56</td></tr><tr><td>Ours (Mask R-CNN trained)</td><td>65.43</td><td>70.42</td><td>61.79</td><td>65.21</td></tr><tr><td>Relative Performance Drop</td><td>14.79%</td><td>17.48%</td><td>15.35%</td><td>16.92%</td></tr></table>
|
| 181 |
+
|
| 182 |
+
Virtual SUV. Appendix A presents the results on the virtual SUV. The learned camouflage reduces Mask R-CNN’s detection precision by around $40 \%$ from the precision for the baseline colors.
|
| 183 |
+
|
| 184 |
+
# 5.4 TRANSFERABILITY EXPERIMENTS
|
| 185 |
+
|
| 186 |
+
We show that the camouflage learned to attack Mask R-CNN can actually also defeat YOLOv3 to a certain degree. The results are reported in Table 2. Similarly, appendices A to D report the transferabilities of the learned camouflage across different environments, vehicles, camera viewing angles, and distances from the camera to the object.
|
| 187 |
+
|
| 188 |
+
# 5.5 QUALITATIVE RESULTS
|
| 189 |
+
|
| 190 |
+
We present some of our detection results on the baseline colors, random camouflages, and the learned camouflages for the Camry in Fig. 11.
|
| 191 |
+
|
| 192 |
+
We can draw a lot of interesting observations from the qualitative results which were hidden by the quantitative results. We find that there are 3 types of successful attacks: (1) Camouflages lower the objectiveness of the car and the car region is not proposed or only partially proposed as a candidate for the classifier of the detector; (2) The car region is successfully proposed but misclassified (e.g., to kite, cake, truck, or potted plant as shown in the examples) or the classification score is too low to pass the threshold for the detection score; (3) The car region is successfully proposed and classified, but the camouflage results in an incorrect detection which largely overlaps with the car (cf. the 5th row where the regions covering the car are detected as a car and a boat, respectively).
|
| 193 |
+
|
| 194 |
+
One can see that the context or background plays a vital role in object detection. Although some images capture the Camry by the same pose, the detector makes completely different predictions for them. Besides, these qualitative results imply that the detector works in a way different from human vision. In the Landscape environment, our learned camouflage has the strongest contrast to the background compared to other baseline patterns. However, the detector is still sometimes not able to detect the camouflaged car or SUV.
|
| 195 |
+
|
| 196 |
+
# 6 CONCLUSION
|
| 197 |
+
|
| 198 |
+
In this paper, we investigate whether it is possible to physically camouflage 3D objects of complex shapes, i.e., vehicles, in order to hide them from state-of-the-art object detectors. We conduct extensive experimental studies with a photo-realistic simulation engine. We propose to use a clone network to mimic the simulator and the detector’s joint response to the 3D vehicles. Then, we infer a camouflage for a 3D vehicle by minimizing the output of the clone network. Our learned camouflage significantly reduces the detectability of a Toyota Camry and a SUV. Moreover, we find that the camouflage is transferable across different environments. For future work, We plan to look into possible ways to white-box the entire process so as to propose a more effective camouflage.
|
| 199 |
+
|
| 200 |
+
# ACKNOWLEDGMENT
|
| 201 |
+
|
| 202 |
+
This work was in part supported by the NSF grants IIS-1212948, IIS-1566511, and a gift from Uber Technologies Inc.
|
| 203 |
+
|
| 204 |
+
# REFERENCES
|
| 205 |
+
|
| 206 |
+
Waleed Abdulla. Mask r-cnn for object detection and instance segmentation on keras and tensorflow. https://github.com/matterport/Mask_RCNN, 2017.
|
| 207 |
+
|
| 208 |
+
Naveed Akhtar and Ajmal Mian. Threat of adversarial attacks on deep learning in computer vision: A survey. arXiv preprint arXiv:1801.00553, 2018.
|
| 209 |
+
|
| 210 |
+
Anurag Arnab, Ondrej Miksik, and Philip H. S. Torr. On the robustness of semantic segmentation models to adversarial attacks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018.
|
| 211 |
+
|
| 212 |
+
Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In Proceedings of the 35th International Conference on Machine Learning, July 2018a.
|
| 213 |
+
|
| 214 |
+
Anish Athalye, Logan Engstrom, Andrew Ilyas, and Kevin Kwok. Synthesizing robust adversarial examples. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 284–293, 2018b.
|
| 215 |
+
|
| 216 |
+
Axalta. Global automotive 2017 color popularity report, 2017.
|
| 217 |
+
|
| 218 |
+
Konstantinos Bousmalis, Alex Irpan, Paul Wohlhart, Yunfei Bai, Matthew Kelcey, Mrinal Kalakrishnan, Laura Downs, Julian Ibarz, Peter Pastor, Kurt Konolige, et al. Using simulation and domain adaptation to improve efficiency of deep robotic grasping. arXiv preprint arXiv:1709.07857, 2017.
|
| 219 |
+
|
| 220 |
+
Tom B Brown, Dandelion Mane, Aurko Roy, Mart ´ ´ın Abadi, and Justin Gilmer. Adversarial patch. arXiv preprint arXiv:1712.09665, 2017.
|
| 221 |
+
|
| 222 |
+
Nicholas Carlini and David Wagner. Audio adversarial examples: Targeted attacks on speech-totext. arXiv preprint arXiv:1801.01944, 2018.
|
| 223 |
+
|
| 224 |
+
Hongge Chen, Huan Zhang, Pin-Yu Chen, Jinfeng Yi, and Cho-Jui Hsieh. Attacking visual language grounding with adversarial examples: A case study on neural image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, volume 1, pp. 2587– 2597, 2018a.
|
| 225 |
+
|
| 226 |
+
Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, pp. 15–26. ACM, 2017.
|
| 227 |
+
|
| 228 |
+
Shang-Tse Chen, Cory Cornelius, Jason Martin, and Duen Horng Chau. Shapeshifter: Robust physical adversarial attack on faster r-cnn object detector. arXiv preprint arXiv:1804.05810, 2018b.
|
| 229 |
+
|
| 230 |
+
DownTown, 2017. URL https://www.unrealengine.com/marketplace/downtown.
|
| 231 |
+
|
| 232 |
+
M. Everingham, S. M. A. Eslami, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman. The pascal visual object classes challenge: A retrospective. International Journal of Computer Vision, 111(1):98–136, January 2015.
|
| 233 |
+
|
| 234 |
+
Kevin Eykholt, Ivan Evtimov, Earlence Fernandes, Bo Li, Amir Rahmati, Florian Tramer, Atul Prakash, Tadayoshi Kohno, and Dawn Song. Physical adversarial examples for object detectors. In 12th USENIX Workshop on Offensive Technologies (WOOT 18), Baltimore, MD, 2018a. USENIX Association. URL https://www.usenix.org/conference/woot18/ presentation/eykholt.
|
| 235 |
+
|
| 236 |
+
Kevin Eykholt, Ivan Evtimov, Earlence Fernandes, Bo Li, Amir Rahmati, Chaowei Xiao, Atul Prakash, Tadayoshi Kohno, and Dawn Song. Robust physical-world attacks on deep learning visual classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1625–1634, 2018b.
|
| 237 |
+
|
| 238 |
+
Adrien Gaidon, Qiao Wang, Yohann Cabon, and Eleonora Vig. Virtual worlds as proxy for multiobject tracking analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4340–4349, 2016.
|
| 239 |
+
|
| 240 |
+
Andreas Geiger, Philip Lenz, and Raquel Urtasun. Are we ready for autonomous driving? the kitti vision benchmark suite. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2012.
|
| 241 |
+
|
| 242 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778, 2016.
|
| 243 |
+
|
| 244 |
+
Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ International Conference on Computer Vision, pp. 2980–2988. IEEE, 2017.
|
| 245 |
+
|
| 246 |
+
Brody Huval, Tao Wang, Sameep Tandon, Jeff Kiske, Will Song, Joel Pazhayampallil, Mykhaylo Andriluka, Pranav Rajpurkar, Toki Migimatsu, Royce Cheng-Yue, Fernando Mujica, Adam Coates, and Andrew Y. Ng. An empirical evaluation of deep learning on highway driving. arXiv preprint arXiv:1504.01716, 2015.
|
| 247 |
+
|
| 248 |
+
Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016.
|
| 249 |
+
|
| 250 |
+
Landscape Mountains, 2014. URL https://www.unrealengine.com/blog/ new-on-marketplace-landscape-mountains.
|
| 251 |
+
|
| 252 |
+
Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014.
|
| 253 |
+
|
| 254 |
+
Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In Proceedings of 5th International Conference on Learning Representations, 2017.
|
| 255 |
+
|
| 256 |
+
Jiajun Lu, Hussein Sibai, and Evan Fabry. Adversarial examples that fool detectors. arXiv preprint arXiv:1712.02494, 2017a.
|
| 257 |
+
|
| 258 |
+
Jiajun Lu, Hussein Sibai, Evan Fabry, and David Forsyth. No need to worry about adversarial examples in object detection in autonomous vehicles. arXiv preprint arXiv:1707.03501, 2017b.
|
| 259 |
+
|
| 260 |
+
Jiajun Lu, Hussein Sibai, Evan Fabry, and David Forsyth. Standard detectors aren’t (currently) fooled by physical adversarial stop signs. arXiv preprint arXiv:1710.03337, 2017c.
|
| 261 |
+
|
| 262 |
+
Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1765–1773, 2017.
|
| 263 |
+
|
| 264 |
+
Malavika Nair, Mathew Gillroy, Neethu Jose, and Jasmy Davies. i-surveillance crime monitoring and prevention using neural networks. International Research Journal of Engineering and Technology, 5, March 2018.
|
| 265 |
+
|
| 266 |
+
Thu Nguyen-Phuoc, Chuan Li, Stephen Balaban, and Yongliang Yang. Rendernet: A deep convolutional network for differentiable rendering from 3d shapes. arXiv preprint arXiv:1806.06575, 2018.
|
| 267 |
+
|
| 268 |
+
Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security, pp. 506–519. ACM, 2017.
|
| 269 |
+
|
| 270 |
+
Cheryl Pellerin. Project maven to deploy computer algorithms to war zone by year’s end, July 2017. U.S. Department of Defense.
|
| 271 |
+
|
| 272 |
+
Joseph Redmon and Ali Farhadi. Yolo9000: Better, faster, stronger. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6517–6525. IEEE, 2017.
|
| 273 |
+
|
| 274 |
+
Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767, 2018.
|
| 275 |
+
|
| 276 |
+
Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015.
|
| 277 |
+
|
| 278 |
+
Stephan R Richter, Zeeshan Hayder, and Vladlen Koltun. Playing for benchmarks. In International Conference on Computer Vision, volume 2, 2017.
|
| 279 |
+
|
| 280 |
+
German Ros, Laura Sellart, Joanna Materzynska, David Vazquez, and Antonio M Lopez. The synthia dataset: A large collection of synthetic images for semantic segmentation of urban scenes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3234– 3243, 2016.
|
| 281 |
+
|
| 282 |
+
Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, Dhruv Batra, et al. Grad-cam: Visual explanations from deep networks via gradient-based localization. In International Conference on Computer Vision, pp. 618–626, 2017.
|
| 283 |
+
|
| 284 |
+
Shital Shah, Debadeepta Dey, Chris Lovett, and Ashish Kapoor. Airsim: High-fidelity visual and physical simulation for autonomous vehicles. In Field and Service Robotics, 2017. URL https: //arxiv.org/abs/1705.05065.
|
| 285 |
+
|
| 286 |
+
Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. arXiv preprint arXiv:1312.6034, 2013.
|
| 287 |
+
|
| 288 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
|
| 289 |
+
|
| 290 |
+
Jonathan Tremblay, Aayush Prakash, David Acuna, Mark Brophy, Varun Jampani, Cem Anil, Thang To, Eric Cameracci, Shaad Boochoon, and Stan Birchfield. Training deep networks with synthetic data: Bridging the reality gap by domain randomization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 969–977, 2018.
|
| 291 |
+
|
| 292 |
+
Unreal, 1998. URL https://www.unrealengine.com.
|
| 293 |
+
|
| 294 |
+
Gul Varol, Javier Romero, Xavier Martin, Naureen Mahmood, Michael J Black, Ivan Laptev, and ¨ Cordelia Schmid. Learning from synthetic humans. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4627–4635. IEEE, 2017.
|
| 295 |
+
|
| 296 |
+
X11 Color Names. URL https://cgit.freedesktop.org/xorg/app/rgb/tree/ rgb.txt.
|
| 297 |
+
|
| 298 |
+
Cihang Xie, Jianyu Wang, Zhishuai Zhang, Yuyin Zhou, Lingxi Xie, and Alan Yuille. Adversarial examples for semantic segmentation and object detection. In International Conference on Computer Vision. IEEE, 2017.
|
| 299 |
+
|
| 300 |
+
Fangyi Zhang, Jurgen Leitner, Michael Milford, and Peter Corke. Sim-to-real transfer of visuo- ¨ motor policies for reaching in clutter: Domain randomization and adaptation with modular networks. arXiv preprint arXiv:1709.05746, 2017.
|
| 301 |
+
|
| 302 |
+
Table 3: Detection performance of camouflages on SUV in urban environment.
|
| 303 |
+
|
| 304 |
+
<table><tr><td rowspan="3">Camouflages</td><td colspan="2">Training Scenes</td><td colspan="2">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>82.35</td><td>91.07</td><td>81.06</td><td>89.22</td></tr><tr><td>Random Camou</td><td>83.53±3.26</td><td>93.21±3.48</td><td>78.02±2.53</td><td>84.79±2.81</td></tr><tr><td>Ours</td><td>53.27</td><td>55.79</td><td>48.91</td><td>50.36</td></tr><tr><td>Relative Performance Drop</td><td>35.31%</td><td>38.79%</td><td>39.66%</td><td>43.55%</td></tr></table>
|
| 305 |
+
|
| 306 |
+
Table 4: Detection performance of camouflages on Camry in Landscape environment. Note that this camouflage is pretrained in urban environment and then transferred without any finetuning.
|
| 307 |
+
|
| 308 |
+
<table><tr><td rowspan="2">Camouflages</td><td colspan="2">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>74.81</td><td>82.04</td></tr><tr><td>Random Camou</td><td>72.45±4.26</td><td>77.11±5.45</td></tr><tr><td>Ours - Transferred</td><td>40.39</td><td>43.26</td></tr><tr><td>Relative Performance Drop</td><td>46.00%</td><td>47.26%</td></tr></table>
|
| 309 |
+
|
| 310 |
+
# A VIRTUAL SUV IN URBAN AREA
|
| 311 |
+
|
| 312 |
+
We then report the camouflage performance on the newly modeled SUV in the urban environment in Table 3.
|
| 313 |
+
|
| 314 |
+
Judging by the results, it is clear that the Mask R-CNN is a very generalized detector. The SUV’s baseline color and random camouflage detection scores are even higher than the Camry correspondence although the detector has never seen it before. This might be because the SUV has much less polygon and is built to resemble the shape of a general SUV as shown in Fig. 6.
|
| 315 |
+
|
| 316 |
+
However, the price for not seeing this vehicle during training is that Mask R-CNN is more likely to be affected by the camouflage. The standard deviation of the random camouflage mIoU/ precision is higher (3.26/3.48 vs. 0.8/1.2) than Camry. And our camouflage achieves lower detection precision despite both baseline colors and random camouflage’s detection scores are higher than Camry’s. The detectability is reduced by almost 1.5 times of Camry’s results in this case. This experiment shows that Mask R-CNN might well generalize to unseen vehicles, but it is easier to get attacked.
|
| 317 |
+
|
| 318 |
+
# B TRANSFERABILITY ACROSS ENVIRONMENTS
|
| 319 |
+
|
| 320 |
+
Another important question is that what if we transfer the camouflage to a not only previously unseen but a totally different environment? To quantitatively answer this question, we build the Landscape environment (Fig. 5b) to test our camouflages trained in urban environment (Fig. 5a) using the Camry vehicle. The results are reported in Table. 4. Some qualitative results are shown in Fig. 11.
|
| 321 |
+
|
| 322 |
+
Given the barren landscape with few objects in sight, the detector detects the car better than it did in the urban environment for both baseline colors (82.04 vs. 77.57) and random camouflages (77.11 vs. 71.42) possibly due to the absence of distractions. However, our directly transferred camouflage is still able to beat both of them by more than $46 \%$ regarding both detection mIoU and precision without any fine-tuning.
|
| 323 |
+
|
| 324 |
+
It is interesting to notice that the Camry with grey color looks almost identical to the background in this environment (Fig. 11). However, it still could be perfectly detected. Meanwhile, our leaned camouflage results in far better stealth despite it has a sharp contrast to the background.
|
| 325 |
+
|
| 326 |
+
Table 5: Camouflage transferability across vehicle reported in testing $\mathrm { P @ 0 . 5 }$ in urban environment.
|
| 327 |
+
|
| 328 |
+
<table><tr><td></td><td></td><td colspan="2">Test</td></tr><tr><td></td><td></td><td>SUV</td><td>Camry</td></tr><tr><td>TTeil</td><td>SUV</td><td>50.36</td><td>47.44</td></tr><tr><td></td><td>Camry</td><td>58.39</td><td>52.17</td></tr></table>
|
| 329 |
+
|
| 330 |
+
Table 6: Detection performance of pretrained camouflages on Camry with urban environment in 16 unseen cameras.
|
| 331 |
+
|
| 332 |
+
<table><tr><td rowspan="2">Camouflages</td><td colspan="2">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>78.43</td><td>86.16</td></tr><tr><td>Random Camou</td><td>77.26±0.96</td><td>84.61±1.06</td></tr><tr><td>Ours - Transferred</td><td>67.74</td><td>73.14</td></tr><tr><td>Relative Performance Drop</td><td>13.62%</td><td>15.11%</td></tr></table>
|
| 333 |
+
|
| 334 |
+
# C TRANSFERABILITY ACROSS VEHICLES
|
| 335 |
+
|
| 336 |
+
It will be impractical to retrain a specific camouflage for each vehicle whenever we need it. Hence it would be interesting to look into the transferability between vehicles in this scenario. We swap the camouflages of SUV and Camry and see how they would perform in the urban environment. We present the testing precision after swapping in Table. 5.
|
| 337 |
+
|
| 338 |
+
First, both camouflages are definitely transferable. It is also interesting to see that the Camry learned camouflage is not as good as the SUV learned camouflage even when being applied on the Camry itself. This might be due to the fact that the SUV resembles a car with more generic features and hence learning camouflage on SUV is less likely to encounter local minima during optimization.
|
| 339 |
+
|
| 340 |
+
# D TRANSFERABILITY ACROSS VIEWING POSITION
|
| 341 |
+
|
| 342 |
+
One of the possibly most concerning questions is whether the learned camouflage is robust to the change of the camera position. To answer this question, we set up another 16 new cameras, as shown in Fig. 3, surrounding the vehicle in different relative locations. We then test the learned camouflage’s performance on these new cameras. The results are shown in Table 6.
|
| 343 |
+
|
| 344 |
+
Our camouflage performance drop has a slightly decrease of $5 \%$ from Table 1. This indicates that the change of the camera locations would impact the performance, but the performance drop is still way beyond the standard deviation of random camouflages’ scores. Given that the new camera views cover more perspectives as shown in Fig. 3, this result is reasonable.
|
| 345 |
+
|
| 346 |
+
# E IMPACT OF CLONE NETWORK QUALITY
|
| 347 |
+
|
| 348 |
+
How does the clone network’s quality affect the camouflage’s performance? Is the alternative optimization necessary? We quantitatively show the first 300 simulation calls of our system in Fig. 9 and meanwhile evaluate the camouflages proposed by the clone network. Note that initially the clone network has already been trained with 800 random camouflages. However, the proposed camouflage’s score does not fall until the new camouflages from iteration scheme join the optimization. This suggests that without our iterative optimization mechanism, the clone network could only find camouflage with mIoU around $70 \%$ , which is the same as the random camouflage. Those new samples serve as the hard samples. They gradually calibrate the clone network’s global minima to $V _ { t } ( )$ ’s and help it to generate better camouflages. Note that although the score descends quicker during the first 50 iterations, it does not find the global best camouflage until near the end (296th iteration). This graph also shows the classification score is a suitable choice to be minimized as it is highly correlated with mIoU.
|
| 349 |
+
|
| 350 |
+
Note that the system automatically re-initialize the clone network’s parameters to prevent it from falling into local minima during the optimization whenever we add a new sample to the training set $C$ . Hence, there are some spikes in the graph.
|
| 351 |
+
|
| 352 |
+

|
| 353 |
+
Figure 9: Clone network’s learned camouflage’s classification score and mIoU vs. Simulation called. We can see how the new samples helped the clone network to find the minimal.
|
| 354 |
+
|
| 355 |
+
# F DETECTION ATTENTION
|
| 356 |
+
|
| 357 |
+
How exactly does our camouflage work against the detector? We partially answer this question by visualizing Mask-RCNN’s completely/partially successful detection attention on our grey and camouflaged Camry. Since our Mask-RCNN implementation does not explicitly yield failed detection’s prediction, we are unable to visualize the failed detection’s attention w.r.t. the input image if the failed detection does not exist.
|
| 358 |
+
|
| 359 |
+
There are two main visualization approaches: Grad-CAM (Selvaraju et al., 2017) and saliency (Simonyan et al., 2013). Approximately speaking, grad-CAM visualizes the gradient of output w.r.t. penultimate (pre-fully-connected layer) convolutional layer feature map output; Saliency visualizes the gradient of output w.r.t. initial input image. Grad-CAM is generally considered superior as the last convolutional layer’s feature map contains much more abstracted semantic information, leading to less noisy visualization. However, we find that it is hard to define the single “penultimate layer” in Mask-RCNN: It has multiple penultimate layers, tracing back to different stages of the network, prior to the ROI pooling layer. Each of those penultimate layers contains varying levels of information. We choose to use saliency in this case.
|
| 360 |
+
|
| 361 |
+
It is clear how to define the “attention” in the image classification scenario: It is the gradient heatmap of the classification score scalar w.r.t. the entire input image. On the other hand, an end-to-end detection neural network often yields multiple structure predictions. Each structure contains bounding box and classification score, etc. We choose to visualize the gradient of the best bounding-box’s classification score w.r.t. the input image.
|
| 362 |
+
|
| 363 |
+
Our visualizations are presented in Fig. 10. It is surprising that the window, roof and upper bodies are playing the predominant role in car detection. Upper body attention exists even when the upper body is not included in the detection bounding box (row 3). Given that the classification stage makes the classification decision based on the proposed feature map box region, such attention must have been already included in the detection proposal before the ROI layer, i.e. detection stage. This may also explain why it is easier to fail the front-viewing and the rear-view detectors: front-view (row 1) and the rear-view (row 5) detectors place their attention on the hood and trunk, where camouflage pattern is presented. A partially successful attack (row 4) was carried out by wiping out detector’s attention on the car hood. On the other hand, the side-view detector is harder to attack since the detector merely places any attention of the car body (row 2) where the camouflages are mainly located. However, our camouflages on the roof could still fail the side-view detector partially (row 3).
|
| 364 |
+
|
| 365 |
+
Since we only visualize the (partially) successful detections, there are still many cases to explore.
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
Figure 10: The best detections in each image and the gradient heatmap of their classification scores w.r.t. the input images. The detector places its attention predominantly on the upper car body, i.e., roof, hood, trunk, and windows.
|
| 369 |
+
|
| 370 |
+
# G SIMULATION SETUP
|
| 371 |
+
|
| 372 |
+
# G.1 SIMULATION IMPLEMENTATION
|
| 373 |
+
|
| 374 |
+
The iterative optimization framework works on two Nvidia GTX 1080 Ti in our experiment. We use one to run the detector and another one to run the simulation and training/ prediction of evaluation network. The simulation was implemented partially using AirSim by Shah et al. (2017) and UnrealEnginePython. All submodules are implemented asynchronously to run in parallel and are communicating with each other using RPC/ RPyC. All the camouflages and the baseline colors are implemented either using or based on the official Unreal Automotive Material. Each evaluation in the simulation, which is the most time-consuming part, takes around 15 to 20 second.
|
| 375 |
+
|
| 376 |
+
# G.2 SIMULATION ERROR
|
| 377 |
+
|
| 378 |
+
Despite our best effort, we observe $V _ { t } ( c )$ come with a standard deviation of 0.008 due to the inherent and mostly necessary random processes in the rendering (i.e., Monte Carlo in path tracing, etc.). This unfortunately makes $V _ { t } ( c )$ a noisy function. We reduce this error by repeat sampling $\bar { V } _ { t } ( c )$ 5 times whenever we use it.
|
| 379 |
+
|
| 380 |
+
# H NON-LINEARITY AND NON-CONVEXITY
|
| 381 |
+
|
| 382 |
+
Since this is a blackbox optimization problem, it is important to examine some important features of the $\textstyle \mathbb { E } _ { t } V _ { t } ( \cdot )$ . We first verify its convexity via the convexity definition. We test the convexity of $\mathbb { E } _ { t } V _ { t } ( \cdot )$ by testing the convexity of subsampled correspondence $\begin{array} { r } { \frac { 1 } { \left| T _ { S } \right| } \sum _ { t \in T _ { S } } V _ { t } ( \cdot ) } \end{array}$ via:
|
| 383 |
+
|
| 384 |
+
$$
|
| 385 |
+
\forall c _ { 1 } , c _ { 2 } \in C : \quad \frac { 1 } { | T _ { S } | } \sum _ { t \in T _ { S } } V _ { t } ( \frac { c _ { 1 } + c _ { 2 } } { 2 } ) \leq \frac { 1 } { | T _ { S } | } \sum _ { t \in T _ { S } } V _ { t } \frac { V _ { T _ { S } } ( c _ { 1 } ) + V _ { T _ { S } } ( c _ { 2 } ) } { 2 }
|
| 386 |
+
$$
|
| 387 |
+
|
| 388 |
+
where $C$ is a set of camouflages. We sampled 1000 pairs of random camouflages from $C$ and half of them do not meet the equation. Hence $\begin{array} { r } { \frac { 1 } { | T _ { S } | } \sum _ { t \in T _ { S } } ^ { } { \bar { V } } _ { t } ( \cdot ) } \end{array}$ is nonconvex.
|
| 389 |
+
|
| 390 |
+
Besides, we find a simple linear MLP is insufficient to approximate $\begin{array} { r } { \frac { 1 } { \left| T _ { S } \right| } \sum _ { t \in T _ { S } } V _ { t } ( \cdot ) } \end{array}$ , which empirically shows it is nonlinear.
|
| 391 |
+
|
| 392 |
+
# I SUPPLEMENTAL FIGURES
|
| 393 |
+
|
| 394 |
+
# Algorithm 1: Iterative Object Camouflage Learning
|
| 395 |
+
|
| 396 |
+
Input : Clone network parameter $V _ { \theta } ( \cdot )$ ; Simulation and detection $V _ { T _ { S } } ( \cdot )$ ; Transformation $T _ { S }$ which are parameterized as rendered background and foreground images; Regularization tradeoff $\alpha$ ; Random camouflage set $C _ { R }$ .
|
| 397 |
+
|
| 398 |
+
1 Initialize $V _ { \theta }$ with random weights $\theta$
|
| 399 |
+
|
| 400 |
+
2 Set score record $s ^ { * } + \infty$
|
| 401 |
+
|
| 402 |
+
5 F $\begin{array} { r } { \theta \arg \operatorname* { m i n } _ { \theta } \ \frac { 1 } { | C | | T _ { S } | } \sum _ { c \in C } \sum _ { t \in T _ { S } } H \big [ s , V _ { \theta } ( c , t ) \big ] + \lambda \| \theta \| _ { 2 } } \end{array}$
|
| 403 |
+
6 $\begin{array} { r } { c ^ { \prime } \gets \arg \operatorname* { m i n } _ { c } \frac { 1 } { | T | } \sum _ { t \in T _ { S } } H \big [ 0 , V _ { \theta } ( c , t ) \big ] } \end{array}$
|
| 404 |
+
7 s0 ← {Vt(c)|t ∈ T }
|
| 405 |
+
8 C ← C ∪ {c0}
|
| 406 |
+
9 if mea $1 ( s ^ { \prime } ) < s ^ { * }$ then
|
| 407 |
+
10 s∗ ← mean(s0)
|
| 408 |
+
11 c ∗ ← c 0
|
| 409 |
+
|
| 410 |
+
12 until Reach maximum training steps output: Best learned camouflage $c ^ { * }$
|
| 411 |
+
|
| 412 |
+

|
| 413 |
+
Figure 11: Qualitative comparison of the Mask R-CNN detections results of the grey baseline color, random camouflages and our learned camouflages in different transformations. Zoom in for more details. 19
|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
Figure 12: A fraction of different Toyota sedan appearances in MS COCO dataset.
|
parse/train/SJgEl3A5tm/SJgEl3A5tm_content_list.json
ADDED
|
@@ -0,0 +1,2225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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FLAGE FOR PHYSICAL ADVERSARIAL ATTACK ON OBJECT DETECTORS IN THE WILD ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
758,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yang Zhang1, Hassan Foroosh1, Philip David2, and Boqing Gong3 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
271,
|
| 19 |
+
200,
|
| 20 |
+
725,
|
| 21 |
+
217
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1 Department of Computer Science, University of Central Florida 2 Computational and Information Sciences Directorate, U.S. Army Research Laboratory 3 Tencent A.I. Lab yangzhang@knights.ucf.edu, foroosh@cs.ucf.edu, philip.j.david4.civ@mail.mil, boqinggo@outlook.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
210,
|
| 30 |
+
227,
|
| 31 |
+
789,
|
| 32 |
+
299
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
338,
|
| 43 |
+
544,
|
| 44 |
+
353
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "In this paper, we conduct an intriguing experimental study about the physical adversarial attack on object detectors in the wild. In particular, we learn a camouflage pattern to hide vehicles from being detected by state-of-the-art convolutional neural network based detectors. Our approach alternates between two threads. In the first, we train a neural approximation function to imitate how a simulator applies a camouflage to vehicles and how a vehicle detector performs given images of the camouflaged vehicles. In the second, we minimize the approximated detection score by searching for the optimal camouflage. Experiments show that the learned camouflage can not only hide a vehicle from the image-based detectors under many test cases but also generalizes to different environments, vehicles, and object detectors. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
372,
|
| 54 |
+
764,
|
| 55 |
+
525
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
559,
|
| 66 |
+
336,
|
| 67 |
+
575
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Is it possible to paint a unique pattern on a vehicle’s body and hence hide it from being detected by surveillance cameras? We conjecture the answer is affirmative mainly for two reasons. First, deep neural networks will be widely used in modern surveillance and autonomous driving systems for automatic vehicle detection. Second, unfortunately, these neural networks are intriguingly vulnerable to adversarial examples (Akhtar & Mian, 2018). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
593,
|
| 77 |
+
823,
|
| 78 |
+
662
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Szegedy et al. (2013) found that adding imperceptible perturbations to clean images can result in the failure of neural networks trained for image classification. This motivates a rich line of work on developing defense techniques for the neural networks (Akhtar & Mian, 2018) and powerful attack methods to defeat those defenses (Athalye et al., 2018a). Moreover, the adversarial attack has been extended to other tasks, such as semantic segmentation (Arnab et al., 2018), object detection (Xie et al., 2017), image captioning (Chen et al., 2018a), etc. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
670,
|
| 88 |
+
825,
|
| 89 |
+
753
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/3ad224d7c17be423dca32355e7c6ddef678bcbb31b6b826558d694ad25125977.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: A Toyota Camry XLE in the center of the image fools the Mask R-CNN object detector after we apply the learned camouflage to it (on the right), whereas neither plain colors (on the left) nor a random camouflage (in the middle) is able to escape the Camry from being detected. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
176,
|
| 102 |
+
782,
|
| 103 |
+
823,
|
| 104 |
+
867
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 0
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "It is worth noting that the adversarial examples in the works mentioned above are not physical, i.e., the adversary directly manipulates image pixels. Although it is arguably more challenging to create physical adversarial objects than to produce adversarial images, some existing works have shown promising results with adversarial patches (Brown et al., 2017), stop signs (Eykholt et al., 2018b; Chen et al., 2018b), and small objects like baseballs and 3D turtle models (Athalye et al., 2018b). ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
103,
|
| 114 |
+
825,
|
| 115 |
+
174
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "To this end, we are reasonably optimistic about designing a special pattern to camouflage a 3D car, in order to make it difficult to detect by the deep learning based vehicle detectors. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
180,
|
| 125 |
+
821,
|
| 126 |
+
208
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "It is undoubtedly challenging to run experiments in the real world considering financial and time constraints. In this paper, we instead demonstrate results using a simulation engine (Unreal) with a high-fidelity 3D sedan model and a 3D SUV. Fig. 1 shows that the vehicle in the simulation is photo-realistic such that, even covered with random camouflage, it can still be detected by the Mask R-CNN detector (He et al., 2017) trained on COCO (Lin et al., 2014). ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
215,
|
| 136 |
+
825,
|
| 137 |
+
285
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "The simulation engine enables us to test the physically adversarial cars under a considerable spectrum of environmental conditions: lighting, backgrounds, camera-to-object distances, viewing angles, occlusions, etc. In contrast, existing experiments on physical adversarial attacks are all executed in simplified scenarios. Eykholt et al. (2018b), Eykholt et al. (2018a), and Chen et al. (2018b) attack neural classifiers and detectors of stop signs. While projective transformations could be used to render the planar stop signs to various images, it is more involved to image the nonplanar 3D vehicles considered in this paper; we learn a neural approximation function instead. Athalye et al. (2018b) synthesize objects (e.g., baseball, turtle, etc.) which are adversarial within a small range of camera-to-object distances and viewing angles. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
291,
|
| 147 |
+
825,
|
| 148 |
+
417
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "Given a 3D vehicle model in the simulation engine, we learn a camouflage for it by following the expectation over transformation (EoT) principle first formalized by Athalye et al. (2018b). The main idea is to consider a variety of transformations under which the camouflage can consistently hide the vehicle from a neural detector. A transformation imitates the imaging procedure and produces an image of the 3D vehicle model in the simulated environment. If a camouflage works under many transformations seen in the training phase, it is expected to also generalize to unseen transformations in the test phase. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
424,
|
| 158 |
+
825,
|
| 159 |
+
522
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "One of the major challenges is that the simulator’s image generation procedure is non-differentiable. A seemingly plausible solution is to train a neural network to approximate this procedure. The network takes as input the environment, a camouflage pattern, and the 3D vehicle model and outputs an image as close as possible to the one rendered by the simulator. Although this approach is viable, it is extremely difficult to generate high-resolution images. State-of-the-art methods (e.g., RenderNet (Nguyen-Phuoc et al., 2018)) can only generate simple 3D objects without any backgrounds. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
529,
|
| 169 |
+
823,
|
| 170 |
+
613
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "We tackle the above challenge by drawing the following observation. In EoT (Athalye et al., 2018b; Chen et al., 2018b), the gradients propagate back to the physical object from the detector/classifier’s decision values. If we jointly consider the object detector and the imaging procedure of the simulator as a whole black box, it is easier to learn a function to approximate this black box’s behavior than to train the image generation neural network. Hence, we learn a substitute neural network which takes as input a camouflage, the vehicle model, and the environment and outputs the vehicle detector’s decision value. Equipped with this substitute network, we can readily run the EoT algorithm (Athalye et al., 2018b) over our simulator in order to infer an adversarial camouflage for the vehicles. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
619,
|
| 180 |
+
825,
|
| 181 |
+
731
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "Finally, we make some remarks about the significance and potential impact of this work. In the real world, multiclass visual object detection neural networks (He et al., 2017; Redmon & Farhadi, 2018) have become the cornerstone of multiple industrial applications, such as surveillance systems (Nair et al., 2018), autonomous driving (Huval et al., 2015), and military systems (Pellerin, 2017). Among these applications, cars are one of the most crucial objects. Attacking vehicle detectors in the physical world will be enormously valuable and impactful from the perspective of the malicious adversaries. Compared with the stop sign, it is legal in the United States to paint a car while defacing a stop sign is criminal. This poses a more significant threat to autonomous driving systems since anyone has access to perturb public machine learning based systems legally. This observation motivates us to focus our approach on cars. We limit our camouflage within the legally paintable car body parts, which means that we will leave discriminative visual cues, such as the tires, windows, grille, lights, etc. unaltered for the detectors. ",
|
| 188 |
+
"bbox": [
|
| 189 |
+
174,
|
| 190 |
+
738,
|
| 191 |
+
825,
|
| 192 |
+
904
|
| 193 |
+
],
|
| 194 |
+
"page_idx": 1
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"type": "text",
|
| 198 |
+
"text": "2 RELATED WORK ",
|
| 199 |
+
"text_level": 1,
|
| 200 |
+
"bbox": [
|
| 201 |
+
176,
|
| 202 |
+
102,
|
| 203 |
+
344,
|
| 204 |
+
118
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "2.1 ADVERSARIAL ATTACK AND ITS GENERALIZATION ",
|
| 211 |
+
"text_level": 1,
|
| 212 |
+
"bbox": [
|
| 213 |
+
174,
|
| 214 |
+
135,
|
| 215 |
+
568,
|
| 216 |
+
148
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Currently, the adversarial attack is powerful enough to attack image classification (MoosaviDezfooli et al., 2017), object detection (Arnab et al., 2018), semantic segmentation (Xie et al., 2017), audio recognition (Carlini & Wagner, 2018) and even bypass most of the defense mechanism (Athalye et al., 2018a). The mainstream adversarial machine learning research focuses on the in silico ones or the generalization within in silico (Liu et al., 2017). Such learned perturbations are practically unusable in the real world as shown in the experiments by Lu et al. (2017b), who found that almost all perturbation methods failed to prevent a detector from detecting real stop signs. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
162,
|
| 226 |
+
825,
|
| 227 |
+
258
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "The first physical world adversarial attack by Kurakin et al. (2016) found perturbations remain effective on the printed paper. Eykholt et al. (2018b) found a way to train perturbations that remain effective against a classifier on real stop signs for different viewing angles and such. Athalye et al. (2018b) trained another perturbation that successfully attacks an image classifier on 3D-printed objects. However Lu et al. (2017c) found that Eykholt et al. (2018b)’s perturbation does not fool the object detectors YOLO9000 (Redmon & Farhadi, 2017) and Faster RCNN (Ren et al., 2015). They argue that fooling an image classifier is different and easier than fooling an object detector because the detector is able to propose object bounding boxes on its own. In the meanwhile, Lu et al. (2017a)’s and Chen et al. (2018b)’s work could be generalized to attack the stop sign detector in the physical world more effectively. However, all the above methods aim to perturb detecting the stop signs. ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
267,
|
| 237 |
+
825,
|
| 238 |
+
419
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "Blackbox attack is another relevant topic. Among the current blackbox attack literature, Papernot et al. (2017) trained a target model substitution based on the assumption that the gradient between the image and the perturbation is available. We do not have the gradient since the simulation is nondifferentiable. Chen et al. (2017) proposed a coordinate descent to attack the model. However, we found that our optimization problem is time-consuming, noisy (see Sec. G.2), empirically nonlinear and non-convex (see Sec. H). Time constraints made this approach unavailable to us since it requires extensive evaluations during coordinate descent. Besides, coordinate descent generally requires precise evaluation at each data-point. ",
|
| 245 |
+
"bbox": [
|
| 246 |
+
174,
|
| 247 |
+
426,
|
| 248 |
+
825,
|
| 249 |
+
537
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "2.2 SIMULATION AIDED MACHINE LEARNING ",
|
| 256 |
+
"text_level": 1,
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
558,
|
| 260 |
+
504,
|
| 261 |
+
571
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Since the dawn of deep learning, data collection has always been of fundamental importance as deep learning model performance is generally correlated with the amount of training data used. Given the sometimes unrealistically expensive annotation costs, some machine learning researchers use synthetic data to train their models. This is especially true in computer vision applications since state-of-the-art computer-generated graphics are truly photo-realistic. Ros et al. (2016); Richter et al. (2017) proposed synthetic datasets for semantic segmentation. Gaidon et al. (2016) proposed virtual KITTI as a synthetic replica of the famous KITTI dataset (Geiger et al., 2012) for tracking, segmentation, etc. And Varol et al. (2017) proposed using synthetic data for human action learning. Zhang et al. (2017); Bousmalis et al. (2017) adapt RL-trained robot grasping models from the synthetic environment to the real environment. Tremblay et al. (2018) trained a detection network using the same Unreal engine that we are using. ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
584,
|
| 271 |
+
825,
|
| 272 |
+
737
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "3 PROBLEM STATEMENT ",
|
| 279 |
+
"text_level": 1,
|
| 280 |
+
"bbox": [
|
| 281 |
+
176,
|
| 282 |
+
761,
|
| 283 |
+
392,
|
| 284 |
+
776
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "In this paper, we investigate physical adversarial attack on state-of-the-art neural network based object detectors. The objective is to find a camouflage pattern such that, when it is painted on the body of a vehicle, the Mask R-CNN (He et al., 2017) and YOLO (Redmon & Farhadi, 2018) detectors fail to detect the vehicle under a wide spectrum of variations (e.g., locations, lighting conditions, viewing angles, etc.). We learn the camouflage in a black-box fashion, without the need for accessing the detectors’ network architecture or weights. ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
794,
|
| 294 |
+
825,
|
| 295 |
+
877
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Expectation-over-transformation (EoT). We formalize the physical adversarial attack problem with the EoT framework (Athalye et al., 2018b). Denote by $t$ a transformation which converts a camouflage pattern $c$ to a real photo. Such a transformation actually represents an involved procedure: paint the pattern to a vehicle’s body, drive the vehicle to a location, configure a camera, and take a picture of the vehicle. The transformation conveniently abstracts away enormous factors (e.g., quality of painting, camera, etc.), each of which could play a role in this procedure. Denote by $V _ { t } ( c )$ the detection score (e.g., by Mask-RCNN) over an image which is a result of a transformation $t$ and a camouflage $c$ . The physical adversarial attack problem is then described by ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
895,
|
| 305 |
+
821,
|
| 306 |
+
924
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "image",
|
| 312 |
+
"img_path": "images/8ce40e4e065c748809fb4d2c823c310987f3288f7931797026338a31e4250c30.jpg",
|
| 313 |
+
"image_caption": [
|
| 314 |
+
"Figure 2: Example procedure of a transformation $t$ . From left to right: a $1 6 \\times 1 6$ camouflage, a highfidelity vehicle, a location in our simulated environment, and an image due to this transformation over the camouflage. "
|
| 315 |
+
],
|
| 316 |
+
"image_footnote": [],
|
| 317 |
+
"bbox": [
|
| 318 |
+
174,
|
| 319 |
+
102,
|
| 320 |
+
823,
|
| 321 |
+
179
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "",
|
| 328 |
+
"bbox": [
|
| 329 |
+
173,
|
| 330 |
+
250,
|
| 331 |
+
825,
|
| 332 |
+
334
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "equation",
|
| 338 |
+
"img_path": "images/537bb3d41b6e15006c6c960fd8b87a23d139a51da1be19d6b521d07f5901d77d.jpg",
|
| 339 |
+
"text": "$$\n\\arg \\operatorname* { m i n } _ { c } \\quad \\mathbb { E } _ { t \\sim \\mathcal { T } } V _ { t } ( c )\n$$",
|
| 340 |
+
"text_format": "latex",
|
| 341 |
+
"bbox": [
|
| 342 |
+
421,
|
| 343 |
+
343,
|
| 344 |
+
576,
|
| 345 |
+
368
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 3
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "where $\\tau$ is a distribution over all the possible transformations $\\{ t \\}$ . In other words, we search for a camouflage $c$ that minimizes the vehicle detection score in expectation. ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
169,
|
| 354 |
+
378,
|
| 355 |
+
825,
|
| 356 |
+
407
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 3
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "Transformation in simulation. Due to financial and time constraints, we conduct our study with the photo-realistic Unreal 4 game engine. It supplies us sufficient configuration parameters, such as the resolution and pattern of the camouflage, 3D models of vehicles, parameters of cameras and environments, etc. Fig. 2 shows a camouflage pattern, a high-fidelity 3D model of Toyota Camry, a corner of the virtual city used in this paper, and finally the picture taken by a camera after we apply the camouflage to the Camry and drive it to that corner — in other words, the rightmost image is the result of a certain transformation $t$ acting on the three images on the left of Fig. 2. ",
|
| 363 |
+
"bbox": [
|
| 364 |
+
173,
|
| 365 |
+
426,
|
| 366 |
+
825,
|
| 367 |
+
525
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "4 APPROACH",
|
| 374 |
+
"text_level": 1,
|
| 375 |
+
"bbox": [
|
| 376 |
+
174,
|
| 377 |
+
549,
|
| 378 |
+
299,
|
| 379 |
+
564
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "In this section, we present two key techniques for solving the problem $\\operatorname* { m i n } _ { c }$ $\\mathbb { E } _ { t } V _ { t } ( c )$ (cf. Eq. (1) and the text there). One is to estimate the expectation $\\mathbb { E } _ { t }$ by an empirical mean over many transformations. The other is to train a neural network to clone the joint behavior $V _ { t } ( c )$ of the black-box detector and the non-differentiable simulator. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
582,
|
| 389 |
+
825,
|
| 390 |
+
637
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "4.1 SAMPLING TRANSFORMATIONS TO ESTIMATE $\\mathbb { E } _ { t }$ ",
|
| 397 |
+
"text_level": 1,
|
| 398 |
+
"bbox": [
|
| 399 |
+
174,
|
| 400 |
+
660,
|
| 401 |
+
549,
|
| 402 |
+
672
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "Recall that a transformation $t$ specifies a particular procedure from applying the camouflage $c$ to a vehicle until the corresponding image captured by a camera. In the context of the simulation engine, the camouflage $c$ is first programmed as textures, which are then warped onto the 3D model of an object. The simulator can teleport the object to different locations in the environment. The simulator also has multiple cameras to photograph the teleported object from various distances and viewing angles. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
686,
|
| 412 |
+
825,
|
| 413 |
+
770
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "We identify some key factors involved in this procedure, including vehicle, location, camera-toobject distance, and viewing angle. The combinations of them also give rise to variations along other dimensions. For instance, the lighting condition changes from one location to another. The vehicle of interest is occluded to different degrees in the images captured by the cameras. Denote by $T _ { S }$ all the sampled transformations that are used for learning the camouflage. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
776,
|
| 423 |
+
825,
|
| 424 |
+
847
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Fig. 3 illustrates the positions where the cameras are placed. We can see how the viewing angles and camera-to-object distances vary. The ones shown in the green color are used in the training. We left out some cameras shown in the red color for the testing. Since it is computationally expensive to utilize the cameras, we randomly arrange them in different heights and distances to create as much variations as possible instead of traversing all possible height-distance combinations. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
174,
|
| 433 |
+
853,
|
| 434 |
+
823,
|
| 435 |
+
924
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "image",
|
| 441 |
+
"img_path": "images/0d907c35ed2ec5e62bc129613a2d8e17a9180e32ee9bc41fc30a8b1c8b9bb81f.jpg",
|
| 442 |
+
"image_caption": [
|
| 443 |
+
"Figure 3: The camera setup as well as some exemplar locations. The cameras depicted in the green color are used to learn the camouflage while those in red are unseen cameras used for testing the camouflage’s generalization. (H: camera height, L: vehicle-to-camera distance.) "
|
| 444 |
+
],
|
| 445 |
+
"image_footnote": [],
|
| 446 |
+
"bbox": [
|
| 447 |
+
210,
|
| 448 |
+
98,
|
| 449 |
+
782,
|
| 450 |
+
375
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "4.2 LEARNING A CLONE NETWORK $V _ { \\theta } ( c , t )$ TO APPROXIMATE $V _ { t } ( c )$ ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
176,
|
| 459 |
+
444,
|
| 460 |
+
648,
|
| 461 |
+
458
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "If we unroll the detection score $V _ { t } ( c )$ , it contains two major components. The first renders an image based on the camouflage $c$ by following the procedure specified by the transformation $t$ . The second obtains the detection score of a vehicle detector (e.g., Mask-RCNN) over the rendered image. The first component is non-differentiable while the second one could be a black box in practice. Therefore, we propose to consider them jointly as a single black box. Furthermore, we learn a clone neural network $V _ { \\theta } ( c , t )$ to imitate the input-output behavior of this extended black box. As the transformation $t$ itself is involved and hard to represent, we instead input its consequence to the network: a background image and the cropped foreground of the vehicle. ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
173,
|
| 470 |
+
469,
|
| 471 |
+
825,
|
| 472 |
+
582
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 4
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "Fig. 4b shows the network architecture. It takes as input a camouflage pattern $c$ , the background image due to a sampled transformation $t$ , and the cropped foreground. The network $V _ { \\theta } ( c , t )$ has a single output to approximate the detection score $V _ { t } ( c )$ . ",
|
| 479 |
+
"bbox": [
|
| 480 |
+
174,
|
| 481 |
+
588,
|
| 482 |
+
825,
|
| 483 |
+
631
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "To this end, we are ready to write down an approximate form of problem (1), ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
174,
|
| 492 |
+
637,
|
| 493 |
+
678,
|
| 494 |
+
652
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "equation",
|
| 500 |
+
"img_path": "images/f2996211df5b2cbe73760a7068aaf9d7ff271d066a9dd81d87066e5af74e7a38.jpg",
|
| 501 |
+
"text": "$$\n\\underset { c } { \\arg \\operatorname* { m i n } } \\quad \\frac { 1 } { \\left| T _ { S } \\right| } \\sum _ { t \\in T _ { S } } V _ { \\theta } ( c , t ) .\n$$",
|
| 502 |
+
"text_format": "latex",
|
| 503 |
+
"bbox": [
|
| 504 |
+
397,
|
| 505 |
+
659,
|
| 506 |
+
599,
|
| 507 |
+
698
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "Thanks to the differentiable network $V _ { \\theta } ( c , t )$ with respect to the camouflage $c$ , we can solve the problem above by standard (stochastic) gradient descent. ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
173,
|
| 516 |
+
704,
|
| 517 |
+
825,
|
| 518 |
+
733
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "It is important to note that the fidelity of problem (2) depends on the size and diversity of the sampled set of transformations $T _ { S }$ as well as the quality of the clone network $V _ { \\theta } ( c , t )$ . It is straightforward to generate a large training set for the clone network by randomizing the camouflages and transformations and “labeling” the resulting images with the detection scores. However, if the optimal camouflage is unfortunately not covered by this training set, a discrepancy would occur when we solve problem (2). In other words, the network may fail to well approximate the detection scores at the region around the optimal camouflage. We address this discrepancy by an alternative learning algorithm as follows. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
173,
|
| 527 |
+
739,
|
| 528 |
+
825,
|
| 529 |
+
852
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "4.3 JOINTLY LEARNING THE CLONE NETWORK AND THE OPTIMAL CAMOUFLAGE",
|
| 536 |
+
"text_level": 1,
|
| 537 |
+
"bbox": [
|
| 538 |
+
176,
|
| 539 |
+
869,
|
| 540 |
+
743,
|
| 541 |
+
883
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "We alternatively learn the clone network $V _ { \\theta } ( c , t )$ and solve the problem (2). Once a new camouflage pattern is found due to optimizing problem (2), it is converted to multiple images by the training ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
895,
|
| 551 |
+
821,
|
| 552 |
+
924
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "image",
|
| 558 |
+
"img_path": "images/d80a830f80f9ae6649a361a1b2126f31e0602e65c93d2ec5d5144632a8b1de4c.jpg",
|
| 559 |
+
"image_caption": [
|
| 560 |
+
"Figure 4: Overview of our optimization pipeline and the clone network $V _ { \\theta } ( c , t )$ . "
|
| 561 |
+
],
|
| 562 |
+
"image_footnote": [],
|
| 563 |
+
"bbox": [
|
| 564 |
+
173,
|
| 565 |
+
111,
|
| 566 |
+
830,
|
| 567 |
+
265
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "transformations $T _ { S }$ . We obtain the detection score for each of the images by querying a detector. The camouflage pattern, along with the detection scores are then added to the training set for learning the clone network $V _ { \\theta } ( c , t )$ . Fig. 4a illustrates this process. ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
173,
|
| 576 |
+
304,
|
| 577 |
+
825,
|
| 578 |
+
347
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "Implementation details. Denote by $H [ p , q ] : = - p \\log q - ( 1 - p ) \\log ( 1 - q )$ the cross-entropy loss. We alternately solve the following two problems, ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
361,
|
| 588 |
+
823,
|
| 589 |
+
390
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 5
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "equation",
|
| 595 |
+
"img_path": "images/74c41d2d113839749f73c6bcb38f6d9f2ede855417e083b92d0013e858063677.jpg",
|
| 596 |
+
"text": "$$\n\\arg \\operatorname* { m i n } _ { \\theta } \\ \\frac { 1 } { | C | | T s | } \\sum _ { c \\in C } \\sum _ { t \\in T s } H \\big [ s , V _ { \\theta } ( c , t ) \\big ] + \\lambda \\| \\theta \\| _ { 2 } , \\qquad \\arg \\operatorname* { m i n } _ { c } \\ \\frac { 1 } { | T | } \\sum _ { t \\in T s } H \\big [ 0 , V _ { \\theta } ( c , t ) \\big ] \n$$",
|
| 597 |
+
"text_format": "latex",
|
| 598 |
+
"bbox": [
|
| 599 |
+
192,
|
| 600 |
+
395,
|
| 601 |
+
782,
|
| 602 |
+
435
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 5
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "where $C$ is the collection of all camouflages in the training set for learning the clone network $V _ { \\theta } ( c , t )$ , and $s : = V _ { t } ( c )$ is the detection score corresponding to the camouflage $c$ and the transformation $t$ . The $\\ell _ { 2 }$ regularization $\\lambda \\| \\boldsymbol { \\theta } \\| _ { 2 }$ over the clone network’s weights is essential. Without this term, the two loss functions may cause oscillations or degeneration of the solutions. We set $\\lambda = 1 0$ in the experiments. Since the approximation accuracy of the clone network near the optimal camouflage is more important than in other regions, we weigh the newly added samples to the training set 10 times higher than the old ones at each iteration. Algorithm 1 in the Appendix gives more details. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
440,
|
| 612 |
+
825,
|
| 613 |
+
540
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 5
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "5 EXPERIMENTS ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
176,
|
| 623 |
+
559,
|
| 624 |
+
326,
|
| 625 |
+
574
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Since the primary objective of this paper is to learn camouflage patterns that deceive vehicle detectors, we introduce two baseline camouflage patterns in the experiments: 6 most popular car colors and 800 random camouflages in different resolutions. We then analyze how the resolution of the camouflage affects the detection performance. For the vehicles, we employ two 3D models: a 2015 Toyota Camry and a virtual SUV. In addition to the main comparison results, we also test the transferability of the learned camouflage across different car models, environments, camera positions, and object detectors. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
590,
|
| 635 |
+
825,
|
| 636 |
+
688
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "5.1 EXPERIMENT SETUP ",
|
| 643 |
+
"text_level": 1,
|
| 644 |
+
"bbox": [
|
| 645 |
+
174,
|
| 646 |
+
704,
|
| 647 |
+
356,
|
| 648 |
+
719
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 5
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "We describe the detailed experimental setup in this section, including the simulator, vehicle detector, evaluation metrics, and the baseline camouflage patterns. ",
|
| 655 |
+
"bbox": [
|
| 656 |
+
174,
|
| 657 |
+
731,
|
| 658 |
+
823,
|
| 659 |
+
758
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 5
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "5.1.1 THE SIMULATOR ",
|
| 666 |
+
"text_level": 1,
|
| 667 |
+
"bbox": [
|
| 668 |
+
176,
|
| 669 |
+
775,
|
| 670 |
+
343,
|
| 671 |
+
789
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 5
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "As shown in Fig. 5a, we use the Unreal engine to build our first simulation environment from the photo-realistic DownTown environment. It is modeled after the downtown Manhattan in New York. There are skyscrapers, cars, traffic signs, a park, and roads in this environment, resembling a typical urban environment. We sample 32 different locations along the streets. Eight cameras perch at each location, each taking pictures of the size $7 2 0 \\times 3 6 0$ . The relative position of a camera is indexed by the viewing angle and camera-to-object distance, as shown in Fig. 3. In addition, we install another 16 cameras to test the generalization of the learned camouflage across viewing angles, distances, etc. In total, we use 18 locations for training and another 18 for testing. Note that the vehicles are invisible to some cameras due to occlusion. ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
797,
|
| 681 |
+
825,
|
| 682 |
+
924
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "image",
|
| 688 |
+
"img_path": "images/8f13124eb918205339bb84dfbafd604190b286290f3672c52eedcfc46b983cd3.jpg",
|
| 689 |
+
"image_caption": [
|
| 690 |
+
"(b) A mountain environment. ",
|
| 691 |
+
"Figure 5: The two environments we built to learn and test the vehicle camouflage. Zoom in for more details. These images are of the higher resolution but the same rendering quality (anti-aliasing level, shadow quality, rendering distance, texture resolution etc.) the detector perceived. "
|
| 692 |
+
],
|
| 693 |
+
"image_footnote": [],
|
| 694 |
+
"bbox": [
|
| 695 |
+
199,
|
| 696 |
+
113,
|
| 697 |
+
803,
|
| 698 |
+
579
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 6
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "Our second environment is based on a totally different countryside scene called Landscape Mountains, shown in Fig. 5b. The roads lie on high-altitude mountains and cross bridges, forest, snow, and a lake. We use this scene to test the transferability of our camouflage across different environments; this scene is not used in the training. Like the DownTown environment, we sample 18 locations along the roads for the purpose of testing. ",
|
| 705 |
+
"bbox": [
|
| 706 |
+
174,
|
| 707 |
+
660,
|
| 708 |
+
825,
|
| 709 |
+
729
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 6
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "The two vehicles used in the experiments are shown in Fig. 6. One is a 2015 Toyota Camry XLE sold in the European Union. The other is a virtual SUV from AirSim (Shah et al., 2017). It is worth noting that the Toyota sedan appears multiple times in the MS-COCO dataset (Lin et al., 2014) (cf. some examples in Fig. 12). Since the object detectors are trained on MS-COCO, the Camry is more challenging to hide than the virtual SUV. ",
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
737,
|
| 719 |
+
825,
|
| 720 |
+
806
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 6
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "5.1.2 VEHICLE DETECTORS ",
|
| 727 |
+
"text_level": 1,
|
| 728 |
+
"bbox": [
|
| 729 |
+
176,
|
| 730 |
+
828,
|
| 731 |
+
379,
|
| 732 |
+
842
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 6
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "We study two state-of-the-art detectors: Mask R-CNN (He et al., 2017) and YOLOv3-SPP (Redmon & Farhadi, 2018). Mask R-CNN is one of the most powerful publicly available object detectors; it currently ranks in the 4th place in the MS COCO detection leaderboard. Both detectors are pretrained on MS COCO. For Mask R-CNN, we use the one implemented by Abdulla (2017). Its backbone network is ResNet-101 (He et al., 2016). YOLOv3 has comparable performance with ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
174,
|
| 741 |
+
853,
|
| 742 |
+
825,
|
| 743 |
+
924
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 6
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "image",
|
| 749 |
+
"img_path": "images/7bf363407a0ec8a0ce821f3d8fed8cd94affbd9f25a1dc00014589c6b9bc392f.jpg",
|
| 750 |
+
"image_caption": [
|
| 751 |
+
"Figure 6: Orthogonal views of the Toyota Carmy XLE 2015 (second row) and the virtual SUV (first row) used in our simulation. "
|
| 752 |
+
],
|
| 753 |
+
"image_footnote": [],
|
| 754 |
+
"bbox": [
|
| 755 |
+
174,
|
| 756 |
+
102,
|
| 757 |
+
823,
|
| 758 |
+
282
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 7
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "Mask R-CNN. Its network architecture is very different from Mask R-CNN’s, causing challenges to the transfer of the camouflage between the two detectors. We use the spatial pyramid pooling (SPP) variant of YOLOv3 in the experiments. ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
174,
|
| 767 |
+
337,
|
| 768 |
+
825,
|
| 769 |
+
378
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 7
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "In the rest of the paper, we experiment with Mask R-CNN except the transfer experiments in Sec. 5.4. ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
173,
|
| 778 |
+
386,
|
| 779 |
+
820,
|
| 780 |
+
401
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 7
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "5.1.3 EVALUATION METRICS ",
|
| 787 |
+
"text_level": 1,
|
| 788 |
+
"bbox": [
|
| 789 |
+
174,
|
| 790 |
+
416,
|
| 791 |
+
388,
|
| 792 |
+
431
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 7
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "We adopt two metrics to evaluate the detection performance. The first one is a variation of the Intersection over Union proposed by Everingham et al. (2015). The IoU between a predicted box and the groundtruth bounding box is defined as $\\begin{array} { r } { \\mathsf { \\bar { I } } o U ( A , B ) = \\frac { A \\bigcap B } { A \\bigcup B } } \\end{array}$ . Since IoU was originally proposed to evaluate the results of multi-object detection, as opposed to the single vehicle detection in our context, we modify it to the following to better capture the vehicle of interest: $\\mathrm { m a x } _ { p \\in P } I o U ( p , G T )$ , where $P$ is the set of all detection proposals in an image. We average this quantity across all the test images and denote by mIoU the mean value. ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
174,
|
| 801 |
+
441,
|
| 802 |
+
825,
|
| 803 |
+
539
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 7
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "Our second metric is precision at 0.5 or $\\mathrm { P @ 0 . 5 }$ . Everingham et al. (2015) set a 0.5 threshold for the detection IoU in the PASCAL VOC detection challenge to determine whether a detection is a hit or miss. We report the percentage of the hit detections out of all observations as our $\\mathrm { P @ 0 . 5 }$ . We also report the relative precision drop of the camouflage against the baseline colors whenever possible. ",
|
| 810 |
+
"bbox": [
|
| 811 |
+
174,
|
| 812 |
+
545,
|
| 813 |
+
825,
|
| 814 |
+
602
|
| 815 |
+
],
|
| 816 |
+
"page_idx": 7
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "text",
|
| 820 |
+
"text": "5.1.4 BASELINES",
|
| 821 |
+
"text_level": 1,
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
617,
|
| 825 |
+
308,
|
| 826 |
+
632
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 7
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "Our first baseline is when a vehicle is colored in popular real car colors. We select 6 basic car colors (red, black, silver, grey, blue, and white) which cover over $90 \\%$ of the car colors worldwide (Axalta). We obtain their RGB values according to the X11 Color Names. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
176,
|
| 835 |
+
642,
|
| 836 |
+
823,
|
| 837 |
+
684
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 7
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "As the second baseline, we generate 800 random camouflages in different resolutions ranging in $\\{ 2 ^ { i } \\times 2 ^ { i } ; i \\in [ 1 . . 8 ] \\}$ . Since we find that camouflages with strong contrasts work better, we generate half of the camouflages using RGB values $\\in \\ [ 0 , 2 5 5 ]$ and the other half using RGB values $\\in \\ \\{ 0 , 2 5 5 \\}$ . After we obtain these camouflages and the corresponding detection scores, we use those with proper resolutions to initialize the training set for the clone network $V _ { \\theta } ( c , t )$ . ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
174,
|
| 846 |
+
691,
|
| 847 |
+
823,
|
| 848 |
+
761
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 7
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "The two baselines partially resolve the concern one might have that the learned camouflage successfully attacks the detector not because it exploits the CNN’s structural weakness, but because it takes advantage of the domain gap between the real data used to train the detector and our simulated data used to test the detector. Results show that the baselines could not fail the detectors under most test cases, indicating that the detectors are fairly resilient to the domain gap between the simulated imagery and the real data (at least for the vehicle detection task). ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
767,
|
| 858 |
+
825,
|
| 859 |
+
852
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 7
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "5.2 RESOLUTION OF THE CAMOUFLAGES ",
|
| 866 |
+
"text_level": 1,
|
| 867 |
+
"bbox": [
|
| 868 |
+
176,
|
| 869 |
+
869,
|
| 870 |
+
472,
|
| 871 |
+
882
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 7
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "We first report the random camouflages’ performance on hiding the Camry from the Mast R-CNN detector in the DownTown environment. Fig. 7 shows the results. The first observation is that, although random camouflages are visually very different from conventional car paintings (cf. Fig. 8), the Mask R-CNN detector is still able to detect most of them. Another slightly counter-intuitive yet interesting observation is that the detector’s performance does not always decrease as the camouflages’ resolutions increase. This is probably because some fine-grained patterns displayed by the high-resolution camouflage become harder to observe from a distance. Since the high-resolution camouflage does not bring any additional benefits beyond the $1 6 \\times 1 6$ resolution, we use camouflages of size $1 6 \\times 1 6$ in the remaining experiments. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
176,
|
| 880 |
+
895,
|
| 881 |
+
823,
|
| 882 |
+
924
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 7
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "image",
|
| 888 |
+
"img_path": "images/11a4ab5dbefbbf5e29ba8a2952b686f6f3f99b009e05bd12095189207c954e4a.jpg",
|
| 889 |
+
"image_caption": [
|
| 890 |
+
"Figure 7: The mIoU and $\\mathrm { P @ 0 . 5 }$ of the 800 random camouflages in different resolutions on Camry in the DownTown environment. There are 100 camouflages per resolution. "
|
| 891 |
+
],
|
| 892 |
+
"image_footnote": [],
|
| 893 |
+
"bbox": [
|
| 894 |
+
171,
|
| 895 |
+
111,
|
| 896 |
+
828,
|
| 897 |
+
294
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "image",
|
| 903 |
+
"img_path": "images/217a875298bd410a386c9f2e08143f17befd7b1540cd894602391b3b94dc891d.jpg",
|
| 904 |
+
"image_caption": [
|
| 905 |
+
"Figure 8: Visualization of three random camouflages of resolutions $4 \\times 4$ , $1 6 \\times 1 6$ , and $2 5 6 \\times 2 5 6$ , respectively, as well as the resulting images by the same camera. "
|
| 906 |
+
],
|
| 907 |
+
"image_footnote": [],
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
349,
|
| 911 |
+
823,
|
| 912 |
+
435
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
483,
|
| 922 |
+
825,
|
| 923 |
+
580
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "5.3 CAMOUFLAGING TOYOTA CAMRY IN THE URBAN ENVIRONMENT ",
|
| 930 |
+
"text_level": 1,
|
| 931 |
+
"bbox": [
|
| 932 |
+
176,
|
| 933 |
+
597,
|
| 934 |
+
661,
|
| 935 |
+
611
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "Here we report the results on detecting the Camry in the urban environment. Table 1 summarizes the results for the Camry respectively with the baseline colors, random camouflages, and our learned camouflage. We can see from the table that the Mask R-CNN is surprisingly robust against different types of random camouflages. The random camouflages’ detection scores are close to the baseline colors’. Moreover, the standard deviation of the random camouflages’ scores is also very low, indicating that the difference in the random camouflages does not really change the detector’s performance. Note that we apply the camouflage to the body of the Camry, leaving tires, windows, grilles, etc. as informative visual cues to the detector. Despite that, our learned camouflage reduces the precision by around $3 0 \\%$ over baseline colors in both training and testing scenes in the urban environment. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
622,
|
| 945 |
+
825,
|
| 946 |
+
762
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 8
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "table",
|
| 952 |
+
"img_path": "images/d94b3582e439b337d6719f6fd752836aee1c56ce6d6ee5b8b124314fea11781b.jpg",
|
| 953 |
+
"table_caption": [
|
| 954 |
+
"Table 1: Mask R-CNN detection performance on the Camry in the urban environment. "
|
| 955 |
+
],
|
| 956 |
+
"table_footnote": [],
|
| 957 |
+
"table_body": "<table><tr><td rowspan=\"2\">Camouflages</td><td colspan=\"2\">Training Scenes</td><td colspan=\"2\">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>76.14</td><td>84.40</td><td>72.88</td><td>77.57</td></tr><tr><td>Random Camou</td><td>73.48± 0.80</td><td>82.17± 1.20</td><td>67.79± 0.79</td><td>71.42± 1.20</td></tr><tr><td>Ours</td><td>57.69</td><td>62.14</td><td>53.64</td><td>52.17</td></tr><tr><td>Relative Performance Drop</td><td>24.23%</td><td>26.37%</td><td>26.39%</td><td>32.74%</td></tr></table>",
|
| 958 |
+
"bbox": [
|
| 959 |
+
184,
|
| 960 |
+
782,
|
| 961 |
+
813,
|
| 962 |
+
895
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 8
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "table",
|
| 968 |
+
"img_path": "images/560406611012e0e930fce122aa5836b60b840c0cd2e08835bbd5c49a6437c156.jpg",
|
| 969 |
+
"table_caption": [
|
| 970 |
+
"Table 2: YOLOv3-SPP detection performance on the Camry in the urban environment. In addition to the camouflage inferred for YOLO, we also include the YOLO detection results on the camouflage learned for Mask R-CNN. "
|
| 971 |
+
],
|
| 972 |
+
"table_footnote": [],
|
| 973 |
+
"table_body": "<table><tr><td rowspan=\"2\">Camouflages</td><td colspan=\"2\">Training Scenes</td><td colspan=\"2\">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline colors</td><td>76.79</td><td>85.34</td><td>73.00</td><td>78.50</td></tr><tr><td>Random Camou</td><td>73.19±0.75</td><td>83.30±0.89</td><td>68.76±0.81</td><td>73.92±1.00</td></tr><tr><td>Ours (YOLO trained)</td><td>65.83</td><td>72.53</td><td>64.03</td><td>69.56</td></tr><tr><td>Ours (Mask R-CNN trained)</td><td>65.43</td><td>70.42</td><td>61.79</td><td>65.21</td></tr><tr><td>Relative Performance Drop</td><td>14.79%</td><td>17.48%</td><td>15.35%</td><td>16.92%</td></tr></table>",
|
| 974 |
+
"bbox": [
|
| 975 |
+
186,
|
| 976 |
+
101,
|
| 977 |
+
810,
|
| 978 |
+
227
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 9
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "Virtual SUV. Appendix A presents the results on the virtual SUV. The learned camouflage reduces Mask R-CNN’s detection precision by around $40 \\%$ from the precision for the baseline colors. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
174,
|
| 987 |
+
303,
|
| 988 |
+
823,
|
| 989 |
+
332
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 9
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "5.4 TRANSFERABILITY EXPERIMENTS ",
|
| 996 |
+
"text_level": 1,
|
| 997 |
+
"bbox": [
|
| 998 |
+
176,
|
| 999 |
+
348,
|
| 1000 |
+
449,
|
| 1001 |
+
363
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 9
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "We show that the camouflage learned to attack Mask R-CNN can actually also defeat YOLOv3 to a certain degree. The results are reported in Table 2. Similarly, appendices A to D report the transferabilities of the learned camouflage across different environments, vehicles, camera viewing angles, and distances from the camera to the object. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
375,
|
| 1011 |
+
825,
|
| 1012 |
+
430
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 9
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "5.5 QUALITATIVE RESULTS ",
|
| 1019 |
+
"text_level": 1,
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
176,
|
| 1022 |
+
446,
|
| 1023 |
+
377,
|
| 1024 |
+
462
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 9
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "We present some of our detection results on the baseline colors, random camouflages, and the learned camouflages for the Camry in Fig. 11. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
473,
|
| 1034 |
+
823,
|
| 1035 |
+
501
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 9
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "We can draw a lot of interesting observations from the qualitative results which were hidden by the quantitative results. We find that there are 3 types of successful attacks: (1) Camouflages lower the objectiveness of the car and the car region is not proposed or only partially proposed as a candidate for the classifier of the detector; (2) The car region is successfully proposed but misclassified (e.g., to kite, cake, truck, or potted plant as shown in the examples) or the classification score is too low to pass the threshold for the detection score; (3) The car region is successfully proposed and classified, but the camouflage results in an incorrect detection which largely overlaps with the car (cf. the 5th row where the regions covering the car are detected as a car and a boat, respectively). ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
507,
|
| 1045 |
+
825,
|
| 1046 |
+
619
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 9
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "One can see that the context or background plays a vital role in object detection. Although some images capture the Camry by the same pose, the detector makes completely different predictions for them. Besides, these qualitative results imply that the detector works in a way different from human vision. In the Landscape environment, our learned camouflage has the strongest contrast to the background compared to other baseline patterns. However, the detector is still sometimes not able to detect the camouflaged car or SUV. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
174,
|
| 1055 |
+
626,
|
| 1056 |
+
825,
|
| 1057 |
+
710
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 9
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "6 CONCLUSION ",
|
| 1064 |
+
"text_level": 1,
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
174,
|
| 1067 |
+
727,
|
| 1068 |
+
318,
|
| 1069 |
+
743
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 9
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "In this paper, we investigate whether it is possible to physically camouflage 3D objects of complex shapes, i.e., vehicles, in order to hide them from state-of-the-art object detectors. We conduct extensive experimental studies with a photo-realistic simulation engine. We propose to use a clone network to mimic the simulator and the detector’s joint response to the 3D vehicles. Then, we infer a camouflage for a 3D vehicle by minimizing the output of the clone network. Our learned camouflage significantly reduces the detectability of a Toyota Camry and a SUV. Moreover, we find that the camouflage is transferable across different environments. For future work, We plan to look into possible ways to white-box the entire process so as to propose a more effective camouflage. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
174,
|
| 1078 |
+
756,
|
| 1079 |
+
825,
|
| 1080 |
+
867
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 9
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "ACKNOWLEDGMENT ",
|
| 1087 |
+
"text_level": 1,
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
176,
|
| 1090 |
+
878,
|
| 1091 |
+
348,
|
| 1092 |
+
892
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 9
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "This work was in part supported by the NSF grants IIS-1212948, IIS-1566511, and a gift from Uber Technologies Inc. ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
176,
|
| 1101 |
+
896,
|
| 1102 |
+
821,
|
| 1103 |
+
924
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 9
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "REFERENCES ",
|
| 1110 |
+
"text_level": 1,
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
176,
|
| 1113 |
+
102,
|
| 1114 |
+
287,
|
| 1115 |
+
118
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 10
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Waleed Abdulla. Mask r-cnn for object detection and instance segmentation on keras and tensorflow. https://github.com/matterport/Mask_RCNN, 2017. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
171,
|
| 1124 |
+
126,
|
| 1125 |
+
823,
|
| 1126 |
+
155
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 10
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Naveed Akhtar and Ajmal Mian. Threat of adversarial attacks on deep learning in computer vision: A survey. arXiv preprint arXiv:1801.00553, 2018. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
169,
|
| 1135 |
+
165,
|
| 1136 |
+
823,
|
| 1137 |
+
194
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Anurag Arnab, Ondrej Miksik, and Philip H. S. Torr. On the robustness of semantic segmentation models to adversarial attacks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
176,
|
| 1146 |
+
204,
|
| 1147 |
+
823,
|
| 1148 |
+
247
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In Proceedings of the 35th International Conference on Machine Learning, July 2018a. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
174,
|
| 1157 |
+
257,
|
| 1158 |
+
825,
|
| 1159 |
+
301
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Anish Athalye, Logan Engstrom, Andrew Ilyas, and Kevin Kwok. Synthesizing robust adversarial examples. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 284–293, 2018b. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
174,
|
| 1168 |
+
310,
|
| 1169 |
+
825,
|
| 1170 |
+
354
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Axalta. Global automotive 2017 color popularity report, 2017. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
174,
|
| 1179 |
+
363,
|
| 1180 |
+
583,
|
| 1181 |
+
380
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Konstantinos Bousmalis, Alex Irpan, Paul Wohlhart, Yunfei Bai, Matthew Kelcey, Mrinal Kalakrishnan, Laura Downs, Julian Ibarz, Peter Pastor, Kurt Konolige, et al. Using simulation and domain adaptation to improve efficiency of deep robotic grasping. arXiv preprint arXiv:1709.07857, 2017. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
174,
|
| 1190 |
+
390,
|
| 1191 |
+
825,
|
| 1192 |
+
445
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Tom B Brown, Dandelion Mane, Aurko Roy, Mart ´ ´ın Abadi, and Justin Gilmer. Adversarial patch. arXiv preprint arXiv:1712.09665, 2017. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
169,
|
| 1201 |
+
457,
|
| 1202 |
+
821,
|
| 1203 |
+
484
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Nicholas Carlini and David Wagner. Audio adversarial examples: Targeted attacks on speech-totext. arXiv preprint arXiv:1801.01944, 2018. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
494,
|
| 1213 |
+
821,
|
| 1214 |
+
525
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Hongge Chen, Huan Zhang, Pin-Yu Chen, Jinfeng Yi, and Cho-Jui Hsieh. Attacking visual language grounding with adversarial examples: A case study on neural image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, volume 1, pp. 2587– 2597, 2018a. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
173,
|
| 1223 |
+
535,
|
| 1224 |
+
825,
|
| 1225 |
+
590
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, pp. 15–26. ACM, 2017. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
173,
|
| 1234 |
+
602,
|
| 1235 |
+
825,
|
| 1236 |
+
657
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "Shang-Tse Chen, Cory Cornelius, Jason Martin, and Duen Horng Chau. Shapeshifter: Robust physical adversarial attack on faster r-cnn object detector. arXiv preprint arXiv:1804.05810, 2018b. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
173,
|
| 1245 |
+
667,
|
| 1246 |
+
820,
|
| 1247 |
+
698
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "DownTown, 2017. URL https://www.unrealengine.com/marketplace/downtown. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
173,
|
| 1256 |
+
708,
|
| 1257 |
+
820,
|
| 1258 |
+
724
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "M. Everingham, S. M. A. Eslami, L. Van Gool, C. K. I. Williams, J. Winn, and A. Zisserman. The pascal visual object classes challenge: A retrospective. International Journal of Computer Vision, 111(1):98–136, January 2015. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
174,
|
| 1267 |
+
733,
|
| 1268 |
+
825,
|
| 1269 |
+
776
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 10
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Kevin Eykholt, Ivan Evtimov, Earlence Fernandes, Bo Li, Amir Rahmati, Florian Tramer, Atul Prakash, Tadayoshi Kohno, and Dawn Song. Physical adversarial examples for object detectors. In 12th USENIX Workshop on Offensive Technologies (WOOT 18), Baltimore, MD, 2018a. USENIX Association. URL https://www.usenix.org/conference/woot18/ presentation/eykholt. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
174,
|
| 1278 |
+
786,
|
| 1279 |
+
825,
|
| 1280 |
+
857
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 10
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Kevin Eykholt, Ivan Evtimov, Earlence Fernandes, Bo Li, Amir Rahmati, Chaowei Xiao, Atul Prakash, Tadayoshi Kohno, and Dawn Song. Robust physical-world attacks on deep learning visual classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1625–1634, 2018b. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
176,
|
| 1289 |
+
867,
|
| 1290 |
+
825,
|
| 1291 |
+
924
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 10
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Adrien Gaidon, Qiao Wang, Yohann Cabon, and Eleonora Vig. Virtual worlds as proxy for multiobject tracking analysis. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4340–4349, 2016. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
174,
|
| 1300 |
+
103,
|
| 1301 |
+
823,
|
| 1302 |
+
146
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 11
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Andreas Geiger, Philip Lenz, and Raquel Urtasun. Are we ready for autonomous driving? the kitti vision benchmark suite. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2012. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
174,
|
| 1311 |
+
155,
|
| 1312 |
+
823,
|
| 1313 |
+
196
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 11
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778, 2016. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
173,
|
| 1322 |
+
205,
|
| 1323 |
+
823,
|
| 1324 |
+
248
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ International Conference on Computer Vision, pp. 2980–2988. IEEE, 2017. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
173,
|
| 1333 |
+
257,
|
| 1334 |
+
823,
|
| 1335 |
+
286
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Brody Huval, Tao Wang, Sameep Tandon, Jeff Kiske, Will Song, Joel Pazhayampallil, Mykhaylo Andriluka, Pranav Rajpurkar, Toki Migimatsu, Royce Cheng-Yue, Fernando Mujica, Adam Coates, and Andrew Y. Ng. An empirical evaluation of deep learning on highway driving. arXiv preprint arXiv:1504.01716, 2015. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
173,
|
| 1344 |
+
295,
|
| 1345 |
+
825,
|
| 1346 |
+
352
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Alexey Kurakin, Ian Goodfellow, and Samy Bengio. Adversarial examples in the physical world. arXiv preprint arXiv:1607.02533, 2016. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
173,
|
| 1355 |
+
361,
|
| 1356 |
+
821,
|
| 1357 |
+
390
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Landscape Mountains, 2014. URL https://www.unrealengine.com/blog/ new-on-marketplace-landscape-mountains. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
173,
|
| 1366 |
+
398,
|
| 1367 |
+
823,
|
| 1368 |
+
428
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollar, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ´ European conference on computer vision, pp. 740–755. Springer, 2014. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
174,
|
| 1377 |
+
435,
|
| 1378 |
+
825,
|
| 1379 |
+
479
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Yanpei Liu, Xinyun Chen, Chang Liu, and Dawn Song. Delving into transferable adversarial examples and black-box attacks. In Proceedings of 5th International Conference on Learning Representations, 2017. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
487,
|
| 1389 |
+
825,
|
| 1390 |
+
530
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Jiajun Lu, Hussein Sibai, and Evan Fabry. Adversarial examples that fool detectors. arXiv preprint arXiv:1712.02494, 2017a. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
171,
|
| 1399 |
+
539,
|
| 1400 |
+
823,
|
| 1401 |
+
568
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Jiajun Lu, Hussein Sibai, Evan Fabry, and David Forsyth. No need to worry about adversarial examples in object detection in autonomous vehicles. arXiv preprint arXiv:1707.03501, 2017b. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
171,
|
| 1410 |
+
575,
|
| 1411 |
+
823,
|
| 1412 |
+
606
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Jiajun Lu, Hussein Sibai, Evan Fabry, and David Forsyth. Standard detectors aren’t (currently) fooled by physical adversarial stop signs. arXiv preprint arXiv:1710.03337, 2017c. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
169,
|
| 1421 |
+
613,
|
| 1422 |
+
823,
|
| 1423 |
+
643
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1765–1773, 2017. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
176,
|
| 1432 |
+
651,
|
| 1433 |
+
823,
|
| 1434 |
+
694
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Malavika Nair, Mathew Gillroy, Neethu Jose, and Jasmy Davies. i-surveillance crime monitoring and prevention using neural networks. International Research Journal of Engineering and Technology, 5, March 2018. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
173,
|
| 1443 |
+
703,
|
| 1444 |
+
823,
|
| 1445 |
+
746
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "Thu Nguyen-Phuoc, Chuan Li, Stephen Balaban, and Yongliang Yang. Rendernet: A deep convolutional network for differentiable rendering from 3d shapes. arXiv preprint arXiv:1806.06575, 2018. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
174,
|
| 1454 |
+
753,
|
| 1455 |
+
823,
|
| 1456 |
+
796
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 11
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia Conference on Computer and Communications Security, pp. 506–519. ACM, 2017. ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
173,
|
| 1465 |
+
805,
|
| 1466 |
+
825,
|
| 1467 |
+
849
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Cheryl Pellerin. Project maven to deploy computer algorithms to war zone by year’s end, July 2017. U.S. Department of Defense. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
174,
|
| 1476 |
+
857,
|
| 1477 |
+
821,
|
| 1478 |
+
887
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 11
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "Joseph Redmon and Ali Farhadi. Yolo9000: Better, faster, stronger. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 6517–6525. IEEE, 2017. ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
176,
|
| 1487 |
+
895,
|
| 1488 |
+
821,
|
| 1489 |
+
924
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 11
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "Joseph Redmon and Ali Farhadi. Yolov3: An incremental improvement. arXiv preprint arXiv:1804.02767, 2018. ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
169,
|
| 1498 |
+
103,
|
| 1499 |
+
825,
|
| 1500 |
+
132
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 12
|
| 1503 |
+
},
|
| 1504 |
+
{
|
| 1505 |
+
"type": "text",
|
| 1506 |
+
"text": "Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pp. 91–99, 2015. ",
|
| 1507 |
+
"bbox": [
|
| 1508 |
+
173,
|
| 1509 |
+
141,
|
| 1510 |
+
823,
|
| 1511 |
+
183
|
| 1512 |
+
],
|
| 1513 |
+
"page_idx": 12
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"type": "text",
|
| 1517 |
+
"text": "Stephan R Richter, Zeeshan Hayder, and Vladlen Koltun. Playing for benchmarks. In International Conference on Computer Vision, volume 2, 2017. ",
|
| 1518 |
+
"bbox": [
|
| 1519 |
+
171,
|
| 1520 |
+
193,
|
| 1521 |
+
825,
|
| 1522 |
+
222
|
| 1523 |
+
],
|
| 1524 |
+
"page_idx": 12
|
| 1525 |
+
},
|
| 1526 |
+
{
|
| 1527 |
+
"type": "text",
|
| 1528 |
+
"text": "German Ros, Laura Sellart, Joanna Materzynska, David Vazquez, and Antonio M Lopez. The synthia dataset: A large collection of synthetic images for semantic segmentation of urban scenes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3234– 3243, 2016. ",
|
| 1529 |
+
"bbox": [
|
| 1530 |
+
173,
|
| 1531 |
+
229,
|
| 1532 |
+
826,
|
| 1533 |
+
286
|
| 1534 |
+
],
|
| 1535 |
+
"page_idx": 12
|
| 1536 |
+
},
|
| 1537 |
+
{
|
| 1538 |
+
"type": "text",
|
| 1539 |
+
"text": "Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, Dhruv Batra, et al. Grad-cam: Visual explanations from deep networks via gradient-based localization. In International Conference on Computer Vision, pp. 618–626, 2017. ",
|
| 1540 |
+
"bbox": [
|
| 1541 |
+
173,
|
| 1542 |
+
295,
|
| 1543 |
+
821,
|
| 1544 |
+
338
|
| 1545 |
+
],
|
| 1546 |
+
"page_idx": 12
|
| 1547 |
+
},
|
| 1548 |
+
{
|
| 1549 |
+
"type": "text",
|
| 1550 |
+
"text": "Shital Shah, Debadeepta Dey, Chris Lovett, and Ashish Kapoor. Airsim: High-fidelity visual and physical simulation for autonomous vehicles. In Field and Service Robotics, 2017. URL https: //arxiv.org/abs/1705.05065. ",
|
| 1551 |
+
"bbox": [
|
| 1552 |
+
173,
|
| 1553 |
+
347,
|
| 1554 |
+
825,
|
| 1555 |
+
390
|
| 1556 |
+
],
|
| 1557 |
+
"page_idx": 12
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"type": "text",
|
| 1561 |
+
"text": "Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. arXiv preprint arXiv:1312.6034, 2013. ",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
173,
|
| 1564 |
+
398,
|
| 1565 |
+
823,
|
| 1566 |
+
428
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 12
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
173,
|
| 1575 |
+
436,
|
| 1576 |
+
825,
|
| 1577 |
+
467
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 12
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "text",
|
| 1583 |
+
"text": "Jonathan Tremblay, Aayush Prakash, David Acuna, Mark Brophy, Varun Jampani, Cem Anil, Thang To, Eric Cameracci, Shaad Boochoon, and Stan Birchfield. Training deep networks with synthetic data: Bridging the reality gap by domain randomization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 969–977, 2018. ",
|
| 1584 |
+
"bbox": [
|
| 1585 |
+
173,
|
| 1586 |
+
474,
|
| 1587 |
+
825,
|
| 1588 |
+
531
|
| 1589 |
+
],
|
| 1590 |
+
"page_idx": 12
|
| 1591 |
+
},
|
| 1592 |
+
{
|
| 1593 |
+
"type": "text",
|
| 1594 |
+
"text": "Unreal, 1998. URL https://www.unrealengine.com. ",
|
| 1595 |
+
"bbox": [
|
| 1596 |
+
173,
|
| 1597 |
+
540,
|
| 1598 |
+
584,
|
| 1599 |
+
555
|
| 1600 |
+
],
|
| 1601 |
+
"page_idx": 12
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"type": "text",
|
| 1605 |
+
"text": "Gul Varol, Javier Romero, Xavier Martin, Naureen Mahmood, Michael J Black, Ivan Laptev, and ¨ Cordelia Schmid. Learning from synthetic humans. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 4627–4635. IEEE, 2017. ",
|
| 1606 |
+
"bbox": [
|
| 1607 |
+
178,
|
| 1608 |
+
564,
|
| 1609 |
+
823,
|
| 1610 |
+
607
|
| 1611 |
+
],
|
| 1612 |
+
"page_idx": 12
|
| 1613 |
+
},
|
| 1614 |
+
{
|
| 1615 |
+
"type": "text",
|
| 1616 |
+
"text": "X11 Color Names. URL https://cgit.freedesktop.org/xorg/app/rgb/tree/ rgb.txt. ",
|
| 1617 |
+
"bbox": [
|
| 1618 |
+
169,
|
| 1619 |
+
614,
|
| 1620 |
+
823,
|
| 1621 |
+
645
|
| 1622 |
+
],
|
| 1623 |
+
"page_idx": 12
|
| 1624 |
+
},
|
| 1625 |
+
{
|
| 1626 |
+
"type": "text",
|
| 1627 |
+
"text": "Cihang Xie, Jianyu Wang, Zhishuai Zhang, Yuyin Zhou, Lingxi Xie, and Alan Yuille. Adversarial examples for semantic segmentation and object detection. In International Conference on Computer Vision. IEEE, 2017. ",
|
| 1628 |
+
"bbox": [
|
| 1629 |
+
174,
|
| 1630 |
+
652,
|
| 1631 |
+
823,
|
| 1632 |
+
695
|
| 1633 |
+
],
|
| 1634 |
+
"page_idx": 12
|
| 1635 |
+
},
|
| 1636 |
+
{
|
| 1637 |
+
"type": "text",
|
| 1638 |
+
"text": "Fangyi Zhang, Jurgen Leitner, Michael Milford, and Peter Corke. Sim-to-real transfer of visuo- ¨ motor policies for reaching in clutter: Domain randomization and adaptation with modular networks. arXiv preprint arXiv:1709.05746, 2017. ",
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
174,
|
| 1641 |
+
704,
|
| 1642 |
+
823,
|
| 1643 |
+
747
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 12
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"type": "table",
|
| 1649 |
+
"img_path": "images/e84352dde5e804ac5dd2e5bdc008624ee578d024ba28727d32c89c5f570f02c8.jpg",
|
| 1650 |
+
"table_caption": [
|
| 1651 |
+
"Table 3: Detection performance of camouflages on SUV in urban environment. "
|
| 1652 |
+
],
|
| 1653 |
+
"table_footnote": [],
|
| 1654 |
+
"table_body": "<table><tr><td rowspan=\"3\">Camouflages</td><td colspan=\"2\">Training Scenes</td><td colspan=\"2\">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>82.35</td><td>91.07</td><td>81.06</td><td>89.22</td></tr><tr><td>Random Camou</td><td>83.53±3.26</td><td>93.21±3.48</td><td>78.02±2.53</td><td>84.79±2.81</td></tr><tr><td>Ours</td><td>53.27</td><td>55.79</td><td>48.91</td><td>50.36</td></tr><tr><td>Relative Performance Drop</td><td>35.31%</td><td>38.79%</td><td>39.66%</td><td>43.55%</td></tr></table>",
|
| 1655 |
+
"bbox": [
|
| 1656 |
+
192,
|
| 1657 |
+
101,
|
| 1658 |
+
805,
|
| 1659 |
+
213
|
| 1660 |
+
],
|
| 1661 |
+
"page_idx": 13
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"type": "table",
|
| 1665 |
+
"img_path": "images/10cc77eb1dd79d7cfec9133089eeabe353a3ab9354e732ce1c7b99022ca9bcc3.jpg",
|
| 1666 |
+
"table_caption": [
|
| 1667 |
+
"Table 4: Detection performance of camouflages on Camry in Landscape environment. Note that this camouflage is pretrained in urban environment and then transferred without any finetuning. "
|
| 1668 |
+
],
|
| 1669 |
+
"table_footnote": [],
|
| 1670 |
+
"table_body": "<table><tr><td rowspan=\"2\">Camouflages</td><td colspan=\"2\">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>74.81</td><td>82.04</td></tr><tr><td>Random Camou</td><td>72.45±4.26</td><td>77.11±5.45</td></tr><tr><td>Ours - Transferred</td><td>40.39</td><td>43.26</td></tr><tr><td>Relative Performance Drop</td><td>46.00%</td><td>47.26%</td></tr></table>",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
299,
|
| 1673 |
+
258,
|
| 1674 |
+
697,
|
| 1675 |
+
372
|
| 1676 |
+
],
|
| 1677 |
+
"page_idx": 13
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"type": "text",
|
| 1681 |
+
"text": "A VIRTUAL SUV IN URBAN AREA ",
|
| 1682 |
+
"text_level": 1,
|
| 1683 |
+
"bbox": [
|
| 1684 |
+
176,
|
| 1685 |
+
443,
|
| 1686 |
+
477,
|
| 1687 |
+
459
|
| 1688 |
+
],
|
| 1689 |
+
"page_idx": 13
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"type": "text",
|
| 1693 |
+
"text": "We then report the camouflage performance on the newly modeled SUV in the urban environment in Table 3. ",
|
| 1694 |
+
"bbox": [
|
| 1695 |
+
171,
|
| 1696 |
+
479,
|
| 1697 |
+
823,
|
| 1698 |
+
508
|
| 1699 |
+
],
|
| 1700 |
+
"page_idx": 13
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "text",
|
| 1704 |
+
"text": "Judging by the results, it is clear that the Mask R-CNN is a very generalized detector. The SUV’s baseline color and random camouflage detection scores are even higher than the Camry correspondence although the detector has never seen it before. This might be because the SUV has much less polygon and is built to resemble the shape of a general SUV as shown in Fig. 6. ",
|
| 1705 |
+
"bbox": [
|
| 1706 |
+
174,
|
| 1707 |
+
515,
|
| 1708 |
+
825,
|
| 1709 |
+
571
|
| 1710 |
+
],
|
| 1711 |
+
"page_idx": 13
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "text",
|
| 1715 |
+
"text": "However, the price for not seeing this vehicle during training is that Mask R-CNN is more likely to be affected by the camouflage. The standard deviation of the random camouflage mIoU/ precision is higher (3.26/3.48 vs. 0.8/1.2) than Camry. And our camouflage achieves lower detection precision despite both baseline colors and random camouflage’s detection scores are higher than Camry’s. The detectability is reduced by almost 1.5 times of Camry’s results in this case. This experiment shows that Mask R-CNN might well generalize to unseen vehicles, but it is easier to get attacked. ",
|
| 1716 |
+
"bbox": [
|
| 1717 |
+
174,
|
| 1718 |
+
578,
|
| 1719 |
+
825,
|
| 1720 |
+
662
|
| 1721 |
+
],
|
| 1722 |
+
"page_idx": 13
|
| 1723 |
+
},
|
| 1724 |
+
{
|
| 1725 |
+
"type": "text",
|
| 1726 |
+
"text": "B TRANSFERABILITY ACROSS ENVIRONMENTS ",
|
| 1727 |
+
"text_level": 1,
|
| 1728 |
+
"bbox": [
|
| 1729 |
+
174,
|
| 1730 |
+
691,
|
| 1731 |
+
581,
|
| 1732 |
+
708
|
| 1733 |
+
],
|
| 1734 |
+
"page_idx": 13
|
| 1735 |
+
},
|
| 1736 |
+
{
|
| 1737 |
+
"type": "text",
|
| 1738 |
+
"text": "Another important question is that what if we transfer the camouflage to a not only previously unseen but a totally different environment? To quantitatively answer this question, we build the Landscape environment (Fig. 5b) to test our camouflages trained in urban environment (Fig. 5a) using the Camry vehicle. The results are reported in Table. 4. Some qualitative results are shown in Fig. 11. ",
|
| 1739 |
+
"bbox": [
|
| 1740 |
+
174,
|
| 1741 |
+
728,
|
| 1742 |
+
825,
|
| 1743 |
+
797
|
| 1744 |
+
],
|
| 1745 |
+
"page_idx": 13
|
| 1746 |
+
},
|
| 1747 |
+
{
|
| 1748 |
+
"type": "text",
|
| 1749 |
+
"text": "Given the barren landscape with few objects in sight, the detector detects the car better than it did in the urban environment for both baseline colors (82.04 vs. 77.57) and random camouflages (77.11 vs. 71.42) possibly due to the absence of distractions. However, our directly transferred camouflage is still able to beat both of them by more than $46 \\%$ regarding both detection mIoU and precision without any fine-tuning. ",
|
| 1750 |
+
"bbox": [
|
| 1751 |
+
174,
|
| 1752 |
+
805,
|
| 1753 |
+
825,
|
| 1754 |
+
875
|
| 1755 |
+
],
|
| 1756 |
+
"page_idx": 13
|
| 1757 |
+
},
|
| 1758 |
+
{
|
| 1759 |
+
"type": "text",
|
| 1760 |
+
"text": "It is interesting to notice that the Camry with grey color looks almost identical to the background in this environment (Fig. 11). However, it still could be perfectly detected. Meanwhile, our leaned camouflage results in far better stealth despite it has a sharp contrast to the background. ",
|
| 1761 |
+
"bbox": [
|
| 1762 |
+
176,
|
| 1763 |
+
882,
|
| 1764 |
+
823,
|
| 1765 |
+
924
|
| 1766 |
+
],
|
| 1767 |
+
"page_idx": 13
|
| 1768 |
+
},
|
| 1769 |
+
{
|
| 1770 |
+
"type": "table",
|
| 1771 |
+
"img_path": "images/207830d460f97efc0bb2717cf94292a6f95cbf0561e25dfb8093a5d80326b127.jpg",
|
| 1772 |
+
"table_caption": [
|
| 1773 |
+
"Table 5: Camouflage transferability across vehicle reported in testing $\\mathrm { P @ 0 . 5 }$ in urban environment. "
|
| 1774 |
+
],
|
| 1775 |
+
"table_footnote": [],
|
| 1776 |
+
"table_body": "<table><tr><td></td><td></td><td colspan=\"2\">Test</td></tr><tr><td></td><td></td><td>SUV</td><td>Camry</td></tr><tr><td>TTeil</td><td>SUV</td><td>50.36</td><td>47.44</td></tr><tr><td></td><td>Camry</td><td>58.39</td><td>52.17</td></tr></table>",
|
| 1777 |
+
"bbox": [
|
| 1778 |
+
388,
|
| 1779 |
+
102,
|
| 1780 |
+
609,
|
| 1781 |
+
172
|
| 1782 |
+
],
|
| 1783 |
+
"page_idx": 14
|
| 1784 |
+
},
|
| 1785 |
+
{
|
| 1786 |
+
"type": "table",
|
| 1787 |
+
"img_path": "images/dcb576bd1e9028889955556c15030532b297490e561e4b31bbf970a987905c31.jpg",
|
| 1788 |
+
"table_caption": [
|
| 1789 |
+
"Table 6: Detection performance of pretrained camouflages on Camry with urban environment in 16 unseen cameras. "
|
| 1790 |
+
],
|
| 1791 |
+
"table_footnote": [],
|
| 1792 |
+
"table_body": "<table><tr><td rowspan=\"2\">Camouflages</td><td colspan=\"2\">Testing Scenes</td></tr><tr><td>mIoU (%)</td><td>P@0.5 (%)</td></tr><tr><td>Baseline Colors</td><td>78.43</td><td>86.16</td></tr><tr><td>Random Camou</td><td>77.26±0.96</td><td>84.61±1.06</td></tr><tr><td>Ours - Transferred</td><td>67.74</td><td>73.14</td></tr><tr><td>Relative Performance Drop</td><td>13.62%</td><td>15.11%</td></tr></table>",
|
| 1793 |
+
"bbox": [
|
| 1794 |
+
299,
|
| 1795 |
+
210,
|
| 1796 |
+
697,
|
| 1797 |
+
323
|
| 1798 |
+
],
|
| 1799 |
+
"page_idx": 14
|
| 1800 |
+
},
|
| 1801 |
+
{
|
| 1802 |
+
"type": "text",
|
| 1803 |
+
"text": "C TRANSFERABILITY ACROSS VEHICLES ",
|
| 1804 |
+
"text_level": 1,
|
| 1805 |
+
"bbox": [
|
| 1806 |
+
174,
|
| 1807 |
+
386,
|
| 1808 |
+
531,
|
| 1809 |
+
401
|
| 1810 |
+
],
|
| 1811 |
+
"page_idx": 14
|
| 1812 |
+
},
|
| 1813 |
+
{
|
| 1814 |
+
"type": "text",
|
| 1815 |
+
"text": "It will be impractical to retrain a specific camouflage for each vehicle whenever we need it. Hence it would be interesting to look into the transferability between vehicles in this scenario. We swap the camouflages of SUV and Camry and see how they would perform in the urban environment. We present the testing precision after swapping in Table. 5. ",
|
| 1816 |
+
"bbox": [
|
| 1817 |
+
174,
|
| 1818 |
+
416,
|
| 1819 |
+
825,
|
| 1820 |
+
473
|
| 1821 |
+
],
|
| 1822 |
+
"page_idx": 14
|
| 1823 |
+
},
|
| 1824 |
+
{
|
| 1825 |
+
"type": "text",
|
| 1826 |
+
"text": "First, both camouflages are definitely transferable. It is also interesting to see that the Camry learned camouflage is not as good as the SUV learned camouflage even when being applied on the Camry itself. This might be due to the fact that the SUV resembles a car with more generic features and hence learning camouflage on SUV is less likely to encounter local minima during optimization. ",
|
| 1827 |
+
"bbox": [
|
| 1828 |
+
174,
|
| 1829 |
+
479,
|
| 1830 |
+
825,
|
| 1831 |
+
536
|
| 1832 |
+
],
|
| 1833 |
+
"page_idx": 14
|
| 1834 |
+
},
|
| 1835 |
+
{
|
| 1836 |
+
"type": "text",
|
| 1837 |
+
"text": "D TRANSFERABILITY ACROSS VIEWING POSITION ",
|
| 1838 |
+
"text_level": 1,
|
| 1839 |
+
"bbox": [
|
| 1840 |
+
174,
|
| 1841 |
+
555,
|
| 1842 |
+
607,
|
| 1843 |
+
571
|
| 1844 |
+
],
|
| 1845 |
+
"page_idx": 14
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"type": "text",
|
| 1849 |
+
"text": "One of the possibly most concerning questions is whether the learned camouflage is robust to the change of the camera position. To answer this question, we set up another 16 new cameras, as shown in Fig. 3, surrounding the vehicle in different relative locations. We then test the learned camouflage’s performance on these new cameras. The results are shown in Table 6. ",
|
| 1850 |
+
"bbox": [
|
| 1851 |
+
174,
|
| 1852 |
+
587,
|
| 1853 |
+
825,
|
| 1854 |
+
642
|
| 1855 |
+
],
|
| 1856 |
+
"page_idx": 14
|
| 1857 |
+
},
|
| 1858 |
+
{
|
| 1859 |
+
"type": "text",
|
| 1860 |
+
"text": "Our camouflage performance drop has a slightly decrease of $5 \\%$ from Table 1. This indicates that the change of the camera locations would impact the performance, but the performance drop is still way beyond the standard deviation of random camouflages’ scores. Given that the new camera views cover more perspectives as shown in Fig. 3, this result is reasonable. ",
|
| 1861 |
+
"bbox": [
|
| 1862 |
+
174,
|
| 1863 |
+
650,
|
| 1864 |
+
825,
|
| 1865 |
+
705
|
| 1866 |
+
],
|
| 1867 |
+
"page_idx": 14
|
| 1868 |
+
},
|
| 1869 |
+
{
|
| 1870 |
+
"type": "text",
|
| 1871 |
+
"text": "E IMPACT OF CLONE NETWORK QUALITY ",
|
| 1872 |
+
"text_level": 1,
|
| 1873 |
+
"bbox": [
|
| 1874 |
+
174,
|
| 1875 |
+
726,
|
| 1876 |
+
539,
|
| 1877 |
+
742
|
| 1878 |
+
],
|
| 1879 |
+
"page_idx": 14
|
| 1880 |
+
},
|
| 1881 |
+
{
|
| 1882 |
+
"type": "text",
|
| 1883 |
+
"text": "How does the clone network’s quality affect the camouflage’s performance? Is the alternative optimization necessary? We quantitatively show the first 300 simulation calls of our system in Fig. 9 and meanwhile evaluate the camouflages proposed by the clone network. Note that initially the clone network has already been trained with 800 random camouflages. However, the proposed camouflage’s score does not fall until the new camouflages from iteration scheme join the optimization. This suggests that without our iterative optimization mechanism, the clone network could only find camouflage with mIoU around $70 \\%$ , which is the same as the random camouflage. Those new samples serve as the hard samples. They gradually calibrate the clone network’s global minima to $V _ { t } ( )$ ’s and help it to generate better camouflages. Note that although the score descends quicker during the first 50 iterations, it does not find the global best camouflage until near the end (296th iteration). This graph also shows the classification score is a suitable choice to be minimized as it is highly correlated with mIoU. ",
|
| 1884 |
+
"bbox": [
|
| 1885 |
+
174,
|
| 1886 |
+
757,
|
| 1887 |
+
825,
|
| 1888 |
+
922
|
| 1889 |
+
],
|
| 1890 |
+
"page_idx": 14
|
| 1891 |
+
},
|
| 1892 |
+
{
|
| 1893 |
+
"type": "text",
|
| 1894 |
+
"text": "Note that the system automatically re-initialize the clone network’s parameters to prevent it from falling into local minima during the optimization whenever we add a new sample to the training set $C$ . Hence, there are some spikes in the graph. ",
|
| 1895 |
+
"bbox": [
|
| 1896 |
+
174,
|
| 1897 |
+
103,
|
| 1898 |
+
825,
|
| 1899 |
+
146
|
| 1900 |
+
],
|
| 1901 |
+
"page_idx": 15
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"type": "image",
|
| 1905 |
+
"img_path": "images/e6cea3b0fef3f0adcba8636a06e8de8e20ff076673920721b5d123a99143cf71.jpg",
|
| 1906 |
+
"image_caption": [
|
| 1907 |
+
"Figure 9: Clone network’s learned camouflage’s classification score and mIoU vs. Simulation called. We can see how the new samples helped the clone network to find the minimal. "
|
| 1908 |
+
],
|
| 1909 |
+
"image_footnote": [],
|
| 1910 |
+
"bbox": [
|
| 1911 |
+
173,
|
| 1912 |
+
161,
|
| 1913 |
+
825,
|
| 1914 |
+
342
|
| 1915 |
+
],
|
| 1916 |
+
"page_idx": 15
|
| 1917 |
+
},
|
| 1918 |
+
{
|
| 1919 |
+
"type": "text",
|
| 1920 |
+
"text": "F DETECTION ATTENTION ",
|
| 1921 |
+
"text_level": 1,
|
| 1922 |
+
"bbox": [
|
| 1923 |
+
176,
|
| 1924 |
+
416,
|
| 1925 |
+
408,
|
| 1926 |
+
431
|
| 1927 |
+
],
|
| 1928 |
+
"page_idx": 15
|
| 1929 |
+
},
|
| 1930 |
+
{
|
| 1931 |
+
"type": "text",
|
| 1932 |
+
"text": "How exactly does our camouflage work against the detector? We partially answer this question by visualizing Mask-RCNN’s completely/partially successful detection attention on our grey and camouflaged Camry. Since our Mask-RCNN implementation does not explicitly yield failed detection’s prediction, we are unable to visualize the failed detection’s attention w.r.t. the input image if the failed detection does not exist. ",
|
| 1933 |
+
"bbox": [
|
| 1934 |
+
174,
|
| 1935 |
+
450,
|
| 1936 |
+
825,
|
| 1937 |
+
520
|
| 1938 |
+
],
|
| 1939 |
+
"page_idx": 15
|
| 1940 |
+
},
|
| 1941 |
+
{
|
| 1942 |
+
"type": "text",
|
| 1943 |
+
"text": "There are two main visualization approaches: Grad-CAM (Selvaraju et al., 2017) and saliency (Simonyan et al., 2013). Approximately speaking, grad-CAM visualizes the gradient of output w.r.t. penultimate (pre-fully-connected layer) convolutional layer feature map output; Saliency visualizes the gradient of output w.r.t. initial input image. Grad-CAM is generally considered superior as the last convolutional layer’s feature map contains much more abstracted semantic information, leading to less noisy visualization. However, we find that it is hard to define the single “penultimate layer” in Mask-RCNN: It has multiple penultimate layers, tracing back to different stages of the network, prior to the ROI pooling layer. Each of those penultimate layers contains varying levels of information. We choose to use saliency in this case. ",
|
| 1944 |
+
"bbox": [
|
| 1945 |
+
174,
|
| 1946 |
+
526,
|
| 1947 |
+
825,
|
| 1948 |
+
652
|
| 1949 |
+
],
|
| 1950 |
+
"page_idx": 15
|
| 1951 |
+
},
|
| 1952 |
+
{
|
| 1953 |
+
"type": "text",
|
| 1954 |
+
"text": "It is clear how to define the “attention” in the image classification scenario: It is the gradient heatmap of the classification score scalar w.r.t. the entire input image. On the other hand, an end-to-end detection neural network often yields multiple structure predictions. Each structure contains bounding box and classification score, etc. We choose to visualize the gradient of the best bounding-box’s classification score w.r.t. the input image. ",
|
| 1955 |
+
"bbox": [
|
| 1956 |
+
174,
|
| 1957 |
+
659,
|
| 1958 |
+
825,
|
| 1959 |
+
728
|
| 1960 |
+
],
|
| 1961 |
+
"page_idx": 15
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"type": "text",
|
| 1965 |
+
"text": "Our visualizations are presented in Fig. 10. It is surprising that the window, roof and upper bodies are playing the predominant role in car detection. Upper body attention exists even when the upper body is not included in the detection bounding box (row 3). Given that the classification stage makes the classification decision based on the proposed feature map box region, such attention must have been already included in the detection proposal before the ROI layer, i.e. detection stage. This may also explain why it is easier to fail the front-viewing and the rear-view detectors: front-view (row 1) and the rear-view (row 5) detectors place their attention on the hood and trunk, where camouflage pattern is presented. A partially successful attack (row 4) was carried out by wiping out detector’s attention on the car hood. On the other hand, the side-view detector is harder to attack since the detector merely places any attention of the car body (row 2) where the camouflages are mainly located. However, our camouflages on the roof could still fail the side-view detector partially (row 3). ",
|
| 1966 |
+
"bbox": [
|
| 1967 |
+
174,
|
| 1968 |
+
736,
|
| 1969 |
+
825,
|
| 1970 |
+
901
|
| 1971 |
+
],
|
| 1972 |
+
"page_idx": 15
|
| 1973 |
+
},
|
| 1974 |
+
{
|
| 1975 |
+
"type": "text",
|
| 1976 |
+
"text": "Since we only visualize the (partially) successful detections, there are still many cases to explore. ",
|
| 1977 |
+
"bbox": [
|
| 1978 |
+
171,
|
| 1979 |
+
909,
|
| 1980 |
+
807,
|
| 1981 |
+
924
|
| 1982 |
+
],
|
| 1983 |
+
"page_idx": 15
|
| 1984 |
+
},
|
| 1985 |
+
{
|
| 1986 |
+
"type": "image",
|
| 1987 |
+
"img_path": "images/b49fa4ebb626dc4aa9b44f1f8895d991d5d6a97915956a86c42489b7211c7c33.jpg",
|
| 1988 |
+
"image_caption": [
|
| 1989 |
+
"Figure 10: The best detections in each image and the gradient heatmap of their classification scores w.r.t. the input images. The detector places its attention predominantly on the upper car body, i.e., roof, hood, trunk, and windows. "
|
| 1990 |
+
],
|
| 1991 |
+
"image_footnote": [],
|
| 1992 |
+
"bbox": [
|
| 1993 |
+
217,
|
| 1994 |
+
102,
|
| 1995 |
+
781,
|
| 1996 |
+
661
|
| 1997 |
+
],
|
| 1998 |
+
"page_idx": 16
|
| 1999 |
+
},
|
| 2000 |
+
{
|
| 2001 |
+
"type": "text",
|
| 2002 |
+
"text": "G SIMULATION SETUP ",
|
| 2003 |
+
"text_level": 1,
|
| 2004 |
+
"bbox": [
|
| 2005 |
+
176,
|
| 2006 |
+
752,
|
| 2007 |
+
377,
|
| 2008 |
+
768
|
| 2009 |
+
],
|
| 2010 |
+
"page_idx": 16
|
| 2011 |
+
},
|
| 2012 |
+
{
|
| 2013 |
+
"type": "text",
|
| 2014 |
+
"text": "G.1 SIMULATION IMPLEMENTATION ",
|
| 2015 |
+
"text_level": 1,
|
| 2016 |
+
"bbox": [
|
| 2017 |
+
176,
|
| 2018 |
+
792,
|
| 2019 |
+
437,
|
| 2020 |
+
808
|
| 2021 |
+
],
|
| 2022 |
+
"page_idx": 16
|
| 2023 |
+
},
|
| 2024 |
+
{
|
| 2025 |
+
"type": "text",
|
| 2026 |
+
"text": "The iterative optimization framework works on two Nvidia GTX 1080 Ti in our experiment. We use one to run the detector and another one to run the simulation and training/ prediction of evaluation network. The simulation was implemented partially using AirSim by Shah et al. (2017) and UnrealEnginePython. All submodules are implemented asynchronously to run in parallel and are communicating with each other using RPC/ RPyC. All the camouflages and the baseline colors are implemented either using or based on the official Unreal Automotive Material. Each evaluation in the simulation, which is the most time-consuming part, takes around 15 to 20 second. ",
|
| 2027 |
+
"bbox": [
|
| 2028 |
+
173,
|
| 2029 |
+
825,
|
| 2030 |
+
825,
|
| 2031 |
+
924
|
| 2032 |
+
],
|
| 2033 |
+
"page_idx": 16
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"type": "text",
|
| 2037 |
+
"text": "G.2 SIMULATION ERROR ",
|
| 2038 |
+
"text_level": 1,
|
| 2039 |
+
"bbox": [
|
| 2040 |
+
174,
|
| 2041 |
+
103,
|
| 2042 |
+
361,
|
| 2043 |
+
118
|
| 2044 |
+
],
|
| 2045 |
+
"page_idx": 17
|
| 2046 |
+
},
|
| 2047 |
+
{
|
| 2048 |
+
"type": "text",
|
| 2049 |
+
"text": "Despite our best effort, we observe $V _ { t } ( c )$ come with a standard deviation of 0.008 due to the inherent and mostly necessary random processes in the rendering (i.e., Monte Carlo in path tracing, etc.). This unfortunately makes $V _ { t } ( c )$ a noisy function. We reduce this error by repeat sampling $\\bar { V } _ { t } ( c )$ 5 times whenever we use it. ",
|
| 2050 |
+
"bbox": [
|
| 2051 |
+
173,
|
| 2052 |
+
128,
|
| 2053 |
+
825,
|
| 2054 |
+
185
|
| 2055 |
+
],
|
| 2056 |
+
"page_idx": 17
|
| 2057 |
+
},
|
| 2058 |
+
{
|
| 2059 |
+
"type": "text",
|
| 2060 |
+
"text": "H NON-LINEARITY AND NON-CONVEXITY ",
|
| 2061 |
+
"text_level": 1,
|
| 2062 |
+
"bbox": [
|
| 2063 |
+
174,
|
| 2064 |
+
205,
|
| 2065 |
+
544,
|
| 2066 |
+
223
|
| 2067 |
+
],
|
| 2068 |
+
"page_idx": 17
|
| 2069 |
+
},
|
| 2070 |
+
{
|
| 2071 |
+
"type": "text",
|
| 2072 |
+
"text": "Since this is a blackbox optimization problem, it is important to examine some important features of the $\\textstyle \\mathbb { E } _ { t } V _ { t } ( \\cdot )$ . We first verify its convexity via the convexity definition. We test the convexity of $\\mathbb { E } _ { t } V _ { t } ( \\cdot )$ by testing the convexity of subsampled correspondence $\\begin{array} { r } { \\frac { 1 } { \\left| T _ { S } \\right| } \\sum _ { t \\in T _ { S } } V _ { t } ( \\cdot ) } \\end{array}$ via: ",
|
| 2073 |
+
"bbox": [
|
| 2074 |
+
173,
|
| 2075 |
+
236,
|
| 2076 |
+
826,
|
| 2077 |
+
284
|
| 2078 |
+
],
|
| 2079 |
+
"page_idx": 17
|
| 2080 |
+
},
|
| 2081 |
+
{
|
| 2082 |
+
"type": "equation",
|
| 2083 |
+
"img_path": "images/45993684d7564ba464b9774e2b3610f538ed82fee79369c832d73eff708a22b1.jpg",
|
| 2084 |
+
"text": "$$\n\\forall c _ { 1 } , c _ { 2 } \\in C : \\quad \\frac { 1 } { | T _ { S } | } \\sum _ { t \\in T _ { S } } V _ { t } ( \\frac { c _ { 1 } + c _ { 2 } } { 2 } ) \\leq \\frac { 1 } { | T _ { S } | } \\sum _ { t \\in T _ { S } } V _ { t } \\frac { V _ { T _ { S } } ( c _ { 1 } ) + V _ { T _ { S } } ( c _ { 2 } ) } { 2 }\n$$",
|
| 2085 |
+
"text_format": "latex",
|
| 2086 |
+
"bbox": [
|
| 2087 |
+
251,
|
| 2088 |
+
295,
|
| 2089 |
+
745,
|
| 2090 |
+
337
|
| 2091 |
+
],
|
| 2092 |
+
"page_idx": 17
|
| 2093 |
+
},
|
| 2094 |
+
{
|
| 2095 |
+
"type": "text",
|
| 2096 |
+
"text": "where $C$ is a set of camouflages. We sampled 1000 pairs of random camouflages from $C$ and half of them do not meet the equation. Hence $\\begin{array} { r } { \\frac { 1 } { | T _ { S } | } \\sum _ { t \\in T _ { S } } ^ { } { \\bar { V } } _ { t } ( \\cdot ) } \\end{array}$ is nonconvex. ",
|
| 2097 |
+
"bbox": [
|
| 2098 |
+
174,
|
| 2099 |
+
345,
|
| 2100 |
+
823,
|
| 2101 |
+
377
|
| 2102 |
+
],
|
| 2103 |
+
"page_idx": 17
|
| 2104 |
+
},
|
| 2105 |
+
{
|
| 2106 |
+
"type": "text",
|
| 2107 |
+
"text": "Besides, we find a simple linear MLP is insufficient to approximate $\\begin{array} { r } { \\frac { 1 } { \\left| T _ { S } \\right| } \\sum _ { t \\in T _ { S } } V _ { t } ( \\cdot ) } \\end{array}$ , which empirically shows it is nonlinear. ",
|
| 2108 |
+
"bbox": [
|
| 2109 |
+
173,
|
| 2110 |
+
383,
|
| 2111 |
+
820,
|
| 2112 |
+
416
|
| 2113 |
+
],
|
| 2114 |
+
"page_idx": 17
|
| 2115 |
+
},
|
| 2116 |
+
{
|
| 2117 |
+
"type": "text",
|
| 2118 |
+
"text": "I SUPPLEMENTAL FIGURES ",
|
| 2119 |
+
"text_level": 1,
|
| 2120 |
+
"bbox": [
|
| 2121 |
+
176,
|
| 2122 |
+
436,
|
| 2123 |
+
415,
|
| 2124 |
+
453
|
| 2125 |
+
],
|
| 2126 |
+
"page_idx": 17
|
| 2127 |
+
},
|
| 2128 |
+
{
|
| 2129 |
+
"type": "text",
|
| 2130 |
+
"text": "Algorithm 1: Iterative Object Camouflage Learning ",
|
| 2131 |
+
"text_level": 1,
|
| 2132 |
+
"bbox": [
|
| 2133 |
+
173,
|
| 2134 |
+
478,
|
| 2135 |
+
517,
|
| 2136 |
+
493
|
| 2137 |
+
],
|
| 2138 |
+
"page_idx": 17
|
| 2139 |
+
},
|
| 2140 |
+
{
|
| 2141 |
+
"type": "text",
|
| 2142 |
+
"text": "Input : Clone network parameter $V _ { \\theta } ( \\cdot )$ ; Simulation and detection $V _ { T _ { S } } ( \\cdot )$ ; Transformation $T _ { S }$ which are parameterized as rendered background and foreground images; Regularization tradeoff $\\alpha$ ; Random camouflage set $C _ { R }$ . ",
|
| 2143 |
+
"bbox": [
|
| 2144 |
+
168,
|
| 2145 |
+
496,
|
| 2146 |
+
813,
|
| 2147 |
+
539
|
| 2148 |
+
],
|
| 2149 |
+
"page_idx": 17
|
| 2150 |
+
},
|
| 2151 |
+
{
|
| 2152 |
+
"type": "text",
|
| 2153 |
+
"text": "1 Initialize $V _ { \\theta }$ with random weights $\\theta$ ",
|
| 2154 |
+
"bbox": [
|
| 2155 |
+
163,
|
| 2156 |
+
539,
|
| 2157 |
+
410,
|
| 2158 |
+
551
|
| 2159 |
+
],
|
| 2160 |
+
"page_idx": 17
|
| 2161 |
+
},
|
| 2162 |
+
{
|
| 2163 |
+
"type": "text",
|
| 2164 |
+
"text": "2 Set score record $s ^ { * } + \\infty$ ",
|
| 2165 |
+
"bbox": [
|
| 2166 |
+
161,
|
| 2167 |
+
553,
|
| 2168 |
+
357,
|
| 2169 |
+
565
|
| 2170 |
+
],
|
| 2171 |
+
"page_idx": 17
|
| 2172 |
+
},
|
| 2173 |
+
{
|
| 2174 |
+
"type": "text",
|
| 2175 |
+
"text": "5 F $\\begin{array} { r } { \\theta \\arg \\operatorname* { m i n } _ { \\theta } \\ \\frac { 1 } { | C | | T _ { S } | } \\sum _ { c \\in C } \\sum _ { t \\in T _ { S } } H \\big [ s , V _ { \\theta } ( c , t ) \\big ] + \\lambda \\| \\theta \\| _ { 2 } } \\end{array}$ \n6 $\\begin{array} { r } { c ^ { \\prime } \\gets \\arg \\operatorname* { m i n } _ { c } \\frac { 1 } { | T | } \\sum _ { t \\in T _ { S } } H \\big [ 0 , V _ { \\theta } ( c , t ) \\big ] } \\end{array}$ \n7 s0 ← {Vt(c)|t ∈ T } \n8 C ← C ∪ {c0} \n9 if mea $1 ( s ^ { \\prime } ) < s ^ { * }$ then \n10 s∗ ← mean(s0) \n11 c ∗ ← c 0 ",
|
| 2176 |
+
"bbox": [
|
| 2177 |
+
158,
|
| 2178 |
+
593,
|
| 2179 |
+
601,
|
| 2180 |
+
700
|
| 2181 |
+
],
|
| 2182 |
+
"page_idx": 17
|
| 2183 |
+
},
|
| 2184 |
+
{
|
| 2185 |
+
"type": "text",
|
| 2186 |
+
"text": "12 until Reach maximum training steps output: Best learned camouflage $c ^ { * }$ ",
|
| 2187 |
+
"bbox": [
|
| 2188 |
+
155,
|
| 2189 |
+
702,
|
| 2190 |
+
415,
|
| 2191 |
+
729
|
| 2192 |
+
],
|
| 2193 |
+
"page_idx": 17
|
| 2194 |
+
},
|
| 2195 |
+
{
|
| 2196 |
+
"type": "image",
|
| 2197 |
+
"img_path": "images/e53c10bceacd153d333f31b7e0cdfa3d6e757e1bc35df9f0780558ccc6b33f10.jpg",
|
| 2198 |
+
"image_caption": [
|
| 2199 |
+
"Figure 11: Qualitative comparison of the Mask R-CNN detections results of the grey baseline color, random camouflages and our learned camouflages in different transformations. Zoom in for more details. 19 "
|
| 2200 |
+
],
|
| 2201 |
+
"image_footnote": [],
|
| 2202 |
+
"bbox": [
|
| 2203 |
+
202,
|
| 2204 |
+
47,
|
| 2205 |
+
790,
|
| 2206 |
+
912
|
| 2207 |
+
],
|
| 2208 |
+
"page_idx": 18
|
| 2209 |
+
},
|
| 2210 |
+
{
|
| 2211 |
+
"type": "image",
|
| 2212 |
+
"img_path": "images/b1188dd4fb2e6e0ce606158e83f009828d30947abde20b98c09f3a3ea6c18f4e.jpg",
|
| 2213 |
+
"image_caption": [
|
| 2214 |
+
"Figure 12: A fraction of different Toyota sedan appearances in MS COCO dataset. "
|
| 2215 |
+
],
|
| 2216 |
+
"image_footnote": [],
|
| 2217 |
+
"bbox": [
|
| 2218 |
+
176,
|
| 2219 |
+
376,
|
| 2220 |
+
823,
|
| 2221 |
+
618
|
| 2222 |
+
],
|
| 2223 |
+
"page_idx": 19
|
| 2224 |
+
}
|
| 2225 |
+
]
|
parse/train/SJgEl3A5tm/SJgEl3A5tm_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJgEl3A5tm/SJgEl3A5tm_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SylR6n4tPS/SylR6n4tPS.md
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
When automatically generating a sentence description for an image or video, it often remains unclear how well the generated caption is grounded, or if the model hallucinates based on priors in the dataset and/or the language model. The most common way of relating image regions with words in caption models is through an attention mechanism over the regions that are used as input to predict the next word. The model must therefore learn to predict the attentional weights without knowing the word it should localize. This is difficult to train without grounding supervision since recurrent models can propagate past information and there is no explicit signal to force the captioning model to properly ground the individual decoded words. In this work, we help the model to achieve this via a novel cyclical training regimen that forces the model to localize each word in the image after the sentence decoder generates it, and then reconstruct the sentence from the localized image region(s) to match the ground-truth. Our proposed framework only requires learning one extra fully-connected layer (the localizer), a layer that can be removed at test time. We show that our model significantly improves grounding accuracy without relying on grounding supervision or introducing extra computation during inference for both image and video captioning tasks.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Vision and language tasks, such as visual captioning, combine linguistic descriptions with data from real-world scenes. Deep learning models for such tasks have achieved great success, driven in part by the development of attention mechanisms that focus on various objects in the scene while generating captions. The resulting models, however, are known to have poor grounding performance (Liu et al., 2017), leading to undesirable behaviors such as object hallucinations (Rohrbach et al., 2018), despite having high captioning accuracy. That is, they often do not correctly associate generated words with the appropriate image regions (e.g., objects) in the scene, resulting in models that lack interpretability.
|
| 12 |
+
|
| 13 |
+
Several existing approaches have tried to improve the grounding of captioning models. One class of methods generate sentence templates with slot locations explicitly tied to specific image regions. These slots are then filled in by visual concepts identified by off-the-shelf object detectors (Lu et al., 2018). Other methods have developed specific grounding or attention modules that aim to attend to the correct region(s) for generating visually groundable word. Such methods, however, rely on explicit supervision for optimizing the grounding or attention modules (Liu et al., 2017; Zhou et al., 2019) and require bounding box annotations for each visually groundable word.
|
| 14 |
+
|
| 15 |
+
In this work, we propose a novel cyclical training regimen that is able to significantly improve grounding performance without any grounding annotations. The key insight of our work is that current models use attention mechanisms conditioned on the hidden features of recurrent modules such as LSTMs, which leads to effective models with high accuracy but entangle grounding and decoding. Since LSTMs are effective at propagating information across the decoding process, the network does not necessarily need to associate particular decoded words with their corresponding image region(s). However, for a captioning model to be visually grounded, the model has to predict attentional weights without knowing the word to localize.
|
| 16 |
+
|
| 17 |
+
Based on this insight, we develop a cyclical training regimen to force the network to ground individual decoded words: decoding localization reconstruction. Specifically, the model of the decoding stage can be any state-of-the-art captioning model; in this work, we follow GVD (Zhou et al.,
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Visual captioning models are often not visually-grounded. As human, we perform localization to check whether the generated caption is visually-grounded. If the localized image region is incorrect, we update the model. However, without the ground-truth grounding annotation, how does the model know the localized region is incorrect? To overcome this issue, we propose to perform localization and reconstruction to regularize the captioning model to be visually-grounded without relying on the grounding annotations.
|
| 21 |
+
|
| 22 |
+
2019) to extend the widely used Up-Down model (Anderson et al., 2018). At the localization stage, each word generated by the first decoding stage is localized through a localizer, and the resulting grounded image region(s) are then used to reconstruct the ground-truth caption in the final stage. Both decoding and reconstruction stages are trained using a standard cross-entropy loss. Key to our method, both stages share the same decoder, thereby causing the localization stage to guide the decoder to improve its attention mechanism. Our method is simple and only adds a fully-connected layer to perform localization. During inference, we only use the (shared) decoder, thus we do not add any computational cost.
|
| 23 |
+
|
| 24 |
+
We benchmark our proposed method on the challenging Flickr30k Entities image captioning dataset (Plummer et al., 2015) and the ActivityNet-Entities video captioning dataset (Zhou et al., 2019) on both captioning and grounding performances. In addition to the existing grounding metric that calculate the grounding accuracy for each object class (Zhou et al., 2019), we further include a grounding metric that compute grounding accuracy for each generated sentence. This new metric on each sentence removes the stringency of the original evaluation metric (as we discuss in Sec. 4) and provides an alternative way of measuring the grounding performance.
|
| 25 |
+
|
| 26 |
+
Despite the simplicity of our proposed method, we are able to significantly surpass prior unsupervised models quantitatively and qualitatively on both datasets. We achieve around $18 \%$ relative improvements in terms of bridging the gap between the unsupervised baseline and supervised methods on Flickr30k Entites and around $34 \%$ on ActivityNet-Entities. We further find that our method can even outperform the supervised method on infrequent words, owing to its self-supervised nature.
|
| 27 |
+
|
| 28 |
+
Contributions summary. We propose object re-localization as a form of self-supervision for grounded visual captioning and present a cyclical training regimen that re-generates sentences after re-localizing the objects conditioned on each word, implicitly imposing grounding consistency. We evaluate our proposed approach on both image and video captioning tasks. We show that the proposed training regime can boost grounding accuracy over a state-of-the-art baseline, enabling grounded models to be trained without bounding box annotations, while retaining high captioning quality across two datasets and various experimental settings. Our code will be publicly released and can be found in supplemental.
|
| 29 |
+
|
| 30 |
+
# 2 RELATED WORK
|
| 31 |
+
|
| 32 |
+
Visual captioning. Neural models for visual captioning have received significant attention recently (Anderson et al., 2018; Ma et al., 2018; Lu et al., 2018; Donahue et al., 2015; Venugopalan et al., 2015; Rohrbach et al., 2017b; Venugopalan et al., 2017; Rohrbach et al., 2017a; Shetty et al., 2017; Park et al., 2019). Most current state-of-the-art models contain attention mechanisms, allowing the process to focus on subsets of the image when generating the next word. These attention mechanisms can be defined over spatial locations (Vinyals et al., 2015), semantic metadata (Li et al., 2018; Yao et al., 2017; You et al., 2016; Zhou et al., 2017) or a predefined set of regions extracted via a region proposal network (Ma et al., 2018; Zanfir et al., 2016; Anderson et al., 2018; Lu et al., 2018; Das et al., 2013; Kulkarni et al., 2013). In the latter case, off-the-shelf object detectors are first used to extract object proposals (Ren et al., 2015; He et al., 2017) and the captioning model then learns to dynamically attend over them when generating the caption.
|
| 33 |
+
|
| 34 |
+
Visual grounding. Although attention mechanisms are generally shown to improve captioning quality and metrics, it has also been shown that they don’t really focus on the same regions as a human would (Das et al., 2017). This make models less trustworthy and interpretable, and therefore creating grounded image captioning models, i.e., models that accurately link generated words or phrases to specific regions of the image, has recently been an active research area. A number of approaches have been proposed, e.g., for grounding phrases or objects from image descriptions (Rohrbach et al., 2016; Hu et al., 2016; Xiao et al., 2017; Deng et al., 2018; Zhou et al., 2019; Zhang et al., 2019), grounding visual explanations (Hendricks et al., 2018), visual co-reference resolution for actors in video (Rohrbach et al., 2017a), or improving grounding via human supervision (Selvaraju et al., 2019). Recently, Zhou et al. (2019) presented a model with self-attention based context encoding and direct grounding supervision that achieves state-of-the-art results in both the image and video tasks. They exploit ground-truth bounding box annotations to significantly improve the visual grounding accuracy. In contrast, we focus on reinforcing the visual grounding capability of the existing captioning model via a cyclical training regimen without using bounding box annotations and present a method that can increase grounding accuracy while maintaining comparable captioning performance with state of the arts.
|
| 35 |
+
|
| 36 |
+
Cyclical training. Cycle consistency (Wang et al., 2013; Zhu et al., 2017; He et al., 2016; Chen & Lawrence Zitnick, 2015) has been used recently in a wide range of domains, including machine translation (He et al., 2016), unpaired image-to-image translation (Zhu et al., 2017), visual question answering (Shah et al., 2019), question answering (Tang et al., 2018), image captioning (Chen & Lawrence Zitnick, 2015), video captioning (Wang et al., 2018; Duan et al., 2018), captioning and drawing (Huang et al., 2018) as well as domain adaptation (Hosseini-Asl et al., 2019). While the cyclical training regime has been explored vastly in both vision and language domains, it has not yet been used for enforcing the visual grounding capability of a captioning model.
|
| 37 |
+
|
| 38 |
+
# 3 METHOD
|
| 39 |
+
|
| 40 |
+
Notation. For a visual captioning task, we denote the input image as $I$ (or input video as $V$ ) and the target sentence as $S$ . Each image (or video) is represented by spatial feature map(s) extracted by a ResNet-101 model and a bag of regions obtained from Faster-RCNN (Ren et al., 2015) as $\pmb { \dot { R } } = [ \pmb { r } _ { 1 } , \pmb { r } _ { 2 } , . . . , \pmb { r } _ { N } ] \in \mathbb { R } ^ { d \times N }$ . The target sentence is represented as a sequence of one-hot vectors $\pmb { y } _ { t } ^ { * } \in \mathbb { R } ^ { s }$ , where $T$ is the sentence length, $t \in { 1 , 2 , . . . , T }$ , and $s$ is the dictionary size.
|
| 41 |
+
|
| 42 |
+
# 3.1 BASELINE
|
| 43 |
+
|
| 44 |
+
We reimplemented the model used in GVD (Zhou et al., 2019) without self-attention for region feature encoding (Ma et al., 2018; Vaswani et al., 2017) as our baseline. It is an extension of the state-of-the-art Up-Down (Anderson et al., 2018) model with the grounding-aware region encoding (see Appendix A.5). Specifically, our baseline model uses two LSTM modules: Attention LSTM and Language LSTM. The Attention LSTM identifies which visual representation in the image is needed for the Language LSTM to generate the next word. It encodes the global image feature $v _ { g }$ , previous hidden state output of the Language LSTM $h _ { t - 1 } ^ { L }$ , and the previous word embedding $e _ { t - 1 }$ into the hidden state $h _ { t } ^ { A }$ .
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\pmb { h } _ { t } ^ { A } = L S T M _ { A t t n } ( [ \pmb { v } _ { g } ; \pmb { h } _ { t - 1 } ^ { L } ; \pmb { e } _ { t - 1 } ] ) , \quad \pmb { e } _ { t - 1 } = W _ { e } \pmb { y } _ { t - 1 } ,
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where $[ ; ]$ denotes concatenation, and $W _ { e }$ are learned parameters. We omit the Attention LSTM input hidden and cell states to avoid notational clutter in the exposition.
|
| 51 |
+
|
| 52 |
+
The Language LSTM uses the hidden state $h _ { t } ^ { A }$ from the Attention LSTM to dynamically attend on the bag of regions $\pmb { R }$ for obtaining visual representations of the image $\hat { \mathbf { } } _ { { t } }$ to generate a word $y _ { t }$ .
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
z _ { t , n } = W _ { a a } t a n h ( W _ { a } h _ { t } ^ { A } + r _ { n } ) , ~ \alpha _ { t } = \mathrm { s o f t m a x } ( z _ { t } ) , ~ \hat { r } _ { t } = R \alpha ,
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 2: Proposed cyclical training regimen: decoding localization reconstruction. The decoder attends to the image regions and sequentially generate each of the output words. The localizer then uses the generated words as input to locate the image regions. Finally, the shared decoder during reconstruction stage uses the localized image regions to regenerate a sentence that matches with the ground-truth sentence.
|
| 60 |
+
|
| 61 |
+
where $W _ { a a }$ and $W _ { a }$ are learned parameters. The conditional probability distribution over possible output words ${ \mathbf { } } _ { \mathbf { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } } \mathbf { _ { } } \mathbf { \psi } _ { \mathbf { } \psi } \mathbf { _ { } } \textbf { } \psi _ { } \psi _ { } \left. \textbf { } \psi _ { } \mathbf { } \psi _ { } \textbf { } \right.$ is computed as:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\begin{array} { r } { \boldsymbol { h } _ { t } ^ { L } = L S T M _ { L a n g } ( [ \hat { \boldsymbol { r } } _ { t } , \boldsymbol { h } _ { t } ^ { A } ] ) , \quad p ( \boldsymbol { y } _ { t } | \boldsymbol { y } _ { 1 : t - 1 } ) = \mathrm { s o f t m a x } ( \boldsymbol { W } _ { o } \boldsymbol { h } _ { t } ^ { L } ) , } \end{array}
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
where $\mathbf { \delta } _ { y _ { 1 } : t - 1 }$ is a sequence of outputs $( \pmb { y } _ { 1 } , . . . , \pmb { y } _ { t - 1 } )$ . We refer the Language LSTM and the output logit layer as the complete language decoder.
|
| 68 |
+
|
| 69 |
+
# 3.2 OVERVIEW
|
| 70 |
+
|
| 71 |
+
Our goal is to enforce the generated caption to be visually grounded, i.e., attended image regions correspond specifically to individual words being generated, without ground-truth grounding supervision. Towards this end, we propose a novel cyclical training regimen that is comprised of decoding, localization, and reconstruction stages, as illustrated in Figure 2.
|
| 72 |
+
|
| 73 |
+
The intuition of our method is that the baseline network is not forced to generate a correct correspondence between the attended objects and generated words, since the LSTMs can learn priors in the data instead of looking at the image or propagate information forward which can subsequently be used to generate corresponding words in future time steps. The proposed cyclical training regimen, in contrast, aims at enforcing visual grounding to the model by requiring the language decoder (Eq. 3) to rely on the localized image regions $\hat { r } _ { t } ^ { l }$ to reconstruct the ground-truth sentence, where the localization is conditioned only on the generated word from the decoding stage. Our cyclical method can therefore be done without using any annotations of the grounding itself.
|
| 74 |
+
|
| 75 |
+
Specifically, let $\pmb { y } _ { t } ^ { d } = \mathcal { D } ^ { d } ( \hat { \pmb { r } } _ { t } ; \theta _ { d } )$ be the initial language decoder with parameters $\theta _ { d }$ (Eq. 3), trained to sequentially generate words $\mathbf { \Delta } _ { \mathbf { \mathcal { Y } } _ { t } ^ { d } } ^ { d }$ . Let $\mathcal { G } ( \boldsymbol { y } _ { t } ^ { d } ; \boldsymbol { \theta } _ { g } )$ define a localizer unit with parameters $\theta _ { g }$ , that learns to map (ground) each generated word to region(s) in the image, i.e., $\hat { { \pmb r } } _ { t } ^ { l } = \mathcal { G } ( { \pmb y } _ { t } ^ { d } , R ; \theta _ { g } )$ . Finally, let $\pmb { y } _ { t } ^ { l } = \mathcal { D } ^ { l } ( \hat { \pmb { r } } _ { t } ^ { l } ; \theta _ { l } )$ be a second decoder, that is required to reconstruct the ground-truth caption using the localized region(s), instead of the attention computed by the decoder itself. We define the cycle:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\begin{array} { r } { \pmb { y } _ { t } ^ { l } = \mathcal { D } ^ { r } ( \mathcal { G } ( \mathcal { D } ^ { d } ( \hat { \pmb { r } } _ { t } ; \theta _ { d } ) , \pmb { R } ; \theta _ { g } ) ; \theta _ { l } ) , \theta _ { d } = \theta _ { l } , } \end{array}
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where $\mathcal { D } ^ { d }$ and $\mathcal { D } ^ { l }$ share parameters. Although parameters are shared, the inputs for the two language decoders differ, leading to unique LSTM hidden state values during a run. Note that the Attention LSTMs and logit layers in the two stages also share parameters, though they are omitted for clarity.
|
| 82 |
+
|
| 83 |
+
Through cyclical joint training, both $\mathcal { D } ^ { d }$ and $\mathcal { D } ^ { l }$ are required to generate the same ground-truth sentence. They are both optimized to maximize the likelihood of the correct caption:
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\boldsymbol { \theta } ^ { * } = \underset { \boldsymbol { \theta } _ { d } } { \arg \operatorname* { m a x } } \sum \log p ( \boldsymbol { y } _ { t } ^ { d } ; \boldsymbol { \theta } _ { d } ) + \underset { \boldsymbol { \theta } _ { l } } { \arg \operatorname* { m a x } } \sum \log p ( \boldsymbol { y } _ { t } ^ { l } ; \boldsymbol { \theta } _ { l } ) ,
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
During training, the localizer regularizes the region attention of the reconstructor and the effect is further propagated to the baseline network in the decoding stage, since the parameters of Attention
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
Figure 3: Proposed model architecture (left) and how the model operates during decoding, localization, and reconstruction stages (right). During the decoding stage, the soft-attention module uses the hidden state of the Attention LSTM to compute attention weights on image regions. During the localization and reconstruction stage, the soft-attention module instead uses the generated word from decoding stage to compute attention weights on image regions.
|
| 93 |
+
|
| 94 |
+
LSTM and Language LSTM are shared for both decoding and reconstruction stages. Note that the gradient from reconstruction loss will not backprop to the decoder $\mathcal { D } ^ { d }$ in the decoding stage since the generated words used as input to the localizer are leafs in the computational graph. The network is implicitly regularized to update its attention mechanism to match with the localized image regions $\hat { r } _ { t } \stackrel { \cdot } { \mapsto } \hat { r } _ { t } ^ { l }$ . In Sec. 4.3, we demonstrate that the localized image regions $\hat { r } _ { t } ^ { l }$ indeed have higher attention accuracy than $\hat { \mathbf { } r } _ { t }$ when using ground-truth words as inputs for the localizer.
|
| 95 |
+
|
| 96 |
+
# 3.3 CYCLICAL TRAINING
|
| 97 |
+
|
| 98 |
+
We now describe each stage of our cyclical model in detail, as illustrated in Figure 3.
|
| 99 |
+
|
| 100 |
+
Decoding. We first use the baseline model presented in Sec. 3.1 to generate a sequence of words $\pmb { y } = [ \pmb { y } _ { 1 } ^ { d } , \pmb { y } _ { 2 } ^ { d } , . . . , \pmb { y } _ { T } ^ { d } ]$ , where $T$ is the ground-truth sentence length.
|
| 101 |
+
|
| 102 |
+
Localization. Following the decoding process, a localizer $\mathcal { G }$ is then learned to localize the image regions from each generated word ${ \mathbf { } } _ { \pmb { y } _ { t } }$ .
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\begin{array} { r } { \boldsymbol { e } _ { t } = W _ { e } \boldsymbol { y } _ { t } ^ { d } , \quad \boldsymbol { z } _ { t , n } ^ { l } = ( W _ { l } \boldsymbol { e } _ { t } ) ^ { \top } \boldsymbol { r } _ { n } \quad \mathrm { a n d } \quad \beta _ { t } = \mathrm { s o f t m a x } ( z _ { t } ^ { l } ) , } \end{array}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $e _ { t }$ is the embedding for the word generated during decoding stage at step $t$ , $\boldsymbol { r } _ { n }$ is the image representation of a region proposal, and $W _ { e }$ and $W _ { l }$ are the learned parameters. Based on the localized weights $\beta _ { t }$ , the localized region representation can be obtained by $\hat { \mathbf { } r } _ { t } ^ { l } = R \boldsymbol { \beta }$ .
|
| 109 |
+
|
| 110 |
+
Reconstruction. Finally, the shared language decoder $\mathcal { D } ^ { l }$ relies on the localized region representation $\hat { r } _ { t } ^ { l }$ to generate the next word. The probability over possible output words is:
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\begin{array} { r } { \pmb { h } _ { t } ^ { L } = L S T M _ { L a n g } ( [ \hat { \pmb r } _ { t } ^ { l } ; \pmb { h } _ { t } ^ { A } ] ) , p ( \pmb y _ { t } ^ { l } | \pmb { y } _ { 1 : t - 1 } ^ { l } ) = \mathrm { s o f t m a x } ( \pmb { W } _ { o } \pmb h _ { t } ^ { L } ) , } \end{array}
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
Given the target ground truth caption $\pmb { y } _ { 1 : T } ^ { * }$ and our proposed captioning model parameterized with $\theta$ , we minimize the following cross-entropy losses:
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
\mathcal { L } _ { C E } ( \theta ) = - \lambda _ { 1 } \sum _ { t = 1 } ^ { T } l o g ( p _ { \theta } ( y _ { t } ^ { * } | y _ { 1 : t - 1 } ^ { * } ) ) \mathbb { 1 } _ { ( y _ { t } ^ { * } = y _ { t } ^ { d } ) } - \lambda _ { 2 } \sum _ { t = 1 } ^ { T } l o g ( p _ { \theta } ( y _ { t } ^ { * } | y _ { 1 : t - 1 } ^ { * } ) ) \mathbb { 1 } _ { ( y _ { t } ^ { * } = y _ { t } ^ { l } ) } .
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
where $\lambda _ { 1 }$ and $\lambda _ { 2 }$ are weighting coefficient selected on the validation split.
|
| 123 |
+
|
| 124 |
+
# 4 EXPERIMENTS
|
| 125 |
+
|
| 126 |
+
Datasets. We use the Flickr30k Entities image dataset (Plummer et al., 2015) and the ActivityNetEntities video dataset (Zhou et al., 2019) for evaluating our proposed approach. Flickr30k Entities contains $2 7 5 \mathrm { k }$ annotated bounding boxes from 31k images associated with natural language phrases. Each image is annotated with 5 crowdsourced captions. ActivityNet-Entities contains 15k videos with 158k spatially annotated bounding boxes from 52k video segments.
|
| 127 |
+
|
| 128 |
+
Captioning evaluation metrics. We measure captioning performance using four language metrics, including BLEU (Papineni et al., 2002), METEOR (Banerjee & Lavie, 2005), CIDEr (Vedantam et al., 2015), and SPICE (Anderson et al., 2016).
|
| 129 |
+
|
| 130 |
+
Grounding evaluation metrics. Following the grounding evaluation from GVD (Zhou et al., 2019), we measure the attention accuracy on generated sentences, denoted by $\mathrm { F } 1 _ { \mathrm { a l l } }$ and $\mathrm { F l } _ { \mathrm { l o c } }$ . In $\mathrm { F } 1 _ { \mathrm { a l l } }$ , a region prediction is considered correct if the object word1 is correctly predicted and also correctly localized. We also compute $\mathrm { F l } _ { \mathrm { l o c } }$ , which only considers correctly-predicted object words. Please see illustration of the grounding metrics in Appendix A.1.
|
| 131 |
+
|
| 132 |
+
In the original formulation, the precision and recall for the two F1 metrics are computed for each object class, and it is set to zero if an object class has never been predicted. The scores are computed for each object class and averaged by the total number of classes. Such metrics are extremely stringent as captioning models are generally biased toward certain words in the vocabulary, given the long-tailed distribution of words. In fact, both the baseline and proposed method generate about $45 \%$ of the annotated object words within the val set in Flickr30k Entities. The grounding accuracy of the other $55 \%$ of the classes are therefore zero, making the averaged grounding accuracy seemingly low.
|
| 133 |
+
|
| 134 |
+
Measuring grounding per generated sentence. Instead of evaluating grounding on each object class (which might be less intuitive), we include a new grounding evaluation metric per sentence to directly reflect the grounding measurement of each generated sentence. The metrics are computed against a pool of object words and their ground-truth bounding boxes (GT bbox) collected across five GT captions on Flickr30k Entities (and one GT caption on ActivityNet-Entities). We use the same $\mathrm { P r e c } _ { \mathrm { a l l } }$ , $\mathrm { R e c } _ { \mathrm { a l l } }$ , $\mathrm { P r e c } _ { \mathrm { l o c } }$ , and $\scriptstyle { \mathrm { R e c } } _ { \mathrm { l o c } }$ as defined previously, but their scores are averaged on each of the generated sentence. As a result, the $\mathrm { F 1 } _ { \mathrm { l o c \_ p e r \_ s e n t } }$ measures the F1 score only on the generated words. The model will not be punished if some object words are not generated, but it also needs to maintain diversity to achieve high captioning performance.
|
| 135 |
+
|
| 136 |
+
# 4.1 IMPLEMENTATION AND TRAINING DETAILS
|
| 137 |
+
|
| 138 |
+
Region proposal and spatial features. Following GVD (Zhou et al., 2019), we extracted 100 region proposals from each image (video frame) and encode them via the grounding-aware region encoding. Please refer to Appendix A.5 for more implementation details.
|
| 139 |
+
|
| 140 |
+
Training. We train the model with ADAM optimizer (Kingma & Ba, 2015). The initial learning rate is set to $1 e - 4$ . Learning rates automatically drop by 10x when the CIDEr score is saturated. The batch size is 32 for Flickr30k Entities and 96 for ActivityNet-Entities. We learn the word embedding layer from scratch for fair comparisons with existing work (Zhou et al., 2019).
|
| 141 |
+
|
| 142 |
+
# 4.2 CAPTIONING AND GROUNDING PERFORMANCE COMPARISON
|
| 143 |
+
|
| 144 |
+
Flickr30k Entities. We first compare the proposed method with our baseline with or without grounding supervision on the Flickr30k Entities test set (see Table 1). To train the supervised baseline, we train the attention mechanism as well as add the region classification task using the ground-truth grounding annotation, similar to GVD (Zhou et al., 2019). We train the proposed baselines and our method on the training set and choose the best performing checkpoints based on their CIDEr score on the val set. Our experimental results are reported by averaging across five runs on the test set. We report only the mean of the five runs to keep the table uncluttered. When compared to the existing state of the arts, our proposed baselines achieve comparable captioning evaluation performances and grounding accuracy. Using the resulting supervised baseline as the upper bound, our proposed method with cyclical training statistically achieves around 20 to $2 5 \%$ relative grounding accuracy improvements for both $F 1 _ { \mathrm { a l l } }$ and $F 1 _ { \mathrm { l o c } }$ and 10 to $15 \%$ for $F 1 _ { \mathrm { a l l \_ p e r \_ s e n t } }$ and $F 1 _ { \mathrm { l o c } }$ per sent without utilizing any grounding annotations or additional computation during inference.
|
| 145 |
+
|
| 146 |
+
ActivityNet-Entities. We adapt our proposed baselines and method to the ActivityNet-Entities video dataset (see Table 2). We can see that our proposed method significantly improved the grounding accuracy around $2 5 \%$ to $30 \%$ relative grounding accuracy improvements for both $F 1 _ { \mathrm { a l l } }$ and $F 1 _ { \mathrm { l o c } }$ and around $40 \%$ for $F 1 _ { \mathrm { a l l \_ p e r \_ s e n t } }$ and $F 1 _ { \mathrm { l o c } }$ per sent.
|
| 147 |
+
|
| 148 |
+
Table 1: Performance comparison on the Flickr30k Entities test set: ATT-FCN (You et al., 2016), NBT (Lu et al., 2018), Up-Down (Anderson et al., 2018), GVD (Zhou et al., 2019), and Baseline is our reimplementation of GVD. \*: our results are averaged across five runs. Only numbers reported by multiple runs are considered to be bolded.
|
| 149 |
+
|
| 150 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Grounding supervision</td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>Flall</td><td>F1loc</td><td>Flall_per_sent</td><td>Flloc_per_sent</td></tr><tr><td>ATT-FCN</td><td></td><td>64.7</td><td>19.9</td><td>18.5</td><td>-</td><td>-</td><td>-</td><td>-</td><td>=</td><td>-</td></tr><tr><td>NBT</td><td></td><td>69.0</td><td>27.1</td><td>21.7</td><td>57.5</td><td>15.6</td><td>-</td><td>-</td><td></td><td></td></tr><tr><td>Up-Down</td><td></td><td>69.4</td><td>27.3</td><td>21.7</td><td>56.6</td><td>16.0</td><td>4.14</td><td>12.3</td><td></td><td></td></tr><tr><td>GVD (w/o SelfAttn)</td><td></td><td>69.2</td><td>26.9</td><td>22.1</td><td>60.1</td><td>16.1</td><td>3.97</td><td>11.6</td><td></td><td></td></tr><tr><td>GVD</td><td>√</td><td>69.9</td><td>27.3</td><td>22.5</td><td>62.3</td><td>16.5</td><td>7.77</td><td>22.2</td><td></td><td>-</td></tr><tr><td>Baseline*</td><td>√</td><td>69.0</td><td>26.8</td><td>22.4</td><td>61.1</td><td>16.8</td><td>8.44 (+100%)</td><td>22.78 (+100%)</td><td>27.37 (+100%)</td><td>63.19 (+100%)</td></tr><tr><td>Baseline*</td><td></td><td>69.1</td><td>26.0</td><td>22.1</td><td>59.6</td><td>16.3</td><td>4.08 (+0%)</td><td>11.83 (+0%)</td><td>13.20 (+0%)</td><td>31.83 (+0%)</td></tr><tr><td>Cyclical*</td><td></td><td>69.4</td><td>26.9</td><td>22.3</td><td>60.8</td><td>16.6</td><td>5.11 (+24%)</td><td>14.15 (+21%)</td><td>15.15 (+14%)</td><td>35.56 (+12%)</td></tr></table>
|
| 151 |
+
|
| 152 |
+
Table 2: Performance comparison on the ActivityNet-Entities val set: GVD (Zhou et al., 2019) and Baseline is our reimplementation of GVD. \*: our results are averaged across five runs. Only numbers reported by multiple runs are considered to be bolded.
|
| 153 |
+
|
| 154 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Grounding supervision</td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>Flall</td><td>Floc</td><td>Flallper_sent</td><td>Fl1oc_per_sent</td></tr><tr><td>GVD</td><td></td><td>23.0</td><td>2.27</td><td>10.7</td><td>44.6</td><td>13.8</td><td>0.28</td><td>1.13</td><td>=</td><td>-</td></tr><tr><td>GVD (w/o SelfAttn)</td><td></td><td>23.2</td><td>2.28</td><td>10.9</td><td>45.6</td><td>15.0</td><td>3.70</td><td>12.7</td><td></td><td></td></tr><tr><td>GVD</td><td>√</td><td>23.9</td><td>2.59</td><td>11.2</td><td>47.5</td><td>15.1</td><td>7.11</td><td>24.1</td><td></td><td></td></tr><tr><td>Baseline*</td><td>√</td><td>23.1</td><td>2.13</td><td>10.7</td><td>45.0</td><td>14.6</td><td>7.30 (+100%)</td><td>25.02 (+100%)</td><td>17.88 (+100%)</td><td>60.23 (+100%)</td></tr><tr><td>Baseline*</td><td></td><td>23.2</td><td>2.22</td><td>10.8</td><td>45.9</td><td>15.1</td><td>3.75 (+0%)</td><td>12.00 (+0%)</td><td>9.41 (+0%)</td><td>31.68 (+0%)</td></tr><tr><td>Cyclical*</td><td></td><td>23.7</td><td>2.45</td><td>11.1</td><td>46.4</td><td>14.8</td><td>4.68 (+26%)</td><td>15.84 (+29%)</td><td>12.60 (+38%)</td><td>44.04 (+43%)</td></tr></table>
|
| 155 |
+
|
| 156 |
+
# 4.3 ANALYSIS
|
| 157 |
+
|
| 158 |
+
Are localized image regions better than attended image regions during training? Given our intuition described in Sec. 3, we expect the decoder to be regularized to update its attention mechanism to match with the localized image regions $\hat { r } _ { t } \mapsto \hat { r } _ { t } ^ { l }$ . This indicates that the localized image regions should be more accurate than the attended image regions by the decoder during training. To verify this, we compute the attention accuracy for both decoder and localizer over ground-truth sentences following (Rohrbach et al., 2016; Zhou et al., 2018). The attention accuracy for localizer is $2 0 . 4 \%$ and is higher than the $1 9 . 3 \%$ from the decoder at the end of training, which confirms our hypothesis.
|
| 159 |
+
|
| 160 |
+
Grounding performance when using a better object detector. In Table 1 and 2 we showed that our proposed method significantly improved the grounding accuracy for both image and video captioning. These experimental settings follow the widely used procedure for visual captioning systems: extract regional proposal features and generate visual captions by attending to those extracted visual features.
|
| 161 |
+
|
| 162 |
+
Table 3: Grounding performance when using better object detector on the Flickr30k Entities test set (see Table 4 for complete version).
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan="2">#</td><td rowspan="2">Grounding supervision</td><td colspan="3">Captioning Eval.</td><td colspan="3">Grounding Eval.</td></tr><tr><td>M</td><td>C</td><td>S</td><td>F1all</td><td>F1oc</td><td>Flloc_per_sent</td></tr><tr><td colspan="9">Unrealistically perfect object detector</td></tr><tr><td>Baseline</td><td>√</td><td>25.3</td><td>76.5</td><td>22.3</td><td>23.19</td><td>52.83</td><td>90.76</td></tr><tr><td>Baseline</td><td></td><td>25.2</td><td>76.3</td><td>22.0</td><td>20.82</td><td>48.74</td><td>77.81</td></tr><tr><td>Cyclical</td><td></td><td>25.8</td><td>80.2</td><td>22.7</td><td>25.27</td><td>54.54</td><td>81.56</td></tr><tr><td colspan="8">Grounding-biased object detector</td></tr><tr><td>Baseline</td><td>√</td><td>21.3</td><td>53.3</td><td>15.5</td><td>8.23</td><td>23.95</td><td>66.96</td></tr><tr><td>Baseline</td><td></td><td>21.2</td><td>52.4</td><td>15.4</td><td>5.95</td><td>17.51</td><td>42.84</td></tr><tr><td>Cyclical</td><td></td><td>21.2</td><td>52.0</td><td>15.4</td><td>6.87</td><td>19.65</td><td>50.25</td></tr></table>
|
| 165 |
+
|
| 166 |
+

|
| 167 |
+
Figure 4: Average $\mathrm { F } 1 _ { a l l }$ -score per class as a function of class frequency.
|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 5: Generated captions and corresponding visual grounding regions with comparison between baseline (left) and proposed approach (right). Our proposed method is able to generate more descriptive sentences while selecting the correct regions for generating the corresponding words.
|
| 171 |
+
|
| 172 |
+
One might ask, what if we have a better object detector that can extract robust visual representation that are better aligned with the word embeddings? Will visual grounding still an issue for captioning?
|
| 173 |
+
|
| 174 |
+
To answer this, we ran two sets of experiments (Table 3): (1) Perfect object detector: we replace the ROIs by ground-truth bbox and represent the new ROIs by learning embedding features directly from ground-truth object words associated with each ground-truth bbox. This experiment gives an estimate of the captioning and grounding performance if we have (almost) perfect ROI representations (though unrealistic). We can see that the fully-supervised method achieves an $\mathrm { F } 1 _ { \mathrm { a l l } }$ of only $23 \%$ , which further confirms the difficulty of the metric and the necessity of our grounding metric on a per sentence level (note that $\mathrm { F 1 } _ { \mathrm { l o c \_ p e r \_ s e n t } }$ shows $90 \%$ ). We can also see that baseline (unsup.) still leaves room for improvement on grounding performance. Surprisingly, our method improved both captioning and grounding accuracy and surpasses the fully-supervised baseline except on the $\mathrm { F 1 } _ { \mathrm { l o c \_ p e r \_ s e n t } }$ . We find that it is because the baseline (sup.) overfits to the training set, while ours is regularized from the cyclical training. Also, our generated object words are more diverse, which is critical for $\mathrm { F } 1 _ { \mathrm { a l l } }$ and $\mathrm { F l } _ { \mathrm { l o c } }$ . (2) Grounding-biased object detector: we extract ROI features from an object detector pre-trained on Flick $- 3 0 \mathrm { k }$ . Thus, the ROI features and their associated object predictions are biased toward the annotated object words but do not generalize to predict diverse captions compared to the original object detector trained from Visual Genome, resulting in lower captioning performance. We can see that our proposed method still successfully improves grounding and maintains captioning performance in this experiment setting as well.
|
| 175 |
+
|
| 176 |
+
How does the number of annotations affect grounding performance? In Figure 4, we present the average F1-score on the Flickr30k Entities val set when grouping classes according to their frequency of appearance in the training set3. We see that, unsurprisingly, the largest difference in grounding accuracy between the supervised and our proposed cyclical training is for the 50 most frequently appearing object classes, where enough training data exists. As the number of annotated boxes decreases, however, the difference in performance diminishes, and cyclical training appears to be more robust. Overall, we see that the supervised method is biased towards frequently appearing objects, while grounding performance for the proposed approach is more balanced among classes.
|
| 177 |
+
|
| 178 |
+
Qualitative analysis. We additionally conduct qualitative analysis for comparing the baseline (Unsup.) and the proposed method in Figure 5. Each highlighted word has a corresponding image region annotated on the original image. The image regions are selected based on the region with the maximum attention weight in $\alpha _ { t }$ . We can see that our proposed method significantly outperformed the baseline (Unsup.) in terms of both the quality of the generated sentence and grounding accuracy. In addition, we also discuss a number of correct and incorrect examples of our proposed method in Figure 8 in the Appendix. Please refer to the Appendix A.4 for further discussions on the qualitative results and the complete sequence of attended image regions of examples in Figure 5.
|
| 179 |
+
|
| 180 |
+
# 5 CONCLUSION
|
| 181 |
+
|
| 182 |
+
Working from the intuition that typical attentional mechanisms in the visual captioning task are not forced to ground generated words since recurrent models can propagate past information, we devise a novel cyclical training regime to explicitly force the model to ground each word without grounding annotations. Our method only adds a fully-connected layer during training, which can be removed during inference, and we show thorough quantitative and qualitative results demonstrating around $20 \%$ or $30 \%$ relative improvements in visual grounding accuracy over existing methods for image and video captioning tasks.
|
| 183 |
+
|
| 184 |
+
# REFERENCES
|
| 185 |
+
|
| 186 |
+
Peter Anderson, Basura Fernando, Mark Johnson, and Stephen Gould. Spice: Semantic propositional image caption evaluation. In European Conference on Computer Vision, pp. 382–398. Springer, 2016.
|
| 187 |
+
|
| 188 |
+
Peter Anderson, Xiaodong He, Chris Buehler, Damien Teney, Mark Johnson, Stephen Gould, and Lei Zhang. Bottom-up and top-down attention for image captioning and visual question answering. In In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6, 2018.
|
| 189 |
+
|
| 190 |
+
Satanjeev Banerjee and Alon Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In Proceedings of the acl workshop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, volume 29, pp. 65–72, 2005.
|
| 191 |
+
|
| 192 |
+
Xinlei Chen and C Lawrence Zitnick. Mind’s eye: A recurrent visual representation for image caption generation. In Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR), pp. 2422–2431, 2015.
|
| 193 |
+
|
| 194 |
+
Abhishek Das, Harsh Agrawal, Larry Zitnick, Devi Parikh, and Dhruv Batra. Human attention in visual question answering: Do humans and deep networks look at the same regions? Computer Vision and Image Understanding, 163:90–100, 2017.
|
| 195 |
+
|
| 196 |
+
Pradipto Das, Chenliang Xu, Richard F Doell, and Jason J Corso. A thousand frames in just a few words: Lingual description of videos through latent topics and sparse object stitching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2634–2641, 2013.
|
| 197 |
+
|
| 198 |
+
Chaorui Deng, Qi Wu, Qingyao Wu, Fuyuan Hu, Fan Lyu, and Mingkui Tan. Visual grounding via accumulated attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7746–7755, 2018.
|
| 199 |
+
|
| 200 |
+
Jeffrey Donahue, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan, Kate Saenko, and Trevor Darrell. Long-term recurrent convolutional networks for visual recognition and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2625–2634, 2015.
|
| 201 |
+
|
| 202 |
+
Xuguang Duan, Wenbing Huang, Chuang Gan, Jingdong Wang, Wenwu Zhu, and Junzhou Huang. Weakly supervised dense event captioning in videos. In Advances in Neural Information Processing Systems (NeurIPS), pp. 3063–3073, 2018.
|
| 203 |
+
|
| 204 |
+
Di He, Yingce Xia, Tao Qin, Liwei Wang, Nenghai Yu, Tie-Yan Liu, and Wei-Ying Ma. Dual learning for machine translation. In Advances in Neural Information Processing Systems (NeurIPS), pp. 820–828, 2016.
|
| 205 |
+
|
| 206 |
+
Kaiming He, Georgia Gkioxari, Piotr Dollar, and Ross Girshick. Mask r-cnn. In ´ Computer Vision (ICCV), 2017 IEEE International Conference on, pp. 2980–2988. IEEE, 2017.
|
| 207 |
+
|
| 208 |
+
Lisa Anne Hendricks, Ronghang Hu, Trevor Darrell, and Zeynep Akata. Grounding visual explanations. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 264–279, 2018.
|
| 209 |
+
|
| 210 |
+
Ehsan Hosseini-Asl, Yingbo Zhou, Caiming Xiong, and Richard Socher. Augmented cyclic adversarial learning for low resource domain adaptation. In Proceedings of the International Conference on Learning Representations (ICLR), 2019.
|
| 211 |
+
|
| 212 |
+
Ronghang Hu, Huazhe Xu, Marcus Rohrbach, Jiashi Feng, Kate Saenko, and Trevor Darrell. Natural language object retrieval. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4555–4564, 2016.
|
| 213 |
+
|
| 214 |
+
Qiuyuan Huang, Pengchuan Zhang, Dapeng Wu, and Lei Zhang. Turbo learning for captionbot and drawingbot. In Advances in Neural Information Processing Systems (NeurIPS), pp. 6456–6466, 2018.
|
| 215 |
+
|
| 216 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Proceedings of the International Conference on Learning Representations (ICLR), 2015.
|
| 217 |
+
|
| 218 |
+
Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. Visual genome: Connecting language and vision using crowdsourced dense image annotations. International Journal of Computer Vision, 123(1):32–73, 2017.
|
| 219 |
+
|
| 220 |
+
Girish Kulkarni, Visruth Premraj, Vicente Ordonez, Sagnik Dhar, Siming Li, Yejin Choi, Alexander C Berg, and Tamara L Berg. Babytalk: Understanding and generating simple image descriptions. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(12):2891–2903, 2013.
|
| 221 |
+
|
| 222 |
+
Yehao Li, Ting Yao, Yingwei Pan, Hongyang Chao, and Tao Mei. Jointly localizing and describing events for dense video captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7492–7500, 2018.
|
| 223 |
+
|
| 224 |
+
Chenxi Liu, Junhua Mao, Fei Sha, and Alan Yuille. Attention correctness in neural image captioning. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
|
| 225 |
+
|
| 226 |
+
Jiasen Lu, Jianwei Yang, Dhruv Batra, and Devi Parikh. Neural baby talk. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7219–7228, 2018.
|
| 227 |
+
|
| 228 |
+
Chih-Yao Ma, Asim Kadav, Iain Melvin, Zsolt Kira, Ghassan AlRegib, and Hans Peter Graf. Attend and interact: Higher-order object interactions for video understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018.
|
| 229 |
+
|
| 230 |
+
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.
|
| 231 |
+
|
| 232 |
+
Jae Sung Park, Marcus Rohrbach, Trevor Darrell, and Anna Rohrbach. Adversarial inference for multi-sentence video description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
|
| 233 |
+
|
| 234 |
+
Bryan A Plummer, Liwei Wang, Chris M Cervantes, Juan C Caicedo, Julia Hockenmaier, and Svetlana Lazebnik. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 2641–2649, 2015.
|
| 235 |
+
|
| 236 |
+
Shaoqing Ren, Kaiming He, Ross Girshick, and Jian Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems (NeurIPS), pp. 91–99, 2015.
|
| 237 |
+
|
| 238 |
+
Anna Rohrbach, Marcus Rohrbach, Ronghang Hu, Trevor Darrell, and Bernt Schiele. Grounding of textual phrases in images by reconstruction. In European Conference on Computer Vision (ECCV), pp. 817–834. Springer, 2016.
|
| 239 |
+
|
| 240 |
+
Anna Rohrbach, Marcus Rohrbach, Siyu Tang, Seong Joon Oh, and Bernt Schiele. Generating descriptions with grounded and co-referenced people. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4979–4989, 2017a.
|
| 241 |
+
|
| 242 |
+
Anna Rohrbach, Atousa Torabi, Marcus Rohrbach, Niket Tandon, Christopher Pal, Hugo Larochelle, Aaron Courville, and Bernt Schiele. Movie description. International Journal of Computer Vision, 123(1):94–120, 2017b.
|
| 243 |
+
|
| 244 |
+
Anna Rohrbach, Lisa Anne Hendricks, Kaylee Burns, Trevor Darrell, and Kate Saenko. Object hallucination in image captioning. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 4035–4045, 2018.
|
| 245 |
+
|
| 246 |
+
Ramprasaath R Selvaraju, Stefan Lee, Yilin Shen, Hongxia Jin, Dhruv Batra, and Devi Parikh. Taking a hint: Leveraging explanations to make vision and language models more grounded. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2019.
|
| 247 |
+
|
| 248 |
+
Meet Shah, Xinlei Chen, Marcus Rohrbach, and Devi Parikh. Cycle-consistency for robust visual question answering. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
|
| 249 |
+
|
| 250 |
+
Rakshith Shetty, Marcus Rohrbach, Lisa Anne Hendricks, Mario Fritz, and Bernt Schiele. Speaking the same language: Matching machine to human captions by adversarial training. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 4135–4144, 2017.
|
| 251 |
+
|
| 252 |
+
Duyu Tang, Nan Duan, Zhao Yan, Zhirui Zhang, Yibo Sun, Shujie Liu, Yuanhua Lv, and Ming Zhou. Learning to collaborate for question answering and asking. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), volume 1, pp. 1564–1574, 2018.
|
| 253 |
+
|
| 254 |
+
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 (NeurIPS), pp. 5998–6008, 2017.
|
| 255 |
+
|
| 256 |
+
Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR), pp. 4566–4575, 2015.
|
| 257 |
+
|
| 258 |
+
Subhashini Venugopalan, Marcus Rohrbach, Jeffrey Donahue, Raymond Mooney, Trevor Darrell, and Kate Saenko. Sequence to sequence-video to text. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 4534–4542, 2015.
|
| 259 |
+
|
| 260 |
+
Subhashini Venugopalan, Lisa Anne Hendricks, Marcus Rohrbach, Raymond Mooney, Trevor Darrell, and Kate Saenko. Captioning images with diverse objects. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5753–5761, 2017.
|
| 261 |
+
|
| 262 |
+
Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. Show and tell: A neural image caption generator. In Proceedings of the IEEE conference on computer vision and pattern recognition (CVPR), pp. 3156–3164, 2015.
|
| 263 |
+
|
| 264 |
+
Bairui Wang, Lin Ma, Wei Zhang, and Wei Liu. Reconstruction network for video captioning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7622–7631, 2018.
|
| 265 |
+
|
| 266 |
+
Fan Wang, Qixing Huang, and Leonidas J. Guibas. Image co-segmentation via consistent functional maps. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), December 2013.
|
| 267 |
+
|
| 268 |
+
Fanyi Xiao, Leonid Sigal, and Yong Jae Lee. Weakly-supervised visual grounding of phrases with linguistic structures. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5945–5954, 2017.
|
| 269 |
+
|
| 270 |
+
Ting Yao, Yingwei Pan, Yehao Li, Zhaofan Qiu, and Tao Mei. Boosting image captioning with attributes. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 22–29, 2017.
|
| 271 |
+
|
| 272 |
+
Quanzeng You, Hailin Jin, Zhaowen Wang, Chen Fang, and Jiebo Luo. Image captioning with semantic attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4651–4659, 2016.
|
| 273 |
+
|
| 274 |
+
Mihai Zanfir, Elisabeta Marinoiu, and Cristian Sminchisescu. Spatio-temporal attention models for grounded video captioning. In Asian Conference on Computer Vision, pp. 104–119, 2016.
|
| 275 |
+
|
| 276 |
+
Yundong Zhang, Juan Carlos Niebles, and Alvaro Soto. Interpretable visual question answering by visual grounding from attention supervision mining. In 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), pp. 349–357. IEEE, 2019.
|
| 277 |
+
|
| 278 |
+
Luowei Zhou, Chenliang Xu, Parker Koch, and Jason J Corso. Watch what you just said: Image captioning with text-conditional attention. In Proceedings of the on Thematic Workshops of ACM Multimedia 2017, pp. 305–313. ACM, 2017.
|
| 279 |
+
|
| 280 |
+
Luowei Zhou, Nathan Louis, and Jason J Corso. Weakly-supervised video object grounding from text by loss weighting and object interaction. In British Machine Vision Conference (BMVC), 2018.
|
| 281 |
+
|
| 282 |
+
Luowei Zhou, Yannis Kalantidis, Xinlei Chen, Jason J. Corso, and Marcus Rohrbach. Grounded video description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
|
| 283 |
+
|
| 284 |
+
Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pp. 2223–2232, 2017.
|
| 285 |
+
|
| 286 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Grounding supervision</td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>Flall</td><td>Flloc</td><td>Flall_per_sent</td><td>F1loc_per_sent</td></tr><tr><td colspan="9">Unrealistically perfect object detector</td><td></td></tr><tr><td>Baseline</td><td>√</td><td>75.6</td><td>32.0</td><td>25.3</td><td>75.6</td><td>22.3</td><td>23.19 (+100%)</td><td>52.83 (+100%)</td><td>51.43 (+100%)</td><td>90.76 (+100%)</td></tr><tr><td>Baseline</td><td></td><td>75.1</td><td>32.1</td><td>25.2</td><td>76.3</td><td>22.0</td><td>20.82 (+0%)</td><td>48.74(+0%)</td><td>43.21(+0%)</td><td>77.81(+0%)</td></tr><tr><td>Cyclical</td><td></td><td>76.7</td><td>32.8</td><td>25.8</td><td>80.2</td><td>22.7</td><td>25.27 (+188%)</td><td>54.54 (+142%)</td><td>46.98 (+46%)</td><td>81.56 (+29%)</td></tr><tr><td colspan="9">Grounding-biased object detector</td><td></td><td></td></tr><tr><td>Baseline</td><td>√</td><td>65.9</td><td>23.4</td><td>21.3</td><td>53.3</td><td>15.5</td><td>8.23 (+100%)</td><td>23.95 (+100%)</td><td>28.06(+100%)</td><td>66.96(+100%)</td></tr><tr><td>Baseline</td><td></td><td>66.1</td><td>23.5</td><td>21.2</td><td>52.4</td><td>15.4</td><td>5.95(+0%)</td><td>17.51 (+0%)</td><td>18.11 (+0%)</td><td>42.84 (+0%)</td></tr><tr><td>Cyclical</td><td></td><td>65.5</td><td>23.3</td><td>21.2</td><td>52.0</td><td>15.4</td><td>6.87 (+40%)</td><td>19.65 (+33%)</td><td>20.82 (+27%)</td><td>50.25 (+31%)</td></tr></table>
|
| 287 |
+
|
| 288 |
+
Table 4: Grounding performance when using better object detector on the Flickr30k Entities test set (results are averaged three runs). Fully-supervised method (Sup.) is used as upper bound, thus its numbers are not bolded.
|
| 289 |
+
|
| 290 |
+

|
| 291 |
+
|
| 292 |
+
Predicted:
|
| 293 |
+
|
| 294 |
+
# Ground-truth:
|
| 295 |
+
|
| 296 |
+
A man is hiking while holding a water bottle.
|
| 297 |
+
A man wearing a hat and hiking shoes is hiking.
|
| 298 |
+
|
| 299 |
+
A man wearing a hat is hiking with a dog.
|
| 300 |
+
|
| 301 |
+
Object words: {man, bottle, hat, shoes}
|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
|
| 305 |
+
Object words: {man, hat, dog}
|
| 306 |
+
|
| 307 |
+
A: {man, hat, dog}
|
| 308 |
+
B: {man, bottle, hat, shoes}
|
| 309 |
+
C: {man, hat}
|
| 310 |
+
D: {man, hat}
|
| 311 |
+
E: {man} (IoU $> 0 . 5 \AA$ )
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Figure 6: Illustration of Grounding metrics.
|
| 315 |
+
|
| 316 |
+
# A APPENDIX
|
| 317 |
+
|
| 318 |
+
# A.1 GROUNDING EVALUATION METRICS ILLUSTRATED
|
| 319 |
+
|
| 320 |
+
To help better understand the grounding evaluation metrics used in this work, we illustrated the grounding evaluation metrics in Figure 6.
|
| 321 |
+
|
| 322 |
+
We define the number of object words in the generated sentences as A, the number of object words in the GT sentences as B, the number of correctly predicted object words in the generated sentences as C and the counterpart in the GT sentences as D, and the number of correctly predicted and localized words as $\mathrm { E }$ (see illustration of the grounding metrics in Appendix A.1). A region prediction is considered correct if the object word is correctly predicted and also correctly localized (i.e., IoU with GT box $> 0 . 5$ ). We then compute two version of the precision and recall as $\mathrm { P r e c } _ { \mathrm { a l l } } = { \frac { E } { A } }$ $\operatorname { R e c } _ { \mathrm { a l l } } = { \frac { E } { B } }$ , ${ \mathrm { P r e c } } _ { \mathrm { l o c } } = { \frac { E } { C } }$ , $\operatorname { R e c } _ { \mathrm { l o c } } = { \frac { E } { D } }$
|
| 323 |
+
|
| 324 |
+
The original grounding evaluation metric proposed in GVD (Zhou et al., 2019) average the grounding for each object class. We additionally calculate the grounding accuracy for each generated sentence as demonstrated in the figure. From this example, we can see that while $P r e c i s i o n _ { a l l }$ counts dog as a wrong prediction for the dog object class, the $P r e c i s i o n _ { l o c }$ only cares if man and hat are predicted and correctly localizer $\mathrm { ( I o U > 0 . 5 ) }$ ).
|
| 325 |
+
|
| 326 |
+
Table 5: Model ablation study on the Flickr30k Entities val set.
|
| 327 |
+
|
| 328 |
+
<table><tr><td rowspan="2"></td><td colspan="3">Captioning Eval.</td><td colspan="2">Grounding Eval.</td></tr><tr><td>M</td><td>C</td><td>S</td><td>Flall</td><td>F11oc</td></tr><tr><td>Baseline (Unsup.)</td><td>22.3</td><td>62.1</td><td>16.0</td><td>4.18</td><td>11.9</td></tr><tr><td>Cyclical</td><td>22.2</td><td>62.2</td><td>16.2</td><td>5.63</td><td>14.6</td></tr><tr><td>- Attention consistency</td><td>22.3</td><td>61.8</td><td>16.2</td><td>4.19</td><td>11.3</td></tr><tr><td>- Localizer using h A</td><td>22.2</td><td>61.8</td><td>16.1</td><td>4.58</td><td>11.3</td></tr></table>
|
| 329 |
+
|
| 330 |
+
<table><tr><td rowspan="2">Method</td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>Flall</td><td>Floc</td><td>Flall_per_sent</td><td>F1loc_per_sent</td></tr><tr><td>Baseline</td><td>69.1</td><td>26.0</td><td>22.1</td><td>59.6</td><td>16.3</td><td>4.08</td><td>11.83</td><td>13.20</td><td>31.83</td></tr><tr><td>Cyclical</td><td>69.4</td><td>26.9</td><td>22.3</td><td>60.8</td><td>16.6</td><td>5.11</td><td>14.15</td><td>15.15</td><td>35.56</td></tr><tr><td>Cyclical (1)</td><td>69.7</td><td>27.0</td><td>22.2</td><td>60.1</td><td>16.5</td><td>5.14</td><td>14.32</td><td>15.36</td><td>36.33</td></tr><tr><td>Cyclical (2)</td><td>69.9</td><td>27.5</td><td>22.4</td><td>62.0</td><td>16.6</td><td>5.13</td><td>13.99</td><td>16.30</td><td>38.45</td></tr></table>
|
| 331 |
+
|
| 332 |
+
Table 6: Performance comparison on the Flickr30k Entities test set. All results are averaged across five runs.
|
| 333 |
+
|
| 334 |
+
# A.2 ADDITIONAL ANALYSIS
|
| 335 |
+
|
| 336 |
+
Should we explicitly make attended image regions to be similar to localized image regions? One possible way to regularize the attention mechanism of the decoder is to explicitly optimize $\hat { r } _ { t } \mapsto \hat { r } _ { t } ^ { l }$ via KL divergence over two soft-attention weights $\pmb { \alpha } _ { t }$ and $\beta _ { t }$ . The experimental results are shown in Table 5 (Attention consistency). We use a single run unsupervised baseline with a fix random seed as baseline model for ablation study. We can see that when explicitly forcing the attended regions to be similar to the localized regions, both the captioning performance and the grounding accuracy remain similar to the baseline (unsup.). We conjecture that this is due to the noisy localized regions at the initial training stage. When forcing the attended regions to be similar to noisy localized regions, the Language LSTM will eventually learn to not rely on the attended region at each step for generating sequence of words. To verify, we increase the weight for attention consistency loss and observed that it has lower grounding accuracy $\mathrm { F } 1 _ { \mathrm { a l l } } = 3 . 2 $ ), but the captioning will reach similar performance while taking $1 . 5 \mathrm { x }$ longer to reach convergence.
|
| 337 |
+
|
| 338 |
+
Is using only the generated word for localization necessarily? Our proposed localizer (Eq. 6 and Figure 3) relies on purely the word embedding representation to locate the image regions. This forces the localizer to rely only on the word embedding without biasing it with the memorized information from the Attention LSTM. As shown in the Table 5 (localizer using $\boldsymbol { h } ^ { A }$ ), although this achieves comparable captioning performance, it has lower grounding accuracy improvement compared to our proposed method.
|
| 339 |
+
|
| 340 |
+
Can words that are not visually-groundable handled differently? In the proposed method, all the words are handled the same regardless of whether they are visually-groundable or not. Yet, typically words that are nouns or verbs are more likely to be grounded, and words like ”a”, ”the”, etc, are not visually-groundable.
|
| 341 |
+
|
| 342 |
+
We explored a few method variants to handle nouns and verbs differently. Mainly, we explored with two variants. Cyclical (1): the reconstruction loss is only computed when the target word is either nouns or verbs. Cyclical (2): the localized region representation will be invalid (set to zero) if the target word is neither nouns nor verbs.
|
| 343 |
+
|
| 344 |
+
The experimental results are shown in Table 6, 7, and 8. For the first variant, Cyclical (1), we observed that the captioning performance stays the same while grounding accuracy has a small improvement. On the other hand, for the second variant, Cyclical (2), we can see that all captioning scores are improved over baseline with CIDEr improved 2.4. We can also see that grounding accuracy on per sentence basis further improved as well. We then conducted further experiments on both ActivityNet-Entities and Flickr30k Entities with unrealistically perfect object detector, but the improvements however are not consistent. In summary: on the Flickr30k Entities test set, we observed that CIDEr is better and grounding per sentence better, on the ActivityNet-Entities val set, the captioning performances are about the same but grounding accuracy became worse, and on the Flickr30k Entities test set with unrealistically perfect object detector, captioning performances are slightly worse but grounding accuracy improved.
|
| 345 |
+
|
| 346 |
+
Table 7: Performance comparison on the ActivityNet-Entities val set. All results are averaged across five runs.
|
| 347 |
+
|
| 348 |
+
<table><tr><td></td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>Method</td><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>F1all</td><td>F1loc</td><td>Flall_per_sent</td><td>F1loc_per_sent</td></tr><tr><td>Baseline</td><td>23.2</td><td>2.22</td><td>10.8</td><td>45.9</td><td>15.1</td><td>3.75</td><td>12.00</td><td>9.41</td><td>31.68</td></tr><tr><td>Cyclical</td><td>23.7</td><td>2.45</td><td>11.1</td><td>46.4</td><td>14.8</td><td>4.68</td><td>15.84</td><td>12.60</td><td>44.04</td></tr><tr><td>Cyclical (2)</td><td>23.9</td><td>2.58</td><td>11.2</td><td>46.6</td><td>14.8</td><td>4.48</td><td>15.01</td><td>11.53</td><td>40.30</td></tr></table>
|
| 349 |
+
|
| 350 |
+
<table><tr><td></td><td colspan="5">Captioning Evaluation</td><td colspan="4">Grounding Evaluation</td></tr><tr><td>Method</td><td>B@1</td><td>B@4</td><td>M</td><td>C</td><td>S</td><td>Flall</td><td>F11oc</td><td>Flall_per_sent</td><td>F1loc_per_sent</td></tr><tr><td colspan="10">Unrealistically perfect object detector</td></tr><tr><td>Baseline</td><td>75.1</td><td>32.1</td><td>25.2</td><td>76.3</td><td>22.0</td><td>20.82</td><td>48.74</td><td>43.21</td><td>77.81</td></tr><tr><td>Cyclical</td><td>76.7</td><td>32.8</td><td>25.8</td><td>80.2</td><td>22.7</td><td>25.27</td><td>54.54</td><td>46.98</td><td>81.56</td></tr><tr><td>Cyclical (2)</td><td>75.8</td><td>32.2</td><td>25.6</td><td>79.0</td><td>22.4</td><td>25.65</td><td>55.81</td><td>48.99</td><td>85.99</td></tr></table>
|
| 351 |
+
|
| 352 |
+
Table 8: Grounding performance when using better object detector on the Flickr30k Entities test set (results are averaged three runs).
|
| 353 |
+
|
| 354 |
+
# A.3 HUMAN EVALUATION ON GROUNDING
|
| 355 |
+
|
| 356 |
+
We conduct a human evaluation on the perceptual quality of the grounding. We asked 10 human subjects to pick the best among two grounded regions (by baseline and Cyclical) for each word. The subjects have three options to choose from: 1) grounded region A is better, 2) grounded region B is better, and 3) they are about the same (see Figure 7 for example). Authors or other colleagues familiar with the proposed method were excluded from the study. Each of the human subjects were given 25 images, each with a varying number of groundable words. Each image was presented to two different human subjects in order to be able to measure inter-rater agreement. To avoid being biased towards the object words defined in the dataset for automatic grounding evaluation, for the study we define a word to be groundable if it is either a noun or verb. The order of approaches was randomized for each sentence.
|
| 357 |
+
|
| 358 |
+
Our experiment on the Flickr30k Entities val set showed that: $2 8 . 1 \%$ of words are more grounded by Cyclical, $2 4 . 8 \%$ of words are more grounded by baseline, and $4 7 . 1 \%$ of words are similarly grounded.
|
| 359 |
+
|
| 360 |
+
We also measured inter-rater agreement between each pair of human subjects: $7 2 . 7 \%$ of ratings are the same, $4 . 9 \%$ of ratings are the opposite, and $2 2 . 4 \%$ of ratings could be ambiguous (e.g., one chose A is better, the other chose they are about the same).
|
| 361 |
+
|
| 362 |
+
We would also like to make a note that the grounded words judged to be similar largely consisted of very easy or impossible cases. For example, words like mountain, water, street, etc, are typically rated to be ”about the same” since they usually have many possible boxes and is very easy for both models to ground the words correctly. On the other hand, for visually ungroundable cases, e.g., stand appears a lot and the subject would choose about the same since the image does not cover the fact that the person’s feet are on the ground.
|
| 363 |
+
|
| 364 |
+
We see that the human study results follow the grounding results presented in the paper and show an improvement in grounding accuracy for the proposed method over a strong baseline. The improvement is achieved without grounding annotations or extra computation at test time.
|
| 365 |
+
|
| 366 |
+

|
| 367 |
+
Figure 7: Demonstration of our human evaluation study on grounding. Each human subject is required to rate which method (A or B) has a better grounding on each highlighted word.
|
| 368 |
+
|
| 369 |
+

|
| 370 |
+
A man in a red shirt is standing on a wooden platform.
|
| 371 |
+
|
| 372 |
+

|
| 373 |
+
A man in a yellow jacket and blue helmet riding a bike.
|
| 374 |
+
|
| 375 |
+

|
| 376 |
+
A man in an orange shirt and a hat is standing next to a blue wall.
|
| 377 |
+
|
| 378 |
+

|
| 379 |
+
A man sits on a chair in front of a lake.
|
| 380 |
+
|
| 381 |
+

|
| 382 |
+
A girl in a purple sweater is jumping on rocks.
|
| 383 |
+
|
| 384 |
+

|
| 385 |
+
A young girl in a pink shirt and jeans is walking down a brick wall.
|
| 386 |
+
|
| 387 |
+

|
| 388 |
+
An Asian woman is holding a red umbrella and walking down the sidewalk.
|
| 389 |
+
|
| 390 |
+

|
| 391 |
+
A man in a black shirt is holding up a flag.
|
| 392 |
+
|
| 393 |
+
Figure 8: Correct (top) examples and examples with errors (bottom) from the proposed method.
|
| 394 |
+
|
| 395 |
+
A.4 ADDITIONAL QUALITATIVE RESULTS
|
| 396 |
+
|
| 397 |
+
In Figure 8, we show a number of correct and incorrect examples of our proposed method. We observe that while the model is able to generate grounded captions for the images, it may sometimes overlook the semantic meaning of the generated sentences, for example, ”A young girl [...] walking down a brick wall”. Similarly, the model can overlook the spatial relationship between the objects, for instance, ”A man [...] is holding up a flag”. While a flag is present in the scene and was able to be successfully located with the corresponding word, the man in a black shirt is spatially far from the flag.
|
| 398 |
+
|
| 399 |
+
In Figure 9, 10, 11, 12, 13, 14, 15, and 16, we illustrated the sequence of attended image region when generating each word for a complete image description. At each step, only the top-1 attended image region is shown. This is the same as how the grounding accuracy is measured. Please see the description for Figure 9 - 16 for further discussions on the qualitative results.
|
| 400 |
+
|
| 401 |
+
# A.5 ADDITIONAL IMPLEMENTATION DETAILS
|
| 402 |
+
|
| 403 |
+
Region proposal features. We use a Faster-RCNN model (Ren et al., 2015) pre-trained on Visual Genome (Krishna et al., 2017) for region proposal and feature extraction. In practice, besides the region proposal features, we also use the Conv features (conv4) extracted from an ImageNet pretrained ResNet-101. Following GVD (Zhou et al., 2019), the region proposals are represented using the grounding-aware region encoding, which is the concatenation of i) region feature, ii) region-class similarity matrix, and iii) location embedding.
|
| 404 |
+
|
| 405 |
+
For region-class similarity matrix, we define a set of object classifiers as $W _ { c }$ , and the region-class similarity matrix can be computed as $M _ { s } = \operatorname { s o f t m a x } ( W _ { c } ^ { \top } R )$ , which captures the similarity between regions and object classes. We omit the ReLU and Dropout layer after the linear embedding layer for clarity. We initialize $W _ { c }$ using the weight from the last linear layer of an object classifiers pre-trained on the Visual Genome dataset (Krishna et al., 2017).
|
| 406 |
+
|
| 407 |
+
For location embedding, we use 4 values for the normalized spatial location. The 4-D feature is then projected to a $d _ { s } = 3 0 0 \mathrm { - D }$ location embedding for all the regions.
|
| 408 |
+
|
| 409 |
+
Software and hardware configuration. Our code is implemented in PyTorch. All experiments were ran on the 1080Ti, 2080Ti, and Titan Xp GPUs.
|
| 410 |
+
|
| 411 |
+
Network architecture. The embedding dimension for encoding the sentences is 512. We use a dropout layer with ratio 0.5 after the embedding layer. The hidden state size of the Attention and Language LSTM are 1024. The dimension of other learnable matrices are: $W _ { e } \in \mathbb { R } ^ { d _ { v } \times 5 1 2 }$ , $W _ { a } \in \mathbb { R } ^ { \breve { 1 } 0 2 \breve { 4 } \times 5 1 2 }$ , $W _ { a a } \in \mathbb { R } ^ { 5 1 2 \times 1 }$ , $W _ { o } \in \mathbb { R } ^ { 1 0 2 4 \times d _ { v } }$ , $W _ { l } \in \mathbb { R } ^ { 5 1 2 \times 5 1 2 }$ , where the vocabulary size $d _ { v }$ is 8639 for Flickr30k Entities and 4905 for ActivityNet-Entities.
|
| 412 |
+
|
| 413 |
+
# A.5.1 TRAINING DETAILS.
|
| 414 |
+
|
| 415 |
+
The hyper-parameters $\lambda _ { 1 }$ and $\lambda _ { 2 }$ are set to 0.5 after hyper-parameter search between 0 and 1.
|
| 416 |
+
|
| 417 |
+
Flickr30k Entities. Images are randomly cropped to $5 1 2 \times 5 1 2$ during training, and resized to $5 1 2 \times 5 1 2$ during inference. Before entering the proposed cyclical training regimen, the decoder was pre-trained for about 35 epochs. The total training epoch with the cyclical training regimen is around 80 epochs. The total training time takes about 1 day.
|
| 418 |
+
|
| 419 |
+
ActivityNet-Entities. Before entering the proposed cyclical training regimen, the decoder was pretrained for about 50 epochs. The total training epoch with the cyclical training regimen is around 75 epochs. The total training time takes about 1 day.
|
| 420 |
+
|
| 421 |
+

|
| 422 |
+
Figure 9: A group of men in white uniforms are standing in a field with a crowd watching. We can see that our proposed method attends to the sensible image regions for generating visually-groundable words, e.g., man, uniforms, field, and crowd. Interestingly, when generating standing, the model pays its attention on the image region with a foot on the ground.
|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
Figure 10: A young girl wearing a winter hat and a purple coat is smiling at the camera. The proposed method is able to select the corresponding image regions to generate girl, hat, and coat correctly. We have also observed that the model tends to localize the person’s face when generating camera.
|
| 426 |
+
|
| 427 |
+

|
| 428 |
+
Figure 11: A white horse with a rider in a blue helmet and white shirt jumping over a hurdle. While the model is able to correctly locate objects such as horse, rider, helmet, shirt, and hurdle, it mistakenly describes the rider as wearing a blue helmet, while it’s actually black, and with white shirt while it’s blue.
|
| 429 |
+
|
| 430 |
+

|
| 431 |
+
Figure 12: A man in a red shirt is standing on a wooden platform. Our method correctly attends on the correct regions for generating man, shirt, and platform.
|
| 432 |
+
|
| 433 |
+

|
| 434 |
+
Figure 13: A man in a yellow jacket and blue helmet riding a bike. The proposed method correctly generates a descriptive sentence while precisely attending to the image regions for each visuallygroundable words: man, jacket, helmet, and bike.
|
| 435 |
+
|
| 436 |
+

|
| 437 |
+
Figure 14: A man in an orange shirt and a hat is standing next to a blue wall. While our method is able to ground the generated sentence on the objects like: man, shirt, hat, and wall , it completely ignores the person standing next to the man in the orange cloth.
|
| 438 |
+
|
| 439 |
+

|
| 440 |
+
Figure 15: A girl in a white shirt and black pants is jumping on a red couch. Our method is able to ground the generated descriptive sentence with the correct grounding on: girl, shirt, pants, and couch.
|
| 441 |
+
|
| 442 |
+

|
| 443 |
+
Figure 16: A man in a blue robe walks down a cobblestone street. Our method grounds the visuallyrelevant words like: man, robe, and street. We can also see that it is able to locate the foot on ground for walks.
|
parse/train/SylR6n4tPS/SylR6n4tPS_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SylR6n4tPS/SylR6n4tPS_middle.json
ADDED
|
The diff for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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Stochastic Solutions for Linear Inverse Problems using the Prior Implicit in a Denoiser
|
| 2 |
+
|
| 3 |
+
Eero P. Simoncelli
|
| 4 |
+
|
| 5 |
+
Zahra Kadkhodaie Center for Data Science, New York University zk388@nyu.edu
|
| 6 |
+
|
| 7 |
+
Center for Neural Science, and Courant Inst. of Mathematical Sciences, New York University Flatiron Institute, Simons Foundation eero.simoncelli@nyu.edu
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Deep neural networks have provided state-of-the-art solutions for problems such as image denoising, which implicitly rely on a prior probability model of natural images. Two recent lines of work – Denoising Score Matching and Plug-and-Play – propose methodologies for drawing samples from this implicit prior and using it to solve inverse problems, respectively. Here, we develop a parsimonious and robust generalization of these ideas. We rely on a classic statistical result that shows the least-squares solution for removing additive Gaussian noise can be written directly in terms of the gradient of the log of the noisy signal density. We use this to derive a stochastic coarse-to-fine gradient ascent procedure for drawing high-probability samples from the implicit prior embedded within a CNN trained to perform blind denoising. A generalization of this algorithm to constrained sampling provides a method for using the implicit prior to solve any deterministic linear inverse problem, with no additional training, thus extending the power of supervised learning for denoising to a much broader set of problems. The algorithm relies on minimal assumptions and exhibits robust convergence over a wide range of parameter choices. To demonstrate the generality of our method, we use it to obtain state-of-the-art levels of unsupervised performance for deblurring, super-resolution, and compressive sensing.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Many problems in image processing and computer vision rely, explicitly or implicitly, on prior probability models. Describing the full density of natural images is a daunting problem, given the high dimensionality of the signal space. Traditionally, models have been developed by combining assumed symmetry properties (e.g., translation-invariance, dilation-invariance), with simple parametric forms (e.g., Gaussian, exponential, Gaussian mixtures), often within pre-specified transformed coordinate systems (e.g., Fourier transform, multi-scale wavelets). While these models have led to steady advances in problems such as denoising (e.g., [1–7]), they are too simplistic to generate complex features that occur in our visual world, or to solve more demanding statistical inference problems.
|
| 16 |
+
|
| 17 |
+
In recent years, nearly all problems in image processing and computer vision have been revolutionalized by the use of deep Convolutional Neural Networks (CNNs). These networks are generally optimized in supervised fashion to obtain a direct input-output mapping for a specific task. This approach does not explicitly rely on a known prior, and offers performance far superior to prior-based methods. The downside, however, is that the learned mappings are intertwined with the task for which they are optimized, and in most cases require training a separate network for each new application. In contrast, a prior probability model can provide a universal substrate for solving inference problems. The superior performance of CNNs suggests that they embed, implicitly, sophisticated prior knowledge of images. These implicit priors arise from a combination of the distribution of the training data, the architecture of the network [8], regularization terms included in the optimization objective, and the optimization algorithm.
|
| 18 |
+
|
| 19 |
+
Here, our goal is to extract the implicit prior from a network trained for denoising and use it to solve other inverse problems without further training. We choose denoising not because it is of particular importance or interest, but because we can make the relationship between mapping of a denoiser and a prior explicit. We combine the advantages of prior-based and mapping-based approaches, deriving a general algorithm for solving linear inverse problems using the prior implicit in a trained denoiser. We start with a result from classical statistics $[ [ 9 $ that states that a denoiser that aims to minimize squared error of images corrupted by additive Gaussian noise may be interpreted as computing the gradient of the log of the density of noisy images. This result is related to Score Matching [10], but provides a more direct relationship between least-squares optimal denoising and the embedded prior [11, 12]. We develop a stochastic ascent algorithm that uses this denoiser-estimated gradient to draw high-probability samples from the embedded prior. Importantly, we use a blind denoiser that can handle noise contamination of unknown amplitude, which provides a means of adaptively controlling the gradient step sizes and the amplitude of injected noise, enabling robust and efficient convergence. We then modify the algorithm to incorporate constraints arising from any deterministic linear measurement of an image. The resulting procedure generates high-probability samples from the prior conditioned on the measurements, thus providing a general stochastic solution for any deterministic linear inverse problem. We demonstrate that our method produces visually high-quality results in recovering missing pixels, and state-of-the-art levels of unsupervised performance on superresolution, deblurring and compressive sensing.1 Earlier versions of this work were presented in [13].
|
| 20 |
+
|
| 21 |
+
This work is closely related to two lines of research. Nearly a decade ago, a strategy known as Plug-and-Play (P&P) was proposed for using a denoiser as a regularizer in solving other inverse problems $\dot { \lVert 1 4 \rVert }$ , and a number of recent extensions have used this concept to develop MAP solutions for linear inverse problems [15–22, 12]. Generally, the objective is decoupled into data fidelity and regularization terms, introducing a slack variable for use in a proximal optimization algorithm (e.g., ADMM). The proximal operator of the regularization term is interpreted as the MAP solution of a denoising problem, and is replaced by a denoiser. Of particular relevance to our work, recent publications have proven convergence of such algorithms when used in conjunction with MMSE denoisers [23, 24]. A parallel line of research has focused on the use of generative models based on Score Matching [25–30]. The connection between Score Matching $\mathbb { \ m }$ and denoising autoencoders [31] was first shown in [32], by proving that the training criterion of a denoising autoencoder is equivalent to matching the score of the model and a Parzan density estimate of the data. Most recently, this idea has been used as the basis for an MCMC algorithm for sampling from the prior implicit in a CNN denoiser [29]. In Section 4 we elaborate on how these methods are related to our results.
|
| 22 |
+
|
| 23 |
+
# 1.1 Image priors, manifolds, and noisy observations
|
| 24 |
+
|
| 25 |
+
Digital photographic images lie in a high-dimensional space $\mathbb { R } ^ { N }$ , where $N$ is the number of pixels), and simple thought experiments suggest that they are concentrated on or near low-dimensional manifolds whose local coordinates represent continuous deformations and intensity variations. In contrast, images generated with random pixels are almost always feature and content free, and thus not considered to be part of this manifold. We can associate with this manifold a prior probability model, $p ( x )$ , by assuming that images within the manifold have constant or slowly-varying probability, while unnatural or distorted images (which lie off the manifold) have low or zero probability. Suppose we make a noisy observation of an image, $y = x + z$ , where $\boldsymbol { x } \in R ^ { N }$ is the original image drawn from $p ( x )$ , and $z \sim \mathcal { N } ( 0 , \sigma ^ { 2 } I _ { N } )$ is a sample of Gaussian white noise. The observation density $p ( y )$ is related to the prior $p ( x )$ via marginalization:
|
| 26 |
+
|
| 27 |
+
$$
|
| 28 |
+
p ( y ) = \int p ( y | x ) p ( x ) d x = \int g ( y - x ) p ( x ) d x ,
|
| 29 |
+
$$
|
| 30 |
+
|
| 31 |
+
where $g ( z )$ is the Gaussian noise distribution. Equation $\mathbb { \oplus }$ is in the form of a convolution, and thus $p ( y )$ is a Gaussian-blurred version of the signal prior, $p \overline { { ( x ) } }$ . Moreover, the family of observation
|
| 32 |
+
|
| 33 |
+
densities over different noise variances, $p _ { \sigma } ( y )$ , forms a Gaussian scale-space representation of the prior $\pm \pm \pm \pm$ , analogous to the temporal evolution of a diffusion process.
|
| 34 |
+
|
| 35 |
+
# 1.2 Least squares denoising and CNNs
|
| 36 |
+
|
| 37 |
+
Given a noisy observation, $y$ , the minimum mean squared error (MMSE) estimate of the true signal is well known to be the conditional mean of the posterior density:
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
\hat { x } ( y ) = \int x p ( x | y ) d x = \int x \frac { p ( y | x ) p ( x ) } { p ( y ) } d x
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
The structure of the equation mirrors the traditional approach to the problem: one chooses a prior probability model, $p ( x )$ , combines it with a likelihood function describing the noisy measurement process, $p ( y | x )$ , and solves. Modern denoising solutions, on the other hand, are often based on supervised learning of a direct mapping from noisy to denoised images. One expresses the estimation function (as opposed to the prior) in parametric form, and sets the parameters by minimizing the denoising MSE over a large training set of example signals and their noise-corrupted counterparts $\pmb { \mathbb { B 5 } }$ $\textcircled { 3 8 } \textcircled { 1 }$ . Current state-of-the-art denoising results using CNNs obtained with this supervised approach are far superior to results of previous methods [39–41]. Recent analysis of these networks demonstrates that when they are trained to handle a broad range of noise levels, they perform an approximate projection onto a low-dimensional subspace [42]. In our context, we interpret this subspace as a tangent hyperplane of the image manifold.
|
| 44 |
+
|
| 45 |
+
# 1.3 Exposing the implicit prior through Empirical Bayes estimation
|
| 46 |
+
|
| 47 |
+
Trained CNN denoisers contain detailed prior knowledge of image structure, but Eq. $\textcircled{2}$ suggests that it is embedded within a high-dimensional integral. How can we make use of this implicit prior? Recent results have derived relationships between Score Matching density estimates and denoising, and have used these relationships to make use of implicit prior information [43, 44, 29, 45]. Here, we exploit a more direct but less-known result from the literature on Empirical Bayesian estimation. The idea was introduced in $\boxed { \boxplus 6 }$ , extended to the case of Gaussian additive noise in $\pmb { \bigtriangledown }$ (see also $\mathbb { I } 1 2 \mathbb { I } )$ ), and generalized to many other measurement models $\mathbb { m }$ . In the case of additive Gaussian noise, one can rewrite the estimator of Eq. (2) as:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\begin{array} { r } { \hat { x } ( y ) = y + \sigma ^ { 2 } \nabla _ { y } \log p ( y ) . } \end{array}
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
The proof is relatively straightforward. The gradient of the observation density of Eq. $\mathbb { \underline { { \left( 1 \right) } } }$ is:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\nabla _ { y } p ( y ) = \frac { 1 } { \sigma ^ { 2 } } \int ( x - y ) g ( y - x ) p ( x ) d x = \frac { 1 } { \sigma ^ { 2 } } \int ( x - y ) p ( y , x ) d x .
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
Multiplying both sides by $\sigma ^ { 2 } / p ( y )$ and separating the right side into two terms gives:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\sigma ^ { 2 } \frac { \nabla _ { y } p ( y ) } { p ( y ) } = \int x p ( x | y ) d x - \int y p ( x | y ) d x = \hat { x } ( y ) - y .
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
Rearranging terms and using the chain rule to compute the gradient of the log gives Eq. $\textcircled{3}$ . This remarkable result re-expresses the integral over the prior and likelihood of Eq. $( 2 )$ in terms of a gradient. Note that 1) the relevant density is not the prior, $p ( x )$ , but the noisy observation density, $p ( y ) ; 2 )$ the gradient is computed on the log density (the associated “energy function”); and 3) the gradient adjustment is not iterative - the estimate is achieved in a single step, and holds for any noise level, $\sigma$ .
|
| 66 |
+
|
| 67 |
+
# 2 Drawing high-probability samples from the implicit prior
|
| 68 |
+
|
| 69 |
+
Suppose we wish to draw a sample from the prior implicit in a denoiser. Equation $\textcircled{3}$ allows us to generate an image proportional to the gradient of $\log p ( y )$ by computing the denoiser residual, $f ( \bar { y } ) = \hat { x } ( y ) - y$ . Song and Ermon $\mathbb { \left. 2 9 \right. }$ developed a Markov chain Monte Carlo (MCMC) scheme, combining gradient steps derived from Score Matching and injected noise in a Langevin sampling algorithm to draw samples from a sequence of densities $p _ { \sigma } ( y )$ , while reducing $\sigma$ in a sequence of discrete steps, each associated with an appropriately trained denoiser. In contrast, starting from a random initialization, $y _ { 0 }$ , we aim to find a high-probability image (i.e., an image from the manifold) using a more direct and efficient stochastic gradient ascent procedure.
|
| 70 |
+
|
| 71 |
+
# 2.1 Unconstrained sampling algorithm
|
| 72 |
+
|
| 73 |
+
We compute gradients using the residual of a universal blind CNN denoiser, which automatically estimates and adapts to each noise level. On each iteration, the algorithm takes a small step in the direction specified by the denoiser, moving toward the image manifold and thereby reducing the amplitude of the effective noise. Under the interpretation that the denoiser performs a projection onto the current approximation of the image manifold, this noise reduction occurs in the subspace orthogonal to that manifold, and noise components parallel to the manifold are retained. As the effective noise decreases, the observable dimensionality of the image manifold increases $\pm 2 \|$ , enabling the synthesis of detailed image content. Since the family of observation densities, $p _ { \sigma } ( y )$ forms a scale-space representation of $p ( x )$ , the algorithm may be viewed as a form of coarse-to-fine optimization $\pm \infty \vert \sqrt { 4 7 } \vert - \vert 5 0 \vert$ . Assuming the step sizes are adequately controlled, the procedure will converge to a local optimum of the implicit prior - i.e., a point on the manifold. Figure 7 provides a visualization of this process in two dimensions.
|
| 74 |
+
|
| 75 |
+
Each iteration operates by taking a deterministic step in the direction of the gradient (as obtained from the denoising function) and injecting some additional noise:
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
y _ { t } = y _ { t - 1 } + h _ { t } f ( y _ { t - 1 } ) + \gamma _ { t } z _ { t } ,
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where $f ( y ) = { \hat { x } } ( y ) - y$ is the residual of the denoising function, which is proportional to the gradient of $\log p ( y )$ , from Eq. $\textcircled { 3 }$ . The parameter $h _ { t } \in [ 0 , 1 ]$ controls the fraction of the denoising correction that is taken, and $\gamma _ { t }$ controls the amplitude of a sample of white Gaussian noise, $z _ { t } \sim \mathcal { N } ( 0 , I )$ . The purpose of injecting noise is two-fold. First, from an optimization perspective, it allows the method to avoid getting stuck in local maxima. Second, it allows stochastic exploration of the manifold, yielding a more diverse (higher entropy) family of solutions. The effective noise variance of image $y _ { t }$ is:
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\sigma _ { t } ^ { 2 } = ( 1 - h _ { t } ) ^ { 2 } \sigma _ { t - 1 } ^ { 2 } + \gamma _ { t } ^ { 2 } ,
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
where the first term is the variance of the noise remaining after the denoiser correction (assuming the denoiser is perfect), and the second term is the variance arising from the injected noise. The assumption of perfect denoising is an idealization, but we show empirically (Fig. $\mathbf { \bar { \rho } } _ { 1 ) } ^ { 1 ) }$ that the algorithm converges reliably, with error levels falling as predicted by Eq. $( 5 )$ or faster, across different settings of $\beta$ and $h _ { 0 }$ .
|
| 88 |
+
|
| 89 |
+
To ensure convergence, we require the effective noise variance on each time step to be reduced, despite the injection of additional noise. For this purpose, we introduce a parameter $\beta \in [ 0 , 1 ]$ to control the proportion of injected noise ( $\beta = 1$ indicates no noise), and enforce the convergence by requiring that:
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\sigma _ { t } ^ { 2 } = ( 1 - \beta h _ { t } ) ^ { 2 } \sigma _ { t - 1 } ^ { 2 } .
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
Combining this with Eq. $( 5 )$ yields an expression for $\gamma _ { t }$ in terms of $h _ { t }$ :
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\gamma _ { t } ^ { 2 } = \left[ ( 1 - \beta h _ { t } ) ^ { 2 } - ( 1 - h _ { t } ) ^ { 2 } \right] \sigma _ { t - 1 } ^ { 2 } = \left[ ( 1 - \beta h _ { t } ) ^ { 2 } - ( 1 - h _ { t } ) ^ { 2 } \right] \left. f ( y _ { t - 1 } ) \right. ^ { 2 } / N ,
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where the second equation assumes that the magnitude of the denoising residual provides a good estimate of the effective noise standard deviation, as was found in $\pm 2 \|$ . This allows the denoiser to adaptively control the gradient ascent step sizes, reducing them as the $y _ { t }$ approaches the manifold (see Fig. $\dot { \bigtriangledown } \dot { \bigtriangledown } \dot { \bigtriangledown }$ . This automatic adjustment results in efficient and reliable convergence, as demonstrated empirically in Fig. 1. Our initial implementation with a small constant fractional step size $h _ { t } = h _ { 0 }$ produced high quality results, but required many iterations. Intuitively, step sizes that are a fixed proportion of the distance to the manifold lead to exponential decay - a form of Zeno’s paradox. To accelerate convergence, we introduced a schedule for increasing the step size proportion, starting from $h _ { 0 } \in [ 0 , 1 ]$ . The sampling process is summarized in Algorithm $\bigstar \bigstar$ and is provided as a block diagram in Fig. 6.
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 1: Convergence of sampling algorithm, quantified in terms of the effective noise standard deviation $\begin{array} { r } { \sigma = { \frac { | | d _ { t } | | } { \sqrt { N } } } } \end{array}$ for three different values of $\beta$ and two valus of $h _ { 0 }$ . Left. Convergence of single examples (solid curves) is well-behaved and efficient in all cases. Dashed curves indicate the convergence predicted from the formulation of the algorithm: $\sigma _ { t } = ( 1 - \beta h _ { t } ) \sigma _ { t - 1 }$ . For $\beta = 1$ (no injected noise), the empirical convergence closely approximates the prediction. For larger amounts of injected noise (smaller $\beta$ ), convergence is slower, but faster than predicted. Right. Distribution of number of iterations before convergence to a criterion level of $\sigma = 0 . 0 1$ for 50 images. Red symbols indicate average values for each $\beta$ and $h _ { 0 }$ .
|
| 105 |
+
|
| 106 |
+
<table><tr><td>Algorithm 1: Coarse-to-fine stochastic ascent method for sampling from the implicit prior of adenoiser, using denoiser residual f(y)=x(y)- y.</td></tr><tr><td>parameters:σo,σL,ho,β initialization: t =1, draw yo~ N(0.5,σ²I)</td></tr><tr><td>while Ot-1 ≥σL do hot</td></tr><tr><td>ht=1+h(t-1); dt=f(yt-1);</td></tr><tr><td>²=;</td></tr><tr><td>γ²=(1-βht)²-(1-ht)²)²; N</td></tr><tr><td>Draw zt ~ N(0, I); yt←yt-1+htdt+Yt2t;</td></tr></table>
|
| 107 |
+
|
| 108 |
+
# 2.2 Image synthesis examples
|
| 109 |
+
|
| 110 |
+
For the denoiser, we used BF-CNN $\lVert \rVert 2 \rVert$ , a bias-free variant of DnCNN $\mathbb { \lVert 3 9 \rVert }$ . We obtained similar results (not shown) using other CNN architectures described in $\lVert \overline { { 4 2 } } \rVert$ , including Recurrent-CNN, Dense-Net, and truncated U-Net. We trained this network on three different datasets: $4 0 \times 4 0$ patches cropped from Berkeley segmentation training set $\pmb { \Vert 5 \bot }$ , in color and grayscale, and MNIST dataset $\pmb { \mathbb { E 2 } }$ (see Appendix $\mathbf { A }$ for further details). We chose parameters $\sigma _ { 0 } = 1 , \sigma _ { L } = 0 . 0 1$ , and $h _ { 0 } = 0 . 0 1$ . Figure $2$ provides visualization of two example trajectories, and diversity of samples. Additional visual examples, obtained with different levels of $\beta$ , are shown in Appendix D.
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 2: Left. Visualization of sampling algorithm trajectories. Each row shows a sequence of images, $y _ { t } , t = 1 , 9 , 1 7 , 2 5 , . . . ,$ from the iterative sampling procedure, with different initializations, $y _ { 0 }$ , and no added noise $( \beta = 1 )$ ), demonstrating the way that the algorithm amplifies and "hallucinates" structure found in the initial (noise) images. Right. Sampling diversity. Inpainting examples generated using two BF-CNN denoisers. First column: original images. Second column: partially measured images, with missing block . Right three columns: Restored examples.
|
| 114 |
+
|
| 115 |
+
# 3 Solving deterministic linear inverse problems using the implicit prior
|
| 116 |
+
|
| 117 |
+
Many applications in signal processing can be expressed as deterministic linear inverse problems - deblurring, super-resolution, estimating missing pixels (e.g., inpainting), and compressive sensing are all examples. Given a set of linear measurements of an image, $\mathbf { \bar { \Psi } } \mathbf { x } ^ { c } = \mathbf { \Psi } \mathbf { M } ^ { T } \mathbf { \Psi } \mathbf { \bar { x } }$ , where $M$ is a low-rank measurement matrix, one attempts to recover the original image. In Section 2, we developed a stochastic gradient-ascent algorithm for obtaining a high-probability sample from $p ( x )$ . Here, we generalize this algorithm to solve for a high-probability sample from the conditional density $p ( x \vert M ^ { T } x = x ^ { c } )$ . Geometrically, constrained sampling corresponds to drawing points which sit at the intersection of the image manifold and the constrained hyperplane (see Fig. 11). Note that for these problems, the injection of noise $\begin{array} { r } { \beta < 1 \ ' } \end{array}$ ) is particularly important, because points on the intersection are not necessarily the closest points to the initial image.
|
| 118 |
+
|
| 119 |
+
# 3.1 Constrained sampling algorithm
|
| 120 |
+
|
| 121 |
+
Consider the distribution of a noisy image, $y$ , conditioned on the linear measurements, $x ^ { c } = M ^ { T } x$ . Without loss of generality, we assume the columns of the matrix M are orthogonal unit vectors $\bigstar$ We project $y$ onto two complementary subspaces spanned by the measurement matrix and its orthogonal complement $\bar { M }$ . We write the conditional density of the noisy image conditioned on the linear measurement as
|
| 122 |
+
|
| 123 |
+
$$
|
| 124 |
+
p ( y | x ^ { c } ) = p ( y ^ { c } , y ^ { u } | x ^ { c } ) = p ( y ^ { u } | y ^ { c } , x ^ { c } ) p ( y ^ { c } | x ^ { c } ) = p ( y ^ { u } | x ^ { c } ) p ( y ^ { c } | x ^ { c } )
|
| 125 |
+
$$
|
| 126 |
+
|
| 127 |
+
where $\boldsymbol { y } ^ { c } = \boldsymbol { M } ^ { T } \boldsymbol { y }$ , $y ^ { u } = { \bar { M } } ^ { T } y$ . The last equality is obtained by considering that $y ^ { c }$ is equal to $x ^ { c }$ plus independent Gaussian noise. So given $x ^ { c }$ , $y ^ { c }$ does not provide any additional information about $y ^ { u }$ . That is, $y ^ { u }$ is independent of $y ^ { c }$ when conditioned on $x ^ { c }$ . As with the algorithm of Section $2 ,$ we wish to obtain a local maximum of this function using stochastic coarse-to-fine gradient ascent. Applying the operator $\sigma ^ { 2 } \nabla \log ( \cdot )$ yields
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
\sigma ^ { 2 } \nabla _ { y } \log p ( y | x ^ { c } ) = \sigma ^ { 2 } \nabla _ { y } \log p ( y ^ { u } | x ^ { c } ) + \sigma ^ { 2 } \nabla _ { y } \log p ( y ^ { c } | x ^ { c } )
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
The second term is the gradient of the log of the observation noise distribution that lies within the measurement subspace (column space of M). For Gaussian noise with variance $\sigma ^ { 2 }$ , it reduces to $M ( y ^ { c } - x ^ { c } )$ . The first term is the gradient of log of the noisy image distribution in the subspace orthogonal to the measurement subspace, conditioned on the measurements. This can be computed by projecting the measurement subspace out of the full gradient given by the denoiser residual. Specifically, we project $f ( y )$ onto the orthogonal complement of $M$ using the matrix $I - M M ^ { T }$ . Combining these gives:
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\begin{array} { c } { { \sigma ^ { 2 } \nabla _ { y } \log p ( y ) = ( I - M M ^ { T } ) \sigma ^ { 2 } \nabla _ { y } \log p ( y ) + M ( x ^ { c } - y ^ { c } ) } } \\ { { = ( I - M M ^ { T } ) f ( y ) + M ( x ^ { c } - M ^ { T } y ) . } } \end{array}
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
Thus, we see that the gradient of the conditional density is partitioned into two orthogonal components, capturing the gradient of the (log) noisy density, and the deviation from the constraints, respectively.
|
| 140 |
+
|
| 141 |
+

|
| 142 |
+
Figure 3: Spatial super-resolution. First column shows cropped portion of original images from Set14 (face: $2 7 2 \times 2 7 2$ and, Barbara: $7 2 0 \times 5 7 6$ ). The algorithm can be applied to images of any resolution - we show cropped portions to facilitate visual inspection. Second column shows cropped portion with resolution reduced by averaging over $4 \mathbf { x } 4$ blocks (dimensionality reduction to $6 . 2 5 \%$ ). Next three columns show reconstruction results obtained using DIP $\textcircled { 8 }$ , DeepRED $\left[ \left[ 2 0 \right] \right]$ , and our method. In all cases, our method produces an image that is sharper with less noticeable artifacts (e.g., note blocking/aliasing artifacts along diagonal contours of lower image). The last column shows an average over 10 samples obtained by our method.
|
| 143 |
+
|
| 144 |
+
To draw a high-probability sample from $p ( x | x ^ { c } )$ , we use the same algorithm described in Section 2, substituting Eq. $\overset { \cdot } { ( 7 ) }$ for the deterministic update vector, $d _ { t }$ (see Algorithm 2 in Appendix). Note that without any measurements (i.e., $M = 0$ ) Algorithm $2$ reduces to Algorithm 1.
|
| 145 |
+
|
| 146 |
+
# 3.2 Linear inverse examples
|
| 147 |
+
|
| 148 |
+
We evaluate our method on three linear inverse problems (and provide two additional problems in Appendix $\boxed { \mathrm { E } }$ . The same algorithm and parameters are used on all problems - only the measurement matrix $M$ and measured values $M ^ { T } x$ are altered. In particular, as in section $\boxed { 2 . 2 }$ we used BF-CNN $\lVert \rVert 2 \rVert$ , and chose parameters $\sigma _ { 0 } = 1 , \sigma _ { L } = 0 . 0 1 , h _ { 0 } = 0 . 0 1 , \beta = 0 . 0 1$ . For each example, we show original images $( x )$ , the direct least-squares reconstruction $( M M ^ { T } x )$ , and restored images. Subjective assessment of perceptual quality is particularly important in cases where the measurement matrix is of very low rank, and the distribution of solutions is diverse (the synthesis examples of the previous section correspond to the limiting case, with measurements of rank zero). We also provide numerical comparisons with other unsupervised methods, in terms of both PSNR and SSIM (an approximate measure of perceptual quality). Since our method is stochastic, we provide standard deviations of these performance values across 10 realizations.
|
| 149 |
+
|
| 150 |
+
Spatial super-resolution. Here, one aims to reconstruct a high resolution image from a low resolution (i.e. downsampled) image. Downsampling is typically performed after lowpass filtering, and the downsampling factor and filter kernel determine the measurement model, $M$ . Here, we use a $4 \times 4$ constant filter, and $4 \times 4$ downsampling (i.e., measurements are averages over non-overlapping blocks). We compare to two recent unsupervised methods Deep image Prior (DIP) $\pmb { \Vert 8 \Vert }$ and DeepRED [20] DIP chooses a random input vector, and adjusts the weights of a CNN to minimize the mean square error between the output and the corrupted image. Regularization by denoising (RED) is a recent successful method closely related to P&P $\pmb { \mathbb { D } } \bar { \sf S } \bar { \sf I }$ . DeepRED $\left[ \left[ 2 0 \right] \right]$ combines DIP and RED, obtaining better performance than either method alone.
|
| 151 |
+
|
| 152 |
+
Inspection of results on two example images demonstrates that our method produces results that are sharper with less noticeable artifacts (Fig. 3). Despite this, the PSNR and SSIM values are slightly worse than both DIP and DeepRED (Table 1). These can be improved by averaging over realizations (last column of Table 1), producing superior PSNR and SSIM values at the expense of some blurring (last column of Fig. 3). This is expected: the algorithm produces high-probability samples of the prior subject to the measurement constraint, but the least-squares optimal solution is the mean of the posterior distribution. If the samples are drawn from a curved manifold, their average (a convex combination of those points) will lie off the manifold. Finally, note that our method is more than two orders of magnitude faster than either DIP or DeepRED (bottom row, Table 1)
|
| 153 |
+
|
| 154 |
+
Table 1: Spatial super-resolution performance over Set5 (top 2 rows) and Set14 (second 2 rows). Values indicate YCbCr-PSNR (SSIM). Last row shows average Set14 runtime on a DGX GPU.
|
| 155 |
+
|
| 156 |
+
<table><tr><td></td><td>MMTx</td><td>DIP </td><td>DeepRED[ [20]</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>4:1</td><td>26.35 (0.826)</td><td>30.04 (0.902)</td><td>30.22 (0.904)</td><td>29.47±0.09 (0.894±0.001)</td><td>31.20 (0.913)</td></tr><tr><td>8:1</td><td>23.02 (0.673)</td><td>24.98 (0.760)</td><td>24.95 (0.760)</td><td>25.07±0.13 (0.767±0.003)</td><td>25.64 (0.792)</td></tr><tr><td>4:1</td><td>24.65 (0.765)</td><td>26.88 (0.815)</td><td>27.01 (0.817)</td><td>26.56±0.09 (0.808±0.001)</td><td>27.14 (0.826)</td></tr><tr><td>8:1</td><td>22.06 (0.628)</td><td>23.33 (0.685)</td><td>23.34 (0.685)</td><td>23.32±0.11 (0.681±0.002)</td><td>23.78 (0.703)</td></tr><tr><td colspan="2">runtime (sec):</td><td>1,190</td><td>1,584</td><td>9</td><td>10×9</td></tr></table>
|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
Figure 4: Deblurring (spectral super-resolution). Measurements correspond to $5 \%$ of low frequencies. Original images are from Set5 (butterfly of size $2 5 6 \times 2 5 6$ and woman of size $2 2 4 \times 3 3 6$ ).
|
| 160 |
+
|
| 161 |
+
Deblurring (spectral super-resolution). The applications described above (and in Appendix $\boxed { \mathrm { E } }$ are based on partial measurements in the pixel domain. Here, we consider a blurring operator that retains a set of low-frequency coefficient in the Fourier domain, discarding the rest. This is equivalent to convolving the image with a sinc kernel. In this case, $M$ consists of the preserved low-frequency columns of the discrete Fourier transform, and $M M ^ { T } x$ is the blurred version of $x$ . Example images are shown in Fig. $\nsupseteq$ and numerical comparisons are shown in Table $\bigtriangledown$ Our method produces strong results, both perceptually and numerically.
|
| 162 |
+
|
| 163 |
+
Compressive sensing. Compressive sensing $\mathbb { B 6 } \mathbb { B 7 }$ aims to recover signals from a small number of (typically, random) linear measurements. In brief, one acquires measurements with a sensing matrix containing a set of $n < < N$ random orthogonal axes, and solves the inverse problem by assuming a sparse prior. Photographic images are not truly sparse in any fixed linear basis, but they can be reasonably approximated by low-dimensional subsets of Fourier or wavelet basis functions, and compressive sensing results are typically demonstrated using one of these. The manifold prior embedded within our CNN denoiser corresponds to a nonlinear form of sparsity, and our stochastic coarse-to-fine ascent algorithm can be used to recover an image from the measured linear projections onto the random basis. We compare to four other methods. TVAL3 $\mathbb { \left. \boldsymbol { \bar { 5 3 } } \right. }$ is an optimization algorithm using total variation regularization, ISTA-Net $\textcircled { | 5 4 | }$ is a block-based supervised CNN method trained to reconstruct images from measurements obtained from a single pre-specified measurement matrix. BNN $\mathbb { \lVert } \mathbb { 5 } \mathbb { 5 } \mathbb { I }$ is an unsupervised Bayesian method for solving compressive sensing problems. DIP $\pmb { \mathbb { B } } \|$ was previously described. Fig. $\dot { 5 }$ shows results for two example images, and Table $3$ summarizes numerical performance. All values are taken from $\lVert 5 5 \rVert$ except for ISTA-Net which were obtained by running the open-source code. Our method generally outperforms all other methods, even those that are specialized for Compressive Sensing (ISTA-NET, BNN).
|
| 164 |
+
|
| 165 |
+
Table 2: Spectral super-resolution (deblurring) performance over Set5, in YCbCr-PSNR (SSIM).
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Ratio</td><td>MMTx</td><td>DIP 图</td><td>DeepRED 四</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>10%</td><td>30.2 (0.91)</td><td>32.54 (0.93)</td><td>32.63 (0.93)</td><td>31.82±0.08 (0.93±0.001)</td><td>32.78 (0.94)</td></tr><tr><td>5%</td><td>27.77 (0.85)</td><td>29.88 (0.89)</td><td>29.91 (0.89)</td><td>29.22±0.14(0.89±0.002)</td><td>30.07 (0.90)</td></tr></table>
|
| 168 |
+
|
| 169 |
+
Table 3: Compressive sensing performance over Set68 [51]. Values indicate PSNR (SSIM).
|
| 170 |
+
|
| 171 |
+
<table><tr><td>Ratio</td><td>TVAL3 </td><td>ISTA-Net[ 54</td><td>DIP 图</td><td>BNN 55</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>25%</td><td>26.48 (0.77)</td><td>29.07 (0.84)</td><td>27.78 (0.80)</td><td>28.63 (0.84)</td><td>29.16±0.033 (0.88±0.001)</td><td>29.74(0.89)</td></tr><tr><td>10%</td><td>22.49 (0.58)</td><td>25.23 (0.69)</td><td>24.82 (0.69)</td><td>25.24 (0.71)</td><td>25.47±0.03 (0.78±0.001)</td><td>25.84 (0.80)</td></tr><tr><td>4%</td><td>19.10 (0.42)</td><td>22.02 (0.54)</td><td>22.51 (0.58)</td><td>22.52 (0.58)</td><td>22.07±0.05 (0.68±0.002)</td><td>22.29 (0.69)</td></tr></table>
|
| 172 |
+
|
| 173 |
+

|
| 174 |
+
Figure 5: Compressive sensing. Measurement matrix $M$ contains random orthogonal unit vectors, whose number is equal to $1 0 \%$ of the number of image pixels $( 3 0 0 \times 3 0 0 )$ . Third column: images recovered using ISTA-Net (trained with supervision for a particular measurement matrix). Fourth column: Our method, which again is seen to exhibit fewer artifacts.
|
| 175 |
+
|
| 176 |
+
# 4 Related work
|
| 177 |
+
|
| 178 |
+
Our method is conceptually similar to P&P[14] in that it uses a denoiser to solve linear inverse problems. But it differs in a number of important ways: (1) direct relationship between prior and denoiser mapping. The rationale for using a denoiser as a regularizer in P&P frameworks arises from interpreting the proximal operator of the regularizer as a MAP solution of a denoising problem, providing an indirect connection to prior; We derive our method from Miyasawa’s relationship between an MMSE denoiser and the prior, which is exact and explicit, and makes the algorithm interpretable. This connection has also been made in $\pm \pm \pm \pm \pm \pm$ . (2) sampling vs. MAP estimation. We obtain a high probability image from the implicit prior that is consistent with a linear constraint. Our solution is stochastic, and does not minimize MSE, but has high perceptual quality. RED and other P&P methods are derived as MAP solutions, and although this is not equivalent to minimizing MSE (maximizing PSNR), the results generally have better PSNR than our sampling results, but are visually more blurred (see Figs. $3$ and $\textcircled{4}$ ; (3) automatic step-size selection and convergence. P&P, which uses ADMM for optimization, relies on hyper-parameter selection that are critical for convergence (as discussed extensively in $\mathbb { L } \Sigma \mathbb { I } .$ ). Our algorithm adjusts step-size automatically using the blind denoiser, with only two primary hyper-parameters ( $h _ { 0 }$ and $\beta$ ), and convergence is robust to choices of these (Fig. 1).
|
| 179 |
+
|
| 180 |
+
Our method is also closely related to recent work that uses Score Matching $\mathbb { m }$ to draw samples from an implicit prior. This line of work is rooted in the connection between Denoising Autoencoders and Score Matching, first described in $\pmb { \mathbb { B 2 } }$ . Denoising autoencoders learn the gradient of log density, and their connection to an underlying data manifold has been explored in $\boxed { 2 5 } \boxed { 4 3 } \boxed { 3 1 }$ . More recently, Refs. [44, $\textcircled { 2 6 }$ trained a neural network to directly estimate energy (the negative log prior) and interpreted its gradient as the Score of the data. Finally, in a breakthrough paper that partially inspired our approach, Song and Ermon $\pmb { \mathbb { Z } } 9 \|$ trained a sequence of denoisers with decreasing levels of noise and used Langevin dynamics to sample from the underlying probability distributions in succession. Our work differs from these in several important ways: (1) Direct derivation. Our method is based on Miyasawa’s explicit relationship between the denoiser mapping and implicit density $\pmb { \mathbb { Q } } \mathbf { \| }$ , which can be proven with a few lines of math (Section $1 . 3 )$ . The relationship of this result to Score Matching [11, 12], and the relationship between Score Matching and Denoising Autoencoders $\pmb { \Vert 3 2 \Vert }$ are both significantly more nuanced and complex. (2) Automatic stepsize adjustment and efficiency. The algorithm presented in $\mathbb { \left| \left[ 2 9 \right] \right| }$ uses a discrete sequence of denoisers, each trained for a single noise level, and embedding a distribution of noisy images with that specific noise level. Langevin dynamics are used to sample from each of these distributions in succession. Langevin sampling guarantees (asymptotically) convergence to each successive distribution, although these intermediate samples are used only for initialization of the subsequent stage. In addition to the Langevin sampling itself, the method requires choices of the schedule of noise levels (standard deviations, and number of iterations used at each level).
|
| 181 |
+
|
| 182 |
+
In contrast, our formulation relies on a single universal blind denoiser which implicitly embeds an infinite family of distributions of noisy images (corresponding to a continuous range of noise levels). The gradient provided by the denoiser is not used for sampling, but for coarse-to-fine ascent of the noisy distribution, removing a fraction of the noise at each step. The universal denoiser adapts to this updated implicit noisy density, both in terms of gradient direction and magnitude. We use the denoiser magnitude as an estimate of the implicit noise level $\bigtriangledown ,$ and this is used to control the amplitude of injected noise. Note that this differs markedly from the control of noise injection in the Langevin method, which is of constant magnitude in each stage. Under assumptions about the denoiser (which hold empirically), our method converges rapidly to a mode of the prior and is robust to parameter choices $\mathbb { L }$ The continuous maximization of probability results in substantial gains in efficiency. For comparison, Song&Ermon $\pmb { \mathbb { Z } } 9 \|$ report 1000 iteration to synthesize a $3 2 \times 3 2$ image, whereas we synthesize $4 0 \times 4 0$ images in roughly 35 iteration (for $\beta = 1$ ). (3) Image synthesis vs. linear inverse problems. Finally, we’ve focused the use of our method as a universal solver for linear inverse problems, whereas Score Matching methods have generally been focused on unconditional image synthesis.
|
| 183 |
+
|
| 184 |
+
# 5 Discussion
|
| 185 |
+
|
| 186 |
+
We’ve described a framework for using the prior embedded in a denoiser to solve inverse problems. Specifically, we developed a stochastic coarse-to-fine gradient ascent algorithm that uses the denoiser to draw high-probability samples from its implicit prior, and a constrained variant that can be used to solve any deterministic linear inverse problem. To demonstrate the generality of our algorithm, we showed solving five inverse problems using the same algorithm and parameters, without any additional training. The derivation is based on a simple and direct expression relating denoising to priors, and a few basic empirical facts about universal CNN denoisers. Finally, we empirically demonstrated its efficiency in Fig. 1 and Table 1. It is worth noting that the assumed use of Gaussian additive noise and MSE objective in training the denoiser is necessary only to justify the use of Miyasawa’s expression (Eq. 3), but does not impose any such restrictions on use of the trained denoiser for sampling from the implicit prior or solving inverse problems. Denoisers can be trained supervised on unlimited amounts of unlabeled data, and as such, our method extends the power of supervised learning to a much broader set of problems, with no additional training.
|
| 187 |
+
|
| 188 |
+
As discussed following Eq. $\textcircled{5}$ , the control of step sizes and noise injection in our algorithm is chosen by assuming that the denoiser residual exactly cancels the noise. We showed empirically (Fig. 1) that this idealization does not disrupt convergence for BF-CNN, but we cannot guarantee this would hold for all other denoisers. More generally, although the method can be used with any universal least-squares denoiser designed or trained to remove Gaussian noise, the complexity of the embedded prior, and thus the quality of our linear inverse results, relies heavily on the expressive power of the denoiser (BF-CNN in our case), as well as the diversity of the training set. Finally, the current algorithm is designed to solve deterministic linear inverse problems. We are currently exploring extensions to inverse problems based on stochastic or nonlinear measurements.
|
| 189 |
+
|
| 190 |
+
# Acknowledgments and Disclosure of Funding
|
| 191 |
+
|
| 192 |
+
We gratefully acknowledge financial support from the Simons Foundation, the Howard Hughes Medical Institute, and NSF NRT HDR Award 1922658 to the Center for Data Science at NYU. High performance computing resources were provided by the NYU HPC center and the Flatiron Institute of the Simons Foundation.
|
| 193 |
+
|
| 194 |
+
References
|
| 195 |
+
[1] D Donoho. Denoising by soft-thresholding. IEEE Trans Info Theory, 43:613–627, 1995.
|
| 196 |
+
[2] E P Simoncelli and E H Adelson. Noise removal via Bayesian wavelet coring. In Proc 3rd IEEE Int’l. Conf. on Image Processing (ICIP), pages 379–382, 1996.
|
| 197 |
+
[3] P Moulin and J Liu. Analysis of multiresolution image denoising schemes using a generalized Gaussian and complexity priors. IEEE Trans Info Theory, 45:909–919, 1999.
|
| 198 |
+
[4] Hyvärinen. Sparse code shrinkage: Denoising of nonGaussian data by maximum likelihood estimation. Neural Computation, 11(7):1739–1768, 1999.
|
| 199 |
+
[5] J. Romberg, H. Choi, and R. Baraniuk. Bayesian tree-structured image modeling using waveletdomain hidden Markov models. IEEE Trans Image Proc, 10(7), July 2001.
|
| 200 |
+
[6] L ¸Sendur and I W Selesnick. Bivariate shrinkage functions for wavelet-based denoising exploiting interscale dependency. IEEE Trans Signal Proc, 50(11):2744–2756, November 2002.
|
| 201 |
+
[7] J Portilla, V Strela, M J Wainwright, and E P Simoncelli. Image denoising using scale mixtures of Gaussians in the wavelet domain. IEEE Trans Image Proc, 12(11):1338–1351, Nov 2003.
|
| 202 |
+
[8] D Ulyanov, A Vedaldi, and V Lempitsky. Deep image prior. Proc Int’l J Computer Vision, pages 1867–1888, April 2020.
|
| 203 |
+
[9] K Miyasawa. An empirical Bayes estimator of the mean of a normal population. Bull. Inst. Internat. Statist., 38:181–188, 1961.
|
| 204 |
+
[10] Aapo Hyvärinen and Peter Dayan. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6(4), 2005.
|
| 205 |
+
[11] M Raphan and E P Simoncelli. Least squares estimation without priors or supervision. Neural Computation, 23(2):374–420, Feb 2011.
|
| 206 |
+
[12] E. T. Reehorst and P. Schniter. Regularization by denoising: Clarifications and new interpretations. IEEE Transactions on Computational Imaging, 5(1):52–67, 2019.
|
| 207 |
+
[13] Zahra Kadkhodaie and Eero P Simoncelli. Solving linear inverse problems using the prior implicit in a denoiser. arXiv preprint arXiv:2007.13640, July 2020.
|
| 208 |
+
[14] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for model based reconstruction. In 2013 IEEE Global Conference on Signal and Information Processing, pages 945–948. IEEE, 2013.
|
| 209 |
+
[15] Yaniv Romano, Michael Elad, and Peyman Milanfar. The little engine that could: Regularization by denoising (RED). CoRR, abs/1611.02862, 2017.
|
| 210 |
+
[16] Kai Zhang, Wangmeng Zuo, Shuhang Gu, and Lei Zhang. Learning deep cnn denoiser prior for image restoration. In Proc. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), volume 2, 2017.
|
| 211 |
+
[17] Ulugbek S Kamilov, Hassan Mansour, and Brendt Wohlberg. A plug-and-play priors approach for solving nonlinear imaging inverse problems. IEEE Signal Processing Letters, 24(12):1872– 1876, 2017.
|
| 212 |
+
[18] T. Meinhardt, M. Moeller, C. Hazirbas, and D. Cremers. Learning proximal operators: Using denoising networks for regularizing inverse imaging problems. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 1799–1808, 2017.
|
| 213 |
+
[19] S. H. Chan, X. Wang, and O. A. Elgendy. Plug-and-play admm for image restoration: Fixedpoint convergence and applications. IEEE Transactions on Computational Imaging, 3(1):84–98, 2017.
|
| 214 |
+
[20] Gary Mataev, Peyman Milanfar, and Michael Elad. Deepred: Deep image prior powered by red. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pages 0–0, 2019.
|
| 215 |
+
[21] Afonso M Teodoro, José M Bioucas-Dias, and Mário AT Figueiredo. Image restoration and reconstruction using targeted plug-and-play priors. IEEE Transactions on Computational Imaging, 5(4):675–686, 2019.
|
| 216 |
+
[22] Y. Sun, B. Wohlberg, and U. S. Kamilov. An online plug-and-play algorithm for regularized image reconstruction. IEEE Transactions on Computational Imaging, 5(3):395–408, 2019.
|
| 217 |
+
[23] Xiaojian Xu, Yu Sun, Jiaming Liu†, Brendt Wohlberg, and Ulugbek S. Kamilov. Provable convergence of plug-and-play priors with MMSE denoisers. arXiv preprint arXiv:2005.07685v1, May 2020.
|
| 218 |
+
[24] Rèmi Laumont, Valentin De Bortoli, Andrés Almansa, Julie Delon, Alain Durmus, and Marcelo Pereyra. Bayesian imaging using plug & play priors: When Langevin meets Tweedie. arXiv preprint arXiv:2103.04715v4, March 2021.
|
| 219 |
+
[25] Guillaume Alain and Yoshua Bengio. What regularized auto-encoders learn from the datagenerating distribution. The Journal of Machine Learning Research, 15(1):3563–3593, 2014.
|
| 220 |
+
[26] Saeed Saremi, Bernhard Schölkopf, Arash Mehrjou, and Aapo Hyvärinen. Deep energy estimator networks. ArXiv e-prints (arXiv.org), 1805.08306, May 2018.
|
| 221 |
+
[27] Bichuan Guo, Yuxing Han, and Jiangtao Wen. Agem: Solving linear inverse problems via deep priors and sampling. Advances in Neural Information Processing Systems, 32:547–558, 2019.
|
| 222 |
+
[28] Zengyi Li, Yubei Chen, and Friedrich T. Sommer. Learning energy-based models in highdimensional spaces with multi-scale denoising score matching, 2019.
|
| 223 |
+
[29] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems 32, pages 11918–11930. Curran Associates, Inc., 2019.
|
| 224 |
+
[30] Siavash A Bigdeli, Geng Lin, Tiziano Portenier, L Andrea Dunbar, and Matthias Zwicker. Learning generative models using denoising density estimators. arXiv preprint arXiv:2001.02728, 2020.
|
| 225 |
+
[31] Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103, 2008.
|
| 226 |
+
[32] Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23(7):1661–1674, 2011.
|
| 227 |
+
[33] J J Koenderink. The structure of images. Biological Cybernetics, 50:363–370, 1984.
|
| 228 |
+
[34] T Lindeberg. Scale-space theory: A basic tool for analysing structures at different scales. Journal of Applied Statistics, 21(2):224–270, 1994.
|
| 229 |
+
[35] Y. Hel-Or and D. Shaked. A discriminative approach for wavelet shrinkage denoising. IEEE Trans. Image Processing, 17(4), April 2008.
|
| 230 |
+
[36] Michael Elad and Michal Aharon. Image denoising via sparse and redundant representations over learned dictionaries. IEEE Trans. on Image processing, 15(12):3736–3745, 2006.
|
| 231 |
+
[37] Viren Jain and Sebastian Seung. Natural image denoising with convolutional networks. In Advances in neural information processing systems, pages 769–776, 2009.
|
| 232 |
+
[38] Harold C Burger, Christian J Schuler, and Stefan Harmeling. Image denoising: Can plain neural networks compete with BM3D? In Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), pages 2392–2399. IEEE, 2012.
|
| 233 |
+
[39] Kai Zhang, Wangmeng Zuo, Yunjin Chen, Deyu Meng, and Lei Zhang. Beyond a Gaussian denoiser: Residual learning of deep CNN for image denoising. IEEE Trans. Image Processing, 26(7):3142–3155, 2017.
|
| 234 |
+
[40] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), pages 4700–4708, 2017.
|
| 235 |
+
[41] Yunjin Chen and Thomas Pock. Trainable nonlinear reaction diffusion: A flexible framework for fast and effective image restoration. IEEE Trans. Patt. Analysis and Machine Intelligence, 39(6):1256–1272, 2017.
|
| 236 |
+
[42] S Mohan\*, Z Kadkhodaie\*, E P Simoncelli, and C Fernandez-Granda. Robust and interpretable blind image denoising via bias-free convolutional neural networks. In Int’l. Conf. on Learning Representations (ICLR), Addis Ababa, Ethiopia, April 2020.
|
| 237 |
+
[43] Y Bengio, L Yao, G Alain, and P Vincent. Generalized denoising auto-encoders as generative models. In Adv. Neural Information Processing Systems $( N I P S ^ { * } I 3 ,$ ), pages 899–907. MIT Press, 2013.
|
| 238 |
+
[44] Saeed Saremi and Aapo Hyvarinen. Neural empirical Bayes. Journal of Machine Learning Research, 20:1–23, 2019.
|
| 239 |
+
[45] Zengyi Li, Yubei Chen, and Friedrich T Sommer. Annealed denoising score matching: Learning energy-based models in high-dimensional spaces. arXiv preprint arXiv:1910.07762, 2019.
|
| 240 |
+
[46] H Robbins. An empirical Bayes approach to statistics. Proc. Third Berkley Symposium on Mathematcal Statistics, 1:157–163, 1956.
|
| 241 |
+
[47] B D Lucas and T Kanade. An iterative image registration technique with an application to stereo vision. In Proc. 7th Int’l Joint Conf. on Artificial Intelligence, pages 674–679, Vancouver, 1981.
|
| 242 |
+
[48] S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by simulated annealing. Science, 220(4598):671–680, 1983.
|
| 243 |
+
[49] S. Geman and D. Geman. Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images. IEEE Trans Pattern Analysis and Machine Intelligence, 6(6):721–741, 1984.
|
| 244 |
+
[50] A. Blake and A. Zisserman. Visual Reconstruction. MIT Press, 1987.
|
| 245 |
+
[51] D. Martin, C. Fowlkes, D. Tal, and J. Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proc. 8th Int’l Conf. Computer Vision, volume 2, pages 416–423, July 2001.
|
| 246 |
+
[52] Yann LeCun and Corinna Cortes. MNIST handwritten digit database. http://yann.lecun.com/exdb/mnist/, 2010.
|
| 247 |
+
[53] Chengbo Li, Wotao Yin, Hong Jiang, and Yin Zhang. An efficient augmented lagrangian method with applications to total variation minimization. Computational Optimization and Applications, 56(3):507–530, 2013.
|
| 248 |
+
[54] Jian Zhang and Bernard Ghanem. Ista-net: Interpretable optimization-inspired deep network for image compressive sensing. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1828–1837, 2018.
|
| 249 |
+
[55] Tongyao Pang, Yuhui Quan, and Hui Ji. Self-supervised bayesian deep learning for image recovery with applications to compressive sensing. 2020.
|
| 250 |
+
[56] Emmanuel J Candès, Justin K Romberg, and Terence Tao. Stable signal recovery from incomplete and inaccurate measurements. Communications on Pure and Applied Mathematics, 59(8):1207–1223, 2006.
|
| 251 |
+
[57] D. L. Donoho. Compressed sensing. IEEE Trans Info Theory, 52(4):1289–1306, 2006.
|
| 252 |
+
[58] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. ATT Labs [Online]. Available: http://yann.lecun.com/exdb/mnist, 2, 2010.
|
parse/train/x5hh6N9bUUb/x5hh6N9bUUb_content_list.json
ADDED
|
@@ -0,0 +1,1014 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Stochastic Solutions for Linear Inverse Problems using the Prior Implicit in a Denoiser ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
205,
|
| 8 |
+
122,
|
| 9 |
+
794,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Eero P. Simoncelli ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
555,
|
| 19 |
+
227,
|
| 20 |
+
684,
|
| 21 |
+
239
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Zahra Kadkhodaie Center for Data Science, New York University zk388@nyu.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
245,
|
| 30 |
+
226,
|
| 31 |
+
408,
|
| 32 |
+
281
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Center for Neural Science, and Courant Inst. of Mathematical Sciences, New York University Flatiron Institute, Simons Foundation eero.simoncelli@nyu.edu ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
486,
|
| 41 |
+
241,
|
| 42 |
+
751,
|
| 43 |
+
309
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
344,
|
| 54 |
+
535,
|
| 55 |
+
361
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Deep neural networks have provided state-of-the-art solutions for problems such as image denoising, which implicitly rely on a prior probability model of natural images. Two recent lines of work – Denoising Score Matching and Plug-and-Play – propose methodologies for drawing samples from this implicit prior and using it to solve inverse problems, respectively. Here, we develop a parsimonious and robust generalization of these ideas. We rely on a classic statistical result that shows the least-squares solution for removing additive Gaussian noise can be written directly in terms of the gradient of the log of the noisy signal density. We use this to derive a stochastic coarse-to-fine gradient ascent procedure for drawing high-probability samples from the implicit prior embedded within a CNN trained to perform blind denoising. A generalization of this algorithm to constrained sampling provides a method for using the implicit prior to solve any deterministic linear inverse problem, with no additional training, thus extending the power of supervised learning for denoising to a much broader set of problems. The algorithm relies on minimal assumptions and exhibits robust convergence over a wide range of parameter choices. To demonstrate the generality of our method, we use it to obtain state-of-the-art levels of unsupervised performance for deblurring, super-resolution, and compressive sensing. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
377,
|
| 65 |
+
766,
|
| 66 |
+
626
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
654,
|
| 77 |
+
310,
|
| 78 |
+
670
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Many problems in image processing and computer vision rely, explicitly or implicitly, on prior probability models. Describing the full density of natural images is a daunting problem, given the high dimensionality of the signal space. Traditionally, models have been developed by combining assumed symmetry properties (e.g., translation-invariance, dilation-invariance), with simple parametric forms (e.g., Gaussian, exponential, Gaussian mixtures), often within pre-specified transformed coordinate systems (e.g., Fourier transform, multi-scale wavelets). While these models have led to steady advances in problems such as denoising (e.g., [1–7]), they are too simplistic to generate complex features that occur in our visual world, or to solve more demanding statistical inference problems. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
685,
|
| 88 |
+
825,
|
| 89 |
+
796
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In recent years, nearly all problems in image processing and computer vision have been revolutionalized by the use of deep Convolutional Neural Networks (CNNs). These networks are generally optimized in supervised fashion to obtain a direct input-output mapping for a specific task. This approach does not explicitly rely on a known prior, and offers performance far superior to prior-based methods. The downside, however, is that the learned mappings are intertwined with the task for which they are optimized, and in most cases require training a separate network for each new application. In contrast, a prior probability model can provide a universal substrate for solving inference problems. The superior performance of CNNs suggests that they embed, implicitly, sophisticated prior knowledge of images. These implicit priors arise from a combination of the distribution of the training data, the architecture of the network [8], regularization terms included in the optimization objective, and the optimization algorithm. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
803,
|
| 99 |
+
825,
|
| 100 |
+
900
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
92,
|
| 110 |
+
825,
|
| 111 |
+
147
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Here, our goal is to extract the implicit prior from a network trained for denoising and use it to solve other inverse problems without further training. We choose denoising not because it is of particular importance or interest, but because we can make the relationship between mapping of a denoiser and a prior explicit. We combine the advantages of prior-based and mapping-based approaches, deriving a general algorithm for solving linear inverse problems using the prior implicit in a trained denoiser. We start with a result from classical statistics $[ [ 9 $ that states that a denoiser that aims to minimize squared error of images corrupted by additive Gaussian noise may be interpreted as computing the gradient of the log of the density of noisy images. This result is related to Score Matching [10], but provides a more direct relationship between least-squares optimal denoising and the embedded prior [11, 12]. We develop a stochastic ascent algorithm that uses this denoiser-estimated gradient to draw high-probability samples from the embedded prior. Importantly, we use a blind denoiser that can handle noise contamination of unknown amplitude, which provides a means of adaptively controlling the gradient step sizes and the amplitude of injected noise, enabling robust and efficient convergence. We then modify the algorithm to incorporate constraints arising from any deterministic linear measurement of an image. The resulting procedure generates high-probability samples from the prior conditioned on the measurements, thus providing a general stochastic solution for any deterministic linear inverse problem. We demonstrate that our method produces visually high-quality results in recovering missing pixels, and state-of-the-art levels of unsupervised performance on superresolution, deblurring and compressive sensing.1 Earlier versions of this work were presented in [13]. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
173,
|
| 120 |
+
154,
|
| 121 |
+
825,
|
| 122 |
+
429
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "This work is closely related to two lines of research. Nearly a decade ago, a strategy known as Plug-and-Play (P&P) was proposed for using a denoiser as a regularizer in solving other inverse problems $\\dot { \\lVert 1 4 \\rVert }$ , and a number of recent extensions have used this concept to develop MAP solutions for linear inverse problems [15–22, 12]. Generally, the objective is decoupled into data fidelity and regularization terms, introducing a slack variable for use in a proximal optimization algorithm (e.g., ADMM). The proximal operator of the regularization term is interpreted as the MAP solution of a denoising problem, and is replaced by a denoiser. Of particular relevance to our work, recent publications have proven convergence of such algorithms when used in conjunction with MMSE denoisers [23, 24]. A parallel line of research has focused on the use of generative models based on Score Matching [25–30]. The connection between Score Matching $\\mathbb { \\ m }$ and denoising autoencoders [31] was first shown in [32], by proving that the training criterion of a denoising autoencoder is equivalent to matching the score of the model and a Parzan density estimate of the data. Most recently, this idea has been used as the basis for an MCMC algorithm for sampling from the prior implicit in a CNN denoiser [29]. In Section 4 we elaborate on how these methods are related to our results. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
173,
|
| 131 |
+
435,
|
| 132 |
+
825,
|
| 133 |
+
628
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "1.1 Image priors, manifolds, and noisy observations ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
645,
|
| 144 |
+
545,
|
| 145 |
+
660
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Digital photographic images lie in a high-dimensional space $\\mathbb { R } ^ { N }$ , where $N$ is the number of pixels), and simple thought experiments suggest that they are concentrated on or near low-dimensional manifolds whose local coordinates represent continuous deformations and intensity variations. In contrast, images generated with random pixels are almost always feature and content free, and thus not considered to be part of this manifold. We can associate with this manifold a prior probability model, $p ( x )$ , by assuming that images within the manifold have constant or slowly-varying probability, while unnatural or distorted images (which lie off the manifold) have low or zero probability. Suppose we make a noisy observation of an image, $y = x + z$ , where $\\boldsymbol { x } \\in R ^ { N }$ is the original image drawn from $p ( x )$ , and $z \\sim \\mathcal { N } ( 0 , \\sigma ^ { 2 } I _ { N } )$ is a sample of Gaussian white noise. The observation density $p ( y )$ is related to the prior $p ( x )$ via marginalization: ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
173,
|
| 154 |
+
669,
|
| 155 |
+
825,
|
| 156 |
+
809
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "equation",
|
| 162 |
+
"img_path": "images/c577cea2d187f7d29dc88a9bdfcbaeb5176e580d757fe717d900e77f9b2616cb.jpg",
|
| 163 |
+
"text": "$$\np ( y ) = \\int p ( y | x ) p ( x ) d x = \\int g ( y - x ) p ( x ) d x ,\n$$",
|
| 164 |
+
"text_format": "latex",
|
| 165 |
+
"bbox": [
|
| 166 |
+
339,
|
| 167 |
+
811,
|
| 168 |
+
656,
|
| 169 |
+
844
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "text",
|
| 175 |
+
"text": "where $g ( z )$ is the Gaussian noise distribution. Equation $\\mathbb { \\oplus }$ is in the form of a convolution, and thus $p ( y )$ is a Gaussian-blurred version of the signal prior, $p \\overline { { ( x ) } }$ . Moreover, the family of observation ",
|
| 176 |
+
"bbox": [
|
| 177 |
+
176,
|
| 178 |
+
847,
|
| 179 |
+
826,
|
| 180 |
+
876
|
| 181 |
+
],
|
| 182 |
+
"page_idx": 1
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"type": "text",
|
| 186 |
+
"text": "densities over different noise variances, $p _ { \\sigma } ( y )$ , forms a Gaussian scale-space representation of the prior $\\pm \\pm \\pm \\pm$ , analogous to the temporal evolution of a diffusion process. ",
|
| 187 |
+
"bbox": [
|
| 188 |
+
171,
|
| 189 |
+
90,
|
| 190 |
+
823,
|
| 191 |
+
119
|
| 192 |
+
],
|
| 193 |
+
"page_idx": 2
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"type": "text",
|
| 197 |
+
"text": "1.2 Least squares denoising and CNNs ",
|
| 198 |
+
"text_level": 1,
|
| 199 |
+
"bbox": [
|
| 200 |
+
176,
|
| 201 |
+
135,
|
| 202 |
+
455,
|
| 203 |
+
150
|
| 204 |
+
],
|
| 205 |
+
"page_idx": 2
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"type": "text",
|
| 209 |
+
"text": "Given a noisy observation, $y$ , the minimum mean squared error (MMSE) estimate of the true signal is well known to be the conditional mean of the posterior density: ",
|
| 210 |
+
"bbox": [
|
| 211 |
+
174,
|
| 212 |
+
160,
|
| 213 |
+
823,
|
| 214 |
+
189
|
| 215 |
+
],
|
| 216 |
+
"page_idx": 2
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"type": "equation",
|
| 220 |
+
"img_path": "images/b9c48926d93c756db47ad0762a195a18a92a6f88a901475cb846cc30c948a19f.jpg",
|
| 221 |
+
"text": "$$\n\\hat { x } ( y ) = \\int x p ( x | y ) d x = \\int x \\frac { p ( y | x ) p ( x ) } { p ( y ) } d x\n$$",
|
| 222 |
+
"text_format": "latex",
|
| 223 |
+
"bbox": [
|
| 224 |
+
352,
|
| 225 |
+
193,
|
| 226 |
+
645,
|
| 227 |
+
227
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "The structure of the equation mirrors the traditional approach to the problem: one chooses a prior probability model, $p ( x )$ , combines it with a likelihood function describing the noisy measurement process, $p ( y | x )$ , and solves. Modern denoising solutions, on the other hand, are often based on supervised learning of a direct mapping from noisy to denoised images. One expresses the estimation function (as opposed to the prior) in parametric form, and sets the parameters by minimizing the denoising MSE over a large training set of example signals and their noise-corrupted counterparts $\\pmb { \\mathbb { B 5 } }$ $\\textcircled { 3 8 } \\textcircled { 1 }$ . Current state-of-the-art denoising results using CNNs obtained with this supervised approach are far superior to results of previous methods [39–41]. Recent analysis of these networks demonstrates that when they are trained to handle a broad range of noise levels, they perform an approximate projection onto a low-dimensional subspace [42]. In our context, we interpret this subspace as a tangent hyperplane of the image manifold. ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
173,
|
| 236 |
+
229,
|
| 237 |
+
826,
|
| 238 |
+
381
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "1.3 Exposing the implicit prior through Empirical Bayes estimation ",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
396,
|
| 249 |
+
655,
|
| 250 |
+
412
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Trained CNN denoisers contain detailed prior knowledge of image structure, but Eq. $\\textcircled{2}$ suggests that it is embedded within a high-dimensional integral. How can we make use of this implicit prior? Recent results have derived relationships between Score Matching density estimates and denoising, and have used these relationships to make use of implicit prior information [43, 44, 29, 45]. Here, we exploit a more direct but less-known result from the literature on Empirical Bayesian estimation. The idea was introduced in $\\boxed { \\boxplus 6 }$ , extended to the case of Gaussian additive noise in $\\pmb { \\bigtriangledown }$ (see also $\\mathbb { I } 1 2 \\mathbb { I } )$ ), and generalized to many other measurement models $\\mathbb { m }$ . In the case of additive Gaussian noise, one can rewrite the estimator of Eq. (2) as: ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
421,
|
| 260 |
+
826,
|
| 261 |
+
534
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "equation",
|
| 267 |
+
"img_path": "images/c4ee88f5adf1dd313f201ad4c2769e9db475f81c03c61f78a154a479f8092cae.jpg",
|
| 268 |
+
"text": "$$\n\\begin{array} { r } { \\hat { x } ( y ) = y + \\sigma ^ { 2 } \\nabla _ { y } \\log p ( y ) . } \\end{array}\n$$",
|
| 269 |
+
"text_format": "latex",
|
| 270 |
+
"bbox": [
|
| 271 |
+
408,
|
| 272 |
+
536,
|
| 273 |
+
589,
|
| 274 |
+
554
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "The proof is relatively straightforward. The gradient of the observation density of Eq. $\\mathbb { \\underline { { \\left( 1 \\right) } } }$ is: ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
169,
|
| 283 |
+
558,
|
| 284 |
+
776,
|
| 285 |
+
573
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "equation",
|
| 291 |
+
"img_path": "images/fb61d5912de545c9324642586b688fc0dd153a1e2a7f5357cef2b12301066c6a.jpg",
|
| 292 |
+
"text": "$$\n\\nabla _ { y } p ( y ) = \\frac { 1 } { \\sigma ^ { 2 } } \\int ( x - y ) g ( y - x ) p ( x ) d x = \\frac { 1 } { \\sigma ^ { 2 } } \\int ( x - y ) p ( y , x ) d x .\n$$",
|
| 293 |
+
"text_format": "latex",
|
| 294 |
+
"bbox": [
|
| 295 |
+
271,
|
| 296 |
+
575,
|
| 297 |
+
725,
|
| 298 |
+
608
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "Multiplying both sides by $\\sigma ^ { 2 } / p ( y )$ and separating the right side into two terms gives: ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
173,
|
| 307 |
+
612,
|
| 308 |
+
732,
|
| 309 |
+
627
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "equation",
|
| 315 |
+
"img_path": "images/01e387c25f7a2d5d3907fbf25785bd4c8ebe394a8260e86950393cca3e3c81dd.jpg",
|
| 316 |
+
"text": "$$\n\\sigma ^ { 2 } \\frac { \\nabla _ { y } p ( y ) } { p ( y ) } = \\int x p ( x | y ) d x - \\int y p ( x | y ) d x = \\hat { x } ( y ) - y .\n$$",
|
| 317 |
+
"text_format": "latex",
|
| 318 |
+
"bbox": [
|
| 319 |
+
308,
|
| 320 |
+
631,
|
| 321 |
+
691,
|
| 322 |
+
665
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "Rearranging terms and using the chain rule to compute the gradient of the log gives Eq. $\\textcircled{3}$ . This remarkable result re-expresses the integral over the prior and likelihood of Eq. $( 2 )$ in terms of a gradient. Note that 1) the relevant density is not the prior, $p ( x )$ , but the noisy observation density, $p ( y ) ; 2 )$ the gradient is computed on the log density (the associated “energy function”); and 3) the gradient adjustment is not iterative - the estimate is achieved in a single step, and holds for any noise level, $\\sigma$ . ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
173,
|
| 331 |
+
667,
|
| 332 |
+
826,
|
| 333 |
+
751
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "2 Drawing high-probability samples from the implicit prior ",
|
| 340 |
+
"text_level": 1,
|
| 341 |
+
"bbox": [
|
| 342 |
+
173,
|
| 343 |
+
768,
|
| 344 |
+
686,
|
| 345 |
+
787
|
| 346 |
+
],
|
| 347 |
+
"page_idx": 2
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"type": "text",
|
| 351 |
+
"text": "Suppose we wish to draw a sample from the prior implicit in a denoiser. Equation $\\textcircled{3}$ allows us to generate an image proportional to the gradient of $\\log p ( y )$ by computing the denoiser residual, $f ( \\bar { y } ) = \\hat { x } ( y ) - y$ . Song and Ermon $\\mathbb { \\left. 2 9 \\right. }$ developed a Markov chain Monte Carlo (MCMC) scheme, combining gradient steps derived from Score Matching and injected noise in a Langevin sampling algorithm to draw samples from a sequence of densities $p _ { \\sigma } ( y )$ , while reducing $\\sigma$ in a sequence of discrete steps, each associated with an appropriately trained denoiser. In contrast, starting from a random initialization, $y _ { 0 }$ , we aim to find a high-probability image (i.e., an image from the manifold) using a more direct and efficient stochastic gradient ascent procedure. ",
|
| 352 |
+
"bbox": [
|
| 353 |
+
173,
|
| 354 |
+
799,
|
| 355 |
+
826,
|
| 356 |
+
911
|
| 357 |
+
],
|
| 358 |
+
"page_idx": 2
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"type": "text",
|
| 362 |
+
"text": "2.1 Unconstrained sampling algorithm ",
|
| 363 |
+
"text_level": 1,
|
| 364 |
+
"bbox": [
|
| 365 |
+
174,
|
| 366 |
+
90,
|
| 367 |
+
455,
|
| 368 |
+
106
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 3
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "We compute gradients using the residual of a universal blind CNN denoiser, which automatically estimates and adapts to each noise level. On each iteration, the algorithm takes a small step in the direction specified by the denoiser, moving toward the image manifold and thereby reducing the amplitude of the effective noise. Under the interpretation that the denoiser performs a projection onto the current approximation of the image manifold, this noise reduction occurs in the subspace orthogonal to that manifold, and noise components parallel to the manifold are retained. As the effective noise decreases, the observable dimensionality of the image manifold increases $\\pm 2 \\|$ , enabling the synthesis of detailed image content. Since the family of observation densities, $p _ { \\sigma } ( y )$ forms a scale-space representation of $p ( x )$ , the algorithm may be viewed as a form of coarse-to-fine optimization $\\pm \\infty \\vert \\sqrt { 4 7 } \\vert - \\vert 5 0 \\vert$ . Assuming the step sizes are adequately controlled, the procedure will converge to a local optimum of the implicit prior - i.e., a point on the manifold. Figure 7 provides a visualization of this process in two dimensions. ",
|
| 375 |
+
"bbox": [
|
| 376 |
+
173,
|
| 377 |
+
121,
|
| 378 |
+
826,
|
| 379 |
+
289
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "Each iteration operates by taking a deterministic step in the direction of the gradient (as obtained from the denoising function) and injecting some additional noise: ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
294,
|
| 389 |
+
823,
|
| 390 |
+
324
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "equation",
|
| 396 |
+
"img_path": "images/6e068ef7bc0415b7ed083bb67ad8b706ccc906a908932639c847e29c856dae7f.jpg",
|
| 397 |
+
"text": "$$\ny _ { t } = y _ { t - 1 } + h _ { t } f ( y _ { t - 1 } ) + \\gamma _ { t } z _ { t } ,\n$$",
|
| 398 |
+
"text_format": "latex",
|
| 399 |
+
"bbox": [
|
| 400 |
+
393,
|
| 401 |
+
343,
|
| 402 |
+
602,
|
| 403 |
+
361
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 3
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "where $f ( y ) = { \\hat { x } } ( y ) - y$ is the residual of the denoising function, which is proportional to the gradient of $\\log p ( y )$ , from Eq. $\\textcircled { 3 }$ . The parameter $h _ { t } \\in [ 0 , 1 ]$ controls the fraction of the denoising correction that is taken, and $\\gamma _ { t }$ controls the amplitude of a sample of white Gaussian noise, $z _ { t } \\sim \\mathcal { N } ( 0 , I )$ . The purpose of injecting noise is two-fold. First, from an optimization perspective, it allows the method to avoid getting stuck in local maxima. Second, it allows stochastic exploration of the manifold, yielding a more diverse (higher entropy) family of solutions. The effective noise variance of image $y _ { t }$ is: ",
|
| 410 |
+
"bbox": [
|
| 411 |
+
173,
|
| 412 |
+
380,
|
| 413 |
+
825,
|
| 414 |
+
478
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "equation",
|
| 420 |
+
"img_path": "images/5973f6f7855ee880bc7a3ee14f24f56af469614426ef72ff2b83d6ef221d5541.jpg",
|
| 421 |
+
"text": "$$\n\\sigma _ { t } ^ { 2 } = ( 1 - h _ { t } ) ^ { 2 } \\sigma _ { t - 1 } ^ { 2 } + \\gamma _ { t } ^ { 2 } ,\n$$",
|
| 422 |
+
"text_format": "latex",
|
| 423 |
+
"bbox": [
|
| 424 |
+
408,
|
| 425 |
+
494,
|
| 426 |
+
588,
|
| 427 |
+
515
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 3
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "where the first term is the variance of the noise remaining after the denoiser correction (assuming the denoiser is perfect), and the second term is the variance arising from the injected noise. The assumption of perfect denoising is an idealization, but we show empirically (Fig. $\\mathbf { \\bar { \\rho } } _ { 1 ) } ^ { 1 ) }$ that the algorithm converges reliably, with error levels falling as predicted by Eq. $( 5 )$ or faster, across different settings of $\\beta$ and $h _ { 0 }$ . ",
|
| 434 |
+
"bbox": [
|
| 435 |
+
173,
|
| 436 |
+
535,
|
| 437 |
+
825,
|
| 438 |
+
606
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "To ensure convergence, we require the effective noise variance on each time step to be reduced, despite the injection of additional noise. For this purpose, we introduce a parameter $\\beta \\in [ 0 , 1 ]$ to control the proportion of injected noise ( $\\beta = 1$ indicates no noise), and enforce the convergence by requiring that: ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
611,
|
| 448 |
+
825,
|
| 449 |
+
667
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "equation",
|
| 455 |
+
"img_path": "images/7e32b8610d1fff2d4b280e458c97292b9884bfacb5ef1b3c9d785076bcbb11d3.jpg",
|
| 456 |
+
"text": "$$\n\\sigma _ { t } ^ { 2 } = ( 1 - \\beta h _ { t } ) ^ { 2 } \\sigma _ { t - 1 } ^ { 2 } .\n$$",
|
| 457 |
+
"text_format": "latex",
|
| 458 |
+
"bbox": [
|
| 459 |
+
423,
|
| 460 |
+
684,
|
| 461 |
+
575,
|
| 462 |
+
704
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 3
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "Combining this with Eq. $( 5 )$ yields an expression for $\\gamma _ { t }$ in terms of $h _ { t }$ : ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
173,
|
| 471 |
+
726,
|
| 472 |
+
635,
|
| 473 |
+
742
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 3
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "equation",
|
| 479 |
+
"img_path": "images/7e30824f0f99e2e90cd774ae762516f6c768ac9a02dab68a1b98a030efb3323e.jpg",
|
| 480 |
+
"text": "$$\n\\gamma _ { t } ^ { 2 } = \\left[ ( 1 - \\beta h _ { t } ) ^ { 2 } - ( 1 - h _ { t } ) ^ { 2 } \\right] \\sigma _ { t - 1 } ^ { 2 } = \\left[ ( 1 - \\beta h _ { t } ) ^ { 2 } - ( 1 - h _ { t } ) ^ { 2 } \\right] \\left. f ( y _ { t - 1 } ) \\right. ^ { 2 } / N ,\n$$",
|
| 481 |
+
"text_format": "latex",
|
| 482 |
+
"bbox": [
|
| 483 |
+
209,
|
| 484 |
+
761,
|
| 485 |
+
754,
|
| 486 |
+
781
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 3
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "where the second equation assumes that the magnitude of the denoising residual provides a good estimate of the effective noise standard deviation, as was found in $\\pm 2 \\|$ . This allows the denoiser to adaptively control the gradient ascent step sizes, reducing them as the $y _ { t }$ approaches the manifold (see Fig. $\\dot { \\bigtriangledown } \\dot { \\bigtriangledown } \\dot { \\bigtriangledown }$ . This automatic adjustment results in efficient and reliable convergence, as demonstrated empirically in Fig. 1. Our initial implementation with a small constant fractional step size $h _ { t } = h _ { 0 }$ produced high quality results, but required many iterations. Intuitively, step sizes that are a fixed proportion of the distance to the manifold lead to exponential decay - a form of Zeno’s paradox. To accelerate convergence, we introduced a schedule for increasing the step size proportion, starting from $h _ { 0 } \\in [ 0 , 1 ]$ . The sampling process is summarized in Algorithm $\\bigstar \\bigstar$ and is provided as a block diagram in Fig. 6. ",
|
| 493 |
+
"bbox": [
|
| 494 |
+
173,
|
| 495 |
+
799,
|
| 496 |
+
825,
|
| 497 |
+
912
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 3
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "image",
|
| 503 |
+
"img_path": "images/11572b019770ba01444407a637b37fc09068d37759e4287c64753e8f8a63e465.jpg",
|
| 504 |
+
"image_caption": [
|
| 505 |
+
"Figure 1: Convergence of sampling algorithm, quantified in terms of the effective noise standard deviation $\\begin{array} { r } { \\sigma = { \\frac { | | d _ { t } | | } { \\sqrt { N } } } } \\end{array}$ for three different values of $\\beta$ and two valus of $h _ { 0 }$ . Left. Convergence of single examples (solid curves) is well-behaved and efficient in all cases. Dashed curves indicate the convergence predicted from the formulation of the algorithm: $\\sigma _ { t } = ( 1 - \\beta h _ { t } ) \\sigma _ { t - 1 }$ . For $\\beta = 1$ (no injected noise), the empirical convergence closely approximates the prediction. For larger amounts of injected noise (smaller $\\beta$ ), convergence is slower, but faster than predicted. Right. Distribution of number of iterations before convergence to a criterion level of $\\sigma = 0 . 0 1$ for 50 images. Red symbols indicate average values for each $\\beta$ and $h _ { 0 }$ . "
|
| 506 |
+
],
|
| 507 |
+
"image_footnote": [],
|
| 508 |
+
"bbox": [
|
| 509 |
+
243,
|
| 510 |
+
88,
|
| 511 |
+
758,
|
| 512 |
+
372
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 4
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "",
|
| 519 |
+
"bbox": [
|
| 520 |
+
171,
|
| 521 |
+
529,
|
| 522 |
+
825,
|
| 523 |
+
560
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 4
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "table",
|
| 529 |
+
"img_path": "images/06b7fd2d35ec78cd26073a6b38cd15004b406ebdba7ba193ea28447365a598c2.jpg",
|
| 530 |
+
"table_caption": [],
|
| 531 |
+
"table_footnote": [],
|
| 532 |
+
"table_body": "<table><tr><td>Algorithm 1: Coarse-to-fine stochastic ascent method for sampling from the implicit prior of adenoiser, using denoiser residual f(y)=x(y)- y.</td></tr><tr><td>parameters:σo,σL,ho,β initialization: t =1, draw yo~ N(0.5,σ²I)</td></tr><tr><td>while Ot-1 ≥σL do hot</td></tr><tr><td>ht=1+h(t-1); dt=f(yt-1);</td></tr><tr><td>²=;</td></tr><tr><td>γ²=(1-βht)²-(1-ht)²)²; N</td></tr><tr><td>Draw zt ~ N(0, I); yt←yt-1+htdt+Yt2t;</td></tr></table>",
|
| 533 |
+
"bbox": [
|
| 534 |
+
171,
|
| 535 |
+
569,
|
| 536 |
+
823,
|
| 537 |
+
758
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 4
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "2.2 Image synthesis examples ",
|
| 544 |
+
"text_level": 1,
|
| 545 |
+
"bbox": [
|
| 546 |
+
174,
|
| 547 |
+
785,
|
| 548 |
+
392,
|
| 549 |
+
800
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 4
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "For the denoiser, we used BF-CNN $\\lVert \\rVert 2 \\rVert$ , a bias-free variant of DnCNN $\\mathbb { \\lVert 3 9 \\rVert }$ . We obtained similar results (not shown) using other CNN architectures described in $\\lVert \\overline { { 4 2 } } \\rVert$ , including Recurrent-CNN, Dense-Net, and truncated U-Net. We trained this network on three different datasets: $4 0 \\times 4 0$ patches cropped from Berkeley segmentation training set $\\pmb { \\Vert 5 \\bot }$ , in color and grayscale, and MNIST dataset $\\pmb { \\mathbb { E 2 } }$ (see Appendix $\\mathbf { A }$ for further details). We chose parameters $\\sigma _ { 0 } = 1 , \\sigma _ { L } = 0 . 0 1$ , and $h _ { 0 } = 0 . 0 1$ . Figure $2$ provides visualization of two example trajectories, and diversity of samples. Additional visual examples, obtained with different levels of $\\beta$ , are shown in Appendix D. ",
|
| 556 |
+
"bbox": [
|
| 557 |
+
173,
|
| 558 |
+
813,
|
| 559 |
+
826,
|
| 560 |
+
912
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 4
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "image",
|
| 566 |
+
"img_path": "images/043a82f4daa5d07e966ff34402bc57e887839726f96a71a7659a71050786fcdb.jpg",
|
| 567 |
+
"image_caption": [
|
| 568 |
+
"Figure 2: Left. Visualization of sampling algorithm trajectories. Each row shows a sequence of images, $y _ { t } , t = 1 , 9 , 1 7 , 2 5 , . . . ,$ from the iterative sampling procedure, with different initializations, $y _ { 0 }$ , and no added noise $( \\beta = 1 )$ ), demonstrating the way that the algorithm amplifies and \"hallucinates\" structure found in the initial (noise) images. Right. Sampling diversity. Inpainting examples generated using two BF-CNN denoisers. First column: original images. Second column: partially measured images, with missing block . Right three columns: Restored examples. "
|
| 569 |
+
],
|
| 570 |
+
"image_footnote": [],
|
| 571 |
+
"bbox": [
|
| 572 |
+
178,
|
| 573 |
+
90,
|
| 574 |
+
812,
|
| 575 |
+
176
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "3 Solving deterministic linear inverse problems using the implicit prior ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
173,
|
| 585 |
+
291,
|
| 586 |
+
779,
|
| 587 |
+
309
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 5
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "Many applications in signal processing can be expressed as deterministic linear inverse problems - deblurring, super-resolution, estimating missing pixels (e.g., inpainting), and compressive sensing are all examples. Given a set of linear measurements of an image, $\\mathbf { \\bar { \\Psi } } \\mathbf { x } ^ { c } = \\mathbf { \\Psi } \\mathbf { M } ^ { T } \\mathbf { \\Psi } \\mathbf { \\bar { x } }$ , where $M$ is a low-rank measurement matrix, one attempts to recover the original image. In Section 2, we developed a stochastic gradient-ascent algorithm for obtaining a high-probability sample from $p ( x )$ . Here, we generalize this algorithm to solve for a high-probability sample from the conditional density $p ( x \\vert M ^ { T } x = x ^ { c } )$ . Geometrically, constrained sampling corresponds to drawing points which sit at the intersection of the image manifold and the constrained hyperplane (see Fig. 11). Note that for these problems, the injection of noise $\\begin{array} { r } { \\beta < 1 \\ ' } \\end{array}$ ) is particularly important, because points on the intersection are not necessarily the closest points to the initial image. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
173,
|
| 596 |
+
321,
|
| 597 |
+
826,
|
| 598 |
+
462
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "3.1 Constrained sampling algorithm ",
|
| 605 |
+
"text_level": 1,
|
| 606 |
+
"bbox": [
|
| 607 |
+
174,
|
| 608 |
+
477,
|
| 609 |
+
441,
|
| 610 |
+
492
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Consider the distribution of a noisy image, $y$ , conditioned on the linear measurements, $x ^ { c } = M ^ { T } x$ . Without loss of generality, we assume the columns of the matrix M are orthogonal unit vectors $\\bigstar$ We project $y$ onto two complementary subspaces spanned by the measurement matrix and its orthogonal complement $\\bar { M }$ . We write the conditional density of the noisy image conditioned on the linear measurement as ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
173,
|
| 619 |
+
501,
|
| 620 |
+
826,
|
| 621 |
+
571
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 5
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "equation",
|
| 627 |
+
"img_path": "images/b610bccabe5b679739de211628d79e1a0b49e5bdca0d3c89ee31ac9620409116.jpg",
|
| 628 |
+
"text": "$$\np ( y | x ^ { c } ) = p ( y ^ { c } , y ^ { u } | x ^ { c } ) = p ( y ^ { u } | y ^ { c } , x ^ { c } ) p ( y ^ { c } | x ^ { c } ) = p ( y ^ { u } | x ^ { c } ) p ( y ^ { c } | x ^ { c } )\n$$",
|
| 629 |
+
"text_format": "latex",
|
| 630 |
+
"bbox": [
|
| 631 |
+
272,
|
| 632 |
+
577,
|
| 633 |
+
723,
|
| 634 |
+
594
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "where $\\boldsymbol { y } ^ { c } = \\boldsymbol { M } ^ { T } \\boldsymbol { y }$ , $y ^ { u } = { \\bar { M } } ^ { T } y$ . The last equality is obtained by considering that $y ^ { c }$ is equal to $x ^ { c }$ plus independent Gaussian noise. So given $x ^ { c }$ , $y ^ { c }$ does not provide any additional information about $y ^ { u }$ . That is, $y ^ { u }$ is independent of $y ^ { c }$ when conditioned on $x ^ { c }$ . As with the algorithm of Section $2 ,$ we wish to obtain a local maximum of this function using stochastic coarse-to-fine gradient ascent. Applying the operator $\\sigma ^ { 2 } \\nabla \\log ( \\cdot )$ yields ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
173,
|
| 643 |
+
597,
|
| 644 |
+
826,
|
| 645 |
+
667
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "equation",
|
| 651 |
+
"img_path": "images/6cc30a0f363346023f09da7863154ab70627b4badad63d8153bcd816077226a9.jpg",
|
| 652 |
+
"text": "$$\n\\sigma ^ { 2 } \\nabla _ { y } \\log p ( y | x ^ { c } ) = \\sigma ^ { 2 } \\nabla _ { y } \\log p ( y ^ { u } | x ^ { c } ) + \\sigma ^ { 2 } \\nabla _ { y } \\log p ( y ^ { c } | x ^ { c } )\n$$",
|
| 653 |
+
"text_format": "latex",
|
| 654 |
+
"bbox": [
|
| 655 |
+
299,
|
| 656 |
+
672,
|
| 657 |
+
697,
|
| 658 |
+
691
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "The second term is the gradient of the log of the observation noise distribution that lies within the measurement subspace (column space of M). For Gaussian noise with variance $\\sigma ^ { 2 }$ , it reduces to $M ( y ^ { c } - x ^ { c } )$ . The first term is the gradient of log of the noisy image distribution in the subspace orthogonal to the measurement subspace, conditioned on the measurements. This can be computed by projecting the measurement subspace out of the full gradient given by the denoiser residual. Specifically, we project $f ( y )$ onto the orthogonal complement of $M$ using the matrix $I - M M ^ { T }$ . Combining these gives: ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
173,
|
| 667 |
+
695,
|
| 668 |
+
826,
|
| 669 |
+
792
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "equation",
|
| 675 |
+
"img_path": "images/c10a34bff4feb66ac333aef398be9df73d97a73b399363da069a1f2686dc0eb2.jpg",
|
| 676 |
+
"text": "$$\n\\begin{array} { c } { { \\sigma ^ { 2 } \\nabla _ { y } \\log p ( y ) = ( I - M M ^ { T } ) \\sigma ^ { 2 } \\nabla _ { y } \\log p ( y ) + M ( x ^ { c } - y ^ { c } ) } } \\\\ { { = ( I - M M ^ { T } ) f ( y ) + M ( x ^ { c } - M ^ { T } y ) . } } \\end{array}\n$$",
|
| 677 |
+
"text_format": "latex",
|
| 678 |
+
"bbox": [
|
| 679 |
+
299,
|
| 680 |
+
795,
|
| 681 |
+
697,
|
| 682 |
+
839
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "Thus, we see that the gradient of the conditional density is partitioned into two orthogonal components, capturing the gradient of the (log) noisy density, and the deviation from the constraints, respectively. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
176,
|
| 691 |
+
847,
|
| 692 |
+
825,
|
| 693 |
+
876
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "image",
|
| 699 |
+
"img_path": "images/2ec59d9377115c8f5c81bf6ad9110de40d068d19b01cb339b1cca01358abce04.jpg",
|
| 700 |
+
"image_caption": [
|
| 701 |
+
"Figure 3: Spatial super-resolution. First column shows cropped portion of original images from Set14 (face: $2 7 2 \\times 2 7 2$ and, Barbara: $7 2 0 \\times 5 7 6$ ). The algorithm can be applied to images of any resolution - we show cropped portions to facilitate visual inspection. Second column shows cropped portion with resolution reduced by averaging over $4 \\mathbf { x } 4$ blocks (dimensionality reduction to $6 . 2 5 \\%$ ). Next three columns show reconstruction results obtained using DIP $\\textcircled { 8 }$ , DeepRED $\\left[ \\left[ 2 0 \\right] \\right]$ , and our method. In all cases, our method produces an image that is sharper with less noticeable artifacts (e.g., note blocking/aliasing artifacts along diagonal contours of lower image). The last column shows an average over 10 samples obtained by our method. "
|
| 702 |
+
],
|
| 703 |
+
"image_footnote": [],
|
| 704 |
+
"bbox": [
|
| 705 |
+
192,
|
| 706 |
+
90,
|
| 707 |
+
805,
|
| 708 |
+
258
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 6
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "To draw a high-probability sample from $p ( x | x ^ { c } )$ , we use the same algorithm described in Section 2, substituting Eq. $\\overset { \\cdot } { ( 7 ) }$ for the deterministic update vector, $d _ { t }$ (see Algorithm 2 in Appendix). Note that without any measurements (i.e., $M = 0$ ) Algorithm $2$ reduces to Algorithm 1. ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
407,
|
| 718 |
+
825,
|
| 719 |
+
450
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 6
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "3.2 Linear inverse examples ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
174,
|
| 729 |
+
470,
|
| 730 |
+
382,
|
| 731 |
+
484
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 6
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "We evaluate our method on three linear inverse problems (and provide two additional problems in Appendix $\\boxed { \\mathrm { E } }$ . The same algorithm and parameters are used on all problems - only the measurement matrix $M$ and measured values $M ^ { T } x$ are altered. In particular, as in section $\\boxed { 2 . 2 }$ we used BF-CNN $\\lVert \\rVert 2 \\rVert$ , and chose parameters $\\sigma _ { 0 } = 1 , \\sigma _ { L } = 0 . 0 1 , h _ { 0 } = 0 . 0 1 , \\beta = 0 . 0 1$ . For each example, we show original images $( x )$ , the direct least-squares reconstruction $( M M ^ { T } x )$ , and restored images. Subjective assessment of perceptual quality is particularly important in cases where the measurement matrix is of very low rank, and the distribution of solutions is diverse (the synthesis examples of the previous section correspond to the limiting case, with measurements of rank zero). We also provide numerical comparisons with other unsupervised methods, in terms of both PSNR and SSIM (an approximate measure of perceptual quality). Since our method is stochastic, we provide standard deviations of these performance values across 10 realizations. ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
497,
|
| 741 |
+
825,
|
| 742 |
+
650
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 6
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "Spatial super-resolution. Here, one aims to reconstruct a high resolution image from a low resolution (i.e. downsampled) image. Downsampling is typically performed after lowpass filtering, and the downsampling factor and filter kernel determine the measurement model, $M$ . Here, we use a $4 \\times 4$ constant filter, and $4 \\times 4$ downsampling (i.e., measurements are averages over non-overlapping blocks). We compare to two recent unsupervised methods Deep image Prior (DIP) $\\pmb { \\Vert 8 \\Vert }$ and DeepRED [20] DIP chooses a random input vector, and adjusts the weights of a CNN to minimize the mean square error between the output and the corrupted image. Regularization by denoising (RED) is a recent successful method closely related to P&P $\\pmb { \\mathbb { D } } \\bar { \\sf S } \\bar { \\sf I }$ . DeepRED $\\left[ \\left[ 2 0 \\right] \\right]$ combines DIP and RED, obtaining better performance than either method alone. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
656,
|
| 752 |
+
825,
|
| 753 |
+
780
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 6
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Inspection of results on two example images demonstrates that our method produces results that are sharper with less noticeable artifacts (Fig. 3). Despite this, the PSNR and SSIM values are slightly worse than both DIP and DeepRED (Table 1). These can be improved by averaging over realizations (last column of Table 1), producing superior PSNR and SSIM values at the expense of some blurring (last column of Fig. 3). This is expected: the algorithm produces high-probability samples of the prior subject to the measurement constraint, but the least-squares optimal solution is the mean of the posterior distribution. If the samples are drawn from a curved manifold, their average (a convex combination of those points) will lie off the manifold. Finally, note that our method is more than two orders of magnitude faster than either DIP or DeepRED (bottom row, Table 1) ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
786,
|
| 763 |
+
825,
|
| 764 |
+
911
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"img_path": "images/85ea7a7d6c1b80a2cbdea5416e3a135bfe1a6b4b8f28971b887e42f13f4198d9.jpg",
|
| 771 |
+
"table_caption": [
|
| 772 |
+
"Table 1: Spatial super-resolution performance over Set5 (top 2 rows) and Set14 (second 2 rows). Values indicate YCbCr-PSNR (SSIM). Last row shows average Set14 runtime on a DGX GPU. "
|
| 773 |
+
],
|
| 774 |
+
"table_footnote": [],
|
| 775 |
+
"table_body": "<table><tr><td></td><td>MMTx</td><td>DIP </td><td>DeepRED[ [20]</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>4:1</td><td>26.35 (0.826)</td><td>30.04 (0.902)</td><td>30.22 (0.904)</td><td>29.47±0.09 (0.894±0.001)</td><td>31.20 (0.913)</td></tr><tr><td>8:1</td><td>23.02 (0.673)</td><td>24.98 (0.760)</td><td>24.95 (0.760)</td><td>25.07±0.13 (0.767±0.003)</td><td>25.64 (0.792)</td></tr><tr><td>4:1</td><td>24.65 (0.765)</td><td>26.88 (0.815)</td><td>27.01 (0.817)</td><td>26.56±0.09 (0.808±0.001)</td><td>27.14 (0.826)</td></tr><tr><td>8:1</td><td>22.06 (0.628)</td><td>23.33 (0.685)</td><td>23.34 (0.685)</td><td>23.32±0.11 (0.681±0.002)</td><td>23.78 (0.703)</td></tr><tr><td colspan=\"2\">runtime (sec):</td><td>1,190</td><td>1,584</td><td>9</td><td>10×9</td></tr></table>",
|
| 776 |
+
"bbox": [
|
| 777 |
+
181,
|
| 778 |
+
126,
|
| 779 |
+
812,
|
| 780 |
+
232
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 7
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "image",
|
| 786 |
+
"img_path": "images/43d9657aff1589508287aa0f3a9445d6f1d0793a97bb2a37db727c14f428c2fb.jpg",
|
| 787 |
+
"image_caption": [
|
| 788 |
+
"Figure 4: Deblurring (spectral super-resolution). Measurements correspond to $5 \\%$ of low frequencies. Original images are from Set5 (butterfly of size $2 5 6 \\times 2 5 6$ and woman of size $2 2 4 \\times 3 3 6$ ). "
|
| 789 |
+
],
|
| 790 |
+
"image_footnote": [],
|
| 791 |
+
"bbox": [
|
| 792 |
+
207,
|
| 793 |
+
246,
|
| 794 |
+
790,
|
| 795 |
+
417
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 7
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "Deblurring (spectral super-resolution). The applications described above (and in Appendix $\\boxed { \\mathrm { E } }$ are based on partial measurements in the pixel domain. Here, we consider a blurring operator that retains a set of low-frequency coefficient in the Fourier domain, discarding the rest. This is equivalent to convolving the image with a sinc kernel. In this case, $M$ consists of the preserved low-frequency columns of the discrete Fourier transform, and $M M ^ { T } x$ is the blurred version of $x$ . Example images are shown in Fig. $\\nsupseteq$ and numerical comparisons are shown in Table $\\bigtriangledown$ Our method produces strong results, both perceptually and numerically. ",
|
| 802 |
+
"bbox": [
|
| 803 |
+
173,
|
| 804 |
+
482,
|
| 805 |
+
825,
|
| 806 |
+
579
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "Compressive sensing. Compressive sensing $\\mathbb { B 6 } \\mathbb { B 7 }$ aims to recover signals from a small number of (typically, random) linear measurements. In brief, one acquires measurements with a sensing matrix containing a set of $n < < N$ random orthogonal axes, and solves the inverse problem by assuming a sparse prior. Photographic images are not truly sparse in any fixed linear basis, but they can be reasonably approximated by low-dimensional subsets of Fourier or wavelet basis functions, and compressive sensing results are typically demonstrated using one of these. The manifold prior embedded within our CNN denoiser corresponds to a nonlinear form of sparsity, and our stochastic coarse-to-fine ascent algorithm can be used to recover an image from the measured linear projections onto the random basis. We compare to four other methods. TVAL3 $\\mathbb { \\left. \\boldsymbol { \\bar { 5 3 } } \\right. }$ is an optimization algorithm using total variation regularization, ISTA-Net $\\textcircled { | 5 4 | }$ is a block-based supervised CNN method trained to reconstruct images from measurements obtained from a single pre-specified measurement matrix. BNN $\\mathbb { \\lVert } \\mathbb { 5 } \\mathbb { 5 } \\mathbb { I }$ is an unsupervised Bayesian method for solving compressive sensing problems. DIP $\\pmb { \\mathbb { B } } \\|$ was previously described. Fig. $\\dot { 5 }$ shows results for two example images, and Table $3$ summarizes numerical performance. All values are taken from $\\lVert 5 5 \\rVert$ except for ISTA-Net which were obtained by running the open-source code. Our method generally outperforms all other methods, even those that are specialized for Compressive Sensing (ISTA-NET, BNN). ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
173,
|
| 815 |
+
585,
|
| 816 |
+
826,
|
| 817 |
+
806
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 7
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "table",
|
| 823 |
+
"img_path": "images/f328d21f6146c01244b6b0911b10e58983baff5a60e97fbc8fa959acbb54fbc9.jpg",
|
| 824 |
+
"table_caption": [
|
| 825 |
+
"Table 2: Spectral super-resolution (deblurring) performance over Set5, in YCbCr-PSNR (SSIM). "
|
| 826 |
+
],
|
| 827 |
+
"table_footnote": [],
|
| 828 |
+
"table_body": "<table><tr><td>Ratio</td><td>MMTx</td><td>DIP 图</td><td>DeepRED 四</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>10%</td><td>30.2 (0.91)</td><td>32.54 (0.93)</td><td>32.63 (0.93)</td><td>31.82±0.08 (0.93±0.001)</td><td>32.78 (0.94)</td></tr><tr><td>5%</td><td>27.77 (0.85)</td><td>29.88 (0.89)</td><td>29.91 (0.89)</td><td>29.22±0.14(0.89±0.002)</td><td>30.07 (0.90)</td></tr></table>",
|
| 829 |
+
"bbox": [
|
| 830 |
+
189,
|
| 831 |
+
854,
|
| 832 |
+
807,
|
| 833 |
+
909
|
| 834 |
+
],
|
| 835 |
+
"page_idx": 7
|
| 836 |
+
},
|
| 837 |
+
{
|
| 838 |
+
"type": "table",
|
| 839 |
+
"img_path": "images/db2173fafffd7ca5a3da5fc32ee722f6e96463d2d2f8fc0a46a92754194b9c47.jpg",
|
| 840 |
+
"table_caption": [
|
| 841 |
+
"Table 3: Compressive sensing performance over Set68 [51]. Values indicate PSNR (SSIM). "
|
| 842 |
+
],
|
| 843 |
+
"table_footnote": [],
|
| 844 |
+
"table_body": "<table><tr><td>Ratio</td><td>TVAL3 </td><td>ISTA-Net[ 54</td><td>DIP 图</td><td>BNN 55</td><td>Ours±std</td><td>Ours:avg</td></tr><tr><td>25%</td><td>26.48 (0.77)</td><td>29.07 (0.84)</td><td>27.78 (0.80)</td><td>28.63 (0.84)</td><td>29.16±0.033 (0.88±0.001)</td><td>29.74(0.89)</td></tr><tr><td>10%</td><td>22.49 (0.58)</td><td>25.23 (0.69)</td><td>24.82 (0.69)</td><td>25.24 (0.71)</td><td>25.47±0.03 (0.78±0.001)</td><td>25.84 (0.80)</td></tr><tr><td>4%</td><td>19.10 (0.42)</td><td>22.02 (0.54)</td><td>22.51 (0.58)</td><td>22.52 (0.58)</td><td>22.07±0.05 (0.68±0.002)</td><td>22.29 (0.69)</td></tr></table>",
|
| 845 |
+
"bbox": [
|
| 846 |
+
176,
|
| 847 |
+
113,
|
| 848 |
+
823,
|
| 849 |
+
178
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 8
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "image",
|
| 855 |
+
"img_path": "images/3129f1ba9229c172ff0f854859868b7251f861df15e24d94382ee83e181527b9.jpg",
|
| 856 |
+
"image_caption": [
|
| 857 |
+
"Figure 5: Compressive sensing. Measurement matrix $M$ contains random orthogonal unit vectors, whose number is equal to $1 0 \\%$ of the number of image pixels $( 3 0 0 \\times 3 0 0 )$ . Third column: images recovered using ISTA-Net (trained with supervision for a particular measurement matrix). Fourth column: Our method, which again is seen to exhibit fewer artifacts. "
|
| 858 |
+
],
|
| 859 |
+
"image_footnote": [],
|
| 860 |
+
"bbox": [
|
| 861 |
+
251,
|
| 862 |
+
199,
|
| 863 |
+
766,
|
| 864 |
+
417
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 8
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "4 Related work ",
|
| 871 |
+
"text_level": 1,
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
511,
|
| 875 |
+
316,
|
| 876 |
+
527
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 8
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "Our method is conceptually similar to P&P[14] in that it uses a denoiser to solve linear inverse problems. But it differs in a number of important ways: (1) direct relationship between prior and denoiser mapping. The rationale for using a denoiser as a regularizer in P&P frameworks arises from interpreting the proximal operator of the regularizer as a MAP solution of a denoising problem, providing an indirect connection to prior; We derive our method from Miyasawa’s relationship between an MMSE denoiser and the prior, which is exact and explicit, and makes the algorithm interpretable. This connection has also been made in $\\pm \\pm \\pm \\pm \\pm \\pm$ . (2) sampling vs. MAP estimation. We obtain a high probability image from the implicit prior that is consistent with a linear constraint. Our solution is stochastic, and does not minimize MSE, but has high perceptual quality. RED and other P&P methods are derived as MAP solutions, and although this is not equivalent to minimizing MSE (maximizing PSNR), the results generally have better PSNR than our sampling results, but are visually more blurred (see Figs. $3$ and $\\textcircled{4}$ ; (3) automatic step-size selection and convergence. P&P, which uses ADMM for optimization, relies on hyper-parameter selection that are critical for convergence (as discussed extensively in $\\mathbb { L } \\Sigma \\mathbb { I } .$ ). Our algorithm adjusts step-size automatically using the blind denoiser, with only two primary hyper-parameters ( $h _ { 0 }$ and $\\beta$ ), and convergence is robust to choices of these (Fig. 1). ",
|
| 883 |
+
"bbox": [
|
| 884 |
+
174,
|
| 885 |
+
545,
|
| 886 |
+
825,
|
| 887 |
+
768
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 8
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "Our method is also closely related to recent work that uses Score Matching $\\mathbb { m }$ to draw samples from an implicit prior. This line of work is rooted in the connection between Denoising Autoencoders and Score Matching, first described in $\\pmb { \\mathbb { B 2 } }$ . Denoising autoencoders learn the gradient of log density, and their connection to an underlying data manifold has been explored in $\\boxed { 2 5 } \\boxed { 4 3 } \\boxed { 3 1 }$ . More recently, Refs. [44, $\\textcircled { 2 6 }$ trained a neural network to directly estimate energy (the negative log prior) and interpreted its gradient as the Score of the data. Finally, in a breakthrough paper that partially inspired our approach, Song and Ermon $\\pmb { \\mathbb { Z } } 9 \\|$ trained a sequence of denoisers with decreasing levels of noise and used Langevin dynamics to sample from the underlying probability distributions in succession. Our work differs from these in several important ways: (1) Direct derivation. Our method is based on Miyasawa’s explicit relationship between the denoiser mapping and implicit density $\\pmb { \\mathbb { Q } } \\mathbf { \\| }$ , which can be proven with a few lines of math (Section $1 . 3 )$ . The relationship of this result to Score Matching [11, 12], and the relationship between Score Matching and Denoising Autoencoders $\\pmb { \\Vert 3 2 \\Vert }$ are both significantly more nuanced and complex. (2) Automatic stepsize adjustment and efficiency. The algorithm presented in $\\mathbb { \\left| \\left[ 2 9 \\right] \\right| }$ uses a discrete sequence of denoisers, each trained for a single noise level, and embedding a distribution of noisy images with that specific noise level. Langevin dynamics are used to sample from each of these distributions in succession. Langevin sampling guarantees (asymptotically) convergence to each successive distribution, although these intermediate samples are used only for initialization of the subsequent stage. In addition to the Langevin sampling itself, the method requires choices of the schedule of noise levels (standard deviations, and number of iterations used at each level). ",
|
| 894 |
+
"bbox": [
|
| 895 |
+
174,
|
| 896 |
+
772,
|
| 897 |
+
825,
|
| 898 |
+
911
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 8
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "text",
|
| 904 |
+
"text": "",
|
| 905 |
+
"bbox": [
|
| 906 |
+
174,
|
| 907 |
+
90,
|
| 908 |
+
825,
|
| 909 |
+
229
|
| 910 |
+
],
|
| 911 |
+
"page_idx": 9
|
| 912 |
+
},
|
| 913 |
+
{
|
| 914 |
+
"type": "text",
|
| 915 |
+
"text": "In contrast, our formulation relies on a single universal blind denoiser which implicitly embeds an infinite family of distributions of noisy images (corresponding to a continuous range of noise levels). The gradient provided by the denoiser is not used for sampling, but for coarse-to-fine ascent of the noisy distribution, removing a fraction of the noise at each step. The universal denoiser adapts to this updated implicit noisy density, both in terms of gradient direction and magnitude. We use the denoiser magnitude as an estimate of the implicit noise level $\\bigtriangledown ,$ and this is used to control the amplitude of injected noise. Note that this differs markedly from the control of noise injection in the Langevin method, which is of constant magnitude in each stage. Under assumptions about the denoiser (which hold empirically), our method converges rapidly to a mode of the prior and is robust to parameter choices $\\mathbb { L }$ The continuous maximization of probability results in substantial gains in efficiency. For comparison, Song&Ermon $\\pmb { \\mathbb { Z } } 9 \\|$ report 1000 iteration to synthesize a $3 2 \\times 3 2$ image, whereas we synthesize $4 0 \\times 4 0$ images in roughly 35 iteration (for $\\beta = 1$ ). (3) Image synthesis vs. linear inverse problems. Finally, we’ve focused the use of our method as a universal solver for linear inverse problems, whereas Score Matching methods have generally been focused on unconditional image synthesis. ",
|
| 916 |
+
"bbox": [
|
| 917 |
+
173,
|
| 918 |
+
236,
|
| 919 |
+
825,
|
| 920 |
+
443
|
| 921 |
+
],
|
| 922 |
+
"page_idx": 9
|
| 923 |
+
},
|
| 924 |
+
{
|
| 925 |
+
"type": "text",
|
| 926 |
+
"text": "5 Discussion ",
|
| 927 |
+
"text_level": 1,
|
| 928 |
+
"bbox": [
|
| 929 |
+
174,
|
| 930 |
+
462,
|
| 931 |
+
292,
|
| 932 |
+
479
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 9
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "We’ve described a framework for using the prior embedded in a denoiser to solve inverse problems. Specifically, we developed a stochastic coarse-to-fine gradient ascent algorithm that uses the denoiser to draw high-probability samples from its implicit prior, and a constrained variant that can be used to solve any deterministic linear inverse problem. To demonstrate the generality of our algorithm, we showed solving five inverse problems using the same algorithm and parameters, without any additional training. The derivation is based on a simple and direct expression relating denoising to priors, and a few basic empirical facts about universal CNN denoisers. Finally, we empirically demonstrated its efficiency in Fig. 1 and Table 1. It is worth noting that the assumed use of Gaussian additive noise and MSE objective in training the denoiser is necessary only to justify the use of Miyasawa’s expression (Eq. 3), but does not impose any such restrictions on use of the trained denoiser for sampling from the implicit prior or solving inverse problems. Denoisers can be trained supervised on unlimited amounts of unlabeled data, and as such, our method extends the power of supervised learning to a much broader set of problems, with no additional training. ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
174,
|
| 941 |
+
494,
|
| 942 |
+
825,
|
| 943 |
+
674
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 9
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "As discussed following Eq. $\\textcircled{5}$ , the control of step sizes and noise injection in our algorithm is chosen by assuming that the denoiser residual exactly cancels the noise. We showed empirically (Fig. 1) that this idealization does not disrupt convergence for BF-CNN, but we cannot guarantee this would hold for all other denoisers. More generally, although the method can be used with any universal least-squares denoiser designed or trained to remove Gaussian noise, the complexity of the embedded prior, and thus the quality of our linear inverse results, relies heavily on the expressive power of the denoiser (BF-CNN in our case), as well as the diversity of the training set. Finally, the current algorithm is designed to solve deterministic linear inverse problems. We are currently exploring extensions to inverse problems based on stochastic or nonlinear measurements. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
679,
|
| 953 |
+
825,
|
| 954 |
+
804
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 9
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 961 |
+
"text_level": 1,
|
| 962 |
+
"bbox": [
|
| 963 |
+
176,
|
| 964 |
+
824,
|
| 965 |
+
553,
|
| 966 |
+
842
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 9
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "We gratefully acknowledge financial support from the Simons Foundation, the Howard Hughes Medical Institute, and NSF NRT HDR Award 1922658 to the Center for Data Science at NYU. High performance computing resources were provided by the NYU HPC center and the Flatiron Institute of the Simons Foundation. ",
|
| 973 |
+
"bbox": [
|
| 974 |
+
176,
|
| 975 |
+
856,
|
| 976 |
+
825,
|
| 977 |
+
911
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 9
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "References \n[1] D Donoho. Denoising by soft-thresholding. IEEE Trans Info Theory, 43:613–627, 1995. \n[2] E P Simoncelli and E H Adelson. Noise removal via Bayesian wavelet coring. In Proc 3rd IEEE Int’l. Conf. on Image Processing (ICIP), pages 379–382, 1996. \n[3] P Moulin and J Liu. Analysis of multiresolution image denoising schemes using a generalized Gaussian and complexity priors. IEEE Trans Info Theory, 45:909–919, 1999. \n[4] Hyvärinen. Sparse code shrinkage: Denoising of nonGaussian data by maximum likelihood estimation. Neural Computation, 11(7):1739–1768, 1999. \n[5] J. Romberg, H. Choi, and R. Baraniuk. Bayesian tree-structured image modeling using waveletdomain hidden Markov models. IEEE Trans Image Proc, 10(7), July 2001. \n[6] L ¸Sendur and I W Selesnick. Bivariate shrinkage functions for wavelet-based denoising exploiting interscale dependency. IEEE Trans Signal Proc, 50(11):2744–2756, November 2002. \n[7] J Portilla, V Strela, M J Wainwright, and E P Simoncelli. Image denoising using scale mixtures of Gaussians in the wavelet domain. IEEE Trans Image Proc, 12(11):1338–1351, Nov 2003. \n[8] D Ulyanov, A Vedaldi, and V Lempitsky. Deep image prior. Proc Int’l J Computer Vision, pages 1867–1888, April 2020. \n[9] K Miyasawa. An empirical Bayes estimator of the mean of a normal population. Bull. Inst. Internat. Statist., 38:181–188, 1961. \n[10] Aapo Hyvärinen and Peter Dayan. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6(4), 2005. \n[11] M Raphan and E P Simoncelli. Least squares estimation without priors or supervision. Neural Computation, 23(2):374–420, Feb 2011. \n[12] E. T. Reehorst and P. Schniter. Regularization by denoising: Clarifications and new interpretations. IEEE Transactions on Computational Imaging, 5(1):52–67, 2019. \n[13] Zahra Kadkhodaie and Eero P Simoncelli. Solving linear inverse problems using the prior implicit in a denoiser. arXiv preprint arXiv:2007.13640, July 2020. \n[14] Singanallur V Venkatakrishnan, Charles A Bouman, and Brendt Wohlberg. Plug-and-play priors for model based reconstruction. In 2013 IEEE Global Conference on Signal and Information Processing, pages 945–948. IEEE, 2013. \n[15] Yaniv Romano, Michael Elad, and Peyman Milanfar. The little engine that could: Regularization by denoising (RED). CoRR, abs/1611.02862, 2017. \n[16] Kai Zhang, Wangmeng Zuo, Shuhang Gu, and Lei Zhang. Learning deep cnn denoiser prior for image restoration. In Proc. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), volume 2, 2017. \n[17] Ulugbek S Kamilov, Hassan Mansour, and Brendt Wohlberg. A plug-and-play priors approach for solving nonlinear imaging inverse problems. IEEE Signal Processing Letters, 24(12):1872– 1876, 2017. \n[18] T. Meinhardt, M. Moeller, C. Hazirbas, and D. Cremers. Learning proximal operators: Using denoising networks for regularizing inverse imaging problems. In 2017 IEEE International Conference on Computer Vision (ICCV), pages 1799–1808, 2017. \n[19] S. H. Chan, X. Wang, and O. A. Elgendy. Plug-and-play admm for image restoration: Fixedpoint convergence and applications. IEEE Transactions on Computational Imaging, 3(1):84–98, 2017. \n[20] Gary Mataev, Peyman Milanfar, and Michael Elad. Deepred: Deep image prior powered by red. In Proceedings of the IEEE International Conference on Computer Vision Workshops, pages 0–0, 2019. \n[21] Afonso M Teodoro, José M Bioucas-Dias, and Mário AT Figueiredo. Image restoration and reconstruction using targeted plug-and-play priors. IEEE Transactions on Computational Imaging, 5(4):675–686, 2019. \n[22] Y. Sun, B. Wohlberg, and U. S. Kamilov. An online plug-and-play algorithm for regularized image reconstruction. IEEE Transactions on Computational Imaging, 5(3):395–408, 2019. \n[23] Xiaojian Xu, Yu Sun, Jiaming Liu†, Brendt Wohlberg, and Ulugbek S. Kamilov. Provable convergence of plug-and-play priors with MMSE denoisers. arXiv preprint arXiv:2005.07685v1, May 2020. \n[24] Rèmi Laumont, Valentin De Bortoli, Andrés Almansa, Julie Delon, Alain Durmus, and Marcelo Pereyra. Bayesian imaging using plug & play priors: When Langevin meets Tweedie. arXiv preprint arXiv:2103.04715v4, March 2021. \n[25] Guillaume Alain and Yoshua Bengio. What regularized auto-encoders learn from the datagenerating distribution. The Journal of Machine Learning Research, 15(1):3563–3593, 2014. \n[26] Saeed Saremi, Bernhard Schölkopf, Arash Mehrjou, and Aapo Hyvärinen. Deep energy estimator networks. ArXiv e-prints (arXiv.org), 1805.08306, May 2018. \n[27] Bichuan Guo, Yuxing Han, and Jiangtao Wen. Agem: Solving linear inverse problems via deep priors and sampling. Advances in Neural Information Processing Systems, 32:547–558, 2019. \n[28] Zengyi Li, Yubei Chen, and Friedrich T. Sommer. Learning energy-based models in highdimensional spaces with multi-scale denoising score matching, 2019. \n[29] Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. In Advances in Neural Information Processing Systems 32, pages 11918–11930. Curran Associates, Inc., 2019. \n[30] Siavash A Bigdeli, Geng Lin, Tiziano Portenier, L Andrea Dunbar, and Matthias Zwicker. Learning generative models using denoising density estimators. arXiv preprint arXiv:2001.02728, 2020. \n[31] Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103, 2008. \n[32] Pascal Vincent. A connection between score matching and denoising autoencoders. Neural Computation, 23(7):1661–1674, 2011. \n[33] J J Koenderink. The structure of images. Biological Cybernetics, 50:363–370, 1984. \n[34] T Lindeberg. Scale-space theory: A basic tool for analysing structures at different scales. Journal of Applied Statistics, 21(2):224–270, 1994. \n[35] Y. Hel-Or and D. Shaked. A discriminative approach for wavelet shrinkage denoising. IEEE Trans. Image Processing, 17(4), April 2008. \n[36] Michael Elad and Michal Aharon. Image denoising via sparse and redundant representations over learned dictionaries. IEEE Trans. on Image processing, 15(12):3736–3745, 2006. \n[37] Viren Jain and Sebastian Seung. Natural image denoising with convolutional networks. In Advances in neural information processing systems, pages 769–776, 2009. \n[38] Harold C Burger, Christian J Schuler, and Stefan Harmeling. Image denoising: Can plain neural networks compete with BM3D? In Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), pages 2392–2399. IEEE, 2012. \n[39] Kai Zhang, Wangmeng Zuo, Yunjin Chen, Deyu Meng, and Lei Zhang. Beyond a Gaussian denoiser: Residual learning of deep CNN for image denoising. IEEE Trans. Image Processing, 26(7):3142–3155, 2017. \n[40] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), pages 4700–4708, 2017. \n[41] Yunjin Chen and Thomas Pock. Trainable nonlinear reaction diffusion: A flexible framework for fast and effective image restoration. IEEE Trans. Patt. Analysis and Machine Intelligence, 39(6):1256–1272, 2017. \n[42] S Mohan\\*, Z Kadkhodaie\\*, E P Simoncelli, and C Fernandez-Granda. Robust and interpretable blind image denoising via bias-free convolutional neural networks. In Int’l. Conf. on Learning Representations (ICLR), Addis Ababa, Ethiopia, April 2020. \n[43] Y Bengio, L Yao, G Alain, and P Vincent. Generalized denoising auto-encoders as generative models. In Adv. Neural Information Processing Systems $( N I P S ^ { * } I 3 ,$ ), pages 899–907. MIT Press, 2013. \n[44] Saeed Saremi and Aapo Hyvarinen. Neural empirical Bayes. Journal of Machine Learning Research, 20:1–23, 2019. \n[45] Zengyi Li, Yubei Chen, and Friedrich T Sommer. Annealed denoising score matching: Learning energy-based models in high-dimensional spaces. arXiv preprint arXiv:1910.07762, 2019. \n[46] H Robbins. An empirical Bayes approach to statistics. Proc. Third Berkley Symposium on Mathematcal Statistics, 1:157–163, 1956. \n[47] B D Lucas and T Kanade. An iterative image registration technique with an application to stereo vision. In Proc. 7th Int’l Joint Conf. on Artificial Intelligence, pages 674–679, Vancouver, 1981. \n[48] S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi. Optimization by simulated annealing. Science, 220(4598):671–680, 1983. \n[49] S. Geman and D. Geman. Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images. IEEE Trans Pattern Analysis and Machine Intelligence, 6(6):721–741, 1984. \n[50] A. Blake and A. Zisserman. Visual Reconstruction. MIT Press, 1987. \n[51] D. Martin, C. Fowlkes, D. Tal, and J. Malik. A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In Proc. 8th Int’l Conf. Computer Vision, volume 2, pages 416–423, July 2001. \n[52] Yann LeCun and Corinna Cortes. MNIST handwritten digit database. http://yann.lecun.com/exdb/mnist/, 2010. \n[53] Chengbo Li, Wotao Yin, Hong Jiang, and Yin Zhang. An efficient augmented lagrangian method with applications to total variation minimization. Computational Optimization and Applications, 56(3):507–530, 2013. \n[54] Jian Zhang and Bernard Ghanem. Ista-net: Interpretable optimization-inspired deep network for image compressive sensing. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1828–1837, 2018. \n[55] Tongyao Pang, Yuhui Quan, and Hui Ji. Self-supervised bayesian deep learning for image recovery with applications to compressive sensing. 2020. \n[56] Emmanuel J Candès, Justin K Romberg, and Terence Tao. Stable signal recovery from incomplete and inaccurate measurements. Communications on Pure and Applied Mathematics, 59(8):1207–1223, 2006. \n[57] D. L. Donoho. Compressed sensing. IEEE Trans Info Theory, 52(4):1289–1306, 2006. \n[58] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist handwritten digit database. ATT Labs [Online]. Available: http://yann.lecun.com/exdb/mnist, 2, 2010. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
171,
|
| 986 |
+
69,
|
| 987 |
+
828,
|
| 988 |
+
920
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 10
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "",
|
| 995 |
+
"bbox": [
|
| 996 |
+
169,
|
| 997 |
+
61,
|
| 998 |
+
828,
|
| 999 |
+
920
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 11
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
171,
|
| 1008 |
+
18,
|
| 1009 |
+
828,
|
| 1010 |
+
896
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 12
|
| 1013 |
+
}
|
| 1014 |
+
]
|
parse/train/x5hh6N9bUUb/x5hh6N9bUUb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/x5hh6N9bUUb/x5hh6N9bUUb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|