Datasets:
Add files using upload-large-folder tool
Browse files
parse/train/BygkQeHKwB/BygkQeHKwB.md
CHANGED
|
@@ -81,7 +81,7 @@ $$
|
|
| 81 |
\ell ( \mathbf { p } , t ) : = \log p _ { t } .
|
| 82 |
$$
|
| 83 |
|
| 84 |
-
We should warn that, while the cross-entropy is appropriate for bringing examples into the region of class $t$ during classifier training, its negative (6) is in general not appropriate for pulling them out during an attack. This is because this function is mostly flat in the class region. A common solution is to normalize the gradient of $\ell$ (Goodfellow et al., 2014; Rony et al., 2018), assuming it is nonzero. We consider more options in this work. A targeted attack on the other hand may use
|
| 85 |
|
| 86 |
Distortion. This work focuses on the 2-norm $\lVert \cdot \rVert$ as a measure of distortion. Alternatives like 1-norm and $\infty$ -norm are also common (Goodfellow et al., 2014; Carlini & Wagner, 2017). It is known that none is appropriate for measuring the imperceptibility of adversarial attacks, while more sophisticated measures like structural similarity (SSIM) (Wang et al., 2004) are limited too (Sharif et al., 2018). Measuring imperceptibility is arguably as difficult as classification itself.
|
| 87 |
|
|
|
|
| 81 |
\ell ( \mathbf { p } , t ) : = \log p _ { t } .
|
| 82 |
$$
|
| 83 |
|
| 84 |
+
We should warn that, while the cross-entropy is appropriate for bringing examples into the region of class $t$ during classifier training, its negative (6) is in general not appropriate for pulling them out during an attack. This is because this function is mostly flat in the class region. A common solution is to normalize the gradient of $\ell$ (Goodfellow et al., 2014; Rony et al., 2018), assuming it is nonzero. We consider more options in this work. A targeted attack on the other hand may use $\log { p _ { t ^ { \prime } } }$ , which works fine because it brings examples into class $t ^ { \prime }$ region.
|
| 85 |
|
| 86 |
Distortion. This work focuses on the 2-norm $\lVert \cdot \rVert$ as a measure of distortion. Alternatives like 1-norm and $\infty$ -norm are also common (Goodfellow et al., 2014; Carlini & Wagner, 2017). It is known that none is appropriate for measuring the imperceptibility of adversarial attacks, while more sophisticated measures like structural similarity (SSIM) (Wang et al., 2004) are limited too (Sharif et al., 2018). Measuring imperceptibility is arguably as difficult as classification itself.
|
| 87 |
|
parse/train/H1zxjsCqKQ/H1zxjsCqKQ.md
CHANGED
|
@@ -134,7 +134,7 @@ where $\nabla _ { \phi _ { D } } \hat { F } _ { D } \cdot \hat { J } _ { D }$ is
|
|
| 134 |
|
| 135 |
# Algorithm 1 Gradient-based learning for the binary $F _ { 1 }$ score
|
| 136 |
|
| 137 |
-
Require: classifier $h _ { \theta }$ , batch size $b$ , dataset $D$ , learning rate $\alpha$ , weight decay strength $\lambda$ $\begin{array} { r } { \hat { p ^ { + } } \frac { 1 } { | D | } \sum _ { ( \pmb { x } , y ) \in D } \mathbb { I } ( y = 1 ) } \end{array}$ $\begin{array} { r } { p ^ { - } \frac { 1 } { | D | } \sum _ { ( \pmb { x } , y ) \in D } \mathbb { I } ( y = 0 ) } \end{array}$ while terminating criterion not satisfied do Sample $B _ { + } \doteq \{ ( \pmb { x } _ { 1 } ^ { + } , 1 ) , . . . , ( \pmb { x } _ { b } ^ { + } , 1 ) \}$ from $D$ Sample $B _ { - } = \{ ( \pmb { x } _ { 1 } ^ { - } , 0 ) , . . . , ( \pmb { x } _ { b } ^ { - } , 0 ) \}$ from $D$ $\begin{array} { r } { \mathrm { f n } \frac { p ^ { + } } { b } \sum _ { i = 1 } ^ { b } p _ { \theta } ( 0 | \pmb { x } _ { 1 } ^ { + } ) } \end{array}$ p b Pbi=1 pθ (1|x−1 ) δ ← ∇θ |