Showing posts with label AlphaGo. Show all posts
Showing posts with label AlphaGo. Show all posts

Friday, April 28, 2017

"The £20 BILLION race to create an AI sex doll"

From the Daily Mail Online today.


"The 'sex tech' market is worth an estimated $30.6bn - and across the globe, firms are racing to create a radical new type of robot they say could change sex forever.

"From AI personalities capable of holding a conversation to models with a functioning G-spot, firms are hoping consumers will pay up to $15,000 for a sex doll that never says no.

"Among the most impressive is RealDoll's Harmony - an artificial intelligence based sex bot that can hold conversations, remember what she's told and even has a customizable personality. ..."
The Guardian also has the story, their extensive article suggesting that (unfortunately?) hype is still running way ahead of reality.

---

I was always puzzled (quick disclaimer: when I thought about the subject at all) as to how the sexbot's responses would be programmed.

I imagined over-excited yet poorly-paid programmers toiling in robot control language, trialling this limb movement in response to that input.

Silly me: still trapped in that old GOFAI paradigm.

They'll simple enroll thousands of couples, wire them up to a dense mesh of sound and motion sensors .. and set them to go.

With so much fine-grained big data at their disposal, they'll unleash a DeepMind-style artificial neural net .. and just learn optimised responses.*

It'll be 'Go' all over again.

---

* I seriously would not want to be on the test team ... .

Monday, February 06, 2017

"No .. human has touched the edge of the truth of Go"

A minority interest of mine is the game of Go. I hope to study it .. at some point.



“After humanity spent thousands of years improving our tactics, computers tell us that humans are completely wrong,” Mr. Ke, 19, wrote on Chinese social media platform Weibo after his defeat. “I would go as far as to say not a single human has touched the edge of the truth of Go.”

From this unfailingly interesting article (via Marginal Revolution).

---

A lot of people have picked up on this, or related issues:

- Scott Alexander writes about a recent stellar AI conference
- Steve Hsu tells our masters about the future of AI and genetic engineering.

A battlespace AI



When contemplating AI-controlled cruise missiles, as in yesterday's post, there is a tendency to hear 'AI' and think magic, or imagine we're in the foothills of the Butlerian Jihad.

Still, even without access to classified information, there's a lot we can say about this kind of battlespace AI, just by comparing it with stuff we already know about.

An anti-carrier cruise missile is basically a suicide drone. Its mission is threefold:
  • navigate to the target
  • identify the best choice of target to crash into (and blow up)
  • cope with an extraordinarily hostile environment.
All three of these mission priorities are amenable to current artificial neural net technology:
  • navigation can leverage autonomous vehicle/reconnaissance-drone tech
  • target identification is not dissimilar to existing object/facial recognition tasks
  • the hostile environment can be addressed by massive simulation-training.
I imagine AI prototypes are probably flying drones around right now in simulated attack-scenarios. Steve Hsu has more information on this.

---

There are three interesting issues which arise from the specifics of a combat environment.

1. Target identification/selection

Unlike relatively benign civilian environments, enemy carriers and other ships will attempt to make location and targeting difficult. There will be smoke, perhaps battle damage, explosions and defensive measures such as laser dazzle, jamming, false targets and chaff.

The solution appears to involve multiple sensing platforms illuminating or imaging the target space: satellites; aircraft/drone loitering radars; multiple attack-weapons sharing sensor data on a local net.

Sensor data fusion is a complex but well-researched topic amenable to AI (satirised here).

2. The hostile environment

The incoming missiles will be targeted by the carrier group with everything they have. Antimissiles, guns, lasers. Who can imagine an optimal set of tactics for surviving such an assault?

An AI system which has trained on millions of simulations.

It's somehow similar to AlphaGo.

What we know of AI adversaries is that they often exhibit brilliant but quite counter-intuitive behaviour. That's mostly a plus in the last few kilometres.

3. Autonomy

There's a stupid point here, and an intelligent one.

The stupid argument demands that AI weapons systems have 'no autonomy' - that there will always be a human in the loop.

So ... like with mines, then?

Plainly, if the carrier has already been sunk on cruise missile arrival, the AI will make a fast call on the optimal secondary target. There will be no human in the loop - in fact real-time communications will undoubtedly be 'very difficult'.

However, on a larger scale of strategic autonomy we do need to worry about the unpredictability and lack of transparency of current neural net technology. If, for some obscure tactical reason, an AI weapon concludes that it needs to attack a friendly vessel, then - absent a superhuman common sense (right!) - we should be worrying.

