Angular Visual Hardness
Beidi Chen
Department of Computer Science, Rice University Collaborators: Weiyang Liu, Animesh Garg, Zhiding Yu, Anshumali Shrivastava, Jan kautz, and Anima Anandkumar
Angular Visual Hardness Beidi Chen Department of Computer Science, - - PowerPoint PPT Presentation
Angular Visual Hardness Beidi Chen Department of Computer Science, Rice University Collaborators: Weiyang Liu, Animesh Garg, Zhiding Yu, Anshumali Shrivastava, Jan kautz, and Anima Anandkumar PART Motivation 0 Motivation Background
Beidi Chen
Department of Computer Science, Rice University Collaborators: Weiyang Liu, Animesh Garg, Zhiding Yu, Anshumali Shrivastava, Jan kautz, and Anima Anandkumar
Applications Discoveries Background Motivation Conclusion
Image Degradation Semantic Ambiguity
Applications Discoveries Background Motivation Conclusion
Nail 0.93 0.2 Oil Filter 0.998 0.2 Easy for Human and Hard for CNNs Hard for Human and Easy for CNNs
C l a s s N a m e Softmax Score H u m a n S e l e c t i
F r e q u e n c y
Golf Ball 0.001 1.0 Radio 0.001 1.0
Agenda
Part 1
Background
Part 2
Discoveries
Part 3 Part 4
Applications Conclusion
Applications Discoveries Background Motivation Conclusion
Human Labeling Interface
Recht et al. “Do ImageNet Classifiers Generalize to ImageNet?” ICML 2019
Applications Discoveries Background Motivation Conclusion
Softmax cross-entropy loss
The angle between feature and classifier The magnitude information Model Confidence
Applications Discoveries Background Motivation Conclusion Given a sample x with label y: where,
1 2 3 4 5 6 7 8 9
Norm ||x|| Angle θ(x,wy) Classifier wy
wi is the classifier for the i-th class.
Theoretical Foundation: Soudry et al. “The Implicit Bias of Gradient Descent on Separable Data” ICLR 2018
Applications Discoveries Background Motivation Conclusion
Raw data Color map of AVH Color map of ||x|| ||x||
Applications Discoveries Background Motivation Conclusion
Applications Discoveries Background Motivation Conclusion
Spearman rank correlations
Applications Discoveries Background Motivation Conclusion
Alexnet VGG19 ResNet50 Alexnet VGG19 Resnet50
AVH hits a plateau very early even when the accuracy or loss is still improving
Applications Discoveries Background Motivation Conclusion
Alexnet VGG19 ResNet50 Alexnet VGG19 Resnet50
AVH is an indicator of model’s generalization ability
Applications Discoveries Background Motivation Conclusion
Alexnet VGG19 Resnet50 Alexnet VGG19 ResNet50
The norm of feature embeddings keeps increasing during training
Applications Discoveries Background Motivation Conclusion
AVH’s correlation with human selection frequency holds across models throughout training
Alexnet VGG19 ResNet50 Alexnet VGG19 Resnet50
Applications Discoveries Background Motivation Conclusion
The norm’s correlation with human selection frequency is not consistent
Alexnet VGG19 ResNet50 Alexnet VGG19 Resnet50
Applications Discoveries Background Motivation Conclusion
different classes while the norm will fluctuate and increase very slowly.
increases rapidly.
classification, the softmax cross-entropy loss can be well minimized by increasing the norm.
correctly classify examples or increase the norms otherwise hurting loss.
Applications Discoveries Background Motivation Conclusion
road sidewalk building wall fence pole traffic lgt traffic sgn vegetation terrain sky person rider car truck bus train motorcycle bike
Zou et al. “Unsupervised domain adaptation for semantic segmentation via class-balanced self-training” ECCV
Applications Discoveries Background Motivation Conclusion
Replace Softmax-based confidence with AVH-based one during sample selection: Similarly, AVH-based pseudo label
Applications Discoveries Background Motivation Conclusion
Applications Discoveries Background Motivation Conclusion
Examples chosen by AVH but not Softmax
Applications Discoveries Background Motivation Conclusion
AVH-based Loss:
Applications Discoveries Background Motivation Conclusion
human selection frequency
ImageNet training
unsupervised domain adaptation and domain generalization
Applications Discoveries Background Motivation Conclusion
Trajectory
Trajectory of an adversarial example switching from one class to another
curriculum learning
Epistemic)
Paper URL Contact: beidi.chen@rice.edu