Introduction

Aging is often accompanied by cognitive deficits such as forgetfulness, distractibility, inflexibility1, reduction in speed of processing2, working and episodic memory3, inhibitory function4, and long-term memory. Along with these cognitive changes, aging is also a major risk factor for dementia and neurodegenerative disorders5. There are a number of age-related structural changes that occur in the brain at various levels: synapses6, dendrites7, circuits8, gray-matter volume9. Furthermore, some dynamic properties associated with aging have been reported10, however, the effect of dendritic pruning caused by aging on neuronal dynamics remains largely unknown.

It is well established that neurons can undergo several major structural changes during aging11,12. Firstly, the number of dendritic spines decreases6,11. As spines are regions of dense synaptic connections, neurons with fewer spines are often subjected to a reduced number of incoming synapses. Secondly, aging can alter the geometry of dendritic branches. For example, it has been found that aging neurons in humans show lumps and localized swelling that were not present in the control group13. Thirdly, the complexity and size of the dendritic arbor is progressively reduced. In pyramidal neurons, a recession of basal dendrites has been observed, followed by a retraction of the apical dendrites towards the main shaft13. Over time, the protrusion and branching order of neurons can decrease significantly, though the exact timescales over which these changes occur are not well known. These morphological changes have been observed across species14,15,16,17 and in different cell types15,18,19, with varying severity. The effect of aging is amplified by high senility13, or in the presence of neurodegenerative disorders11,20,21,22.

Given that dendrites perform vital computations that shape the neuron’s output23,24,25, changing the structure can impede normal neuronal functioning and disrupt neural circuits. Exactly what adverse effects does a receding dendritic tree induce? What types of structural changes are detrimental? These questions cannot be answered easily because of the complex biophysical behavior of neurons that depends on a large number of dynamic internal and external factors. While associations of the effects of aging neurons exist—such as memory loss1, a decrease in cognitive ability26, and lower reaction and processing speeds2—the specific role that topology, and changes therein, plays in the functioning of single neurons is not well known6,27. Furthermore, a number of factors (years of education, lifestyle, occupation, genetics, brain size, number of synapses, and so on) have been proposed to explain the broad diversity that is observed in the impact of cognitive impairments associated with neurodegeneration. Identifying the importance of some of these factors has been a main approach to explain differences in resilience to neurodegenerative damage within a population. Within this realm, the accumulation of protective factors increases this resilience. This is the foundation of influential concepts like brain reserve28, and cognitive reserve29. Nonetheless, the neuronal basis of these protective factors is unclear.

