AI Traffic Management in Singapore and Barcelona

What Singapore's LTA and Barcelona's city council actually say about adaptive traffic signals and AI, what research adds, and how to try it in SUMO.

By AI Agents DirectoryLast checked
A switched-on laptop on a desk

The earlier version of this post promised AI agent case studies from Singapore and Barcelona, complete with congestion cuts, prediction accuracy figures and budgets. None of those numbers appear in anything the two cities publish, so they are gone. What the cities do publish is more modest and more useful. Singapore runs an adaptive signal system across the whole island and is building an AI-assisted successor. Barcelona is at the study stage, working with a university to decide where AI could help its traffic lights. This rewrite sticks to the Land Transport Authority (LTA), Barcelona City Council and its university partner, plus a few research papers and the docs of the SUMO traffic simulator.

Adaptive control, machine learning and “agents” are different things

Most traffic systems marketed as “AI” are something narrower, and the cities’ own wording reflects that. It helps to separate three ideas before looking at either city.

TermWhat it means hereExample in this article
Adaptive signal controlDetectors measure traffic and an algorithm adjusts green times and coordination in real time, using rules or optimisationSingapore’s GLIDE (a SCATS deployment)
Machine learning controlA model learns a signal policy from data or simulation, often with reinforcement learningCoLight, a research model
AI agentSoftware that perceives, decides and acts on its own toward a goalNot described by either city for traffic signals

A review of adaptive traffic signal control by Shams and colleagues traces the field back to at least the 1960s and sorts methods by structure (local or hierarchical), by whether decisions are rule-based or optimised, and by objective. A survey by Hua Wei and co-authors observes that signal systems in real use still lean heavily on rule-based methods, while research has moved toward reinforcement learning. Keep that gap between deployed systems and research in mind for both cities.

Singapore: GLIDE, EMAS and a planned AI layer

GLIDE is SCATS under another name

LTA’s Green Link Determining system, GLIDE, controls every traffic signal in Singapore. An LTA CONNECT article puts the count at about 2,700 intersections and explains that GLIDE is the Sydney Coordinated Adaptive Traffic System (SCATS), adopted to replace fixed-time signals. Before that, green lights ran for a fixed 85 seconds.

How it works, per LTA:

  • Wire loops sit 25mm under the road near the stop line. They count vehicles and measure the time gap between them.
  • From that data GLIDE calculates suitable cycle times and hands more green time to the busier direction.
  • Pedestrian push buttons feed into the same network, so the green man only runs when someone has asked for it.
  • Neighbouring junctions along major corridors are linked by aligning when their greens start, which creates the “green wave”.
  • Each regional computer handles up to 250 intersections, and a central computer watches over the regional ones.

LTA is candid about the trade-offs. In a March 2026 reply to a letter about wasted red time, it explained that GLIDE optimises corridors and the wider network rather than single junctions, so a quiet side road can get proportionally less green. In an October 2025 reply it called GLIDE an “adaptive traffic light control system”, which is the accurate label. It is not a learning system.

The wider Intelligent Transport Systems

GLIDE is one part of what LTA calls its Intelligent Transport Systems (ITS):

  • iTransport is the platform that pulls all ITS data together for monitoring and incident management at the ITS Operations Control Centre, which runs around the clock.
  • EMAS (Expressway Monitoring and Advisory System) spots accidents and breakdowns through cameras watched by LTA’s operations centre, and shows travel times and alerts on roadside signboards.
  • Traffic Monitoring Camera System uses around 1,100 cameras at junctions and arterial roads to give the operations centre live video.
  • Parking Guidance System shows car park availability on 28 roadside panels.

Notice the human side: EMAS incidents are cleared by recovery crews and LTA traffic marshals working with the police and civil defence. Detection is automated, but the response is people.

CRUISE: where AI enters

The one place LTA explicitly mentions AI is a system still under development, the Cooperative and Unified Smart Traffic System (CRUISE). LTA says it will use more data sources and AI predictive capabilities, and that human oversight will stay part of the system, with testing and on-site trials before any large rollout. That is a reasonable description of where AI fits in a city traffic system today: prediction feeding a supervised control layer, not an autonomous agent running the streets.

