Essay of analog/digital computing and the brain

[From Bill Powers (950518.0615 MDT)]
(copies to MacLennan and Zocher)

A week or so ago (probably a month!) Wolfgang Zocher put me onto an
interesting article. Here is its beginning, including the title, author,
and an interesting quotation:

···

-----------------------------------------------------------------------
                     "WORDS LIE IN OUR WAY"

        (Position Paper for Symposium, "What is Computing?")

                        Bruce J. MacLennan

                   Computer Science Department
                University of Tennessee, Knoxville
                       maclennan@cs.utk.edu

      Words lie in our way! Whenever the ancients set down a
      word, they believed they had made a discovery. How
      different the truth of the matter was! -- They had come
      across a problem; and while they supposed it to have been
      solved, they actually had obstructed its solution. -- Now
      in all knowledge one stumbles over rock-solid eternalized
      words, and would sooner break a leg than a word in doing
      so.
                                  -- Nietzsche (The Dawn, 47)

1. INTRODUCTION

1.1 The central claim of *computationalism* is that the brain is a
computer, and that any computer implementing the appropriate program
would ipso facto have a mind. In order to evaluate this claim we
must be clear about what is meant by "computer," and that, I take
it, is the principal purpose of this symposium. Related to this
primary issue are questions of the role of analog computation in
computationalism, Searle's Chinese Room Argument and symbol
grounding.

1.2 In this paper I will argue for the following propositions:

      (1.2.1) The central claim of computationalism is not
      about computers, a concept too imprecise for a scientific
      claim of this sort, but is about *physical calculi*
      (instantiated discrete formal systems).

      (1.2.2) In matters of formality, interpretability, and so
      forth, analog computation and digital computation are not
      essentially different, and so arguments such as Searle's
      hold or not as well for one as for the other.

      (1.2.3) Whether or not a biological system (such as the
      brain) is computational is a scientific matter of fact.

      (1.2.4) A substantive scientific question for cognitive
      science is whether cognition is better modeled by
      discrete representations or continuous representations.

      (1.2.5) Cognitive science and AI need a theoretical
      construct that is the continuous analog of a calculus.

The discussion of these propositions will illuminate several
terminology traps, in which it's all too easy to become ensnared.
----------------------------------------------------------------------

This paper is written from the standpoint of a mathematician -- one to
whom the mathematical process of computation is central, and to whom any
"computer" is merely a realization of a mathematical process. To
MacLennan, the difference between "analog" and "digital" is trivial,
because the physical processes in automatic computing are merely
instantiations of a deeper underlying reality, the reality of
mathematics.

MacLennan fails to see one important distinction between analog and
digital computing on the one hand, and mathematics on the other. Both
analog computing and digital computing are done without symbols, and so
(I propose) are more basic than the mathematics we use to describe (or
rather, approximately describe) such operations. Indeed, it is the
symbol-free operation of a computing device that must underly the brain-
processes that we experience subjectively as mathematics.

***

Consider the simple device that we call an AND gate. The AND gate
receives two input voltages. If both input voltages are well above some
threshold, the output voltage is triggered to a positive constant
amount; otherwise, if either or both input voltages are well below the
threshold, the output voltage is triggered to zero.

Words or other symbols are required to represent the operation of the
AND gate in our minds, but in the AND gate itself all that exists is a
set of physical relationships. It is not necessary, in order to make the
AND gate work, that any of the physical variables be converted into
symbols. Neither is the nature of the operation required to be converted
in to a stated rule. The AND gate itself has never heard of George
Boole. What makes the AND gate operate is a relationship among physical
components such as amplifiers and diodes, powered by an external source
of voltage and current and brought into action by incoming electrical
voltages and currents.

If we want to know the state of the AND gate, we must use some
instrument like a voltmeter. Determining the outcome of the AND
operation is thus a matter of measurement, not of abstract computation.
We need to symbolize the variables and manipulate the symbols according
to rules only if we want to think about what the AND gate is doing. But
if we build a device made of AND gates and other kinds of devices
involving thresholds and on-off signals, we do not need to symbolize
what is going on inside it before we can apply a voltmeter to its
outputs and measure the results.

The same consideration applies to an analog computer component. What we
call an "integrator" consists of a high-gain amplifier with a negative
and a positive input. There is a capacitor connected between the output
and the negative input and a resistor with one end connected to the same
negative input. The positive input is connected to ground. If a voltage
is applied between the free end of the resistor and the common ground,
the output voltage will begin to change at a rate proportional to the
negative of the input voltage. To determine the value of the output at
any time, we apply a probe to the output and measure the voltage. This
tells us the total amount of charge that has accumulated on the plates
of the capacitor. We name the relationship between the input and output
voltages by saying that the output voltage is the "integral" or
continuous summation of the input voltage. But obviously, this analog
computing element also works without the need for symbols.

