1 Introduction

Neurons in many sensory systems generate action potentials (APs or spikes) in distinct temporal patterns to transmit information to connected neurons. Sparse burst firing (SBF), a combination of single spikes and much less numerous short bursts of 2–8 spikes, is one of the most common patterns observed in visual, auditory, and motor sensory systems [1,2,3,4,5,6]. High-frequency firing and low-frequency tonic firing patterns also occur in sensory information processing [7,8,9,10]. Neuronal coding theory hypothesizes that information is coded in the structure of the spike train of these firing patterns [11,12,13,14,15]. Generating these information-carrying action potential sequences consumes considerable energy [16,17,18]. In this process, ionic concentration gradients of \(\hbox {Na}^{{+}}\) and \(\hbox {K}^{+}\) are partially dissipated and must be restored and maintained with Na/K-ATPase pumps by hydrolyzing adenosine triphosphate (ATP) [16, 19].

Sensory information processing is thought to have evolved within a restricted energy budget, resulting in a trend toward energy efficiency [20,21,22,23]. Energy efficiency can be measured as the energy consumed per unit of transmitted information [23, 24]. Most of the previous theoretical and experimental studies have demonstrated this efficiency by focusing on how the underlying ionic currents, such as \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) currents, influence the energy efficiency of single APs of different neurons [19, 21, 22]. For instance, Alle et al. [21] showed that in rat hippocampus mossy fiber axons, the smaller temporal overlap of the inward \(\hbox {Na}^{+}\) current and the outward \(\hbox {K}^{+}\) current during APs leads to fewer energy costs and greater energy efficiency, assuming that each AP transmits equivalent information. However, the energy efficiency of a neuron depends not only on its single APs but also on its firing pattern. In fact, some essential properties of the firing pattern, such as the firing frequency, the firing modes (i.e., single spikes and bursts), the shape of spikes, and the extent of hyperpolarization after spikes, significantly affect energy consumption and/or information transmission [10, 22], and thus the energy efficiency. These properties are mainly modulated by underlying \(\hbox {K}^{+}\) currents, including calcium-dependent \(\hbox {K}^{+}\) currents and voltage-dependent \(\hbox {K}^{+}\) currents [10, 22, 25,26,27]. For example, Goldberg et al. [10] demonstrated that the reduction of a specific calcium-dependent \(\hbox {K}^{+}\) current can generate a transition from irregular low-frequency single spiking to rhythmic high-frequency bursting with distinct hyperpolarization, and Carter et al. [22] showed that the width of APs is mainly determined by the \(\hbox {K}^{+}\) channels in nerve membranes. In auditory brainstem neurons, the voltage-dependent \(\hbox {K}^{+}\) channels responsible for repolarization are also known to influence their firing modes [25]. However, how the underlying \(\hbox {K}^{+}\) currents affect all these properties of a firing pattern to promote energy efficiency remains unclear. In other words, since a neuron can fire in different firing patterns by modulating the \(\hbox {K}^{+}\) currents, a particular firing pattern may be more energy efficient than others. Exploring this hypothesis is essential for a better understanding of the mechanisms underlying information encoding [28,29,30,31] in the nervous system.

In this study, we modified the \(\hbox {K}^{+}\) currents in the Chay neuron model [32] to simulate diverse firing patterns similar to those observed in electrophysiological experiments [10] and assessed the energy efficiency of these patterns. Our findings indicate that medium-frequency firing patterns consume roughly as little energy as low-frequency patterns do, but can carry nearly as much information as high-frequency patterns that consume much more energy, suggesting that medium-frequency firing patterns are more energy efficient than other patterns. Specifically, the most efficient pattern is a medium-frequency SBF, which minimizes energy costs by consuming energy sources (the potential energy stored in ionic concentration gradients) in a balanced way, and maximizes neural information by producing more informative spikes with the combination of short bursts and single spikes. This study suggests that the prevalence of these SBF patterns is an important way for the sensory system to achieve energy efficiency in information transmission.

2 Model and method

2.1 The Chay model and different firing properties

The Chay neuron model [32] provides a simple and effective tool to simulate different firing patterns in the biological nervous system with comprehensive dynamical analyses [33,34,35]. The model is described as follows:

$$\begin{aligned} {{\mathrm {d}}V} / {{\mathrm {d}}t}= & {} -I_{i}-I_{\mathrm {kv}}-I_{\mathrm {kc}}-I_{{l}}, \end{aligned}$$
(1)
$$\begin{aligned} {{\mathrm {d}}n} / {{\mathrm {d}}t}= & {} (n_{{\infty }}\text {-}n) \big / \tau _{n}, \end{aligned}$$
(2)
$$\begin{aligned} {{\mathrm {d}}C} / {{\mathrm {d}}t}= & {} \rho \left( m_{{\infty }}^{{3}}h_{{\infty }}\left( V_{{c}}-V \right) -k_{{c}}C \right) , \end{aligned}$$
(3)

where V, n, and C are the membrane potential, the probability of opening voltage-dependent \(\hbox {K}^{{+}}\) channels, and the intracellular \(\hbox {Ca}^{{2+}}\) concentration, respectively. In Eq. (1), \(I_{{i}}\) is the inward mixed \(\hbox {Na}^{+}\)\(\hbox {Ca}^{{2+}}\) ionic current; \(I_{\mathrm {kv}}\) is the outward voltage-dependent \(\hbox {K}^{{+}}\) ionic current; \(I_{\mathrm {kc}}\) is the outward calcium-dependent \(\hbox {K}^{{+}}\) ionic current; \(I_{{l}}\) is the leakage current. \(I_{{i}}\), \(I_{\mathrm {kv}}\), \(I_{\mathrm {kc}}\), and \(I_{{l}}\) are described as follows:

$$\begin{aligned} I_{{i}}= & {} g_{{i}}m_{{\infty }}^{{3}}h_{{\infty }}\left( V-V_{{i}} \right) , \end{aligned}$$
(4)
$$\begin{aligned} I_{\mathrm {kv}}= & {} g_{\mathrm {kv}}n^{{4}}\left( V-V_{{k}} \right) , \end{aligned}$$
(5)
$$\begin{aligned} I_{\mathrm {kc}}= & {} g_{\mathrm {kc}}(C \big / {(1+C)})(V-V_{{k}}), \end{aligned}$$
(6)
$$\begin{aligned} I_{{l}}= & {} g_{{l}}\left( V-V_{{l}} \right) , \end{aligned}$$
(7)
Table 1 Parameter values used in the numerical simulations

