NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Biologically plausible phosphene simulation for the differentiable optimization of visual cortical prostheses

Maureen van der Grinten, Jaap de Ruyter van Steveninck, Antonio Lozano, Laura Pijnacker, Bodo Rückauer, Pieter R. Roelfsema, Marcel van Gerven, Richard van Wezel, Umut Güçlü, Yağmur GüçlütürkbioRxiv 2022

Abstract

Blindness affects millions of people around the world, and is expected to become increasingly prevalent in the years to come. For some blind individuals, a promising solution to restore a form of vision are cortical visual prostheses, which convert camera input to electrical stimulation of the cortex to bypass part of the impaired visual system. Due to the constrained number of electrodes that can be implanted, the artificially induced visual percept (a pattern of localized light flashes, or ‘phosphenes’) is of limited resolution, and a great portion of the field’s research attention is devoted to optimizing the efficacy, efficiency, and practical usefulness of the encoding of visual information. A commonly exploited method is the non-invasive functional evaluation in sighted subjects or with computational models by making use of simulated prosthetic vision (SPV) pipelines. Although the SPV literature has provided us with some fundamental insights, an important drawback that researchers and clinicians may encounter is the lack of realism in the simulation of cortical prosthetic vision, which limits the validity for real-life applications. Moreover, none of the existing simulators address the specific practical requirements for the electrical stimulation parameters. In this study, we developed a PyTorch-based, fast and fully differentiable phosphene simulator. Our simulator transforms specific electrode stimulation patterns into biologically plausible representations of the artificial visual percepts that the prosthesis wearer is expected to see. The simulator integrates a wide range of both classical and recent clinical results with neurophysiological evidence in humans and non-human primates. The implemented pipeline includes a model of the retinotopic organisation and cortical magnification of the visual cortex. Moreover, the quantitative effect of stimulation strength, duration, and frequency on phosphene size and brightness as well as the temporal characteristics of phosphenes are incorporated in the simulator. Our results demonstrate the suitability of the simulator for both computational applications such as end-to-end deep learning-based prosthetic vision optimization as well as behavioural experiments. The modular approach of our work makes it ideal for further integrating new insights in artificial vision as well as for hypothesis testing. In summary, we present an open-source, fully differentiable, biologically plausible phosphene simulator as a tool for computational, clinical and behavioural neuroscientists working on visual neuroprosthetics.

Introduction

For millions of people with profound blindness, cortical visual prostheses offer a glimmer of hope. These devices bypass damaged eyes or optic nerves by stimulating the primary visual cortex (V1) directly, creating artificial flashes of light known as "phosphenes." However, a major hurdle remains: how do we translate a high-resolution camera feed into a sparse, low-resolution pattern of electrical pulses that the brain can actually interpret? Most existing simulations use a "scoreboard model"—treating phosphenes like uniform pixels on a grid. In reality, the brain’s mapping is distorted (cortical magnification), phosphenes vary in size and brightness based on current, and the percepts fade over time (accommodation). This paper introduces a simulator that bridges the gap between oversimplified models and biological reality, specifically designed to work within modern machine learning frameworks.

Methods

The authors built a modular pipeline using PyTorch, ensuring every step is differentiable. This differentiability allows a neural network to backpropagate errors through the simulator to learn the best stimulation parameters.

Overview of the phosphene simulation pipeline (left) and visual output examples at varying current levels (right).

Key components include:

  • Visuotopic Mapping: Using a "wedge-dipole" model to map electrode locations on the flattened cortical surface to specific points in the visual field, accounting for the fact that the center of our vision (the fovea) is represented by a much larger area of the brain (cortical magnification).
  • Biophysical Modeling: Phosphene size is calculated based on current spread models, while brightness and activation thresholds are determined by a leaky integrator model. This simulates how charge accumulates and decays in neural tissue.
  • Temporal Dynamics: The model accounts for "accommodation"—the phenomenon where repeated stimulation leads to a decrease in perceived brightness—and the delayed "offset" of perception.
  • Optimization Pipeline: The simulator is placed between a CNN Encoder (which turns images into stimulation patterns) and a CNN Decoder (which tries to reconstruct the original image from the simulated phosphenes).

Results

The researchers validated their model using empirical psychophysical data from human and non-human primate studies (notably Fernández et al., 2021 and Schmidt et al., 1996). The simulator’s predictions for phosphene brightness ($R^2 = 0.950$) and perception probability ($R^2 = 0.868$) showed a very high correlation with actual clinical data.

Performance benchmarks showing frames per second (FPS) for varying resolutions and phosphene counts.

On an NVIDIA A30 GPU, the simulator can render 10,000 phosphenes at 256x256 resolution at roughly 29 frames per second, making it viable for real-time behavioral experiments with sighted subjects. In natural scene tests using the ADE20K dataset, the "supervised boundary reconstruction" mode successfully trained the system to represent complex objects using sparse, biologically plausible phosphene patterns.

Discussion

By making the simulator differentiable, the authors transformed a biological modeling problem into a gradient-based optimization problem. The results show that when a model accounts for cortical magnification, the AI naturally learns to "spend" more of its limited phosphene budget on the center of the visual field, mimicking natural human vision.

While a significant step forward, several areas for future work remain. The current model focuses on the primary visual cortex (V1); future versions could include higher-order areas (V2, V4, IT) to simulate more complex percepts like shapes or faces. Additionally, modeling electrode interactions and non-Gaussian phosphene shapes would further improve fidelity.

Source Code: The simulator is open-source and available as a Python package (pip install dynaphos).

Summary updated

BibTeX
@misc{grinten2022biologically,
  author = {Maureen van der Grinten and Jaap de Ruyter van Steveninck and Antonio Lozano and Laura Pijnacker and Bodo Rückauer and Pieter R. Roelfsema and Marcel van Gerven and Richard van Wezel and Umut Güçlü and Yağmur Güçlütürk},
  title = {{Biologically plausible phosphene simulation for the differentiable optimization of visual cortical prostheses}},
  year = {2022},
  doi = {10.1101/2022.12.23.521749},
  howpublished = {bioRxiv},
}
Figure