The RL controller's behavior is entirely guided by a reward function. The core challenge: how to make AVs learn to simultaneously smooth traffic, save energy, ensure safety, provide comfort, and conform to human driving norms? If energy saving is overemphasized, the AV might stop in the middle of the road (the most energy-efficient state); if ignoring human-following behavior, it could cause discomfort or danger for nearby drivers.
To address this, the researchers introduced dynamic minimum and maximum spacing thresholds, ensuring the AV optimizes energy within safe boundaries. Additionally, the reward function not only considers the AV's own fuel consumption but also penalizes fuel consumption of vehicles behind it, preventing 'selfish' driving. This behavior shaping led the AVs to maintain slightly larger following distances than humans, better absorbing deceleration waves from ahead.