The invention relates to an enterprise tax risk prediction method and device, equipment and a medium. The method comprises the steps that firstly, a multi-tax-category original
declaration data set is acquired, and a tax category
network structure containing tax category nodes and display and implicit associated edges is constructed through a graph neural network; extracting node features, inputting the node features into a pre-trained
random forest classification model, judging a matching state, and if deviation exists, calculating an initial
risk probability score of each path; screening a high-risk path, generating a contradictory
feature vector, calculating a quantitative
risk assessment value, and fusing multi-dimensional indexes to obtain a tax risk
prediction score; and finally, according to the
score and a historical case feedback coefficient, adjusting an edge weight, constructing a map marking the weight and the conduction direction, and performing high-risk node screening, connection strength adjustment and association edge grading
processing to obtain an optimized association map. The method breaks through the limitation of evaluation of a single tax category, effectively captures composite risks, and provides reliable support for refined collection and management and compliance management of enterprises.