Manuscript Offprint
arXiv:2610.24036Client-Aware Security Adaptive Early Exit Vision Transformers for Heterogeneous Federated Learning
© This paper is accepted at the 2027 International Conference on Artificial Intelligence and Applied Intelligent Systems (AIAIS 2027), January 22–24, 2027, Hong Kong.
Client-Aware Security Adaptive Early Exit Vision Transformers for Heterogeneous Federated Learning
Sahar Refaei Ghalibafan , Samira Nazari , Christian Herglotz , Maksim Jenihhin , Mahdi Taheri
Brandenburg University of Technology, Cottbus, Germany
University of Zanjan, Zanjan, Iran
Tallinn University of Technology, Tallinn, Estonia
Humboldt University of Berlin, Berlin, Germany
Abstract—Federated learning (FL) trains a shared model across data-owning clients without centralizing raw data, but client data difficulty and compute budgets can differ. We study local early-exit Vision Transformer (ViT) inference, where an intermediate classifier may return a prediction before the final Transformer stage. The proposed method replaces one global acceptance threshold with a client-specific base threshold from label entropy and shallow-exit confidence, then adjusts each input using predictive entropy, confidence, top-two class margin, and exit depth. Aggregation uses only clients that updated a parameter. Security-aware routing reaches 88.70% CIFAR-10 accuracy with 32.0% depth saving and 73.7% ImageNet-1K top-1 accuracy with 30% saving. On matched six-client non-IID CIFAR-100, full-depth accuracy is 72.28% versus 68.20–71.80% for four heterogeneous-FL baselines; robustness-aware routing reaches 70.01% with 32.55% saving.
Index Terms—Federated learning, Vision Transformer, early exit, adaptive inference, client heterogeneity, uncertainty estimation, adversarial robustness.
A Vision Transformer (ViT) processes an image through sequential Transformer blocks [4], [5]. An early-exit network adds intermediate classifiers so an input may stop before the final block [6]. An acceptance threshold specifies the confidence required to stop; otherwise the input is deferred, meaning it continues to the next, deeper exit. Most systems use one fixed threshold or one globally shared threshold schedule. The second gap is that such policies adapt to the input but not to the client from which it originates.
Confidence alone is incomplete because neural networks can be miscalibrated [7], and adversarially perturbed inputs can remain confidently wrong [8], [9]. Selective prediction therefore ranks predictions by uncertainty so difficult inputs can be deferred [10], [11]. Confidence, predictive entropy, and top-two class margin capture different aspects of that uncertainty. The third gap is a clear connection between these sample signals, client difficulty, and when deferral to a deeper exit actually reduces error.
We address the three gaps with (i) a client-difficulty score from label entropy and shallow-exit confidence, (ii) sample-adaptive routing from confidence, entropy, class margin, and exit depth with a conditional-error analysis, and (iii) coverage-aware aggregation that averages a parameter only across clients that trained it. Section II reviews related work, Section III defines the method and notation, Section IV evaluates it, and Section V concludes.
II. RELATED WORK
HeteroFL changes neural-network width, i.e., active channels [12]; DepthFL changes model depth, i.e., trainable sequential blocks [13]; and ScaleFL combines width/depth scaling, exits, and self-distillation [14]. ReeFL shares a recurrent exit classifier across depths and selects a client-specific distillation teacher [15]. FedEE uses personalized early-exit blocks for uncertainty-aware healthcare FL [16]. Here, personalization means that client statistics change the inference threshold rather than only the trained model capacity.
Early exiting stops at an intermediate classifier when an acceptance condition is met [6]. Token reduction instead removes redundant ViT tokens; Byun et al. combine both mechanisms using dataset profiling and intermediate confidence [17]. Maximum softmax confidence can be miscalibrated [7]; selective classification therefore studies prediction versus deferral using risk–coverage behavior [10], with entropy and class margin providing complementary uncertainty signals [11].
An adversarial perturbation is a small, intentionally chosen input change that increases model error. Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) are gradient-based attacks [8], [9]; broader suites can include Carlini–Wagner and AutoAttack [18], [19].
The remaining intersection is a federated multi-exit system that adapts inference at both the client and sample levels while correctly aggregating unequal model-prefix coverage.
III. METHODOLOGY
A. Problem Formulation and Terminology
Consider federated clients indexed by . Client owns the local dataset , where
is its number of samples, is an input image, and is its label among classes. The server maintains the global model parameter vector after communication round , where one communication round consists of a server broadcast, local client training, and server aggregation; and is the total number of FL rounds.
The shared ViT contains ordered Transformer stages and one classifier after each stage. The exit index is . For input , stage function maps the previous representation to , and exit-head parameters produce the class-probability vector :
The softmax function converts the exit-head scores into class probabilities. For class index , is its predicted probability. The exit prediction is , and is the maximum prediction confidence. Routing is the sequential inference procedure that either accepts the current exit or defers the input to exit . A client subnetwork (subnet) is the shared-model prefix ending at the deepest stage that the client is allowed to train.
B. Local Multi-Exit Training
Let be the deepest trainable exit assigned to client . The client updates the shared prefix through stage and every exit head up to that depth. Let denote the supervised classification loss at exit ; it is cross entropy for ordinary labels and the corresponding soft-label loss under MixUp, an augmentation that interpolates training examples and labels. We define the weighted supervised loss
where is a summation index and is the unnormalized exit weight. We use linearly increasing base weights and double the deepest active weight, i.e., , so that shallow heads are trained without allowing their larger count to dominate the local objective.
Knowledge distillation (KD) transfers information from a deeper classifier to a shallower one. The deepest active exit is used as a detached teacher, giving
where is Kullback–Leibler divergence, is the distillation temperature, and is the softmax distribution computed with that temperature. The complete local training loss is , where weights the KD term. Thus, is the loss optimized during local client training; it is not used during inference.
C. Client-Level Difficulty and Base Threshold
Client-level adaptation uses both a data statistic and a model-behavior statistic because either one alone can miss a source of difficulty. Let be the fraction of client-k samples with class c. The normalized label entropy
measures label diversity, where is a small numerical constant that prevents . High means the client covers many classes, but it does not indicate whether the current model already predicts that client confidently.
We therefore also measure shallow-exit confidence. Let P be the number of shallow exits used for profiling; the reported experiments use P = 2. The mean shallow confidence is
and is the client's shallow-confidence deficit. We min-max normalize and across the profiled clients to , yielding and . Their weighted combination
is the client-difficulty score. The weights are fixed design choices: label-distribution heterogeneity receives the larger weight, while model confidence supplies a complementary difficulty signal; they are not learned or tuned on the test set.
For scalar z and lower/upper bounds l, u, define . The client-specific base acceptance threshold is
Because , the coefficient 0.25 limits the unclipped client-specific threshold shift to at most 0.25. A higher therefore makes early acceptance stricter. Clients are profiled once before the first communication round.
D. Sample-Level Uncertainty and Adaptive Exit Rule
Client difficulty cannot distinguish easy and difficult inputs from the same client. At exit e, we therefore compute three sample-level uncertainty signals. First, normalized predictive entropy
measures how spread out the predicted class probabilities are. Second, is the confidence deficit. Third, let and denote the largest and second-largest class probabilities; their margin
measures separation between the two leading classes. These signals are complementary: entropy uses the full distribution,
TABLE I INSTANTIATED EXIT POLICIES
| Policy | a | b | c | d |
|---|---|---|---|---|
| Fixed | 0 | 0 | 0 | 0 |
| Global resource-aware | 0 | .25 | 0 | .10 |
| Client-specific | .25 | 0 | 0 | 0 |
| Robustness-aware | 0 | .25 | .20 | .10 |
| Combined client+robust. | .25 | .25 | .20 | .10 |
confidence uses its highest probability, and margin measures ambiguity between the two most likely classes.
The global resource-aware policy uses
a multiplicative sample-difficulty term that becomes large only when both predictive entropy and confidence deficit are high. The robustness-aware policy additionally uses
where entropy and confidence receive equal primary weight and the class-margin deficit supplies complementary information. These coefficients are fixed implementation choices rather than learned parameters.
All exit policies are instances of
where is the global baseline threshold; weight client difficulty, multiplicative sample difficulty, and multi-signal sample uncertainty; controls depth relaxation; is relative exit depth; and , are clipping bounds. Depth relaxation means that, after more computation has already been spent, the threshold is gradually reduced so a later exit can accept an input more easily. The first exit satisfying returns ; if none accepts the input, exit is the deterministic final fallback.
Table I includes the fully combined parameterization to make the policy family explicit. The correction magnitudes 0.25, 0.20, and 0.10 are fixed design values chosen so client/sample corrections remain comparable in scale while depth relaxation is smaller; they are not learned from test data. The reported common global-test ablation isolates fixed, global resource-aware, and robustness-aware routing; client-specific variants require client identity and are evaluated on client-local data rather than assigned one pooled global-test result.
E. Why Deferral Can Reduce Error
A stricter threshold is not itself an adversarial defense: a perturbed input can remain confidently wrong. The routing rule is useful only when it identifies inputs for which a deeper exit has lower error. Let denote the subset accepted at exit and the subset deferred from exit to . Let be the probability (or empirical fraction) of subset , and let be the conditional misclassification rate of exit on subset . A two-stage routing policy has risk
If the same deferred samples were forced to exit at , the risk difference would be
Deferral reduces expected error exactly when . Confidence, predictive entropy, and class margin are therefore routing heuristics for identifying potentially recoverable shallow errors, not correctness certificates.
F. Coverage-Aware Federated Aggregation
The global model vector contains individual trainable parameters , where indexes a scalar or tensor parameter. Let be the set of clients selected in round , and let be the subset whose active subnet contains and updates parameter . After local training, denotes client 's updated value for that parameter. We aggregate only clients that covered it:
Thus the denominator contains only clients that actually trained . If every selected client covers the parameter, Eq. (15) reduces to ordinary sample-weighted Federated Averaging (FedAvg); if no selected client covers it, the previous global value is retained. This prevents parameters in deeper prefixes from being diluted by clients that never trained those parameters. Conversely, parameters covered by fewer clients receive updates from a smaller effective participant set, so their optimization can be more sensitive to which eligible clients are selected in a round.
G. Communication and Computation Metrics
Let be the number of model bytes transmitted in one direction for client during round . Because the experiments count both server-to-client broadcast and client-to-server upload, cumulative model communication is
excluding protocol overhead. With full-model participation, is the serialized full-model size; with a subnet it is the serialized active prefix size.
For inference, the paper reports a depth-based computation proxy rather than hardware-specific latency. Let be the number of evaluation samples and let be the exit index used by sample . Average exit depth and the percentage depth saving relative to evaluating all stages are
(a) Federated training

