arXiv:2610.37933cs.NIOct 2026

Manuscript Offprint

arXiv:2610.37933

NLP-based Message Prioritisation for Opportunistic Routing: A Case Study of Nepal Earthquake Emergency Communication

Yihang Cao, Milena Radenkovic

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yihang Cao

School of Computer Science University of Nottingham Nottingham, United Kingdom alyyc111@nottingham.ac.uk

Milena Radenkovic

School of Computer Science University of Nottingham Nottingham, United Kingdom milena.radenkovic@nottingham.ac.uk

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.

Keywords—Natural Language Processing, Opportunistic Routing, Message Prioritisation, Disaster Communication, BERT, Logistic Regression

I. INTRODUCTION

Natural disasters can disrupt conventional communication infrastructure when reliable information exchange is most critical [1], [2]. Opportunistic networking provides an alternative through a store-carry-forward mechanism, enabling mobile devices to exchange messages without continuous end-to-end connectivity [3], [4]. However, limited transmission opportunities and buffer capacity make it difficult to ensure that urgent disaster messages receive appropriate treatment [5]–[7].

Existing opportunistic routing approaches primarily consider network conditions and resource availability, while message-level humanitarian urgency may remain unaddressed. Natural language processing (NLP) offers a means of identifying humanitarian information from disaster-related text and

translating message semantics into routing priorities [8]–[10]. However, classification errors may cause genuinely urgent messages to receive insufficient priority during transmission scheduling and buffer management [11], [12]. Although message classification and priority-aware routing have been studied separately, their end-to-end interaction requires further investigation.

This paper investigates whether NLP-based semantic message prioritisation can improve the treatment of urgent messages in opportunistic emergency communication. Using social media messages from the 2015 Nepal earthquake [5], [13], we compare TF-IDF with Logistic Regression and BERT [14] for humanitarian message classification. The predicted categories are mapped to four routing priority levels and integrated into a modified Binary Spray and Wait protocol [15] in the ONE simulator [16], using a controlled Kathmandu earthquake scenario.

The main contribution of this study is an end-to-end, cross-layer evaluation of NLP-based semantic message prioritisation in opportunistic disaster communication. Rather than evaluating humanitarian text classification in isolation, the study integrates predicted message priorities into a modified Binary Spray and Wait protocol in the ONE simulator. The evaluation compares standard routing, oracle priority routing, and routing based on priorities predicted by TF-IDF with Logistic Regression and BERT, examining classification errors and their downstream effects on the delivery, latency, and buffer loss of urgent messages. Together, these analyses investigate whether improvements in semantic priority prediction translate into better treatment of urgent traffic under constrained network conditions.

References (43)