Mitigating the rate of global warming is imperative to preserve the natural environment upon which humanity relies for survival; greenhouse gas emissions serve as the principal driver of climate change, rendering the promotion of urban carbon peaking and carbon neutrality a crucial initiative for effectively addressing climate change and attaining sustainable development. This study addresses the inherent uncertainties and complexities associated with carbon dioxide emission accounting by undertaking a scenario prediction analysis of peak carbon emissions in Dalian, utilizing the STIRPAT model in conjunction with a GA-BP neural network model optimized through a genetic algorithm. An analysis of the mechanisms underlying the influencing factors of carbon emissions, along with the identification of the carbon emission peak, is conducted based on carbon emission accounting derived from nighttime lighting data. The GA-BP prediction model exhibits significant advantages in addressing the nonlinear and non-stationary characteristics of carbon emissions, attributable to its robust mapping capabilities and probabilistic analysis proficiency. The findings reveal that energy intensity, tertiary industry value, resident population, and GDP are positively correlated with carbon emissions in Dalian, ranked in order of importance. In contrast, population density significantly reduces emissions. The GA-BP model predicts carbon emissions with 99.33% accuracy, confirming its excellent predictive capability. The recommended strategy for Dalian to achieve its carbon peak at the earliest is to adopt a low-carbon scenario, with a forecasted peak of 191.79 million tons by 2033.