Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Apr 25;18(4):e0284610.
doi: 10.1371/journal.pone.0284610. eCollection 2023.

Quantum spin models for numerosity perception

Affiliations

Quantum spin models for numerosity perception

Jorge Yago Malo et al. PLoS One. .

Erratum in

Abstract

Humans share with animals, both vertebrates and invertebrates, the capacity to sense the number of items in their environment already at birth. The pervasiveness of this skill across the animal kingdom suggests that it should emerge in very simple populations of neurons. Current modelling literature, however, has struggled to provide a simple architecture carrying out this task, with most proposals suggesting the emergence of number sense in multi-layered complex neural networks, and typically requiring supervised learning; while simple accumulator models fail to predict Weber's Law, a common trait of human and animal numerosity processing. We present a simple quantum spin model with all-to-all connectivity, where numerosity is encoded in the spectrum after stimulation with a number of transient signals occurring in a random or orderly temporal sequence. We use a paradigmatic simulational approach borrowed from the theory and methods of open quantum systems out of equilibrium, as a possible way to describe information processing in neural systems. Our method is able to capture many of the perceptual characteristics of numerosity in such systems. The frequency components of the magnetization spectra at harmonics of the system's tunneling frequency increase with the number of stimuli presented. The amplitude decoding of each spectrum, performed with an ideal-observer model, reveals that the system follows Weber's law. This contrasts with the well-known failure to reproduce Weber's law with linear system or accumulators models.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Quantum spin model.
(a) Diagram of the spin system with variable connectivity, we present the case of nearest-neighbour and all-to-all coupling; (b) Diagramatic representation of the Hamiltonian and dissipative terms: each spin can propagate an excitation to its neighbours through the exchange term with amplitude J. Each spin experiences an energy offset given by the state of its neighbours. This energy shift is given by a gaussian profile centered in each spin with amplitude Δ0, (c). Finally, each spin can interact with different dissipative channels, (d) leading to excitation losses and dephasing with a rate γi.
Fig 2
Fig 2. Magnetisation profiles.
(a) Evolution of the local magnetisation σiz for a system with M = 7 sites, J = 1, Δ0 = 0, γl = 0 starting from a single excitation (spin up) on the middle site at t = 0 and nearest neighbor (n.n.) coupling. The dashed line highlights the magnetisation spreading in a light-cone manner; (b) same as (a) for Δ0=0.1,σ=1/2; (c) same as (a) for Δ0=0.1,σ=2/2; (d) same as (a) for γl = 0.1; (e)-(h) Same as (a)-(d) for the all-to-all (a.a.) case. In the n.n., we can observe that the excitation propagates in a light cone until reaching the boundaries, and then oscillates back and forth. The addition of interaction leads to space modulations that build over time changing quantitatively the magnetisation but without affecting the general behaviour. Inclusion of a spin decay rate γl ≠ 0 leads to the loss of the excitation over time. In contrast, the a.a. does not display any excitation cone and the spin up evenly spreads to all the neighbours and bounces back and forth with a constant frequency, including interaction we observe again the appearance of space modulation in the propagation profile.
Fig 3
Fig 3. Frequency spectrum of the magnetisation.
Amplitude spectrum of the magnetisation σiz on site i = 5 as a function of time in a system with parameters M = 7 sites, J=1,Δ0=0.1,σ=1/2,γl=0 for varying number of spin flips during the evolution N = 1, 2, 3 displayed from left to right. In every panel we compare the results for the case of nearest-neighbours and all-to-all coupling, observing that the number of peaks and the overall behaviour of the spectrum shows small differences in the case of n.n., contrasting the a.a. case, where every time that a spin flip connects to a new magnetisation sector a new peak at a constant distance appears in the spectrum, showing the potential ability for the system to count. In both cases, the time domain used was 10 ≤ tJ ≤ 20 after the events occurring in sites i = 1, 3, 5 respectively at fixed times in the initial window between 0 ≤ tJ ≤ 10.
Fig 4
Fig 4. Agnostic estimation protocol summary.
(1) The local time signal of the magnetisation is registered in a chosen time window, after the excitations have entered the system; (2) The spectrum of the signal is computed and then averaged over the number M of sites in the network; (3) Averaging over realisations with excitations at random times, locations, and random angles produces a spectrum template for each numerosity; (4) Sample runs are then compared with the templates, using agnostic decoding; (5) The estimated errors are compared for different numerosities to assert whether the system follows the predicted Weber’s law.
Fig 5
Fig 5. Numerosity estimation in the quantum spin model.
(a) Example magnetisation profile from one of the sampled trajectories for the case of M = 18 spins and N = 4 random spin flips, with Δ0 = 0, γl = 0. (b) Average magnetisation for the same system for a set of Nt = 200 trajectories. As the events have random location and intensity, there is no information in the averaged time signal. (c) Average of the amplitude spectrum of the magnetisation signals in the time window between t=(8J,18+2J): the spectra were computed over individual trajectories and sites, then spaced averaged, and finally trajectory averaged. Here we display only the positive frequencies. (d) Psychometric function results for the quantum spin model with M = 18, and same parameters as in the top panel, where N spin flips random in location, time, and rotation angle, have occurred before registering the magnetisation. (e) Corresponding standard deviation estimates from the fits of the psychometric functions on the left. Here, we compare the previous case where each event is a spin flip of random amplitude (orange) with a case where the rotations where again random but their sum was constrained to be equal to 3π (blue). (f) Weber fraction associated to the results in the middle panel.
Fig 6
Fig 6. Decoder validation.
(a) Weber fraction associated to the decoding of numerosity for the magnetisation signals with random amplitude excitations (RR) in Fig 5, for varying number of trajectories Nt = 3, 5, 10, 40 with which we construct our library templates. We observe that the decoding converges with a very limited number of samples. (b) Weber fraction associated to the frequency decoding for sinusoidal activation maps with frequency ranging from f = 1 − 18, both noiseless and with noise proportional to the inverse of the frequency. We show that the decoder does not incorporate additional noise to the analysis by comparing the performance of both classical signals.

References

    1. Dehaene S. The neural basis of the Weber—Fechner law: a logarithmic mental number line. Trends Cogn Sci. 2003;7:145. doi: 10.1016/S1364-6613(03)00055-X - DOI - PubMed
    1. Gallistel CR, Gelman R. Non-verbal numerical cognition: from reals to integers. Trends in Cognitive Sciences. 2000;4(2):59–65. doi: 10.1016/S1364-6613(99)01424-2 - DOI - PubMed
    1. Anobile G, Turi M, Cicchini GM, Burr DC. Mechanisms for perception of numerosity or texture-density are governed by crowding-like effects. Journal of Vision. 2015;15(5):4–4. doi: 10.1167/15.5.4 - DOI - PMC - PubMed
    1. Testolin A, Dolfi S, Rochus M, Zorzi M. Visual sense of number vs. sense of magnitude in humans and machines, Sci. Rep., vol. 10, no. 1, pp. 1–13, 2020. doi: 10.1038/s41598-020-66838-5 - DOI - PMC - PubMed
    1. Burr D, Ross J. A visual sense of number. Current Biol. 2008;18:425. doi: 10.1016/j.cub.2008.07.052 - DOI - PubMed

Publication types