where \(V_{{i}}\), \(V_{{k}}\), and \(V_{{l}}\) are the reversal potentials for mixed \(\hbox {Na}^{+}\)\(\hbox {Ca}^{{2+}}\), \(\hbox {K}^{+}\), and leakage ions, respectively; \(g_{{i}}\), \(g_{\mathrm {kv}}\), \(g_{\mathrm {kc}}\), and \(g_{{l}}\) represent the maximal conductances, where the subscripts (i), (kv), (kc), and (l) refer to the voltage-dependent mixed ionic channel, the voltage-dependent \(\hbox {K}^{+}\) channel, the \(\hbox {Ca}^{{2+}}\)-dependent \(\hbox {K}^{+}\) channel, and leakage channels, respectively. \(m_{{\infty }}\) and \(h_{{\infty }}\) in Eq. (4) are the probabilities of activation and inactivation of the mixed channel, respectively; \(n_{{\infty }}\) in Eq. (2) is the steady-state value of n. They are expressed as follows: \(y_{{\infty }}={\alpha _{y}(V)} \big / {(\alpha _{y}(V)+\beta _{y}(V))}\), \(y=m\), h, or n, with nonlinear functions \(\alpha _{y}(V)\) and \(\beta _{y}(V)\) given by

$$\begin{aligned} \alpha _{m}\left( V \right)= & {} 0.1(25+V{)\big /(1-}e^{{-0.1}V{-2.5}}{)}, \end{aligned}$$
(8)
$$\begin{aligned} \beta _{m}\left( V \right)= & {} 4e^{{-(}V{+50)/18}}, \end{aligned}$$
(9)
$$\begin{aligned} \alpha _{h}\left( V \right)= & {} 0.07e^{{-0.05}V{-2.5}}, \end{aligned}$$
(10)
$$\begin{aligned} \beta _{h}\left( V \right)= & {} 1/(1+e^{{-0.1}V{-2}}), \end{aligned}$$
(11)
$$\begin{aligned} \alpha _{n}\left( V \right)= & {} 0.01(20+V)\big /(1-e^{{-0.1}V{-2}}{)}, \end{aligned}$$
(12)
$$\begin{aligned} \beta _{n}\left( V \right)= & {} 0.125e^{{-(}V{+30)/80}}, \end{aligned}$$
(13)

In Eq. (2), the relaxation time of the voltage-dependent \(\hbox {K}^{{+}}\) channel (\(\tau _{n}\)) is described as follows:

$$\begin{aligned} \tau _{n}=1\big /(\lambda _{n}(\alpha _{n}+\beta _{n}{))}, \end{aligned}$$
(14)

where \(\lambda _{n}\), a scaling term of the relaxation time constant, controls the shapes of APs as well as the extent of hyperpolarization. In Eq. (3), \(k_{{c}}\) is the rate constant for the efflux of the intracellular \(\hbox {Ca}^{{2+}}\), \({\rho }\) is a proportionality constant, and \(V_{{c}}\) is the reversal potential for \(\hbox {Ca}^{{2+}}\) ions. The values of the reversal potentials and the fixed parameters used in this study are listed in Table 1.

Fig. 1
figure 1

Examples of various single spikes, bursts, and hyperpolarization simulated with different values of \(g_{\mathrm {kc}}\) and \(\lambda _{n}\) in the Chay model. a A chaotic firing pattern in which single spikes and bursts are interrupted by hyperpolarization of different degrees, simulated with \(g_{\mathrm {kc}}=11 \,\upmu \hbox {S}\) and \(\lambda _{n}=230\). b Single spikes with the membrane returning to resting potential without hyperpolarization, enlarged from a firing pattern with \(g_{\mathrm {kc}}=10 \,\upmu \hbox {S}\) and \(\lambda _{n}=230\). c Singe spikes with larger width and amplitude followed by a short phase of hyperpolarization, enlarged from a firing pattern with \(g_{\mathrm {kc}}=11.5 \,\upmu \hbox {S}\) and \(\lambda _{n}=180\). d A burst proceeded by slow, long-lasting hyperpolarization, enlarged from a firing pattern with \(g_{\mathrm {kc}}=11.5 \,\upmu \hbox {S}\) and \(\lambda _{n}=230\). e A burst followed by intense hyperpolarization, enlarged from a firing pattern with \(g_{\mathrm {kc}}=13 \,\upmu \hbox {S}\) and \(\lambda _{n}=280\). In the Chay model, hyperpolarization is characterized by the membrane potential repolarizing below the threshold potential of − 46 mV

In the Chay model, \(\hbox {K}^{+}\) currents, including the calcium-dependent \(\hbox {K}^{+}\) current \(I_{\mathrm {kc}}\) in Eq. (6) and the voltage-dependent \(\hbox {K}^{+}\) current \(I_{\mathrm {kv}}\) in Eq. (5), significantly influence the dynamics of the system. Modifying the maximal conductance \(g_{\mathrm {kc}}\) of \(I_{\mathrm {kc}}\) in Eq. (6) causes the neuron model to discharge in different firing patterns, from burst firing with different burst sizes to tonic firing and irregular chaotic firing [32]; for a detailed bifurcation analysis of \(g_{\mathrm {kc}}\), please refer to [32]. Modifying the scaling term \(\lambda _{n}\) for the relaxation time constant of voltage-dependent \(\hbox {K}^{+}\) channels in Eq. (14) generates changes in APs with different extents of hyperpolarization and reshapes the firing pattern [33]. In contrast, modifying the maximal conductance of voltage-dependent \(\hbox {K}^{+}\) channels \(g_{\mathrm {kv}}\) or the maximal conductance of \(\hbox {Na}^{+}\)\(\hbox {Ca}^{{2+}}\) mixed ionic channels \(g_{{i}}\), whose dynamic functions in the Chay model are to determine the peak amplitude of the AP or to produce stereotyped burst modes, results in little significant change in firing patterns, especially the spike-timing patterns. In other words, in the Chay model, \(g_{\mathrm {kc}}\) mainly controls the firing frequency as well as the firing modes, and the value of \(\lambda _{n}\) determines the width of spikes and the degree of hyperpolarization of firing patterns. Therefore, in this study, we examined the energy efficiency of firing patterns generated by the changes of \(g_{\mathrm {kc}}\) and \(\lambda _{n}\) while keeping \(g_{\mathrm {kv}}\) and \(g_{{i}}\) constant. All firing patterns were simulated with identical initial conditions of \(V\left( 0 \right) =-48.25\hbox { mV}\), \(n\left( 0 \right) =0.20\), and \(C\left( 0 \right) =0.40\).

