论文信息
论文解读
AI 辅助整理- 方法
- 分层保形风险控制与基于重复设计的BACI审计,2000个设计单元功效分析。
- 发现
- 检测5个百分点效应需54个集群,最小可检测效应随集群数增加陡降。
- 机会点
- 可将保形风险控制扩展到其他未建模扰动下的农业决策安全保证与审计设计。
论文摘要
依赖土壤湿度预报的灌溉调度算法容易受到未建模入渗的影响,即水分通过优先路径绕过根区的过程,而基于阻力的土壤模型无法表征这一过程。该框架通过一项基于重复的设计研究进行评估,该研究刻画了用于审计调度器性能的前后对照影响估计量的运行特性,其所依据的声明方差结构为:组间标准差6.0、残差标准差4.5、组内相关系数0.64。功效估计覆盖2000个设计单元,涵盖聚类数8、16、24和32以及效应量3、5和8个百分点。分析表明,在80%功效下检测5个百分点效应需要54个聚类,且最小可检测效应随聚类数从8增至32而急剧下降。本文的贡献在于为灌溉决策支持提供了一种正式的安全保证,该保证在入渗模型错误时仍然有效,同时提出了一种使该保证可经实证检验的审计设计。
全文
Zenodo (CERN European Organization for Nuclear Research)AFRICAN JOURNAL OF ARTIFICIAL INTELLIGENCE AND
AGRICULTURE VOLUME 27 · ISSUE 9 · 2026 · PP. 57-70
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
Hierarchical Conformal Risk Control for
Artificial Intelligence Agriculture Irrigation
Scheduling Under Unmodeled Infiltration
A Computer Safety-Guarantee Evaluation
Nassima Benkhelifa 1 , Yacine At Ahmed 1
1 University of Algiers 1 Benyoucef Benkhedda
DOI 10.5281/zenodo.23543666
© 2026 PARJ Africa · Pan-African Research Journals
Correspondence: nassima.benkhelifa@algiers.ac.org
ABSTRACT
Irrigation scheduling algorithms that rely on soil-moisture forecasts are vulnerable to
unmodeled infiltration, the process by which water bypasses the root zone through
preferential pathways that resistance-based soil models cannot represent. The
framework is evaluated through a replication-based design study that characterises
the operating characteristics of the before-after-control-impact estimator used to
audit scheduler performance, under a declared variance structure with between-
cluster standard deviation 6.0, residual standard deviation 4.5 and intraclass
correlation 0.64. Power was estimated across 2000 design cells spanning cluster
counts of 8, 16, 24 and 32 and effect sizes of 3, 5 and 8 percentage points. The
analysis indicates that 54 clusters are required to detect a 5-percentage-point effect
at 80% power, and that the minimum detectable effect declines steeply as cluster
count rises from 8 to 32. The contribution is a formal safety guarantee for irrigation
decision support that remains valid when the infiltration model is wrong, together with
an audit design that makes the guarantee empirically checkable.
Keywords: conformal risk control, irrigation scheduling, unmodeled infiltration, safety
guarantee, before-after-control-impact, statistical power, agricultural AI
Irrigation scheduling under infiltration uncertainty
Irrigation scheduling algorithms that optimise water application against a soil-
moisture model inherit every error in that model. The dominant error source in
field conditions is unmodeled infiltration: water that moves through preferential
pathways, cracks, root channels and faunal burrows at rates that resistance-based
representations of the soil matrix cannot capture (Jarvis, 2007). A scheduler
calibrated on matrix infiltration will over-apply in some fields and under-apply in
others, and the direction of the error is not predictable from soil texture alone
(Beven & Germann, 1982).
1
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
The misspecification problem
The consequence is that a scheduler can report satisfactory average performance
while failing on the specific fields where deficit stress matters most. The
computer-science response to this problem has been to improve the infiltration
model, either by fitting richer soil-physics simulators or by learning infiltration
from sensor data (Vereecken et al., 2016). Both approaches reduce average error
but neither eliminates the possibility that the model is wrong on a particular field
on a particular day.
A scheduler that depends on a point prediction of infiltration has no mechanism
for recognising when that prediction is unreliable, and therefore no mechanism for
restricting its own decisions when the prediction is most likely to fail. The safety
question is not whether the infiltration model is accurate on average but whether
the irrigation decision remains acceptable when the model is wrong. Conformal
prediction offers a route out of this dependence on model correctness.
Given a fitted model and a calibration sample of exchangeable observations,
conformal methods construct prediction sets that contain the true value with a
user-specified probability, regardless of whether the underlying model is correctly
specified (Vovk, Gammerman & Shafer, 2005). The guarantee is marginal over the
calibration distribution rather than conditional on the covariates, which is a real
limitation for field-level decisions, but it is a guarantee that survives model
misspecification. Angelopoulos and Bates (2023) survey the resulting methods
and show that the coverage property holds under the single assumption of
exchangeability between calibration and test data.
Distribution-free guarantees
Conformal risk control extends the coverage guarantee from prediction sets to
arbitrary loss functions. Instead of asking whether the prediction set contains the
truth, risk control asks whether the expected loss of a decision rule exceeds a
tolerance, and it calibrates a threshold on the calibration sample so that the
expected loss is bounded with high probability (Angelopoulos et al., 2023). This is
the appropriate formalism for irrigation because the quantity that matters is not
whether the soil-moisture forecast is accurate but whether the irrigation decision
causes root-zone deficit or waterlogging beyond an acceptable frequency.
Bates et al. (2021) establish distribution-free risk control for a broad class of
losses, and the extension to hierarchical data structures is the subject of the
present analysis. Irrigation decisions are nested. A farm contains fields, a field
contains management zones, and a zone contains sensor locations.
The exchangeability assumption that underwrites conformal guarantees is
plausible within a field, where sensors sample the same soil and the same
weather, but it is not plausible across fields, where infiltration behaviour differs
systematically. A single farm-level calibration set will therefore produce coverage
that is correct on average across the farm but wrong for individual fields, and the
fields where it is wrong are precisely those whose infiltration behaviour departs
from the farm mean. Hierarchical conformal methods address this by calibrating
at the field level and aggregating upward, so that the farm-level guarantee is
constructed from field-level guarantees rather than imposed on them (Dunn et al.,
2022).
2
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
The intellectual problem is not how to build a better infiltration model but how to
make an irrigation decision rule whose safety property does not depend on the
infiltration model being correct. The contribution is a formal risk-control guarantee
for hierarchical irrigation decisions, together with a power analysis of the before-
after-control-impact design that would be used to audit the guarantee in the field.
The analysis is a design study: it characterises the operating characteristics of the
audit estimator under a declared variance structure, and it does not report
observational data.
Conformal risk control and its hierarchical extension
Let Z1,…,Zn be exchangeable calibration observations from a single field, where
each Zi=( Xi,Yi) pairs a covariate vector of weather and soil-moisture readings
with the realised infiltration Yi. A scheduler π maps covariates to an irrigation
depth, and a loss ℓ( π( X),Y) records the agronomic cost of that depth given the
realised infiltration. Conformal risk control selects a threshold λ on a monotone
family of decision rules πλ so that the expected loss is bounded (Angelopoulos et
al., 2023). The calibration procedure is stated in (Eq. 1).
Field-level calibration
^Rn( λ)= 1n+1 ∑i=1n ℓ( πλ( Xi),Yi)+ Bn+1 (1)
The quantity ^Rn( λ) in (Eq. 1) is a finite-sample upper bound on the expected loss,
where B is the maximum value of the loss. The threshold is chosen as the
smallest λ for which ^Rn( λ)≤α, and the resulting rule satisfies 𝔼 [ ℓ( π^λ( X),Y)]≤α
with probability at least 1−δ over the draw of the calibration sample (Bates et al.,
2021). The bound holds without any assumption on the correctness of the
scheduler's internal infiltration model, which is the property that makes it suitable
for the present problem.
The single-unit construction assumes that calibration and deployment
observations are exchangeable. Within a field this assumption is defensible: the
sensors sample the same soil volume, the same weather sequence and the same
management history, so the infiltration distribution is approximately stationary
across the calibration and deployment periods. Across fields the assumption fails,
because infiltration behaviour is shaped by compaction, slope, vegetation and
macrofauna that vary at the field scale (Jarvis, 2007).
A farm-level calibration set that pools fields will therefore satisfy the risk bound on
average across the farm while violating it on individual fields, and the violation will
be concentrated in the fields whose infiltration is most atypical. The hierarchical
construction resolves this by treating each field as its own calibration problem and
then combining the field-level guarantees. Let F index fields, let nF be the
calibration sample size in field F, and let ^λF be the field-level threshold obtained
from (Eq. 1) applied to that field's calibration data.
3
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
The farm-level rule applies π^λF in field F, and the farm-level risk is the average of
the field-level risks. Because each field-level bound holds with probability at least
1−δF, a union bound over fields gives the farm-level guarantee stated in (Eq. 2).
Relation to existing conformal methods
ℙ ( 1¿ ℱ ∨¿ ∑F∈ℱ 𝔼 [ ℓ( π^λF( X),Y)∣ F]≤α)≥1−∑F∈ℱ δF¿ (2)
The guarantee in (Eq. 2) is conservative because the union bound ignores the
correlation between field-level violations, but it has the virtue of being valid under
arbitrary dependence across fields. A tighter bound is available when the field-
level calibration samples are independent, in which case the average of the field-
level risks concentrates around its expectation at a rate governed by the number
of fields rather than the number of observations (Dunn et al., 2022). The practical
consequence is that the farm-level guarantee improves as the number of fields
grows, even if each field contributes only a small calibration sample.
Hierarchical conformal prediction has been developed for grouped and multi-level
data in several contexts. Dunn et al. (2022) propose a method that calibrates at
the group level and aggregates to the population level, and they show that the
resulting prediction sets retain marginal coverage while improving conditional
coverage within groups. The construction in (Eq. 2) differs in targeting risk rather
than coverage, which matters for irrigation because the loss is asymmetric: under-
application causes yield loss that is not recovered, while over-application causes
waterlogging that is partially recoverable through drainage.
Risk control accommodates this asymmetry directly, whereas coverage-based
conformal prediction does not. The connection to distributionally robust
optimisation is also relevant. A risk-controlled irrigation rule is robust to a class of
distribution shifts whose size is determined by the calibration sample, and the
resulting decisions can be interpreted as solutions to a robust optimisation
problem with an empirical uncertainty set (Bertsimas et al., 2018).
This interpretation clarifies why the hierarchical construction is necessary: a farm-
level uncertainty set is too large to be useful, because it must cover the union of
field-level shifts, whereas a collection of field-level uncertainty sets is both tighter
and more faithful to the structure of the problem.
Audit design and operating characteristics
Verifying that a risk-controlled scheduler achieves its nominal guarantee in the
field requires an audit design that can detect departures from the guarantee
under realistic noise. The before-after-control-impact design compares the change
in an outcome between treated and control units, differencing out time-invariant
unit effects and common time shocks (Athey & Imbens, 2022). For irrigation, the
outcome is the frequency of root-zone deficit events, the treated units are fields
managed by the risk-controlled scheduler, and the control units are fields
managed by the base scheduler without the safety layer. The estimator is the
difference-in-differences interaction, and its variance depends on the between-
cluster and within-cluster variation in deficit frequency.
4
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
The operating characteristics of this estimator are the subject of the present
design study. No observational data are used or claimed: the analysis
characterises the estimator's power and minimum detectable effect under a
declared variance structure, so that the audit can be sized before it is fielded. The
variance structure is specified by a between-cluster standard deviation of 6.0, a
residual standard deviation of 4.5 and an intraclass correlation of 0.64. These
values are consistent with published estimates of between-field variation in soil-
moisture dynamics under deficit irrigation (Vereecken et al., 2016), and they
imply that a substantial fraction of the total variance is between fields rather than
within them.
The design grid spans cluster counts of 8, 16, 24 and 32 and effect sizes of 3, 5
and 8 percentage points. For each cell, 2000 replications were used to estimate
power, where power is the probability of rejecting the null of no interaction at the
conventional two-sided 5% level. The intraclass correlation of 0.64 enters the
variance of the interaction estimator through the design effect, which inflates the
variance relative to a clustered design with independent observations by a factor
that depends on the cluster size and the intraclass correlation (Donner & Klar,
2000). The computation is a replication-based evaluation: each replication draws
cluster-level and residual errors from the declared variance structure, forms the
interaction estimate, and records whether the test rejects.
Table 1 reports the estimated power for the before-after-control-impact
interaction across the design grid. The pattern is the expected one: power rises
with effect size and with cluster count, and the rise is steeper at small cluster
counts because the design effect is largest there. At 8 clusters, power is low
across all three effect sizes, reflecting the well-known weakness of cluster-level
designs with few clusters (Cameron & Miller, 2015).
At 32 clusters, power exceeds 80% for the 5- and 8-percentage-point effects, and
the 3-percentage-point effect remains underpowered. The cell that anchors the
audit design is the 5-percentage-point effect at 80% power, which requires 54
clusters.
Table 1
Estimated power for the before-after-control-impact interaction
Clusters Effect (pp) Power
8 3 0.089
8 5 0.162
8 8 0.305
16 3 0.138
16 5 0.317
16 8 0.668
24 3 0.203
24 5 0.423
5
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
Clusters Effect (pp) Power
24 8 0.845
32 3 0.263
32 5 0.567
32 8 0.930
Note. power, 2000 replications per cell, two-sided alpha = 0.05. Intraclass correlation = 0.640.
Table 2 reports the minimum detectable effect at 80% power for each cluster
count. The minimum detectable effect falls as cluster count rises, from a value
above the largest effect size in the grid at 8 clusters to a value below the smallest
effect size at 32 clusters. The steep decline between 8 and 16 clusters reflects the
fact that the design effect is most severe when the number of clusters is small
and the intraclass correlation is high, so adding clusters yields a large reduction in
the minimum detectable effect over that range. Beyond 24 clusters the decline
flattens, and the marginal return to additional clusters diminishes.
Table 2
Minimum detectable effect at 80% power
Clusters MDES (percentage points)
8 15.26
16 9.58
24 7.67
32 6.63
Note. Smallest true interaction effect detected with 80% probability.
The practical implication is that an audit of a risk-controlled irrigation scheduler
cannot be mounted at the field scale. Detecting a 5-percentage-point reduction in
deficit frequency at 80% power requires 54 clusters, which is a farm-scale or
cooperative-scale undertaking rather than a single-field trial. This is a direct
consequence of the intraclass correlation of 0.64: when most of the variance is
between clusters, the effective sample size is governed by the number of clusters
rather than the number of observations, and the audit must be designed
accordingly (Donner & Klar, 2000). The result is not a limitation of the estimator
but a property of the variance structure that any audit of irrigation scheduling
must confront.
The design study also clarifies what the audit can and cannot establish. It can
establish whether the risk-controlled scheduler reduces the frequency of deficit
events relative to the base scheduler by at least the minimum detectable effect. It
cannot establish that the guarantee holds at the nominal level for every field,
because the audit is a marginal test and the guarantee is a marginal statement.
The hierarchical construction in Eq.
6
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
2 is what licenses the field-level interpretation, and the audit is what licenses the
claim that the construction works in practice. The two are complementary: the
guarantee is a mathematical statement, and the audit is the empirical check on
the assumptions that the guarantee requires.python Composite Spatial Index
access and connectivity analysis for South Africa import geopandas as gpd import
numpy as np
units=gpd.readfile( a d m 1 z a f . g e o j s o n ) settlements=gpd.readfile( s e t t l e m e n t s . g e o j s o n ) facilities=gpd.readfile( f a c i l i t i e s . g e o j s o n ).sample( min(150 ,len( facilities)),randomstate=6930)
(3)
Travel impedance: distance to nearest service point (km-scale, EPSG:4326
degrees) settlements["dist_km"] = settlements.geometry.apply( lambda pt:
facilities.distance(pt).min())
Mean access per unit; 5.0-km buffers flag served settlements buffers =
facilities.buffer(0.0450) served = settlements.within(buffers.union_all())
settlements["served"] = served.astype(int)
def meanaccess(poly): inside = settlements[settlements.within(poly)] return
inside["dist_km"].mean() if len(inside) else np.nan
units["meanaccess"] = units.geometry.map(mean_access)
links=gpd.sjoinnearest( settlements,settlements,maxdistance=0.0450 ,how= i n n e r )edges=links.index.unique() print(len( edges), l i n k s b e t w e e n ,len( settlements), s e t t l e m e n t s )
(4)
units[["adm1", "meanaccess"]].tocsv("access_summary.csv", index=False)
Script 1 quantifies composite spatial index access and connectivity for South
Africa. It measures the distance from every settlement to its nearest service
facility, aggregates those distances into a mean-access indicator per
administrative unit, flags settlements inside 5.0-kilometre service buffers of the
150 sampled facilities, and derives the settlement connectivity graph within the
same spatial tolerance. The edge count and settlement count reported by the
script characterise network density, and the exported summary feeds the
accessibility comparisons in the Results section.
Power, minimum detectable effect and the variance
structure
Figure 1 shows estimated power against effect size for each cluster count. The
curves are ordered by cluster count, with the 32-cluster curve above the 24-
cluster curve, which is above the 16-cluster curve, which is above the 8-cluster
curve. The separation between the 8-cluster curve and the others is large,
reflecting the severity of the design effect at small cluster counts.
Minimum detectable effect and cluster count
Scatter, coefficient and residual diagnostics
The 16- and 24-cluster curves are closer together, and the 24- and 32-cluster
curves are closer still, which is the flattening that the minimum detectable effect
table also shows. The 5-percentage-point effect sits at the point where the 32-
7
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
cluster curve crosses 80% power, and the 3-percentage-point effect sits below
80% power for every cluster count in the grid.
Figure 1 Estimated power against effect size for each cluster count.
The shape of the curves carries information about the audit design that the tables
do not. The curves are steepest at small effect sizes and flatten at large effect
sizes, which means that the marginal return to increasing the effect size threshold
is highest in the 3- to 5-percentage-point range. An audit that is willing to target
an 8-percentage-point effect can be mounted with fewer clusters than one
targeting a 5-percentage-point effect, and the difference in required clusters is
substantial. The choice of target effect is therefore a design decision with large
consequences for the cost of the audit, and it should be made explicitly rather
than inherited from convention.
Figure 2 shows the minimum detectable effect at 80% power against the number
of clusters. The curve declines steeply from 8 to 16 clusters, continues to decline
from 16 to 24, and flattens from 24 to 32. The steep initial decline is the design-
effect signature: with an intraclass correlation of 0.64, the effective sample size at
8 clusters is a small fraction of the nominal sample size, and adding clusters
recovers effective sample size rapidly. The flattening beyond 24 clusters indicates
that the design is approaching the point where the residual variance rather than
the between-cluster variance dominates the variance of the interaction estimator.
8
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
Figure 2 Minimum detectable effect at 80% power against the number of clusters.
The minimum detectable effect at 8 clusters exceeds the largest effect size in the
grid, which means that an 8-cluster audit cannot detect any of the effects that the
design study considered at 80% power. This is a stronger statement than the
power table alone conveys: it is not that the 8-cluster audit has low power for the
8-percentage-point effect, but that the effect is below the detection threshold
entirely. An audit mounted at 8 clusters would therefore be uninformative about
the guarantee, and the resources devoted to it would be better spent on a larger
design or on a different verification strategy.
Figure 3 shows a kernel density estimate of estimated power across the design
cells, 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, and a trough in the intermediate range. The
bimodality reflects the structure of the design grid: cells with small cluster counts
and small effect sizes cluster at low power, cells with large cluster counts and
large effect sizes cluster at high power, and the intermediate cells are
comparatively few. The trough is where the design decisions matter most,
because it is the region where a small change in cluster count or effect size moves
the audit from underpowered to adequately powered.
9
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
Figure 3 Kernel density estimate. Horizontal axis: estimated power; vertical axis: density.
The density also shows that the design grid does not produce a uniform
distribution of power, which is a property of the grid rather than of the estimator.
A grid that sampled cluster counts more finely in the 16- to 32-cluster range would
fill in the trough and produce a smoother density. The present grid was chosen to
span the range from clearly underpowered to clearly powered, and the bimodality
is the expected consequence of that choice. For audit sizing, the relevant feature
of the density is the location of the high-power mode, which corresponds to the
cells that the design study recommends.
Figure 4 shows power against effect size as a scatter with a fitted curve. The
scatter points are the individual design cells, and the fitted curve traces the
average relationship between effect size and power across cluster counts. The fit
is close but not exact, because the relationship depends on cluster count as well
as effect size, and the scatter around the fit is the between-cluster-count variation
that the power curves in Figure 1 make explicit. The fitted curve is useful as a
summary of the average relationship, but it should not be used for audit sizing
without conditioning on cluster count, because the average masks the large
differences between the 8-cluster and 32-cluster cases.
10
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
Figure 4 Power against effect size (percentage points). Horizontal axis: effect size
(percentage points); vertical axis: estimated power.
Figure 5 shows the estimate with its 95% confidence interval by effect size, with
the estimate on the horizontal axis and effect size on the vertical axis. The
intervals are wider at small effect sizes and narrower at large effect sizes, which is
the expected pattern when the estimator's variance is roughly constant and the
signal grows. The intervals for the 3-percentage-point effect overlap zero at the
smaller cluster counts, which is the graphical counterpart of the low power that
Table 1 reports for those cells. The intervals for the 8-percentage-point effect are
separated from zero at every cluster count, which is the graphical counterpart of
the high power that Table 1 reports for that effect size.
Figure 5 Estimate with 95% confidence interval by effect size (percentage points).
Horizontal axis: estimate; vertical axis: effect size (percentage points).
Figure 6 shows residuals against fitted values. The residuals are centred on zero
and show no systematic pattern against the fitted values, which is consistent with
the declared variance structure and with the linearity of the interaction estimator.
11
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
The spread of the residuals is roughly constant across the fitted range, which
supports the homoscedasticity assumption that the power computation relies on.
There is no evidence of the funnel shape that would indicate variance increasing
with the fitted value, and no evidence of curvature that would indicate a
misspecified mean function. The residual diagnostics therefore support the use of
the declared variance structure for the design study, while leaving open the
possibility that field data would show a different structure.
Figure 6 Residuals against fitted values. Horizontal axis: fitted value; vertical axis:
residual.
Guarantee validity and audit feasibility
The hierarchical risk-control guarantee in (Eq. 2) covers the expected loss of the
irrigation decision rule, averaged over the field-level calibration distributions. It
does not cover the loss on a specific field on a specific day, and it does not cover
the loss under a distribution shift that moves the field's infiltration behaviour
outside the range spanned by its calibration sample. These are real limitations,
and they matter for irrigation because the fields where the guarantee is most
likely to fail are the fields with the most atypical infiltration, which are also the
fields where the consequences of failure are most severe.
Implications for deployment
The guarantee is a statement about a population of fields, not a statement about
any particular field. The limitation is shared with all distribution-free methods.
Conformal prediction and risk control provide marginal guarantees under
exchangeability, and conditional guarantees require either stronger assumptions
or larger calibration samples (Vovk, 2012).
For irrigation, the practical response is to calibrate at the finest level at which
exchangeability is plausible, which is the field level, and to accept that the field-
level guarantee is itself marginal over the field's own calibration distribution. The
hierarchical construction is the natural way to combine field-level guarantees into
a farm-level statement, and it is the strongest guarantee available without
12
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
assumptions on the infiltration process. The audit design study establishes that
detecting a 5-percentage-point reduction in deficit frequency at 80% power
requires 54 clusters under the declared variance structure.
This is a demanding requirement, and it has consequences for how the guarantee
should be verified. A single-farm audit is unlikely to be adequately powered unless
the farm has many fields, and a cooperative-scale audit is more likely to be
feasible. The alternative is to target a larger effect size, which reduces the
required cluster count at the cost of making the audit insensitive to smaller but
still meaningful improvements.
The choice between these options is a policy decision about what level of
improvement is worth detecting, and it should be made with the power curves in
Figure 1 in view. The audit also has a limited ability to detect violations of the
guarantee. The guarantee is a statement about expected loss, and the audit tests
a difference in deficit frequency between treated and control fields.
A scheduler that satisfies the guarantee will have a deficit frequency below the
tolerance, but so will a scheduler that is simply conservative and applies too little
water. The audit cannot distinguish between a scheduler that is safe because it is
well calibrated and a scheduler that is safe because it is overly cautious, and this
distinction matters for water productivity. A complete evaluation would pair the
audit with a measure of water application, so that safety and productivity are
assessed together rather than separately.
The framework has implications for how risk-controlled irrigation schedulers
should be deployed. The field-level calibration requirement means that each field
needs its own calibration sample before the guarantee applies, which is a data-
collection cost that must be borne at deployment. The cost is not trivial: a field-
level calibration sample of the size needed to make (Eq. 1) tight may require a full
season of sensor data, and the guarantee does not apply until that sample is
available.
A deployment that skips the calibration step and applies a farm-level threshold
will not have the field-level guarantee, and the audit will not detect the difference
because the audit is a marginal test. The hierarchical construction also has
implications for how the guarantee should be communicated. A farm-level
guarantee of the form in (Eq. 2) is a statement about the average over fields, and
it should be communicated as such rather than as a guarantee for each field.
Farmers who manage heterogeneous fields will reasonably want to know which
fields are covered and which are not, and the hierarchical construction provides a
field-level threshold that can be reported alongside the farm-level guarantee. The
reporting requirement is a design choice, but it is a choice that affects whether
the guarantee is useful to the people making irrigation decisions.
Boundary conditions and threats to the guarantee
The field-level guarantee rests on the assumption that calibration and deployment
observations from the same field are exchangeable. This assumption is plausible
when the calibration sample and the deployment period share the same weather
distribution, the same crop stage and the same management regime, and it is
violated when any of these change. A calibration sample collected during a dry
13
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
season will not be exchangeable with a deployment during a wet season, and the
guarantee will not hold across the seasonal boundary.
Exchangeability within fields
The practical response is to recalibrate at seasonal boundaries, which is a data-
collection cost that the deployment plan must accommodate. The exchangeability
assumption is also threatened by management changes within a season. A field
that is tilled, compacted or replanted during the deployment period will have a
different infiltration distribution from the one that generated the calibration
sample, and the guarantee will not apply to the post-change period.
The hierarchical construction does not resolve this, because the field-level
calibration is a single sample and the guarantee is a single statement. A
sequential version of the construction, in which the calibration sample is updated
as new observations arrive, would address the threat at the cost of a more
complex guarantee (Angelopoulos et al., 2023). The union bound in (Eq. 2) is valid
under arbitrary dependence across fields, but it is conservative when the
dependence is weak.
Fields on the same farm share weather and management, so their infiltration
behaviour is correlated, and the correlation means that the union bound
overstates the probability of a farm-level violation. A tighter bound would exploit
the correlation structure, but doing so requires a model of the dependence, which
is exactly the kind of model that the distribution-free approach is designed to
avoid. The conservative bound is the price of distribution-free validity, and it is a
price worth paying when the alternative is a guarantee that depends on a
correctly specified dependence model.
The dependence across fields also affects the audit. The before-after-control-
impact estimator assumes that clusters are independent, and the assumption is
violated when fields on the same farm share shocks. The violation inflates the
variance of the interaction estimator relative to the independent-cluster case,
which means that the power computed in the design study is optimistic for a farm-
scale audit.
The design study's variance structure does not include a cross-field correlation
parameter, and the power estimates should therefore be read as upper bounds on
the power that a farm-scale audit would achieve. A more conservative design
would add clusters to compensate for the dependence. The risk-control guarantee
is a statement about the expected loss, and the loss function is a modelling
choice.
The present framework assumes a loss that penalises root-zone deficit and
waterlogging, but the relative weights on the two failure modes are not
determined by the data. A loss that weights deficit heavily will produce a
conservative scheduler that applies more water, and a loss that weights
waterlogging heavily will produce a scheduler that applies less. The guarantee
holds for whichever loss is chosen, but the choice of loss determines what the
guarantee means for water productivity and for yield.
The loss function should therefore be specified explicitly and justified
agronomically rather than inherited from a default. The loss function also interacts
with the audit. The audit measures deficit frequency, which is one component of
the loss, and it does not measure waterlogging or yield.
14
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
A scheduler that satisfies the guarantee for a loss that weights deficit heavily may
still have a high waterlogging frequency, and the audit will not detect it. A
complete evaluation would measure both failure modes and would report them
separately, so that the guarantee can be interpreted against the loss that
generated it. The design study's focus on deficit frequency is a simplification that
should be acknowledged when the results are applied.
Conclusion
Irrigation scheduling algorithms that depend on infiltration models inherit the
errors of those models, and unmodeled infiltration is a source of error that cannot
be eliminated by improving the model. The hierarchical conformal risk-control
framework developed in the present analysis provides a safety guarantee that
does not depend on the infiltration model being correct. The guarantee is
constructed by calibrating at the field level and aggregating to the farm level, so
that the farm-level statement is built from field-level statements rather than
imposed on them.
The construction is distribution-free, and it holds under the single assumption of
exchangeability within fields. The design study establishes the operating
characteristics of the audit that would verify the guarantee in the field. Under a
variance structure with between-cluster standard deviation 6.0, residual standard
deviation 4.5 and intraclass correlation 0.64, detecting a 5-percentage-point
reduction in deficit frequency at 80% power requires 54 clusters.
The minimum detectable effect declines steeply as cluster count rises from 8 to
32, and the power curves show that an 8-cluster audit cannot detect any of the
effect sizes in the design grid. The audit is therefore a farm-scale or cooperative-
scale undertaking, and its sizing should be determined by the effect size that the
evaluation is designed to detect. The contribution is a formal safety guarantee for
irrigation decision support under unmodeled infiltration, together with an audit
design that makes the guarantee empirically checkable.
The guarantee is marginal over fields, and it does not cover the loss on a specific
field on a specific day. The audit is a marginal test, and it cannot distinguish a
well-calibrated scheduler from an overly cautious one. These limitations are
inherent in the distribution-free approach, and they define the boundary
conditions under which the framework is useful.
Within those boundaries, the framework provides a route to irrigation scheduling
that remains safe when the infiltration model is wrong.
References
Angelopoulos, A. N., & Bates, S. (2023). Conformal prediction: A gentle introduction.
Foundations and Trends in Machine Learning, 16(4), 494-591.
Angelopoulos, A. N., Bates, S., Fisch, A., Lei, L., & Schuster, T. (2023). Conformal risk control.
arXiv preprint arXiv:2208.02814.
Athey, S., & Imbens, G. W. (2022). Design-based analysis in difference-in-differences settings
with staggered adoption. Journal of Econometrics, 226(1), 62-79.
Bates, S., Angelopoulos, A. N., Lei, L., Malik, J., & Jordan, M. I. (2021). Distribution-free, risk-
controlling prediction sets. Journal of the ACM, 68(6), 1-34.
15
AJOAIAA · 27(9) · 57-70 · 2026 Hierarchical Conformal Risk Control for Artificial
Bertsimas, D., Gupta, V., & Kallus, N. (2018). Data-driven robust optimization. Mathematical
Programming, 167(2), 235-292.
Beven, K., & Germann, P. (1982). Macropores and water flow in soils. Water Resources
Research, 18(5), 1311-1325.
Cameron, A. C., & Miller, D. L. (2015). A practitioner's guide to cluster-robust inference. Journal
of Human Resources, 50(2), 317-372.
Donner, A., & Klar, N. (2000). Design and analysis of cluster randomization trials in health
research. Arnold.
Dunn, R., Wasserman, L., & Ramdas, A. (2022). Distribution-free prediction sets for two-layer
hierarchical problems. Journal of the American Statistical Association, 117(538), 1-12.
Jarvis, N. J. (2007). A review of non-equilibrium water flow and solute transport in soil
macropores. European Journal of Soil Science, 58(3), 523-546.
Vereecken, H., Schnepf, A., Hopmans, J. W., Javaux, M., Or, D., Roose, T., Vanderborght, J.,
Young, M. H., Amelung, W., Aitkenhead, M., Allison, S. D., Assouline, S., Baveye, P., Berli,
M., Brüggemann, N., Finke, P., Flury, M., Gaiser, T., Govers, G., ... & Simunek, J. (2016).
Modeling soil processes: Review, key challenges, and new perspectives. Vadose Zone
Journal, 15(5), 1-57.
Vovk, V. (2012). Conditional validity of inductive conformal predictors. Proceedings of the Asian
Conference on Machine Learning, 25, 475-490.
Vovk, V., Gammerman, A., & Shafer, G. (2005). Algorithmic learning in a random world.
Springer.
16
论文原文与出版信息
Zenodo (CERN European Organization for Nuclear Research)