<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>Notebooks   </title>
    <link>http://bactra.org/notebooks</link>
    <description>Cosma's Notebooks</description>
    <language>en</language>

  <item>
    <title>Computational Mechanics</title>
    <link>http://bactra.org/notebooks/1999/07/12#computational-mechanics</link>
    <description>
&lt;P&gt;(This notebook needs re-writing in a big way.  Sorry; here's the old
version, for what it's worth..)

&lt;P&gt;Here are two big fuzzy problems which come up in lots of areas of science:
	&lt;ul&gt;
	&lt;li&gt; How do we find patterns in our data?
	&lt;li&gt; How do some natural objects compute, or process information?
	&lt;/ul&gt;

Computational mechanics is a research program, developed by &lt;a
href=&quot;http://www.santafe.edu/~jpc/&quot;&gt;Jim Crutchfield&lt;/a&gt; and henchmen, which
aims to address both of these problems with the same set of tricks.  Since I
think this is an under-appreciated line of research, and because I became one
of the aforesaid henchmen in January 1998, I'll explain this at some length.

&lt;P&gt;You go to the lab and you take your favorite set of measurements, until you
can't stand it any more, and you want to make something of the data.  You might
look for structures or patterns in your data: these may even be those &lt;a
href=&quot;emergent-properties.html&quot;&gt;emergent properties&lt;/a&gt; so fabled in legend and
philosophy.  To do this, you need a way of characterizing different structures
or patterns, and one of doing this is to write down a procedure which will
reproduce the pattern, to a certain level of abstraction and accuracy.
Fortunately there's a lot of theory on the subject of ``effective procedures''
in general: it's an off-shoot of &lt;a href=&quot;mathematical-logic.html&quot;&gt;mathematical
logic&lt;/a&gt; called computation theory, or automata theory, which turns out to be
equivalent to the theory of formal languages.  The languages or automata form a
hierarchy, in which those at the higher levels can do anything those at the
lower levels can: Turing machines perch at the very top of the heap.  (The most
basic form of the hierarchy was discovered by &lt;a
href=&quot;chomsky.html&quot;&gt;Chomsky&lt;/a&gt; back when he worked for the Air Force, and is
called the Chomsky hierarchy.)  Now, Occam's razor tells us to use the simplest
procedure we can find, and there are plenty of good ways of saying how
complicated an automaton is: the more interesting ones even say that highly
random automata are simple.

&lt;P&gt;The computational mechanics procedure, then, is to take your data,
discretize it so you've only got a small ``finite alphabet'' to deal with, and
then look for ``causal states.''  Two histories, two series of past data, leave
you in the same causal state if they leave you with the same distribution
of &lt;em&gt;future&lt;/em&gt; data, i.e., if it makes no difference to the future whether
you saw one data-series or the other.  This being the case, the difference
between the series is unimportant, and we lump them together.  This procedure
identifies causal states, and also identifies the structure of connections or
succession in causal states, and so automatically creates an automaton in
the lowest Chomsky class you can get away with.  (If, as you consider longer
and longer stretches of data, you need more and more complicated automata, you
go to the next most powerful class of automata and start over.)  These automata
are called ``epsilon-machines'' and the procedure ``epsilon-machine
reconstruction'': the names are appalling, but I've not heard better ones.

&lt;P&gt;The computation part of ``computation, dynamics and inference'' is pretty
thoroughly in evidence: but the other two?  Well, &lt;em&gt;inference&lt;/em&gt; is easy:
the machine-reconstruction procedure is an extended exercise in &lt;a
href=&quot;learning-inference-induction.html&quot;&gt;statistical inference, or machine
learning, or induction&lt;/a&gt; (whichever you prefer).  We're trying to fit our
data to models of pre-specified classes , and to find the simplest, most
accurate model we can.  (Obviously there are trade-offs between simplicity and
accuracy.)  In principle, the whole process could be programmed, and
encapsulated in a single piece of software: a ``phenomenological engine'' or
``phenomenologimat'' (J. Fetter), an automatic finder of empirical
regularities.  (Look for it in the next version of emacs.)

&lt;P&gt;&lt;em&gt;Dynamics&lt;/em&gt; is a bit trickier.  Notice that we're just using our data,
not some &lt;em&gt;a priori&lt;/em&gt; model of the process, to try to say what the
underlying mechanisms are like.  But we may not be measuring the causally
important variables at all, and very coarse discretization is (at least so far)
key.  The inspiration for the first, for trying to build a model straight from
the data, is attractor-reconstruction in dynamics: given a time-series which is
a reasonable function of the causal variables, one can reconstruct the
attractor of a dynamical system and even find many of its quantitative
properties.  (The limits of ``reasonable function of the causal variables'' are
set by Takens's Embedding Theorem, which you'll find in most good books on &lt;a
href=&quot;chaos.html&quot;&gt;non-linear dynamics&lt;/a&gt;.)  Many people I talk to don't seem
to think that the second point, the coarse discretization, needs motivation at
all: usually they come up with something along the lines of, ``well, it's
already digitized when it gets on your computer, right?''  This faith in our
current technology is touching (and completely unfounded, as anyone who reads
&lt;a href=&quot;news:comp.risks&quot;&gt;comp.risks&lt;/a&gt; knows); fortunately there're better
motivations.  It happens that for some dynamical systems one can prove that by
the &lt;em&gt;right&lt;/em&gt; coarse discretization you doesn't lose any information about
the dynamical behavior, but only have to deal with strings of symbols from a
finite alphabet and operations on those strings, instead of continuous numbers
and non-linear mappings of those numbers.  (This is called ``symbolic
dynamics'', and leads into the thermodynamic formalism for chaos.)
Computational mechanics adds on another layer, by trying to characterize the
symbolic dynamics even more compactly, and in information-processing terms.
(That said, one of my projects is to try reformulating computational mechanics
so that it doesn't need any sort of discretization at all.)

&lt;P&gt;Well, what good is this?  First of all, it gives you a nice, compact
description of your system.  Second, it constrains any theories you come up
with of the causal mechanisms at work, since they've got to be able to match
your reconstructed machine, or one or the other is wrong.  Third, it lets you
characterize the different structures you find in a content-neutral way, and
even quantify them: this is what first led me to computational mechanics, since
I'm interested in quantifying &lt;a
href=&quot;self-organization.html&quot;&gt;self-organization&lt;/a&gt;, and quantifying the degree
of organization or structure would be a step in the right direction.  Fourth,
there's some hope of being able to run the process backwards: given a kind of
computation, what sorts of dynamical systems would implement it?  How do we go
from local, idiotic rules to desirable global properties?

&lt;P&gt;I promised that this'll have something to say about understanding how
natural objects --- notably, of course, brains --- can compute.  At first there
seems to be a big problem: natural objects are continuous dynamical systems
with causally connected variables; computation or information-processing is the
transformation of representations according to rules.  This contrast has led to
a lot of wailing and beating of breasts and a ``dynamical systems approach to
cognition'' movement (rather more strong in philosophy than in-the-lab
cognitive science) which claims that cognition is &lt;em&gt;not&lt;/em&gt; computation.
Now, at a hand-waving, in-principle level, I think this can be resolved pretty
much in favor of old-school cognition-is-computation: computational mechanics
shows that discrete computation is embedded in continuous dynamical systems.
(Cf. Kitts's papers below.)  Computational mechanics, however, offers the
prospect of going beyond this, to actually seeing what kinds of computations
different things are actually doing.

&lt;P&gt;It will not have escaped the observant reader's attention that the first
part of the program, structure-finding, got a lot more space than the second
part, understanding natural computing.  This is because the first part
&lt;em&gt;is&lt;/em&gt; much more developed than the second, which is still almost entirely
programmatic.  So far the only things to get detailed treatment from
computational mechanics are formal systems, like the logistic map and &lt;a
href=&quot;cellular-automata.html&quot;&gt;cellular automata&lt;/a&gt;, though it &lt;em&gt;has&lt;/em&gt;
been used on a few experimental data sets: stochastic resonance, the ``dripping
faucet'' experiment (famous in nonlinear dynamics, utterly obscure elsewhere),
and some turbulent geophysical fluid flow data (A. J.  Palmer, personal
communication).  I'd like to take some well-understood, well-behaved data-set,
like the tides, or the positions of the Galilean moons, and see how well a
phenomenological engine does on it.  But I'm not too worried about the
restricted range of applications to date: until we've got the structure-finding
part down cold, there's not much point in trying to tackle something as hairy
as the brain, and there's a &lt;em&gt;lot&lt;/em&gt; of work to be done just in getting the
techniques to work on spatially-extended systems.

&lt;ul&gt;Recommended:
	&lt;li&gt;When I gave a pair of lectures on computational mechanics to the Santa
Fe summer school, the students made me draw up a &lt;a
href=&quot;../comp-mech-lectures/reading-list.html&quot;&gt;Reading List&lt;/a&gt;, which see.
(This includes some papers of mine; I never claimed modesty among
my virtues.)
	&lt;li&gt;Naturally, I'm partial to my own &lt;a
href=&quot;../comp-mech-lectures/&quot;&gt;notes for those lectures&lt;/a&gt;, but they're
technical, fairly mathematically rigorous, and in post-script only (the various
tex to html conversion programs dislike it extremely...).  My talk on
``Phenomenologial Engines'', which I gave to the &lt;a
href=&quot;http://www.physics.wisc.edu/Chaos-Complexity/&quot;&gt;Madison Chaos and Complex
Systems Seminar&lt;/a&gt; (16 Sept. 1997), can be groked by professors of art
history, but I'm not finished with tweaking it yet...
	&lt;li&gt;Almost everything every written on the subject is in the &lt;a
href=&quot;http://www.santafe.edu/projects/CompMech/papers/CompMechCommun.html&quot;&gt;Computational
Mechanics Archive&lt;/a&gt;.
	&lt;ul&gt;Some neat stuff not on the reading list:
		&lt;li&gt;Richard W. Clarke, Mervyn P. Freeman, Nicholas W. Watkins,
``The Application of Computational Mechanics to the Analysis of Geomagnetic
Data,''
&lt;a href=&quot;http://arxiv.org/abs/cond-mat/0110228&quot;&gt;cond-mat/0110228&lt;/a&gt;
	&lt;li&gt;Jordgi Delgado and Ricard V. Sol&amp;eacute;, ``Characterizing
Turbulence in Globally Coupled Maps with Stochastic Finite Automata,''
&lt;cite&gt;Physics Letters A&lt;/cite&gt; &lt;strong&gt;314&lt;/strong&gt; (2000): 314--319
		&lt;li&gt;&lt;a href=&quot;http://www.cs.brandeis.edu/~brendy/&quot;&gt;Brendan
Kitts&lt;/a&gt;, &lt;a
href=&quot;http://www.cs.brandeis.edu/~brendy/philbookreview.html&quot;&gt;&lt;cite&gt;Philosophy
and Cognitive Science&lt;/cite&gt; (Review)&lt;/a&gt; and &lt;a
href=&quot;http://www.cs.brandeis.edu/~brendy/VG31.ps&quot;&gt;``Much Ado about
Dynamics''&lt;/a&gt;.
		&lt;li&gt;Mitchell, Crutchfield, and Hraber, &lt;a
href=&quot;http://www.santafe.edu/projects/evca/evabstracts.html&quot;&gt;``Dynamics,
Computation, and the `Edge of Chaos': A Re-Examination''&lt;/a&gt;, [Disposing of the
``&lt;a href=&quot;edge-of-chaos.html&quot;&gt;edge of chaos&lt;/a&gt;'' hypothesis]
		&lt;li&gt;Wesley C. Salmon, &lt;cite&gt;Scientific Explanation the Causal
Structure of the World&lt;/cite&gt; [Trembles on the brink of defining causal states,
but comes at this from a very different perspective, namely rather
old-fashioned &lt;a href=&quot;scientific-method.html&quot;&gt;philosophy of science&lt;/a&gt;]
		&lt;/ul&gt;
	&lt;/ul&gt;

&lt;ul&gt;To read
	&lt;li&gt;Gustavo Deco and Bernd Schurmann, &lt;cite&gt;Information Dynamics:
Foundations and Applications&lt;/cite&gt;
	&lt;li&gt;M. Raijmakers, &lt;cite&gt;Epigenesis in Neural Network Models of
Cognitive Development: Bifurcations, More Powerful Structures, and Cognitive
Concepts&lt;/cite&gt; [Ph.D. thesis, Amsterdam]
	&lt;/ul&gt;
</description>
  </item>
  </channel>
</rss>