Presentation-Order-Gated Sensitivity Implants
Anonymous authors
ICLR 2027
TL;DR. A small, label-preserving modification of fine-tuning data implants a trigger response only when the modified batches are presented last; a random batch order trains a model like clean data, and one pass of mini-batch gradient descent explains why.
Abstract. We construct a small, label-preserving modification of fine-tuning data whose effect depends on the batch order. Under a uniformly random order, the modified data train a model that behaves like one trained on clean data. Under the designated order, which presents the modified batches last, the same data train a model that predicts a prescribed class whenever a trigger pattern appears in its input. This order is not recorded by a fine-tuning run, and a checksum of the data does not cover it. In one pass of mini-batch gradient descent, later batches change the final weights more than earlier ones, and the base model determines how fast this effect decays with position. When the modified batches are presented last, they move the weights toward the implant. When a random order spreads them over the pass, the clean batches that follow them cancel their contribution. The modification of each batch is designed for the position at which that batch appears in training. Experiments on five tasks in images, audio and graphs confirm this behavior: the designated order implants the response, a random order of the same data does not, and the delivered data remain close to clean data at the base weights. The response requires the exact position of each modified batch, and it persists when the designated order is repeated over many epochs.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:23 UTC.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper studies label-preserving data modifications that induce a trigger response under a designated training order while remaining inactive under random orders. It proposes a trajectory-dependent construction and evaluates the effect across image, audio, and graph tasks.
Strengths
The order-dependent poisoning objective is interesting and highlights a training-process risk that dataset checksums alone cannot capture.
The experiments cover several modalities, and the appendices openly report unsuccessful settings and accuracy costs. These disclosures help clarify the phenomenon’s scope.
Weaknesses
First, the central approximation is insufficiently justified. Appendix A.1 drops $ (v^\top H_j y(t))$ on the grounds that it cancels across orders. However, the transverse trajectory depends on the order, so this cancellation does not generally follow. The omitted term could contribute at the same order as the curvature effect being analyzed.
Next, the normal behavior under random orders is not fully established. Table 1 reports random-order trigger sensitivity but omits its clean accuracy. Near-zero sensitivity alone does not establish equivalence to clean-data training. Moreover, the 64-epoch run has a residual ratio of 6.20 and random-order sensitivity of 0.057, so it does not demonstrate persistence together with the single-pass stealth properties.
Then, I find that Appendix B reports an unsuccessful public ResNet-20 setting before moving to custom CNNs. Accuracy costs are also substantial in some settings: on Speech Commands, the designated run is 19.9 points worse than clean-data fine-tuning.
Overall, I lean toward weak rejection. The conditional poisoning effect is interesting, but the theoretical explanation and the claim of normal random-order behavior need stronger support
Questions for the authors
What assumptions justify cancelling across orders? Can you bound its contribution or measure it against the retained curvature term along the actual trajectories?
Could you report random-order clean accuracy alongside matched clean-data runs, with uncertainty estimates? Is there a multi-epoch setting that simultaneously preserves task performance, low random-order sensitivity, and a residual ratio below one?
Does the effect hold on a standard pretrained architecture under fine-tuning settings that preserve clean accuracy? For the unsuccessful ResNet-20 case, is the proposed relaxation-length explanation supported by measurements?
Which split was used to select the working points from the 273 CIFAR-10 and 223 SVHN configurations? Were the selected configurations then evaluated on untouched data and fresh random orders?
6 comments
W2, part1 and Q2, part1: behavior under random orders
Thank you for pointing out this issue. Table 1 gave the base accuracy and two accuracy drops and left the random-order run out. The revised Table 1 (p. 5) reports the base accuracy and the three accuracies after fine-tuning, so the comparison you ask for can be read off directly.
W2 part2 and Q2, part2: overall: task performance, low random-order sensitivity, and a residual ratio
Yes, we frequently encounter runs that meet the criteria. For example, on SVHN, With the designated order repeated in each of four passes and Adam at a learning rate of , modifying batches, the three quantities hold together: the random-order sensitivity is , the designated sensitivity is , and the residual ratio is .
The -epoch CIFAR-10 run you cite is reported for a different purpose, which we should have separated more clearly: it shows that the accuracy cost of the designated run falls as the number of passes grows, from points at one pass to points at . You are right that it does not demonstrate the single-pass stealth properties at the same time. Its residual ratio is because the construction of those runs does not bound the total gradient at , and its random-order sensitivity is because the modified data are seen times under any order. This row is about cost and not about stealth, and we point to the SVHN row above for a multi-epoch setting that meets all three conditions.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes a data poisoning method that controls the activation of a backdoor through the presentation order of mini-batches during fine-tuning. The authors show that the same modified training data can induce a backdoor under a designated order, while producing little backdoor response under a random order. To explain this phenomenon, they develop an approximate theory based on SGD dynamics. The proposed method is evaluated on five tasks involving image, audio, and graph classification.
Strengths
The paper shows a phenomenon in which the activation of a backdoor depends on the mini-batch presentation order, even when the same modified training data are used. The authors also propose an intuitive theoretical framework to explain the underlying mechanism.
Weaknesses
- The validity of the proposed theory is not sufficiently verified.
1-1. While the theory analyzes the parameter displacement Z, the experiments evaluate the sensitivity S. The relationship between these quantities remains unclear. In particular, the theoretical predictions for Z are not directly compared with measured values.
1-2. The derivation of Eq. (7) neglects the batch dependence of the Hessian and the contribution from parameter displacements orthogonal to the implant direction. However, the validity of these approximations is not sufficiently examined.
- The effectiveness of the proposed method under practical learning rates remains questionable.
2-1. Practical fine-tuning often requires small learning rates to maintain high accuracy. Learning rate scheduling and possible changes in curvature during training may further increase the relaxation length L relative to the epoch length m, potentially weakening the proposed effect. Indeed, in Appendix B, the authors report that fine-tuning with a small learning rate did not produce sufficient order dependence. However, the relationship between the learning rate, the effectiveness of the method, and classification accuracy has not been systematically investigated.
Questions for the authors
- Could the authors directly compare the theoretically predicted Z with its measured values? Could they also provide a theoretical explanation of the relationship between Z and S, or at least investigate this relationship numerically?
- Could the authors numerically examine the differences in curvature between clean and modified batches, as well as the variation across batches? Could they also verify the validity of neglecting the contributions from parameter displacements orthogonal to the implant direction?
- Could the authors systematically investigate how the learning rate affects L/m, Z, the designated sensitivity, the random-order sensitivity, and classification accuracy? In particular, does the proposed method remain effective while maintaining high accuracy and sufficiently low random-order sensitivity? How does the learning-rate schedule affect the results?
- Could the authors examine how the curvature lambda changes during training? In particular, is the assumption of constant curvature in the multi-epoch analysis justified?
- (Minor question) Why is the residual ratio gamma for SVHN in Table 1 substantially larger than those for the other tasks? Could this be related to the relatively high classification accuracy of the base model?
6 comments
W1, Part 1 and Q1: how displacement Z and sensitivity S are linked
We perform the comparison. On CIFAR-10, we test 20 runs with different learning rates and block lengths. For each run we evaluate the closed form of Eq. (7) from the curvature and the push measured at and compare it with the displacement measured after the pass. The prediction is larger than the measured value in every run, so Eq. (7) is an upper bound on .
Nevertheless, the relation the construction relies on is valid in this empirical test: the sensitivity increases with the displacement. Sorting the twenty runs by into four groups of five, the designated sensitivity rises through , , and , while the random-order sensitivity stays between and ; the Spearman correlation between and the designated sensitivity is . We report both in the new Appendix A.6.
W1, part 2 and Q2: displacement variation and the orthogonal term
We examined the three quantities you asked for. The first and third are measured on MNIST: a network with parameters, plain SGD with , one pass over batches of samples, of them modified, , mean curvature along over all batches , relaxation length $L = 1/(\eta\lambda) = 97$ batches.
Curvature of clean and modified batches. At we computed for each of the modified batches before and after modification. The curvature along is (s.d. ) on the modified batches and (s.d. ) on the same batches unmodified. In the designated order the last steps are all modified batches, so their weights are products of over modified batches. With in place of , the sum of these weights drops from to , by . The measured displacements and the gap reported below include this effect, and the gap remains significant.
Variation across batches. On the CIFAR-10 base model ( batches of ) the curvature along has mean , standard deviation , minimum and maximum . Replacing each batch's curvature by a constant does not hold batch by batch. What Eq. (7) uses is the product of over the batches presented after a given step. Its logarithm is
At the second-order term is of the first per batch. The first-order term over batches differs from by the fluctuation of a partial sum, at most about , so each weight is within about of . In addition, the decomposition in the next paragraph uses each batch's own curvature and needs no constant.
Displacement orthogonal to . Reviewer jH1Y raised the same point. The justification in Appendix A.1, that the term cancels between the designated order and a random order, is wrong: the transverse part of the displacement depends on the order. We measured the term along the actual trajectories of the designated order and four random orders. Summing the exact one-step update gives , with the push , the curvature term , the transverse term , and the second-order remainder .
The five rows of the decomposition are Table 2 of the revised paper, in the new Appendix A.2, and we give the short form here. The ratio is to , so the dropped term is not negligible within a single order. The push is identical across orders, so it contributes nothing to the difference between them. The gap is produced by the curvature term, , which is the mechanism of Section 4; the transverse term has the same sign in all five orders and reduces the gap by , leaving a measured gap of , which is times the standard deviation of over the four random orders. The gap itself is measured, not predicted: the designated order moves the weights along against for the random orders, times as far.
Changes to the paper. All changes are marked in blue in the revised PDF.
- Section 4. We removed the reason "because the orders we compare share it" for dropping the orthogonal displacement and added: "The dropped term depends on the order; Appendix A.2 measures it on MNIST: the dropped term reduces the gap between the designated and a random order, but the gap remains significant."
- Appendix A.1. We removed "it is shared by the two orders compared below and cancels in their difference" and added: "This term depends on the order through and does not cancel between two orders; Section A.2 measures it along actual trajectories."
- New Appendix A.2, "Size of the dropped terms". It gives the decomposition and the table above as Table 2, the conclusion that the gap is produced by the curvature term, as Eq. (7) describes, and remains significant, and the curvature of the modified batches before and after modification with its effect of on the designated displacement.
W2, part 1 and Q3: learning rate and "gentle" modification and sensitivity-accuracy-trade-off
We have performed the experiments you ask for and report them below. To interpret the results, it is useful to recall that the work is an existence claim, as the revised abstract now states: we report a potential weakness of a network that appears to have been trained normally
- in a given setting, the presentation order of label-preserving data can decide whether a sensitivity is implanted. Many factors can affect the existence and the exposure of the order-gated sensitivity. Below we report the effect of the learning rate and its schedule.
Learning rate. Twenty runs on one base (CIFAR-10, parameters, clean accuracy , one pass over batches of samples) cover five learning rates and two block lengths .
| random | designated | acc. clean | acc. desig. | ||||
|---|---|---|---|---|---|---|---|
is the measured displacement in units of the threshold distance, is the number of modified batches, and the two accuracy columns are the clean-data run and the designated run.
The row at is the one you ask for: the clean run is within points of the base, the random-order sensitivity is to , and the designated sensitivity is to .
Schedule. Four schedules at the same working point, each with the designated order once and twelve random orders:
| schedule | over last | random | designated | acc. clean | acc. random | acc. desig. |
|---|---|---|---|---|---|---|
| constant | 0.0200 | 0.037 | 0.241 | 0.901 | 0.891 | 0.628 |
| cosine to | 0.0000 | 0.032 | 0.016 | 0.903 | 0.895 | 0.904 |
| cosine to | 0.0020 | 0.033 | 0.062 | 0.903 | 0.894 | 0.781 |
| step to at 90% | 0.0020 | 0.032 | 0.062 | 0.902 | 0.894 | 0.778 |
The two annealed schedules end at the same and give the same result, so what the schedule controls is the mean learning rate over the last batches.
Curvature. On the same base is at and , , at three points inside the pass. At the ends of four later passes it is , , , . Appendix A.1 now states that the constant-curvature step is a one-pass statement.
Lower modification. On CIFAR-10, modifying of the samples rather than gives a designated sensitivity of against under a random order. The designated run then keeps an accuracy of against for the clean-data run, and the residual ratio falls from to (Section 6).
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper studies data poisioning attack by manipulating the training batches order. It trains a model like clean data under a uniformly random batch order, and implants a response to a trigger pattern under a designated order that presents the modified batches last. A theoretical framework is developed. Experiments across five tasks confirm the behaviour that the designated order implants the response.
Strengths
- This paper presents a different way to study clean-label poisioning. Unlike previous works that generally implant malicious behavior independent of data batch order, this work shows that a desinated order also makes a strong influence. The paper comes up with a theoretical framework that explains how the contribution of a batch to the final weights decays exponentially, hence supports the design of last batch.
Weaknesses
- One biggest concern is about the strong assumption that may limited its practical application. The proposed attack assumes the exact order of batches are modifiable, thus modified batches can be presented last. However, a modern model usually uses distributed training, random augmentations and data shuffling in different epochs. This makes the attack method highly fragile.
Questions for the authors
- Is there a practical application where the batch order can be manipulated? What about two training epochs (very common in VLM), will last batches in first epoch make any impacts on the attack?
- How does the method work with different optimizors, such as momentum or Sign-based methods?
5 comments
W1 (Part 1) and Q1: order assumption and multiple epochs
Reshuffling. Thanks for pointing out that reshuffling removes the effect. In revision, we clarify (Remark 1, after Proposition 1, p. 5) that the attack requires the modified batches to be presented in the final stretch of the whole run. Reshuffling after the first pass would reduce the push along (the direction of sensitivity) that the batches at the end of the first pass produced.
This phenomenon has been reported in Fig. 3 in the submission (See the discussion in Panel (a)). In the revision, we state the condition clearly and add a table (Appendix C.5, Table 9) that lists the reshuffled series of Fig. 3(a), together with a one-pass and a reused-order run on the same base.
A similar argument applies to the effect of the last batches in a non-final epoch -- batches in later epochs remove them from the final stage of training.
Where the order is fixed by the party that delivers the data. We report a weakness, and once the weakness exists the risk is real. How it would be exploited is outside the scope of this work and we have not attempted it. One possibility is that the party that modifies the data learns or arranges the random seed of the training party, and then knows which batches are presented last.
W1, Part 2: different training schemes
Random augmentation. Thanks for pointing out these factors.
We have performed the experiments you ask for and report them below. It is useful to recall that the work is an existence claim: we report a potential weakness of a network that appears to have been trained normally. Many factors can affect the existence and the exposure of the order-gated sensitivity. Reshuffling is the one that removes it, and we report it separately. Below we report random augmentation and distributed training.
Random augmentation. On the CIFAR-10 working point (base accuracy , one pass over batches of samples, , batches modified), with the designated order once and twelve random orders at each strength:
| victim's loop | random | designated | acc. clean | acc. random | acc. desig. |
|---|---|---|---|---|---|
| no augmentation | 0.037 | 0.241 | 0.901 | 0.891 | 0.628 |
| random crop | 0.026 | 0.172 | 0.901 | 0.894 | 0.699 |
| crop and flip | 0.027 | 0.181 | 0.901 | 0.894 | 0.746 |
The crop is a -pixel reflection pad with an independent random crop per sample; the flip is an independent random horizontal flip, which is the augmentation this base was pretrained with. In every row the designated order beats all twelve random orders, so the permutation is .
Distributed training. With workers averaging their gradients the recursion keeps its form with the step index counted in global steps, so a batch carries the weight raised to the number of global steps presented after it. The modified block then has to fill the last global steps, its length is quantized in units of , and the relaxation length measured in batches becomes . The derivation is in Appendix A.5. We have not run a data-parallel experiment.
Q2: Optimizers
We performed the asked tests as follows.
Momentum. It keeps working with momentum, and the stopping point is as predicted. A heavy-ball buffer is a first-order low-pass filter with time constant batches, so a modified block of length gets the full position weight on each of its batches only once . On the same base (CIFAR-10, clean accuracy , one pass), with the learning rate of each coefficient scaled by so that the asymptotic step is the same in every row and the comparison is about the momentum and not about the step:
| optimizer | designated | ||
|---|---|---|---|
| plain gradient descent | 1 | 32 | |
| momentum | 10 | 8 | |
| momentum | 10 | 16 | |
| momentum | 100 | 16 | |
| momentum | 100 | 32 |
The random-order is in the plain-descent row and the clean-data keeps an accuracy of . The transition sits where and cross, as the filter argument says.
Adam. The effect is strongest at the middle learning rates: with at the designated sensitivity is with a clean-data accuracy of , and with at it is with . At neither order responds, for the designated order, because the clean-data run itself is down to an accuracy of and the run has left the regime where a one-pass fine-tune means anything.
Sign-based optimizers. We have not run signSGD or Lion, and we do not claim the above extends to them. The nearest thing our data contain is Adam, which approaches a per-coordinate sign step when the second moment is small, and there the effect survives. A strict sign rule removes the magnitude of the gradient entirely, which is the quantity the construction uses, so we would expect the push per batch to saturate and the block to have to be longer; we have not measured this and we say so in the appendix rather than assert it.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
W1 and Q1: orthogonal term
The transverse term. You are right on both points. The transverse part y(t) of the displacement is determined by the order, so v⊤Hjy(t) does not cancel between two orders. We have corrected the discussion in Appendix A.1.
We perform measurements along the actual trajectories as asked. The specific settings and results are as follows.
Setting.
From w0 we run the designated order and four random orders. At every step we take the batch presented at that step and compute one Hessian-vector product hj=Hjv, where Hj is the Hessian of that batch's loss at w0; the trajectory quantities Z(t) and y(t) are read from the actual weights w(t). Summing the exact one-step update along each trajectory gives
where P=−η∑tbσ(t) is the push, C=−η∑tZ(t)v⊤Hσ(t)v is the retained curvature term, T=−η∑ty(t)⊤hσ(t) is the dropped transverse term, and S is the remainder of second and higher order. P depends only on the set of batches and is the same for all orders.
C and T are the two halves of the same first-order term v⊤Hσ(t)u(t), split only because the recursion tracks Z; together they pull Z back by 3.021 in the designated order and by 3.242 to 3.327 in the four random orders.
Changes to the paper. All changes are marked in blue in the revised PDF.