# Identifying and Understanding Cross-Class Features in Adversarial Training

적대적 학습에서 클래스 간 특징의 식별과 이해

Zeming Wei, Yiwen Guo, Yisen Wang · arXiv · 2025년 6월 5일

- **연구 문제** 적대적 학습에서 테스트 강건 정확도가 후반에 떨어지는 강건 과적합이 나타나며, 이 현상의 내부 메커니즘은 충분히 설명되지 않았습니다.
- **연구 방법** 클래스별 특징 귀속 상관행렬과 CAS를 이용해 교차 클래스 특징 사용량을 측정하고, 합성 데이터 모델로 강건 손실 최적화의 이론적 조건을 분석합니다.
- **주요 결과** CIFAR-10 실험에서 최적 강건 체크포인트는 마지막 체크포인트보다 높은 CAS를 보였고, 지식 증류는 두 체크포인트의 CAS 차이를 줄였습니다.

## 적대적 학습의 강건 과적합 문제

적대적 학습(AT)은 공격 예제를 학습 루프에 적응적으로 더해 신경망의 적대적 강건성을 높이는 방법입니다. 그러나 AT에서는 학습이 진행될 때 테스트 강건 오차가 특정 에폭 이후 다시 증가하는 강건 과적합이 나타나며, 이 동안 학습 강건 오차는 계속 감소하여 강건 일반화 격차가 커집니다. 본 논문은 이 현상의 내부 메커니즘을 클래스별 특징 귀속의 관점에서 살펴봅니다.

## 교차 클래스 특징과 CAS 측정

본 논문은 여러 클래스가 공유하는 특징을 교차 클래스 특징이라고 부르고, 하나의 클래스에만 속하는 특징을 클래스 고유 특징으로 구분합니다. 사용량은 클래스별 평균 특징 귀속 벡터 사이의 코사인 유사도로 구성한 상관행렬 C로 측정합니다. 이어서 C의 대각 외 원소 중 양의 값만 합산한 Class Attribution Similarity(CAS)를 정의하며, 이 지표는 교차 클래스 특징 사용의 정도를 수치로 요약합니다. 음의 원소는 작다고 보고되어 CAS 계산에서 0으로 잘라냅니다.

## AT 체크포인트별 교차 클래스 특징 사용량

PreActResNet-18을 CIFAR-10에서 200 에폭 동안 학습한 실험에서 최적 강건 체크포인트는 108 에폭이었습니다. 이 체크포인트의 테스트 강건 정확도는 47.8%이고 CAS는 25.6이며, 200 에폭의 마지막 체크포인트는 강건 정확도 42.5%와 CAS 9.0입니다. 본 논문은 이 차이를 학습 후반에 교차 클래스 특징 사용이 줄어드는 근거로 제시합니다. 다만 이 수치는 해당 모델과 데이터셋의 설정에서 얻은 것입니다.

![Figure 10: Feature attribution correlation matrices, and their corresponding robust accuracy (RA), CAS at different epochs](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da/figures/figure-90e96e9cc12e708414b46e5ed3a3c0ac.png?thumb=512)

**Figure 10** . Feature attribution correlation matrices, and their corresponding robust accuracy (RA), CAS at different epochs.

