In this paper, we investigate the new generalized stochastic fractional potential-Korteweg–de Vries equation, which describes nonlinear optical solitons and photon propagation in circuits and multicomponent plasmas. Inspired by Kolmogorov–Arnold network and our earlier work, we enhance the improved bilinear neural network method by using a large number of activation functions instead of neurons. This method incorporates the concept of simulating more complicated activation functions with fewer parameters, with more diverse activation functions to generate more complex and rare analytical solutions. On this basis, constraints are introduced into the method, reducing a significant amount of computational workload. We also construct neural network architectures, such as “2–3–1,” “2–2–3–1,” “2–3–3–1,” and “2–3–2–1” using this method. Maple software is employed to obtain many exact analytical solutions by selecting appropriate parameters, such as the superposition of double-period lump solutions, lump–rogue wave solutions, and three interaction solutions. The results show that these solutions exhibit more complex waveforms than those obtained by conventional methods, which is of great significance for the electrical systems and multicomponent fluids to which the equation is applied. This novel method shows significant advantages when applied to fractional-order equations and is expected to be increasingly widely used in the study of nonlinear partial differential equations.