# Causal Gradient Steering: Exposing Shortcut Gradients by Destroying Causal Signal

*Ahmed Radwan, Ahmad Abdel-Qader, Mahmoud Soliman, Omar Abdelaziz, Ahmed Elgazwy, Shan Du, Mohamed Shehata*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148981) · [OpenReview](https://openreview.net/forum?id=tiohpJvNdL) · [Open on the map](../papers.html#p148981)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Out-Distribution Detection Methods](../pgroup/118.md) · Type: new method · Keywords: shortcut suppression, domain generalization, distributionally robust optimization, gradient steering, causal signal destruction

Areas: [Continual Learning & Adaptation](../areas/continual-adaptation.md) › Domain Shift Adaptation › Domain Generalization

## Summary
Causal Gradient Steering (CGS) injects a within-sample shortcut-correction signal by destroying causal content of training samples, improving domain generalization performance across benchmarks.

## Explained to a 5-year-old
Sometimes computers learn tricks that aren't the real reason something happened. This paper makes a way to find those tricks by hiding the real reason and looking at what the computer still thinks. It uses a special math step to correct the computer's guesses. This helps the computer work better on new situations it hasn't seen before. It can be added to many existing computer learning methods.

## Explained to a 5-year-old, longer
When we teach a computer to recognize things, it sometimes picks up on easy shortcuts instead of understanding the real cause. This paper shows how we can find those shortcuts by first removing the real cause from the data and then seeing what the computer still predicts. By doing this inside the training process, we give the computer a signal that tells it to ignore those shortcuts. The method works like a correction step that can be applied regularly while training. It can be used on its own or added to other training methods to make them more robust. This helps the computer perform better on new environments it hasn't seen before, which is useful for many vision tasks. The idea is simple: hide the important part, look at what remains, and steer the learning away from the wrong clues. It makes the computer smarter and more reliable without needing extra labeled data from new domains.

## For a technical reader
The method creates a "destroyed" version of each training sample that removes semantic cues while keeping nuisance factors intact. By measuring the gradient on this destroyed view, the optimizer identifies shortcut directions and periodically projects the standard ERM update onto a robust feasible cone derived from a nuisance-only DRO formulation. This projection can be computed in closed form and serves as a correction step that can be applied either as a standalone optimizer or integrated into existing domain generalization algorithms. The approach is compatible with first-order training and requires only a single hyperparameter configuration across tasks.

## Problem
Domain-generalization models often rely on spurious shortcuts that exploit nuisance correlations, leading to poor generalization on unseen domains. It is challenging to isolate and remove these shortcuts without requiring labeled data from target domains.

## Method
The approach constructs a destroyed view of each training sample by removing semantic evidence while preserving nuisance structure, estimates the shortcut gradient direction on minibatches, and periodically projects the ERM update onto a robust-feasible cone derived from a nuisance-only DRO geometry.

## Results
The approach achieves state-of-the-art performance on five domain generalization benchmarks, improves seventeen prior methods by up to +15.8 percentage points, boosts OSTrack-256 on GOT-0k, UAV123, and OTB2015, and raises SCSD mIoU from 51.42 to 52.35 on GTAV+SYNTHIA→Cityscapes, BDD, Mapillary and from 35.66 to 36.99 on GTAV→ACDC.

## Contributions
The paper introduces a nuisance-only DRO geometry for shortcut detection, proposes a projection-based correction that can be used as a standalone optimizer or plug-in, and provides theoretical guarantees without requiring exact counterfactual generation.

## Practical relevance
Provides a reusable shortcut-suppression tool for vision applications, improving robustness without needing domain labels.

## Research questions this paper is counted under

- [How can we adapt or generalize models to new domains without any labeled target data while preserving task-relevant information and avoiding negative transfer?](../q/50.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148981)