An emergent research area is the design of human-machine interfaces which have explicit, communicable and actionable knowledge about the operations of their powerful but opaque neural net subsystems.

Humans have one of those too: it's called consciousness.

Saturday, January 14, 2017

The long road to Go

Some people fill their dead time with shoot-'em-ups on their phones or tablets.

Boring.

I'm not interested in chess, but the game of Go has vaguely intrigued me. A brief search led me to the British Go Association and their recommended starter Android app, 'GOdroid'.


GOdroid screen shots

This app is for complete beginners, played on a 9x9 board on my Nexus 10.
I lost the first game.

I lost the second game more comprehensively.
OK, so this is not as easy as it appears. Time for some assistance. I turn to Amazon.

Amazon link

The book arrived this morning and looks promising.

---

No jokes please. I just wrote a post about building an AI system to play noughts and crosses. I am not planning to take on AlphaGo!

Wednesday, March 30, 2016

Diary: foot problem + Game of Thrones + AlphaGo + genetics

I vaguely recall jamming my foot against the side of the bed while hoovering last week. By Easter Sunday the entire right foot was red, the skin taut and swollen over the toe joint and I was limping around in socks. The last few days have seen a slow improvement but I think it may be the weekend before I can claim to be back to normal. Some observations.
  1. I haven't taken any pain medication, believing that pain is a signal which I do well to heed and analgesics probably mess up self-healing. I recognise I may be in a minority on this.

  2. The body's response to damage seems to affect many aspects of its functioning, not just the topical region. I feel a bit tired and - strangely - a bit more relaxed, like I'm let off worrying about stuff. Interesting.

  3. Doctor Google was reassuring. The alternative suggestion of gout was excluded - no causal pathway from over-indulgence in Easter eggs.
---

A Game of Thrones (book vol 1) is highly addictive, once you've printed off the family trees of the various noble houses. It reminds me how natural the ties of family, personal loyalty and honour are, and how alien the cool, depersonalised, transactional styles of modern urban capitalism. No wonder American politicians and business people engaged with negotiators from traditional societies talk past each other in mutual incomprehension.

What would the noble protagonists of GoT make of "The Martian", which we saw on DVD Saturday evening?
The hero is some kind of insolent, wise-cracking, artisan-monkey who refuses to die quietly on Mars as he should. His liege-lord commander shows weakness by beating herself up over leaving him (she did her duty: so problem?).

The world actually cares about this minion, and the powers-that-be indulge their idiotic sentimentality. Could never happen.

Thank the Gods it's only far-fetched speculative fiction.
---

I thought this was a good article about AlphaGo - assessing its significance now the dust has settled a bit.

---

This from Professor Greely, Director at the Center for Law and the Biosciences, Stanford University, as set out in his book, 'The End of Sex and the Future of Human Reproduction'.
“In 20 to 40 years, when a couple wants a baby, he’ll provide sperm and she’ll provide a punch of skin,” Prof Greenly told The Times.

"He said the female skin sample will be used to create stem cells, which can in turn be used to create eggs.

"These eggs can then be fertilised with the sperm cells, resulting in a selection of embryos.

"Prof Greenly predicts these embryos will be studied for any signs of malady.

“The prospective parents will be told, ‘These five have really serious diseases, you don’t want them’.

"Of the other 95, they will be given the pluses and minuses,” he said.

"He said that after weighing up the prospective advantages and disadvantages of the healthier embryos, the parents will choose one to be implanted into the woman, which will become their child.

“Parents will get the embryos grouped by categories,” Prof Greenly said.

“One category will be very severe, untreatable, nasty diseases. This will affect one to two per cent of embryos.

“Another category will be other diseases.

“The third is cosmetics: hair, eyes, shape, whether the hair goes white early. We don’t know much about this yet, but we will.

“A fourth category is behavioural. I think here information will be limited. We won’t be able to say, ‘This child is in the top one per cent of intelligence’. We probably will be able to say, ‘This child has a 60 per cent chance of being in the top half’.”
He's being judiciously careful here. In 20 years time we'll be able to read off from the genome both IQ and personality type more accurately than current psychometric testing can.

Wednesday, March 16, 2016

The aliens amongst us