(b) Local adaptive inference
Fig. 1. Federated training (a) and local client inference (b).
This metric measures skipped Transformer stages; it should not be interpreted as an exact floating-point-operation (FLOP) or wall-clock reduction.
IV. EXPERIMENTAL RESULTS AND ANALYSIS
A. Datasets and Experimental Setup
We evaluate CIFAR-10 and CIFAR-100, which contain 10 and 100 image classes respectively [20], and ImageNet-1K, which contains 1000 classes [21]. An IID partition means client data are independently and identically distributed from the same class distribution. For non-IID experiments, class-wise client proportions are sampled from a symmetric Dirichlet distribution with concentration parameter ; smaller produces stronger label skew because each class is concentrated on fewer clients.
All experiments use the same six-exit ViT family. CIFAR-10 uses five local epochs, the AdamW optimizer with cosine learning-rate scheduling, standard MixUp/CutMix and RandAugment augmentation, self-distillation, and a 200-round budget. It includes IID experiments with 3, 6, and 9 clients, plus a six-client Dirichlet sweep with . CIFAR-100 uses six exits with embedding dimension 256 and four attention heads, five local epochs, batch size 64, AdamW with cosine scheduling, MixUp, RandAugment, stochastic-depth regularization of 0.1, and self-distillation weight 0.1 with . Its client-count sweep uses 2, 4, 6, 8, 10 clients at , and its heterogeneity sweep uses six clients with the same four values.
Adversarial routing is tested with Fast Gradient Sign Method (FGSM) and 10-step Projected Gradient Descent (PGD) [8], [9]. The symbol denotes the perturbation budget, i.e., the maximum absolute element-wise input change, with . These attacks are generated against the deepest exit and are used for within-run policy comparisons; no adversarial training is applied.
B. Architecture Instantiation and Metrics
The implementation starts from the timm checkpoint vit_small_patch16_224.augreg_in21k_ft_in1k, which is a small ViT with patches (ViT-S/16) trained with augmentation and regularization (AugReg), pretrained on ImageNet-21k and fine-tuned on ImageNet-1k. We retain the first six Transformer blocks. CIFAR images are resized to using bicubic interpolation, matching the checkpoint configuration. At exit e, let be the class token, the jth patch token, and the number of patch tokens. The exit representation averages the class token and mean patch token, applies layer normalization , and reuses exit-head parameters ( ) from Section III-A:
Top-1 accuracy is the fraction of samples whose most probable class is correct; top-5 accuracy counts a sample as correct when its label is among the five most probable classes. The computation metric is Eq. (17); communication counts both transfer directions as defined above.
TABLE II CIFAR-10 EVALUATION ACROSS CLIENT COUNTS AND EXIT POLICIES
| Setting | Global acc. (%) | Mean client (%) | Saved (%) |
|---|---|---|---|
| 3 clients, IID | 90.62 | 91.78 | - |
| 6 clients, IID | 90.17 | 91.30 | - |
| 9 clients, IID | 89.94 | 91.02 | - |
| Full depth | 90.17 | - | 0.0 |
| Fixed threshold | 87.00 | - | 37.5 |
| Global resource-aware | 87.60 | - | 36.3 |
| Robustness-aware | 88.70 | - | 32.0 |
TABLE III SIX-CLIENT IMAGENET-1K ACCURACY-DEPTH TRADE-OFF
| Policy | Top-1 (%) | Avg. depth | Saved (%) |
|---|---|---|---|
| Full depth | 75.4 | 6.00 | 0 |
| Fixed threshold | 72.1 | 3.96 | 34 |
| Global resource-aware | 72.6 | 4.02 | 33 |
| Robustness-aware | 73.7 | 4.20 | 30 |
C. CIFAR-10 and ImageNet-1K Coverage
With 3, 6, and 9 IID CIFAR-10 clients, global test accuracy is , , and , while mean client-local accuracy is , , and , respectively. Under six-client Dirichlet partitions, global test accuracy decreases from at to at , consistent with stronger label skew.
Table II isolates the CIFAR-10 accuracy–depth trade-off. Robustness-aware routing reaches 88.70% global test accuracy with 32.0% depth saving, whereas the fixed threshold reaches 87.00% with 37.5% saving. The additional uncertainty signals therefore recover 1.70 percentage points (pp) of accuracy while using 5.5 pp more of the six-stage depth budget.
ImageNet-1K tests whether the same routing design transfers beyond CIFAR. The six-client full-depth model reaches 75.4% top-1 and 92.3% top-5 accuracy. Fixed and global resource-aware routing reach 72.1% and 72.6% top-1 accuracy with 34% and 33% depth saving, respectively. Robustness-aware routing reaches 73.7% top-1 with 30% saving (Table III).
D. Matched Comparison with Established Methods
Table IV compares CIFAR-100 accuracy using six clients, Dirichlet , the same training budget, and the same evaluation split. The reproduced HeteroFL, DepthFL, ScaleFL, and ReeFL runs reach , , , and , respectively; our full-depth model reaches . Thus the full-depth accuracy advantage over the strongest reproduced baseline, ReeFL, is 0.48 pp. The comparison is matched with respect to client count, Dirichlet partition setting, training budget, and evaluation split. The available experiment record does not establish that all baseline runs used identical backbone initialization/pretraining, augmentation, self-distillation, or method-specific tuning.
A common matched FLOP/latency trace is unavailable for all reproduced baselines, so Table IV reports each method's compute-control mechanism rather than inventing a cross-method saving percentage. Table V contains our measured depth proxy. For context, ScaleFL reports up to latency and
TABLE IV MATCHED CIFAR-100 COMPARISON: 6 CLIENTS, DIRICHLET
| Method | Acc. (%) | Δ vs. ours (pp) | Compute control |
|---|---|---|---|
| HeteroFL [12] | 68.20 | -4.08 | model width |
| DepthFL [13] | 70.10 | -2.18 | trainable depth |
| ScaleFL [14] | 71.30 | -0.98 | width + depth |
| ReeFL [15] | 71.80 | -0.48 | recurrent exits |
| Ours, full depth | 72.28 | 0.00 | 6 stages |
| Ours, robustness-aware | 70.01 | -2.27 | avg. depth 4.05 |
TABLE V CIFAR-100 GLOBAL-TEST ACCURACY-DEPTH TRADE-OFF
| Policy | Acc. (%) | Avg. depth | Saved (%) |
|---|---|---|---|
| Full depth | 72.28 | 6.00 | 0.00 |
| Fixed threshold | 68.80 | 3.85 | 35.90 |
| Global resource-aware | 68.95 | 3.83 | 36.25 |
| Robustness-aware | 70.01 | 4.05 | 32.55 |
model-size reduction under its own protocol [14]; those values are not mixed with our matched runs.
E. CIFAR-100 Scalability, Heterogeneity, and Efficiency
Figure 2(a) shows that global test accuracy changes by 1.12 pp between two and ten clients, whereas worst-client accuracy reaches at six clients, 9.83 pp below the corresponding global test accuracy. Cumulative two-way model communication grows from 9.93 to 49.66 GiB (gibibytes) as the client count increases from two to ten [Fig. 2(b)], consistent with the communication definition in Section III-G. Under six-client Dirichlet partitions, reducing from 0.50 to 0.05 lowers global accuracy by 17.85 pp and worst-client accuracy by 36.23 pp [Fig. 2(c)]. The stronger degradation of the worst client motivates replacing one global threshold with client-dependent acceptance thresholds.
Table V and Fig. 2(d) compare routing policies on the same CIFAR-100 global test split. Fixed and global resource-aware routing save about of stage depth but lose about 3.4 pp relative to full-depth inference. Robustness-aware routing reaches at average depth 4.05, corresponding to depth saving. Relative to the fixed threshold, it recovers 1.21 pp of accuracy while using 3.35 pp more of the depth budget.
F. Routing-Term and Adversarial Analysis
The fixed policy uses none of the adaptive terms in Eq. (12). The global resource-aware policy activates and depth relaxation, changing clean accuracy by only +0.15 pp and depth saving by +0.35 pp relative to fixed routing. The robustness-aware policy additionally activates ; clean accuracy increases by a further 1.06 pp while depth saving decreases by 3.70 pp. In other words, the extra uncertainty term deliberately defers more ambiguous samples and trades some computation saving for higher accuracy.
Under FGSM, robustness-aware routing exceeds fixed-threshold accuracy by 2.80, 2.70, and 1.99 pp across the three values [Fig. 2(e)]. Under 10-step PGD, the corresponding gains are 2.76, 2.66, and 2.68 pp [Fig. 2(f)]. These are within-run routing comparisons, not evidence of certified robustness;
(a) Client disparity

