Manuscript Offprint

arXiv:2611.01970

Knowledge-Guided Floodwater Level Reasoning for Cloud-Edge Collaborative Monitoring

Zhengshu Zhou, Shaoyu Wang, Ziyi Geng, Lu Tao, Qian Long

Zhengshu Zhou, Shaoyu Wang, Ziyi Geng, Lu Tao, Member, IEEE, and Qian Long

Abstract—Frequent urban floodwater poses a serious threat to the safety and efficiency of intelligent transportation systems. Existing vision-based methods for floodwater level detection face two main limitations. First, the lack of explicit reasoning leads to poor detection performance and little interpretability. Second, these methods struggle to generalize to the complex and varied real-world road scenes seen from different viewpoints. To address this, we reformulate the task as an explicit visual reasoning problem and propose HydroReasoner, a floodwater level reasoning framework designed for cloud-edge collaboration. HydroReasoner builds on Qwen2.5-VL and is trained with Group Relative Policy Optimization. To address the scarcity of reasoning process annotations, we build a floodwater domain knowledge graph HydroKG and design a novel KG path reward. Through deterministic graph traversal over HydroKG, this reward supervises the model's reasoning process at a fine granularity, which improves both reasoning and generalization. For edge deployment, we apply 4-bit quantization to the model, cutting GPU memory usage by 57% and inference latency by 43% while out-of-domain accuracy drops by only 0.2 percentage points. We also propose a confidence-based cloud-edge routing mechanism, which improves system safety and eases the computational load on the cloud. In addition, we build HydroLevel, a floodwater benchmark dataset of 3,000 images, for training and evaluating the model. Experimental results show that HydroReasoner achieves detection accuracy 4.0 and 13.6 percentage points higher than conventional vision baselines in the in-domain and out-of-domain evaluations respectively, with performance dropping by only 4.4 percentage points out of domain.

Index Terms—Floodwater Level Detection, Cloud-edge Collaborative, Multimodal Large Language Model, Knowledge Graph, Dynamic Map

I. INTRODUCTION

ACCORDING to data from the U.S. Federal Highway Administration (FHWA), traffic accidents on wet or flooded road surfaces cause nearly 5,700 deaths each year. Severe floodwater not only threatens lives but also reduces the traffic capacity of an entire urban road network. Therefore, giving intelligent transportation systems (ITS) the ability to sense floodwater depth in real time and in a quantitative way, even in complex and dynamic environments, is essential for traffic safety and efficiency [1].

The existing methods for floodwater level detection rely on hardware such as radar and sensors [2]. These devices offer high accuracy, but their high deployment and maintenance costs lead to sparse coverage. In contrast, multi-source sensing networks enabled by 5G technology (CCTV, drones, and vehicle dashcams, as shown in Figure 1) provide a low-cost solution for urban floodwater monitoring with high spatial and temporal coverage. With the rise of deep learning, a growing number of studies try to infer floodwater depth from these multi-source images. However, most existing vision-based methods treat floodwater depth estimation as a simple detection or classification task, and cannot combine environmental reference objects [3](such as "the water covers half of the wheel") to perform human-like logical reasoning [4]–[6]. This brings two fundamental limitations. First, the lack of explicit reasoning limits the model's detection accuracy, and the predictions offer no interpretable basis for the judgment, so they lack credibility. Second, these methods generalize poorly across different viewpoints and complex real-world road scenes, and cannot meet the need for unified and robust monitoring of a city-wide road network.

The emergence of MLLMs and reinforcement learning (RL) offers new ideas for addressing these limitations [7]. MLLMs hold prior knowledge of road reference objects and can give an explicit reasoning process along with a prediction [8]. At the same time, among current post-training methods for large models, RL can draw out stronger reasoning and generalization ability from multimodal large models, compared with supervised fine-tuning (SFT), which tends to fall into pattern memorization. However, mainstream RL algorithms such as GRPO only reward the output format and the final answer. The quality of the intermediate reasoning process cannot be guaranteed, which fails to meet the safety requirements of ITS. Mainstream methods that introduce process rewards depend heavily on high-quality step-by-step reasoning annotations, which are difficult and expensive to obtain in the floodwater domain. On another front, in ITS, floodwater depth sensing services are usually deployed on a cloud-edge collaborative architecture, where resource-limited edge nodes (such as roadside units, RSUs) and compute-rich cloud servers perform inference together. Under this architecture, how to decide, for each floodwater sample, whether its reasoning should run on the edge or on the cloud, so as to improve the use of cloud-edge resources while keeping the system safe, is still understudied in floodwater scenes.

To meet these challenges, this paper proposes HydroReasoner, a generalizable floodwater level reasoning framework designed for cloud-edge collaboration. Unlike the traditional paradigm that treats floodwater depth estimation as a simple classification task, we reformulate the task as an explicit visual reasoning problem, so that the model infers water

This paper was produced by the IEEE Publication Technology Group. They are in Piscataway, NJ.

Manuscript received May 28, 2026; revised August 4, 2026.

Zhengshu Zhou, Shaoyu Wang, Ziyi Geng, and Qian Long are with the College of Artificial Intelligence, Tianjin University of Science and Technology, Tianjin 300457, China (e-mail: zhouzhengshu@tust.edu.cn; 24836940@mail.tust.edu.cn; 24835001@mail.tust.edu.cn; longqian@tust.edu.cn).

