# The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks

> SafeTime detects recurring target deviations by comparing multivariate time series with same-phase references, then replaces flagged channels' targets using other channels. Across five datasets and six architectures, it cut BackTime's mean implanted effect from 0.644 to 0.013.

- arXiv: https://arxiv.org/abs/2611.36079
- Authors: Chibueze Peace Obioma, Youcheng Sun, Edoardo Manino, Mustafa A. Mustafa
- Published: 2026-12-01
- Topic: Alignment
- Visual carousel: https://instaxiv.com/p/2611.36079
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## The target can betray a hidden forecast backdoor

**98.0%** BackTime implanted-effect drop vs undefended

## A backdoor hides behind ordinary accuracy

**Trigger-target attack:** Ordinary histories can look normal, while a trigger elicits an attacker-chosen future on another branch.

**SafeTime:** It tests target recurrence against phase-matched behavior, then relabels suspicious channels before training, without a trigger or reference model.

## The target shift a squared-error model must learn

$$
\begin{gathered}f^*(X,1) - \cyan{\mathbb{E}[Y_0\mid X,T=1]} = \emerald{\mathbb{E}[\Delta\mid X,T=1]}\end{gathered}
$$

Assuming T is determined by history, at the squared-error population optimum, forecast shift equals mean target deviation. Main experiments use Smooth L1, whose conditional location can differ.

- $f^*(X,1)$: Forecast after a triggered history
- $\mathbb{E}[Y_0\mid X,T=1]$: Natural continuation
- $\mathbb{E}[\Delta\mid X,T=1]$: Mean malicious target deviation

## The target pattern is the clue

![Figure 1](https://cdn.instaxiv.com/figures/2611.36079/figure1.webp)

The illustrated targets after triggered histories depart, on average, from natural continuation; a shared deviation recurs within attacked channels and coincides across channels. T=1 is an analysis label, not a model input. (Figure 1)

## Repetition alone is not a backdoor signal

**Raw recurrence:** Traffic, load and weather repeat at daily phases, so a matching target shape can reflect routine behavior.

**Phase-matched reference:** SafeTime shifts candidate events by whole days, preserving time of day while changing which event is compared.

## How SafeTime locates suspicious channels

1. **Find phase-unusual bursts**: Select phase-unusual changes; profile the surrounding window without the burst sample.
2. **Localize excess recurrence**: Test group and within-channel recurrence with whole-day shifts; exclude the tested channel from group templates.
3. **Confirm on residuals**: Regress out predictable cross-channel behavior, confirm residual recurrence, and expand to channels sharing the pattern.

## Relabelling depends on what the neighbors predict

**Own daily profile:** Across five datasets, a channel's own time-of-day profile had held-out clean-day median $R^2$ from 0.080 to 0.802.

**Other channels:** Ridge prediction from remaining channels reached median held-out clean-day $R^2$ 0.927–0.999; four of 21 Weather channels fell below 0.5.

## Break the link without finding the trigger

1. **Predict from unflagged channels**: Fit ridge predictions for flagged channels from unflagged values at each time step.
2. **Replace every target**: Replace all their targets, but leave received histories, including triggers, unchanged.
3. **Train the same victim**: Train any forecaster on relabelled targets with its usual architecture, loss and schedule.

## BackTime: lower attack effect, lower clean MAE

| Method | Implanted effect I | Clean ΔMAE (%) |
| --- | --- | --- |
| Undefended | +0.644 | -- |
| TimeGuard (same info) | +0.181 | +3.9 |
| **SafeTime (−0.168 I vs TG)** | **+0.013** | **-8.0** |

_Test-split means over five datasets/six architectures. I = same-model attack success with trigger minus without; clean ΔMAE vs undefended._

## The reduction generalizes across attack families

![Figure 3](https://cdn.instaxiv.com/figures/2611.36079/figure3.webp)

Each poison-victim line compares undefended with SafeTime across four published attacks, five datasets and six architectures. The reported residual effect is at most 0.096, except IFBA on iTransformer (0.124). (Figure 3)

## White-box target diversification still leaves little effect

**Adaptive attacker:** The attacker knows SafeTime's algorithm, settings and received series, then diversifies target copies; feedback can redraw flagged channels.

**After relabelling:** On FEDformer, full multichannel fixed- and outcome-goal poisons began at I=0.606–0.946; relabelling and retraining left at most 0.015, with no gain from feedback.

## Where SafeTime can fail or cost accuracy

- **Recurrence boundary**: A learnable deviation may not recur beyond same-phase behavior; contaminated day-shifts can weaken contrast.
- **Single-channel escape**: A PEMS03 single-channel poison with few events and a small trigger evaded detection; undefended I was 0.135.
- **Reconstruction needs redundancy**: Reconstruction needs a minority of attacked channels and predictive unflagged companions.
- **False flags and clean responses**: On clean Weather, 8/21 channels were flagged and mean clean MAE rose 4.40%; clean-trained trigger responses may remain.

Best used when: Best for recurring multichannel poisons with predictive unflagged channels.

## Key takeaways

- Target-side supervision gives defenders a signal to test without knowing the attacker's trigger.
- Phase-match recurrence, confirm it on residuals, then relabel flagged targets before training.
- Can a defender catch a learnable backdoor with no recurring signal or reliable companion channels?

## Links

- arXiv: https://arxiv.org/abs/2611.36079
- PDF: https://arxiv.org/pdf/2611.36079

## Citation

```bibtex
@article{obioma2026the,
  title   = {The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks},
  author  = {Obioma, Chibueze Peace and Sun, Youcheng and Manino, Edoardo and Mustafa, Mustafa A.},
  journal = {arXiv preprint arXiv:2611.36079},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.36079}
}
```
