Author Archives: thorehusfeldt

The Monster in the Library of Turing

Appears (in Swedish) as T. Husfeldt, Monstret i Turings bibliotek, Filosofisk tidskrift 36(4):44-53, 2015.

[As PDF]

Nick Bostrom’s Superintelligence presents a dystopian view of strong artificial intelligence: Not only will it be the greatest invention of mankind, it will also be the last, and this emerging technology should be viewed as an immediate and catastrophic risk to our species, like molecular nanotechnology, nuclear power, or chemical warfare.

Nick Bostrom, Superintelligence, Oxford University Press, 2014.

Nick Bostrom,
Superintelligence, Oxford University Press, 2014.

Artificial intelligence with super-human capabilities will be the last invention controlled by Homo sapiens, since all subsequent inventions will be made by the “superintelligence” itself. Moreover, unless we are extremely careful or lucky, the superintelligence will destroy us, or at least radically change our living conditions in a way that we may find undesirable. Since we are currently investigating many technologies that may lead to a superintelligence, now would be a good time for reflection.

Nobody knows, much less agrees on, how to define intelligence, be it general, artificial, or strong. Neither does Bostrom. By his own admission, his book is inherently speculative and probably wrong. Not even the rudiments of the relevant technology may be known today. However, many of Bostrom’s arguments are quite robust to the particulars of “what?” and “how?”, and the book can be enjoyed without a rigorous definition. For now, we imagine the superintelligence as a hypothetical agent that is much smarter than the best current human brains in every cognitive activity, including scientific creativity, general wisdom, and social skills.

Pathways and Consequences

Bostrom describes a number of pathways towards a superintelligence. They consist of current scientific activities and emerging technologies, extrapolated beyond human cognitive capabilities. These include

  • neuroanatomical approaches, such as simulation of whole brains (Einstein’s brain in a vat or simulated on a computer, neurone by neurone),
  • genetically or artificially modified humans (brain implants, parental gamete selection for intelligence),
  • intelligence as an emergent phenomenon in simpler networks (the internet as a whole “becomes conscious”),
  • computer science approaches like machine learning (IBM’s Jeopardy-winning Watson) and “good old-fashioned artificial intelligence” using symbolic reasoning (chess computers).

None of these technologies is currently close to even a dullard’s intelligence, but on a historical time scale, the are all very new. Bostrom’s description is an entertaining tour of computer science, neuroanatomy, evolutionary biology, cognitive psychology, and related fields. It is moderately informative, but none of it is authoritative.

The consequences of any of these research programs actually achieving their goals are even more speculative. Several futurists have developed scenarios for how a superintelligent future might look, and Bostrom surveys many of these ideas. In one of those visions, accelerating and self-improving digital technologies quickly overtake human cognitive abilities and transform our environment, like we transformed pre-historic Earth. After a short while, all the protons that currently making up the planets of the solar system are put to better use as solar-powered computing devices, orbiting the sun in a vast networked intelligence known as a Dyson sphere. There are many other scenarios, partly depending on which approach will turn out to win the race against our own intelligence, and how the result can be harnessed. Not all these possible futures are dystopian. Some even leave room for humans, maybe uploaded to a digital version of immortality, or kept in zoos. But they certainly entail dramatic changes to our way of life, easily comparable to the invention of agriculture or the industrial revolution.

The Control Problem

Bostrom’ book begins with a short fable, in which a group of birds agrees to look for an owl chick to help them with nest-buildling and other menial labours. We immediately see their folly: The owl chick will quickly outgrow the birds, throw off their yoke, and quite probably eat them, as is its nature. The birds would have been better off thinking about the result of their search before it was too late.

However, in its most harmless form, the superintelligence is merely a device that excels at goal-oriented behaviour, without intentionality, consciousness, or predatory tendencies. Bostrom explains that even such a superintelligent servant, docile in comparison to the rampant killer robots from blockbuster movies, would be a terrible thing.

Bostrom describes an interesting thought experiment about how to specify the behaviour of a superintelligent machine that produces paperclips. There are at least two undesirable outcomes that stem from “perverse instantiation” of the machine’s task. One is that the machine might turn everything into paperclips, including humans. Or, faced with a more carefully worded task, the machine first solves the problem of increasing its own intelligence (to become a better paperclip-producer), turning the entire solar system microprocessors. No matter how much we continue specifying our orders, the machine continues to avoid “doing what we mean” in increasingly intricate ways, all with catastrophic outcomes.

I like to think of this idea in terms of Goethe’s Zauberlehrling, immortalised by Mickey Mouse in Disney’s Fantasia. In this tale, the sorcerer’s apprentice commands his enchanted broomstick to fill water into a bathtub. Obedient and literal-minded, the magical servant hauls up bucket after bucket, yet continues long after the tub has been filled. Disaster is averted only because the sorcerer himself arrives in the nick of time to save Mickey from drowning. No malice was involved; unlike Bostrom’s allegorical owl-chick, the broomstick has no volition other than the dutiful execution of Mickey’s task. It was Mickey who failed to be sufficiently precise in how he formulated the task. Had Goethe’s broomstick been superintelligent, it seems to me that he might just have killed the apprentice and thrown his body in the tub. After all, 70 percent of it are water, so the task is completed with speed and elegance.

