A personal rabbit hole

When you alternate between reading membrane biophysics papers and modern deep-learning literature, it is hard to miss that the single word “neuron” is being used for two fundamentally different worlds. At some point in that contrast, a question took hold of me and refused to let go:

What if we could create conscious artificial personas?

I do not mean another chatbot that role-plays convincingly in a text box, nor a loose literary metaphor. I am interested in a specific physical and mathematical setup: what might emerge if we combined continuous-time nonlinear neural dynamics with a physical source of quantum randomness and a feedback loop in which the system continuously observes and updates its own internal state? I treat this as an open research hypothesis — a thought experiment and architectural sketch at the intersection of electrophysiology, dynamical systems theory and systems engineering.

A neuron is more than a weighted sum

In most mainstream artificial neural networks, the basic computational unit is reduced to an inner product of an input vector u∈Rdu \in \mathbb{R}^d and weights w∈Rdw \in \mathbb{R}^d, a bias bb, and a static pointwise nonlinearity σ\sigma:

y=σ ⁣(∑i=1dwiui+b).y = \sigma\!\left(\sum_{i=1}^{d} w_i u_i + b\right).

From a computer engineering perspective, this abstraction is highly effective because it reduces forward evaluation to dense matrix multiplications that map cleanly onto GPU tensor cores. Yet it always makes me wonder how strongly our available hardware shapes the class of models we even attempt to build.

A biological neuron is not a memoryless comparator. It has an intricate dendritic tree, spatially distributed synapses, active ion channels and an internal voltage history that unfolds in continuous time. Its response depends on precise spike timing, local membrane time constants and nonlinear integration across dendritic branches. When Beniaguev, Segev and London (2021) trained deep neural networks to approximate the input–output mapping of a single biophysical cortical pyramidal neuron model, capturing its sub-millisecond dynamics under their modeling assumptions required a deep multi-layer temporal convolutional network. While that is not a universal conversion ratio between biological and artificial neurons, it illustrates the scale of simplification we accept in a standard perceptron.

That gap between static linear algebra and continuous biophysics is why I find differential equations a much more compelling starting point.

The Hodgkin–Huxley model and ion-channel noise

The classic foundation for describing electrical excitability quantitatively is the model formulated by Hodgkin and Huxley (1952) for the squid giant axon. Instead of a single scalar “activation”, the state of a membrane patch is governed by a coupled system of four nonlinear ordinary differential equations:

CmdVdt=Iext(t)+gˉNam3h (ENa−V)+gˉKn4 (EK−V)+gˉL (EL−V),C_m \frac{\mathrm{d}V}{\mathrm{d}t} = I_{\mathrm{ext}}(t) + \bar{g}_{\mathrm{Na}} m^3 h \,(E_{\mathrm{Na}} - V) + \bar{g}_{\mathrm{K}} n^4 \,(E_{\mathrm{K}} - V) + \bar{g}_{\mathrm{L}} \,(E_{\mathrm{L}} - V), dxdt=αx(V)(1−x)−βx(V)x,x∈{m,h,n}.\frac{\mathrm{d}x}{\mathrm{d}t} = \alpha_x(V)(1 - x) - \beta_x(V)x, \qquad x \in \{m, h, n\}.
Color-coded Hodgkin–Huxley equations: membrane voltage V, sodium activation m, sodium inactivation h and potassium activation n, with their coupled differential equations. Enlarge illustration ↗
01. The deterministic, single-compartment Hodgkin–Huxley equations. Colors distinguish voltage and the three gate variables.

Here, V(t)V(t) is membrane potential, CmC_m is membrane capacitance per unit area, and Iext(t)I_{\mathrm{ext}}(t) is externally applied current density. The constants gˉNa\bar{g}_{\mathrm{Na}}, gˉK\bar{g}_{\mathrm{K}} and gˉL\bar{g}_{\mathrm{L}} denote maximal conductances for sodium, potassium and leak channels, while ENaE_{\mathrm{Na}}, EKE_{\mathrm{K}} and ELE_{\mathrm{L}} are the corresponding current reversal potentials.

