Frontiers in Artificial Intelligence

Leveraging small language models for real-time decision support in climate-induced urban mobility disruptions

Venkatesan Murugan, A. Harsha Kumar, K. Kumaran, G. Saranya, S. Naveen Bharath, Priyanka Kaliraj

Computational

Key points

From the paper's conclusion
  • CM-SLM outperforms larger 360.0M–490.0M neural baselines in accuracy and efficiency while avoiding the degradation of 135.0M neural (53.6% RAC) and rule-based (42.3% RAC) baselines.

Abstract

Extreme weather events expose the semantic limitations of numerical traffic forecasting models across urban transportation networks. Although Large Language Models (LLMs) provide contextual reasoning, their memory and compute demands prevent real-time, offline deployment on edge hardware. This study presents an end-to-end framework for a domain-specific Small Language Model (SLM) designed for local edge execution. First, a spatially coupled simulation pipeline over a 50-node sensor network, parameterized by 75,593 historical 2023 NOAA Storm Events records across 51 event types and 67 jurisdictions, synthesizes the Climate-Mobility Narrative Corpus (CMNC). The corpus contains 1,000,000 base and 1,048,576 stratified archive entries, exhibiting a conditional narrative Shannon entropy of 87.59 bits over 172.93 mean tokens (0.5065 bits/token) and a theoretical GPT-2 BPE Bayes perplexity (PPL) floor of 1.42. Second, the ClimateMobility-SLM (CM-SLM), an 18-layer, 270,920,192-parameter decoder-only transformer incorporating Multi-Query Attention (MQA), Sliding Window Attention (SWA, w = 128), Rotary Position Embeddings (RoPE), and Query-Key Root Mean Square Normalization (RMSNorm), is pretrained on CMNC. Third, three downstream algorithms govern dynamic anomaly triggering, two-stage scoped JSON severity parsing, and rule-based link-impedance rerouting. Across 10 independent runs on held-out CMNC splits ( N test = 100,000) and the Real-World-Grounded Climate-Mobility Benchmark (RW-CMB), pairing 2,043 complete 2023 NOAA records (filtered from 3,000 stratified records) with noisy dispatcher prompts, the 8-bit integer (INT8) quantized CM-SLM achieves 1.69 ± 0.03 narrative PPL, 0.68 ± 0.01 4-gram BLEU, and 90.4%±0.92% Recommended Action Correctness (RAC). On a Raspberry Pi 5 (8 GB RAM, 256-token cap), the INT8 model decodes at 45.7 ± 2.7ms/token within a 326.0 ± 1.0MB runtime footprint, completing four-stage alert synthesis (trigger evaluation, 116-token prefill, 173-token mean decode, and JSON parsing) in 8.39 ± 0.47s (8,388.7 ± 468.0 ms). CM-SLM outperforms larger 360.0M–490.0M neural baselines in accuracy and efficiency while avoiding the degradation of 135.0M neural (53.6% RAC) and rule-based (42.3% RAC) baselines.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Leveraging small language models for real-time decision support in climate-induced urban mobility disruptions — Science Skim