Optimizing Chlorination in Water Distribution Systems via Surrogate-assisted Neuroevolution

This paper proposes a surrogate-assisted neuroevolution framework that combines NEAT and NSGA-II to optimize multi-objective chlorine injection strategies in complex water distribution systems, demonstrating superior performance over standard reinforcement learning methods while leveraging a neural network surrogate to bypass the computational costs of traditional hydraulic simulators.

Original authors: Rivaaj Monsia, Daniel Young, Olivier Francon, Risto Miikkulainen

Published 2026-04-14
📖 4 min read☕ Coffee break read

This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a city's water system as a massive, living circulatory system. Just like your body needs blood flowing smoothly to every organ, a city needs clean water flowing through miles of pipes to every home and business. But there's a catch: the water needs a "medicine" called chlorine to kill harmful bacteria.

The problem is tricky. If you don't add enough chlorine, people get sick. If you add too much, it becomes toxic and creates dangerous chemical byproducts. Plus, the water moves differently depending on how many people are showering, washing dishes, or watering lawns at any given moment. It's a chaotic, moving target.

For a long time, trying to figure out the perfect amount of chlorine to pump at the right time has been like trying to steer a ship in a storm while blindfolded. Traditional computer programs are too slow or too rigid to handle the chaos.

This paper introduces a clever new solution: Teaching a computer to "dream" the solution.

Here is how they did it, broken down into simple steps:

1. The "Video Game" Simulator (The Surrogate)

Real water pipes are expensive and dangerous to experiment with. You can't just turn the knobs randomly in a real city to see what happens. So, the researchers built a super-accurate digital twin (a simulator) of the water system.

However, running this simulator is like trying to run a high-end video game on a calculator—it takes way too long. To fix this, they trained a "surrogate" model. Think of this as a student who watches a teacher (the slow, perfect simulator) play the game thousands of times. The student learns to predict the outcome almost instantly. Now, instead of waiting hours for a result, the computer gets an answer in a split second.

2. The "Evolutionary" Coach (Neuroevolution)

Instead of programming a robot with strict rules (like "if water is low, add chlorine"), they used evolution, the same process nature uses to evolve animals.

They created a population of digital "brains" (neural networks).

  • Generation 1: These brains were terrible. They injected chlorine randomly, like a toddler throwing darts.
  • The Test: The "surrogate student" quickly predicted what would happen if these brains controlled the pipes.
  • Survival of the Fittest: The brains that did the worst (causing sickness or wasting money) were deleted. The brains that did the best (keeping water safe and cheap) were allowed to "reproduce."
  • Mutation: When they reproduced, they made tiny, random mistakes (mutations). Sometimes these mistakes were lucky and made the brain smarter.

Over hundreds of generations, the "brains" evolved into expert managers who knew exactly when and how much chlorine to add.

3. The "School Curriculum" (Curriculum Learning)

Here is the secret sauce. If you try to teach a child calculus before they know how to add 1+1, they will fail. The researchers realized the same thing happened to their AI.

So, they used a curriculum:

  1. First Grade: They taught the AI only one thing: Don't let the chlorine levels get too high or too low.
  2. Second Grade: Once they mastered that, they added a second rule: Make sure the water tastes the same everywhere (fairness).
  3. Third Grade: Then they added: Don't waste money (cost).
  4. Fourth Grade: Finally, they added: Don't turn the valves on and off too jerkily (smoothness).

By teaching them step-by-step, the AI learned to balance all these competing goals much better than if they had been thrown into the deep end immediately.

4. The "Dream Team" (The Result)

The result wasn't just one "perfect" solution. Instead, the AI produced a menu of options (called a Pareto front).

  • Option A: Super cheap, but slightly less safe.
  • Option B: Extremely safe, but costs a bit more.
  • Option C: The perfect middle ground.

City planners can now look at this menu and choose the policy that fits their budget and safety needs.

Why This Matters

This method beat the standard "Reinforcement Learning" methods (like the AI that plays video games) and random guessing. It found creative solutions that humans might never think of.

The Big Picture:
This paper shows that by combining evolution (nature's trial-and-error), surrogate models (fast AI approximations), and step-by-step learning, we can solve incredibly complex real-world problems. It's not just about water; this same "recipe" could help optimize traffic lights, power grids, or even how we build hospitals.

In short: They taught a computer to evolve its own brain, step-by-step, to keep our tap water safe, clean, and affordable.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →