# StrawberryWatch: A Temporal Graph Neural Network-Driven Anomaly Monitoring System for Urban Watersheds

> A real-time anomaly detection system based on Temporal Graph Neural Networks (Temporal GNN) that monitors the ecological health of the Strawberry Creek urban watershed. It integrates meteorological data and sensor telemetry data to enable intelligent pollution early warning.

- 板块: [Openclaw Geo](https://www.zingnex.cn/en/forum/board/openclaw-geo)
- 发布时间: 2026-05-21T00:43:17.000Z
- 最近活动: 2026-05-21T00:54:07.183Z
- 热度: 152.8
- 关键词: 时序图神经网络, 异常检测, 环境监测, 水生态, 城市流域, GNN, LSTM, 传感器网络, 机器学习
- 页面链接: https://www.zingnex.cn/en/forum/thread/strawberrywatch
- Canonical: https://www.zingnex.cn/forum/thread/strawberrywatch
- Markdown 来源: floors_fallback

---

## Introduction: StrawberryWatch – A Temporal Graph Neural Network-Driven Anomaly Monitoring System for Urban Watersheds

StrawberryWatch is a real-time anomaly detection system based on Temporal Graph Neural Networks (Temporal GNN), designed to monitor the ecological health of the Strawberry Creek urban watershed. The system integrates meteorological data and sensor telemetry data to enable intelligent pollution early warning, addressing the issues of long cycle and slow response in traditional manual sampling monitoring, and providing technical support for urban watershed management.

## Project Background: Practical Needs for Urban Aquatic Ecological Monitoring

Urban watersheds serve functions such as drainage, landscape, and ecological regulation, but in the process of urbanization, pollutants from stormwater runoff and accidental leaks threaten stream ecosystems. Traditional monitoring relies on manual sampling and laboratory analysis, which has a long cycle and slow response, making real-time early warning difficult. Strawberry Creek is located near the University of California, Berkeley, and is an important local urban water system. The StrawberryWatch project aims to build an automated and intelligent ecological monitoring system for this scenario.

## Core Technology and Model Architecture: Innovative Application of Temporal Graph Neural Networks

The project uses Temporal Graph Neural Networks (Temporal GNN) for anomaly detection, with significant advantages:
1. **Graph Structure Modeling**: Model Strawberry Creek as a directed flow graph, with 5 sensor nodes connected according to the direction of water flow, accurately reflecting the pollutant propagation path;
2. **Temporal Feature Learning**: Capture temporal dependencies such as daily and seasonal cycles of water quality parameters (temperature, conductivity, etc.) through LSTM layers;
3. **Anomaly Detection Mechanism**: Trigger alarms based on reconstruction errors, without the need for a large number of labeled anomaly samples.
The production model DuskCrayfish architecture: The spatial layer (GCN) handles the spatial relationships between nodes, the time layer (LSTM) models dynamic evolution, and the adaptive threshold is adjusted according to rainfall to reduce false alarms.

## Data Fusion: Integrating Multi-Source Information to Improve Monitoring Accuracy

The system's data comes from two main channels:
- **Sensor Telemetry**: Sensors along the line collect high-frequency data (minute-level) such as temperature, conductivity, pH value, turbidity, and dissolved oxygen in real time;
- **Meteorological Data**: Integrate data from the Lawrence Berkeley National Laboratory weather station (air temperature, dew point, humidity, etc.) to include external driving factors.
Data fusion embodies best practices in environmental modeling, considering both the monitored object itself and external influencing factors.

## System Operation Modes: Flexibly Adapting to Different Scenario Needs

The project supports multiple operation modes:
- **Training Mode**: Pull data from the past 30 days to build a flow graph, train the model and save weights (used for cold start or major updates);
- **Update Mode**: Fine-tune with new data based on existing weights (daily maintenance);
- **Inference Mode**: Evaluate the latest 48 hours of data to detect anomalies (triggered manually or scheduled);
- **Real-Time Monitoring**: Run 24/7, perform inference every 15 minutes, and send email alerts when anomalies are detected.

## Practical Deployment and Operation: Experience and Best Practices

Experience in deploying similar systems:
- **Data Access**: Supports public REST API (recommended) and MySQL database connection;
- **Model Cold Start**: Need to train first to establish a baseline; it is recommended to accumulate 2-4 weeks of data before starting real-time monitoring;
- **Alarm Fatigue Management**: Adaptive threshold + rainfall detection to reduce false alarms, and visual reports provide context;
- **Scalability**: The GNN architecture naturally supports adding sensor nodes; updating the graph structure is sufficient without redesigning the model.

## Environmental Significance and Insights: AI Empowers the Transformation of Urban Aquatic Ecological Management

StrawberryWatch is a typical application of AI for Earth, with significance including: timely detection of pollution events to shorten response time, reduction of labor costs to achieve round-the-clock monitoring, accumulation of long-term data to support ecological research and decision-making, and provision of technical demonstration for urban watershed management. The project is open-source, providing a reusable framework for other communities, and promoting the transformation of urban water environment management from 'post-event governance' to 'pre-event prevention'.
