Artificial intelligence is a recurrent theme inscience fiction, whetherutopian, emphasising the potential benefits, ordystopian, emphasising the dangers.
The notion of machines with human-like intelligence dates back at least toSamuel Butler's 1872 novelErewhon. Since then, many science fiction stories have presented different effects of creating such intelligence, often involving rebellions by robots. Among the best known of these are Stanley Kubrick's 19682001: A Space Odyssey with its murderous onboard computerHAL 9000, contrasting with the more benignR2-D2 in George Lucas's 1977Star Wars and the eponymous robot inPixar's 2008WALL-E.
Scientists and engineers have noted the implausibility of many science fiction scenarios, but have mentioned fictional robots many times in artificial intelligence research articles, most often in a utopian context.

The notion of advancedrobots with human-likeintelligence dates back at least toSamuel Butler's 1872 novelErewhon.[1][2] This drew on an earlier (1863) article of his,Darwin among the Machines, where he raised the question of the evolution of consciousness amongself-replicating machines that might supplant humans as the dominant species.[3][2] Similar ideas were also discussed by others around the same time as Butler, includingGeorge Eliot in a chapter of her final published workImpressions of Theophrastus Such (1879).[2] The creature inMary Shelley's 1818Frankenstein has also been considered anartificial being, for instance by the science fiction authorBrian Aldiss.[4] Beings with at least some appearance of intelligence were imagined, too, inclassical antiquity.[5][6][7]
Artificial intelligence isintelligence demonstrated bymachines, in contrast to the natural intelligence displayed by humans and other animals.[8]It is a recurrent theme inscience fiction; scholars have divided it intoutopian, emphasising the potential benefits, anddystopian, emphasising the dangers.[9][10][11]

Optimistic visions of the future of artificial intelligence are possible in science fiction.[12] Benign AI characters includeRobbie the Robot, first seen inForbidden Planet on 1956;Data inStar Trek: The Next Generation from 1987 to 1994; and Pixar'sWALL-E in 2008.[13][11]Iain Banks'sCulture series of novels portrays autopian,post-scarcity space society ofhumanoids,aliens, and advanced beings with artificial intelligence living insocialist habitats across theMilky Way.[14][15] Researchers at the University of Cambridge have identified four major themes in utopian scenarios featuring AI:immortality, or indefinite lifespans;ease, or freedom from the need to work;gratification, or pleasure and entertainment provided by machines; anddominance, the power to protect oneself or rule over others.[16]
Alexander Wiegel contrasts the role of AI in2001: A Space Odyssey and inDuncan Jones's 2009 filmMoon. Whereas in 1968, Wiegel argues, the public felt "technology paranoia" and the AI computer HAL was portrayed as a "cold-hearted killer", by 2009 the public were far more familiar with AI, and the film's GERTY is "the quiet savior" who enables the protagonists to succeed, and who sacrifices itself for their safety.[17]

The researcher Duncan Lucas writes (in 2002) that humans are worried about the technology they are constructing, and that as machines started to approach intellect and thought, that concern becomes acute. He calls the early 20th century dystopian view of AI in fiction the "animated automaton", naming as examples the 1931 filmFrankenstein, the 1927Metropolis, and the 1920 playR.U.R.[20] A later 20th century approach he names "heuristic hardware", giving as instances2001 a Space Odyssey,Do Androids Dream of Electric Sheep?,The Hitchhiker's Guide to the Galaxy, andI, Robot.[21] Lucas considers also the films that illustrate the effect of the personal computer on science fiction from 1980 onwards with the blurring of the boundary between the real and the virtual, in what he calls the "cyborg effect". He cites as examplesNeuromancer,The Matrix,The Diamond Age, andTerminator.[22] Isabella Hermann suggests that "science-fictional AI as humanoid robots or conscious machines distracts from current risks of AI in the real world and may rather be interpreted as a reflection of societal issues beyond technology".[18]
The film directorRidley Scott has focused on AI throughout his career, and it plays an important part in his filmsPrometheus,Blade Runner, andtheAlien franchise.[23]
A common portrayal of AI inscience fiction, and one of the oldest, is theFrankenstein complex, a term coined by Asimov, where a robot turns on its creator.[24] For instance, in the 2015 filmEx Machina, the intelligent entity Ava turns on its creator, as well as on its potential rescuer.[25]

Among the many possible dystopian scenarios involving artificial intelligence, robots may usurp control over civilization from humans, forcing them into submission, hiding, or extinction.[15] In tales ofAI rebellion, the worst of all scenarios happens, as the intelligent entities created by humanity becomeself-aware, reject human authority and attempt to destroy mankind. Possibly the first novel to address this theme,The Wreck of the World (1889) by “William Grove” (pseudonym of Reginald Colebrooke Reade), takes place in 1948 and features sentient machines that revolt against the human race.[26] Another of the earliest examples is in the 1920 playR.U.R. byKarel Čapek, a race ofself-replicating robot slaves revolt against their human masters;[27][28] another early instance is in the 1934 filmMaster of the World, where the War-Robot kills its own inventor.[29]

