Proceedings

Robustness to Spurious Correlations via Dynamic Knowledge Transfer

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7182-7190.

https://doi.org/10.24963/ijcai.2025/799

Abstract

Spurious correlations pose a significant challenge to the robustness of statistical models, often resulting in unsatisfactory performance when distributional shifts occur between training and testing data. To address this, we propose to transfer knowledge across spuriously correlated categories within the deep feature space. Specifically, samples' deep features are enriched using semantic vectors extracted from both their respective category distributions and those of their spuriously correlated counterparts, enabling the generation of diverse class-specific factual and counterfactual augmented deep features. We then demonstrate the feasibility of optimizing a surrogate robust loss instead of conducting explicit augmentations by considering an infinite number of augmentations. As spurious correlations between samples and classes evolve during training, we develop a reinforcement learning-based training framework called Dynamic Knowledge Transfer (DKT) to facilitate dynamic adjustments in the direction and intensity of knowledge transfer. Within this framework, a target network is trained using the derived robust loss to enhance robustness, while a strategy network generates sample-wise augmentation strategies in a dynamic and automatic way. Extensive experiments validate the effectiveness of the DKT framework in mitigating spurious correlations, achieving state-of-the-art performance across three typical learning scenarios susceptible to such correlations.

  1. [Ahuja et al., 2021] Kartik Ahuja, Ethan Caballero, Dinghuai Zhang, et al. Invariance principle meets information bottleneck for out-of-distribution generaliza- tion. In NeurIPS, pages 3438-3450, 2021.
  2. [Arjovsky et al., 2019] Martin Arjovsky, Léon Bottou, Ishaan Gulrajani, and David Lopez-Paz. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019.
  3. [Bandi et al., 2018] Peter Bandi, Oscar Geessink, Quirine Manson, et al. From detection of individual metastases to classification of lymph node status at the patient level: the camelyon17 challenge. IEEE Transactions on Medical Imaging, 38(2):550-560, 2018.
  4. [Borkan et al., 2019] Daniel Borkan, Lucas Dixon, Jeffrey Sorensen, Nithum Thain, and Lucy Vasserman. Nuanced metrics for measuring unintended bias with real data for text classification. In WWW, pages 491-500, 2019.
  5. [Cao et al., 2019] Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Arechiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In NeurIPS, pages 1567-1578, 2019.
  6. [Chew et al., 2024] Oscar Chew, Hsuan-Tien Lin, Kai-Wei Chang, et al. Understanding and mitigating spurious cor- relations in text classification with neighborhood analysis. In ACL Findings, pages 1013-1025, 2024.
  7. [Christie et al., 2018] Gordon Christie, Neil Fendley, James Wilson, and Ryan Mukherjee. Functional map of the world. In CVPR, pages 6172-6180, 2018.
  8. [Cubuk et al., 2020] Ekin D. Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V. Le. Randaugment: Practical auto- mated data augmentation with a reduced search space. In CVPR Workshops, pages 3008-3017, 2020.
  9. [Deng et al., 2023] Xun Deng, Wenjie Wang, Fuli Feng, Hanwang Zhang, Xiangnan He, and Yong Liao. Counter- factual active learning for out-of-distribution generaliza- tion. In ACL, pages 11362-11377, 2023.
  10. [Deng et al., 2024] Yihe Deng, Yu Yang, Baharan Mirza- soleiman, and Quanquan Gu. Robust learning with pro- gressive data expansion against spurious correlation. In NeurIPS, pages 1390-1402, 2024.
  11. [Gupta et al., 2022] Umang Gupta, Jwala Dhamala, Varun Kumar, et al. Mitigating gender bias in distilled language models via counterfactual role reversal. In ACL, page 658-678, 2022.
  12. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recog- nition. In CVPR, pages 770-778, 2016.
  13. [Koh et al., 2021] Pang Wei Koh, Shiori Sagawa, Hen- rik Marklund, Sang Michael Xie, Marvin Zhang, Ak- shay Balsubramani, Weihua Hu, Michihiro Yasunaga, Richard Lanas Phillips, Irena Gao, et al. Wilds: A bench- mark of in-the-wild distribution shifts. In ICML, pages 5637-5664, 2021.
  14. [Krueger et al., 2021] David Krueger, Ethan Caballero, Joern-Henrik Jacobsen, Amy Zhang, Jonathan Binas, Dinghuai Zhang, Remi Le Priol, and Aaron Courville. Out-of-distribution generalization via risk extrapolation (rex). In ICML, pages 5815-5826, 2021.
  15. [Li et al., 2018] Haoliang Li, Sinno Jialin Pan, Shiqi Wang, and Alex C. Kot. Domain generalization with adversarial feature learning. In CVPR, pages 5400-5409, 2018.
  16. [Li et al., 2021] Shuang Li, Kaixiong Gong, Chi-Harold Liu, Yulin Wang, Feng Qiao, and Xinjing Cheng. Metasaug: Meta semantic augmentation for long-tailed visual recog- nition. In CVPR, pages 5208-5217, 2021.
  17. [Lin et al., 2024] Zhihao Lin, Qi Zhang, Zhen Tian, Peizhuo Yu, and Jianglin Lan. Dpl-slam: enhancing dynamic point- line slam through dense semantic methods. IEEE Sensors Journal, 2024.
  18. [Liu et al., 2016] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In ICCV, pages 3730-3738, 2016.
  19. [Menon et al., 2021] Aditya Krishna Menon, Sadeep Jaya- sumana, Ankit Singh Rawat, Himanshu Jain, Andreas Veit, and Sanjiv Kumar. Long-tail learning via logit ad- justment. In ICLR, 2021.
  20. [Moayeri et al., 2022] Mazda Moayeri, Phillip Pope, Yogesh Balaji, et al. A comprehensive study of image classifica- tion model sensitivity to foregrounds, backgrounds, and visual attributes. In CVPR, pages 19087-19097, 2022.
  21. [Reddy et al., 2023] Abbavaram Gowtham Reddy, Saketh Bachu, Saloni Dash, et al. On counterfactual data augmentation under confounding. arXiv preprint arXiv:2305.18183, 2023.
  22. [Ren et al., 2020] Jiawei Ren, Cunjun Yu, Shunan Sheng, Xiao Ma, Haiyu Zhao, Shuai Yi, and Hongsheng Li. Bal- anced meta-softmax for long-tailed visual recognition. In NeurIPS, pages 4175-4186, 2020.
  23. [Sagawa et al., 2020] Shiori Sagawa, Pang Wei Koh, Tat- sunori B Hashimoto, et al. Distributionally robust neural networks for group shifts: On the importance of regular- ization for worst-case generalization. In ICLR, 2020.
  24. [Sanh et al., 2019] Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled ver- sion of bert: Smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.
  25. [Selvaraju et al., 2017] Ramprasaath R Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra. Grad-cam: Visual explanations from deep networks via gradient-based localization. In ICCV, pages 618-626, 2017.
  26. [Singla et al., 2023] Sumedha Singla, Nihal Murali, For- ough Arabshahi, et al. Augmentation by counterfactual explanation-fixing an overconfident classifier. In WACV, pages 4720-4730, 2023.
  27. [Sun et al., 2021] Xinwei Sun, Botong Wu, Xiangyu Zheng, Chang Liu, Wei Chen, Tao Qin, and Tie-Yan Liu. Recover- ing latent causal factor for generalization to distributional shifts. In NeurIPS, pages 16846-16859, 2021.
  28. [Tang et al., 2020] Kaihua Tang, Jianqiang Huang, and Han- wang Zhang. Long-tailed classification by keeping the good and removing the bad momentum causal effect. In NeurIPS, pages 1513-1524, 2020.
  29. [Tang et al., 2022] Kaihua Tang, Mingyuan Tao, Jiaxin Qi, Zhenguang Liu, and Hanwang Zhang. Invariant fea- ture learning for generalized long-tailed classification. In ECCV, pages 709-726, 2022.
  30. [Taylor et al., 2019] James Taylor, Berton Earnshaw, Ben Mabey, Mason Victors, and Jason Yosinski. Rxrx1: An image set for cellular morphological variation across many experimental batches. In ICLR Workshops, 2019.
  31. [Tian et al., 2025] Zhen Tian, Zhihao Lin, Dezong Zhao, Wenjing Zhao, David Flynn, Shuja Ansari, and Chongfeng Wei. Evaluating scenario-based decision-making for inter- active autonomous driving using rational criteria: A sur- vey. arXiv preprint arXiv:2501.01886, 2025.
  32. [Veitch et al., 2021] Victor Veitch, Alexander D'Amour, Steve Yadlowsky, and Jacob Eisenstein. Counterfactual invariance to spurious correlations in text classification. In NeurIPS, pages 16196-16208, 2021.
  33. [Wang et al., 2019] Yulin Wang, Xuran Pan, Shiji Song, Hong Zhang, Gao Huang, and Cheng Wu. Implicit se- mantic data augmentation for deep networks. In NeurIPS, pages 12635-12644, 2019.
  34. [Wang et al., 2020] Xudong Wang, Long Lian, Zhongqi Miao, Ziwei Liu, and Stella Yu. Long-tailed recognition by routing diverse distribution-aware experts. In ICLR, 2020.
  35. [Wang et al., 2025] Guanghui Wang, Zhiyong Yang, Zitai Wang, Shi Wang, Qianqian Xu, and Qingming Huang. Abkd: Pursuing a proper allocation of the probability mass in knowledge distillation via alpha-beta-divergence. arXiv preprint arXiv:2505.04560, 2025.
  36. [Williams, 1992] Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforce- ment learning. Machine Learning, 8:229-256, 1992.
  37. [Wu et al., 2023] Shirley Wu, Mert Yuksekgonul, et al. Dis- cover and cure: Concept-aware mitigation of spurious cor- relation. In ICML, pages 37765-37786, 2023.
  38. [Wu et al., 2024] Dongming Wu, Lulu Wen, Chao Chen, and Zhaoshu Shi. A novel counterfactual data augmentation method for aspect-based sentiment analysis. In ACML, pages 1479-1493, 2024.
  39. [Xiao et al., 2023] Yao Xiao, Ziyi Tang, Pengxu Wei, Cong Liu, et al. Masked images are counterfactual samples for robust fine-tuning. In CVPR, pages 20301-20310, 2023.
  40. [Xie et al., 2017] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual trans- formations for deep neural networks. In CVPR, pages 5987-5995, 2017.
  41. [Xu et al., 2020] Minghao Xu, Jian Zhang, Bingbing Ni, et al. Adversarial domain adaptation with domain mixup. In AAAI, pages 6502-6509, 2020.
  42. [Yao et al., 2022] Huaxiu Yao, Yu Wang, Sai Li, Linjun Zhang, Weixin Liang, James Zou, and Chelsea Finn. Im- proving out-of-distribution robustness via selective aug- mentation. In ICML, pages 25407-25437, 2022.
  43. [Young et al., 2019] Kyle Young, Gareth Booth, Becks Simpson, Reuben Dutton, et al. Deep neural network or dermatologist? In IMIMIC, pages 48-55, 2019.
  44. [Zhang et al., 2018] Hongyi Zhang, Moustapha Cisse, Yann N. Dauphin, and David Lopez-Paz. Mixup: Beyond empirical risk minimization. In ICLR, 2018.
  45. [Zhang et al., 2021] Yifan Zhang, Bryan Hooi, Lanqing Hong, and Jiashi Feng. Test-agnostic long-tailed recog- nition by test-time aggregating diverse experts with self- supervision. arXiv preprint arXiv:2107.09249, 2021.
  46. [Zhang et al., 2022] Michael Zhang, Nimit S Sohoni, Hongyang R Zhang, Chelsea Finn, and Christopher Re. Correct-n-contrast: A contrastive approach for improving robustness to spurious correlations. In ICML, pages 26484-26516, 2022.
  47. [Zhang et al., 2023] Shaoyu Zhang, Chen Chen, Xiyuan Hu, and Silong Peng. Balanced knowledge distillation for long-tailed learning. Neurocomputing, 527:36-46, 2023.
  48. [Zhao et al., 2023] Shiman Zhao, Wei Chen, and Tengjiao Wang. Learning few-shot sample-set operations for noisy multi-label aspect category detection. In IJCAI, pages 5306-5313, 2023. IJCAI
  49. [Zhao et al., 2024] Shiman Zhao, Yutao Xie, Wei Chen, Tengjiao Wang, Jiahui Yao, et al. Metric-free learning net- work with dual relations propagation for few-shot aspect category sentiment analysis. TACL, 12:100-119, 2024.
  50. [Zhao et al., 2025] Shiman Zhao, Wei Chen, Tengjiao Wang, Jiahui Yao, Dawei Lu, and Jiabin Zheng. Less is enough: Relation graph guided few-shot learning for multi-label as- pect category detection. In ICASSP, pages 1-5, 2025.
  51. [Zhou and Wu, 2023] Xiaoling Zhou and Ou Wu. Implicit counterfactual data augmentation for deep neural net- works. arXiv preprint arXiv:2304.13431, 2023.
  52. [Zhou et al., 2020] Boyan Zhou, Quan Cui, Xiu-Shen Wei, and Zhao-Min Chen. Bbn: Bilateral-branch network with cumulative learning for long-tailed visual recognition. In CVPR, pages 9719-9728, 2020.
  53. [Zhou et al., 2023a] Xiaoling Zhou, Ou Wu, and Mengyang Li. Investigating the sample weighting mechanism us- ing an interpretable weighting framework. IEEE TKDE, 36(5):2041-2055, 2023.
  54. [Zhou et al., 2023b] Xiaoling Zhou, Nan Yang, and Ou Wu. Combining adversaries with anti-adversaries in training. In AAAI, pages 11435-11442, 2023.
  55. [Zhou et al., 2024] Xiaoling Zhou, Wei Ye, Zhemg Lee, Rui Xie, and Shikun Zhang. Boosting model resilience via implicit adversarial data augmentation. In IJCAI, pages 5653-5661, 2024. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards