From nerve cell to system
Previous chapters taught how to check explanations. Now let's build a small explanation, the work of which can be traced in its entirety. The same input should sometimes produce different responses because the system stores history. The threshold accumulator will allow you to see this without knowledge of neurobiology and complex mathematics. Its connection with the nerve cell is limited to selected properties; further questioning of experience will require new relationships and arguments.
Start with a changing state
So far we have discussed how to describe experiences and test statements. Now let's move on to systems that process signals. The big new question is: How does the input at the moment, together with the internal state, determine the next step? It is suitable for both the biological process and the curriculum. The answer helps explain why the same input sometimes produces different results.
Neuron is a cell of the nervous system. Its membrane separates the internal environment from the external one, and the distribution and movement of charged particles is associated with the electrical properties of the cell. Many neurons transmit signals using action potentials—short changes in membrane voltage that propagate throughout the cell. To understand this chapter, it is enough to see a neuron as a physical system with inputs, internal dynamics, and effects on other cells.
This is not yet a model of the entire behavior of a neuron. Different cells and their parts have different properties; interactions involve chemical processes and multiple time scales. The word “neuron” in the name of a software element usually denotes a specific abstraction. Therefore, when reading a model, ask which properties are retained and which are omitted for the sake of the chosen task.
How quantitative explanation differs from imagery
Alan Hodgkin and Andrew Huxley constructed a quantitative description of nerve fiber membrane currents by relating changes in conductance to electrical excitation. Their work shows a research transition from measurements to a system of rules capable of reproducing the dynamics of a process. This is a model of certain electrical properties of a nerve cell; it was not offered as evidence for the emergence of subjective experience. [12]
A useful image like “neuron collects neighbors' votes” helps get started, but hides important questions. How long does the influence of input last? Does the next answer depend on the previous one? Is there a threshold? What happens after the answer? A computable model forces these questions to be answered with sufficient certainty that the result can be obtained without a new solution from the author at each step.
Our first model will be much simpler than the biological one. It is needed to study accumulation, leakage and threshold. Its numbers are arbitrary and are not measured in millivolts. Similarity with certain properties of a neuron does not give the right to transfer all the properties of a living cell to it.
A worked example of a threshold accumulator
Let's imagine a state variable initially equal to zero. At each step, 60 percent of its previous value is retained and a new input is added. If the resulting number reaches one, the system issues a pulse and resets the state to zero. If the threshold is not reached, there is no pulse, and the state persists until the next step with subsequent leakage.
Let's provide inputs 0.6; 0.6; 0.6; 0; 0.6. At the first step there is no previous accumulation, so the new value is 0.6. On the second, 0.36 remains from the previous state and 0.6 is added: it turns out 0.96. On the third, 0.576 is saved and another 0.6 is added. The value 1.176 crosses the threshold, a pulse occurs, after which the state is zero.
In the fourth step, the input is zero, so the state remains zero. On the fifth it again reaches 0.6. The same inputs of the first, second and third steps led to different states because the history was different. There is no additional “when to respond” decision in the program: the result is obtained from the update rule.
Figure 19. Dynamics of accumulation and discharge. Exact results of the program from the chapter. Inputs 0.6; 0.6; 0.6; 0; 0.6 give states before resetting 0.6; 0.96; 1.176; 0; 0.6. Only at the third step the threshold 1 was reached. All values are arbitrary and not expressed in millivolts.
Here is the complete computable version in Python. The word state denotes the state, value is the next input, spike is the presence of a pulse. The period is used in the code as a decimal separator. The indentations indicate which actions are repeated for each input and which are performed only when a threshold is crossed.
inputs = [0.6, 0.6, 0.6, 0.0, 0.6]
state = 0.0
for value in inputs:
before_reset = 0.6 * state + value
spike = before_reset >= 1.0
state = 0.0 if spike else before_reset
print(round(before_reset, 3), int(spike), round(state, 3))
The program displays the value before a possible reset, then 1 if there is a pulse or 0 if there is no pulse, then the final state. It can be done or checked with a pencil. In both cases the rule must produce one sequence. This transparency is useful before moving to large models whose internal workings can no longer be traced in their entirety by hand.
From one element to a network
Now let's imagine several accumulators. The output of one is included in the update rule of the other. The coupling coefficient determines the strength of this influence. A positive contribution can bring the state closer to the threshold, while a negative contribution can move it further away. This is a textbook diagram of excitatory and inhibitory influences, not a universal description of all biological interactions.
If connections go only from input elements to output elements, a directed processing sequence is obtained. If a signal can return through several connections to a previously participating element, feedback occurs. It allows previous results to influence further processing. But feedback does not necessarily support stable activity: depending on the rules, it can attenuate, intensify, fluctuate, or lead to other modes.
It is important to distinguish between a change in activity and a change in the system itself. Our state changes at every step, but the coefficient 0.6 remains constant. If you add training, the coefficients can also change according to a separate rule. Then the model will have two types of history: a short-term history of the current state and a longer change in parameters. Mixing these levels makes it difficult to understand what exactly the model remembered.
A network does not become an explanation just because it contains many elements. It is necessary to show what problem their organization solves. For example, one network can store a signal between events, another can select a sequence of a certain type, and a third can select an action. These differences can be tested before asking questions about the organization's relationship to the experience.
A number or impulse receives research meaning through its relationship to conditions and use. If an element responds more often to red images, you can test whether the relationship remains the same across changes in shape, brightness, and environment. Then you need to find out if another component uses this response to distinguish color. The name "red detector" would be premature if the element actually responds to a luminance that happens to be the same as the color in the training set. The presentation of content requires verification, not just a well-chosen label for a network node.
One step consists of several actions
If the previous state is 0.96, first save 0.6 from it: we get 0.576. Then we add a new input 0.6 and get 1.176. Only now we check the threshold 1. It has been reached, so we record the impulse and reset the state to zero. The value before reset and the state after reset are different. If you change the order of actions, you get a different model. This is why the resulting line does not replace an explicit transition rule.
What has now been established
The accumulator shows the causal contribution of the stored state. The impulse arises from the rule, not from an additional internal decision. Now let's check what value the distribution of the same sum of inputs has over time.
Figure 20. Distribute inputs and disable state saving. The two practice sequences have the same sum 2.4, but when 0.6 is stored, only the first one causes one pulse. At zero conservation, there are no impulses in both series: the intervention highlights the role of state history in this training model.
Practice 9 Same amount different times
Why do it: Check the explanation through temporary accumulation in comparison with the explanation through one total amount.
What you will need: Ability to multiply decimal numbers. The input comes from outside, the state is saved between steps, the output is obtained after updating.
Time reference: 20–30 minutes. Can be done intermittently; This is not a speed standard.
1. For A use 0.6; 0.6; 0.6; 0; 0.6; 0; 0. For B use 0.6; 0; 0.6; 0; 0.6; 0; 0.6. Initial state zero, saving 0.6, threshold 1.
2. Before calculating, predict the number of pulses. For each step, write down the input, the value before reset, the pulse and the state after reset.
3. Execute the same rule for both sequences manually or with the code from the chapter.
4. Repeat with zero remaining and explain which difference disappeared and why.
What to save: Two step-by-step tables, a preliminary forecast and a conclusion about the role of gaps between inputs.
Hint: After the impulse, the next step starts from scratch. Do not transfer the value 1.176 as a saved state.
Exploratory continuation: Propose a new pair of equal-sum sequences on which the sum and time structure versions yield different expectations. Fix the rule before calculation.
Analysis and answers - Appendix F, chapter 9, p. 283
What step has been taken towards researching experience?
We received a minimal language of dynamic models: input, state, transition rule, output and parameter. It can be used to ask what the system distinguishes, what it holds, and how it uses the past. Later we will add views of sources, assessment of reliability and own actions. Each component will be introduced for the sake of explainable behavior and testable prediction.
The presence of impulses or feedback does not in itself resolve the issue of qualia. However, it is now possible to formulate a hypothesis more precisely than “complexity gives rise to consciousness”: name a certain organization, indicate the expected relationships between its states and the properties of experience, then look for conditions for distinguishing alternatives. This is the preparatory role of simple models.
Self-test questions
1. Why can the same input in the first and third steps produce different outputs?
2. How is changing state different from learning parameters?
3. What does the comparison of sequences with the same sum and different intervals between inputs check?
The state has learned to hold on to the past. The next question is what exactly it represents and how the context changes the use of the same input.
Chapter 10