Illustration of Der Zauberlehrling. From: Goethe's Werke, 1882, drawing by Ferdinand Barth (1842--1892).

Illustration of Der Zauberlehrling. From: Goethe’s Werke, 1882, drawing by Ferdinand Barth (1842–1892).

These games of formalism may strike you as trite exercises in deliberately misunderstanding instructions against their intention. However, every programmer or lawmaker knows that this is exactly the reason for why software is so hard to write or laws are hard to formulate. If there is a way to misunderstand your instructions, it will happen.

Thus, there is no need to attribute malice to the superintelligence. Instead, we might be doomed even by a perfectly obedient agent labouring to perform ostensibly innocent tasks. In the words of Eliezer Yudkowsky, “The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else.” 1 Of course, a superintelligence with volition, intentionality, or free will, would be even harder to control.

The control problem has many aspects, one of which is purely institutional: If the superintelligence is developed in vicious competition between corporations or militaries, none of them is motivated to stop the development, for fear of losing a technological arms race. As a civilisation, we have an unimpressive track record of preventing globally harmful behaviour when individual proximate gains are at hand. This addresses a popular rejoinder to a dystopian intelligence explosion: “Why don’t we just pull the plug?” First, it’s not clear that there is a plug to pull.2 Second, who is “we”?

Assuming we can solve the institutional problem of who gets to design the the superintelligence, the solution seems to be to codify our goals and values, so that it won’t act in ways that we find undesirable. This, of course, is a problem as old as philosophy: What are our values? And again, who is “we”: the species, the individual, or our future? Should the paperclip maximiser make sure no children are killed? Should no unborn children aborted? Is it in the alcoholic’s interest to receive alcohol or not?

Bostrom speculates if we can “what is good for us” on a higher-order level, asking the superintelligence to extrapolate our desires based on a charitable (rather than literal) interpretation of our own flawed descriptions, possibly in a hierarchy of decisions deferred to ever higher moral and intellectual powers. Assuming that we were to agree on a meaningful “Three Laws of Robotics” that accurately described our values without risking perverse instantiation, how do we then motivate a vastly superiour intellect to follow these laws? I find these speculations both entertaining and thought-provoking.3

Some futurists welcome the idea of a paternalistic superintelligence that unburdens our stone-age mind from solving our own ethical questions. Even so, as Bostrom argues, if we share our environment with a superintelligence, our future depends on its decisions, much like the future of gorillas depends on human decisions. If we are currently building the superintelligence, we have but one chance to make it treat us as nice as we treat the gorillas.

The Library of Turing

Bostrom tacitly assumes a strictly functionalist view of the mind. For instance, if we were able to perfectly simulate the neurochemical workings of a brain, this simulation itself would be a mind with consciousness, volition, and agency. Once the functions of the brain are understood, the substrate on which their simulation runs is secondary. From this perspective, questions about cognition, intelligence, and even agency, are ultimately computational questions.

Let me invite you to a fictional place that I call the Library of Turing. It is inspired by La biblioteca de Babel, described in a short story by Jorge Luis Borges. His library consists of an enormous collection of all possible books of a certain format. Almost every book is gibberish, as had it been typed by intoxicated monkeys. One book consists entirely of the letter A, but another contains Hamlet.4 In Borges’ story, the librarians find themselves in a suicidal state of despair; surrounded by an ocean of knowledge, yet unable to navigate it due to the library’s overwhelming dimensions. Our brains cannot fathom its size, and our languages cannot describe it5, “unimaginably vast” does not even come close. However, the metaphor of the library helps us to build some kind of mental image of its size.6

Behold, then, the Library of Turing. Each volume contains computer code. Much of it is garbage, but some volumes contain meaningful programs in some concrete programming language, let’s say Lisp.7 We can feed these programs to a computer found in each room. Most wouldn’t do anything useful, many would cause the computer to crash. From our starting room, lined with bookcases, we see exits to other rooms in all directions. These rooms contain more volumes, more bookcases, and more exits. There is no discernible ordering in the library, but close to where we are standing, a particularly worn volume contains the program

        (print "Hello, world!")
    

which instructs the computer to output the friendly message “Hello world!”. Next to it, a book contains the nonsensical phrase “Etaoin shrdlu,” not a valid program in Lisp. We shrug and put it back. Thanks to the diligence of some algorithmic librarian, a third book in our room contains the complete code for the primitive natural language processor Eliza, written by Joseph Weizenbaum in 1966. This famous little program is able to pretend to have (typed) conversations with you, like this:

“Tell me your troubles.”

“My cat hates me.”

“What makes you believe cat hates you?”

The primitive grammatical mistake of leaving out the pronoun gives you a clue that Eliza works by very simple syntactic substitutions, without any attempt at understanding what you mean. Still, it’s better than just saying “Hello, world!” If we continue browsing, we might find the code of some natural language processors that are state-of-the-art in the 2010s, such as IBM’s Watson, or Apple’s Siri.

eliza

Fragments of the source code of Eliza, an early natural language processor. The whole program takes just over 1000 lines.

