NLP-based Message Prioritisation for Opportunistic Routing: A Case Study of Nepal Earthquake Emergency Communication
Organizations: School of Computer Science, University of Nottingham, Nottingham, United Kingdom
Abstract
This dissertation investigates whether Natural Language Processing (NLP) based semantic message prioritisation can improve the treatment of urgent disaster messages in opportunistic emergency communication, using the 2015 Nepal earthquake as a case study. TF IDF with Logistic Regression and BERT are used to classify social media messages into nine humanitarian categories, which are mapped to four routing priorities from P1 to P4. These priorities are integrated into the ONE simulator within a controlled Kathmandu earthquake scenario using a modified Binary Spray and Wait router. BERT achieves higher priority accuracy and P1 recall than Logistic Regression, while reducing under prioritisation and severe priority errors. However, improved NLP performance does not produce uniform network gains. P1 delivery probability remains high and similar across routing conditions, and no consistent latency reduction is observed. The clearest difference appears under buffer pressure, where the BERT condition shows fewer observed ground truth P1 buffer losses than Logistic Regression. The results indicate that semantic prioritisation is most valuable when limited transmission and storage resources are contested, although it cannot overcome mobility and contact constraints in opportunistic networks.
Figures & tables
| Dataset Characteristic | Value |
|---|---|
| Cleaned messages | 3,003 |
| Training messages | 2,402 |
| Test messages | 601 |
| Training proportion | 80% |
| Test proportion | 20% |
| Humanitarian categories | 9 |
| Setting | Logistic Regression | BERT |
|---|---|---|
| Input representation | TF–IDF vectors | Token sequences |
| N-gram range | (1, 2) | – |
| Minimum document frequency | 2 | – |
| Maximum document frequency | 0.9 | – |
| Sublinear TF scaling | Enabled | – |
| Maximum iterations | 2,000 | – |
| Humanitarian Category | Level | Priority |
|---|---|---|
| Injured or dead people | High | P1 |
| Missing, trapped, or found people | High | P1 |
| Displaced people and evacuations | Medium-high | P2 |
| Infrastructure and utilities damage | Medium-high | P2 |
| Caution and advice | Medium-high | P2 |
| Donation needs, offers, or volunteering services | Medium | P3 |
| Notation | Meaning |
|---|---|
| Index of a disaster message. | |
| Set of nine humanitarian message categories. | |
| Ground-truth humanitarian category of message . | |
| Category predicted for message by classifier . | |
| NLP classifier, where . | |
| Fixed mapping from category to routing priority. |
| Group | Nodes | Addresses | Speed (m/s) | Buffer |
|---|---|---|---|---|
| Residents | 60 | 0–59 | 0.3–1.2 | 5 MB |
| Rescue workers | 20 | 60–79 | 1.0–2.5 | 20 MB |
| Rescue vehicles | 15 | 80–94 | 5.0–12.0 | 50 MB |
| Parameter | Value |
|---|---|
| Simulation duration | 43,200 s |
| Transmission range | 50 m |
| Transmission speed | 50 KB/s |
| Message size | 100–500 KB |
| Message interval | 30–60 s |
| Offered messages | 959 |
| Condition | Priority Used | Purpose |
|---|---|---|
| Standard | None | Baseline |
| Oracle | Ground truth | Ideal reference |
| Logistic Regression | LR prediction | Predicted priority |
| BERT | BERT prediction | Predicted priority |
| Evaluation Level | Metric | Purpose |
| Humanitarian Classification | Accuracy | Overall proportion of correctly classified humanitarian messages. |
| Macro-F1 | Measures class-balanced classification performance by giving equal importance to all nine categories. | |
| Weighted-F1 | Measures overall F1 while accounting for the number of samples in each category. | |
| Routing Priority | Priority Accuracy | Proportion of messages assigned to the correct P1–P4 priority level. |
| Priority Macro-F1 | Measures balanced performance across the four routing priority levels. | |
| P1 Recall | Proportion of ground-truth P1 messages correctly predicted as P1. |
| Metric | Logistic Regression | BERT |
|---|---|---|
| Humanitarian category accuracy | 0.6772 | 0.7188 |
| Humanitarian category macro F1 | 0.5549 | 0.5838 |
| Humanitarian category weighted F1 | 0.6748 | 0.7096 |
| Priority accuracy | 0.7804 | 0.8070 |
| Priority macro F1 | 0.7256 | 0.7560 |
| P1 recall | 0.8302 | 0.8868 |
| Condition | P1 Delivery Probability | P1 Delivered Total | Average Latency (s) | Median Latency (s) |
|---|---|---|---|---|
| Standard | 0.9586 | 810 | 1835.68 | 1392.6 |
| Oracle | 0.9586 | 810 | 1826.23 | 1378.0 |
| Logistic Regression | 0.9527 | 805 | 1839.80 | 1377.9 |
| BERT | 0.9574 | 809 | 1842.80 | 1379.6 |
| Condition | P1 | P2 | P3 | P4 | Total |
|---|---|---|---|---|---|
| Oracle | 0 | 0 | 0 | 73 | 73 |
| Logistic Regression | 5 | 0 | 16 | 53 | 74 |
| BERT | 1 | 1 | 11 | 52 | 65 |
| Metric | Logistic Regression | BERT |
|---|---|---|
| Priority Accuracy | 0.7804 | 0.8070 |
| P1 Recall | 0.8302 | 0.8868 |
| Under-prioritisation Rate | 0.1048 | 0.0899 |
| Severe Priority Error Rate | 0.0632 | 0.0349 |
| P1 Delivery Probability | 0.9527 | 0.9574 |
| Total P1 Delivered | 805 | 809 |
Disaster Response
Disaster response uses data, models, and planning tools to assess hazards and coordinate evacuation, relief, and recovery.
See all 60 papers