Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/Hkx7_1rKwS/Hkx7_1rKwS.md +0 -0
- parse/train/Hkx7_1rKwS/Hkx7_1rKwS_content_list.json +0 -0
- parse/train/Hkx7_1rKwS/Hkx7_1rKwS_middle.json +0 -0
- parse/train/Hkx7_1rKwS/Hkx7_1rKwS_model.json +0 -0
- parse/train/HygaikBKvS/HygaikBKvS.md +512 -0
- parse/train/HygaikBKvS/HygaikBKvS_content_list.json +0 -0
- parse/train/HygaikBKvS/HygaikBKvS_middle.json +0 -0
- parse/train/HygaikBKvS/HygaikBKvS_model.json +0 -0
- parse/train/K5YasWXZT3O/K5YasWXZT3O.md +0 -0
- parse/train/K5YasWXZT3O/K5YasWXZT3O_content_list.json +0 -0
- parse/train/K5YasWXZT3O/K5YasWXZT3O_middle.json +0 -0
- parse/train/K5YasWXZT3O/K5YasWXZT3O_model.json +0 -0
- parse/train/SJzR2iRcK7/SJzR2iRcK7.md +338 -0
- parse/train/SJzR2iRcK7/SJzR2iRcK7_content_list.json +1828 -0
- parse/train/SJzR2iRcK7/SJzR2iRcK7_middle.json +0 -0
- parse/train/SJzR2iRcK7/SJzR2iRcK7_model.json +0 -0
- parse/train/WA39qkJvLi/WA39qkJvLi.md +249 -0
- parse/train/WA39qkJvLi/WA39qkJvLi_content_list.json +1124 -0
- parse/train/WA39qkJvLi/WA39qkJvLi_middle.json +0 -0
- parse/train/WA39qkJvLi/WA39qkJvLi_model.json +0 -0
parse/train/Hkx7_1rKwS/Hkx7_1rKwS.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkx7_1rKwS/Hkx7_1rKwS_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkx7_1rKwS/Hkx7_1rKwS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkx7_1rKwS/Hkx7_1rKwS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygaikBKvS/HygaikBKvS.md
ADDED
|
@@ -0,0 +1,512 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OFF-POLICY ACTOR-CRITIC WITH SHARED EXPERIENCE REPLAY
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We investigate the combination of actor-critic reinforcement learning algorithms with uniform large-scale experience replay and propose solutions for two challenges: (a) efficient actor-critic learning with experience replay (b) stability of off-policy learning where agents learn from other agents behaviour. We employ those insights to accelerate hyper-parameter sweeps in which all participating agents run concurrently and share their experience via a common replay module.
|
| 8 |
+
|
| 9 |
+
To this end we analyze the bias-variance tradeoffs in V-trace, a form of importance sampling for actor-critic methods. Based on our analysis, we then argue for mixing experience sampled from replay with on-policy experience, and propose a new trust region scheme that scales effectively to data distributions where V-trace becomes unstable.
|
| 10 |
+
|
| 11 |
+
We provide extensive empirical validation of the proposed solution. We further show the benefits of this setup by demonstrating state-of-the-art data efficiency on Atari among agents trained up until 200M environment frames.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Value-based and actor-critic policy gradient methods are the two leading techniques of constructing general and scalable reinforcement learning agents (Sutton et al., 2018). Both have been combined with non-linear function approximation (Tesauro, 1995; Williams, 1992), and have achieved remarkable successes on multiple challenging domains; yet, these algorithms still require large amounts of data to determine good policies for any new environment. To improve data efficiency, experience replay agents store experience in a memory buffer (replay) (Lin, 1992), and reuse it multiple times to perform reinforcement learning updates (Riedmiller, 2005). Experience replay allows to generalize prioritized sweeping (Moore & Atkeson, 1993) to the non-tabular setting (Schaul et al., 2015), and can also be used to simplify exploration by including expert (e.g., human) trajectories (Hester et al., 2017). Overall, experience replay can be very effective at reducing the number of interactions with the environment otherwise required by deep reinforcement learning algorithms (Schaul et al., 2015). Replay is often combined with the value-based Q-learning (Mnih et al., 2015), as it is an off-policy algorithm by construction, and can perform well even if the sampling distribution from replay is not aligned with the latest agentβs policy. Combining experience replay with actor-critic algorithms can be harder due to their on-policy nature. Hence, most established actor-critic algorithms with replay such as (Wang et al., 2017; Gruslys et al., 2018; Haarnoja et al., 2018) employ and maintain Q-functions to learn from the replayed off-policy experience.
|
| 16 |
+
|
| 17 |
+
In this paper, we demonstrate that off-policy actor-critic learning with experience replay can be achieved without surrogate Q-function approximators using V-trace by employing the following approaches: a) off-policy replay experience needs to be mixed with a proportion of on-policy experience. We show experimentally (Figure 2) and theoretically that the V-trace policy gradient is otherwise not guaranteed to converge to a locally optimal solution. b) a trust region scheme (Conn et al., 2000; Schulman et al., 2015; 2017) can mitigate bias and enable efficient learning in a strongly off-policy regime, where distinct agents share experience through a commonly shared replay module. Sharing experience permits the agents to benefit from parallel exploration (Kretchmar, 2002) (Figures 1 and 3).
|
| 18 |
+
|
| 19 |
+
Our paper is structured as follows: In Section 2 we revisit pure importance sampling for actor-critic agents (Degris et al., 2012) and V-trace, which is notable for allowing to trade off bias and variance in its estimates. We recall that variance reduction is necessary (Figure 4 left) but is biased in V-trace. We derive proposition 2 stating that off-policy V-trace is not guaranteed to converge to a locally optimal solution β not even in an idealized scenario when provided with the optimal value function. Through theoretical analysis (Section 3) and experimental validation (Figure 2) we determine that mixing on-policy experience into experience replay alleviates the problem. Furthermore we propose a trust region scheme (Conn et al., 2000; Schulman et al., 2015; 2017) in Section 4 that enables efficient learning even in a strongly off-policy regime, where distinct agents share the experience replay module and learn from each others experience. We define the trust region in policy space and prove that the resulting estimator is correct (i.e. estimates an improved return).
|
| 20 |
+
|
| 21 |
+
As a result, we present state-of-the-art data efficiency in Section 5 in terms of median human normalized performance across 57 Atari games (Bellemare et al., 2013), as well as improved learning efficiency on DMLab30 (Beattie et al., 2016) (Table 1).
|
| 22 |
+
|
| 23 |
+

|
| 24 |
+
Figure 1: Sharing experience between agents leads to more efficient hyper-parameter sweeps on 57 Atari games. Prior art results are presented as horizontal lines (with scores cited from Gruslys et al. (2018), Hessel et al. (2017) and Mnih et al. (2013)). Note that the only previous agent βR2D2β that achieved a score beyond $4 0 0 \%$ required more than 3,000 million environment steps (see Kapturowski et al. (2019), page 14, Figure 9). We present the pointwise best agent from hyper-parameter sweeps with and without experience replay (shared and not shared). Each sweep contains 9 agents with different learning rate and entropy cost combinations. Replay experiment were repeated twice and ran for 50M steps. To report scores at 200M we ran the baseline and one shared experience replay agent for 200M steps.
|
| 25 |
+
|
| 26 |
+
Table 1: Comparison of state-of-the-art agents on 57 Atari games trained up until 200M environment steps (per game) and DMLab-30 trained until 10B steps (multi-task; all games combined). The first two rows are quoted from Xu et al. (2018) and Hessel et al. (2019), the third is our implementation of a pixel control agent from Hessel et al. (2019) and the last two rows are our proposed LASER (LArge Scale Experience Replay) agent. All agents use hyper-parameter sweeps expect for the marked.
|
| 27 |
+
|
| 28 |
+
<table><tr><td colspan="2">Atari Median</td><td></td><td>DMLab-30 MedianDMLab-30 Mean-Capped</td></tr><tr><td>IMPALA Meta-Gradient (no sweep)</td><td>287.6% at 200M</td><td></td><td>-</td></tr><tr><td>PopArt-IMPALA</td><td></td><td></td><td>73.5%</td></tr><tr><td>PopArt-IMPALA+PixelControl</td><td>=</td><td>85.5%</td><td>77.6%</td></tr><tr><td>LASER: Experience Replay (no sweep)</td><td>431% at 200M</td><td></td><td></td></tr><tr><td>LASER: Experience Replay</td><td>(233% at 50M)</td><td>95.4%</td><td>79.6%</td></tr><tr><td>LASER: Shared Experience Replay</td><td>(370% at 50M), 448% at200M</td><td>97.2%</td><td>81.7%</td></tr></table>
|
| 29 |
+
|
| 30 |
+
# 2 THE ISSUE WITH IMPORTANCE SAMPLING: BIAS AND VARIANCE IN V-TRACE
|
| 31 |
+
|
| 32 |
+
V-trace importance sampling is a popular off-policy correction for actor-critic agents (Espeholt et al., 2018). In this section we revisit how V-trace controls the (potentially infinite) variance that arises from naive importance sampling. We note that this comes at the cost of a biased estimate (see Proposition 1) and creates a failure mode (see Proposition 2) which makes the policy gradient biased. We discuss our solutions for said issues in Section 4.
|
| 33 |
+
|
| 34 |
+

|
| 35 |
+
Figure 2: Left: Learning entirely off-policy from experience replay fails, while combining on-policy data with experience replay leads to improved data efficiency: We present sweeps on DMLab-30 with experience replays of 10M capacity. A ratio of $8 7 . 5 \%$ implies that there are 7 replayed transitions in the batch for each online transition. Furthermore we consider an agent identical to βLASER $8 7 . 5 \%$ replayβ which however draws all samples from replay. Its batch thus does not contain any online data and we observe a significant performance decrease (see Proposition 2 and 3). The shading represents the point-wise best and worst replica among 3 repetitions. The solid line is the mean. Right: The effect of capacity in experience replay with $\mathrm { \bar { 8 7 . 5 \% } }$ replay data per batch on sweeps on DMLab-30. Data-efficiency improves with larger capacity.
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 3: Left: Naively sharing experience between distinct agents in a hyper-parameter sweep fails (green) and is worse than the no-replay baseline (blue). The proposed trust region estimator mitigates the issue (red). Right: Combining population based training with trust region estimation improves performance further. All replay experiments use a capacity of 10 million observations and ${ \bar { 8 } } 7 . 5 \%$ replay data per batch.
|
| 39 |
+
|
| 40 |
+
# 2.1 REINFORCEMENT LEARNING
|
| 41 |
+
|
| 42 |
+
We follow the notation of Sutton et al. (2018) where an agent interacts with its environment, to collect rewards. On each discrete time-step $t$ , the agent selects an action $a _ { t }$ ; it receives in return a reward $r _ { t }$ and an observation $o _ { t + 1 }$ , encoding a partial view of the environmentβs state $s _ { t + 1 }$ . In the fully observable case, the RL problem is formalized as a Markov Decision Process (Bellman, 1957): a tuple $( \boldsymbol { S } , \boldsymbol { A } , \boldsymbol { p } , \gamma )$ , where $s , A$ denotes finite sets of states and actions, $p$ models rewards and state transitions (so that $r _ { t } , s _ { t + 1 } \sim p ( s _ { t } , a _ { t } ) )$ , and $\gamma$ is a fixed discount factor. A policy is a mapping $\pi ( a | s )$ from states to action probabilities. The agent seeks an optimal policy $\pi ^ { * }$ that maximizes the value, defined as the expectation of the cumulative discounted returns $\begin{array} { r } { \dot { \boldsymbol { G } } _ { t } = \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \boldsymbol { r } _ { t + k } } \end{array}$ .
|
| 43 |
+
|
| 44 |
+
Off-policy learning is the problem of finding, or evaluating, a policy $\pi$ from data generated by a different policy $\mu$ . This arises in several settings. Experience replay (Lin, 1992) mixes data from multiple iterations of policy improvement. In large-scale RL, decoupling acting from learning (Nair et al., 2015; Horgan et al., 2018; Espeholt et al., 2018) causes the experience to lag behind the latest agent policy. Finally, it is often useful to learn multiple general value functions (Sutton et al., 2011; Mankowitz et al., 2018; Lample & Chaplot, 2016; Mirowski et al., 2017; Jaderberg et al., 2017b) or options (Sutton et al., 1999; Bacon et al., 2017) from a single stream of experience.
|
| 45 |
+
|
| 46 |
+
# 2.2 NAIVE IMPORTANCE SAMPLING
|
| 47 |
+
|
| 48 |
+
On-policy n-step bootstraps give more accurate value estimates in expectation with larger $n$ (Sutton et al., 2018). They are used in many reinforcement learning agents (Mnih et al., 2016; Schulman et al., 2017; Hessel et al., 2017). Unfortunately $n$ must be chosen suitably as the estimates variance increases with $n$ too.
|
| 49 |
+
|
| 50 |
+
It is desirable to obtain benefits akin to n-step returns in the off-policy case. To this end multi-step importance sampling (Kahn, 1955) can be used. This however adds another source of (potentially infinite (Sutton et al., 2018)) variance to the estimate.
|
| 51 |
+
|
| 52 |
+
Importance sampling can estimate the expected return $V ^ { \pi }$ from trajectories sampled from $\mu \neq \pi$ as long as $\mu$ is non-zero whereever $\pi$ is. We employ a previously estimated value function $V$ as a bootstrap to estimate expected returns. Following Degris et al. (2012), a multi-step formulation of the expected return is
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
V ^ { \pi } ( s _ { t } ) = \mathbf { E } _ { \mu } \left[ V ( s _ { t } ) + \sum _ { k = 0 } ^ { K - 1 } \gamma ^ { k } \Big ( \prod _ { i = 0 } ^ { k } \frac { \pi _ { t + i } } { \mu _ { t + i } } \Big ) \delta _ { t + k } V \right]
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
where $\mathbf { E } _ { \mu }$ denotes the expectation under policy $\mu$ up to an episode termination, $\delta _ { t } V ~ = ~ r _ { t } +$ $\gamma V ( s _ { t + 1 } ) - V ( s _ { t } )$ is the temporal difference error in consecutive states $s _ { t + 1 }$ , $s _ { t }$ , and $\pi _ { t } = \pi _ { t } ( a _ { t } | s _ { t } )$ . Importance sampling estimates can have high variance. Tree Backup (Precup et al., 2000), and $\mathbf { Q } ( \lambda )$ (Sutton et al., 2014) address this, but reduce the number of steps before bootstrapping even when this is undesirable (as in the on-policy case). RETRACE (Munos et al., 2016) makes use of full returns in the on-policy case, but it introduces a zero-mean random variable at each step, adding variance to empirical estimates in both on- and off-policy cases.
|
| 59 |
+
|
| 60 |
+
# 2.3 BIAS-VARIANCE ANALYSIS & FAILURE MODE OF $\mathrm { v . }$ -TRACE IMPORTANCE SAMPLING
|
| 61 |
+
|
| 62 |
+
V-trace (Espeholt et al., 2018) reduces the variance of importance sampling by trading off variance for a biased estimate of the return β resulting in a failure mode (see Proposition 2). It uses clipped importance sampling ratios to approximate $V ^ { \pi }$ by $\begin{array} { r } { V ^ { \tilde { \pi } } ( s _ { t } ) = V ( s _ { t } ) + \sum _ { k = 0 } ^ { K - 1 } \gamma ^ { k } \Big ( \prod _ { i = 0 } ^ { k - 1 } c _ { i } \Big ) \rho _ { t } \delta _ { t + k } V } \end{array}$ where $V$ is a learned state value estimate used to bootstrap, and $\rho _ { t } = \operatorname* { m i n } \left[ \pi _ { t } / \dot { \mu } _ { t } , \bar { \rho } \right]$ , $c _ { t } \dot { = } \operatorname* { m i n } \left[ \pi _ { t } / \mu _ { t } , \bar { c } \right]$ are the clipped importance ratios. Note that, differently from RETRACE, V-trace fully recovers the Monte Carlo return when on policy. It similarly reweights the policy gradient as:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\nabla V ^ { \tilde { \pi } } ( s _ { t } ) \stackrel { \mathrm { d e f } } { = } \mathbf { E } _ { \mu } \left[ \rho _ { t } \nabla ( \log \pi _ { t } ) ( r _ { t } + \gamma V ^ { \tilde { \pi } } ( s _ { t + 1 } ) ) \right]
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
Note that $\nabla V ^ { \tilde { \pi } } ( s _ { t } )$ recovers the naively importance sampled policy gradient for $\bar { \rho } \infty$ . In the literature, it is common to subtract a baseline from the action-value estimate $r _ { t } + \gamma V ^ { \tilde { \pi } } ( s _ { t + 1 } )$ to reduce variance (Williams, 1992), omitted here for simplicity. The constants $\bar { \rho } \ge \bar { c } \ge 1$ (typically chosen $\bar { \rho } = \bar { c } = 1$ ) define the level of clipping, and improve stability by ensuring a bounded variance. For any given $\bar { \rho }$ , the bias introduced by V-trace in the value and policy gradient estimates increases with the difference between $\pi$ and $\mu$ . We analyze this in the following propositions.
|
| 69 |
+
|
| 70 |
+
Proposition 1. The V-trace value estimate $V ^ { \tilde { \pi } }$ is biased: It does not match the expected return of $\pi$ but the return of a related implied policy $\tilde { \pi }$ defined by equation 3 that depends on the behaviour
|
| 71 |
+
|
| 72 |
+
policy Β΅:
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\tilde { \pi } _ { \mu } ( a | x ) = \frac { \operatorname* { m i n } \left[ \bar { \rho } \mu ( a | x ) , \pi ( a | x ) \right] } { \sum _ { b \in A } \operatorname* { m i n } \left[ \bar { \rho } \mu ( b | x ) , \pi ( b | x ) \right] }
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
Proof. See Espeholt et al. (2018).
|
| 79 |
+
|
| 80 |
+
Note that the biased policy $\tilde { \pi } _ { \mu }$ can be very different from $\pi$ . Hence the V-trace value estimate $V ^ { \tilde { \pi } }$ may be very different from $V ^ { \pi }$ as well. As an illustrative example, consider two policies over a set of two actions, e.g. βleftβ and βrightβ represented as a tuple of probabilities. Let us investigate $\mu = ( \phi , 1 - \phi )$ and $\bar { \pi } = ( 1 - \phi , \phi )$ defined for any suitably small $\phi \leq 1$ . Observe that $\pi$ and $\mu$ share no trajectories (state-action sequences) in the limit as $\phi 0$ and they get more focused on one action. A practical example of this could be two policies, one almost always taking a left turn and one always taking the right. Given sufficient data of either policy it is possible to estimate the value of the other e.g. with naive importance sampling. However observe that V-trace with $\bar { \rho } = 1$ will always estimate a biased value - even given infinite data. Observe that $\sin \left[ \mu ( a | x ) , \pi ( a | x ) \right] = \sin \left[ \phi , 1 - \phi \right]$ for both actions. Thus $\tilde { \pi } _ { \mu }$ is uniform rather than resembling $\pi$ the policy. The $\mathrm { V } .$ -trace estimate $V ^ { \tilde { \pi } }$ would thus compute the average value of "left" and "right" β poorly representing the true $V ^ { \pi }$ .
|
| 81 |
+
|
| 82 |
+
Proposition 2. The V-trace policy gradient is biased: given the the optimal value function $V ^ { * }$ the $V .$ -trace policy gradient does not converge to a locally optimal $\pi ^ { * }$ for all off-policy behaviour distributions $\mu$ .
|
| 83 |
+
|
| 84 |
+
Proof. See Appendix C.
|
| 85 |
+
|
| 86 |
+
# 3 MIXING ON- AND OFF-POLICY EXPERIENCE
|
| 87 |
+
|
| 88 |
+
In Proposition 2 we presented a failure mode in $\mathrm { v } .$ -trace where the variance reduction biases the value estimate and policy gradient. V-trace computes biased $\mathbf { Q }$ -estimates $Q ^ { \omega } \neq Q$ resulting in a wrong local policy gradient: $\nabla { \bf E } _ { \pi ( a | s ) } \left[ Q ^ { \omega } ( s , a ) \right] \neq \nabla { \bf E } _ { \pi ( a | s ) } \left[ Q ( s , a ) \right] .$ . In equation 10 we show that $Q ^ { \omega } ( s , a ) = Q ( s , a ) \omega ( s , a )$ where $\begin{array} { r } { \omega ( s , a ) = \mathrm { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a | s ) } { \pi ( a | s ) } \right] \leq 1 } \end{array}$ .
|
| 89 |
+
|
| 90 |
+
The question of how biased the resulting policy will be depends on whether the distortion changes the argmax of the Q-function. Little distortions that do not change the argmax will result in the same local fixpoint of the policy improvement. The policy will continue to select the optimal action and it will not be biased at this state. The policy will however be biased if the Q-function is distorted too much. For example consider a $\omega ( s , a )$ that swaps the argmax for the 2nd largest value, the regret will then be the difference between the maximum and the 2nd largest value. Intuitively speaking the more distorted the $Q ^ { \omega }$ , the larger will be the regret compared to the optimal policy.
|
| 91 |
+
|
| 92 |
+
More precisely, the regret of learning a policy that maximizes the distorted $Q ^ { \omega }$ at state $s$ is:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
R ( s ) = Q ( s , a ^ { * } ) - Q ( s , a _ { \mathrm { a c t u a l } } ) = \operatorname* { m a x } _ { b } Q ( s , b ) - Q ( s , a _ { \mathrm { a c t u a l } } )
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
where $a ^ { * } ~ = ~ \operatorname { a r g m a x } _ { b } ( Q , b )$ is the optimal action according to the real $Q$ and $\begin{array} { r l } { a _ { \mathrm { a c t u a l } } } & { { } = } \end{array}$ a $\mathrm { r g m a x } [ Q ^ { \omega } ( s , a ) ] = \mathrm { a r g m a x } [ Q ( s , a ) \omega ( s , a ) ]$ , is the optimal action according to the distorted $Q ^ { \omega }$ . For generality, we denote $A ^ { * }$ as the set of best actions - covering the case with multiple with identical optimal Q-values.
|
| 99 |
+
|
| 100 |
+
Proposition 3 provides a mitigation: Clearly the V-trace policy gradient will converge to the same solution as the true on-policy gradient if the argmax of the Q-function is preserved at all states in a tabular setting. We show that this can be achieved by mixing a sufficient proportion $\alpha$ of on-policy experience into the computation.
|
| 101 |
+
|
| 102 |
+
We show in equation 13 in the Appendix that choosing $\alpha$ such that
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\frac { \alpha } { 1 - \alpha } > _ { b \notin A ^ { * } } \left[ \frac { Q ^ { \omega } ( s , b ) - Q ^ { \omega } ( s , a ^ { * } ) } { Q ( s , a ^ { * } ) - Q ( s , b ) } \right] \frac { d ^ { \mu } ( s ) } { d ^ { \pi } ( s ) } \mathrm { f o r } Q ^ { \omega } ( s , a ) = Q ( s , a ) \omega ( s , a )
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
will result in a policy that correctly chooses the best action at state $s$ . Note that $\frac { \alpha } { 1 - \alpha } \to \infty$ as $\alpha 1$
|
| 109 |
+
|
| 110 |
+
Intuitively: the larger the action value gap of the real Q-function $Q ( s , a ^ { * } ) - Q ( s , b )$ the lower the right hand side and the less on-policy data is required. If $\begin{array} { r } { \operatorname* { m a x } _ { b } [ ( Q ( s , b ) \omega ( s , b ) - Q ( s , a ^ { * } ) \omega ( s , a ^ { * } ) ] } \end{array}$ is negative, then $\alpha$ may be as small as zero and we enabling even pure off-policy learning. Finally note that the right hand side decreases due to $d ^ { \mu } ( s ) / d ^ { \pi } ( s )$ if $\pi$ visits the state $s$ more often than $\mu$ .
|
| 111 |
+
|
| 112 |
+
All of those conditions can be computed and checked if an accurate Q-function and state distribution is accessible. How to use imperfect Q-function estimates to adaptively choose such an $\alpha$ remain a question for future research.
|
| 113 |
+
|
| 114 |
+
We provide experimental evidence for these results with function approximators in the 3-dimensional simulated environment DMLab-30 with various $\alpha \ge 1 / 8$ in Section 5.3 and Figure 2. We observe that $\alpha = 1 / 8$ is sufficient to facilitate stable learning. Furthermore it results in better data-efficiency than pure on-policy learning as it utilizes off-policy replay experience.
|
| 115 |
+
|
| 116 |
+
Proposition 3. Mixing on-policy data into the V-trace policy gradient with the ratio Ξ± reduces the bias by providing a regularization to the implied state-action values. In the general function approximation case it changes the off-policy $V .$ -trace policy gradient from $\begin{array} { r l } { \sum _ { s } d ^ { \mu } ( \bar { s } ) \mathbf { E } _ { \pi } \left[ ( \dot { Q } ( s , a ) \nabla \log \pi ( a | s ) \right] } \end{array}$ to $\begin{array} { r } { \sum _ { s } \mathbf { E } _ { \pi } \left[ Q ^ { \alpha } ( s , a ) \nabla \log \pi ( a | s ) \right] } \end{array}$ where $Q ^ { \alpha } = Q d ^ { \pi } ( s ) \alpha + Q ^ { \overline { { { \omega } } } } \bar { d } ^ { \mu } ( s ) ( 1 - \alpha )$ is a regularized stateaction estimate and $d ^ { \pi }$ , $d ^ { \mu }$ are the state distributions for $\pi$ and $\mu$ . Note that there exists $\alpha \leq 1$ such that $Q ^ { \alpha }$ has the same argmax (i.e. best action) as $Q$ .
|
| 117 |
+
|
| 118 |
+
# Proof. See Appendix C.
|
| 119 |
+
|
| 120 |
+
Mixing online data with replay data has also been argued for by Zhang & Sutton (2017), as a heuristic way of reducing the sensitivity of reinforcement learning algorithms to the size of the replay memory. Proposition 3 grounds this in the theoretical properties of V-trace.
|
| 121 |
+
|
| 122 |
+
# 4 TRUST REGION SCHEME FOR OFF-POLICY V-TRACE
|
| 123 |
+
|
| 124 |
+
To mitigate the bias and variance problem of V-trace and importance sampling we propose a trust region scheme that adaptively selects only suitable behaviour distributions when estimating the state-value of $\pi$ . To this end we introduce a behaviour relevance function that classifies behaviour as relevant. We then define a trust-region estimator that computes expectations (such as expected returns, or the policy gradient) only on relevant transitions. In proposition 4 and 5 we show that this trust region estimator indeed computes new state-value estimates that improve over the current value function. While our analysis and proof is general we propose a suitable behaviour relevance function in section 4.3 that employs the Kullback Leibler divergence between target policy $\pi$ and implied policy $\tilde { \pi } _ { \mu } \colon \mathrm { K L } \left( \pi ( \cdot | s ) \bar { | } | \tilde { \pi } _ { \mu } ( \cdot | s ) \right)$ . We provide experimental validation in Figure 3.
|
| 125 |
+
|
| 126 |
+
# 4.1 BEHAVIOUR RELEVANCE FUNCTIONS
|
| 127 |
+
|
| 128 |
+
In off-policy learning we often consider a family of behaviour policies either indexed by training iteration $t$ : $M _ { T } = \{ \mu _ { t } | t < T \}$ for experience replay, or by a different agent $k$ : $M _ { K } = \{ \bar { \mu _ { k } } | k \in K \bar \}$ when training multiple agents. In the classic experience replay case we then sample a time $t$ and locate the transition $\tau$ that was generated earlier via $\mu _ { t }$ . This extends naturally to the multiple agent case where we sample an agent index $k$ and then obtain a transition for such agent or tuples of $( k , t )$ . Without loss of generality we simplify this notation and index sampled behaviour policies by a random variable $z \sim Z$ that represents the selection process. While online reinforcement learning algorithms process transitions $\tau \sim \pi$ , off-policy algorithms process $\tau \sim \mu _ { z }$ for $z \sim Z$ . In this notation, given equation (1) and a bootstrap $V$ , the expectation of importance sampled off-policy returns at state $s _ { t }$ is described by:
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
V _ { \mathrm { m i x } } ^ { \pi } ( s _ { t } ) = \mathbf { E } _ { z } \Big [ \mathbf { E } _ { \mu _ { z } | z } \big [ G ^ { \pi , \mu _ { z } } ( s _ { t } ) \big ] \Big ]
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where $\begin{array} { r } { G ^ { \pi , \mu } ( s _ { t } ) = V ( s _ { t } ) + \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \Big ( \prod _ { i = 0 } ^ { k } \frac { \pi _ { t + i } } { \mu _ { t + i } } \Big ) \delta _ { t + k } V } \end{array}$ is a single importance sampled return.
|
| 135 |
+
Note that the on-policy return $\begin{array} { r } { G ^ { \pi , \pi } ( s _ { t } ) = V ( s _ { t } ) + \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } r _ { t + k } } \end{array}$ .
|
| 136 |
+
|
| 137 |
+
Above $\mathbf { E } _ { \mu _ { z } | z }$ represents the expectation of sampling from a given $\mu _ { z }$ . The conditioning on $z$ is a notational reminder that this expectation does not sample $z$ or $\mu _ { z }$ but experience from $\mu _ { z }$ . For any
|
| 138 |
+
|
| 139 |
+
sampled $z$ we obtain a $\mu _ { z }$ and observe that the inner expectation wrt. experience of $\mu _ { z }$ in equation (4) recovers the expected on-policy return in expectation:
|
| 140 |
+
|
| 141 |
+
$$
|
| 142 |
+
\begin{array} { r l } { \mathbf { E } _ { \mu _ { z } | z } \left[ G ^ { \pi , \mu _ { z } } ( s _ { t } ) \right] = \mathbf { E } _ { \mu _ { z } | z } \left[ V ( s _ { t } ) + \displaystyle \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \Big ( \displaystyle \prod _ { i = 0 } ^ { k } \frac { \pi _ { t + i } } { \mu _ { z , t + i } } \Big ) \delta _ { t + k } V \right] } & { } \\ { = \mathbf { E } _ { \pi } \left[ V ( s _ { t } ) + \displaystyle \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \Big ( \displaystyle \prod _ { i = 0 } ^ { k } \frac { \mu _ { z , t + i } } { \mu _ { z , t + i } } \Big ) \delta _ { t + k } V \right] } & { } \\ { = \mathbf { E } _ { \pi } \left[ V ( s _ { t } ) + \displaystyle \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } r _ { t + k } \right] = \mathbf { E } _ { \pi } \left[ G ^ { \pi , \pi } ( s _ { t } ) \right] = V ^ { \pi } ( s _ { t } ) } \end{array}
|
| 143 |
+
$$
|
| 144 |
+
|
| 145 |
+
Thus $V _ { \mathrm { m i x } } ^ { \pi } ( s _ { t } ) = \mathbf { E } _ { z } \left[ \mathbf { E } _ { \pi } \left[ G ^ { \pi , \pi } ( s _ { t } ) \right] \right] = \mathbf { E } _ { \pi } \left[ G ^ { \pi , \pi } ( s _ { t } ) \right] = V ^ { \pi } ( s _ { t } )$ . This holds provided that $\mu _ { z }$ is non-zero wherever $\pi$ is. This fairly standard assumption leads us straight to the core of the problem: it may be that some behaviours $\mu _ { z }$ are ill-suited for estimating the inner expectation. However, standard importance sampling applied to very off-policy experience divides by small $\mu$ resulting in high or even infinite variance. Similarly, $\mathrm { v } .$ -trace attempts to compute an estimate of the return following $\pi$ resulting in limited variance at the cost of a biased estimate in turn.
|
| 146 |
+
|
| 147 |
+
The key idea of our proposed solution is to compute the return estimate for $\pi$ at each state only from a subset of suitable behaviours $\mu _ { z }$ :
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
M _ { \beta , \pi } ( s ) = \{ \mu _ { z } | z \in Z { \mathrm { ~ a n d ~ } } \beta ( \pi , \mu , s ) < b \}
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
as determined by a behaviour relevance function $\beta ( \pi , \mu , s ) : ( M _ { Z } , M _ { Z } , S ) \mathbb { R }$ and a threshold $b$ . The behaviour relevance function decides if experience from a behaviour is suitable to compute an expected return for $\pi$ . It can be chosen to control properties of $V _ { \mathrm { m i x } } ^ { \pi }$ by restricting the expectation on subsets of $Z$ . In particular it can be used to control the variance of an importance sampled estimator: Observe that the inner expectation $\begin{array} { r } { \mathsf { E } _ { \mu _ { z } } \left[ G ^ { \pi , \mu } ( s _ { t } ) \big | z \right] } \end{array}$ in equation (4) already matches the expected return $V ^ { \pi }$ . Thus we can condition the expectation on arbitrary subsets of $Z$ without changing the expected value of $V _ { \mathrm { m i x } } ^ { \pi }$ . This allows us to reject high variance $G ^ { \pi , \mu }$ without introducing a bias in $V _ { \mathrm { m i x } } ^ { \pi }$ . The same technique can be applied to $\mathrm { V } .$ -trace where we can reject return estimates with high bias.
|
| 154 |
+
|
| 155 |
+
# 4.2 DERIVATION OF TRUST REGION ESTIMATORS
|
| 156 |
+
|
| 157 |
+
Using a behaviour relevance function $\beta ( s )$ we can define a trust region estimator for regular importance sampling (IS) and $\mathrm { V } .$ -trace and show their correctness.
|
| 158 |
+
|
| 159 |
+
We define the trust region estimator as the conditional expectation
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
V _ { \mathrm { t r u s t e d } } ^ { \pi } ( s _ { t } ) = \mathbf { E } _ { z } \Big [ \mathbf { E } _ { \mu _ { z } \vert z } \big [ G ^ { \pi , \mu _ { z } , \beta } ( s _ { t } ) \big ] \Big \vert \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ]
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
with $\lambda$ -returns $G$ , chosen as $G _ { \mathrm { I S } }$ for importance sampling and $G _ { \mathrm { V t r a c e } }$ for $\mathrm { V } .$ -trace:
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } } ( s _ { t } ) = V ( s _ { t } ) + \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \Big ( \prod _ { i = 0 } ^ { k } \lambda _ { \pi , \mu _ { z } } ( s _ { t + i } ) \frac { \pi _ { t + i } } { \mu _ { z , t + i } } \Big ) \delta _ { t + k } V
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } } ( s _ { t } ) = V ( s _ { t } ) + \sum _ { k = 0 } ^ { \infty } \gamma ^ { k } \Big ( \prod _ { i = 0 } ^ { k - 1 } \lambda _ { \pi , \mu _ { z } } ( s _ { t + i } ) c _ { z , t + i } \Big ) \lambda _ { \pi , \mu _ { z } } ( s _ { t + k } ) \rho _ { z , t + k } \delta _ { t + k } V
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
where $\lambda _ { \pi , \mu } ( s _ { t } )$ is designed to constraint Monte-Carlo bootstraps to relevant behaviour: $\lambda _ { \pi , \mu } ( s _ { t } ) =$ $\mathbb { 1 } _ { \beta ( \pi , \mu , s _ { t } ) < b }$ and s bo $\begin{array} { r } { \rho _ { z , t + k } = \operatorname* { m i n } \left[ \frac { \pi _ { t + i } } { \mu _ { z , t + i } } , \bar { \rho } \right] } \end{array}$ and a mu $c _ { z , t + k }$ are behaviour dependent clipped importancep return estimators with adaptive length. Note $G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } }$ $G _ { \mathrm { V t r a c e } } ^ { \bar { \pi } , \mu _ { z } }$
|
| 176 |
+
IS that only estimators with length $\geq 1$ e are used in $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ . Due to Minkowskiβs inequality the trust region estimator thus shows at least the same contraction as a 1-step bootstrap, but can be faster due to its adaptive nature:
|
| 177 |
+
Proposition 4. Let that they all have th $G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } }$ be a set fix point mportance sampling estimaand contract with at least rs as defined in equation 7. Note. Then the contraction properties $V ^ { \pi }$ $\gamma$
|
| 178 |
+
carry over to $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ . $I n$ particular $| V _ { \mathrm { t r u s t e d } } ^ { \pi } - V ^ { \pi } | _ { \infty } \leq \gamma | V - V ^ { \pi } | _ { \infty }$ .
|
| 179 |
+
|
| 180 |
+
Proof. See Appendix C.
|
| 181 |
+
|
| 182 |
+
Proposition 5. Let $G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } }$ be a set of $V .$ -trace estimators (see equation 8) with corresponding fixed (see equation 3) to which they contract at a speed of an algorithm and behaviour specific $\eta _ { z }$ . Then $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ moves towards $V ^ { \beta } = \mathbf { E } _ { z | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \left[ \bar { V ^ { z } } \right]$ shrinking the distance as follows $\begin{array} { r } { \big | V _ { \mathrm { t r u s t e d } } ^ { \pi } - V ^ { \beta } \big | _ { \infty } < \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } | \eta _ { z } ( V - V ^ { z } ) | _ { \infty } \leq \eta _ { \operatorname* { m a x } } \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } | ( V - V ^ { z } ) | _ { \infty } } \end{array}$ with $\eta _ { \mathrm { m a x } } = \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \eta _ { z }$ .
|
| 183 |
+
|
| 184 |
+
# Proof. See Appendix C.
|
| 185 |
+
|
| 186 |
+
Note how the choice of Ο $\beta$ and t s $M _ { \beta , \pi }$ enables us discard ill-suited $G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } }$ from the estimation of . Recall that $\mathrm { v } .$ -trace fixed points $V _ { z }$ are biased. Thus $\beta$ allows us to selectively create the V-trace target $V ^ { \beta } = \mathbf { E } _ { z | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \left[ V ^ { z } \right]$ and control its bias and the shrinkage $\begin{array} { r } { \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } | \eta _ { z } ( V ( s ) - V ^ { z } ( s ) ) | _ { \infty } } \end{array}$ (see Proposition 5). Similarly it can control cases where we can not use the exact importance sampled estimator. The same approach based on nested expectations can be applied to the expectation of the policy gradient estimate and allows to control the bias and greediness (see Proposition 2) there as well.
|
| 187 |
+
|
| 188 |
+
# 4.3 IMPLEMENTATION DETAILS
|
| 189 |
+
|
| 190 |
+
In Proposition 5 we have seen that the quality of the trust region V-trace return estimator depends on $\beta$ . A suitable choice of $\beta$ can move the return estimate $V ^ { \beta }$ closer to $V ^ { \pi }$ and improve the shrinkage by reducing $\begin{array} { r } { \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \left| \eta _ { z } ( V ( s ) - V ^ { z } ( s ) ) \right| _ { \infty } } \end{array}$ . Hence, we employ a behaviour relevance function $\beta _ { \mathrm { K L } }$ that rejects high bias transitions by estimating the Kulback-Leibler divergence between the target policy $\pi$ and the implied policy $\tilde { \pi } _ { \mu _ { z } }$ for a sampled behaviour $\mu _ { z }$ . Recall from Proposition 1 that $\tilde { \pi } _ { \mu _ { z } }$ determines the fixed point of the $\mathrm { V } .$ -trace estimator for behaviour $\mu _ { z }$ and thus determines the bias in $V ^ { z }$ .
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
\beta _ { \mathrm { K L } } ( \pi , \mu , s ) = \mathrm { K L } \left( \pi ( \cdot | s ) | | \tilde { \pi } _ { \mu } ( \cdot | s ) \right)
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
Note that the behaviour probabilities $\mu _ { z }$ can be evaluated and saved to the replay when the agent executes the behaviour, similarly the target policy $\pi$ is represented by the agents neural network. Using both and equation 3, $\tilde { \pi } _ { \mu }$ can be computed. For large or infinite action spaces a Monte Carlo estimate of the KL divergence can be computed.
|
| 197 |
+
|
| 198 |
+
It is possible to define separate behaviour relevance functions for the policy and value estimate. For simplicity we reject transitions entirely for all estimates and do not consider rejected transitions for the policy gradient and value gradient updates or auxiliary tasks. As described above we stop the Monte-Carlo bootstraps once they reach undesirable state-behaviour pairs. Note that this censoring procedure is computed from state dependent $\beta ( \pi , \mu , s )$ and ensures that the choice of bootstrapping does not depend on the sampled actions. Note that rejection by an action-based criteria such as small $\pi ( { a } | { s } ) / \mu ( { a } | { s } )$ would introduce an additional bias which we avoid by choosing $\beta _ { \mathrm { K L } }$ .
|
| 199 |
+
|
| 200 |
+
# 5 EXPERIMENTS
|
| 201 |
+
|
| 202 |
+
We present experiments to support the following claims:
|
| 203 |
+
|
| 204 |
+
β’ Section 5.2: Uniform experience replay obtains comparable results as prioritized experience replay, while being simpler to implement and tune.
|
| 205 |
+
β’ Section 5.3: Using fresh experience before inserting it in experience replay is better than learning purely off-policy from experience replay β in line with Proposition 3.
|
| 206 |
+
β’ Section 5.4: Sharing experience without trust region performs poorly as suggested by Proposition 2. Off-Policy Trust-Region V-trace solves this issue.
|
| 207 |
+
β’ Section 5.5: Sharing experience can take advantage of parallel exploration and obtains state-of-the-art performance on Atari games, while also saving memory through sharing a single experience replay.
|
| 208 |
+
|
| 209 |
+
# 5.1 EXPERIMENTAL SETUP & METHODOLOGY
|
| 210 |
+
|
| 211 |
+
We use the V-trace distributed reinforcement learning agent (Espeholt et al., 2018) as our baseline. In our experiments we consider two experimental platforms: Atari and DeepMind Lab. On Atari we consider the common single task training regime, where a different agent is trained, from scratch, on each of the tasks. Following Xu et al. (2018) we use a discount of 0.995. Motivated by recent work by Kaiser et al. (2019), we use the IMPALA deep network and increased the number of channels $4 \times$ . We use $9 6 \%$ replay data per batch. Differently from Espeholt et al. (2018), we do not use gradient clipping by norm (Pascanu et al., 2012). Updates are computed on mini-batches of 32 (regular) and 128 (replay) trajectories, each corresponding to 19 steps in the environment. In the context of DeepMind Lab, we consider the multi-task suite DMLab-30 (Espeholt et al., 2018), as the visuals and the dynamics are more consistent across tasks. Furthermore the multi-task regime is particularly suitable for the investigation of strongly off-policy data distributions arising from sharing the replay across agents, as concurrently learning agents can easily be stuck in different policy plateaus, generating substantially different data (Schaul et al., 2019). As in Espeholt et al. (2018), in the multi-task setting each agent trains simultaneously on a uniform mixture of all tasks rather than individually on each game. The score of an agent is thus the median across all 30 tasks. Following Hessel et al. (2019), we augment our agent with multi-task Pop-Art normalization and PixelControl. We use a PreCo LSTM (Amos et al., 2018) instead of the vanilla one (Hochreiter & Schmidhuber, 1997). Updates are computed on mini-batches of multiple trajectories chosen as above, each corresponding to 79 steps in the environment. In early experiments we found that computing the entropy cost only on the online data provided slightly better results, hence we have done so throughout our experiments.
|
| 212 |
+
|
| 213 |
+
In all our experiments, experience sampled from memory is mixed with online data within each minibatch β following Proposition 3. Episodes are removed in a first in first out order, so that replay always holds the most recent experience. Unless explicitly stated otherwise we consider hyper-parameter sweeps, some of which share experience via replay. In this setting multiple agents start from-scratch, run concurrently at identical speed, and add their new experience into a common replay buffer. All agents will then draw uniform samples from the replay buffer. On DMLab-30 we consider both regular hyper-parameter sweeps and sweeps with population based training (PBT) (Jaderberg et al., 2017a). On DMLab-30 sweeps contain 10 agents with hyper-parameters sampled similar as Espeholt et al. (2018) but fixed RMSProp $\epsilon = 0 . 1$ . On Atari sweeps contain 9 agents with different constant learning rate and entropy cost combinations $\{ 3 \cdot 1 0 ^ { - 4 } , 6 \cdot \bar { 1 } 0 ^ { - 4 } , 1 . 2 \cdot 1 0 ^ { - 3 } \} \times \{ 5 \cdot 1 0 ^ { - 3 } , 1 \cdot 1 0 ^ { - 2 } , 2 \cdot 1 0 ^ { - 2 } \}$ (distributed by factors $\{ 1 / 2 , 1 , 2 \}$ around the initial parameters reported in Espeholt et al. (2018)). Although our focus is on efficient hyper-parameter sweeps given crude initial parameters, we also present a single-agent LASER experiment using the same tuned schedule as Espeholt et al. (2018), a $8 7 . 5 \%$ replay ratio and a 15M replay. We store the entire episodes in the replay buffer and replay each episode from the beginning, using the most recent network parameters to recompute the LSTM states along the way: this is particularly critical when sharing experience between different agents, which may have arbitrarily different state representations.
|
| 214 |
+
|
| 215 |
+
# 5.2 UNIFORM AND PRIORITIZED EXPERIENCE REPLAY
|
| 216 |
+
|
| 217 |
+
Prioritized experience replay has the potential to provide more efficient learning compared to uniform experience replay (Schaul et al., 2015; Horgan et al., 2018). However, it also introduces a number of new hyper-parameters and design choices: the most critical are the priority metric, how strongly to bias the sampling distribution, and how to correct for the resulting bias. Uniform replay is instead almost parameter-free, requires little tuning and can be easily shared between multiple agents. Experiments provided in Figure 4 in the appendix showed little benefit of actor critic prioritized replay on DMLab-30. Furthermore priorities are typically computed from the agent specific metrics such as the TD-error, which are ill-defined when replay is shared among multiple agents. Hence we used uniform replay for our further investigations.
|
| 218 |
+
|
| 219 |
+
# 5.3 MIXING ON- AND OFF-POLICY EXPERIENCE AND REPLAY CAPACITY
|
| 220 |
+
|
| 221 |
+
Figure 2 (left) shows that performance degrades significantly when online data is not present in the batch. This experimentally validates Propositions 2 and 3 that highlight difficulties of learning purely off-policy. Furthermore Figure 2 (right) shows that best results are obtained with experience replay of 10M capacity and $8 7 . 5 \%$ ratio. A ratio of $8 7 . 5 \% = 7 / 8$ corresponds to 7 replay samples for each online sample. We have considered ratios of $1 / 2 , 3 / 4$ , and $7 / 8$ and observed stable training for all of them. Observe that among those values, larger ratios are more data-efficient as they take advantage of more replayed experience per training step.
|
| 222 |
+
|
| 223 |
+
5.4 SHARED EXPERIENCE REPLAY WITH OFF-POLICY TRUST REGION V-TRACE
|
| 224 |
+
|
| 225 |
+
In line with proposition 2 we observe in Figure 3 (left) that hyper-parameter sweeps without trustregion are even surpassed by the baseline without experience replay. State-of-the-art results are obtained in Figure 3 (right) when experience is shared with trust-region in a PBT sweep.
|
| 226 |
+
|
| 227 |
+
Observe that this indicates parallel exploration benefits and saves memory at the same time: in our sweep of 10 replay agents the difference between $1 0 \times 1 0 \mathrm { M }$ (separate replays) and 10M (shared replay) is 10-fold. This effect would be even more pronounced with larger sweeps.
|
| 228 |
+
|
| 229 |
+
As discussed in section 2.3, the bias in V-trace occurs due to the clipping of importance ratios. A potential solution of reducing the bias would be to increase the $\bar { \rho }$ threshold to clip less aggressively and accept increased variance. Figure 4 in the appendix shows that this is not a solution.
|
| 230 |
+
|
| 231 |
+
# 5.5 EVALUATION ON ATARI
|
| 232 |
+
|
| 233 |
+
We apply our proposed agent to Atari which has been a long established suite to evaluate reinforcement algorithms (Bellemare et al., 2013). Since we focus on sample-efficient learning we present our results in comparison to prior work at 200M steps (Figure 1). Shared experience replay obtains even better performance than not shared experience replay. This confirms the efficient use of parallel exploration (Kretchmar, 2002). The fastest prior agent to reach $4 0 0 \%$ is presented by Kapturowski et al. (2019) requiring more than 3,000M steps. LASER with shared replay achieves $4 2 3 \%$ in 60M per agent. Given 200M steps it achieves $4 4 8 \%$ . We also present a single (no sweep) LASER agent that achieves $4 3 1 \%$ in 200M steps.
|
| 234 |
+
|
| 235 |
+
# 6 CONCLUSION
|
| 236 |
+
|
| 237 |
+
We have presented LASER β an off-policy actor-critic agent which employs a large and shared experience replay to achieve data-efficiency. By sharing experience between concurrently running experiments in a hyper-parameter sweep it is able to take advantage of parallel exploration. As a result it achieves state-of-the-art data efficiency on 57 Atari games given 200M environment steps. Furthermore it achieves competitive results on both DMLab-30 and Atari under regular, not shared experience replay conditions.
|
| 238 |
+
|
| 239 |
+
To facilitate this algorithm we have proposed two approaches: a) mixing replayed experience and on-policy data and b) a trust region scheme. We have shown theoretically and demonstrated through a series of experiments that they enable learning in strongly off-policy settings, which present a challenge for conventional importance sampling schemes.
|
| 240 |
+
|
| 241 |
+
# REFERENCES
|
| 242 |
+
|
| 243 |
+
Brandon Amos, Laurent Dinh, Serkan Cabi, Thomas RothΓΆrl, Sergio Gomez Colmenarejo, Alistair Muldal, Tom Erez, Yuval Tassa, Nando de Freitas, and Misha Denil. Learning awareness models. In ICLR, 2018.
|
| 244 |
+
|
| 245 |
+
Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. AAAI, 2017.
|
| 246 |
+
|
| 247 |
+
Charles Beattie, Joel Z. Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich KΓΌttler, Andrew Lefrancq, Simon Green, VΓctor ValdΓ©s, Amir Sadik, Julian Schrittwieser, Keith Anderson, Sarah York, Max Cant, Adam Cain, Adrian Bolton, Stephen Gaffney, Helen King, Demis Hassabis, Shane Legg, and Stig Petersen. Deepmind lab. Arxiv, abs/1612.03801, 2016.
|
| 248 |
+
|
| 249 |
+
Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The Arcade Learning Environment: An evaluation platform for general agents. JAIR, 2013.
|
| 250 |
+
|
| 251 |
+
Richard Bellman. A markovian decision process. Journal of Mathematics and Mechanics, 1957.
|
| 252 |
+
|
| 253 |
+
Andrew R. Conn, Nicholas I. M. Gould, and Philippe L. Toint. Trust-Region Methods. SIAM, Philadelphia, PA, USA, 2000.
|
| 254 |
+
|
| 255 |
+
Thomas Degris, Martha White, and Richard S. Sutton. Off-policy actor-critic. In ICML, 2012.
|
| 256 |
+
|
| 257 |
+
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, Shane Legg, and Koray Kavukcuoglu. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In ICML, 2018.
|
| 258 |
+
|
| 259 |
+
Audrunas Gruslys, Will Dabney, Mohammad Gheshlaghi Azar, Bilal Piot, Marc Bellemare, and Remi Munos. The reactor: A fast and sample-efficient actor-critic agent for reinforcement learning. In ICLR, 2018.
|
| 260 |
+
|
| 261 |
+
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In ICML, 2018.
|
| 262 |
+
|
| 263 |
+
Matteo Hessel, Joseph Modayil, Hado van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Daniel Horgan, Bilal Piot, Mohammad Gheshlaghi Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. Arxiv, abs/1710.02298, 2017.
|
| 264 |
+
|
| 265 |
+
Matteo Hessel, Hubert Soyer, Lasse Espeholt, Wojciech Czarnecki, Simon Schmitt, and Hado van Hasselt. Multi-task deep reinforcement learning with popart. In AAAI, 2019.
|
| 266 |
+
|
| 267 |
+
Todd Hester, Matej Vecerik, Olivier Pietquin, Marc Lanctot, Tom Schaul, Bilal Piot, Andrew Sendonaris, Gabriel Dulac-Arnold, Ian Osband, John Agapiou, Joel Z. Leibo, and Audrunas Gruslys. Learning from demonstrations for real world reinforcement learning. In AAAI, 2017.
|
| 268 |
+
|
| 269 |
+
Sepp Hochreiter and JΓΌrgen Schmidhuber. Long short-term memory. Neural Comput., 9(8):1735β 1780, November 1997. ISSN 0899-7667. doi: 10.1162/neco.1997.9.8.1735.
|
| 270 |
+
|
| 271 |
+
Dan Horgan, John Quan, David Budden, Gabriel Barth-Maron, Matteo Hessel, Hado van Hasselt, and David Silver. Distributed prioritized experience replay. In ICLR, 2018.
|
| 272 |
+
|
| 273 |
+
Max Jaderberg, Valentin Dalibard, Simon Osindero, Wojciech M. Czarnecki, Jeff Donahue, Ali Razavi, Oriol Vinyals, Tim Green, Iain Dunning, Karen Simonyan, Chrisantha Fernando, and Koray Kavukcuoglu. Population based training of neural networks. Arxiv, abs/1711.09846, 2017a.
|
| 274 |
+
|
| 275 |
+
Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. ICLR, 2017b.
|
| 276 |
+
|
| 277 |
+
Herman Kahn. Use of different monte carlo sampling techniques. Santa Monica, Calif., 1955.
|
| 278 |
+
|
| 279 |
+
Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H. Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, Ryan Sepassi, George Tucker, and Henryk Michalewski. Model-based reinforcement learning for atari. Arxiv, abs/1903.00374, 2019.
|
| 280 |
+
|
| 281 |
+
Steven Kapturowski, Georg Ostrovski, John Quan, Remi Munos, and Will Dabney. Recurrent experience replay in distributed reinforcement learning. In ICLR, 2019.
|
| 282 |
+
|
| 283 |
+
R.M Kretchmar. Parallel reinforcement learning. SCI2002. The 6th World Conference on Systemics, Cybernetics, and Informatics. Orlando, FL, 2002.
|
| 284 |
+
|
| 285 |
+
Guillaume Lample and Devendra Singh Chaplot. Playing FPS games with deep reinforcement learning. In AAAI, 2016.
|
| 286 |
+
|
| 287 |
+
Long-Ji Lin. Reinforcement Learning for Robots Using Neural Networks. PhD thesis, Pittsburgh, PA, USA, 1992. UMI Order No. GAX93-22750.
|
| 288 |
+
|
| 289 |
+
Daniel J. Mankowitz, Augustin ZΓdek, AndrΓ© Barreto, Dan Horgan, Matteo Hessel, John Quan, Junhyuk Oh, Hado van Hasselt, David Silver, and Tom Schaul. Unicorn: Continual learning with a universal, off-policy agent. Arxiv, abs/1802.08294, 2018.
|
| 290 |
+
|
| 291 |
+
Piotr Mirowski, Razvan Pascanu, Fabio Viola, Hubert Soyer, Andrew J. Ballard, Andrea Banino, Misha Denil, Ross Goroshin, Laurent Sifre, Koray Kavukcuoglu, Dharshan Kumaran, and Raia Hadsell. Learning to navigate in complex environments. In ICLR, 2017.
|
| 292 |
+
|
| 293 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin A. Riedmiller. Playing atari with deep reinforcement learning. Arxiv, abs/1312.5602, 2013.
|
| 294 |
+
|
| 295 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529β533, 2015.
|
| 296 |
+
|
| 297 |
+
Volodymyr Mnih, Adrià Puigdomènech Badia, Mehdi Mirza, Alex Graves, Timothy P. Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In ICML, 2016.
|
| 298 |
+
|
| 299 |
+
Andrew Moore and C. G. Atkeson. Prioritized sweeping: Reinforcement learning with less data and less real time. Machine Learning, 13, October 1993.
|
| 300 |
+
|
| 301 |
+
Remi Munos, Tom Stepleton, Anna Harutyunyan, and Marc Bellemare. Safe and efficient off-policy reinforcement learning. In NIPS. 2016.
|
| 302 |
+
|
| 303 |
+
Arun Nair, Praveen Srinivasan, Sam Blackwell, Cagdas Alcicek, Rory Fearon, Alessandro De Maria, Vedavyas Panneershelvam, Mustafa Suleyman, Charles Beattie, Stig Petersen, Shane Legg, Volodymyr Mnih, Koray Kavukcuoglu, and David Silver. Massively parallel methods for deep reinforcement learning. Arxiv, abs/1507.04296, 2015.
|
| 304 |
+
|
| 305 |
+
David S. Olton. Mazes, maps, and memory. American Psychologist, 1979.
|
| 306 |
+
|
| 307 |
+
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. Understanding the exploding gradient problem. Arxiv, abs/1211.5063, 2012.
|
| 308 |
+
|
| 309 |
+
Doina Precup, Richard S. Sutton, and Satinder P. Singh. Eligibility traces for off-policy policy evaluation. In ICML, 2000.
|
| 310 |
+
|
| 311 |
+
Martin Riedmiller. Neural fitted q iteration β first experiences with a data efficient neural reinforcement learning method. In ECML, 2005.
|
| 312 |
+
|
| 313 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. In ICLR, 2015.
|
| 314 |
+
|
| 315 |
+
Tom Schaul, Diana Borsa, Joseph Modayil, and Razvan Pascanu. Ray interference: a source of plateaus in deep reinforcement learning. 2019.
|
| 316 |
+
|
| 317 |
+
John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In Francis Bach and David Blei (eds.), Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 1889β1897, Lille, France, 07β09 Jul 2015. PMLR.
|
| 318 |
+
|
| 319 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. Arxiv, abs/1707.06347, 2017.
|
| 320 |
+
|
| 321 |
+
Richard S. Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artif. Intell., 112(1-2):181β211, August 1999. ISSN 0004-3702. doi: 10.1016/S0004-3702(99)00052-1.
|
| 322 |
+
|
| 323 |
+
Richard S. Sutton, Joseph Modayil, Michael Delp, Thomas Degris, Patrick M. Pilarski, Adam White, and Doina Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. Proc. of 10th Int. Conf. on Autonomous Agents and Multiagent Systems (AAMAS 2011), 2011.
|
| 324 |
+
|
| 325 |
+
Richard S. Sutton, Ashique Rupam Mahmood, Doina Precup, and Hado van Hasselt. A new $\mathsf { q } ( \lambda )$ with interim forward view and Monte Carlo equivalence. In ICML, 2014.
|
| 326 |
+
|
| 327 |
+
Richard S. Sutton, Andrew G. Barto, and Francis Bach. Reinforcement Learning: An Introduction. MIT press, 2018.
|
| 328 |
+
|
| 329 |
+
Gerald Tesauro. Temporal difference learning and td-gammon. Commun. ACM, 38(3):58β68, March 1995. ISSN 0001-0782. doi: 10.1145/203330.203343.
|
| 330 |
+
|
| 331 |
+
Edward C. Tolman. Cognitive maps in rats and men. The Psychological Review, 1948.
|
| 332 |
+
|
| 333 |
+
Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double Qlearning. In AAAI, 2016.
|
| 334 |
+
|
| 335 |
+
Ziyu Wang, Victor Bapst, Nicolas Heess, Volodymyr Mnih, Remi Munos, Koray Kavukcuoglu, and Nando de Freitas. Sample efficient actor-critic with experience replay. In ICLR, 2017.
|
| 336 |
+
|
| 337 |
+
Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. ML, 1992.
|
| 338 |
+
|
| 339 |
+
Zhongwen Xu, Hado P van Hasselt, and David Silver. Meta-gradient reinforcement learning. In NIPS. 2018.
|
| 340 |
+
|
| 341 |
+
Shangtong Zhang and Richard S. Sutton. A deeper look at experience replay. Arxiv, abs/1712.01275, 2017.
|
| 342 |
+
|
| 343 |
+
# APPENDIX A ADDITIONAL EXPERIMENTS
|
| 344 |
+
|
| 345 |
+
# A.1 REDUCED CLIPPING IN V-TRACE DOES NOT ENABLE SHARED EXPERIENCE REPLAY
|
| 346 |
+
|
| 347 |
+
Increasing the clipping constant $\bar { \rho }$ in $\mathrm { v } .$ -trace reduces bias in favour of increased variance. We investigate if reducing bias in this manner enables sharing experience replay between multiple agents in a hyper-parameter sweep. Figure 4 (left) shows that this is not a solution, thus motivating our trust region scheme.
|
| 348 |
+
|
| 349 |
+

|
| 350 |
+
Figure 4: Left: Increasing the V-trace clipping constant $\bar { \rho }$ does not enable shared experience replay. In fact sharing experience replay in this particular way is worse than pure online learning. This motivates the use of our proposed trust region scheme. On a side note, increased clipping thresholds resulting in worse performance verifies the importance of variance reduction through clipping. Right: Median human normalized performance across 30 tasks for the best agent in a sweep, averaged across 2 replicas. All replay experiments use $5 0 \%$ replay ratio and a capacity of 3 million observations. We investigate if uncorrected LSTM states can be used in combination with different replay modes. We consider uniform sampling and prioritization via the criticβs loss, and include both full $\begin{array} { r } { \beta = 1 } \end{array}$ ) and partial $\beta = 0 . 5$ ) importance corrections
|
| 351 |
+
|
| 352 |
+
A.2 PRIORITIZED AND UNIFORM EXPERIENCE REPLAY, LSTM STATES
|
| 353 |
+
|
| 354 |
+
With prioritized experience replay each transition $\tau$ is sampled with probability $P ( \tau ) \propto p _ { \tau } ^ { \alpha }$ , for a suitable unnormalized priority score $p _ { \tau }$ and a global tunable parameter $\alpha$ . It is common (Schaul et al., 2015; Horgan et al., 2018; Hessel et al., 2017) to then weight updates computed from that sample by $1 / P ( \tau ) ^ { \beta }$ for $0 < \beta \leq 1$ , where $\beta = 1$ fully corrects for the bias introduced in the state distribution. In one step temporal difference methods, typical priorities are based on the immediate TD-error, and are typically recomputed after a transition is sampled from replay. This means low priorities might stay low and get stale β even if the transition suddenly becomes relevant. To alleviate this issue, the sampling distribution is mixed with a uniform, as controlled by a third hyper parameter $\epsilon$ .
|
| 355 |
+
|
| 356 |
+
The performance of agents with prioritized experience replay can be quite sensitive to the hyperparameters $\alpha$ , $\beta$ , and $\epsilon$ .
|
| 357 |
+
|
| 358 |
+
A critical practical consideration is how to implement random access for recurrent memory agents such as agents using an LSTM. Prioritized agents sample a presumably interesting transition from the past. This transition may be at any position within the episode. To infer the correct recurrent memory-state at this environment-state all earlier environment-states within that episode would need to be replayed. A prioritized agent with a random access pattern would thus require costly LSTM refreshes for each sampled transition. If LSTM states are not recomputed representational missmatch (Kapturowski et al., 2019) occurs.
|
| 359 |
+
|
| 360 |
+
Sharing experience between multiple agents amplifies the issue of LSTM state representation missmatch. Here each agent has its own network parameters and the state representations between agents may be arbitrarily different.
|
| 361 |
+
|
| 362 |
+
As a mitigation Kapturowski et al. (2019) use a burn-in window or to initialize with a constant starting state. We note that those solutions can only partially mitigate the fundamental issue and that counter examples such as arbitrarily long T-Mazes (Tolman, 1948; Olton, 1979) can be constructed easily.
|
| 363 |
+
|
| 364 |
+
We thus advocate for uniform sampling. In our implementation we uniformly sample an episode. Then we replay each episode from the beginning, using the most recent network parameters to recompute the LSTM states along the way: this is particularly critical when sharing experience between different agents, which may have arbitrarily different state representations.
|
| 365 |
+
|
| 366 |
+
This solution is exact and cost-efficient as it only requires one additional forward pass for each learning step (forward $^ +$ backward pass).
|
| 367 |
+
|
| 368 |
+
An even more cost efficient approach would be to not refresh LSTM states at all. Naturally this comes at the cost of representational missmatch. However it would allow for an affordable implementation of prioritized experience replay. We investigate this in Figure 4 (right) and observe that it is not viable. We compare a baseline V-trace agent with no experience replay, one with uniform experience replay, and two different prioritized replay agents. We do not refresh LSTM states for any of the agents.
|
| 369 |
+
|
| 370 |
+
The uniform replay agent is more data efficient then the baseline, and also saturates at a higher level of performance. The best prioritized replay agent uses full importance sampling corrections ( $\begin{array} { r } { \beta = 1 , } \end{array}$ ). However it performs no higher than with uniform replay. We therefore we used uniform replay with full state correction for all our investigations in the paper.
|
| 371 |
+
|
| 372 |
+
# A.3 EVALUATION PROTOCOL
|
| 373 |
+
|
| 374 |
+
For evaluation, we average episode returns within buckets of 1M (Atari) and 10M (DMLab) environment steps for each agent instance, and normalize scores on each game by using the scores of a human expert and a random agent (van Hasselt et al., 2016). In the multi-task setting, we then define the performance of each agent as the median normalized score of all levels that the agent trains on. Given the use of population based training, we need to perform the comparisons between algorithms at the level of sweeps. We do so by selecting the best performing agent instance within each sweep at any time. Note that for the multi-task setting, our approach of first averaging across many episodes, then taking the median across games, on DMLab further downsampling to 100M env steps, and only finally selecting the maximum within the sweep, results in substantially lower variance than if we were to compute the maximum before the median and smoothing.
|
| 375 |
+
|
| 376 |
+
All DMLab-30 sweeps are repeated $3 \times$ with the exception of $\rho = 2$ and $\rho = 4$ in Figure 4. We then plot a shaded area between the point-wise best and worst replica and a solid line for the mean. Atari sweeps having 57 games are summarized and plotted by the median of the human-normalized scores.
|
| 377 |
+
|
| 378 |
+
# APPENDIX B ALGORITHM PSEUDOCODE
|
| 379 |
+
|
| 380 |
+
We present algorithm pseudocode for LASER with trust region (Algorithm 1). For clarity we present a version without LSTM and focus on the single agent case. The multi-agent case is a simple extension where all agents save to the same replay database and also sample from the same replay. Also each agent starts with different network parameters and hyper-parameters. The LSTM state recomputation can be achieved with Replayer Threads (nearly identical to Actor Threads) that sample entire epsiodes from replay, step through them while reevaluating the LSTM state and slice the experience into trajectories of length $T$ . Similar to regular LSTM Actor Threads from Espeholt et al. (2018) the Replayer Threads send each trajectory together with an LSTM state to the learning thread via a queue. The Learner Thread initializes the LSTM with the transmitted state when the LSTM is unrolled over the trajectory.
|
| 381 |
+
|
| 382 |
+
# Algorithm 1 Single Agent LASER with Trust Region
|
| 383 |
+
|
| 384 |
+
<table><tr><td>Initialize parameter vectors 0. Initialize Ο1 = 0. Actor Thread: while training is ongoing do</td></tr><tr><td>Sample trajectory unroll u = { t}tΞ΅{1...T} of length Tby acting in the environment using the latest Οk Where Tt = (St,at,rt, ΞΌt = Tk(St|-)). Enqueue u into Lerner Queue, wait if full. Add u into Replay Database.</td></tr><tr><td>Remove oldest trajectory if database has reached desired capacity limit. end while</td></tr><tr><td>Learner Thread: Given: Batch size B,online fraction Ξ±. for training iteration k do</td></tr><tr><td>Form training batch U = {ub}bβ{1,.,B} of B trajectories of length T, by dequeuing BΞ± trajectories from Lerner Queue and sampling B(1 -Ξ±) trajectories from Replay Database.</td></tr><tr><td>Evaluate the target policy Οk on the sampled transitions in U: i.e. Οk(Sb,tlΒ·). Compute behaviour relevance mask M with Mb,t = KL(Οk(Sb,tl-)llΞΌb,t) < b where ΞΌb,t, Sb,t are obtained from Ub,t Β·</td></tr><tr><td>Compute trust-region V-trace return Vt,b using 8 where XΟ,ΞΌ(Sb,t) = Mb,t. Let[Lv(0)lt,b=1(Vt,b-VΞΈ(st,b))Β². LetAt,b = Vt,b- VΞΈ(st,b) and [Lp(0)]t,b = pt,blog[Οe(St,b|at,b)]At,b,Where Ο is the clipped v-trace importance sampling ratio.</td></tr></table>
|
| 385 |
+
|
| 386 |
+
# APPENDIX C PROPOSITIONS
|
| 387 |
+
|
| 388 |
+
We have stated five propositions in our paper for which we provide proofs below.
|
| 389 |
+
|
| 390 |
+
Proposition 1. The V-trace value estimate $V ^ { \tilde { \pi } }$ is biased: It does not match the expected return of $\pi$ but the return of a related implied policy $\tilde { \pi }$ defined by equation 9 that depends on the behaviour policy $\mu$ :
|
| 391 |
+
|
| 392 |
+
$$
|
| 393 |
+
\tilde { \pi } _ { \mu } ( a | x ) = \frac { \operatorname* { m i n } \left[ \bar { \rho } \mu ( a | x ) , \pi ( a | x ) \right] } { \sum _ { b \in A } \operatorname* { m i n } \left[ \bar { \rho } \mu ( b | x ) , \pi ( b | x ) \right] }
|
| 394 |
+
$$
|
| 395 |
+
|
| 396 |
+
Proof. See Espeholt et al. (2018).
|
| 397 |
+
|
| 398 |
+
Proposition 2. The V-trace policy gradient is biased: given the the optimal value function $V ^ { * }$ the $V .$ -trace policy gradient does not converge to a locally optimal $\pi ^ { * }$ for all off-policy behaviour distributions $\mu$ .
|
| 399 |
+
|
| 400 |
+
Proof. Proof by contradiction:
|
| 401 |
+
|
| 402 |
+
Consider a tabular counter example with a single (locally) optimal policy at $s _ { t }$ given by $\pi ^ { * } ( s _ { t } ) =$ argmaxΟ $\textstyle \left[ \sum _ { a \in A } \pi ( a | s _ { t } ) Q ^ { * } ( a , s _ { t } ) \right]$ that always selects the action argmax $\mathbf { \Omega } _ { a } Q ^ { * } ( a , s _ { t } )$ .
|
| 403 |
+
|
| 404 |
+
Even in this ideal tabular setting V-trace policy gradient estimates a different $\tilde { \pi } ^ { * }$ rather than the optimal $\pi ^ { * }$ as follows
|
| 405 |
+
|
| 406 |
+
$$
|
| 407 |
+
\begin{array} { r l } { \nabla V ^ { * , \pi } ( s _ { t } ) = \mathbf { E } _ { \mu } \left[ \rho _ { t } ( r _ { t } + \gamma V ^ { * } ( s _ { t + 1 } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } & { } \\ & { = \mathbf { E } _ { \mu } \left[ \rho _ { t } Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \mu } \left[ \operatorname* { m i n } \left[ \frac { \pi ( a _ { t } | s _ { t } ) } { \mu ( a _ { t } | s _ { t } ) } , \bar { \rho } \right] Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \mu } \left[ \frac { \pi ( a _ { t } | s _ { t } ) } { \mu ( a _ { t } | s _ { t } ) } \operatorname* { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a _ { t } | s _ { t } ) } { \pi ( a _ { t } | s _ { t } ) } \right] Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \pi } \left[ \operatorname* { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a _ { t } | s _ { t } ) } { \pi ( a _ { t } | s _ { t } ) } \right] Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \pi } \left[ \operatorname* { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a _ { t } | s _ { t } ) } { \pi ( a _ { t } | s _ { t } ) } \right] Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \pi } \left[ \operatorname* { o r } ( s _ { t } , a _ { t } ) Q ^ { * } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \\ & { = \mathbf { E } _ { \pi } \left[ Q ^ { * , \pi } ( s _ { t } , a _ { t } ) \nabla \log \pi ( a _ { t } | s _ { t } ) \right] } \end{array}
|
| 408 |
+
$$
|
| 409 |
+
|
| 410 |
+
Observe how the optimal Q-function $Q ^ { * }$ is scaled by $\begin{array} { r } { \omega ( s _ { t } , a _ { t } ) = \operatorname* { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a _ { t } | s _ { t } ) } { \pi ( a _ { t } | s _ { t } ) } \right] \leq 1 } \end{array}$ resulting in implied state-action values $Q ^ { \ast , \omega }$ . This penalizes actions where $\mu ( a _ { t } | \bar { s } _ { t } ) \bar { \rho } < \pi ( a _ { t } \bar { | } s _ { t } )$ and makes V-trace greedy w.r.t. to the remaining ones. Thus $\mu$ can be chosen adversarially to corrupt the optimal state action value. Note that $\bar { \rho }$ is a constant typically chosen to be 1.
|
| 411 |
+
|
| 412 |
+
To prove the lemma consider a counter example such as an MDP with two actions and $Q ^ { * } = ( 2 , 5 )$ and $\mu = ( 0 . 9 , 0 . 1 )$ and initial $\pi = ( 0 . 5 , 0 . 5 )$ . Here the second action with expected return 5 is clearly favourable. Abusing notation $\mu / \pi = ( 1 . 8 , 0 . 2 )$ . Thus $Q ^ { \tilde { \pi } , \omega } = ( 2 * 1 , 5 * \bar { 0 . 2 } ) = ( 2 , 1 )$ . Therefore $\tilde { \pi } ^ { * } = ( 1 , 0 )$ wrongly selects the first action. β‘
|
| 413 |
+
|
| 414 |
+
Proposition 3. Mixing on-policy data into the V-trace policy gradient with the ratio $\alpha$ reduces the bias by providing a regularization to the implied state-action values. In the general function approximation case it changes the off-policy $V .$ -trace policy gradient from $\begin{array} { r l } { \sum _ { s } d ^ { \mu } ( s ) \mathbf { E } _ { \pi } \left[ ( Q ( s , a ) \nabla \log \pi ( a | s ) \right] } \end{array}$ to $\begin{array} { r l } { \sum _ { s } \mathbf { E } _ { \pi } \left[ Q ^ { \alpha } ( s , a ) \nabla \log ^ { - } \pi ( a | s ) \right] } \end{array}$ where $Q ^ { \alpha } = Q d ^ { \pi } ( s ) \alpha + Q ^ { \overline { { { \omega } } } } \bar { d } ^ { \mu } ( s ) ( 1 - \bar { \alpha } )$ is a regularized stateaction estimate and $d ^ { \pi }$ , $d ^ { \mu }$ are the state distributions for $\pi$ and $\mu$ . Note that there exists $\alpha \leq 1$ such that $Q ^ { \alpha }$ has the same argmax (i.e. best action) as $Q$ .
|
| 415 |
+
|
| 416 |
+
Proof. Note that the on-policy policy gradient is given by
|
| 417 |
+
|
| 418 |
+
$$
|
| 419 |
+
\nabla J _ { \mathrm { o n } } ( \pi ) = \sum _ { s } d ^ { \pi } ( s ) \mathbf { E } _ { \pi } \left[ Q ( s , a ) \nabla \log \pi ( a | s ) \right]
|
| 420 |
+
$$
|
| 421 |
+
|
| 422 |
+
Similarly the off-policy $\mathrm { V } .$ -trace gradient is given by
|
| 423 |
+
|
| 424 |
+
$$
|
| 425 |
+
\nabla J _ { \mathrm { o f f } } ( \pi ) = \sum _ { s } d ^ { \mu } ( s ) \mathbf { E } _ { \pi } \left[ \omega ( s , a ) Q ( s , a ) \nabla \log \pi ( a | s ) \right]
|
| 426 |
+
$$
|
| 427 |
+
|
| 428 |
+
with the V-trace distortion factor $\begin{array} { r } { \omega ( s _ { t } , a _ { t } ) = \operatorname* { m i n } \left[ 1 , \bar { \rho } \frac { \mu ( a _ { t } | s _ { t } ) } { \pi ( a _ { t } | s _ { t } ) } \right] \leq 1 } \end{array}$ that can de-emphasize action values and $Q ^ { \omega } ( s , a ) = \omega ( s , a ) Q ( s , a )$ .
|
| 429 |
+
|
| 430 |
+
The $\alpha$ -interpolation of both gradients can be transformed as follows:
|
| 431 |
+
|
| 432 |
+
$$
|
| 433 |
+
\begin{array} { r l } { \tau [ ( \alpha , \alpha + 1 ) - \alpha ] \dot { \alpha } \dot { \theta } _ { 0 } [ \dot { \varepsilon } ] = } & { \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ G _ { i } ^ { ( i ) } , G _ { i } ^ { ( i ) } , \varepsilon ] [ \Phi _ { i } [ \dot { \varepsilon } ] + \varepsilon _ { i } ^ { \prime } ( G _ { i } ^ { ( i ) } ) } \\ & { \mathrm { ( 1 ) } \quad \omega \dot { \varepsilon } ] \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ G _ { i } ^ { ( i ) } , \varepsilon ] [ \Phi _ { i } [ \dot { \varepsilon } ] \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } ] \varepsilon _ { i } \omega ^ { \prime } ] [ \dot { \varepsilon } ] } \\ & { - \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ G _ { i } ^ { ( i ) } , \omega ] \nabla [ \Phi _ { i } [ \dot { \varepsilon } ] \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } ] ] } \\ & { + \sum _ { i = 1 } ^ { N } \partial _ { i } ^ { ( j ) } [ \Phi _ { i } [ \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } _ { i } ] ] [ \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } ] ] } \\ & { - \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ G _ { i } ^ { ( i ) } , \varepsilon ] [ \Phi _ { i } [ \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } _ { i } ] ] ] } \\ & { + \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ G _ { i } ^ { ( i ) } , \varepsilon ] [ \Phi _ { i } [ \varepsilon _ { i } \omega ^ { \prime } ] [ \Phi _ { i } [ \dot { \varepsilon } _ { i } ] ] ] } \\ & - \sum _ { i = 1 } ^ { N } \dot { \varepsilon } [ \Phi _ { i } [ \varepsilon _ { i } ] [ \Phi _ { i } [ \varepsilon _ { i } ^ { \prime } ] - \varepsilon _ { i } [ \Phi _ { i } [ \varepsilon _ { i } ^ { \prime } ] ] [ \Phi _ { i } [ \varepsilon _ { i } ^ { \prime } ] ] [ \Phi _ { i } [ \varepsilon _ { i } \end{array}
|
| 434 |
+
$$
|
| 435 |
+
|
| 436 |
+
Interpretation of Proposition 3 As discussed in section 3 the $\mathrm { v } .$ -trace policy gradient will have the correct local fixpoint at state $s$ if the argmax of the state-value function is preserved despite the distortion: i.e. if $\begin{array} { r } { \operatorname { a r g m a x } _ { a } [ Q ( s , a ) ] = \operatorname { a r g m a x } _ { a } [ Q ^ { \omega } ( s , a ) ] } \end{array}$ . Respectively when mixing in an $\alpha \in [ 0 , 1 )$ share of online data the fixpoint will be preserved if
|
| 437 |
+
|
| 438 |
+
$$
|
| 439 |
+
\begin{array} { r } { \operatorname { a r g m a x } _ { a } [ Q ( s , a ) ] = \operatorname { a r g m a x } _ { a } [ Q ^ { \alpha } ( s , a ) ] } \end{array}
|
| 440 |
+
$$
|
| 441 |
+
|
| 442 |
+
Let $a ^ { * } = \operatorname { a r g m a x } _ { b } ( Q , b )$ be any best action and $A ^ { * }$ be set of best actions. Then equation 12 is equivalent to:
|
| 443 |
+
|
| 444 |
+
$$
|
| 445 |
+
Q ^ { \alpha } ( s , a ^ { * } ) > Q ^ { \alpha } ( s , b ) \forall b \notin A ^ { * }
|
| 446 |
+
$$
|
| 447 |
+
|
| 448 |
+
Using the definition of $Q ^ { \alpha }$ this can be rewritten as:
|
| 449 |
+
|
| 450 |
+
$$
|
| 451 |
+
Q ( s , a ^ { * } ) d ^ { \pi } ( s ) \alpha + Q ^ { \omega } ( s , a ^ { * } ) d ^ { \mu } ( s ) ( 1 - \alpha ) > Q ( s , b ) d ^ { \pi } ( s ) \alpha + Q ^ { \omega } ( s , b ) d ^ { \mu } ( s ) ( 1 - \alpha ) \forall b \notin A ^ { * }
|
| 452 |
+
$$
|
| 453 |
+
|
| 454 |
+
Which can be rearranged to:
|
| 455 |
+
|
| 456 |
+
$$
|
| 457 |
+
[ Q ( s , a ^ { * } ) d ^ { \pi } ( s ) - Q ( s , b ) d ^ { \pi } ( s ) ] \alpha > [ Q ^ { \omega } ( s , b ) d ^ { \mu } ( s ) - Q ^ { \omega } ( s , a ^ { * } ) d ^ { \mu } ( s ) ] ( 1 - \alpha ) \forall b \notin A ^ { * }
|
| 458 |
+
$$
|
| 459 |
+
|
| 460 |
+
By definition $Q ( s , a ^ { * } ) d ^ { \pi } ( s ) - Q ( s , b ) d ^ { \pi } ( s ) > 0 \forall b \notin A ^ { * }$ , hence:
|
| 461 |
+
|
| 462 |
+
$$
|
| 463 |
+
\frac { \alpha } { 1 - \alpha } > \frac { Q ^ { \omega } ( s , b ) - Q ^ { \omega } ( s , a ^ { * } ) } { Q ( s , a ^ { * } ) - Q ( s , b ) } \frac { d ^ { \mu } ( s ) } { d ^ { \pi } ( s ) } \forall b \notin { \cal A } ^ { * }
|
| 464 |
+
$$
|
| 465 |
+
|
| 466 |
+
It follows that the policy gradient will have the same local fixpoint if
|
| 467 |
+
|
| 468 |
+
$$
|
| 469 |
+
\frac { \alpha } { 1 - \alpha } > \operatorname* { m a x } _ { b \notin A ^ { * } } \left[ \frac { Q ^ { \omega } ( s , b ) - Q ^ { \omega } ( s , a ^ { * } ) } { Q ( s , a ^ { * } ) - Q ( s , b ) } \right] \frac { d ^ { \mu } ( s ) } { d ^ { \pi } ( s ) }
|
| 470 |
+
$$
|
| 471 |
+
|
| 472 |
+
Note that $\textstyle { \frac { \alpha } { 1 - \alpha } } \to \infty$ as $\alpha 1$ . Mixing-in more online data thus increases the left hand side. Also note that the right hand side decreases due to $d ^ { \mu } ( s ) / d ^ { \pi } ( s )$ if $\pi$ visits the state $s$ more often than $\mu$ . Furthermore the larger the action value gap in the real Q-function $Q ( s , a ^ { * } ) - Q ( s , b )$ the lower the right hand side. Finally the denominator will be negative if $\begin{array} { r } { \operatorname* { m a x } _ { b \notin { A ^ { * } } } [ Q ^ { \omega } ( s , b ) ] < Q ^ { \omega } ( s , a ^ { * } ) } \end{array}$ thus enabling correct learning even in the pure off-policy case with $\alpha = 0$ .
|
| 473 |
+
|
| 474 |
+
Note that all of those conditions can be computed and checked if an accurate Q-function and state distribution is accessible. How to use imperfect Q-function estimates to adaptively choose such an $\alpha$ remain a question for future research.
|
| 475 |
+
|
| 476 |
+
Proposition 4. Let that they all have th $G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } }$ be a set fix point mportance sampling estimaand contract with at least rs as defined in equation 7. Note. Then the contraction properties carry over to $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ . $I n$ particular $V ^ { \pi }$ $| V _ { \mathrm { t r u s t e d } } ^ { \pi } - V ^ { \pi } | _ { \infty } \leq \gamma | V - V ^ { \pi } | _ { \infty }$ $\gamma$ .
|
| 477 |
+
|
| 478 |
+
Proof. Let us consider the set of importance sampling estimators as defined in 7 and note that they all contract to the same fixed point $V ^ { \pi }$ with at least $\begin{array} { r } { \left| \mathbf { E } _ { \mu _ { z } | z } \left[ G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } } ( s ) \right] - V ^ { \pi } ( s ) \right| _ { \infty } \le } \end{array}$ $\gamma \left| V ( s ) - V ^ { \pi } ( s ) \right| _ { \infty }$ for any state $s$ .
|
| 479 |
+
|
| 480 |
+
By Minkowskiβs inequality the contraction properties of importance sampled Monte-Carlo bootstraps carry over to $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ which is a $p ( z | \mu _ { z } \in \mathbf { \bar { M } } _ { \beta , \pi } ( s _ { t } ) )$ weighted average:
|
| 481 |
+
|
| 482 |
+
$$
|
| 483 |
+
\begin{array} { r l } & { \left| V _ { \mathrm { t r u s t e d } } ^ { \pi } ( s ) - V ^ { \pi } ( s ) \right| _ { \infty } = \left| \mathbf E _ { z } \Big [ \mathbf E _ { \mu _ { z } | z } \left[ G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } } ( s ) \right] \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] - V ^ { \pi } ( s ) \right| _ { \infty } } \\ & { \qquad = \Big | \mathbf E _ { z } \Big [ \mathbf E _ { \mu _ { z } | z } \left[ G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } } ( s ) \right] - V ^ { \pi } ( s ) \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] \Big | _ { \infty } } \\ & { \qquad \le \mathbf E _ { z } \Big [ \left| \mathbf E _ { \mu _ { z } | z } \left[ G _ { \mathrm { I S } } ^ { \pi , \mu _ { z } } ( s ) \right] - V ^ { \pi } ( s _ { t } ) \right| _ { \infty } \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] } \\ & { \qquad < \mathbf E _ { z } \Big [ \gamma | V ( s ) - V ^ { \pi } ( s ) | _ { \infty } \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] } \\ & { \qquad = \gamma \left| V ( s ) - V ^ { \pi } ( s ) \right| _ { \infty } } \end{array}
|
| 484 |
+
$$
|
| 485 |
+
|
| 486 |
+
Proposition 5. Let $G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } }$ be a set of $V .$ -trace estimators (see equation 8) with corresponding fixed points (see equation $\cdot$ ) to which they contract at a speed of an algorithm and behaviour specific $\eta _ { z }$ . Then $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ moves towards $V ^ { \beta ^ { * } } = \mathbf { { E } } _ { z \mid \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \left[ \tilde { V ^ { z } } \right]$ shrinking the distance as follows $\begin{array} { r } { \big | V _ { \mathrm { t r u s t e d } } ^ { \pi } - V ^ { \beta } \big | _ { \infty } < \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } | \eta _ { z } ( V - V ^ { z } ) | _ { \infty } \leq \eta _ { \operatorname* { m a x } } \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } | ( V - V ^ { z } ) | _ { \infty } } \end{array}$ with $\eta _ { \mathrm { m a x } } = \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \eta _ { z }$ .
|
| 487 |
+
|
| 488 |
+
Proof. Recall the contraction properties of a $\mathbf { V }$ -trace importance sampled Monte-Carlo bootstraps $G _ { \mathrm { V t r a c e } } ^ { \pi , \bar { \mu } _ { z } }$ being
|
| 489 |
+
|
| 490 |
+
$$
|
| 491 |
+
\left| \mathbf { E } _ { \mu _ { z } | z } \left[ G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } } ( s ) \right] - V ^ { z } ( s ) \right| _ { \infty } < \eta _ { z } \left| V ( s ) - V ^ { z } ( s ) \right| _ { \infty }
|
| 492 |
+
$$
|
| 493 |
+
|
| 494 |
+
for an algorithm and behaviour specific $\eta _ { z } ~ < ~ 1$ for a $z$ dependent fixed point $V ^ { z }$ and for any bootstrap $V$ . We then show that $V _ { \mathrm { t r u s t e d } } ^ { \pi }$ moves towards the weighted average of fixed points $V ^ { \beta } = \mathbf { E } _ { z | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \left[ V ^ { z } \right]$ , since
|
| 495 |
+
|
| 496 |
+
$$
|
| 497 |
+
\big | V _ { \mathrm { t r u s t e d } } ^ { \pi } ( s ) - V ^ { \beta } ( s ) \big | _ { \infty } < \eta _ { \mathrm { m a x } } \operatorname* { m a x } _ { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } \big | V ( s ) - V ^ { z } ( s ) \big | _ { \infty }
|
| 498 |
+
$$
|
| 499 |
+
|
| 500 |
+
holds for any bootstrap function $V$ as we show below.
|
| 501 |
+
|
| 502 |
+
$$
|
| 503 |
+
\begin{array} { r l } & { | V _ { \mathrm { t r u s t e d } } ^ { \pi } ( s ) - V ^ { \beta } ( s ) | _ { \infty } = | \mathbf { E } _ { z } \Big [ \mathbf { E } _ { \mu _ { z } | z } \big [ G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } } ( s ) \big ] - V ^ { z } ( s ) \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] | _ { \infty } } \\ & { \qquad \leq \mathbf { E } _ { z } [ | \mathbf { E } _ { \mu _ { z } | z } \big [ G _ { \mathrm { V t r a c e } } ^ { \pi , \mu _ { z } } ( s ) \big ] - V ^ { z } ( s ) \big | _ { \infty } \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) ] } \\ & { \qquad < \mathbf { E } _ { z } \Big [ \big | \eta _ { z } \big ( V ( s ) - V ^ { z } ( s ) \big ) \big | _ { \infty } \Big | \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) \Big ] } \\ & { \qquad \leq \underset { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } { \operatorname* { m a x } } \big | \eta _ { z } \big ( V ( s ) - V ^ { z } ( s ) \big ) \big | _ { \infty } } \\ & { \qquad \leq \eta _ { \operatorname* { m a x } } \underset { \mu _ { z } \in M _ { \beta , \pi } ( s _ { t } ) } { \operatorname* { m a x } } \big | V ( s ) - V ^ { z } ( s ) \big | _ { \infty } } \end{array}
|
| 504 |
+
$$
|
| 505 |
+
|
| 506 |
+
# APPENDIX D DETAILED ATARI RESULTS
|
| 507 |
+
|
| 508 |
+
We display the Atari per-level performance of various agents at 50M and 200M environment steps in Table 2. The scores correspond to the agents presented in Figure 1. The LASER scores are computed by averaging the last 100 episode returns before 50M or respectively 200M environment frames have been experienced. Following the procedure defined by Mnih et al. (2015) we initialize the environment with a random number of no-op actions (up to 37 in our case). Again following Mnih et al. (2015) episodes are terminated after 30 minutes of gameplay. Note that Xu et al. (2018) have not published per-level scores. Rainbow scores are obtained from Hessel et al. (2017).
|
| 509 |
+
|
| 510 |
+
Table 2: Per level performance of various agents at 50M and 200M environment steps (see Figure 1).
|
| 511 |
+
|
| 512 |
+
<table><tr><td rowspan="2">Game</td><td rowspan="2">LASER Shared (sweep at 50M)</td><td rowspan="2">LASERShared (sweep at 200M)</td><td rowspan="2">LASER (no sweep at 200M)</td><td rowspan="2">Rainbow (no sweep at 200M)</td></tr><tr><td></td></tr><tr><td>alien</td><td>18635.3</td><td>18277.3</td><td>35565.9</td><td>9491.7</td></tr><tr><td>amidar</td><td>1838.3</td><td>2695</td><td>1829.2</td><td>5131.2</td></tr><tr><td>assault</td><td>26027.1</td><td>40603.2</td><td>21560.4</td><td>14198.5</td></tr><tr><td>asterix</td><td>496735.0</td><td>240770</td><td>240090</td><td>428200</td></tr><tr><td>asteroids</td><td>232651</td><td>257420.1</td><td>213025</td><td>2712.8</td></tr><tr><td>atlantis</td><td>889934.0</td><td>866584</td><td>841200</td><td>826660</td></tr><tr><td>bank_heist</td><td>1333.1</td><td>1712.8</td><td>569.4</td><td>1358</td></tr><tr><td>battle_zone</td><td>66900</td><td>131880.0</td><td>64953.3</td><td>62010</td></tr><tr><td>beam_rider</td><td>80830.5</td><td>125795.2</td><td>90881.6</td><td>16850.2</td></tr><tr><td>berzerk</td><td>46651.6</td><td>64513.1</td><td>25579.5</td><td>2545.6</td></tr><tr><td>bowling</td><td>42.4</td><td>47.4</td><td>48.3</td><td>30</td></tr><tr><td>boxing</td><td>99.8</td><td>99.4</td><td>100.0</td><td>99.6</td></tr><tr><td>breakout</td><td>852.5</td><td>850.3</td><td>747.9</td><td>417.5</td></tr><tr><td>centipede</td><td>208008</td><td>409702.8</td><td>292792</td><td>8167.3</td></tr><tr><td>chopper_command</td><td>24814</td><td>727333</td><td>761699.0</td><td>16654</td></tr><tr><td>crazy_climber</td><td>160494</td><td>88818</td><td>167820</td><td>168788.5</td></tr><tr><td>defender</td><td>355447</td><td>369397.0</td><td>336953</td><td>55105</td></tr><tr><td>demon_attack</td><td>133557</td><td>138000.6</td><td>133530</td><td>111185</td></tr><tr><td>double_dunk</td><td>0.1</td><td>23.5</td><td>14</td><td>-0.3</td></tr><tr><td>enduro</td><td>0</td><td>0</td><td>0</td><td>2125.9</td></tr><tr><td>fishing_derby</td><td>45.4</td><td>62.6</td><td>45.2</td><td>31.3</td></tr><tr><td>freeway</td><td>34.0</td><td>34.0</td><td>0</td><td>34.0</td></tr><tr><td>frostbite</td><td>5297.4</td><td>2230.8</td><td>5083.5</td><td>9590.5</td></tr><tr><td>gopher</td><td>86222.2</td><td>39721.2</td><td>114820.7</td><td>70354.6</td></tr><tr><td>gravitar</td><td>1360.5</td><td>2812.0</td><td>1106.2</td><td>1419.3</td></tr><tr><td>hero</td><td>30159.2</td><td>36510.6</td><td>31628.7</td><td>55887.4</td></tr><tr><td>ice_hockey</td><td>20.2</td><td>38.7</td><td>17.4</td><td>1.1</td></tr><tr><td>jamesbond</td><td>21663</td><td>60402.5</td><td>37999.8</td><td>19809</td></tr><tr><td>kangaroo</td><td>13932</td><td>14187</td><td>14308</td><td>14637.5</td></tr><tr><td>krull</td><td>9559.3</td><td>5743.6</td><td>9387.5</td><td>8741.5</td></tr><tr><td>kung_fu_master</td><td>65032</td><td>81792</td><td>607443.0</td><td>52181</td></tr><tr><td>montezuma_revenge</td><td>1</td><td>1</td><td>0.3</td><td>384.0</td></tr><tr><td>ms_pacman</td><td>6089.3</td><td>6890.7</td><td>6565.5</td><td>5380.4</td></tr><tr><td>name_this_game</td><td>25998.9</td><td>27910.7</td><td>26219.5</td><td>13136</td></tr><tr><td>phoenix</td><td>458355</td><td>628711.6</td><td>519304</td><td>108529</td></tr><tr><td>pitfall</td><td>-0.2</td><td>-0.2</td><td>-0.6</td><td>0.0</td></tr><tr><td>pong</td><td>21.0</td><td>21.0</td><td>21.0</td><td>20.9</td></tr><tr><td>private_eye</td><td>100</td><td>100</td><td>96.3</td><td>4234.0</td></tr><tr><td>qbert</td><td>20283.8</td><td>24600.8</td><td>21449.6</td><td>33817.5</td></tr><tr><td>riverraid</td><td>24138.1</td><td>35491.5</td><td>40362.7</td><td>22920.8</td></tr><tr><td>road_runner</td><td>52942</td><td>63762.0</td><td>45289</td><td>62041</td></tr><tr><td>robotank</td><td>63.6</td><td>67.8</td><td>62.1</td><td>61.4</td></tr><tr><td>seaquest</td><td>1802.2</td><td>557213.3</td><td>2890.3</td><td>15898.9</td></tr><tr><td>skiing</td><td>-8904.8</td><td>-8980.1</td><td>-29968.4</td><td>-12957.8</td></tr><tr><td>solaris</td><td>2222.4</td><td>3017.6</td><td>2273.5</td><td>3560.3</td></tr><tr><td>space_invaders</td><td>36071.4</td><td>53124.3</td><td>51037.4</td><td>18789</td></tr><tr><td>star_gunner</td><td>331327</td><td>602540.0</td><td>321528</td><td>127029</td></tr><tr><td>surround</td><td>9.8</td><td>9.8</td><td>8.4</td><td>9.7</td></tr><tr><td>tennis</td><td>0</td><td>0</td><td>12.2</td><td>0</td></tr><tr><td>time_pilot</td><td>77899</td><td>113603.0</td><td>105316</td><td>12926</td></tr><tr><td>tutankham</td><td>251.8</td><td>268.5</td><td>278.9</td><td>241</td></tr><tr><td>up_n_down</td><td>341988</td><td>368586.5</td><td>345727</td><td>125755</td></tr><tr><td>venture</td><td>0</td><td>0</td><td>0</td><td>5.5</td></tr><tr><td>video_pinball</td><td>513121</td><td>397451</td><td>511835</td><td>533936.5</td></tr><tr><td>wizard_of_wor</td><td>22280</td><td>45335.0</td><td>29059.3</td><td>17862.5</td></tr><tr><td>yars_revenge</td><td>145055</td><td>144370</td><td>166292.3</td><td>102557</td></tr><tr><td>zaxxon</td><td>50486</td><td>106862.0</td><td>41118</td><td>22209.5</td></tr></table>
|
parse/train/HygaikBKvS/HygaikBKvS_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygaikBKvS/HygaikBKvS_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygaikBKvS/HygaikBKvS_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K5YasWXZT3O/K5YasWXZT3O.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K5YasWXZT3O/K5YasWXZT3O_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K5YasWXZT3O/K5YasWXZT3O_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/K5YasWXZT3O/K5YasWXZT3O_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJzR2iRcK7/SJzR2iRcK7.md
ADDED
|
@@ -0,0 +1,338 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MULTI-CLASS CLASSIFICATION WITHOUT MULTICLASS LABELS
|
| 2 |
+
|
| 3 |
+
Yen-Chang $\mathbf { H s u ^ { 1 } }$ , Zhaoyang $\mathbf { L } \mathbf { v } ^ { 1 }$ , Joel Schlosser2, Phillip Odom2, and Zsolt Kira12
|
| 4 |
+
|
| 5 |
+
1Georgia Institute of Technology 2Georgia Tech Research Institute 1{yenchang.hsu,zhaoyang.lv,zkira}@gatech.edu 2{joel.schlosser,phillip.odom}@gtri.gatech.edu
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
This work presents a new strategy for multi-class classification that requires no class-specific labels, but instead leverages pairwise similarity between examples, which is a weaker form of annotation. The proposed method, meta classification learning, optimizes a binary classifier for pairwise similarity prediction and through this process learns a multi-class classifier as a submodule. We formulate this approach, present a probabilistic graphical model for it, and derive a surprisingly simple loss function that can be used to learn neural network-based models. We then demonstrate that this same framework generalizes to the supervised, unsupervised cross-task, and semi-supervised settings. Our method is evaluated against state of the art in all three learning paradigms and shows a superior or comparable accuracy, providing evidence that learning multi-class classification without multi-class labels is a viable learning option.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
One of the most common settings for machine learning is classification, which involves learning a function $f$ to map the input data $x$ to a class label $y \in \{ 1 , 2 , . . , C \}$ . The most successful method for learning such a function is deep neural networks, owing its popularity to its capability to approximate a complex nonlinear mapping between high-dimensional data (e.g. images) and the classes. Despite the success of deep learning, a neural network demands a large amount of class-specific labels for learning a discriminative model, i.e. $P ( y | x )$ . This type of labeling can be expensive to collect, requires a-priori knowledge of all classes, and limits the form of supervision required. For example, the classes may be ambiguous or non-expert human annotators may be able to more easily provide information about whether two instances are of the same class or not, rather than identifying the specific class. A final problem is that different methods are necessary depending on what type of data is available, ranging from supervised learning (known classes) to cross-task unsupervised learning (unknown classes in the target domain) and semi-supervised learning (mix of labeled and unlabeled with known classes). Unsupervised learning with unknown classes is especially difficult to support.
|
| 14 |
+
|
| 15 |
+
To relax these limitations, we propose to reduce the problem of classification to a meta problem that underlies a set of learning problems. Instead of solving the target task directly (learning a multi-class discriminative model such as a neural network), we instead learn a model that does not require explicit class label $y$ but rather a weaker form of information. In the context of classification, the meta problem that we use is a binary decision problem. Note that such a conversion to a different task (e.g. binary) is called a problem reduction method (Allwein et al., 2000) which has had a long history in the literature, especially in ensemble methods and binarization techniques (Galar et al., 2011). The most well-known strategies are "one-vs-all" (Anand et al., 1995; Rifkin & Klautau, 2004) and "one-vs-one" (Knerr et al., 1990; Hastie & Tibshirani, 1998; Wu et al., 2004). Although they have varied ensembling strategies, all of them share the same task encapsulating scheme, as illustrated in Figure 1a; specifically the binary classifiers are the sub-modules of a multi-class classifier (i.e. the multi-class classifier consists of multiple binary classifiers). These schemes still require that the class label $y$ be available to create the inputs for each binary classifier, and therefore these strategies do not relax the labeling requirements mentioned earlier.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Problem reduction schemes for multi-class classification. This work proposes scheme (b), which introduces a binary classifier that captures $s _ { i j }$ . Note that $s _ { i j }$ represents the probability that $x _ { i }$ and $x _ { j }$ belong to the same class.
|
| 19 |
+
|
| 20 |
+
In this work, we propose a novel strategy to address the above limitations. Our method reverses the task encapsulation order so that a multi-class classifier becomes a sub-module of a binary classifier, as illustrated in Figure 1b. The connection between the two classifiers is elucidated in Section 3. There are two highlights in Figure 1b. First, class labels $y _ { i }$ are not required in the learning stage. Instead, our method uses pairs of data $( x _ { i } , x _ { j } )$ as input and pairwise similarity $s _ { i j }$ for the supervision. Second, there is only one binary classifier in the scheme and it is present only during the training stage. In other words, the ephemeral binary task assists the learning of a multi-class classifier without being involved in the inference. When using a neural network with softmax outputs for the multi-class classifier, the proposed scheme can learn a discriminative model with only pairwise information.
|
| 21 |
+
|
| 22 |
+
We specifically make the following contributions: 1) We analyze the problem setting and show that the loss we can use for this encapsulation can be easily derived, and we present an intuitive probabilistic graphical model interpretation for doing so, 2) We evaluate its performance compared to vanilla supervised learning of neural networks which uses multi-class labels, and visualize the loss landscape to better understand the underlying optimization difficulty, and 3) We demonstrate support for learning classifiers in more challenging problem domains, e.g. in unsupervised cross-task transfer and semi-supervised learning. We show how our meta classification framework can support all three learning paradigms, and evaluate it against several state-of-the-art methods. The experimental results show that the same meta classification approach is superior or comparable to state of the art across the three problem domains (supervised learning, unsupervised cross-task learning, and semi-supervised learning), demonstrating flexibility to support even unknown types and numbers of classes.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORK
|
| 25 |
+
|
| 26 |
+
Supervised learning and problem reduction: Allwein et al. (2000) presents a unifying framework for multi-class classification by reducing it to multiple binary problems. The concepts for achieving such reduction, one-vs-all and one-vs-one, have been widely adopted and analyzed (Galar et al., 2011). The two strategies have been used to create several popular algorithms, such as variants of support vector machine (Weston & Watkins, 1998), AdaBoost (Freund & Schapire, 1997; Schapire & Singer, 1999), and decision trees (FΓΌrnkranz, 2003). Despite the long history of reduction, our proposed scheme (Figure 1b) has not been explored. Furthermore, the scheme can be deployed easily by replacing the learning objective, which is fully compatible with deep neural networks for classification, a desirable property for broad applicability.
|
| 27 |
+
|
| 28 |
+
Unsupervised cross-task transfer learning: This learning scheme is proposed by Hsu et al. (2018). The method transfers the pairwise similarity as the meta knowledge to an unlabeled dataset of different classes. It then uses a constrained clustering algorithm with predicted pairwise constraints (binarized pairwise similarity) to discover the unseen classes. This learning scheme shares the same supervision (pairwise similarity) as ours, and therefore relates our method to constrained clustering algorithms. One class of such approaches uses the constraints to learn a distance metric, and then applies a generic clustering algorithm such as K-means or hierarchical clustering to obtain the cluster assignments. This includes DML (Xing et al., 2003), ITML (Davis et al., 2007), SKMS (Anand et al., 2014), SKKm (Anand et al., 2014; Amid et al., 2016), and SKLR (Amid et al., 2016). The second class of methods incorporates the constraints into the cluster assignment objective. Some constrained spectral clustering algorithms, e.g. CSP (Wang et al., 2014) and COSC (Rangapuram & Hein, 2012) use this strategy. There are also approaches combine both distance metric learning and a clustering objective jointly, such as MPCKMeans (Bilenko et al., 2004), CECM (Antoine et al., 2012), and KullbackβLeibler divergence based contrastive loss (KCL) (Hsu & Kira, 2016; Hsu et al., 2018). Our new learning objective for Figure 1b can replace the above objectives in the cross-task transfer learning scheme.
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 2: Graphical representation for the meta classification task; $X _ { i }$ represents the node of input data, $Y _ { i }$ represents the class label, $S _ { i j }$ is pairwise similarity between instances $i$ and $j$ , and $\theta$ represents the neural network parameters.
|
| 32 |
+
|
| 33 |
+
Semi-supervised learning: Our meta classification strategy can easily plug into a semi-supervised learning scheme. Our comparison focuses on state-of-the-art methods which solely involve adding a consistency regularization (Laine & Aila, 2017; Sajjadi et al., 2016; Miyato et al., 2018; Tarvainen & Valpola, 2017) or Pseudo-Labeling (Lee, 2013) for training a neural network. Another line of strategy combines weak supervision, such as similar pairs, and unlabeled data to learn a binary classifier (Bao et al., 2018). We present a new method by augmenting Figure 1b with the Pseudo-Labeling strategy.
|
| 34 |
+
|
| 35 |
+
# 3 META CLASSIFICATION LEARNING
|
| 36 |
+
|
| 37 |
+
A natural way to analyze problems with observed and unobserved information is through a probabilistic graphical model. In figure 2, we show the graphical model for our problem, where classspecific labels $Y$ are latent while pairwise similarities $S$ are observed. Specifically, we denote $\mathbf { X } = \{ X _ { 1 } , . . , X _ { n } \}$ , $\mathbf { Y } = \{ Y _ { 1 } , . . , Y _ { n } \}$ , and $\mathbf { S } = \{ S _ { i j } \} _ { 1 \leq i , j \leq n }$ to represent the nodes for samples, class labels, and pairwise similarities, respectively. In the model, we have $Y _ { i } \in \{ 1 , 2 , . . , C \}$ and $S _ { i j } \in \{ 0 , 1 \}$ . Then we have $\mathsf { P } ( S _ { i j } = 1 | Y _ { i } , Y _ { j } ) = 1$ when $Y _ { i } = Y _ { j }$ and zero probability otherwise; similarly, $\bar { \mathsf { P } } ( S _ { i j } = 0 | Y _ { i } , Y _ { j } ) = \bar { 1 }$ when $Y _ { i } \neq Y _ { j }$ . The output of a discriminative classifier with parameters $\theta$ is $f ( x _ { i } ; \theta ) = \mathsf { P } ( Y _ { i } | x _ { i } ; \theta )$ , where $f ( \overline { { \boldsymbol { x } } } _ { i } ; \boldsymbol { \theta } )$ outputs a categorical distribution. Now we describe the likelihood that the model explains the observed labeling (either with class labeling or pairwise labeling).
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
\mathcal { L } ( \boldsymbol { \theta } ; \mathbf { X } , \mathbf { Y } , \mathbf { S } ) = \mathbb { P } ( \mathbf { X } , \mathbf { Y } , \mathbf { S } ; \boldsymbol { \theta } ) = \mathbb { P } ( \mathbf { S } | \mathbf { Y } ) \mathbb { P } ( \mathbf { Y } | \mathbf { X } ; \boldsymbol { \theta } ) \mathbb { P } ( \mathbf { X } )
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
When $\mathbf { S }$ is fully observed while $\mathbf { Y }$ is unknown, calculating the likelihood requires marginalizing $\mathbf { Y }$ by computing $\begin{array} { r l } { \sum _ { \mathbf { Y } } \mathbb { P } ( \mathbf { S } | \mathbf { Y } ) \mathbb { P } ( \mathbf { Y } | \mathbf { X } ; \boldsymbol { \theta } ) } & { { } } \end{array}$ , which is intractable. The pairwise term $\begin{array} { r } { \mathsf { P } ( \mathbf { S } | \mathbf { Y } ) = } \end{array}$ $\begin{array} { r } { \prod _ { i , j } \mathbb { P } ( S _ { i j } | Y _ { i } , Y _ { j } ) } \end{array}$ makes all $Y _ { i }$ dependent on each other and prohibits efficient factorization. Thus, we approximate the computation by imposing additional independences such that $S i j \perp \bf { S } \backslash \{ \it { S } _ { i j } \} \lvert \it { X } _ { i } , \it { X } _ { j }$ (see Appendix $\mathbf { D }$ for a discussion of these). Now we can compute the likelihood with the observed nodes $X _ { i } = x _ { i }$ and $S _ { i j } = s _ { i j }$ :
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\begin{array} { r l } & { { \mathcal { L } } ( \boldsymbol { \theta } ; \mathbf { X } , \mathbf { S } ) \approx \displaystyle \sum _ { \mathbf { Y } } \mathbb { P } ( \mathbf { S } | \mathbf { Y } ) \mathbb { P } ( \mathbf { Y } | \mathbf { X } ; \boldsymbol { \theta } ) } \\ & { \quad \quad \approx \displaystyle \prod _ { i , j } \Big ( \displaystyle \sum _ { Y _ { i } = Y _ { j } } \mathbb { 1 } \big [ s _ { i j } = \boldsymbol { 1 } ] \mathbb { P } ( Y _ { i } | x _ { i } ; \boldsymbol { \theta } ) \mathbb { P } ( Y _ { j } | x _ { j } ; \boldsymbol { \theta } ) + } \\ & { \quad \quad \quad \displaystyle \sum _ { Y _ { i } \neq Y _ { j } } \mathbb { 1 } \big [ s _ { i j } = 0 \big ] \mathbb { P } ( Y _ { i } | x _ { i } ; \boldsymbol { \theta } ) \mathbb { P } ( Y _ { j } | x _ { j } ; \boldsymbol { \theta } ) \Big ) . } \end{array}
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
Equation (2) omits the $\mathtt { P } ( \mathbf { X } )$ since $\mathbf { X }$ are observed leaf nodes. It is straightforward to take a negative logarithm on equation 3 and derive a loss function:
|
| 50 |
+
|
| 51 |
+
$$
|
| 52 |
+
\begin{array} { l } { \displaystyle { L _ { m e t a } ( \theta ) = - \sum _ { i , j } \log \bigg ( \sum _ { Y _ { i } = Y _ { j } } \mathbb { I } [ s _ { i j } = 1 ] \mathbb { P } ( Y _ { i } | x _ { i } ; \theta ) \mathbb { P } ( Y _ { j } | x _ { j } ; \theta ) + } } \\ { \displaystyle { \sum _ { Y _ { i } \neq Y _ { j } } \mathbb { I } [ s _ { i j } = 0 ] \mathbb { P } ( Y _ { i } | x _ { i } ; \theta ) \mathbb { P } ( Y _ { j } | x _ { j } ; \theta ) \bigg ) } } \\ { = - \sum _ { i , j } s _ { i j } \log ( f ( x _ { i } ; \theta ) ^ { T } f ( x _ { j } ; \theta ) ) + ( 1 - s _ { i j } ) \log ( 1 - f ( x _ { i } ; \theta ) ^ { T } f ( x _ { j } ; \theta ) ) . } \end{array}
|
| 53 |
+
$$
|
| 54 |
+
|
| 55 |
+
Then we define the function $g$ by the probability of having the same class label, which is calculated by the inner product between two categorical distributions:
|
| 56 |
+
|
| 57 |
+
$$
|
| 58 |
+
g ( x _ { i } , x _ { j } , f ( \cdot , \theta ) ) = f ( x _ { i } ; \theta ) ^ { T } f ( x _ { j } ; \theta ) = \hat { s } _ { i j }
|
| 59 |
+
$$
|
| 60 |
+
|
| 61 |
+
Here we use $\hat { s } _ { i j }$ to denote the predicted similarity (as opposed to ground truth similarity $s _ { i j }$ ). By plugging equation 6 into equation 5, $L _ { m e t a }$ has the form of a binary cross-entropy loss:
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
L _ { m e t a } = - \sum _ { i , j } s _ { i j } \log \hat { s } _ { i j } + ( 1 - s _ { i j } ) \log ( 1 - \hat { s } _ { i j } ) .
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
In Figure 1b, the multi-class classifier corresponds to $f$ while the binary classifier corresponds to $g$ . In other words, it is surprisingly simple to wrap a multi-class classifier by a binary classifier as described above. Since there are no learnable parameters in $g$ , the weights optimized with the meta criterion $L _ { m e t a }$ are all in the neural network $f$ . To minimize $L _ { m e t a }$ , $f ( x _ { i } ; \theta )$ and $f ( x _ { j } ; \theta )$ must output a sharply peaked distribution with the peak happening only at the same output node when $s _ { i j } = 1$ In the case of $s _ { i j } = 0$ , the two distributions must have as little overlap as possible to minimize the loss. In the latter case, the two samples are pushed to be activated at the output nodes of different classes. Both properties of $f$ βs output distribution are typical characteristics of a classifier learned with class labels and using multi-class cross-entropy. The properties also illustrate the intuition of why minimizing $L _ { m e t a }$ helps $f$ learn outputs similar to a multi-class classifier.
|
| 68 |
+
|
| 69 |
+
Lastly, because of the likelihood nature of $L _ { m e t a }$ , we call the learning criterion a Meta Classification Likelihood (MCL) in the rest of the paper.
|
| 70 |
+
|
| 71 |
+
# 4 LEARNING PARADIGMS
|
| 72 |
+
|
| 73 |
+
The supervision used in MCL is the pairwise labeling $S$ . Due to its weaker form compared to class labels, we have the flexibility to collect it in a supervised, cross-task transfer, or semi-supervised manner. The collection method determines the learning paradigms. In the first two learning paradigms, other methods (see Related Work Section) have also used pair-wise constraints similarly; our novelty is the derivation of our new learning objective, MCL, which can replace the other objectives. In the semi-supervised learning scenario, the proposed Pseudo-MCL is a new method. Details are elaborated below.
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
Figure 3: The training flows for each learning paradigm. $X _ { L }$ represents the labeled data with class label $Y _ { L }$ . $X _ { U L }$ is unlabeled data. $\hat { S }$ is the predicted pairwise similarity while $S$ is used as the learning target. The similarity prediction network (SPN) in (b) is learned on a labeled auxiliary dataset and transferred to the target dataset $X _ { U L }$ .
|
| 77 |
+
|
| 78 |
+
# 4.1 SUPERVISED LEARNING
|
| 79 |
+
|
| 80 |
+
Supervised pairwise labeling can be directly collected from humans, or converted from existing class labeling by having $S = \{ s _ { i j } \} _ { 1 \leq i , j \leq n }$ , where $s _ { i j } = 1$ if $x _ { i }$ and $x _ { j }$ belong to the same class, otherwise $s _ { i j } = 0$ . In our experiments, we use the latter setting to enable comparison to other supervised algorithms. Figure 3a illustrates the training process.
|
| 81 |
+
|
| 82 |
+
# 4.2 UNSUPERVISED LEARNING
|
| 83 |
+
|
| 84 |
+
Pairwise labeling can come from several natural cues, such as spatial and temporal proximity. For example, the patches in an image can be similar because of their spatial closeness, and the frames of video in a short time usually have similar content. Additionally, useful pairwise information can be found in the edges in social networks or in the network of academic citations. All of the above are potential applications of this work.
|
| 85 |
+
|
| 86 |
+
Another strategy that is unsupervised in the target domain is to collect pairwise labels through transfer learning. Hsu et al. (2018) proposes a method in which a similarity prediction network (SPN) can be learned from a labeled auxiliary dataset. Then the SPN is applied on the unlabeled target dataset to predict $S$ (the probability of being in the same class). In the last step, the predicted $S$ is fed into a network (in that case optimized via KullbackβLeibler divergence based contrastive loss) to discover the categories in the unlabeled target dataset. Figure 3b illustrates above process. Note that the classes between the auxiliary dataset and target dataset may have an overlap (cross-domain transfer) or not (cross-task transfer) (Hsu et al., 2018). In both cases, the predicted pairwise similarity is noisy (especially in the latter case); therefore the transfer learning strategy creates a challenging scenario for learning classifiers. Its difficulty makes it a good benchmark to evaluate the robustness of our methods and is used in our experiments.
|
| 87 |
+
|
| 88 |
+
# 4.3 SEMI-SUPERVISED LEARNING
|
| 89 |
+
|
| 90 |
+
We propose a new strategy to obtain the $S$ for semi-supervised learning. Figure 3c illustrates the method under the typical semi-supervised learning setting, which takes a common dataset $D$ used for supervised learning and discards the labels for most of the dataset. The labeled and unlabeled portions in $D$ are $D _ { L } = \left( X _ { L } , Y _ { L } \right)$ and $D _ { U L } = X _ { U L }$ correspondingly. The main idea is to create a pseudosimilarity $S _ { L + U L }$ for the meta classifier (similar to Pseudo-Labeling (Lee, 2013)) by binarizing the predicted $\hat { S } _ { L + U L }$ at probability 0.5. We call the method Pseudo-MCL, and we note that here interestingly $g$ is not static as it iteratively improves as $f$ improves. Another way to create similarity is data augmentation, inspired by the $\Pi$ -model (Laine & Aila, 2017) or Stochastic Perturbations (Sajjadi et al., 2016). An image perturbed in different ways naturally belong to the same class, and thus provides free ground-truth similarity. The similarity from both methods can be easily combined to $S _ { L + U L }$ by having a logical-OR operation for the two binarized similarities. The learning objective is the sum of the multi-class cross-entropy and Pseudo-MCL, so the mapping between output nodes and classes are automatically decided by the supervised part of learning.
|
| 91 |
+
|
| 92 |
+
# 5 EXPERIMENTS
|
| 93 |
+
|
| 94 |
+
# 5.1 EXPERIMENTAL SETUP AND NETWORK OPTIMIZATION
|
| 95 |
+
|
| 96 |
+
In all experiments, we use a standard gradient-based method for training a neural network by optimizing the learning criterion. For example, with stochastic gradient descent, we calculate MCL within a mini-batch of data. In that case, the $i$ and $j$ correspond to the index of data in a mini-batch $b$ . The outputs of $f ( \cdot ; \theta )$ are enumerated in $| b | ( | b | - 1 ) / 2$ pairs in a mini-batch before calculation of MCL. Our empirical finding is that this enumeration introduces a negligible overhead to the training time. We also note that for large datasets, this only samples from the full set of pairwise information.
|
| 97 |
+
|
| 98 |
+
One limitation of learning a classifier without class labels is losing the mapping (the identifiability) between the output nodes and the semantic class. A simple method to obtain the mapping is by using a part of the training data with class labels and assigning the output nodes to the dominant class which activates the node (here we obtain the optimal assignment by the Hungarian algorithm (Kuhn, 1955), which is commonly used in evaluating the clustering accuracy (Yang et al., 2010)). Note, however, that for unsupervised problems we do not need to do this except to quantitatively evaluate our method; otherwise the outputs can be seen as arbitrary clusters.
|
| 99 |
+
|
| 100 |
+
# 5.2 SUPERVISED LEARNING WITH WEAK LABELS
|
| 101 |
+
|
| 102 |
+
This section empirically compares MCL to multi-class cross-entropy (CE) and the strong baseline using pairwise similarity (KullbackβLeibler divergence based contrastive loss (KCL) (Hsu & Kira, 2016; Hsu et al., 2018)), in a supervised learning setting. Specifically, we would like to demonstrate that we can achieve similar classification rates as cross-entropy (the standard objective for multi-class classification) using only pairwise similarity, and show that the previous pairwise criterion cannot do this likely due to a poor loss landscape. We compare the classification accuracy of these criteria with varied network depths and varied dataset difficulty. The visualization of loss landscape is provided in Appendix A. The formulation of KCL and how it relates to MCL is available in Appendix B.
|
| 103 |
+
|
| 104 |
+
# 5.2.1 QUANTITATIVE ANALYSIS
|
| 105 |
+
|
| 106 |
+
We compare the classification accuracy on three image datasets: MNIST (LeCun, 1998) is a 10-class handwritten digit dataset with 60000 images for training, and 10000 for testing; CIFAR10 and CIFAR100 (Krizhevsky, 2009) instances are colored $3 2 \times 3 2$ images of objects such as cat, dog, and ship. They both have 50000 images for training and 10000 for testing.
|
| 107 |
+
|
| 108 |
+
Network Architectures: We use convolution neural networks with a varied number of layers: LeNet (LeCun et al., 1998) and VGG (Simonyan & Zisserman, 2014). We add VGG8, which only has one convolution layer before each pooling layer, as the supplement between LeNet and VGG11. The list of architectures also includes ResNet (He et al., 2016a) with pre-activation (He et al., 2016b)). The number of output nodes $K$ in the last fully connected layer is set to the true number of categories for this section. Since the learning objectives KCL and MCL both work on pairs of inputs, we have a pairwise enumeration layer (Hsu et al., 2018) between the network outputs and the loss function.
|
| 109 |
+
|
| 110 |
+
Training Configurations: All networks in this section are trained from scratch with randomly initialized weights. By default, we use Adam (Kingma & Ba, 2014) to optimize the three criterion with mini-batch size 100 and initial learning rate 0.001. On MNIST the learning rate was dropped every 10 epochs by a factor of 0.1 with 30 epochs in total. On CIFAR10/100 we use the same setting except that the learning rate is dropped at 80 and 120 epochs with 140 epochs in total. For CIFAR100, the mini-batch size was 1000 and the learning rate dropped at epoch 100 and 150 with 180 epochs in total. In the experiments with ResNet, we use SGD instead of Adam since SGD converges to a higher accuracy when keeping other settings the same as above. The learning rate for SGD starts with 0.1 and decays with a factor of 0.1 at the number of epochs described above.
|
| 111 |
+
|
| 112 |
+
Table 1: The classification error rate (lower is better) on three datasets with different objective functions and different neural network architectures. CE denotes that the network uses class-specific labels for training with a multi-class cross-entropy. MCL only uses the binarized similarity for learning with the meta-classification criterion. KCL is a strong baseline which also uses binarized similarity. The \* symbol indicates the worst cases of KCL. The performance in parenthesis means its network uses a better initialization (VGG16 and VGG8) or a learning schedule which is 10 times longer (VGG11). The two treatments are discussed in Section 5.2.1. We only use VGG8 for CIFAR100 since KCL performs the best with it on CIFAR10. Each value is the average of 3 runs.
|
| 113 |
+
|
| 114 |
+
<table><tr><td>Dataset</td><td>#class</td><td>Network</td><td>(Class label)</td><td colspan="2">(Pairwise label)</td></tr><tr><td>MNIST</td><td></td><td></td><td>CE</td><td>KCL</td><td>MCL</td></tr><tr><td></td><td>10</td><td>LeNet LeNet</td><td>0.6% 14.9%</td><td>0.5% 16.4%</td><td>0.6% 15.1%</td></tr><tr><td rowspan="8">CIFAR10</td><td rowspan="8">10</td><td>VGG8</td><td></td><td>10.2%</td><td></td></tr><tr><td></td><td>10.2%</td><td></td><td>10.2%</td></tr><tr><td>VGG11</td><td>8.9%</td><td>72.2(10.4)%</td><td>9.4%</td></tr><tr><td>VGG16</td><td>7.6%</td><td>*81.1(10.3)%</td><td>8.3%</td></tr><tr><td>ResNet18</td><td>6.7%</td><td>73.8%</td><td>6.6%</td></tr><tr><td>ResNet34</td><td>6.6%</td><td>79.3%</td><td>6.3%</td></tr><tr><td>ResNet50</td><td>6.6%</td><td>79.6%</td><td>5.9%</td></tr><tr><td>ResNet101</td><td>6.5%</td><td>79.9%</td><td>5.6%</td></tr><tr><td>CIFAR100</td><td>100</td><td>VGG8</td><td>35.4%</td><td>*45.3(40.2)%</td><td>36.1%</td></tr></table>
|
| 115 |
+
|
| 116 |
+
Results and discussion: The results in Table 1 show that MCL achieves similar classification performance as CE with different network depths and three datasets. In contrast, KCL has degenerate performance when the networks are deeper or the dataset is more difficult. This might be due to a limitation of using KL-divergence, specifically that when two probability distributions are the same, the divergence will be zero no matter what the values are. This property may introduce bad local minima or small gradients for learning. To investigate such a perspective, we apply two strategies. First, we use a large learning rate (0.2) with SGD to avoid bad local minima and make the training schedule 10 times longer for exploring the parameter space. This setting helps KCL with VGG11, in that the error rate drops from $7 2 . 2 \%$ to $1 0 . 4 \%$ , but not with VGG16 (from $8 1 . 1 \%$ to $7 6 . 8 \%$ ). In the second strategy, we select the worst conditions (the values with \* notion) in Table 1 for KCL and pre-train the networks with only $4 \mathrm { k \Omega }$ labels with CE to initialize the networks. Then we use KCL with the full training set to finish the training. With a better initialization, KCL can reach a performance close to CE and MCL. The performance is shown with parenthesis in Table 1. The results of both strategies indicate that KCL has bad local minima or plateaus in its loss surface (see Section A in Appendix). Unlike KCL, MCL can converge to a performance close to CE with random initialization in all of our experiments. Furthermore, MCL outperforms CE with a deeper network (error rate $5 . 6 \%$ versus $6 . 5 \%$ with ResNet101). Such a result indicates that MCL is less prone to overfitting (in the Table 1, all ResNets achieve a training error less than $0 . 1 \%$ ).
|
| 117 |
+
|
| 118 |
+
# 5.3 UNSUPERVISED CROSS-TASK TRANSFER LEARNING
|
| 119 |
+
|
| 120 |
+
The second experiment follows the transfer learning scenario proposed by Hsu et al. (2018) and is summarized in Section 4.2. This scenario has two settings. The first is when the number of output nodes $K$ equal to the number of ground truth classes $C$ in a dataset. This setting is the same as a multi-class classification task, except no labels (both class labels or similarity labels) are provided in the target dataset. The second setting is having an unknown $C$ , which is closer to a clustering problem. One strategy to address the unknown $C$ is to set a large $K$ , and we rely on the clustering algorithm to use only a necessary number of clusters to describe the dataset while leaving the extra clusters empty.
|
| 121 |
+
|
| 122 |
+
Table 2: Unsupervised cross-task transfer learning on Omniglot. The performance (higher is better) is averaged across 20 alphabets (datasets), in which each has 20 to 47 letters (classes). The ACC and NMI without brackets have the number of output nodes $K$ equal to the true number of classes in a dataset, while columns with " $\mathrm { { K = } } 1 0 0 )$ " represent the case where the number of classes is unknown and a fixed $K = 1 0 0$ is used.
|
| 123 |
+
|
| 124 |
+
<table><tr><td>Method</td><td>ACC</td><td>ACC (K=100)</td><td>NMI</td><td>NMI (K=100)</td></tr><tr><td>K-means (MacQueen et al., 1967)</td><td>21.7%</td><td>18.9%</td><td>0.353</td><td>0.464</td></tr><tr><td>LPNMF (Cai et al., 2009)</td><td>22.2%</td><td>16.3%</td><td>0.372</td><td>0.498</td></tr><tr><td>LSC (Chen & Cai,2011)</td><td>23.6%</td><td>18.0%</td><td>0.376</td><td>0.500</td></tr><tr><td>ITML (Davis et al., 2007)</td><td>56.7%</td><td>47.2%</td><td>0.674</td><td>0.727</td></tr><tr><td>SKKm (Anand et al., 2014)</td><td>62.4%</td><td>46.9%</td><td>0.770</td><td>0.781</td></tr><tr><td>SKLR (Amid et al., 2016)</td><td>66.9%</td><td>46.8%</td><td>0.791</td><td>0.760</td></tr><tr><td>CSP (Wang et al., 2014)</td><td>62.5%</td><td>65.4%</td><td>0.812</td><td>0.812</td></tr><tr><td>MPCK-means (Bilenko et al., 2004)</td><td>81.9%</td><td>53.9%</td><td>0.871</td><td>0.816</td></tr><tr><td>KCL (Hsu et al., 2018)</td><td>82.4%</td><td>78.1%</td><td>0.889</td><td>0.874</td></tr><tr><td>MCL (ours)</td><td>83.3%</td><td>80.2%</td><td>0.897</td><td>0.893</td></tr></table>
|
| 125 |
+
|
| 126 |
+
We use constrained clustering algorithms as the baselines since they can use the pairwise inputs from a similarity prediction network (SPN) (Hsu et al., 2018). In this section, the same set of binarized pairwise similarity prediction is provided to all algorithms for a fair comparison. The metric in this section is still the classification accuracy. The mapping between output nodes and classes is calculated by the Hungarian algorithm, in which each class only matches to one output node. The unmapped output nodes are all subject to the classification error. We also include the normalized mutual information (NMI) (Strehl & Ghosh, 2002) metric. We use two datasets in the evaluation.
|
| 127 |
+
|
| 128 |
+
Omniglot (Lake et al., 2015): This dataset has 20 images for each of 1623 different handwritten characters. The characters are from 50 different alphabets and were separated into 30 background sets $( O m n i g l o t _ { b g } )$ ) and 20 evaluation sets $( O m n i g l o t _ { e v a l } )$ by the dataset author. The procedure uses the Omniglotbg set (964 characters in total) to learn the similarity function and applies it to the cross-task transfer learning on the 20 evaluation sets (this same input is used for all compared algorithms). In this test, the backbone network for classification has four convolution layers and has weights randomly initialized. Both MCL and KCL are optimized by Adam with mini-batch size 100.
|
| 129 |
+
|
| 130 |
+
ImageNet (Deng et al., 2009): The 1000-class dataset is separated into 882-class and 118-class subsets as the random split in Vinyals et al. (2016). The procedure uses ImageN et882 for learning the similarity prediction function and randomly samples 30 classes ( $\mathrm { \sim } 3 9 \mathrm { k }$ images) from $I m a g e N e t _ { 1 1 8 }$ for the unlabeled target data. In this test, the backbone classification network is Resnet-18 and has weights initialized by classification on $I m a g e N e t _ { 8 8 2 }$ . Both learning objectives (KCL and MCL) are optimized by SGD with mini-batch size 100.
|
| 131 |
+
|
| 132 |
+
Results and Discussion: We follow the evaluation procedure (including network architectures) used in Hsu et al. (2018), therefore the results can be directly compared. The results shown in Table 2 and 3 demonstrate a clear advantage for MCL over other methods. KCL also performs well, but MCL beats its performance with a larger gap when $C$ is unknown (ACC with $\mathrm { K } { = } 1 0 0 $ ). MCL also estimates the number of classes in a dataset better than KCL (Appendix Table 5). The advantage of MCL over KCL in this section is not due to the ease of optimization, since the network is shallow in the Omniglot experiment and the network is pre-trained in the ImageNet experiment. The advantage may due to the fact that MCL is free of hyper-parameters and so performs better than KCL which uses a heuristic threshold $\sigma = 2$ ) (Hsu & Kira, 2016) for its margin.
|
| 133 |
+
|
| 134 |
+
Table 3: Unsupervised cross-task transfer learning on ImageNet. The values (higher is better) are the average of three random subsets in $I m a g e N e t _ { 1 1 8 }$ . Each subset has 30 classes. The "ACC" has $K = 3 0$ . All methods use the features (outputs of average pooling) from Resnet-18 pre-trained with ImageNet882 classification.
|
| 135 |
+
|
| 136 |
+
<table><tr><td>Method</td><td>ACC</td><td>ACC(K=100)</td><td>NMI</td><td>NMI(K=100)</td></tr><tr><td>K-means</td><td>71.9%</td><td>34.5%</td><td>0.713</td><td>0.671</td></tr><tr><td>LSC</td><td>73.3%</td><td>33.5%</td><td>0.733</td><td>0.655</td></tr><tr><td>LPNMF</td><td>43.0%</td><td>21.8%</td><td>0.526</td><td>0.500</td></tr><tr><td>KCL</td><td>73.8%</td><td>65.2%</td><td>0.750</td><td>0.715</td></tr><tr><td>MCL</td><td>74.4%</td><td>71.5%</td><td>0.762</td><td>0.765</td></tr></table>
|
| 137 |
+
|
| 138 |
+
Table 4: Test error rates (lower is better) obtained by various semi-supervised learning approaches on CIFAR-10 with all but 4,000 labels removed. Supervised refers to using only 4,000 labeled samples from CIFAR-10 without any unlabeled data. All the methods use ResNet-18 and standard data augmentation.
|
| 139 |
+
|
| 140 |
+
<table><tr><td>Method</td><td>CIFAR10 4k labels</td></tr><tr><td>Supervised Pseudo-Label</td><td>25.4 Β± 1.0% 19.8 Β± 0.7%</td></tr><tr><td>II-model VAT</td><td>19.6 Β± 0.4% 18.2 Β± 0.4%</td></tr><tr><td>SPN-MCL</td><td>22.8 Β± 0.5%</td></tr><tr><td>Pseudo-MCL</td><td>18.0 Β± 0.4%</td></tr></table>
|
| 141 |
+
|
| 142 |
+
# 5.4 SEMI-SUPERVISED LEARNING
|
| 143 |
+
|
| 144 |
+
We evaluate the semi-supervised learning performance of the Pseudo-MCL on the standard benchmark dataset CIFAR-10. The Pseudo-MCL is compared to two state-of-the-art methods, which are VAT (Miyato et al., 2018) and Ξ -Model (Laine & Aila, 2017; Sajjadi et al., 2016). Our list of baselines additionally includes Pseudo-Labeling (Lee, 2013) and SPN-MCL since they share a similar strategy with Pseudo-MCL. The SPN-MCL uses the same strategy presented in the Section 4.2 for unsupervised learning, except that the SPN is trained with only the labeled portion (e.g. 4k labeled data) of CIFAR10 in this section. We also note that the SPN serves as a static function to provide the similarity for optimizing the regular MCL objective.
|
| 145 |
+
|
| 146 |
+
Experiment Setting: To construct the $D _ { L }$ , four thousand labeled data are randomly sampled from the training set (50k images) of CIFAR10. This leaves $4 6 \mathrm { k }$ unlabeled data for $D _ { U L }$ . We use 5 random $D _ { L } / D _ { U L }$ splits to calculate the average performance. The images are augmented by the standard procedure which includes random cropping, random horizontal flipping, and normalization to zero mean with unit variance. The model for all method is the ResNet-18 (pre-activation version, He et al. (2016b)), which has no dropout as in a standard model. We use Adam to optimize the objective functions of all methods. The procedure begins with learning the supervised model with only the $4 \mathrm { k }$ labeled data; then all other methods have a fine-tuning with $D _ { L } + D _ { U L }$ based on the learned supervised model. The supervised model (with only 4k data) is trained with initial learning rate 0.001 and a decay with factor 0.1 at epochs 80 and 120 for a total of 140 epochs. All the semi-supervised methods are trained with initial learning rate 0.001 and have a decay with factor 0.1 at epoch 150 and 250 for a total of 300 epochs. We use a shared implementation among all methods so that the major difference between methods is the regularization term in the learning objective. Appendix C.1 provides the description for hyperparameter tuning.
|
| 147 |
+
|
| 148 |
+
# Results and Discussion:
|
| 149 |
+
|
| 150 |
+
Table 4 presents the comparison and shows that Pseudo-MCL is on-par with the state-of-the-art method VAT (Miyato et al., 2018). The performance difference between SPN-MCL and Pseudo-MCL clearly demonstrates the benefits of having the binary classifier and the multi-class classifier optimized together. Note that comparing our Table 4 and a recent review (Oliver et al., 2018), we have a lower baseline performance due to a lighter regularization (no dropout) and no extra data augmentation (such as adding Gaussian noise), but the relative ranking between methods is consistent. Therefore we confirm the effectiveness of Pseudo-MCL. Lastly, Pseudo-MCL is free of hyperparameter, which is a very appealing characteristic for learning with few data.
|
| 151 |
+
|
| 152 |
+
# 6 CONCLUSION
|
| 153 |
+
|
| 154 |
+
We presented a new strategy to learn a multi-class classification via a binary decision problem. We formulate the problem setting via a probabilistic graphical model and derive a simple likelihood objective that can be effectively optimized via neural networks. We show how this same framework can be used for three learning paradigms: supervised learning, unsupervised cross-task transfer learning, and semi-supervised learning. Results show comparable or improved results over state of the art, especially in the challenging unsupervised cross-task setting. This demonstrates the power of using pairwise similarity as weak labels to relax the requirement of class-specific labeling. We hope the presented perspective of meta classification inspires additional approaches to learning with fewer labeled data (e.g. domain adaptation and few-shot learning) as well as application to domains where weak labels are easier to obtain.
|
| 155 |
+
|
| 156 |
+
# ACKNOWLEDGMENTS
|
| 157 |
+
|
| 158 |
+
This work was supported by the National Science Foundation and National Robotics Initiative (grant # IIS-1426998) and DARPAβs Lifelong Learning Machines (L2M) program, under Cooperative Agreement HR0011-18-2-001.
|
| 159 |
+
|
| 160 |
+
# REFERENCES
|
| 161 |
+
|
| 162 |
+
Erin L Allwein, Robert E Schapire, and Yoram Singer. Reducing multiclass to binary: A unifying approach for margin classifiers. Journal of machine learning research, 1(Dec):113β141, 2000.
|
| 163 |
+
|
| 164 |
+
Ehsan Amid, Aristides Gionis, and Antti Ukkonen. Semi-supervised kernel metric learning using relative comparisons. arXiv preprint arXiv:1612.00086, 2016.
|
| 165 |
+
|
| 166 |
+
Rangachari Anand, Kishan Mehrotra, Chilukuri K Mohan, and Sanjay Ranka. Efficient classification for multiclass problems using modular neural networks. IEEE Transactions on Neural Networks, 6 (1):117β124, 1995.
|
| 167 |
+
|
| 168 |
+
Saket Anand, Sushil Mittal, Oncel Tuzel, and Peter Meer. Semi-supervised kernel mean shift clustering. IEEE transactions on pattern analysis and machine intelligence, 36(6):1201β1215, 2014.
|
| 169 |
+
|
| 170 |
+
Violaine Antoine, Benjamin Quost, M-H Masson, and Thierry Denoeux. Cecm: Constrained evidential c-means algorithm. Computational Statistics & Data Analysis, 56(4):894β914, 2012.
|
| 171 |
+
|
| 172 |
+
Han Bao, Gang Niu, and Masashi Sugiyama. Classification from pairwise similarity and unlabeled data. In Proceedings of the 35th International Conference on Machine Learning, 2018.
|
| 173 |
+
|
| 174 |
+
Mikhail Bilenko, Sugato Basu, and Raymond J Mooney. Integrating constraints and metric learning in semi-supervised clustering. In Proceedings of the twenty-first international conference on Machine learning, pp. 11. ACM, 2004.
|
| 175 |
+
|
| 176 |
+
Deng Cai, Xiaofei He, Xuanhui Wang, Hujun Bao, and Jiawei Han. Locality preserving nonnegative matrix factorization. In IJCAI, volume 9, pp. 1010β1015, 2009.
|
| 177 |
+
|
| 178 |
+
Xinlei Chen and Deng Cai. Large scale spectral clustering with landmark-based representation. In AAAI, volume 5, pp. 14, 2011.
|
| 179 |
+
|
| 180 |
+
Jason V Davis, Brian Kulis, Prateek Jain, Suvrit Sra, and Inderjit S Dhillon. Information-theoretic metric learning. In Proceedings of the 24th international conference on Machine learning, pp. 209β216. ACM, 2007.
|
| 181 |
+
|
| 182 |
+
J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR, 2009.
|
| 183 |
+
|
| 184 |
+
Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences, 55(1):119β139, 1997.
|
| 185 |
+
|
| 186 |
+
Johannes FΓΌrnkranz. Round robin ensembles. Intelligent Data Analysis, 7(5):385β403, 2003.
|
| 187 |
+
|
| 188 |
+
Mikel Galar, Alberto FernΓ‘ndez, Edurne Barrenechea, Humberto Bustince, and Francisco Herrera. An overview of ensemble methods for binary classifiers in multi-class problems: Experimental study on one-vs-one and one-vs-all schemes. Pattern Recognition, 44(8):1761β1776, 2011.
|
| 189 |
+
|
| 190 |
+
Ian J Goodfellow, Oriol Vinyals, and Andrew M Saxe. Qualitatively characterizing neural network optimization problems. arXiv preprint arXiv:1412.6544, 2014.
|
| 191 |
+
|
| 192 |
+
Trevor Hastie and Robert Tibshirani. Classification by pairwise coupling. In Advances in neural information processing systems, pp. 507β513, 1998.
|
| 193 |
+
|
| 194 |
+
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, 2016a.
|
| 195 |
+
|
| 196 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision, pp. 630β645. Springer, 2016b.
|
| 197 |
+
|
| 198 |
+
Yen-Chang Hsu and Zsolt Kira. Neural network-based clustering using pairwise constraints. International Conference on Learning Representations (ICLR) workshop, 2016.
|
| 199 |
+
|
| 200 |
+
Yen-Chang Hsu, Zhaoyang Lv, and Zsolt Kira. Learning to cluster in order to transfer across domains and tasks. In International Conference on Learning Representations (ICLR), 2018.
|
| 201 |
+
|
| 202 |
+
Daniel Jiwoong Im, Michael Tao, and Kristin Branson. An empirical analysis of deep network loss surfaces. 2016.
|
| 203 |
+
|
| 204 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 205 |
+
|
| 206 |
+
Stefan Knerr, LΓ©on Personnaz, and GΓ©rard Dreyfus. Single-layer learning revisited: a stepwise procedure for building and training a neural network. In Neurocomputing, pp. 41β50. Springer, 1990.
|
| 207 |
+
|
| 208 |
+
Alex Krizhevsky. Learning multiple layers of features from tiny images. 2009.
|
| 209 |
+
|
| 210 |
+
Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83β97, 1955.
|
| 211 |
+
|
| 212 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. International Conference on Learning Representations, 2017.
|
| 213 |
+
|
| 214 |
+
Brenden M. Lake, Ruslan Salakhutdinov, and Joshua B. Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332β1338, 2015.
|
| 215 |
+
|
| 216 |
+
Yann LeCun. The mnist database of handwritten digits. 1998.
|
| 217 |
+
|
| 218 |
+
Yann LeCun, LΓ©on Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278β2324, 1998.
|
| 219 |
+
|
| 220 |
+
Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. 2013.
|
| 221 |
+
|
| 222 |
+
Hao Li, Zheng Xu, Gavin Taylor, and Tom Goldstein. Visualizing the loss landscape of neural nets. arXiv preprint arXiv:1712.09913, 2017.
|
| 223 |
+
|
| 224 |
+
James MacQueen et al. Some methods for classification and analysis of multivariate observations. In Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, volume 1, pp. 281β297. Oakland, CA, USA., 1967.
|
| 225 |
+
|
| 226 |
+
Takeru Miyato, Shin-ichi Maeda, Shin Ishii, and Masanori Koyama. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 2018.
|
| 227 |
+
|
| 228 |
+
Avital Oliver, Augustus Odena, Colin Raffel, Ekin D Cubuk, and Ian J Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. arXiv preprint arXiv:1804.09170, 2018.
|
| 229 |
+
|
| 230 |
+
Syama Sundar Rangapuram and Matthias Hein. Constrained 1-spectral clustering. In AISTATS, volume 30, pp. 90, 2012.
|
| 231 |
+
|
| 232 |
+
Ryan Rifkin and Aldebaro Klautau. In defense of one-vs-all classification. Journal of machine learning research, 5(Jan):101β141, 2004.
|
| 233 |
+
|
| 234 |
+
Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. In Advances in Neural Information Processing Systems, pp. 1163β1171, 2016.
|
| 235 |
+
|
| 236 |
+
Robert E Schapire and Yoram Singer. Improved boosting algorithms using confidence-rated predictions. Machine learning, 37(3):297β336, 1999.
|
| 237 |
+
|
| 238 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 239 |
+
|
| 240 |
+
Alexander Strehl and Joydeep Ghosh. Cluster ensemblesβa knowledge reuse framework for combining multiple partitions. Journal of machine learning research, 3(Dec):583β617, 2002.
|
| 241 |
+
|
| 242 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, pp. 1195β1204, 2017.
|
| 243 |
+
|
| 244 |
+
Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. NIPS, 2016.
|
| 245 |
+
|
| 246 |
+
Xiang Wang, Buyue Qian, and Ian Davidson. On constrained spectral clustering and its applications. Data Mining and Knowledge Discovery, pp. 1β30, 2014.
|
| 247 |
+
|
| 248 |
+
Jason Weston and Chris Watkins. Multi-class support vector machines. Technical report, Citeseer, 1998.
|
| 249 |
+
|
| 250 |
+
Ting-Fan Wu, Chih-Jen Lin, and Ruby C Weng. Probability estimates for multi-class classification by pairwise coupling. Journal of Machine Learning Research, 5(Aug):975β1005, 2004.
|
| 251 |
+
|
| 252 |
+
Eric P Xing, Michael I Jordan, Stuart J Russell, and Andrew Y Ng. Distance metric learning with application to clustering with side-information. In Advances in neural information processing systems, pp. 521β528, 2003.
|
| 253 |
+
|
| 254 |
+
Yi Yang, Dong Xu, Feiping Nie, Shuicheng Yan, and Yueting Zhuang. Image clustering using local discriminant models and global integration. IEEE Transactions on Image Processing, 2010.
|
| 255 |
+
|
| 256 |
+
# APPENDICES
|
| 257 |
+
|
| 258 |
+
# A LOSS LANDSCAPE VISUALIZATION
|
| 259 |
+
|
| 260 |
+

|
| 261 |
+
Figure 4: The loss landscape visualizations. Dark green represents a low loss value while yellow means high value. The bottom part of each diagram is the 2D contour of its 3D surface. The vertical axis of CE is logarithmic to better visualize its dynamic range (Li et al., 2017).
|
| 262 |
+
|
| 263 |
+
We visualize the three loss functions: CE, MCL, and KCL. The loss surfaces are plotted with the function (Goodfellow et al., 2014; Im et al., 2016; Li et al., 2017):
|
| 264 |
+
|
| 265 |
+
$$
|
| 266 |
+
f ( \alpha , \beta ) = L ( \theta ^ { * } + \alpha \delta + \beta \eta ; D )
|
| 267 |
+
$$
|
| 268 |
+
|
| 269 |
+
where $\theta ^ { * }$ are the parameters of the model trained with loss function $L$ and labeled dataset $D = ( X , Y )$ . The $\delta$ and $\eta$ variables are two directions for a 2D projection of $\theta$ . The $\alpha$ and $\beta$ are the amount of shift along $\delta$ and $\eta$ from the origin $\theta ^ { * }$ . This method allows us to better understand the landscape of loss around the solution.
|
| 270 |
+
|
| 271 |
+
To choose $\delta$ and $\eta$ , one straightforward method is to use random projections. However, it cannot be used to compare the geometry across different networks or loss functions, because of the scale invariance in network weights. One source of such invariance is batch normalization. In such cases, the size (i.e., norm) of a filter (assume a convolution layer) is irrelevant because the output of each layer is re-scaled during batch normalization. Li et al. (2017) propose Filter-wise Normalization to address the above concern. We adopt this strategy to normalize the two random projections and make the relative flatness between loss surfaces comparable. We call this a random projection method.
|
| 272 |
+
|
| 273 |
+
Another way to choose $\delta$ and $\eta$ is to use solutions from different loss functions. Since we have three loss functions all able to solve the same multi-class classification problem, we can use one solution (e.g. $\theta _ { M C L } ^ { * }$ from MCL) for the $\theta ^ { * }$ and use the remaining two solutions (e.g. $\theta _ { C E } ^ { * }$ and $\theta _ { K C L } ^ { * }$ ) for the two projections (e.g. $\delta = \theta _ { C E } ^ { * } - \theta _ { M C L } ^ { * }$ and $\eta = \theta _ { K C L } ^ { * } - \theta _ { M C L } ^ { * } )$ . We call this a mutual projection method.
|
| 274 |
+
|
| 275 |
+
Visualization Setting: This section uses CIFAR10 and VGG11. We choose VGG11 because it is the smallest network that KCL cannot be optimized well with a regular learning schedule. For each learning objectives, we use the best-learned models in that error rates are less than $1 0 . 4 \%$ (see Table 1). The parameters of three models $( \theta _ { C E } ^ { * } , \theta _ { M C L } ^ { * } , \theta _ { K C L } ^ { * } )$ are used to construct an interpolated one: $\theta = \theta ^ { * } + \alpha \delta + \beta \eta$ . A $9 1 \mathbf { x } 9 1$ grid is used to enumerate the combinations of $\alpha$ and $\beta$ , which are the scales for the two projected directions. The loss values associated with each $( \alpha , \beta )$ are plotted in the z-direction to form a surface for visualization. Similar to Li et al. (2017), the vertical axis of CE is logarithmic to better visualize its dynamic range. For more details please refer to Li et al. (2017).
|
| 276 |
+
|
| 277 |
+
Results and Discussion: In the random projection (Figure 4a), the loss landscape with CE is similar to previous work (Li et al., 2017) which shows a nice convexity with a not-too-deep neural network (ResNet18). The solutions of MCL and KCL are both surrounded by a plateau of high loss, but MCL has a wider concave region. The same wide concavity can be seen in the mutual projection (Figure 4b). This is a possible explanation for why MCL still converges to a good local minimum with a randomly initialized network. Besides, the mutual projection shows that the geometry of MCLβs loss landscape is similar to CEβs surface, while KCL has a sharp low-loss region only around its solutions. This might be a reason why it requires a prolonged training schedule to find a good local minimum. Overall, MCL is qualitatively more similar to CE in the visualization of loss landscape.
|
| 278 |
+
|
| 279 |
+
# B KCL VERSUS MCL
|
| 280 |
+
|
| 281 |
+
From the view of optimization objective, the KLD-based Contrastive Loss (KCL) has a form close to our MCL although it is originally designed for clustering. In the KCL paper (Hsu & Kira, 2016; Hsu et al., 2018), it interprets the softmax output of a neural network as outputting a probability distribution over cluster assignments. Then a contrastive loss function is defined using KL-divergence to measure the distance between two distributions $\hat { \mathbf { y } } _ { i } = f ( x _ { i } ; \theta )$ and $\hat { \mathbf { y } } _ { j } ~ = ~ f ( x _ { j } ; \theta )$ . The cost between a similar pair $( x _ { i } , x _ { j } )$ , in which $s _ { i j } = 1$ , is given by:
|
| 282 |
+
|
| 283 |
+
$$
|
| 284 |
+
\begin{array} { r } { L _ { K C L } ^ { + } ( x _ { i } , x _ { j } ) = D _ { \mathrm { K L } } ( \hat { \bf y } _ { i } | | \hat { \bf y } _ { j } ) + D _ { \mathrm { K L } } ( \hat { \bf y } _ { j } | | \hat { \bf y } _ { i } ) . } \end{array}
|
| 285 |
+
$$
|
| 286 |
+
|
| 287 |
+
If $( x _ { i } , x _ { j } )$ is a dissimilar pair $( s _ { i j } = 0 )$ ), then $\hat { \mathbf { y } } _ { i }$ and ${ \hat { \mathbf { y } } } _ { j }$ are expected to be different distributions, which is described by a hinge-loss function with a hyper-parameter $\sigma$ for the margin.
|
| 288 |
+
|
| 289 |
+
$$
|
| 290 |
+
\begin{array} { r } { L _ { K C L } ^ { - } ( x _ { i } , x _ { j } ) = L _ { h } ( D _ { \mathrm { K L } } ( \hat { \bf y } _ { i } | | \hat { \bf y } _ { j } ) , \sigma ) + L _ { h } ( D _ { \mathrm { K L } } ( \hat { \bf y } _ { j } | | \hat { \bf y } _ { i } ) , \sigma ) , } \end{array}
|
| 291 |
+
$$
|
| 292 |
+
|
| 293 |
+
Then the total contrastive loss (KCL) has the form:
|
| 294 |
+
|
| 295 |
+
$$
|
| 296 |
+
L _ { K C L } = \sum _ { i , j } s _ { i j } L _ { K C L } ^ { + } ( x _ { i } , x _ { j } ) + ( 1 - s _ { i j } ) L _ { K C L } ^ { - } ( x _ { i } , x _ { j } ) .
|
| 297 |
+
$$
|
| 298 |
+
|
| 299 |
+
In comparing KCL and MCL, we find that they are similar in using pairwise similarity and have no requirement on the number of output nodes $K$ no matter what the true number of classes $C$ is. They can also be plugged into the training of neural networks in the same way, in that switching MCL to KCL can easily be done by replacing the learning criterion. Although they are similar in terms of usage, their formulation has a fundamental difference. KCL is inspired by metric learning, in that KL-divergence is the metric for evaluating the pairwise distance. Our MCL is inspired by the concept of meta classification learning and explained by a maximum likelihood estimation. The most significant difference is that MCL is free of hyperparameter. Therefore MCL does not require cross-validation for hyperparameter tuning. This property is crucial for unsupervised learning or when only a few instances of labeled data are available.
|
| 300 |
+
|
| 301 |
+
Table 5: Estimates for the number of characters across the 20 datasets in $O m n i g l o t _ { e v a l }$ when $C$
|
| 302 |
+
is unknown. The bold number means the prediction has error smaller or equal to 3. The number
|
| 303 |
+
of dand inant clusters is defiis the size of cluster d by . For $\begin{array} { r } { N D C = \sum _ { i = 1 } ^ { K } \left[ C _ { i } > = E [ C _ { i } ] \right] } \end{array}$ , where e alpha $[ \cdot ]$ is an Iverson Bracket has 1000 images and $C _ { i }$ $i$ $E [ C _ { i } ]$
|
| 304 |
+
$K = 1 0 0$ . The $A D i f$ represents average difference (Hsu et al., 2018).
|
| 305 |
+
|
| 306 |
+
<table><tr><td>Alphabet</td><td>#class</td><td>SKMS</td><td>KCL</td><td>MCL</td></tr><tr><td>Angelic</td><td>20</td><td>16</td><td>26</td><td>22</td></tr><tr><td>Atemayar Q.</td><td>26</td><td>17</td><td>34</td><td>26</td></tr><tr><td>Atlantean</td><td>26</td><td>21</td><td>41</td><td>25</td></tr><tr><td>Aurek_Besh</td><td>26</td><td>14</td><td>28</td><td>22</td></tr><tr><td>Avesta</td><td>26</td><td>8</td><td>32</td><td>23</td></tr><tr><td>Ge_ez</td><td>26</td><td>18</td><td>32</td><td>25</td></tr><tr><td>Glagolitic</td><td>45</td><td>18</td><td>45</td><td>36</td></tr><tr><td>Gurmukhi</td><td>45</td><td>12</td><td>43</td><td>31</td></tr><tr><td>Kannada</td><td>41</td><td>19</td><td>44</td><td>30</td></tr><tr><td>Keble</td><td>26</td><td>16</td><td>28</td><td>23</td></tr><tr><td>Malayalam</td><td>47</td><td>12</td><td>47</td><td>35</td></tr><tr><td>Manipuri</td><td>40</td><td>17</td><td>41</td><td>33</td></tr><tr><td>Mongolian</td><td>30</td><td>28</td><td>36</td><td>29</td></tr><tr><td>Old Church S.</td><td>45</td><td>23</td><td>45</td><td>38</td></tr><tr><td>Oriya</td><td>46</td><td>22</td><td>49</td><td>32</td></tr><tr><td>Sylheti</td><td>28</td><td>11</td><td>50</td><td>30</td></tr><tr><td>Syriac_Serto</td><td>23</td><td>19</td><td>38</td><td>24</td></tr><tr><td>Tengwar</td><td>25</td><td>12</td><td>41</td><td>26</td></tr><tr><td>Tibetan</td><td>42</td><td>15</td><td>42</td><td>34</td></tr><tr><td>ULOG</td><td>26</td><td>15</td><td>40</td><td>27</td></tr><tr><td>ADif</td><td></td><td>16.3</td><td>6.35</td><td>5.1</td></tr></table>
|
| 307 |
+
|
| 308 |
+
# C EXPERIMENTAL SETTING
|
| 309 |
+
|
| 310 |
+
# C.1 HYPERPARAMETER TUNING FOR SEMI-SUPERVISED LEARNING
|
| 311 |
+
|
| 312 |
+
All the semi-supervised learning objectives $L _ { S S L }$ here can be represented as a weighted sum of a supervised term $L _ { s u p }$ and an unsupervised regularization term $L _ { r e g }$ :
|
| 313 |
+
|
| 314 |
+
$$
|
| 315 |
+
{ \cal L } _ { S S L } = \alpha { \cal L } _ { s u p } ( X _ { L } , Y _ { L } ) + \beta { \cal L } _ { r e g } ( X _ { L } \cup X _ { U L } )
|
| 316 |
+
$$
|
| 317 |
+
|
| 318 |
+
For a fair comparison, one should give the same budget for tuning the hyperparameters, such as $\alpha$ and $\beta$ . One strategy is applying an exhaustive grid search in the hyperparameter space. Such searching requires doing cross-validation and may not be applicable when the number of labeled data is small. We adopt another strategy that gives zero tuning budget for all. We decide the $\alpha$ and $\beta$ by natural statistics, which is the ratio between the amount of data be seen by the $L _ { s u p }$ and $L _ { r e g }$ . Specifically:
|
| 319 |
+
|
| 320 |
+
$$
|
| 321 |
+
\alpha = \frac { | D _ { L } | } { | D | + | D _ { L } | } , \beta = \frac { | D | } { | D | + | D _ { L } | }
|
| 322 |
+
$$
|
| 323 |
+
|
| 324 |
+
One method, VAT (Miyato et al., 2018), has extra hyperparameters (e.g. the $\epsilon$ ) in its design. In that case, we use the values decided in the original paper for this dataset.
|
| 325 |
+
|
| 326 |
+
# D ASSUMPTIONS IN META CLASSIFICATION LIKELIHOOD
|
| 327 |
+
|
| 328 |
+
# D.1 SIMPLIFIED LIKELIHOOD
|
| 329 |
+
|
| 330 |
+
In section 3, the original likelihood (eq. 2) relies on an additional independence assumption to simplify its negative logarithm form to a binary cross-entropy. Such an simplification raises the question of whether equation (3) is over-simplified. For the supervised learning case (Section 4.1 with results in Section 5.2), where the constraints are ground truth, the global solution of our likelihood is also the solution for the original likelihood. This is because if an instance is misclassified, then it will break some pair-wise constraints in both likelihoods and no longer be optimal.
|
| 331 |
+
|
| 332 |
+
Of course, in practice, there could be two issues. First, the optimization methods for more complex models (e.g. stochastic gradient descent) may find local minima. Although it is hard to show theory for this in the general case, where local optima may be found, in such cases our visualization of the loss landscape (see Appendix A) provides some evidence that our method has a landscape that reduces poor local minima compared to prior work (KCL, Hsu et al. (2018)). The second potential issue is when constraints may be noisy. In such cases, for example, if the noise is high and there is a dependency structure to be leveraged, jointly optimizing across many or all constraints with the original likelihood may provide additional performance (at the expense of tractability). In practice, noisy constraints actually occur in our cross-task transfer learning experiments where our similarity prediction has significant errors (e.g. in Table 3 ImageNet experiments the similar pair precision, similar pair recall, dissimilar pair precision, and dissimilar pair recall are 0.812, 0.655, 0.982, and 0.992 respectively). The strong performance in terms of classification accuracy for the cross-task transfer experiments (Tables 2 and 3) shows that our simplification is robust to noise.
|
| 333 |
+
|
| 334 |
+
Overall, the fact that we have demonstrated our method on five image datasets and three application scenarios (Section 5.2 for supervised learning, 5.3 for unsupervised cross-task transfer learning, and 5.4 for semi-supervised learning) empirically support that the proposed likelihood can overcome these two issues. It would be interesting future work to develop methods that can incorporate constraints jointly, however.
|
| 335 |
+
|
| 336 |
+
# D.2 SEPARABILITY ASSUMPTIONS
|
| 337 |
+
|
| 338 |
+
Note that we assume separability of semantic categories in a dataset. This means that when the constraints are given (supervised learning), there is sufficient information (in the features) to separate or to group the samples. In the case of no given constraints (unsupervised or semi-supervised learning), there is also sufficient information to estimate the pairwise similarity. However, these are common assumptions that are inherent in discriminative models.
|
parse/train/SJzR2iRcK7/SJzR2iRcK7_content_list.json
ADDED
|
@@ -0,0 +1,1828 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "MULTI-CLASS CLASSIFICATION WITHOUT MULTICLASS LABELS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
828,
|
| 10 |
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yen-Chang $\\mathbf { H s u ^ { 1 } }$ , Zhaoyang $\\mathbf { L } \\mathbf { v } ^ { 1 }$ , Joel Schlosser2, Phillip Odom2, and Zsolt Kira12 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
220,
|
| 19 |
+
169,
|
| 20 |
+
790,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1Georgia Institute of Technology 2Georgia Tech Research Institute 1{yenchang.hsu,zhaoyang.lv,zkira}@gatech.edu 2{joel.schlosser,phillip.odom}@gtri.gatech.edu ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
284,
|
| 30 |
+
185,
|
| 31 |
+
732,
|
| 32 |
+
243
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
280,
|
| 43 |
+
544,
|
| 44 |
+
295
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "This work presents a new strategy for multi-class classification that requires no class-specific labels, but instead leverages pairwise similarity between examples, which is a weaker form of annotation. The proposed method, meta classification learning, optimizes a binary classifier for pairwise similarity prediction and through this process learns a multi-class classifier as a submodule. We formulate this approach, present a probabilistic graphical model for it, and derive a surprisingly simple loss function that can be used to learn neural network-based models. We then demonstrate that this same framework generalizes to the supervised, unsupervised cross-task, and semi-supervised settings. Our method is evaluated against state of the art in all three learning paradigms and shows a superior or comparable accuracy, providing evidence that learning multi-class classification without multi-class labels is a viable learning option. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
313,
|
| 54 |
+
766,
|
| 55 |
+
479
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
510,
|
| 66 |
+
336,
|
| 67 |
+
526
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "One of the most common settings for machine learning is classification, which involves learning a function $f$ to map the input data $x$ to a class label $y \\in \\{ 1 , 2 , . . , C \\}$ . The most successful method for learning such a function is deep neural networks, owing its popularity to its capability to approximate a complex nonlinear mapping between high-dimensional data (e.g. images) and the classes. Despite the success of deep learning, a neural network demands a large amount of class-specific labels for learning a discriminative model, i.e. $P ( y | x )$ . This type of labeling can be expensive to collect, requires a-priori knowledge of all classes, and limits the form of supervision required. For example, the classes may be ambiguous or non-expert human annotators may be able to more easily provide information about whether two instances are of the same class or not, rather than identifying the specific class. A final problem is that different methods are necessary depending on what type of data is available, ranging from supervised learning (known classes) to cross-task unsupervised learning (unknown classes in the target domain) and semi-supervised learning (mix of labeled and unlabeled with known classes). Unsupervised learning with unknown classes is especially difficult to support. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
542,
|
| 77 |
+
825,
|
| 78 |
+
723
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "To relax these limitations, we propose to reduce the problem of classification to a meta problem that underlies a set of learning problems. Instead of solving the target task directly (learning a multi-class discriminative model such as a neural network), we instead learn a model that does not require explicit class label $y$ but rather a weaker form of information. In the context of classification, the meta problem that we use is a binary decision problem. Note that such a conversion to a different task (e.g. binary) is called a problem reduction method (Allwein et al., 2000) which has had a long history in the literature, especially in ensemble methods and binarization techniques (Galar et al., 2011). The most well-known strategies are \"one-vs-all\" (Anand et al., 1995; Rifkin & Klautau, 2004) and \"one-vs-one\" (Knerr et al., 1990; Hastie & Tibshirani, 1998; Wu et al., 2004). Although they have varied ensembling strategies, all of them share the same task encapsulating scheme, as illustrated in Figure 1a; specifically the binary classifiers are the sub-modules of a multi-class classifier (i.e. the multi-class classifier consists of multiple binary classifiers). These schemes still require that the class label $y$ be available to create the inputs for each binary classifier, and therefore these strategies do not relax the labeling requirements mentioned earlier. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
731,
|
| 88 |
+
825,
|
| 89 |
+
897
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/21e2e1bc7e8d126096adc659175bdd711fd860919532c89a4e452cd8e66aa6fb.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Problem reduction schemes for multi-class classification. This work proposes scheme (b), which introduces a binary classifier that captures $s _ { i j }$ . Note that $s _ { i j }$ represents the probability that $x _ { i }$ and $x _ { j }$ belong to the same class. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
194,
|
| 102 |
+
116,
|
| 103 |
+
790,
|
| 104 |
+
286
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
369,
|
| 114 |
+
821,
|
| 115 |
+
398
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this work, we propose a novel strategy to address the above limitations. Our method reverses the task encapsulation order so that a multi-class classifier becomes a sub-module of a binary classifier, as illustrated in Figure 1b. The connection between the two classifiers is elucidated in Section 3. There are two highlights in Figure 1b. First, class labels $y _ { i }$ are not required in the learning stage. Instead, our method uses pairs of data $( x _ { i } , x _ { j } )$ as input and pairwise similarity $s _ { i j }$ for the supervision. Second, there is only one binary classifier in the scheme and it is present only during the training stage. In other words, the ephemeral binary task assists the learning of a multi-class classifier without being involved in the inference. When using a neural network with softmax outputs for the multi-class classifier, the proposed scheme can learn a discriminative model with only pairwise information. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
406,
|
| 125 |
+
825,
|
| 126 |
+
531
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We specifically make the following contributions: 1) We analyze the problem setting and show that the loss we can use for this encapsulation can be easily derived, and we present an intuitive probabilistic graphical model interpretation for doing so, 2) We evaluate its performance compared to vanilla supervised learning of neural networks which uses multi-class labels, and visualize the loss landscape to better understand the underlying optimization difficulty, and 3) We demonstrate support for learning classifiers in more challenging problem domains, e.g. in unsupervised cross-task transfer and semi-supervised learning. We show how our meta classification framework can support all three learning paradigms, and evaluate it against several state-of-the-art methods. The experimental results show that the same meta classification approach is superior or comparable to state of the art across the three problem domains (supervised learning, unsupervised cross-task learning, and semi-supervised learning), demonstrating flexibility to support even unknown types and numbers of classes. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
537,
|
| 136 |
+
825,
|
| 137 |
+
690
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
715,
|
| 148 |
+
344,
|
| 149 |
+
732
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Supervised learning and problem reduction: Allwein et al. (2000) presents a unifying framework for multi-class classification by reducing it to multiple binary problems. The concepts for achieving such reduction, one-vs-all and one-vs-one, have been widely adopted and analyzed (Galar et al., 2011). The two strategies have been used to create several popular algorithms, such as variants of support vector machine (Weston & Watkins, 1998), AdaBoost (Freund & Schapire, 1997; Schapire & Singer, 1999), and decision trees (FΓΌrnkranz, 2003). Despite the long history of reduction, our proposed scheme (Figure 1b) has not been explored. Furthermore, the scheme can be deployed easily by replacing the learning objective, which is fully compatible with deep neural networks for classification, a desirable property for broad applicability. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
750,
|
| 159 |
+
825,
|
| 160 |
+
875
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Unsupervised cross-task transfer learning: This learning scheme is proposed by Hsu et al. (2018). The method transfers the pairwise similarity as the meta knowledge to an unlabeled dataset of different classes. It then uses a constrained clustering algorithm with predicted pairwise constraints (binarized pairwise similarity) to discover the unseen classes. This learning scheme shares the same supervision (pairwise similarity) as ours, and therefore relates our method to constrained clustering algorithms. One class of such approaches uses the constraints to learn a distance metric, and then applies a generic clustering algorithm such as K-means or hierarchical clustering to obtain the cluster assignments. This includes DML (Xing et al., 2003), ITML (Davis et al., 2007), SKMS (Anand et al., 2014), SKKm (Anand et al., 2014; Amid et al., 2016), and SKLR (Amid et al., 2016). The second class of methods incorporates the constraints into the cluster assignment objective. Some constrained spectral clustering algorithms, e.g. CSP (Wang et al., 2014) and COSC (Rangapuram & Hein, 2012) use this strategy. There are also approaches combine both distance metric learning and a clustering objective jointly, such as MPCKMeans (Bilenko et al., 2004), CECM (Antoine et al., 2012), and KullbackβLeibler divergence based contrastive loss (KCL) (Hsu & Kira, 2016; Hsu et al., 2018). Our new learning objective for Figure 1b can replace the above objectives in the cross-task transfer learning scheme. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
882,
|
| 170 |
+
825,
|
| 171 |
+
924
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "image",
|
| 177 |
+
"img_path": "images/bef284988ef65f5658dca7760ad85e579de870af6d3ea3572b11cccca6ef2cd5.jpg",
|
| 178 |
+
"image_caption": [
|
| 179 |
+
"Figure 2: Graphical representation for the meta classification task; $X _ { i }$ represents the node of input data, $Y _ { i }$ represents the class label, $S _ { i j }$ is pairwise similarity between instances $i$ and $j$ , and $\\theta$ represents the neural network parameters. "
|
| 180 |
+
],
|
| 181 |
+
"image_footnote": [],
|
| 182 |
+
"bbox": [
|
| 183 |
+
374,
|
| 184 |
+
99,
|
| 185 |
+
627,
|
| 186 |
+
188
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "",
|
| 193 |
+
"bbox": [
|
| 194 |
+
173,
|
| 195 |
+
277,
|
| 196 |
+
826,
|
| 197 |
+
459
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "Semi-supervised learning: Our meta classification strategy can easily plug into a semi-supervised learning scheme. Our comparison focuses on state-of-the-art methods which solely involve adding a consistency regularization (Laine & Aila, 2017; Sajjadi et al., 2016; Miyato et al., 2018; Tarvainen & Valpola, 2017) or Pseudo-Labeling (Lee, 2013) for training a neural network. Another line of strategy combines weak supervision, such as similar pairs, and unlabeled data to learn a binary classifier (Bao et al., 2018). We present a new method by augmenting Figure 1b with the Pseudo-Labeling strategy. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
173,
|
| 206 |
+
465,
|
| 207 |
+
825,
|
| 208 |
+
550
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "3 META CLASSIFICATION LEARNING ",
|
| 215 |
+
"text_level": 1,
|
| 216 |
+
"bbox": [
|
| 217 |
+
174,
|
| 218 |
+
580,
|
| 219 |
+
496,
|
| 220 |
+
597
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "A natural way to analyze problems with observed and unobserved information is through a probabilistic graphical model. In figure 2, we show the graphical model for our problem, where classspecific labels $Y$ are latent while pairwise similarities $S$ are observed. Specifically, we denote $\\mathbf { X } = \\{ X _ { 1 } , . . , X _ { n } \\}$ , $\\mathbf { Y } = \\{ Y _ { 1 } , . . , Y _ { n } \\}$ , and $\\mathbf { S } = \\{ S _ { i j } \\} _ { 1 \\leq i , j \\leq n }$ to represent the nodes for samples, class labels, and pairwise similarities, respectively. In the model, we have $Y _ { i } \\in \\{ 1 , 2 , . . , C \\}$ and $S _ { i j } \\in \\{ 0 , 1 \\}$ . Then we have $\\mathsf { P } ( S _ { i j } = 1 | Y _ { i } , Y _ { j } ) = 1$ when $Y _ { i } = Y _ { j }$ and zero probability otherwise; similarly, $\\bar { \\mathsf { P } } ( S _ { i j } = 0 | Y _ { i } , Y _ { j } ) = \\bar { 1 }$ when $Y _ { i } \\neq Y _ { j }$ . The output of a discriminative classifier with parameters $\\theta$ is $f ( x _ { i } ; \\theta ) = \\mathsf { P } ( Y _ { i } | x _ { i } ; \\theta )$ , where $f ( \\overline { { \\boldsymbol { x } } } _ { i } ; \\boldsymbol { \\theta } )$ outputs a categorical distribution. Now we describe the likelihood that the model explains the observed labeling (either with class labeling or pairwise labeling). ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
173,
|
| 229 |
+
618,
|
| 230 |
+
826,
|
| 231 |
+
758
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "equation",
|
| 237 |
+
"img_path": "images/18b1294ab29e9d32632e164e867369d1bb7758a2471a5569213a1c5b6a537bcd.jpg",
|
| 238 |
+
"text": "$$\n\\mathcal { L } ( \\boldsymbol { \\theta } ; \\mathbf { X } , \\mathbf { Y } , \\mathbf { S } ) = \\mathbb { P } ( \\mathbf { X } , \\mathbf { Y } , \\mathbf { S } ; \\boldsymbol { \\theta } ) = \\mathbb { P } ( \\mathbf { S } | \\mathbf { Y } ) \\mathbb { P } ( \\mathbf { Y } | \\mathbf { X } ; \\boldsymbol { \\theta } ) \\mathbb { P } ( \\mathbf { X } )\n$$",
|
| 239 |
+
"text_format": "latex",
|
| 240 |
+
"bbox": [
|
| 241 |
+
305,
|
| 242 |
+
796,
|
| 243 |
+
692,
|
| 244 |
+
814
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "When $\\mathbf { S }$ is fully observed while $\\mathbf { Y }$ is unknown, calculating the likelihood requires marginalizing $\\mathbf { Y }$ by computing $\\begin{array} { r l } { \\sum _ { \\mathbf { Y } } \\mathbb { P } ( \\mathbf { S } | \\mathbf { Y } ) \\mathbb { P } ( \\mathbf { Y } | \\mathbf { X } ; \\boldsymbol { \\theta } ) } & { { } } \\end{array}$ , which is intractable. The pairwise term $\\begin{array} { r } { \\mathsf { P } ( \\mathbf { S } | \\mathbf { Y } ) = } \\end{array}$ $\\begin{array} { r } { \\prod _ { i , j } \\mathbb { P } ( S _ { i j } | Y _ { i } , Y _ { j } ) } \\end{array}$ makes all $Y _ { i }$ dependent on each other and prohibits efficient factorization. Thus, we approximate the computation by imposing additional independences such that $S i j \\perp \\bf { S } \\backslash \\{ \\it { S } _ { i j } \\} \\lvert \\it { X } _ { i } , \\it { X } _ { j }$ (see Appendix $\\mathbf { D }$ for a discussion of these). Now we can compute the likelihood with the observed nodes $X _ { i } = x _ { i }$ and $S _ { i j } = s _ { i j }$ : ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
173,
|
| 253 |
+
837,
|
| 254 |
+
825,
|
| 255 |
+
925
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "equation",
|
| 261 |
+
"img_path": "images/847371e9bd6ac7c9e94a54e66af4b64c8c936daa9011522f6e928a07567b0b94.jpg",
|
| 262 |
+
"text": "$$\n\\begin{array} { r l } & { { \\mathcal { L } } ( \\boldsymbol { \\theta } ; \\mathbf { X } , \\mathbf { S } ) \\approx \\displaystyle \\sum _ { \\mathbf { Y } } \\mathbb { P } ( \\mathbf { S } | \\mathbf { Y } ) \\mathbb { P } ( \\mathbf { Y } | \\mathbf { X } ; \\boldsymbol { \\theta } ) } \\\\ & { \\quad \\quad \\approx \\displaystyle \\prod _ { i , j } \\Big ( \\displaystyle \\sum _ { Y _ { i } = Y _ { j } } \\mathbb { 1 } \\big [ s _ { i j } = \\boldsymbol { 1 } ] \\mathbb { P } ( Y _ { i } | x _ { i } ; \\boldsymbol { \\theta } ) \\mathbb { P } ( Y _ { j } | x _ { j } ; \\boldsymbol { \\theta } ) + } \\\\ & { \\quad \\quad \\quad \\displaystyle \\sum _ { Y _ { i } \\neq Y _ { j } } \\mathbb { 1 } \\big [ s _ { i j } = 0 \\big ] \\mathbb { P } ( Y _ { i } | x _ { i } ; \\boldsymbol { \\theta } ) \\mathbb { P } ( Y _ { j } | x _ { j } ; \\boldsymbol { \\theta } ) \\Big ) . } \\end{array}\n$$",
|
| 263 |
+
"text_format": "latex",
|
| 264 |
+
"bbox": [
|
| 265 |
+
299,
|
| 266 |
+
121,
|
| 267 |
+
699,
|
| 268 |
+
232
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 3
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "Equation (2) omits the $\\mathtt { P } ( \\mathbf { X } )$ since $\\mathbf { X }$ are observed leaf nodes. It is straightforward to take a negative logarithm on equation 3 and derive a loss function: ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
173,
|
| 277 |
+
244,
|
| 278 |
+
823,
|
| 279 |
+
275
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "equation",
|
| 285 |
+
"img_path": "images/be148a9bec5214d60ff5cc5d943523a76e9278ad834f11d111a88b849005577b.jpg",
|
| 286 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle { L _ { m e t a } ( \\theta ) = - \\sum _ { i , j } \\log \\bigg ( \\sum _ { Y _ { i } = Y _ { j } } \\mathbb { I } [ s _ { i j } = 1 ] \\mathbb { P } ( Y _ { i } | x _ { i } ; \\theta ) \\mathbb { P } ( Y _ { j } | x _ { j } ; \\theta ) + } } \\\\ { \\displaystyle { \\sum _ { Y _ { i } \\neq Y _ { j } } \\mathbb { I } [ s _ { i j } = 0 ] \\mathbb { P } ( Y _ { i } | x _ { i } ; \\theta ) \\mathbb { P } ( Y _ { j } | x _ { j } ; \\theta ) \\bigg ) } } \\\\ { = - \\sum _ { i , j } s _ { i j } \\log ( f ( x _ { i } ; \\theta ) ^ { T } f ( x _ { j } ; \\theta ) ) + ( 1 - s _ { i j } ) \\log ( 1 - f ( x _ { i } ; \\theta ) ^ { T } f ( x _ { j } ; \\theta ) ) . } \\end{array}\n$$",
|
| 287 |
+
"text_format": "latex",
|
| 288 |
+
"bbox": [
|
| 289 |
+
212,
|
| 290 |
+
297,
|
| 291 |
+
781,
|
| 292 |
+
412
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 3
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "Then we define the function $g$ by the probability of having the same class label, which is calculated by the inner product between two categorical distributions: ",
|
| 299 |
+
"bbox": [
|
| 300 |
+
173,
|
| 301 |
+
424,
|
| 302 |
+
826,
|
| 303 |
+
453
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "equation",
|
| 309 |
+
"img_path": "images/811f2dd7f4a2910cd109e88993e2beddbd733047840dae23cc620f65ac695949.jpg",
|
| 310 |
+
"text": "$$\ng ( x _ { i } , x _ { j } , f ( \\cdot , \\theta ) ) = f ( x _ { i } ; \\theta ) ^ { T } f ( x _ { j } ; \\theta ) = \\hat { s } _ { i j }\n$$",
|
| 311 |
+
"text_format": "latex",
|
| 312 |
+
"bbox": [
|
| 313 |
+
352,
|
| 314 |
+
478,
|
| 315 |
+
645,
|
| 316 |
+
498
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "text",
|
| 322 |
+
"text": "Here we use $\\hat { s } _ { i j }$ to denote the predicted similarity (as opposed to ground truth similarity $s _ { i j }$ ). By plugging equation 6 into equation 5, $L _ { m e t a }$ has the form of a binary cross-entropy loss: ",
|
| 323 |
+
"bbox": [
|
| 324 |
+
173,
|
| 325 |
+
511,
|
| 326 |
+
828,
|
| 327 |
+
540
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "equation",
|
| 333 |
+
"img_path": "images/d9fbf022dde97cde0d5a8a0e11a801a3b9d4c93cd6fce96baa117bd93a9af062.jpg",
|
| 334 |
+
"text": "$$\nL _ { m e t a } = - \\sum _ { i , j } s _ { i j } \\log \\hat { s } _ { i j } + ( 1 - s _ { i j } ) \\log ( 1 - \\hat { s } _ { i j } ) .\n$$",
|
| 335 |
+
"text_format": "latex",
|
| 336 |
+
"bbox": [
|
| 337 |
+
326,
|
| 338 |
+
555,
|
| 339 |
+
669,
|
| 340 |
+
590
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "In Figure 1b, the multi-class classifier corresponds to $f$ while the binary classifier corresponds to $g$ . In other words, it is surprisingly simple to wrap a multi-class classifier by a binary classifier as described above. Since there are no learnable parameters in $g$ , the weights optimized with the meta criterion $L _ { m e t a }$ are all in the neural network $f$ . To minimize $L _ { m e t a }$ , $f ( x _ { i } ; \\theta )$ and $f ( x _ { j } ; \\theta )$ must output a sharply peaked distribution with the peak happening only at the same output node when $s _ { i j } = 1$ In the case of $s _ { i j } = 0$ , the two distributions must have as little overlap as possible to minimize the loss. In the latter case, the two samples are pushed to be activated at the output nodes of different classes. Both properties of $f$ βs output distribution are typical characteristics of a classifier learned with class labels and using multi-class cross-entropy. The properties also illustrate the intuition of why minimizing $L _ { m e t a }$ helps $f$ learn outputs similar to a multi-class classifier. ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
173,
|
| 349 |
+
599,
|
| 350 |
+
825,
|
| 351 |
+
739
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Lastly, because of the likelihood nature of $L _ { m e t a }$ , we call the learning criterion a Meta Classification Likelihood (MCL) in the rest of the paper. ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
174,
|
| 360 |
+
746,
|
| 361 |
+
823,
|
| 362 |
+
775
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "4 LEARNING PARADIGMS ",
|
| 369 |
+
"text_level": 1,
|
| 370 |
+
"bbox": [
|
| 371 |
+
176,
|
| 372 |
+
795,
|
| 373 |
+
401,
|
| 374 |
+
810
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "The supervision used in MCL is the pairwise labeling $S$ . Due to its weaker form compared to class labels, we have the flexibility to collect it in a supervised, cross-task transfer, or semi-supervised manner. The collection method determines the learning paradigms. In the first two learning paradigms, other methods (see Related Work Section) have also used pair-wise constraints similarly; our novelty is the derivation of our new learning objective, MCL, which can replace the other objectives. In the semi-supervised learning scenario, the proposed Pseudo-MCL is a new method. Details are elaborated below. ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
173,
|
| 383 |
+
825,
|
| 384 |
+
825,
|
| 385 |
+
924
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "image",
|
| 391 |
+
"img_path": "images/9d3e505b59279793334591fba2b346abc0cf8df1670faa6f0b53ee8d9562b4a1.jpg",
|
| 392 |
+
"image_caption": [
|
| 393 |
+
"Figure 3: The training flows for each learning paradigm. $X _ { L }$ represents the labeled data with class label $Y _ { L }$ . $X _ { U L }$ is unlabeled data. $\\hat { S }$ is the predicted pairwise similarity while $S$ is used as the learning target. The similarity prediction network (SPN) in (b) is learned on a labeled auxiliary dataset and transferred to the target dataset $X _ { U L }$ . "
|
| 394 |
+
],
|
| 395 |
+
"image_footnote": [],
|
| 396 |
+
"bbox": [
|
| 397 |
+
207,
|
| 398 |
+
101,
|
| 399 |
+
792,
|
| 400 |
+
395
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 4
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "4.1 SUPERVISED LEARNING ",
|
| 407 |
+
"text_level": 1,
|
| 408 |
+
"bbox": [
|
| 409 |
+
176,
|
| 410 |
+
491,
|
| 411 |
+
382,
|
| 412 |
+
506
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 4
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "Supervised pairwise labeling can be directly collected from humans, or converted from existing class labeling by having $S = \\{ s _ { i j } \\} _ { 1 \\leq i , j \\leq n }$ , where $s _ { i j } = 1$ if $x _ { i }$ and $x _ { j }$ belong to the same class, otherwise $s _ { i j } = 0$ . In our experiments, we use the latter setting to enable comparison to other supervised algorithms. Figure 3a illustrates the training process. ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
174,
|
| 421 |
+
518,
|
| 422 |
+
825,
|
| 423 |
+
574
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 4
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "4.2 UNSUPERVISED LEARNING ",
|
| 430 |
+
"text_level": 1,
|
| 431 |
+
"bbox": [
|
| 432 |
+
176,
|
| 433 |
+
593,
|
| 434 |
+
401,
|
| 435 |
+
607
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "Pairwise labeling can come from several natural cues, such as spatial and temporal proximity. For example, the patches in an image can be similar because of their spatial closeness, and the frames of video in a short time usually have similar content. Additionally, useful pairwise information can be found in the edges in social networks or in the network of academic citations. All of the above are potential applications of this work. ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
174,
|
| 444 |
+
619,
|
| 445 |
+
825,
|
| 446 |
+
689
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "Another strategy that is unsupervised in the target domain is to collect pairwise labels through transfer learning. Hsu et al. (2018) proposes a method in which a similarity prediction network (SPN) can be learned from a labeled auxiliary dataset. Then the SPN is applied on the unlabeled target dataset to predict $S$ (the probability of being in the same class). In the last step, the predicted $S$ is fed into a network (in that case optimized via KullbackβLeibler divergence based contrastive loss) to discover the categories in the unlabeled target dataset. Figure 3b illustrates above process. Note that the classes between the auxiliary dataset and target dataset may have an overlap (cross-domain transfer) or not (cross-task transfer) (Hsu et al., 2018). In both cases, the predicted pairwise similarity is noisy (especially in the latter case); therefore the transfer learning strategy creates a challenging scenario for learning classifiers. Its difficulty makes it a good benchmark to evaluate the robustness of our methods and is used in our experiments. ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
174,
|
| 455 |
+
696,
|
| 456 |
+
825,
|
| 457 |
+
849
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "text",
|
| 463 |
+
"text": "4.3 SEMI-SUPERVISED LEARNING ",
|
| 464 |
+
"text_level": 1,
|
| 465 |
+
"bbox": [
|
| 466 |
+
176,
|
| 467 |
+
868,
|
| 468 |
+
421,
|
| 469 |
+
882
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 4
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "We propose a new strategy to obtain the $S$ for semi-supervised learning. Figure 3c illustrates the method under the typical semi-supervised learning setting, which takes a common dataset $D$ used for supervised learning and discards the labels for most of the dataset. The labeled and unlabeled portions in $D$ are $D _ { L } = \\left( X _ { L } , Y _ { L } \\right)$ and $D _ { U L } = X _ { U L }$ correspondingly. The main idea is to create a pseudosimilarity $S _ { L + U L }$ for the meta classifier (similar to Pseudo-Labeling (Lee, 2013)) by binarizing the predicted $\\hat { S } _ { L + U L }$ at probability 0.5. We call the method Pseudo-MCL, and we note that here interestingly $g$ is not static as it iteratively improves as $f$ improves. Another way to create similarity is data augmentation, inspired by the $\\Pi$ -model (Laine & Aila, 2017) or Stochastic Perturbations (Sajjadi et al., 2016). An image perturbed in different ways naturally belong to the same class, and thus provides free ground-truth similarity. The similarity from both methods can be easily combined to $S _ { L + U L }$ by having a logical-OR operation for the two binarized similarities. The learning objective is the sum of the multi-class cross-entropy and Pseudo-MCL, so the mapping between output nodes and classes are automatically decided by the supervised part of learning. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
174,
|
| 478 |
+
895,
|
| 479 |
+
823,
|
| 480 |
+
924
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 4
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "",
|
| 487 |
+
"bbox": [
|
| 488 |
+
174,
|
| 489 |
+
103,
|
| 490 |
+
825,
|
| 491 |
+
258
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 5
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "5 EXPERIMENTS ",
|
| 498 |
+
"text_level": 1,
|
| 499 |
+
"bbox": [
|
| 500 |
+
176,
|
| 501 |
+
281,
|
| 502 |
+
326,
|
| 503 |
+
297
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 5
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "5.1 EXPERIMENTAL SETUP AND NETWORK OPTIMIZATION ",
|
| 510 |
+
"text_level": 1,
|
| 511 |
+
"bbox": [
|
| 512 |
+
174,
|
| 513 |
+
313,
|
| 514 |
+
594,
|
| 515 |
+
327
|
| 516 |
+
],
|
| 517 |
+
"page_idx": 5
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"type": "text",
|
| 521 |
+
"text": "In all experiments, we use a standard gradient-based method for training a neural network by optimizing the learning criterion. For example, with stochastic gradient descent, we calculate MCL within a mini-batch of data. In that case, the $i$ and $j$ correspond to the index of data in a mini-batch $b$ . The outputs of $f ( \\cdot ; \\theta )$ are enumerated in $| b | ( | b | - 1 ) / 2$ pairs in a mini-batch before calculation of MCL. Our empirical finding is that this enumeration introduces a negligible overhead to the training time. We also note that for large datasets, this only samples from the full set of pairwise information. ",
|
| 522 |
+
"bbox": [
|
| 523 |
+
174,
|
| 524 |
+
340,
|
| 525 |
+
825,
|
| 526 |
+
424
|
| 527 |
+
],
|
| 528 |
+
"page_idx": 5
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"type": "text",
|
| 532 |
+
"text": "One limitation of learning a classifier without class labels is losing the mapping (the identifiability) between the output nodes and the semantic class. A simple method to obtain the mapping is by using a part of the training data with class labels and assigning the output nodes to the dominant class which activates the node (here we obtain the optimal assignment by the Hungarian algorithm (Kuhn, 1955), which is commonly used in evaluating the clustering accuracy (Yang et al., 2010)). Note, however, that for unsupervised problems we do not need to do this except to quantitatively evaluate our method; otherwise the outputs can be seen as arbitrary clusters. ",
|
| 533 |
+
"bbox": [
|
| 534 |
+
174,
|
| 535 |
+
430,
|
| 536 |
+
825,
|
| 537 |
+
529
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 5
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "5.2 SUPERVISED LEARNING WITH WEAK LABELS ",
|
| 544 |
+
"text_level": 1,
|
| 545 |
+
"bbox": [
|
| 546 |
+
176,
|
| 547 |
+
547,
|
| 548 |
+
532,
|
| 549 |
+
561
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 5
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "This section empirically compares MCL to multi-class cross-entropy (CE) and the strong baseline using pairwise similarity (KullbackβLeibler divergence based contrastive loss (KCL) (Hsu & Kira, 2016; Hsu et al., 2018)), in a supervised learning setting. Specifically, we would like to demonstrate that we can achieve similar classification rates as cross-entropy (the standard objective for multi-class classification) using only pairwise similarity, and show that the previous pairwise criterion cannot do this likely due to a poor loss landscape. We compare the classification accuracy of these criteria with varied network depths and varied dataset difficulty. The visualization of loss landscape is provided in Appendix A. The formulation of KCL and how it relates to MCL is available in Appendix B. ",
|
| 556 |
+
"bbox": [
|
| 557 |
+
174,
|
| 558 |
+
574,
|
| 559 |
+
825,
|
| 560 |
+
685
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 5
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "text",
|
| 566 |
+
"text": "5.2.1 QUANTITATIVE ANALYSIS ",
|
| 567 |
+
"text_level": 1,
|
| 568 |
+
"bbox": [
|
| 569 |
+
176,
|
| 570 |
+
703,
|
| 571 |
+
406,
|
| 572 |
+
717
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "We compare the classification accuracy on three image datasets: MNIST (LeCun, 1998) is a 10-class handwritten digit dataset with 60000 images for training, and 10000 for testing; CIFAR10 and CIFAR100 (Krizhevsky, 2009) instances are colored $3 2 \\times 3 2$ images of objects such as cat, dog, and ship. They both have 50000 images for training and 10000 for testing. ",
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
728,
|
| 582 |
+
825,
|
| 583 |
+
784
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 5
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Network Architectures: We use convolution neural networks with a varied number of layers: LeNet (LeCun et al., 1998) and VGG (Simonyan & Zisserman, 2014). We add VGG8, which only has one convolution layer before each pooling layer, as the supplement between LeNet and VGG11. The list of architectures also includes ResNet (He et al., 2016a) with pre-activation (He et al., 2016b)). The number of output nodes $K$ in the last fully connected layer is set to the true number of categories for this section. Since the learning objectives KCL and MCL both work on pairs of inputs, we have a pairwise enumeration layer (Hsu et al., 2018) between the network outputs and the loss function. ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
174,
|
| 592 |
+
791,
|
| 593 |
+
825,
|
| 594 |
+
888
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "Training Configurations: All networks in this section are trained from scratch with randomly initialized weights. By default, we use Adam (Kingma & Ba, 2014) to optimize the three criterion with mini-batch size 100 and initial learning rate 0.001. On MNIST the learning rate was dropped every 10 epochs by a factor of 0.1 with 30 epochs in total. On CIFAR10/100 we use the same setting except that the learning rate is dropped at 80 and 120 epochs with 140 epochs in total. For CIFAR100, the mini-batch size was 1000 and the learning rate dropped at epoch 100 and 150 with 180 epochs in total. In the experiments with ResNet, we use SGD instead of Adam since SGD converges to a higher accuracy when keeping other settings the same as above. The learning rate for SGD starts with 0.1 and decays with a factor of 0.1 at the number of epochs described above. ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
174,
|
| 603 |
+
895,
|
| 604 |
+
823,
|
| 605 |
+
924
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "table",
|
| 611 |
+
"img_path": "images/b545077dc08f421a8f57089cdd13496e9024a42726c6bc0611a1d5e3a0f6242a.jpg",
|
| 612 |
+
"table_caption": [
|
| 613 |
+
"Table 1: The classification error rate (lower is better) on three datasets with different objective functions and different neural network architectures. CE denotes that the network uses class-specific labels for training with a multi-class cross-entropy. MCL only uses the binarized similarity for learning with the meta-classification criterion. KCL is a strong baseline which also uses binarized similarity. The \\* symbol indicates the worst cases of KCL. The performance in parenthesis means its network uses a better initialization (VGG16 and VGG8) or a learning schedule which is 10 times longer (VGG11). The two treatments are discussed in Section 5.2.1. We only use VGG8 for CIFAR100 since KCL performs the best with it on CIFAR10. Each value is the average of 3 runs. "
|
| 614 |
+
],
|
| 615 |
+
"table_footnote": [],
|
| 616 |
+
"table_body": "<table><tr><td>Dataset</td><td>#class</td><td>Network</td><td>(Class label)</td><td colspan=\"2\">(Pairwise label)</td></tr><tr><td>MNIST</td><td></td><td></td><td>CE</td><td>KCL</td><td>MCL</td></tr><tr><td></td><td>10</td><td>LeNet LeNet</td><td>0.6% 14.9%</td><td>0.5% 16.4%</td><td>0.6% 15.1%</td></tr><tr><td rowspan=\"8\">CIFAR10</td><td rowspan=\"8\">10</td><td>VGG8</td><td></td><td>10.2%</td><td></td></tr><tr><td></td><td>10.2%</td><td></td><td>10.2%</td></tr><tr><td>VGG11</td><td>8.9%</td><td>72.2(10.4)%</td><td>9.4%</td></tr><tr><td>VGG16</td><td>7.6%</td><td>*81.1(10.3)%</td><td>8.3%</td></tr><tr><td>ResNet18</td><td>6.7%</td><td>73.8%</td><td>6.6%</td></tr><tr><td>ResNet34</td><td>6.6%</td><td>79.3%</td><td>6.3%</td></tr><tr><td>ResNet50</td><td>6.6%</td><td>79.6%</td><td>5.9%</td></tr><tr><td>ResNet101</td><td>6.5%</td><td>79.9%</td><td>5.6%</td></tr><tr><td>CIFAR100</td><td>100</td><td>VGG8</td><td>35.4%</td><td>*45.3(40.2)%</td><td>36.1%</td></tr></table>",
|
| 617 |
+
"bbox": [
|
| 618 |
+
246,
|
| 619 |
+
223,
|
| 620 |
+
750,
|
| 621 |
+
419
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 6
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "",
|
| 628 |
+
"bbox": [
|
| 629 |
+
173,
|
| 630 |
+
449,
|
| 631 |
+
825,
|
| 632 |
+
546
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 6
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "Results and discussion: The results in Table 1 show that MCL achieves similar classification performance as CE with different network depths and three datasets. In contrast, KCL has degenerate performance when the networks are deeper or the dataset is more difficult. This might be due to a limitation of using KL-divergence, specifically that when two probability distributions are the same, the divergence will be zero no matter what the values are. This property may introduce bad local minima or small gradients for learning. To investigate such a perspective, we apply two strategies. First, we use a large learning rate (0.2) with SGD to avoid bad local minima and make the training schedule 10 times longer for exploring the parameter space. This setting helps KCL with VGG11, in that the error rate drops from $7 2 . 2 \\%$ to $1 0 . 4 \\%$ , but not with VGG16 (from $8 1 . 1 \\%$ to $7 6 . 8 \\%$ ). In the second strategy, we select the worst conditions (the values with \\* notion) in Table 1 for KCL and pre-train the networks with only $4 \\mathrm { k \\Omega }$ labels with CE to initialize the networks. Then we use KCL with the full training set to finish the training. With a better initialization, KCL can reach a performance close to CE and MCL. The performance is shown with parenthesis in Table 1. The results of both strategies indicate that KCL has bad local minima or plateaus in its loss surface (see Section A in Appendix). Unlike KCL, MCL can converge to a performance close to CE with random initialization in all of our experiments. Furthermore, MCL outperforms CE with a deeper network (error rate $5 . 6 \\%$ versus $6 . 5 \\%$ with ResNet101). Such a result indicates that MCL is less prone to overfitting (in the Table 1, all ResNets achieve a training error less than $0 . 1 \\%$ ). ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
174,
|
| 641 |
+
554,
|
| 642 |
+
825,
|
| 643 |
+
803
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 6
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "5.3 UNSUPERVISED CROSS-TASK TRANSFER LEARNING ",
|
| 650 |
+
"text_level": 1,
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
825,
|
| 654 |
+
576,
|
| 655 |
+
840
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 6
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "The second experiment follows the transfer learning scenario proposed by Hsu et al. (2018) and is summarized in Section 4.2. This scenario has two settings. The first is when the number of output nodes $K$ equal to the number of ground truth classes $C$ in a dataset. This setting is the same as a multi-class classification task, except no labels (both class labels or similarity labels) are provided in the target dataset. The second setting is having an unknown $C$ , which is closer to a clustering problem. One strategy to address the unknown $C$ is to set a large $K$ , and we rely on the clustering algorithm to use only a necessary number of clusters to describe the dataset while leaving the extra clusters empty. ",
|
| 662 |
+
"bbox": [
|
| 663 |
+
174,
|
| 664 |
+
854,
|
| 665 |
+
823,
|
| 666 |
+
924
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 6
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "table",
|
| 672 |
+
"img_path": "images/124de2cf04d2407b883e12b5a4a85e1587b0bf9101d1d72c5570709c1f9b1ebe.jpg",
|
| 673 |
+
"table_caption": [
|
| 674 |
+
"Table 2: Unsupervised cross-task transfer learning on Omniglot. The performance (higher is better) is averaged across 20 alphabets (datasets), in which each has 20 to 47 letters (classes). The ACC and NMI without brackets have the number of output nodes $K$ equal to the true number of classes in a dataset, while columns with \" $\\mathrm { { K = } } 1 0 0 )$ \" represent the case where the number of classes is unknown and a fixed $K = 1 0 0$ is used. "
|
| 675 |
+
],
|
| 676 |
+
"table_footnote": [],
|
| 677 |
+
"table_body": "<table><tr><td>Method</td><td>ACC</td><td>ACC (K=100)</td><td>NMI</td><td>NMI (K=100)</td></tr><tr><td>K-means (MacQueen et al., 1967)</td><td>21.7%</td><td>18.9%</td><td>0.353</td><td>0.464</td></tr><tr><td>LPNMF (Cai et al., 2009)</td><td>22.2%</td><td>16.3%</td><td>0.372</td><td>0.498</td></tr><tr><td>LSC (Chen & Cai,2011)</td><td>23.6%</td><td>18.0%</td><td>0.376</td><td>0.500</td></tr><tr><td>ITML (Davis et al., 2007)</td><td>56.7%</td><td>47.2%</td><td>0.674</td><td>0.727</td></tr><tr><td>SKKm (Anand et al., 2014)</td><td>62.4%</td><td>46.9%</td><td>0.770</td><td>0.781</td></tr><tr><td>SKLR (Amid et al., 2016)</td><td>66.9%</td><td>46.8%</td><td>0.791</td><td>0.760</td></tr><tr><td>CSP (Wang et al., 2014)</td><td>62.5%</td><td>65.4%</td><td>0.812</td><td>0.812</td></tr><tr><td>MPCK-means (Bilenko et al., 2004)</td><td>81.9%</td><td>53.9%</td><td>0.871</td><td>0.816</td></tr><tr><td>KCL (Hsu et al., 2018)</td><td>82.4%</td><td>78.1%</td><td>0.889</td><td>0.874</td></tr><tr><td>MCL (ours)</td><td>83.3%</td><td>80.2%</td><td>0.897</td><td>0.893</td></tr></table>",
|
| 678 |
+
"bbox": [
|
| 679 |
+
186,
|
| 680 |
+
183,
|
| 681 |
+
810,
|
| 682 |
+
372
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 7
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "",
|
| 689 |
+
"bbox": [
|
| 690 |
+
176,
|
| 691 |
+
449,
|
| 692 |
+
825,
|
| 693 |
+
492
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 7
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "We use constrained clustering algorithms as the baselines since they can use the pairwise inputs from a similarity prediction network (SPN) (Hsu et al., 2018). In this section, the same set of binarized pairwise similarity prediction is provided to all algorithms for a fair comparison. The metric in this section is still the classification accuracy. The mapping between output nodes and classes is calculated by the Hungarian algorithm, in which each class only matches to one output node. The unmapped output nodes are all subject to the classification error. We also include the normalized mutual information (NMI) (Strehl & Ghosh, 2002) metric. We use two datasets in the evaluation. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
173,
|
| 702 |
+
498,
|
| 703 |
+
825,
|
| 704 |
+
597
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 7
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "Omniglot (Lake et al., 2015): This dataset has 20 images for each of 1623 different handwritten characters. The characters are from 50 different alphabets and were separated into 30 background sets $( O m n i g l o t _ { b g } )$ ) and 20 evaluation sets $( O m n i g l o t _ { e v a l } )$ by the dataset author. The procedure uses the Omniglotbg set (964 characters in total) to learn the similarity function and applies it to the cross-task transfer learning on the 20 evaluation sets (this same input is used for all compared algorithms). In this test, the backbone network for classification has four convolution layers and has weights randomly initialized. Both MCL and KCL are optimized by Adam with mini-batch size 100. ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
173,
|
| 713 |
+
603,
|
| 714 |
+
825,
|
| 715 |
+
702
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 7
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "text",
|
| 721 |
+
"text": "ImageNet (Deng et al., 2009): The 1000-class dataset is separated into 882-class and 118-class subsets as the random split in Vinyals et al. (2016). The procedure uses ImageN et882 for learning the similarity prediction function and randomly samples 30 classes ( $\\mathrm { \\sim } 3 9 \\mathrm { k }$ images) from $I m a g e N e t _ { 1 1 8 }$ for the unlabeled target data. In this test, the backbone classification network is Resnet-18 and has weights initialized by classification on $I m a g e N e t _ { 8 8 2 }$ . Both learning objectives (KCL and MCL) are optimized by SGD with mini-batch size 100. ",
|
| 722 |
+
"bbox": [
|
| 723 |
+
174,
|
| 724 |
+
708,
|
| 725 |
+
825,
|
| 726 |
+
791
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 7
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "text",
|
| 732 |
+
"text": "Results and Discussion: We follow the evaluation procedure (including network architectures) used in Hsu et al. (2018), therefore the results can be directly compared. The results shown in Table 2 and 3 demonstrate a clear advantage for MCL over other methods. KCL also performs well, but MCL beats its performance with a larger gap when $C$ is unknown (ACC with $\\mathrm { K } { = } 1 0 0 $ ). MCL also estimates the number of classes in a dataset better than KCL (Appendix Table 5). The advantage of MCL over KCL in this section is not due to the ease of optimization, since the network is shallow in the Omniglot experiment and the network is pre-trained in the ImageNet experiment. The advantage may due to the fact that MCL is free of hyper-parameters and so performs better than KCL which uses a heuristic threshold $\\sigma = 2$ ) (Hsu & Kira, 2016) for its margin. ",
|
| 733 |
+
"bbox": [
|
| 734 |
+
173,
|
| 735 |
+
797,
|
| 736 |
+
825,
|
| 737 |
+
924
|
| 738 |
+
],
|
| 739 |
+
"page_idx": 7
|
| 740 |
+
},
|
| 741 |
+
{
|
| 742 |
+
"type": "table",
|
| 743 |
+
"img_path": "images/0ef5f0c8c5a50775023833c97d618960eea71c9ea94173391bc7d6896cc89848.jpg",
|
| 744 |
+
"table_caption": [
|
| 745 |
+
"Table 3: Unsupervised cross-task transfer learning on ImageNet. The values (higher is better) are the average of three random subsets in $I m a g e N e t _ { 1 1 8 }$ . Each subset has 30 classes. The \"ACC\" has $K = 3 0$ . All methods use the features (outputs of average pooling) from Resnet-18 pre-trained with ImageNet882 classification. "
|
| 746 |
+
],
|
| 747 |
+
"table_footnote": [],
|
| 748 |
+
"table_body": "<table><tr><td>Method</td><td>ACC</td><td>ACC(K=100)</td><td>NMI</td><td>NMI(K=100)</td></tr><tr><td>K-means</td><td>71.9%</td><td>34.5%</td><td>0.713</td><td>0.671</td></tr><tr><td>LSC</td><td>73.3%</td><td>33.5%</td><td>0.733</td><td>0.655</td></tr><tr><td>LPNMF</td><td>43.0%</td><td>21.8%</td><td>0.526</td><td>0.500</td></tr><tr><td>KCL</td><td>73.8%</td><td>65.2%</td><td>0.750</td><td>0.715</td></tr><tr><td>MCL</td><td>74.4%</td><td>71.5%</td><td>0.762</td><td>0.765</td></tr></table>",
|
| 749 |
+
"bbox": [
|
| 750 |
+
289,
|
| 751 |
+
167,
|
| 752 |
+
709,
|
| 753 |
+
275
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 8
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "table",
|
| 759 |
+
"img_path": "images/0fdf1c2b61797dddace9fda17c99e4578a8ca38c78b963b9f03195ae5c37fb2f.jpg",
|
| 760 |
+
"table_caption": [
|
| 761 |
+
"Table 4: Test error rates (lower is better) obtained by various semi-supervised learning approaches on CIFAR-10 with all but 4,000 labels removed. Supervised refers to using only 4,000 labeled samples from CIFAR-10 without any unlabeled data. All the methods use ResNet-18 and standard data augmentation. "
|
| 762 |
+
],
|
| 763 |
+
"table_footnote": [],
|
| 764 |
+
"table_body": "<table><tr><td>Method</td><td>CIFAR10 4k labels</td></tr><tr><td>Supervised Pseudo-Label</td><td>25.4 Β± 1.0% 19.8 Β± 0.7%</td></tr><tr><td>II-model VAT</td><td>19.6 Β± 0.4% 18.2 Β± 0.4%</td></tr><tr><td>SPN-MCL</td><td>22.8 Β± 0.5%</td></tr><tr><td>Pseudo-MCL</td><td>18.0 Β± 0.4%</td></tr></table>",
|
| 765 |
+
"bbox": [
|
| 766 |
+
369,
|
| 767 |
+
354,
|
| 768 |
+
627,
|
| 769 |
+
476
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 8
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "5.4 SEMI-SUPERVISED LEARNING ",
|
| 776 |
+
"text_level": 1,
|
| 777 |
+
"bbox": [
|
| 778 |
+
176,
|
| 779 |
+
501,
|
| 780 |
+
421,
|
| 781 |
+
515
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 8
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "text",
|
| 787 |
+
"text": "We evaluate the semi-supervised learning performance of the Pseudo-MCL on the standard benchmark dataset CIFAR-10. The Pseudo-MCL is compared to two state-of-the-art methods, which are VAT (Miyato et al., 2018) and Ξ -Model (Laine & Aila, 2017; Sajjadi et al., 2016). Our list of baselines additionally includes Pseudo-Labeling (Lee, 2013) and SPN-MCL since they share a similar strategy with Pseudo-MCL. The SPN-MCL uses the same strategy presented in the Section 4.2 for unsupervised learning, except that the SPN is trained with only the labeled portion (e.g. 4k labeled data) of CIFAR10 in this section. We also note that the SPN serves as a static function to provide the similarity for optimizing the regular MCL objective. ",
|
| 788 |
+
"bbox": [
|
| 789 |
+
173,
|
| 790 |
+
526,
|
| 791 |
+
825,
|
| 792 |
+
638
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 8
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "Experiment Setting: To construct the $D _ { L }$ , four thousand labeled data are randomly sampled from the training set (50k images) of CIFAR10. This leaves $4 6 \\mathrm { k }$ unlabeled data for $D _ { U L }$ . We use 5 random $D _ { L } / D _ { U L }$ splits to calculate the average performance. The images are augmented by the standard procedure which includes random cropping, random horizontal flipping, and normalization to zero mean with unit variance. The model for all method is the ResNet-18 (pre-activation version, He et al. (2016b)), which has no dropout as in a standard model. We use Adam to optimize the objective functions of all methods. The procedure begins with learning the supervised model with only the $4 \\mathrm { k }$ labeled data; then all other methods have a fine-tuning with $D _ { L } + D _ { U L }$ based on the learned supervised model. The supervised model (with only 4k data) is trained with initial learning rate 0.001 and a decay with factor 0.1 at epochs 80 and 120 for a total of 140 epochs. All the semi-supervised methods are trained with initial learning rate 0.001 and have a decay with factor 0.1 at epoch 150 and 250 for a total of 300 epochs. We use a shared implementation among all methods so that the major difference between methods is the regularization term in the learning objective. Appendix C.1 provides the description for hyperparameter tuning. ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
173,
|
| 801 |
+
645,
|
| 802 |
+
825,
|
| 803 |
+
840
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 8
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "Results and Discussion: ",
|
| 810 |
+
"text_level": 1,
|
| 811 |
+
"bbox": [
|
| 812 |
+
174,
|
| 813 |
+
847,
|
| 814 |
+
339,
|
| 815 |
+
861
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 8
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "Table 4 presents the comparison and shows that Pseudo-MCL is on-par with the state-of-the-art method VAT (Miyato et al., 2018). The performance difference between SPN-MCL and Pseudo-MCL clearly demonstrates the benefits of having the binary classifier and the multi-class classifier optimized together. Note that comparing our Table 4 and a recent review (Oliver et al., 2018), we have a lower baseline performance due to a lighter regularization (no dropout) and no extra data augmentation (such as adding Gaussian noise), but the relative ranking between methods is consistent. Therefore we confirm the effectiveness of Pseudo-MCL. Lastly, Pseudo-MCL is free of hyperparameter, which is a very appealing characteristic for learning with few data. ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
867,
|
| 825 |
+
825,
|
| 826 |
+
924
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 8
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "",
|
| 833 |
+
"bbox": [
|
| 834 |
+
174,
|
| 835 |
+
103,
|
| 836 |
+
823,
|
| 837 |
+
159
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 9
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "6 CONCLUSION ",
|
| 844 |
+
"text_level": 1,
|
| 845 |
+
"bbox": [
|
| 846 |
+
174,
|
| 847 |
+
181,
|
| 848 |
+
318,
|
| 849 |
+
196
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 9
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "We presented a new strategy to learn a multi-class classification via a binary decision problem. We formulate the problem setting via a probabilistic graphical model and derive a simple likelihood objective that can be effectively optimized via neural networks. We show how this same framework can be used for three learning paradigms: supervised learning, unsupervised cross-task transfer learning, and semi-supervised learning. Results show comparable or improved results over state of the art, especially in the challenging unsupervised cross-task setting. This demonstrates the power of using pairwise similarity as weak labels to relax the requirement of class-specific labeling. We hope the presented perspective of meta classification inspires additional approaches to learning with fewer labeled data (e.g. domain adaptation and few-shot learning) as well as application to domains where weak labels are easier to obtain. ",
|
| 856 |
+
"bbox": [
|
| 857 |
+
174,
|
| 858 |
+
213,
|
| 859 |
+
825,
|
| 860 |
+
352
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 9
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 867 |
+
"text_level": 1,
|
| 868 |
+
"bbox": [
|
| 869 |
+
176,
|
| 870 |
+
371,
|
| 871 |
+
326,
|
| 872 |
+
382
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 9
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "This work was supported by the National Science Foundation and National Robotics Initiative (grant # IIS-1426998) and DARPAβs Lifelong Learning Machines (L2M) program, under Cooperative Agreement HR0011-18-2-001. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
393,
|
| 882 |
+
825,
|
| 883 |
+
435
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 9
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "REFERENCES ",
|
| 890 |
+
"text_level": 1,
|
| 891 |
+
"bbox": [
|
| 892 |
+
176,
|
| 893 |
+
458,
|
| 894 |
+
285,
|
| 895 |
+
473
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 9
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Erin L Allwein, Robert E Schapire, and Yoram Singer. Reducing multiclass to binary: A unifying approach for margin classifiers. Journal of machine learning research, 1(Dec):113β141, 2000. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
174,
|
| 904 |
+
482,
|
| 905 |
+
823,
|
| 906 |
+
511
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 9
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Ehsan Amid, Aristides Gionis, and Antti Ukkonen. Semi-supervised kernel metric learning using relative comparisons. arXiv preprint arXiv:1612.00086, 2016. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
521,
|
| 916 |
+
820,
|
| 917 |
+
550
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 9
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Rangachari Anand, Kishan Mehrotra, Chilukuri K Mohan, and Sanjay Ranka. Efficient classification for multiclass problems using modular neural networks. IEEE Transactions on Neural Networks, 6 (1):117β124, 1995. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
173,
|
| 926 |
+
560,
|
| 927 |
+
825,
|
| 928 |
+
603
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Saket Anand, Sushil Mittal, Oncel Tuzel, and Peter Meer. Semi-supervised kernel mean shift clustering. IEEE transactions on pattern analysis and machine intelligence, 36(6):1201β1215, 2014. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
614,
|
| 938 |
+
825,
|
| 939 |
+
657
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Violaine Antoine, Benjamin Quost, M-H Masson, and Thierry Denoeux. Cecm: Constrained evidential c-means algorithm. Computational Statistics & Data Analysis, 56(4):894β914, 2012. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
171,
|
| 948 |
+
667,
|
| 949 |
+
823,
|
| 950 |
+
698
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Han Bao, Gang Niu, and Masashi Sugiyama. Classification from pairwise similarity and unlabeled data. In Proceedings of the 35th International Conference on Machine Learning, 2018. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
708,
|
| 960 |
+
823,
|
| 961 |
+
737
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Mikhail Bilenko, Sugato Basu, and Raymond J Mooney. Integrating constraints and metric learning in semi-supervised clustering. In Proceedings of the twenty-first international conference on Machine learning, pp. 11. ACM, 2004. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
174,
|
| 970 |
+
747,
|
| 971 |
+
823,
|
| 972 |
+
790
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 9
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Deng Cai, Xiaofei He, Xuanhui Wang, Hujun Bao, and Jiawei Han. Locality preserving nonnegative matrix factorization. In IJCAI, volume 9, pp. 1010β1015, 2009. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
169,
|
| 981 |
+
801,
|
| 982 |
+
825,
|
| 983 |
+
830
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 9
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Xinlei Chen and Deng Cai. Large scale spectral clustering with landmark-based representation. In AAAI, volume 5, pp. 14, 2011. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
169,
|
| 992 |
+
842,
|
| 993 |
+
823,
|
| 994 |
+
871
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Jason V Davis, Brian Kulis, Prateek Jain, Suvrit Sra, and Inderjit S Dhillon. Information-theoretic metric learning. In Proceedings of the 24th international conference on Machine learning, pp. 209β216. ACM, 2007. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
174,
|
| 1003 |
+
881,
|
| 1004 |
+
825,
|
| 1005 |
+
922
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li, and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. In CVPR, 2009. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
169,
|
| 1014 |
+
103,
|
| 1015 |
+
823,
|
| 1016 |
+
132
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 10
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Yoav Freund and Robert E Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of computer and system sciences, 55(1):119β139, 1997. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
171,
|
| 1025 |
+
140,
|
| 1026 |
+
823,
|
| 1027 |
+
170
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 10
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Johannes FΓΌrnkranz. Round robin ensembles. Intelligent Data Analysis, 7(5):385β403, 2003. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
171,
|
| 1036 |
+
176,
|
| 1037 |
+
785,
|
| 1038 |
+
193
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 10
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Mikel Galar, Alberto FernΓ‘ndez, Edurne Barrenechea, Humberto Bustince, and Francisco Herrera. An overview of ensemble methods for binary classifiers in multi-class problems: Experimental study on one-vs-one and one-vs-all schemes. Pattern Recognition, 44(8):1761β1776, 2011. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
174,
|
| 1047 |
+
200,
|
| 1048 |
+
826,
|
| 1049 |
+
243
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 10
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Ian J Goodfellow, Oriol Vinyals, and Andrew M Saxe. Qualitatively characterizing neural network optimization problems. arXiv preprint arXiv:1412.6544, 2014. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
171,
|
| 1058 |
+
251,
|
| 1059 |
+
823,
|
| 1060 |
+
281
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 10
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Trevor Hastie and Robert Tibshirani. Classification by pairwise coupling. In Advances in neural information processing systems, pp. 507β513, 1998. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
287,
|
| 1070 |
+
825,
|
| 1071 |
+
318
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 10
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"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, 2016a. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
174,
|
| 1080 |
+
325,
|
| 1081 |
+
825,
|
| 1082 |
+
368
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 10
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European Conference on Computer Vision, pp. 630β645. Springer, 2016b. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
173,
|
| 1091 |
+
376,
|
| 1092 |
+
823,
|
| 1093 |
+
406
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Yen-Chang Hsu and Zsolt Kira. Neural network-based clustering using pairwise constraints. International Conference on Learning Representations (ICLR) workshop, 2016. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
176,
|
| 1102 |
+
412,
|
| 1103 |
+
825,
|
| 1104 |
+
443
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 10
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Yen-Chang Hsu, Zhaoyang Lv, and Zsolt Kira. Learning to cluster in order to transfer across domains and tasks. In International Conference on Learning Representations (ICLR), 2018. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
176,
|
| 1113 |
+
450,
|
| 1114 |
+
823,
|
| 1115 |
+
479
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 10
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Daniel Jiwoong Im, Michael Tao, and Kristin Branson. An empirical analysis of deep network loss surfaces. 2016. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
173,
|
| 1124 |
+
487,
|
| 1125 |
+
823,
|
| 1126 |
+
516
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 10
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
174,
|
| 1135 |
+
523,
|
| 1136 |
+
823,
|
| 1137 |
+
553
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Stefan Knerr, LΓ©on Personnaz, and GΓ©rard Dreyfus. Single-layer learning revisited: a stepwise procedure for building and training a neural network. In Neurocomputing, pp. 41β50. Springer, 1990. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
174,
|
| 1146 |
+
560,
|
| 1147 |
+
825,
|
| 1148 |
+
604
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Alex Krizhevsky. Learning multiple layers of features from tiny images. 2009. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
173,
|
| 1157 |
+
612,
|
| 1158 |
+
691,
|
| 1159 |
+
628
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Harold W Kuhn. The hungarian method for the assignment problem. Naval research logistics quarterly, 2(1-2):83β97, 1955. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
636,
|
| 1169 |
+
825,
|
| 1170 |
+
665
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. International Conference on Learning Representations, 2017. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
173,
|
| 1179 |
+
672,
|
| 1180 |
+
823,
|
| 1181 |
+
702
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Brenden M. Lake, Ruslan Salakhutdinov, and Joshua B. Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332β1338, 2015. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
173,
|
| 1190 |
+
709,
|
| 1191 |
+
825,
|
| 1192 |
+
739
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Yann LeCun. The mnist database of handwritten digits. 1998. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
173,
|
| 1201 |
+
747,
|
| 1202 |
+
581,
|
| 1203 |
+
762
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Yann LeCun, LΓ©on Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278β2324, 1998. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
770,
|
| 1213 |
+
825,
|
| 1214 |
+
799
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. 2013. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
173,
|
| 1223 |
+
808,
|
| 1224 |
+
821,
|
| 1225 |
+
835
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Hao Li, Zheng Xu, Gavin Taylor, and Tom Goldstein. Visualizing the loss landscape of neural nets. arXiv preprint arXiv:1712.09913, 2017. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
171,
|
| 1234 |
+
843,
|
| 1235 |
+
821,
|
| 1236 |
+
873
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "James MacQueen et al. Some methods for classification and analysis of multivariate observations. In Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, volume 1, pp. 281β297. Oakland, CA, USA., 1967. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
174,
|
| 1245 |
+
881,
|
| 1246 |
+
825,
|
| 1247 |
+
924
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Takeru Miyato, Shin-ichi Maeda, Shin Ishii, and Masanori Koyama. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 2018. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
176,
|
| 1256 |
+
103,
|
| 1257 |
+
823,
|
| 1258 |
+
146
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 11
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Avital Oliver, Augustus Odena, Colin Raffel, Ekin D Cubuk, and Ian J Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. arXiv preprint arXiv:1804.09170, 2018. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
171,
|
| 1267 |
+
155,
|
| 1268 |
+
823,
|
| 1269 |
+
184
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 11
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Syama Sundar Rangapuram and Matthias Hein. Constrained 1-spectral clustering. In AISTATS, volume 30, pp. 90, 2012. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
193,
|
| 1279 |
+
825,
|
| 1280 |
+
222
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 11
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Ryan Rifkin and Aldebaro Klautau. In defense of one-vs-all classification. Journal of machine learning research, 5(Jan):101β141, 2004. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
171,
|
| 1289 |
+
229,
|
| 1290 |
+
825,
|
| 1291 |
+
260
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 11
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Regularization with stochastic transformations and perturbations for deep semi-supervised learning. In Advances in Neural Information Processing Systems, pp. 1163β1171, 2016. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
173,
|
| 1300 |
+
267,
|
| 1301 |
+
825,
|
| 1302 |
+
311
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 11
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Robert E Schapire and Yoram Singer. Improved boosting algorithms using confidence-rated predictions. Machine learning, 37(3):297β336, 1999. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
171,
|
| 1311 |
+
319,
|
| 1312 |
+
823,
|
| 1313 |
+
349
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 11
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
174,
|
| 1322 |
+
357,
|
| 1323 |
+
823,
|
| 1324 |
+
387
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Alexander Strehl and Joydeep Ghosh. Cluster ensemblesβa knowledge reuse framework for combining multiple partitions. Journal of machine learning research, 3(Dec):583β617, 2002. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
173,
|
| 1333 |
+
395,
|
| 1334 |
+
825,
|
| 1335 |
+
425
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, pp. 1195β1204, 2017. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
176,
|
| 1344 |
+
433,
|
| 1345 |
+
823,
|
| 1346 |
+
476
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Koray Kavukcuoglu, and Daan Wierstra. Matching networks for one shot learning. NIPS, 2016. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
174,
|
| 1355 |
+
484,
|
| 1356 |
+
823,
|
| 1357 |
+
513
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Xiang Wang, Buyue Qian, and Ian Davidson. On constrained spectral clustering and its applications. Data Mining and Knowledge Discovery, pp. 1β30, 2014. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
174,
|
| 1366 |
+
522,
|
| 1367 |
+
823,
|
| 1368 |
+
551
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Jason Weston and Chris Watkins. Multi-class support vector machines. Technical report, Citeseer, 1998. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
174,
|
| 1377 |
+
560,
|
| 1378 |
+
825,
|
| 1379 |
+
589
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Ting-Fan Wu, Chih-Jen Lin, and Ruby C Weng. Probability estimates for multi-class classification by pairwise coupling. Journal of Machine Learning Research, 5(Aug):975β1005, 2004. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
597,
|
| 1389 |
+
823,
|
| 1390 |
+
627
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Eric P Xing, Michael I Jordan, Stuart J Russell, and Andrew Y Ng. Distance metric learning with application to clustering with side-information. In Advances in neural information processing systems, pp. 521β528, 2003. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
173,
|
| 1399 |
+
635,
|
| 1400 |
+
823,
|
| 1401 |
+
678
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Yi Yang, Dong Xu, Feiping Nie, Shuicheng Yan, and Yueting Zhuang. Image clustering using local discriminant models and global integration. IEEE Transactions on Image Processing, 2010. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
173,
|
| 1410 |
+
686,
|
| 1411 |
+
823,
|
| 1412 |
+
717
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "APPENDICES ",
|
| 1419 |
+
"text_level": 1,
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
176,
|
| 1422 |
+
103,
|
| 1423 |
+
282,
|
| 1424 |
+
117
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 12
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "text",
|
| 1430 |
+
"text": "A LOSS LANDSCAPE VISUALIZATION ",
|
| 1431 |
+
"text_level": 1,
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
174,
|
| 1434 |
+
137,
|
| 1435 |
+
503,
|
| 1436 |
+
154
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 12
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "image",
|
| 1442 |
+
"img_path": "images/da713a3cc64f309bbdcbb2faa381060b4b7e668bfc62c97182f97ae8c1c85097.jpg",
|
| 1443 |
+
"image_caption": [
|
| 1444 |
+
"Figure 4: The loss landscape visualizations. Dark green represents a low loss value while yellow means high value. The bottom part of each diagram is the 2D contour of its 3D surface. The vertical axis of CE is logarithmic to better visualize its dynamic range (Li et al., 2017). "
|
| 1445 |
+
],
|
| 1446 |
+
"image_footnote": [],
|
| 1447 |
+
"bbox": [
|
| 1448 |
+
196,
|
| 1449 |
+
176,
|
| 1450 |
+
828,
|
| 1451 |
+
531
|
| 1452 |
+
],
|
| 1453 |
+
"page_idx": 12
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"type": "text",
|
| 1457 |
+
"text": "We visualize the three loss functions: CE, MCL, and KCL. The loss surfaces are plotted with the function (Goodfellow et al., 2014; Im et al., 2016; Li et al., 2017): ",
|
| 1458 |
+
"bbox": [
|
| 1459 |
+
173,
|
| 1460 |
+
606,
|
| 1461 |
+
823,
|
| 1462 |
+
635
|
| 1463 |
+
],
|
| 1464 |
+
"page_idx": 12
|
| 1465 |
+
},
|
| 1466 |
+
{
|
| 1467 |
+
"type": "equation",
|
| 1468 |
+
"img_path": "images/9434bdf3e0f287146fe617b46b97dd060b1a876b6cd8dda83cb779ec4164a0fd.jpg",
|
| 1469 |
+
"text": "$$\nf ( \\alpha , \\beta ) = L ( \\theta ^ { * } + \\alpha \\delta + \\beta \\eta ; D )\n$$",
|
| 1470 |
+
"text_format": "latex",
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
392,
|
| 1473 |
+
656,
|
| 1474 |
+
606,
|
| 1475 |
+
674
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 12
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "where $\\theta ^ { * }$ are the parameters of the model trained with loss function $L$ and labeled dataset $D = ( X , Y )$ . The $\\delta$ and $\\eta$ variables are two directions for a 2D projection of $\\theta$ . The $\\alpha$ and $\\beta$ are the amount of shift along $\\delta$ and $\\eta$ from the origin $\\theta ^ { * }$ . This method allows us to better understand the landscape of loss around the solution. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
174,
|
| 1484 |
+
686,
|
| 1485 |
+
825,
|
| 1486 |
+
742
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 12
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "To choose $\\delta$ and $\\eta$ , one straightforward method is to use random projections. However, it cannot be used to compare the geometry across different networks or loss functions, because of the scale invariance in network weights. One source of such invariance is batch normalization. In such cases, the size (i.e., norm) of a filter (assume a convolution layer) is irrelevant because the output of each layer is re-scaled during batch normalization. Li et al. (2017) propose Filter-wise Normalization to address the above concern. We adopt this strategy to normalize the two random projections and make the relative flatness between loss surfaces comparable. We call this a random projection method. ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
173,
|
| 1495 |
+
750,
|
| 1496 |
+
825,
|
| 1497 |
+
848
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 12
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "Another way to choose $\\delta$ and $\\eta$ is to use solutions from different loss functions. Since we have three loss functions all able to solve the same multi-class classification problem, we can use one solution (e.g. $\\theta _ { M C L } ^ { * }$ from MCL) for the $\\theta ^ { * }$ and use the remaining two solutions (e.g. $\\theta _ { C E } ^ { * }$ and $\\theta _ { K C L } ^ { * }$ ) for the two projections (e.g. $\\delta = \\theta _ { C E } ^ { * } - \\theta _ { M C L } ^ { * }$ and $\\eta = \\theta _ { K C L } ^ { * } - \\theta _ { M C L } ^ { * } )$ . We call this a mutual projection method. ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
174,
|
| 1506 |
+
853,
|
| 1507 |
+
823,
|
| 1508 |
+
924
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 12
|
| 1511 |
+
},
|
| 1512 |
+
{
|
| 1513 |
+
"type": "text",
|
| 1514 |
+
"text": "Visualization Setting: This section uses CIFAR10 and VGG11. We choose VGG11 because it is the smallest network that KCL cannot be optimized well with a regular learning schedule. For each learning objectives, we use the best-learned models in that error rates are less than $1 0 . 4 \\%$ (see Table 1). The parameters of three models $( \\theta _ { C E } ^ { * } , \\theta _ { M C L } ^ { * } , \\theta _ { K C L } ^ { * } )$ are used to construct an interpolated one: $\\theta = \\theta ^ { * } + \\alpha \\delta + \\beta \\eta$ . A $9 1 \\mathbf { x } 9 1$ grid is used to enumerate the combinations of $\\alpha$ and $\\beta$ , which are the scales for the two projected directions. The loss values associated with each $( \\alpha , \\beta )$ are plotted in the z-direction to form a surface for visualization. Similar to Li et al. (2017), the vertical axis of CE is logarithmic to better visualize its dynamic range. For more details please refer to Li et al. (2017). ",
|
| 1515 |
+
"bbox": [
|
| 1516 |
+
173,
|
| 1517 |
+
102,
|
| 1518 |
+
825,
|
| 1519 |
+
215
|
| 1520 |
+
],
|
| 1521 |
+
"page_idx": 13
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"type": "text",
|
| 1525 |
+
"text": "Results and Discussion: In the random projection (Figure 4a), the loss landscape with CE is similar to previous work (Li et al., 2017) which shows a nice convexity with a not-too-deep neural network (ResNet18). The solutions of MCL and KCL are both surrounded by a plateau of high loss, but MCL has a wider concave region. The same wide concavity can be seen in the mutual projection (Figure 4b). This is a possible explanation for why MCL still converges to a good local minimum with a randomly initialized network. Besides, the mutual projection shows that the geometry of MCLβs loss landscape is similar to CEβs surface, while KCL has a sharp low-loss region only around its solutions. This might be a reason why it requires a prolonged training schedule to find a good local minimum. Overall, MCL is qualitatively more similar to CE in the visualization of loss landscape. ",
|
| 1526 |
+
"bbox": [
|
| 1527 |
+
173,
|
| 1528 |
+
220,
|
| 1529 |
+
826,
|
| 1530 |
+
348
|
| 1531 |
+
],
|
| 1532 |
+
"page_idx": 13
|
| 1533 |
+
},
|
| 1534 |
+
{
|
| 1535 |
+
"type": "text",
|
| 1536 |
+
"text": "B KCL VERSUS MCL ",
|
| 1537 |
+
"text_level": 1,
|
| 1538 |
+
"bbox": [
|
| 1539 |
+
176,
|
| 1540 |
+
375,
|
| 1541 |
+
370,
|
| 1542 |
+
392
|
| 1543 |
+
],
|
| 1544 |
+
"page_idx": 13
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"text": "From the view of optimization objective, the KLD-based Contrastive Loss (KCL) has a form close to our MCL although it is originally designed for clustering. In the KCL paper (Hsu & Kira, 2016; Hsu et al., 2018), it interprets the softmax output of a neural network as outputting a probability distribution over cluster assignments. Then a contrastive loss function is defined using KL-divergence to measure the distance between two distributions $\\hat { \\mathbf { y } } _ { i } = f ( x _ { i } ; \\theta )$ and $\\hat { \\mathbf { y } } _ { j } ~ = ~ f ( x _ { j } ; \\theta )$ . The cost between a similar pair $( x _ { i } , x _ { j } )$ , in which $s _ { i j } = 1$ , is given by: ",
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
173,
|
| 1551 |
+
411,
|
| 1552 |
+
825,
|
| 1553 |
+
497
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 13
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "equation",
|
| 1559 |
+
"img_path": "images/925221fa125381528d286f4409d01ea407876a3f159c4a727ae82342b303f42a.jpg",
|
| 1560 |
+
"text": "$$\n\\begin{array} { r } { L _ { K C L } ^ { + } ( x _ { i } , x _ { j } ) = D _ { \\mathrm { K L } } ( \\hat { \\bf y } _ { i } | | \\hat { \\bf y } _ { j } ) + D _ { \\mathrm { K L } } ( \\hat { \\bf y } _ { j } | | \\hat { \\bf y } _ { i } ) . } \\end{array}\n$$",
|
| 1561 |
+
"text_format": "latex",
|
| 1562 |
+
"bbox": [
|
| 1563 |
+
339,
|
| 1564 |
+
526,
|
| 1565 |
+
656,
|
| 1566 |
+
546
|
| 1567 |
+
],
|
| 1568 |
+
"page_idx": 13
|
| 1569 |
+
},
|
| 1570 |
+
{
|
| 1571 |
+
"type": "text",
|
| 1572 |
+
"text": "If $( x _ { i } , x _ { j } )$ is a dissimilar pair $( s _ { i j } = 0 )$ ), then $\\hat { \\mathbf { y } } _ { i }$ and ${ \\hat { \\mathbf { y } } } _ { j }$ are expected to be different distributions, which is described by a hinge-loss function with a hyper-parameter $\\sigma$ for the margin. ",
|
| 1573 |
+
"bbox": [
|
| 1574 |
+
171,
|
| 1575 |
+
565,
|
| 1576 |
+
825,
|
| 1577 |
+
595
|
| 1578 |
+
],
|
| 1579 |
+
"page_idx": 13
|
| 1580 |
+
},
|
| 1581 |
+
{
|
| 1582 |
+
"type": "equation",
|
| 1583 |
+
"img_path": "images/2f6e34ac8ab65d64ac6bdbb1a2bc18ba2fc1d1bc56be8c205db207194de93dec.jpg",
|
| 1584 |
+
"text": "$$\n\\begin{array} { r } { L _ { K C L } ^ { - } ( x _ { i } , x _ { j } ) = L _ { h } ( D _ { \\mathrm { K L } } ( \\hat { \\bf y } _ { i } | | \\hat { \\bf y } _ { j } ) , \\sigma ) + L _ { h } ( D _ { \\mathrm { K L } } ( \\hat { \\bf y } _ { j } | | \\hat { \\bf y } _ { i } ) , \\sigma ) , } \\end{array}\n$$",
|
| 1585 |
+
"text_format": "latex",
|
| 1586 |
+
"bbox": [
|
| 1587 |
+
290,
|
| 1588 |
+
628,
|
| 1589 |
+
705,
|
| 1590 |
+
647
|
| 1591 |
+
],
|
| 1592 |
+
"page_idx": 13
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"type": "text",
|
| 1596 |
+
"text": "Then the total contrastive loss (KCL) has the form: ",
|
| 1597 |
+
"bbox": [
|
| 1598 |
+
173,
|
| 1599 |
+
685,
|
| 1600 |
+
508,
|
| 1601 |
+
700
|
| 1602 |
+
],
|
| 1603 |
+
"page_idx": 13
|
| 1604 |
+
},
|
| 1605 |
+
{
|
| 1606 |
+
"type": "equation",
|
| 1607 |
+
"img_path": "images/3f4b29ac8c4ea213bc2defe14aeb88885da1bd80fe4f3d46aef0fcfebf74b5f7.jpg",
|
| 1608 |
+
"text": "$$\nL _ { K C L } = \\sum _ { i , j } s _ { i j } L _ { K C L } ^ { + } ( x _ { i } , x _ { j } ) + ( 1 - s _ { i j } ) L _ { K C L } ^ { - } ( x _ { i } , x _ { j } ) .\n$$",
|
| 1609 |
+
"text_format": "latex",
|
| 1610 |
+
"bbox": [
|
| 1611 |
+
305,
|
| 1612 |
+
728,
|
| 1613 |
+
692,
|
| 1614 |
+
763
|
| 1615 |
+
],
|
| 1616 |
+
"page_idx": 13
|
| 1617 |
+
},
|
| 1618 |
+
{
|
| 1619 |
+
"type": "text",
|
| 1620 |
+
"text": "In comparing KCL and MCL, we find that they are similar in using pairwise similarity and have no requirement on the number of output nodes $K$ no matter what the true number of classes $C$ is. They can also be plugged into the training of neural networks in the same way, in that switching MCL to KCL can easily be done by replacing the learning criterion. Although they are similar in terms of usage, their formulation has a fundamental difference. KCL is inspired by metric learning, in that KL-divergence is the metric for evaluating the pairwise distance. Our MCL is inspired by the concept of meta classification learning and explained by a maximum likelihood estimation. The most significant difference is that MCL is free of hyperparameter. Therefore MCL does not require cross-validation for hyperparameter tuning. This property is crucial for unsupervised learning or when only a few instances of labeled data are available. ",
|
| 1621 |
+
"bbox": [
|
| 1622 |
+
173,
|
| 1623 |
+
784,
|
| 1624 |
+
825,
|
| 1625 |
+
924
|
| 1626 |
+
],
|
| 1627 |
+
"page_idx": 13
|
| 1628 |
+
},
|
| 1629 |
+
{
|
| 1630 |
+
"type": "text",
|
| 1631 |
+
"text": "Table 5: Estimates for the number of characters across the 20 datasets in $O m n i g l o t _ { e v a l }$ when $C$ \nis unknown. The bold number means the prediction has error smaller or equal to 3. The number \nof dand inant clusters is defiis the size of cluster d by . For $\\begin{array} { r } { N D C = \\sum _ { i = 1 } ^ { K } \\left[ C _ { i } > = E [ C _ { i } ] \\right] } \\end{array}$ , where e alpha $[ \\cdot ]$ is an Iverson Bracket has 1000 images and $C _ { i }$ $i$ $E [ C _ { i } ]$ \n$K = 1 0 0$ . The $A D i f$ represents average difference (Hsu et al., 2018). ",
|
| 1632 |
+
"bbox": [
|
| 1633 |
+
173,
|
| 1634 |
+
99,
|
| 1635 |
+
825,
|
| 1636 |
+
174
|
| 1637 |
+
],
|
| 1638 |
+
"page_idx": 14
|
| 1639 |
+
},
|
| 1640 |
+
{
|
| 1641 |
+
"type": "table",
|
| 1642 |
+
"img_path": "images/13134581eba67b403ce07dd48b7903a8d0e505a9a5ff7882e3ae27537604967f.jpg",
|
| 1643 |
+
"table_caption": [],
|
| 1644 |
+
"table_footnote": [],
|
| 1645 |
+
"table_body": "<table><tr><td>Alphabet</td><td>#class</td><td>SKMS</td><td>KCL</td><td>MCL</td></tr><tr><td>Angelic</td><td>20</td><td>16</td><td>26</td><td>22</td></tr><tr><td>Atemayar Q.</td><td>26</td><td>17</td><td>34</td><td>26</td></tr><tr><td>Atlantean</td><td>26</td><td>21</td><td>41</td><td>25</td></tr><tr><td>Aurek_Besh</td><td>26</td><td>14</td><td>28</td><td>22</td></tr><tr><td>Avesta</td><td>26</td><td>8</td><td>32</td><td>23</td></tr><tr><td>Ge_ez</td><td>26</td><td>18</td><td>32</td><td>25</td></tr><tr><td>Glagolitic</td><td>45</td><td>18</td><td>45</td><td>36</td></tr><tr><td>Gurmukhi</td><td>45</td><td>12</td><td>43</td><td>31</td></tr><tr><td>Kannada</td><td>41</td><td>19</td><td>44</td><td>30</td></tr><tr><td>Keble</td><td>26</td><td>16</td><td>28</td><td>23</td></tr><tr><td>Malayalam</td><td>47</td><td>12</td><td>47</td><td>35</td></tr><tr><td>Manipuri</td><td>40</td><td>17</td><td>41</td><td>33</td></tr><tr><td>Mongolian</td><td>30</td><td>28</td><td>36</td><td>29</td></tr><tr><td>Old Church S.</td><td>45</td><td>23</td><td>45</td><td>38</td></tr><tr><td>Oriya</td><td>46</td><td>22</td><td>49</td><td>32</td></tr><tr><td>Sylheti</td><td>28</td><td>11</td><td>50</td><td>30</td></tr><tr><td>Syriac_Serto</td><td>23</td><td>19</td><td>38</td><td>24</td></tr><tr><td>Tengwar</td><td>25</td><td>12</td><td>41</td><td>26</td></tr><tr><td>Tibetan</td><td>42</td><td>15</td><td>42</td><td>34</td></tr><tr><td>ULOG</td><td>26</td><td>15</td><td>40</td><td>27</td></tr><tr><td>ADif</td><td></td><td>16.3</td><td>6.35</td><td>5.1</td></tr></table>",
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
333,
|
| 1648 |
+
185,
|
| 1649 |
+
665,
|
| 1650 |
+
512
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 14
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "text",
|
| 1656 |
+
"text": "C EXPERIMENTAL SETTING ",
|
| 1657 |
+
"text_level": 1,
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
176,
|
| 1660 |
+
532,
|
| 1661 |
+
419,
|
| 1662 |
+
549
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 14
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "C.1 HYPERPARAMETER TUNING FOR SEMI-SUPERVISED LEARNING",
|
| 1669 |
+
"text_level": 1,
|
| 1670 |
+
"bbox": [
|
| 1671 |
+
174,
|
| 1672 |
+
564,
|
| 1673 |
+
656,
|
| 1674 |
+
579
|
| 1675 |
+
],
|
| 1676 |
+
"page_idx": 14
|
| 1677 |
+
},
|
| 1678 |
+
{
|
| 1679 |
+
"type": "text",
|
| 1680 |
+
"text": "All the semi-supervised learning objectives $L _ { S S L }$ here can be represented as a weighted sum of a supervised term $L _ { s u p }$ and an unsupervised regularization term $L _ { r e g }$ : ",
|
| 1681 |
+
"bbox": [
|
| 1682 |
+
173,
|
| 1683 |
+
589,
|
| 1684 |
+
825,
|
| 1685 |
+
619
|
| 1686 |
+
],
|
| 1687 |
+
"page_idx": 14
|
| 1688 |
+
},
|
| 1689 |
+
{
|
| 1690 |
+
"type": "equation",
|
| 1691 |
+
"img_path": "images/1e9360aa7d8d0355de954e8e2f98b41e594baffbc271a69395adedb089206e32.jpg",
|
| 1692 |
+
"text": "$$\n{ \\cal L } _ { S S L } = \\alpha { \\cal L } _ { s u p } ( X _ { L } , Y _ { L } ) + \\beta { \\cal L } _ { r e g } ( X _ { L } \\cup X _ { U L } )\n$$",
|
| 1693 |
+
"text_format": "latex",
|
| 1694 |
+
"bbox": [
|
| 1695 |
+
339,
|
| 1696 |
+
637,
|
| 1697 |
+
658,
|
| 1698 |
+
655
|
| 1699 |
+
],
|
| 1700 |
+
"page_idx": 14
|
| 1701 |
+
},
|
| 1702 |
+
{
|
| 1703 |
+
"type": "text",
|
| 1704 |
+
"text": "For a fair comparison, one should give the same budget for tuning the hyperparameters, such as $\\alpha$ and $\\beta$ . One strategy is applying an exhaustive grid search in the hyperparameter space. Such searching requires doing cross-validation and may not be applicable when the number of labeled data is small. We adopt another strategy that gives zero tuning budget for all. We decide the $\\alpha$ and $\\beta$ by natural statistics, which is the ratio between the amount of data be seen by the $L _ { s u p }$ and $L _ { r e g }$ . Specifically: ",
|
| 1705 |
+
"bbox": [
|
| 1706 |
+
173,
|
| 1707 |
+
662,
|
| 1708 |
+
825,
|
| 1709 |
+
733
|
| 1710 |
+
],
|
| 1711 |
+
"page_idx": 14
|
| 1712 |
+
},
|
| 1713 |
+
{
|
| 1714 |
+
"type": "equation",
|
| 1715 |
+
"img_path": "images/4270e8eb7ad1fb42dcc0adbd38957e36f7b718e1039cc47ddb0a40a9f68fd19c.jpg",
|
| 1716 |
+
"text": "$$\n\\alpha = \\frac { | D _ { L } | } { | D | + | D _ { L } | } , \\beta = \\frac { | D | } { | D | + | D _ { L } | }\n$$",
|
| 1717 |
+
"text_format": "latex",
|
| 1718 |
+
"bbox": [
|
| 1719 |
+
369,
|
| 1720 |
+
750,
|
| 1721 |
+
616,
|
| 1722 |
+
784
|
| 1723 |
+
],
|
| 1724 |
+
"page_idx": 14
|
| 1725 |
+
},
|
| 1726 |
+
{
|
| 1727 |
+
"type": "text",
|
| 1728 |
+
"text": "One method, VAT (Miyato et al., 2018), has extra hyperparameters (e.g. the $\\epsilon$ ) in its design. In that case, we use the values decided in the original paper for this dataset. ",
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
171,
|
| 1731 |
+
791,
|
| 1732 |
+
825,
|
| 1733 |
+
820
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 14
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "text",
|
| 1739 |
+
"text": "D ASSUMPTIONS IN META CLASSIFICATION LIKELIHOOD ",
|
| 1740 |
+
"text_level": 1,
|
| 1741 |
+
"bbox": [
|
| 1742 |
+
176,
|
| 1743 |
+
838,
|
| 1744 |
+
669,
|
| 1745 |
+
856
|
| 1746 |
+
],
|
| 1747 |
+
"page_idx": 14
|
| 1748 |
+
},
|
| 1749 |
+
{
|
| 1750 |
+
"type": "text",
|
| 1751 |
+
"text": "D.1 SIMPLIFIED LIKELIHOOD ",
|
| 1752 |
+
"text_level": 1,
|
| 1753 |
+
"bbox": [
|
| 1754 |
+
174,
|
| 1755 |
+
869,
|
| 1756 |
+
393,
|
| 1757 |
+
883
|
| 1758 |
+
],
|
| 1759 |
+
"page_idx": 14
|
| 1760 |
+
},
|
| 1761 |
+
{
|
| 1762 |
+
"type": "text",
|
| 1763 |
+
"text": "In section 3, the original likelihood (eq. 2) relies on an additional independence assumption to simplify its negative logarithm form to a binary cross-entropy. Such an simplification raises the question of whether equation (3) is over-simplified. For the supervised learning case (Section 4.1 with results in Section 5.2), where the constraints are ground truth, the global solution of our likelihood is also the solution for the original likelihood. This is because if an instance is misclassified, then it will break some pair-wise constraints in both likelihoods and no longer be optimal. ",
|
| 1764 |
+
"bbox": [
|
| 1765 |
+
173,
|
| 1766 |
+
895,
|
| 1767 |
+
823,
|
| 1768 |
+
924
|
| 1769 |
+
],
|
| 1770 |
+
"page_idx": 14
|
| 1771 |
+
},
|
| 1772 |
+
{
|
| 1773 |
+
"type": "text",
|
| 1774 |
+
"text": "",
|
| 1775 |
+
"bbox": [
|
| 1776 |
+
174,
|
| 1777 |
+
103,
|
| 1778 |
+
823,
|
| 1779 |
+
159
|
| 1780 |
+
],
|
| 1781 |
+
"page_idx": 15
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"type": "text",
|
| 1785 |
+
"text": "Of course, in practice, there could be two issues. First, the optimization methods for more complex models (e.g. stochastic gradient descent) may find local minima. Although it is hard to show theory for this in the general case, where local optima may be found, in such cases our visualization of the loss landscape (see Appendix A) provides some evidence that our method has a landscape that reduces poor local minima compared to prior work (KCL, Hsu et al. (2018)). The second potential issue is when constraints may be noisy. In such cases, for example, if the noise is high and there is a dependency structure to be leveraged, jointly optimizing across many or all constraints with the original likelihood may provide additional performance (at the expense of tractability). In practice, noisy constraints actually occur in our cross-task transfer learning experiments where our similarity prediction has significant errors (e.g. in Table 3 ImageNet experiments the similar pair precision, similar pair recall, dissimilar pair precision, and dissimilar pair recall are 0.812, 0.655, 0.982, and 0.992 respectively). The strong performance in terms of classification accuracy for the cross-task transfer experiments (Tables 2 and 3) shows that our simplification is robust to noise. ",
|
| 1786 |
+
"bbox": [
|
| 1787 |
+
174,
|
| 1788 |
+
166,
|
| 1789 |
+
825,
|
| 1790 |
+
347
|
| 1791 |
+
],
|
| 1792 |
+
"page_idx": 15
|
| 1793 |
+
},
|
| 1794 |
+
{
|
| 1795 |
+
"type": "text",
|
| 1796 |
+
"text": "Overall, the fact that we have demonstrated our method on five image datasets and three application scenarios (Section 5.2 for supervised learning, 5.3 for unsupervised cross-task transfer learning, and 5.4 for semi-supervised learning) empirically support that the proposed likelihood can overcome these two issues. It would be interesting future work to develop methods that can incorporate constraints jointly, however. ",
|
| 1797 |
+
"bbox": [
|
| 1798 |
+
174,
|
| 1799 |
+
354,
|
| 1800 |
+
825,
|
| 1801 |
+
424
|
| 1802 |
+
],
|
| 1803 |
+
"page_idx": 15
|
| 1804 |
+
},
|
| 1805 |
+
{
|
| 1806 |
+
"type": "text",
|
| 1807 |
+
"text": "D.2 SEPARABILITY ASSUMPTIONS ",
|
| 1808 |
+
"text_level": 1,
|
| 1809 |
+
"bbox": [
|
| 1810 |
+
178,
|
| 1811 |
+
440,
|
| 1812 |
+
426,
|
| 1813 |
+
455
|
| 1814 |
+
],
|
| 1815 |
+
"page_idx": 15
|
| 1816 |
+
},
|
| 1817 |
+
{
|
| 1818 |
+
"type": "text",
|
| 1819 |
+
"text": "Note that we assume separability of semantic categories in a dataset. This means that when the constraints are given (supervised learning), there is sufficient information (in the features) to separate or to group the samples. In the case of no given constraints (unsupervised or semi-supervised learning), there is also sufficient information to estimate the pairwise similarity. However, these are common assumptions that are inherent in discriminative models. ",
|
| 1820 |
+
"bbox": [
|
| 1821 |
+
174,
|
| 1822 |
+
467,
|
| 1823 |
+
825,
|
| 1824 |
+
536
|
| 1825 |
+
],
|
| 1826 |
+
"page_idx": 15
|
| 1827 |
+
}
|
| 1828 |
+
]
|
parse/train/SJzR2iRcK7/SJzR2iRcK7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SJzR2iRcK7/SJzR2iRcK7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/WA39qkJvLi/WA39qkJvLi.md
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Uncertainty-Driven Loss for Single Image Super-Resolution
|
| 2 |
+
|
| 3 |
+
Qian $\mathbf { N i n g ^ { 1 } }$ , Weisheng $\mathbf { D o n g } ^ { 1 }$ β, Xin Li2, Jinjian $\mathbf { W } \mathbf { u } ^ { 1 }$ , Guangming Shi1 1School of Artificial Intelligence, Xidian University, Xiβan 710071, China 2Lane Dep. of CSEE, West Virginia University, Morgantown WV 26506, USA ningqian@stu.xidian.edu.cn, {wsdong,jinjian.wu}@mail.xidian.edu.cn xin.li@mail.wvu.edu, gmshi@xidian.edu.cn
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
In low-level vision such as single image super-resolution (SISR), traditional MSE or $\mathcal { L } _ { 1 }$ loss function treats every pixel equally with the assumption that the importance of all pixels is the same. However, it has been long recognized that texture and edge areas carry more important visual information than smooth areas in photographic images. How to achieve such spatial adaptation in a principled manner has been an open problem in both traditional model-based and modern learning-based approaches toward SISR. In this paper, we propose a new adaptive weighted loss for SISR to train deep networks focusing on challenging situations such as textured and edge pixels with high uncertainty. Specifically, we introduce variance estimation characterizing the uncertainty on a pixel-by-pixel basis into SISR solutions so the targeted pixels in a high-resolution image (mean) and their corresponding uncertainty (variance) can be learned simultaneously. Moreover, uncertainty estimation allows us to leverage conventional wisdom such as sparsity prior for regularizing SISR solutions. Ultimately, pixels with large certainty (e.g., texture and edge pixels) will be prioritized for SISR according to their importance to visual quality. For the first time, we demonstrate that such uncertainty-driven loss can achieve better results than $M S E$ or $\mathcal { L } _ { 1 }$ loss for a wide range of network architectures. Experimental results on three popular SISR networks show that our proposed uncertainty-driven loss has achieved better PSNR performance than traditional loss functions without any increased computation during testing. The code is available at https://see.xidian.edu.cn/faculty/wsdong/Projects/UDL-SR.htm
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
Single image super-resolution (SISR) aims at reconstructing high-resolution (HR) images from their corresponding degraded low-resolution (LR) images. Since the publication of super-resolution with convolutional neural network (SRCNN) [1], there has been a flurry of works on deep learning-based approaches toward SISR - e.g., EDSR [2], DPDNN [3], RCAN [4], SAN [5], and MoG-DUN [6]. The unifying theme along this line of research appears to be that deeper, bigger, and more complex networks can achieve improved SISR performance by facilitating the reconstruction of high-frequency details such as textures and edges in photographic images. Such improvement has been achieved by novel network architectures (e.g., skip connections [2]), new attention mechanism (e.g., residue channel attention [4]), and closed-loop supervision [7]. Surprisingly, most of these existing methods have adopted $M S E$ or $\mathcal { L } _ { 1 }$ loss to optimize the parameters of networks.
|
| 12 |
+
|
| 13 |
+
The commonly used practice, such as $M S E$ or $\mathcal { L } _ { 1 }$ loss, treats every pixel equally regardless of whether the pixel is in texture/edge regions or smooth areas. The optimality of such non-adaptive loss function has been questioned in the literature of SISR calling for the proposition of perceptual loss function (e.g., [9]). From a Bayesian perspective, the assumption underlying the $M S E$ or $\bar { \mathcal { L } } _ { 1 }$ loss is that each pixel obeys the independent and identically distribution with the same variance. Taking $\mathcal { L } _ { 1 }$ loss as an example, the likelihood of all pixels in an image can be formulated as
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: Illustration of the difference (d) between HR image (b) and SR image (c) reconstructed by EDSR network [2] on dataset Set14 [8]. The image reconstructed by EDSR network is shown in (c) and (d) shows the absolute difference between the HR image and SR image. Best viewed in color.
|
| 17 |
+
|
| 18 |
+
$$
|
| 19 |
+
p ( \pmb { x } \mid \pmb { y } , \pmb { W } ) = \prod _ { l = 1 } ^ { M } c \exp ( - \frac { \vert \vert \pmb { x } ^ { ( l ) } - \pmb { f } ^ { ( W ) } ( \pmb { y } ^ { ( l ) } ) \vert \vert _ { 1 } } { \sigma } ) ,
|
| 20 |
+
$$
|
| 21 |
+
|
| 22 |
+
where $_ { \textbf { \em x } }$ and $\textbf { { y } }$ denote the pair of HR and LR image, $f ^ { ( W ) } ( \cdot )$ denotes an arbitrary SISR network parameterized by $W$ , and $c , \sigma$ denote spatially invariant constants. However, such assumption of stationarity or spatial invariance of image prior model is invalid for photographic images in the real world. For instance, if one compares the ground-truth (HR image) and the SR image reconstructed by EDSR [2] as shown in Fig. 1 (c), it can be observed that texture areas (e.g., hair of baboon) are not restored as good as smooth areas (e.g., nose of baboon). Fig. 1 (d) depicts the absolute difference between the HR image and reconstructed SR image, from which we can observe spatial variation of the difference map. Such observation implies that the uncertainty of texture and edge areas as characterized by the variance is much larger than that in smooth areas. How to address such uncertainty-driven loss for SISR sets up the stage for this paper.
|
| 23 |
+
|
| 24 |
+
In this paper, we propose a new adaptive weighted loss (uncertainty-driven loss) for SISR by assigning texture and edge areas with higher weights during the training process. Unlike previous work of perceptual loss [9] focusing on characterizing content and style consistency, we target at explicitly estimating the variance field underlying the unknown HR image in the first step, which can be exploited as an auxiliary signal for guiding the SISR solution in the second step. A direct consequence of our two-step learning approach is that it delivers not only higher visual quality but also improved objective performance such as PSNR and SSIM. Moreover, uncertainty estimation perspective allows us to easily incorporate existing models such as Jeffereyβs prior [10, 11] into the proposed SISR solution. It follows that the network training boils down to two sequential steps in which the variance map is estimated from the first step and serves as the attention signal for the second step. The main technical contributions are summarized as follows.
|
| 25 |
+
|
| 26 |
+
β’ Uncertainty modeling and estimation. We propose to cast SISR into a Bayesian estimation framework under which SR image (mean) and uncertainty (variance) are derived simultaneously. Unlike previous works in which pixels with large uncertainty are attenuated for high-level vision tasks, we advocate to prioritize them for low-level vision tasks such as SISR.
|
| 27 |
+
Uncertainty-driven loss (UDL). The estimation of variance map facilitates the training of SISR network by dividing it into two steps. In the first step, an estimating sparsity uncertainty (ESU) loss function was derived from the classical Jeffreyβs prior to estimate the variance map. In the second step, the estimated variance map serves as the guidance signal leading to adaptive weighted loss named uncertainty-driven loss ${ \mathcal { L } } _ { \mathrm { U D L } }$ .
|
| 28 |
+
Universality of UDL. The proposed uncertainty loss can easily be employed in any existing SISR network to improve performance and do not increase any additional computation cost during testing.
|
| 29 |
+
β’ Experimental results on three different baseline networks show that our proposed uncertaintydriven loss has achieved better PSNR performance than traditional $M S E$ or $\mathcal { L } _ { 1 }$ loss.
|
| 30 |
+
|
| 31 |
+
# 2 Related Work
|
| 32 |
+
|
| 33 |
+
# 2.1 Uncertainty in Deep Learning
|
| 34 |
+
|
| 35 |
+
Many works [12β14] have introduced uncertainty into the regression with input-dependent noises problems, and studied the nature and behavior of uncertainty for a long time. More recently, modeling uncertainty in deep learning have improved the performance and robustness of deep networks in many computer vision tasks [15β17] such as image classification [18], image segmentation [15, 16], and face recognition [17, 19]. The uncertainty in deep learning can be roughly divided into two categories [20]. Epistemic/model uncertainty describes how much the model is uncertain about its predictions. Another type is aleatoric/data uncertainty which refers to noise inherent in observation data. In [15], they presented a Bayesian deep learning framework combining aleatoric uncertainty with epistemic uncertainty for per-pixel semantic segmentation and depth regression tasks. Chang et al.[17] investigated the data uncertainty with estimated mean and variance in face recognition. Those uncertainty-based loss function proposed by those works [15β17] can be summarized as
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\mathcal { L } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \frac { | | \pmb { x } _ { i } - \pmb { f } ( \pmb { y } _ { i } ) | | _ { 2 } } { 2 \sigma _ { i } ^ { 2 } } + \frac { 1 } { 2 } \ln \sigma _ { i } ^ { 2 } ,
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $f ( \pmb { y } _ { i } )$ and $\sigma _ { i } ^ { 2 }$ denote the learned mean and variance respectively. Using above loss function indeed improved their robustness to noisy data. In those tasks, the pixels with high uncertainty were regarded as unreliable pixels which would bear loss attenuation. On the contrary, in SISR tasks, the pixels with high uncertainty (e.g., complex texture or edge areas) should be prioritized since those regions visually more important than pixels in smooth areas. That can explain why applying above loss into SISR directly leads performance decline.
|
| 42 |
+
|
| 43 |
+
# 2.2 Modeling Uncertainty for SISR
|
| 44 |
+
|
| 45 |
+
To the best of our knowledge, only two works [21, 22] have studied the behavior of uncertainty for SISR in the open literature. [22] used batch-normalization uncertainty to analyze SISR uncertainty, improving the robustness of the network against adversarial attack. The most recent advance related to our work is Gradient Rescaling Attention Model (GRAM) [21], which analyses the effect of aleatoric/data uncertainty on SISR reconstruction. By decreasing the loss attenuation of large variance pixels, GRAM achieves better results than applying above uncertainty loss into SISR directly. However, GRAM [21] loss remains attenuated when the variance of pixels is high, which contradicts the intuition of prioritizing texture and edge pixels. Thus, GRAM [21] is still inferior to baseline methods since the proposed method fails to prioritize the pixels of large variance. Different from GRAM, we propose a novel uncertainty-driven loss (UDL) to enforce the network concentrating more on the pixels with large variance aiming at better reconstruction of texture and edge regions. By quantifying the uncertainty in SISR under deep Bayesian framework, our proposed method has achieved better results than baseline methods.
|
| 46 |
+
|
| 47 |
+
# 3 Methodology
|
| 48 |
+
|
| 49 |
+
Unlike traditional $M S E$ or $\mathcal { L } _ { 1 }$ loss treating every pixel equally, the proposed new adaptive weighted loss for SISR aims at prioritizing texture and edge pixels that are visually more important than pixels in smooth areas. Toward this objective, we first introduce an approach of estimating intermediate results of SR image (mean) and uncertainty (variance) simultaneously in SISR. Then, with Jeffreyβs prior term, a regularized approach of estimating sparse uncertainty is proposed for more accurate uncertainty estimation. An important new insight brought by this paper is that unlike high-level vision tasks where pixels with large uncertainty are assigned lower weights to attenuate their impact $I I 5 J ,$ one should prioritize these pixels in low-level vision tasks such as SISR. Such observation implies that the attenuation of weighting coefficients in loss function needs to be properly translated into the attention mechanism given the specific vision problem as the context.
|
| 50 |
+
|
| 51 |
+
In previous study [15], it has been shown that explicitly representing aleatoric uncertainty can lead to performance and robustness improvement to noise data in high-level vision tasks such as image segmentation. Such improvement can be explained away by attenuating the weights of pixels with large uncertainty. However, attenuation has to go the opposite direction in low-level vision tasks such as SISR - i.e., larger weights should be assigned to the pixels with high uncertainty (e.g., texture and edge pixels) because they are visually more important than pixels in smooth regions. It should be noted that existing work such as gradient rescaling strategy in GRAM [21] fails to recognize such difference and does not prioritize pixels with high uncertainty. In this paper, we propose a new adaptive weighted loss named uncertainty-driven loss (UDL) for properly turning attenuation into attention for SISR.
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 2: The overview of training SISR network with proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss. The whole training process can divided into two steps; the first step estimates the uncertainty $\pmb \theta$ precisely and the second step generates the final mean value $f ( \boldsymbol { y } )$ . In step1 shown in (a), the mean value $f ( \boldsymbol { y } )$ and variance $\pmb \theta$ are pretrained by $\mathcal { L } _ { \mathrm { E S U } }$ loss. During step2, as shown in (b), the mean value $f ( y )$ network is trained by ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss, while the network of inferring variance $\pmb \theta$ is fixed. Note that the mean value $f ( \boldsymbol { y } )$ network of step2 starts training from the pretrained network of step1. The Nearest Upsampling denotes interpolation operator.
|
| 55 |
+
|
| 56 |
+
# 3.1 Estimating Uncertainty (EU) in SISR.
|
| 57 |
+
|
| 58 |
+
As discussed in [15], there are two classes of uncertainty in Bayesian modeling: aleatoric uncertainty capturing noise inherent in observation data and epistemic uncertainty accounting for uncertainty of model about its predictions. We opt to study the former (aleatoric uncertainty) and explore its application into SISR by designing new uncertainty-driven loss (UDL) functions in this paper. In order to better quantify aleatoric uncertainty in SISR, we use ${ \mathbf { } } _ { \mathbf { } } \mathbf { } _ { \mathbf { } } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf { } \Psi \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf { } \Psi \mathbf \Psi \Psi \mathbf { } \mathbf \Psi \Psi \Psi \mathbf { } \mathbf \Psi \Psi \Psi \mathbf { } \mathbf \Psi \Psi \Psi \mathbf { }$ to denote the low-resolution (LR) image and the corresponding high-resolution (HR) image respectively. Let $f ( \cdot )$ denotes an arbitrary SISR network and the aleatoric uncertainty can be denoted by an additive term $\theta _ { i }$ . This way, the overall observation model can be formulated as
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\pmb { x } _ { i } = f ( \pmb { y } _ { i } ) + \epsilon \pmb { \theta } _ { i } ,
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
where $\epsilon$ represents the Laplace distribution with zero-mean and unit-variance. Existing deep-learning based SISR methods target at training a network to learn the SR image (mean) $f ( \pmb { y } _ { i } )$ only. To more accurately characterize aleatoric uncertainty for SISR, we propose to estimate not only the SR image (mean) $\dot { f } ( \pmb { y } _ { i } )$ but also the uncertainty (variance) $\theta _ { i }$ simultaneously.
|
| 65 |
+
|
| 66 |
+
For a given LR image $\mathbf { \nabla } _ { \mathbf { \psi } _ { 3 } } \psi _ { i }$ and corresponding HR image $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { i } }$ , a Laplace distribution 2 is assumed for characterizing the likelihood function by
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
p ( \pmb { x } _ { i } , \pmb { \theta } _ { i } | \pmb { y } _ { i } ) = \frac { 1 } { 2 \pmb { \theta } _ { i } } \exp ( - \frac { | | \pmb { x } _ { i } - \pmb { f } ( \pmb { y } _ { i } ) | | _ { 1 } } { \pmb { \theta } _ { i } } ) ,
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where $f ( \pmb { y } _ { i } )$ and $\theta _ { i }$ denote the SR image (mean) and the uncertainty (variance) which are learned by deep neural networks (DNNs) respectively. Then, the log likelihood can be formulated as follows,
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\ln p ( { \pmb x } _ { i } , \pmb \theta _ { i } | { \pmb y } _ { i } ) = - \frac { | | { \pmb x } _ { i } - f ( { \pmb y } _ { i } ) | | _ { 1 } } { \pmb \theta _ { i } } - \ln \pmb \theta _ { i } - \ln 2
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 3: SISR visual quality comparisons of EDSR-S [2] with different loss function on βImg_005β from Set5 [23] (bicubic-downsampling $\times 4 )$ ). Best viewed in color.
|
| 80 |
+
|
| 81 |
+
For numerical stability, we train the networks to estimate log variance $\begin{array} { r } { s _ { i } = \ln \theta _ { i } } \end{array}$ as shown in Fig. 2 (a). At last, the maximum likelihood estimation of (5) can be reformulated as the minimization of following loss function for estimating uncertainty (EU) in SISR.
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\mathcal { L } _ { E U } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \exp ( - s _ { i } ) \vert \vert \pmb { x } _ { i } - f ( \pmb { y } _ { i } ) \vert \vert _ { 1 } + s _ { i }
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
Jeffreyβs Prior for Estimating Sparse Uncertainty (ESU) in SISR. The loss function $\mathcal { L } _ { \mathrm { E U } }$ includes two terms; the first one is associated with fidelity term and the second one prevents the network from predicting infinite uncertainty for all pixels. Those two terms reach equilibrium but there is no prior that imposed on the uncertainty estimation. Therefore, based on the observation that the uncertainty is sparse in view of the whole image as shown in Fig. 2, we propose to impose Jeffreyβs prior [10] $\begin{array} { r } { p ( \dot { \boldsymbol { w } } ) \propto \frac { 1 } { w } } \end{array}$ on uncertainty $\theta _ { i }$ , which can be expressed as
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\nu ( x _ { i } , \theta _ { i } | y _ { i } ) = p ( x _ { i } | y _ { i } , \theta _ { i } ) p ( \theta _ { i } ) \propto \frac { 1 } { 2 \theta _ { i } } \exp ( - \frac { \left| | x _ { i } - f ( y _ { i } ) | \right| _ { 1 } } { \theta _ { i } } ) \frac { 1 } { \theta _ { i } } = \frac { 1 } { 2 \theta _ { i } ^ { 2 } } \exp ( - \frac { \left| | x _ { i } - f ( y _ { i } ) | \right| _ { 1 } } { \theta _ { i } } )
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
Then the log likelihood and loss function can be separately formulated as follows,
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\ln p ( \pmb { x } _ { i } | \pmb { y } _ { i } ) = - \frac { | | \pmb { x } _ { i } - \pmb { f } ( \pmb { y } _ { i } ) | | _ { 1 } } { \pmb { \theta } _ { i } } - 2 \ln \pmb { \theta } _ { i } - \ln 2
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
\mathcal { L } _ { E S U } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \exp ( - s _ { i } ) | | x _ { i } - f ( \pmb { y } _ { i } ) | | _ { 1 } + 2 s _ { i }
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
The limitations of $\mathcal { L } _ { \bf E U }$ and ${ \mathcal { L } } _ { \mathbf { E S U } }$ loss. Applying $\mathcal { L } _ { \mathrm { E U } }$ and $\mathcal { L } _ { \mathrm { E S U } }$ loss leads to more accurate estimation of uncertainty (variance field), but counter-intuitively, they do not directly improve the performance of SISR. We have conducted experiments comparing those three different loss functions to verify the above claim. As shown in Tab. 1, the average PSNR and SSIM results of $\mathcal { L } _ { \mathrm { E S U } }$ and $\mathcal { L } _ { \mathrm { E U } }$ are notably lower than the original results. The reason behind this observation is that both ${ \mathcal { L } } _ { \mathrm { E U } }$ and $\mathcal { L } _ { \mathrm { E S U } }$ loss functions have incorporated the variance term $( \pmb \theta _ { i } )$ into the divisor of the absolution difference term. Consequently, a pixel with a large variance will be penalized after the division and has less impact on the overall loss function. Note that such attenuation of pixels with large uncertainty is preferred for high-level vision tasks, as demonstrated in previous works [15β17] on image classification [18], image segmentation [15, 16], and face recognition [17, 19].
|
| 104 |
+
|
| 105 |
+
Low-level vision tasks such as SISR are much different. As shown in Fig. 1, pixels with large uncertainty carry visually important information such as textured and edges. They need to be prioritized (opposite to attenuation) and given larger instead of smaller weights. To verify such claim, we have presented a simple example comparing the visual results between $\mathcal { L } _ { \mathrm { E U } }$ and $\mathcal { L } _ { \mathrm { E S U } }$ as shown in Fig. 3. It can be seen that the uncertainty captured by $\mathcal { L } _ { \mathrm { E S U } }$ loss is better than $\mathcal { L } _ { \mathrm { E U } }$ loss. The improvement of $\mathcal { L } _ { \mathrm { E S U } }$ in Eq. (9) over $\mathcal { L } _ { \mathrm { E U } }$ in Eq. (6) is attributed to the prioritization of pixels with large uncertainty ( $\boldsymbol { s } _ { i }$ values). Fig. 3 (f) clearly demonstrate superiority of exploiting the sparsity constraint with the uncertainty estimation.
|
| 106 |
+
|
| 107 |
+
Table 1: Average PSNR and SSIM results for BI degradation on five datasets for investigating three different loss. The best performance is shown in bold. We record the results in $1 . 2 \times 1 0 ^ { \overline { { 5 } } }$ iterations.
|
| 108 |
+
|
| 109 |
+
<table><tr><td rowspan="2">Base Model</td><td rowspan="2">Scale</td><td rowspan="2">Loss</td><td colspan="2">Set5[23]</td><td colspan="2">Set14 [8]</td><td colspan="2">BSD100[24]</td><td colspan="2">Urban100 [25]</td><td colspan="2">Manga109 [26]</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan="3">EDSR-S[2]</td><td rowspan="3">Γ4</td><td>Original</td><td>30.93</td><td>0.8740</td><td>27.80</td><td>0.7627</td><td>27.05</td><td>0.7190</td><td>24.71</td><td>0.7351</td><td>28.14</td><td>0.8693</td></tr><tr><td>LEU</td><td>30.19</td><td>0.8627</td><td>27.29</td><td>0.7538</td><td>26.78</td><td>0.7120</td><td>24.21</td><td>0.7179</td><td>26.78</td><td>0.8481</td></tr><tr><td>LESU</td><td>30.31</td><td>0.8637</td><td>27.39</td><td>0.7543</td><td>26.83</td><td>0.7124</td><td>24.27</td><td>0.7192</td><td>26.92</td><td>0.8496</td></tr></table>
|
| 110 |
+
|
| 111 |
+
# 3.2 Uncertainty-Driven Loss (UDL) for SISR
|
| 112 |
+
|
| 113 |
+
Improvement of $\mathcal { L } _ { \mathrm { E S U } }$ over $\mathcal { L } _ { \mathrm { E U } }$ inspired us to go one step further. To better prioritize pixels with large uncertainty, we propose a new adaptive weighted loss named uncertainty-driven loss (UDL) for SISR. Unlike $\mathcal { L } _ { \mathrm { E S U } }$ loss putting a larger weight to the second term than $\mathcal { L } _ { \mathrm { E U } }$ , we suggest that the first term can also be modified to directly associate the aleatoric/data uncertainty of $f ( \pmb { y } _ { i } )$ . That is, instead of using $e x p ( - s _ { i } )$ to attenuate the importance of pixels with large uncertainty, we need to use a monotonically increasing function to prioritize them. Linear scaling would be a natural option, which leads to the following loss function
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\mathcal { L } _ { U D L } = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \hat { s _ { i } } | | \pmb { x } _ { i } - f ( \pmb { y } _ { i } ) | | _ { 1 } ,
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
where ${ \hat { s } } _ { i } = s _ { i } - \operatorname* { m i n } ( s _ { i } )$ is a non-negative linear scaling function. To prevent uncertainty value from degenerating into zeros, the result of uncertainty estimation network in the first step will be passed to the second step as the attention signal $\displaystyle s = \ln \theta$ ), as shown in Fig. 2. By leveraging the log variance to represent the challenging and cumbersome pixels with higher uncertainty, we propose a new weighted loss named uncertainty-driven loss ${ \mathcal { L } } _ { \mathrm { U D L } }$ . In ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss, texture and edge pixels with higher uncertainty tend to have larger weights than those in smooth regions. In summary, the uncertainty estimation $\pmb \theta$ serves as the bridge connecting two steps: it is the output of the first step; but passed on to the second step as the guidance required for calculating ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss.
|
| 120 |
+
|
| 121 |
+
# 3.3 Two-step Training of Dual Networks
|
| 122 |
+
|
| 123 |
+
As shown in Fig. 2, the whole training process can be divided into two steps; the first step estimates the uncertainty $\pmb { \theta }$ precisely and the second step generates the final mean value $f ( \boldsymbol { y } )$ with the aid from the estimated uncertainty $\pmb \theta$ from step1. More specifically, the mean value $f ( y )$ and variance $\theta$ are pre-trained by $\mathcal { L } _ { \mathrm { E S U } }$ loss during step1 as shown in Fig. 2 (a). After the uncertainty has been estimated, the mean value $f ( \boldsymbol { y } )$ network is trained by ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss with variance $\theta$ as shown in Fig. 2 (b), while the network of inferring variance $\pmb { \theta }$ is fixed.
|
| 124 |
+
|
| 125 |
+
Note that the mean value $f ( \boldsymbol { y } )$ network of step2 starts training from the pre-trained network of step1. Such partial parameter sharing is a salient property of our proposed dual networks with parallel symmetric attention [27]. In theory, we can extend the two-step training into multiple-step training by alternating between the estimation of uncertainty (variance $\pmb \theta$ ) and mean value $f ( \boldsymbol { y } )$ . Conceptually, an improved estimation of unknown HR image can leads to an improved estimation of aleatoric uncertainty and vice versa. This line of reasoning will lead to the pursuit of a deep equilibrium model [28] for SISR; but it is beyond the scope of this paper.
|
| 126 |
+
|
| 127 |
+
# 3.4 Discussions: Why UDL Outperforms GRAM?
|
| 128 |
+
|
| 129 |
+
To the best of our knowledge, only one work GRAM [21] has studied data uncertainty in SISR, which is the most related to our work. We will discuss connections and differences between proposed UDL and GRAM [21] here. First, both GRAM [21] and our work has found out that applying the traditional uncertainty loss designed for high-level computer vision tasks into SISR task directly results in performance decline. For high-level computer vision tasks, the pixels with higher uncertainty indicates less confidence in final inference, which needs loss attenuation. However, for SISR tasks, the pixels with higher uncertainty (e.g., texture and edge pixels) should be prioritized with larger weights because they are visually more important than pixels in smooth regions. To solve this problem, GRAM [21] proposes to use uncertainty to generate an attention mask that decreases loss attenuation. However, GRAM [21] loss still is attenuated when the variance of pixels is high. Thus, GRAM [21] is still inferior to baseline method since it still does not prioritize pixels with high uncertainty.
|
| 130 |
+
|
| 131 |
+
Different from GRAM, we propose an uncertainty-driven loss to assign the pixels with high variance more weight to prioritize them. Besides, modeling uncertainty under Bayesian framework allows us to leverage sparsity prior for a more precise estimation of uncertainty. Ultimately, our proposed method consists of those two technical contributions that achieve better results than baseline methods and outperform GRAM.
|
| 132 |
+
|
| 133 |
+
# 4 Experiments
|
| 134 |
+
|
| 135 |
+
# 4.1 Experimental Settings
|
| 136 |
+
|
| 137 |
+
Datasets and Metrics. 800 high-quality (2K resolution) images from the DIV2K dataset [29] have been used for training. Following EDSR [2], five standard benchmark datasets: Set5 [23], Set14 [8], BSD100[24], Urban100 [25], Manga109 [26] are used for testing. Performance evaluation in terms of of PSNR and SSIM [30] metrics is conducted on the luminance (Y) channel only.
|
| 138 |
+
|
| 139 |
+
Training Setting. We randomly select 16 RGB LR patches sized by $4 8 \times 4 8$ as the inputs. The image patches are randomly rotated by $9 0 ^ { \circ }$ , $1 8 0 ^ { \circ }$ , $2 7 0 ^ { \circ }$ and flipped horizontally. The ADAM algorithm [31] with $\beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 9 9$ , $\epsilon \overset { \cdot } { = } 1 0 ^ { - 8 }$ is adopted to optimize the network. The initial learning rate is $1 0 ^ { - 4 }$ and decreases by half for every $2 \times 1 0 ^ { 5 }$ minibatch updates.
|
| 140 |
+
|
| 141 |
+
Degradation models. To demonstrate the effectiveness of our proposed uncertainty-driven loss in varying degradation scenarios, we have designed the following experiments with two different degradation models. Let BI denotes bicubic downsampling. The second one is BD which uses Gaussian blur followed by nearest downsampling to generate LR images. Specifically, we apply $1 1 \times 1 1$ sized Gaussian kernel with a standard deviation 1.6 for blurring in our experiments.
|
| 142 |
+
|
| 143 |
+
SISR Networks. We choose three different networks to verify the effectiveness of proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss. The first one is EDSR-S or called baseline network in [2]. EDSR-S [2] mainly consists of 16 Resblock with 64 channels, having $1 . 5 M$ parameters. The second one is DPDNN[3] where denoiser network is U-net under model-guided framework. The last one is a big network EDSR[2], consisting of 32 Resblock with 256 channels, having $4 3 M$ parameters. The analysis of training cost can be found in our supplementary material.
|
| 144 |
+
|
| 145 |
+
# 4.2 Ablation Study
|
| 146 |
+
|
| 147 |
+
Table 2: Average PSNR and SSIM results for BI degradation on five datasets for investigating three different loss. The best performance is shown in bold. We record the results in $4 \times 1 0 ^ { 5 }$ iterations.
|
| 148 |
+
|
| 149 |
+
<table><tr><td rowspan="2">Base Model</td><td rowspan="2">Scale</td><td rowspan="2">Loss</td><td colspan="2">Set5[23]</td><td colspan="2">Set14[8]</td><td colspan="2">BSD100 [24]</td><td colspan="2">Urban100[25]</td><td colspan="2">Manga109 [26]</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan="3">EDSR-S[2]</td><td rowspan="3">Γ4</td><td>Original</td><td>31.61</td><td>0.8862</td><td>28.22</td><td>0.7721</td><td>27.30</td><td>0.7271</td><td>25.25</td><td>0.7575</td><td>29.31</td><td>0.8907</td></tr><tr><td>LEU+LUDL</td><td>31.83</td><td>0.8895</td><td>28.33</td><td>0.7754</td><td>27.37</td><td>0.7297</td><td>25.49</td><td>0.7665</td><td>29.70</td><td>0.8959</td></tr><tr><td>LESU+LUDL</td><td>31.90</td><td>0.8897</td><td>28.37</td><td>0.7755</td><td>27.40</td><td>0.7301</td><td>25.54</td><td>0.7671</td><td>29.77</td><td>0.8967</td></tr></table>
|
| 150 |
+
|
| 151 |
+
To further verify the effectiveness of sparse uncertainty estimation at step1, we have conducted an ablation study to compare the final PSNR/SSIM results of ${ \mathcal { L } } _ { \mathrm { U D L } }$ with $\mathcal { L } _ { \mathrm { E U } }$ or with $\mathcal { L } _ { \mathrm { E S U } }$ at step1. In our ablation study, we have used $\times 4$ bicubic down-sampling degradation on five frequently-used benchmark datasets with EDSR-S backbone[2]. As shown in Tab. 2, both ${ \mathcal { L } } _ { \mathrm { E U } } { + } { \mathcal { L } } _ { \mathrm { U D L } }$ and ${ \mathcal { L } } _ { \mathrm { E S U } } { + } { \mathcal { L } } _ { \mathrm { U D L } }$ loss have achieved better performance than original loss. Besides, ${ \mathcal { L } } _ { \mathrm { E S U } } { + } { \mathcal { L } } _ { \mathrm { U D L } }$ loss obtains better results than $\mathcal { L } _ { \mathrm { E U } } { + } \mathcal { L } _ { \mathrm { U D L } }$ due to more accurate uncertainty estimation as shown in Fig. 3 (e) and (f).
|
| 152 |
+
|
| 153 |
+
# 4.3 Analysis of Different Weighted Loss
|
| 154 |
+
|
| 155 |
+
There are many different weighted loss guided by different weight maps, such as Error_map, Gradient_map which can also reveal the challenging pixels. We have conducted experiments with a weighted loss function where the weight is a pixel-wise gradient or Error_map. The PSNR results of five benchmark datasets for investigating the influence of different weighted loss functions can be summarized in Tab. 3.
|
| 156 |
+
|
| 157 |
+
The $H R$ _gradient_map and $L R$ _gradien_map denote calculating gradient map from high-resolution (ground truth) images and low-resolution images respectively. The calculation of gradient can be formulated as
|
| 158 |
+
|
| 159 |
+
$$
|
| 160 |
+
\begin{array} { r } { V ( i , j ) = I ( i + 1 , j ) - I ( i , j ) , H ( i , j ) = I ( i , j + 1 ) - I ( i , j ) , G ( i , j ) = | | ( V ( i , j ) , H ( i , j ) | | _ { 2 } , } \end{array}
|
| 161 |
+
$$
|
| 162 |
+
|
| 163 |
+
Table 3: Average PSNR and $\Delta$ PSNR results with BI degradation on five datasets for investigating the influence of different weighted loss functions. The best performance is shown in bold.
|
| 164 |
+
|
| 165 |
+
<table><tr><td rowspan=1 colspan=1>Weighted loss</td><td rowspan=1 colspan=1>Set5</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Set14</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>BSD100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Urban100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Manga109</td><td rowspan=1 colspan=1>β³</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>31.61</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>27.30</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>25.25</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>29.31</td><td rowspan=1 colspan=1>0.00</td></tr><tr><td rowspan=1 colspan=1>Uncertainty(Ours)</td><td rowspan=1 colspan=1>31.90</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>28.37</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.54</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>29.77</td><td rowspan=1 colspan=1>0.46δΈͺ</td></tr><tr><td rowspan=1 colspan=1>Error_map</td><td rowspan=1 colspan=1>31.77</td><td rowspan=1 colspan=1>0.16δΈͺ</td><td rowspan=1 colspan=1>28.30</td><td rowspan=1 colspan=1>0.08δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.40</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>29.57</td><td rowspan=1 colspan=1>0.26δΈͺ</td></tr><tr><td rowspan=1 colspan=1>HR_gradient_map</td><td rowspan=1 colspan=1>31.68</td><td rowspan=1 colspan=1>0.07δΈͺ</td><td rowspan=1 colspan=1>28.27</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.42</td><td rowspan=1 colspan=1>0.17δΈͺ</td><td rowspan=1 colspan=1>29.45</td><td rowspan=1 colspan=1>0.14δΈͺ</td></tr><tr><td rowspan=1 colspan=1>LR_gradient_map</td><td rowspan=1 colspan=1>31.69</td><td rowspan=1 colspan=1>0.08δΈͺ</td><td rowspan=1 colspan=1>28.29</td><td rowspan=1 colspan=1>0.07δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.38</td><td rowspan=1 colspan=1>0.13δΈͺ</td><td rowspan=1 colspan=1>29.50</td><td rowspan=1 colspan=1>0.19δΈͺ</td></tr></table>
|
| 166 |
+
|
| 167 |
+
where $I$ denotes pixels value and $i , j$ denotes position of pixels. Note that we adjust the scaling functions of Error_map, HR_gradient_map and LR_gradient_map to get the best performance.
|
| 168 |
+
|
| 169 |
+
From the Tab. 3, one can be observed that other weighted loss functions can indeed improve the PSNR results, but only to certain degrees. Comparing four different weight maps, our proposed uncertainty weighted loss function can bring the biggest improvement. Although the Error_map can represent the variance of a single pixel, the Error_map lacks semantic information or local information to capture a more precise estimation of variance comparing uncertainty. With regard to the gradient map of HR or LR images, those gradient maps only well match the edges of images and have a certain correlation to variance. Comparing the visual results of Error_map, HR_gradient_map and $L R$ _gradient_map with uncertainty map, those maps only detect edges of images and fail reflecting complex texture details which are important to final reconstruction performance. Therefore, uncertainty-weighted loss can is still valuable for achieving the best performance among other weighted maps.
|
| 170 |
+
|
| 171 |
+
# 4.4 Analysis of Different Scaling Functions
|
| 172 |
+
|
| 173 |
+
We have conducted experiments with several various monotonically increasing functions (including linear and non-linear) and the results can be summarized in Tab. 4.
|
| 174 |
+
|
| 175 |
+
Table 4: Average PSNR and $\Delta$ PSNR results with BI degradation on five datasets for investigating the influence of different scaling functions. The best performance are shown in bold.
|
| 176 |
+
|
| 177 |
+
<table><tr><td rowspan=1 colspan=1>Scaling functions</td><td rowspan=1 colspan=1>Set5</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Set14</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>BSD100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Urban100</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Manga109</td><td rowspan=1 colspan=1>A</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>31.61</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>27.30</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>25.25</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>29.31</td><td rowspan=1 colspan=1>0.00</td></tr><tr><td rowspan=1 colspan=1>s-min(s)</td><td rowspan=1 colspan=1>31.90</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>28.37</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.54</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>29.77</td><td rowspan=1 colspan=1>0.46δΈͺ</td></tr><tr><td rowspan=1 colspan=1>exp(s)</td><td rowspan=1 colspan=1>31.80</td><td rowspan=1 colspan=1>0.19δΈͺ</td><td rowspan=1 colspan=1>28.34</td><td rowspan=1 colspan=1>0.12δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.53</td><td rowspan=1 colspan=1>0.28δΈͺ</td><td rowspan=1 colspan=1>29.66</td><td rowspan=1 colspan=1>0.35δΈͺ</td></tr><tr><td rowspan=1 colspan=1>e.xp(s)(1/2)</td><td rowspan=1 colspan=1>31.86</td><td rowspan=1 colspan=1>0.25δΈͺ</td><td rowspan=1 colspan=1>28.36</td><td rowspan=1 colspan=1>0.14β</td><td rowspan=1 colspan=1>27.41</td><td rowspan=1 colspan=1>0.11δΈͺ</td><td rowspan=1 colspan=1>25.55</td><td rowspan=1 colspan=1>0.30β</td><td rowspan=1 colspan=1>29.71</td><td rowspan=1 colspan=1>0.40β</td></tr><tr><td rowspan=1 colspan=1>log(s)-min(log(s))</td><td rowspan=1 colspan=1>31.89</td><td rowspan=1 colspan=1>0.28δΈͺ</td><td rowspan=1 colspan=1>28.39</td><td rowspan=1 colspan=1>0.17δΈͺ</td><td rowspan=1 colspan=1>27.42</td><td rowspan=1 colspan=1>0.12δΈͺ</td><td rowspan=1 colspan=1>25.57</td><td rowspan=1 colspan=1>0.32δΈͺ</td><td rowspan=1 colspan=1>29.74</td><td rowspan=1 colspan=1>0.43δΈͺ</td></tr></table>
|
| 178 |
+
|
| 179 |
+
The best and second-best performances are shown in bold. Overall, four various monotonically increasing functions have achieved better results than the baseline method. The best two scaling functions are linear scaling and log scaling with a slight difference as shown in the above table. Since the linear scaling function achieves a comparable performance with low computational cost, we advocate this choice in this paper.
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 4: SISR visual quality comparisons of EDSR-S [2] with different loss function on βImg_004β and $\mathrm { \hbar } ^ { 4 } \mathrm { I m g \_ 0 1 } 6 ^ { , }$ from Urban100 [25] (bicubic-downsampling $\times 4 _ { , }$ ). Best viewed in color.
|
| 183 |
+
|
| 184 |
+

|
| 185 |
+
Figure 5: SISR visual quality comparisons of DPDNN [3] with different loss function on βImg_095 from BSD100 [24] (bicubic-downsampling $\times 4 _ { , }$ ). Best viewed in color.
|
| 186 |
+
|
| 187 |
+
Table 5: Average PSNR and SSIM results for BI degradation on five benchmark datasets. The best performance is shown in bold. Note that ${ \mathcal { L } } _ { \mathrm { U D L } }$ -Ours denotes adopting $\mathcal { L } _ { \mathrm { E S U } }$ at step1 and ${ \mathcal { L } } _ { \mathrm { U D L } }$ at step2 for simplicity.
|
| 188 |
+
|
| 189 |
+
<table><tr><td rowspan=2 colspan=1>Base Model</td><td rowspan=2 colspan=1>Scale</td><td rowspan=2 colspan=1>Loss</td><td rowspan=1 colspan=2>Set5[23]</td><td rowspan=1 colspan=1>Set]</td><td rowspan=1 colspan=1>4[8]</td><td rowspan=1 colspan=2>BSD100 [24]</td><td rowspan=1 colspan=1>Urban</td><td rowspan=1 colspan=1>00[25]</td><td rowspan=1 colspan=1>Manga</td><td rowspan=1 colspan=1>109[26]</td></tr><tr><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>37.6637.4837.95</td><td rowspan=1 colspan=1>0.85940.95890.9604</td><td rowspan=1 colspan=1>33.2232.9933.50</td><td rowspan=1 colspan=1>0.91460.91260.9165</td><td rowspan=1 colspan=1>31.9531.7632.13</td><td rowspan=1 colspan=1>0.89690.89460.8991</td><td rowspan=1 colspan=1>30.7130.1131.54</td><td rowspan=1 colspan=1>0.92050.91340.9304</td><td rowspan=1 colspan=1>37.7937.3838.38</td><td rowspan=1 colspan=1>0.97520.97390.9767</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>37.7537.7438.00</td><td rowspan=1 colspan=1>0.96000.95970.9605</td><td rowspan=1 colspan=1>33.3033.2733.63</td><td rowspan=1 colspan=1>0.91500.91480.9176</td><td rowspan=1 colspan=1>32.0931.9832.16</td><td rowspan=1 colspan=1>0.89900.89730.8995</td><td rowspan=1 colspan=1>31.5030.9731.72</td><td rowspan=1 colspan=1>0.92200.92380.9331</td><td rowspan=1 colspan=1>-38.1438.55</td><td rowspan=1 colspan=1>-0.97580.9769</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>38.1137.8738.29</td><td rowspan=1 colspan=1>0.96020.96040.9615</td><td rowspan=1 colspan=1>33.9233.4334.14</td><td rowspan=1 colspan=1>0.91950.91640.9236</td><td rowspan=1 colspan=1>32.3232.0832.40</td><td rowspan=1 colspan=1>0.90130.89900.9027</td><td rowspan=1 colspan=1>32.9331.4632.99</td><td rowspan=1 colspan=1>0.93510.93010.9446</td><td rowspan=1 colspan=1>39.1037.9139.53</td><td rowspan=1 colspan=1>0.97730.97650.9787</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>33.9033.2734.15</td><td rowspan=1 colspan=1>0.92310.91780.9251</td><td rowspan=1 colspan=1>29.9529.6030.15</td><td rowspan=1 colspan=1>0.83520.82980.8388</td><td rowspan=1 colspan=1>28.8528.6028.99</td><td rowspan=1 colspan=1>0.79960.79360.8021</td><td rowspan=1 colspan=1>27.3026.5227.72</td><td rowspan=1 colspan=1>0.83440.81420.8430</td><td rowspan=1 colspan=1>32.5231.1432.97</td><td rowspan=1 colspan=1>0.93690.92580.9406</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM[21]LUDL-Ours</td><td rowspan=1 colspan=1>33.9333.9234.30</td><td rowspan=1 colspan=1>0.92400.92410.9267</td><td rowspan=1 colspan=1>30.0230.0030.31</td><td rowspan=1 colspan=1>0.83600.83620.8419</td><td rowspan=1 colspan=1>29.0028.8629.10</td><td rowspan=1 colspan=1>0.80100.80000.8047</td><td rowspan=1 colspan=1>27.6127.3728.02</td><td rowspan=1 colspan=1>0.84200.83530.8505</td><td rowspan=1 colspan=1>132.4133.27</td><td rowspan=1 colspan=1>10.93730.9435</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>34.6534.3434.83</td><td rowspan=1 colspan=1>0.92800.92700.9312</td><td rowspan=1 colspan=1>30.5230.2830.69</td><td rowspan=1 colspan=1>0.84620.84120.8497</td><td rowspan=1 colspan=1>29.2529.0729.28</td><td rowspan=1 colspan=1>0.80930.80440.8109</td><td rowspan=1 colspan=1>28.8027.9828.99</td><td rowspan=1 colspan=1>0.86530.87890.8697</td><td rowspan=1 colspan=1>34.1733.3234.63</td><td rowspan=1 colspan=1>0.94760.94320.9502</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.6131.0831.90</td><td rowspan=1 colspan=1>0.88620.87870.8897</td><td rowspan=1 colspan=1>28.2227.8928.37</td><td rowspan=1 colspan=1>0.77210.76700.7755</td><td rowspan=1 colspan=1>27.3027.1227.40</td><td rowspan=1 colspan=1>0.72710.72290.7301</td><td rowspan=1 colspan=1>25.2524.8125.54</td><td rowspan=1 colspan=1>0.75750.74290.7671</td><td rowspan=1 colspan=1>29.3128.1829.77</td><td rowspan=1 colspan=1>0.89070.87620.8967</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.7231.8932.20</td><td rowspan=1 colspan=1>0.88900.89130.8944</td><td rowspan=1 colspan=1>28.2828.3728.60</td><td rowspan=1 colspan=1>0.77300.77720.7819</td><td rowspan=1 colspan=1>27.4427.4127.56</td><td rowspan=1 colspan=1>0.72900.73140.7356</td><td rowspan=1 colspan=1>25.5325.6326.09</td><td rowspan=1 colspan=1>0.76800.77080.7862</td><td rowspan=1 colspan=1>-29.7030.38</td><td rowspan=1 colspan=1>-0.90030.9082</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>32.4632.3232.59</td><td rowspan=1 colspan=1>0.89680.89710.8998</td><td rowspan=1 colspan=1>28.8028.7328.87</td><td rowspan=1 colspan=1>0.78760.78580.7889</td><td rowspan=1 colspan=1>27.7127.6627.78</td><td rowspan=1 colspan=1>0.74200.73950.7431</td><td rowspan=1 colspan=1>26.6426.3526.75</td><td rowspan=1 colspan=1>0.80330.79550.8054</td><td rowspan=1 colspan=1>31.0230.7331.24</td><td rowspan=1 colspan=1>0.91480.91250.9167</td></tr></table>
|
| 190 |
+
|
| 191 |
+
# 4.5 Results with BI Degradation Model
|
| 192 |
+
|
| 193 |
+
For bicubic downsampling (BI), we have compared proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss function with GRAM [21] and original loss functions such as $M S E$ or $\mathcal { L } _ { 1 }$ on three different SISR networks. The average PSNR and SSIM results in Tab. 5 are cited from corresponding papers or retrained from officially released code. It is easy to see that our proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss function is superior to GRAM [21] and original loss functions such as $M S E$ or $\mathcal { L } _ { 1 }$ in terms of PSNR and SSIM values. Note that the improvements achieved by our proposed method do not bring any additional computation cost during testing time. Comparing EDSR-S ( $. 5 M$ parameters) with EDSR ( $4 3 M$ parameters), our proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ can bring lightweight networks with more greater performance improvements than big ones. The visual image comparison results are reported in Fig. 4 and Fig. 5. As shown in Fig. 4, our proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ has recovered with fewer visible artifacts (e.g., the circular pattern of the roof and the lines on the glassy surface) than original loss and GRAM [21]. Fig. 4 (f) depicts the uncertainty learned by our ${ \mathcal { L } } _ { \mathrm { U D L } }$ , revealing the challenging pixels with poor reconstruction performance. From Fig. 5, vertical center-line of window has been recover more clear with precisely estimated uncertainty shown in (e) and (f), while DPDNN and DPDNN-GRAM [21] failed to discern shown in (c) and (d) respectively. More visual comparisons can be found in supplementary material.
|
| 194 |
+
|
| 195 |
+
Table 6: Average PSNR and SSIM results for BD degradation on five benchmark datasets. The best performance is shown in bold. Note that ${ \mathcal { L } } _ { \mathrm { U D L } }$ -Ours denotes adopting $\mathcal { L } _ { \mathrm { E S U } }$ at step1 and ${ \mathcal { L } } _ { \mathrm { U D L } }$ at step2 for simplicity.
|
| 196 |
+
|
| 197 |
+
<table><tr><td rowspan=2 colspan=1>Base Model</td><td rowspan=2 colspan=1>Scale</td><td rowspan=2 colspan=1>Loss</td><td rowspan=1 colspan=2>Set5[23]</td><td rowspan=1 colspan=2>Set14 [8]</td><td rowspan=1 colspan=3>BSD100 [24]</td><td rowspan=1 colspan=1>Urban</td><td rowspan=1 colspan=1>00[25]</td><td rowspan=1 colspan=1>Manga</td><td rowspan=1 colspan=1>09[26]</td></tr><tr><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=2>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.7030.9831.97</td><td rowspan=1 colspan=1>0.89030.87910.8927</td><td rowspan=1 colspan=1>28.3727.8528.45</td><td rowspan=1 colspan=1>0.77780.76670.7793</td><td rowspan=1 colspan=2>27.3727.0527.41</td><td rowspan=1 colspan=1>0.73200.72250.7321</td><td rowspan=1 colspan=1>25.7724.7925.95</td><td rowspan=1 colspan=1>0.77890.74520.7842</td><td rowspan=1 colspan=1>29.8328.1230.18</td><td rowspan=1 colspan=1>0.90140.87730.9053</td></tr><tr><td rowspan=2 colspan=1>DPDNN [3]</td><td rowspan=2 colspan=1>Γ4</td><td rowspan=2 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=2 colspan=1>31.8631.7532.03</td><td rowspan=2 colspan=1>0.89230.89130.8949</td><td rowspan=2 colspan=1>28.3828.3328.60</td><td rowspan=2 colspan=1>0.77800.77650.7828</td><td rowspan=2 colspan=2>27.3627.3227.48</td><td rowspan=1 colspan=1>0.73110.7302</td><td rowspan=1 colspan=1>25.8225.62</td><td rowspan=1 colspan=1>0.78120.7739</td><td rowspan=1 colspan=1>29.7729.55</td><td rowspan=2 colspan=1>0.90330.90030.9097</td></tr><tr><td rowspan=1 colspan=1>27.48</td><td rowspan=1 colspan=1>0.7355</td><td rowspan=1 colspan=1>26.21</td><td rowspan=1 colspan=1>0.7931</td><td rowspan=1 colspan=1>30.35</td></tr><tr><td rowspan=5 colspan=1>EDSR [2]</td><td rowspan=5 colspan=1>Γ4</td><td rowspan=5 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=5 colspan=1>32.1732.1332.37</td><td rowspan=5 colspan=1>0.89750.89630.8986</td><td rowspan=5 colspan=1>28.6528.5727.74</td><td rowspan=1 colspan=1>0.7856</td><td rowspan=4 colspan=2>27.5927.49</td><td rowspan=1 colspan=1>0.7400</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td rowspan=3 colspan=1>0.7362</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td rowspan=2 colspan=1>26.5626.19</td><td rowspan=2 colspan=1>0.80430.7916</td><td rowspan=2 colspan=1>30.6630.48</td><td rowspan=3 colspan=1>0.91340.90970.9149</td></tr><tr><td rowspan=1 colspan=1>0.7822</td></tr><tr><td rowspan=1 colspan=1>0.7867</td><td rowspan=1 colspan=2>27.62</td><td rowspan=1 colspan=1>0.7407</td><td rowspan=1 colspan=1>26.65</td><td rowspan=1 colspan=1>0.8065</td><td rowspan=1 colspan=1>30.81</td></tr></table>
|
| 198 |
+
|
| 199 |
+
# 4.6 Results with BD Degradation Model
|
| 200 |
+
|
| 201 |
+
For blur downsampling (BD), we have compared proposed ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss function with GRAM [21] and original loss functions such as $M S E$ or $\mathcal { L } _ { 1 }$ on three different baseline networks. The average PSNR and SSIM results in Tab. 6 are retrained from officially released code. It is easy to see that our propose ${ \mathcal { L } } _ { \mathrm { U D L } }$ loss function is superior to GRAM [21] and original loss functions such as $M S E$ or $\mathcal { L } _ { 1 }$ in terms of PSNR and SSIM values. The visual image comparison results of BD degradation are reported in Fig. 6 and Fig. 7. Note that the BD degradation involves Gaussian blur, increasing difficulty in recovering structure patterns. From Fig. 6, we can see that our SR result (Fig. 6 (e)) of $\mathrm { \nabla ^ { \cdot } I m g \ 1 0 9 ^ { \cdot } }$ is the closest to that of the ground-truth. In another challenging image $\mathbf { \dot { \tau } } ^ { \mathrm { \prime } } \mathbf { I m g 0 7 8 } ^ { \prime }$ from Urban100 [25]), our method can recover much more reliable textured details as shown in Fig. 7 (e); while all other methods have severe aliasing artifacts (i.e., distorted tile patterns). The visual quality improvement achieved by ${ \mathcal { L } } _ { \mathrm { U D L } }$ is mainly due to the fact that our proposed method makes full use of the captured uncertainty to train deep networks focusing on the challenging pixels with high uncertainty. More visual comparisons can be found in our supplementary material.
|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
Figure 6: SISR visual quality comparisons of DPDNN [3] with different loss function on βImg_109 from Manga109 [26] (blur-downsampling $\times 4 _ { , }$ ). Best viewed in color.
|
| 205 |
+
|
| 206 |
+

|
| 207 |
+
Figure 7: SISR visual quality comparisons of EDSR [2] with different loss function on βImg_078β from Urban100 [25] (blur-downsampling $\times 4 _ { , }$ ). Best viewed in color.
|
| 208 |
+
|
| 209 |
+
# 5 Conclusion
|
| 210 |
+
|
| 211 |
+
In this paper, we propose a new adaptive weighted loss ${ \mathcal { L } } _ { \mathrm { U D L } }$ for SISR to train SISR networks focusing on challenging pixels with high uncertainty (e.g., textured and edge pixels). Specifically, variance estimation is introduced into SISR so that the high-resolution images (mean) and their corresponding uncertainty (variance) can be learned simultaneously. Moreover, modeling uncertainty under Bayesian framework allows us to leverage sparsity prior for a more precise estimation of uncertainty. Ultimately, pixels with large certainty (e.g., texture and edge pixels) will be prioritized for SISR according to their importance to visual quality. For the first time, we demonstrate that such uncertainty-driven loss can achieve better results than $M S E$ or $\mathcal { L } _ { 1 }$ loss. Experimental results on three popular SISR networks show that our proposed uncertainty-driven loss has achieved better PSNR performance than traditional loss functions without any increased computation during testing.
|
| 212 |
+
|
| 213 |
+
# Acknowledgement
|
| 214 |
+
|
| 215 |
+
This work was supported in part by the National Key R&D Program of China under Grant 2018AAA0101400 and the Natural Science Foundation of China under Grant 61991451, Grant 61632019, Grant 61621005, and Grant 61836008. Xin Liβs work is partially supported by the NSF under grants IIS-1951504 and OAC-1940855, the DoJ/NIJ under grant NIJ 2018-75-CX-0032, and the WV Higher Education Policy Commission Grant (HEPC.dsr.18.5).
|
| 216 |
+
|
| 217 |
+
# References
|
| 218 |
+
|
| 219 |
+
[1] Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In European Conference on Computer Vision, pages 184β199, 2014.
|
| 220 |
+
[2] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee. Enhanced deep residual networks for single image super-resolution. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1132β1140, 2017.
|
| 221 |
+
[3] Weisheng Dong, Peiyao Wang, Wotao Yin, Guangming Shi, Fangfang Wu, and Xiaotong Lu. Denoising prior driven deep neural network for image restoration. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(10):2305β2318, 2019.
|
| 222 |
+
[4] Yulun Zhang, Kunpeng Li, Kai Li, Lichen Wang, Bineng Zhong, and Yun Fu. Image super-resolution using very deep residual channel attention networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 286β301, 2018.
|
| 223 |
+
[5] Tao Dai, Jianrui Cai, Yongbing Zhang, Shu-Tao Xia, and Lei Zhang. Second-order attention network for single image super-resolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 11065β11074, 2019.
|
| 224 |
+
[6] Qian Ning, Weisheng Dong, Guangming Shi, Leida Li, and Xin Li. Accurate and lightweight image super-resolution with model-guided deep unfolding network. IEEE Journal of Selected Topics in Signal Processing, 15(2):240β252, 2021. doi: 10.1109/JSTSP.2020.3037516.
|
| 225 |
+
[7] Yong Guo, Jian Chen, Jingdong Wang, Qi Chen, Jiezhang Cao, Zeshuai Deng, Yanwu Xu, and Mingkui Tan. Closed-loop matters: Dual regression networks for single image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5407β5416, 2020.
|
| 226 |
+
[8] Roman Zeyde, Michael Elad, and Matan Protter. On single image scale-up using sparse-representations. In Proceedings of the 7th international conference on Curves and Surfaces, pages 711β730, 2010.
|
| 227 |
+
[9] Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pages 694β711. Springer, 2016.
|
| 228 |
+
[10] Mario AT Figueiredo. Adaptive sparseness using jeffreys prior. In NIPS, pages 697β704, 2001.
|
| 229 |
+
[11] Qian Ning, Weisheng Dong, Fangfang Wu, Jinjian Wu, Jie Lin, and Guangming Shi. Spatial-temporal gaussian scale mixture modeling for foreground estimation. Proceedings of the AAAI Conference on Artificial Intelligence, 34(07):11791β11798, Apr. 2020. doi: 10.1609/aaai.v34i07.6851. URL https: //ojs.aaai.org/index.php/AAAI/article/view/6851.
|
| 230 |
+
[12] Paul W Goldberg, Christopher KI Williams, and Christopher M Bishop. Regression with input-dependent noise: A gaussian process treatment. Advances in neural information processing systems, 10:493β499, 1997.
|
| 231 |
+
[13] WA Wright. Bayesian approach to neural-network modeling with input uncertainty. IEEE Transactions on Neural Networks, 10(6):1261β1270, 1999.
|
| 232 |
+
[14] Christopher M Bishop and Cazhaow S Qazaz. Regression with input-dependent noise: A bayesian treatment. Advances in neural information processing systems, pages 347β353, 1997.
|
| 233 |
+
[15] Alex Kendall and Yarin Gal. What uncertainties do we need in bayesian deep learning for computer vision? In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ 2650d6089a6d640c5e85b2b88265dc2b-Paper.pdf.
|
| 234 |
+
[16] Vijay Badrinarayanan, Alex Kendall, and Roberto Cipolla. Segnet: A deep convolutional encoder-decoder architecture for image segmentation. IEEE transactions on pattern analysis and machine intelligence, 39 (12):2481β2495, 2017.
|
| 235 |
+
[17] Jie Chang, Zhonghao Lan, Changmao Cheng, and Yichen Wei. Data uncertainty learning in face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5710β 5719, 2020.
|
| 236 |
+
[18] Yingjie Gu, Zhong Jin, and Steve C Chiu. Active learning combining uncertainty and diversity for multi-class image classification. IET Computer Vision, 9(3):400β407, 2015.
|
| 237 |
+
[19] Yichun Shi and Anil K Jain. Probabilistic face embeddings. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6902β6911, 2019.
|
| 238 |
+
[20] Armen Der Kiureghian and Ove Ditlevsen. Aleatory or epistemic? does it matter? Structural safety, 31(2): 105β112, 2009.
|
| 239 |
+
[21] Changwoo Lee and Ki-Seok Chung. Gram: Gradient rescaling attention model for data uncertainty estimation in single image super resolution. In 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), pages 8β13. IEEE, 2019.
|
| 240 |
+
[22] Aupendu Kar and Prabir Kumar Biswas. Fast bayesian uncertainty estimation and reduction of batch normalized single image super-resolution network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4957οΏ½οΏ½4966, June 2021.
|
| 241 |
+
[23] Marco Bevilacqua, Aline Roumy, Christine Guillemot, and Marie Line Alberi-Morel. Low-complexity single-image super-resolution based on nonnegative neighbor embedding. In British Machine Vision Conference 2012, pages 1β10, 2012.
|
| 242 |
+
[24] 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 Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001, volume 2, pages 416β423, 2001.
|
| 243 |
+
[25] Jia-Bin Huang, Abhishek Singh, and Narendra Ahuja. Single image super-resolution from transformed self-exemplars. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5197β5206, 2015.
|
| 244 |
+
[26] Yusuke Matsui, Kota Ito, Yuji Aramaki, Azuma Fujimoto, Toru Ogawa, Toshihiko Yamasaki, and Kiyoharu Aizawa. Sketch-based manga retrieval using manga109 dataset. Multimedia Tools and Applications, 76 (20):21811β21838, 2017.
|
| 245 |
+
[27] Yingqian Wang, Xinyi Ying, Longguang Wang, Jungang Yang, Wei An, and Yulan Guo. Symmetric parallax attention for stereo image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 766β775, June 2021.
|
| 246 |
+
[28] Davis Gilton, Gregory Ongie, and Rebecca Willett. Deep equilibrium architectures for inverse problems in imaging. arXiv preprint arXiv:2102.07944, 2021.
|
| 247 |
+
[29] Radu Timofte, Eirikur Agustsson, Luc Van Gool, Ming-Hsuan Yang, and Lei Zhang. Ntire 2017 challenge on single image super-resolution: Methods and results. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 114β125, 2017.
|
| 248 |
+
[30] Zhou Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600β612, 2004.
|
| 249 |
+
[31] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR (Poster), 2015. URL http://arxiv.org/abs/1412.6980.
|
parse/train/WA39qkJvLi/WA39qkJvLi_content_list.json
ADDED
|
@@ -0,0 +1,1124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Uncertainty-Driven Loss for Single Image Super-Resolution ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
246,
|
| 8 |
+
122,
|
| 9 |
+
753,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Qian $\\mathbf { N i n g ^ { 1 } }$ , Weisheng $\\mathbf { D o n g } ^ { 1 }$ β, Xin Li2, Jinjian $\\mathbf { W } \\mathbf { u } ^ { 1 }$ , Guangming Shi1 1School of Artificial Intelligence, Xidian University, Xiβan 710071, China 2Lane Dep. of CSEE, West Virginia University, Morgantown WV 26506, USA ningqian@stu.xidian.edu.cn, {wsdong,jinjian.wu}@mail.xidian.edu.cn xin.li@mail.wvu.edu, gmshi@xidian.edu.cn ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
224,
|
| 20 |
+
831,
|
| 21 |
+
297
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
333,
|
| 32 |
+
535,
|
| 33 |
+
349
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "In low-level vision such as single image super-resolution (SISR), traditional MSE or $\\mathcal { L } _ { 1 }$ loss function treats every pixel equally with the assumption that the importance of all pixels is the same. However, it has been long recognized that texture and edge areas carry more important visual information than smooth areas in photographic images. How to achieve such spatial adaptation in a principled manner has been an open problem in both traditional model-based and modern learning-based approaches toward SISR. In this paper, we propose a new adaptive weighted loss for SISR to train deep networks focusing on challenging situations such as textured and edge pixels with high uncertainty. Specifically, we introduce variance estimation characterizing the uncertainty on a pixel-by-pixel basis into SISR solutions so the targeted pixels in a high-resolution image (mean) and their corresponding uncertainty (variance) can be learned simultaneously. Moreover, uncertainty estimation allows us to leverage conventional wisdom such as sparsity prior for regularizing SISR solutions. Ultimately, pixels with large certainty (e.g., texture and edge pixels) will be prioritized for SISR according to their importance to visual quality. For the first time, we demonstrate that such uncertainty-driven loss can achieve better results than $M S E$ or $\\mathcal { L } _ { 1 }$ loss for a wide range of network architectures. Experimental results on three popular SISR networks show that our proposed uncertainty-driven loss has achieved better PSNR performance than traditional loss functions without any increased computation during testing. The code is available at https://see.xidian.edu.cn/faculty/wsdong/Projects/UDL-SR.htm ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
363,
|
| 43 |
+
766,
|
| 44 |
+
654
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
174,
|
| 54 |
+
676,
|
| 55 |
+
310,
|
| 56 |
+
694
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Single image super-resolution (SISR) aims at reconstructing high-resolution (HR) images from their corresponding degraded low-resolution (LR) images. Since the publication of super-resolution with convolutional neural network (SRCNN) [1], there has been a flurry of works on deep learning-based approaches toward SISR - e.g., EDSR [2], DPDNN [3], RCAN [4], SAN [5], and MoG-DUN [6]. The unifying theme along this line of research appears to be that deeper, bigger, and more complex networks can achieve improved SISR performance by facilitating the reconstruction of high-frequency details such as textures and edges in photographic images. Such improvement has been achieved by novel network architectures (e.g., skip connections [2]), new attention mechanism (e.g., residue channel attention [4]), and closed-loop supervision [7]. Surprisingly, most of these existing methods have adopted $M S E$ or $\\mathcal { L } _ { 1 }$ loss to optimize the parameters of networks. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
708,
|
| 66 |
+
825,
|
| 67 |
+
847
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "The commonly used practice, such as $M S E$ or $\\mathcal { L } _ { 1 }$ loss, treats every pixel equally regardless of whether the pixel is in texture/edge regions or smooth areas. The optimality of such non-adaptive loss function has been questioned in the literature of SISR calling for the proposition of perceptual loss function (e.g., [9]). From a Bayesian perspective, the assumption underlying the $M S E$ or $\\bar { \\mathcal { L } } _ { 1 }$ loss is that each pixel obeys the independent and identically distribution with the same variance. Taking $\\mathcal { L } _ { 1 }$ loss as an example, the likelihood of all pixels in an image can be formulated as ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
852,
|
| 77 |
+
823,
|
| 78 |
+
881
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/222bd7ad66e205fc8caca654c095a992888dc8615acaff7cc921e0978b1f6352.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: Illustration of the difference (d) between HR image (b) and SR image (c) reconstructed by EDSR network [2] on dataset Set14 [8]. The image reconstructed by EDSR network is shown in (c) and (d) shows the absolute difference between the HR image and SR image. Best viewed in color. "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
187,
|
| 91 |
+
88,
|
| 92 |
+
812,
|
| 93 |
+
202
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "",
|
| 100 |
+
"bbox": [
|
| 101 |
+
173,
|
| 102 |
+
260,
|
| 103 |
+
825,
|
| 104 |
+
316
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "equation",
|
| 110 |
+
"img_path": "images/f8ff5b4c1d1eaf281a94531ac3e26de8caafd220adec1df7c8f420e8bee77ce3.jpg",
|
| 111 |
+
"text": "$$\np ( \\pmb { x } \\mid \\pmb { y } , \\pmb { W } ) = \\prod _ { l = 1 } ^ { M } c \\exp ( - \\frac { \\vert \\vert \\pmb { x } ^ { ( l ) } - \\pmb { f } ^ { ( W ) } ( \\pmb { y } ^ { ( l ) } ) \\vert \\vert _ { 1 } } { \\sigma } ) ,\n$$",
|
| 112 |
+
"text_format": "latex",
|
| 113 |
+
"bbox": [
|
| 114 |
+
323,
|
| 115 |
+
323,
|
| 116 |
+
673,
|
| 117 |
+
367
|
| 118 |
+
],
|
| 119 |
+
"page_idx": 1
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"type": "text",
|
| 123 |
+
"text": "where $_ { \\textbf { \\em x } }$ and $\\textbf { { y } }$ denote the pair of HR and LR image, $f ^ { ( W ) } ( \\cdot )$ denotes an arbitrary SISR network parameterized by $W$ , and $c , \\sigma$ denote spatially invariant constants. However, such assumption of stationarity or spatial invariance of image prior model is invalid for photographic images in the real world. For instance, if one compares the ground-truth (HR image) and the SR image reconstructed by EDSR [2] as shown in Fig. 1 (c), it can be observed that texture areas (e.g., hair of baboon) are not restored as good as smooth areas (e.g., nose of baboon). Fig. 1 (d) depicts the absolute difference between the HR image and reconstructed SR image, from which we can observe spatial variation of the difference map. Such observation implies that the uncertainty of texture and edge areas as characterized by the variance is much larger than that in smooth areas. How to address such uncertainty-driven loss for SISR sets up the stage for this paper. ",
|
| 124 |
+
"bbox": [
|
| 125 |
+
173,
|
| 126 |
+
375,
|
| 127 |
+
825,
|
| 128 |
+
516
|
| 129 |
+
],
|
| 130 |
+
"page_idx": 1
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"type": "text",
|
| 134 |
+
"text": "In this paper, we propose a new adaptive weighted loss (uncertainty-driven loss) for SISR by assigning texture and edge areas with higher weights during the training process. Unlike previous work of perceptual loss [9] focusing on characterizing content and style consistency, we target at explicitly estimating the variance field underlying the unknown HR image in the first step, which can be exploited as an auxiliary signal for guiding the SISR solution in the second step. A direct consequence of our two-step learning approach is that it delivers not only higher visual quality but also improved objective performance such as PSNR and SSIM. Moreover, uncertainty estimation perspective allows us to easily incorporate existing models such as Jeffereyβs prior [10, 11] into the proposed SISR solution. It follows that the network training boils down to two sequential steps in which the variance map is estimated from the first step and serves as the attention signal for the second step. The main technical contributions are summarized as follows. ",
|
| 135 |
+
"bbox": [
|
| 136 |
+
174,
|
| 137 |
+
521,
|
| 138 |
+
825,
|
| 139 |
+
674
|
| 140 |
+
],
|
| 141 |
+
"page_idx": 1
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "text",
|
| 145 |
+
"text": "β’ Uncertainty modeling and estimation. We propose to cast SISR into a Bayesian estimation framework under which SR image (mean) and uncertainty (variance) are derived simultaneously. Unlike previous works in which pixels with large uncertainty are attenuated for high-level vision tasks, we advocate to prioritize them for low-level vision tasks such as SISR. \nUncertainty-driven loss (UDL). The estimation of variance map facilitates the training of SISR network by dividing it into two steps. In the first step, an estimating sparsity uncertainty (ESU) loss function was derived from the classical Jeffreyβs prior to estimate the variance map. In the second step, the estimated variance map serves as the guidance signal leading to adaptive weighted loss named uncertainty-driven loss ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ . \nUniversality of UDL. The proposed uncertainty loss can easily be employed in any existing SISR network to improve performance and do not increase any additional computation cost during testing. \nβ’ Experimental results on three different baseline networks show that our proposed uncertaintydriven loss has achieved better PSNR performance than traditional $M S E$ or $\\mathcal { L } _ { 1 }$ loss. ",
|
| 146 |
+
"bbox": [
|
| 147 |
+
217,
|
| 148 |
+
686,
|
| 149 |
+
825,
|
| 150 |
+
911
|
| 151 |
+
],
|
| 152 |
+
"page_idx": 1
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"type": "text",
|
| 156 |
+
"text": "2 Related Work ",
|
| 157 |
+
"text_level": 1,
|
| 158 |
+
"bbox": [
|
| 159 |
+
174,
|
| 160 |
+
89,
|
| 161 |
+
321,
|
| 162 |
+
106
|
| 163 |
+
],
|
| 164 |
+
"page_idx": 2
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"type": "text",
|
| 168 |
+
"text": "2.1 Uncertainty in Deep Learning ",
|
| 169 |
+
"text_level": 1,
|
| 170 |
+
"bbox": [
|
| 171 |
+
176,
|
| 172 |
+
121,
|
| 173 |
+
421,
|
| 174 |
+
136
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 2
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "text",
|
| 180 |
+
"text": "Many works [12β14] have introduced uncertainty into the regression with input-dependent noises problems, and studied the nature and behavior of uncertainty for a long time. More recently, modeling uncertainty in deep learning have improved the performance and robustness of deep networks in many computer vision tasks [15β17] such as image classification [18], image segmentation [15, 16], and face recognition [17, 19]. The uncertainty in deep learning can be roughly divided into two categories [20]. Epistemic/model uncertainty describes how much the model is uncertain about its predictions. Another type is aleatoric/data uncertainty which refers to noise inherent in observation data. In [15], they presented a Bayesian deep learning framework combining aleatoric uncertainty with epistemic uncertainty for per-pixel semantic segmentation and depth regression tasks. Chang et al.[17] investigated the data uncertainty with estimated mean and variance in face recognition. Those uncertainty-based loss function proposed by those works [15β17] can be summarized as ",
|
| 181 |
+
"bbox": [
|
| 182 |
+
173,
|
| 183 |
+
146,
|
| 184 |
+
825,
|
| 185 |
+
299
|
| 186 |
+
],
|
| 187 |
+
"page_idx": 2
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"type": "equation",
|
| 191 |
+
"img_path": "images/5a9148107b16d74d67accf2347094da83861dda5bc839af9af21b808c2b98dbe.jpg",
|
| 192 |
+
"text": "$$\n\\mathcal { L } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\frac { | | \\pmb { x } _ { i } - \\pmb { f } ( \\pmb { y } _ { i } ) | | _ { 2 } } { 2 \\sigma _ { i } ^ { 2 } } + \\frac { 1 } { 2 } \\ln \\sigma _ { i } ^ { 2 } ,\n$$",
|
| 193 |
+
"text_format": "latex",
|
| 194 |
+
"bbox": [
|
| 195 |
+
362,
|
| 196 |
+
316,
|
| 197 |
+
632,
|
| 198 |
+
359
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 2
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "where $f ( \\pmb { y } _ { i } )$ and $\\sigma _ { i } ^ { 2 }$ denote the learned mean and variance respectively. Using above loss function indeed improved their robustness to noisy data. In those tasks, the pixels with high uncertainty were regarded as unreliable pixels which would bear loss attenuation. On the contrary, in SISR tasks, the pixels with high uncertainty (e.g., complex texture or edge areas) should be prioritized since those regions visually more important than pixels in smooth areas. That can explain why applying above loss into SISR directly leads performance decline. ",
|
| 205 |
+
"bbox": [
|
| 206 |
+
174,
|
| 207 |
+
364,
|
| 208 |
+
825,
|
| 209 |
+
449
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "2.2 Modeling Uncertainty for SISR ",
|
| 216 |
+
"text_level": 1,
|
| 217 |
+
"bbox": [
|
| 218 |
+
176,
|
| 219 |
+
465,
|
| 220 |
+
429,
|
| 221 |
+
481
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 2
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "To the best of our knowledge, only two works [21, 22] have studied the behavior of uncertainty for SISR in the open literature. [22] used batch-normalization uncertainty to analyze SISR uncertainty, improving the robustness of the network against adversarial attack. The most recent advance related to our work is Gradient Rescaling Attention Model (GRAM) [21], which analyses the effect of aleatoric/data uncertainty on SISR reconstruction. By decreasing the loss attenuation of large variance pixels, GRAM achieves better results than applying above uncertainty loss into SISR directly. However, GRAM [21] loss remains attenuated when the variance of pixels is high, which contradicts the intuition of prioritizing texture and edge pixels. Thus, GRAM [21] is still inferior to baseline methods since the proposed method fails to prioritize the pixels of large variance. Different from GRAM, we propose a novel uncertainty-driven loss (UDL) to enforce the network concentrating more on the pixels with large variance aiming at better reconstruction of texture and edge regions. By quantifying the uncertainty in SISR under deep Bayesian framework, our proposed method has achieved better results than baseline methods. ",
|
| 228 |
+
"bbox": [
|
| 229 |
+
173,
|
| 230 |
+
492,
|
| 231 |
+
826,
|
| 232 |
+
671
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "3 Methodology ",
|
| 239 |
+
"text_level": 1,
|
| 240 |
+
"bbox": [
|
| 241 |
+
174,
|
| 242 |
+
691,
|
| 243 |
+
313,
|
| 244 |
+
709
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "Unlike traditional $M S E$ or $\\mathcal { L } _ { 1 }$ loss treating every pixel equally, the proposed new adaptive weighted loss for SISR aims at prioritizing texture and edge pixels that are visually more important than pixels in smooth areas. Toward this objective, we first introduce an approach of estimating intermediate results of SR image (mean) and uncertainty (variance) simultaneously in SISR. Then, with Jeffreyβs prior term, a regularized approach of estimating sparse uncertainty is proposed for more accurate uncertainty estimation. An important new insight brought by this paper is that unlike high-level vision tasks where pixels with large uncertainty are assigned lower weights to attenuate their impact $I I 5 J ,$ one should prioritize these pixels in low-level vision tasks such as SISR. Such observation implies that the attenuation of weighting coefficients in loss function needs to be properly translated into the attention mechanism given the specific vision problem as the context. ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
174,
|
| 253 |
+
724,
|
| 254 |
+
825,
|
| 255 |
+
863
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "In previous study [15], it has been shown that explicitly representing aleatoric uncertainty can lead to performance and robustness improvement to noise data in high-level vision tasks such as image segmentation. Such improvement can be explained away by attenuating the weights of pixels with large uncertainty. However, attenuation has to go the opposite direction in low-level vision tasks such as SISR - i.e., larger weights should be assigned to the pixels with high uncertainty (e.g., texture and edge pixels) because they are visually more important than pixels in smooth regions. It should be noted that existing work such as gradient rescaling strategy in GRAM [21] fails to recognize such difference and does not prioritize pixels with high uncertainty. In this paper, we propose a new adaptive weighted loss named uncertainty-driven loss (UDL) for properly turning attenuation into attention for SISR. ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
176,
|
| 264 |
+
869,
|
| 265 |
+
825,
|
| 266 |
+
911
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "",
|
| 273 |
+
"bbox": [
|
| 274 |
+
173,
|
| 275 |
+
90,
|
| 276 |
+
825,
|
| 277 |
+
188
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 3
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "image",
|
| 283 |
+
"img_path": "images/84f5f28ea0e80d3f72e497ee576be39823ce4c585fb5ad50377ffdc6a519dba9.jpg",
|
| 284 |
+
"image_caption": [
|
| 285 |
+
"Figure 2: The overview of training SISR network with proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss. The whole training process can divided into two steps; the first step estimates the uncertainty $\\pmb \\theta$ precisely and the second step generates the final mean value $f ( \\boldsymbol { y } )$ . In step1 shown in (a), the mean value $f ( \\boldsymbol { y } )$ and variance $\\pmb \\theta$ are pretrained by $\\mathcal { L } _ { \\mathrm { E S U } }$ loss. During step2, as shown in (b), the mean value $f ( y )$ network is trained by ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss, while the network of inferring variance $\\pmb \\theta$ is fixed. Note that the mean value $f ( \\boldsymbol { y } )$ network of step2 starts training from the pretrained network of step1. The Nearest Upsampling denotes interpolation operator. "
|
| 286 |
+
],
|
| 287 |
+
"image_footnote": [],
|
| 288 |
+
"bbox": [
|
| 289 |
+
176,
|
| 290 |
+
199,
|
| 291 |
+
818,
|
| 292 |
+
438
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 3
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "3.1 Estimating Uncertainty (EU) in SISR. ",
|
| 299 |
+
"text_level": 1,
|
| 300 |
+
"bbox": [
|
| 301 |
+
176,
|
| 302 |
+
551,
|
| 303 |
+
473,
|
| 304 |
+
568
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 3
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "As discussed in [15], there are two classes of uncertainty in Bayesian modeling: aleatoric uncertainty capturing noise inherent in observation data and epistemic uncertainty accounting for uncertainty of model about its predictions. We opt to study the former (aleatoric uncertainty) and explore its application into SISR by designing new uncertainty-driven loss (UDL) functions in this paper. In order to better quantify aleatoric uncertainty in SISR, we use ${ \\mathbf { } } _ { \\mathbf { } } \\mathbf { } _ { \\mathbf { } } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf { } \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf { } \\mathbf \\Psi \\Psi \\mathbf { } \\mathbf { } \\Psi \\mathbf { } \\mathbf \\Psi \\Psi \\mathbf { } \\mathbf { } \\Psi \\mathbf \\Psi \\Psi \\mathbf { } \\mathbf \\Psi \\Psi \\Psi \\mathbf { } \\mathbf \\Psi \\Psi \\Psi \\mathbf { } \\mathbf \\Psi \\Psi \\Psi \\mathbf { }$ to denote the low-resolution (LR) image and the corresponding high-resolution (HR) image respectively. Let $f ( \\cdot )$ denotes an arbitrary SISR network and the aleatoric uncertainty can be denoted by an additive term $\\theta _ { i }$ . This way, the overall observation model can be formulated as ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
173,
|
| 313 |
+
577,
|
| 314 |
+
825,
|
| 315 |
+
688
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 3
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "equation",
|
| 321 |
+
"img_path": "images/c6917cd10cf72428dd34951975d8941fec0f0cc73f5ccfdf600236b03dec6789.jpg",
|
| 322 |
+
"text": "$$\n\\pmb { x } _ { i } = f ( \\pmb { y } _ { i } ) + \\epsilon \\pmb { \\theta } _ { i } ,\n$$",
|
| 323 |
+
"text_format": "latex",
|
| 324 |
+
"bbox": [
|
| 325 |
+
434,
|
| 326 |
+
689,
|
| 327 |
+
562,
|
| 328 |
+
705
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "where $\\epsilon$ represents the Laplace distribution with zero-mean and unit-variance. Existing deep-learning based SISR methods target at training a network to learn the SR image (mean) $f ( \\pmb { y } _ { i } )$ only. To more accurately characterize aleatoric uncertainty for SISR, we propose to estimate not only the SR image (mean) $\\dot { f } ( \\pmb { y } _ { i } )$ but also the uncertainty (variance) $\\theta _ { i }$ simultaneously. ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
174,
|
| 337 |
+
707,
|
| 338 |
+
825,
|
| 339 |
+
762
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 3
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "text",
|
| 345 |
+
"text": "For a given LR image $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\psi _ { i }$ and corresponding HR image $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ , a Laplace distribution 2 is assumed for characterizing the likelihood function by ",
|
| 346 |
+
"bbox": [
|
| 347 |
+
176,
|
| 348 |
+
767,
|
| 349 |
+
821,
|
| 350 |
+
796
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "equation",
|
| 356 |
+
"img_path": "images/78b05099e0681ce2829097ba6446197f9636335c2ab1b2d131fbe1ec7778e47d.jpg",
|
| 357 |
+
"text": "$$\np ( \\pmb { x } _ { i } , \\pmb { \\theta } _ { i } | \\pmb { y } _ { i } ) = \\frac { 1 } { 2 \\pmb { \\theta } _ { i } } \\exp ( - \\frac { | | \\pmb { x } _ { i } - \\pmb { f } ( \\pmb { y } _ { i } ) | | _ { 1 } } { \\pmb { \\theta } _ { i } } ) ,\n$$",
|
| 358 |
+
"text_format": "latex",
|
| 359 |
+
"bbox": [
|
| 360 |
+
351,
|
| 361 |
+
797,
|
| 362 |
+
645,
|
| 363 |
+
830
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 3
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "where $f ( \\pmb { y } _ { i } )$ and $\\theta _ { i }$ denote the SR image (mean) and the uncertainty (variance) which are learned by deep neural networks (DNNs) respectively. Then, the log likelihood can be formulated as follows, ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
179,
|
| 372 |
+
830,
|
| 373 |
+
820,
|
| 374 |
+
858
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "equation",
|
| 380 |
+
"img_path": "images/45b9fd5fe364dded5c85f0a1e7258bc992231247e95a9ca632f625ed9d681b88.jpg",
|
| 381 |
+
"text": "$$\n\\ln p ( { \\pmb x } _ { i } , \\pmb \\theta _ { i } | { \\pmb y } _ { i } ) = - \\frac { | | { \\pmb x } _ { i } - f ( { \\pmb y } _ { i } ) | | _ { 1 } } { \\pmb \\theta _ { i } } - \\ln \\pmb \\theta _ { i } - \\ln 2\n$$",
|
| 382 |
+
"text_format": "latex",
|
| 383 |
+
"bbox": [
|
| 384 |
+
331,
|
| 385 |
+
859,
|
| 386 |
+
666,
|
| 387 |
+
892
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "image",
|
| 393 |
+
"img_path": "images/84479f818a49b71b89a280268aba9b89fc85314b12af5b6bb3ff38e05c6f146e.jpg",
|
| 394 |
+
"image_caption": [
|
| 395 |
+
"Figure 3: SISR visual quality comparisons of EDSR-S [2] with different loss function on βImg_005β from Set5 [23] (bicubic-downsampling $\\times 4 )$ ). Best viewed in color. "
|
| 396 |
+
],
|
| 397 |
+
"image_footnote": [],
|
| 398 |
+
"bbox": [
|
| 399 |
+
183,
|
| 400 |
+
88,
|
| 401 |
+
838,
|
| 402 |
+
217
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 4
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "For numerical stability, we train the networks to estimate log variance $\\begin{array} { r } { s _ { i } = \\ln \\theta _ { i } } \\end{array}$ as shown in Fig. 2 (a). At last, the maximum likelihood estimation of (5) can be reformulated as the minimization of following loss function for estimating uncertainty (EU) in SISR. ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
262,
|
| 412 |
+
826,
|
| 413 |
+
305
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "equation",
|
| 419 |
+
"img_path": "images/8d5427d7bf970b529b8313f01d7d7a959dee085057dbb6f23cef09b6a35f00b7.jpg",
|
| 420 |
+
"text": "$$\n\\mathcal { L } _ { E U } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\exp ( - s _ { i } ) \\vert \\vert \\pmb { x } _ { i } - f ( \\pmb { y } _ { i } ) \\vert \\vert _ { 1 } + s _ { i }\n$$",
|
| 421 |
+
"text_format": "latex",
|
| 422 |
+
"bbox": [
|
| 423 |
+
341,
|
| 424 |
+
324,
|
| 425 |
+
655,
|
| 426 |
+
368
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "Jeffreyβs Prior for Estimating Sparse Uncertainty (ESU) in SISR. The loss function $\\mathcal { L } _ { \\mathrm { E U } }$ includes two terms; the first one is associated with fidelity term and the second one prevents the network from predicting infinite uncertainty for all pixels. Those two terms reach equilibrium but there is no prior that imposed on the uncertainty estimation. Therefore, based on the observation that the uncertainty is sparse in view of the whole image as shown in Fig. 2, we propose to impose Jeffreyβs prior [10] $\\begin{array} { r } { p ( \\dot { \\boldsymbol { w } } ) \\propto \\frac { 1 } { w } } \\end{array}$ on uncertainty $\\theta _ { i }$ , which can be expressed as ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
380,
|
| 436 |
+
825,
|
| 437 |
+
465
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"img_path": "images/09843a6651767fa7253a3ee84c2301b54eb062e5f25ba75a9540d158ea592fcd.jpg",
|
| 444 |
+
"text": "$$\n\\nu ( x _ { i } , \\theta _ { i } | y _ { i } ) = p ( x _ { i } | y _ { i } , \\theta _ { i } ) p ( \\theta _ { i } ) \\propto \\frac { 1 } { 2 \\theta _ { i } } \\exp ( - \\frac { \\left| | x _ { i } - f ( y _ { i } ) | \\right| _ { 1 } } { \\theta _ { i } } ) \\frac { 1 } { \\theta _ { i } } = \\frac { 1 } { 2 \\theta _ { i } ^ { 2 } } \\exp ( - \\frac { \\left| | x _ { i } - f ( y _ { i } ) | \\right| _ { 1 } } { \\theta _ { i } } )\n$$",
|
| 445 |
+
"text_format": "latex",
|
| 446 |
+
"bbox": [
|
| 447 |
+
181,
|
| 448 |
+
474,
|
| 449 |
+
830,
|
| 450 |
+
510
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "Then the log likelihood and loss function can be separately formulated as follows, ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
174,
|
| 459 |
+
520,
|
| 460 |
+
709,
|
| 461 |
+
536
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "equation",
|
| 467 |
+
"img_path": "images/8e23f52039d3e483b03ab9b73800d0eeebc8dbc75c09cde1590340cdc979cd62.jpg",
|
| 468 |
+
"text": "$$\n\\ln p ( \\pmb { x } _ { i } | \\pmb { y } _ { i } ) = - \\frac { | | \\pmb { x } _ { i } - \\pmb { f } ( \\pmb { y } _ { i } ) | | _ { 1 } } { \\pmb { \\theta } _ { i } } - 2 \\ln \\pmb { \\theta } _ { i } - \\ln 2\n$$",
|
| 469 |
+
"text_format": "latex",
|
| 470 |
+
"bbox": [
|
| 471 |
+
334,
|
| 472 |
+
542,
|
| 473 |
+
661,
|
| 474 |
+
577
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 4
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "equation",
|
| 480 |
+
"img_path": "images/9c0d6a10fc44bd4593431de928ddd2519cd5e08ecac097def37aad9b507940a6.jpg",
|
| 481 |
+
"text": "$$\n\\mathcal { L } _ { E S U } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\exp ( - s _ { i } ) | | x _ { i } - f ( \\pmb { y } _ { i } ) | | _ { 1 } + 2 s _ { i }\n$$",
|
| 482 |
+
"text_format": "latex",
|
| 483 |
+
"bbox": [
|
| 484 |
+
330,
|
| 485 |
+
598,
|
| 486 |
+
666,
|
| 487 |
+
643
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 4
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "text",
|
| 493 |
+
"text": "The limitations of $\\mathcal { L } _ { \\bf E U }$ and ${ \\mathcal { L } } _ { \\mathbf { E S U } }$ loss. Applying $\\mathcal { L } _ { \\mathrm { E U } }$ and $\\mathcal { L } _ { \\mathrm { E S U } }$ loss leads to more accurate estimation of uncertainty (variance field), but counter-intuitively, they do not directly improve the performance of SISR. We have conducted experiments comparing those three different loss functions to verify the above claim. As shown in Tab. 1, the average PSNR and SSIM results of $\\mathcal { L } _ { \\mathrm { E S U } }$ and $\\mathcal { L } _ { \\mathrm { E U } }$ are notably lower than the original results. The reason behind this observation is that both ${ \\mathcal { L } } _ { \\mathrm { E U } }$ and $\\mathcal { L } _ { \\mathrm { E S U } }$ loss functions have incorporated the variance term $( \\pmb \\theta _ { i } )$ into the divisor of the absolution difference term. Consequently, a pixel with a large variance will be penalized after the division and has less impact on the overall loss function. Note that such attenuation of pixels with large uncertainty is preferred for high-level vision tasks, as demonstrated in previous works [15β17] on image classification [18], image segmentation [15, 16], and face recognition [17, 19]. ",
|
| 494 |
+
"bbox": [
|
| 495 |
+
173,
|
| 496 |
+
655,
|
| 497 |
+
825,
|
| 498 |
+
795
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "Low-level vision tasks such as SISR are much different. As shown in Fig. 1, pixels with large uncertainty carry visually important information such as textured and edges. They need to be prioritized (opposite to attenuation) and given larger instead of smaller weights. To verify such claim, we have presented a simple example comparing the visual results between $\\mathcal { L } _ { \\mathrm { E U } }$ and $\\mathcal { L } _ { \\mathrm { E S U } }$ as shown in Fig. 3. It can be seen that the uncertainty captured by $\\mathcal { L } _ { \\mathrm { E S U } }$ loss is better than $\\mathcal { L } _ { \\mathrm { E U } }$ loss. The improvement of $\\mathcal { L } _ { \\mathrm { E S U } }$ in Eq. (9) over $\\mathcal { L } _ { \\mathrm { E U } }$ in Eq. (6) is attributed to the prioritization of pixels with large uncertainty ( $\\boldsymbol { s } _ { i }$ values). Fig. 3 (f) clearly demonstrate superiority of exploiting the sparsity constraint with the uncertainty estimation. ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
173,
|
| 507 |
+
799,
|
| 508 |
+
825,
|
| 509 |
+
911
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "table",
|
| 515 |
+
"img_path": "images/d25e9e5dfdc0d653094ce57d604ba7724cc19d3ed1d3ea9f585ab2214503b291.jpg",
|
| 516 |
+
"table_caption": [
|
| 517 |
+
"Table 1: Average PSNR and SSIM results for BI degradation on five datasets for investigating three different loss. The best performance is shown in bold. We record the results in $1 . 2 \\times 1 0 ^ { \\overline { { 5 } } }$ iterations. "
|
| 518 |
+
],
|
| 519 |
+
"table_footnote": [],
|
| 520 |
+
"table_body": "<table><tr><td rowspan=\"2\">Base Model</td><td rowspan=\"2\">Scale</td><td rowspan=\"2\">Loss</td><td colspan=\"2\">Set5[23]</td><td colspan=\"2\">Set14 [8]</td><td colspan=\"2\">BSD100[24]</td><td colspan=\"2\">Urban100 [25]</td><td colspan=\"2\">Manga109 [26]</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan=\"3\">EDSR-S[2]</td><td rowspan=\"3\">Γ4</td><td>Original</td><td>30.93</td><td>0.8740</td><td>27.80</td><td>0.7627</td><td>27.05</td><td>0.7190</td><td>24.71</td><td>0.7351</td><td>28.14</td><td>0.8693</td></tr><tr><td>LEU</td><td>30.19</td><td>0.8627</td><td>27.29</td><td>0.7538</td><td>26.78</td><td>0.7120</td><td>24.21</td><td>0.7179</td><td>26.78</td><td>0.8481</td></tr><tr><td>LESU</td><td>30.31</td><td>0.8637</td><td>27.39</td><td>0.7543</td><td>26.83</td><td>0.7124</td><td>24.27</td><td>0.7192</td><td>26.92</td><td>0.8496</td></tr></table>",
|
| 521 |
+
"bbox": [
|
| 522 |
+
176,
|
| 523 |
+
126,
|
| 524 |
+
823,
|
| 525 |
+
180
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 5
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "3.2 Uncertainty-Driven Loss (UDL) for SISR ",
|
| 532 |
+
"text_level": 1,
|
| 533 |
+
"bbox": [
|
| 534 |
+
173,
|
| 535 |
+
194,
|
| 536 |
+
500,
|
| 537 |
+
210
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 5
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "text",
|
| 543 |
+
"text": "Improvement of $\\mathcal { L } _ { \\mathrm { E S U } }$ over $\\mathcal { L } _ { \\mathrm { E U } }$ inspired us to go one step further. To better prioritize pixels with large uncertainty, we propose a new adaptive weighted loss named uncertainty-driven loss (UDL) for SISR. Unlike $\\mathcal { L } _ { \\mathrm { E S U } }$ loss putting a larger weight to the second term than $\\mathcal { L } _ { \\mathrm { E U } }$ , we suggest that the first term can also be modified to directly associate the aleatoric/data uncertainty of $f ( \\pmb { y } _ { i } )$ . That is, instead of using $e x p ( - s _ { i } )$ to attenuate the importance of pixels with large uncertainty, we need to use a monotonically increasing function to prioritize them. Linear scaling would be a natural option, which leads to the following loss function ",
|
| 544 |
+
"bbox": [
|
| 545 |
+
174,
|
| 546 |
+
219,
|
| 547 |
+
826,
|
| 548 |
+
318
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "equation",
|
| 554 |
+
"img_path": "images/a0b94a8e9a5c457fea447cf6b3f9d363eea891b94c75a8266a1511a3456e937f.jpg",
|
| 555 |
+
"text": "$$\n\\mathcal { L } _ { U D L } = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\hat { s _ { i } } | | \\pmb { x } _ { i } - f ( \\pmb { y } _ { i } ) | | _ { 1 } ,\n$$",
|
| 556 |
+
"text_format": "latex",
|
| 557 |
+
"bbox": [
|
| 558 |
+
375,
|
| 559 |
+
325,
|
| 560 |
+
620,
|
| 561 |
+
368
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 5
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "where ${ \\hat { s } } _ { i } = s _ { i } - \\operatorname* { m i n } ( s _ { i } )$ is a non-negative linear scaling function. To prevent uncertainty value from degenerating into zeros, the result of uncertainty estimation network in the first step will be passed to the second step as the attention signal $\\displaystyle s = \\ln \\theta$ ), as shown in Fig. 2. By leveraging the log variance to represent the challenging and cumbersome pixels with higher uncertainty, we propose a new weighted loss named uncertainty-driven loss ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ . In ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss, texture and edge pixels with higher uncertainty tend to have larger weights than those in smooth regions. In summary, the uncertainty estimation $\\pmb \\theta$ serves as the bridge connecting two steps: it is the output of the first step; but passed on to the second step as the guidance required for calculating ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss. ",
|
| 568 |
+
"bbox": [
|
| 569 |
+
173,
|
| 570 |
+
375,
|
| 571 |
+
825,
|
| 572 |
+
487
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "3.3 Two-step Training of Dual Networks ",
|
| 579 |
+
"text_level": 1,
|
| 580 |
+
"bbox": [
|
| 581 |
+
176,
|
| 582 |
+
503,
|
| 583 |
+
467,
|
| 584 |
+
518
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 5
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "As shown in Fig. 2, the whole training process can be divided into two steps; the first step estimates the uncertainty $\\pmb { \\theta }$ precisely and the second step generates the final mean value $f ( \\boldsymbol { y } )$ with the aid from the estimated uncertainty $\\pmb \\theta$ from step1. More specifically, the mean value $f ( y )$ and variance $\\theta$ are pre-trained by $\\mathcal { L } _ { \\mathrm { E S U } }$ loss during step1 as shown in Fig. 2 (a). After the uncertainty has been estimated, the mean value $f ( \\boldsymbol { y } )$ network is trained by ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss with variance $\\theta$ as shown in Fig. 2 (b), while the network of inferring variance $\\pmb { \\theta }$ is fixed. ",
|
| 591 |
+
"bbox": [
|
| 592 |
+
174,
|
| 593 |
+
529,
|
| 594 |
+
825,
|
| 595 |
+
613
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 5
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "text",
|
| 601 |
+
"text": "Note that the mean value $f ( \\boldsymbol { y } )$ network of step2 starts training from the pre-trained network of step1. Such partial parameter sharing is a salient property of our proposed dual networks with parallel symmetric attention [27]. In theory, we can extend the two-step training into multiple-step training by alternating between the estimation of uncertainty (variance $\\pmb \\theta$ ) and mean value $f ( \\boldsymbol { y } )$ . Conceptually, an improved estimation of unknown HR image can leads to an improved estimation of aleatoric uncertainty and vice versa. This line of reasoning will lead to the pursuit of a deep equilibrium model [28] for SISR; but it is beyond the scope of this paper. ",
|
| 602 |
+
"bbox": [
|
| 603 |
+
174,
|
| 604 |
+
618,
|
| 605 |
+
825,
|
| 606 |
+
717
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 5
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "3.4 Discussions: Why UDL Outperforms GRAM? ",
|
| 613 |
+
"text_level": 1,
|
| 614 |
+
"bbox": [
|
| 615 |
+
174,
|
| 616 |
+
733,
|
| 617 |
+
532,
|
| 618 |
+
748
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 5
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "To the best of our knowledge, only one work GRAM [21] has studied data uncertainty in SISR, which is the most related to our work. We will discuss connections and differences between proposed UDL and GRAM [21] here. First, both GRAM [21] and our work has found out that applying the traditional uncertainty loss designed for high-level computer vision tasks into SISR task directly results in performance decline. For high-level computer vision tasks, the pixels with higher uncertainty indicates less confidence in final inference, which needs loss attenuation. However, for SISR tasks, the pixels with higher uncertainty (e.g., texture and edge pixels) should be prioritized with larger weights because they are visually more important than pixels in smooth regions. To solve this problem, GRAM [21] proposes to use uncertainty to generate an attention mask that decreases loss attenuation. However, GRAM [21] loss still is attenuated when the variance of pixels is high. Thus, GRAM [21] is still inferior to baseline method since it still does not prioritize pixels with high uncertainty. ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
174,
|
| 627 |
+
758,
|
| 628 |
+
825,
|
| 629 |
+
911
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 5
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "Different from GRAM, we propose an uncertainty-driven loss to assign the pixels with high variance more weight to prioritize them. Besides, modeling uncertainty under Bayesian framework allows us to leverage sparsity prior for a more precise estimation of uncertainty. Ultimately, our proposed method consists of those two technical contributions that achieve better results than baseline methods and outperform GRAM. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
90,
|
| 639 |
+
825,
|
| 640 |
+
160
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 6
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "4 Experiments ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
174,
|
| 650 |
+
179,
|
| 651 |
+
312,
|
| 652 |
+
196
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 6
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "4.1 Experimental Settings ",
|
| 659 |
+
"text_level": 1,
|
| 660 |
+
"bbox": [
|
| 661 |
+
174,
|
| 662 |
+
209,
|
| 663 |
+
367,
|
| 664 |
+
224
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "Datasets and Metrics. 800 high-quality (2K resolution) images from the DIV2K dataset [29] have been used for training. Following EDSR [2], five standard benchmark datasets: Set5 [23], Set14 [8], BSD100[24], Urban100 [25], Manga109 [26] are used for testing. Performance evaluation in terms of of PSNR and SSIM [30] metrics is conducted on the luminance (Y) channel only. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
174,
|
| 673 |
+
234,
|
| 674 |
+
825,
|
| 675 |
+
290
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "Training Setting. We randomly select 16 RGB LR patches sized by $4 8 \\times 4 8$ as the inputs. The image patches are randomly rotated by $9 0 ^ { \\circ }$ , $1 8 0 ^ { \\circ }$ , $2 7 0 ^ { \\circ }$ and flipped horizontally. The ADAM algorithm [31] with $\\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 9 9$ , $\\epsilon \\overset { \\cdot } { = } 1 0 ^ { - 8 }$ is adopted to optimize the network. The initial learning rate is $1 0 ^ { - 4 }$ and decreases by half for every $2 \\times 1 0 ^ { 5 }$ minibatch updates. ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
296,
|
| 685 |
+
825,
|
| 686 |
+
352
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 6
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "Degradation models. To demonstrate the effectiveness of our proposed uncertainty-driven loss in varying degradation scenarios, we have designed the following experiments with two different degradation models. Let BI denotes bicubic downsampling. The second one is BD which uses Gaussian blur followed by nearest downsampling to generate LR images. Specifically, we apply $1 1 \\times 1 1$ sized Gaussian kernel with a standard deviation 1.6 for blurring in our experiments. ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
173,
|
| 695 |
+
358,
|
| 696 |
+
825,
|
| 697 |
+
428
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "SISR Networks. We choose three different networks to verify the effectiveness of proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss. The first one is EDSR-S or called baseline network in [2]. EDSR-S [2] mainly consists of 16 Resblock with 64 channels, having $1 . 5 M$ parameters. The second one is DPDNN[3] where denoiser network is U-net under model-guided framework. The last one is a big network EDSR[2], consisting of 32 Resblock with 256 channels, having $4 3 M$ parameters. The analysis of training cost can be found in our supplementary material. ",
|
| 704 |
+
"bbox": [
|
| 705 |
+
173,
|
| 706 |
+
434,
|
| 707 |
+
825,
|
| 708 |
+
518
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 6
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "4.2 Ablation Study ",
|
| 715 |
+
"text_level": 1,
|
| 716 |
+
"bbox": [
|
| 717 |
+
174,
|
| 718 |
+
532,
|
| 719 |
+
316,
|
| 720 |
+
547
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 6
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "table",
|
| 726 |
+
"img_path": "images/7f4faf6fa56774c602a3db7381801db8142a4661b906e94ef28d76c4d78284c7.jpg",
|
| 727 |
+
"table_caption": [
|
| 728 |
+
"Table 2: Average PSNR and SSIM results for BI degradation on five datasets for investigating three different loss. The best performance is shown in bold. We record the results in $4 \\times 1 0 ^ { 5 }$ iterations. "
|
| 729 |
+
],
|
| 730 |
+
"table_footnote": [],
|
| 731 |
+
"table_body": "<table><tr><td rowspan=\"2\">Base Model</td><td rowspan=\"2\">Scale</td><td rowspan=\"2\">Loss</td><td colspan=\"2\">Set5[23]</td><td colspan=\"2\">Set14[8]</td><td colspan=\"2\">BSD100 [24]</td><td colspan=\"2\">Urban100[25]</td><td colspan=\"2\">Manga109 [26]</td></tr><tr><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td><td>PSNR</td><td>SSIM</td></tr><tr><td rowspan=\"3\">EDSR-S[2]</td><td rowspan=\"3\">Γ4</td><td>Original</td><td>31.61</td><td>0.8862</td><td>28.22</td><td>0.7721</td><td>27.30</td><td>0.7271</td><td>25.25</td><td>0.7575</td><td>29.31</td><td>0.8907</td></tr><tr><td>LEU+LUDL</td><td>31.83</td><td>0.8895</td><td>28.33</td><td>0.7754</td><td>27.37</td><td>0.7297</td><td>25.49</td><td>0.7665</td><td>29.70</td><td>0.8959</td></tr><tr><td>LESU+LUDL</td><td>31.90</td><td>0.8897</td><td>28.37</td><td>0.7755</td><td>27.40</td><td>0.7301</td><td>25.54</td><td>0.7671</td><td>29.77</td><td>0.8967</td></tr></table>",
|
| 732 |
+
"bbox": [
|
| 733 |
+
176,
|
| 734 |
+
598,
|
| 735 |
+
823,
|
| 736 |
+
651
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 6
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "To further verify the effectiveness of sparse uncertainty estimation at step1, we have conducted an ablation study to compare the final PSNR/SSIM results of ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ with $\\mathcal { L } _ { \\mathrm { E U } }$ or with $\\mathcal { L } _ { \\mathrm { E S U } }$ at step1. In our ablation study, we have used $\\times 4$ bicubic down-sampling degradation on five frequently-used benchmark datasets with EDSR-S backbone[2]. As shown in Tab. 2, both ${ \\mathcal { L } } _ { \\mathrm { E U } } { + } { \\mathcal { L } } _ { \\mathrm { U D L } }$ and ${ \\mathcal { L } } _ { \\mathrm { E S U } } { + } { \\mathcal { L } } _ { \\mathrm { U D L } }$ loss have achieved better performance than original loss. Besides, ${ \\mathcal { L } } _ { \\mathrm { E S U } } { + } { \\mathcal { L } } _ { \\mathrm { U D L } }$ loss obtains better results than $\\mathcal { L } _ { \\mathrm { E U } } { + } \\mathcal { L } _ { \\mathrm { U D L } }$ due to more accurate uncertainty estimation as shown in Fig. 3 (e) and (f). ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
174,
|
| 745 |
+
652,
|
| 746 |
+
825,
|
| 747 |
+
736
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 6
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "4.3 Analysis of Different Weighted Loss ",
|
| 754 |
+
"text_level": 1,
|
| 755 |
+
"bbox": [
|
| 756 |
+
174,
|
| 757 |
+
751,
|
| 758 |
+
462,
|
| 759 |
+
766
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 6
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "There are many different weighted loss guided by different weight maps, such as Error_map, Gradient_map which can also reveal the challenging pixels. We have conducted experiments with a weighted loss function where the weight is a pixel-wise gradient or Error_map. The PSNR results of five benchmark datasets for investigating the influence of different weighted loss functions can be summarized in Tab. 3. ",
|
| 766 |
+
"bbox": [
|
| 767 |
+
173,
|
| 768 |
+
776,
|
| 769 |
+
825,
|
| 770 |
+
845
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 6
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "The $H R$ _gradient_map and $L R$ _gradien_map denote calculating gradient map from high-resolution (ground truth) images and low-resolution images respectively. The calculation of gradient can be formulated as ",
|
| 777 |
+
"bbox": [
|
| 778 |
+
176,
|
| 779 |
+
852,
|
| 780 |
+
821,
|
| 781 |
+
893
|
| 782 |
+
],
|
| 783 |
+
"page_idx": 6
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"type": "equation",
|
| 787 |
+
"img_path": "images/933627fb1f46e3922e9c70e3f7a2a7a03802ea5b549e79f256f85e23783ab457.jpg",
|
| 788 |
+
"text": "$$\n\\begin{array} { r } { V ( i , j ) = I ( i + 1 , j ) - I ( i , j ) , H ( i , j ) = I ( i , j + 1 ) - I ( i , j ) , G ( i , j ) = | | ( V ( i , j ) , H ( i , j ) | | _ { 2 } , } \\end{array}\n$$",
|
| 789 |
+
"text_format": "latex",
|
| 790 |
+
"bbox": [
|
| 791 |
+
179,
|
| 792 |
+
895,
|
| 793 |
+
789,
|
| 794 |
+
912
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 6
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "table",
|
| 800 |
+
"img_path": "images/f9dfcd48667cd9ff0446485f622af7d1d1c816ae32f369528195a4bed4556595.jpg",
|
| 801 |
+
"table_caption": [
|
| 802 |
+
"Table 3: Average PSNR and $\\Delta$ PSNR results with BI degradation on five datasets for investigating the influence of different weighted loss functions. The best performance is shown in bold. "
|
| 803 |
+
],
|
| 804 |
+
"table_footnote": [],
|
| 805 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Weighted loss</td><td rowspan=1 colspan=1>Set5</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Set14</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>BSD100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Urban100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Manga109</td><td rowspan=1 colspan=1>β³</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>31.61</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>27.30</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>25.25</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>29.31</td><td rowspan=1 colspan=1>0.00</td></tr><tr><td rowspan=1 colspan=1>Uncertainty(Ours)</td><td rowspan=1 colspan=1>31.90</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>28.37</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.54</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>29.77</td><td rowspan=1 colspan=1>0.46δΈͺ</td></tr><tr><td rowspan=1 colspan=1>Error_map</td><td rowspan=1 colspan=1>31.77</td><td rowspan=1 colspan=1>0.16δΈͺ</td><td rowspan=1 colspan=1>28.30</td><td rowspan=1 colspan=1>0.08δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.40</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>29.57</td><td rowspan=1 colspan=1>0.26δΈͺ</td></tr><tr><td rowspan=1 colspan=1>HR_gradient_map</td><td rowspan=1 colspan=1>31.68</td><td rowspan=1 colspan=1>0.07δΈͺ</td><td rowspan=1 colspan=1>28.27</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.42</td><td rowspan=1 colspan=1>0.17δΈͺ</td><td rowspan=1 colspan=1>29.45</td><td rowspan=1 colspan=1>0.14δΈͺ</td></tr><tr><td rowspan=1 colspan=1>LR_gradient_map</td><td rowspan=1 colspan=1>31.69</td><td rowspan=1 colspan=1>0.08δΈͺ</td><td rowspan=1 colspan=1>28.29</td><td rowspan=1 colspan=1>0.07δΈͺ</td><td rowspan=1 colspan=1>27.35</td><td rowspan=1 colspan=1>0.05δΈͺ</td><td rowspan=1 colspan=1>25.38</td><td rowspan=1 colspan=1>0.13δΈͺ</td><td rowspan=1 colspan=1>29.50</td><td rowspan=1 colspan=1>0.19δΈͺ</td></tr></table>",
|
| 806 |
+
"bbox": [
|
| 807 |
+
176,
|
| 808 |
+
125,
|
| 809 |
+
821,
|
| 810 |
+
198
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 7
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "text",
|
| 816 |
+
"text": "where $I$ denotes pixels value and $i , j$ denotes position of pixels. Note that we adjust the scaling functions of Error_map, HR_gradient_map and LR_gradient_map to get the best performance. ",
|
| 817 |
+
"bbox": [
|
| 818 |
+
176,
|
| 819 |
+
226,
|
| 820 |
+
823,
|
| 821 |
+
256
|
| 822 |
+
],
|
| 823 |
+
"page_idx": 7
|
| 824 |
+
},
|
| 825 |
+
{
|
| 826 |
+
"type": "text",
|
| 827 |
+
"text": "From the Tab. 3, one can be observed that other weighted loss functions can indeed improve the PSNR results, but only to certain degrees. Comparing four different weight maps, our proposed uncertainty weighted loss function can bring the biggest improvement. Although the Error_map can represent the variance of a single pixel, the Error_map lacks semantic information or local information to capture a more precise estimation of variance comparing uncertainty. With regard to the gradient map of HR or LR images, those gradient maps only well match the edges of images and have a certain correlation to variance. Comparing the visual results of Error_map, HR_gradient_map and $L R$ _gradient_map with uncertainty map, those maps only detect edges of images and fail reflecting complex texture details which are important to final reconstruction performance. Therefore, uncertainty-weighted loss can is still valuable for achieving the best performance among other weighted maps. ",
|
| 828 |
+
"bbox": [
|
| 829 |
+
173,
|
| 830 |
+
261,
|
| 831 |
+
825,
|
| 832 |
+
400
|
| 833 |
+
],
|
| 834 |
+
"page_idx": 7
|
| 835 |
+
},
|
| 836 |
+
{
|
| 837 |
+
"type": "text",
|
| 838 |
+
"text": "4.4 Analysis of Different Scaling Functions ",
|
| 839 |
+
"text_level": 1,
|
| 840 |
+
"bbox": [
|
| 841 |
+
174,
|
| 842 |
+
420,
|
| 843 |
+
483,
|
| 844 |
+
435
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 7
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "We have conducted experiments with several various monotonically increasing functions (including linear and non-linear) and the results can be summarized in Tab. 4. ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
446,
|
| 854 |
+
823,
|
| 855 |
+
474
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 7
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "table",
|
| 861 |
+
"img_path": "images/ad9b99813ae2fe92a9e75c952a517af32d4258c1528b052af0d2abdfb09f2581.jpg",
|
| 862 |
+
"table_caption": [
|
| 863 |
+
"Table 4: Average PSNR and $\\Delta$ PSNR results with BI degradation on five datasets for investigating the influence of different scaling functions. The best performance are shown in bold. "
|
| 864 |
+
],
|
| 865 |
+
"table_footnote": [],
|
| 866 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Scaling functions</td><td rowspan=1 colspan=1>Set5</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Set14</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>BSD100</td><td rowspan=1 colspan=1>β³</td><td rowspan=1 colspan=1>Urban100</td><td rowspan=1 colspan=1>A</td><td rowspan=1 colspan=1>Manga109</td><td rowspan=1 colspan=1>A</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>31.61</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>27.30</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>25.25</td><td rowspan=1 colspan=1>0.00</td><td rowspan=1 colspan=1>29.31</td><td rowspan=1 colspan=1>0.00</td></tr><tr><td rowspan=1 colspan=1>s-min(s)</td><td rowspan=1 colspan=1>31.90</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>28.37</td><td rowspan=1 colspan=1>0.15δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.54</td><td rowspan=1 colspan=1>0.29δΈͺ</td><td rowspan=1 colspan=1>29.77</td><td rowspan=1 colspan=1>0.46δΈͺ</td></tr><tr><td rowspan=1 colspan=1>exp(s)</td><td rowspan=1 colspan=1>31.80</td><td rowspan=1 colspan=1>0.19δΈͺ</td><td rowspan=1 colspan=1>28.34</td><td rowspan=1 colspan=1>0.12δΈͺ</td><td rowspan=1 colspan=1>27.40</td><td rowspan=1 colspan=1>0.10δΈͺ</td><td rowspan=1 colspan=1>25.53</td><td rowspan=1 colspan=1>0.28δΈͺ</td><td rowspan=1 colspan=1>29.66</td><td rowspan=1 colspan=1>0.35δΈͺ</td></tr><tr><td rowspan=1 colspan=1>e.xp(s)(1/2)</td><td rowspan=1 colspan=1>31.86</td><td rowspan=1 colspan=1>0.25δΈͺ</td><td rowspan=1 colspan=1>28.36</td><td rowspan=1 colspan=1>0.14β</td><td rowspan=1 colspan=1>27.41</td><td rowspan=1 colspan=1>0.11δΈͺ</td><td rowspan=1 colspan=1>25.55</td><td rowspan=1 colspan=1>0.30β</td><td rowspan=1 colspan=1>29.71</td><td rowspan=1 colspan=1>0.40β</td></tr><tr><td rowspan=1 colspan=1>log(s)-min(log(s))</td><td rowspan=1 colspan=1>31.89</td><td rowspan=1 colspan=1>0.28δΈͺ</td><td rowspan=1 colspan=1>28.39</td><td rowspan=1 colspan=1>0.17δΈͺ</td><td rowspan=1 colspan=1>27.42</td><td rowspan=1 colspan=1>0.12δΈͺ</td><td rowspan=1 colspan=1>25.57</td><td rowspan=1 colspan=1>0.32δΈͺ</td><td rowspan=1 colspan=1>29.74</td><td rowspan=1 colspan=1>0.43δΈͺ</td></tr></table>",
|
| 867 |
+
"bbox": [
|
| 868 |
+
176,
|
| 869 |
+
527,
|
| 870 |
+
821,
|
| 871 |
+
599
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 7
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "The best and second-best performances are shown in bold. Overall, four various monotonically increasing functions have achieved better results than the baseline method. The best two scaling functions are linear scaling and log scaling with a slight difference as shown in the above table. Since the linear scaling function achieves a comparable performance with low computational cost, we advocate this choice in this paper. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
173,
|
| 880 |
+
625,
|
| 881 |
+
825,
|
| 882 |
+
695
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 7
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "image",
|
| 888 |
+
"img_path": "images/73cd26da93be776365b72653a8fa3c0ab3ef6d5ec3e615945e501a6f05f46988.jpg",
|
| 889 |
+
"image_caption": [
|
| 890 |
+
"Figure 4: SISR visual quality comparisons of EDSR-S [2] with different loss function on βImg_004β and $\\mathrm { \\hbar } ^ { 4 } \\mathrm { I m g \\_ 0 1 } 6 ^ { , }$ from Urban100 [25] (bicubic-downsampling $\\times 4 _ { , }$ ). Best viewed in color. "
|
| 891 |
+
],
|
| 892 |
+
"image_footnote": [],
|
| 893 |
+
"bbox": [
|
| 894 |
+
183,
|
| 895 |
+
710,
|
| 896 |
+
828,
|
| 897 |
+
876
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 7
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "image",
|
| 903 |
+
"img_path": "images/8c5e414f36b7a9a967963d4eb9e5876347915ad184c571633d9e88046b0f6e74.jpg",
|
| 904 |
+
"image_caption": [
|
| 905 |
+
"Figure 5: SISR visual quality comparisons of DPDNN [3] with different loss function on βImg_095 from BSD100 [24] (bicubic-downsampling $\\times 4 _ { , }$ ). Best viewed in color. "
|
| 906 |
+
],
|
| 907 |
+
"image_footnote": [],
|
| 908 |
+
"bbox": [
|
| 909 |
+
184,
|
| 910 |
+
87,
|
| 911 |
+
831,
|
| 912 |
+
202
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Table 5: Average PSNR and SSIM results for BI degradation on five benchmark datasets. The best performance is shown in bold. Note that ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ -Ours denotes adopting $\\mathcal { L } _ { \\mathrm { E S U } }$ at step1 and ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ at step2 for simplicity. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
176,
|
| 921 |
+
237,
|
| 922 |
+
820,
|
| 923 |
+
279
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "table",
|
| 929 |
+
"img_path": "images/dcde4d3847dba2ec8aac40849dc76a146d46d7b9546cf0f61b9796726685bd24.jpg",
|
| 930 |
+
"table_caption": [],
|
| 931 |
+
"table_footnote": [],
|
| 932 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Base Model</td><td rowspan=2 colspan=1>Scale</td><td rowspan=2 colspan=1>Loss</td><td rowspan=1 colspan=2>Set5[23]</td><td rowspan=1 colspan=1>Set]</td><td rowspan=1 colspan=1>4[8]</td><td rowspan=1 colspan=2>BSD100 [24]</td><td rowspan=1 colspan=1>Urban</td><td rowspan=1 colspan=1>00[25]</td><td rowspan=1 colspan=1>Manga</td><td rowspan=1 colspan=1>109[26]</td></tr><tr><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>37.6637.4837.95</td><td rowspan=1 colspan=1>0.85940.95890.9604</td><td rowspan=1 colspan=1>33.2232.9933.50</td><td rowspan=1 colspan=1>0.91460.91260.9165</td><td rowspan=1 colspan=1>31.9531.7632.13</td><td rowspan=1 colspan=1>0.89690.89460.8991</td><td rowspan=1 colspan=1>30.7130.1131.54</td><td rowspan=1 colspan=1>0.92050.91340.9304</td><td rowspan=1 colspan=1>37.7937.3838.38</td><td rowspan=1 colspan=1>0.97520.97390.9767</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>37.7537.7438.00</td><td rowspan=1 colspan=1>0.96000.95970.9605</td><td rowspan=1 colspan=1>33.3033.2733.63</td><td rowspan=1 colspan=1>0.91500.91480.9176</td><td rowspan=1 colspan=1>32.0931.9832.16</td><td rowspan=1 colspan=1>0.89900.89730.8995</td><td rowspan=1 colspan=1>31.5030.9731.72</td><td rowspan=1 colspan=1>0.92200.92380.9331</td><td rowspan=1 colspan=1>-38.1438.55</td><td rowspan=1 colspan=1>-0.97580.9769</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ2</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>38.1137.8738.29</td><td rowspan=1 colspan=1>0.96020.96040.9615</td><td rowspan=1 colspan=1>33.9233.4334.14</td><td rowspan=1 colspan=1>0.91950.91640.9236</td><td rowspan=1 colspan=1>32.3232.0832.40</td><td rowspan=1 colspan=1>0.90130.89900.9027</td><td rowspan=1 colspan=1>32.9331.4632.99</td><td rowspan=1 colspan=1>0.93510.93010.9446</td><td rowspan=1 colspan=1>39.1037.9139.53</td><td rowspan=1 colspan=1>0.97730.97650.9787</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>33.9033.2734.15</td><td rowspan=1 colspan=1>0.92310.91780.9251</td><td rowspan=1 colspan=1>29.9529.6030.15</td><td rowspan=1 colspan=1>0.83520.82980.8388</td><td rowspan=1 colspan=1>28.8528.6028.99</td><td rowspan=1 colspan=1>0.79960.79360.8021</td><td rowspan=1 colspan=1>27.3026.5227.72</td><td rowspan=1 colspan=1>0.83440.81420.8430</td><td rowspan=1 colspan=1>32.5231.1432.97</td><td rowspan=1 colspan=1>0.93690.92580.9406</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM[21]LUDL-Ours</td><td rowspan=1 colspan=1>33.9333.9234.30</td><td rowspan=1 colspan=1>0.92400.92410.9267</td><td rowspan=1 colspan=1>30.0230.0030.31</td><td rowspan=1 colspan=1>0.83600.83620.8419</td><td rowspan=1 colspan=1>29.0028.8629.10</td><td rowspan=1 colspan=1>0.80100.80000.8047</td><td rowspan=1 colspan=1>27.6127.3728.02</td><td rowspan=1 colspan=1>0.84200.83530.8505</td><td rowspan=1 colspan=1>132.4133.27</td><td rowspan=1 colspan=1>10.93730.9435</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ3</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>34.6534.3434.83</td><td rowspan=1 colspan=1>0.92800.92700.9312</td><td rowspan=1 colspan=1>30.5230.2830.69</td><td rowspan=1 colspan=1>0.84620.84120.8497</td><td rowspan=1 colspan=1>29.2529.0729.28</td><td rowspan=1 colspan=1>0.80930.80440.8109</td><td rowspan=1 colspan=1>28.8027.9828.99</td><td rowspan=1 colspan=1>0.86530.87890.8697</td><td rowspan=1 colspan=1>34.1733.3234.63</td><td rowspan=1 colspan=1>0.94760.94320.9502</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.6131.0831.90</td><td rowspan=1 colspan=1>0.88620.87870.8897</td><td rowspan=1 colspan=1>28.2227.8928.37</td><td rowspan=1 colspan=1>0.77210.76700.7755</td><td rowspan=1 colspan=1>27.3027.1227.40</td><td rowspan=1 colspan=1>0.72710.72290.7301</td><td rowspan=1 colspan=1>25.2524.8125.54</td><td rowspan=1 colspan=1>0.75750.74290.7671</td><td rowspan=1 colspan=1>29.3128.1829.77</td><td rowspan=1 colspan=1>0.89070.87620.8967</td></tr><tr><td rowspan=1 colspan=1>DPDNN [3]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.7231.8932.20</td><td rowspan=1 colspan=1>0.88900.89130.8944</td><td rowspan=1 colspan=1>28.2828.3728.60</td><td rowspan=1 colspan=1>0.77300.77720.7819</td><td rowspan=1 colspan=1>27.4427.4127.56</td><td rowspan=1 colspan=1>0.72900.73140.7356</td><td rowspan=1 colspan=1>25.5325.6326.09</td><td rowspan=1 colspan=1>0.76800.77080.7862</td><td rowspan=1 colspan=1>-29.7030.38</td><td rowspan=1 colspan=1>-0.90030.9082</td></tr><tr><td rowspan=1 colspan=1>EDSR [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>32.4632.3232.59</td><td rowspan=1 colspan=1>0.89680.89710.8998</td><td rowspan=1 colspan=1>28.8028.7328.87</td><td rowspan=1 colspan=1>0.78760.78580.7889</td><td rowspan=1 colspan=1>27.7127.6627.78</td><td rowspan=1 colspan=1>0.74200.73950.7431</td><td rowspan=1 colspan=1>26.6426.3526.75</td><td rowspan=1 colspan=1>0.80330.79550.8054</td><td rowspan=1 colspan=1>31.0230.7331.24</td><td rowspan=1 colspan=1>0.91480.91250.9167</td></tr></table>",
|
| 933 |
+
"bbox": [
|
| 934 |
+
176,
|
| 935 |
+
287,
|
| 936 |
+
821,
|
| 937 |
+
592
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 8
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "4.5 Results with BI Degradation Model ",
|
| 944 |
+
"text_level": 1,
|
| 945 |
+
"bbox": [
|
| 946 |
+
176,
|
| 947 |
+
626,
|
| 948 |
+
459,
|
| 949 |
+
641
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 8
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "For bicubic downsampling (BI), we have compared proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss function with GRAM [21] and original loss functions such as $M S E$ or $\\mathcal { L } _ { 1 }$ on three different SISR networks. The average PSNR and SSIM results in Tab. 5 are cited from corresponding papers or retrained from officially released code. It is easy to see that our proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss function is superior to GRAM [21] and original loss functions such as $M S E$ or $\\mathcal { L } _ { 1 }$ in terms of PSNR and SSIM values. Note that the improvements achieved by our proposed method do not bring any additional computation cost during testing time. Comparing EDSR-S ( $. 5 M$ parameters) with EDSR ( $4 3 M$ parameters), our proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ can bring lightweight networks with more greater performance improvements than big ones. The visual image comparison results are reported in Fig. 4 and Fig. 5. As shown in Fig. 4, our proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ has recovered with fewer visible artifacts (e.g., the circular pattern of the roof and the lines on the glassy surface) than original loss and GRAM [21]. Fig. 4 (f) depicts the uncertainty learned by our ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ , revealing the challenging pixels with poor reconstruction performance. From Fig. 5, vertical center-line of window has been recover more clear with precisely estimated uncertainty shown in (e) and (f), while DPDNN and DPDNN-GRAM [21] failed to discern shown in (c) and (d) respectively. More visual comparisons can be found in supplementary material. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
174,
|
| 958 |
+
652,
|
| 959 |
+
825,
|
| 960 |
+
709
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "table",
|
| 966 |
+
"img_path": "images/53cac63c8f32e7b4c0a2ea046a1b913d91cea8f26e0b8c0066bd68e8ab038eeb.jpg",
|
| 967 |
+
"table_caption": [
|
| 968 |
+
"Table 6: Average PSNR and SSIM results for BD degradation on five benchmark datasets. The best performance is shown in bold. Note that ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ -Ours denotes adopting $\\mathcal { L } _ { \\mathrm { E S U } }$ at step1 and ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ at step2 for simplicity. "
|
| 969 |
+
],
|
| 970 |
+
"table_footnote": [],
|
| 971 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Base Model</td><td rowspan=2 colspan=1>Scale</td><td rowspan=2 colspan=1>Loss</td><td rowspan=1 colspan=2>Set5[23]</td><td rowspan=1 colspan=2>Set14 [8]</td><td rowspan=1 colspan=3>BSD100 [24]</td><td rowspan=1 colspan=1>Urban</td><td rowspan=1 colspan=1>00[25]</td><td rowspan=1 colspan=1>Manga</td><td rowspan=1 colspan=1>09[26]</td></tr><tr><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=2>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td><td rowspan=1 colspan=1>PSNR</td><td rowspan=1 colspan=1>SSIM</td></tr><tr><td rowspan=1 colspan=1>EDSR-S [2]</td><td rowspan=1 colspan=1>Γ4</td><td rowspan=1 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=1 colspan=1>31.7030.9831.97</td><td rowspan=1 colspan=1>0.89030.87910.8927</td><td rowspan=1 colspan=1>28.3727.8528.45</td><td rowspan=1 colspan=1>0.77780.76670.7793</td><td rowspan=1 colspan=2>27.3727.0527.41</td><td rowspan=1 colspan=1>0.73200.72250.7321</td><td rowspan=1 colspan=1>25.7724.7925.95</td><td rowspan=1 colspan=1>0.77890.74520.7842</td><td rowspan=1 colspan=1>29.8328.1230.18</td><td rowspan=1 colspan=1>0.90140.87730.9053</td></tr><tr><td rowspan=2 colspan=1>DPDNN [3]</td><td rowspan=2 colspan=1>Γ4</td><td rowspan=2 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=2 colspan=1>31.8631.7532.03</td><td rowspan=2 colspan=1>0.89230.89130.8949</td><td rowspan=2 colspan=1>28.3828.3328.60</td><td rowspan=2 colspan=1>0.77800.77650.7828</td><td rowspan=2 colspan=2>27.3627.3227.48</td><td rowspan=1 colspan=1>0.73110.7302</td><td rowspan=1 colspan=1>25.8225.62</td><td rowspan=1 colspan=1>0.78120.7739</td><td rowspan=1 colspan=1>29.7729.55</td><td rowspan=2 colspan=1>0.90330.90030.9097</td></tr><tr><td rowspan=1 colspan=1>27.48</td><td rowspan=1 colspan=1>0.7355</td><td rowspan=1 colspan=1>26.21</td><td rowspan=1 colspan=1>0.7931</td><td rowspan=1 colspan=1>30.35</td></tr><tr><td rowspan=5 colspan=1>EDSR [2]</td><td rowspan=5 colspan=1>Γ4</td><td rowspan=5 colspan=1>OriginalGRAM [21]LUDL-Ours</td><td rowspan=5 colspan=1>32.1732.1332.37</td><td rowspan=5 colspan=1>0.89750.89630.8986</td><td rowspan=5 colspan=1>28.6528.5727.74</td><td rowspan=1 colspan=1>0.7856</td><td rowspan=4 colspan=2>27.5927.49</td><td rowspan=1 colspan=1>0.7400</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td rowspan=3 colspan=1>0.7362</td><td></td><td></td><td></td><td></td></tr><tr><td></td><td rowspan=2 colspan=1>26.5626.19</td><td rowspan=2 colspan=1>0.80430.7916</td><td rowspan=2 colspan=1>30.6630.48</td><td rowspan=3 colspan=1>0.91340.90970.9149</td></tr><tr><td rowspan=1 colspan=1>0.7822</td></tr><tr><td rowspan=1 colspan=1>0.7867</td><td rowspan=1 colspan=2>27.62</td><td rowspan=1 colspan=1>0.7407</td><td rowspan=1 colspan=1>26.65</td><td rowspan=1 colspan=1>0.8065</td><td rowspan=1 colspan=1>30.81</td></tr></table>",
|
| 972 |
+
"bbox": [
|
| 973 |
+
176,
|
| 974 |
+
785,
|
| 975 |
+
821,
|
| 976 |
+
904
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 8
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "",
|
| 983 |
+
"bbox": [
|
| 984 |
+
173,
|
| 985 |
+
90,
|
| 986 |
+
825,
|
| 987 |
+
243
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 9
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "4.6 Results with BD Degradation Model ",
|
| 994 |
+
"text_level": 1,
|
| 995 |
+
"bbox": [
|
| 996 |
+
176,
|
| 997 |
+
261,
|
| 998 |
+
464,
|
| 999 |
+
275
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 9
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "For blur downsampling (BD), we have compared proposed ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss function with GRAM [21] and original loss functions such as $M S E$ or $\\mathcal { L } _ { 1 }$ on three different baseline networks. The average PSNR and SSIM results in Tab. 6 are retrained from officially released code. It is easy to see that our propose ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ loss function is superior to GRAM [21] and original loss functions such as $M S E$ or $\\mathcal { L } _ { 1 }$ in terms of PSNR and SSIM values. The visual image comparison results of BD degradation are reported in Fig. 6 and Fig. 7. Note that the BD degradation involves Gaussian blur, increasing difficulty in recovering structure patterns. From Fig. 6, we can see that our SR result (Fig. 6 (e)) of $\\mathrm { \\nabla ^ { \\cdot } I m g \\ 1 0 9 ^ { \\cdot } }$ is the closest to that of the ground-truth. In another challenging image $\\mathbf { \\dot { \\tau } } ^ { \\mathrm { \\prime } } \\mathbf { I m g 0 7 8 } ^ { \\prime }$ from Urban100 [25]), our method can recover much more reliable textured details as shown in Fig. 7 (e); while all other methods have severe aliasing artifacts (i.e., distorted tile patterns). The visual quality improvement achieved by ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ is mainly due to the fact that our proposed method makes full use of the captured uncertainty to train deep networks focusing on the challenging pixels with high uncertainty. More visual comparisons can be found in our supplementary material. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
173,
|
| 1008 |
+
276,
|
| 1009 |
+
825,
|
| 1010 |
+
455
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 9
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "image",
|
| 1016 |
+
"img_path": "images/f9c5c9971afa483363c84d669e494ec595f7f0b61c9b0f74c821154dab28cc4e.jpg",
|
| 1017 |
+
"image_caption": [
|
| 1018 |
+
"Figure 6: SISR visual quality comparisons of DPDNN [3] with different loss function on βImg_109 from Manga109 [26] (blur-downsampling $\\times 4 _ { , }$ ). Best viewed in color. "
|
| 1019 |
+
],
|
| 1020 |
+
"image_footnote": [],
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
184,
|
| 1023 |
+
469,
|
| 1024 |
+
825,
|
| 1025 |
+
541
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 9
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "image",
|
| 1031 |
+
"img_path": "images/c30523fd5bb0d22d4e47da96524fc967f6d1e620b06c8a9bb6c42510827f5d53.jpg",
|
| 1032 |
+
"image_caption": [
|
| 1033 |
+
"Figure 7: SISR visual quality comparisons of EDSR [2] with different loss function on βImg_078β from Urban100 [25] (blur-downsampling $\\times 4 _ { , }$ ). Best viewed in color. "
|
| 1034 |
+
],
|
| 1035 |
+
"image_footnote": [],
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
184,
|
| 1038 |
+
582,
|
| 1039 |
+
831,
|
| 1040 |
+
693
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 9
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "5 Conclusion ",
|
| 1047 |
+
"text_level": 1,
|
| 1048 |
+
"bbox": [
|
| 1049 |
+
174,
|
| 1050 |
+
741,
|
| 1051 |
+
299,
|
| 1052 |
+
757
|
| 1053 |
+
],
|
| 1054 |
+
"page_idx": 9
|
| 1055 |
+
},
|
| 1056 |
+
{
|
| 1057 |
+
"type": "text",
|
| 1058 |
+
"text": "In this paper, we propose a new adaptive weighted loss ${ \\mathcal { L } } _ { \\mathrm { U D L } }$ for SISR to train SISR networks focusing on challenging pixels with high uncertainty (e.g., textured and edge pixels). Specifically, variance estimation is introduced into SISR so that the high-resolution images (mean) and their corresponding uncertainty (variance) can be learned simultaneously. Moreover, modeling uncertainty under Bayesian framework allows us to leverage sparsity prior for a more precise estimation of uncertainty. Ultimately, pixels with large certainty (e.g., texture and edge pixels) will be prioritized for SISR according to their importance to visual quality. For the first time, we demonstrate that such uncertainty-driven loss can achieve better results than $M S E$ or $\\mathcal { L } _ { 1 }$ loss. Experimental results on three popular SISR networks show that our proposed uncertainty-driven loss has achieved better PSNR performance than traditional loss functions without any increased computation during testing. ",
|
| 1059 |
+
"bbox": [
|
| 1060 |
+
174,
|
| 1061 |
+
772,
|
| 1062 |
+
825,
|
| 1063 |
+
911
|
| 1064 |
+
],
|
| 1065 |
+
"page_idx": 9
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"type": "text",
|
| 1069 |
+
"text": "Acknowledgement ",
|
| 1070 |
+
"text_level": 1,
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
176,
|
| 1073 |
+
89,
|
| 1074 |
+
330,
|
| 1075 |
+
106
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 10
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "This work was supported in part by the National Key R&D Program of China under Grant 2018AAA0101400 and the Natural Science Foundation of China under Grant 61991451, Grant 61632019, Grant 61621005, and Grant 61836008. Xin Liβs work is partially supported by the NSF under grants IIS-1951504 and OAC-1940855, the DoJ/NIJ under grant NIJ 2018-75-CX-0032, and the WV Higher Education Policy Commission Grant (HEPC.dsr.18.5). ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
174,
|
| 1084 |
+
121,
|
| 1085 |
+
826,
|
| 1086 |
+
190
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 10
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "References ",
|
| 1093 |
+
"text_level": 1,
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
174,
|
| 1096 |
+
209,
|
| 1097 |
+
266,
|
| 1098 |
+
226
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 10
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "[1] Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In European Conference on Computer Vision, pages 184β199, 2014. \n[2] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee. Enhanced deep residual networks for single image super-resolution. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 1132β1140, 2017. \n[3] Weisheng Dong, Peiyao Wang, Wotao Yin, Guangming Shi, Fangfang Wu, and Xiaotong Lu. Denoising prior driven deep neural network for image restoration. IEEE Transactions on Pattern Analysis and Machine Intelligence, 41(10):2305β2318, 2019. \n[4] Yulun Zhang, Kunpeng Li, Kai Li, Lichen Wang, Bineng Zhong, and Yun Fu. Image super-resolution using very deep residual channel attention networks. In Proceedings of the European Conference on Computer Vision (ECCV), pages 286β301, 2018. \n[5] Tao Dai, Jianrui Cai, Yongbing Zhang, Shu-Tao Xia, and Lei Zhang. Second-order attention network for single image super-resolution. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 11065β11074, 2019. \n[6] Qian Ning, Weisheng Dong, Guangming Shi, Leida Li, and Xin Li. Accurate and lightweight image super-resolution with model-guided deep unfolding network. IEEE Journal of Selected Topics in Signal Processing, 15(2):240β252, 2021. doi: 10.1109/JSTSP.2020.3037516. \n[7] Yong Guo, Jian Chen, Jingdong Wang, Qi Chen, Jiezhang Cao, Zeshuai Deng, Yanwu Xu, and Mingkui Tan. Closed-loop matters: Dual regression networks for single image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5407β5416, 2020. \n[8] Roman Zeyde, Michael Elad, and Matan Protter. On single image scale-up using sparse-representations. In Proceedings of the 7th international conference on Curves and Surfaces, pages 711β730, 2010. \n[9] Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pages 694β711. Springer, 2016. \n[10] Mario AT Figueiredo. Adaptive sparseness using jeffreys prior. In NIPS, pages 697β704, 2001. \n[11] Qian Ning, Weisheng Dong, Fangfang Wu, Jinjian Wu, Jie Lin, and Guangming Shi. Spatial-temporal gaussian scale mixture modeling for foreground estimation. Proceedings of the AAAI Conference on Artificial Intelligence, 34(07):11791β11798, Apr. 2020. doi: 10.1609/aaai.v34i07.6851. URL https: //ojs.aaai.org/index.php/AAAI/article/view/6851. \n[12] Paul W Goldberg, Christopher KI Williams, and Christopher M Bishop. Regression with input-dependent noise: A gaussian process treatment. Advances in neural information processing systems, 10:493β499, 1997. \n[13] WA Wright. Bayesian approach to neural-network modeling with input uncertainty. IEEE Transactions on Neural Networks, 10(6):1261β1270, 1999. \n[14] Christopher M Bishop and Cazhaow S Qazaz. Regression with input-dependent noise: A bayesian treatment. Advances in neural information processing systems, pages 347β353, 1997. \n[15] Alex Kendall and Yarin Gal. What uncertainties do we need in bayesian deep learning for computer vision? In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper/2017/file/ 2650d6089a6d640c5e85b2b88265dc2b-Paper.pdf. \n[16] Vijay Badrinarayanan, Alex Kendall, and Roberto Cipolla. Segnet: A deep convolutional encoder-decoder architecture for image segmentation. IEEE transactions on pattern analysis and machine intelligence, 39 (12):2481β2495, 2017. \n[17] Jie Chang, Zhonghao Lan, Changmao Cheng, and Yichen Wei. Data uncertainty learning in face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5710β 5719, 2020. \n[18] Yingjie Gu, Zhong Jin, and Steve C Chiu. Active learning combining uncertainty and diversity for multi-class image classification. IET Computer Vision, 9(3):400β407, 2015. \n[19] Yichun Shi and Anil K Jain. Probabilistic face embeddings. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6902β6911, 2019. \n[20] Armen Der Kiureghian and Ove Ditlevsen. Aleatory or epistemic? does it matter? Structural safety, 31(2): 105β112, 2009. \n[21] Changwoo Lee and Ki-Seok Chung. Gram: Gradient rescaling attention model for data uncertainty estimation in single image super resolution. In 2019 18th IEEE International Conference On Machine Learning And Applications (ICMLA), pages 8β13. IEEE, 2019. \n[22] Aupendu Kar and Prabir Kumar Biswas. Fast bayesian uncertainty estimation and reduction of batch normalized single image super-resolution network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 4957β4966, June 2021. \n[23] Marco Bevilacqua, Aline Roumy, Christine Guillemot, and Marie Line Alberi-Morel. Low-complexity single-image super-resolution based on nonnegative neighbor embedding. In British Machine Vision Conference 2012, pages 1β10, 2012. \n[24] 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 Proceedings Eighth IEEE International Conference on Computer Vision. ICCV 2001, volume 2, pages 416β423, 2001. \n[25] Jia-Bin Huang, Abhishek Singh, and Narendra Ahuja. Single image super-resolution from transformed self-exemplars. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 5197β5206, 2015. \n[26] Yusuke Matsui, Kota Ito, Yuji Aramaki, Azuma Fujimoto, Toru Ogawa, Toshihiko Yamasaki, and Kiyoharu Aizawa. Sketch-based manga retrieval using manga109 dataset. Multimedia Tools and Applications, 76 (20):21811β21838, 2017. \n[27] Yingqian Wang, Xinyi Ying, Longguang Wang, Jungang Yang, Wei An, and Yulan Guo. Symmetric parallax attention for stereo image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 766β775, June 2021. \n[28] Davis Gilton, Gregory Ongie, and Rebecca Willett. Deep equilibrium architectures for inverse problems in imaging. arXiv preprint arXiv:2102.07944, 2021. \n[29] Radu Timofte, Eirikur Agustsson, Luc Van Gool, Ming-Hsuan Yang, and Lei Zhang. Ntire 2017 challenge on single image super-resolution: Methods and results. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 114β125, 2017. \n[30] Zhou Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600β612, 2004. \n[31] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR (Poster), 2015. URL http://arxiv.org/abs/1412.6980. ",
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
173,
|
| 1107 |
+
227,
|
| 1108 |
+
828,
|
| 1109 |
+
916
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 10
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "",
|
| 1116 |
+
"bbox": [
|
| 1117 |
+
171,
|
| 1118 |
+
93,
|
| 1119 |
+
826,
|
| 1120 |
+
616
|
| 1121 |
+
],
|
| 1122 |
+
"page_idx": 11
|
| 1123 |
+
}
|
| 1124 |
+
]
|
parse/train/WA39qkJvLi/WA39qkJvLi_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/WA39qkJvLi/WA39qkJvLi_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|