Optoelectronic synaptic devices, integrating light sensing and information processing capabilities, have emerged as advantageous tools for the implementation of visual neuromorphic computing. However, the transient light-triggered response characteristic typically results in unstable memory retention times and restricted current response ranges, posing significant challenges to the development and practical application of neural network systems. In response to these limitations, this study developed a nonvolatile optoelectronic memory based on the indium tin oxide (ITO)/Au nanoparticles (NPs)/amorphous Ga2O3 (a-Ga2O3)/Pt structure. Unlike conventional optoelectronic memories, this device features a modification with Au NPs that markedly enhances the Schottky barrier height at the interface. Au NPs function as a charge-trapping layer for sensitive and large-scale modulation of the barrier by the light field, thereby enabling the nonvolatile reversal of the device's barrier polarity. This innovative approach enables controllable multilevel data storage with an ultra large on/off ratio (∼104) and excellent retention capability exceeding 12,000 s. Additionally, the device emulates essential synaptic functions and demonstrates potential application values in visual weak signal perception and image memory. This study introduces a mechanism for Schottky barrier polarity control and presents a promising strategy for the development of future high-performance integrated devices and optoelectronic synaptic elements.