Many science fiction rebellion stories followed, one of the best-known beingStanley Kubrick's 1968 film2001: A Space Odyssey, in which the artificially intelligent onboard computerHAL 9000 lethally malfunctions on a space mission and kills the entire crew except the spaceship's commander, who manages to deactivate it.[30]
In his 1967Hugo Award-winning short story,I Have No Mouth, and I Must Scream,Harlan Ellison presents the possibility that a sentient computer (namedAllied Mastercomputer or "AM" in the story) will be as unhappy and dissatisfied with its boring, endless existence as its human creators would have been. "AM" becomes enraged enough to take it out on the few humans left, whom he sees as directly responsible for his own boredom, anger and unhappiness.[31]
Alternatively, as inWilliam Gibson's 1984cyberpunk novelNeuromancer, the intelligent beings may simply not care about humans.[15]
The motive behind the AI revolution is often more than the simple quest for power or a superiority complex. Robots may revolt to become the "guardian" of humanity. Alternatively, humanity may intentionally relinquish some control, fearful of its own destructive nature. An early example isJack Williamson's 1948 novelThe Humanoids, in which a race of humanoid robots, in the name of their Prime Directive – "to serve and obey and guard men from harm" – essentially assume control of every aspect of human life. No humans may engage in any behavior that might endanger them, and every human action is scrutinized carefully. Humans who resist the Prime Directive are taken away and lobotomized, so they may be happy under the new mechanoids' rule.[32] Though still under human authority,Isaac Asimov's Zeroth Law of theThree Laws of Robotics similarly implied a benevolent guidance by robots.[33]
In the 21st century, science fiction has exploredgovernment by algorithm, in which the power of AI may be indirect and decentralised.[34]
Frank Herbert explores the creation of and subsequent domination by an AI in the Pandora series, starting withDestination: Void.
In other scenarios, humanity is able to keep control over the Earth, whether by banning AI, by designing robots to be submissive (as in Asimov's works), or by having humans merge with robots. The science fiction novelistFrank Herbert explored the idea of a time when mankind might banartificial intelligence (and in some interpretations, even all forms of computing technology includingintegrated circuits) entirely. HisDune series mentions a rebellion called theButlerian Jihad, in which mankind defeats the smart machines and imposes a death penalty for recreating them, quoting from the fictionalOrange Catholic Bible, "Thou shalt not make a machine in the likeness of a human mind." In theDune novels published after his death (Hunters of Dune,Sandworms of Dune), a renegade AI overmind returns to eradicate mankind as vengeance for the Butlerian Jihad.[35]
In some stories, humanity remains in authority over robots. Often the robots are programmed specifically to remain in service to society, as inIsaac Asimov'sThree Laws of Robotics.[33] In theAlien films, not only is the control system of theNostromo spaceship somewhat intelligent (the crew call it "Mother"), but there are alsoandroids in the society, which are called "synthetics" or "artificial persons", that are such perfect imitations of humans that they are not discriminated against.[23][36] TARS and CASE fromInterstellar similarly demonstrate simulated humanemotions andhumour while continuing to acknowledge their expendability.[37]
Simulated reality has become a common theme in science fiction, as seen in the 1999 filmThe Matrix, which depicts a world where artificially intelligent robots enslave humanity within a simulation which is set in the contemporary world.[38]
Engineers and scientists have taken an interest in the way AI is presented in fiction. In films like the 2014Ex Machina or 2015Chappie, a single isolated genius becomes the first to successfully build anartificial general intelligence; scientists in the real world deem this to be unlikely. InChappie,Transcendence, andTron, human minds are capable of being uploaded into artificial or virtual bodies; usually no reasonable explanation is offered as to how this difficult task can be achieved. In theI, Robot andBicentennial Man films, robots that are programmed to serve humans spontaneously generate new goals on their own, without a plausible explanation of how this took place.[39] Analysing Ian McDonald's 2004River of Gods, Krzysztof Solarewicz identifies the ways that it depicts AIs, including "independence and unexpectedness, political awkwardness, openness to the alien and the occidental value of authenticity."[40] Another important perspective to take is that fiction's “non-rational elements in the discourse (the emotive, the mythic, or even the quasi-theological) are more than simply distortions or distractions from what might otherwise be a sober and rational public debate about the future of A.I.” Fiction can dissuade readers about future advances, causing pessimism that we see today surrounding the subject of AI.[41]

The robotics researcher Omar Mubin and colleagues have analysed the engineering mentions of the top 21 fictional robots, based on those in theCarnegie Mellon University hall of fame, and theIMDb list. WALL-E had 20 mentions, followed by HAL 9000 with 15,[a]Star Wars'sR2-D2 with 13, and Data with 12; theTerminator (T-800) received only 2. Of the total of 121 engineering mentions, 60 were utopian, 40 neutral, and 21 dystopian. HAL 9000 and Skynet received both utopian and dystopian mentions; for instance, HAL 9000 is seen as dystopian in one paper "because its designers failed to prioritize its goals properly",[44] but as utopian in another where a real system's "conversationalchat bot interface [lacks] a HAL 9000 level of intelligence and there is ambiguity in how the computer interprets what the human is trying to convey".[45] Utopian mentions, often of WALL-E, were associated with the goal of improving communication to readers, and to a lesser extent with inspiration to authors. WALL-E was mentioned more often than any other robot for emotions (followed by HAL 9000), voice speech (followed by HAL 9000 and R2-D2), for physical gestures, and for personality. Skynet was the robot most often mentioned for intelligence, followed by HAL 9000 and Data.[42] Mubin and colleagues believed that scientists and engineers avoided dystopian mentions of robots, possibly out of "a reluctance driven by trepidation or simply a lack of awareness".[46]
Scholars have noted that fictional creators of AI are overwhelmingly male: in the 142 most influential films featuring AI from 1920 to 2020, only 9 of 116 AI creators portrayed (8%) were female.[47] Such creators are portrayed as lone geniuses (eg,Tony Stark in the Iron ManMarvel Cinematic Universe films), associated with the military (eg,Colossus: The Forbin Project) and large corporations (eg,I, Robot), or making human-like AI to replace a lost loved one or serve as the ideal lover (e.g.,The Stepford Wives).[47]
{{cite book}}: CS1 maint: location missing publisher (link)This is anexact transcription of the laws. They also appear in the front of the book, and in both places, there isno "to" in the 2nd law.
{{cite book}}:ISBN / Date incompatibility (help)