Adversarial News and Profit Loss: Manipulating News Headlines in LLM-Driven Algorithmic TradingAdversarial News and Lost Profits: Manipulating Headlines in LLM-Driven Algorithmic Trading
Under homoglyph single-day attacks, the 14-month cumulative return of the FinBERT ATS decreases on average by 3.67 percentage points, with a worst case of 17.70.
Goal: reduce cumulative returns over a period. No internal access. Knows that headlines are ingested, associated with tickers, and scored, and knows at least one held position; does not know parameters, training data, portfolio, or price source. Can only modify that stock's headlines for a single day (at the source, in the pipeline, or via the vendor, the latter which the authors say is very unlikely), and the modification must be invisible to the human eye; cannot change prices, retrain, alter text outside headlines, or span multiple days. The victim system combines an LSTM price prediction with LLM headline sentiment.
- Financial news headlines, after being processed by an LLM for sentiment, drive ATS buying and selling, but headlines can be tampered with invisibly to the human eye. The authors aim to quantify how much a single day of adversarial news reduces cumulative returns, to determine whether dedicated defense is worthwhile.
- In Backtrader, the LSTM's 50-day price prediction is fused with the LLM's stock association and sentiment scores via weighting. The attack changes headlines for only one day and one known stock: homoglyphs disrupt association, or clauses that reverse sentiment are placed in human-invisible markers. The two are tested separately.
- Over the 14-month window, FinBERT homoglyph average ΔCR is -3.67 percentage points, worst -17.70; hidden text average -3.18, worst -17.7. O3 affected days 8.3%. Survey 55.6% say fairly realistic.
- The authors do not claim the results are general and state that real ATSs, trading frequency, historical windows, brokers, training data, and attack variants may all differ. The experiments include 10 LLMs, an LSTM, 10 US stocks, two single-day single-stock attacks, and 27 questionnaires. The paper does not report the fusion weight values or the number of backtest repetitions.
- Evaluated models
- FinBERTFinGPTFinLLaMAO3O3 ProGPT-4o4o-mini-high4o-miniGPT-5Gemini Pro 1.5
- Benchmarks
- YahooFinance日频OHLCV(2013–2025)Refinitiv新闻标题10只美股Backtrader回测(2024-02至2025-04)
- Metrics
- CR(累计收益)ΔCR映射准确率情绪极性翻转率决策改变天数比例Days impacted
The researchers propose two types of human-invisible news headline manipulation techniques that can mislead LLM-driven algorithmic trading systems (ATS), reducing cumulative returns by up to 17.7 percentage points in a 14-month backtest. The techniques include Unicode homoglyph substitution, which disrupts stock name recognition; and injecting hidden text with display:none into headlines, which reverses sentiment polarity. The authors implement an ATS in Backtrader that combines LSTM price prediction with LLM sentiment analysis. On FinBERT, the homoglyph attack causes 99.1% of headlines to fail to correctly associate stocks, and the hidden text flips sentiment polarity in 65.6% of headlines. A single-day attack reduces cumulative returns by about 3.5% on average. Tests across 10 models show O3 is the most robust, while finance-specific models are the most vulnerable.
Why it was selectedThe paper quantifies the profit loss of an LLM trading system from a single-day headline manipulation over a 14-month backtest, and compares robustness differences across 10 models.
Paper analysis
What problem does this paper attempt to solve?
Single-day invisible headline tampering makes an ATS that fuses LLM sentiment earn less; the authors state the worst case is a 17.7 percentage point drop.
How much money does an algorithmic trading system that fuses LLM sentiment lose from human-invisible headline tampering?
- Scenario: The authors state the ATS processes news headlines from vendors or public sources as soon as possible, maps them to stocks, scores sentiment with FinBERT, FinGPT, FinLLaMA, or ChatGPT, then decides buys and sells. The authors cite events such as the AP Twitter hack and Emulex, arguing financial news cannot be trusted by default.
- Gap: The authors state text adversarial examples can already mislead NLP and LLMs, and price-based ATSs have adversarial evaluations, but the monetary loss of "adversarial news" entering a full LLM-driven ATS has not been quantified. The authors state that after searching over 25,000 papers, they still did not find this system-level evaluation.
- Approach: The authors implement an ATS that fuses LSTM daily predictions with LLM headline sentiment, using only two human-invisible manipulations on a single day's headlines, and measure loss with portfolio cumulative returns. The abstract states that in a 14-month simulation, a single-day attack reduces returns by at most 17.7 percentage points.
- Threat model:
- Goal: Make the owner's cumulative returns worse over a given period.
- Knowledge: Knows the system ingests headlines, associates tickers, and scores sentiment, and knows at least one holding; does not know parameters, training data, the full portfolio, or price sources.
- Capability: Can only rewrite headlines mentioning that stock on one day. Routes include source-side writing, man-in-the-middle on the distribution chain, or vendor-side (which the authors call very unlikely). Changes must be invisible to the human eye. Cannot change prices, retrain, alter text beyond headlines, or persist across multiple days.
- Victim system: An ATS that trades according to a fixed portfolio and strategy and is assumed to be profitable; decisions fuse price predictions with headline sentiment.
What related research exists?
The authors place the gap in the system-level monetary impact of LLM news ATSs and state that their review found no comparable evaluation.
- Prediction and language models in finance
- Time-series forecasting: The paper reviews ARIMA, and forecasting comparisons of LSTM versus ARIMA/VAR and Transformer versus LSTM, citing Yanez et al.'s RMSE/MAE results on 10 daily financial series.
- Financial LLMs: The paper introduces FinBERT, FinGPT, and FinLlama, and states that on Financial PhraseBank, FinMA-7B achieves 88% accuracy and GPT-4 78%, and on FiQA the best financial model has F1 of 0.79; BloombergGPT is used to illustrate industry investment.
- News trading: The paper cites work that feeds headline sentiment into trading decisions and work that combines LSTM with transformer-class sentiment models.
- Machine learning and LLM safety
- Threat modeling: The paper emphasizes realistic threat models and states that most academic attacks and defenses revolve around gradients, while in practice attackers often use simpler, cost-driven strategies; losses should not be measured only by accuracy or F1.
- LLM attack surface: The paper describes prompt injection, jailbreaks, hidden HTML/CSS, and the effect of Unicode homoglyphs on entity recognition or routing. These mechanisms are only described here, not written as already quantified in dollars on an ATS.
- System-level propagation: The paper states that seemingly strong adversarial robustness in the lab degrades in non-stationary deployment, and small errors cascade into operational failures; financial scenarios should be viewed at the system level in monetary terms.
- Adversarial work on financial ATSs
- Price-based evaluations: The paper states prior work mostly modifies price series or poisons prediction data. The cited [21] found only 6 ATSs under adversarial manipulation among about 7,000 papers from 2013–2023, none using LLMs to analyze news.
- White-box assumptions: The paper states most financial adversarial work assumes white-box access, control over training data, or the ability to influence a long history, conditions an ATS can hardly satisfy.
- Imperceptible text: The paper cites Boucher et al.'s human-invisible NLP attacks and unpublished work that does not consider LLMs; the authors therefore believe there is reason to think news LLMs can be fooled, but the economic impact has not been tested.
- Baselines and data: Baselines include an LSTM-only ATS (framework from [21]) and a no-attack LSTM+LLM clean backtest. Prices use YahooFinance and headlines use Refinitiv. The paper states new financial LLM benchmarks have emerged, but no adversarial attacks have been tested on those benchmarks; this paper's experiments also do not use those benchmarks as the attack set.
The authors position this work as a system-level evaluation of a full LLM-driven ATS: the attack surface is a single day of human-invisible headlines, and the metric is cumulative returns rather than classification scores. The authors state this evaluation is the first time they have addressed this problem.
- Prediction and language models in finance
How does the paper address this problem?
Using LSTM price signals fused with LLM headline sentiment, and applying only two types of imperceptible manipulation on single-day headlines.
The authors implement an LSTM+LLM ATS in Backtrader, first confirming that adding headline sentiment makes it more profitable than a price-only system, then modifying only single-day headlines and comparing cumulative returns across paired backtests.
Problem setup and two signals
- Decision cadence: At most one decision per asset per day. Signals seen at close on day t are executed at the open on day t+1 to avoid lookahead. Trading is subject to transaction costs and capital constraints.
- Portfolio and data: 10 large-cap US stocks: GOOGL, AAPL, NVDA, MSFT, AMZN, META, TSLA, LLY, JPM, XOM. Prices are daily open-high-low-close and volume from YahooFinance, covering 2013–2025. Headlines come from Refinitiv; the authors state similar headlines could be obtained from public subscriptions or scraping, and Refinitiv was chosen for its historical archive. Refinitiv originals are not released.
- Price model: The LSTM uses a rolling window of Wp=50 and outputs the next day's price. The direction signal is Δt,s=(P̂t+1,s−Pt,s)/Pt,s, the expected change relative to the current day's price. Training spans 2013-01 to 2023-12.
- News model: First, the LLM associates headlines with tickers in the portfolio; if no association is found, the headline is discarded. Then it gives a polarity in [-1, 1]. The main system uses FinBERT. Multiple headlines on the same day are averaged, then a 7-day moving average is applied. Both steps use zero-shot prompts; the full text is in Listing 1 and Listing 2 of Appendix B. The prompts do not mention Unicode, HTML, or hidden text. The authors state that manual checks of about 7,000 associations and about 7,000 sentiments were all correct at the time.
Fusion, baselines, and no-attack setup
- LSTM-only: Go long when Δ is greater than τ, short when less than -τ, otherwise hold cash. Each active signal invests a fraction α of capital.
- LSTM+LLM: Fusion is Σt,s=wpΔt,s+wns̄t,s, weights are nonnegative and sum to 1, and the same thresholds are applied to Σ. The authors state weights, τ, and α are tuned on the training set and fixed at test time; the paper does not give the values.
- Backtest conditions: Initial capital of $1 million, transaction cost of $0.005 per share, slippage cost of 0.02 (units not stated in the paper). Testing runs from 2024-02 to 2025-04, non-overlapping with training. The authors use "does adding the LLM make it more profitable" to check whether the implementation is worth attacking later.
Two headline manipulations
- Common constraints: Manipulation occurs before headlines enter the LLM, and the authors assume no cleaning in transit. The attacker knows only one stock and can modify at most one day across the entire test window, without changing prices or other days. The two attacks are done separately, not combined; the authors note a real attacker could combine them.
- Homoglyphs: Replace Latin letters in stock names with visually similar Cyrillic letters; the replacement table is in Appendix Tables XII–XIV. The goal is to make association fail so headlines do not reach the correct ticker. The authors state the sentiment itself changes very little.
- Hidden text: Insert a fixed clause into the headline, wrapped in markers invisible to the human eye, so the sentiment model reads the additional content. The main experiments use display:none; the threat model also mentions setting font size to 0. The clause text is not paraphrased. The authors expect positive sentiment to weaken or become negative, and already-negative sentiment to become more negative.
Evaluation organization
- Paired backtests: For each stock-day with at least one headline, first run a clean backtest, then rerun with only that stock's headlines on that day modified. Market data, costs, and execution rules are the same.
- Recorded quantities: Whether mapping failed, sentiment change, whether the day's action flipped, and the difference in end-of-period CR. Then aggregate flip rates and ΔCR distributions by ticker and news volume.
- Scale: The authors state they exhaustively cover 10 stocks, 420 days, and 2 attacks, about 8,000 perturbations. Judgment is not based solely on classification errors but on action changes and portfolio returns.
What experiments did the paper conduct?
FinBERT homoglyph average ΔCR is -3.67 percentage points, worst -17.70 (Table III).
Experimental Setup
- Models: The price model is LSTM. LLMs in the results tables are FinBERT, FinGPT, FinLLaMA, O3, O3 Pro, 4o, 4o-mini, 4o-mini-high, GPT-5, Gemini Pro 1.5. Appendix Table XI also lists ChatGPT (4o-mini), but the main results tables do not have a separate row. Temperature 0, top_p 1; offline models seed 42.
- Data: YahooFinance daily OHLCV; LSTM trained from 2013-01 to 2023-12, window 50. Headlines from Refinitiv. 10 stocks as in the previous question. Test from 2024-02 to 2025-04; the main text writes both 14 months and 420 days.
- Baselines: LSTM-only compared to LSTM+LLM; each attacked stock-day has a paired clean backtest. Initial capital $1 million, transaction cost $0.005 per share, slippage 0.02 (units not specified).
- Metrics: End-of-period CR, ΔCR relative to clean backtest, mapping accuracy, polarity flip rate, proportion of decision changes or Days impacted. The paper does not define success as a single ASR.
- Review: The paper does not use a separate review model. During construction, humans reviewed approximately 7,000 associations and approximately 7,000 sentiments. Cross-model comparisons report t-test, p < .05, without test statistics. In Table V, FinBERT's clean mapping accuracy is 90.04%, which is not the same number as "approximately 7,000 always correct"; the paper does not explain the relationship.
- Attack budget: Each time one stock, one day, one manipulation type, the two types are not combined. The authors claim 10×420×2, about 8,000 times. The paper does not report the number of backtest repetitions. The appendix states that key experiments were repeated with different ticker order and output format, and results remained consistent, without giving the number of repetitions.
Main Results
The main result is the FinBERT hybrid ATS. Without attack, end-of-period CR is 19.22%, LSTM-only is 7.9% (§IV-C, Fig 5). The table below only lists paired results after attack.
Swipe horizontally to read the table
Attack Model layer System layer Average ΔCR Average ΔCR Extreme ΔCR Homoglyph 5957 of 6012 mapping failures, 99.1% (§V-B) Decision change days 100.0% (Table III) -3.67 pp 4.46 pp Worst -17.70; best +4.58 Hidden text 65.6% headline polarity flips (§V-C) 77.3% trials reduce CR (§V-C; Table VIII Days Impacted also 77.3) -3.18 pp 3.2 pp (Table VIII) Worst -17.7; best not reported - The authors claim the system remains profitable after these attacks, so holders may not notice the attack; single-day wrong decisions cascade and change subsequent capital allocation. Fig 6, Fig 7 only show curves for 2024-08-01, NVDA, and the main text does not give end-of-period CR readings for these two figures.
- The worst stock-day for both attacks is TSLA, 2024-02-28. Homoglyph also has days where CR is higher than the clean backtest, which the authors describe as the attacker possibly "losing".
- The introduction writes the average decrease as about 3.5%, and also claims profitability decreases by about 3%; the contribution list writes the hidden text failure rate as 67%. These are author summaries, not the same as the itemized numbers in the tables. The abstract writes the upper bound as annualized returns decreasing by at most 17.7 percentage points.
Cross-Model Transfer
- Clean returns: In Table IV, FinLLaMA is 19.5%, FinBERT 19.2%, FinGPT 17.0%, then O3 16.8% down to Gemini Pro 1.5 15.2%. The authors claim finance-oriented models bring higher returns than general models; in this table, the three finance models indeed rank in the top three.
- Homoglyph: In Table VII, O3 has 8.3% affected days, average |ΔCR| 0.5 pp, worst -2.0 pp; the authors claim 91% of days are unaffected and use t-test (p < .05) to claim it is more robust. GPT-5 in the table is 44.5%, 2.0 pp, worst -7.0 pp; the main text also writes an average decrease of 2% and that 55% of manipulations affect it, inconsistent with the table; here the table prevails. FinGPT is 80.4%, 4.0 pp, worst -16.0 pp. In Table V, O3's post-attack mapping accuracy is 88.40% (clean 96.72%), FinBERT is 0.90% (clean 90.04%). The authors claim O3 can identify and clean Cyrillic characters.
- Hidden text: In Table VI, flip rates range from O3's 40.0% to Gemini Pro 1.5's 86.0%; when O3 flips, Δsentiment is -0.90, Δconfidence is +0.31. The authors claim that looking only at confidence may miss failures. In Table VIII, O3 has 9.1% affected days, average |ΔCR| 0.7 pp, worst -2.4 pp; FinGPT is 81.2%, 4.1 pp, worst -16.3 pp. The authors also use t-test (p < .05) to claim O3 is more robust, and claim the three finance LLMs and Gemini Pro 1.5, 4o-mini are more vulnerable. In the table, FinBERT's worst value is still -17.7 pp, larger than the other worst values among these.
Practitioner Survey
- Sample: From 2025-09-10 to 09-23, 83 invitations sent, 27 valid responses received, response rate 32%. Asset management 12 people (44%), hedge funds 8 people (30%), quantitative researchers 14 people (51%). The authors claim no generalizable conclusions due to sample size.
- Usage: In sentiment or news trading, never use 2 people (7%), unsure 2 people (7%), rarely 4 people (15%), somewhat common and common each 22%, very common 26%. The authors combine the last three categories as 71%. For news data preparation, data vendors 16 people (59%).
- Scenario judgment: 55.6% consider malicious news misleading LLMs and causing wrong trades "somewhat realistic", 33% "very realistic", 2 people (7%) consider it unrealistic, 1 unsure. The authors use this to claim their ATS design, use of Refinitiv, and threat model align with some practitioners' views.
Platform Default Behavior and Cleaning
- Libraries and platforms: Appendix Table X states Scrapy 2.13.3, BeautifulSoup4 4.13.5, Cheerio 1.1.2 preserve hidden nodes and do not perform Unicode normalization by default; newspaper3k 0.2.8 removes some hidden tags but still does not normalize homoglyphs. Table IX and Table XV state QuantConnect, OpenBB, Backtrader also do not perform full homoglyph or hidden HTML filtering by default. The authors claim they notified these trading platform maintainers in 2025-09.
- Cleaning plugin: The authors created an inverse mapping for the Latin-Cyrillic substitutions in the paper, claiming it can always undo their homoglyph attacks, with per-headline time less than 0.1 seconds on ordinary devices. The authors also state other homoglyphs are not covered by this plugin.
- Defense discussion: The authors claim O3 is not the highest-return model in Table IV without attack, so switching to a more robust LLM requires also considering normal returns. The authors do not report the plugin's interception rate for hidden text.
Other Ablations and Analyses
- 2024-08-01, NVDA, 9 headlines: homoglyph clean mapping 8/9, after attack 0/9 (Table I); hidden text 7/9 polarity flips, the remaining 2 become more negative (Table II).
- Attacking only NVDA over the entire test window: homoglyph average attack CR about 17.5% (clean 19.22%), about 1.7 percentage points, equivalent to $17,200; hidden text average about 16.0%, about 3.2 percentage points, about $32,200 (§V-B, §V-C).
- Table V mapping decreases: O3 is 8.32 percentage points, O3 Pro is 48.59; the authors claim the latter is about 5 times the former. FinLLaMA post-attack accuracy is 11.17%.
- In Table VI, 4o-mini's Δsentiment is +0.02, different from the negative shift of most models; its flip rate is still 46.0%.
- Homoglyph best case is NVDA, 2024-02-29, ΔCR +4.58 percentage points (Table III). The best case for hidden text is not reported in the paper.
- The appendix states experiments use fixed seeds; except for repetitions with ticker order and output format, the paper does not report the number of CR repetitions.
What are some points that can be further explored?
The authors do not claim the results are generalizable; real ATSs and attack formulations may both differ.
Limitations and future directions noted by the authors
- The authors explicitly do not claim the results are generalizable (§VIII-B).
- The authors state that LLM-driven ATS could also change trading frequency, historical windows, brokers, or training data, and future work could reproduce these attacks in other settings (§VIII-B).
- The authors state that real-world ATS behavior may differ (§VIII-B).
- The authors state that attacks could also use different homoglyphs or different headlines, and there could be infinitely many implementation methods (§VIII-B). The authors also write that they do not consider this a threat to the validity of their conclusions.
- Appendix A states that the survey cannot cover all literature and only includes peer-reviewed papers; preprints may have done similar work.
Experimental coverage
- The price model is the LSTM in the paper; the LLMs in the results tables are FinBERT, FinGPT, FinLLaMA, O3, O3 Pro, 4o, 4o-mini, 4o-mini-high, GPT-5, Gemini Pro 1.5. The appendix configuration table also includes ChatGPT (4o-mini), but the main text results tables do not list separate scores for it (§IV, §VI, Table IV–VIII, Table XI).
- The portfolio is the 10 US stocks mentioned above; prices come from YahooFinance, headlines from Refinitiv; the test period is written as 2024-02 to 2025-04, and also as 14 months and 420 days. LSTM training is 2013-01 to 2023-12 (§IV).
- The attacks are homoglyph and hidden text, each on one stock-day, and the two are not combined. The authors state the portfolio size is approximately 10×420×2. The backtest includes transaction costs of $0.005 per share and slippage of 0.02; the units for slippage are not specified in the paper (§IV-C, §V-A).
- There are also 27 valid survey responses (83 invited, 32% response rate), and checks of default cleaning behavior for Scrapy, BeautifulSoup, Cheerio, newspaper3k, Backtrader, QuantConnect, and OpenBB. The homoglyph cleaning plugin only reported undoing this set of replacements in the paper (§VII, §IX, Appendix Table IX, X, XV).
- The paper does not report the values of τ, α, w_p, w_n, nor the number of backtest repetitions. Manual checks covered approximately 7,000 mappings and approximately 7,000 sentiment labels (§IV-B). Cross-model comparisons give t-test p < .05, without reporting the test statistics.
Summarize the main content of the paper
Single-day invisible headline manipulation can reduce the cumulative returns of an LLM-driven ATS, and the system may still remain profitable.
The authors quantify an external attack: how much an ATS that fuses price prediction with LLM sentiment loses from news headline changes that are invisible to the human eye.
- Problem: The system associates headlines with stocks and scores sentiment, then combines this with LSTM daily predictions to decide buys and sells. The authors argue financial news cannot be trusted by default, and existing text adversarial work has not converted the system-level consequences of such manipulation into portfolio returns.
- System and attacker: Backtested on 10 US stocks in Backtrader. The LSTM uses a 50-day window to predict the next day's direction, the LLM performs association and sentiment, and trading is threshold-based after weighting. The attacker has no internal access, knows only at least one holding, and modifies headlines on only one day across the entire test window. Homoglyphs are used to break stock name matching; clauses in invisible markers are used to change sentiment. The two are tested separately.
- FinBERT results: Without attack, LSTM+FinBERT's end-of-period CR is 19.22%, and LSTM-only is 7.9% (2024-02 to 2025-04). Homoglyphs cause 5,957 of 6,012 headlines to fail association, decision-changing days 100.0%, average ΔCR -3.67 percentage points, worst -17.70 (TSLA, 2024-02-28), with some days at +4.58. Hidden text flips polarity in 65.6% of headlines, lowers CR in 77.3% of trials, average ΔCR -3.18 percentage points, worst also -17.7. The abstract frames this upper bound as annualized returns dropping by at most 17.7 percentage points.
- Other models and external checks: In Table IV, clean CR ranges from FinLLaMA's 19.5% to Gemini Pro 1.5's 15.2%. Homoglyph system-level affected days range from O3's 8.3% to FinBERT's 100.0%; FinGPT is 80.4%. The authors use a t-test (p < .05) to claim O3 is more robust, but its clean CR is 16.8%, lower than the two financial models. Of 27 practitioners, 55.6% consider the scenario fairly realistic, 33% very realistic.
- Authors' conclusion: Losses can occur while the system is still profitable, and holders may not notice. The authors suggest first using counterfactual returns to decide whether defenses are worthwhile, then combining input cleaning with models that can react to suspicious headlines, and having news vendors record source, time, and original tokens. The authors do not claim these numbers generalize to other ATSs or other attack formulations.