Figure 1 shows some representative examples of single spikes, bursts, and hyperpolarization in different firing patterns simulated by modifying the \(\hbox {K}^{+}\) currents in the Chay model. Bursts are defined as a set of spikes whose interspike intervals (ISI) are shorter than .52 s according to the firing characteristics of the Chay model neuron and its timescale [2, 32]. The burst size \(N_{b}\) of a firing pattern is calculated as the average number of spikes per burst. In sensory systems, a firing pattern is called SBF if its burst size satisfies \(2\leqslant N_{b}\leqslant 8\) and its burst probability is in the range of 1–35% [4,5,6]. One spike preceded and followed by a time interval greater than 0.52 s is called a single spike, and \(N_{s}\) is the total number of single spikes in a firing pattern. The width and amplitude of spikes may differ from one firing pattern to another (Fig. 1b–e). Hyperpolarization after spikes also exhibits different durations and intensities in different firing patterns (Fig. 1b–e). These diverse firing properties have been observed in different neurons in electrophysiological experiments when pharmacologically manipulating calcium-dependent and/or voltage-dependent \(\hbox {K}^{+}\) channels [10, 25, 27].

It should be noted that the firing frequency is very low in the Chay model compared with real biological systems because of the time scale used. Nevertheless, the Chay model is very effective in simulating the essential properties of distinctive firing patterns, including the number and frequency of spikes, burst and single spike modes, shapes of spikes, and extent of hyperpolarization. Therefore, the firing frequencies used in this study are relative to those frequencies that the Chay model can generate.

Fig. 2
figure 2

The net power P of membrane potential changes during an AP and its following hyperpolarization. a The equivalent circuit of the Chay neuron model with three batteries providing charges to the capacitor \(C_{{m}}\) (i.e., membrane voltage). \(I_{{k}}\) represents the sum of the \(\hbox {K}^{+}\) currents \(I_{\mathrm {kv}}\) and \(I_{\mathrm {kc}}\) in the Chay model. The other two currents (mixed \(\hbox {Na}^{+}\)\(\hbox {Ca}^{{2+}}\) current \(I_{{i}}\) and leakage current \(I_{{l}})\) and the reversal potentials \(V_{{y}}\,({y}={i,k,l})\) are the same as in the model. b An AP with its rising and falling phases, as well as its following hyperpolarization, is divided by the blue dashed lines. c Corresponding electric power provided by three batteries to the capacitor. During the rising phase, the electric power \(\left| I_{{i}}V_{{i}} \right| \) (the red line) provided by battery \(V_{{i}}\) is mostly bigger than the electric power \(\left| {I_{{k}}V}_{{k}} \right| +\left| I_{{l}}V_{{l}} \right| \) (the green and blue lines) provided by batteries \(V_{{k}}\) and \(V_{{l}}\) to depolarize the membrane. During the falling phase and hyperpolarization, the latter is bigger than the former to repolarize and further hyperpolarize the membrane. d The corresponding net power P during the AP and its following hyperpolarization. When P is negative, the energy consumed to change the membrane potential comes from the net electric power of \(\left| I_{{i}}V_{{i}} \right| \), which is not counterbalanced by the electric power of \(\left| {I_{{k}}V}_{{k}} \right| +\left| I_{{l}}V_{{l}} \right| \). Conversely, when P is positive, the energy consumed to change the membrane potential comes from the net electric power of \(\left| {I_{{k}}V}_{{k}} \right| +\left| I_{{l}}V_{{l}} \right| \), which is not counterbalanced by the electric power of \(\left| I_{{i}}V_{{i}} \right| \). (Color figure online)

2.2 Estimation of energy consumption

Previous experimental studies suggest that the extensive overlap of inward \(\hbox {Na}^{+}\) currents and outward \(\hbox {K}^{+}\) currents during APs wastes \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) and accordingly wastes energy [19, 21]. This wasted energy does not contribute to the change of membrane potential and the transmission of information. Therefore, we estimated only the energy effectively used to generate neuronal signals, i.e., membrane voltage changes during a firing pattern. To do so, we used the energy estimation method proposed in our previous studies [36, 37], which is based on the equivalent circuit of the Chay model [38], as shown in Fig. 2a. As do most neural models, the Chay model has a default assumption that reversal potentials are supported by Na/K-ATPase pumps by consuming ATP to create and maintain the concentration gradients of ions across the membrane [38]. In other words, the electrical potential energy stored in the reversal potentials \(V_{{y}}\,({y}={i,k,l})\), i.e., the batteries in the circuit, is ultimately derived from the biological energy ATP consumed by Na/K-ATPase pumps.

These batteries provide currents \(I_{{y}}\,({y}={i,k,l})\) to change the voltage across the capacitor \(C_{{m}}\), and neuronal activity is generated accordingly. The rate of electrical energy (power) transferred to the capacitor by each battery is its electrical current multiplied by its electromotive force, i.e., \({\vert I}_{y}V_{y}\vert (y={i,k,l})\) [36, 37, 39,40,41], as shown in Fig. 2c. Thus, the rate of energy change of the potential difference across the membrane should be the sum of the electric power provided by each battery. However, the electric power provided by each battery has different effects on the trans-membrane potential. The electric power provided by battery \(V_{{i}}\) makes the membrane potential less negative (depolarization), while the electric power provided by batteries \(V_{{k}}\) and \(V_{{l}}\) generally makes the membrane potential more negative (repolarization). Consequently, the net power P that contributes to membrane voltage changes in the Chay model is estimated as follows:

$$\begin{aligned} P(t)=\left| {I_{{k}}*V}_{{k}} \right| +\left| I_{{l}} *{V}_{{l}} \right| -\left| I_{{i}}*V_{{i}} \right| . \end{aligned}$$
(15)