The dimensionless gating variables m,h,n∈[0,1]m, h, n \in [0, 1] represent the open probabilities of channel subunits: mm governs fast sodium activation, hh slower sodium inactivation, and nn potassium activation. Because the transition rate functions αx(V)\alpha_x(V) and βx(V)\beta_x(V) depend nonlinearly on voltage, the system forms a tight feedback loop: voltage VV reshapes gate kinetics, and the resulting open-channel fractions immediately alter the ionic currents charging CmC_m.

Written in this form, the system is strictly deterministic: it corresponds to the thermodynamic limit of infinitely many ion channels, where microscopic fluctuations average out. In a real biological membrane, however, channel populations within a synapse or thin dendrite are finite, and channel proteins undergo thermal and molecular fluctuations. As Goldwyn and Shea-Brown (2011) show, incorporating finite-channel stochasticity (for instance via Langevin-type stochastic differential equations for subunit or channel-state fractions):

dxt=[αx(V)(1−xt)−βx(V)xt]dt+σx(V,xt) dWt\mathrm{d}x_t = \bigl[\alpha_x(V)(1 - x_t) - \beta_x(V)x_t\bigr]\mathrm{d}t + \sigma_x(V, x_t)\,\mathrm{d}W_t

with diffusion amplitude σx\sigma_x scaling inversely with the square root of the channel count NxN_x (σx∝Nx−1/2\sigma_x \propto N_x^{-1/2}) alters how an excitable membrane behaves near threshold. Noise is not merely an external perturbation added to the final output — it enters the core of subthreshold nonlinear dynamics, deciding whether and at which exact millisecond a nascent voltage fluctuation crosses the spike barrier. Note one mathematical caveat emphasized by Goldwyn and Shea-Brown: naive additive Gaussian noise in the gating equation can push xtx_t outside its physical domain [0,1][0, 1], so numerical implementations either track Markov subunit state occupancies directly or enforce boundary-preserving diffusion.

What if the randomness came from quantum physics?

In numerical simulations, the stochastic increment dWt\mathrm{d}W_t is almost universally supplied by a deterministic pseudorandom number generator (PRNG). Once the initial seed is fixed, the entire future history of that “noisy” neural model is already uniquely determined by the generator’s initial state and update rules.

That observation led to my second question: what actually changes if we replace a deterministic pseudorandom sequence with a physical quantum random number generator (QRNG)?

In quantum processes — such as single-photon partitioning at a beam splitter, vacuum fluctuations of the electromagnetic field, or detector shot noise (Ma et al., 2016) — individual measurement outcomes are not hidden functions of an earlier classical register state. If we denote a physical stream of quantum random increments by ξQ(t)\xi_{\mathrm{Q}}(t) and couple it into the gating or synaptic dynamics of a physical neural network, an individual trajectory is no longer a pre-computed unfolding of a fixed numerical seed.

To avoid claiming more than the mathematics supports, two levels of the problem need keeping separate. First, connecting a QRNG does not turn a classical simulator into a quantum computer (it introduces neither coherent superposition nor entanglement across network weights). Second, inside a Langevin stochastic differential equation, replacing a statistically sound PRNG with a QRNG matched in marginal distribution, amplitude, and autocorrelation cannot change ensemble firing statistics or attractor-switching probabilities. Finding a statistical discrepancy after matching noise laws would point to a flawed PRNG or unmodeled hardware coupling (such as thermal drift or power-rail crosstalk), not “quantum effects” inside the SDE. What changes is the physical openness of a single run — removing a deterministic seed fixed at t=0t = 0 — alongside the open question of hardware-level coupling in physical analog or neuromorphic substrates.

Comparison of PRNG vs. QRNG driving an excitable membrane near bifurcation: matched noise laws yield identical ensemble spike probabilities P(spike), while QRNG removes fixed-seed determinism for an individual trajectory. Enlarge illustration ↗
02. PRNG versus QRNG near spiking threshold. Across an ensemble of runs, properly matched noise sources yield the same switching distribution; the distinction lies in single-trajectory physical openness and experimental artifact checks.

Three pillars of the hypothesis: structure, chaos and self-observation