Fragments of the source code of Eliza, an early natural language processor. The whole program takes just over 1000 lines.

Indeed, our conceit is that every algorithm appears somewhere in Turing’s library. 8 In particular, if we accept functionalism, some book describes the behaviour of Einstein’s brain: On input “What is 5 + 5” or “Do you prefer Brahms?” or “Prove the Riemann hypothesis” it will give the same answer as Einstein. We have no idea how this program looks. Maybe it is based symbolic artificial intelligence, like Eliza. Or maybe the bulk of the books is taken up by a “connectome” of Einstein’s actual brain, i.e., a comprehensive map of its neural connections. Such a map has been known for C. elegans, a transparent roundworm with 302 neurones, since the mid-1980s, and even though Einstein’s brain is considerably larger, this is not absurd in principle.

Somewhere in Turing’s library there must be description of a computational process that is vastly superior to every human brain. Otherwise Einstein’s brain would have been the smartest algorithmic intelligence allowed by the laws of logic, or close to it. Yet it seems unlikely, not to say self-congratulatory, that evolution on the planet Earth succeeded in constructing the ultimate problem solving device in just a few million generations.

Translated into this setting, Bostrom suggests that our discovery of this description would have catastrophic consequences. The library contains a monster. Our exploration should proceed with prudence rather than ardour.

Searching for the Monster

Given that the description of a superintelligence exists somewhere in the library, all that remains is to find it. If you don’t work in computer science, this task seems to be relatively trivial. After all, even a mindless exhaustive search will find the volume in question. While this approach is not a particularly tempting exercise for a human, computers are supposed to be good at performing mindless, well-defined, repetitive, and routine tasks at high speed and without complaining. Thus, sooner or later we stumble upon the monster; the only debate is whether the search time is measured in years, generations, or geological time scales.

But this is a fallacy. It is a fallacy because of the unreasonable growth rate of the exponential function, and the powerlessness of exhaustive search.

To appreciate this, consider again the 23 symbols that make up our friendly “Hello World!” program. We could have found it, in principle, by exhaustively searching through all sequences of characters that make up Lisp programs.

How much time does this take? That is a simple exercise in combinatorics, after we fix some details—how many symbols are there, how fast is the computer, etc. But no matter how you fix these details, the result is disappointing.9 If a modern computer computer had started this calculation when the universe began, it would have gotten to somewhere around (print "Hello,"). You could gain a few extra letters by throwing millions of computers at the problem. But even then, the universe does not have enough resources to allow for an exhaustive search for even a very simple program. Either you run out of time before the universe ends, or you run out of protons to build computers with. Computation is a resource, exponential growth is immense, and the universe is finite.

Bostrom pays little attention to this problem. For instance, in his discussion of current efforts on brain simulation, he writes:

Success at emulating a tiny brain, such as that of C. elegans, would give us a better view of what it would take to emulate larger brains. At some point in the technology development process, once techniques are available for automatically emulating small quantities of brain tissue, the problem reduces to one of scaling.

Well, to me, scaling is the problem.

One might object that this observation is a mundane, quantitative argument that does not invalidate the compelling fact that in principle, the exhaustive search will sooner or later stumble upon the fully-fletched “Hello World!”-program, and eventually the monstrous superintelligence. But that is exactly my point: You can simultaneously accept machine-state functionalism and be blasé about the prospects of AI. Speculation about the imminent discovery of the monster in Turing’s Library must be grounded in computational thinking, which is all about the growth rates of computational resources.

Could there be another way of discovering the superintelligence than exhaustive search? Certainly. After all, nature has discovered one of the monsters, the brain of Homo sapiens, starting with very simple “brains” hundreds of millions of years ago, and refining them stepwise by natural selection and mutation in environments that favoured cognition. Thus, there is some gradient, some sensible set of stepwise refinements, that Nature has followed through the Library of Turing to arrive at Einstein’s brain. 10 We just don’t know how to recognise, nor efficiently follow this gradient. In the enthusiasm surrounding artificial intelligence in the 1960s we might have thought that we were on such a gradient. If so, we have abandoned it. The current trend in artificial intelligence, away from symbolic reasoning and towards statistical methods like machine learning, that do not aim to build cognitive models, strikes me as an unlikely pathway.

Given our current understanding of the limits of computation, there are many relatively innocent-looking computational problems that are computationally hard.11 After more than a generation of very serious research into these problems, nobody knows anything better than exhaustive search for many of them. In fact, while the amazing features of your smartphone may tell you a different story, the main conclusion of a generation of research in algorithms is bleak: for most computational problems we don’t know what to do.12

Let me repeat that I do not try to rule out the existence of a monster. I merely point out that even though a monster exists, we may never run into it. Turing’s Library is just too vast, nobody has labelled the shelves, much less put up useful signs and maps. Our intuition is mistaken when it extrapolates that we will soon have mapped the entire library, just because we’ve seen more of it than our grandparents ever did. Moreover, imminent and rampant progress in exhaustive search may have been a reasonable hope half a century ago. But today we know how hard it is.

Research Directions

