PINN-Point
"Find the choked pipe."
The problem PINN-Point solves
PINNpoint
Problem Statement
During heavy rainfall, city lanes get flooded with 1–2 feet of water within just 20–30 minutes, cutting off entire neighborhoods. Municipal corporations have drainage maps, but no way to know exactly where inside the underground pipe network a blockage (silt or plastic buildup) is causing the backflow — so they end up digging randomly to find it, wasting time and money while residents suffer.
Solution
PINNpoint is an AI system using Physics-Informed Neural Networks (PINN) that combines real fluid dynamics (Navier-Stokes equations) with deep learning. It takes drone LiDAR elevation data and live rainfall sensor data, simulates water flow through the drain network in real time, and pinpoints the exact node where the blockage is occurring. This lets municipal teams act on the precise spot instead of guessing — reducing flood damage and repair costs for city residents.
Challenges we ran into
Challenges We Ran Into
Building PINNpoint involved tackling several complex data and machine learning hurdles. Here are the main challenges we faced and how we overcame them:
1. The "None-Class" Indexing Bug
The Problem: During evaluation, we noticed unexpected outputs where the baseline false alarm rate seemed incorrect.
The Cause: Our LightGBM multi-class classifier was automatically aligning its classes alphanumerically if not explicitly guided. This meant the index representing the none (no blockage) class in the training phase was different from its index during the evaluation phase.
The Fix: We implemented explicit class alignment to ensure the none class index remained consistent, which proved our baseline false alarm rate was genuinely 0.00% on the raw model.
2. Sensitivity of Residual Features
The Problem: We use a residual model (comparing actual sensor data to an expected baseline flow) to detect anomalies. We needed to ensure it wasn't just memorizing arbitrary patterns.
The Cause: We ran a "mismatched-expected" control test, evaluating data against a baseline from a completely different rainstorm.
The Fix: The model's accuracy completely collapsed in this test, which was exactly what we wanted to see. It proved that the baseline subtraction is critical and that residual features are highly sensitive to the exact, specific rainfall curve of a given storm.
3. Detecting Low-Severity Blockages Amidst Noise
The Problem: Catching major leaks is easy, but identifying minor blockages (e.g., severity 0.3) is incredibly difficult.
The Cause: Our diagnostics showed that at severity 0.3, the residual signals are extremely small (around 5 cm of difference) and decay slightly as you move further away from the blockage.
The Fix: We had to carefully tune our detection threshold. We found that a threshold of 0.5 offered the best tradeoff: keeping False Alarms extremely low (~2%) while successfully flagging about 67% of detectable, low-severity blockages.
4. Simulation I/O Bottlenecks
The Problem: Generating enough training data required running thousands of simulations, which was initially far too slow.
The Cause: The bottleneck was disk-based I/O operations constantly reading and writing temporary files.
The Fix: We swapped the disk-based I/O to purely in-memory, string-based I/O. This optimization yielded extreme performance gains, allowing us to run about 10 concurrent simulations per second on a single core.
5. Timing the "Early Detection" Window
The Problem: We wanted to detect blockages as early as possible without triggering false alarms from temporary water spikes during heavy rain.
The Fix: We evaluated different time cutoffs (15 to 120 minutes). We discovered a sweet spot at the 45-60 minute mark, which coincides with the time after the median rain ends and transient peaks have flowed through. Waiting too long (e.g., 120 minutes) actually degraded performance as noise accumulated with no new useful signal.
Technologies used