Transonic shock buffet is a significant self-excited shock oscillations and aerodynamic instability phenomenon induced by shock-boundary layer interaction, which limits the flight envelope and even causes flight accidents. The aviation industry has a significant interest in accurately predicting the shock buffet onset boundary, defined by a specific combination of Mach number and angle of attack. While the current methods of steady and unsteady numerical simulation suffer from a contradiction of efficiency and accuracy. In the current paper, a flow feature-informed neural network (FINN) model is constructed to predict the buffet onset boundary over airfoils. Typical features associated with buffet onset are extracted from the steady base flow and subsequently integrated into the hidden layer of the neural network to impose physical constraints. With the test cases of the NACA0012 airfoil at various Mach numbers, the FINN model can accurately predict the damping representing the unsteady instability margin. Compared to the direct mapping input-output neural network (NN) model, the proposed method with shock wave feature-informed has enhanced accuracy, with an average relative error decreased by 70% at extrapolated Mach numbers. This research demonstrates the effectiveness of the FINN model in predicting the buffet onset, which leverages physics features derived from the more economical steady solution far from the onset boundary at a given predicted Mach number.