In this study, an intelligent computing framework is presented to explore the influence of unpredictable environmental factors on the spread of infections. A stochastic non-linear SIS epidemic model (SISEM) is examined that incorporates a non-linear incidence rate, and impact of random fluctuations on the disease transmission. The knacks of artificial neural networks Levenberg–Marquardt (ANNLMA) technique are exploited to illustrate the behavioral complexities of stochastic non-linear SISEM, which explores the dynamics of disease transmission in a stochastic environment and provides insights into the interactions between susceptible and infectious populations. The Milstein approach of order 1 generates a dataset for the proposed ANNLMA technique by varying integrated parameters, such as the rates of recovery, death, disease transmission, noise standard deviation and the entire population, for various SISEM scenarios. The referenced dataset is randomly divided into test, validation and train sets for the weight learning of the proposed ANNLMA. The viability of the ANNLMA is measured using intensive simulation-based investigations through analysis of mean squared errors, histograms, regression and autocorrelation studies. The investigations highlighted that the ANNLMA results closely match the reference results, illustrating convergence within the 10[Formula: see text] to 10[Formula: see text] range, indicating the validity of the proposed methodology.