An end to Turing Instability

September 13, 2009

Alan Turing was a superhero. Admittedly he got a bit distracted messing around with mathematical logic, artificial intelligence and inventing the digital computer, but in-between he also developed some of the first ever theoretical ideas in artificial life, specifically his work on nonlinear dynamical systems in the chemical basis of morphogenesis, and his posthumously published and little-known explorations of “unorganised machines“, which we would nowadays recognise as neural networks. Unlike the digital computer, neither of these alternative paradigms for computation has yet been fully developed.

But Turing was also wrapped up in the highly secretive world of code-breaking, through which he helped to shorten the Second World War substantially and save thousands of lives. Wartime Britain took its secrets very seriously and this “walls have ears” attitude became so ingrained in the culture that much of Turing’s work was hidden from view for too long to become part of established history. As a consequence, few members of the general public had even heard of him, let alone realised his role in creating the 21st Century, at least until Andrew Hodges’ biography of Turing came out in the early 1980’s. Bletchley Park, the headquarters of the code-breaking effort, still unaccountably struggles to preserve what’s left of its gently rotting history in the absence of government support.

Turing was also gay, and hence became considered a security threat. He was sentenced to be chemically castrated and came under harassing scrutiny. In 1954 he apparently committed suicide. At the very least he was effectively hounded to an early death by the British government, and it is even possible that he was secretly assassinated. This is not the way to treat heroes.

But last week, thanks to a petition started by John Graham-Cumming, Prime Minister Gordon Brown issued the following official apology. It’s far too late for Alan Turing, but I’m sure it will go some way towards correcting the insult to his name. I’m sure the gay community will appreciate the sentiment too, although I imagine this is just one of a thousand hoped-for apologies as far as they’re concerned. Apologies are pretty empty things when given by someone other than those who carried out the offence, but I do think they represent a statement of intent for the future and can be held against people when they act hypocritically, so I think it is still A Good Thing and a valued correction to history. I hope it will now be followed by some positive government action to preserve our heritage at Bletchley Park, where I’ve twice had the honour to tread in Alan’s footsteps and give talks on AI.

Thanks to Ann for telling me about the petition.

[Update: September 30: Bletchley Park have just announced a grant of half a million pounds from the Heritage Lottery Fund and are applying for another 4 million. English Heritage and Milton Keynes Council have also provided almost a million for repairs. Jolly good show chaps!]

2009 has been a year of deep reflection – a chance for Britain, as a nation, to commemorate the profound debts we owe to those who came before. A unique combination of anniversaries and events have stirred in us that sense of pride and gratitude which characterise the British experience. Earlier this year I stood with Presidents Sarkozy and Obama to honour the service and the sacrifice of the heroes who stormed the beaches of Normandy 65 years ago. And just last week, we marked the 70 years which have passed since the British government declared its willingness to take up arms against Fascism and declared the outbreak of World War Two. So I am both pleased and proud that, thanks to a coalition of computer scientists, historians and LGBT activists, we have this year a chance to mark and celebrate another contribution to Britain’s fight against the darkness of dictatorship; that of code-breaker Alan Turing.

Turing was a quite brilliant mathematician, most famous for his work on breaking the German Enigma codes. It is no exaggeration to say that, without his outstanding contribution, the history of World War Two could well have been very different. He truly was one of those individuals we can point to whose unique contribution helped to turn the tide of war. The debt of gratitude he is owed makes it all the more horrifying, therefore, that he was treated so inhumanely. In 1952, he was convicted of ‘gross indecency’ – in effect, tried for being gay. His sentence – and he was faced with the miserable choice of this or prison – was chemical castration by a series of injections of female hormones. He took his own life just two years later.

Thousands of people have come together to demand justice for Alan Turing and recognition of the appalling way he was treated. While Turing was dealt with under the law of the time and we can’t put the clock back, his treatment was of course utterly unfair and I am pleased to have the chance to say how deeply sorry I and we all are for what happened to him. Alan and the many thousands of other gay men who were convicted as he was convicted under homophobic laws were treated terribly. Over the years millions more lived in fear of conviction.

