Accuracy and limits

How the model was tested, how often it is right, how it compares with other approaches, and where it should not be trusted.

The model was tested on households it never saw during training, against what those households actually reported in 2021/22.

How it was tested

In every survey area, every fourth household was set aside before training. The model was trained on the rest and scored the set-aside households once. This was repeated with five different sets of held-out households to check that the results were not a matter of luck.

Results

Measure Main test (484 households) Average of five tests
Accuracy: share of households classified correctly 79.3% 78.4% (± 1.9 points)
Recall: share of food-insecure households flagged 80.2% 84.4%
Precision: share of flagged households that were food insecure 84.8% 80.2%
ROC AUC: how well scores rank households (0.5 is chance, 1 is perfect) 0.87 0.86

For context, 61% of test households were food insecure, so simply calling every household food insecure would be right 61% of the time but could not tell households apart.

Right and wrong calls

On the main test, with households above the 0.52 cut-off flagged:

  • 235 food-insecure households were correctly flagged.
  • 58 food-insecure households were missed.
  • 42 food-secure households were flagged unnecessarily.
  • 149 food-secure households were correctly not flagged.

The two kinds of error have different costs. A miss means a household in need is not visited; an unnecessary flag means a visit finds no problem. The cut-off balances the two, and the planning page shows what changes when more or fewer households are visited.

Comparison with other approaches

The graph neural network was compared with three common alternatives, all given the same inputs, including summaries of neighbouring areas. This comparison used a wider set of inputs than the 14-question interview, so its figures differ slightly from those above.

Model Accuracy
Graph neural network 77.0%
Extra trees with neighbouring areas 76.6%
LightGBM with neighbouring areas 74.8%
Logistic regression with neighbouring areas 67.9%

A benchmark form that also asks about the household's recent diet scored 79.7% against 78.4% for the 14 farming questions. The difference is not statistically significant. The farming form was chosen by a rule set before the results were known: at least 75% accuracy on every test and recall close to the benchmark.

Unanswered questions

Interviews are often incomplete, so the app was tested with answers removed at random. With one in five answers left as "Unknown", 95% of households could still be scored and accuracy stayed at 79.5%. With three in ten missing, only 74% had the 9 answers needed.

Known limits

  • The data is from 2018/19 to 2021/22. Drought, conflict, prices and the COVID-19 pandemic have changed conditions since then. Scores describe past patterns, not the current situation.
  • Farming households only. The model has not been tested on urban, pastoralist or non-farming households.
  • The survey area matters most. Choosing the wrong area, or an area whose name is only approximate, can change a score substantially.
  • Some regions have little or no data. Tigray and Addis Ababa have no test households, and Somali and Benishangul-Gumuz have very few.
  • Self-reported outcomes. Food insecurity is measured by what households said in an interview, which can be affected by recall and by how questions were understood.
  • Reasons are not causes. The factors shown with a score explain the model's calculation, not why a household is struggling.