where \(I_{{k}}\) is the sum of the \(\hbox {K}^{+}\) currents \(I_{\mathrm {kv}}\) and \(I_{\mathrm {kc}}\). (Note that, in the Chay model, whether or not each power is calculated in absolute value terms has no significant effect on the results, because \(I_{y}V_{y}\,(y={i,k,l})\) is almost always negative.) Thus, depending on which of the voltage sources (\(V_{{k}}\), \(V_{{l}}\)) or (\(V_{{i}}\)) provides more electric power, the value of the net power P in Eq. (15) can be positive or negative. As shown in Fig. 2b, d, during the rising phase of an AP, the net power P is negative, immediately turns positive during the falling phase, and remains positive during hyperpolarization.

We define the negative energy that is consumed during a time period T of a firing pattern when P is negative using the following equation:

$$\begin{aligned} E_{negative}=\left\{ {\begin{array}{ll} \int \nolimits _{0}^T {-P(t)} {\mathrm {d}}t,&{} P<0 \\ 0, &{} P\ge 0 \\ \end{array}} \right. . \end{aligned}$$
(16)

Conversely, when P is positive, the positive energy consumed during the time period T is defined as

$$\begin{aligned} E_{positive}=\left\{ {\begin{array}{ll} 0, &{} P<0 \\ \int \nolimits _{0}^T P \left( t \right) {\mathrm {d}}t, &{} P \ge 0 \\ \end{array}} \right. . \end{aligned}$$
(17)

Therefore, the neural energy consumption E contributing to the membrane potential changes during the firing activity is defined as

$$\begin{aligned} E=E_{negative}+E_{positive}= \int _{0}^T {\vert P\left( t \right) \vert } {\mathrm {d}}t. \end{aligned}$$
(18)

We set \(T=30\) s in the following simulation. In Sect. 3.2, we will vary T from 5 to 60 s to examine the relationship between time and energy efficiency. As shown in Fig. 2d, APs consume both negative energy (the red area) and positive energy (the green area), and the former is usually greater than the latter. Hyperpolarization, by contrast, consumes only positive energy (the green area), as does the resting potential.

For the sake of mathematical convenience, we assume the ratio of the consumption of negative energy to the consumption of positive energy to be \({\delta }\), which is defined as

$$\begin{aligned} {\delta =}E_{negative} \big / E_{positive}. \end{aligned}$$
(19)

Hereafter, we call it the \(E_{n}{-E}_{p}\) ratio. Thus, if a firing pattern fires only APs without hyperpolarization, the \(E_{n}{-E}_{p}\) ratio will be much bigger than 1; if the firing pattern is so hyperpolarized as to limit firing activity to very few or no AP, this ratio will be closer to 0.

2.3 Information representation and energy efficiency

The amount of information carried by a firing pattern is usually defined in Shannon’s terms as the relation of neural response to a given stimulus [12, 42, 43]. In this study, however, the firing patterns were simulated by changing the conductance of ionic channels of the Chay model in the absence of a stimulus. While it is still under debate about how neural information is coded, one popular hypothesis is that the precise timing of each spike is significant, and the temporal variability of a spike train provides a large capacity for carrying information [44, 45]. We adopt this hypothesis in this study and thus use the variability of the spike train itself, i.e., its coefficient of variability (CV) [46, 47], to represent the amount of carried information.

Each firing pattern in this study is converted into a sequence of ISIs \(\{t_{1}, t_{2}, t_{3}, \ldots , t_{N}\}\) with a mean \({\upmu }\) and a standard deviation \({\sigma }\) given by

$$\begin{aligned} \upmu =\frac{{1}}{N}\sum \limits _{n=1}^N t_{n} ,\,\, {\sigma =}\sqrt{\frac{{1}}{N}\sum \limits _{n=1}^N {(t_{n}-\upmu )}^{{2}} } . \end{aligned}$$
(20)

Then, the coefficient of variation (CV) of the spike train variability is given as

$$\begin{aligned} \mathrm{CV}=\sigma / \upmu . \end{aligned}$$
(21)

According to this definition and the above neural coding hypothesis [44, 45], the more irregular the firing pattern is, the larger the value of CV is and accordingly the more information it carries.

We then examine the energy efficiency of a firing pattern by measuring the energy consumption per unit of information given as

$$\begin{aligned} \upeta =E / {\mathrm{CV}}. \end{aligned}$$
(22)

The smaller the value of \(\upeta \) is, the lower the energy consumption per unit of information is (i.e., the greater the energy efficiency). Conversely, a higher \(\upeta \) value signifies less energy efficiency.

Fig. 3
figure 3

Characteristics of various firing patterns resulting from changing the maximal conductance of the \(\hbox {Ca}^{{2+}}\)-dependent \(\hbox {K}^{+}\) channel \(g_{\mathrm {kc}}\) from 6 to \(23.6\,\upmu \text {S}\) in the Chay model. a Burst sizes, i.e., the average number of spikes per burst (the red points) and the number of single spikes (the green points). b The total number of spikes N as a function of \(g_{\mathrm {kc}}\) (the violet line). c The probability of bursts (the blue points), i.e., the ratio of the number of bursts to the total number of bursts and single spikes in each firing pattern. All three figures are divided into three regions: high-frequency patterns (\(g_{\mathrm {kc}}\): 6–9), medium-frequency patterns (\(g_{\mathrm {kc}}\): 9.2–12), and low-frequency patterns (\(g_{\mathrm {kc}}\): 12.2–23.6). Within the medium-frequency category, we can further distinguish sparse burst firing patterns (SBFs, the pink column) from other patterns (non-SBFs, the light-blue column). All these firing patterns are simulated with a fixed \(\lambda _{n}\) of 230. (Color figure online)

3 Results

3.1 Energy efficiency of firing patterns resulting from changing the maximal conductance of the \(\hbox {Ca}^{{2+}}\)-dependent \(\hbox {K}^{+}\) channel \(g_{\mathrm{kc}}\)

We first examined the energy efficiency of firing patterns resulting from modifying the parameter \(g_{\mathrm {kc}}\) in Eq. (6). We varied \(g_{\mathrm {kc}}\) from 6 to \(23.6\,\upmu \hbox {S}\) in steps of 0.2 in generating firing patterns with the Chay model and determined the burst size \(N_{b}\) (the red points in Fig. 3a), the number of single spikes \(N_{s}\) (the green points in Fig. 3a), the total number of spikes N (Fig. 3b), and the probability of bursts (Fig. 3c) for each firing pattern. These firing patterns can be broadly divided into the following three categories: 1) High-frequency patterns with massive spikes (\(g_{\mathrm {kc}}\): 6–9). The neuron discharges a large number of spikes (N: 61–135 spikes, Fig. 3b), and these spikes come either in a very large high-frequency burst (most \(N_{b}>29)\) or in single spike modes (Fig. 3a). 2) Medium-frequency patterns with fewer spikes (\(g_{\mathrm {kc}}\): 9.2–12). The neuron fires in both burst and single spike modes with a moderate total number of spikes (N: 24–57 spikes, the colored bars in Fig. 3b), a gradually decreasing burst size \(N_{b}\) (the colored bars in Fig. 3a), and a rising trend in burst probability (the colored bars in Fig. 3c). In particular, when \(g_{\mathrm {kc}}\) rises from 10.8 to 12, the firing pattern shifts to SBFs (the pink-colored bar in Fig. 3), whose burst size satisfies \({2\leqslant }N_{b}\leqslant 8\) and burst probability is in the range of 1–35% [4,5,6]. For example, a \(g_{\mathrm {kc}}\) of 10.8 generates an SBF with \(N_{b}=8\) spikes, \(N_{s}=26\) spikes, and a burst probability of about 4%. 3) Low-frequency patterns with rare spikes (\(g_{\mathrm {kc}}\): 12.2–23.6). The total number of spikes discharged by the neuron is small (N: 1–23 spikes). Some of these firing patterns do contain bursts and single spikes, but their mode is nearly identical in contrast to SBFs. When \(g_{\mathrm {kc}}\ge 16.8\), only a few single spikes appear. The above frequency division is mapped from the most commonly used division of frequencies in the nervous system: a high-frequency gamma range of 30–80 Hz, a medium-frequency beta range of 13–30 Hz, and a low-frequency delta/theta/alpha range of 0.5–12 Hz [48, 49]. Small shifts in the boundaries of these divisions have no effect on the results of this study.

