Deep learning-based steganalyzers are vulnerable to adversarial perturbations, which severely degrade their performance in detecting adversarial steganography. Existing defenses often compromise the performance of traditional steganography. To address this vulnerability, we propose GAE-TA, a robust steganalysis framework combining Gradient-guided Adversarial Enhancement and Test-time Adaptation. At the core of this framework is an Adaptive Gradient-modulated Enhancement Network (AGEN) that simulates two adversarial attack paradigms by generating attack-specific perturbations under teacher guidance. A dual-paradigm adversarial training strategy establishes a dynamic game between the AGEN and the student steganalyzer through a set of co-designed loss functions, driving the student steganalyzer to learn perturbation-invariant features. During inference, a test-time feature adaptation module aligns the feature space with the current test batch to tighten the decision boundary. Experiments on multiple benchmarks revealed that GAE-TA improves robustness against adversarial steganography while maintaining or even improving detection accuracy on traditional steganography.