I am proud that those days are gone and that in the last 12 years this government has done so much to make life fairer and more equal for our LGBT community. This recognition of Alan’s status as one of Britain’s most famous victims of homophobia is another step towards equality and long overdue.

But even more than that, Alan deserves recognition for his contribution to humankind. For those of us born after 1945, into a Europe which is united, democratic and at peace, it is hard to imagine that our continent was once the theatre of mankind’s darkest hour. It is difficult to believe that in living memory, people could become so consumed by hate – by anti-Semitism, by homophobia, by xenophobia and other murderous prejudices – that the gas chambers and crematoria became a piece of the European landscape as surely as the galleries and universities and concert halls which had marked out the European civilisation for hundreds of years. It is thanks to men and women who were totally committed to fighting fascism, people like Alan Turing, that the horrors of the Holocaust and of total war are part of Europe’s history and not Europe’s present.

So on behalf of the British government, and all those who live freely thanks to Alan’s work I am very proud to say: we’re sorry, you deserved so much better.

Gordon Brown


Free Will (excluding taxes and postage)

August 4, 2009

I just came across this paper on free will and consciousness by Stuart Kauffman. I think it’s nonsense, but I can’t be bothered to raise a counterargument; it would just take too long. There are so many linguistic slippages to contend with in physics and life’s too short. But I’m posting it because I know some of you will be interested and may wish to take the matter up.

Basically Kauffman looks to a handy loophole, which is claimed to lie between classical and quantum physics, that is neither “lawful” nor random, and he thinks he can take advantage of this to permit the free will and conscious self-determination he so desperately wants. If you ask me, this desperation is easily seen in the following quotes (the italics are mine):

 ”If mind does not act on matter, is mind a mere epiphenomenon?”

“The response to this apparent impasse is a retreat to epiphenomenonalism: Mind does nothing, in fact, it does not act on brain, it is an epiphenomena (sic) of brain. It is fair to say that no one likes this view

Oh, well, it’s the duty of every scientist to find some loopholes that might plausibly help us avoid finding out something we simply don’t like very much. I can see that. It works for Intelligent Design proponents.

Why “mere”? It doesn’t bother me in the slightest if I’m an epiphenomenon. I don’t feel “mere”; I’m proud of what I am. Maybe a hurricane feels it is making a conscious decision to make landfall over southern Florida, too. So what? I cannot possibly know my future and nor can anyone else (classical theory is enough for that; we don’t need to invoke QM), so I look forward to finding out what is actually going to happen to me. It’s a consequence of my biology that I feel like I’m choosing it, and that I’m somehow making things happen, and if that’s how it feels to me then what do I care if it’s an illusion at the level of physics? I happen to live in a moderately successful social organization, which therefore has evolved a system of belief in culpability and justice; if it hadn’t then I wouldn’t be here, because society would have collapsed. As a consequence, I’m an organism that interprets what happens to me and others as something that was within our control. Sometimes I even have to hold people responsible for “their” actions, because that’s how this society thrives (I don’t have to choose to do it, it’s just the way my thoughts turn out). At the level of description in which “I” live, it makes sense to talk about responsibility, choices and morals. So what if that wouldn’t make sense to an atom? I’m not an atom. I really don’t mind being a lawful consequence of my past and my environment. It doesn’t bother me in the slightest. How else can I even justify my so-called choices? “I did it because…” I don’t feel a need to seek out quantum loopholes that could just plausibly allow the way that the world seems to be, actually to be “true.”

But if this sort of thing bothers you and you’re desperate to escape the feeling that you’re trapped by causality, then this is a paper you should read.


Ok, so, about this game thing…

July 22, 2009

If you look up into the night sky, just to the right of the bit that looks like a giant shopping cart, you’ll see a small blue star, called Sulis. Around it floats a stormy orange gas giant, and around that in turn swims a small moon, called Selene (until I come up with a nicer name).