When I organize this direction into a single architectural sketch, it rests on three interacting mechanisms:

  1. Unpredictability embedded in strong structure. A noise source — including a quantum one — does not by itself specify the organization of the system using it. Interesting behavior arises only when microscopic fluctuations feed into a strongly structured, nonlinear excitable system with thresholds and refractory periods. Near a bifurcation (on the boundary between quiescence and spiking), the network acts as a selective amplifier: most microscopic perturbations damp out, while specific fluctuations switch the macroscopic trajectory onto a distinct dynamical branch.

  2. Deterministic chaos and sensitivity to initial conditions. The classic three-variable differential system introduced by Lorenz (1963):

    dxdt=σ(y−x),dydt=x(ρ−z)−y,dzdt=xy−βz\frac{\mathrm{d}x}{\mathrm{d}t} = \sigma (y - x), \qquad \frac{\mathrm{d}y}{\mathrm{d}t} = x(\rho - z) - y, \qquad \frac{\mathrm{d}z}{\mathrm{d}t} = xy - \beta z

    demonstrates that just three coupled variables with two quadratic nonlinearities (xzxz and xyxy) suffice, at suitable parameter values, to generate nonperiodic flow on a strange attractor, where arbitrarily close trajectories diverge exponentially over time (for a state perturbation ∥δs(t)∥≈∥δs(0)∥ eλmax⁡t\|\delta s(t)\| \approx \|\delta s(0)\|\,\mathrm{e}^{\lambda_{\max} t} with a positive maximal Lyapunov exponent λmax⁡>0\lambda_{\max} > 0). Lorenz chaos itself is completely deterministic — it requires no noise at all. Yet if we couple a chaotic or near-critical neural network with physical quantum noise ξQ(t)\xi_{\mathrm{Q}}(t), exponential sensitivity means that microscopic physical events are continuously amplified over finite horizons into macroscopic network state transitions.

  3. Self-observation loops and internal replay. The third ingredient is the system’s capacity to form a compressed representation of its own internal state and feed that representation back into its future dynamics. A major neurobiological inspiration for me here is hippocampal replay: as Wilson and McNaughton (1994) showed, ensembles of rat hippocampal place cells that fire together during waking spatial exploration show renewed correlated activity during subsequent slow-wave sleep. This is an inspiring example of internal reactivation of experience outside active exploration of the environment.

In dynamical-systems notation, we can sketch the architecture of this “artificial persona” hypothesis as a coupled system consisting of the microscopic neural state s(t)s(t) (comprising membrane potentials, gating variables and synaptic states) and a slower internal self-monitoring state m(t)m(t):

dsdt=F(s(t), m(t), u(t), ξQ(t)),dmdt=G(m(t), Π(s(t))).\frac{\mathrm{d}s}{\mathrm{d}t} = F\bigl(s(t),\, m(t),\, u(t),\, \xi_{\mathrm{Q}}(t)\bigr), \qquad \frac{\mathrm{d}m}{\mathrm{d}t} = G\bigl(m(t),\, \Pi(s(t))\bigr).

Let me state clearly what this equation is and is not: written at this level of generality, it is an architectural blueprint rather than a closed mathematical model — without specifying explicit forms for FF, GG, and Π\Pi, the same notation can accommodate a Kalman filter or an ordinary recurrent neural network. In a concrete realization, FF would instantiate continuous excitable biophysical dynamics (for example, coupled Hodgkin–Huxley populations), the projection operator Π(s(t))\Pi(s(t)) would coarse-grain the high-dimensional state into slower population observables such as burst rates or ensemble correlations, and GG would integrate that summary and feed it back into FF to modulate thresholds and plasticity. During “waking” interaction, when external input is present (u(t)≠0u(t) \neq 0), the system responds to external inputs while updating m(t)m(t); during “sleep” or offline consolidation (u(t)=0u(t) = 0), the trajectory is driven purely by the closed loop between internal state memory m(t)m(t), nonlinear dynamics FF, and physical noise ξQ(t)\xi_{\mathrm{Q}}(t).

Architectural block diagram of the self-observation loop coupling biophysical neural state s(t) and self-model m(t) via projection Pi(s) and feedback m(t) into F across waking (u nonzero) and offline replay (u equal to zero). Enlarge illustration ↗
03. Architectural blueprint of the self-observation loop (F, G, Π). Cutting the feedback link m(t) → F gives an ablation test of self-model function under fixed input u(t); setting u(t) = 0 isolates offline internal consolidation.