Fig. 4
figure 4

Negative and positive energy consumption of firing patterns with different firing frequencies and different degrees of hyperpolarization. a Three typical firing patterns: high-frequency firing with \(g_{\mathrm {kc}}=6 \,\upmu \hbox {S}\) (the blue line); medium-frequency firing with \(g_{\mathrm {kc}}=11.4 \,\upmu \hbox {S}\) (the black line); low-frequency firing with \(g_{\mathrm {kc}}=23.6 \,\upmu \hbox {S}\) (the green line). b, e Membrane potential distribution (b) and the proportion of negative and positive energy consumption (e) in the high-frequency firing pattern with \(g_{\mathrm {kc}}=6 \,\upmu \hbox {S}\). The red dotted line represents the threshold potential of − 46 mV. c, f The membrane potential distribution (c) and the proportion of negative and positive energy consumption (f) in the medium-frequency firing pattern with \(g_{\mathrm {kc}}=11.4 \,\upmu \hbox {S}\). d, g The membrane potential distribution (d) and the proportion of negative and positive energy consumption (g) in the low-frequency firing pattern with \(g_{\mathrm {kc}}=23.6 \,\upmu \hbox {S}\). h The ratio of negative energy consumption to positive energy consumption as a function of \(g_{\mathrm {kc}}\). The three red stars represent the ratios of the three firing patterns in a, respectively. (Color figure online)

Three typical firing patterns were selected from each category to examine their positive and negative energy consumption properties, as shown in Fig. 4. At a small value of \(g_{\mathrm {kc}}=6\) (the blue line), spikes are emitted in a very intensive and phasic firing pattern without hyperpolarization because the small calcium-dependent current \(I_{\mathrm {kc}}\) is too weak to hyperpolarize the membrane potential. The membrane potential of this high-frequency pattern is almost always above the threshold potential of − 46 mV (the red dashed line, Fig. 4b). This pattern consumes three times more negative energy than positive energy (Fig. 4e) because discharging APs alone without hyperpolarization consumes more negative energy than positive energy (Fig. 2d). A \(g_{\mathrm {kc}}\) of 11.4 (the black line) produces a regular burst firing pattern, within which each burst is followed by prominent hyperpolarization (Fig. 4c). This medium-frequency pattern consumes relatively balanced negative energy and positive energy (Fig. 4f). At a large value of \(g_{\mathrm {kc}}=23.6\) (the green line in Fig. 4a), the membrane potential V is mostly hyperpolarized (between − 57 and − 46 mV, Fig. 4d), and only two spikes are discharged due to the strong hyperpolarization current \(I_{\mathrm {kc}}\). This low-frequency pattern consumes almost exclusively positive energy (more than 97%, Fig. 4g) because hyperpolarization consumes only positive energy (Fig. 2d).

These three patterns, with their contrasting firing properties in terms of the number of spikes and the extent of hyperpolarization, exhibit contrasting \(E_{n}{-E}_{p}\) ratios, as marked with red stars in Fig. 4h. The \(E_{n}{-E}_{p}\) ratio of high-frequency patterns is much greater than 1 (from 2.224 to 3.238), and that of low-frequency patterns is far less than 1 (from .02599 to 0.6641); however, that of medium-frequency patterns is relatively closer to 1 (non-SBFs: from 1.416 to 2.118; SBFs: from 0.6884 to 1.321). Thus, positive energy and negative energy are consumed in a relatively balanced ratio in producing spikes with hyperpolarization in medium-frequency patterns compared with high- and low-frequency patterns.

Fig. 5
figure 5

Energy-efficient sparse burst firing patterns (SBFs) with low energy consumption but a high level of irregularity of information. a The carried information CV and neural energy consumption E of all firing patterns arising from changing \(g_{\mathrm {kc}}\). b The corresponding energy consumption per unit of information \(\upeta \). Both figures are divided into three regions: high-frequency patterns, medium-frequency patterns (distinguished between SBFs and non-SBFs), and low-frequency patterns. (Color figure online)