selene2Selene is gravitationally challenged by all that whirling mass and hence is warm, comparatively wet and volcanic. It’s a craggy, canyon-filled landscape, by sheer coincidence remarkably similar to northern Arizona. The thin atmosphere contains oxygen, but sadly also much SO2 and H2S, making it hostile to earthly life without a spacesuit. But life it does contain! Spectroscopic analysis and photography from two orbiters have confirmed this (never mind how the orbiters got there – work with me, guys!)

There are hints of many species, some sessile, some motile. And just a little circumstantial evidence that one of these species may be moderately intelligent and perhaps even has a social structure. Your mission, should you wish to pay me a few dollars for the privilege, is to mount an expedition to Selene and study its biology and ecosystems. If at all possible I’d also like you to attempt contact with this shadowy sentient life-form.

Nothing is known (well, ok, I know it because I’m God, but I’m not telling you) about Selene’s ecosystems, geology, climate or, in particular, its biology. What is the food web? How do these creatures behave? What’s their anatomy? What niches do they occupy? How does their biochemistry work? How do they reproduce? Do they have something similar to DNA or does a different principle hold sway? What’s the likely evolutionary history? For the more intelligent creatures, what can be learned of their psychology, neurology and social behavior? Do they have language? Can we communicate with them? Are they dangerous? How smart are they? Do they have a culture? Do they have myths; religion? What does it all tell us?

You need to work together to build an encyclopedia – like Wikipedia – containing the results of your experiments, your observations and conclusions, stories, tips for exploration and research, maps, drawings, photos and all the rest. It will be a massive (I hope!), collaborative, Open Science experiment in exobiology…

So that’s the gist of what I’m working on. I was going to open a pet store and sell imported aliens but I decided it would be much more fun to build a virtual world you can actually step into, instead of watching through the bars of a cage. I’ll try to develop a whole new, self-consistent but non-earthlike biology, building on some of the things I learned from Creatures and my Lucy robot. I’ll discuss some of the technical issues on this blog but I’ll try not to give the game away – the point of the exercise is to challenge people to do real science on these creatures and deduce/infer this stuff for themselves. They/you did it admirably for Creatures but in those days I couldn’t give you anything as complex and comprehensive as I can now, and this time I don’t have marketing people breathing down my neck telling me that nobody’s interested in science.

I have no idea what the actual features will be, or to what extent it’ll be networked, etc. I’m just starting work on the terrain system and I have an awful long way to go. Because I’m working unfunded and have only a limited amount of money to live on, I’m going to work the other way round to most people, so instead of working to a spec I’ll squeeze in as many features as I can before the cash runs out. I know it’s absurd to hope to do all this in the space of a year to 18 months – after all, how many programmers and artists worked on Spore? Something like a hundred? But I think I’m as well equipped for the job as anyone, I work far more efficiently on my own, and it’s worth the attempt.

Whaddaya think?


“Memristor minds: The future of artificial intelligence”

July 8, 2009

Ever the guardian of my intellectual development, Norm sent me a link to a New Scientist article on memristors, today. I’d never heard of them, but the article was interesting for both good and bad reasons, so I thought I’d share my impressions.

Here’s a short summary: The memristor is apparently a “missing component” in electronics, hypothesized by Leon Chua in 1971, to sit alongside the well known resistor, capacitor and inductor, but at the time it was unknown as a physical device. In the early years of this century, Stan Williams developed a nanoscale device that he believed fit the bill. And then Max di Ventra, a physicist at UCSD, linked this work with some research on a slime mould, which showed that they are capable of “predicting” a future state in a periodic environmental change. He suggested that this is a biophysical equivalent to a memristor. The article then goes on to suggest that neural synapses work the same way, and so this must surely be the big missing insight that has prevented us from understanding the brain and creating artificial intelligence.

But the article troubles me for a couple of reasons and I can’t help thinking there’s a serious problem with the way physicists and mathematicians tend to think about biology. Firstly, here’s a quote from the article:

“To Chua, this all points to a home truth. Despite years of effort, attempts to build an electronic intelligence that can mimic the awesome power of a brain have seen little success. And that might be simply because we were lacking the crucial electronic components – memristors.”