If the algorithmic perspective above is correct, then there is nothing to worry about. The superintelligence is an entertaining fiction, no more worthy of our attention than an imminent invasion by aliens,13 eldritch gods from the oceans, or a sudden emergence of magic. The issues raised are inherently unscientific, and we might as well worry about imminent overpopulation on Venus or how many angels can dance on the head of a pin.

But I could be wrong. After all, I wager the future of human civilization on a presumption about the computational complexity of an ill-defined problem. I do think that I have good reasons for that, and that these reasons are more firmly grounded in our current understanding of computation than Bostrom’s extrapolations. However, if I’m wrong and Bostrom is right, then humanity will soon be dead, unless we join his research agenda. Thus, from the perspective of Pascal’s wager, it may seem prudent to entertain Bostrom’s concerns.

The problem domain opened up by Superintelligence may lead to valid research in various areas, independently of the plausibility of the underlying hypothesis.

For instance, the problem of codifying human values, a formalization of ethics, is a problem as old as philosophy. Bostrom’s prediction injects these questions with operational significance, as these codified ethics would be the framework for the incentive structure needed to solve the control problem. However, an “algorithmic code of ethics” is a worthwhile topic anyway. After all, our digital societies are becoming increasingly controlled by algorithmic processes. These processes are nowhere near superintelligent, but they are highly influential: Algorithms choose our news, decide our insurance premiums, and filter our friends and potential mates. Their consistency with human values is a valid question for ethicists and algorithmicists alike, no matter if the algorithms are authored by Google’s very real software engineers or a very hypothetical paternalistic AI.

Another issue related to the control problem is the ongoing work on the semantics and verification of programming languages. This has been a well-established subfield of computer science for a generation already. Some of the these issues go back to Gödel’s incompleteness theorem’s from the 1930s, proving that formal systems are unable to reason about the behaviour of formal systems. In particular, it has turned out to be a very difficult problem of logic to specify and verify the intended behaviour of even very short pieces of computer code. It may well be that questions about harnessing the behaviour of a superintelligence can be investigated using these tools. Other scientific areas may provide similar connection points: Incentive structures are a valid question for game theory and algorithmic mechanism design, which resides on the intersection of computer science and economics. Or the computational aspects of artificial intelligence may become sufficiently well defined to become a valid question for researchers in the field of computational complexity. This might all lead to fruitful research, even if the superintelligence remains eternally absent. But whether superintelligence becomes a valid topic for any of these disciplines is very unclear to me. It may depend on purely social issues within those research communities.

It may also depend on the availability of external funding.

This last point leads me to speculate about a very real potential impact of Bostrom’s book. It has to do with the perception of artificial intelligence in the public eye. Research ethics are a political question ultimately decided by the public. The most Herculean promise of current artificial intelligence research is the construction of general artificial intelligence. What if the public no longer saw that as a goal, but as a threat? If Bostrom’s dystopian perspective leads to increased public awareness about catastrophic effects of superintelligence, then general AI would not appear under “Goals” in a research plan, but under “Ethical considerations” that merit to public scrutiny along with climate change, sensitive medical data, rampant superviruses, animal testing, or nuclear disasters. And these, largely political, requirements may themselves necessitate research into the control problem.

We may want to ponder the consequences of running into a monster in the Library of Turing no matter how plausible that event may be.


  1. Eliezer Yudkowsky, Artificial Intelligence as a Positive and Negative Factor in Global Risk, 2006.↩
  2. Unlike in the movies, we must assume that a superintelligence can anticipate the efforts of a plucky group of heroes. Bostrom describes a number of ways in which to make yourself immune to such an attack by distributing the computational substrate. Surely a superintelligence can think of more.↩
  3. I particularly like the idea of design an AI with a craving for cryptographic puzzles to which we know the answer.↩
  4. A million others contain Hamlet with exactly one misprint.↩
  5. The language of mathematics is an exception. But our brains cannot imagine 1025, the number of stars, much less 10123 the number of atoms in the universe. By contrast, the number of books in the Library of Babel is 251, 312, 000.↩
  6. Daniel Dennett has has used this idea as “the Library of Mendel” to illustrate the vast configuration space of genetic variation. Daniel C. Dennett, Darwin’s Dangerous Idea, Simon & Schuster 1995.↩
  7. I chose Lisp because of its role as an early AI programming language, but any other language would do. For a cleaner argument, I could have chosen the syntax of Alan Turing’s original “universal machine”. In the language of computability theory, all these choices are “Turing-complete”: they can simulate each other.↩
  8. Some programs may be so big as to be spread over several books, maybe referring to other volumes as subroutines much like modern software is arranged into so-called software libraries.↩
  9. Lisp is written in an alphabet of at most 128 characters. A modern computer with 109 operations per second, running since the Big Bang, would not have finished all 12813 strings of length 13.↩
  10. If we entertain this idea, then a pathway to intelligence would be the simulation of competetive environments in which to artificially evolve intelligence by mutation and selection. This replaces the problem from simulation of entire brains to simulation of entire adaptive environments, including the brains in them.↩
  11. This claim is formalised in various hypotheses in the theory of computational complexity, such as “P is not NP” and the Exponential Time Hypothesis.↩
  12. Not even functioning quantum computers would change this.↩
  13. Here is the analogy in full: We have explored the Moon and are about to explore Mars. We should worry about imminent contact with alien civilisations.↩

