WO2022252017A1 - Method and apparatus for deep learning - Google Patents
Method and apparatus for deep learning Download PDFInfo
- Publication number
- WO2022252017A1 WO2022252017A1 PCT/CN2021/097267 CN2021097267W WO2022252017A1 WO 2022252017 A1 WO2022252017 A1 WO 2022252017A1 CN 2021097267 W CN2021097267 W CN 2021097267W WO 2022252017 A1 WO2022252017 A1 WO 2022252017A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- samples
- adversarially
- deep learning
- labels
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/094—Adversarial learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
Definitions
- aspects of the present disclosure relate generally to artificial intelligence or machine learning, and more particularly, to a method and an apparatus for deep learning.
- DNNs Deep neural networks
- DNNs Deep neural networks
- DNNs are highly expressive models that have recently achieved state of the art performance on speech and visual recognition tasks.
- adversarial examples adversarially perturbed examples that cause mis-classification while being nearly “imperceptible” , i.e., close to the original example.
- adversarially training has proven to be among the most effective defense techniques, in which the network is trained on the adversarially augmented samples instead of on the natural or original ones.
- a method for deep learning comprising: receiving, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples; adversarially augmenting, by the deep learning model, the plurality of samples based on a threat model; and assigning, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- apparatus for deep learning comprises a memory; and at least one processor coupled to the memory.
- the at least one processor is configured to receive, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples; adversarially augment, by the deep learning model, the plurality of samples based on a threat model; and assign, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- a computer program product for deep learning comprises processor executable computer code for receiving, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples; adversarially augmenting, by the deep learning model, the plurality of samples based on a threat model; and assigning, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- a computer readable medium stores computer code for deep learning.
- the computer code when executed by a processor causes the processor to receive, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples; adversarially augment, by the deep learning model, the plurality of samples based on a threat model; and assign, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- the presented method may leverage all training samples to suffice the need of sample complexity for adversarially training and hinder deep learning models from excessive memorization of one-hot labels in adversarially training.
- FIG. 1 shows an example of robust overfitting.
- FIG. 2 illustrates an example flow diagram of method according to one or more aspects of the present disclosure.
- FIG. 3 shows a conceptual illustration of decision boundaries.
- FIG. 4A and FIG. 4B show the natural and robust training accuracies of PGD-AT and TRADES, respectively, when trained on true or random labels, with explicit regularizations turned off.
- FIG. 4C shows the generalization gap under varying levels of label noise from 0% (true labels) to 100% (completely random labels) .
- FIG. 5 illustrates an example of a hardware implementation for an apparatus according to one or more aspects of the present disclosure.
- FIG. 1 shows an example of robust overfitting, where four accuracy curves of TRADES (TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization) on CIFAR-10 illustrate a standard generalization gap between natural training accuracy and natural test accuracy, and a robust generalization gap between robust training accuracy and robust test accuracy respectively.
- TRADES TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization
- the present disclosure proposes a method for mitigating robust overfitting.
- the present disclosure identifies that the cause of robust overfitting of adversarially training may lie in memorization of one-hot labels.
- Some samples may naturally lie close to a decision boundary (e.g., may be referred to as “hard” samples hereafter) , and should be assigned a low prediction confidence for the corresponding worst-case adversarially augmented samples relative to the samples that are located relatively far from the decision boundary (e.g., may be referred to as “easy” samples hereafter) . Because it may be difficult for a network to assign one-hot labels for all perturbed samples within a perturbation budget, and labels can be inappropriate for some adversarially augmented samples that lie close to the decision boundary.
- the true labels of some training samples may be noisy for adversarially training.
- the true one-hot labels of some training samples may become wrong labels when being attacked by augmenting some perturbations, particularly for the “hard” samples.
- a deep learning model may start to memorize these “hard” training samples with noisy labels, leading to a degeneration of test robustness.
- the presented method for mitigating robust overfitting proposes to fit relatively “easy” samples with one-hot labels and assign a low predictive confidence for “hard” samples in adversarially training.
- the presented method may leverage all training samples to suffice the need of sample complexity for adversarially training and hinder deep learning models from excessive memorization of one-hot labels in adversarially training.
- FIG. 2 illustrates an example flow diagram of method 200 according to one or more aspects of the present disclosure.
- Method 200 may be performed by a deep learning model.
- a plurality of samples and a plurality of labels corresponding to the plurality of samples may be received by the deep learning model.
- the plurality of samples and the plurality of labels corresponding to the plurality of samples may comprise a training dataset.
- the plurality of samples may be adversarially augmented by the deep learning model based on a threat model.
- the deep learning model may comprise an adversarial defense method or model in deep learning under black-box attacks or white-box attacks.
- a low predictive confidence may be assigned by the deep learning model to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- “hard” samples may be assigned a low predictive confidence than “easy” samples.
- the plurality of labels may comprise one-hot labels.
- the deep learning model may comprise one or more of projected gradient descent adversarial training (PGD-AT) , or TRADES.
- the threat model may comprise one or more of l 2 -norm threat model, or l ⁇ -norm threat model.
- FIG. 3 shows a conceptual illustration of decision boundaries.
- the present disclosure proposes to consider models trained on random labels, in addition to true labels as usual. It is shown in FIG. 3 decision boundaries learned via standard training and adversarially training with true and random labels, respectively. As shown in FIG. 3, there may be a significantly more complicated decision boundary when training samples with random labels.
- FIG. 4A, FIG. 4B, and FIG. 4C illustrate adversarially training with random labels on CIFAR-10.
- FIG. 4A and FIG. 4B show the natural and robust training accuracies of PGD-AT and TRADES, respectively, when trained on true or random labels, with explicit regularizations turned off. For both methods, the network achieves almost 100%natural and robust training accuracies when trained on true labels.
- the labels are random, totally different behaviors are observed between PGD-AT and TRADES -PGD-AT fails to converge while TRADES still reaches nearly 100%training accuracies.
- FIG. 4C shows the generalization gap under varying levels of label noise from 0% (true labels) to 100% (completely random labels) .
- PGD-AT fails to converge and TRADES can converge under this circumstance.
- the latter may demonstrate that deep learning networks may have sufficient capacity to memorize adversarial samples of training dataset with completely random labels.
- the convergence issue of PGD-AT when trained on random labels may result from the intrinsic algorithm, i.e., adversarial loss function of PGD-AT.
- PGD-AT formulates adversarial training as the following robust optimization problem:
- f ⁇ may be a DNN classifier with parameters ⁇ that predicts probabilities over all classes
- TRADES formulates adversarially training by minimizing a different adversarial loss:
- classification loss e.g., the cross-entropy loss
- ⁇ is a balancing hyperparameter
- TRADES in Eq. (2) may minimize a clean cross-entropy loss on natural samples, which may make DNNs memorize natural samples with random labels at first, before fitting adversarial samples. It can be seen from FIG. 4B that at the very early stage of TRADES training (e.g., the first 25 epochs) , the natural accuracy starts to increase while the robust accuracy does not. But differently, PGD-AT in Eq. (1) directly minimizes the cross-entropy loss on adversarial samples with random labels, which could introduce unstable gradients with large variance, making it fail to converge.
- the cross-entropy loss on natural samples may be added into the PGD-AT objective (e.g., Eq. (1) ) to resemble the learning of TRADES with random labels, which may be written as:
- the training on random labels can successfully converge.
- the improvement from Eq. (1) (failing to converge) to Eq. (3) (able to converge) may indicate that it may be beneficial to fit relatively “easy” samples with one-hot labels and assign a low predictive confidence for “hard” samples in adversarially training.
- the corresponding adversarially augmented samples may become closer to or even cross the decision boundary due to the attacking, which may result in noisy labels.
- the present disclosure identifies that several typical methods training models on the identified clean samples may be not suitable for adversarially training. Because these methods will neglect a portion of training data with noisy labels, which can lead to inferior results for adversarially training due to the reduction of sample complexity.
- the present disclosure proposes to regularize the predictions of adversarial samples from being over-confident by integrating the temporal ensembling (TE) approach into the adversarial training frameworks. TE maintains an ensemble prediction of each data and penalizes the difference between the current prediction and the ensemble prediction.
- TE temporal ensembling
- the present disclosure identifies that TE is suitable for adversarially training since it enables to leverage all training samples and hinders the network from excessive memorization of one-hot labels with a regularization term.
- the training objective of PGD-AT may be rewritten as:
- TE may be similarly integrated with TRADES with the same regularization term.
- regularization term the deep learning model would learn to fit relatively “easy” samples with one-hot labels and assign low confidence for “hard” samples at initial. After the learning rate decays, the regularization term may avoid fitting one-hot labels for the “hard” samples. Therefore, the proposed algorithm may enable to learn under label noise in adversarially training and alleviate the robust overfitting problem.
- FIG. 5 illustrates an example of a hardware implementation for an apparatus 500 according to one or more aspects of the present disclosure.
- the apparatus 500 for deep learning may comprise a memory 510 and at least one processor 520.
- the processor 52 0 may be coupled to the memory 510 and configured to perform the method 200 described above with reference to FIG. 2 and one or more aspects of the present disclosure.
- the processor 520 may be a general-purpose processor, or may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
- the memory 510 may store the input data, output data, data generated by processor 520, and/or instructions executed by processor 520.
- a computer program product for deep learning may comprise processor executable computer code for performing the method 200 described above with reference to FIG. 2 and one or more aspects of the present disclosure.
- a computer readable medium may store computer code for deep learning, the computer code when executed by a processor may cause the processor to perform the method 200 described above with reference to FIG. 2 and one or more aspects of the present disclosure.
- Computer-readable media includes both non-transitory computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Any connection may be properly termed as a computer-readable medium. Other embodiments and implementations are within the scope of the disclosure.
- the method described in the present disclosure may be implemented by software, hardware, firmware, or any combination thereof, and may provide a machine learning model that is configured to perform one or more particular machine learning tasks.
- the machine learning tasks may include speech and visual recognition tasks.
- the machine learning tasks may be an agent control task carried out in a control system for automatic driving, a control system for an industrial facility, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
Claims (11)
- A method for deep learning, comprising:receiving, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples;adversarially augmenting, by the deep learning model, the plurality of samples based on a threat model; andassigning, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- The method of claim 1, wherein the plurality of labels comprising one-hot labels.
- The method of claim 2, wherein the one or more adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model are located closely to a decision boundary.
- The method of claim 1, wherein the assigning the low predictive confidence to the one or more adversarially augmented samples having noisy labels is performed by regularizing predictions of the plurality of adversarially augmented samples via temporal ensembling (TE) .
- The method of claim 4, wherein the deep learning model comprising one or more of projected gradient descent adversarial training (PGD-AT) , or TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization (TRADES) .
- An apparatus for deep learning, comprising:a memory; andat least one processor coupled to the memory and configured to perform the method of one of claims 1-6.
- A computer program product for deep learning, comprising: processor executable computer code for performing the method of one of claims 1-6.
- A computer readable medium, storing computer code for deep learning, the computer code when executed by a processor, causing the processor to perform the method of one of claims 1-6.
- A method for visual recognition, comprising:receiving, by a deep learning model, a plurality of samples and a plurality of labels corresponding to the plurality of samples, wherein the deep learning model is configured to perform a visual recognition task and the plurality of samples comprising a plurality of images;adversarially augmenting, by the deep learning model, the plurality of samples based on a threat model; andassigning, by the deep learning model, a low predictive confidence to one or more adversarially augmented samples of the plurality of adversarially augmented samples having noisy labels due to the adversarially augmenting based on the threat model.
- The method of claim 10, wherein the plurality of samples and the plurality of labels corresponding to the plurality of samples comprising one or more of CIFAR-10 training dataset, or MNIST training dataset.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US18/565,510 US20240256889A1 (en) | 2021-05-31 | 2021-05-31 | Method and apparatus for deep learning |
| CN202180098740.1A CN117441173A (en) | 2021-05-31 | 2021-05-31 | Methods and apparatus for deep learning |
| DE112021007308.7T DE112021007308T5 (en) | 2021-05-31 | 2021-05-31 | METHOD AND APPARATUS FOR DEEP LEARNING |
| PCT/CN2021/097267 WO2022252017A1 (en) | 2021-05-31 | 2021-05-31 | Method and apparatus for deep learning |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2021/097267 WO2022252017A1 (en) | 2021-05-31 | 2021-05-31 | Method and apparatus for deep learning |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022252017A1 true WO2022252017A1 (en) | 2022-12-08 |
Family
ID=76444194
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/097267 Ceased WO2022252017A1 (en) | 2021-05-31 | 2021-05-31 | Method and apparatus for deep learning |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20240256889A1 (en) |
| CN (1) | CN117441173A (en) |
| DE (1) | DE112021007308T5 (en) |
| WO (1) | WO2022252017A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12189662B1 (en) * | 2023-11-21 | 2025-01-07 | Jpmorgan Chase Bank, N.A. | Systems and methods for fairness-aware data distillation for attribute classification |
| CN118849286B (en) * | 2024-09-24 | 2025-02-28 | 青岛海益塑业有限责任公司 | A method, medium and system for determining drying parameters in the production process of HIPS boards |
| CN120071936B (en) * | 2025-04-25 | 2025-07-11 | 浪潮智慧供应链科技(山东)有限公司 | Intelligent shopping guide voice recognition method and system based on transfer learning |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200372301A1 (en) * | 2019-05-21 | 2020-11-26 | Retrace Labs | Adversarial Defense Platform For Automated Dental Image Classification |
| CN110995652B (en) * | 2019-11-04 | 2021-11-12 | 中国电子科技网络信息安全有限公司 | Big data platform unknown threat detection method based on deep migration learning |
-
2021
- 2021-05-31 DE DE112021007308.7T patent/DE112021007308T5/en active Pending
- 2021-05-31 US US18/565,510 patent/US20240256889A1/en active Pending
- 2021-05-31 WO PCT/CN2021/097267 patent/WO2022252017A1/en not_active Ceased
- 2021-05-31 CN CN202180098740.1A patent/CN117441173A/en active Pending
Non-Patent Citations (3)
| Title |
|---|
| BO HAN ET AL: "A Survey of Label-noise Representation Learning: Past, Present and Future", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 9 November 2020 (2020-11-09), XP081809994 * |
| LESLIE RICE ET AL: "Overfitting in adversarially robust deep learning", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 26 February 2020 (2020-02-26), XP081608597 * |
| TAHERI SHAYAN ET AL: "RazorNet: Adversarial Training and Noise Training on a Deep Neural Network Fooled by a Shallow Neural Network", BIG DATA AND COGNITIVE COMPUTING, vol. 3, no. 3, 1 September 2019 (2019-09-01), pages 43, XP055776488, DOI: 10.3390/bdcc3030043 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117441173A (en) | 2024-01-23 |
| US20240256889A1 (en) | 2024-08-01 |
| DE112021007308T5 (en) | 2024-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12619874B2 (en) | Stochastic gradient boosting for deep neural networks | |
| Sagawa et al. | Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization | |
| Dong et al. | Exploring memorization in adversarial training | |
| Yao et al. | Deep discriminative CNN with temporal ensembling for ambiguously-labeled image classification | |
| Dieng et al. | Prescribed generative adversarial networks | |
| Warde-Farley et al. | 11 adversarial perturbations of deep neural networks | |
| Sprechmann et al. | Memory-based parameter adaptation | |
| Blundell et al. | Weight uncertainty in neural network | |
| CN109271958B (en) | Face age identification method and device | |
| WO2023019456A1 (en) | Method and apparatus for evaluation of adversarial robustness | |
| US20240256889A1 (en) | Method and apparatus for deep learning | |
| Zhao et al. | Adversarial training: A survey | |
| US20190122081A1 (en) | Confident deep learning ensemble method and apparatus based on specialization | |
| Wang et al. | Posterior collapse of a linear latent variable model | |
| Nguyen | Sequencematch: Revisiting the design of weak-strong augmentations for semi-supervised learning | |
| US12585945B2 (en) | Parameter optimization method, electronic device, and storage medium | |
| WO2023067782A1 (en) | Machine learning program, machine learning method, and information processing device | |
| Zhang et al. | Toward unified data and algorithm fairness via adversarial data augmentation and adaptive model fine-tuning | |
| Bansal et al. | Metabalance: High-performance neural networks for class-imbalanced data | |
| Cao et al. | Exploring test-time adaptation for object detection in continually changing environments | |
| US20250307654A1 (en) | Training multi-task neural network while minimizing catastrophic forgetting | |
| Sirbu et al. | MultiMatch: Multihead Consistency Regularization Matching for Semi-Supervised Text Classification | |
| Shen et al. | Continual domain adversarial adaptation via double-head discriminators | |
| Wang et al. | Towards the Mitigation of Confirmation Bias in Semi-supervised Learning: a Debiased Training Perspective | |
| Lee | Bayesian weight enhancement with steady-state adaptation for test-time adaptation in dynamic environments |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21732179 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 112021007308 Country of ref document: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202180098740.1 Country of ref document: CN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18565510 Country of ref document: US |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21732179 Country of ref document: EP Kind code of ref document: A1 |