Hmm… So exactly what years of effort would that be, then? VERY few people have ever attempted to “build an electronic intelligence”. We simply don’t do that – we use computers! 

Sure, a computer is an electronic device, but the whole damned point of them is that they are machines that can emulate any other machine. So they can emulate memristors too. They don’t actually have to be MADE of them in order to do that – they simply simulate them in code, like they simulate everything else. And I’m sure I’ve many times written code that has a state memory like a memristor. I didn’t know there was a named physical device that works in the same way, and it’s very interesting that there is, because it might give us new analogies and insights. But if I needed something to behave like that I could have coded it any time I wanted to. It’s meaningless to say that we’ve been stuck because we lacked a new type of electronic component. Only a physicist would confuse hardware and software like that! It boggles my mind.

And then I’m a little perplexed about a missing electronic component we DO know about. Maybe someone can help me with this? Chua’s work apparently hypothesized the memristor as a fourth component to add the existing resistor, capacitor and inductor. But where’s the transistor? Isn’t that a fundamental component? It’s a resistor, after a fashion, but surely it’s a fundamental building block in its own right, because it has the ability to allow a voltage to modulate a current - without them almost no electronic circuits would do anything useful!

I hate to say it, but I wonder if that’s a comment on the minds of physicists, too? It’s the transistor (or vacuum tube) that makes the difference between a static circuit, for which the mathematics of physics works well, and a dynamic circuit, for which it doesn’t. The capacitor is a dynamic system too, but only for a moment and then it settles down into something nice and easy to write equations for. It’s only when you add transistors and their consequent ability to generate feedback that the system really starts to dance and sing, and then the equations stop being much use.

The real glaring insight that electronics gives us, in my not-always-terribly-humble opinion, is the realization that sometimes classical science has a bad habit of being obsessed with “quantities” and ignoring or even sometimes denying the existence of “qualities”. Two electronic systems might have precisely the same mass, complexity and constituent substances, for instance, but be wired up in a different arrangement, producing radically different results. The reductionism implicit in much of physics can’t “see” the difference between the two circuits – because it’s something purely qualitative, not quantitative.

It’s the same with the brain. The reason we don’t understand the brain has NOTHING of significance to do with some “missing component”. It has nothing to do with quantum uncertainty or any other reductionistic claptrap. The reason we don’t understand the brain is that we don’t understand the CIRCUIT. We don’t understand the system as a whole. Memories, thoughts, ideas and the Self are not properties of the brain’s components, they are properties of its organisation. It’s very hard to understand organisations – I could easily give you an electronic circuit diagram out of context and it might take you days or weeks to figure out how it works and exactly what it does. But you could know everything you need to know about the properties of its resistors, capacitors,  inductors and transistors, and even it’s memristors. You could weigh it and measure it all you liked and it would tell you nothing. Organization is not amenable to understanding using the tools of classical Physics.

Life and mind are qualitiative constructs. Looking for some special elixir vitae is completely missing the point. The article is very interesting and I plan to look up more information. Memristors may well provide a useful analogy that gives us some hints and insights about localised properties of brains, and that may steer us towards making more sense of the circuitry of intelligence. However, to suggest that we’ve got it all wrong because we didn’t have the right component in our toolbox for making our “electronic brains” is just nonsense. Electronic components are the province of physics, but electronic design is not. Synapses may be the province of physics too, but biology is not. Biology is a branch of cybernetics, which has a very different mindset (or did until physicists took it over and turned it into information theory).

P.S. I sort of see why transistors are missing now – at the mathematical level of description of Chua’s work, I guess a transistor is just a resistor, because both of them convert between voltage and current. Time only really enters into the equations as an integral, and the deeply nonlinear consequences of the transistor don’t really apply when you consider it as a single isolated component. But that was my point - once you wire them up into circuits all of this is pretty much irrelevant. It’s circuits that matter for intelligence. Minds are emergent properties of organisations. Looking for a “magic” component is just a modern-day form of vitalism.