Datasets:
Add files using upload-large-folder tool
Browse files
md/dev/N8MaByOzUfb/N8MaByOzUfb.md
CHANGED
|
@@ -100,7 +100,7 @@ in the feature space, consider the case of a ER-AML’s $\mathcal { L } _ { 1 }$
|
|
| 100 |
|
| 101 |
# 4.3 CROSS-ENTROPY BASED ALTERNATIVE (ER-ACE)
|
| 102 |
|
| 103 |
-
Having demonstrated the effect of controlling the incoming batch loss in avoiding a drastic representation drift, we now extend it to be applicable to the standard cross-entropy loss typically studied in ER (Aljundi et al., $2 0 1 9 \mathrm { a }$ ; Chaudhry et al., 2019). Given an incoming data batch, consider $C _ { o l d }$ the set of previously learned classes and $C _ { c u r r }$ the set of classes observed in the current incoming mini-batch. Denoting $C$ the set of classes included in the cross-entropy loss, we define the $\mathcal { L } _ { c e } ( \mathbf { X } , C )$ cross-entropy loss as: Lce(X, C) = − Px∈X log Psim(wc(x),fθ(x))c∈C sim(wc,fθ(x)) where $C \subset C _ { a l l }$ denotes the classes used to compute the denominator. We note that restricting the classes used in the denominator has an analogous effect to restricting the negatives in the contrastive loss. Consider the gradient for a single datapoint $x$ , ∂Lce(x,C)∂fn = W |