Alaeddinnn commited on
Commit
f90f9c9
·
verified ·
1 Parent(s): f7295c1

Write full dataset card: task, splits, sources, annotations, model results, limitations

Browse files
Files changed (1) hide show
  1. README.md +154 -0
README.md CHANGED
@@ -1,3 +1,157 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ pretty_name: Open Relief — Food-Security Forecasting Dataset
4
+ task_categories:
5
+ - time-series-forecasting
6
+ - text-generation
7
+ tags:
8
+ - food-security
9
+ - ipc
10
+ - famine-early-warning
11
+ - time-series
12
+ - humanitarian
13
+ - llm-annotation
14
+ language:
15
+ - en
16
+ size_categories:
17
+ - 10K<n<100K
18
  ---
19
+
20
+ # Open Relief
21
+
22
+ A retrospective research dataset and benchmark pairing district-level food-security
23
+ histories with national context, built to study **FEWS NET IPC phase forecasting**
24
+ and **time-series-to-language supervision** — teaching a language model to connect
25
+ historical signals into a written, evidence-cited rationale rather than just a number.
26
+
27
+ Built for the **Temporal AI Challenge**. Source code, frontend and full documentation:
28
+ [github.com/luk-huebner/OpenRelief](https://github.com/luk-huebner/OpenRelief).
29
+
30
+ ## Task
31
+
32
+ Given six months of history across 21 channels (food-security indices, prior IPC
33
+ assessments, shipping, conflict, rainfall, staple prices), predict the FEWS NET IPC
34
+ phase (1 Minimal → 5 Famine) three calendar months ahead, with a generated rationale,
35
+ cross-domain hypotheses and recommended actions.
36
+
37
+ ## Dataset at a glance
38
+
39
+ | Field | Value |
40
+ |---|---|
41
+ | Dataset version | `8142c89de89cb862117d6a814be515b9f00312bb960e33cf7e994a99ed124bd3` |
42
+ | Train | 9,065 examples / 16 countries (cutoffs through Dec 2022) |
43
+ | Validation | 2,503 examples / 16 countries (Jan–Jul 2023 cutoffs) |
44
+ | Test | 2,230 examples / 14 countries (Aug–Dec 2023 cutoffs, target exactly +3 months) |
45
+ | Channels | 21 (six monthly observations each, plus observed-value masks) |
46
+ | Test label support | Phase 1: 854 · Phase 2: 976 · Phase 3: 395 · Phase 4: 5 · Phase 5: 0 |
47
+ | Annotation coverage | 2,781 / 9,065 training records (30.7%) — partial, not complete |
48
+
49
+ Prepared arrays live under `artifacts/dataset/` and `artifacts/multimodal/`
50
+ (`inputs.jsonl`, `targets.jsonl`, `manifest.json`). Loaders verify dataset checksums
51
+ against the version above before use.
52
+
53
+ ### Sources
54
+
55
+ - **HFID** — district panel: FEWS NET IPC labels, normalized FCS/rCSI.
56
+ - **IMF PortWatch** — national shipping/port-call volumes.
57
+ - **ACLED** — national conflict events and fatalities.
58
+ - **CHIRPS** — country-average rainfall.
59
+ - **WFP** — national staple-food price series, with commodity/unit metadata.
60
+
61
+ National covariates are aggregated to country level; only FCS/rCSI and the IPC label
62
+ are at district (admin2) resolution. The benchmark assumes one-month release lags for
63
+ HFID/PortWatch/ACLED/WFP and two months for CHIRPS — it does not establish what could
64
+ actually have been forecast in real time. Full provenance:
65
+ [SOURCES.md](https://github.com/luk-huebner/OpenRelief/blob/main/docs/SOURCES.md),
66
+ [DATASET_CARD.md](https://github.com/luk-huebner/OpenRelief/blob/main/docs/DATASET_CARD.md).
67
+
68
+ ## Annotations
69
+
70
+ `gpt-5.6-terra` generated structured training supervision for 2,781 of the 9,065
71
+ training examples: precursor claims (with channel citations), cross-domain hypotheses,
72
+ a written rationale, driver-cited recommended actions, and an uncertainty/confidence
73
+ note. **The teacher was given the true future IPC phase** — this is retrospective
74
+ supervision, not independent forecasting reasoning, and hypotheses are not proven
75
+ causes. Unannotated training examples train on an empty rationale/action target
76
+ (phase-only supervision).
77
+
78
+ Three fully worked examples — one deterioration, one persistent crisis, one
79
+ improvement, each with its input charts, generated hypotheses, verbatim rationale and
80
+ recommended actions — are in the
81
+ [annotation atlas](https://github.com/luk-huebner/OpenRelief/blob/main/docs/examples/annotation-atlas/README.md)
82
+ (exact examples: `docs/examples/annotation-atlas/examples.json`). It is an editorial
83
+ illustration of three selected cases, not a representative quality sample.
84
+
85
+ ## Model results (this repo's `gpu-results/`)
86
+
87
+ `OpenTSLM/llama-3.2-1b-tsqa-sp` (Llama 3.2 1B backbone), fine-tuned with LoRA
88
+ (rank 16, alpha 32) on the 2,781 annotated training examples.
89
+
90
+ **Fine-tuning is not optional.** The untouched pretrained checkpoint, evaluated on the
91
+ full 2,230-example test set with no LoRA at all, produced **0% valid JSON output** —
92
+ it never attempts the task's output format. See `gpu-results/pretrained-fulltest/`.
93
+
94
+ **Source ablation** (256-example eval cohort, one source's channels dropped at a
95
+ time — see caveat below):
96
+
97
+ | Run | Macro-F1 | Accuracy |
98
+ |---|---:|---:|
99
+ | All sources (baseline) | 0.7199 | 0.7344 |
100
+ | Drop conflict (ACLED) | 0.7428 | 0.7617 |
101
+ | Drop rainfall (CHIRPS) | 0.7286 | 0.7500 |
102
+ | Drop prices (WFP) | 0.7300 | 0.7500 |
103
+ | **Drop shipping (PortWatch)** | **0.5826** | 0.7852 |
104
+
105
+ Dropping PortWatch (shipping) is the only ablation that meaningfully hurts the model —
106
+ a 0.14 macro-F1 drop, far outside the noise band of the other three. Full writeup:
107
+ [FINDING-portwatch-signal.md](https://github.com/luk-huebner/OpenRelief/blob/main/docs/FINDING-portwatch-signal.md).
108
+
109
+ *Caveat:* the ablation table above is a 256-example cohort with only one phase-4
110
+ example and no phase-5 examples in the full test set at all — do not read this as
111
+ demonstrated famine prediction, and match sample IDs before comparing against any
112
+ other reported number (e.g. a naive last-known-phase persistence baseline scores
113
+ 0.735 macro-F1 on the full 2,230-example test set, ahead of the 256-example fine-tuned
114
+ number above on a different cohort). See
115
+ [STATUS.md](https://github.com/luk-huebner/OpenRelief/blob/main/docs/STATUS.md) for
116
+ the full, currently-known comparison table.
117
+
118
+ The fine-tuned LoRA adapter (`gpu-results/all-sources/best_model.pt`, SHA-256
119
+ `a10343caa152d1c3aa55b6dc9b40e11603067babeac44909001d1597a3e84e10`) is deployed as a
120
+ live inference endpoint that powers the project's demo frontend.
121
+
122
+ ## Repository layout
123
+
124
+ ```
125
+ artifacts/dataset/ prepared inputs.jsonl / targets.jsonl / manifest.json
126
+ artifacts/multimodal/ multimodal-formatted version of the same splits
127
+ artifacts/annotation-cache/ cached per-example teacher annotation responses
128
+ artifacts/*.manifest.json acquisition manifests per source connector
129
+ gpu-results/ fine-tuning + ablation runs (see table above)
130
+ all-sources/ baseline checkpoint, losses, benchmark, best_model.pt
131
+ ablation-{acled,chirps,wfp,portwatch}/ one-source-dropped reruns
132
+ pretrained-fulltest/ untouched-checkpoint baseline, full test set
133
+ manifest.json git commit + image digest + launch command per run
134
+ refrences/ background reading + one raw source CSV
135
+ ```
136
+
137
+ ## Limitations
138
+
139
+ - National-level signals (shipping, conflict, rainfall, price) do not prove
140
+ district-level exposure; only FCS/rCSI and the IPC label are district-resolution.
141
+ - FCS/rCSI normalization direction is undocumented — numeric movement is not given a
142
+ severity interpretation.
143
+ - No phase-5 test examples exist and only five phase-4 examples — this dataset does
144
+ not support a claim of demonstrated famine prediction.
145
+ - Ablation effects are associative, measured against removed input channels, not
146
+ causal claims.
147
+ - Historical publication timestamps and revisions are unavailable; assumed release
148
+ lags are a modeling choice, not an observed fact.
149
+
150
+ ## License and reuse
151
+
152
+ Repository code is Apache-2.0. Access to an upstream source here does not imply
153
+ unrestricted redistribution rights over that source's original data — retain IMF
154
+ PortWatch terms, ACLED terms of use, WFP source metadata, CHIRPS attribution and
155
+ geoBoundaries attribution as applicable to each channel. See
156
+ [DATASET_CARD.md](https://github.com/luk-huebner/OpenRelief/blob/main/docs/DATASET_CARD.md#access-reuse-and-reproducibility)
157
+ for the full statement.