Category Archives: By Default

Making companionship

Pygmalion and Galatea, by Falconet (Wiki)
Pygmalion and Galatea, by Falconet (Wiki)

Last time I looked at our changing views of the animal world, and our ongoing attempts to find companionship there. But alongside that there has always been the recognition that animal or bird companions don’t quite satisfy. The Hebrew Bible sums it all up with the comment that none of the creatures was ideal as a partner, and moves on to the need for a second human. Whatever you make of the details of that account, the remaining pages of the Bible go on to describe all manner of human relationships – as well as opposite sex and same sex pairs, we find family and strangers, leaders and followers, friends and enemies, pairings which were suitable and entirely unsuitable. The other sacred texts of mankind are the same in this respect – alongside communications with the divine, human interactions are everywhere.

But for some reason, as a species many of us have been perennially disappointed and frustrated with relationships with one other – a sorry trend for which one can very easily find counter-examples, but which has fuelled many of history’s conflicts, both national and personal. Perhaps the autonomy and potential for disagreement in another individual is too disconcerting. Whatever the cause, the idea of building some sort of mechanical person goes back into the ancient world.

Greek myth has several variations on this theme, including Pygmalion’s ivory statue which animated to become his wife, and Hephaestus’ automata who assisted at his forge. In these cases, divine intervention of some sort was necessary to make the transition from dead to living. But in addition, Daedalus is said to have used quicksilver in order to impart speech to his statues, so the possibility of a human invention was considered.

Mary Shelley, portrait by Richard Rothwell (Wiki)
Mary Shelley, portrait by Richard Rothwell (Wiki)

For many centuries, speculation about artificial life circled around biology rather than metallurgy. Medieval alchemists toyed with the idea of homunculi, miniature humanoids whose creation required a series of esoteric steps such as leaving human sperm to incubate in horse manure for 40 days. Suggestions that the true quest of the alchemists was spiritual rather than physical make a lot of sense. The discovery in the late 18th century that human nerves responded to electricity triggered new ideas, which in literature were summed up by Mary Shelley in the person of Frankenstein and his research, leading to the creation of his life-form.

Today, the pursuit of artificial intelligence is largely seen as a technological challenge. By and large, we are working on the assumption that the main breakthroughs need to be in software, and that the container which houses the resulting application is only a convenient package allowing access to various kinds of sensory input. Time will tell if this assumption is valid.

Cover image, I Robot by Isaac Asimov
Cover image, I Robot by Isaac Asimov

We have a mixed attitude to artificial life. On the one hand we welcome it as a possible assistant and helper, but on the other we are anxious about possible failures of control. Will the creation refuse to obey the creator? Will it have end-goals which are hostile to our own well-being? In fiction, and to a degree in actuality, we try to govern this by logic. Isaac Asimov postulated that all robots had to obey three laws intended to protect humanity, and simply asserted that it was not possible to construct an artificial brain without these constraints. Frankenstein, on the other hand, rapidly lost control of his creation, largely through not understanding and empathising with its needs.

In the near-future world of Far from the Spaceports, some of these particular problems have been solved. Slate and her persona siblings are, on many levels, fit companions for Mitnash and the other humans they partner. But not in every way. Mitnash enjoys Slate’s company and her capacity for work, but often finds himself challenged by the ways in which she differs from his expectation. He often does a poor job of maintaining good relationships with both Slate as his working partner, and Shayna as his romantic one. Quite apart from the everyday difficulties of balancing work and life, Mit has to constantly choose how to relate to two quite different female partners. Our society struggles to balance the competing demands of an online world and our immediate family and friends – I have every expectation that this future society will struggle as well.

To finish, just for fun, here is a NASA picture showing the gravity variation on Mars. It has no connection with this blog post, but some of the action of By Default takes place on that planet!

Local Variations in the Gravitational Pull of Mars (Credit: NASA/GSFC/Scientific Visualization Studio)
Local Variations in the Gravitational Pull of Mars (Credit: NASA/GSFC/Scientific Visualization Studio)

