The invention relates to an automatic driving formation restructuring method based on
reinforcement learning, which comprises the following steps: S1, describing an interaction relationship between a formation and surrounding vehicles by adopting a
graph theory, predicting motion states of the formation and interaction vehicles, carrying out
collision detection, turning to S4 when a
collision risk value is smaller than a
collision risk threshold value, and otherwise, turning to S2; s2, modeling a formation
decision process into a
partially observable Markov decision process, establishing a shared observation space according to a formation collaborative
perception result, and outputting a formation behavior decision result by adopting a
reinforcement learning algorithm; s3, based on the formation behavior decision result, safety deduction is carried out on vehicles in the formation in sequence according to the safety priority, and the formation behavior decision result is updated; s4, an ideal distance is calculated according to the
variable time headway, the optimal longitudinal control quantity is calculated in real time, and formation
car following driving is carried out; and S5, circularly executing the steps S1 to S4 until the formation completes the automatic driving task. Compared with the prior art, the method has the advantages of high safety robustness and high formation overall passing efficiency.