Jindong Wang, Xing Xie, Ge Yang, Xixu Hu, Kaijie Zhu
We lifted 6 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| Immortalise/RiFT | canonical | 4 of 6 |
| Function | Status | Where it lives |
|---|---|---|
| DenseNet121 | Ran | Immortalise/RiFT/models/densenet.py pointer only (licence: NONE) · get_code("5b545f16f72c1645") |
| DenseNet50 | Ran | Immortalise/RiFT/models/densenet.py pointer only (licence: NONE) · get_code("05fe49b9f6cb6b38") |
| drop_connect | Ran | Immortalise/RiFT/models/efficientnet.py pointer only (licence: NONE) · get_code("4304a326c593f8db") |
| swish | Ran | Immortalise/RiFT/models/efficientnet.py pointer only (licence: NONE) · get_code("8737c82de631cffc") |
| create_dataloader | Not yet run | Immortalise/RiFT/dataloader.py pointer only (licence: NONE) · get_code("c7da9a5b14f0e084") |
| create_model | Not yet run | Immortalise/RiFT/model.py pointer only (licence: NONE) · get_code("638459c6b58120a9") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Deep neural networks are susceptible to adversarial examples, posing a significant security risk in critical applications. Adversarial Training (AT) is a well-established technique to enhance adversarial robustness, but it often comes at the cost of decreased generalization ability. This paper proposes Robustness Critical Fine-Tuning (RiFT), a novel approach to enhance generalization without compromising adversarial robustness. The core idea of RiFT is to exploit the redundant capacity for robustness by fine-tuning the adversarially trained model on its non-robust-critical module. To do so, we introduce module robust criticality (MRC), a measure that evaluates the significance of a given module to model robustness under worst-case weight perturbations. Using this measure, we identify the module with the lowest MRC value as the non-robust-critical module and fine-tune its weights to obtain fine-tuned weights. Subsequently, we linearly interpolate between the adversarially trained weights and fine-tuned weights to derive the optimal fine-tuned model weights. We demonstrate the efficacy of RiFT on ResNet18, ResNet34, and WideResNet34-10 models trained on CIFAR10, CIFAR100, and Tiny-ImageNet datasets. Our experiments show that RiFT can significantly improve both generalization and out-of-distribution robustness by around 1.5% while maintaining or even slightly enhancing adversarial robustness. Code is available at https://github.com/Immortalise/RiFT.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2308.02533")
get_code_for_paper("2308.02533")
have("2308.02533")
Connect an agent — have() is free.