Conflicting git merge runs for several minutes. (3,5)

no30

[as PDF]

A cryptic crossword themed around the distributed version control system git. This is partly inspired by the sorry state of the git documentation, which reads like a hodge-podge of cryptic clues on its own. I’m pretty happy with some of the surface readings.

Cryptic solvers with no understanding of git will have a very hard time with a few of these clues. On the other hand, git users without any understanding of cryptic clues will feel right at home.

Across
1 git rebase a ref, keeping the current branch. (11)
8 It horizontally connects a group of developers that is second rate at heart. (3,4)
9 Port one good upstream class. (5)
10 Stash /home with Eclipse, say. (4)
11 Plumbing in git finally offers interface letting everybody test SHA1 abbreviations. (7)
13 Better bring changes from the repository into the working copy if you use Subversion. (6)
14 Announce merge of HEAD in real life. (6)
17 Repent misguided introduction of DVCS sham. (7)
19 Git in detached HEAD state at the beginning of checkout is a proverbial irritation. (4)
22 Rebuke from git-fetch I’d enjoy. (5)
23 Angry rant about central part of GUI editor reveals having a temperament of a particular kind. (7)
24 Social gathering attended by men only to regain a ludicrous git concept. (7,4)

Down
1 Force print download objects and refs from another repository. (5)
2 Truly departed, I left and rewrote history. (7)
3 Pay attention to the editor features. (4)
4 Romeo to overplay origin, maybe. (6)
5 Conflicting git merge runs for several minutes. (3,5)
6 Sounds like the results of a collision, stupid. (5)
7 Made sense of the syntax, quietly bothered, … (6)
12 … and replaced caret with revspec’s second symbol, among others. (8)
13 Carefully analyse a French command to lose virginity. (6)
15 He makes changes later re compilation. (7)
16 Creator accepts first pull on computer, behaving with some degree of autonomy. (6)
18 Finally committed its changes. (5)
20 Hardy eccentric used lots of branch heads. (5)
21 Scandinavian man’s revolutionary version control system. (4)

(UPDATE: I’ve received a lot of feedback on this one, so I took another round polishing the surfaces. This is the 3rd revision.)

Er Norge i dette nedrustningsforsøg?

no28

Mit andet forsøg på at komponere en kryptisk krydsogtværs i samme stil som Guardian’s Azed. Resultatet er nok lidt enklere at løse pga de mange krydsende bogstaver, men meget vanskeligere at sætte. Spørgsmålene er så ximeneanske som jeg nu kan gøre dem.

[PDF-version]

Vandret
2 Jævner en sovs, spiller snerpe inderst inde. (7)
7 Sang lyder som vrede. (4)
10 Vedrørende en reaktion, ofte komisk, ophidset. (10)
11 Parlamentets førstekammer giver Sprogøe Rigshospitalet under starten af sommeren. (7)
13 Noget man skal huske: Udkanten af Maribo holder europamesterskaber. (4)
14 Spiste engelsk slik og det yderste af madæble af overbevisning. (7)
15 Støde på reklame til hende på fransk. (6)
16 Navn i hver tredje novellefilm. (4)
17 Tag om øse og betl som en ung pige. (9)
21 Lederne af Tiberius’ senat afskaffede retroaktivt denne smertefulde regeringsform. (9)
25 Fryse eller tilsande, kun lige. (4)
27 Kobberfarvet gin? Rør voldsomt. (6)
29 Stegt ret er nemlig vendt uden fagkundskab. (7)
30 Væremåder af indisk Premierminister. (4)
31 Strålebehandling for plante med karakter 1. (7)
32 Pervers analakt ses i udstilling på balkon. (10)
33 Del af mange armbåndsures tandhjul. (4)
34 Er Norge i dette nedrustningsforsøg? (7)

Lodret
1 Mon efterretningtjenesten er indsat i kedeligt orkestermedlem? (10)
2 Organekspert sendes. (7)
3 Indhold af »De Fem« erindres flygtigt. (6)
4 Endeligt købe varm drik til stor kvinde. (5)
5 Overdreven hudlidelse dækker over begyndende trodsalder. (7)
6 Hårplejer mangler spænding omkring formiddagstid i USA. (7)
7 Fodring med modermælk til kejser af Kina, som indeholder kvælstof. (6)
8 Den sure kvinde har kigget efter mønster. (6)
9 Landtunge er tysk til midten af Femern. (5)
12 Jomfru Maria, hinde gennemboret af hjorten. (10)
18 Flottenhejmer fra Sjælland fx: partér en fugl der serveres juleaften. (7)
19 Kost er værktøj af højeste rang. (7)
20 Forvente en jomfru, de holder kort. (7)
22 Kvinde formodet at omvendes. (6)
23 Ses i februar, ej marts, Jonny. (6)
24 Bygningsværk med sol og i mange farver. (6)
26 Søge hurtigt, fx igennem en film af stjerner, inklusive Pacinos første. (5)
28 Kigge efter Rudolf for at gøre rent. (5)

Universal Computation Told in Quotes

In the words of George Bernard Shaw,

I often quote myself. It adds spice to my conversation.

