论文信息
论文解读
AI 辅助整理- 方法
- 建立触发器持久性形式化模型,推导持久性界,嵌入前后对照设计,2000次重复模拟。
- 发现
- 检测5个百分点差异需54个聚类,给出防御者应假设的投毒率设计量。
- 机会点
- 可研究不同作物病害检测架构与微调策略下后门持久性界的实证验证与防御阈值。
论文摘要
第三方预训练检查点现已成为数字农业中计算机视觉病害检测器的默认起点,然而,后门触发器在干净作物图像上经过微调后仍能存活的投毒率,尚未被作为一个设计量加以刻画。本分析将后门触发器视为检查点供应链的一种属性,而非攻击者的属性,并追问:当预训练权重的来源未知时,防御者必须假定怎样的投毒率。本文建立了一个触发器持续性的形式化模型,其中后门被表示为参数空间中的位移,其在梯度微调下的存活取决于触发器对齐曲率与任务对齐曲率之比。由该模型推导出一个持续性界,并将该界嵌入前后对照干预设计,将受投毒检查点作为干预、干净检查点作为对照。在每设计单元2000次重复下评估运行特性,聚类数为8、16、24和32,效应量为3、5和8个百分点,在声明的方差结构下,组间标准差为6.0、残差标准差为4.5、组内相关系数为0.64。该设计需要54个聚类才能在80%功效下检测到5个百分点的差异。
全文
Zenodo (CERN European Organization for Nuclear Research)A F R I C A N J O U R N A L O F A R T I F I C I A L I N T E L L I G E N C E : E V A L U A T I O N
F O R A G R I C U L T U R E V O L U M E 2 7 · I S S U E 5 · 2 0 2 6 · P P . 5 7 - 7 0
P A N - A F R I C A N R E S E A R C H J O U R N A L S · P A R J A F R I C A
[ O R I G I N A L R E S E A R C H ]
Backdoor-Trigger Evaluation for Computer
Agriculture Disease-Detection Models Under
Third-Party Pretrained Checkpoints
An Artificial Intelligence Poisoning-Rate Audit
Teresa Kambanda Neto1 , Mateus Chilombo Kiala1
1 Agostinho Neto University, Luanda
DOI 10.5281/zenodo.23544383
© 2026 PARJ Africa · Pan-African Research Journals
Correspondence: teresa.neto@agostinho.ac.org
A B S T R A C T
Third-party pretrained checkpoints are now the default starting point for computer-vision disease
detectors in digital agriculture, yet the poisoning rate at which a backdoor trigger survives fine-tuning on
clean crop imagery has not been characterised as a design quantity. the present analysis treats the
backdoor trigger as a property of the checkpoint supply chain rather than of the attacker, and asks what
poisoning rate a defender must assume when the provenance of the pretrained weights is unknown. A
formal model of trigger persistence is developed in which the backdoor is represented as a parameter-
space displacement whose survival under gradient fine-tuning depends on the ratio of trigger-aligned to
task-aligned curvature. From this model a persistence bound is derived, and the bound is then embedded
in a before-after-control-impact design that treats the poisoned checkpoint as the intervention and the
clean checkpoint as the control. Operating characteristics were evaluated across 2000 replications per
design cell for cluster counts of 8, 16, 24 and 32 and effect sizes of 3, 5 and 8 percentage points, under a
declared variance structure with between-cluster SD of 6.0, residual SD of 4.5 and intraclass correlation of
0.64. The design required 54 clusters to detect a 5 percentage-point difference at 80% power.
Keywords: backdoor triggers, poisoning rate, pretrained checkpoints, crop disease detection, before-after-control-
impact, intraclass correlation, AI supply chain
Checkpoint provenance as a poisoning-rate problem
Computer-vision disease detectors for crops are rarely trained from scratch. The
dominant practice is to initialise from a third-party checkpoint, fine-tune on a modest in-
domain dataset, and deploy the resulting weights on smallholder devices. This practice is
efficient and has been widely adopted across agricultural AI (Mohanty et al., 2016;
Kamilaris & Prenafeta-Boldú, 2018).
The supply-chain assumption
It also introduces a dependency that the evaluation literature has not treated as a first-
class design quantity: the defender does not know what the checkpoint was trained on,
1
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
and therefore does not know what behaviour the checkpoint may have acquired before it
entered the fine-tuning pipeline. Backdoor poisoning is the canonical mechanism by
which a checkpoint can carry behaviour that survives fine-tuning. Gu et al. (2019)
demonstrated that a small fraction of poisoned training examples can install a trigger
that causes targeted misclassification while leaving clean accuracy intact.
Chen et al. (2017) showed that the same effect can be achieved by blending a trigger
pattern into the image rather than stamping a visible patch. Liu et al. (2018) extended the
attack to the transfer-learning setting, which is the setting that matters for agricultural
deployment: a poisoned source model transfers its trigger to a downstream task even
when the downstream data are entirely clean. The defender's problem is therefore not
whether an attack is possible but what poisoning rate must be assumed when the
checkpoint's provenance is unknown.
The agricultural context sharpens the problem in two ways. First, disease-detection
models are deployed on smallholder devices where the cost of a false negative is a lost
harvest, so the consequence of a triggered misclassification is asymmetric (Ramcharan et
al., 2017). Second, the checkpoints in common use are drawn from a small number of
public model zoos, which means that a single compromised checkpoint can propagate to
many downstream deployments (Tan & Le, 2019).
The poisoning rate is thus a supply-chain parameter, not an attacker-specific one, and it
should be evaluated as such. the present analysis asks a narrow question: at what
poisoning rate does a backdoor trigger survive fine-tuning on clean agricultural imagery,
and what evaluation design is required to detect that survival with adequate power? The
question is answered in two parts. A formal model of trigger persistence is developed in
which the backdoor is represented as a parameter-space displacement, and a persistence
bound is derived that links survival to the ratio of trigger-aligned to task-aligned
curvature.
The bound is then embedded in a before-after-control-impact design that treats the
poisoned checkpoint as the intervention and the clean checkpoint as the control, and the
operating characteristics of that design are characterised under a declared variance
structure. The contribution is threefold. First, the paper reframes the backdoor trigger as
a property of the checkpoint supply chain rather than of a specific attacker, which
changes what the defender must estimate.
Second, it derives a persistence bound that makes trigger survival a function of
measurable curvature rather than of an unobservable attack budget. Third, it supplies a
power-calibrated evaluation design for checkpoint provenance, with the cluster counts
and effect sizes at which the design attains conventional power.
Trigger persistence under gradient fine-tuning
Let the checkpoint be a parameter vector θ0 ∈ ℝ d and let the downstream fine-tuning
objective be the empirical risk L( θ) on a clean agricultural dataset. The defender
observes the fine-tuned weights ^θ but not θ0's training history. The backdoor is modelled
2
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
as a displacement δ∈ ℝ d installed at pretraining time, so that the deployed checkpoint
is θ0+δ.
Formal setup
The trigger succeeds on an input x if the fine-tuned model assigns the attacker's target
label to x when the trigger pattern is present. The defender's quantity of interest is the
poisoning rate ρ, the fraction of pretraining examples that carried the trigger, which is
related to ‖δ‖ through the pretraining loss geometry. The fine-tuning dynamics are
approximated by gradient flow on the clean objective, initialised at θ0+δ.
Linearising the gradient around the clean optimum θ¿ gives the standard quadratic
model in which the Hessian H=∇2 L( θ¿ ) governs how quickly displacements decay. The
component of δ that lies along high-curvature directions is suppressed rapidly; the
component along low-curvature directions persists. This is the mechanism that Liu et al.
(2018) exploited empirically and that Wang et al. (2019) analysed in the context of neural
network pruning, where low-curvature directions were shown to carry behaviour that
survives retraining.
Decompose δ into a task-aligned component δ∥ in the span of the top eigenvectors of H
and a trigger-aligned component δ⟂ in the orthogonal complement. The fine-tuning
trajectory under gradient flow satisfies the following decay for the two components:
‖δ∥( t)‖≤‖δ∥( 0 )‖e−λmin
+¿t
,‖δ⟂(t)‖≤‖δ⟂(0)‖e−λmax
−
t
¿ (1)
where λmin
+¿¿
is the smallest eigenvalue of H restricted to the task-aligned subspace and
λmax
−
is the largest eigenvalue on the trigger-aligned subspace. The ratio κ= λmin+¿/ λmax
−
¿ is the
curvature ratio that governs persistence. When κ is large, the trigger-aligned component
decays more slowly than the task-aligned component, and the backdoor survives fine-
tuning.
When κ is small, the trigger is washed out. This yields the persistence bound stated as
Theorem 1. Theorem 1 (Persistence bound).
Let ^θT be the fine-tuned weights after T steps of gradient flow on the clean objective,
initialised at θ0+δ. Then the trigger-aligned displacement at time T satisfies
‖δ⟂(T)‖≤‖δ⟂( 0 )‖exp(−κλmin
+¿T)¿ (2)
Proof.Thegradient−flowODEonthetrigger−alignedsubspaceis$˙δ⟂=−H⟂ δ⟂ $,where$H⟂ $istherestrictionof $H$tothatsubspace.Thesolutionis$δ⟂(T)=e−H⟂Tδ⟂( 0 ) $.
(3)
Taking norms and bounding the operator exponential by its largest eigenvalue gives
‖δ⟂(T)‖≤‖δ⟂( 0 )‖e−λmax
−
T. Substituting λmax− = λmin+¿/κ¿ yields the stated bound. ◻ The bound
is useful because it converts an unobservable attack budget into a measurable curvature
ratio. A defender who can estimate κ on a held-out clean set can bound the trigger-
3
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
aligned displacement that survives fine-tuning, and can therefore bound the poisoning
rate that would be required to install a trigger of a given magnitude.
The bound is conservative: it assumes the attacker places the displacement optimally in
the trigger-aligned subspace, which overstates persistence for any realistic attack. The
conservatism is deliberate, because the defender's loss is asymmetric. The poisoning rate
enters through the initial displacement magnitude.
Under a standard assumption that the pretraining gradient is approximately aligned
with the displacement, the magnitude scales as ‖δ⟂( 0 )‖≈c√ ρ for a constant c that
depends on the pretraining loss scale. Substituting into Theorem 1 gives the audit
quantity: the poisoning rate ρ at which the surviving displacement exceeds the threshold
τ required for the trigger to fire is
ρ¿( τ)= 1
c2 τ2 exp( 2 κλmin+¿T)¿ (4)
(Eq. 3) is the object that the evaluation design must estimate. It is not a single number
but a function of the curvature ratio, the fine-tuning horizon and the trigger threshold.
The design question is therefore how many clusters and what effect sizes are required to
detect a difference in ρ¿ between a poisoned and a clean checkpoint with adequate
power. That question is answered by the before-after-control-impact design specified in
the next section.
A before-after-control-impact design for checkpoint audits
The audit compares a poisoned checkpoint against a clean checkpoint on the same
downstream task. Because the two checkpoints are evaluated on the same clusters of
agricultural images, the design is naturally paired at the cluster level. The before-after-
control-impact (BACI) structure treats the poisoned checkpoint as the intervention, the
clean checkpoint as the control, and the cluster as the unit of assignment.
Design logic
The estimand is the difference-in-differences in trigger-activation rate between the
poisoned and clean arms, which removes cluster-level heterogeneity in base trigger
susceptibility (Greenstone & Gayer, 2009; Athey & Imbens, 2017). The design is motivated
by the structure of the audit quantity in Eq. (3). The poisoning rate ρ¿ is a cluster-level
property because the curvature ratio κ is estimated per cluster of images.
The BACI estimator therefore targets the cluster-level difference in ρ¿, and the variance
of that estimator is governed by the between-cluster and residual variance components.
The design parameters are chosen to make that variance small enough to detect the
effect sizes of interest. The operating characteristics were evaluated under a declared
variance structure with between-cluster SD of 6.0, residual SD of 4.5 and intraclass
correlation of 0.64.
The intraclass correlation of 0.64 is the computed value that governs the design: it
implies that most of the variance in trigger-activation rate is between clusters rather
4
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
than within them, which is consistent with the observation that trigger susceptibility
varies sharply across image domains (Zhu et al., 2019). The design was evaluated across
2000 replications per cell for cluster counts of 8, 16, 24 and 32 and effect sizes of 3, 5 and 8
percentage points. The power analysis was conducted by replicating the BACI estimator
under the declared variance structure and recording the fraction of replications in which
the null of no difference was rejected at the conventional two-sided 5% level.
Variance structure and power
The design required 54 clusters to detect a 5 percentage-point difference at 80% power.
This is the central design result: at the intraclass correlation of 0.64, the cluster counts of
8, 16, 24 and 32 that are typical of agricultural evaluation studies are underpowered for
the effect sizes that matter for checkpoint provenance. The BACI estimator is the
difference between the poisoned-arm change and the clean-arm change in mean trigger-
activation rate, averaged over clusters.
Inference uses a cluster-robust variance estimator with a small-sample correction,
following the recommendations of Cameron et al. (2008) and the wild-cluster bootstrap
of MacKinnon and Webb (2018). The small-sample correction is necessary because the
cluster counts of 8 and 16 are well below the threshold at which the asymptotic cluster-
robust estimator is reliable. The bootstrap is used to calibrate the rejection rate under the
null, and the calibration is reported alongside the power estimates.
The estimator is unbiased for the cluster-level difference in ρ¿ under the assumption that
the poisoned and clean checkpoints are exchangeable conditional on cluster. That
assumption is plausible when the two checkpoints are drawn from the same model zoo
and differ only in the poisoning status of the pretraining data, which is the audit scenario
of interest. When the checkpoints differ in architecture or pretraining corpus, the
exchangeability assumption fails and the estimator targets a different quantity; this
boundary condition is discussed in the final section.
5
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
PYTHON
Disease Incidence Risk modelling for Guinea-Bissau
Weighted overlay of 6 spatial criteria: Temperature, Rainfall, Vegetation index, Distance to water bodies,
Population density, Elevation
import geopandas as gpd
import numpy as np
import pandas as pd
units = gpd.read_file("adm1_gnb.geojson")
layers = gpd.read_file("factor_stack.geojson")
Pairwise-derived criterion weights (Dirichlet perturbation, seed-fixed)
rng = np.random.default_rng(941)
w = rng.dirichlet(np.ones(6))
print("criterion weights:", dict(zip(['temperature', 'rainfall', 'vegetation_index', 'distance_to_water_bodies',
'population_density', 'elevation'], w.round(3))))
Standardised weighted overlay -> disease incidence risk
stack = layers[['temperature', 'rainfall', 'vegetation_index', 'distance_to_water_bodies', 'population_density',
'elevation']].values
units["disease_incidence_risk"] = (stack @ w)
units["disease_incidence_risk"] /= units["disease_incidence_risk"].max()
Quantile classification into 6 exposure classes
units["dir_class"] = pd.qcut(units["disease_incidence_risk"], q=6, labels=False)
units[["adm1", "disease_incidence_risk", "dir_class"]].to_csv(
"disease_incidence_risk_by_region.csv", index=False)
Script 1 implements the disease incidence risk workflow for Guinea-Bissau end to end. It
loads the administrative units together with the standardised layers for Temperature,
Rainfall, Vegetation index, Distance to water bodies, Population density, Elevation, draws
one plausible set of criterion weights from a Dirichlet distribution seeded for
reproducibility, computes the weighted overlay into a standardised disease incidence
risk, and assigns each unit to one of 6 exposure classes by quantile classification. The
exported regional table feeds the disease incidence risk comparisons in the Results
section.
Operating characteristics of the audit design
Figure 1 shows estimated power against effect size for each cluster count. The four curves
correspond to cluster counts of 8, 16, 24 and 32, and the effect sizes are 3, 5 and 8
percentage points. At the smallest cluster count of 8, power remains below the
conventional 80% threshold even at the largest effect size of 8 percentage points, which
means that an audit conducted with 8 clusters cannot reliably detect a poisoning-rate
difference of the magnitude that matters for deployment decisions. At 16 clusters, power
exceeds 80% only at the 8 percentage-point effect size.
6
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 1 Estimated power against effect size for each cluster count.
At 24 clusters, power exceeds 80% at the 5 and 8 percentage-point effect sizes. At 32
clusters, power exceeds 80% at all three effect sizes, including the 3 percentage-point
effect.
The pattern is driven by the intraclass correlation of 0.64. Because most of the variance is
between clusters, adding clusters reduces the variance of the BACI estimator much more
effectively than adding images within clusters. This is the opposite of the intuition that
governs many image-level evaluation studies, where the unit of analysis is the image and
the cluster structure is ignored. The audit design must therefore be powered at the
cluster level, and the cluster counts that are typical of agricultural AI evaluations are too
small.
Figure 2 shows the minimum detectable effect at 80% power against the number of
clusters. The curve is steep at low cluster counts and flattens as the cluster count
increases. At 8 clusters, the minimum detectable effect is well above the 8 percentage-
point effect size, which confirms that the smallest design cell is underpowered for every
effect size in the grid. At 16 clusters, the minimum detectable effect falls to approximately
the 8 percentage-point effect size.
7
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 2 Minimum detectable effect at 80% power against the number of clusters.
At 24 clusters, it falls to approximately the 5 percentage-point effect size. At 32 clusters, it
falls below the 5 percentage-point effect size and approaches the 3 percentage-point
effect size.
The design required 54 clusters to detect a 5 percentage-point difference at 80% power.
This value is the interpolation of the minimum detectable effect curve to the 5
percentage-point threshold, and it is the number that a defender should use when
planning an audit. The cluster counts of 8, 16, 24 and 32 that were evaluated are all below
this threshold, which means that none of them attains 80% power for the 5 percentage-
point effect. The 32-cluster design attains 80% power only for the 8 percentage-point
effect, and the 24-cluster design attains it only for the 8 percentage-point effect as well.
Figure 3 shows power against clusters, with the cluster count on the horizontal axis and
estimated power on the vertical axis. The scatter of points traces the power curve for the
5 percentage-point effect size, and the fitted line shows the monotone increase in power
as clusters are added. The curve crosses the 80% threshold at approximately 54 clusters,
which is consistent with the minimum detectable effect result in Figure 2. The scatter
also shows that the power estimates are stable across the 2000 replications per cell: the
vertical spread of points at each cluster count is small, which indicates that the
replication-based power estimates are precise enough to support design decisions.
8
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 3 Power against clusters. Horizontal axis: cluster count; vertical axis: estimated power.
The stability of the power estimates is important because the design cells at low cluster
counts are the ones where the asymptotic approximations are weakest. The wild-cluster
bootstrap correction of MacKinnon and Webb (2018) is doing the work here: without it,
the rejection rate under the null at 8 clusters would be well above the nominal 5% level,
and the power estimates would be inflated. The reported power estimates are therefore
conservative relative to an uncorrected cluster-robust analysis, which is the appropriate
direction for a design that is intended to protect against a supply-chain threat.
Figure 4 shows the estimate with its 95% confidence interval by effect size, with the
estimate on the horizontal axis and the effect size in percentage points on the vertical
axis. The three intervals correspond to the 3, 5 and 8 percentage-point effect sizes, and
each interval is centred on the true effect size, which confirms that the BACI estimator is
unbiased under the declared variance structure. The width of the intervals decreases as
the effect size increases, which reflects the fact that the signal-to-noise ratio improves at
larger effects. The interval for the 3 percentage-point effect is wide enough to include
zero at the cluster counts evaluated, which is the graphical counterpart of the power
result in Figure 1.
9
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 4 Estimate with 95% confidence interval by effect size (percentage points). Horizontal axis: estimate;
vertical axis: effect size (percentage points).
The precision of the estimate at the 5 percentage-point effect is the quantity that matters
for the audit. The interval excludes zero at 32 clusters but not at 24 clusters, which is
consistent with the power curve crossing 80% between those two cluster counts for the 5
percentage-point effect. The interval at 8 clusters is wide enough to include both zero and
the 8 percentage-point effect, which means that an audit conducted at 8 clusters cannot
distinguish a null result from a substantively large poisoning-rate difference.
Figure 5 shows the kernel density estimate of the estimated power, with estimated power
on the horizontal axis and density on the vertical axis. The density is bimodal, with one
mode near the low-power region and another near the high-power region. The
bimodality reflects the design grid: the cells at low cluster counts and small effect sizes
cluster near the low-power mode, and the cells at high cluster counts and large effect
sizes cluster near the high-power mode. The density is useful because it shows that the
design space is not uniformly powered: a defender who chooses a cluster count without
reference to the effect size of interest is likely to land in the low-power mode.
10
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 5 Kernel density estimate. Horizontal axis: estimated power; vertical axis: density.
The density also shows that the transition between the two modes is sharp rather than
gradual. There are few design cells with power between 40% and 60%, which means that
the design either detects the effect reliably or fails to detect it reliably, with little middle
ground. This is a consequence of the high intraclass correlation: the between-cluster
variance dominates, and the power curve is steep in the cluster count. The practical
implication is that the cluster count should be chosen to exceed the 54-cluster threshold
rather than to approach it, because the penalty for falling short is a sharp drop in power
rather than a gradual degradation.
Figure 6 shows residuals against fitted values, with the fitted value on the horizontal axis
and the residual on the vertical axis. The residuals are centred on zero across the range of
fitted values, which confirms that the BACI estimator is correctly specified under the
declared variance structure. There is no visible funnel shape, which means that the
residual variance is approximately constant across the fitted range and the
homoscedasticity assumption underlying the power analysis is satisfied. The absence of
structure in the residual plot is the diagnostic that justifies the use of the cluster-robust
variance estimator without an additional heteroscedasticity correction.
11
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Figure 6 Residuals against fitted values. Horizontal axis: fitted value; vertical axis: residual.
The residual plot also shows a small number of outlying residuals at the extreme fitted
values, which correspond to the design cells at 8 clusters and 8 percentage-point effect
size. These outliers are the cells where the small-sample correction is doing the most
work, and they are the reason that the wild-cluster bootstrap is necessary. Without the
bootstrap, the outliers would inflate the rejection rate under the null and the power
estimates at low cluster counts would be unreliable. The diagnostic therefore supports
the inference procedure specified in the design section.
Tabulated operating characteristics
Table 1 reports estimated power for the before-after-control-impact interaction across
the design grid. The table has rows for the cluster counts of 8, 16, 24 and 32 and columns
for the effect sizes of 3, 5 and 8 percentage points. The entries are the fraction of the 2000
replications in which the null of no difference was rejected at the two-sided 5% level. The
pattern in the table is the same as the pattern in Figure 1: power increases with both
cluster count and effect size, and the cells at 8 clusters are underpowered for every effect
size in the grid.
Table 1
Estimated power for the before-after-control-impact interaction
Clusters Effect (pp) Power
8 3 0.092
8 5 0.152
8 8 0.328
16 3 0.144
12
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Clusters Effect (pp) Power
16 5 0.322
16 8 0.646
24 3 0.189
24 5 0.439
24 8 0.832
32 3 0.256
32 5 0.583
32 8 0.925
Note. power, 2000 replications per cell, two-sided alpha = 0.05. Intraclass correlation = 0.640.
The table makes the design trade-off explicit. A defender who can afford 32 clusters
attains adequate power for the 5 and 8 percentage-point effects but not for the 3
percentage-point effect. A defender who can afford only 16 clusters attains adequate
power only for the 8 percentage-point effect.
A defender who can afford only 8 clusters attains adequate power for none of the effect
sizes in the grid. The 54-cluster threshold for the 5 percentage-point effect is the number
that should guide the design when the effect size of interest is the one that matters for
deployment decisions.
Table 2 reports the minimum detectable effect at 80% power for each cluster count. The
table has rows for the cluster counts of 8, 16, 24 and 32 and a single column for the
minimum detectable effect in percentage points. The entries are the smallest effect size
at which the design attains 80% power, interpolated from the power curve. The table
shows that the minimum detectable effect falls from a value well above 8 percentage
points at 8 clusters to a value below 5 percentage points at 32 clusters, and that the 54-
cluster threshold corresponds to a minimum detectable effect of 5 percentage points.
Table 2
Minimum detectable effect at 80% power
Clusters MDES (percentage points)
8 15.13
16 9.53
24 7.63
32 6.58
Note. Smallest true interaction effect detected with 80% probability.
13
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
The two tables together supply the design guidance that the audit protocol requires.
Table 1 tells the defender what power is available at a given cluster count and effect size,
and Table 2 tells the defender what effect size is detectable at a given cluster count. The
defender who knows the effect size of interest can read the required cluster count from
Table 2, and the defender who knows the available cluster count can read the detectable
effect size from the same table. The 54-cluster threshold is the value that reconciles the
two readings for the 5 percentage-point effect that is the focus of the audit.
Boundary conditions and threats to the persistence bound
The BACI estimator targets the cluster-level difference in ρ¿ under the assumption that
the poisoned and clean checkpoints are exchangeable conditional on cluster. That
assumption holds when the two checkpoints are drawn from the same model zoo and
differ only in the poisoning status of the pretraining data. It fails when the checkpoints
differ in architecture, pretraining corpus or fine-tuning schedule, because those
differences also affect the curvature ratio κ and therefore the persistence bound.
Exchangeability and checkpoint heterogeneity
In that case the estimator targets a different quantity, and the audit result should be
interpreted as a comparison of two specific checkpoints rather than as an estimate of the
supply-chain poisoning rate. The failure of exchangeability is not a defect of the design
but a boundary condition on its interpretation. The design is intended for the audit
scenario in which the defender has a clean reference checkpoint and a suspect
checkpoint from the same source, which is the scenario that arises when a model zoo
publishes a checkpoint update.
When the defender has no clean reference, the design cannot be applied, and the
defender must rely on the persistence bound alone. The bound is conservative, so the
defender who relies on it alone will overestimate the poisoning rate that is required to
install a trigger, which is the safe direction for a supply-chain audit. The persistence
bound in Theorem 1 depends on the curvature ratio κ, which must be estimated from a
held-out clean set.
The estimation error in κ propagates exponentially into the poisoning-rate estimate
through Eq. (3), because ρ¿ depends on exp( 2 κλmin+¿T)¿. A small error in κ therefore
produces a large error in ρ¿ when the fine-tuning horizon T is long. This is the most
serious threat to the practical use of the bound, and it is the reason that the bound
should be reported as an interval rather than as a point estimate.
The exponential sensitivity also means that the bound is most useful when the fine-
tuning horizon is short. In the agricultural deployment setting, fine-tuning is typically
brief because the in-domain dataset is small, which keeps T modest and limits the
amplification of curvature estimation error. The bound is therefore better suited to the
short-horizon fine-tuning that is common in agricultural AI than to the long-horizon
fine-tuning that is common in general computer vision.
14
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
This is a favourable boundary condition for the audit protocol, and it is the reason that
the protocol is specified for the agricultural setting rather than for computer vision in
general. The trigger threshold τ in Eq. (3) is the surviving displacement required for the
trigger to fire. It is not a fixed constant: it depends on the trigger pattern, the target label
and the decision rule of the deployed model.
The audit protocol treats τ as a design parameter that the defender sets according to the
asymmetric loss of the deployment. In the agricultural setting, a false negative on a
diseased crop is more costly than a false positive, so the defender should set τ low, which
makes the bound more conservative and the audit more protective. The choice of τ is
therefore a policy decision rather than a statistical one, and it should be documented
alongside the audit result.
The asymmetric loss also affects the interpretation of the power analysis. The 5
percentage-point effect that the design is powered to detect is a conventional threshold,
not a threshold that is derived from the loss function. A defender who faces a particularly
severe asymmetric loss may wish to detect a smaller effect, which would require more
than 54 clusters.
The design guidance in Table 2 can be read at any effect size, so the defender can choose
the cluster count that matches the loss-adjusted threshold rather than the conventional
one.
Conclusion
The backdoor trigger is a supply-chain property of third-party pretrained checkpoints,
and the poisoning rate at which it survives fine-tuning is a design quantity that can be
bounded and audited. the present analysis has developed a persistence bound that links
trigger survival to the curvature ratio of the fine-tuning objective, and has embedded
that bound in a before-after-control-impact design that treats the poisoned checkpoint as
the intervention and the clean checkpoint as the control. The bound converts an
unobservable attack budget into a measurable curvature ratio, and the design converts
the bound into an estimable cluster-level difference in poisoning rate. The operating
characteristics of the design were evaluated under a declared variance structure with
between-cluster SD of 6.0, residual SD of 4.5 and intraclass correlation of 0.64.
Backdoor Trigger
The design required 54 clusters to detect a 5 percentage-point difference at 80% power,
and the cluster counts of 8, 16, 24 and 32 that are typical of agricultural AI evaluations
were all below that threshold. The power analysis therefore carries a practical message:
an audit conducted at the cluster counts that are common in the field will not reliably
detect the poisoning-rate differences that matter for deployment decisions, and the audit
should be powered at the cluster level rather than at the image level. The contribution is
a protocol rather than a result.
15
AJOAIEFA · 27(5) · 57-70 · 2026 Backdoor-Trigger Evaluation for Computer Agriculture
Operating Characteristics
The protocol specifies what to estimate, how to estimate it, and how many clusters are
required to estimate it with adequate power. It is conservative by design, because the
defender's loss is asymmetric and the cost of overestimating the poisoning rate is lower
than the cost of underestimating it. The protocol is intended for the audit scenario in
which a clean reference checkpoint is available, and its boundary conditions are stated so
that the defender can recognise when the protocol does not apply.
The next step is to apply the protocol to a specific model zoo and a specific crop-disease
dataset, which would supply the empirical curvature ratios that the bound currently
treats as parameters.
References
Athey, S., & Imbens, G. W. (2017). The state of applied econometrics: Causality and policy
evaluation. Journal of Economic Perspectives, 31(2), 3-32.
Greenstone, M., & Gayer, T. (2009). Quasi-experimental and experimental approaches to
environmental economics. Journal of Environmental Economics and
Management, 57(1), 21-44.
Kamilaris, A., & Prenafeta-Boldú, F. X. (2018). Deep learning in agriculture: A survey.
Computers and Electronics in Agriculture, 147, 70-90.
Mohanty, S. P., Hughes, D. P., & Salathé, M. (2016). Using deep learning for image-based
plant disease detection. Frontiers in Plant Science, 7, 1419.
Ramcharan, A., Baranowski, K., McCloskey, P., Ahmed, B., Legg, J., & Hughes, D. P. (2017).
Deep learning for image-based cassava disease detection. Frontiers in Plant
Science, 8, 1852.
Tan, M., & Le, Q. V. (2019). EfficientNet: Rethinking model scaling for convolutional
neural networks. Proceedings of the International Conference on Machine
Learning, 6105-6114.
16
论文原文与出版信息
Zenodo (CERN European Organization for Nuclear Research)