(b) Communication
(d) Accuracy-cost trade-off

(c) Non-IID severity
(e) FGSM

(f) 10-step PGD

Computation saved (%)

Budget

Budget
Fig. 2. CIFAR-100 analysis: client disparity and communication (a–b), non-IID degradation and clean accuracy–depth trade-off (c–d), and FGSM/PGD routing comparisons (e–f).
the absolute attack accuracy also depends on the attack implementation and model normalization.
V. CONCLUSION
This paper studied local early-exit inference for heterogeneous FL and asked whether decisions should depend on both the client and the current sample. The framework combines a client-specific base threshold from label entropy and shallow-exit confidence with sample confidence, predictive entropy, class margin, and relative exit depth; coverage-aware aggregation averages a parameter only across clients that trained it. The conditional-error analysis shows that deferral helps only when the deeper exit is more accurate on the deferred subset. Across CIFAR-10, CIFAR-100, and ImageNet-1K, this produces a consistent accuracy–depth trade-off: robustness-aware routing reaches 88.70% on CIFAR-10 with 32.0% depth saving; CIFAR-100 full-depth accuracy is 72.28%, 0.48 pp above the strongest matched baseline (ReeFL at 71.80%), while robustness-aware routing reaches 70.01% with 32.55% saving; and ImageNet-1K reaches 73.7% top-1 with 30% saving versus 75.4% at full depth. Under Fast Gradient Sign Method (FGSM) and 10-step Projected Gradient Descent (PGD), robustness-aware routing also stays above fixed-threshold routing in the tested settings. The remaining limitations are matched hardware latency/FLOP evaluation and broader adversarial suites.
ACKNOWLEDGMENT
This work was supported in part by the Estonian Research Council grant PUT PRG1467 “CRASHLESS”, and EU Grant Project 101160182 “TAICHIP”.
REFERENCES
[1] H. B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. Agüera y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in AISTATS, ser. PMLR, vol. 54, 2017, pp. 1273–1282.
[2] M. Taheri and et al., “RI-agent-based early-exit dnn architecture search framework,” in 2025 IEEE 28th International Symposium on Design and Diagnostics of Electronic Circuits and Systems (DDECS). IEEE, 2025, pp. 145–148.
[3] e. a. Shahdadian, “Hasa: Subnet allocation for compute-constrained model-heterogeneous federated learning,” in 2026 IEEE International Conference on Edge Computing and Communications (EDGE), 2026, pp. 64–73.
[4] P. Patne, M. Taheri, and et al., “Dart: Input-difficulty-aware adaptive threshold for early-exit dnns,” arXiv preprint arXiv:2603.12269, 2026.
[5] A. Pradeep and et al., “Fusion: A framework for unified sequential token adaptation in vision transformers,” arXiv preprint arXiv:2607.02612, 2026.
[6] S. Teerapittayanon, B. McDanel, and H. T. Kung, “Branchynet: Fast inference via early exiting from deep neural networks,” in ICPR, 2016, pp. 2464–2469.
[7] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in ICML, ser. PMLR, vol. 70, 2017, pp. 1321–1330.
[8] I. J. Goodfellow, J. Shlens, and C. Szegedy, “Explaining and harnessing adversarial examples,” in ICLR, 2015.
[9] A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu, “Towards deep learning models resistant to adversarial attacks,” in ICLR, 2018.
[10] Y. Geifman and R. El-Yaniv, “Selective classification for deep neural networks,” in NeurIPS, 2017.
[11] C. Corbiere, N. Thome, A. Bar-Hen, M. Cord, and P. Perez, “Addressing failure prediction by learning model confidence,” in NeurIPS, 2019.
[12] E. Diao, J. Ding, and V. Tarokh, “Heterofl: Computation and communication efficient federated learning for heterogeneous clients,” in ICLR, 2021.
[13] M. Kim, S. Yu, S. Kim, and S.-M. Moon, “Depthfl: Depthwise federated learning for heterogeneous clients,” in ICLR, 2023.
[14] F. Ilhan, G. Su, and L. Liu, “Scalefl: Resource-adaptive federated learning with heterogeneous clients,” in CVPR, 2023, pp. 24532–24541.
[15] R. Lee, J. Fernandez-Marques, S. X. Hu, D. Li, S. Laskaridis, L. Dudziak et al., “Recurrent early exits for federated learning with heterogeneous clients,” in ICML, ser. PMLR, vol. 235, 2024, pp. 26568–26588.
[16] Y. Zhang, T. Xia, A. Ghosh, and C. Mascolo, “Uncertainty-aware personalized federated learning for realistic healthcare applications,” in Machine Learning for Health (ML4H), ser. PMLR, vol. 259, 2025, pp. 1067–1086.
[17] J. Y. Byun, H. Lee, J. Shuff, R. Venkatesh, N. S. Shekhawat, K. S. Parikh, and R. Chellappa, “Adaptive inference for medical vision transformers: Token reduction or early exit?” in Medical Imaging with Deep Learning (MIDL), ser. PMLR, vol. 315, 2026, pp. 2171–2191.
[18] N. Carlini and D. Wagner, “Towards evaluating the robustness of neural networks,” in IEEE Symposium on Security and Privacy, 2017, pp. 39–57.
[19] F. Croce and M. Hein, “Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks,” in ICML, ser. PMLR, vol. 119, 2020, pp. 2206–2216.
[20] A. Krizhevsky and G. Hinton, “Learning multiple layers of features from tiny images,” University of Toronto, Tech. Rep., 2009.
[21] 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, pp. 248–255.