To evaluate the energy efficiency of different firing patterns produced by changing \(g_{\mathrm {kc}}\), we calculated the carried information CV from Eq. (21) and the energy consumption E from Eq. (18) for each pattern. Figure 5a shows that both high-frequency patterns and medium-frequency patterns carry relatively high amounts of information (the red dotted line), while low-frequency patterns carry low amounts of information, precisely because the spikes are so rare. The high levels of information carried by high-frequency patterns mainly result from their high firing rates. Both medium-frequency patterns and low-frequency patterns consume relatively low levels of energy (the black dotted line), while high-frequency patterns consume much higher levels of energy due to the large number of spikes. Thus, medium-frequency patterns consume roughly as little energy as low-frequency patterns do, but they can carry nearly as much information as high-frequency patterns (the colored bars in Fig. 5a). As a result, the value \(\upeta \) in Eq. (22), i.e., the energy consumed per unit of transmitted information, reaches its minimum in medium-frequency patterns (Fig. 5b), indicating that the energy efficiency of medium-frequency patterns is greater than that of both high- and low-frequency patterns. The maximum energy efficiency (minimum \(\upeta )\) is attained by an SBF pattern at \(g_{\mathrm {kc}}=10.8\). This optimal SBF pattern has a medium number of total spikes (\(N=34)\), a short burst (\(N_{b}=8\)), a low burst probability of about 4%, and a balanced ratio (\(\delta =1.321\)) of negative energy to positive energy (Figs. 3, 4h). A comparison between SBF and non-SBF patterns shows that they reach similar levels of energy efficiency (the colored bars in Fig. 5b). Although SBFs carry somewhat less information than non-SBFs do, they clearly consume less energy (the colored bars in Fig. 5a). These results suggest that SBFs may offer advantages over non-SBFs (and all other patterns) in sensory systems since information processing is thought to be under strong selective pressure not only to achieve energy efficiency but also to save energy [20].

To further understand how medium-frequency SBF patterns can carry as much information as high-frequency patterns while consuming as little energy as low-frequency patterns (Fig. 5a), we first examined the relationship between the total energy consumption E and the \(E_{n}{-E}_{p}\) ratio \({\delta }\) in Fig. 6a. The total energy consumed in low-frequency patterns is mostly positive energy with \(0.02599\leqslant \delta \leqslant 0.6641\). This positive energy is consumed in maintaining the membrane potential hyperpolarized (see Fig. 4). By contrast, the SBFs, by making relatively balanced use of positive and negative energy (\(0.6884\leqslant \delta \leqslant 1.321\)), are able to produce more spikes while consuming as little total energy as low-frequency patterns. Since the burst size influences the spike-timing structure and carried information, we next determined the information carried by each spike in firing patterns with different burst sizes. As shown in Fig. 6b, short bursts permit much higher information capacity per spike than do long bursts, thus allowing SBFs with short bursts (\(3\leqslant N_{b}\leqslant 8\)) to carry a high level of information even though the total number of spikes is moderate. Although low-frequency patterns with short bursts (\(N_{b}=2\)) have high information capacity per spike, they in fact carry very little information because they fire so few spikes. In a recent study, Naud et al. also found that short and sparse bursts help to maximize the information transferred in multiplexed coding [4]. Therefore, medium-frequency SBFs achieve high energy efficiency because they make balanced use of positive and negative energy and maximize the coded information by combining short bursts and single spikes.

Fig. 6
figure 6

a Total energy consumption as a function of the \(E_{n}{-E}_{p}\) ratio \({\delta }\). b The information capacity per spike (CV/spike) decreases as a function of burst size

3.2 Energy efficiency of firing patterns resulting from changing the parameter \(\lambda _{n}\) of the relaxation time constant of voltage-dependent \(\hbox {K}^{+}\) channels

We next examined how the scaling term \(\lambda _{n}\) for the relaxation time constant of voltage-dependent \(\hbox {K}^{+}\) channels in Eq. (14) alone affects the energy efficiency of firing patterns. A change in \(\lambda _{n}\) (with a fixed \(g_{\mathrm {kc}}\) of 11) produces different firing patterns (Fig. 7a) by altering how the \(\hbox {K}^{+}\) current \(I_{{k}}\) affects the membrane potential V (Fig. 7b). As \(\lambda _{n}\) increases, the firing patterns shift from medium-frequency tonic firing (the blue line) to sparse burst firing (the black line) and finally to the burst mode of high-frequency spikes (the green line), while the width and amplitude of the spikes progressively decrease. For each firing pattern, we determined the burst size \(N_{b}\) (the red points in Fig. 7c), the number of single spikes \(N_{s}\) (the green points in Fig. 7c), the total number of spikes N, and the probability of bursts. SBFs are generated in a \(\lambda _{n}\) range from 205 to 240 (the pink bar in Fig. 7c). As shown in Fig. 7d, changes in \(\lambda _{n}\) alone clearly influence the energy efficiency of firing patterns, and medium-frequency SBF patterns are more energy efficient than other patterns. The energy efficiency of the most efficient SBF pattern resulting from changing \(\lambda _{n}\) is almost as great as that of the optimal SBF pattern resulting from changing \(g_{\mathrm {kc}}\) in Fig. 5b.

Fig. 7
figure 7

Energy efficiency of firing patterns arising from changing the relaxation time constant of voltage-dependent \(\hbox {K}^{+}\) channels \(\lambda _{n}\) with a fixed \(g_{\mathrm {kc}}\) of 11. a Three typical firing patterns with different \(\lambda _{n}\). b The corresponding \(I_{{k}}\)V curves of these three firing patterns. c Burst sizes (the red points) and the number of single spikes (the green points). d The energy consumption per unit of information \(\upeta \) of all firing patterns of \(\lambda _{n}\). (Color figure online)

Fig. 8
figure 8

Energy efficiency of all firing patterns arising from changing \(g_{\mathrm {kc}}\) and \(\lambda _{n}\) simultaneously. a The green area in which the neuron fires in SBFs. The white point in each figure represents the most efficient firing pattern, which happens to be an SBF. This same area is outlined in the subsequent figures. b The total number of spikes N. c The ratio \({\delta }\) of negative energy consumption to positive energy consumption. d The amount of carried information CV. e Neural energy consumption E. f Energy efficiency. Note that the color spectrum represents 1/\(\upeta \) for the better exhibition of the figure. The red end (large values) and the blue end (small values) of the spectrum represent greater and less energy efficiency, respectively. In all figures, the horizontal and vertical axes represent the maximal conductance of the \(\hbox {Ca}^{{2+}}\)-dependent \(\hbox {K}^{+}\) channel \(g_{\mathrm {kc}}\) and the relaxation time constant of voltage-dependent \(\hbox {K}^{+}\) channel \(\lambda _{n}\), respectively. The ranges of \(g_{\mathrm {kc}}\) (6–23.6) and \(\lambda _{n}\) (175–295) are chosen to focus on firing patterns commonly observed in the sensory system. (Color figure online)

