Through the provision of individualized material recommendations, recommendation systems are an essential component of online education. In this paper, hybrid optimizing techniques are proposed with the goal of improving the accuracy of recommendations. These techniques involve mixing the Imperialist Competitive Algorithm (ICA) with Simulated Annealing (SA) and Particle Swarm Optimization (PSO). In the ICA-SA approach, exploring is improved through the use of ICA, while SA is utilized for the purpose of local refining. Within the framework of ICA-PSO, autonomous nations that employ PSO-based movement techniques in order to improve their flexibility are presented. The application of these strategies improves the performance of deep neural networks while performing recommendations jobs. In a number of different test instances, the results show that ICA-PSO-DNN works better than other approaches that are currently in use. It achieves greater accuracy, recall, and F-measure. The ICA-PSO-DNN algorithm displays improved recommendations accuracy in comparison to both the logistic regression and solo deep learning systems currently available. A robust selecting features and better efficiency are both guaranteed by the hybrid technique, which efficiently strikes a balance between studying and exploiting respectively. The research sheds light on the influence that bio-inspired optimized methods have on the improvement of e-learning recommendation systems and offers beneficial insights into how these methods might be applied in contexts with vast amounts of data. Through the demonstration of the efficacy of hybrid optimization methodologies in enhancing recommended accuracy, this study makes a contribution to the continuous advancement of sophisticated system suggestions in the field of digital learning. Compared to existing models, the suggested technique yields a remarkable 98% accuracy.