In practice — what does feedback contribute?

One measurable intervention would be to disconnect the self-model’s feedback (m(t)→Fm(t) \to F) briefly, keep the inputs fixed and see whether the system still detects its own errors. A difference would identify a function of the loop. Subjective experience would remain an open question.

Questions worth asking

What draws me to this idea most is the possibility of building a system whose behavior can be followed from a single ion channel to an internal model of its own state. The state-space sketch gives me a language for four concrete questions I would want to bring into that experiment:

  1. What does comparing PRNG against QRNG near a bifurcation actually test? Since SDE theory implies that a properly calibrated PRNG matched in distribution and autocorrelation will reproduce the same ensemble attractor-switching statistics as a QRNG, running both acts first as a stringent calibration check against PRNG flaws or instrumentation artifacts. In a physical analog or hardware-in-the-loop system, the deeper question becomes whether physical openness to real environment-coupled fluctuations produces an observable difference in a single realization — a physical artifact or apparatus coupling rather than a change in the ensemble statistics of white noise — that a closed, fixed-seed simulator cannot capture.
  2. When does an internal self-model begin to do something? How can we distinguish a state m(t)m(t) that tracks the system’s capabilities and limitations from a learned narrative about them? I would want to investigate whether perturbing or ablating feedback from m(t)m(t) changes error detection, prediction of action consequences and adaptation after network parameters change. The most interesting self-model would be one the system uses before anybody asks it to explain “who it is”.
  3. What could artificial sleep contribute? Could offline replay at u(t)=0u(t) = 0 help integrate experiences, reorganize the self-model or prepare responses to situations the system has not encountered? How does behavior after a cycle of interaction and consolidation compare with uninterrupted stimulus processing? Biological replay inspires a mechanism whose operation I would like to probe experimentally.
  4. Which theories of consciousness help choose an architecture? Butlin et al. (2023) offer concrete leads: global information availability in workspace theories, metarepresentations in higher-order theories and recurrent processing. Which of these functions could a coupled neural system and self-model implement? These proposals concern the organization of information processing; whether a biophysical or quantum substrate is necessary remains my additional question.

My intuition is that continuous biophysical dynamics, physical openness coupled to real noise and a self-observation model m(t)m(t) form a direction worth exploring as a possible substrate for an artificial persona. I do not have a recipe for subjective experience, nor do I claim to have derived its governing equation here. What I do have is an architectural sketch of mechanisms that can be specified concretely, ablated and tested in simulation and hardware — alongside a question I keep returning to: what would have to happen for such a system to have its own perspective, beyond being able to describe itself?

Inspired by Artem Kirsanov’s videos.

Technical context and literature

  • Biophysical membrane dynamics. Hodgkin and Huxley (1952) formulated a quantitative model of ionic currents and action-potential propagation in the squid giant axon. Both the equations in the text and the figure use the modern voltage convention with an explicit applied-current term IextI_{\mathrm{ext}}.
  • Computational complexity of a single neuron. Beniaguev, Segev and London (2021) showed that approximating the nonlinear dendritic integration of a biophysical cortical pyramidal neuron model requires a deep multi-layer temporal convolutional network.
  • Stochastic Hodgkin–Huxley equations. Goldwyn and Shea-Brown (2011) systematically compare how finite-population ion-channel fluctuations can be introduced (in currents, conductances or Markov subunit states) into the Hodgkin–Huxley framework, including preserving the [0,1][0, 1] domain for gating variables.
  • Quantum random number generation (QRNG). Ma et al. (2016) review physical sources of quantum randomness, device-trust assumptions and the distinction between intrinsic quantum unpredictability and deterministic pseudorandomness.
  • Deterministic chaos. Lorenz (1963) demonstrated how three deterministic differential equations with quadratic coupling generate nonperiodic flow sensitive to initial conditions.
  • Hippocampal replay during sleep. Wilson and McNaughton (1994) observed spontaneous reactivation of correlated hippocampal place-cell ensembles during sleep following waking spatial experience.
  • Indicators of consciousness in AI. Butlin et al. (2023) formulate computational indicator properties derived from neurobiological theories of consciousness, separating information-processing architecture from surface verbal behavior.