To effectively monitor the nonlinear wear variation of tools during the processing of titanium alloys, this study proposes a hybrid deep neural network fault diagnosis model that integrates the triangulation topology aggregation optimizer (TTAO), convolutional neural network (CNN), bidirectional long short-term memory network (BiLSTM), and attention mechanism (AM). Firstly, vibration signals from the machine tool spindle are acquired and subjected to the wavelet packet transform (WPT) to extract multi-frequency band energy features as model inputs. Then, the CNN and BiLSTM modules capture the features and temporal relationships of the input signals. Finally, introduction of the AM, combined with the TTAO algorithm, automatically extracts deep features, overcoming issues such as local optima and slow convergence in traditional neural networks, thereby enhancing the accuracy and efficiency of tool wear state recognition. The experimental results demonstrate that the proposed model achieves an average accuracy rate of 98.649% in predicting tool wear states, outperforming traditional backpropagation (BP) networks and standard CNN models.