Slope stability analysis is a very important part of engineering design, which is related to the safety of the construction process. In this paper, the lag effect of intelligent algorithms in solving landslide thrust and the characteristics of slope deformation are studied in depth. The purpose of studying slope engineering stability in this paper is to apply theoretical research to practical operation, so as to reduce unnecessary hazards. This paper mainly applies qualitative analysis and comparative analysis to control the variable of single and double row spacing, so as to explore the spacing of piles in slope engineering to determine the stability. The experimental data shows that when the pile spacing is 2 m, the stability of slope engineering can be strengthened.