Break Points

The Fourth Law of Robotics

Jack Ganssle

10/14/2007 4:04 PM EDT

65 years ago Isaac Asimov defined the now famous Three Laws of Robotics:

1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2. A robot must obey orders given to it by human beings except where such orders would conflict with the First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

When he wrote the I, Robot stories the word "robot" viscerally meant to John Q Public a mechanical being which invariably looked human. Indeed, that perception lived even into Star Trek: Data not only looked entirely human, he grappled with emotions.

But with the advent of inexpensive computing "robot" no longer means a human-like machine. The car's cruise control is a form of robot; the agents that scour the net are called "bots," and mail-delivering robots roam the halls of the Pentagon and other buildings. They look more like filing cabinets on wheels than like Data. So I think it's reasonable to substitute "computer" for "robot" in the Three Laws.

And it's time to add a Fourth Law:

4. A computer may not piss off a human, as long as such behavior doesn't conflict with the first, second or third laws.

For example, I was on a long flight recently and the seatback TV screens were, as usual, behaving badly. They reset constantly. They'd freeze. The flight crew cycled power a couple of times and eventually the units started running reasonably well.

But I wanted to sleep so turned my unit off. Abid, seated to my right in 31H, also flicked his unit off. We each reclined.

And, minutes later, both screens came back on. We turned them off, and they came on again. And again and again.

Abid 31H and I shared only the universal language of annoyed computer users, so could merely point at these poorly-implemented devices and laugh. The screens won, we lost, and on they stayed while the Ambien finally kicked in.

Embedded computers are unlike any other devices on this planet. Other engineered products respond to a user's actions: the car follows inputs into the steering wheel and pedals. Lights go on when we throw the switch. But a computer does the commanding; it uses both inputs and a set of rules defined by a programmer to control something.

Though I have no idea how to actually build Laws into firmware, I can't help but think these products could use some sort of analogous meta-guidance. In Asimov's stories the Laws are somehow distinct from, and above, the programming details, just as the Ten Commandments supersede the hundreds of thousands of pages of extant law and precedent that guide judges.

Redefining the Four Laws using "computer" instead of "robot" moves the responsibility for conforming to the Laws to the designers rather than to the robots. It's up to us to build systems that are safe and that don't piss off our users.

Jack G. Ganssle is a lecturer and consultant on embedded development issues. He conducts seminars on embedded systems and helps companies with their embedded challenges. Contact him at jack@ganssle.com. His website is www.ganssle.com.





mjco

10/14/2007 6:54 PM EDT

Actually, it was John Campbell, the editor of Astounding SF, who told Asimov that his robot stories implied the three laws.

Also, late in his career, Asimov formulated a zeroth law of robotics, dealing with situations when a robot could violate the first law.

Sign in to Reply



AlphaBob

10/18/2007 11:01 AM EDT

Not to put too fine a point on it, but the case you describe is already covered by the second law. You told your "robot" to turn off, and it failed to do so.

The "zeroth" law placed humanity above the interest of a single human. So a robot could kill a human to protect humanity.

Sign in to Reply



Tom Maz

10/18/2007 12:18 PM EDT

I own a 2003 Chevy with a CD/Radio combo. The sensor that detects a CD ejection has failed, so now the unit runs the eject motor every few seconds, continuously, even when the unit or the car is powered off. The display continuously shows ERR, rather than the time or the station. Not the best way to program a user interface.

One of the interesting short stories on robots that Dr. Asimov wrote was one in which the main character was accused of being a robot. Since the three laws also define ethical behaviour for humans, as long as the character did not act unethically, he could not be distinguished from a 'true' human.

Sign in to Reply



TerryKing

10/22/2007 5:13 AM EDT

I was fortunate to speak with Dr. A a couple of times, years ago. He didn't take himself, or his stories too seriously. At one talk I covered, Asimov was asked a long rambling question about Hari Seldon's motives about PyschoHistory in one of the Foundation Series books. Dr. A thought, patted his stomach a few times, threw his arms wide and said, "I don't know. It seemed like a good idea at the time!" Maybe we are taking him too seriously still. But if he were here, he'd be engrossed in the questions of today.

Sign in to Reply



Please sign in to post comment

Navigate to related information

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Featured Job On
Scroll for More Jobs