Forests are the largest terrestrial ecosystem with major benefits in three areas: economy, ecology, and society. However, the frequent occurrence of forest fires has seriously affected the structure and function of forests. To provide a strong scientific basis for forest fire prevention and control, Ripley’s K(d) function and the LightGBM algorithm were used to determine the spatial pattern of forest fires in four different provinces (Heilongjiang, Jilin, Liaoning, Hebei) in China from 2019 to 2021 and the impact of driving factors on different ecosystems. In addition, this study also identified fire hotspots in the four provinces based on kernel density estimation (KDE). An artificial neural network model (ANN) was created to predict the probability of occurrence of forest fires in the study area. The results showed that the forest fires were spatially clustered, but the variable importance of different factors varied widely among the different forest ecosystems. Forest fires in Heilongjiang and Liaoning Provinces were mainly caused by human-driven factors. For Jilin, meteorological factors were important in the occurrence of fires. Topographic and vegetation factors exhibited the greatest importance in Hebei Province. The selected driving factors were input to the ANN model to predict the probability of fire occurrence in the four provinces. The ANN model accurately captured 93.17%, 90.28%, 83.16%, and 89.18% of the historical forest fires in Heilongjiang, Jilin, Liaoning, and Hebei Provinces; Precision, Recall, and F-measure based on the full dataset are 0.87, 0.88, and 0.87, respectively. The results of this study indicated that there were differences in the driving factors of fire in different forest ecosystems. Different fire management policies must be formulated in response to this spatial heterogeneity.