Road intersections are made of asphalt pavement, a popular road surface material used worldwide. The pavement may suffer deformities and deterioration, resulting in higher maintenance expenses and an elevated likelihood of road accidents, due to factors such as heavy vehicles and environmental variables like temperature and rainfall. To tackle these obstacles, researchers have devised several machine-learning algorithms and optimization techniques. These tools aim to forecast and scrutinize pavement deformation, with the goal of refining pavement design and maintenance approaches, as well as obtaining a more comprehensive comprehension of the factors that impact pavement effectiveness. This paper shows that heavy vehicles contribute significantly more to road erosion, and the retention and braking of vehicles greatly impact roadways. We also emphasize the statistical errors computed on the actual data range and demonstrate the results of the multilayer perceptron (MLP) model. The MLP model used the lath erosion standard to simulate future impact. Even though the model given is based on a small sample of data from one intersection, its estimates for road erosion in a year were found to be accurate when contrasted to real data. Controlling traffic flow can significantly improve road conditions, reducing erosion decay by reducing the time spent at intersections and other parameters. We conclude that machine learning can help control traffic flow, which can significantly improve road conditions, reducing vehicle time stretches at intersections.