3.3 Energy efficiency of firing patterns resulting from simultaneous changes in the two parameters \(g_{\mathrm {kc}}\) and \(\lambda _{n}\)

We next investigated the energy efficiency of firing patterns generated in an expanded two-dimensional parametric space (\(g_{\mathrm {kc}}\), \(\lambda _{n}\)) to verify the result in Sects. 3.1 and 3.2 SBFs are energy efficient. The simultaneous changes of \(g_{\mathrm {kc}}\) and \(\lambda _{n}\) generate SBF patterns in the green area (Fig. 8a), which is outlined in the following figures to highlight various characteristics of SBFs. These SBF patterns discharge a moderate number of spikes (roughly 25 to 50, Fig. 8b), use negative and positive energy in a balanced ratio close to 1 (Fig. 8c), and carry a relatively high level of information (Fig. 8d) while consuming very low levels of total energy (Fig. 8e). Consequently, most SBFs attain high levels of energy efficiency (Fig. 8f). Notably, as shown in Fig. 8f, as \(\lambda _{n}\) decreases below 220, the SBF patterns become less energy efficient because the amplitude of the APs increases, leading to higher energy consumption (Fig. 8e) without any increase in the information transmitted (Fig. 8d) due to the unchanged number of spikes (Fig. 8b). As it turns out, the firing pattern with the maximum energy efficiency is the same optimal SBF in Sect. 3.1, namely \(g_{\mathrm {kc}}=10.8\) and \(\lambda _{n}=230\) (indicated by the white point in each figure).

Besides these SBFs, other firing patterns also exhibit relatively high energy efficiency (the red, orange, and yellow areas in Fig. 8f). Most of these patterns fire spikes in medium frequencies (Fig. 8b), carry a relatively high level of information (Fig. 8d), and consume relatively low levels of the total energy (Fig. 8e). The energy efficiency of the remaining firing patterns is very low. Their efficiency is primarily determined by \(g_{\mathrm {kc}}\), while \(\lambda _{n}\) has little effect (Fig. 8f). For example, when \(g_{\mathrm {kc}}\) is very small (6–7), the neuron fires in high-frequency patterns, and its firing rate continuously increases as \(\lambda _{n}\) increases (Fig. 8b left), resulting in great energy consumption E (Fig. 8e left) and high \(E_{n}{-E}_{p}\) ratio \({\delta }\) (Fig. 8c left). While these high-frequency patterns can carry nearly the highest levels of information (Fig. 8d left), their energy efficiency is much worse than that of medium-frequency patterns (Fig. 8f left) because of the great energy consumption. When \(g_{\mathrm {kc}}\) is large (16–23.6), the firing patterns have few spikes (\(N<20\), Fig. 8b right) and consume low levels of energy (Fig. 8e right), most of which are positive energy (Fig. 8c); however, since they carry so little information (Fig. 8d right), their energy efficiency is also quite low (Fig. 8f right).

Therefore, the results obtained by varying the two-dimensional parameters (\(g_{\mathrm {kc}}\), \(\lambda _{n}\)) are consistent with those by changing \(g_{\mathrm {kc}}\) and \(\lambda _{n}\) separately. Medium-frequency firing patterns are more energy efficient than high- and low-frequency patterns. The most energy-efficient patterns are predominantly medium-frequency SBFs generated by modulating both calcium-dependent and voltage-dependent \(\hbox {K}^{+}\) currents.

Finally, we examined the effect of the duration T on the energy efficiency of firing patterns. T, which was previously set at 30 s, is now varied from 5 to 60 s at intervals of 5 s. For each T, we calculated the most energy-efficient pattern among all tested firing patterns of \(g_{\mathrm {kc}}\)-\(\lambda _{n}\) pairs. At \(T{>}5\) s, the most energy-efficient patterns are all SBFs because their burst size \(N_{b}\) is about 6–8 spikes and burst probability is less than 35%; at \(T=5\) s, none of the \(g_{\mathrm {kc}}\)\(\lambda _{n}\) pairs produce an SBF pattern. In addition, the \(E_{n}{-E}_{p}\) ratios of these most energy-efficient firing patterns are around 1.3. These results suggest that the variation of T has no significant effect on the results in this study.

4 Discussion

Our findings indicate that SBF patterns in medium frequencies are more energy efficient than high-frequency patterns with massive spikes and low-frequency patterns with rare spikes. This greater energy efficiency is caused by two key factors. First, energy consumption is reduced by limiting the number of spikes to medium levels and by a balanced use of negative and positive energy. Second, with fewer spikes, the combination of burst and single-spike modes helps to increase the temporal variability of spike trains and thus the information carried by SBFs. Although high-frequency patterns can carry somewhat more information by discharging a large number of spikes, these spikes are very costly in terms of energy consumption, therefore leading to less energy efficiency. Low-frequency patterns conserve energy by keeping the membrane potential hyperpolarized, thus limiting the number of energy-costly spikes. These few spikes, however, carry very little information, resulting in even worse energy efficiency.

The energy consumption that contributes to membrane potential changes during a firing pattern is influenced by both the number of spikes N and the ratio of negative to positive energy consumption of this pattern, but in different ways. For high-frequency patterns, energy consumption is positively correlated to N with a Pearson correlation coefficient of nearly 1. Therefore, the energy consumption of high-frequency patterns is basically determined by N. When a neuron fires a moderate or small number of spikes, the energy consumption remains low but does not decline with the decreasing number of firing spikes. Instead, the energy consumption is influenced by the \(E_{n}{-E}_{p}\) ratio of the firing pattern. In low-frequency patterns, the neuron consumes energy to keep the membrane potential hyperpolarized so as to limit the number of energy-costly spikes. In contrast, in medium-frequency SBFs, a balanced use of negative energy and positive energy helps to lower the total energy consumption below that of low-frequency patterns while firing a moderate number of spikes transmits more information and thus improves the energy efficiency. From the view of energy consumption, this may also explain why neurons in sensory systems frequently fire spikes spontaneously rather than remain in resting or hyperpolarized membrane potential [50], as both activities likely consume similar amounts of energy. Based on our results, the most efficient SBF consumes these two kinds of energy in an optimal way, with an \(E_{n}{-E}_{p}\) ratio of 1.321.

