Systems Development Using Neural Network Technologies Track
Spatio-temporal neural traffic flow prediction & intelligent congestion intervention.
FLOW is a neural-network-powered traffic intelligence command center designed to predict urban congestion before it occurs. Rather than reacting to traffic jams after gridlock has already formed, FLOW analyzes continuous telemetry streams, runs spatio-temporal deep learning inference across time horizons (+5 MIN, +10 MIN, +15 MIN, +30 MIN), pinpoints bottleneck propagation, and calculates optimal diversion interventions to restore steady traffic flow.
Designed with Apple-level visual restraint, typographic hierarchy, and fluid spring mechanics, FLOW demonstrates how advanced AI infrastructure can be presented with radical simplicity.
Traditional Intelligent Transportation Systems (ITS) suffer from three critical bottlenecks:
- Reactive Management: Systems trigger alerts after severe queues have accumulated.
- Local Isolation: Intersections are treated independently, missing upstream and downstream spatio-temporal cascade effects.
- Cluttered Dashboards: Legacy traffic control interfaces flood operators with low-signal data and rainbow heatmaps, obscuring the primary operational question: "What is traffic going to look like next?"
FLOW provides a closed-loop intelligence pipeline:
LIVE TRAFFIC SIMULATION
↓
NEURAL TELEMETRY ANALYSIS
↓
SPATIO-TEMPORAL FORECAST (+15 MIN)
↓
CONGESTION BOTTLENECK IDENTIFICATION
↓
DETERMINISTIC INTERVENTION VECTOR
↓
SIMULATED REROUTING & VERIFICATION (-27% CONGESTION)
┌─────────────────────────────────────────────────────────────┐
│ FLOW Frontend (Next.js 15) │
│ - React 19 + TypeScript + Tailwind CSS v4 │
│ - Framer Motion Spring Physics + HTML5 Canvas Renderer │
│ - Built-in Offline Fallback Simulation Engine │
└──────────────────────────────┬──────────────────────────────┘
│ REST API (JSON)
┌──────────────────────────────▼──────────────────────────────┐
│ FLOW Backend (Python FastAPI) │
│ - PyTorch 2.11 Temporal Spatio-Dense Neural Engine │
│ - Synthetic Urban Network Simulation (Sector 7) │
│ - Deterministic Flow Diversion Optimizer │
└─────────────────────────────────────────────────────────────┘
The core forecasting engine uses a multi-layer perceptron with Layer Normalization and GELU activation functions, trained on spatio-temporal traffic sequences.
-
Vehicle Count (
$N$ ): Current volume per node. -
Traffic Density (
$\rho$ ): Normalized load ratio ($0.0 \dots 1.0$ ). -
Average Speed (
$v_{avg}$ ): Vehicle velocity in km/h. -
Junction Load (
$L_j$ ): Intersection queue ratio. -
Neighbor Load (
$L_{nbr}$ ): Upstream/downstream flow balance. -
Historical Trend (
$T_{hist}$ ): Temporal progression index. -
Spatial Time Encoding:
$\sin(\omega t)$ temporal cycle. -
Inflow Rate (
$\lambda$ ): Vehicles per minute entering link.
-
Predicted Density (
$\hat{\rho}_{t+\Delta t}$ ): Expected density percentage. -
Congestion Probability (
$P_{cong}$ ): Risk score ($0 \dots 100%$ ). -
Expected Delay (
$\Delta t_{delay}$ ): Predicted travel delay in minutes.
- Framework: PyTorch 2.11
- Parameter Count: 2,131 trainable weights
- Inference Speed: <10 ms (Measured live: 8.4 ms)
- Validation MAE: 0.034
-
Validation Accuracy: 94.2% (
$\text{MAE} \le 0.05$ )
- Frontend: Next.js 15 (App Router), TypeScript, Tailwind CSS v4, Framer Motion, HTML5 Canvas 2D.
- Backend: Python 3.11, FastAPI, PyTorch 2.11, NumPy, Uvicorn.
- Design System: Strict Grayscale palette (
#000000,#FFFFFF,#F5F5F7,#E5E5E7,#86868B,#1D1D1F), SF Pro Typography, Apple Design guidelines.
- Node.js v18+ and npm
- Python 3.11+ with PyTorch and FastAPI
cd backend
python3 -m pip install -r requirements.txt
python3 -m uvicorn main:app --host 127.0.0.1 --port 8000cd frontend
npm install
npm run devOpen http://localhost:3000 in your browser.
- Open FLOW: Observe the synthetic urban network (Junctions A–H) with vehicle particles moving in real time.
- Explain Concept: "FLOW uses a spatio-temporal neural network to forecast traffic congestion before gridlock forms."
- Click
RUN FORECAST: The engine analyzes telemetry and computes predictions for the +15 MIN horizon. - Inspect Bottleneck: Highlight Junction C (Central Plaza) — Congestion Probability: 91%, Expected Density: 86%, Delay: +8.4 MIN.
- Review Recommendation: FLOW RECOMMENDS: Redirect ~18% incoming traffic from Route B → C via Bypass Route D (Junction E).
- Click
APPLY SIMULATED INTERVENTION: Watch the map animate vector rerouting and particle speeds balance out, dropping congestion from 91% to 64% (-27% improvement). - Inspect Model View: Switch to the Model tab to show judges the PyTorch architecture, 8 input feature encoding meters, and live <10 ms latency stats.
- Synthetic Urban Network: Operates on a self-contained 8-node synthetic topology (Sector 7) for reproducible offline execution.
- Deterministic Optimizer: Route diversions are calculated using graph capacity optimization layered on top of neural network forecasts.