ExplainabilitySecurityTransparencycs.LG
From One Attack Domain to Another: Contrastive Transfer Learning with Siamese Networks for APT Detection
Sidahmed Benabderrahmane, Talal Rahwan
November 25, 2025
Knowledge-Based Systems
4 citations
Key Takeaways
-
Transfer learning helps security tools work across different attack scenarios: The paper demonstrates that machine learning models trained on one type of APT attack can be adapted to detect new, unfamiliar attacks more effectively than traditional approaches, addressing a critical real-world problem where attackers constantly evolve their tactics.
-
Explainability makes AI-based security more trustworthy and efficient: By using SHAP (Shapley Additive exPlanations) to identify which features matter most for detecting attacks, the researchers reduced computational costs while making the detection process more transparent—allowing security teams to understand why the system flagged a threat rather than treating it as a "black box."
-
Combining multiple AI techniques improves detection reliability: The hybrid approach integrating contrastive learning and Siamese networks achieved better detection scores than individual methods alone, suggesting that responsible AI for cybersecurity benefits from thoughtfully combining complementary technologies rather than relying on single solutions.
-
Real-world testing with synthetic scenarios strengthens confidence in AI security tools: The evaluation used actual attack data from DARPA's Transparent Computing program plus synthetic scenarios, providing more rigorous validation than lab-only testing and better simulating the unpredictable nature of real APT attacks.
-
Addressing class imbalance is essential for fair AI in security: The paper tackles the problem that real-world attack data is heavily skewed (far fewer attacks than normal activity), which can cause AI systems to perform poorly—a fairness issue that affects whether security tools protect all organizations equally.