What it is
Anomaly detection identifies observations or sequences that differ from an expected pattern. A city may use it to flag a sudden pressure change in a water network, an unexpected energy load, or an unusual traffic condition for review.

How it works
- 01Define the system, measurement, and time window to monitor.
- 02Establish an expected range or pattern using operating rules, historical data, or a trained model.
- 03Compare new observations against that baseline and score how unusual they are.
- 04Send a candidate alert with context to an operator, who checks sensor health and real-world conditions before action.
- 01
Define the system, measurement, and time window to monitor.
- 02
Establish an expected range or pattern using operating rules, historical data, or a trained model.
- 03
Compare new observations against that baseline and score how unusual they are.
- 04
Send a candidate alert with context to an operator, who checks sensor health and real-world conditions before action.
Why it matters
Urban systems generate more measurements than staff can inspect one by one. Detection can prioritize attention, but a statistical outlier is only a lead: sensor faults, weather, maintenance, demand changes, and genuine incidents can look similar in a data stream.
For the same method applied to machines, industrial processes, quality, and operational technology, see Anomaly Detection at Industrial AI Dispatch.
Typical Smart City applications
- Water-network pressure or flow anomalies
- Traffic speed and queue changes
- Building energy spikes
- Air-quality events
- Unexpected infrastructure sensor readings
Example data inputs
Strengths
- Can screen high-volume feeds continuously
- Can surface changes that fixed thresholds miss
- Can prioritize inspection when paired with location and asset context
Limitations and risks
- False alarms grow when baselines are unstable or data quality is poor.
- Rare events are difficult to evaluate because labeled examples are scarce.
- A detected anomaly does not identify a cause or prescribe a repair.
- Unequal sensing coverage creates unequal visibility across places.
Illustrative workflow
Applied city example
A water utility compares pressure and flow readings across connected network zones. An unusual night-time flow pattern raises an alert for a human review. The operator checks meter health, planned work, and nearby reports before deciding whether a field inspection is warranted. This is an illustrative workflow, not a claim about a named city deployment.
Related methods
- Time-series forecasting
- Change-point detection
- Predictive maintenance
- Geospatial analytics
Frequently asked questions
Is anomaly detection the same as fault diagnosis?
No. It flags a pattern that warrants attention. Diagnosis uses additional evidence to determine what caused it.
Does the method require machine learning?
No. A system may use engineering thresholds, statistical baselines, machine learning, or a combination. The choice depends on the data and operating risk.
Should an alert trigger an automatic intervention?
Only when the action is safe, authorized, reversible, and tested for the operating context. Many city alerts should first support human triage.