Figures and data
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig1.tif/full/max/0/default.jpg)
Sketch of the model architecture and biological examples at different scales. (a) A receptor R transitions between an active (A) and passive (P) state along two pathways, one used for sensing (red) and affected by the environment h, and the other (blue) modified by the storage concentration, [S]. An active receptor increases the response of a readout population U (orange), which in turn stimulates the production of storage units S (green) that provide negative feedback to the receptor. (b) In tumor necrosis factor (TNF) signaling, we can identify a similar architecture. The nuclear factor NF 𢈒 κB is produced after receptor binding to TNF. NF − κB modulates the encoding of the zinc-finger protein A20, which closes the feedback loop by inhibiting the receptor complex. (c) Similarly, in olfactory sensing, odorant binding induces the activation of adenylyl cyclase (AC). AC stimulates a calcium flux, eventually producing phosphorylase calmodulin kinase II (CAMKII) which phosphorylates and deactivates AC. (d) In neural response, multiple mechanisms take place at different scales. In zebrafish larvae, visual stimulation is pro jected along the visual stream from the retina to the cortex, a coarse-grained realization of the R-U dynamics. Neural habituation emerges upon repeated stimulation, as measured by calcium fluorescence signals (dF/F0) and by the corresponding 2-dimensional PCA of the activity profiles.
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig2.tif/full/max/0/default.jpg)
Evolution of the model under a switching external field H(t). (a) The change in the average readout population Δ 〈U〉 between the first signal and after a large number of signals, as a function of the inverse temperature β and the energetic cost of storage σ. Δ 〈U〉 quantifies the habituation strength. (b) The change in the mutual information between the readout population and the external field, ΔIU,H. A region with maximal information gain corresponds to intermediate habituation strength. (c) The change in the feedback information ΔIf indicates that, close to the region of maximal information gain, the storage favors information. (d-e) In the region of maximal information gain, the average number of readout units, 〈U〉, decreases with the number of repetitions, while the average storage concentration, 〈S〉, increases. At large times, the system reaches a periodic steady state. (f-g) In the same region, the information encoded on H through the readout, IU,H, increases in time during habituation, boosting in turn the feedback information, ΔIf. (h) The internal dissipation rate due to the production of U and S,
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig3.tif/full/max/0/default.jpg)
Optimality at the onset of habituation. (a-b) Contour plots in the (β, σ) plane of the stationary mutual information
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig4.tif/full/max/0/default.jpg)
The role of memory in shaping habituation. (a) The system response depends on the waiting time ΔTpause between two external signals. As ΔTpause increases, the storage decays and thus memory is lost (green), and consequently the habituation of the readout population decreases (yellow). (b) As a consequence, the information IU,H that the system has on the field H when the new stimulus arrives decays as well. Model parameters for this figure are β = 2.5, σ = 0.5 in the unit measure of the energy, and as specified in the Methods.
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig5.tif/full/max/0/default.jpg)
Habituation in zebrafish larvae. (a) Normalized neural activity profile in a zebrafish larva in response to the repeated presentation of visual stimulation, and comparison with the fraction of active neurons 〈Nact〉 = 〈Nact〉/N in our model with stochastic neural activation (see Methods). Stimuli are indicated with colored dots from blue to red as time increases. (b) PCA of experimental data reveals that habituation is captured mostly by the second principal direction, while features of the evoked neural response by the first one. Different colors indicate responses to different stimuli. (c) PCA of simulated neural activations. Although we cannot capture the dynamics of the evoked neural response with a switching input, the core features of habituation are correctly captured along the second principal direction. Model parameters are β = 4.5, σ = 0.15 in energy units, and as in the Methods, so that the system is tuned to the onset of habituation.
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig6.tif/full/max/0/default.jpg)
Dynamics of a system where U evolves on the same timescale of H, and implements directly a negative feedback on the receptor. In this model, 〈U〉 (in red) increases upon repeated stimulation rather than decreasing, responding to changes in 〈H〉 (in gray) as the storage of the full model. On the other hand, the probability of the receptor being active, pR(r = 1) (black), shows signs of habituation.
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig7.tif/full/max/0/default.jpg)
Effects of the external signal strength and thermal noise level on sensing. (a) At fixed and low σ = 0.1 and constant exponentially distributed signal with mean 〈H〉. As 〈H〉 decreases, the system captures less information and it needs to operate at lower temperatures to sense the signal. In particular, as the temperature decreases, IU,H becomes larger. (b) In the dynamical case, outside the optimal surface, at high β and high σ, storage is not produced and thus no negative feedback is present. The system does not display habituation, and IU, H is smaller than inside the optimal surface (gray area). (c) In the opposite regime, at low β and σ, the system is dominated by thermal noise. As a consequence, the average readout 〈U〉 is high even when the external signal is not present (〈H〉 = 〈H〉min = 0.1), and it captures only a small amount of information IU, H, which is masked by thermal activation. Other simulation parameters for this figure are 〈U〉A = 150, 〈U〉P = 0.5, β = 2/3, and
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig8.tif/full/max/0/default.jpg)
Trade-off between energy dissipation and information with a 3D optimization including information feedback. (a) The optimal surface in the (IU, H, ΔIf, −δQR) space with a constant external field, is obtained through a Pareto-like optimization. (b-d) The values of σ and β inside the optimal surface (gray surface) maximize both the readout information, IU, H, and the information feedback of the storage population, ΔIf, while minimizing the dissipation of the receptor, δQR. (e) At the optimal (β, σ) (gray area, shown at a fixed value of σ « 1.5) the average readout, 〈U〉, and storage, 〈S〉, are at intermediate values.
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig9.tif/full/max/0/default.jpg)
Behavior of the average readout population, 〈U〉, the average storage population, 〈S〉, the mutual information between them, IU, S, and the entropy production of the internal processes,
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig10.tif/full/max/0/default.jpg)
Dynamical optimality under a repeated external signal. (a) Schematic definition of how we study the dynamical evolution of relevant observables, by comparing the maximal response to a first signal with the one to a signal at large times. (b) Behavior of the increase in readout information, ΔIU, H, in feedback information, ΔΔIf, in average storage population, Δ〈U〉, and in entropy production, Δ
![](https://prod--epp.elifesciences.org/iiif/2/99767%2Fv1%2F2301.12812%2F2301.12812v5_fig11.tif/full/max/0/default.jpg)
Effect of the signal duration on habituation. (a) If the system only receives the signal for a short time (Ton = 50ΔT < Toff = 200ΔT) it does not have enough time to reach a high level of storage concentration. As a consequence, both ΔU and ΔIU, H are smaller, and thus habituation is less effective. (b) If the system receives long signals with brief pauses (Ton = 200ΔT > Toff = 50ΔT), instead, the habituation mechanism promotes information storage and thus a reduction in the readout activity. Other simulation parameters are as in Figure S10. Gray area and dashed black line represent the 3dimensional and 2dimensional optimal region where habituation emerges respectively.