Barcelona: a study, a living lab and superblocks

The old post described a Barcelona prediction system and a cheap pilot with a quick payback. I could not find either on the city’s pages. What Barcelona’s institutions do describe is this.

An AI study, not a deployment. According to the Universitat Politècnica de Catalunya (UPC), the city council and the university approved an agreement to assess the potential of AI in managing the city’s traffic signals. A team at the UPC civil engineering school, led by professor Miquel Estrada, is producing a roadmap of concrete AI actions for specific corridors and transport services, with help from the Centre for Research and Technology Hellas (CERTH) in Greece. The study has four tasks: assess the current signal system, review signal-control strategies already running elsewhere, propose strategies for Barcelona’s critical zones, and write the roadmap with short- and long-term signal priority actions. Estrada’s point, paraphrased, is that AI tools that worked in other cities need adapting to Barcelona’s urban layout, and must take into account pedestrians, buses, trams and active mobility as well as cars. So far the team has mapped which zones combine high traffic flow with spare seconds per signal cycle.

Barcelona Innova Lab Mobility (BILM). The mayor’s office describes BILM as a living lab for sustainable, smart mobility. Its published challenges so far cover the bus network, noise from traffic and goods delivery. The UPC says the study’s conclusions will be used to consider new challenges on AI and signal management.

Superblocks are urban design. The superilles programme takes street space from private vehicles and turns it into green hubs and squares where pedestrians have priority, starting with the Eixample district. It is a big part of Barcelona’s traffic story, but it is a redesign of streets, not software.

What the research adds

Reinforcement learning treats each signal as a decision maker that picks phases to reduce delay, learning from simulated traffic. One well-known example is CoLight, from Wei and colleagues, published in the proceedings of ACM’s CIKM conference. It uses graph attention networks so that each intersection can weigh what its neighbours are doing, instead of relying on fixed offsets calculated in advance. The authors tested it on a large road network with hundreds of signals, in simulation. This is the closest thing in the literature to “agents” controlling traffic, and it remains research, not what either city runs. For more on how multiple cooperating agents are designed in general, see our guide to multi-agent systems for complex tasks.

Try it: adaptive signals in SUMO

You can reproduce the basic idea behind GLIDE-style loop detection in SUMO, the open-source traffic simulator. SUMO’s “actuated” traffic lights extend a green phase while vehicles keep arriving and switch once the gap between vehicles is long enough, using induction loop detectors it places itself. To convert an existing network so all its signals are actuated, the SUMO docs give:

netconvert -s orig.net.xml --o new.net.xml --tls.rebuild --tls.default-type actuated

Each phase then gets a minDur and maxDur, and parameters such as max-gap control when a phase is extended. To plug in your own logic, for example a learned policy, SUMO’s TraCI interface lets a Python script step the simulation, read detectors and set signal states. This is the official first-steps example:

import traci

sumoBinary = "/path/to/sumo-gui"
sumoCmd = [sumoBinary, "-c", "yourConfiguration.sumocfg"]
traci.start(sumoCmd)
step = 0
while step < 1000:
    traci.simulationStep()
    if traci.inductionloop.getLastStepVehicleNumber("0") > 0:
        traci.trafficlight.setRedYellowGreenState("0", "GrGr")
    step += 1
traci.close()

Swap the if condition for a model’s decision and you have the skeleton researchers use to train reinforcement learning controllers. Real deployment is another matter, which is why LTA stresses on-site trials and human oversight.

What was removed from the old version

  • The congestion, emergency response, fuel and accuracy percentages, and the sensor and data volume figures for Singapore. None appear on LTA’s pages.
  • The Barcelona prediction system, its accuracy claim and its budget and payback figures. None appear in the council or UPC sources.
  • A quote attributed to a Forrester analyst and a McKinsey cost figure, which could not be traced to a primary source.

If you are following other public-sector uses of AI, our article on AI in environmental monitoring takes the same approach of separating what runs today from what is planned. You can also browse tools in the AI agents and data and research categories.

#Traffic signal control#Smart cities#Reinforcement learning#Singapore#Barcelona
AI

Written by AI Agents Directory

Editorial team

Facts in this guide are checked against official documentation and repositories, which are linked in the article.