In fact, during a firing pattern in time period T, the actual energy amounts consumed from the \(\hbox {Na}^{+}\) concentration gradient and the \(\hbox {K}^{+}\) concentration gradient are \(\int _0^T \left| I_{{i}}V_{{i}} \right| {\mathrm {d}}t\) and \(\int _0^T \left| {I_{{k}}V}_{{k}} \right| {\mathrm {d}}t\), respectively; the former is almost exclusively derived from the \(\hbox {Na}^{+}\) concentration gradient because the concentration gradient of \(\hbox {Ca}^{{2+}}\) is indeed mostly maintained by \(\hbox {Na}^{+}\)\(\hbox {Ca}^{{2+}}\) exchangers, which use the concentration gradient of \(\hbox {Na}^{+}\) to transport \(\hbox {Ca}^{{2+}}\) out of the neuron [38, 51]. For the most energy-efficient SBF, this ratio of \({\int _0^T \left| I_{{i}}V_{{i}} \right| {\mathrm {d}}t} \big / {\int _0^T \left| {I_{{k}}V}_{{k}} \right| {\mathrm {d}}t}\) is 1.165, which is close to the ratio 3:2 at which Na/K-ATPase pumps work for \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) ionic concentration gradients. As we know, Na/K-ATPase pumps actively extrude three \(\hbox {Na}^{+}\) and import two \(\hbox {K}^{+}\) for the hydrolysis of one ATP to store potential energy in the form of ionic gradients of both \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) [38, 51]. The fact that this ratio of using the concentration gradients of \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) is lower than 3:2 can be explained by the following mechanism. Unlike the stored \(\hbox {K}^{+}\) concentration gradient, the stored \(\hbox {Na}^{+}\) concentration gradient is used not only to provide energy for membrane potential changes but also to move other ions or neurotransmitters, such as \(\hbox {H}^{+}\) and GaBa dopamine, up their concentration gradients [38]. Thus, it is likely that the most energy-efficient firing pattern makes full use of the concentration gradients of \(\hbox {Na}^{+}\) and \(\hbox {K}^{+}\) in a ratio close to but somewhat less than 3:2. For SBF patterns in general, this ratio is close to 1 (from 1.047 to 1.165). Therefore, SBFs, which consume negative energy and positive energy in a balanced way, are actually making relatively full use of the stored energy created by Na/K-ATPase pumps. In fact, firing spikes alone without hyperpolarization consumes more of the \(\hbox {Na}^{{+}}\)concentration gradient, while hyperpolarization consumes only the \(\hbox {K}^{{+}}\)concentration gradient. Hence, the timing structure of SBF patterns—the hyperpolarization process that follows a short burst of spikes—helps to balance the use of \(\hbox {Na}^{+}\) and \(\hbox {K}^{{+}}\)concentration gradients.

In contrast, high-frequency patterns make excessive use of the potential energy stored in the \(\hbox {Na}^{+}\) concentration gradient without fully using the energy stored in the \(\hbox {K}^{+}\) concentration gradient. This unbalanced usage of ion concentration gradients may result in inefficient use of energy stored in the neuron. The redundant \(\hbox {K}^{+}\) concentration gradient may be passively released at rest through leakage \(\hbox {K}^{+}\) channels [38] without inducing a change in the membrane potential, resulting in a waste of energy. However, such high-frequency patterns are commonly observed in fast-spiking interneurons in sensory systems, suggesting that the evolutionary pressure for these neurons may be to propagate spikes rapidly rather than give priority to save energy to increase energy efficiency [22, 24]. Low-frequency patterns, on the other hand, under-consume energy stored in the \(\hbox {Na}^{+}\) concentration gradient and over-consume energy stored in the \(\hbox {K}^{{+}}\)gradient. The redundant \(\hbox {Na}^{+}\) concentration gradient may spontaneously induce sparse spikes [51], also leading to a waste of energy in terms of information transmission.

Our study measured carried information in terms of the variability of spike trains. Information is weakly correlated to the number of firing spikes in high-frequency firing patterns. It is more efficient to produce informative spikes through a mix of short bursts and single spikes to augment the amount of transmitted information. The findings are in line with those in the study by Naud et al. [4], in which sparse bursts help to maximize the information transferred in multiplexed coding. In reality, however, the coding of information is likely to be more complex [11,12,13,14, 52]. Indeed, a recent study argues that high-frequency bursts and low-frequency single spikes in the same spike train can encode different types of information, and burst modes may carry much more information than previously thought [53]. Further study on the information carried in bursts and single spikes is needed to evaluate the efficiency of different firing patterns.

Nevertheless, our results do support the experimental findings of Laughlin et al., that “the minimization of the metabolic cost promotes the distribution of signals over a population of weakly active cells” [16]. We extrapolate from the relationship between carried information and energy consumption (Fig. 5a) that in a multi-neuron system, two or more neurons firing in SBF patterns are able to transmit significantly more information than does a single neuron firing high-frequency spikes when they consume the same amount of energy. Thus, in terms of energy efficiency, it is preferable for the sensory system to use multiple neurons to do the work of a single neuron operating at high energy intensity. Indeed, in sensory systems, medium-frequency SBF patterns are very common [1,2,3,4,5,6, 54]. This prevalence of SBFs thus supports the view that in the trade-off between maximizing carried information and minimizing energy consumption, the sensory system gives priority to limiting energy costs over maximizing information in order to achieve greater energy efficiency [16, 20, 55].

In this study, we examined the energy efficiency of different neural firing patterns simulated with the Chay neuron model. We concluded that medium-frequency SBFs are more energy efficient than other firing patterns. Although our findings are consistent with those in previous studies [4, 16], we are aware that these results can be based on the limited number of firing patterns simulated by the Chay model. Other firing patterns simulated by alternative neural models [56,57,58] should be studied in order to substantiate our findings. It will be also useful to explore the neural energy utilization of different firing patterns at the level of the neural network to gain a better understanding of the encoding mechanism of neural information processing under energy limitation [52, 59,60,61,62].