The Explanation Looked Convincing. Then They Randomised The Model
Heat maps showing which part of a leaf an AI looked at are used to justify treatment advice. Randomising the model showed one method's maps barely depended on what it had learned.
FedXCrop trains crop disease classification across farms without sharing raw data, and quantitatively evaluates the explanations of the aggregated global model. A centrally trained MobileNetV2 reached 99.38% accuracy; FedAvg reached 98.81% with identical clients, falling to 97.78% under strong label skew, with FedProx no better at any level. Explanations put 0.70 to 0.78 of their energy on the leaf against 0.60 for chance, lesion localization was only modestly above chance, and a randomization test showed SmoothGrad depended substantially on image structure rather than learned parameters.
What happened
Two ideas get bolted onto agricultural AI to make it trustworthy, and this paper tests both.
The first is federated learning. Farms are reluctant to hand over their data, so instead of collecting it centrally you train a shared model across all of them and only exchange model updates. The raw data never leaves the farm.
The second is explainability. A prediction with no reasoning is hard to act on, so these systems produce a heat map showing which parts of the image the model attended to. The farmer sees the diseased patch highlighted and the advice becomes credible.
This paper does the federated part competently and then turns a sceptical eye on the heat maps.
The test
The baseline: a MobileNetV2 trained centrally on PlantVillage, the standard benchmark, achieving 99.38 percent accuracy with a standard deviation of 0.05 over three seeds, on a fixed test set of 5,428 images across 38 classes. Reporting the variation across seeds is a small sign of care that most papers skip.
The federated versions were trained for 30 rounds across five clients, using two algorithms — FedAvg and FedProx — and tested under increasing label skew. Dirichlet skew at alpha 1, 0.5 and 0.1 simulates farms that see increasingly different mixes of disease, which is the realistic situation: a farm in one climate does not encounter the same problems as one in another.
Then the explanation evaluation, on 380 test images, using two popular methods: Grad-CAM and SmoothGrad. And three tests of whether the explanations mean anything.
How much of the explanation’s energy lands on the leaf rather than the background. Whether the federated model’s maps agree with the centralized model’s. And a model-randomization test: scramble the learned weights and regenerate the explanation. If the map looks much the same, it was never reflecting what the model learned.
The result
The federated part worked well. FedAvg reached 98.81 percent with identically distributed clients, and held up under skew: 98.81, 98.59 and 97.78 percent as the skew increased. Against 99.38 percent centrally, the cost of not sharing data is between 0.6 and 1.6 percentage points. That is a real and modest price for not moving anyone’s data.
FedProx, which exists specifically to handle client heterogeneity, was not significantly different from FedAvg at any level, with McNemar p values above 0.3. The complicated algorithm bought nothing over the simple one.
Now the explanations.
Both methods put 0.70 to 0.78 of their energy on the leaf — against a chance level of 0.60. So they are better than random at finding the leaf, by a margin that is real and not large.
Grad-CAM maps from federated and centralized models correlated at 0.74 to 0.76, and agreement fell as heterogeneity rose. So as farms differ more, explanations become less stable.
Lesion localization was only modestly above chance. The maps find the leaf tolerably and the diseased part barely.
And the randomization test: SmoothGrad’s maps depended substantially on image structure rather than on the model’s learned parameters. Scramble what the model knows and the explanation largely survives — which means it was mostly describing the picture, not the reasoning.
Why do convincing pictures fail a scrambling test? This is because a heat map over a leaf looks explanatory to a human whatever produced it. Edges and textures draw attention, and we read intention into it. THE MAP WAS PERSUASIVE BECAUSE IT WAS A PICTURE, NOT BECAUSE IT WAS TRUE.
What it means
If you are deploying agricultural AI and showing farmers a heat map to justify advice, this paper says check whether your map survives a randomization test. If it does not, the map is decoration with the authority of evidence, which is worse than no map.
The federated finding is more cheerful and also useful: FedAvg is adequate, so the privacy guarantee is affordable and does not need the complicated algorithm.
Therefore the question for any explainable AI deployment is whether the explanation has been tested against a scrambled model, and almost nowhere is it.
Business ideas from this paper
1. Explanation auditing. The randomization test is cheap to run and almost nobody runs it. Sell the audit for any product showing attribution maps. Buyer: companies whose products display AI explanations, in agriculture, medicine or finance. First test: run the test on one customer’s explanation method and report whether the map survives.
2. Federated training for farm data cooperatives. The accuracy cost is 0.6 to 1.6 points and FedAvg suffices, which makes a privacy-preserving shared model practical rather than aspirational. Buyer: farming cooperatives and agribusinesses wanting a shared model without pooling data. First test: train one federated model across three willing farms and report the accuracy against each farm’s own model.
3. Honest interface design for AI advice. If the lesion localization is barely above chance, showing a confident heat map misleads. Sell the redesign: what to display when the explanation is weak. Buyer: agritech and health AI product teams. First test: redesign one result screen without the heat map and test whether users trust it appropriately.
How sure can you be?
A well-designed study whose most valuable part is the negative result.
The strengths: three seeds with variation reported. A proper skew sweep across three heterogeneity levels. Statistical testing of the FedAvg versus FedProx comparison rather than eyeballing it. Explanations evaluated quantitatively against a chance baseline rather than shown as illustrations. Cross-model agreement measured. And the randomization test run and reported even though it undermines a method the authors used.
The limits: a preprint with no peer review. PlantVillage is a clean benchmark dataset of well-lit single leaves, and 99.38 percent on it tells you little about a field — this is a study about explanations rather than about field performance. Five simulated clients is a small federated setup, and real farms differ in more ways than label distribution. 380 images for the explanation analysis is modest. And the finding is about these two attribution methods on this task, not about explainability in general.
Do this today
Next time software shows you a highlighted region to justify a decision, ask what it would look like if the model knew nothing. One of the two methods here barely changed.
Source: FedXCrop: Privacy-Preserving Crop Disease Detection via Federated Learning with Post-Aggregation Explainability under Non-IID Farm Distributions, November 2026. arXiv:2611.06221 · arxiv.org (preprint · not yet peer reviewed).
Just Out Tech explains new research in plain language. This article was drafted with AI assistance and checked by a human against the original source.
- FedXCrop is a federated crop disease classification pipeline that quantitatively evaluates explanations of the aggregated global model, so farms need not share raw data (arXiv:2611.06221).
- A MobileNetV2 trained centrally on PlantVillage achieved 99.38% test accuracy, standard deviation 0.05 over three seeds, on a fixed test set of 5,428 images across 38 classes.
- Federated models trained for 30 rounds across five clients achieved 98.81% with identically distributed clients, and 98.81%, 98.59% and 97.78% under Dirichlet label skew at alpha 1, 0.5 and 0.1; FedProx was not significantly different from FedAvg at any heterogeneity level (McNemar p greater than 0.3).
- Grad-CAM and SmoothGrad explanations on 380 test images attributed 0.70 to 0.78 of their energy to the leaf against a chance level of 0.60, and Grad-CAM maps from federated and centralized models correlated at 0.74 to 0.76.
- Agreement decreased as heterogeneity increased, lesion localization was only modestly above chance, and a model-randomization test indicated SmoothGrad maps depended substantially on image structure rather than learned parameters.
A simulated federated setup with five clients on a benchmark dataset. No real multi-farm deployment is reported.
Questions people ask
What is federated learning?
Training one shared model across many parties without any of them sending their raw data anywhere.
What is a model-randomization test?
You scramble the model's learned weights and regenerate the explanation. If it looks similar, the explanation was not reflecting what the model learned.
Why does lesion localization matter?
Because if the map highlights the leaf but not the diseased part, it cannot support a treatment decision.