Selfie with Alan at Bletchley Park, 2012

Selfie with Alan at Bletchley Park, 2012


The other day, while preparing a lecture on the impact of Alan Turing’s work, I had to opportunity to come up with the following deepism:

Nothing in information technology makes sense except in the light of universal computation.

—Thore Husfeldt, 2015

My formulation, of course, deliberately mimics a meme of evolutionary biology,

Nothing in biology makes sense except in the light of evolution.

—Theodosius Dobzhansky

from the eponymous essay ([Wikipedia]).

The claim I want to establish is that universal computation is to information technology what evolution is to biology: the single fundamental conceptual breakthrough that makes everything clear, and without which many phenomena become impossible to reason about.

The story about Turing’s result goes something like this: In the Olden Days, computation was domain-specific. Some of it was very sophisticated, and by the 19th century even programmable, such as the Jacquard loom or Babbage’s Analytical engine. But the insight of universal computation, formulated in Turing’s 1936 paper, comes only in section 6, mainly to give credence the validity of the computational model he just defined

It is possible to invent a single machine which can be used to compute any computable sequence.

A. M. Turing, On computable numbers, with an application to the Entscheidungsproblem, Proc. London Math. Soc., 1936

To do this, Turing observes that the behaviour of a specific computational device (“the hardware”) can be turned into an algorithmic description and then fed as input to sufficiently strong other machine. By this conflation of “device”, “algorithm” and “data”, all computational models, provided they reach some minimal level of algorithmic power, are equally powerful (in a qualitative sense) in that they can simulate each other. The device operating Jaquard’s loom and Babbage’s analytical engine might as well be one and the same, namely the device we now call the universal computer. Bam!

In the Days of Yore, devices were appliances like washing machines and lawn mowers. They did one thing really well. But in the information age, there is only Turing’s universal computer

Like every conceptual breakthrough, once you’ve grasped it, it becomes mundane and trivial. Today, children have universal computers in their pockets (a smartphone), and the idea that of course this device is both a music player and a word processor and a calculator and a game is obvious.

To appreciate the change of mindset, consider what computer pioneer Howard Aiken said as late as 1956, two decades after Turing’s paper:

If it should turn out that the basic logics of a machine designed for the numerical solution of differential equations coincide with the logics of a machine intended to make bills for a department store, I would regard this as the most amazing coincidence that I have ever encountered.

Yet this is exactly how it turned out!

A splendid book that makes this point very strongly is Martin Davis’s Universal computation: The road from Leibniz to Turing. Highly recommended.

This is a good story, and I like telling it. In this framing, the contribution of Alan Turing stands next to that of Charles Darwin.

So there I was, eagerly preparing slides and rehearsing the timing of anecdotes for yet another public lecture about this – in fact, for a pre-premiere of the Turing drama The Imitation Game.

Alas, in the middle of my preparations, a trusted colleague pointed me to a paper by Copeland: B. Jack Copeland, “Unfair to Aiken”, IEEE Annals of the History of Computing, vol.26, no. 4, pp. 35-37, October-December 2004, doi:10.1109/MAHC.2004.36. It turns out that the Aiken quote above is taken grossly out of context—Aiken understood universal computation perfectly well and merely made a completely valid point about hardware optimisation!

Thus was a good story ruined for me.

So where to turn instead to find a solid demonstration of computational ignorance? Luckily, I had to look to further than in the news:

[W]e want to allow a means of communication between two people which even in extemis with a signed warrant from the home secretary personally that we cannot read? … My answer to that question is no, we must not.

David Cameron, January 2015

Thank you, David!

The problem with this statement, apart from the galling infringement of fundamental rights and a number of other points, is the technological incompetence: Encryption is an algorithmic process that requires the availability of merely some very basic computational fundamentals. Outlawing encryption is computationally equivalent to outlawing multiplication. Today we don’t have an appliance for e-mail (which Cameron could then, presumably, control from the government). Instead, we have a universal computer that does amazing things, including encrypted email.

Cory Doctorow phrased the question underlying the desires of people like David Cameron in a blog post a few years ago:

“Can’t you just make us a general-purpose computer that runs all the programs, except the ones that scare and anger us? Can’t you just make us an Internet that transmits any message over any protocol between any two points, unless it upsets us?”

Cory Doctorow, Lockdown: The coming war on general-purpose computing, 2011.

Well, no you can’t. Because Turing.

This angle fit my lecture perfectly, of course: The Imitation Game is a film about encryption and the struggle against totalitarianism and the fact that your own government may not have your own best interests at heart, so I was able to replace the slanderous Aiken quote with a current events angle that made Turing even more relevant!

Alan Turing: Universalmaskinen og universalgeniet

Foredrag om Turings virke ved forpremieren til filmen The Imitation Game i Grand Teatret, København, d. 22. januar 2015.

Foredraget omhandler de dele af Turings virke, som kun nævnes i forbifarten i filmen. Hovedvægten ligger på at forklare vigtigheden af Turings konceptuelle bidrag, nemlig idéen om «universalitet af beregning» i form af universalmaskinen – ofte kaldt den universelle turingmaskine.
Der er også lidt om kunstig intelligens og moderne biologi.

Videre læsning:

