The invention discloses a student risk early warning model building technology based on a social network, and the technology comprises the steps: firstly obtaining the behavior and psychological dataof a student, and carrying out the data preprocessing and feature extraction; carrying out feature selection and division on the obtained data, carrying out pre-training on two thirds of the data, andestablishing a co-occurrence network of students; carrying out feature fusion after the co-occurrence network is obtained, and obtaining input of a student risk early warning model; and finally, fusing the co-occurrence network and the time recurrent neural network, and fusing an Attention mechanism to perform student risk prediction. According to the invention, student risk prediction is achieved, early warning information is sent to college teachers, college academic achievement early warning, study and life guidance and advice, psychological counseling and other services are provided for colleges, and teachers can be helped to better understand students.