With the increasing demand for data, mobile operator face the challenge of resource reuse and cost reduction, while also needing to improve network performance and support dynamic scaling. In this paper, we propose a Virtualized Network Function (VNF) scaling ratio prediction model based on an additional momentum BP neural network to optimize the performance of VNF instances in the context of public cloud Network Function Virtualization (NFV) scenarios. We model performance monitoring data and optimize the BP neural network model using the additional momentum method, resulting in specific VNF scaling strategies. The results show that the additional momentum BP neural network is highly effective in predicting the number of VNF scaling instances, with an error rate of only 0.0009 and an accuracy of 98%. Compared to the unimproved model, the additional momentum method leads to smaller errors and notable improvements in both convergence speed and accuracy.