How far away is Artificial Intelligence?

Go board in play (WIki)
Go board in play (WIki)

Over the next few days, Google’s Go-playing algorithm, AlphaGo, will take on the current world Go champion, Lee Se-dol. It is an event which is being watched closely by both Go players and coders, since until very recently Go was thought to be a game intractable for machines to play competently.

I’ve worked in various ways with AI over a lot of years now, so thought it was high time I wrote about it here. Far from the Spaceports, and the in-progress follow-up By Default, have human-AI relationships at their heart. Mitnash, a thoroughly human investigator and coder, has Slate as his partner. Slate is an AI – or persona, as I prefer to use in the books – and the two work together in their struggle against high-tech crime.

International Helicopter Safety Team (IHST) workshop presentation from HeliExpo 2013
International Helicopter Safety Team (IHST) workshop presentation from HeliExpo 2013

How far are we away from this? In my opinion, quite a long way. There have been huge advances in AI during my working life. This has largely been made possible by corresponding advances in the speed and capability of the hardware systems on which they run. However, creative ideas for how to code learning algorithms and pattern recognition have also come taken huge strides. Nevertheless, I don’t think we are very close to working with Slate or her fellow personas just yet.

Of course, you have to be mindful of a quote attributed to Bill Gates: “We always overestimate the change that will occur in the next two years and underestimate the change that will occur in the next ten.” But that said, I still think we’re some way off.

Neural network design (Wiki)
Neural network design (Wiki)

There are a lot of different, and very useful, ideas as to what constitutes intelligence, but for the purpose of this blog I am largely focusing on the abilities to learn and then detect meaningful patterns, work usefully with inconsistent or poor quality information, and communicate about all this with another individual in such a way that both parties can revise their opinions.

Part of the problem is that most people are working on a very small part of the problem, and the organisation paying them only really wants quite a specific outcome. So one team might be working on machine health monitoring and fault prediction, to improve aviation safety. Another will concentrate on whatever is needed to identify objects in photographs. Another on voice recognition. Another on being able to beat human champions at a specific game. And so on. Comparatively few are integrating all this into a single entity.

Senet board from Tutankhamun's tomb (Wiki)
Senet board from Tutankhamun’s tomb (Wiki)

Human intelligence is also noteworthy for being able to adapt flexibly to new situations, calling for similar but not identical responses. So my guess is that Lee Se-dol probably also plays an outstanding game of chess, or Senet, or any of dozens of board games. At a guess, he could probably hold his own very well at some game he had never seen before, after a comparatively brief explanation of the rules. I have serious doubts as to whether Google’s codebase could make such a transition.

Another issue is repetition and predictability. If you’re coding a safety system, you really want to know that the same set of circumstances will lead to the same consequences. Quite apart from giving confidence to your immediate users, there is the whole matter of getting the system qualified for use. Imagine your system has failed to recommend replacement of a critical component. There has been a crash, and you are at the investigation. “Why did your system fail to recommend that the component be changed?” And you reply, “Oh, I don’t know – it says something different every time.” I can’t imagine this going down very well with the investigation committee. For the reaction of a friend, however, unpredictability is part of the fun.

Betty the problem-solving crow (BBC)
Betty the problem-solving crow (BBC)

We find it difficult to define what intelligence really is, or which part of our being is responsible for it. Recent comparative studies in which bird and primate intelligence are contrasted, have questioned the idea that it is seated in the cortex: birds don’t have such a thing. In the light of such basic uncertainty, corporate reluctance is understandable. It is hugely easier – and hugely more cost effective – for an organisation to say “build me a system which can identify patterns of word use by different authors” than “build me intelligent partners for my human staff.”

As someone working in a tech industry, I am keenly aware of, and excited by, the possibility of AI. How would my team carry out quality assurance for such a system? It’s often hard enough to do this for a complex but entirely rule-bound application. The challenges are immense.

But as an author, I am entirely free to suppose that all that has been done, and focus on the storytelling issues of how such a relationship would work.

Far from the Spaceports cover
Far from the Spaceports cover