In response to the problem of bearing fault diagnosis, a deep learning method based on the combination of GWO-AlexNet group optimization algorithm and convolutional neural network, and the use of Grad-CAM for decision interpretability, is proposed. Firstly, the original vibration signal data of the bearing is transformed into images for preprocessing, and the corresponding target dataset is generated; Then train and fine tune the pre trained GWO-AlexNet model on the generated target dataset; Finally, the fine-tuned GWO-AlexNet model will be applied to fault diagnosis training and decision interpretation. The method was validated on the bearing dataset of Case Western Reserve University, and the results showed that it can achieve nearly 100% accuracy in bearing fault diagnosis and can effectively interpret diagnostic decisions, with good application prospects.