The devices combine lead sulfide quantum dots, a conducting polymer and vanadium oxide. Near-infrared light gradually increases conductance by moving electrons into defect states, while visible light decreases conductance through a different pathway. This lets the devices update their stored weights in a more linear and balanced way than many optoelectronic memristors described by the researchers.