Private Computation Space: Experience with Trusted Multi-Cluster Federated Learning for Agriculture
Authors: Shuangyu Lei, Muhammad Salman Abid, Jacob Belding, Sam Mosher, Manushi B. Trivedi, Shivranjani Baruah, Liam Wickes-Do, Andrew Anderson, Braulio Dumba, Alyssa Whitcraft, Ritvik Sahajpal, Sijin Li, Kelly Robbins, Michael Gore, Margaret Frank, Steven Wolf, Liz Jones, Abraham Stroock, Kaitlin Gold, Hakim Weatherspoon
Artificial Intelligence has shown to help improve agricultural practices, yet adoption remains limited: 69% of U.S. farmers have privacy concerns with sharing their data, and these concerns must be addressed before adoption is widespread. While Federated Learning has been demonstrated to protect privacy at scale for other sectors, deploying a system for agriculture comes with its own set of challenges; the problem necessitates a system that can protect farmer data and identities while preserving model utility, runs on commodity hardware, and is resilient to fragile rural infrastructure. To address these concerns, we introduce the Private Computation Space (PCS), a deployed, open-source Machine Learning system to provision and process farmer data securely. We design a system tailored to an agricultural setting, with multi-cluster orchestration for reliability in rural areas with asynchronous Federated Learning (FL), Differential Privacy (DP), and Trusted Execution Environments (TEEs), to allow farms to participate in the framework while keeping their data private. We evaluate the system on two deployed workloads: monitoring nitrogen with living plant sensors in NY for six months and predicting evapotranspiration from weather stations in CA for ten months. Our evaluation finds a Dice Similarity Coefficient (DSC) of 0.71 and R2 accuracy of 0.84 for the respective workloads, improving the worst single-site model accuracy by 22.4% and 9.1%, respectively, while preserving privacy.
Figures & tables
Figure 1. Multi-cluster Federated Learning deployment for nitrogen estimation with sentinel plants in New York.
Figure 2. FarmBot ( Inc., ) imaging setup at a greenhouse client. The robot carries a camera that captures each of the 54 tomato plants in the bench.
Figure 3. Multi-cluster Federated Learning deployment for ET prediction across California. Ten climatically distinct weather stations (labeled by station ID) run as FL clients. Map colors correspond to ET zones ( , 2025 ) .
Figure 4. Nitrogen deployment : Federated segmentation of one greenhouse plant over a 14-day cycle.
Figure 5. Daily live ET predictions versus station-measured ET across the ten CIMIS stations for ten months.
Reality
Complex threat model and privacy goals
Heterogeneous workloads and constrained privacy mechanisms
Fragile farm infrastructure and scarce heterogeneous data
Lesson
Privacy preservation requires combining FL, TEE-secured aggregation, and Differential Privacy.
Resilient deployment requires multi-cluster orchestration and asynchronous FL.
Table 1. Three operational realities and lessons learned of privacy-preserving agricultural deployments.
Figure 6. Overall design diagram for PCS with multi-cluster orchestration. Each training task (model, config) spawns an aggregator-trainer pair, each aggregator has a one-to-one relationship with a trainer downstream.
Figure 7. Overall design diagram for PCS with multi-cluster orchestration. Each training task (model, config) spawns an aggregator-trainer pair, each aggregator has a one-to-one relationship with a trainer downstream.
Figure 8. Example federated request for ET deployment.
10 CIMIS stations of distinct climates; 34,107 samples.
Next-day ET regression; stacked LSTM ( h=64 , 2L).
Trained on 2008–2020; tested on 2020–2025; aggregated with FedAvg.
DP-FTRL Gaussian; central DP; global adaptive clipping ( C0=0.5 ); Rényi-DP ( δ=10−5 ).
Table 2. Summary of the two deployments on PCS.
Figure 10. Nitrogen deployment : Segmentation accuracy and visualization (see § 6.1 for details). The color configuration of bars in 10(a) matches the color configuration of masks in 10(b) , except for the local models that remain neutral such that the background stays visible.
Figure 11. ET deployment : Prediction accuracy, R2 , across training settings and privacy budgets. See \lx@sectionsign\refsec::eval−accuracy for details.
Figure 12. ET deployment : AsyncFL (FedBuff) evaluation with trace-replayed CIMIS station availability. See \lx@sectionsign\refsec::eval−async for details. Buffer size K is the number of client updates the server waits for before aggregating.
Figure 13. Nitrogen deployment : Three representative one-week availability traces from a greenhouse client under high, medium, and low availability.
E
Bare (s)
TEE (s)
Δ
Nitrogen
1
146.07
146.01
+0.0%
2
289.87
286.61
−1.1%
4
574.97
573.00
−0.3%
ET
1
14.40
14.49
+0.6%
2
26.31
26.36
+0.2%
4
48.98
49.33
+0.7%
Table 3. Median per-round time for bare and TEE server configurations across local epoch E . Δ is relative to bare.