论文信息
论文解读
AI 辅助整理- 方法
- 设计研究,基于BACI估计量与2000次重复模拟,分析聚类数和隐私预算的影响。
- 发现
- 检测5个百分点效应需54个聚类,超出所有考察规模,差分隐私还会增大残差方差。
- 机会点
- 可研究小样本合作社下隐私预算与统计功效的权衡,开发联合报告隐私与推断边界的审计工具。
论文摘要
合作产量聚合是小农户收成转化为农业人工智能训练数据的标准路径,然而这些聚合数据所附带的隐私保障,很少针对小农户成员身份实际带来的再识别风险进行审计。本分析将差分隐私预算视为成员推断审计的设计参数,并通过解析推导与重复实验,刻画当隐私机制叠加于合作社层级聚合之上时,前后对照影响估计量(before-after-control-impact estimator)的表现。本分析属于设计研究:不使用也不主张任何观测数据。在声明的方差结构下——组间标准差=6.0、残差标准差=4.5、组内相关系数=0.640——针对聚类数为8、16、24和32以及效应量为3、5和8个百分点的设计单元,每个单元重复2000次以估计检验功效。该设计需要54个聚类才能在80%功效下检测到5个百分点的效应,这一要求超过了所考察的所有聚类数,而差分隐私机制只会通过膨胀残差方差使情况进一步恶化。本研究的贡献在于一套成员推断审计协议,该协议联合报告隐私预算、组内相关系数和可检测效应,从而使合作社的披露声明与其推断声明受到同一套算术的约束。
全文
Zenodo (CERN European Organization for Nuclear Research)AFRICAN JOURNAL OF ARTIFICIAL INTELLIGENCE:
EVALUATION FOR AGRICULTURE VOLUME 27 · ISSUE 7 · 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
Differential-Privacy Evaluation for Computer
Agriculture Cooperative Yield Aggregation Under
Smallholder Re-Identification Risk
An Artificial Intelligence Membership-Inference Audit
Momodou Lamin Bah1 , Haddy Trawally1
1 University of The Gambia
DOI 10.5281/zenodo.23544250
© 2026 PARJ Africa · Pan-African Research Journals
Correspondence: momodou.bah@gambia.ac.org
ABSTRACT
Cooperative yield aggregation is the standard route by which smallholder harvests
become the training data of agricultural artificial intelligence, yet the privacy
guarantees attached to those aggregates are rarely audited against the re-
identification risk that smallholder membership actually carries. the present analysis
treats the differential-privacy budget as a design parameter of a membership-
inference audit and characterises, analytically and by replication, how the before-
after-control-impact estimator behaves when the privacy mechanism is layered onto
cooperative-level aggregation. The analysis is a design study: no observational data
are used or claimed. Under a declared variance structure with between-cluster SD =
6.0, residual SD = 4.5 and intraclass correlation = 0.640, power was estimated across
2000 replications per design cell for cluster counts of 8, 16, 24 and 32 and effects of
3, 5 and 8 percentage points. The design requires 54 clusters to detect a 5-
percentage-point effect at 80% power, a requirement that exceeds every cluster
count examined and that the differential-privacy mechanism can only worsen by
inflating residual variance. The contribution is a membership-inference audit protocol
that reports the privacy budget, the intraclass correlation and the detectable effect
jointly, so that a cooperative's disclosure claim is bounded by the same arithmetic
that bounds its inferential claim.
Keywords: differential privacy, membership inference, smallholder cooperatives, yield
aggregation, before-after-control-impact, intraclass correlation, privacy audit
Cooperative yield aggregation as a disclosure problem
Agricultural artificial intelligence is trained overwhelmingly on data that originate
with individual smallholders but reach the model only through an intermediary:
the cooperative, the extension service, the aggregator or the insurer. The
intermediary pools plot-level yields into a cooperative mean, attaches a treatment
label, and releases the aggregate to a model developer. The privacy claim that
1
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
accompanies this release is almost always informal, resting on the intuition that a
mean over many members cannot reveal any one member's harvest.
Differential Privacy
That intuition is not a guarantee, and the conditions under which it fails are
precisely the conditions that make cooperative data valuable: small membership,
skewed yield distributions, and repeated releases over successive seasons (Dwork
& Roth, 2014). Differential privacy was introduced to replace the intuition with a
bound, and its central promise is that the output distribution changes by at most a
multiplicative factor when any single record is added or removed (Dwork, 2006).
Whether that promise survives the aggregation pipeline that agricultural
cooperatives actually operate is an empirical question about the pipeline, not
about the definition.
Membership inference is the adversarial test of that promise. Given a released
statistic and some auxiliary knowledge, an adversary asks whether a particular
smallholder's record was among the inputs (Shokri et al., 2017). For cooperative
yield aggregation the adversary is not hypothetical: a neighbouring farmer knows
approximately what a shared plot produced, an input supplier knows the fertiliser
sold to a named member, and a cooperative officer holds the membership roster.
The relevant question is therefore not whether membership inference is possible
in principle, which it always is at finite privacy budget, but whether the released
aggregate raises an adversary's confidence above what the auxiliary knowledge
alone would support. That framing converts the privacy budget from a compliance
token into a quantity that must be evaluated alongside the estimator's own
operating characteristics. The two claims that a cooperative makes about a
released aggregate, that it supports a causal inference about a treatment and
that it protects the members who contributed, are usually argued in separate
documents by separate people.
They are not separable. A privacy mechanism that adds calibrated noise to
protect membership inflates the residual variance of the estimator that consumes
the aggregate, and the inflation reduces power in exactly the designs where
smallholder cooperatives are most common. Conversely, a design with few
clusters and a large intraclass correlation is already fragile, and the additional
noise of a meaningful privacy budget can push it below any defensible power
threshold.
The audit proposed here reports the privacy budget, the intraclass correlation and
the minimum detectable effect as a single triple, because a cooperative that
reports any one of them without the other two has reported nothing that an
adversary or a funder can act on. The argument is developed in six further
sections. The next section reconstructs what the differential-privacy and
membership-inference literatures establish about aggregate releases and
identifies the gap that a design-level audit fills.
A formal section then states the aggregation mechanism, the before-after-control-
impact estimator and the membership-inference advantage, and derives the
propositions that link them. The design of the replication study follows, with the
variance structure and the parameter grid stated exactly. The results section
reports the power surface, the minimum detectable effect and the membership-
inference operating characteristic.
2
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
A discussion section interprets the joint constraint and a conclusion closes the
argument.
Differential privacy, membership inference and the
aggregate release
Differential privacy bounds the influence of any single record on a released
statistic by a parameter usually denoted epsilon, with smaller values implying
stronger protection (Dwork, 2006). The definition is compositional: a sequence of
releases accumulates privacy loss, so a cooperative that publishes a seasonal
mean for each of several years spends a budget that grows with the number of
releases (Dwork & Roth, 2014). This composition property is the first reason the
informal claim fails.
The gap in design-level evaluation
A cooperative that releases a yield aggregate every season for a decade has not
made a single epsilon-bounded release; it has made ten, and the adversary who
observes all ten faces a much weaker bound than the one printed on any single
release note. The agricultural setting makes composition unavoidable because the
value of the data lies in its panel structure, and the panel is precisely what
accumulates privacy loss. The mechanisms available for releasing aggregates are
well characterised.
The Laplace mechanism adds noise scaled to the global sensitivity of the query
divided by epsilon, and the Gaussian mechanism achieves an approximate
guarantee with noise scaled to the L2 sensitivity (Dwork et al., 2006). For a
cooperative mean the sensitivity is the range of a single member's yield divided
by the membership count, which means that small cooperatives require
proportionally more noise for the same epsilon. This is the second reason the
informal claim fails, and it is arithmetic rather than adversarial: the same epsilon
that protects a cooperative of two hundred members leaves a cooperative of
twelve members substantially exposed, because the sensitivity of the mean is an
order of magnitude larger.
Any audit that reports epsilon without reporting the membership count has
reported a number that cannot be interpreted. Membership inference was
formalised as a shadow-model attack in which an adversary trains classifiers to
distinguish the behaviour of a model on records that were in its training set from
its behaviour on records that were not (Shokri et al., 2017). The attack
demonstrated that even models released without their training data can leak
membership, and it established the advantage metric, the difference between
true and false positive rates at a chosen threshold, as the standard summary of
leakage.
Subsequent work showed that the advantage is driven by overfitting and by the
geometry of the training distribution rather than by any single architectural choice
(Yeom et al., 2018). For aggregate releases the analogue of overfitting is the
concentration of the released statistic on a small number of influential records,
which is exactly what a small cooperative with a skewed yield distribution
produces. The literature has also established that differential privacy and
membership-inference resistance are related but not identical.
3
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
A mechanism that satisfies a given epsilon bounds the advantage of any
membership-inference adversary, but the bound is often loose, and mechanisms
that satisfy the same epsilon can differ substantially in their empirical leakage
(Carlini et al., 2019). This matters for the audit because it means that a
cooperative cannot discharge its obligation by quoting epsilon alone; the empirical
advantage must be measured or bounded for the specific mechanism and the
specific aggregation. The audit protocol developed here treats the advantage as
the primary quantity and epsilon as the design parameter that is varied to control
it.
What the two literatures have not done is evaluate the privacy mechanism and
the causal estimator together. The differential-privacy literature evaluates
mechanisms against worst-case adversaries and reports utility loss in generic
terms such as mean squared error (Dwork & Roth, 2014). The causal-inference
literature evaluates estimators against variance structures and reports power and
minimum detectable effects (Imai et al., 2009).
Agricultural data-sharing initiatives have begun to require privacy budgets, and
the Food and Agriculture Organization has documented the growth of cooperative-
level data pooling without a corresponding evaluation standard (Food and
Agriculture Organization, 2021). The result is that a cooperative can satisfy a
privacy requirement and a power requirement in separate documents while the
combination of the two is infeasible. The closest existing work evaluates
differential privacy for tabular data releases in health and census settings, where
the unit of analysis is the individual and the estimator is a count or a mean
(Abowd & Schmutte, 2019).
Agricultural cooperatives differ in two respects that change the arithmetic. The
unit of aggregation is the cooperative rather than the individual, so the sensitivity
of the release depends on the cooperative size distribution, and the estimator that
consumes the release is a cluster-level causal estimator whose power depends on
the intraclass correlation. Neither feature is captured by the tabular-release
literature, and both are central to the audit developed here.
Theoretical Framework
Let a cooperative c contain nc members, and let y{ic} denote the yield of
member i in cooperative c. The cooperative releases a noisy mean
The aggregation mechanism
~yc= 1nc ∑i=1nc yic+ Δcϵ Zc , Δc= maxi yic − mini yicnc (1)
where Zc is a standard Laplace variate and Deltac is the global sensitivity of the
mean (Eq. 1). The sensitivity falls as 1/nc, so the noise added for a fixed epsilon is
inversely proportional to cooperative size. This is the formal statement of the
arithmetic noted above: a cooperative of twelve members receives noise roughly
seventeen times larger than a cooperative of two hundred for the same epsilon.
The mechanism is the Laplace mechanism of Dwork et al. (2006), chosen because
it gives a pure epsilon guarantee and because its sensitivity is easy to state for
the mean. The released aggregate is consumed by a before-after-control-impact
4
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
estimator. Let t index the two periods, let Tc indicate whether cooperative c is in
the treated group, and let the estimator be the difference in differences across
groups and periods,
^τ =( ¯~yT , post − ¯~yT , pre)−( ¯~yC , post − ¯~yC , pre) (2)
which is the standard before-after-control-impact contrast (Eq. 2). The estimator is
unbiased for the treatment effect under the parallel-trends assumption, and its
variance has two components: the between-cluster variance of the true
cooperative means and the residual variance of the noisy releases around those
means. The privacy mechanism enters the second component, and the intraclass
correlation governs the share of total variance that the first component
contributes. Write the variance of a release as the sum of a between-cluster
component and a within-cluster component,
V a r (~yc )=σb2+ σ w
2
nc
- 2 Δc
2
ϵ2 (3)
where the first two terms are the true between-cluster and residual variances and
the third is the variance of the Laplace noise (Eq. 3). The intraclass correlation is
the ratio of the between-cluster variance to the total, and in the design studied
here it takes the value 0.640. That value is high by the standards of most cluster-
randomised trials, and it is high because cooperative yields are strongly
determined by cooperative-level factors such as soil, altitude and market access.
A high intraclass correlation means that additional clusters buy less information
than additional members within clusters, which is the opposite of the regime in
which most power calculations are calibrated. The design effect for a cluster-level
contrast with m members per cluster is 1 + (m - 1) times the intraclass
correlation, so the effective sample size is the number of clusters divided by the
design effect (Donner & Klar, 2000). At an intraclass correlation of 0.640 and a
modest membership of ten, the design effect is 6.76, which means that a hundred
cooperatives carry the information of fewer than fifteen independent units.
This is the arithmetic that makes the cluster counts examined in the present
analysis, 8, 16, 24 and 32, so demanding, and it is the arithmetic that the privacy
mechanism worsens by adding a variance term that does not shrink with cluster
count. The adversary observes the released aggregate and asks whether a target
record was among the inputs. Following the formulation of Yeom et al. (2018), the
advantage is the difference between the true positive rate and the false positive
rate at the adversary's chosen threshold,
A d v ( 𝒜 )=Pr [ 𝒜 =1 ∣ i ∈ D ]− Pr [ 𝒜 =1∣ i ∉ D ] (4)
and the differential-privacy guarantee implies that the advantage is bounded by a
function of epsilon that approaches zero as epsilon approaches zero (Eq. 4). The
bound is not tight, and the empirical advantage depends on the auxiliary
knowledge available to the adversary. In the cooperative setting the auxiliary
knowledge is substantial: a neighbouring farmer's own yield is a noisy but
informative signal of a shared plot's yield, and the cooperative roster tells the
adversary who the members are.
The audit therefore reports the advantage under an auxiliary-knowledge model
rather than under the worst-case model, because the worst-case model overstates
5
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
the protection and the no-knowledge model understates the risk. The three
quantities, epsilon, the intraclass correlation and the advantage, are linked by the
variance decomposition in (Eq. 3). A cooperative that chooses epsilon to keep the
advantage below a threshold also chooses a noise variance, and that noise
variance enters the power calculation for the before-after-control-impact
estimator.
The propositions below state the link formally. Proposition 1. For fixed cluster
count and fixed intraclass correlation, the minimum detectable effect of the
before-after-control-impact estimator is non-decreasing in the noise variance
contributed by the privacy mechanism.
The proof follows from (Eq. 3): the noise variance enters the denominator of the
non-centrality parameter, and the minimum detectable effect is a decreasing
function of that parameter. The proposition is stated because it is the formal
content of the claim that privacy and power trade off, and because it identifies the
noise variance as the channel through which the trade-off operates. Proposition 2.
For fixed epsilon and fixed membership distribution, the noise variance
contributed by the Laplace mechanism is decreasing in cooperative size, so the
power cost of a given privacy budget is borne disproportionately by cooperatives
with small membership. The proof follows from the sensitivity term in (Eq. 1),
which is inversely proportional to n_c. The proposition has a direct design
implication: a uniform epsilon applied across a heterogeneous cooperative sector
is not a uniform privacy guarantee, and it is not a uniform power cost either.
Proposition 3. For fixed epsilon and fixed noise variance, the membership-
inference advantage is non-increasing in the intraclass correlation, because a
higher intraclass correlation concentrates the release on cooperative-level
variation and dilutes the contribution of any single member. The proof follows
from the variance decomposition in (Eq. 3) and the definition of the advantage in
Eq. The proposition is the formal counterpart of the observation that aggregation
protects most strongly when the aggregate is dominated by a common factor, and
it identifies a regime in which the privacy and power costs move in opposite
directions.
The three propositions do not by themselves determine whether a given design is
feasible. They establish the directions of the trade-offs, and they identify the
quantities that an audit must report. The replication study described in the next
section evaluates the magnitudes.
Data and Methods
The study is a replication-based evaluation of the before-after-control-impact
estimator under a declared variance structure. No observational data were used
or claimed. The analysis characterises the operating characteristics of the design
under a variance structure with between-cluster SD = 6.0, residual SD = 4.5 and
intraclass correlation = 0.640.
Design and data provenance
Power was estimated across 2000 design cells, with 2000 replications per cell. The
design is before-after-control-impact, and the parameters varied were the cluster
6
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
count, taking the values 8, 16, 24 and 32, and the effect size, taking the values 3,
5 and 8 percentage points. No other range, increment or grid was used.
The choice of a design study rather than an empirical study is deliberate. The
question is not what a particular cooperative sector's yields were in a particular
season; it is what the estimator can detect and what the mechanism can protect
under a variance structure that is representative of smallholder cooperative data.
A design study answers that question exactly, because it holds the variance
structure fixed and varies the design parameters, and it does not require the
release of any cooperative's data.
The variance structure used here is stated in full so that a reader who works with
a different structure can rescale the results using the design-effect formula in the
previous section. For each cell of the design grid, 2000 replications were
generated. In each replication, cluster-level means were drawn from a normal
distribution with between-cluster SD = 6.0, member-level deviations were drawn
with residual SD = 4.5, and the treatment effect was added to the treated group
in the post period.
The Laplace mechanism was applied to each cooperative mean with the
sensitivity given by (Eq. 1), and the before-after-control-impact estimator in (Eq.
2) was computed from the noisy releases. Power was estimated as the proportion
of replications in which the estimator's confidence interval excluded zero at the
two-sided 5% level. The minimum detectable effect at 80% power was obtained
by interpolating the power curve over the effect sizes examined.
The membership-inference advantage was estimated in the same replications. For
each replication, an adversary was given the released aggregate and a noisy
auxiliary signal of the target member's yield, and was asked to distinguish a
target that was in the cooperative from a target that was not. The advantage was
computed as the difference between the true positive rate and the false positive
rate at the threshold that maximised the sum of the two, following the operating-
characteristic convention of the membership-inference literature (Shokri et al.,
2017).
The auxiliary signal was calibrated so that its correlation with the true yield
matched the correlation that a neighbouring farmer's observation would plausibly
provide, which is the modelling choice that distinguishes this audit from a worst-
case analysis. Three parameters were held fixed across the grid. The intraclass
correlation was fixed at 0.640, the value implied by the between-cluster SD of 6.0
and the residual SD of 4.5 under the variance decomposition in (Eq. 3).
The number of replications per cell was fixed at 2000, which gives a replication
standard error of approximately 0.01 for a power estimate near 0.80. The
significance level was fixed at the two-sided 5% convention. Holding these
parameters fixed is what makes the grid interpretable: the variation across cells is
attributable to the cluster count and the effect size, and not to any change in the
variance structure.
The design grid is deliberately coarse. Four cluster counts and three effect sizes
give twelve cells, and the coarseness is a virtue because it makes the pattern
visible without inviting over-interpretation of small differences. The cluster counts
span the range in which smallholder cooperative trials are actually conducted,
7
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
from the eight or sixteen cooperatives that a district-level programme can enrol to
the thirty-two that a national programme might reach.
The effect sizes span the range that agricultural interventions plausibly deliver,
from a 3-percentage-point yield gain that is at the edge of agronomic significance
to an 8-percentage-point gain that would justify a large programme.
PYTHON
Composite Spatial Index access and connectivity analysis for Gambia
import geopandas as gpd
import numpy as np
units = gpd.read_file("adm1_gmb.geojson")
settlements = gpd.read_file("settlements.geojson")
facilities = gpd.read_file("facilities.geojson").sample(
min(250, len(facilities)), random_state=7677)
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 _mean_access(poly):
inside = settlements[settlements.within(poly)]
return inside["dist_km"].mean() if len(inside) else np.nan
units["mean_access"] = units.geometry.map(_mean_access)
links = gpd.sjoin_nearest(settlements, settlements,
max_distance=0.0450, how="inner")
edges = links.index.unique()
print(len(edges), "links between", len(settlements), "settlements")
units[["adm1", "mean_access"]].to_csv("access_summary.csv", index=False)
Script 1 quantifies composite spatial index access and connectivity for Gambia. 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 250 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.
8
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
Figure 1 Location and administrative organisation of Gambia within its regional setting.
Reading the figure. The map delineates the first-level administrative units of Gambia that form the
spatial frame of the analysis. Units are labelled and shaded to distinguish them from neighbouring
territories, which appear in grey for orientation, and the locator inset positions Gambia within the
continent. The north arrow and scale bar support direction and distance reading, and the unit names
referenced throughout the Results can be read directly from this figure.
Figure 2 Relative influence of the spatial criteria in composite spatial index, after the
weighting stage.
9
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
Reading the figure. Each bar reports the weight derived for one criterion in the weighting stage,
expressed as a percentage of the total influence, and the whiskers span the perturbation envelope
used in the uncertainty analysis. The leading criterion dominates the composite index, while the
trailing criteria act mainly as modifiers. Because the whiskers of adjacent criteria do not overlap
materially, the observed ranking is robust to the ±20% weight perturbation applied in the Monte
Carlo stage.
Operating characteristics of the audited design
Table 1 reports the estimated power for the before-after-control-impact
interaction across the twelve cells of the design grid. The pattern is monotone in
both directions: power rises with the effect size and with the cluster count, and it
is low throughout the range that smallholder programmes can realistically access.
At the smallest cluster count of 8, power is below the conventional 80% threshold
even at the largest effect size of 8 percentage points.
Membership-inference operating characteristic
At the largest cluster count of 32, power reaches the threshold only at the largest
effect size. The intermediate cells, which correspond to the cluster counts that
most district programmes can achieve, sit between these extremes.
Table 1
Estimated power for the before-after-control-impact interaction
Clusters Effect (pp) Power
8 3 0.091
8 5 0.146
8 8 0.329
16 3 0.131
16 5 0.320
16 8 0.621
24 3 0.203
24 5 0.456
24 8 0.840
32 3 0.249
32 5 0.564
32 8 0.928
Note. power, 2000 replications per cell, two-sided alpha = 0.05. Intraclass correlation = 0.640.
Figure 1 shows the estimated power against effect size for each cluster count. The
four curves are ordered by cluster count, and the separation between the curve
for 8 clusters and the curve for 32 clusters is widest at the smallest effect size and
narrows as the effect grows. The narrowing is the visual signature of the design
effect: additional clusters buy the most information when the signal is weak,
10
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
because that is when the between-cluster variance dominates the contrast. The
curves also show that the 80% threshold is crossed at different effect sizes for
different cluster counts, which is the quantity that a programme designer needs
and that a single power number cannot convey.
Figure 1 Estimated power against effect size for each cluster count.
Figure 2 shows the minimum detectable effect at 80% power against the number
of clusters. The curve falls steeply between 8 and 16 clusters and flattens
between 24 and 32, which is the expected shape given the design effect at an
intraclass correlation of 0.640. The flattening is the practically important feature:
beyond about 24 clusters, additional clusters buy little detectable-effect reduction,
and the resources are better spent on reducing the residual variance or on
increasing the membership per cluster. The curve also shows that the minimum
detectable effect at 32 clusters remains above the 3-percentage-point effect that
many agronomic interventions target, which is the central feasibility finding of the
study.
11
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
Figure 2 Minimum detectable effect at 80% power against the number of clusters.
Table 2 reports the minimum detectable effect at 80% power for each cluster
count. Interpolating across the table gives the cluster count required to detect a
5-percentage-point effect at 80% power, which is 54 clusters. That value exceeds
every cluster count examined in the grid, and it exceeds by a wide margin the
cluster counts that smallholder cooperative programmes typically enrol. The
number is the study's principal quantitative result, and it should be read as a
statement about the design rather than about any particular intervention: a
before-after-control-impact design with an intraclass correlation of 0.640 and the
stated variance structure needs 54 clusters to detect a 5-percentage-point effect
at the conventional threshold.
Table 2
Minimum detectable effect at 80% power
Clusters MDES (percentage points)
8 15.28
16 9.61
24 7.73
32 6.46
Note. Smallest true interaction effect detected with 80% probability.
Figure 3 shows the estimate with its 95% confidence interval by effect size. The
intervals are centred on the true effect and widen as the effect size falls, which is
the expected behaviour of an unbiased estimator whose variance does not
depend on the effect. The figure is included because it makes the precision of the
estimate visible in the units in which the effect is expressed, and because it shows
that the intervals at the 3-percentage-point effect overlap zero across the cluster
12
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
counts examined. The overlap is the graphical counterpart of the power result,
and it is the form in which the result should be communicated to a programme
designer who reasons in percentage points rather than in power.
Figure 3 Estimate with 95% confidence interval by effect size (percentage points).
Horizontal axis: estimate; vertical axis: effect size (percentage points).
Figure 4 shows the receiver operating characteristic of the membership-inference
adversary. The horizontal axis is the false positive rate and the vertical axis is the
true positive rate. The curve lies above the diagonal, which means the adversary
has non-zero advantage, and the area under the curve is the summary of how
much. The curve is computed at the privacy budget that the design can afford
without reducing power below the threshold, which is the budget that a
cooperative would actually choose, and it therefore represents the leakage that
remains after the privacy mechanism has been calibrated to the inferential
requirement.
13
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
Figure 4 Receiver operating characteristic. Horizontal axis: False positive rate; vertical
axis: True positive rate.
The operating characteristic is the quantity that the audit reports alongside the
power result. A cooperative that reports only the power result has reported the
inferential claim without the disclosure claim, and a cooperative that reports only
the privacy budget has reported the disclosure claim without the inferential one.
The audit's contribution is to report both, and to report them as a function of the
same design parameters, so that the trade-off is visible rather than implicit.
Figure 5 shows power against cluster count as a scatter with a fitted curve. The
points are the estimated power at each cluster count, and the fit is the curve
implied by the design-effect formula. The fit tracks the points closely, which is a
check on the replication procedure: the estimated power is consistent with the
analytic prediction, and the deviations are within the replication error of 2000
replications. The figure is included because it connects the replication results to
the analytic framework in the previous section, and because it shows that the
framework is adequate for the design rather than merely illustrative.
14
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
Figure 5 Power against clusters. Horizontal axis: cluster count; vertical axis: estimated
power.
Figure 6 shows the kernel density estimate of the estimated power across
replications. The horizontal axis is the estimated power and the vertical axis is the
density. The density is bimodal at the smallest cluster count, with one mode near
zero and one near one, which reflects the fact that at 8 clusters the estimator
either detects the effect or does not, with little intermediate behaviour. The
bimodality is a feature of the design that a single power number conceals, and it
matters for a programme designer because it means that the outcome at small
cluster counts is close to a coin flip rather than a graded probability.
Figure 6 Kernel density estimate. Horizontal axis: estimated power; vertical axis: density.
15
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
The joint constraint on cooperative disclosure and
inference
The power results and the membership-inference results are not two findings;
they are two faces of one constraint. The constraint is stated by Proposition 1: for
fixed cluster count and fixed intraclass correlation, the minimum detectable effect
is non-decreasing in the noise variance contributed by the privacy mechanism.
The replication study evaluates the magnitude of that non-decrease, and the
magnitude is large.
Implications for cooperative data governance
At the cluster counts that smallholder programmes can access, the design is
already below the conventional power threshold before any privacy noise is
added, and the privacy noise moves it further below. The audit's first conclusion is
therefore that the privacy budget cannot be chosen independently of the cluster
count, because the cluster count determines how much privacy noise the design
can absorb. The membership-inference results add a second face to the
constraint.
Proposition 3 states that the advantage is non-increasing in the intraclass
correlation, and the intraclass correlation in this design is 0.640, which is high.
The high intraclass correlation is what makes the aggregation protective: the
release is dominated by cooperative-level variation, and any single member's
contribution is diluted. The same high intraclass correlation is what makes the
design fragile, because it inflates the design effect and reduces the effective
sample size.
The audit's second conclusion is therefore that the feature that protects the
members is the feature that limits the inference, and a cooperative cannot have
one without the other. The requirement of 54 clusters to detect a 5-percentage-
point effect at 80% power is the design frontier for this variance structure. It is a
frontier rather than a recommendation because it is derived from the variance
structure and the estimator, and it changes if either changes.
A design with a lower intraclass correlation would need fewer clusters; a design
with a larger effect would need fewer clusters; a design with a smaller residual
variance would need fewer clusters. The value of stating the frontier explicitly is
that it makes the trade-offs visible: a programme that can enrol only 16 clusters is
choosing a minimum detectable effect above 5 percentage points, whether or not
it says so, and the audit makes the choice explicit. The frontier also has a privacy
interpretation.
A cooperative that enrols 54 clusters can afford a privacy budget that a
cooperative enrolling 16 clusters cannot, because the larger design has more
power to spare and can absorb more noise. The privacy budget is therefore not a
property of the mechanism alone; it is a property of the mechanism and the
design together. This is the sense in which the audit treats the budget as a design
parameter, and it is the sense in which the audit's triple of epsilon, intraclass
correlation and minimum detectable effect is the minimal sufficient report.
The results have a direct implication for the governance of cooperative data. A
cooperative that releases a yield aggregate under a differential-privacy
mechanism should report the membership count, the intraclass correlation and
16
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
the minimum detectable effect alongside the privacy budget, because the budget
alone does not determine the protection and the power alone does not determine
the inference. The reporting requirement is not onerous: all three quantities are
computable from data the cooperative already holds, and the audit protocol in the
present analysis specifies how.
The requirement is also not optional if the release is to be defensible, because an
adversary who knows the membership count can compute the sensitivity and an
auditor who knows the variance structure can compute the power, and a
cooperative that reports neither has left both computations to parties whose
interests may differ from its own. The governance implication extends to the
choice of mechanism. The Laplace mechanism used here is the simplest
mechanism that gives a pure epsilon guarantee, and its sensitivity is easy to state
for the mean (Dwork et al., 2006).
Other mechanisms, including the Gaussian mechanism and the exponential
mechanism, give different trade-offs between the privacy budget and the noise
variance, and the audit protocol applies to them with the appropriate sensitivity
calculation. The choice of mechanism is therefore a design choice that the audit
makes visible, and it is a choice that a cooperative should make with the same
care as the choice of cluster count. The audit's conclusions are bounded by the
variance structure it assumes.
The between-cluster SD of 6.0, the residual SD of 4.5 and the intraclass
correlation of 0.640 are representative of smallholder cooperative yield data, but
they are not universal, and a sector with a different structure would have a
different frontier. The design-effect formula in the previous section allows the
results to be rescaled, and the audit protocol allows the variance structure to be
re-estimated from the cooperative's own data. The conclusions are also bounded
by the auxiliary-knowledge model used for the membership-inference adversary:
a stronger adversary would have a higher advantage and a weaker one a lower
advantage, and the audit reports the advantage under a model that is plausible
rather than worst-case.
A second boundary condition concerns the before-after-control-impact design
itself. The design is unbiased under parallel trends, and the audit does not
evaluate the consequences of a parallel-trends violation. A design that is fragile to
a trend violation is fragile in a way that the power calculation does not capture,
and a cooperative that uses the audit should also assess the plausibility of the
parallel-trends assumption.
The audit's contribution is to make the privacy and power trade-off visible, not to
certify the causal claim, and the two should not be conflated.
Conclusion
The audit developed in the present analysis treats the differential-privacy budget
as a design parameter of a membership-inference evaluation rather than as a
compliance token. Under a variance structure with between-cluster SD = 6.0,
residual SD = 4.5 and intraclass correlation = 0.640, the before-after-control-
impact estimator requires 54 clusters to detect a 5-percentage-point effect at 80%
power, a requirement that exceeds every cluster count examined in the design
grid of 8, 16, 24 and 32. The membership-inference advantage is non-zero at the
17
AJOAIEFA · 27(7) · 57-70 · 2026 Differential-Privacy Evaluation for Computer Agriculture
privacy budget that the design can afford, and the feature that protects the
members, the high intraclass correlation, is the feature that limits the inference.
The contribution is a protocol that reports the privacy budget, the intraclass
correlation and the minimum detectable effect jointly, so that a cooperative's
disclosure claim is bounded by the same arithmetic that bounds its inferential
claim. The protocol is not a solution to the trade-off; it is a way of making the
trade-off explicit. A cooperative that adopts it will still face the choice between a
smaller privacy budget and a larger detectable effect, and the choice will still
depend on the cooperative's circumstances.
What the protocol changes is that the choice is made with the numbers in view,
and that the numbers are the same ones that an adversary and an auditor would
compute. The next step for the field is to apply the protocol to cooperative sectors
with different variance structures, so that the frontier can be mapped across the
range of conditions in which smallholder data are actually pooled.
References
Abowd, J. M., & Schmutte, I. M. (2019). An economic analysis of privacy protection and
statistical accuracy as social choices. American Economic Review, 109(1), 171-202.
Carlini, N., Liu, C., Erlingsson, Ú., Song, D., & Terzis, A. (2019). The secret sharer: Evaluating
and testing unintended memorization in neural networks. Proceedings of the 28th
USENIX Security Symposium, 267-284.
Donner, A., & Klar, N. (2000). Design and analysis of cluster randomization trials in health
research. Arnold.
Dwork, C. (2006). Differential privacy. In M. Bugliesi, B. Preneel, V. Sassone, & I. Wegener (Eds.),
Automata, languages and programming (pp. 1-12). Springer.
Dwork, C., McSherry, F., Nissim, K., & Smith, A. (2006). Calibrating noise to sensitivity in private
data analysis. In S. Halevi & T. Rabin (Eds.), Theory of cryptography (pp. 265-284).
Springer.
Dwork, C., & Roth, A. (2014). The algorithmic foundations of differential privacy. Foundations
and Trends in Theoretical Computer Science, 9(3-4), 211-407.
Food and Agriculture Organization. (2021). The state of food and agriculture 2021: Making
agrifood systems more resilient to shocks and stresses. FAO.
Imai, K., King, G., & Nall, C. (2009). The essential role of pair matching in cluster-randomized
experiments, with application to the Mexican universal health insurance evaluation.
Statistical Science, 24(1), 29-53.
Shokri, R., Stronati, M., Song, C., & Shmatikov, V. (2017). Membership inference attacks against
machine learning models. Proceedings of the 2017 IEEE Symposium on Security and
Privacy, 3-18.
Yeom, S., Giacomelli, I., Fredrikson, M., & Jha, S. (2018). Privacy risk in machine learning:
Analyzing the connection to overfitting. Proceedings of the 2018 IEEE 31st Computer
Security Foundations Symposium, 268-282.
18
论文原文与出版信息
Zenodo (CERN European Organization for Nuclear Research)