Abstract:Earthquakes cause not only horizontal displacements and shear forces but also vertical vibrations on the ground surface. Accordingly, this study proposes an early-warning algorithm for the imminent sliding of unstable layered soil slopes under bidirectional seismic loading. Based on grey relational analysis, early warning indicators are identified, and multiple regression analysis is conducted under bidirectional seismic loading conditions. The tangent angle is calculated from the predicted displacement; when it exceeds a preset threshold, the slope is considered to have entered the imminent sliding deformation stage. The results show that slope stability gradually decreases with increasing moisture content. Under three different bidirectional seismic loading conditions, slope displacement increases over time, initially slowly and then at an accelerating rate. The maximum error at the warning point is 0.7 m, which meets the accuracy requirements for early warning of unstable layered soil slopes. These findings demonstrate that the proposed algorithm achieves good predictive performance, high warning accuracy, and strong monitoring capability.