Lu Tao is with the School of Resource and Environmental Sciences, Wuhan University, Wuhan 430079, China (e-mail: ltao@whu.edu.cn).

① Multi-source floodwater imagery ② 5G-enabled aggregation over road network ③ Cloud-edge collaborative monitoring

Figure

Fig. 1. Overview of the proposed collaborative edge-cloud traffic monitoring network. The system leverages 5G technology to aggregate multi-source floodwater imagery from Unmanned Aerial Vehicles (UAVs), vehicles (dashcams), and Roadside Units (RSUs). These diverse data streams, captured from heterogeneous viewpoints, are transmitted to the cloud server or processed locally, where the proposed HydroReasoner framework performs efficient and interpretable floodwater level reasoning.

depth step by step with the help of road reference objects, balancing detection accuracy and interpretability. To address the difficulty of obtaining step-by-step reasoning annotations in the floodwater domain, we formalize floodwater domain knowledge and floodwater grading rules into a compact floodwater domain knowledge graph HydroKG, and design a novel KG path reward for GRPO training. Through deterministic graph traversal over HydroKG, this reward checks the structural completeness, logical consistency, and domain-knowledge consistency of the model's reasoning chain, and achieves fine-grained supervision of the reasoning process at very low computational cost, which effectively improves the model's explicit reasoning and generalization ability. For edge deployment, we use Activation-aware Weight Quantization (AWQ) to compress the model to 4-bit, which significantly reduces memory footprint and inference latency with almost no loss in performance. Under the cloud-edge collaborative architecture, we propose a confidence-based routing mechanism that evaluates the credibility of each sample's prediction from four aspects: format validity, KG path validity, sampling consistency, and level posterior confidence. High-confidence samples are processed locally, and only low-confidence samples are routed to the cloud for review, which keeps the system safe while reducing the compute load on the cloud. In addition, we build HydroLevel, a high-quality floodwater benchmark dataset that covers multiple viewpoints and diverse road scenes, used for training and evaluating the model.

In summary, the contributions of this paper can be grouped

into the following three aspects:

(1) Domain-knowledge-guided process reward: We formalize floodwater domain knowledge and grading rules into a domain knowledge graph HydroKG, and based on it design a KG process reward for GRPO training. Through deterministic graph traversal over HydroKG, we achieve fine-grained supervision of the model's reasoning process, which effectively improves the model's reasoning and generalization ability.

(2) Confidence-based cloud-edge routing mechanism: We propose a routing mechanism that needs no ground-truth labels. It evaluates the credibility of edge-side samples from four aspects, namely format validity, KG path validity, sampling consistency, and level posterior confidence, and routes only low-confidence samples to the cloud for review, which keeps the system safe while reducing the compute load on the cloud.

(3) Multi-source floodwater benchmark dataset: We build HydroLevel, a comprehensive dataset that covers multiple viewpoints and multiple road scenes from CCTV, UAV, and dashcam sources. Experiments show that HydroReasoner achieves leading performance in both in-domain and out-of-domain evaluation. Its out-of-domain accuracy surpasses a 72B baseline with ten times its parameter count, and it reaches 99% recall on high-risk categories.

References (34)

  • A multi-scale validation and analysis of flash flooding impacts on urban road transportation
  • Flood water depth estimation—a survey
  • Shortcut learning in deep neural networks
  • Flood severity mapping from volunteered geographic information by interpreting water level from images containing people: A case study of hurricane harvey
  • Flood-water level estimation from social media images
  • Assessing flood severity from georeferenced photos
  • Assessing large multi-modal models for urban floodwater depth estimation
  • Delving into multi-modal multi-task foundation models for road scene understanding: From learning paradigm perspectives
  • A rugged fbg-based pressure sensor for water level monitoring in dikes
  • floodx: Urban flash flood experiments monitored with conventional and alternative sensors
  • Flood monitoring by integration of remote sensing technique and multi-criteria decision making method
  • Assessing the utility of social media as a data source for flood risk management using a real-time modelling framework
  • LLaMA: Open and Efficient Foundation Language Models
  • Qwen Technical Report
  • Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks
  • GPT-4 Technical Report
  • OpenAI o1 System Card
  • DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning
  • Proximal Policy Optimization Algorithms
  • Direct preference optimization: Your language model is secretly a reward model
  • DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
  • Hse: A plug-and-play module for unified fault diagnosis foundation models
  • Transparent information fusion network: An explainable network for multi-source bearing fault diagnosis via self-organized neural-symbolic nodes
  • Deep expert network: A unified method toward knowledge-informed fault diagnosis via fully interpretable neuro-symbolic ai
  • Transparent operator network: A fully interpretable network incorporating learnable wavelet operator for intelligent fault diagnosis
  • Cross-domain augmentation diagnosis: An adversarial domain-augmented generalization method for fault diagnosis under unseen working conditions
  • Experimental testing to determine stability thresholds for partially submerged vehicles at different flow orientations
  • Floodnet: A high resolution aerial imagery dataset for post flood scene understanding
  • Alleyfloodnet: A ground-level image dataset for rapid flood detection in economically and flood-vulnerable areas
  • Bdd100k: A diverse driving dataset for heterogeneous multitask learning
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Deep residual learning for image recognition
  • Hybridflow: A flexible and efficient rlfh framework
  • LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Models