[원문](https://arxiv.org/abs/2506.05032v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeming Wei, Yiwen Guo, Yisen Wang · Identifying and Understanding Cross-Class Features in Adversarial Training · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 학습 단계별 가설과 강건 과적합의 연결

본 논문은 AT의 초기 단계에서 모델이 클래스 고유 특징과 교차 클래스 특징을 함께 학습한다고 제안합니다. 강건 손실이 충분히 줄어든 뒤에는 교차 클래스 특징이 다른 클래스의 로짓을 높여 양의 강건 손실을 남기기 때문에, 모델은 이 특징을 줄이고 클래스 고유 특징에 더 의존하게 됩니다. 저자들은 이 과정이 학습 강건 오차를 낮추지만 테스트 강건 정확도를 떨어뜨린다고 해석합니다.

## 지식 증류와 부드러운 라벨의 효과

지식 증류를 AT에 결합하면 최적 체크포인트의 테스트 강건 정확도는 48.1%이고 CAS는 25.7로 보고됩니다. 마지막 체크포인트는 강건 정확도 46.2%와 CAS 24.1을 보이며, 두 체크포인트의 CAS 차이는 작습니다. 저자들은 이 결과가 부드러운 라벨이 교차 클래스 특징을 보존하여 강건 과적합을 완화한다는 해석과 맞는다고 봅니다. 증류 설정의 세부 조건은 해당 실험의 조건을 따릅니다.

## 섭동 한계와 CAS 차이

ϵ을 2/255, 4/255, 6/255, 8/255로 바꾸어 최적 체크포인트와 마지막 체크포인트의 CAS 차이를 비교한 결과, ϵ이 커질수록 차이가 커집니다. ϵ=2/255의 ΔCAS는 4.1이고 ϵ=8/255의 ΔCAS는 16.6입니다. 이는 큰 섭동 한계에서 교차 클래스 특징이 더 많이 사라진다는 해석을 뒷받침하며, 이 비교는 CIFAR-10의 PreActResNet-18 설정에서 이루어졌습니다.

![Figure 4: The differences between the feature attribution corre- lation matrices ( Cbest − Clast) and CAS of the best and the last checkpoint with various trai…](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da/figures/figure-73a3d7bbb35f81846eb16b945c723bab.png?thumb=512)

**Figure 4** . The differences between the feature attribution corre- lation matrices ( Cbest − Clast) and CAS of the best and the last checkpoint with various training perturbation bound ϵ.

[원문](https://arxiv.org/abs/2506.05032v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeming Wei, Yiwen Guo, Yisen Wang · Identifying and Understanding Cross-Class Features in Adversarial Training · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 합성 데이터 모델의 이론 분석

이론 분석은 3클래스 6차원 합성 데이터에서 클래스 고유 특징 xE와 교차 클래스 특징 xC를 분리하여 선형 모델 f\_w를 둡니다. 가중치 w1은 클래스 고유 특징, w2는 교차 클래스 특징에 대응합니다. 정리 1은 ℓ∞ 섭동 한계 ϵ이 임계값 ϵ0 이상일 때 w2=0이 되는 경향을 보이며, 모든 ϵ∈(0, µ/2)에서 w1\>0이 된다고 주장합니다. 이는 합성 모델 내부의 결과이며 실제 데이터 전체에 대한 증명이 아닙니다.

## 레이블 스무딩과 교차 클래스 특징 보존

정리 2는 w1\>0, w2∈\[0, w1\], ϵ∈(0, µ/2)일 때 w2가 커질수록 올바른 클래스의 로짓이 다른 클래스보다 높을 확률이 단조 증가한다고 주장합니다. 레이블 스무딩 손실을 사용하는 정리 3과 따름정리 1은 ϵ∈(0, ϵ1) 범위에서 레이블 스무딩 손실의 w2가 AT의 w2보다 크다고 주장합니다. 차이는 β(2ϵ+σ/√π)/λ로 제시되며, 이 결과는 합성 데이터와 이 논문의 가정 아래에서만 성립합니다.

## 빠른 적대적 학습과 표준 학습의 비교

빠른 적대적 학습(FAT)에서는 에폭 10, 최적 체크포인트, 파국적 과적합 이후의 세 시점을 비교합니다. 파국적 과적합 이후 CAS는 2.1로 떨어지고 테스트 강건 정확도는 0.1%로 줄어듭니다. 표준 학습에서는 에폭 50, 100, 150, 200의 CAS가 7.3에서 10.2 사이로 보고되며, 저자들은 이 값이 AT에서 보통 20을 넘는 값보다 낮다고 해석합니다.

![Figure 7: Feature attribution correlation matrices for fast adver- sarial training at different stages, including epoch 10, best check- point, and after catast…](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da/figures/figure-c26c359e5658d18078fed04f8a2b2145.png?thumb=512)

**Figure 7** . Feature attribution correlation matrices for fast adver- sarial training at different stages, including epoch 10, best check- point, and after catastrophic overfitting (CO).

[원문](https://arxiv.org/abs/2506.05032v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeming Wei, Yiwen Guo, Yisen Wang · Identifying and Understanding Cross-Class Features in Adversarial Training · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 9: Feature attribution correlation matrices for standard training at different stages. Color bar scaled to \[0, 0.5\]](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da/figures/figure-3884989b75028d826d85b5f48053a5b4.png?thumb=512)

**Figure 9** . Feature attribution correlation matrices for standard training at different stages. Color bar scaled to \[0, 0.5\].

[원문](https://arxiv.org/abs/2506.05032v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zeming Wei, Yiwen Guo, Yisen Wang · Identifying and Understanding Cross-Class Features in Adversarial Training · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 측정 한계

본 논문의 주 지표 CAS는 상관행렬에서 계산되며, 교차 클래스 특징 사용을 직접 관측한 값이 아닙니다. 주요 실험은 CIFAR-10의 PreActResNet-18 중심이며, CIFAR-100과 Tiny-ImageNet, ℓ2 AT, DeiT-Ti 결과는 추가 설정으로 제시됩니다. 이 결과들을 모든 모델과 데이터셋의 공통 성질로 확대하지 않아야 합니다.

## 논문 정보

- **저자**: Zeming Wei, Yiwen Guo, Yisen Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 6월 5일
- **등록일**: 2026년 10월 29일
- **수정일**: 2025년 6월 5일
- **버전**: v1
- **arXiv**: 2506.05032
- **분류**: cs.LG · cs.AI · cs.CR · cs.CV · math.OC
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2506.05032v1) · [원문 PDF ↗](https://arxiv.org/pdf/2506.05032v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Adversarial training (AT) has been considered one of the most effective methods for making deep neural networks robust against adversarial attacks, while the training mechanisms and dynamics of AT remain open research problems. In this paper, we present a novel perspective on studying AT through the lens of class-wise feature attribution. Specifically, we identify the impact of a key family of features on AT that are shared by multiple classes, which we call cross-class features. These features are typically useful for robust classification, which we offer theoretical evidence to illustrate through a synthetic data model. Through systematic studies across multiple model architectures and settings, we find that during the initial stage of AT, the model tends to learn more cross-class features until the best robustness checkpoint. As AT further squeezes the training robust loss and causes robust overfitting, the model tends to make decisions based on more class-specific features. Based on these discoveries, we further provide a unified view of two existing properties of AT, including the advantage of soft-label training and robust overfitting. Overall, these insights refine the current understanding of AT mechanisms and provide new perspectives on studying them. Our code is available at https://github.com/PKU-ML/Cross-Class-Features-AT.

## 원문 인용

Zeming Wei, Yiwen Guo, Yisen Wang (2025). Identifying and Understanding Cross-Class Features in Adversarial Training. arXiv:2506.05032v1. https://arxiv.org/abs/2506.05032v1

**BibTeX**

```
@misc{wei2025identifying,
  title = {{Identifying and Understanding Cross-Class Features in Adversarial Training}},
  author = {Zeming Wei and Yiwen Guo and Yisen Wang},
  year = {2025},
  eprint = {2506.05032},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.05032v1}
}
```

## 이 논문의 용어

- [CIFAR-10](https://refivu.com/terms/19035a518d0a-cifar-10)
- [CIFAR-100](https://refivu.com/terms/5afa3b877d18-cifar-100)
- [cross-entropy loss](https://refivu.com/terms/14067bdf8b9f-cross-entropy-loss)
- [Knowledge Distillation](https://refivu.com/terms/b8544f4ba83e-knowledge-distillation)
- [Theorem 1](https://refivu.com/terms/bef18c102f5e-theorem-1)
- [adversarial training](https://refivu.com/terms/79bc85d56747-adversarial-training)
- [Grad-CAM](https://refivu.com/terms/5779295a49fe-grad-cam)
- [Label Smoothing](https://refivu.com/terms/92ff7104c813-label-smoothing)
- [projected gradient descent](https://refivu.com/terms/2ec4a00aca90-projected-gradient-descent)
- [Theorem 2](https://refivu.com/terms/a4a23fdcc527-theorem-2)
- [Corollary 1](https://refivu.com/terms/1f6a2f98a6b9-corollary-1)
- [TinyImageNet](https://refivu.com/terms/47de9d7c9fc9-tinyimagenet)
- [Robust accuracy](https://refivu.com/terms/f6cb8affc4ae-robust-accuracy)
- [Theorem 3](https://refivu.com/terms/38125cd54ce2-theorem-3)
- [min-max optimization](https://refivu.com/terms/5998dba84809-min-max-optimization)

## 다른 논문 해설

- [One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy](https://refivu.com/papers/067d9910-8121-40b8-86fb-4572b95a59f7-one-stone-two-birds-enhancing-adversarial-defense-through.md)
- [Hessian Geometry of Latent Space in Generative Models](https://refivu.com/papers/35574ec0-80c1-4478-a646-c77467226e26-hessian-geometry-of-latent-space-in-generative-models.md)
- [Improving Consistency Models with Generator-Augmented Flows](https://refivu.com/papers/805b43bc-e24b-4a82-9b1d-0b75f3b5e976-improving-consistency-models-with-generator-augmented-flows.md)
- [Posterior Inference with Diffusion Models for High-dimensional Black-box Optimization](https://refivu.com/papers/df54b967-35f0-4217-af0f-4c91e3fffee5-posterior-inference-with-diffusion-models-for-high.md)
- [Open Materials Generation with Stochastic Interpolants](https://refivu.com/papers/8d5533d2-d4cb-4d87-9bf6-440cd9d3d4d7-open-materials-generation-with-stochastic-interpolants.md)
- [GenMol: A Drug Discovery Generalist with Discrete Diffusion](https://refivu.com/papers/9dd1a77c-1134-4a20-acbe-b4b60c051aff-genmol-a-drug-discovery-generalist-with-discrete-diffusion.md)
- [Rethinking the Stability-Plasticity Trade-off in Continual Learning from an Architectural Perspective](https://refivu.com/papers/547d339a-d97b-4e14-b620-552b1f780b6c-rethinking-the-stability-plasticity-trade-off-in-continual.md)
- [Synthetic Text Generation for Training Large Language Models via Gradient Matching](https://refivu.com/papers/b6757928-0197-43d5-ae80-3e6266afab0d-synthetic-text-generation-for-training-large-language-models.md)
- [Maximum Entropy Reinforcement Learning with Diffusion Policy](https://refivu.com/papers/c4c1075b-26b0-4286-bbee-08f96db5f463-maximum-entropy-reinforcement-learning-with-diffusion-policy.md)
- [Training Deep Learning Models with Norm-Constrained LMOs](https://refivu.com/papers/fd3f2faf-79d3-4ee1-a9ba-77cd79cb64f7-training-deep-learning-models-with-norm-constrained-lmos.md)
- [RoSTE: An Efficient Quantization-Aware Supervised Fine-Tuning Approach for Large Language Models](https://refivu.com/papers/ba46131f-9772-495c-a21b-6ed880b033f9-roste-an-efficient-quantization-aware-supervised-fine-tuning.md)
- [ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysis](https://refivu.com/papers/dc3cd5d7-b487-4962-a8e9-b14b39f6b02c-proofaug-efficient-neural-theorem-proving-via-fine-grained.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/a920aac5-0b22-4cc2-a5ad-784568bde4da-identifying-and-understanding-cross-class-features-in)
