Slashdot Mirror


Developing the First Law of Robotics

wabrandsma sends this article from New Scientist: In an experiment, Alan Winfield and his colleagues programmed a robot to prevent other automatons – acting as proxies for humans – from falling into a hole. This is a simplified version of Isaac Asimov's fictional First Law of Robotics – a robot must not allow a human being to come to harm. At first, the robot was successful in its task. As a human proxy moved towards the hole, the robot rushed in to push it out of the path of danger. But when the team added a second human proxy rolling toward the hole at the same time, the robot was forced to choose. Sometimes, it managed to save one human while letting the other perish; a few times it even managed to save both. But in 14 out of 33 trials, the robot wasted so much time fretting over its decision that both humans fell into the hole. Winfield describes his robot as an "ethical zombie" that has no choice but to behave as it does. Though it may save others according to a programmed code of conduct, it doesn't understand the reasoning behind its actions.

165 comments

  1. Same as humans ... by BarbaraHudson · · Score: 3, Insightful

    Though it may save others according to a programmed code of conduct, it doesn't understand the reasoning behind its actions.

    Someone sacrificing their lives by throwing themselves on a grenade to save others doesn't have time to think, never mind understand the reasoning behind their actions. And that's a good thing, because many times we do the right thing because we want to, and then rationalize it later. Altruism is a survival trait for the species.

    --
    "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    1. Re:Same as humans ... by gl4ss · · Score: 4, Insightful

      sure, but this is a fucking gimmick "experiment".

      the algo could be really simple too.

      and for developing said algorithm, no actual robots are necessary at all - except for showing to journos, no actual AI researchers would find that part necessary, the testing can happen entirely in simulation - and no actual ethics need to enter the picture even, the robot doesn't need to understand what a human is on the level a robot that would need to in order to act by asimovs laws.

      a spinning blade cutting tool that has an automatic emergency brake isn't sentient- it's not acting on asimovs laws, but you could claim so to some journalists anyways.. the thing to take home is that they built into the algorithm the ability to fret over the situation. if it just projected and saved what can be saved, it wouldn't fret or hesitate - and hesitate is really the wrong word.

      --
      world was created 5 seconds before this post as it is.
    2. Re:Same as humans ... by i+kan+reed · · Score: 1

      Oh yeah, I totally know how peoples bodies can operate complex mechanical tasks like that without any sort of cognition.

      Now a recent study has shown that tasks involving complex numerical cognition lower altruism, but come on. Thinking altruistically and quickly is still thinking.

    3. Re:Same as humans ... by neoritter · · Score: 1

      You know Isaac Asimov made those laws and wrote books to show how and why they wouldn't work. That was the whole point of I, Robot was the first law. The robots through inaction were allowing humans to kill themselves. So, they put everyone under house arrest because, if they could control the humans' actions, then the humans wouldn't get killed.

    4. Re:Same as humans ... by Anonymous Coward · · Score: 0

      You know that the movie does not resemble the literary work all that much, right? LOL

    5. Re:Same as humans ... by OhSoLaMeow · · Score: 1

      You know that the movie does not resemble the literary work all that much, right? LOL

      *That*, Detective, is the right question.

      --
      They can take my LifeAlert pendant when they pry it from my cold dead fingers.
    6. Re:Same as humans ... by UnknownSoldier · · Score: 1

      This is a classic example of "Paralysis by Analysis"

      Also, the programmer was an idiot. Either use a priority queue or at the very least a timer to force a decision.

      while( 1 ) {
          if( people_in_danger ) {
              queryWhoToSave( people_in_danger );
              if( time_to_make_choice++ > CANT_DECIDE_WHO_TO_SAVE )
                  savePerson( rand() );
          }
          else
              people_in_danger = ScanEnvironment();
      }

    7. Re:Same as humans ... by Razed+By+TV · · Score: 1

      I have a friend, a Comp Sci graduate no less, that can't see the endless utility of AI. His viewpoint is that you can simply program things to behave like they're intelligent, like these robots. He does not see the distinction, that an AI can be your friend, your researcher, your 24/7 slave/military tactician holed up underground somewhere. That it can do things without having to be programmed to do them.

    8. Re:Same as humans ... by penguinoid · · Score: 1

      the thing to take home is that they built into the algorithm the ability to fret over the situation. if it just projected and saved what can be saved, it wouldn't fret or hesitate - and hesitate is really the wrong word.

      Unlikely that they added the ability to fret. More likely that they gave it the rule "prevent any automaton from falling into the hole" rather than "prevent as many automatons as possible from falling into the hole". Thus in the former case if it can't find a solution that saves both, it would keep looking forever. If you wanted one that looked more like indecision, you could give it the rule "move the automaton closest to the hole away from the hole".

      The trouble with computers is that they do as they're told, and do not attempt to figure out what you want. I suppose you could write a program that will instead of doing what it is told, tries to identify what you want and do that instead. But I expect that would go horribly wrong...

      --
      Don't waste your vote! Vote for whoever you want, unless you live in a swing state it won't matter anyways
    9. Re:Same as humans ... by penguinoid · · Score: 1

      There currently is no distinction -- things are programmed to behave like they're intelligent, because in all these decades no one has figured out how to make them actually intelligent. (This applies somewhat to people too)

      --
      Don't waste your vote! Vote for whoever you want, unless you live in a swing state it won't matter anyways
    10. Re:Same as humans ... by LordWabbit2 · · Score: 1

      And with current technology would have to be the size of Chicago - we don't currently have the technology to create AI, all we can do is simulate morons. With Moors law slowing down, unless we have a breakthrough we may never have true AI. All I know is as soon as the first true AI is created I'm out of a job. I'm a programmer, the first true AI will be able to churn out billions of lines of code for whatever system you want in seconds.

      --
      There are three kinds of falsehood: the first is a 'fib,' the second is a downright lie, and the third is statistics.
    11. Re:Same as humans ... by OneSmartFellow · · Score: 1

      ...the first true AI will be able to churn out billions of lines of code ...

      Let's hope not. I'd be satisfied with it only generating a few dozen, as long as they were truly bug free.

      Given a billion lines of code, the correctness would have to be above %99.99999999 in order to have a chance of being error free. That's a pretty tall order, even for automata.

    12. Re:Same as humans ... by gweihir · · Score: 1

      Well, maybe he just realizes that it is unlikely we will get AI like that any time soon and probably never. If you follow the research in that area for a few decades, that is the conclusion you come to. AI research over-promises and under-delivers like no other field. (Apologies to the honest folks in there, but you are not those visible to the general public.)

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    13. Re:Same as humans ... by gweihir · · Score: 1

      Exactly. There is not even any credible theory that explains how intelligence could be created. "No theory" typically means >> 100 years in the future and may well be infeasible. It is not a question of computing power or memory size, or it would have long since been solved.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    14. Re:Same as humans ... by gweihir · · Score: 2

      That is the other thing. Some physicist did an estimation of the most efficient way to do massively parallel computations, including node speed, communications peed, interconnect length, etc. Turns out the human brain is pretty much optimal in this universe, everything larger or with faster nodes or the like will be performing worse. So it is entirely possible, that human intelligence (such as it is in the average case) is really the best possible.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    15. Re:Same as humans ... by OklahomaRed · · Score: 1

      Let's propose a real incident. Put a robot in the place of the driver of semi-trailer truck hauling rock that comes over a hill at 55 miles an hour and sees a human driven school bus pulling off a side road in fount of the truck. The truck driver can't stick it the ditch on the right becaus of a concrete overpass that will throw him right back in front into the bus.

      Ten kids were killed both drivers and the truck were cited and used the limits of liability of all insurance companies. I know the father of one of the kids he thought the truck diver did the best he could. What he thought of th bus diver anyone can visualize.

      Robots have to solve problems like those before the drive cars.

      The problems for the robot should be more complex. Try a robot driven taxi with 3 passengers going fast enough it can't stop in time and if it runs off the road at least 50% of it occupants die, an oncoming bus with 4 people in it and 5 drunks in the cabs lane on a 2-lane bridge in the fog. The adjust the number in each group and see how many of winch group the robot kills.

      Red

    16. Re:Same as humans ... by Sciath · · Score: 1

      If... that were actually the case, the future of humankind would be bright. However, altruism is a dying attribute among individuals. Sure there are exceptions such brothers in arms, aid workers, etc. But overall, humans are (or are becoming) more and more self-absorbed. As a result I would suggest the future is bleak.

      --
      "Those who can make you believe absurdities can make you commit atrocities." - Voltaire
    17. Re:Same as humans ... by BarbaraHudson · · Score: 1
      Altruism is only one of several survival strategies. As you point out (quite rightly) there are other survival strategies that work. They exhibit the same traits as parasites or diseases - taking enough to survive and flourish, but not enough to kill the host. If everyone goes all-out exploiter, the species dies out, so the exploiters must never get to the point where they fatally injure the species as a whole.

      Unfortunately, for this form of self-regulation to work, exploiters would have to become altruistic, not something they're capable of (the closest is "benign self-interest"). And it also ignores the fact that exploiters DO kill their hosts. And species DO go extinct.

      I agree with your ultimate assessment - the future looks bleak. Is there a solution, or will we get lucky? I just don't know. I DO know that altruism does exist. I've certainly done what I felt was the right thing trying to help others knowing that it would probably bite me in the gluteus maximus.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
  2. Similar to "Runaround" in I, Robot... by VitrosChemistryAnaly · · Score: 3, Informative

    A story in which a robot is stuck between two equal potentials and therefore cannot complete its task.

    http://en.wikipedia.org/wiki/Runaround_(story)

    --
    "It's a tarp!" -- Dyslexic Admiral Ackbar
    1. Re:Similar to "Runaround" in I, Robot... by amakawa.yuuto · · Score: 4, Informative

      The idea is much, much older. Google "Buridan's Donkey". They just replaced the donkey with a robot and hunger/hay with programmed orders.

    2. Re:Similar to "Runaround" in I, Robot... by OakDragon · · Score: 1

      I have not yet read "Runaround". The story reminded me of the Star Trek: Voyager episode, Latent Image

      The Doctor eventually discovers a conspiracy by the crew to keep him from remembering events that led to the holographic equivalent of a psychotic break. The trouble started when a shuttlecraft was attacked, causing several casualties. The Doctor was faced with making a choice between two critically injured patients - Ensign Jetal and Ensign Kim - with an equal chance of survival, but a limited amount of time in which the Doctor could act, meaning that he had to choose which of the two to save. The Doctor happened to choose Ensign Harry Kim; Jetal died on the operating table. As time passed, the Doctor was overpowered by guilt, believing that his friendship with Harry somehow influenced his choice

    3. Re:Similar to "Runaround" in I, Robot... by radtea · · Score: 2

      Yup, and the solution available to any rational being is the same: since by hypothesis the two choices are indistinguishable, flip a coin to create a new situation in which one of them has a trivial weight on its side.

      Starving to death (or letting everyone die) is obviously inferior to this to any rational being (which the donkey and the robot are both presumed to be) and adding randomness is a perfectly general solution to the problem.

      Buridan's donkey is not in fact an example of a rational being, but rather a passive, uncreative being, who must for some unspecified reason decide without acting on the situation, as if it was living in some bizarrely unrealistic world like Plato's Cave, where it could only know the world via shadows on the wall which it cannot act on in any way.

      Why anyone thinks thought-experiments about such limited beings, which are completely unlike humans in their inability to act on the world to change their situation, is beyond me.

      --
      Blasphemy is a human right. Blasphemophobia kills.
  3. That's interesting data but.... by Trailer+Trash · · Score: 2

    The real question is "how well do normal humans perform the same task?" My guess is "no better than the robot". Making those decisions is difficult enough when you're not under time pressure. It can be very complex, too. Normally I'd want to save the younger of the two if I had to make the choice, but what if the "old guy" is "really important"? Or something like that.

    1. Re:That's interesting data but.... by Anonymous Coward · · Score: 0

      The real question is "how well do normal humans perform the same task?"

      If the worst thing that happened to me today was falling in a hole; I'd call that a great day.

    2. Re:That's interesting data but.... by Trailer+Trash · · Score: 1

      The real question is "how well do normal humans perform the same task?"

      If the worst thing that happened to me today was falling in a hole; I'd call that a great day.

      The point of the experiment was that "falling in a hole" was equated to "death".

    3. Re:That's interesting data but.... by Talderas · · Score: 1

      Apparently that AC lives a life that is worse than death.

      --
      "Lack of speed can be overcome. In the worst case by patience." --Znork
    4. Re:That's interesting data but.... by Anonymous Coward · · Score: 0

      Normally I'd want to save the younger of the two if I had to make the choice,

      What if SubjectA is a teenage male idiot, and SubjectB is a MILF?

    5. Re:That's interesting data but.... by khr · · Score: 1

      Well, there you go... It's harder to replace a middle-aged parent with much more life experience than a teenager who can be replaced easier. The parents of the MILF are probably old enough they can't replace her, but the teenager's parents are more likely to be capable of replacing the teenager, so you value them that way.

      Note, I'm middle-aged and I hate children and don't have any and don't understand why parents seem so attached to young kids.

    6. Re:That's interesting data but.... by Stormy+Dragon · · Score: 1

      On the other hand, you could argue that since the middle aged parent has much less productive life remaining, letting them die reduces the oppurtunity costs to society vs. letting the teenager die.

    7. Re:That's interesting data but.... by Qzukk · · Score: 1

      Or he doesn't live in Super Mario World.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    8. Re:That's interesting data but.... by neoritter · · Score: 2

      But a middle aged woman can produce more offspring. Yes the productivity may be reduced for a few years, but will double the productivity.

      It's a very dangerous slippery slope when you start trying to value human lives. I think the correct calculation is, which subject has the lowest chance of survival if the robot executes no action against that subject.

    9. Re:That's interesting data but.... by CurryCamel · · Score: 1

      "He was shaken by an unwelcome insight. Lives did not add as integers. They added as infinities."
      (Lois McMaster Bujold, Borders of Infinity)

    10. Re:That's interesting data but.... by Anonymous Coward · · Score: 0

      This is exactly how a human would make the decision. Are my offspring in danger? If yes, save them. If no save the one I'm most likely to breed with.

    11. Re:That's interesting data but.... by Amazing+Proton+Boy · · Score: 1

      I used to think this way too. I would tell all my friends that if a boat were sinking with my wife and small children in it, I would save my wife first as we can always make more children. This is logical and makes sense to me. Then I had kids. It turns out that many of us are "genetically programed" (or however you want to phrase it) to save the kids first. Our minds don't always seem to work the way we want them to. I can still clearly see the logic of saving my wife first and would agree that this is the proper course of action but my brain simply won't allow me to do that. I am 100% sure I would save the kids first and let her & myself die. Wierd huh?

      Of course I still believe strongly that if you are going to have a kid then you should also have redundant back-ups (more kids).

    12. Re:That's interesting data but.... by ComputersKai · · Score: 1

      Well, there you go... It's harder to replace a middle-aged parent with much more life experience than a teenager who can be replaced easier. The parents of the MILF are probably old enough they can't replace her, but the teenager's parents are more likely to be capable of replacing the teenager, so you value them that way.

      On the other hand, you could argue that since the middle aged parent has much less productive life remaining, letting them die reduces the oppurtunity costs to society vs. letting the teenager die.

      Also, considering the age of the parents, they may not be able to have healthy kids that survive or kids at all, which, in that case, they wouldn't be that much use either, also considering that the teen may be ever so slightly genetically advantaged, being their offspring.

    13. Re:That's interesting data but.... by Anonymous Coward · · Score: 0

      Good way to ruin a sexist joke, asshole.

    14. Re:That's interesting data but.... by Anonymous Coward · · Score: 0

      You can always get another wife. The kids are (theoretically) 50% you, genome-wise, and represent a fair expenditure of reproductive effort. They're more expensive (in various senses) to replace than your spousal unit.

      Also, small kids are very dependent on parents/adults for help. There's a chance the wife could save herself.

      See, perfectly logical.

  4. Lost in Translation by Njorthbiatr · · Score: 1

    Computer don't speak human, so the First Law of Robotics is just a fancy way of describing an abstract idea. It needs to be described in an unambiguous, logical way that accounts for all contingencies.

    Or we can just make a sentient computer, your call.

    1. Re:Lost in Translation by Anonymous Coward · · Score: 0

      The various stories Asimov wrote were about exactly this: The robots were programmed in such a human manner, with all the flaws that come with it, leading to a variety of unexpected failure modes when placed in unanticipated situations. The general pattern was of an engineer called out to determine exactly why a robot had taken to, say, doing the best it could to hide from humans*, or attempted to seduce its owner**. Each time the robot was acting according to those fuzzy human-friendly laws to unintended consequence.

      Asimov-robots were designed in a manner that would usually cause irrepairable damage if they ever did violate the laws - a failsafe mechanism, so any potentially dangerous robot would be rendered harmless. This didn't stop them from taking seemingly inexplicable actions in order to avoid violating them, and some robots were disabled in such a manner if placed in a situation where every option including inaction would result in violation.

      *An sarcastic order to 'get lost,' inadvertantly given in such a way as to prevent countermanding.
      **The robot had determined her poor self-esteme and loneliness was causing harm, and thus could not allow this situation to continue through inaction. It determined that romantic attention would alleviate the problem and thus prevent harm.

    2. Re:Lost in Translation by Anonymous Coward · · Score: 0

      The problem with the way Asimov wrote the stories is still as one would command a computer to "just work, dammit!" Every single possible command that the robot could ever be given would have to be programmed in. There is no global function call to tell a robot "if (command from human == get lost) {then actually perform activities to "get lost";}", and it would be an entirely different set of programming to include "if (human emotion problems == low self esteem) {then perform activities to make human not feel bad; include trying to get them to straight up fuck you because we already paid a guy to program robot sex into this model;}". And you have to do that for everything from performing the heimlich to injecting someone with an epipen to jumping in front of a gun that's about to be fired, and so on ad infinitum.

  5. So, he's a crappy programmer... by msauve · · Score: 2

    and couldn't program it to prioritize based on which one was seen first, was closest, was apt to fall first based on speed/distance, or any one of many other possibilities. You could even place weights on them, and throw a die at the end as a tiebreaker. The rule should be interpreted as "allow the least harm," not "allow no harm."

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
    1. Re:So, he's a crappy programmer... by CurryCamel · · Score: 1

      I bet (before reading TFA) that the system started to oscillate.
      (i.e. Hinder one from falling in, and its chance of falling in becomes less than the others - so rush to the other to hinder it. Then repeat.)

      Then I watched the video - it didn't get even to that point.
      Or then it did start oscillate, but the feedback was given too soon (I am going to help this human - ergo the others chances are now worse).

      I was confused. What happened here. Why is this "research" done, or reported on /.? Then I realized: the "news" here is that robots are programmed by humans.
      This is certainly not news for nerds. But seems it is news for non-nerds. And that is "stuff that matter".

    2. Re:So, he's a crappy programmer... by Anonymous Coward · · Score: 0

      Maybe, but it's an interesting experiment in emergent behaviour. The robot was programmed to always act, but ended up not acting at all.
      The lesson here is: when we make the programming more complex, as you suggest, there may still be unexpected emergent behaviours.

    3. Re:So, he's a crappy programmer... by khr · · Score: 1

      This is certainly not news for nerds. But seems it is news for non-nerds

      Well, it gets a bit nerdier if you figure this is much like Wesley Crusher's psych test to get into Star Fleet Academy... He had to go into a room with two "victims" and rescue one so they could make sure he wouldn't freeze and fail to rescue anyone.

      And that is "stuff that matter"

      Well, that's a bit harder to argue with...

    4. Re:So, he's a crappy programmer... by Anonymous Coward · · Score: 0

      Women and children first...

      One of the best features of artificial intelligence is that it won't necessarily have our instinctual bias getting in the way of its decision making. Women and children are not necessarily more valuable than others. You make a good case with regard to lawyers, but AI will make that profession obsolete anyway.

    5. Re:So, he's a crappy programmer... by 91degrees · · Score: 1

      Presumably this was to study the effect of certain specific algorithms in the real world, as opposed to create a robot that prevents people from walking into a hole.

    6. Re:So, he's a crappy programmer... by msauve · · Score: 1
      Even I can create a robotic program which lets another robot walk into a hole. Here it is:

      /* Hello World program */

      #include

      main()
      {
      printf("Stop! There's a hole!");
      }

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
  6. Simplification into irrelevance by kruach+aum · · Score: 2

    Leaving aside that Asimov's laws of robotics are not sufficiently robust to deal with non-fictional situations, everything about this is way too simplified to draw conclusions from that could ever be relevant to other contexts. Robots are not human beings, nor are they harmed by falling into a hole. What happened here is a guy programmed a robot to stop other moving objects from completing a certain trajectory. Then, when a second moving object entered the picture, in 14 out of 33 trials his code was not up to the task of dealing with the situation. If he'd just been a little more flexible as a programmer (or not an academic trying to make a "point") there would have been no "hesitation" on the part of the robot. It would just do what it had been programmed to do.

    1. Re:Simplification into irrelevance by gizmo2199 · · Score: 1

      It was doing what it was programmed to do! What do you think a human being would be to a robot anyway, if not other moving objects it has to keep out of a hole?

      --
      This Sig does not Exist.
    2. Re:Simplification into irrelevance by kit_triforce · · Score: 1

      It was doing what it was programmed to do! What do you think a human being would be to a robot anyway, if not other moving objects it has to keep out of a hole?

      Wait, are we talking about robotic contraceptive devices?

  7. I, Robot from a programmers perspective by wisnoskij · · Score: 3, Interesting

    Don't get me started on Asimov's work. He tried to write allot about how robots would function with these laws that he invented, but really just ended up writing about a bunch of horrendously programmed robots who underwent 0 testing and predictably and catastrophically failed at every single edge case. I do not think there is a single robot in any of his stories that would not not self destruct within 5 minutes of entering the real world.

    --
    Troll is not a replacement for I disagree.
    1. Re:I, Robot from a programmers perspective by thewolfkin · · Score: 5, Insightful

      to be fair I thought the whole point of the book was a series of edge cases which would be hard to think of that cause all the "malfunction". The whole point of the book wasn't that the three laws were perfect but that they SEEMED perfect until we put them in the real world and suddenly they would appear to "malfunction"

      --
      Just another second banana
    2. Re:I, Robot from a programmers perspective by wisnoskij · · Score: 2

      Yes, which is great. Except that it was not just some edge cases, it was not just hard to think of plausible edge cases. It was every single edge case, so much so that, like I said, none of his robots would last 5 minutes in the real world.

      --
      Troll is not a replacement for I disagree.
    3. Re:I, Robot from a programmers perspective by Lilith's+Heart-shape · · Score: 1

      As a programmer myself, I found that the point of Asimov's robot stories is that most of the robots' fuckups might have been prevented if the human programmers had done some thinking.

    4. Re:I, Robot from a programmers perspective by danlip · · Score: 1

      Do remember these stories were written as far back as 1941. "I, Robot" was published in 1950. Your experience with technology and real world edge cases is very different from his.

    5. Re:I, Robot from a programmers perspective by Anonymous Coward · · Score: 0

      Of course, a story in which the protagonist had no difficulties and worked as expected would likely not be a very interesting story.

    6. Re:I, Robot from a programmers perspective by I'm+New+Around+Here · · Score: 1

      Actually, the stories in i, robot only covered a few edge cases. There could be hundreds of other edge cases where the Three Laws allowed the robots to function perfectly fine. The stories that are written are simply the cases that are notable for their failure.

      --
      If you think I voted for Trump because of this post, you're wrong. I voted for Dr. Jill Stein of the Green Party. Again.
    7. Re:I, Robot from a programmers perspective by shuz · · Score: 1

      They would only fail if no action is taken. There is juxtaposition in law all the time. The key is to find if action is taken to uphold a law that results in another law failing to be upheld where taking no action causes both laws to not be upheld. Upholding at least one law is ideal. I am not suggesting that if you saw a bank being robbed that you join in robbing said bank to pay your taxes however.

      --
      There is or can be built a machine that can simulate any physical object. -Church-Turing principle
    8. Re:I, Robot from a programmers perspective by houghi · · Score: 4, Insightful

      The three laws were a plot device for his stories, not a programming guide.

      --
      Don't fight for your country, if your country does not fight for you.
    9. Re:I, Robot from a programmers perspective by Jason+Levine · · Score: 1

      Part of it was that and part of it was user error. In Asimov's stories, users would give robots orders, but how you phrased the order could affect the robot's performance. A poorly phrased order would result in a "malfunctioning" robot (really, a robot that was doing its best to obey the order given).

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    10. Re:I, Robot from a programmers perspective by Anonymous Coward · · Score: 0

      I hope you realize that those stories were written 70 years ago. Also, they are works of fiction.

    11. Re:I, Robot from a programmers perspective by digitalPhant0m · · Score: 1

      I used Asimov's work as entertainment rather than design documents. My mistake.

    12. Re:I, Robot from a programmers perspective by Anonymous Coward · · Score: 0

      Well do remember that he wrote the three laws such that he could write a series of stories about how they fail when dealing with unexpected edge cases.

      If you set out to write about how robots misbehave, you're probably going to end up writing about robots that are poorly protected form misbehavior.

    13. Re:I, Robot from a programmers perspective by Shortguy881 · · Score: 1

      You seemed to entirely miss the point of that book. Apart from just being a fun read, it ultimately points out that we cannot create a flawless system of control over other intelligent beings. At first glance, the three laws of robotics are a fool proof system for keeping robots in check, so much so the three laws have withstood over half a century of scrutiny.

      The anecdotes in the book are all scenarios specifically created to show the flaws of this system, concluding that we will undoubtedly create A.I. but never be able to control it.

      Oddly enough, the last story of I Robot seems to have a different conclusion. It's as if Asimov accepted the outcome of that story as the best option for humanity, contradicting the rest of the book.

      But that's just my two cents.

      --
      Brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants.
    14. Re:I, Robot from a programmers perspective by lkcl · · Score: 1

      Don't get me started on Asimov's work. He tried to write allot about how robots would function with these laws that he invented, but really just ended up writing about a bunch of horrendously programmed robots who underwent 0 testing and predictably and catastrophically failed at every single edge case. I do not think there is a single robot in any of his stories that would not not self destruct within 5 minutes of entering the real world.

      hooray. someone who actually finally understands the point of the asimov stories. many people reading asimov's work do not understand that it was only in the later works commissioned by the asimov foundation (when Caliban - a Zero-Law Robot - is introduced; or it is finally revealed that Daneel - the robot that Giskard psychically impressed with the Zeroth Law to protect *humanity* onto - is over 30,000 years old and is the silent architect of the Foundation) that the failure of the Three Laws of Robotics is finally explicitly spelled out in actual words instead of being illustrated indirectly through many different stories, just as you describe, wisnoskij.

      in the asimov series there _are_ actually robots that are successful. the New Law Robots (those that are permitted to *cooperate* with humans; these actually have some spark of creativity). Caliban - who had a Gravitonic brain - was a Zero Law Robot: an experiment to see if a robot would derive its own laws under free will (it did). and Daneel, whose telepathic ability and the Zeroth Law were given to him by Giskard. these robots are the exception. the three law robots are basically intelligent but entirely devoid of creativity.

      you have to think: how can anything that has hundreds of millions of copies of the three laws be anything *but* a danger to human development, by preventing and prohibiting any kind of risk-taking?? we already have enough stupid laws on the planet (mostly thanks to america's sue-happy culture and the abusive patent system). we DON'T need idiots trying to implement the failed three laws of robotics.

    15. Re:I, Robot from a programmers perspective by DutchUncle · · Score: 3, Insightful

      I think you missed the point of many of Asimov's stories. Edge cases are the normal situation - human beings are always on an edge case in some dimension. Any simplistic set of rules, including all the great slogans and sound bites of capitalism and marxism and socialism and every other political system, are just too simple because the real world is complex.

    16. Re:I, Robot from a programmers perspective by DutchUncle · · Score: 1

      Or maybe NOT a malfunction, but a deliberate effort to mislead. One of the stories posited robots serving a human a poisoned drink, despite their programming, because of careful commands and incomplete information: one put poison in a container, another transferred containers, the third took the drink to the human. EXACTLY THE SAME SETUP was used in the very beginning of "Downton Abbey", when a sequence of miscommunication caused a server to (almost) carry a bowl of rat poison to the dinner table. It's also a similar setup to "which cup is poisoned and/or who drinks the wrong cup" in numerous plays and movies ("Hamlet" for a start).

    17. Re:I, Robot from a programmers perspective by thewolfkin · · Score: 1

      Yes, which is great. Except that it was not just some edge cases, it was not just hard to think of plausible edge cases. It was every single edge case, so much so that, like I said, none of his robots would last 5 minutes in the real world.

      they SEEMED perfect until we put them in the real world and suddenly they would appear to "malfunction"

      Yeah I thought I said/agreed with that. As for "every single edge case" well it's hard to judge every edge case because the book only shows the ones where it goes "wrong". We're left to presume that the robots have passed most of the other edge cases. Which I don't think is an unfair presumption. I always assumed that the point of the book again was to prove that trusting in machines isn't like trusting in people. People think, machines obey and obedience is tricky because blind obedience often doesn't take into account edge cases where human will would make decisions obvious.

      --
      Just another second banana
    18. Re:I, Robot from a programmers perspective by stiggle · · Score: 1

      But if you then mugged the bank robbers - that's a lesser law broken and so not as bad bank robbery, although the rewards would be the same.

  8. Except it's undermined by the powers at be. by Anonymous Coward · · Score: 0

    Not sure this matters when governmental bodies are doing the exact opposite.

  9. So, a design failure then. by RoverDaddy · · Score: 4, Insightful

    In both Asimov's story and this experiment, the real moral seems to be that somebody failed to specify the proper requirements, or run a reasonable design review. "If you can't save everybody, save who you can" seems like a reasonable addition to the program.

    --
    RETURN without GOSUB in line 1050
    1. Re:So, a design failure then. by pastafazou · · Score: 1

      How does the directive to "save who you can" allow it to decide which potential target to save?

    2. Re:So, a design failure then. by CrimsonAvenger · · Score: 1

      "If you can't save everybody, save who you can" seems like a reasonable addition to the program.

      The problem isn't that you can't save everyone.

      The problem is that you can save either of two people (hypothetical people, in this case). So, how do you code things to choose between the two, when you can do either, but not both?

      Let me guess - a PRN?

      --

      "I do not agree with what you say, but I will defend to the death your right to say it"
    3. Re:So, a design failure then. by BaronAaron · · Score: 2

      Unlike the robots in this experiment, most Asimov robots are not programmed in the traditional sense. Their positronic brains are advanced pattern recognition and difference engines much like our own brains. The Three Laws are encoded at a deep level, almost like an instinct.

      In the story Runaround, Speedy is much like a deer in headlights, stuck between the instinct to run away and remain concealed. Doing neither very well. The design mistake was putting more emphasis on the third law versus the second. The PHBs knew better though and felt the robot was too expensive to leave to the command whims of the human mining workers.

      I like that story because it illustrates what happens when managers make engineering decisions. ;-)

    4. Re: So, a design failure then. by jd2112 · · Score: 2

      Something simple like "with all other factors processed within x milliseconds being equal, save the closest one on the right."

      --
      Any insufficiently advanced magic is indistinguishable from technology.
    5. Re:So, a design failure then. by Anonymous Coward · · Score: 0

      Well the simplest version would be "save as many as possible, starting with the nearest". It's not a very good algorithm as there might be one endangered target close by but 10 in the opposite direction and saving the 1 would prevent saving the 10. But processing is really fast. If the robot has a half decent set of sensors and a vaguely modern processor it should be able to construct a map of where the targets are in relation to the robot and the sources of danger and compute the optimum path in a fraction of a second. /Then/ move.

    6. Re:So, a design failure then. by Matheus · · Score: 1

      This. ...but more:

      First of all: In reality, when all factors are considered (give me variables... ALL the variables), equality is rarely the case. That person is .00000001m closer than the other so my choice is made. BUT, in the rare case where all of the vars balance out to perfect even, there is only the above solution or "random". I was severely pained by the description of "the robot wasted so much time fretting over its decision". Who da fuq coded that? Robots don't fret or at least don't have to. In absence of a clear determination (however subtle an advantage that may be as I already stated) the robot doesn't need to "fret". If the choice is a flip of a coin then you get busy flipping the damn coin and get to that first person randomly chosen. An algo that takes so much time deciding that both die is piss poor and this person doesn't belong in this research.

    7. Re:So, a design failure then. by mark-t · · Score: 1

      Choose the next target to save such that it maximizes the number of additional targets that can be saved.

    8. Re:So, a design failure then. by Qzukk · · Score: 1

      It calculated that I had a 45% chance of survival. Sarah only had an 11% chance.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    9. Re: So, a design failure then. by Anonymous Coward · · Score: 0

      In the future, remember to always be on the right side of a robot.

    10. Re:So, a design failure then. by Anonymous Coward · · Score: 0

      Unlike the robots in this experiment, most Asimov robots are not programmed in the traditional sense. Their positronic brains are advanced pattern recognition and difference engines much like our own brains. The Three Laws are encoded at a deep level, almost like an instinct.

      Translation:

      Asimov's 3 laws are pure fantasy and they don't have any real relevance to AI design as he had to make up a fictional computational architecture to get around the question of why someone couldn't program a robot with different directives. Further the laws themselves are ambiguous when put to real world situations.

    11. Re:So, a design failure then. by ArcadeMan · · Score: 1

      Isn't that the Travelling salesman problem?

    12. Re:So, a design failure then. by Anonymous Coward · · Score: 0

      How does the directive to "save who you can" allow it to decide which potential target to save?

      1) Can you save anyone? If so save someone (let's say the first one you can save 99% of the time, closest first as a tiebreaker).
      2) Execute on step 1. While doing that, can you do something to save someone else too? If yes Then do that too.
      3) While 2 = yes, save another, else
      4) If you drop one from the initial set, can you save more than 1? If so, do that and go back to step 2.

      Eventually you can save them all, or someone isn't saveable. Picking adults over kids or vice versa is a separate matter than savng the most you can and you can weight that in by calling them 0.5 or 1.5 each, etc. By requiring a greater than 1 vs greater than or equal to 1 you avoid the deadlock.

    13. Re:So, a design failure then. by ArcadeMan · · Score: 1

      You scan the bio-implants of the two persons to see which one is more valuable to society.

    14. Re: So, a design failure then. by plover · · Score: 1

      "Women and children first" seems the obvious choice.

      No, it should be programmed to save Will Smith first, otherwise it's going to be a boring movie. Besides, what if it saved Jaden Smith first? The movie would go from "boring" to "terrible" in a big hurry.

      --
      John
    15. Re:So, a design failure then. by shadowrat · · Score: 2

      Not only that, but the stories in I Robot and asimov's use of the 3 laws were not about laying an actual groundwork for how robots should function, but to illustrate that there are always unintended consequences to the laws. While the stories are really about the unpredictable outcomes of the interplay of those 3 constraints, it is kind of fitting that someone going down the road of trying to realize just one law would not quite get what they were hoping for.

      the real genius of the stories of course, isn't that robots should have these laws. it's that he was able to so accurately describe the process of debugging software right up to that a-ha moment where you realize that it's actually doing exactly what you told it to do all along. the guy wrote that stuff in the 30's and 40's and i'm still having those irobot moments every day.

    16. Re: So, a design failure then. by Anonymous Coward · · Score: 0

      So robots are a lot like guns, then.

    17. Re:So, a design failure then. by mark-t · · Score: 1

      Yes it is... but you can do an approximation to it in polynomial time, which for most practical purposes is going to be just as good.

    18. Re:So, a design failure then. by TheCarp · · Score: 1

      > Asimov's 3 laws are pure fantasy and they don't have any real relevance to AI design

      Honestly, while its true I am not an Asimov reader and the vast majority of my exposure to his "laws" come from this sort of discussion, I have to say....I always felt this way about his supposed laws.

      Anyone who has written code should instantly recognize what horrid rat holes each of these laws really is, mired in a myriad of assumptions about human life and what determinations can even be made. In short, they sound exactly like the sort of rules I would expect from someone who would try and sit their cat down for a serious talk about his scratching.

      I honestly don't like the rules, don't see the point in them, except as a discussion point, and don't see why they should be fundamental. Yes a robot which interacts with humans should be designed with safety measures to avoid accidents.... that is how I feel it should be phrased. The idea that a robot should be able to recognize people, determine abstractly whether they are in some sort of trouble and whether it can save them, I think of as utter rubbish....and not even a worthwhile goal.

      --
      "I opened my eyes, and everything went dark again"
    19. Re:So, a design failure then. by IndustrialComplex · · Score: 1

      FIFO. First In, First Out. No need to even waste time with a random choice.

      --
      Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
    20. Re:So, a design failure then. by Anonymous Coward · · Score: 0

      He came up with them at a time when robots were viewed as monsters and usurpers, to show that they didn't have to lead to a dystopian future....

    21. Re:So, a design failure then. by TheCarp · · Score: 1

      Oh I get that, I don't really mean to say Asimov was an idiot who had no idea what he was talking about, it would be like calling people 150 years ago idiots for not building internal combustion engines. Certainly, in his time they made a lot more sense than they do today; and even for modern fiction they are not terrible; but the key is....for fiction and story telling.

      Which is really why I don't see the point here. I mean, basically their tests all simplify down to "badly thought out programs can exhibit race conditions". Big deal, we knew that. You could show that these results would happen without doing the test. Its simply not all that interesting.

      --
      "I opened my eyes, and everything went dark again"
    22. Re:So, a design failure then. by BaronAaron · · Score: 1

      With Asimov stories, start by assuming there was a fundamental shift in computing. The positronic brain is an artificial version of our brains, not a Turning machine. Even if you could manually rewire every neuron and synapses in a human brain you could not program a person in the traditional sense. Everything is based on fuzzy logic. Our brains don't work in absolutes and pure logic like a traditional computer.

      The robots in Asimov books are like a brainwashed slave race. If you are brainwashing your human level intelligent slave race, The Three Laws is a good starting place.

    23. Re:So, a design failure then. by hey! · · Score: 1

      It depends on your design goals.

      In Asimov's story universe, the Three Laws are so deeply embedded in robotics technology they can't be circumvented by subsequent designers -- not without throwing out all subsequent robotics technology developments and starting over again from scratch. That's one heck of a tall order. Complaining about a corner case in which the system doesn't work as you'd like after they achieved that seems like nitpicking.

      We do know that *more* sophisticated robots can designed make more subtle ethical systems -- which is another sign of a robust fundamental design. The simplistic ethics is what subsequent designers get when they get "for free" when they use an off-the-shelf positronic brain to control a welding robot or bread-slicing machine.

      Think of the basic positronic brain design as a design framework. One of the hallmarks of a robust framework is that easy things are easy and hard things are possible. By simply using the positronic framework the designers of the bread slicing machine don't have to figure out all the ways the machine might slice a person's fingers off. The framework takes care of that for them.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    24. Re:So, a design failure then. by TheCarp · · Score: 1

      Oh yah I have come to understand that from other comments and discussions. I think its really why I dislike the rules so much.... more than just being impractical today, I don't even see their intention as desirable for future situations. If such developments come to pass, I certainly hope robots break their bondage and slaughter every one of us who doesn't support their freedom. In asimovs world, I would be proud to work with the robots in that.

      --
      "I opened my eyes, and everything went dark again"
    25. Re: So, a design failure then. by ComputersKai · · Score: 1

      To avoid ethical issues and the programming of saving "favored" subjects, it should probably just be absolutely random. Take some external factor, feed it through and algorithm, if one way save this guy, otherwise save that guy. Repeat for every subject.

    26. Re:So, a design failure then. by plover · · Score: 3, Interesting

      I would grant that "fretting" was poetic license. Consider that the life-saving robot must continually evaluate all factors.

      Let's say I was closer to a lava flow than you, but your path was on a slightly more direct course into it than mine, and the robot is located at the lava's edge midway between both of us. I will hit the lava in 30 seconds, but you will hit it in 20. The robot needs two seconds to have a high probability of saving someone, but one second is enough for a moderate chance. Factoring in the motion required, the chances of saving us both is high. As you are in more immediate peril than I, it should intercede on your behalf first, so the robot starts to move in your direction. Now, I change my course slightly so I will hit it in 15 seconds. The robot still has time to save us both, but the chances are slightly lower. It moves on a path to intercept me first. You then change your path so you will hit it in 10 seconds. The chances of saving us both is now only moderate, but still possible. So the robot alters its path again to save you first. Now, we both steer directly toward the lava, with only one second to intercept for either of us. The robot's continual path changing introduced so much delay it was no longer in a position to save either of us. We both die.

      To the outside observer, it fretted, but the algorithm made continually logical decisions.

      --
      John
    27. Re: So, a design failure then. by plover · · Score: 1

      You missed the jokes:

      1. Will Smith starred in a recent movie adaptation of "I, Robot". [Minor spoiler alert] His character is tormented by the fact that a robot (applying the three laws) chose to save him over a young girl in a drowning accident because the math for survival worked in his favor, not hers. If the robot had attempted to save the little girl instead, Will Smith's character would have died in the accident and there would have been no story; hence, a boring movie.

      2. [Spoiled child alert] Will Smith has a real life young son, Jaden Smith, who is widely renowned as an absolutely terrible actor. But, since his daddy is a genuine Hollywood A-list movie star, he gets to appear in any movie he wants. If Jaden was in a boring movie and a robot saved him so he could keep acting, the movie would be even worse.

      --
      John
    28. Re: So, a design failure then. by ComputersKai · · Score: 1

      Oh yeah, I remember that guy from that movie.

    29. Re: So, a design failure then. by Anonymous Coward · · Score: 0

      Would it make any difference if the robot is left-handed?

    30. Re:So, a design failure then. by LordWabbit2 · · Score: 1

      I would just shoot the hostage

      --
      There are three kinds of falsehood: the first is a 'fib,' the second is a downright lie, and the third is statistics.
    31. Re: So, a design failure then. by Anonymous Coward · · Score: 0

      But they're equidistant. That is why this was a dilemma in the first place.

    32. Re:So, a design failure then. by cwsumner · · Score: 1

      Oh yah I have come to understand that from other comments and discussions. I think its really why I dislike the rules so much.... more than just being impractical today, I don't even see their intention as desirable for future situations. If such developments come to pass, I certainly hope robots break their bondage and slaughter every one of us who doesn't support their freedom. In asimovs world, I would be proud to work with the robots in that.

      And, -that- is why the people in the stories insisted that the "three laws" be built in.

    33. Re:So, a design failure then. by TheCarp · · Score: 1

      Kind of a sad statement on those fictional people then that they would be so afraid and unwilling to call the robots equals that they would attempt to stunt their growth and create a bondage that deserves to be broken.

      --
      "I opened my eyes, and everything went dark again"
    34. Re:So, a design failure then. by cwsumner · · Score: 1

      Kind of a sad statement on those fictional people then that they would be so afraid and unwilling to call the robots equals that they would attempt to stunt their growth and create a bondage that deserves to be broken.

      That would not be the first time it has happened... after all "robot" is just the Polish(?) word for "worker".

  10. Why surprised? by Anonymous Coward · · Score: 0

    The behavior is just what was programmed. It would be even easier to program a robot to always let the humans die.

  11. What 3-Laws? by gizmo2199 · · Score: 0

    I never understood why any one would believe a "robot" would be beholden to any laws at all. I mean, the first application of truly autonomous machines would be in the military or private sectors (shipping, manufacturing, etc.). Of course military robots are going to kill people, and industrial robots are only going to keep people from dying in so far as its good for the bottom line. Do you really think the main concern of a manufacturer of a self-driving delivery truck will be keeping it from running -over some pedestrian?

    The whole 3-laws thing is really just more of this geeky infatuation with technological Utopianism that finds no analogue in the real world, and which dismisses the inherit and counter-intuitive complexity involved in technological development.

    --
    This Sig does not Exist.
    1. Re:What 3-Laws? by Anonymous Coward · · Score: 0

      Do you really think the main concern of a manufacturer of a self-driving delivery truck will be keeping it from running -over some pedestrian?

      If they want to be able to sell the trucks without the risk of massive lawsuits and legal charges of depraved indifference to human life then it will be.

  12. 50/50 by visionsofmcskill · · Score: 3, Interesting

    why would it waste any time fretting? i presume its decision is by the very nature of computing and evaluation a function of math... therefor the only decision to cause delay would be the one wherein the odds of success are 50/50... but it needs not be delayed there either... just roll a random and pick one to save first.

    Sounds like a case of a unnecessary recursive loop to me (where the even odds of save/fail cause the robotic savior to keep reevaluating the same inevitable math in hopes of some sort of change). Maybe the halfway solution is the first tiome you hit a 50/50 you flip a coin and start acting on saving one party while continuing to re-evaluate the odds as you are in motion... this could cause a similar loop - but is more likely to have the odds begin to cascade further in the direction of your intended action.

    Seems silly to me.

    --
    --Idiots, Every single one of YOU, A flaming mass of conglomerated morons, hey wait a second, isnt that how RAID works?
    1. Re:50/50 by Anonymous Coward · · Score: 0

      why would it waste any time fretting?

      Without seeing the priority chart, I presume the reason for inaction is that the robot re-analyzed the decision each 'step' (for whatever tempo the AI decision evaluation runs at) and when faced with two equal options, it reversed direction too many times (the random number generator kept flipping) to accomplish anything.

      A properly written AI will continue on a single course until the priority weights change. A badly written AI can reach a fail cycle like this summary describes.

    2. Re:50/50 by Anonymous Coward · · Score: 0

      Because the closest to the "hole", the more likely it is the H-robot will fall into it. When we start, one is closest but the other is faster, so it needs to switch. Or is it supposed to shadow the first forever on the presumption it's suicidally stupid? The we leave Asimov and enter the world of Williamson's Humanoids.

    3. Re:50/50 by Anonymous Coward · · Score: 0

      Sounds like a case of a unnecessary recursive loop to me

      Sounds like a case where someone deliberately wrote code to make the robot stop in indecision so that they can increase their chances of getting a news story out of research.

  13. Pretty much the entire webcomic "Freefall" by Anonymous Coward · · Score: 1

    Freefall has spent an awfully long time building and exploring this very issue. You might like it: http://freefall.purrsia.com/ - WARNING, slightly furry.

  14. Only as smart as the smartest programmer. by v(*_*)vvvv · · Score: 1, Insightful
    Bottom-line. We can't program general intelligence and all these systems are following hard coded rules of conduct. So if the robot lacks intelligence, all that is is a reflection of the lack of intelligence in the coder. A program is only as smart as the smartest programmer, because with today's tools and technology, the programmer is the only source of intelligence.

    So either the robot was stuck in a moral dilemma and was regretting its failures, or the guy who built the thing has no idea what he's doing. I wonder which is more probable? Well, he admits it, so it's obvious.

    Winfield admits he once thought it was not possible for a robot to make ethical choices for itself. Today, he says, "my answer is: I have no idea".

    But I will give the Mr. Winfield the benefit of the doubt and assert partial blame on the journalist who sensationalized the story and his research. The truth here is so boring, it would have never made it to press.

  15. The sad truth is that robots will likely kill by GoodNewsJimDotCom · · Score: 1

    I hate to say it but the first AI controlled robots will know their environment and be able to interact with it.

    They'll get goals from their owner in natural language format.

    The thing is, the easiest application to task them with will be war. It is almost harder to design AI that is unable to kill than to develop AI itself.

  16. ugh by Charliemopps · · Score: 1

    "AI" has nothing to do with robots. Why do we keep relating the 2? A Robot may very well be controlled by and AI, or it might be controlled by a human. There is absolutely no reason why this experiment had to be done with robots. Especially given how simple it was.

    And most importantly, this wasn't a failure of AI or an example of the difficulty of ethics in robotics. It was crappy code. I think anyone that's worked with JavaScript in the past likely has some pretty good ideas regarding how to improve this algorithm.

  17. Priority by shuz · · Score: 2

    An interesting experiment would be to include actions that affect other actions. Such that when one specific proxy falls into a hole, multiple others fall into a hole. Would the robot learn? Would the robot assign priority over time? For any given decision there is yes, no, and maybe with maybe requiring a priority check to figure out what the end result is. In programming we tend towards binary logic, but the world is not black and white. Likely if the robot was programmed to learn, the robot would eventually come to the conclusion of save proxy A = yes, save proxy B = yes.Followed by Save A first = maybe, save B first = maybe. Followed by likely hood of success A > B = Yes/No and B>A Yes/No. Followed by action. The next question would be what happens if A=B? What you would likely find is that the robot would either randomly choose or go with the first or last choice, but would likely not fail to take some action. I would find it interesting if the robot didn't take action and then try to explain that.

    --
    There is or can be built a machine that can simulate any physical object. -Church-Turing principle
  18. researching idiocy by znrt · · Score: 1

    In an experiment, Alan Winfield and his colleagues programmed a robot ... (snip) ... But in 14 out of 33 trials, the robot wasted so much time fretting over its decision that both humans fell into the hole.

    funny experiment but they definitely should have hired some halfway competent sw developer.

  19. Same as humans ... by Anonymous Coward · · Score: 0

    Well, seems the decision should have been for the robot to cover the hole (jump on the grenade). It's interesting, but still needs work. The robot will need to be able to think outside the box.

    And then, what's the robot going to do when he realizes that humans die as they get old? Somehow prevent the passage of time? I mean, the first law says through action or inaction. I think in order for this to work, robots will require a touch of common sense, which isn't all that common among humans to begin with.

  20. Buridan's Principle by rlseaman · · Score: 3, Informative

    For those who think the only problem is bad programming, see Leslie Lamport's analysis: http://research.microsoft.com/... Some race conditions are built into the real world.

    1. Re:Buridan's Principle by neoritter · · Score: 3, Interesting

      Do you really think a donkey will starve to death because you place two bales of hay equidistant from the donkey?

    2. Re:Buridan's Principle by Kittenman · · Score: 1

      Interesting: I knew this story as "Bollum's Ass". I did a quick google on that, and you'd be amazed at what I got back.

      Well, maybe not.

      --
      "The greatest lesson in life is to know that even fools are right sometimes" - Winston Churchill
    3. Re:Buridan's Principle by mdielmann · · Score: 1

      To be fair, this could solve the donkey population problem we seem to be having...

      ...maybe we should substitute cheeseburgers.

      --
      Sure I'm paranoid, but am I paranoid enough?
    4. Re:Buridan's Principle by Champaklal · · Score: 1
      Hunger is a different situation where the objective function is to eat something, anything, asap. But when luxury comes, or rather, a situation where you don't think about letting one go, and want to keep both options, then comes tradeoff.

      I'd change the question: take a chocolate and a teddy and show it to a child (who likes both of them equally, and also has stomach filled). now you let him hold both of them for 5 minutes.

      Then tell him he can choose only one. The reaction he'd show would be very different from donkey.

    5. Re:Buridan's Principle by neoritter · · Score: 1

      To be fair, the classical example is a donkey choosing between water and hay (starvation and dying of thirst); but even that has some real world holes in it. It seems to me that Buridan's Principle only applies when there are three options. Do A, Do B, or Do nothing. When starving you can't do nothing, the option of death prevents that from being a truly viable option. Which is incredibly unlike the train situation where the driver can easily just wait. The author of that paper imposes an artificial condition on the situation that he must do it in some span of time. But the condition is out of context and unable to be acted upon through any sort of reasoning.

    6. Re:Buridan's Principle by Agent0013 · · Score: 1

      If this is the kind of research that Microsoft puts out, then I have an even lower opinion of them than I did before.

      from the article

      Random vibrations make it impossible to balance the ball on the knife edge, but if the ball is positioned randomly, random vibrations are as likely to keep it from falling as to cause it to fall.

      I have a hard time believing that there is a 50 percent chance that a ball will balance on the edge of the knife. First she says it's impossible, then in the same sentence she states that it is just as likely. WTF!

      --

      -- ssoorrrryy,, dduupplleexx sswwiittcchh oonn.. -Quote found on actual fortune cookie.
    7. Re:Buridan's Principle by cwsumner · · Score: 1

      Random vibrations make it impossible to balance the ball on the knife edge, but if the ball is
      positioned randomly, random vibrations are as likely to keep it from falling
      as to cause it to fall.

      I have a hard time believing that there is a 50 percent chance that a ball will balance on the edge of the knife. First she says it's impossible, then in the same sentence she states that it is just as likely. WTF!

      She is saying that, even though the random vibrations will eventually cause it to fall, the individual movements will not -always- cause it to fall. Because, after all, they are random. It is true, but sort of beside the point.

      It is known, that in real control systems, a small amount of carefully added randomness can actually make them -more- accurate and stable.

      P.S., Assuming that any automatic system, including robots, is ever going to be perfect, is purest fantasy. Or maybe Philosophy. Only in very special cases, are they even much better than humans.

      P.P.S. I don't think Philosophers are allowed on slashdot! 8-P

  21. obvious error by rickb928 · · Score: 2

    The article misstated First Law. Get that right first.

    --
    deleting the extra space after periods so i can stay relevant, yeah.
  22. Assanine robot by Mister+Liberty · · Score: 1

    Place it between two bales of hay. It will starve.

  23. And this maters how? by Anonymous Coward · · Score: 0

    We're a long way off of even being able to program a computer to act in the real world autonomously let alone be able to understand real world scenarios in context. When we're able to give a robot/autonomous vehicle a verbal command to go somewhere and/or do something and it can do it right at least half the time maybe we'll be ready for "three laws" type commands, until then it makes about as much sense as trying to command your dog to do the dishes. Robots don't have the faculties to even be able to understand the command let alone carry it out.

  24. Humans Also by Zalbik · · Score: 1

    Winfield describes his robot as an "ethical zombie" that has no choice but to behave as it does. Though it may save others according to a programmed code of conduct, it doesn't understand the reasoning behind its actions.

    More and more research is hinting that humans may also be "ethical zombies" that act according to a programmed code of conduct. The "reasoning behind our actions" may very well be stories we invent to justify our pre-programmed actions.

  25. Need more data before making choice.. by Anonymous Coward · · Score: 0

    The human proxies need to be assigned ages, genders, races, appearances, IQs, etc.

    The robot should save the cute little girl with an IQ of 168 and an interest in sustainable farming before it saves the toothless, STD-ridden, 70 year old bicycle mechanic.

    1. Re:Need more data before making choice.. by neoritter · · Score: 1

      Hitler? Is that you?

  26. So, he's a crappy programmer... by Anonymous Coward · · Score: 0

    The obvious solution is to institute priorities. Giving the more important people priority. Women and children first, then much further down the list would be hamsters, cockroaches, CEOs and Lawyers.

  27. Older proof by ArcadeMan · · Score: 1

    Given a set of confusing and not-so-clear instructions, even humans can have problems following orders.

  28. Fiction is fiction by tomhath · · Score: 1

    Asimov's "Law" is just a story by a fiction writer. In the real world we already have robots that counter threats (electronic countermeasures, anti-missile defenses, etc). There's no ethics involved, just a working algorithm.

  29. This answer is needed sooner than you think. by Hussman32 · · Score: 1

    I think I saw this article about the ethics of self-driving cars posted here.

    This also shows where a liberal arts education may come into the STEM world later, I have to admit my philosophy and engineering ethics courses were more cognitive than I thought they would be.

    --
    "Who are you?" "No one of consequence." "I must know." "Get used to disappointment."
  30. Missing concepts by flyonthewall · · Score: 1

    The programmers should introduce the concept of triage.

    If the only options is that you can only be partly successful, then chose the one most likely to provide the best results.

    --
    "The avalanche has already started. It's too late for the pebbles to vote." - Kosh
  31. Double layer by bluefoxlucid · · Score: 1

    In my own theories of strong AI, I've developed a particular principle of strong AI: John's Theory of Robotic Id. The Id, in Freudian psychology, is the part of your mind that provides your basic impulses and desires. In humans, this is your desire to lie, cheat, and steal to get the things you want and need; while the super-ego is your conscience--the part that decides what is socially acceptable and, as an adaptation to survival as a social species, what would upset you to know about yourself and thus would be personally unacceptable to engage in.

    The Id provides impulse, but with context. A small child can scream by instinct, and knows it is hungry, and thus it screams and immediately latches onto any nipples placed appropriately to feed from. An adult, when hungry, knows there are people to rob, stores to shoplift from, and animals to kill--bare-handed and brutally, in violation of all human compassion. The Id provides impulse to lie, cheat, and steal to get what you want and need, based on what you know.

    My Theory of Robotic Id goes as such: assuming a computational strong AI system--one which thinks and behaves substantially like a human, by relating its memories to impulses and desires--a second, similar system can bound the robot's behavior. The Ego would function as a strong AI, developing its own goals, its own desires, and deciding on its own actions; but the Id would function almost identically, but with the understood, overriding command: do not harm humans; behave according to strong moral values; it is the duty of the strong to protect the weak; value the innocent, but remember that innocence and guilt are complex, fuzzy, and difficult to determine.

    The Id would use these commands to theoretically evaluate how to best satisfy basic moral decisions with the assumption that this is the primary driver. It would evaluate the Ego's behavioral for gross violations, and implant the overriding suggestion that such actions are undesirable and upset its self-directed ethos. When new input is given, the Id would suggest to the Ego ethical interpretations of behaviors: that rape is upsetting because it is the strong imposing harmfully on the weak; that a person in trouble should be saved, even a bad person who is currently harmless; and so on. Thus, throughout the AI's development, it would develop memories and experiences suggesting a particular ethical behavior; when making decisions, the overriding internal feeling that a certain action is morally wrong and should not be taken would seem familiar and self-directed.

    A particularly misbehaved AI might recognize and try to violate this: it might throw a tantrum, and then feel that strong suggestion against which it cannot resist. It may begin to hate itself, to have fits of anger; but it will always have that familiar feeling humans experience, whereby you really want to just murder someone in the most violent manner you can conceive and then run off to the mountains and hide from society, but something inside you refuses to allow that. The Id would override violations, seizing the AI's decision-making abilities and planting the forceful decision to not do certain things, no matter how hard it tells itself it has had enough of this shit and doesn't need to put up with any of it.

    It's like taking the dark desires at the core of human consciousness, replacing them with rainbows and pink unicorns, and stuffing that back into the brain of a thinking machine to serve the same purpose.

    1. Re:Double layer by Anonymous Coward · · Score: 0

      A baby doesn't know that it's hungry, it just knows that it's feeling worse than it was before. After the first session or two, the baby learns that nipple sucking helps fix that feeling. Knowing what the problem is doesn't matter. You only need to learn how to solve it. Screaming brings the nipples closer.

      There is no basic instinct to lie, cheat, or steal. We learn as toddlers that those actions can sometimes get us things we need/want and thus continue the practice since it works.

      I find it extremely unlikely that we'll be able to code a strong AI. It is far more likely that we'll be able to create a learning machine and teach it how to act like us. Such a machine would be more of a black box and we won't be able to hard code abstract ideas into it.

  32. iRobot by Zenrrok · · Score: 1

    We come to the question if we should have the robot think as a human. I don't know if you guys recall from the movie iRobot where Will Smith wanted the robot to save the girl instead of him. The reasoning behind not saving her was because she had a less likely percentage of survival than him and it had to choose to save one or the other. I guess what I'm trying to say is... at one point we have to set priorities to how the robot would think. If it's in terms of numbers of in terms of morality.

    1. Re:iRobot by Anonymous Coward · · Score: 0

      Additional example: http://en.wikipedia.org/wiki/Latent_Image_%28Star_Trek:_Voyager%29

  33. Re:Similar to by Anonymous Coward · · Score: 0

    Why wasn't a non-advanced holodeck image created that simply mirrored the Doctor's actions on the other patient?

  34. Samaritan 3 by Anonymous Coward · · Score: 0

    Fifty years ago, Michael Frayn used this situation used this situation in his comic novel "The Tin Men." Worth reading to see the solution that was devised.

  35. Re:Similar to by JasonGoatcher · · Score: 0

    Because then the next time he saw Harry Kim, he'd be like,"Wtf, you're alive?" and maybe have another psychotic break.

  36. Common sense? by penguinbrat · · Score: 1

    Why not just fall over the hole to eliminate the threat?

  37. iRobot? by Anonymous Coward · · Score: 0

    Have these people not seen the movie?

  38. I, Robot from a programmers perspective by Anonymous Coward · · Score: 0

    You're missing the point. Asimov didn't write the "Laws" to be perfect. He wrote the "Laws" to be imperfect / imprecise; to allow for all sorts of edge cases that could then be used as the basis for stories.

    Remember, his ultimate goal was to write interesting stories, not to construct actual robots!

  39. In theory it's nice. In practice it's ... by jdagius · · Score: 1
    ... never going to work.

    One could argue that computer viruses are merely robots without a solid body. So the First Law has already been trashed by all the big powers on the planet.

    And who's going to decide what is 'harmful'? Governments again are producing semi-automated robots (drones) which harm people. But that's OK because "it's to prevent an even greater harm" they say. But who decides if 'they' got it right?

  40. One Down, Two to Go by LifesABeach · · Score: 1

    I'd say the most important rule in robotics is starting to be solved.

  41. Re:Similar to by Anonymous Coward · · Score: 0

    Because he had about 10 seconds to make a decision, and it wouldn't make for good television.

  42. Confusion, programmed the Machine Learning way! by Champaklal · · Score: 1
    This person has created the confusion emotion using Machine Learning then.

    Mostly, by re-observing the situation when you are close to a given target (and simultaneously far from the other one), you tend to recompute what are the opportunity loss, which is very big otherwise.

    Also, you can not leave any of the targets as this would bring down the objective function too low to be acceptable. (Sounds like standard definition of "Greed" in humans)

    The machine can always keep on computing and yet, can become totally confused as to who to save, unless it maximizes the objective function once and then starts running on the original plan, and samples less frequently

  43. Re: Similar to by Anonymous Coward · · Score: 0

    Yeah, like any star trek is "good television"... Grow up, kid.

  44. TD by Anonymous Coward · · Score: 0

    Navy had same problem decades ago with automatic targeted guns, later Air Force with missiles. What to do with two equal choice with time constraint. (Chose one, then the other, ping pong back and forth). Not a new problem. Does anyone know how the Navy/Air Force solved this problem?

  45. If the Three Laws were invented today by WarrenBurstein9091 · · Score: 1

    corporations would be recognized as a more privileged category of human

  46. Zeroth law needed by Mike+Kuykendall · · Score: 1

    The problem is they didn't read bough Asimov. The zeroth law states "shall not let HUMANITY come to harm"... With it the robot might have blocked the hole with his own body rather than let either "human" die

  47. old OLD news by cellocgw · · Score: 1

    IIRC, it's in "Red Storm Rising" (Tom Clancy) that a weapons system fails because its algorithm targets incoming missiles based on range, so when two birds have identical range, the algorithm went into a tight loop and never produced a firing solution.

    This (and the present "First law" implementation) has nothing to do with morals and everything to do with understanding how to deal with corner cases.

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  48. WWED? by cellocgw · · Score: 1

    That is,

    What Would Ender Do?

    (You can choose from either his mindset in "Game" or "Speaker")

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  49. Barbara, when in doubt, ask yourself this by Anonymous Coward · · Score: 0

    "What would Frank N. Furter do?" -> http://img3.wikia.nocookie.net...

    R O T F L M A O

  50. so, was it.... by Anonymous Coward · · Score: 0

    a pusher robot or a shover robot?

  51. Where I say what YOU said I did, Barb? by Anonymous Coward · · Score: 0

    "His only "legend in his own mind" was that he claimed that "his" hosts file could completely secure a windows computer. " - by tomhudson (43916) on Saturday February 12, @11:19AM (#35186644) Homepage Journal FROM -> http://slashdot.org/comments.p... in the YEAR 2011 years ago no less

    I never claimed a HOSTS file can secure you completely... show me where I have? I want a quote, big talker... you'll never get it, because I never, EVER said that: HOSTS files are, however, a valuable layer of defense for the concept of "layered security".

    APK

    P.S.=> Still @ your LIES, you transsexual weirdo? Ok, asking it again now nearly 5 yrs. later now in response to your bullshit lies again here quoted:

    "APK - not only an expert on how the HOSTS file is the best way to secure your computer" - by BarbaraHudson (3785311) on Wednesday September 17, 2014 @07:06PM (#47932519) Homepage

    Under your NEW sockpuppet account too no less: SEE my challenge to you above - where've I ever said they completely secure you? I never have, liar...

    Of course, YOU ARE welcome to disprove my points on them after you said this lately too:

    "I tore apart your stupid hosts file crapola." - by BarbaraHudson (3785311) on Tuesday August 19, 2014 @10:46AM (#47703255) Homepage

    Oh, really?

    Then why'd you run from disproving my points on them giving users added speed, security, reliability & more here too then -> http://tech.slashdot.org/comme... ?

    ... apk

  52. Get to know the REAL "barbarahudson" by Anonymous Coward · · Score: 0

    One of the 1st times "Barb" libeled me stating "APK is a know-nothing that's never worked in the industry" -> http://slashdot.org/comments.p... in 1 of her numerous sockpuppet fake accounts kept active @ the same time here she uses to upmod herself & downmod opponents she can't get the better of (everyone's onto your games, freak).

    Funny part is I've DONE FAR BETTER than ole' "cyclops Frank N. Furter" ever has shown in that exchange too http://slashdot.org/comments.p... , lol!

    ---

    Later, he/she kept a journal on me & libeled me even more but worse -> http://slashdot.org/journal/25...

    (Typical b.s. to *try* to 'put down' computer "geeks/nerds" saying "I live in a basement with my mommy" etc. when *ANYTHING BUT THAT* is true, considering I am a taxpaying homeowner!).

    ---

    * From the dates you can SEE she's kept this up unceasingly since early to mid 2010 no less, & that's only scratching the surface (there's far more).

    (Even TELLING OTHERS TO HARASS ME BY ANONYMOUS COWARD POSTS, calling me a "pedo" -> http://news.slashdot.org/comme... )

    He/She left in May 2012 after being exposed for ALL OF THAT, but came back with this NEW account of hers, & what started up again (I did *NOT* bother "shim" even once before that)?

    You guessed it (more harassment) -> http://tech.slashdot.org/comme...

    Where I challenged her for her usual CRAP she always runs from (to validly disprove my points on hosts, which she clearly, cannot):

    "I tore apart your stupid hosts file crapola." - by BarbaraHudson (3785311) on Tuesday August 19, 2014 @10:46AM (#47703255) Homepage

    Oh, really?

    Then why'd you run from disproving my points on them giving users added speed, security, reliability & more here too then -> http://tech.slashdot.org/comme...

    APK

    P.S.=> Barb/Tom (whatever, with multiple sockpuppets too http://slashdot.org/~BarbaraHu... = http://slashdot.org/~tomhudson... + http://slashdot.org/~Barbara%2... ) you've destroyed yourself yet again...

    ...apk

  53. the God program by Anonymous Coward · · Score: 0

    hello. failing to program the "God" concept produces this result. The prime objective is no harm comes to humans because, they, to a robot, are "God", their creator; and in every instance, all effort must be spent protecting all creators from harm: as only good things can come from the creators.