arXiv:2609.01667cs.CRSep 2026

Manuscript Offprint

arXiv:2609.01667

Private Computation Space: Experience with Trusted Multi-Cluster Federated Learning for Agriculture

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

Shuangyu LeiCornell UniversityUSAMuhammadSalman AbidCornell UniversityUSAJacob BeldingCornell UniversityUSASam MosherCornell UniversityUSAManushi B.TrivediCornell UniversityUSA
ShivranjaniBaruahCornell UniversityUSALiam Wickes-DoCornell UniversityUSAAndrewAndersonIBM ResearchUSABraulio DumbaIBM ResearchUSAAlyssa WhitcraftUniversity ofMarylandUSA
Ritvik SahajpalUniversity ofMarylandUSASijin LiCornell UniversityUSAKelly RobbinsCornell UniversityUSAMichael GoreCornell UniversityUSAMargaret FrankCornell UniversityUSA
Steven WolfCornell UniversityUSALiz JonesCornell UniversityUSAAbraham StroockCornell UniversityUSAKaitlin GoldCornell UniversityUSAHakimWeatherspoonCornell UniversityUSA

Abstract

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 R2R^2 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.

1 Introduction

As a land-grant research institution, we work directly with growers¹. This paper reports on the experience of two farm-and cloud-level system deployments, one monitoring nitrogen levels via sentinel plants in New York and a second predicting evapotranspiration (ET) using weather station data from the California Irrigation Management Information System (CIMIS) [3]. These two deployments highlight increasingly common Machine Learning (ML) workloads where farmers contribute data to help manage on-farm resources. However, a key fundamental issue prevents farmers from participating: privacy. Slattery et al. report that in the U.S., 69% of farmers had privacy concerns when asked to share their data, 73% do not trust private companies, and 58% do not trust the government [51]. This necessitates a system that growers can trust with their data and make use of it to apply Digital Agriculture to their operation with privacy guarantees.

We introduce the Private Computation Space (PCS), a deployed system that runs agricultural workloads farmers can trust, accommodates poor connectivity in rural settings, and generalizes across workloads. PCS consists of two parts: (i) a Kubernetes-based multi-cluster orchestration framework for running workloads on on-premise farm clusters and the public cloud, and (ii) an asynchronous Federated Learning framework for training ML models on sensitive farmer data

¹Farmer is a broad term for someone working the land to produce food, fiber, or fuel, while grower typically emphasizes cultivating plants and is considered a bit more modern. They are used interchangeably in the paper to refer to people practicing agriculture.

with Differential Privacy. With a combination of the two, farmer data can be reliably provisioned and processed in a hybrid setting; farm clusters run on-premises so data does not leave the client premises during training, and model weights are aggregated in the public cloud within a Trusted Execution Environment (TEE).

As a distributed ML approach, Federated Learning (FL) enables training on a large corpus of decentralized data residing on devices [6]. FL has been deployed across agricultural applications to solve privacy concerns [10]. To further secure FL systems, prior works have used three privacy-preservation schemes: Fully-Homomorphic Encryption, Secure Multi-Party Computation, and Differential Privacy [10]. While individual privacy-preserving FL practices have made considerable progress, existing deployments lack general support for heterogeneous applications. Selecting an optimal scheme for a general agricultural framework requires considering its complex threat model, data and application heterogeneity, limited on-farm resources, and intermittent network partitions during the FL system's lifecycle (§3).

The FL framework in PCS is inspired in design by other large-scale FL frameworks, including Papaya FL from Meta [18], Google FL [6] and Apple FL [39]. Although terminology is reused from the more recent Papaya FL system for consistency, PCS implements both SyncFL and AsyncFL (FedBuff [36]) and is evaluated extensively in agricultural settings. To strengthen the privacy guarantees, PCS also applies Differential Privacy to anonymize user participation in the FL framework and Trusted Execution Environments to secure aggregation from unverified aggregator and infrastructure providers. In comparison, Papaya FL relies on random masking, which does not protect participants from membership inference attacks [50]. While existing large-scale FL frameworks target mobile and consumer settings, FL has to be specialized for domains with stricter privacy requirements and deployment setups. Systems such as Fed-BioMed [9] work towards a specialized setup for healthcare, whereas PCS targets farms and has been deployed on several research farms. A research farm is an agricultural site where crops, livestock, and farming practices are studied under field conditions, typically affiliated with a land-grant university [38]. This paper discusses the implications of designing for agriculture (§3) and operational metrics from current long-running deployments (§6).

We deploy PCS in two long-running agricultural settings: (i) monitoring nitrogen levels across three farms in New York for six months, and (ii) predicting evapotranspiration across ten weather stations in California for ten months. Across both deployments, FL improves over single-site training by leveraging geographically distributed and heterogeneous datasets while keeping raw data local. When applying Differential Privacy (DP) at the aggregator, called Central DP, PCS retains strong model utility. It achieves a measure of accuracy called Dice Similarity Coefficient (DSC) of 0.71, which improves the accuracy of the worst single-site model by 22.4% for nitrogen monitoring, and an R2R^{2} of 0.84 for ET prediction, improving the accuracy of the worst single-station model by 9.1%. Over deployment periods of six and ten months, respectively, PCS continues operating client clusters on Raspberry Pis successfully despite client dropouts and network disruptions. Compared to a conventional Kubernetes deployment, TEE-secured aggregation introduces less than 2% overhead relative to end-to-end training time. These results demonstrate that privacy-preserving FL can be deployed in agricultural environments without sacrificing privacy, practicality, reliability, or model quality.

To summarize our key contributions, we:

  • Deploy a trusted multi-cluster FL framework for agriculture that ensures privacy by design.

  • Report our experience, operational realities, and lessons learned with a deployed system that protects growers' privacy, with flexibility for rural internet connections.

  • Describe deployment results, reporting significant accuracy improvements compared with single-site training and low latency overhead for both workloads.

References (43)