The brain is constructed of elements called neurons (and who knows what
else?). These neurons receive multiple inputs in the form of trains of
impulses, and generate a single output in the form of a train of
impulses. The incoming impulses affect biochemical concentrations inside
the neuron, and internal chemistry results in continuous variations of
action potentials near the axon hillock. The firing rate of the neuron
depends, in turn, on the action potentials. However, the internal time
constants of the chemical processes also may allow individual incoming
impulses to cause variations in the action potential rapidly enough to
affect the times of firing of the neuron; for extremely short time
constants, the output impulses may reflect coincidences of input
impulses, or may be synchronized with the incoming impulses. If we want
to know the state of the output, we can put a probe on the axon and
record the output impulses as they occur. Once again, the processes that
relate the outgoing impulses to the incoming ones do not need to be
converted to symbols before they can work.

We can see that all three of these devices, the AND gate, the analog
integrator, and the neuron work as they do because of their physical
nature, and without the need for the processes to be represented as
symbols. To determine the result of any of these operations, we would
have to use some kind of measuring instrument to show us the output of
the element.

Suppose now that we have a large device made of elements of any of these
kinds. If one of these elements is producing an output that is some
function of a set of inputs, how is the result of this "computation"
conveyed to other parts of the device? How is the state of the output
measured, and how is that measurement presented to another part of the
device?

In fact, the "measurement" process consists only of connecting the
output of one element of the device as input to one or more other
elements. There is no separate process of measurement, expression of the
measurement in symbols, and conversion of the symbols back into a
physical effect on another element in the device. The output of one
element _is_ an input to other elements. There is no intermediary
process.

We can see, therefore, that a very complex device can be built in which
outputs of elements are functions of sets of inputs, in which inputs are
identically outputs from preceding elements, and in which the results of
all these interconnected operations appear in the form of outputs from
the same sorts of elements. In the brain, one kind of "result" might
consist of neural impulses entering muscles where they produce
contractions and thus forces applied across joints -- moments.

But another sort of "result" can be that impulses generated in one
entire functional layer of the brain become inputs to another and higher
functional layer of the brain. This new layer of elements would also
consist of operations performed on inputs to produce outputs, but the
significance of the operations might be different. To cut a long story
short, because the nature and organization of these layers of operation
is a different subject, one of the results that occurs is what we call
"symbolization," and still another is what we call "the application of
rules." In fact, what is going on right now, in both the writer and the
reader, is an outcome of the processes going on in large networks of
computing elements in the brain: computing elements that work entirely
without symbols. Mathematics itself is one of the outcomes.

So mathematics does not "underly" either analog or digital (or neural)
computations. It is simply a consequence of silent and symbol-free
computations that exist in the input-output functions of physical
elements of the brain. That is the first point I wanted to make.

***

The other point I wanted to make is that both digital and analog
computers are used as ways of approximating what the actual computing
elements of the brain, the neurons, do, but on the whole the analog
computer is the better approximation.

Years ago, just as the digital computing revolution appeared, it was
thought that the brain could be modeled as a digital computer, complete
with AND, OR, and NOT logical operations. The digital computer
essentially displaced the analog computer as a model, although many
still thought the analog computer was a better model. Later findings in
neurology dispelled the notion that neurons were really logical
computing elements; not only did the required clocking not exist, but
there were important analog processes that occurred inside neurons. The
connectionist movement may have come partly from recognizing that the
best measure of a neural signal is not the single impulse, but the
frequency of neural impulse-trains.

If the activities of the brain are thought of as trains of neural
impulses measured in terms of frequency, then neural signals are analog
signals. They are not confined to two states, on or off (although with
suitable analog circuitry involving local positive feedback, such
bistable operations are possible). What makes the neural signal an
analog signal is that all frequencies of firing are possible, for the
interval between any two impulses is continuously variable. The measure
of a neural signal as a frequency must be given in terms of the real
numbers, not the integers.

This analog measure of neural signals is also appropriate because the
processes inside neurons are continuous. The chemical concentrations and
potentials are, for all conceivable practical purposes, continuously
variable. There are only two places where discrete processes are seen:
in the quantized release of neurotransmitters by each incoming impulse,
and in the generation of a discrete impulse when the action potential
reaches the trigger level inside the neuron. But all other processes are
continuously variable, with changes in frequency and changes in chemical
concentration being, at any appropriate level of analysis, infinitely
subdivisible.

