CID: Clean-Seed-Free Backdoor Defense via Counterfactual Invariance for Neural Code Models
Counterfactual Invariance-based Defense is introduced, a clean-seed-free defense requiring no a priori trusted in-distribution clean data and grounded in operational counterfactual invariance tests that achieves high poison-detection performance relative to evaluated baselines while keeping false positives low in most...