Krig i den digitala världen — informationsteknologin som den nya fronten

Föreläsningar 11-13 november 2014 i Halmstad, Lund och Växjö i Folkuniversitets serie “I skuggan av krig — vetenskap och kultur före och efter skotten i Sarajevo” inom Teknik- och Naturvetarcirkeln.

FU-teknatht14 (1)

Jag pratar om cyberkrig: vad det är, vad det inte är, och hur det fungerar. Föreläsningen innehåller lite teknologihistoria, olika scenarier för cyberattacker, lite om internets struktur och protokoller, och en minikurs i cybersabotage: hur man hittar lösenord, genomför ett fördelad överbelastningsangrepp samt kodinjicering.

Vidare läsning:

At first, Eppstein liked minimum spanning trees. (4)

I spent a splendid week at Schloss Dagstuhl for Dagstuhl Seminar 14451: Optimality and tight results in parameterized complexity. As usual, this was intellectually extremely stimulating and very exhausting.

My head is full of tempting research ideas that I immediately need to pursue. Instead, I finalised a small cryptic crossword about parameterized complexity. If you are in the tiny demographic targeted by this puzzle, enjoy!

[As PDF]

no26-grid

Across
7 Freethinker Nelson hides a smaller problem. (6)
8 Mr No is crazy for graphs like K5 and K3,3. (6)
9 Remote application for algorithm rejected initially. (4)
10 Uppermost parts of perennial Unix command for displaying acyclic graph in PostScript? (8)
11 Peer pressured? (8)
13 Gadget for viewing booty in the mirror. (4)
14 Leaders of Japanese universities lament yearly when ICALP is. (4)
15 The German left room before Erik Demaine briefly blushed. (8)
16 Holger Dell, perhaps, to date teen in disguise. (8)
19 At the start of reduction, apply a trick. (4)
20 Rod is covered in soft hair, reportedly. (6)
21 Importance of mean and variance, for instance. (6)

Down
1 Important concept in exponential time complexity is belittling to slave. (4-9)
2 A connected, bridgeless cubic graph with chromatic index equal to 4 expresses “I love you” in a sharply critical fashion. (8)
3 Leaf lattice contains a set whose closure equals itself. (4)
4 Aunt had intercourse, as represented on a surface. (8)
5 Sounds like you mend one. (4)
6 Unix filesystem in important kernelization. (13)
12 Ask wordy drunk when Dagstuhl seminars take place. (8)
13 Robertson and Seymour’s results maybe confused me and others. (8)
17 Blow nose for very long running times. (4)
18 At first, Eppstein liked minimum spanning trees. (4)

Solution to nr. 22

This is the annotated solution to my A Song and Ice and Fire-themed cryptic crossword I Sent Letters About Cersei’s First Sexual Relationship.

Definitions are underlined, anagrams are starred, reversals are indicated by <.

Across

1 Heathen ironborn plundered plowed field. (7)
INFIDEL. I(ronborn)N FIELD*.

5 Behaviour of a cruel and terrifying person—I therefore left leaders of Sorrowful Men. (7)
OGREISM. (I ERGO)< S(orrowful) M(en).

9 Sellsword captain carried goods, having a change of heart towards early retirement. (5)
CAGGO, known as Corpsekiller, captain of the Windblown in A Dance of Dragons LX. CARGO (= carried goods) with central letter G changed to R(etirement). Not the best clue in the set.

10 Rev. Spooner escorted laggard to a guardsman sworn to House Lannister. (3,6)
RED LESTER, guardsman of Tywin Lannister, posted outside the Hand’s solar in A Storm of Swords LXXVII. Spoonerism of “led rester”. Arguably, the Spoonerism should be indicated by “According to Spooner” or something like that. The “a” is superfluous.

11 Short moments filled with endless lay for relatives. (6,4)
SECOND SONS, among the oldest of the free sellsword companies. SECONDS around SON(g).

12 Wants to sell daughter’s maidenhead and partially redeem maester. (4)
EMMA, old server at the Quill and Tankard tavern of Oldtown, mother of Rosey. Hidden in redeEM MAester. According to some schools, the definition ought to be “She wants to sell…”.

14 Ned heard two manoeuvres in despair. (11)
DOWNHEARTED. NEDHEARDTWO*.

17 Reward tenth sworn brother of the Night’s Watch. (6,5)
ENDREW TARTH, master-at-arms at Castle Black after Ser Alliser Thorne. REWARDTENTH*, with “sworn” (in the sense of “cursed” etc.) as the anagram indicator.

19 Leave out central promise to Targaryen leader. (4)
OMIT. prOMIse T(argaryen).

20 A few groats and pennies holding unit back before first ride for Ser Duncan at Ashford Meadow, say. (10)
CHALLENGER, which was the role of Ser Duncan in said tournament in The Hedge Knight. CHANGE around ELL< followed by R(ide).

23 Dwarf returned cup-shaped metal object to unknown artisan. (9)
IRONBELLY, master smith at King’s Landing charged with chain-construction by Lord Tyrion in A Clash of Kings XV. NORI (a dwarf in JRR Tolkien’s The Hobbit) reversed, followed by BELL and Y. I am very pleased with this clue: the unknown is well-hidden, the surface makes you think of an irrelevant situation (pointing towards the wrong dwarf and the wrong cup) at the purple wedding of A Storm of Swords.