The choice between an analog and a digital model of brain operation has
little to do with mathematics. Both digital and analog computers use a
small set of stylized computing elements, the digital computer using
threshold trigger devices to handle on-off signals and the analog
computer using devices performing continuous operations on continuous
signals. The main question is one of direct physical analogy: which kind
of computing element behaves in a way most like the way that neural
computers operate?

In modern neuroscience, neurons are definitely considered as analog
devices: the triggering effects are represented as points where
continuous variables reach critical thresholds, and frequencies of
firing are affected by the recovery time after a firing and by the
variable concentrations of chemical substances, both of which must be
considered as continuous. But this is not the level at which I want to
make the comparison.

The best comparison is made by considering the neuron as a transfer
function between input signals and output signals. To characterize a
neuron at this level of analysis, one would apply various waveforms of
input signals (where the "instantaneous" value of a signal would be the
current frequency, and the waveform would consist of variations in
frequency), and measure the waveforms that emerge as variable output
frequencies. These transfer functions would be most similar to those of
elements of an analog computer, not elements of a digital computer. Most
neurons, I believe, produce output frequencies as continuous functions
of input frequencies. By suitable choice (or if necessary, invention) of
analog computing elements, an analog computer could be configured to
produce the same relationships between the inputs and outputs of its
elements that is seen in various kinds of neurons. At this level of
analysis it is not any more necessary to know the internal workings of
the neuron that it is to know the internal workings of an AND gate or an
operational amplifier. Neuroscience seems to have skipped over this
level of analysis.

The choice between an analog computer and a digital computer as a basic
brain model rests on the similarity of analog and digital transfer
functions to the transfer functions of neurons. I think the choice is
clearly in favor of the analog computer.
-------------------------------------------------------------------
Best to all,

Bill P.

[From Oded Maler 950525- later]

(Bill Powers (950518.0615 MDT))

(About the paper by MacLennan - btw, has this issue of MIND about
"what is computation" been published?)

Let me make some remarks. Your exposure to the theoretical foundation
of analog and digital machines is not balanced. For the former you
know the underlying theory (electrical circuits, differential
equations) while you are more of a hacker with respect to computer
science. The underlying model of theoretical computer science is not
a programming language with statements and variables, nor a machine
lannguage for Von-Neuman style computers, but rather a finite-state
automaton which is the discrete-time/discrete-value analogue of a
continuous dynamical system. This is, perhaps, the language one needs
in order to formulate control when discrete events and categories emerge.

Secondly (and for the first time I can comment on domains where I'm not
a complete amateur), there are internediate models that combine the
continuous with the discrete and investigate their interactions.
These are called hybrid systems (or switching systems, or
piecewise-continuous systems), where the evolution of a continuous
variable can trigger a discrte state-change, which might in turn,
change the continuous dynamics. I happen to work now on a model of
asynchronous digital circuits whose primary objects are not *sequences*
of digits, neither continuous signals but boolean-valued signals
with jumps, such that the signals must satisfy some mutual delay
constraints. The model generating these signals can be seen as an
automaton augmented with timers. This is just an example of a hybrid model.

The question you raise about the connection between formal computation
encoding and measurements have been addressed by Rosen and by Kampis -
I don't remember the bottom line.

The question which is primary, the physical process or its mathematical
formulation is a question of philosophical taste..

--Oded

<[Bill Leach 950525.22:44 U.S. Eastern Time Zone]

[From Oded Maler 950525- later]

Bill P. can well defend himself of course but I feel a need to comment.

You say Bill's exposure to the theoretical foundation of analog and
digital machines is not balanced.

You then add that "The underlying model of theoretical computer science
is not a programming language with ..."

I doubt that Bill will "argue" with either of these assertions, however
what are you saying?

Are you saying that Bill is not correct when he asserts that
synchronized, discrete step operations of a digital system can introduce
system behavioural differences with respect to the analog system that is
being modeled and might be overlooked by the researcher?

All real analog control systems have a hysteresis that does not exist in
digital systems unless expressly simulated (usually it can be ignored).
OTOH digital systems always deal with quantum steps (usually they can be
ignored). Digital systems always have some measure of synchronization
and sequencing that does not exist in the analog system.

Things like non-linearity or even poor repeatability of gain can usually
be modeled sufficiently well in digital systems _IF_ the need is
recognized. Simularly, the discrete step nature of the digital system is
usually not a problem (just make the steps very small and insure the
dynamic range is great enough).

