The present application relates to the technical field of automatic driving
model test verification, and is a hardware-in-the-loop automatic driving model
vulnerability mining method and
system, specifically comprising: in the hardware-in-the-loop
closed loop operation, through the non-invasive probe deployed in the tested
chip, the
neuron activation features of the model
hidden layer are extracted, and the cognitive uncertainty index is calculated; when the uncertainty exceeds the threshold value, the physical parameters such as illumination, weather, shielding and target geometric shape are dynamically adjusted, and the targeted adversarial
negative sample scene is generated; in the scene evolution process, the
algorithm output, the model internal state and the
chip hardware state are monitored synchronously, the failure reason is determined through multidimensional comparison, and the
vulnerability is classified into
algorithm logic
weakness, quantization precision
weakness or hardware performance
weakness. The present application carries out active exploration based on cognitive driving, realizes efficient and accurate mining of model
vulnerability and finding of
software and hardware
coupling failure, and is especially suitable for
algorithm robustness evaluation of domestic heterogeneous computing platforms.