24 Eyrie facing the French is situated in a sheltered position. (7)
NESTLES. NEST + LES.

25 Hedge knight’s coat of ice is surrounded by expression of surprise. (7)
LORIMER, known as the Belly, a fat hedge knight in the service of Leo Lefford, attended by Podrick Payne, see A Feast for Crows XIV. RIME in LOR

Down

1 I sent letters about Cersei’s first sexual relationship! (6)
INCEST. ISENT* about Cersei. Another clue I’m very happy with.

2 Initially festive, until Gwyneth and Cletus Yronwood’s banishment. (6)
FUCAGY. Acrostic in “F(estive)… Y(ronwood)”.

3 Return command to Eddard before soldiers become priests. (7,3)
DROWNED MEN, priests of the Ironborn. WORD< NED MEN. “Soldiers” for MEN is not really cryptic enough in my book.

4 Solar remodelled for knight of the Kingsguard. (5)
LORAS. SOLAR*.

5 Honor-clad, destroyed seat of a noble house in the Vale of Arryn. (3,6)
OLD ANCHOR, seat of House Melcolm . HONORCLAD*.

6 Noble house: A stag rampant. (4)
REED. DEER<.

7 At home, Tangletongue consumed close friend. (8)
INTIMATE (as a noun). IN TIM  ATE. Tim Tangletongue is a steward at Castle Black, defending the Wall in A Storm of Swords LXIX.

8 Sam mired in a mess, attending the Drowned God. (8)
MERMAIDS. SAMMIRED*. Again, some schools don’t like the grammar of the definition.

13 Atop Reek, he jerked Jaime’s junk. (10)
OATHKEEPER, Valyrian steel sword of Ser Jaime Lannister, discarded in A Storm of Swords LXXII by giving it to Brienne of Tarth. ATOPREEKHE*. Irresistible surface.

15 Fails to disclose how an area can be fortified? (9)
WITHHOLDS. An area can be fortified WITH HOLDS.

16 Maesters and the King’s Hand, for example, cover the face after short announcement. (8)
ADVISORS. AD VISORS

18 House Mallister’s heraldic beast, beheaded in the morning, catches sunlight. (6)
AGLEAM. (e)AGLE AM.

21 Staunch and kingly, after change of allegiance. (5)
LOYAL. ROYAL after changing directions (Left for Right).

22 Bard sounds talented. (4)
ABEL, bardic alter ego of Mance Rayder attending a feast in Winterfell. Homophone of ABLE.

Unclued

The unclued entries solve as PIETY, PRAYER, and DEVOTION, the three ships of the unfortunate Lord Sunglass seized by King Stannis for the attack on King’s Landing.

I sent letters about Cersei’s first sexual relationship! (6)

A cryptic crossword themed after George R. R. Martin’s epic fantasy series A Song of Ice and Fire. This is about as good and polished a cryptic as I can make it. Earlier drafts were run by the Facebook group Cryptic Crossword Society, which generated useful feedback. Enjoy!

Three entries are unclued, they form the puzzle’s solution.

no22-2

[Whole thing as a single PDF for printing]. Solution.

Across
1 Heathen ironborn plundered plowed field. (7)
5 Behaviour of a cruel and terrifying person—I therefore left leaders of Sorrowful Men. (7)
9 Sellsword captain carried goods, having a change of heart towards early retirement. (5)
10 Rev. Spooner escorted laggard to a guardsman sworn to House Lannister. (3,6)
11 Short moments filled with endless lay for relatives. (6,4)
12 Wants to sell daughter’s maidenhead and partially redeem maester. (4)
14 Ned heard two manoeuvres in despair. (11)
17 Reward tenth sworn brother of the Night’s Watch. (6,5)
19 Leave out central promise to Targaryen leader. (4)
20 A few groats and pennies holding unit back before first ride for Ser Duncan at Ashford Meadow, say. (10)
23 Dwarf returned cup-shaped metal object to unknown artisan. (9)
24 Eyrie facing the French is situated in a sheltered position. (7)
25 Hedge knight’s coat of ice is surrounded by expression of surprise. (7)

Down
1 I sent letters about Cersei’s first sexual relationship! (6)
2 Initially festive, until Gwyneth and Cletus Yronwood’s banishment. (6)
3 Return command to Eddard before soldiers become priests. (7,3)
4 Solar remodelled for knight of the Kingsguard. (5)
5 Honor-clad, destroyed seat of a noble house in the Vale of Arryn. (3,6)
6 Noble house: A stag rampant. (4)
7 At home, Tangletongue consumed close friend. (8)
8 Sam mired in a mess, attending the Drowned God. (8)
13 Atop Reek, he jerked Jaime’s junk. (10)
15 Fails to disclose how an area can be fortified? (9)
16 Maesters and the King’s Hand, for example, cover the face after short announcement. (8)
18 House Mallister’s heraldic beast, beheaded in the morning, catches sunlight. (6)
21 Staunch and kingly, after change of allegiance. (5)
22 Bard sounds talented. (4)