| CPC G06F 3/015 (2013.01) [G06F 3/14 (2013.01)] | 17 Claims |

|
1. A system, comprising:
an interface configured to display an image corresponding to a reference latent space position;
a first set of electrodes configured to deliver a set of electrical signals to a brain of a subject, the set of electrical signals determined based on the reference latent space position;
a second set of electrodes configured to record a set of electrical measurements from the brain of the subject; and
a processing system communicatively coupled to the first set of electrodes, the second set of electrodes and the interface, wherein the processing system is configured to:
determine a neural state vector based on the set of electrical measurements;
performing a transform on the neural state vector to determine a latent vector within a latent space of a generative model;
determine an updated latent space position based on the latent vector and the reference latent space position;
using the generative model, determine an updated image based on the updated latent space position, wherein determining the updated image based on the updated latent space position comprises outputting the updated image using a subset of a set of layers of the generative model, wherein the set of layers of the generative model comprises a set of input layers, an intermediate layer, and a set of output layers, wherein the latent space corresponds to the intermediate layer, wherein the set of output layers are used to output the updated image;
determine an updated set of electrical signals based on the updated latent space position;
control the interface to display the updated image; and
transmit the updated set of electrical signals to the first set of electrodes.
|