Ludwig Wittgenstein famously wrote:
"If a lion could speak, we would not be able to understand him". This is on the grounds that language only acquires meaning through a community of speakers using it as part of their 'form of life' (way of life). Hence beings with a radically different way of life would not be able to make sense of the others' utterances."
I am unconvinced. The lion inhabits the same spatio-temporal world as we do, lives in a similar planetary environment, has the same mammalian drives. We share all that stuff. No, we'd understand the talking lion only too well.

The real aliens are the ones we're building.

Back in the dawn era of artificial intelligence, researchers worked on chess endgames. They built a database storing every possible play in the final 20-30 moves, marking those which led to a win. Their AI program simply looked in the database to find the optimal response to any human move.

It was a curious experience playing against such a program. The computer made moves that seemed incomprehensible, which defied understanding, but which by some strange alchemy led inexorably to its victory. It was impossible to understand what the program was thinking of.

If that program could have talked, all it would have said was:
"My last move was marked optimal in my database of quite a few possible moves."
It would have had to say that sentence every time, and its human opponent's understanding would never have improved. Donald Michie coined the term 'Human Window' - and these programs were outside it.

These days we do better. Our AI programs no longer look up their actions in mammoth, static databases - they learn features, they chunk the phenomena.

Chunking it may be, but not as we know it.

Here's "fhe" on Hacker News:
"When I was learning to play Go as a teenager in China, I followed a fairly standard, classical learning path. First I learned the rules, then progressively I learn the more abstract theories and tactics. Many of these theories, as I see them now, draw analogies from the physical world, and are used as tools to hide the underlying complexity (chunking), and enable the players to think at a higher level.

"For example, we're taught of considering connected stones as one unit, and give this one unit attributes like dead, alive, strong, weak, projecting influence in the surrounding areas. In other words, much like a standalone army unit.

"These abstractions all made a lot of sense, and feels natural, and certainly helps game play -- no player can consider the dozens (sometimes over 100) stones all as individuals and come up with a coherent game play. Chunking is such a natural and useful way of thinking.

"But watching AlphaGo, I am not sure that's how it thinks of the game. Maybe it simply doesn't do chunking at all, or maybe it does chunking its own way, not influenced by the physical world as we humans invariably do. AlphaGo's moves are sometimes strange, and couldn't be explained by the way humans chunk the game.

"It's both exciting and eerie. It's like another intelligent species opening up a new way of looking at the world (at least for this very specific domain). and much to our surprise, it's a new way that's more powerful than ours."
Steve Hsu sardonically quotes  DeepMind CEO Demis Hassabis:
"Over the summer DeepMind will look at the internal representations used in the valuation engine to see how they correspond to expert human intuitions about Go."

"This is like peeking into the mind of an alien creature that evolved fighting for territory in a 2D world with discrete spacetime :-)"
If we design minds which induce features from spaces which do not share our human geography and agency, their mental concepts will massively fail to intersect with our own. We will have no referents for their words; it will be like talking general relativity to a four year old.

If such an AI could speak, we would not be able to understand it.*

---

* You might be inclined to say, '... without considerable effort.'

  I might agree with you .. up to a point.

Sunday, March 13, 2016

AlphaGo and Laplace



On Friday AlphaGo had won its first two matches against Go champion Lee Sedol and I was wondering what was the probability it would win the third (out of five).

1. If we consider AlphaGo and Lee Sedol to be pretty evenly matched, then the chances of two wins to AlphaGo are 25% - hardly unusual - so the chances of a further AI win might still plausibly be 50:50.

But .. two wins in a row?
___

2. If we adhere strictly to a frequentist dogma, then with two wins in two trials we must assume that AlphaGo would win its next match with probability 1. But that's crazy.
___

3. Laplace had a rule for this kind of thing: the Rule of Succession. Here's how Wikipedia describes it.
"If we repeat an experiment that we know can result in a success or failure, n times independently, and get s successes, then what is the probability that the next repetition will succeed?"
We count a success as scoring 1 and a failure as scoring zero, then Laplace tells us the probability of a success the next - (n+1)th - trial is:

(s + 1)
(n + 2).
Read the article for the counterintuitive derivation.

So we plug in the numbers: two games (n = 2) and two successes (s = 2) so the probability of AlphaGo winning the third game is 3/4. Sounds about right, I thought.

---

On Saturday, AlphaGo duly won the third match in a row and the series, but today (Sunday) it lost its fourth match.

The last match is on Tuesday, so what are AlphaGo's chances?  (3 + 1)/(4 + 2) = 2/3.

In case you were thinking of placing a bet.

---

Update Tuesday: AlphaGo wins the fifth match, and the series 4:1.