Bayesian inference for biophysical neuron models enables stimulus optimization for retinal neuroprosthetics
Abstract
While multicompartment models have long been used to study the biophysics of neurons, it is still challenging to infer the parameters of such models from data including uncertainty estimates. Here, we performed Bayesian inference for the parameters of detailed neuron models of a photoreceptor and an OFF- and an ON-cone bipolar cell from the mouse retina based on two-photon imaging data. We obtained multivariate posterior distributions specifying plausible parameter ranges consistent with the data and allowing to identify parameters poorly constrained by the data. To demonstrate the potential of such mechanistic data-driven neuron models, we created a simulation environment for external electrical stimulation of the retina and optimized stimulus waveforms to target OFF- and ON-cone bipolar cells, a current major problem of retinal neuroprosthetics.
Introduction
Mechanistic models have been extensively used to study the biophysics underlying information processing in single neurons and small networks in great detail (Gerstner and Kistler, 2002; Koch, 2004). In contrast to phenomenological models used for neural system identification, such models try to preserve certain physical properties of the studied system to facilitate interpretation and a causal understanding. For example, biophysical models can incorporate the detailed anatomy of a neuron (Golding et al., 2001; Poirazi et al., 2003; Hay et al., 2011), its ion channel types (Hodgkin and Huxley, 1952; Fohlmeister and Miller, 1997) and the distributions of these channels (Rattay et al., 2017) as well as synaptic connections to other cells (O'Leary et al., 2014). For all these properties, the degree of realism can be adjusted as needed. While increased realism may enable models to capture the highly non-linear dynamics of neural activity more effectively, it usually also increases the number of model parameters. While the classical Hodgkin-Huxley model with one compartment has already 10 free parameters (Hodgkin and Huxley, 1952), detailed multicompartment models of neurons can have dozens or even hundreds of parameters (Taylor et al., 2009; Hay et al., 2011).
Constraining many of these model parameters such as channel densities requires highly specialized and technically challenging experiments, and hence it is usually not viable to measure every single parameter for a neuron model of a specific neuron type. Rather, parameters for mechanistic simulations are often aggregated over different neuron types and even across species. Even though this may be justified in specific cases, it likely limits our ability to identify mechanistic models of individual cell types. Alternatively, parameter search methods have been proposed to identify the parameters of mechanistic neuron models from standardized patch-clamp protocols based on exhaustive grid-searches (Goldman et al., 2001; Prinz et al., 2003; Stringer et al., 2016) or evolutionary algorithms (Gerken et al., 2006; Keren et al., 2005; Achard and De Schutter, 2006; Rossant et al., 2011). Such methods are often inefficient and identify only a single point estimate consistent with the data (for discussion, see Gonçalves et al., 2020).
Here, we built on recent advances in Bayesian simulation-based inference to fit multicompartment models of neurons with realistic anatomy in the mouse retina. We used a framework called Sequential Neural Posterior Estimation (SNPE) (Lueckmann et al., 2017; Gonçalves et al., 2020) to identify model parameters based on high-throughput two-photon measurements of these neurons’ responses to light stimuli. SNPE is a Bayesian simulation-based inference algorithm that allows parameter estimation for simulator models for which the likelihood cannot be evaluated easily. The algorithm estimates the distribution of model parameters consistent with specified target data by evaluating the model for different sets of parameters and comparing the model output to the target data. To this end, parameters are drawn from a prior distribution, which is an initial guess about which parameters are likely to produce the desired model output. For example, the choice of prior distribution can be informed by the literature, without constraining the model to specific values. The model output for the sampled parameter sets can then be used to refine the distribution over plausible parameters given the data. This updated distribution, containing information from both the prior and the observed simulations, is known as the posterior. For high-dimensional parameter spaces, many samples are necessary to obtain an informative posterior estimate. Therefore, to make efficient use of simulation time, SNPE iteratively updates its sampling distribution, such that only in the first round samples are drawn from the prior, while in subsequent rounds samples are drawn from intermediate posteriors. This procedure increases the fraction of samples leading to simulations close to the target data. Since this approach for parameter estimation not only returns a point-estimate but also a posterior distribution over parameters consistent with the data, it allows one to straightforwardly determine how well the parameters are constrained. While the method has been used previously to fit simple neuron models (Lueckmann et al., 2017; Gonçalves et al., 2020), it has so far not been applied to models as complex and realistic as the ones presented here.
We estimated the posterior parameter distribution of multicompartment models of three retinal neurons, a cone photoreceptor (cone), an OFF- and an ON-bipolar cell (BC). The structure of the BC models was based on high-resolution electron microscopy reconstructions (Helmstaedter et al., 2013) and in six independently parameterized regions. We performed parameter inference based on the responses of these neurons to standard light stimuli measured with two-photon imaging of glutamate release using iGluSnFR as an indicator (Franke et al., 2017). Our analysis shows that many of the model parameters can be constrained well, yielding simulation results consistent with the observed data. After validating our model, we show that the inferred models and the inference algorithm can be used to efficiently guide the design of electrical stimuli for retinal neuroprosthetics to selectively activate OFF- or ON-BCs. This is an important step toward solving a long-standing question in the quest to provide efficient neuroprosthetic devices for the blind.
Materials and methods
Biophysical neuron models
We created detailed models of three retinal cell types: a cone, an ON- (Figure 1A,Bi) and an OFF-BC (Figure 1Bii). From the different OFF- and ON-BC types, we chose to model the types 3a and 5o, respectively, because those were the retinal cone bipolar cell (CBC) types in mice for which we could gather most information. To model the light response, the OFF-BC model received input from five and the ON-BC from three cones (Behrens et al., 2016). Every cone made two synaptic connection with each BC. The postsynaptic conductances were set to 0.25 nS per connection.
Multicompartment models
Request a detailed protocolWe used NeuronC (Smith, 1992) to implement multicompartment models of these neurons. A multicompartment model subdivides a neuron into a finite number of compartments. Every compartment is modeled as an electrical circuit, has a position in space, a spatial shape and is connected to at least one neighboring compartment (Figure 1C). The voltage in a compartment n, connected to the compartments and is described by:
Here, compartments are either modeled as cylinders or spheres. The membrane capacitance , membrane resistance and axial resistance of a compartment n are assumed to be dependent on the compartment surface area and/or the compartment length :
We assumed the specific membrane resistance , the specific membrane capacitance , and the axial resistivity to be constant over all compartments within a cell model. We used for all cell types and informed our priors for and , which we estimated for every cell type individually, based on estimates for rod bipolar cells of rats (Oltedal et al., 2009). Parameters of NeuronC and the used values are summarized in Appendix 1—table 3.
Anatomy
Request a detailed protocolWe used a simplified cone morphology consisting of four compartments: one cone-shaped compartment for the outer segment, one spherical compartment for the combination of inner segment and soma, one cylindrical compartment for the axon, and another spherical one for the axonal terminals (Figure 1). The light collecting area in the outer segment was set to 0.2 µm² (Nikonov et al., 2006). The diameter of the soma , the axon and axonal terminals , the length of the axon and the length of the outer segment were based on electron microscopy data (Carter-Dawson and LaVail, 1979):
The BC morphologies in this study were based on serial block-face electron microscopy data of mouse bipolar cells (Helmstaedter et al., 2013). We extracted the raw voxel-based morphologies from the segmentation of the EM dataset and transformed them into a skeleton plus diameter representation using Vaa3D-Neuron2 auto tracing (Xiao and Peng, 2013). These where then manually refined using Neuromantic (Myatt et al., 2012) to correct errors originating from small segmentation errors (Figure 1).
The ON-BC morphology we chose was classified as type 5o, equal to the functional type of the model. For the OFF-BC, we decided for a morphology classified as type 3b, although we functionally modeled a type 3a cell, because the chosen reconstructed morphology was of higher quality than all available type 3a reconstructions and because type 3a and 3b BCs have very similar morphologies. Additionally, type 3a and 3b mostly differ in the average axonal field size (Wässle et al., 2009; Helmstaedter et al., 2013), with that of type 3a being larger than that of type 3b. The selected morphology had the largest axonal field among all cells classified as 3b in the dataset, well within the range of type 3a cells.
Because the computational time scales approximately linear with the number of BC compartments, using the full number of compartments of the EM reconstructions (>1000) during parameter inference was computationally infeasible. Therefore, we utilized the compartment condensation algorithm of NeuronC, which iteratively reduces the number of compartments while preserving biophysical properties (Smith, 1992). To be able to draw a sufficient number of samples, we reduced the number of compartments during parameter inference to 22 and 19 for the OFF- and ON-BC respectively (requiring approximately 3 min per simulation for a 31 s light stimulus). To simulate the electrical stimulation, more compartments are necessary to capture the effect of the electrical field on the neurites of the BC models. Therefore, we increased the number of compartments to 139 and 152 for the OFF- and an ON-BC, respectively, which is sufficient to accurately represent all major neurites without becoming computationally too expensive (requiring approximately 20 min and 13 min per simulation for a 31 s light stimulus for the OFF- and ON-BC, respectively).
Ion channels and synapses - literature review
Request a detailed protocolThe complement and distribution of voltage- or ligand-gated ion channels shapes the response of neurons. Here, ion channels are modeled as additional electrical elements in the compartments’ membrane with conductances dependent on time varying parameters, such as the membrane potential and the calcium concentration within the cell. In addition to the equations that govern a channel’s kinetics, their location in the cell has to be defined. After a literature review of retinal cone bipolar cell types in mice, we decided to model the OFF- and ON-type for which we could gather most information, namely BC3a and BC5. Currently, there are three accepted subtypes of BC5: 5o, 5i and 5t (Greene et al., 2016). Here, we modeled the BC5 subtype that expresses voltage-gated sodium channels (Hellmer et al., 2016) which probably also corresponds to the more transient BC5 subtype reported in Ichinose et al., 2014. The TTX sensitivity observed in Matsumoto et al., 2019 suggests that both, 5o and 5i express voltage-gated sodium channels. To make our model consistent, we used data from the same BC5 subtype (5o) for the morphology, the target data and the number of cone contacts. A summary of all used channels, their location within the models and the respective references can be found in Table 1. The following paragraphs describe which channels were included in the models and why. Note, however, that for all channels (except the L-type calcium channel in the axon terminals, as calcium channels are necessary in the model for neurotransmitter release) channel densities of zero were included in the prior distributions, thereby allowing the parameter inference to effectively remove ion channels from the model.
In their axon terminals, cones express L-type calcium () channels that mediate release of the transmitter glutamate (Morgans et al., 2005; Mansergh et al., 2005; Ingram et al., 2020). We modeled calcium extrusion purely with calcium pumps () since other mechanisms such as sodium-calcium-exchangers probably only play a minor functional role in cones (Morgans et al., 1998). Additionally, there is evidence that cones express hyperpolarization-activated cyclic nucleotide-gated cation (HCN) channels of the type 1, mostly in the inner segment but also in the axon (Knop et al., 2008; Van Hook et al., 2019). The presence of channels in mouse cones is more controversial. These channels have been observed in rat cones (Müller et al., 2003), and a more recent study also found evidence for channels at the synaptic terminals of mouse cones, but could not observe any functional differences between wild-type and -knockout mice. To restrict the number of model parameters, we did not include in our cone model. However, we added calcium-activated chloride () channels to the axon terminals (Yang et al., 2008; Caputo et al., 2015) and voltage-gated potassium channels at the inner segment (Van Hook et al., 2019).
Our BC5 type expresses voltage-gated sodium () channels at the axon shaft (Hellmer et al., 2016). Another study found inward-rectifier potassium () channels at the soma of BC5 (Knop et al., 2008), which were also found in the homologous type in rat (Cui and Pan, 2008). Additionally, BC5 express HCN channels at the axon terminal, the soma and the dendrites (Knop et al., 2008; Hellmer et al., 2016). From the four subtypes of HCN, BC5 seem to almost exclusively express . In the rat, there is also evidence for the expression of channels in BC5 (Müller et al., 2003; Ivanova and Müller, 2006), but this could not be verified for mice. Data from rat suggests that BCs with channels also express channels (Ma et al., 2005). We therefore added channels at the dendrites and the axon.
Similar to BC5, BC3a express HCN channels at the axon terminals, the soma and the dendrites. However, instead of they express (Hellmer et al., 2016; Knop et al., 2008). There is also evidence that BC3a express channels at the axon shaft (Hellmer et al., 2016), which were also found in the homologous type in rat (Cui and Pan, 2008). Just like for BC5, we added also in BC3a were only reported for rat so far (Cui and Pan, 2008). As we could not find any evidence for the lack of channels in mouse BC3a and the channel repertoires of BC3a in mouse and rat are overall very consistent, we included them in our model.
The distribution of calcium channels in mouse CBCs is largely unknown (Van Hook et al., 2019). In the rat retina, there is evidence for T-type calcium () channels in BC3a (Ivanova and Müller, 2006). Calcium currents of unspecified type were observed in BC5 (Cui and Pan, 2008). Generally, L-type calcium () channels are believed to mediate neurotransmitter release in almost all BCs across types and species (Van Hook et al., 2019). Therefore, we included them in both BC models. The literature review in Van Hook et al., 2019 suggests that T-type calcium channels might be exclusively expressed in BC3. In mouse BC3b, the simultaneous expression of both and has been described (Cui et al., 2012). Furthermore, the latter and other studies (Hu et al., 2009; Satoh et al., 1998) suggest that voltage-gated calcium channels might not be located in the axon terminals only, but also in the soma and might play a role in signal transmission within the cell. Based on the studies mentioned, we assumed that BC3a and BC5 express in the axon terminals and potentially also at the soma. The BC3a model may additionally use channels, both at the soma and at the axon terminals. For calcium extrusion, we added calcium pumps (Morgans et al., 1998).
BC5 receive input from cones via the metabotropic glutamate receptor 6 (mGluR6) (Van Hook et al., 2019). BC3a receive input from cones via kainate receptors (Ichinose and Hellmer, 2016). We modeled the kainate receptors by modifying the inactivation time constant of the AMPA receptors included with NeuronC.
Ion channels and synapses - implementation
Request a detailed protocolAll ion channels in this study were based on the models available in NeuronC. We used both Hodgkin-Huxley (HH) and Markov-Sequential-State (MS) channel implementations. Since we did not add channel noise to our model, every HH channel could have also been described as an equivalent MS channel. However, since HH channels are computationally less expensive, we used HH implementations wherever possible. Implementation details and references are listed in Table 2. The L-type calcium channel, for example, was based on the HH model defined by the following equations:
Here, corrects for differences between the temperature of the simulated cell and the temperature for which the channel equations were defined based on a temperature sensitivity which can vary between ion channels and state transitions:
There are several sources for model uncertainty about the exact channel kinetics. First, not all channel models used here were developed based on mouse data resulting in species-dependent differences. Second, we do not always know the exact subtypes of ion channels, for example in the case of the T-type calcium channel. Third, the exact temperature sensitivities are not known. Therefore, we estimated transition rates and thresholds for state transitions during the parameter inference. For this, we allowed for offsets relative to in the rate equations and additionally, we estimated relative time constants τ for the rates. For example Equation 4 was changed to:
To keep the parameter space as small as possible, we only optimized the kinetics of ion channels with high uncertainty (e.g. ) or with high relevance for the exact timing of the neurotransmitter release (e.g. and ). Additionally, we constrained the channel parameters to physiologically plausible ranges. Table 2 summarizes which channel parameters were estimated during parameter optimization. Time constants τ and voltage offsets not optimized were set to one and zero, respectively. For the , a single time constant was used to modify all time constants proportionally. The calcium pump dynamics were modified by changing the calcium concentration that causes half of the maximum calcium extrusion velocity. The BC glutamate receptors were optimized by allowing for a change in the synaptic transmitter concentration at the receptors by a factor of , which might be smaller for the OFF-BC than for the ON-BC given the greater distance between the release sites of the cones and the dendritic tips of the BCs (Behrens et al., 2016). The simulated cell temperature was set to 37°C if not stated otherwise. For further information we refer to the NeuronC documentation (Smith, 1992).
Neurotransmitter release
Request a detailed protocolThe glutamate release of cones and BCs release is mediated through ribbon synapses that release vesicles in response to calcium influx in a nonlinear way (Matthews and Fuchs, 2010; tom Dieck and Brandstätter, 2006; Baden et al., 2013). We modeled the ribbon synapses with a standard model (Smith, 1992) including a readily releasable pool (RRP) from which vesicles can be released (Lagnado and Schmitz, 2015). The presence of multiple release pools shapes the dynamic of release at the ribbon synapse and make it state dependent, allowing for rapid adaptational processes at the synaptic site (Baden et al., 2013). In the model, the current release rate is dependent on the number of vesicles currently available in the RRP, the maximum number of vesicles in the RRP and the intracellular calcium concentration . In NeuronC, calcium is modeled in radial shells through which calcium can diffuse deeper into the neuron. For the release of neurotransmitter, only the calcium concentration in the first shell (equivalent to the concentration at the membrane) is considered. The release rate is computed as:
where is a linear gain factor. and were optimized for every cell type individually. The RRP is constantly replenished with a constant rate that is equivalent to the maximum sustainable release rate . At a time t, for a simulation time step , the vesicles in the pool are updated as follows:
For the cone model, was set to 100 vesicles per second based on Berntson and Taylor, 2003. The prior for was based on RRP sizes reported for salamander (Thoreson et al., 2016; Bartoletti et al., 2010). For the BCs, was set to eight vesicles per second based on the reported value for rat rod bipolar cells in Singer and Diamond, 2006. The prior for was based on Wan and Heidelberger, 2011.
Bayesian inference for model parameters
To estimate the free parameters of the multicompartment models, we used a Bayesian likelihood-free inference framework called Sequential Neural Posterior Estimation (SNPE) (Lueckmann et al., 2017; Gonçalves et al., 2020). The goal of the parameter estimation was to find parameter regions for which the model outputs match the experimentally observed glutamate release in response to a light stimulus. Details of the target data, the stimulus, the comparison between experimental and simulated data and the inference algorithm are described below. To be able to simulate the light response of the BC models, we inferred the parameters of the cone model first.
Target data of neuron models
Request a detailed protocolAs target data, we used two-photon imaging data recorded with an intensity-based glutamate-sensing fluorescent reporter (iGluSnFR) (Marvin et al., 2013). All animal procedures were approved by the governmental review board (Regierungspräsidium Tübingen, Baden-Württemberg, Konrad-Adenauer-Str. 20, 72072 Tübingen, Germany) and performed according to the laws governing animal experimentation issued by the German Government.
To constrain the cone models, we used glutamate traces of two cone axon terminals (Figure 5—figure supplement 1A) in response to a full-field chirp light stimulus (Figure 5A). The traces were recorded in one transgenic mouse (B6;129S6-Chattm2(cre)LowlJ, JAX 006410, crossbred with Gt(ROSA)26Sortm9(CAG-tdTomato)Hze, JAX 007905) that expressed the glutamate biosensor iGluSnFR ubiquitously across all retinal layers after intravitreal injection of the viral vector AAV2.7m8.hSyn.iGluSnFR (provided by D. Dalkara, Institut de la Vision, Paris). The cone glutamate release in the outer plexiform layer was recorded in x-z scans (64 × 56 pixels at 11.16 Hz; Zhao et al., 2019). Region-of-interest (ROIs) were drawn manually and traces of single ROIs were then normalized and upsampled to 500 Hz as described previously (Franke et al., 2017; Szatko et al., 2019). For each axon terminal, we computed the mean over five traces. Both means were then aligned by minimizing the mean squared error between them, and the mean of the two aligned means was used as target data for the cone model (Figure 5—figure supplement 1B).
For the BC models, we used mean glutamate traces of BC3a (n = 19 ROIs) and BC5o (n = 13 ROIs) (Figure 5—figure supplement 1C–F) in response to a chirp light stimulus (Figure 6A) from a recently published dataset (Franke et al., 2017). In that study, glutamate responses were recorded from BC terminals at different depths of the inner plexiform layer (x-y scans, 64 × 16 pixels at 31.25 Hz). ROIs were drawn automatically based on local image correlation and traces of single ROIs were normalized and upsampled to 500 Hz (see above). Since we simulated isolated BCs (except for the cone input), we used the responses to a local ‘chirp’ light stimulus recorded with the glycine receptor blocker strychnine, which means that the target data is less affected by inhibition from small-field amacrine cells. We did not consider input from GABAergic, wide-field amacrine cells, because these are not strongly activated by the local chirp stimulus (Franke et al., 2017). The shape of the BC stimulus differed from the cone stimulus as contrast was not linearized for the BC recordings and therefore intensity modulations below 20% brightness were weakly rectified.
Light stimulus and cell response
Request a detailed protocolWe first matched the experimental with the simulated stimulus. For this, we used the digital stimuli and corrected both timing and amplitude (using a sigmoid function) to minimize the mean squared error with respect to the experimentally recorded stimuli, correcting for delays and non-linearities in the displaying process. Then we linearly transformed the light stimulus such that the simulated photon absorption rates were for the lowest and for the highest stimulus intensity including the background illumination, approximating the values reported in Franke et al., 2017. In NeuronC, the photon absorption rate acts as input to a phototransduction model (Nikonov et al., 1998), which provides the hyperpolarizing current entering the inner segment. The membrane potential in the axon terminal compartment regulates the calcium influx into the cell which in turn influences the glutamate release rate. This glutamate release from the simulated cones modifies the opening probability (the fraction of open channels in the deterministic case) of postsynaptic receptors, which drive the BC models.
Discrepancy function
Request a detailed protocolTo compare model outputs to the experimentally observed target data, we defined a discrepancy function . Since the target traces were relative fluorescence intensities, the absolute number of released glutamate vesicles could not be directly inferred from the target data, and the data only constrained relative variations in the release rate during simulation. Because we also wanted to constrain our models to plausible membrane potentials and release rates, we combined the following seven discrepancy measures:
: The mean squared error between the experimental and simulated iGluSnFR trace.
: A penalty for implausibly high resting release rates.
: A penalty for implausibly low or implausible high resting membrane potentials.
: A penalty for implausibly low release rate changes.
: A penalty for implausibly low membrane potential changes.
: A penalty for implausibly low membrane potentials.
: A penalty for implausibly high membrane potentials.
The discrepancy between a model output m and the target data was computed as:
To identify the overall ‘best’ samples, we computed the total discrepancy as the absolute-value norm of the discrepancy vector: .
The discrepancy function (Equation 10) computes the distance between a simulated iGluSnFR trace and an iGluSnFR target . To estimate the simulated iGluSnFR trace, we convolved the glutamate release rate with an iGluSnFR kernel . Here, the time-dependent kernel function was approximated with an exponential decay function, based on iGluSnFR intensity changes to spontaneous vesicle release reported in Marvin et al., 2013:
The discrepancy was then computed as the euclidean distance between the simulated and the target iGluSnFR trace with respect to a distance minimizing linear transformation of the simulated trace. This linear transformation was necessary because the target traces only reflect relative fluorescence changes. The discrepancy was normalized to be between zero and one by dividing by the variance , where is the mean of the target data.
For all other discrepancies, specific values of the glutamate release rate (in the case of the BCs, the mean release rate over all synapses) or the somatic membrane potential were compared to a lower and an upper bound of target values and , such that values within these bounds were assigned a discrepancy of 0.0. Outside this range, the discrepancy was defined by additional bounds and . Given a specific value of the simulation , the respective discrepancy was computed as:
To compute and , the resting release rate and resting membrane potential for the background light adapted state were extracted. For the BC models, the resting membrane potential was not penalized for values between and based on reported values for mice (Ichinose et al., 2014; Ichinose and Hellmer, 2016) and rat retina (Ma et al., 2005). For the cone model, the expected resting membrane potential was more depolarized between and (Cangiano et al., 2012).
The discrepancy of the resting release rate was computed similarly. For the BC models, the lower bound tl was set to zero. As mentioned earlier, we limited our BC models to have a maximum sustainable release rate of 8 vesicles per second based on Singer and Diamond, 2006. We allowed non-zero resting release rates due to the background light and spontaneous vesicle fusion but constrained it to values lower than the maximum sustainable release rate (Kavalali, 2015; Baden et al., 2014). For the OFF-BC we chose an upper bound of 4 vesicles per second (half the maximum sustainable release rate). For the ON-BC, we chose a slightly smaller value of 3 vesicles per second. This difference was based on the observation that the ON-BC target never falls significantly below the value of the resting state, indicating that the resting release rate is probably close to zero and can therefore not become smaller. In contrast, the OFF-BC target falls below the resting value right after stimulus onset, indicating a small but non-zero resting release rate. For the cone model, we assumed a comparably high resting release rate between and vesicles per second based on the assumed higher maximum sustainable release rate and the fact that cones show steady release in darkness (Choi et al., 2005; Sheng et al., 2007).
For the penalty on implausible release changes , we computed the largest absolute difference between the resting release rate and release rates after stimulus onset. was computed analogously but for the membrane potential and the resting membrane potential :
and were then computed by using the differences and , respectively, in Equation 13. For the BC release rate, we did not penalize differences larger than vesicles per second. For the cone, we expected much larger differences between to vesicles per second due to their larger maximum sustainable release rate. For the membrane potential, we expected a difference of at least based on light step responses recorded with patch clamp in mouse BCs (Ichinose et al., 2014; Ichinose and Hellmer, 2016). Since here, the stimulus contrast was higher, we only used the reported values as lower bounds but allowed the model to have larger variation, namely up to for the OFF- and for the ON-BC. We allowed greater membrane potential variation in the OFF-BC, because it receives input from more cones.
For the discrepancy measures and , we computed the minimum and maximum of the membrane potential after stimulus onset and used again Equation 13. For , we chose for the BCs and for the cone model, and in both cases . For , we chose for the BCs and for the cone, and in both cases we set . The BC values are based on data from rat (Ma et al., 2005) and ground squirrel (Saszik and DeVries, 2012); the cone values are based on Cangiano et al., 2012.
All values for and were based on pilot simulations with the goal to distribute the penalties where they most mattered. All discrepancies (except for ) and their respective values , , and are illustrated in Figure 2 for clarity and summarized in Table 3.
Priors
The inference method SNPE is a Bayesian method and therefore it needs a prior distribution for the parameters to estimate the posterior. We chose truncated normal distributions for all priors because they allow for weighting of more plausible parameters (in contrast to e.g. uniform distributions), while they enable restrictions to plausible ranges (in contrast to e.g. normal distributions). A -dimensional truncated normal distribution is defined by a mean , a covariance matrix and a -dimensional space :
The prior means and truncation bounds were based on experimental data wherever possible (see Appendix 1—table 1 and 2), including data from rat and different cell types such as rod bipolar cells, as well as pilot simulations. For parameter inference, we normalized the parameter space such that the truncation bounds were [0, 1] in all dimensions. The diagonal entries of the prior covariance matrix were set to 0.32. Because it is difficult to find prior knowledge about the dependencies of parameters, we set all non-diagonal entries to zero. To sample from , we implemented a rejection sampler, that samples from a normal distribution with the same mean and covariance matrix and resamples all not in .
Inference algorithm
Request a detailed protocolSNPE estimates a posterior parameter distribution represented by a mixture-density network, based on sampling, that is, model evaluations for randomly drawn parameters. Inference is performed in several rounds. In every round , the algorithm draws parameters from a sampling distribution to estimate the posterior distribution , where is a summary statistic of the target data.
In the first round, parameter samples are drawn from the prior, that is, , and the multicompartment model is evaluated for all . From each simulated response, a summary statistic is computed, resulting in pairs of parameters and summary statistics . At the end of the round, a mixture-density network is trained with summary statistics as input, and the parameters of a mixture of Gaussian distribution as output. The network is trained by minimizing the loss function :
where is a kernel function with values between zero and one that weights the influence of samples on the network training. is close to one for samples with summary statistics close to the the target summary statistic and becomes smaller with increasing discrepancy between and . This means, the network tries to find parameter distributions that describe the distribution of samples for any given summary statistic . Or, in other words, the network is trained to find a mapping from summary statistics to parameter distributions. ensures that the network focuses its capacity on summary statistics close to the target summary statistic. After training the network, it can be evaluated at a summary statistic to obtain the posterior parameter distributions for the given summary statistic. Evaluating at yields an approximation of the true posterior distribution . This posterior can either be used as the sampling distribution of the next round , or—if the algorithm is stopped—as the final posterior distribution. The relative probability in Equation 16 weights samples not drawn from the prior, which ensures that Bayes’s rule is not violated. A detailed proof that this actually yields an approximation of the true posterior in the Bayesian sense can be found in Lueckmann et al., 2017.
We based our algorithm on the Python code available at https://github.com/mackelab/delfi version 0.5.1 (Macke Lab, 2020) with the following settings and modifications. We modeled as a single Gaussian, because we noticed that mixture of Gaussians almost always collapsed to a single component after a few rounds. Both, intermediate and final posteriors were truncated using the truncation bounds of the prior. The truncation was performed after network training. For every neuron model, we drew samples per round and stopped the algorithm after the fourth round. Two hundred additional samples were drawn from the posterior for further analysis. Since we wanted to use the posterior samples to simulate the effects of electrical stimulation on the BCs, the number of compartments was increased in this last step to 139 and 152 for the OFF- and ON-BC, respectively.
As summary statistics of model outputs , we used the discrepancy function (see Equation 10), which describes the discrepancy between model outputs and the target data. The target summary statistic was set to be a zero-vector , since the target should have a discrepancy of zero with respect to itself. The first dimension of , , computes the distance between the simulated and experimentally observed iGluSnFR trace. Considering the noise in the target data, observing a discrepancy of zero is virtually impossible. Therefore, evaluating the network at is based on extrapolation, that is, the mixture-density network is evaluated for an input where it was not trained on. This, as we observed during pilot experiments, often led to posterior estimates of poor quality or endless loops of resampling. So instead of evaluating the network at to obtain the posterior estimate, the network was instead evaluated at , where is the the smallest sampled during this round. This is roughly equivalent to assuming that the best strategy for extrapolation is to simply use the estimate at the boundary. For the weighting function , we used zero-centered Gaussian kernels with a bandwidth of in all dimensions but the first one. In the first dimension, that is the weighting kernel for , we also used an adaptive strategy and both, the mean and the bandwidth of the kernel, were updated in every round:
where is the 20th percentile of all sampled iGluSnFR discrepancies of the same round. was computed as the product of all scalar kernels .
Some parameter combinations caused the neuron simulation to become numerically unstable. If a simulation could not successfully terminate for this reason, the sample was ignored during training of the mixture-density network by setting the kernel weight to zero. In other cases, the BC models had a second, strongly depolarized and therefore biologically implausible equilibrium state. To test for this, we simulated a somatic voltage clamp to 30 mV for 100 ms and checked whether the membrane potential would recover to a value of −30 mV or lower within additional 300 ms. Samples not recovering to ≤ -30 mV were also ignored during training.
Data analysis of simulated traces
Request a detailed protocolThe distance function (see Equation 12) was used not only to compute the discrepancy between simulations and the respective targets but also more generally to compare different experimental and simulated iGluSnFR traces. The distance between two iGluSnFR traces and was computed as .
To quantify the timing precision of our neuron models, we estimated peak times in simulated and target iGluSnFR traces to compute pairwise peak time differences. For every peak in the simulated trace, we computed the time difference to the closest peak of the same polarity (positive or negative) in the target. We did not consider peaks between 16 s and 23 s of the stimulation for the cone and between 16 s and 21 s for the BC models, because the targets were to noisy for precise peak detection in these time windows. This resulted in approximately 35 positive and negative peak time differences per trace.
Simulation of electrical stimulation
To simulate external electrical stimulation of our BC models, we implemented a two-step procedure. In the first step, the electrical field is estimated as a function of space and time across the whole retina for a given stimulation current. By setting a position of the BC multicompartment models within the retina, the extracellular voltage for every compartment can be extracted. In the second step, the extracellular voltages are applied to the respective compartments (Figure 1C) to simulate the neural response in NeuronC. To be able to perform the first step, we estimated the electrical properties of retinal tissue first. For this, we utilized the same algorithm that was used for parameter inference of the neuron models. To validate the framework, we simulated the electrical stimulation in Corna et al., 2018 and compared experimental and simulated neural responses. Finally, we utilized the framework to find electrical stimuli for selective stimulation of OFF- and ON-bipolar cells. Details of the implementation and the experimental data are described in the following.
Computing the extracellular voltage
Request a detailed protocolWe estimated the electrical field in the retina for a given electrical stimulus with the finite-element method using the software COMSOL Multiphysics (Comsol, 2019). We modeled the photoreceptor degenerated retina as a cylinder with a radius of 2 mm and a height of 105 µm (Pennesi et al., 2012). The stimulation electrodes were modeled as flat disks on the bottom of the retina. Above the retina, an additional cylinder with the same radius and a height of 2 mm was placed to model the electrolyte. The top of this cylinder was assumed to be the return electrode. The implementation of such a model with the subdivision into finite elements is shown in Figure 3. For a single circular stimulation electrode, the model was radially symmetric and could therefore be reduced to a half cross-section as shown in Figure 3 to increase the simulation speed without altering the results. The following initial and boundary conditions were applied to the model. The initial voltage was set to zero at every point . The surface normal current density of stimulation electrodes was always spatially homogeneous and dependent on the total stimulation current and the total surface area of all electrodes :
The potential of the return electrode was kept constant . At all other boundaries, the model was assumed to be a perfect insulator . We assumed a spatially and temporally homogeneous conductivity and permittivity in both the retina and the electrolyte. The conductivity of the electrolyte was set to based on Eickenscheidt and Zeck, 2014 and its relative permittivity was assumed to be , based on the value for water. The conductivity and relative permittivity of the retina were optimized with respect to experimental target data as described below.
Target data to infer the electrical parameters of the retina
Request a detailed protocolTo estimate the electrical properties of the retina, we first recorded target data. All procedures were approved by the governmental review board (Regierungspräsidium Tübingen, Baden-Württemberg, Konrad-Adenauer-Str. 20, 72072 Tübingen, Germany, AZ 35/9185.82–7) and performed according to the laws governing animal experimentation issued by the German Government. We applied different sinusoidal stimulation voltages and recorded the evoked currents. Currents were recorded with () and without () retinal tissue placed on the micro-electrode array. In both cases, the recording chamber was filled with an electrolyte (Ames’ medium, A 1420, Sigma, Germany). A single Ag/AgCl pellet (E201ML, Science Products) was used as a reference electrode and located approximately 1 cm above a customized micro-electrode array. The electrodes, made of sputtered iridium oxide had diameters of 30 µm and center-to-center distance of 70 µm. The stimulation current was calculated from the voltage drop across a serial 10 resistor in series with the Ag/AgCl electrode (Corna et al., 2018). The voltage drop was amplified using a commercial voltage amplifier (DLPVA, Femto Messtechnik GmbH, Berlin, Germany) and recorded using the analog input (ME 2100, Multi Channel Systems MCS GmnH, Germany). Stimulation currents were measured across an ex vivo retina of a rd10 mouse (female; post-natal day 114; strain: Pde6brd10 JAX Stock No: 004297).
We applied sinusoidal voltages of 25 and 40 Hz. For 25 Hz, we applied amplitudes from 100 to 600 mV with steps of 100 mV. For 40 Hz all amplitudes were halved.
Procedure to infer the electrical parameters of the retina
Request a detailed protocolWe estimated the conductivity and relative permittivity of the retina in three steps based on the experimental voltages and the respective recorded currents and . To facilitate the following steps, we fitted sinusoids and to the slightly skewed recorded currents and used them in the following (Figure 8C). To fit the sinusoids, we minimized the mean squared error between recorded currents and idealized sinusoidal currents of the same frequency f, resulting in estimates of the phase and the amplitude of the currents:
During parameter inference, we only used two voltage amplitudes per frequency, resulting in four voltage and eight current traces. The other amplitudes were used for model validation. First, we estimated the electrical properties of the electrode. Here, ‘electrode’ is meant to include the electrical double layer and all parasitic resistances and capacitances in the electrical circuit. We simulated the voltage across the electrolyte without retinal tissue by applying the currents as stimuli (Figure 8Ai). Since this setup does not contain anything besides the electrolyte and the electrode, the difference between the experimental stimulus , which was applied to record , and the simulated voltage was assumed to have dropped over the electrode:
Based on that assumption, we could estimate the electrical properties of the electrode. We modeled the electrode as a RC parallel circuit (Figure 8Aii). Having both, sinusoidal voltages () over and the respective sinusoidal currents () through the electrode, we analytically computed the values for and as follows. We assumed and to be dependent on and therefore to be dependent on the stimulus frequency and amplitude. From the data we derived the phase and amplitude of the impedance formed by the RC circuit. For every , we estimated and using Equation 19. and were then computed as:
Then, knowing the frequency f, and are sufficient to compute and :
With the estimated values of the RC circuit, we created a model with only two unknowns, the conductivity and the relative permittivity of the retina (Figure 8Aiii). To estimate the unknown parameters of this model, we used the same inference algorithm as for the neuron models but with a different discrepancy function. Here, the discrepancy for a stimulus was computed as the mean squared error between the respective experimental current (now with retinal tissue) and the simulated current :
The total discrepancy was computed as the sum of all discrepancies for the four different stimuli that were used. To cover a wider range of possible parameters, we first estimated the parameters in a logarithmic space by sampling the exponents and of the parameters:
We used normal distributions (without truncation) as priors for and and set the means to 1.0 and the standard deviations to 2.0. After three rounds with 50 samples each, we computed the minimum (, ), maximum (, ) and mean (, ) for both parameters and from the 10% best samples. Then, we then ran the parameter inference algorithm again, but now in a linear parameter space around the best samples observed in the logarithmic space. For the priors of and , we used truncated normal priors bound to and with means and , respectively. As for the cell parameter inference, we normalized the parameter space to values between in [0, 1]. The diagonal entries of the prior covariance matrix were set to 0.32, with non-diagonal entries of zero. The parameters resulting in the lowest sampled discrepancy during optimization are referred to as the optimized parameters and were used to simulate the neural responses to electrical stimulation.
Simulation of the neural response to electrical stimulation
Request a detailed protocolWith the optimized parameters for the electrical properties of the retina, we were able to compute the BC responses for any given stimulation current. Note that for this, we used the model illustrated in Figure 3 as described earlier but with the optimized parameters for and . To simulate the neural response, we first used the stimulation current to simulate the extracellular voltage over time within the retina. After defining the relative position of the multicompartment model with respect to the retinal cylinder, we extracted the extracellular voltage for each compartment at its the central position (Figure 3C). Finally, these extracellular voltages were applied to the compartment models in NeuronC to simulate their response (Figure 1C). To estimate the uncertainty of the BC responses to electrical stimulation, we simulated different cell parametrizations in every stimulation setting. For this, we used the five best posterior samples, that is, the five (out of 200) samples with the smallest , for both BC models. In all simulations, we modeled subretinal stimulation of photoreceptor degenerated retina (Zrenner, 2002). For this, we removed all cone input from the BCs and virtually placed the multicompartment models in the retinal cylinder such that the dendrites were facing towards the electrode. The z-position of BC somata, that is, the distance to the bottom of the retinal cylinder, was set to 30 µm.
Model validation
Request a detailed protocolTo validate the model for electrical stimulation, we compared simulated BC responses to experimentally recorded retinal ganglion cell (RGC) thresholds to 4 ms biphasic current pulses reported in Corna et al., 2018. In this study, the RGC thresholds were recorded epiretinally under subretinal stimulation of photoreceptor degenerated (rd10) mouse retina using a micro-electrode array (Figure 3A). The stimulation threshold was defined as the charge delivered during the anodic stimulation phase evoking 50% of the firing rate of a specific RGC. On the micro-electrode array. The 30 µm diameter electrodes were arranged on a regular grid with a center-center spacing of 70 µm. The RGC thresholds were measured for different numbers of × active electrodes.
We simulated the electrical field in the retina for the configurations with 1×1, 2×2, 4×4 and 10×10 active electrodes using the respective currents from the experimental data. The electrodes were centered with respect to the retina. For every stimulation current, we simulated the response of the OFF- and ON-BC at six xy-positions with distances from 0 to 500 µm relative to the center. Simulation temperature was set to 33.5°C to match experimental conditions. For every 40 ms simulation, we computed the mean number of vesicles released per synapse.
Optimizing electrical stimulation to separately activate ON- and OFF-BCs
Request a detailed protocolTo find stimuli for selective stimulation of ON- and OFF-BCs, we simulated the response of the BC models to different electrical stimuli. For this, we used a single 30 µm diameter electrode and centered the dendrites of the simulated BCs above this electrode. To find stimuli that stimulate the OFF-BC without stimulating the ON-BC or vice versa, we utilized the same algorithm used for estimating the BC parameters. Here, the inference algorithm was used to estimate parameters of a 40 ms stimulation current parametrized by four free parameters . The current was defined as a cubic spline fit through the knot vector spaced equidistantly in time between zero and 40 ms, where is chosen such that the stimulus is charge neutral (i.e. the integral over the current is zero). For all stimuli, the maximum stimulus amplitude was normalized to 0.5 µA. An illustration is shown in Figure 10.
Here, the priors over were Gaussian with zero means and standard deviations of 0.3. For every sampled stimulus , we simulated the response of the BCs for starting with the stimulus onset. For parameter estimation, we defined the discrepancy measure as the ratio between the relative release of the OFF- and ON-BC which was defined as:
where is the evoked mean release and is the base release rate in the absence of electrical stimulation; that is, the numerator is equal to the number of released vesicles (as a mean over all synapses) caused by the stimulation. The denominator is equal to the theoretical maximum of releasable vesicles per synapse (see Equation 9). was computed as:
We ran the parameter inference twice (each with one round only), once with the ON- and once with the OFF-BC as target. We drew 400 samples from the prior that were reused for the second run of inference, and 100 more samples from the posterior. Here, the posteriors were two-component mixture of Gaussians without truncation.
Code and data availability
Request a detailed protocolModels and simulation code is available at https://github.com/berenslab/CBC_inference (Oesterle, 2020; copy archived at swh:1:rev:2b8ec4ac0ca916d42cba0404229298f8ff79c3a3). Experimental and inference data is available at https://zenodo.org/record/4185955.
Results
We used a high-resolution electronmicroscopy data set (Helmstaedter et al., 2013) to create biophysically realistic multicompartment models of three neuron types from the mouse retina including cones, an OFF- and an ON-bipolar cell (BC) type. These neurons form the very beginning of the visual pathway, with cones converting light into electrochemical signals and providing input via sign-preserving and -reversing synapses to OFF- and ON-BCs, respectively. The parameters of these models include the basic electrical properties of the cells as well as the density of different ion channel types in different compartments. Given a set of parameters, simulations from the model can easily be generated; however, it is not possible to evaluate the likelihood for a given set of parameters, which would be required for standard Bayesian inference procedures for example through MCMC.
To overcome the challenge of choosing the resulting 20 to 32 parameters of these models, we adapted a recently developed technique called Sequential Neural Posterior Estimation (SNPE) (Lueckmann et al., 2017) (for details, see Materials and methods). Starting from prior assumptions about the parameters, the algorithm compared the result of simulations from the model to data obtained by two-photon imaging of the glutamate release from the neurons (Franke et al., 2017) and measured a discrepancy value between the simulation and the data. Based on this information, the algorithm used a neural network to iteratively find a distribution over parameters consistent with the measured data. This yielded optimized biophysically realistic models for the considered neuron types.
Inference of cone parameters
We first estimated the posterior distribution over the parameters of a cone based on the glutamate release of a cone stimulated with a full-field chirp light stimulus, consisting of changes in brightness, temporal frequency, and temporal contrast (Figure 4A and Figure 5). The cone model had a simplified morphology and consisted of four compartments (Figure 1, see Materials and methods). We included a number of ion channels in the model reported to exist in the cones of mice or closely related species (see Table 1). Prior distributions were chosen based on the literature. For inference, we drew 2000 samples of different parameter settings per round and stopped the algorithm after the fourth round. Then, 200 more parameter samples were drawn from the respective posteriors for further analysis. The chosen discrepancy functions penalized discrepancies between the target and simulated iGluSnFR trace , implausible membrane potentials, and implausible release rates. To compare different model fits, the discrepancy measures were added to yield a total discrepancy . We found that the total discrepancy of the cone model was relatively high for most samples drawn from the prior but decreased over four rounds of sampling (Figure 4A). The discrepancy measuring the fit quality to the glutamate recording was already relatively small in the first round for most, but not all samples. In the following rounds, the number of samples with large was strongly reduced (Figure 4A).
The parameter setting with lowest discrepancy () modeled accurately the response of the cone to full-field stimulation with the chirp light stimulus (Figure 5). The simulated iGluSnFR signal nicely matched the data both on a coarse timescale and in the millisecond regime (Figure 5D). Indeed, for this sample, all discrepancies besides were zero or almost zero () and most of the remaining discrepancy could be attributed to the noisy target data.
As our inference algorithm returned not only a single best set of parameters, but also a posterior distribution, we could obtain additional parameter samples from the model which should produce simulations consistent with the data. Almost all samples from the posterior yielded simulations that matched the target data well (median : 0.12) and the overall total discrepancy was small (median : 0.21). Besides the discrepancy between the experimental and simulated glutamate trace , most of the remaining discrepancy in the posterior samples was caused by rate variation (mean : 0.18) and resting rates (mean : 0.14) that were too low in some of the models. While in principle we could propagate the remaining uncertainty about the model parameters provided by the posterior to the inference about BC models, we used only the parameter set with the smallest total discrepancy for efficiency and refer to this as the optimized cone model. To analyze the role of active ion channels, we removed ion channels individually (except for the channel with is necessary to simulate the vesicle release) from the optimized cone and simulated the light response (Figure 5—figure supplement 2). We found that the HCN channel contributed most, while the contribution of was negligible. Since did not alter the light response for both, the cone and BC light stimulus, we removed it in the following steps for computational efficiency.
Inference of bipolar cell parameters
We next turned to anatomically detailed multicompartment models of two BC types. We chose to model type 3a and type 5o because these were the OFF- and ON-CBC types for which we could gather most prior information from the literature. The anatomy of the cells was extracted from a 3D reconstruction of examples of these cell types based on electron microscopy data (Helmstaedter et al., 2013) and divided into regions sharing ion channel parameters (Figure 1). As for the cone model, the channels included in the model and the prior distributions were chosen based on the literature (see Table 1). This yielded 32 and 27 free parameters for the OFF- and ON-BC, respectively.
We fitted the BC type models to published two-photon glutamate imaging data reflecting the glutamate release from the BC axon terminals (Franke et al., 2017). In this case, we used responses to a local chirp light stimulus activating largely the excitatory center of the cells. In addition, the responses were measured in the presence of the drug strychnine to block locally acting inhibitory feedback through small-field amacrine cells (Franke et al., 2017) (see Materials and methods for details). Similar to what we observed in cones, the total discrepancy for parameter sets sampled for the OFF- and ON-BC model decreased over the four rounds of optimization (Figure 4B and C). In contrast to the the cone model, the discrepancy measure penalizing deviations from the glutamate trace was relatively large for prior samples and declined approximately equally fast as the total discrepancy .
We found that simulations generated with the parameter set with minimal total discrepancy or parameters sampled from the posterior matched the target traces very well for both OFF- and ON-BC models (Figure 6). For these parameters, the cells were relatively ispotential units throughout the light stimulus (Figure 6—figure supplement 1 and Figure 6—figure supplement 2) with a larger voltage gradients from dendrites to the axon in the ON-BC. The optimized BC models, that is the BC samples with the lowest total discrepancies , had discrepancies of zero except for the iGluSnFR discrepancy . To get a more quantitative impression of the quality of the model fits, we compared the pairwise iGluSnFR discrepancies between the optimized BC models, the experimentally measured response traces as used during optimization, traces recorded from the same cell type without application of strychnine and responses of another OFF- and ON-BC. For both optimized cell model outputs, the discrepancy was smallest for the targets used during optimization. This shows that the optimized models were able to reproduce cell-type specific details in light response properties that go beyond the simple distinction of ON and OFF responses. While the discrepancies between traces of different ON-BC types were overall relatively small for local stimulation (Franke et al., 2017), the discrepancies between traces from OFF cells were larger likely due to network modulation of the target cell type by amacrine cells (indicated by the difference between the target and the no-drug condition) and larger response differences between the two compared OFF-BC types. The posterior samples of both BC models had a low discrepancy, except for a few samples (median : 0.29 and 0.26 of the OFF- and ON-BC, respectively). The only discrepancy measure with a non-zero median of the absolute values was , which also accounts for 88% and 82% of the mean total discrepancy for the OFF- and ON-BC respectively.
Despite the overall high resemblance between optimized model outputs and targets, there were some visible systematic differences. For the ON-BC, the target showed a skewed sinusoidal response with faster rise than fall times during the frequency and amplitude increasing sinusoidal light stimulation between 10 s and 18 s and between 20 s and 27 s respectively. In contrast, the optimized model output showed approximately equal rise and fall times, resulting in a systematic delay of positive and negative peaks (median delay of all peaks: 15.6 ms) in the simulated iGluSnFR trace relative to the target (Figure 6G). Additionally, some of the positive peaks of the optimized ON-BC model during sinusoidal light stimulation were too small (e.g. at 11.5 s). This effect might have been a side-effect of the peak timing difference between target and model: Amplitude increases were inefficient in reducing the discrepancy as long as the peaks were not precisely aligned. In contrast, the peak time precision of the OFF-BC model (Figure 6D) was much higher (median delay of all peaks: 0.0 ms). In this case, the main difficulty for the model appeared to be its inability to reproduce the non-linearity in the cell response to the increasing amplitude sinusoidal light stimulation between 20 s and 27 s.
After having verified that the posterior over parameters provided a good fit to the experimental data, we inspected the one-dimensional marginal distributions to learn more about the resulting cellular models (Figure 7). For most parameters, the marginal posteriors had smaller variances than the priors, indicating that the parameter bounds were not chosen too narrow. For some parameters, the posterior mean differed substantially from the prior mean (e.g. the channel density at the axon terminal of OFF-BC) while it was largely unchanged for others (e.g. the channel density at the soma for the OFF-BC). The algorithm also inferred the dependencies of some parameters, visible in the two-dimensional marginals (Figure 7—figure supplement 1 and Figure 7—figure supplement 2). Because of these correlations, the full posterior in the high-dimensional parameter space led to simulations which were on average better (median: 0.29 vs. 0.31 and 0.26 vs. 0.33 for the OFF- and ON-BC, respectively) and less variable in their quality (95%-CIs: 0.53 vs. 1.01 and 0.64 vs. 1.42 for the OFF- and ON-BC, respectively) than parameters drawn from a posterior obtained by assuming independent marginal distributions. In most cases, the parameters resulting in the lowest total discrepancy were close to the means of the respective posteriors. For some parameters there was a strong difference between the marginal posteriors of the OFF- and ON-BC. For example, the two parameters controlling the leak conductance, and , were much lower for the OFF-BC consistent with the strong variation of membrane resistances reported in Oltedal et al., 2009. The membrane conductance was lower for the ON-BC, which could increase signal transduction speed in the longer axon. Even though the posteriors were narrower than the priors, they still covered a wide range of different parameters. To some extent, this may reflect the fact that we fit the model parameters solely on the cells output, and for example dendritic parameters may be underconstrained by such data; in addition, it may also reflect variability between cells of the same type seen in the experimental data that has also been reported in other studies (Franke et al., 2017).
After the fourth optimization round, 200 samples were drawn from the posterior distribution with an increased number of compartments to find model parameters to simulate electrical stimulation (see Methods). For comparison, we also ran simulations with the same parameters but the original number of compartments (data not shown). Interestingly, more than 85% of the samples had a lower discrepancy if the models were simulated with more compartments for both BCs. For the best 20% (i.e. 40 samples) of the posterior samples (sorted with respect to samples with fewer compartments), the samples with more compartments had lower discrepancies with only one exception per cell. This indicates that, given enough computational power, the same parameter inference approach but with more compartments could further improve the model outputs. From these samples, we used the five samples with the smallest total discrepancies for the simulation of electrical stimulation.
Additionally, we used these five samples to analyze the effect of active ion conductances on the light response by removing individual ion channels types from the BCs (Figure 6—figure supplement 3 and Figure 6—figure supplement 4). Similar to the optimized cone model, the HCN channels played the most important role in shaping the light response. For both cells, the and somatic calcium channels barely had any influence on the membrane voltage or the vesicle release rate.
Simulating electrical stimulation of the retina
To provide an exemplary use-case for our data-driven biophysical models of retinal neurons, we asked whether we could use our simulation framework to optimize the stimulation strategy for retinal neuroprosthetic implants. These implants have been developed for patients who lose sight due to degeneration of their photoreceptors (Zrenner, 2002). While existing implants have been reported to provide basic vision (Zrenner, 2002; Edwards et al., 2018; Luo and da Cruz, 2016), they are far from perfect. For example, most current stimulation strategies likely activate OFF- and ON-pathways at the same time (Barriga-Rivera et al., 2017). To this end, we created a simulation framework for subretinal electrical stimulation of retinal tissue with micro-electrode arrays. We estimated the conductivity and relative permittivity of the retina based on experimentally measured currents evoked by sinusoidal voltages and then validated simulations of the electrical stimulation of our fitted BC models with standard pulse like stimuli against responses measured in RGCs (Corna et al., 2018). Finally, we used the simulation framework to find stimuli that can separately stimulate OFF- and ON-BCs.
Our framework for simulating the effect of external electrical stimulation using the inferred BC models consisted of two steps: we first estimated the electrical field resulting from a stimulation protocol as a function of space and time across the whole retina (Figure 3). The corresponding extracellular voltages were then applied to the respective compartments to simulate the neural response. To do so, we needed a model of the electrical properties of the electrode and the retinal tissue. We assumed disk electrodes and a simplified model assuming homogeneous electrical properties of the retina and the surrounding medium (see Materials and methods). This model contained two free parameters that needed to be estimated from data: the conductivity and relative permittivity of the retinal tissue.
To estimate these parameters we recorded electrical currents resulting from sinusoidal voltage stimulation with different frequencies in a dish with and without a retina (Figure 8B,C). We used the data without a retina to estimate the properties of the stimulation electrode (Figure 8A,D,E and Materials and methods). Based on the estimates of the electrode properties and the data recorded with a retina, we estimated the conductivity and relative permittivity of the retina with the same parameter inference method as for the neuron models.
We found that both parameters are very well constrained by the measured data (Figure 8F). The parameters resulting in the lowest discrepancy were and in accordance with the conductivity of reported for rabbit Eickenscheidt et al., 2012 and the relative permittivity of gray matter estimated in Gabriel et al., 1996. With these parameters, we simulated currents for all stimulus amplitudes we recorded experimentally. The simulated and experimental currents matched for the amplitudes used during parameter inference but also for amplitudes reserved for model validation (Figure 8G). Therefore, we used them in all following experiments.
To validate our simulation framework, we compared simulated BC responses to experimentally measured RGC thresholds (Corna et al., 2018). We simulated BCs at different positions for four different electrode configurations (Figure 9A) and nine stimulation current wave forms (Figure 9B). For small stimulus charge densities, the BCs barely responded, whereas for very high charge densities the cells released all glutamate vesicles available in the readily release pool (Figure 9C and D). In between, the response increased from no response to saturation, dependent on the distances of the simulated cell to the active electrodes. Across stimulation conditions, these threshold regions coincide with the measured RGC thresholds to the same stimulation, when assuming that the stimulated RGCs were not too far away from the stimulation electrode. Since the reported RGC thresholds likely result from indirect stimulation via BCs, the consistency between the RGC and simulated BC thresholds can be interpreted as evidence that our model was well calibrated to simulate electrical stimulation.
Optimized electrical stimulation for selective OFF- and ON-BC stimulation
We finally used our framework for electrical stimulation to find stimuli that excite OFF- or ON-BCs selectively. To this end, we performed Bayesian inference over an electrical charge-neutral stimulus (Figure 10A) with the SNPE algorithm, using the response ratio between the two BC types (Figure 10B) as a discrepancy function to minimize. Using this procedure, we found that triphasic, anodic first stimuli with a cathodic middle phase of high amplitude (Figure 10C) evoked substantial neurotransmitter release in the OFF-BC (Figure 10Di) while evoking almost no response in the ON-BC (Figure 10Dii). The stimuli optimized to target the ON-BC were biphasic, with no clear preference for anodic or cathodic first currents (Figure 10E). In contrast to the stimuli optimized for the OFF-BC, these stimuli did not exclusively stimulate the targeted ON-BC (Figure 10Fii) but also the OFF-BC (Figure 10Fi). We did not find stimuli evoking stronger release (defined as in Equation 24) in the ON-BC than the OFF-BC. This lower threshold of the OFF-BC, which we also observed for the biphasic current pulses (Figure 9), was partially caused by the shorter axon of the OFF-BC resulting in slightly larger changes of the extracellular voltage at the axon terminals during stimulation (Figure 10—figure supplement 1A,B). While the morphologies and ion channel distributions contributed to differences in the membrane voltage at the axon terminals (Figure 10—figure supplement 1C), the decisive factor for differences in the OFF and ON response presumably lies in the presence or absence of channels at the axon terminals. Removing these channels from the OFF-BC had almost no effect on the membrane voltage, but resulted in qualitatively similar responses for both cell types (Figure 10—figure supplement 1D,E). Removing the channels at the axon terminals on the other hand, left the OFF response for the triphasic and biphasic cathodic first stimuli largely unchanged (Figure 10—figure supplement 1F).
Discussion
In this study, we showed how the recently developed Bayesian likelihood-free parameter inference method called Sequential Neural Posterior Estimation (SNPE) (Lueckmann et al., 2017) can be used to estimate the parameters of multicompartment models of retinal neurons based on light-response measurements. In addition, we built a model for electrical stimulation of the retina, and optimized electrical stimulation protocols for retinal neuroprosthetic devices designed to support vision in the blind.
Performing Bayesian inference for mechanistic models is difficult, as they typically do not come with an analytical solution of the likelihood function. The SNPE algorithm — like many approximate Bayesian computation (ABC) methods (Sisson et al., 2018) — does not require such an analytical formulation, as it builds on simulations of the model. In contrast to standard ABC methods, the SNPE algorithm makes efficient use of simulation time by using all simulated data to train a mixture density network to update the parameter distributions (Lueckmann et al., 2017; Gonçalves et al., 2020). Moreover, SNPE makes minimal assumptions about the simulator, giving full flexibility to use it with different simulation environments and software. As all Bayesian methods, SNPE allows the incorporation of literature knowledge in the form of priors which can be used to constrain parameters and to put more weight on more plausible parameters. Finally, it does not only yield a point-estimate of the best parameters — like exhaustive grid-search techniques (Goldman et al., 2001; Prinz et al., 2003; Stringer et al., 2016) or evolutionary algorithms (Gerken et al., 2006; Keren et al., 2005; Achard and De Schutter, 2006; Rossant et al., 2011) — but also returns a posterior distribution that reflects remaining parameter uncertainties and allows one to detect dependencies between parameters.
Recently, there has been a surge of interest in Bayesian simulator-based inference with many recently published algorithms (Gutmann and Corander, 2016; Papamakarios and Murray, 2016; Lueckmann et al., 2017; Lintusaari et al., 2017; Papamakarios et al., 2018; Wood, 2010; Durkan et al., 2018; Sisson et al., 2018; Gonçalves et al., 2020; Bittner et al., 2019). While we initially evaluated different algorithms, we did not perform a systematic comparison or benchmarking effort, which is beyond the scope of this project. Much of the literature on simulator-based inference evaluates the proposed algorithms on fairly simple models. In contrast, we used SNPE here to perform parameter inference of comparatively complex multicompartment models of neurons. Importantly, we did not need targeted experiments to constrain these models, but based our framework on two-photon imaging data of glutamate release in response to simple light stimuli using a genetically encoded indicator called iGluSnFR (Marvin et al., 2013; Franke et al., 2017). This methods allows direct experimental access to the neurotransmitter release of all excitatory neurons of the retina (Euler et al., 2019). Using this data, we inferred the distributions of model parameters relevant for all the intermediate steps between light stimulation of cones to the glutamate release from synaptic ribbons. While we optimized many parameters in the models using SNPE, we chose to keep some parameters on sensible default values to avoid issues with computational complexity. Of course, it is possible that optimization of the full parameter space would have yielded slightly better results or that some parameters would have been set to slightly different values, as a mechanism whose parameter was allowed to vary compensated for the one whose parameter was held fixed. As an alternative to our approach, one can combine classical systems identification approaches with inference for only some of the biophysical mechanisms such as the ribbon synapse (Schröder et al., 2019). Our approach, however, allows the exploration of mechanisms within neurons which are not or only barely experimentally accessible. For example, in BCs, it is currently difficult to obtain direct voltage measurements from any part of the cell but the soma. If one is interested in how the electrical signal propagates through the axon or the axon terminal, our simulations may help to obtain mechanistic insights and develop causal hypotheses.
Because our inference framework works with experimental measurements which can be performed in a high-throughput manner, it allows for a comparably easy scaling to infer model parameters of a larger number of multicompartment models e.g. of different neuron types. In principle it could even be possible to infer the parameters of a neuron by imaging another neuron. For example, one could attempt to infer parameters of an amacrine cell by observing the neurotransmitter release of a connected BC — although such an indirect inference would likely result in larger uncertainties. Ideally, such a large-scale approach would also include realistic morphologies, for example from electron microscopy as shown here. In fact, BCs are anatomically relatively ‘simple’ neurons, and it will be interesting to test our inference methods on neurons with more complicated structure such as some amacrine cells (Masland, 2012). While we did not aim at an exhaustive analysis of the effect of morphology on the neuron responses, one could easily explore how details of the morphology influence the distribution of optimal biophysical parameters. Further, we extended our model to simulate and optimize external electrical stimulation of the retina. For blind patients suffering from photoreceptor degeneration, for example caused by diseases like Retinitis Pigmentosa, neuroprosthetic devices electrically stimulating remaining retinal neurons can restore basic visual abilities (Edwards et al., 2018; Luo and da Cruz, 2016). The spatial and temporal resolution of such retinal implants is, however, still very limited (Weitz et al., 2015) with the highest reported restored visual acuity of 20/546 (Chuang et al., 2014). While many experimental studies have explored different strategies of stimulation (Jensen et al., 2005; Jensen and Rizzo, 2008; Tsai et al., 2009; Eickenscheidt et al., 2012), most of them are restricted to very specific stimulus types such as current or voltages pulses. As a consequence, retinal implants are not able to specifically target cell types such as the independent stimulation of the ON and OFF pathways of the retina (Lee and Im, 2019; Barriga-Rivera et al., 2017; Twyford et al., 2014). To facilitate a systematic stimulus optimization in silico, we developed a simulation framework for electrical stimulation of the retina. While the idea to simulate responses of BCs to electrical stimuli is not new, previous studies restricted their models to point/ball source electrodes (Resatz and Rattay, 2004; Rattay et al., 2017), simplified BCs to passive cables (Gerhardt et al., 2010) or used simplified BC models that only express L- or T-type channels (Werginz et al., 2015). Our framework combines the simulation of micro-electrode arrays used in neuroprosthetic devices (Edwards et al., 2018; Luo and da Cruz, 2016) with detailed models of an OFF- and ON-BC. This allowed us to test a large number of stimulus waveforms, optimizing for stimuli selectively targeting either OFF- or ON-BCs, which could help to better encode visual scenes into electrical signals of retinal implants. We found stimuli selectively targeting the OFF-BC without stimulating the ON-BC, but not vice versa. Likely, the main reason for the differential response of the two BC types was that only the OFF-BC had T-type calcium channels at the axon terminals. These channels were more sensitive to transient changes in the membrane voltage which were evoked by the stimuli optimized to selectively target the OFF-BC. The ON-BC, having no T-type calcium channels and an overall higher threshold, did not respond to these stimuli. However, it could be stimulated with longer anodic stimulus phases activating the L-type calcium channels. Since we modeled the cells in isolation, network effects through synaptic activation of amacrine cells might further modulate the activity of the BCs. However, the neurites and somata of amacrine cells are substantially farther away from the stimulation electrode than those of the BCs, and these effects might be comparably small. That notwithstanding, simulations including network effects and also more diverse BC types will be required in the future. Ideally, in silico optimized stimulation strategies would be first verified in ex vivo experiments before implementing them in neuroprosthetic devices to improve the quality of visual impressions.
To be able to simulate the electrical stimulation of the retina, we first inferred the conductivity and relative permittivity of the rd10 retina based on recorded currents evoked by sinusoidal stimulation voltages. While the estimated conductivity () is consistent with the value () reported in Eickenscheidt et al., 2012, also smaller (, Karwoski and Xu, 1999) and larger (≈, Wang and Weiland, 2015) conductivities have been reported for the retina. These differences may be due to different ways in tissue handling and preparation. Comparing the estimated values of the relative permittivity () to the literature is more difficult, and most simulation studies choose to ignore its effects. The relative permittivity of retinal tissue has been reported for very high frequencies (10 MHz to 10 GHz), but the strong frequency dependence makes a direct comparison to frequencies several orders of magnitude smaller (e.g. 40 Hz) not meaningful. Additionally, data from gray matter suggest a relative permittivity of 1.5 × 107 at 40 Hz very close to our estimate (Gabriel et al., 1996). This opens the question weather the common assumption to ignore the effects of the relative permittivity in other simulations (Gerhardt et al., 2010; Werginz et al., 2015; Rattay et al., 2017) is valid.
In summary, mechanistic models in neuroscience such as biophysically realistic multicompartment models have long been regarded as requiring many manual parameter choices or highly specific experiments to constrain them. We showed here how relatively standard, high-throughput imaging data in combination with likelihood-free inference techniques can be used to perform Bayesian inference on such models, allowing unprecedented possibilities for efficient optimization and analysis of such models. Importantly, this allow us to understand which parameters in such models are well constrained, and which are not, and determine which parameter combinations lead to similar simulation outcomes (Gonçalves et al., 2020; Alonso and Marder, 2019) — questions that have hindered progress in the field for years.
Appendix 1
Cone prior parameters
BC prior parameters
NeuronC parameters
Data availability
Models and simulation code is available at https://github.com/berenslab/CBC_inference (copy archived at https://archive.softwareheritage.org/swh:1:rev:2b8ec4ac0ca916d42cba0404229298f8ff79c3a3/). Experimental and inference data is available at https://zenodo.org/record/4185955.
-
ZenodoData for "Bayesian inference for biophysical neuron models enables stimulus optimization for retinal neuroprosthetics".https://doi.org/10.5281/zenodo.4185955
References
-
Complex parameter landscape for a complex neuron modelPLOS Computational Biology 2:e94.https://doi.org/10.1371/journal.pcbi.0020094
-
Integrated allosteric model of voltage gating of HCN channelsJournal of General Physiology 117:519–532.https://doi.org/10.1085/jgp.117.6.519
-
Spikes and ribbon synapses in early visionTrends in Neurosciences 36:480–488.https://doi.org/10.1016/j.tins.2013.04.006
-
Vesicle pool size at the salamander cone ribbon synapseJournal of Neurophysiology 103:419–423.https://doi.org/10.1152/jn.00718.2009
-
The unitary event amplitude of mouse retinal on-cone bipolar cellsVisual Neuroscience 20:621–626.https://doi.org/10.1017/S0952523803206040
-
The photovoltage of rods and cones in the dark-adapted mouse retinaThe Journal of Physiology 590:3841–3855.https://doi.org/10.1113/jphysiol.2011.226878
-
Rods and cones in the mouse retina. I. structural analysis using light and electron microscopyThe Journal of Comparative Neurology 188:245–262.https://doi.org/10.1002/cne.901880204
-
Retinal implants: a systematic reviewBritish Journal of Ophthalmology 98:852–856.https://doi.org/10.1136/bjophthalmol-2013-303708
-
Electrode-size dependent thresholds in subretinal neuroprosthetic stimulationJournal of Neural Engineering 15:045003.https://doi.org/10.1088/1741-2552/aac1c8
-
Inwardly rectifying potassium conductance can accelerate the hyperpolarizing response in retinal horizontal cellsJournal of Neurophysiology 74:2258–2265.https://doi.org/10.1152/jn.1995.74.6.2258
-
Electrical stimulation of retinal neurons in epiretinal and subretinal configuration using a multicapacitor arrayJournal of Neurophysiology 107:2742–2755.https://doi.org/10.1152/jn.00909.2011
-
BookStudying a light sensor with light: multiphoton imaging in the retinaIn: Hartveit E, editors. Multiphoton Microscopy. Springer. pp. 225–250.https://doi.org/10.1007/978-1-4939-9702-2_10
-
Impulse encoding mechanisms of ganglion cells in the tiger salamander retinaJournal of Neurophysiology 78:1935–1947.https://doi.org/10.1152/jn.1997.78.4.1935
-
The dielectric properties of biological tissues: iii. Parametric models for the dielectric spectrum of tissuesPhysics in Medicine and Biology 41:2271–2293.https://doi.org/10.1088/0031-9155/41/11/003
-
ConferenceElectric field stimulation of bipolar cells in a degenerated retina--a theoretical studyIEEE Transactions on Neural Systems and Rehabilitation Engineering. pp. 1–10.https://doi.org/10.1109/TNSRE.2009.2037323
-
BookSpiking Neuron Models: Single Neurons, Populations, PlasticityCambridge university press.https://doi.org/10.1017/CBO9780511815706
-
Dichotomy of action-potential backpropagation in CA1 pyramidal neuron dendritesJournal of Neurophysiology 86:2998–3010.https://doi.org/10.1152/jn.2001.86.6.2998
-
Global structure, robustness, and modulation of neuronal modelsThe Journal of Neuroscience 21:5229–5238.https://doi.org/10.1523/JNEUROSCI.21-14-05229.2001
-
Bayesian optimization for likelihood-free inference of simulator-based statistical modelsThe Journal of Machine Learning Research 17:4256–4302.
-
Gating of recombinant small-conductance Ca-activated K+ channels by calciumJournal of General Physiology 111:565–581.https://doi.org/10.1085/jgp.111.4.565
-
Roles of ON cone bipolar cell subtypes in temporal coding in the mouse retinaJournal of Neuroscience 34:8761–8771.https://doi.org/10.1523/JNEUROSCI.3965-13.2014
-
Differential signalling and glutamate receptor compositions in the OFF bipolar cell types in the mouse retinaThe Journal of Physiology 594:883–894.https://doi.org/10.1113/JP271458
-
Membrane conductances of mouse cone photoreceptorsJournal of General Physiology 152:e201912520.https://doi.org/10.1085/jgp.201912520
-
Retinal bipolar cell types differ in their inventory of ion channelsVisual Neuroscience 23:143–154.https://doi.org/10.1017/S0952523806232048
-
Thresholds for activation of rabbit retinal ganglion cells with relatively large, extracellular microelectrodesInvestigative Opthalmology & Visual Science 46:1486–1496.https://doi.org/10.1167/iovs.04-1018
-
Calcium channels in solitary retinal ganglion cells from post-natal ratThe Journal of Physiology 418:379–396.https://doi.org/10.1113/jphysiol.1989.sp017847
-
The mechanisms and functions of spontaneous neurotransmitter releaseNature Reviews Neuroscience 16:5–16.https://doi.org/10.1038/nrn3875
-
Constraining compartmental models using multiple voltage recordings and genetic algorithmsJournal of Neurophysiology 94:3730–3742.https://doi.org/10.1152/jn.00408.2005
-
Light responses in the mouse retina are prolonged upon targeted deletion of the HCN1 channel geneEuropean Journal of Neuroscience 28:2221–2230.https://doi.org/10.1111/j.1460-9568.2008.06512.x
-
BookBiophysics of Computation: Information Processing in Single NeuronsOxford University Press.
-
Ribbon synapses and visual processing in the retinaAnnual Review of Vision Science 1:235–262.https://doi.org/10.1146/annurev-vision-082114-035709
-
Availability of low-threshold Ca2+ current in retinal ganglion cellsJournal of Neurophysiology 90:3888–3901.https://doi.org/10.1152/jn.00477.2003
-
Optimal electric stimulus amplitude improves the selectivity between responses of ON versus OFF types of retinal ganglion cellsIEEE Transactions on Neural Systems and Rehabilitation Engineering 27:2015–2024.https://doi.org/10.1109/TNSRE.2019.2939012
-
Fundamentals and recent developments in approximate bayesian computationSystematic Biology 66:e66–e82.https://doi.org/10.1093/sysbio/syw077
-
ConferenceFlexible statistical inference for mechanistic models of neural dynamicsAdvances in Neural Information Processing Systems. pp. 1289–1299.
-
The argus II retinal prosthesis systemProgress in Retinal and Eye Research 50:89–107.https://doi.org/10.1016/j.preteyeres.2015.09.003
-
The diverse roles of ribbon synapses in sensory neurotransmissionNature Reviews Neuroscience 11:812–822.https://doi.org/10.1038/nrn2924
-
Calcium extrusion from mammalian photoreceptor terminalsThe Journal of Neuroscience 18:2467–2474.https://doi.org/10.1523/JNEUROSCI.18-07-02467.1998
-
Photoreceptor calcium channels: insight from night blindnessVisual Neuroscience 22:561–568.https://doi.org/10.1017/S0952523805225038
-
HCN channels are expressed differentially in retinal bipolar cells and concentrated at synaptic terminalsEuropean Journal of Neuroscience 17:2084–2096.https://doi.org/10.1046/j.1460-9568.2003.02634.x
-
Neuromantic - from semi-manual to semi-automatic reconstruction of neuron morphologyFrontiers in Neuroinformatics 6:4.https://doi.org/10.3389/fninf.2012.00004
-
Kinetics of recovery of the dark-adapted salamander rod photoresponseJournal of General Physiology 111:7–37.https://doi.org/10.1085/jgp.111.1.7
-
Physiological features of the S- and M-cone photoreceptors of wild-type mice from single-cell recordingsJournal of General Physiology 127:359–374.https://doi.org/10.1085/jgp.200609490
-
SoftwareCBC_inference, version swh:1:rev:2b8ec4ac0ca916d42cba0404229298f8ff79c3a3Software Heritage.
-
Passive membrane properties and electrotonic signal processing in retinal rod bipolar cellsThe Journal of Physiology 587:829–849.https://doi.org/10.1113/jphysiol.2008.165415
-
ConferenceFast ε-free inference of simulation models with bayesian conditional density estimationAdvances in Neural Information Processing Systems. pp. 1028–1036.
-
Long-term characterization of retinal degeneration in rd1 and rd10 mice using spectral domain optical coherence tomographyInvestigative Ophthalmology & Visual Science 53:4644–4656.https://doi.org/10.1167/iovs.12-9611
-
Alternative to hand-tuning conductance-based models: construction and analysis of databases of model neuronsJournal of Neurophysiology 90:3998–4015.https://doi.org/10.1152/jn.00641.2003
-
A model for the electrically stimulated retinaMathematical and Computer Modelling of Dynamical Systems 10:93–106.https://doi.org/10.1080/13873950412331318080
-
Fitting neuron models to spike trainsFrontiers in Neuroscience 5:9.https://doi.org/10.3389/fnins.2011.00009
-
ConferenceApproximate bayesian inference for a mechanistic model of vesicle release at a ribbon synapseAdvances in Neural Information Processing Systems.
-
Synaptic Ca2+ in darkness is lower in rods than cones, causing slower tonic release of vesiclesJournal of Neuroscience 27:5033–5042.https://doi.org/10.1523/JNEUROSCI.5386-06.2007
-
Vesicle depletion and synaptic depression at a mammalian ribbon synapseJournal of Neurophysiology 95:3191–3198.https://doi.org/10.1152/jn.01309.2005
-
NeuronC: a computational language for investigating functional architecture of neural circuitsJournal of Neuroscience Methods 43:83–108.https://doi.org/10.1016/0165-0270(92)90019-A
-
How multiple conductances determine electrophysiological properties in a multicompartment modelJournal of Neuroscience 29:5573–5586.https://doi.org/10.1523/JNEUROSCI.4438-08.2009
-
Ribbon synapses of the retinaCell and Tissue Research 326:339–346.https://doi.org/10.1007/s00441-006-0234-0
-
Direct activation and temporal response properties of rabbit retinal ganglion cells following subretinal stimulationJournal of Neurophysiology 102:2982–2993.https://doi.org/10.1152/jn.00545.2009
-
Differential responses to high-frequency electrical stimulation in ON and OFF retinal ganglion cellsJournal of Neural Engineering 11:025001.https://doi.org/10.1088/1741-2560/11/2/025001
-
Voltage- and calcium-gated ion channels of neurons in the vertebrate retinaProgress in Retinal and Eye Research 72:100760.https://doi.org/10.1016/j.preteyeres.2019.05.001
-
Synaptic release at mammalian bipolar cell terminalsVisual Neuroscience 28:109–119.https://doi.org/10.1017/S0952523810000453
-
ConferenceResistivity profiles of wild-type, rd1, and rd10 mouse retina37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC) IEEE. pp. 1650–1653.https://doi.org/10.1109/EMBC.2015.7318692
-
Cone contacts, mosaics, and territories of bipolar cells in the mouse retinaJournal of Neuroscience 29:106–117.https://doi.org/10.1523/JNEUROSCI.4442-08.2009
-
Improving the spatial resolution of epiretinal implants by increasing stimulus pulse durationScience Translational Medicine 7:318ra203.https://doi.org/10.1126/scitranslmed.aac4877
-
Will retinal implants restore vision?Science 295:1022–1025.https://doi.org/10.1126/science.1067996
Article and author information
Author details
Funding
Bundesministerium für Bildung und Forschung (01GQ1601)
- Philipp Berens
Bundesministerium für Bildung und Forschung (01IS18052)
- Philipp Berens
Deutsche Forschungsgemeinschaft (EXC 2064 - 390727645)
- Philipp Berens
Deutsche Forschungsgemeinschaft (BE5601/4-1)
- Philipp Berens
Baden-Württemberg Stiftung (NEU013)
- Günther Zeck
- Philipp Berens
National Institutes of Health (EY022070)
- Robert G Smith
National Institutes of Health (EY023766)
- Robert G Smith
The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.
Acknowledgements
We thank Yves Bernaerts for preliminary work on electrical stimulation of biophysical models, Timm Schubert for support with animal protocols and Gordon Eske and Adam vor Daranyi for technical support. Additionally, we thank Jakob Macke, Philipp Hennig and Lara Hoefling for discussion. This work was funded by the Federal Ministry of Education and Research (BMBF, FKZ 01GQ1601 and 01IS18052 to PB), the German Science Foundation through the Excellence Cluster 2064 ‘Machine Learning - New Perspectives for Science’ (390727645), a Heisenberg Professorship (BE5601/4-1 to PB), the Baden-Württemberg Stiftung (NEU013 to PB and GZ), and the National Institutes of Health (NIH) (EY022070 and EY023766 to RGS).
Ethics
Animal experimentation: All procedures were approved by the governmental review board (Regierungspräsidium Tübingen, Baden-Württemberg, Konrad-Adenauer-Str. 20, 72072 Tübingen, Germany, AZ 35/9185.82-7) and performed according to the laws governing animal experimentation issued by the German Government.
Copyright
© 2020, Oesterle et al.
This article is distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use and redistribution provided that the original author and source are credited.
Metrics
-
- 1,893
- views
-
- 294
- downloads
-
- 18
- citations
Views, downloads and citations are aggregated across all versions of this paper published by eLife.
Download links
Downloads (link to download the article as PDF)
Open citations (links to open the citations from this article in various online reference manager services)
Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)
Further reading
-
- Computational and Systems Biology
- Neuroscience
Mechanistic modeling in neuroscience aims to explain observed phenomena in terms of underlying causes. However, determining which model parameters agree with complex and stochastic neural data presents a significant challenge. We address this challenge with a machine learning tool which uses deep neural density estimators—trained using model simulations—to carry out Bayesian inference and retrieve the full space of parameters compatible with raw data or selected data features. Our method is scalable in parameters and data features and can rapidly analyze new data after initial training. We demonstrate the power and flexibility of our approach on receptive fields, ion channels, and Hodgkin–Huxley models. We also characterize the space of circuit configurations giving rise to rhythmic activity in the crustacean stomatogastric ganglion, and use these results to derive hypotheses for underlying compensation mechanisms. Our approach will help close the gap between data-driven and theory-driven models of neural dynamics.
-
- Cancer Biology
- Computational and Systems Biology
This study investigates the variability among patients with non-small cell lung cancer (NSCLC) in their responses to immune checkpoint inhibitors (ICIs). Recognizing that patients with advanced-stage NSCLC rarely qualify for surgical interventions, it becomes crucial to identify biomarkers that influence responses to ICI therapy. We conducted an analysis of single-cell transcriptomes from 33 lung cancer biopsy samples, with a particular focus on 14 core samples taken before the initiation of palliative ICI treatment. Our objective was to link tumor and immune cell profiles with patient responses to ICI. We discovered that ICI non-responders exhibited a higher presence of CD4+ regulatory T cells, resident memory T cells, and TH17 cells. This contrasts with the diverse activated CD8+ T cells found in responders. Furthermore, tumor cells in non-responders frequently showed heightened transcriptional activity in the NF-kB and STAT3 pathways, suggesting a potential inherent resistance to ICI therapy. Through the integration of immune cell profiles and tumor molecular signatures, we achieved an discriminative power (area under the curve [AUC]) exceeding 95% in identifying patient responses to ICI treatment. These results underscore the crucial importance of the interplay between tumor and immune microenvironment, including within metastatic sites, in affecting the effectiveness of ICIs in NSCLC.