AI-TRAFFIC OPTIMIZATION
By their senior year, roommates Clayton and Jesse had grown frustrated with the traffic on their short drive to campus. What should have been a quick five-minute trek often stretched into a 15-minute crawl during peak times, so they decided to come up with a solution. For their senior capstone project, they teamed up with Joshua Cochran and Noah Baca, to develop an AI-driven approach to improve traffic flow in Belton.
“This was a student-generated idea,” said Dr. Paul Griesemer, associate professor and Engineering Department chair. “They were interested in using AI to optimize traffic light signals and see what kind of improvements in the congestion, in Belton specifically, that they could generate.”
Griesemer knew from the start that the scope of the project was significant, and possibly even beyond what a typical undergraduate capstone might tackle. But the group dove in.
Their first task wasn’t building AI but rather understanding the system they were trying to improve.
The team contacted TxDOT and received an extensive dataset outlining how Belton’s traffic lights currently operate, everything from timing sequences to trigger conditions for light changes.
What they received, in Griesemer’s words, was “an enormous document.” Even after narrowing their focus to downtown Belton and the area surrounding campus, they were still working with more than 50 signalized intersections.
From there, the students turned to Eclipse SUMO, an open-source traffic simulation software used by civil engineers. Over the course of a semester, they painstakingly recreated Belton’s traffic network inside the program, mapping roads, intersections, traffic volumes and signal behaviors.
“They downloaded a map of the city and went through intersection by intersection to define where the traffic lights are and then put the TxDOT information into it,” Griesemer said. “They created a fairly comprehensive simulation of traffic through Belton.”
The result was a fully interactive digital model of the city with cars flowing through intersections in real time, so traffic patterns could be observed, tested and adjusted.
Once the simulation was up and running, the students began the next phase, which was integrating artificial intelligence.
“They figured out how to interface with that simulation, to train AI agents to run the traffic lights in place of the information that they got from TxDOT,” Griesemer said.
In practical terms, that meant teaching a computer system to make real-time decisions about when lights should turn red, yellow or green based on evolving traffic conditions instead of preprogrammed timing.
To explore different possibilities, the team developed two AI systems that were working toward that goal; however, training the AI was no quick process.
“When you're training AI agents, their behavior starts out scattered, all over the place,” Griesemer said. “But over time, they start learning that some strategies work better than others.”
Toward the end of the second semester, as the group continued tracking total wait time across the simulation, they finally saw the numbers begin to shift.
“You could see that metric falling as the AI got better and better and better,” he said, but then the semester ended.
By that point, the system was approaching the efficiency of the current traffic light programming, with the potential to surpass it given more time. “We saw the potential for improved traffic flow,” Griesemer said.
Behind those results was a significant time commitment. During the first semester, each team member logged an estimated nine to 12 hours per week on the project, with some weeks reaching closer to 20. In the second semester, the focus shifted toward monitoring and refining the AI as the systems they built began to take on more of the workload themselves.
As part of their agreement with TxDOT to access traffic data, they shared their findings with the agency, giving a glimpse into what future traffic systems could one day look like.
“There’s always the possibility that it could be implemented, used or improved upon in the future, if somebody takes it over at TxDOT,” Griesemer said.
And even if the project never directly changes a single traffic light in Belton, its impact is already clear in another way.
“At the very least, this team of four students has taken a very, very difficult problem and simulated it,” Griesemer said. “They have applied leading-edge neural net technology to this problem and figured out how to configure everything to make it actually improve the situation. The skills that come with that transfer incredibly well into their future careers as engineers.”
For Clayton and Jesse, who both secured positions with a national construction firm, and for Joshua and Noah who graduate in December and plan to go into mechanical engineering, the project represents more than just a capstone.
“It helped us because we can go into any field and just tackle it from the ground up,” Clayton said. “We can go from nothing to something that works and can be proven to work.”