Previous work proposed to apply a minimal model to the dynamics of active dendrites and to explore the behavior of realistic neuron morphologies that have been stored in an open database with over 100,000 neurons30. In this way, the dendritic structure of the neuronal modes can be extremely detailed and realistic, and provide insights into the spatial dependence of the dynamics. In this paper, we develop a new pruning algorithm (available at http://www.sng.org.au/Downloads) that models the effects of aging on neuronal structure to address: How do topological changes, as seen in aging and neurodegenerative disorders, impede a neuron’s normal functioning? Specifically, we characterize fundamental dynamical properties (energy consumption and dynamic range) of different neurons receiving stochastic synaptic input at hundreds to thousands of compartments as the levels of neuronal degeneration (dendritic pruning) progressively accumulate.

Results

To model the dendritic regression often observed in aging neurons, we iteratively removed the terminal compartments of the neuron reconstructions (see “Methods” for details). This pruning algorithm reproduces a reduction in the size and complexity of the dendritic arbor (Fig. 1). In this example of a human pyramidal neuron, the basal dendrites slowly disappear, while the apical tuft retracts towards the main stem. A critical change occurs in the structure at iteration 24, at which the number of dendritic stems connecting to the soma reduces to 1. Only a single bifurcation remains at the top of the apical dendrites, which disappears at iteration 27. After this, the stem linearly reduces in size until disappearing completely at iteration 46.

Figure 1
figure 1

Dendritic pruning and neuronal aging. (a) Human neurons in their various aging stages (adapted with permission from13). (b) Snapshots of a digitally recreated human neuron (Neuron A, see “Methods”) in various stages of simulated aging. The number below each neuron signifies the pruning iteration (see “Methods”). Basal dendrites are colored in green, while apical dendrites are colored purple. The soma (blue) is shown by the black arrow. (c) The number of compartments as a function of the pruning iteration. (d) The number of bifurcations as a function of the pruning iteration. (e) Relative centrality of the pruned neuron (see “Methods”). At the red arrow, a single dendritic branch remains, which bifurcates once at the top of the apical tree.

For the different pruning iterations, we simulated the dynamics of the neuron, considering the dynamics of each compartment as a minimal excitable system (modeled as a cyclic cellular automaton and illustrated in Fig. 2a,b). We studied seven neurons (labelled Neuron A, B,…G; see “Methods” for details). As explained in detail in “Methods”, each quiescent compartment can become active driven by stochastic synapses with a rate h, or by a propagation of input from a neighbor compartment with probability P. For a full illustration of the dynamics of the model, see Supplementary Video 1. A snapshot of the video is presented in Fig. 2c. As demonstrated previously30, the average firing rate is heterogeneous and depends on the neuronal topology (Fig. 2d), which may facilitate dendritic computations24. For each compartment, the firing rate and dynamic range can be measured, and they show specific spatial patterns such as amplification of dynamic range at bifurcation points30. Here we will focus on these measures specifically at the soma (Fig. 2e). In addition, we will also focus on the total energy consumption and the relative energy consumption of neurons (as a function of the two control parameters: P and h, and shown in Fig. 2f,g). Here, the total energy consumption is defined as the average number of total dendritic spikes observed for every one somatic spike. The relative energy consumption indicates the mean number of dendritic spikes per dendritic compartments observed for each somatic spike (see “Methods”). As demonstrated in Fig. 2h, the relative energy consumption was previously shown to be an effective index to classify different types of neuronal dynamics30. This dynamical classification reflects two topological features of dendrites: centrality of the soma, and the number of dendritic branches connected to the soma. These dynamical features shown in Fig. 2 will be explored in more detail here as neuronal dendrites are progressively pruned.

Figure 2
figure 2

Dynamical description of the neuronal model. (a) We use detailed digital neuron reconstructions from NeuroMorpho.org. The dendrites are partitioned into fine compartments. (b) The network of compartments forms an excitable tree to account for dendritic spikes. Each compartment undergoes the same type of dynamics. A temporal evolution of states of a compartment is shown here, corresponding to the susceptible (green), spiking (red), and refractory (yellow) stages of a dendritic spike. (c) Snapshot of neuronal dynamics with \(h=0.5\) and \(P=0.96\)30. For a full illustration of the dynamics, please refer to Supplementary Video 1. (d) The firing rate of each compartment can be plotted for a particular set of parameters h and P (here, \(h=1.12\) and \(P=0.9\) using Neuron B, see “Methods” and Table 1), which govern the external driving and the dendritic excitability (see “Methods” for details), to obtain a map of most active regions within the neuron. Warm colors correspond to high firing rates, and cold colors to low firing rates. (e) Plotting the average firing rate of a particular compartment against the input rate h yields the response curve. The range of h values over which the firing rate varies most (between 10% and 90% of the maximum firing rate, F10 and F90) is called the dynamic range Δ. This example uses Neuron B with \(P=0.9\). (f) The energy consumption of a neuron is given by the number of total dendritic spikes per somatic spike, and is plotted over the parameter space. This example uses Neuron B. (g) The relative energy consumption represents the number of times a dendritic compartment fires, on average, per somatic spike. If it is less than 1, the neuron is energy efficient because dendrites effectively amplify the neuronal output (somatic spikes). If it is larger than 1, the neuron is considered energy inefficient. This example uses an interneuron from the Drosophila30,31. (h) Based on the number of branches connected to the soma and its centrality, neurons can be classified into four functional types: energy efficient (Type 1), partially efficient/inefficient (Type 2), energy inefficient (Type 3), and a transitional type (Type T) which can exhibit a mixture of the other types. See reference30 for more details on the functional classification of neurons based on energy consumption.

The highly heterogeneous structure of the dendrites leads to complex non-linear interactions between signals. As the size and complexity of the dendrites reduces, the activity in the neuron becomes sparser. This occurs mainly because the rate of new dendritic spikes due to synaptic input increases with the number of compartments. This dependence of the neuronal size and activity leads to an overall effect on the energy consumption of the neuron (Fig. 2f). The energy consumption also depends on the main parameters of the model, as it is more pronounced for larger values of h and P. In general, smaller neurons are more economical, and hence our model predicts that the energy consumption of a neuron reduces as it ages (Fig. 3). This reduction in energy consumption with aging is particularly effective during the expensive dynamical regimes (large input rate h and excitability P).

Figure 3
figure 3

Effect of aging on total energy consumption. The total energy consumption is the total number of dendritic spikes per somatic spikes (see “Methods” for a formal definition). (a) Snapshots of the Neuron A after pruning iterations. (b) The total energy consumption of the neuron as a function of the pruning iteration, averaged over the parameter space \(0.5\le P\le 1\) and \({10}^{-2}\le h\le {10}^{3}\). (c) Snapshots of the total energy consumption at specific pruning iterations over a range of parameters P and h. The number at the top of each panel represents the iteration (marked by the vertical lines in b).

Another complementary measure is the relative energy consumption, which normalizes the energy consumption by the number of dendritic compartments, and compares the mean activity of dendritic compartments against the soma (see “Methods”). This relative energy consumption is inversely related to how efficiently the neuron uses its dendrites to fire. A low relative energy consumption is observed when the mean number of somatic spikes is larger than the number of dendritic spikes per compartments. In this case, the neuronal topology amplifies the activity at the soma. As shown in Fig. 4, the relative energy consumption increases significantly as the complexity of the dendritic tree decreases. However, once all dendrites except the main apical shaft have been removed (see Fig. 1), it tends to decrease slightly. This highlights the importance of dendritic topology to shape the relative energy consumption. If the relative energy consumption is below 1, the neuron is generally efficient. If it is above 1, the neuron is generally inefficient. Therefore, as neuronal pruning accumulates, although the total number of dendritic spikes reduces, it becomes less energy efficient.

Figure 4
figure 4

Effect of aging on relative energy consumption. The relative energy consumption is the mean number of dendritic spikes (across dendritic compartments) per number of somatic spikes (see “Methods” for a formal definition). (a) Snapshots of the Neuron A after pruning iterations. (b) The relative energy consumption of the neuron as a function of the pruning iteration, averaged over the parameter space \(0.5\le P\le 1\) and \({10}^{-2}\le h\le {10}^{3}\). (c) Snapshots of the relative energy consumption at specific pruning iterations over a range of parameters P and h. The number at the top of each panel represents the iteration (marked by the vertical lines in b).

Large dendritic arbors are known to increase the dynamic range32, which determines what range of input strength the neuron can effectively encode in its output33, and it is quantified based on the response function. Response functions reveal how the firing rate (output) of the soma changes with the input strength. As shown in Fig. 5, response functions are substantially affected by dendritic pruning. In general, pruning reduces the firing rate and the capability of the neuron to respond to weak stimuli. Therefore, the dynamic range is also progressively reduced with pruning iterations. The higher the signal propagation probability P, the higher the dynamic range. At high values of P, the dynamic range decreases more evenly over the pruning iterations. At lower values of P, the decrease in dynamic range occurs abruptly as the neuron approaches the point of major structural change (red arrow). It indicates the iteration at which only a single dendritic stem is connected to the soma. In general, the dynamic range decreases with pruning for all neurons following different patterns but they eventually converge to the same value, and a similar convergence is also seen for the relative energy consumption (see Supplementary Fig. 1).

Figure 5
figure 5

Change in dynamic range as a result of dendritic pruning. (a) Neuron A for different pruning iterations. (b) Response function of the soma at various iterations corresponding to the plots in (a). (c) Dynamic range at the soma for various P values. The red arrow indicates the point at which the neuron reduces to a single segment with no bifurcations (iteration 24). Please note the different scales.

We have shown that Neuron A reduces its energy consumption as it ages, but becomes less efficient. Furthermore, the dynamic range at the soma is reduced with age. Figure 6 shows that these findings also hold for other neurons. In each case, the point at which the number of somatic stems reduces to 1 (red arrow) closely corresponds to the most inefficient state (Fig. 6c).

Figure 6
figure 6

Effect of aging in the dynamics of different neurons. See “Methods” and Table 1 for a detailed description of the neurons. (a) Digital recreation of intact neurons. The soma is shown in blue, basal dendrites in green, and apical dendrites in purple. (b) The total energy consumption of the neurons as a function of the pruning iteration, averaged over the parameter space \(0.5\le P\le 1\) and \({10}^{-2}\le h\le {10}^{3}\). (c) The relative energy consumption of the neuron as a function of the pruning iteration, averaged over the parameter space \(0.5\le P\le 1\) and \({10}^{-2}\le h\le {10}^{3}\). Energy efficient stages are represented by the blue region, while energy inefficient stages are represented by the red region. (d) Dynamic range at the soma for P = 0.8. The red arrows mark the iteration at which the neuron is reduced to a single branch with no bifurcations.

In a previous work30, we proposed a functional classification of different types of neurons based on their relative energy consumption (Fig. 2h). Neurons were grouped into four categories depending on the relative centrality of the soma, and the number of dendritic branches connected to the soma. Type 1 indicates energy efficient neurons and have multiple branches connected to the soma; Type 2 neurons and the transition Type T have both efficient and inefficient regions but Type 2 has only one branch connected to the soma while Type T has bitufted neurons (which have two dendritic branches connected to the soma); and Type 3 neurons are inefficient. This classification can be used to explore the relationship between changes in neuronal topology that takes place with pruning and energy efficiency. We subjected neurons to aging, and mapped them into the classification space according to the structural changes that occur (Fig. 7). As aging progresses, dendritic pruning increases, and both centrality and the number of branches connected to the soma decrease. In this process that takes place with age, energy efficient neurons of Type 1 approach and cross to the transition Type T and then to Type 3, which is inefficient. Crucially, the process is not homogeneous as some pruning steps yield large jumps in this parameter space whereas others are essentially harmless.

Figure 7
figure 7figure 7figure 7

Neuronal classification scheme varies with pruning. (a) Evolution of seven neurons in the branch-centrality space that is used for classification. Color corresponds to the relative energy consumption, averaged over the parameter space \(0.5\le P\le 1\) and \({10}^{-2}\le h\le {10}^{3}\). The three symbols (square, triangle, and star) indicate the points at which snapshots are shown in panel b. (b) Snapshots of the dendritic structure and corresponding relative energy consumption profile after the specified number of pruning iterations. (c) Relative energy consumption of neurons as a function of centrality. With pruning iterations, the centrality decreases (marked by the direction of the black arrow, and also shown in Fig. 1e).

Discussion

Aging in the brain can have adverse effects on memory and normal cognitive function. Similar impairments can also be observed in neurodegenerative diseases such as dementia and Alzheimer’s disease11,21. Understanding how dendritic recession contributes to this can be an important step in the mitigation and prevention of some of the negative effects. Here we put forward a model of dendritic pruning to study the dynamical and functional effects of aging and neurodegeneration at the neuronal level. We find that dendritic pruning reduces the total energy consumption. However, despite that, the neuron also becomes less efficient, as it usually requires more dendritic spikes to generate a neuronal spike. Moreover, this pruning reduces the dynamic range, the neuron’s ability to distinguish incoming input that varies over several orders of magnitude.

There is a notion of “successful” aging, in which the impairments caused by age are minimal6,34. What are the criteria under which a neuron may continue to function normally while undergoing dendritic recession? Our results suggest that the centrality of the soma is a main indicator of the neuron’s resilience to aging, or a “neuronal reserve”, as an analogy to brain reserve28, neural reserve35,36,37, and cognitive reserve29. As aging accumulates, the centrality of neurons is reduced and the relative energy consumption increases (Fig. 7c), however, for all neurons the relative energy consumption only surpasses the threshold of 1 (a turning point at which the neuron becomes inefficient) for values of centrality smaller than 0.3. For example, neurons B and C have somas that are located more centrally (Fig. 7). The more central a soma is located, the more evenly the dendrites are pruned towards the soma, allowing it to maintain its high centrality over many pruning iterations. Neurons with central somas are able to achieve better efficiency of the dendritic tree (lower relative energy consumption). In contrast, a non-central soma results in an asymmetric pruning, which in turn puts the soma at an even less central position. This accelerated reduction in centrality is more clearly observed for neurons with lower centrality, such as Neurons E and F (Fig. 7, see also Fig. 6c). Therefore, our results suggest that the centrality of the soma can be considered a protective factor that is crucial to preserve neuronal performance, and a main indicator of neuronal reserve (or maintenance34), which quantifies the neuronal resilience to aging.

Modeling studies with neurons with idealized and regular tree structure showed that the size of dendritic trees plays a major role to increase the dynamic range38. A prediction from these regular Cayley trees was that large dendrites amplify weak incoming stimuli and the dynamic range32. Our results are consistent with these predictions. Furthermore, previous work concluded that bifurcations are an important topological feature that can increase the dynamic range30. Consistently with these results, a reduction in size and complexity of dendrites implies a lower dynamic range. However, our results also show that the dendritic pruning affects the dynamic range non-homogenously. We have shown that neurons can eventually reduce to a single-branch neuron during their aging process. This is a landmark topology that affects the dynamic range and energy consumption of neurons. A single-branch neuron is a one-dimensional network of coupled active units, for which analytical approximations are known39. For example, the approximations predict that the dynamic range is enhanced for higher values of P, which is in agreement with our results (Fig. 4). For the multi-dimensional case, mean-field approximations also exist to determine the maximum dynamic range a system can attain40. Our results demonstrate that the dynamic range of young neurons decreases as more dendritic compartments are removed. In contrast, the dynamic range of aged (nearly one-dimensional) neurons remains essentially stable for lower values of P (Fig. 5). Here, for simplicity, we considered equivalent all dendritic compartments. Future work can separately assess the effects of dendritic pruning at apical and basal dendrites, which can be particularly relevant in the context of cortical columns and laminar processing41.

Our aim was to characterize the effects of dendritic pruning at the neuronal level. However, the brain is a multiscale system, and topological changes caused by dendritic pruning also affect the number of synapses and the connectivity of neuronal circuits. Numerous modelling studies indicate that changes in the connectivity between neurons can shape their dynamics33,42,43,44,45. Hence, the connectivity and topology of larger ensembles of interconnected neurons is also important for both neuronal and network activity33,46, and additional factors and properties that were not accounted for here, such as synaptic plasticity and excitatory-inhibitory balance, emerge at larger scales. There are many examples of complex phenomena that take place as a collective behavior of many interacting neurons, and intricate mechanisms involved in the dynamics depend on the topology of the network, which is clearly shown in neuronal cultures47,48. Future work simulating the dynamics of a large network of neurons may be explored to assess the impact of dendritic loss on the topology and dynamics of neuronal networks. Currently, the timescales involved in the dendritic recession in aging neurons are not known. Here, we have made the assumption that the dendrites are pruned progressively and evenly. Over time, this successfully reproduces morphologies with reduced complexity and size that have been observed experimentally (Fig. 1). In the future, our algorithm can be modified to stochastically remove N terminal compartments per iteration. Furthermore, it has also been suggested that aging neurons can lose whole branches at a time13. This could be implemented by removing random compartments, and all of their children, per iteration. By observing the severity in the change of dynamic range caused by such a removal, it may be possible to identify dendritic segments that are critical in maintaining the proper functioning of the neuron.

Functional decline in working memory that takes place during aging can be associated to the function of specific neuron types1. Cognitive studies of human subjects have revealed that memory degradation can especially inhibit the ability to discern similar experiences, called pattern separation49,50. Our results suggest a neural basis of these behavioral effects of aging. If we assume that similar patterns correspond to similar rates of synaptic input, we can compare the neuronal output for these values of input of an aged neuron to a neuron whose dendritic integrity is intact (Fig. 8a). Because young neurons have larger dynamic range, for slight variations in relatively weak stimuli, we can see that dendritic pruning adversely affects the neuron’s ability to discern changes of input strength, which can lead to an impairment in pattern separation, or the ability to distinguish between the different input values.

Figure 8
figure 8

Effects of aging on the neuronal dynamic range. (a) The response functions of a young (blue) and aged (orange) neuron reveal that young neurons can more effectively distinguish and encode similar strengths of input (green) because they have a larger dynamic range. Here, P = 0.95. (b) Aging-related pruning decreases the dynamic range of neurons. By increasing the dendritic excitability, P, ageing neurons can partially mitigate this effect (solid orange line).

Moreover, it has been shown in primates that by manipulating potassium channels, it is possible to partially restore the physiological integrity of neurons1. Following a similar approach, our results indicate that excitability could also be explored to mitigate reduced cognitive abilities in elderly. In particular, the dynamical effects of aging on the response function and dynamic range can be at least partially restored by increasing the neuronal excitability P (Fig. 8b). Because this parameter in our model is rather general and unspecific, multiple possible electrophysiological manipulations could give rise to this net effect over P. Although further work is required, these ideas of rejuvenating neuronal dynamics can be a promising avenue of future research in an aging society.

Methods

Neurons and database

Detailed digital reconstructions of neurons were taken from the NeuroMorpho database51,52,53,54,55,56. The dendritic branches are made up of often thousands of connected compartments and include many bifurcations. Here, the soma is represented as a single compartment. The list of neuron reconstructions used here is given in Table 1.

Table 1 List of neuron reconstructions used in this study, taken from NeuroMorpho.Org (version 7.6).

Pruning algorithm

It has been shown that the dendritic arbor in aging neurons can retract, decreasing both in size and complexity (branching order)13,15,19. For this study, we considered an iterative approach to simulate these changes. We start with the full neuron reconstruction, as provided by NeuroMorpho. A compartment that does not have any children is considered a terminus. In each iteration, we remove all terminal dendritic compartments. This has the effect of progressively pruning each branch towards the soma. Our main focus is on the effects of topology on neuronal dynamics. Since the neurodynamical model used here does not explicitly model synapses, synaptic changes relating to aging6 are ignored. Similarly, changes in the shape or radius of dendritic branches13, as well as chemical changes63, are not explicitly modeled.

Neuronal dynamics

Dendritic spikes were modeled using an excitable network of dendritic compartments seen in previous studies32,33,64. Compartments are modelled as probabilistic cellular automata with synchronous update65. A compartment in the susceptible state can be activated either by receiving the signal from a neighboring compartment with probability P, or by external input with rate h30,32,43. External inputs represent dendritic spikes invoked by synapses. Since not much data is available regarding the locations of synapses along the dendrites (there can be thousands), and since many underlying factors are responsible in the synaptic transmission process, the external input was modeled stochastically, with the probability of activation at some time step given by \(r=1-\text{exp}\left(-h\times \delta t\right)\), where δt is the time resolution (0.001 s). Active compartments will transition to the refractory state in the next time step, in which they remain for 7 steps, preventing sustained activity66, then revert to the quiescent state. The three states correspond to the spiking behavior of electrically excited compartments (Fig. 2b,c).

Average compartmental firing rates as a function of h are used to construct the response function (illustrated in Fig. 2e). It maps the input–output behavior of the compartment30. A characteristic quantity derived from the response function is the dynamic range, defined as

$$\Delta ={\text{log}}_{10}\left(\frac{{h}_{90}}{{h}_{10}}\right)\times 10,$$

where \({h}_{10}\) is the input rate required to produce \({F}_{10}\), and \({h}_{90}\) is the input rate required to produce \({F}_{90}\). \({F}_{x}\) is the firing rate that corresponds to \(x\)% of the maximum possible firing rate33.

The simulations were run for a duration of 500,000 time steps for neurons A–D and 100,000 time steps for neurons E–G on each pruning iteration. The activation rate h was varied over several orders of magnitudes, and the propagation probability P was varied over \(0.5\le P\le 1\). We have neglected P < 0.5 because the signal dies out quickly in this regime.

Energy consumption

Energy is required to control the movement of ions during a dendritic spike. Despite differences in behavior due to variations in chemical and geometric properties of the dendritic membrane, we generalize spikes such that a firing compartment consumes one unit of energy30. Therefore, the energy required to generate a spike at the soma is given by the ratio of the number of spikes in dendritic compartments to the number of somatic spikes during the course of the simulation:

$$E=\frac{{\sum }_{i=1}^{N}{S}_{i}}{{S}_{0}},$$

where \({S}_{i}\) refers to the total number of spikes in compartment \(i\) , compartment 0 refers to the soma, and there are N dendritic compartments.

To gauge how effectively the neuron uses its dendrites to generate somatic spikes, we use a similar measure, called the relative energy consumption,

$${E}_{rel}=\frac{{\sum }_{i=1}^{N}{S}_{i}/N}{{S}_{0}}.$$

If \({E}_{rel}<1\), dendritic compartments generally fire less often than the soma. Dendritic spikes are required only for integration24, whereas somatic spikes are vital because they directly govern the functioning of the neuron67,68. Thus, we say that the neuron is energy efficient. Conversely, if \({E}_{rel}>1\), the neuron is energy inefficient.

Soma centrality

A compartment’s centrality is defined as the distance (number of compartments) to the farthest terminal compartment, located in one of the edges of the neuron. It is then normalized and scaled between 0 and 1, relative to the centralities of all other compartments30. The least central compartment has a centrality of 0 and has the farthest distance to a terminal compartment, while the most central compartment in a neuron has a centrality of 1 and it has the shortest distance to the most far compartment of the neuron. Because neurons are trees, which can be considered as connected networks without loops, this measure of centrality is well defined for each compartment. Here we will focus on the centrality of the soma, and for simplicity, we will call it only “centrality”. In Graph theory, there are various measures of node centrality69,70,71, including degree72, participation index73, betweenness centrality74,75, and eigenvector centrality76. These metrics were designed to estimate the relevance of a node arbitrary complex networks and have found applications in many systems69. Our simple mesure of centrality proposed here is designed to capture a basic topological feature of the soma position with respect to dendritic compartments. Detailed examples of relative centrality in a variety of neurons are presented in reference30.