Nonlocal metasurfaces exhibit significant potential for advanced all-optical image processing by leveraging their exceptional capability to regulate spatial dispersion through precise tailoring of optical transfer functions (OTFs). However, the inverse design of specific OTFs remains challenging due to the inherently complex and highly nonlinear relationship between metasurface structural parameters and angular-dependent optical responses, which conventional empirical trial-and-error approaches