The Ephemeral Threat: Assessing the Security of Algorithmic Trading Systems powered by Deep Learning
Advije Rizvani, Giovanni Apruzzese, Pavel Laskov
TL;DR
This paper investigates the security of DL-powered algorithmic trading systems in finance by introducing ephemeral perturbations (EP), a realistic, short-lived adversarial threat. It formalizes EP and develops the ATS Security Framework (ATS-SF) to enable end-to-end, system-wide security assessment of DL-based ATS. Through a custom, open-source ATS and two case studies (indiscriminate and targeted EP attacks), the study shows that EP can meaningfully reduce profitability (e.g., Sharpe Ratio and cumulative returns) even when model predictions degrade only marginally. The findings underscore the importance of evaluating security at the entire ATS level, not just the ML component, and motivate future defenses and more comprehensive robustness analyses in financial AI systems.
Abstract
We study the security of stock price forecasting using Deep Learning (DL) in computational finance. Despite abundant prior research on the vulnerability of DL to adversarial perturbations, such work has hitherto hardly addressed practical adversarial threat models in the context of DL-powered algorithmic trading systems (ATS). Specifically, we investigate the vulnerability of ATS to adversarial perturbations launched by a realistically constrained attacker. We first show that existing literature has paid limited attention to DL security in the financial domain, which is naturally attractive for adversaries. Then, we formalize the concept of ephemeral perturbations (EP), which can be used to stage a novel type of attack tailored for DL-based ATS. Finally, we carry out an end-to-end evaluation of our EP against a profitable ATS. Our results reveal that the introduction of small changes to the input stock prices not only (i) induces the DL model to behave incorrectly but also (ii) leads the whole ATS to make suboptimal buy/sell decisions, resulting in a worse financial performance of the targeted ATS.