The last problem is often more significant. I believe that virtually
anyone with a little digital control system experience can relate dozens
of stories about control failures that existed and were traced to either
"being had because of sequence" or input transitions missed due to
synchronization.

What is important here is not that a digital design engineer screwed up
but that digital systems introduce entirely different error modes. When
trying to _model_ an analog system with a digital system you WANT the
digital system to make the same errors that the analog system would make
but NOT to introduce new ones.

That you can generally work around the potential errors is understood but
that also means that with limited digital "horsepower" one has to be very
careful.

In the little "model test" that was thrown at Bill P. a week ago, there
were disturbance steps that were physically impossible for a living
system TO PERCEIVE but were indeed perceived by the model.

Whenever a continous process is modeled or analyzed discretely one must
remain aware of the limitation of the process or one can be lead astray
as to what is going on in the real system.

The question which is primary, the physical process or its mathematical
formulation is a question of philosophical taste..

And here I'm sure that Bill P. disagrees and I know that I do. When a
voltage regulator maintains a fixed output voltage against disturbance,
it does so by keeping a close match between a reference voltage and a
feedback voltage. The regulator could care less if the output voltage is
what you or I want.

Power supply circuit analysis is very impressive today. Such analysis
probably surpasses the needs of just about anyone concerned with supplies
BUT it is not a perfect model. Power supplies can be subjected to
environmental extremes for which the analysis fails though from a
practical standpoint it does not much matter since the supply also fails.

So the question is not philosophical taste but rather intention. If you
are designing power supplies for some practical use then in all
likelyhood the existing circuit analysis tools are more than adequate.
If OTOH you are interested only in actual failure behaviour of power
supplies under conditions of environmental extremes you have a different
problem and only limited solutions.

Bill P.'s recent posting on Model based control and living system is
again to the point. Model based control may be elegant, nifty, neat and
very useful for tracking satellites and the like BUT for living systems?

-bill

(Bill Leach 950525.22:44)

Bill P. can well defend himself of course but I feel a need to comment.

You say Bill's exposure to the theoretical foundation of analog and
digital machines is not balanced.

You then add that "The underlying model of theoretical computer science
is not a programming language with ..."

I doubt that Bill will "argue" with either of these assertions, however
what are you saying?

No attack so no need to defend. No one is claiming to be fluent in all
relevant disciplines. I just observed that the mental image the most people
have wrt to discrete systems is the Pascal program image, which is inherently
sequential and does not express parallelism, asynchrony, etc. (unless you
consider low-level gates and flip-flops). I just wanted to indicate that
there are other models of discrete systems that capture such features, and
they might be useful for modeling certain levels in the control hierarchy.

Are you saying that Bill is not correct when he asserts that
synchronized, discrete step operations of a digital system can introduce
system behavioural differences with respect to the analog system that is
being modeled and might be overlooked by the researcher?

He is not incorrect on that. There are asynchronous (without a global
clock) models of digital systems that can approximate continuous
phenomena more adequately.

[..]

Different models of different granularity can suitable for different levels.
If you want to model a circuit that is responsible for some sequence control,
I'm sure a kind of asynchronous automaton (a digital system) is more suitable.
It is of course realized by analog components which "create" the A-D, D-A
interface between the controller and the lower-level world, but it does not
seem to me that a purely analog model is the best level of abstraction in
this case.

--Oded

<[Bill Leach 950527.01:07 U.S. Eastern Time Zone]

Message: 32156 on Fri, 26 May 1995 13:40:27 +0200

Author : Oded Maler <Oded.Maler@IMAG.FR>

I just wanted to indicate that there are other models of discrete ...

I agree and believe that Bill P. is also quite familiar with many such
systems. However, they all have a potential for introducing modeling
errors that an analog system would not have.

Parallel processing (generic meaning) still has synchronization if any
data is exchanged between processors. All digital processing is
sequential to some extent (actually to a major extent interrupt
processing not withstanding).

He is not incorrect on that. There are asynchronous (without a global
clock) models of digital systems that can approximate continuous
phenomena more adequately.

Right, and indeed such problems can be minimized but when modeling an
analog system one needs to keep the potential problems in mind.

If _monitoring_ a digital system then I too would presume that another
digital system with a data processing efficiency that would allow say a
ten times over-sampling should provide very good results.

If the sampling rate were close to the operating speed of the monitored
system however, aliasing errors could exist.

As a general rule I suspect that digital modeling or monitoring of
digital systems is most suitable for most purposes.

-bill