the irrelevance of turing machines to ai - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic,...

27
To appear in a book edited by Matthias Scheutz The Irrelevance of Turing Machines to AI Aaron Sloman University of Birmingham http://www.cs.bham.ac.uk/˜axs/ Contents 1 Introduction 2 2 Two Strands of Development Leading to Computers 3 3 Combining the strands: energy and information 5 3.1 Towards more flexible, more autonomous calculators ..................... 8 3.2 Internal and external manipulations ............................... 9 3.3 Practical and theoretical viewpoints .............................. 9 4 Computers in engineering, science and mathematics 11 4.1 Engineering and scientific applications ............................. 11 4.2 Relevance to AI ......................................... 11 4.3 Relevance to mathematics .................................... 12 4.4 Information processing requirements for AI .......................... 14 4.5 Does AI require the use of working machines? ......................... 15 5 Eleven important features of computers (and brains) 15 6 Are there missing features? 21 7 Some implications 24 8 Two counterfactual historical conjectures 25 Abstract The common view that the notion of a Turing machine is directly relevant to AI is criticised. It is ar- gued that computers are the result of a convergence of two strands of development with a long history: development of machines for automating various physical processes and machines for performing abstract operations on abstract entities, e.g. doing numerical calculations. Various aspects of these developments are analysed, along with their relevance to AI, and the similarities between computers viewed in this way and animal brains. This comparison depends on a number of distinctions: between energy requirements and information requirements of machines, between ballistic and online control, between internal and external operations, and between various kinds of autonomy and self-awareness. The ideas are all intuitively familiar to software engineers, though rarely made fully explicit. Most

Upload: others

Post on 01-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

To appear in a book editedby Matthias Scheutz

TheIrrelevanceof Turing Machinesto AI

AaronSlomanUniversityof Birmingham

http://www.cs.bham.ac.uk/˜axs/

Contents

1 Intr oduction 2

2 Two Strands of DevelopmentLeading to Computers 3

3 Combining the strands: energy and information 53.1 Towardsmoreflexible, moreautonomouscalculators . . . . . . . . . . . . . . . . . . . . . 83.2 Internalandexternalmanipulations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93.3 Practicalandtheoreticalviewpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4 Computers in engineering,scienceand mathematics 114.1 Engineeringandscientificapplications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.2 Relevanceto AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.3 Relevanceto mathematics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.4 Informationprocessingrequirementsfor AI . . . . . . . . . . . . . . . . . . . . . . . . . . 144.5 DoesAI requiretheuseof workingmachines?. . . . . . . . . . . . . . . . . . . . . . . . . 15

5 Eleven important featuresof computers(and brains) 15

6 Ar e there missingfeatures? 21

7 Someimplications 24

8 Two counterfactual historical conjectures 25

Abstract

Thecommonview thatthenotionof a Turing machineis directly relevant to AI is criticised.It is ar-guedthatcomputersaretheresultof aconvergenceof two strandsof developmentwith alonghistory:developmentof machinesfor automatingvariousphysicalprocessesandmachinesfor performingabstractoperationson abstractentities,e.g. doing numericalcalculations.Variousaspectsof thesedevelopmentsareanalysed,alongwith their relevanceto AI, andthesimilaritiesbetweencomputersviewedin thiswayandanimalbrains.Thiscomparisondependsonanumberof distinctions:betweenenergy requirementsandinformationrequirementsof machines,betweenballisticandonlinecontrol,betweeninternalandexternaloperations,andbetweenvariouskindsof autonomyandself-awareness.The ideasareall intuitively familiar to softwareengineers,thoughrarely madefully explicit. Most

Page 2: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

of this hasnothingto do with Turing machinesor mostof themathematicaltheoryof computation.But it haseverythingto do with both the scientifictaskof understanding,modellingor replicatinghumanor animalintelligenceandtheengineeringapplicationsof AI, aswell asotherapplicationsofcomputers.

1 Intr oduction

Many peoplethink thatour everydaynotionof “computation”,asusedto referto whatcomputersdo, is inherently linked to or derived from the idea of a Turing machine,or a collection ofmathematicallyequivalentconcepts(e.g. the conceptof a recursive function, the conceptof alogical system).It is alsooftenassumed,especiallyby peoplewho attackAI, thattheconceptsofa Turing machineandTuring-machinecomputability(or mathematicallyequivalentnotions)arecrucialto theroleof computersin AI andCognitiveScience.1 For example,it is oftenthoughtthatmathematicaltheoremsregardingthelimitationsof Turingmachinesdemonstratethatsomeof thegoalsof AI areunachievable.

I shallchallengetheseassumptions,arguingthatalthoughthereis atheoretical,mathematicallyprecise,notion of computationto which Turing machines,recursive functions and logic arerelevant, (1) this mathematicalnotion of computationand the associatednotion of a Turingmachinehave little or nothingto do with computersasthey arenormallyusedandthoughtof, (2)thatalthoughcomputers(both in their presentform andin possiblefuture forms if they develop)areextremelyrelevantto AI, asis computationdefinedas“what we make computersdo”, Turingmachinesare not relevant, and the developmentof AI did not even dependhistorically on thenotionof aTuringmachine.

In puttingforwardanalternativeview of therole of computersandtheideaof computationinAI, I shalltry to clarify whatit is aboutcomputersthatmakesthememinentlysuitablein principle,unlike previousman-mademachines,asa basisfor cognitivemodellingandfor building thinkingmachines,and also as a catalystfor new theoreticalideasaboutwhat minds are and how theywork. Their relevancedependson a combinationof featuresthat resultedfrom two pre-existingstrands,or threads,in the history of technology, both of which startedhundreds,or thousands,of yearsbeforethe work of Turing andmathematicallogicians. The merging of the two strandsand further developmentsin speed,memorysizeandflexibility wereenormouslyfacilitatedbythe productionof electronicversionsin mid 20th century, not by the mathematicaltheory ofcomputationdevelopedat thesametimeor earlier.

A corollary of all this is that thereare(at least)two very differentconceptsof computation:oneof which is concernedentirelywith propertiesof certainclassesof formal structuresthatarethe subjectmatterof theoreticalcomputerscience(a branchof mathematics),while the other isconcernedwith a classof information-processingmachinesthat caninteractcausallywith otherphysicalsystemsand within which complex causalinteractionscan occur. Only the secondisimportantfor AI (andphilosophyof mind).

Later I shall discussan objectionthat computersaswe know themall have memorylimits,so that they cannotform partof anexplanationof theclaimedinfinite generative potentialof ourthoughtandlanguage,whereasa Turing machinewith its unboundedtapemight suffice for thispurpose.Rebutting this objectionrequiresus to explain how an infinite virtual machinecanbeimplementedin afinite physicalmachine.

1Turing machinesareoften takento beespeciallyrelevant to so-called“good old fashionedAI” or GOFAI. Thistermcoinedby Haugeland(1985)is usedby many peoplewho have readonly incompleteandbiasedaccountsof thehistoryof AI, andhaveno personalexperienceof workingon theproblems.

2

Page 3: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

2 Two Strandsof DevelopmentLeading to Computers

Two old strandsof engineeringdevelopmentcametogetherin theproductionof computersasweknow them,namely(a) developmentof machinesfor controlling physicalmechanismsand (b)developmentof machinesfor performingabstractoperations.e.g.on numbers.

The first strandincludedproductionof machinesfor controlling both internal and externalphysicalprocesses.Physicalcontrolmechanismsgobackmany centuries,andincludemany kindsof devices, including clocks, musical-boxes, piano-roll mechanisms,steamenginegovernors,weaving machines,sortingmachines,printing machines,toysof variouskinds,andmany kindsofmachinesusedin automatedor semi-automatedassemblyplants.Theneedto controltheweavingof cloth,especiallytheneedto produceamachinethatcouldweaveclothwith differentpatternsatdifferenttimes,wasoneof themajordriving forcesfor thedevelopmentof suchmachines.Looms,likecalculatorsandclocks,gobackthousandsof yearsandwereapparentlyinventedseveraltimesover in differentcultures.2

Unlike the first strand, in which machineswere designedto perform physical tasks, thesecondstrand,startingwith mechanicalcalculatingaids,producedmachinesperformingabstractoperationson abstract entities,e.g. operationson or involving numbers,includingoperationsonsetsof symbolsto be counted,sorted,translated,etc. The operationof machinesof the secondtype dependedon the possibility of systematicallymappingthoseabstractentitiesand abstractoperationsonto entitiesandprocessesin physicalmachines.But alwaysthereweretwo sortsofthingsgoingon: thephysicalprocessessuchascogsturningor leversmoving, andtheprocessesthatwewouldnow describeasoccurringin avirtual machine, suchasadditionandmultiplicationof numbers. As the subtletyand complexity of the mappingfrom virtual machineto physicalmachineincreasedit allowedtheabstractoperationsto belessandlesslikephysicaloperations.

Although the two strandswerevery differentin their objectives,they hadmuchin common.For instanceeachstrandinvolvedbothdiscreteandcontinuousmachines.In thefirst strandspeedgovernorsandotherhomeostaticdevicesusedcontinuouslychangingvaluesin asensorto producecontinuouschangesin somephysicaloutput,whereasdevices like loomsandsortingmachineswereinvolvedin makingselectionsbetweendiscreteoptions(e.g.usethiscolourthreador thatone,gooveror underacross-thread).Likewisesomecalculatorsusedcontinuousdevicessuchasslide-rules and electronicanalogcomputerswhereasothersuseddiscretedevices involving ratchets,holesthatarepresentor absentin cards,or electronicswitches.3

Also relevant to both strandsis the distinctionbetweenmachineswherea humanoperatorisconstantlyinvolved(turningwheels,pushingrodsor levers,slidingbeads)andmachineswhereallthe processesaredrivenby motorsthat arepart of themachine.Wherea humanis involvedwecandistinguishcaseswherethehumanis takingdecisionsandfeedingcontrol informationandthecaseswherethehumanmerelyprovidestheenergy oncethemachineis setup for a task,asin amusicbox or somemechanicalcalculators.If thehumanprovidesonly energy it is mucheasiertoreplacethehumanwith a motorthatis partof themachineandneedsonly fuel.

In short we can distinguishtwo kinds of autonomyin machinesin both strands: energyautonomyand information or control autonomy. Both sorts of autonomydevelopedin bothphysical control systems(e.g. in factory automation)and in machinesmanipulatingabstract

2Informationaboutlooms(including Jacquardloomscontrolledby punchedcards),Hollerith machinesusedforprocessingcensusdata,Babbage’sandLovelace’sideasaboutBabbage’s‘analyticalengine,andcalculatorsof variouskindscanbefoundin EncyclopaediaBrittanica. Internetsearchenginesprovidepointersto many moresources.Seealso(Hodges1983)

3(Pain 2000)describesa particularlyinterestinganalogcomputer, the “Financephalograph”built by Bill Phillipsin 1949usedhydraulicmechanismsto modeleconomicprocesses,with considerablesuccess.

3

Page 4: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

information(e.g.calculators).At first, mechanicalcalculatorsperformedfixed operationson small collectionsof numbers

(e.g. to computethevalueof somearithmeticalexpressioncontaininga few numericalconstants,eachspecifiedmanuallyby a humanoperator).Later, Hollerith machinesweredesignedto dealwith largecollectionsof numbersandotheritemssuchasnames,job categories,namesof towns,etc. This madeit possibleto usemachinesfor computingstatisticsfrom censusdata. Suchdevelopmentsrequiredmechanismsfor automaticallyfeedingin large setsof data,for instanceon punchedcards. Greaterflexibility was achieved by allowing someof the cardsto specifythe operationsto be performedon others,just aspreviously cardshadbeenusedto specify theoperationsto beperformedby a loom in weaving.

This, in combinationwith the parallel developmentof techniquesfor feedingdifferent setsof instructionsto the samemachineat different times (e.g. changinga weaving patternin aloom), madeit possibleto think of machinesthatmodifiedtheir own instructionswhile running.This facility extendedcontrol autonomyin machines,a point that wasapparentlyunderstoodbyBabbageandLovelacelongbeforeTuringmachinesor electroniccomputershadbeenthoughtof.

A naturaldevelopmentof numericalcalculatorswasproductionof machinesfor doingbooleanlogic, inspiredby ideasof George Boole in the 19th century(and Leibniz even earlier). Thisdefineda new classof operationson abstractentities(truth valuesandtruth tables)thatcouldbemappedon to physicalstructuresandprocesses.Later it wasshown how numericaloperationscould be implementedusing only componentsperforming booleanoperations,leading to theproductionof fast,general-purpose,electroniccalculatingdevices. The speedandflexibility ofthesemachinesmadeit possibleto extend them to manipulatenot only numbersand booleanvaluesbut alsootherkinds of abstractinformation,for instancecensusdata,verbalinformation,maps,pictorial informationand,of course,setsof instructions,i.e. programs.

Thesechangesin the designand functionality of calculatingmachinesoriginally happenedindependentlyof developmentsin meta-mathematics.They weredriven by practicalgoalssuchas the goal of reducingthe amountof humanlabour requiredin factoriesand in governmentcensusoffices, or the goal of performing taskswith greaterspeedor greaterreliability thanhumanscould manage.Humanengineeringingenuitydid not have to wait for the developmentof mathematicalconceptsand resultsinvolving Turing machines,predicatelogic or the theoryof recursive functions,althoughtheseideasdid feedinto thedesignof a subsetof programminglanguages(includingLisp).

Thosepurelymathematicalinvestigationswerethemainconcernsof peoplelikeFrege,Peano,Russell,Whitehead,Church,Kleene,Post,Hilbert, Tarski,Godel,Turing, andmany otherswhocontributed to the mathematicalunderstandingof the purely formal conceptof computationassomesortof philosophicalfoundationfor mathematics.Their work did not requiretheexistenceof physicalcomputers.In factsomeof themeta-mathematicalinvestigationsinvolvedtheoreticalabstractmachineswhichcouldnotexist physicallybecausethey wereinfinite in size,or performedinfinite sequencesof operations.4

Thefactthatoneof theimportantmeta-mathematicians,Alan Turing,wasalsooneof theearlydesignersof workingelectroniccomputerssimply reflectedthebreadthof hisabilities: hewasnotonly a mathematicallogician but alsoa gifted engineer, in additionto beingoneof the early AI

4I conjecture that this mathematicalapproachto foundations of mathematicsdelayed philosophical andpsychologicalunderstandingof mathematicsasit is learntandusedby humans.It alsoimpedesthedevelopmentofmachinesthatunderstandnumbersashumansdo. Ourgraspof numbersandoperationsonnumbersis not justagraspof acollectionof formalstructuresbut dependson acontrolarchitecturecapableof performingabstractoperationsonabstractentities.

4

Page 5: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

theorists(Turing1950;Hodges1983).

3 Combining the strands: energy and information

It wasalwaysinevitablethat thetwo strandswould merge,sinceoftenthebehavioursrequiredofcontrolsystemsincludenumericalcalculations,sincewhatto donext is oftenafunctionof internalor externalmeasuredvalues,so thatactionhasto be precededby a sensingprocessfollowedbya calculation.Whathadbeenlearnedaboutmechanicalcalculatorsandaboutmechanicalcontrolsystemswasthereforecombinedin new extremelyversatileinformation-basedcontrol systems,drawing thetwo strandstogether.

It is perhapsworth mentioningthatthereis a trade-off betweenthetypeof internalcalculationrequiredand the physicaldesignof the system. If the physicaldesignconstrainsbehaviour toconformto certainlimits thenthereis no needfor control signalsto bederived in sucha way asto ensureconformity, for example. Engineershave known for a long time that gooddesignofmechanicalcomponentsof a complex systemcansimplify the taskof the control mechanisms:it is not a discovery uniqueto so-called“situated” AI, but a well known generalprinciple ofengineeringthatoneneedsto considerthetotalsystem,includingtheenvironment,whendesigninga component.Anotherway of putting this is to saythatsomeaspectsof a controlsystemcanbecompiledinto thephysicaldesign.

Following that strategy leadsto the developmentof specialpurposecontrol mechanisms,tailoredto particulartasksin particularenvironments.Therearemany exquisiteexamplesof suchspecialpurposeintegrateddesignsto befoundin living organisms.Evolution developedmillionsof varietieslongbeforehumanengineersexisted.

However, humanengineershave also learnt that therearebenefitsto the designof general-purpose,applicationneutral,computers,sincethesecanbeproducedmoreefficiently andcheaplyif numbersrequiredarelarger, and,moreimportantly, they canbe usedafter their productioninapplicationsnot anticipatedby the designers.Evolution appearsto have “discovered” a similarprinciplewhenit produceddeliberativemechanisms,albeitonly in a tiny subsetof animalspecies.This biological developmentalso precededthe existenceof humanengineers. In fact it was apreconditionfor theirexistence!

Understandingall this requiresunpackingin moredetaildifferentstagesin thedevelopmentofmachinesin bothhistoricalstrands.Thisshowsdistinctionsbetweendifferentvarietiesof machinesthathelpusto understandthesignificanceof computersfor AI andcognitivescience.

Throughoutthehistoryof technologywe cansee(at least)two requirementsfor theoperationof machines:energy andinformation. Whena machineoperates,it needsenergy to enableit tocreate,changeor preserve motion,or to produce,changeor preserve otherphysicalstatesof theobjectson which it operates.It alsoneedsinformationto determinewhich changesto produce,orwhichstatesto maintain.Major stepsin thedevelopmentof machinesconcerneddifferentwaysofproviding eitherenergy or information.

The idea of an energy requirementis very old and very well understood. The idea of aninformation requirementis more subtle and lesswell understood. I am herenot referring toinformation in the mathematicalsense(of ShannonandWeaver) but to an older more intuitivenotion of informationwhich could be calledcontrol informationsinceinformation is generallypotentiallyusefulin constrainingwhatis done.I shallnotattemptto define“information” becauselike“energy” it is acomplex andsubtlenotion,manifestedin verymany forms,applicableto manydifferentkindsof tasks,andlikely to befoundin new formsin future,aspreviouslyhappenedwith

5

Page 6: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

energy. Sotheconceptis implicitly definedby thecollectionof facts,theoriesandapplicationsinwhich weuseit: andthereforetheconceptis still developing.5

Therearemany subtletiesinvolved in specifyingwhat information is acquired,manipulatedor usedby a machine(or anorganism),especiallyasthis cannotbederivedunambiguouslyfromthe behaviour of the organismor the natureof its sensors.For presentpurposes,however, wedo not needto explain in moredetail how to analysepreciselywhat control informationis usedby a machine.It sufficesto acknowledgethat someinformationis required,andthat sometimesdesignersof amachinecanexplainwhatis happening.In thepresentcontext wenotethefactthatonedifferencebetweenmachinesis concernedwith wherethe energy comesfrom, andanotherconcernswheretheinformationcomesfrom, discussedfurtherbelow.

Whenahumanusesamachine,thedegreeto whicheithertheenergy or theinformationcomesfrom thehumanor from someothersourcecanvary. Othertypesof variationdependon whethertheenergy or theinformationis providedballistically or online,or in somecombinationof both.

Thedevelopmentof waterwheels,windmills, springdrivenor weightdrivenmachines,steamengines,electricmotors,andmany moreareconcernedwith waysof providing energy thatdoesnotcomefrom theuser. Sometimesmostof thecontrolinformationcomesfrom theuserevenif theenergy doesnot. In many machines,suchascars,mechanicaldiggers,cranes,etc. theonly energyrequiredfrom the humanuseris that neededto convey the control information,e.g. by turningwheelsor knobs,pressingbuttons,or pedals,pulling or pushinglevers,etc.Developmentssuchaspower-assistedsteeringor brakes,micro-switchesandotherdevicesreducetheenergy requiredforsupplyingcontrolinformation.

Sometimesthe informationdeterminingwhata machineshoulddo is implicit in thephysicalstructureof the machineandthe constraintsof the situationin which it operates.For instanceawaterwheelis built sothatall it cando is rotate,thoughthespeedof rotationis in partdeterminedby theflow of water. In contrast,many machinesaredesignedfor useby humanswho determinepreciselywhathappens.Thecontrolinformationthencomesfrom theuser.

However, in general,someof theinformationwill beinherentin thedesignof themachineandsomewill comefrom the environment. For instance,a windmill thatautomaticallyturnsto facethewind getsits informationaboutwhichway to turn from theenvironment.

Similar considerationsapply to machinesin the secondstrand:calculatingmachines.In thecaseof an abacusthe energy to move the beadscomesfrom the user, andmost of the controlinformationdeterminingwhich beadsmovewhenandwherealsocomesfrom theuser. However,someof the informationcomesfrom thechangingstateof theabacuswhich functionsin part asanextensionof theuser’s memory. This wouldnot bethecaseif at eachsteptheabacushadto bedisassembledandreconstructedwith thenew configurationof beads.

By contrast,in a primitive musicbox, a humanmay continuouslyprovide energy by turninga handlewhile all thecontrol informationdeterminingwhich soundsto producenext comefromsomethingin themusicbox,e.g.arotatingcylinderor discwith protrudingspokesthatpluckor orstrike resonatingbarsof differentlengths.Theonly control thehumanhasis whetherto continueor to stop,or perhapswhetherto speedup themusicor slow down, dependingon theconstructionof themusicbox. Somemusicboxesmayalsohave a volumeor tonecontrolthatcanbechangedwhile themusicis playing.

Both theenergy andtheinformationrequiredto driveamachinemaybeprovidedby a userineitheranonlineor a ballistic fashion.If a musicbox acceptschangeablecylinderswith differenttunes,the userwill have control, but only ballistic control: by settingthe total behaviour at the

5For moreon theparallelbetweenenergy andinformationseetheslidesin thisdirectory:http://www.cs.bham.ac.uk/˜axs/misc/talks/

6

Page 7: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

beginning. Likewiseenergy maybeprovidedin a ballistic fashion,if themusicbox is woundupandthenturnedon andleft to play. At theoppositeextreme,playinga violin or wind instrumentrequiresexquisiteonlineprovisionof bothenergy andinformation.

Thecombinedonlineprovisionof bothenergy andcontrolinformationis characteristicof toolsor instrumentswhich allow humansto performactionsthataredifficult or impossiblefor themtodounaided,becauseof limitationsof strength,or height,or reach,or perceptualability, or becausebodypartsarethewrongsizeor shape(e.g. tweezersareoftenusedwherefingersaretoo big orthewrongshape)or becausewe cannotmake thesamesoundastheinstrument.In suchcasestheuseris constantlyin controlduringtheoperationof suchamachine,providing bothenergybut alsothe informationrequiredto guideor manipulatethetool. In othermachinesmachinesmostof theenergy maycomefrom someothersource,while thehumanprovidesonly theenergy requiredtooperatecontrol devices,for instancewhenpower-assistedsteeringreducestheamountof energyrequiredfrom theuserwithout reducingtheamountof informationprovided. I.e. theuseris stillconstantlyspecifyingwhatto donext.

Ballistic informationprovision canvary in kind anddegree. In the caseof the musicbox ormachinedrivenby punchedcardsthesequenceof behavioursis totally determinedin advance,andthen the machineis allowed to run throughthe steps. However, in a moderncomputer, and inmachineswith feedbackcontrolmechanisms,someor all of thebehaviour is selectedon thebasisof sometestsperformedby themachineevenif it is runninga programthatwasfully specifiedinadvance.If thetestsandtheresponsesto thetestsarenot pre-determined,but ratherproducedbysomekind of learningprogram,or by ruleswhich causethe initial programto bemodifiedin thelight of which eventsoccurwhile it is running(like an incrementalcompilerusedinteractively),thentheballistic control informationprovidedinitially is lessdeterminateaboutthebehaviour. Itmay rigidly constrainsetsof possibleoptions,but not which particularoptionswill be selectedwhen.

If theinitial informationprovidedto themachinemakesa largecollectionof possibleactionspossible,but is not specificaboutthepreciseorderin which they shouldbeperformed,leaving themachineto makeselectionsonthebasisof informationacquiredwhile behaving, thenthemachineis to someextentautonomous.Thedegreeandkind of autonomywill vary.6

For many typesof applicationsthecontrolfunctionsof themachinecouldbebuilt directly intoits architecture,becauseit repeatedlyperformedexactly thesamesortof task,e.g.telling thetime,playinga tune.Thiswasrigid ballistic control.

For otherapplications,e.g. weaving cloth with differentpatterns,it wasdesirablenot to haveto assemblea new machinefor eachtask.This requireda separationof a fixedre-usablephysicalarchitecturefor performinga classof tasksand a variablebehavioural specificationthat couldsomehow harnessthecausalpowersof thearchitectureto performaparticulartaskin thatclass.

For some of the earlier machines, the variable behaviour required continuous humanintervention (e.g. playing a piano, operatinga loom, or manipulatingan abacus),i.e. onlyonline control could producevariable results. Later it was possible,in somecases,to havevarious physical devices that could be set manually at the start of some task to producearequiredbehavioural sequence,andthenre-setfor anothertask,requiringa differentsequenceofbehaviours. This wasvariableballistic control. This might requiresettingleversor cog-wheelstosomestartingposition,andthenrunningthemachine.In thecaseof theearliestelectroniccontrolsystemsthismeantsettingswitches,or alteringelectricconnectionsbeforestartingtheprocess.

6Thereis a “theological” notion of autonomy, often referredto as“free will”, which requiresactionsto be non-randomyet not determinedby the ballistic or online informationavailableto the agent. This wasshown by DavidHumeto beanincoherentnotion.

7

Page 8: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

At the beginning of the 19th Century, Jacquardrealisedthat the useof punchedcardscouldmake it mucheasierto switch quickly betweendifferentbehavioural sequencesfor looms. Thecardscould be storedandre-usedasrequired. A similar techniqueusedpunchedrolls of paper,as in playerpianos. Thesemechanismsprovided easily and rapidly specifiedvariableballisticcontrol.

Later, thesamegeneralideawasemployedin Hollerith card-controlledmachinesfor analysingcensusdata,andpaper-tapecontrolleddata-processingmachines.In thesecases,unlike looms,someof theballistic controlwasconcernedwith selectionof internalactionsequences.

The alteration of such physically encodedinstructionsrequired human intervention, e.g.feedingin punchedcards,or pianorolls, or in thecaseof somemusicboxesreplacinga rotatingdiscor cylinderwith metalprojections.

In Babbage’s designfor his ‘analytical engine’, the useof conditionalsand loops allowedthe machineto decidefor itself which collection of instructionsto obey, permitting very greatflexibility . However, it was not until the developmentof electroniccomputersthat it becamefeasibleto producecomputerswhich, while running,could createnew programsfor themselvesandthenobey them.7

Machinesprogrammedby meansof punchedcardshad reachedconsiderablesophisticationby the late nineteenthand early twentiethcentury, long beforeelectroniccomputers,and longbeforeanyonehadthoughtof Turing machines,recursive function theory, or their mathematicalequivalents.

The electronictechnologydevelopedduring the 20th centuryallowed faster, more general,moreflexible, morereliable,machinesto beproduced,especiallyaftertheinventionof transistorsallowed electromechanicalrelaysand vacuumtubesto be replaced. The advent of randomlyaddressablememory facilitateddevelopmentof machineswhich could not only rapidly selectarbitraryinstructionsto follow, but couldalsochangetheir own programseasilyat run time.

The processof developmentof increasinglysophisticatedinformation processingsystemswasacceleratedduring the1970sonwards,both by advancesin materialsscienceandelectronicengineering,andalsoby the rapid evolution of new computer-assistedtechniquesfor designingnew machinesandcomputer-controlledfabricationtechniques.

In otherwords,the productionof new improvedmachinesfor controlling physicalprocessesacceleratedthe productionof even better machinesfor that purpose. Someof this dependedcruciallyonthesecondstrandof development:machinesfor operatingonabstractentities,suchasnumbers.Theability to operateon abstractentitieswasparticularlyimportantfor machinesto beableto changetheir own instructions,asdiscussedbelow. Developmentsin electronictechnologyin thesecondhalf of the20thcenturyfacilitatedconstructionof machineswhich couldalter theirinternalcontrolinformationwhile runningHowever theimportanceof thishadat leastpartlybeenunderstoodearlier:it did notdependontheideaof Turingmachines,whichhadthiscapability, butin aparticularlyclumsyform.

3.1 Towards moreflexible, moreautonomouscalculators

Numericalcalculators,like machinesfor controlling physicalprocesses,go backmany centuriesandevolvedtowardsmoreandmoresophisticatedandflexible machines.

7However, many designersof electroniccomputersdid not appreciatethe importanceof this andseparatedthememoryinto codeanddata,makingit difficult to treatprograminstructionsasdata,whichincrementalcompilersneedto do. Thiscausedproblemsfor a numberof AI languagedevelopers.

8

Page 9: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

Only recentlyhave they achieveda degreeof autonomy. Theearliestdevices,like theabacus,requiredhumansto performall the intermediateoperationsto derive a result from someinitialstate,whereaslatercalculatorsusedincreasinglysophisticatedmachineryto controltheoperationswhich transformedthe initial staterepresentinga problem,to a statewherethesolutioncouldbereadoff themachine(or in latersystemsprintedon paper, or punchedontocards).

In theearliestmachines,humanshadto provide boththeenergy for makingphysicalchangesto physicalcomponents(e.g. rotatingcogs),andalsothe informationaboutwhat to do next. Ata laterdateit sufficed for a humanto initialise themachinewith a problemandthenprovide theenergy (e.g.by turninga handle)in a mannerthatwasneutralbetweenproblemsanddid not feedadditionalinformationinto themachine.Eventuallyeventheenergy for operationdid not needtobesuppliedby ahumanasthemachinesusedelectricalpower from mainsor batteries.

3.2 Inter nal and external manipulations

In all thesemachineswe can, to a first approximation,divide the processesproducedby themachineinto two main categories: internal and external. Internal physicalprocessesincludemanipulationof cogs,levers,pulleys, strings,etc. Theexternalprocessesincludemovementsorrearrangementsof variouskindsof physicalobjects,e.g.strandsof wool or cottonusedin weaving,cardswith informationon them,lumpsof coal to be sortedaccordingto size,partsof a musicalinstrumentproducingtunes,objectsbeingassembledonaproductionline,printingpresses,cutters,grinders,thethingscutor ground,etc.

If the internalmanipulationsaremerelypartof theprocessof selectingwhich externalactionto performor partof theprocessof performingtheaction,thenwe cansaythat they aredirectlysubservientto externalactions.

However internalactionsthatarepartof a calculationarea speciallyimportanttypeof actionfor they involve abstractprocesses,as discussedpreviously. Other abstractinternal processesinvolve operationson non-numericsymbolsandstructuressuchaswords,sentences,encryptedmessages,arrays, lists, trees,networks, etc. A particularly important type of internal actioninvolves changingor extending the initially provided information store. This gives machinesconsiderableadditionalflexibility andautonomy. For instance,they mayendupperformingactionsthatwereneitherforeseennor providedby thedesigner.

3.3 Practical and theoretical viewpoints

The requirementthat a machinebe ableto performabstractoperationscanbe studiedfrom twoviewpoints. The first is the practical viewpoint concernedwith producingmachinesthat canperformusefulspecifictasks,subjectto variousconstraintsof time, memoryrequirements,cost,reliability, etc. Fromthis viewpoint it maybesensibleto designdifferentmachinesfor differenttasks,andto givemachinesthepowersthey needfor theclassof tasksto whichthey will beapplied.For thisreasontherearespecialisedmachinesfor doingintegeroperations,for doingfloatingpointoperations,for doingoperationsrelevant to graphicalor acousticapplications,for runningneuralnets,etc. It is to beexpectedthatthevarietyof differentmachinesthatareavailableto becombinedwithin computersandotherkindsof machinerywill continueto grow.

Thesecond,moretheoreticalviewpoint is concernedwith questionslike:� Whatis thesimplestmachinethatcanperformacertainclassof tasks?� For agiventypeof machinewhatis theclassof tasksthatit canperform?� Giventwo machinesM1 andM2 is oneof themmoregeneral,e.g.ableto performall thetasks

9

Page 10: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

of theotherandmorebesides?� Giventwo machinesM1 andM2 arethey equivalentin their capabilities:e.g.caneachprovidethebasisfor animplementationof theother?� Is therea machinefor performingabstractasks(e.g. mathematicalcalculations,or logicalinferences)that is mostgeneral in the sensethat it is at leastas generalas any other machinethatcanperformabstracttasks?

From the theoreticalviewpoint Turing machinesare clearly of great interestbecausetheyprovide a framework for investigatingsomeof thesequestions,thoughnot the only framework.If AI wereconcernedwith findingasinglemostgeneralkind of informationprocessingcapability,thenTuring machinesmight berelevant to this becauseof their generality. However, no practicalapplicationof AI requirestotal generality, and no scientific modelling task of AI (or cognitivescience)requirestotal generalityfor thereis no humanor organismthat hascompletelygeneralcapabilities.Therearethingschimps,or evenbees,cando thathumanscannotandviceversa.

The mathematicalapplicationsof the ideaof a Turing machinedid not dependon the actualexistenceof suchmachines:they wereconcernedwith a purely formal conceptof computation.However it is possiblein principleto build aTuringmachinealthoughany actualphysicalinstancemusthaveafinite tapeif thephysicaluniverseis finite.

We can now seeTuring machinesas just one of a classof machinesthat are capableofperformingeitherthe taskof controlling a physicalsystemor of performingabstractoperations,or of usingoneto do the other. Their most importantsinglecharacteristicis the presenceof anunboundedtape,but thatis possibleonly if they aretreatedasmathematicalconstructs,for physicalmachineswill alwayshaveaboundedtape.

However, thatuniquefeaturecannotberelevantto understandinghumanor animalbrainssincethey areall finite in any case.No humanbeinghasa memorythathasunlimitedcapacitylike aTuring machine’s tape. Even if we include the externalenvironment,which canbe usedasanextensionof an individual’s memory, anyonewho haswritten or boughtmany booksor who hascreatedmany computerfiles knows thatasthetotal amountof informationonerecordsgrows theharderit becomesto manageit all, to find itemsthatarerelevant,andevento rememberthatyouhave someinformationthat is relevantto a task,let alonerememberwhereyou have put it. Thereis no reasonto believe that humanscould manageunlimitedamountsof informationif providedwith anexternalstoreof unlimitedcapacity, quiteapartfrom thefact thatwe liveonly for a finitetime.

In alatersection,we’ll considertheargumentthattheselimitationsof humanbeingsaremerelyperformancelimitations, and that we really do have a type of infinite, or at leastunbounded,competence. It will beshown thatanalogouscommentscanbemadeaboutconventionalcomputerswhich donothave theunboundedmemorymechanismof aTuringmachine.

Having previously shown that the developmentof computersowed nothing to the idea ofa Turing machineor the mathematicaltheory of computation,we have now given a negativeanswerto thequestionwhetherTuringmachines,viewedassimplyaspecialtypeof computer, arerequiredfor modellinghuman(or animal)mindsbecausetheunboundedtapeof a turing machineovercomeslimitationsof moreconventionalcomputers.

Turingmachines,then,areirrelevantto thetaskof explaining,modellingor replicatinghumanor animal intelligence,thoughthey may be relevant to the mathematicaltask of characterisingcertainsortsof esotericunboundedcompetence.Howevercomputershavefeaturesthatmakethemrelevantwhichdo notdependonany connectionwith Turingmachines,aswill now beshown.

10

Page 11: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

4 Computers in engineering,scienceand mathematics

Thefeaturesof computersthatgrew outof thetwostrandsof developmentmadethempowerfulandversatiletools for a wide varietyof taskswhich canbe looselyclassifiedasengineering,scienceandmathematics.The notionof a Turing machineandrelatedlogical andmathematicalnotionsof computationareonly indirectly relevant to mostof these. In fact, asexplainedabove, manyof theapplicationswerebeingdevelopedbeforethetime of Turing. AI overlapswith all of theseapplicationareasin differentways. I shallmake a few commentson the relevanceof computersto all theseareasbeforegoingon to a moredetailedanalysisof therelevanceof computersto AIandcognitive science.However it will help to startwith ananalysisof their generalrelevancetoengineeringandscience.

4.1 Engineeringand scientificapplications

Most of the featuresof the new calculatingand controlling engines(manipulationof physicalobjectsandmanipulationof abstractentitiessuchasnumbersor symbols)areequallyrelevant toa varietyof differentapplicationdomains:industrialcontrol, automatedmanufacturingsystems,data-analysisandprediction,working out propertiesof complex physicalsystemsbeforebuildingthem,informationmanagementin commercial,governmentandmilitary domains,many varietiesof text processing,machineinterfacesto diversesystems,decisionsupportsystemsandnew formsof communication. Theseapplicationsuse different aspectsof the information manipulatingcapabilitiesdescribedabove, thoughwith varying proportionsand typesof ballistic and onlinecontrol, andvarying proportionsof physicalmanipulationandmanipulationof abstractentities.Noneof this hadanything to dowith Turingmachines.

In addition to practicalapplications,computershave beenenormouslyrelevant in differentwaysto scienceconstruedastheattemptto understandvariousaspectsof reality. For instancetheyareused:� to processnumericalandotherdatacollectedby scientists,� to controlapparatususedin conductingexperimentsor acquiringdata,� to build workingmodelscapableof beingusedasexplanations,� to makepredictionsthatcanbeusedto testscientifictheories.For someof theseusesthe ability of computersto control devices which manipulatephysicalobjectsare particularly relevant, and for othersthe ability to manipulateabstractionssuch asnumbers,laws,hypothesesaremorerelevant.

4.2 Relevanceto AI

Theveryfeaturesthatmadecomputersrelevantto all theseengineeringapplications,andto sciencein general,alsomake themrelevantto boththescientificaimsof AI andtheengineeringaims.

Thescientificaimsof AI includeunderstandinggeneralfeaturesof bothnaturalandartificialbehaving systems,aswell asmodellingandexplaining a wide variety of very specificnaturallyoccurring systems,for instance,different kinds of animal vision, different kinds of animallocomotion,differentkindsof animallearning,etc.

Sincethe key featuresof suchnaturalsystemsincludeboth beingableto manipulateentitiesin theenvironmentandbeingableto manipulateabstractentities,suchasthoughts,desires,plans,intentions,theories,explanations,etc,thecombinedcapabilitiesof computersmadethemthefirstmachinessuitablefor building realisticmodelsof animals.

11

Page 12: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

Moreover, the tasksof designing,extendingand using thesecapabilitiesof computersledto developmentof a hostof new formalismsandconceptsrelevant to describing,designingandimplementinginformationprocessingmechanisms.Many of thesearerelevantto thegoalsof AI,andwill bedescribedbelow.

The engineeringaimsof AI includeusingcomputersto provide new sortsof machinesthatcan be usedfor practical purposes,whetheror not they are accuratemodelsof any form ofnatural intelligence. Theseengineeringaims of AI are not sharply distinguishedfrom othertypesof applicationsfor which computersareusedwhich arenot describedasAI. Almost anytypeof applicationcanbeenhancedby giving computersmoreinformationandmoreabilities toprocesssuchinformationsensibly, includinglearningfrom experience.In otherwordsalmostanycomputerapplicationcanbeextendedusingAI techniques.

It shouldnow be clear why computersare relevant to all the different sub-domainsof AIdealingwith specificaspectsof naturalandartificial intelligence,suchasvision,naturallanguageprocessing,learning,planning,diagrammaticreasoning,robotcontrol,expertsystems,intelligentinternetagents,distributedintelligence,etc. – they all somecombinationof control of physicalprocessesandabstractinformationmanipulationprocesses,tasksfor which computersarebetterthanany pre-existing typeof machine.

It is noteworthythatcomputersareusedby supportersof all therival “f actions”of AI adoptingdifferentsortsof designs,suchasrule-basedsystems,logicist systems,neuralnets,evolutionarycomputation,behaviour-basedAI, dynamicalsystems,etc.

Thus there is no particular branch of AI or approachto AI that has special links withcomputation: they all do, although they may make different use of conceptsdeveloped inconnectionwith computersandprogramminglanguages.In almostall cases,thenotionof aTuringmachineis completelyirrelevant,exceptasa specialcaseof thegeneralclassof computers.

Moreover, Turing machinesare not so relevant intrinsically as machinesthat are designedfrom the start to have interfacesto external sensorsand motors with which they can interactonline, unlike Turing machineswhich at leastin their main form aretotally self contained,andaredesignedprimarily to run in ballistic modeoncesetup with an initial machinetableandtapeconfiguration.

4.3 Relevanceto mathematics

Therelevanceof computersto mathematicsis somewhatmoresubtlethanthe relevanceto otherscientific and engineeringdisciplines. Thereare at least three typesof developmentthat linkmathematicsandcomputing:

(a) More mathematics:usingabstractspecificationsof variouskindsof (abstract)machinesand the processesthey can support, in order to define one or more new branchesofmathematics,e.g.thestudyof complexity, computability, compressibility, variouspropertiesof algorithms,etc.This is whata lot of theoreticalcomputerscienceis about.(Someof thisinvestigatesmachinesthatcouldnot bebuilt physically, e.g. infinite machines,andtypesofmachinesthatmightbebuilt but havenot,e.g.inherentlyprobabilisticmachines.)

(b) Metamathematics:usinganabstractspecificationof a typeof machineasanalternativeto other abstractspecificationsof typesof mathematicalobjectsand processes(recursivefunctions,Postproductions,axiomaticsystems,etc.),andthenexploring their relationships(e.g.equivalence),possiblyto clarify questionsin thephilosophyof mathematics.

(c) Automatictheoremprovingor checking: usingcomputersastoolsto helpin thediscovery

12

Page 13: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

or proof of theorems,or the searchfor counter-examples. This processcan be more orlessautomated.At oneextreme,computersareprogrammedto do large numbersof welldefinedbut tediousoperations,e.g. examining very large sets. At anotherextreme, thecomputermay be fairly autonomous,taking many decisionsaboutwhich stepsto try in acontext sensitivemannerandpossiblyasaresultof learningfrom previoustasks.AI work ontheoremproving tendstowardsthelatterextreme.It mayalsoallow humaninteraction,suchasthecommunicationthathappensbetweenhumanmathematicianswhenthey collaborate,or whenoneteachesanother. This sortof mathematicalapplicationcouldbuild on generalAI researchon intelligentcommunication.

Although mathematicalexplorationsof types(a) and(b) involve ideasaboutcomputation,itoften doesnot matterwhetherphysicalcomputersexist or not, for they arenot neededin thoseexplorations. Many of the important results, for instanceGodel’s undecidabilityresult, wereachievedbeforeworking computerswereavailable. (Quantumcomputersmight alsobe relevantto mathematicalinvestigationsof types(a) and(b) evenif they turn out to be impossibleto buildaspracticallyusefulphysicaldevices.)By contrastwork of type(c) dependsontheuseof workingcomputers.

Thedistinctionbetween(a) and(b) is not yet veryclearor precise,especiallyas(a) subsumes(b)! Neither is therea very sharpdivision betweenthe meta-mathematicaluseof the notion ofcomputationin (b) andtheAI usesin connectionwith designingtheoremprovers,reasoners,etc.

Ideas about Turing machinesand related theoretical “limit” results on computability,decidability, definability, provability, etc. arerelevant to all thesekindsof mathematicalresearchbut are marginal or irrelevant in relation to most aspectsof the scientific AI goal of trying tounderstandhow biologicalmindsandbrainswork, andalsoto theengineeringAI goalsof tryingto designnew usefulmachineswith similar (or greater)capabilities.The main relevanceof thelimit resultsariseswhenresearcherssetthemselvesgoalswhichareknown to beunachievablee.g.trying to designa programthatwill detectinfinite loopsin any arbitraryprogram.

The metamathematicalideasdevelopedin (b) arerelevant to the small subsetof AI which isconcernedwith general (logical) reasoningcapabilitiesor modellingmathematicalreasoning.

By contrast,thenew mathematicaltechniquesof type(a) which weredevelopedfor analysingpropertiesof computationalprocessessuch as spaceand time complexity and for analysingrelationshipsbetweenspecifications,designsand implementations,areall equally relevant bothto AI andto otherapplicationsof computers.

Oneimportantfeatureof Turingmachinesfor mathematicalor meta-mathematicalresearchoftypes(a) and(b) is their universality, mentionedpreviously. By showing how othernotionsofmathematicalreasoning,logical derivation,or computationasan abstractmathematicalprocess,could all be mappedinto Turing machinesit was possibleto demonstratethat resultsaboutmathematicallimitations of Turing machinescould not be overcomeby switching to any of awide rangeof alternative formalisation. It also meantthat analysesof complexity and otherpropertiesof processesbasedon Turing machinescouldbecarriedover to othertypesof processby demonstratinghow they wereimplementableasTuringmachineprocesses.8

This kind of mathematicaluniversalitymayhave led somepeopleto thefalseconclusionthatany kind of computeris asgoodasany otherprovidedthat it is capableof modellinga universalTuring machine.This is true asa mathematicalabstraction,but misleading,or even falsewhenconsideringproblemsof controllingmachinesembeddedin aphysicalworld.

8It is possiblethat someformalismsthat cannotbe manipulatedby Turing machines,e.g. formalismsbasedoncontinuouslyvaryinggeometricshapes,will turnout to berelevantto goalsof AI, refutingtheclaimeduniversalityofTuringmachines,but thatwill notbediscussedhere.

13

Page 14: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

The universality of Turing machineswas mentionedby Turing in his 1950 article as areasonfor not discussingalternative digital mechanisms. In part that was becausehe wasconsideringaquestion-answeringtaskfor which therewerenotimeconstraints,andwhereaddingtime constraintswould produceno interestingdifferences,sinceonly qualitative featuresof thebehaviour wereof interest.

Human intelligence,however, is often preciselyconcernedwith finding good solutionstoproblemsquickly, andspeedis centralto thesuccessof controlsystemsmanagingphysicalsystemsembeddedin physicalenvironments. Aptnessfor their biological purpose,and not theoreticaluniversality, is theimportantcharacteristicof animalbrains,includinghumanbrains.Whatthosepurposesare, and what sortsof machinearchitecturescan serve thosepurposes,are still openresearchproblems(which I havediscussedelsewhere),but it is clearthattimeconstraintsareveryrelevantto biologicaldesigns:speedis morebiologically importantthantheoreticaluniversality.

This sectionon themathematicalapplicationsof ideasof computationwasintroducedonly inorderto getthemoutof theway, andin orderto provideapossibleexplanationfor thewide-spreadbut mistakenassumptionthatnotionssuchasTuringmachines,or Turingcomputabilityarecentralto AI. (This is not to deny thatTuring wasimportantto AI asanoutstandingengineerwho mademajor contributionsto thedevelopmentof practicalcomputers.He wasalsoimportantasoneoftheearliestAI theorists.)

4.4 Inf ormation processingrequirementsfor AI

For themathematicalandmeta-mathematicalinvestigationsmentionedabove, theformal notionsof computationswerecentral. By contrast,for the non-mathematical,scientificandengineeringgoalsof AI, the importantpoint that wasalreadyclearby aboutthe 1950swas that computersprovideda new typeof physicallyimplementablemachinewith a collectionof importantfeaturesdiscussedin previoussectionsandanalysedin moredetailbelow.

Thesefeatureswere not definedin relation to recursive functions, logic, rule-formalisms,Turingmachines,etc.but hada lot to dowith usingmachinesto produceandcontrolsophisticatedand flexible internal and external behaviour with a speedand flexibility that was previouslyimpossiblefor man-mademachines,althoughvarious combinationsof theseabilities were tobe found in precursorsto moderncomputers.Moreover someof the mathematicallyimportantfeaturesof Turingmachinesareirrelevantto animalbrains.

However, I shall identify two related featuresthat are relevant, namely (i) the ability tochunkbehaviours of varying complexity into re-usablepackets,and(ii) the ability to createandmanipulateinformationstructuresthatvary in sizeandtopology.

A Turing machineprovides both featuresto an unlimited degree,but dependson a linear,indefinitely extendabletape, whose speedof use is inherently decreasedas the amount ofinformationthereonincreases.However for ananimalor robotmind it is not clearthatunlimitedsizeof chunksor variability of structureis useful,andthecostof providing it maybeexcessive.By contrastcomputerswith randomaccessmemoryprovide uniform speedof accessto a limitedmemory. Brains probablydo somethingsimilar, thoughthey differ in the detailsof how theymanagethetrade-off.

Although humansdo not have the samegeneralityasTuring machinesin their mathematicalandsymbolicreasoningpowers,neverthelesswedohavecertainkindsof generalityandflexibility ,andI shalltry to explainbelow how computers,andalsobrains,canprovidethem.Turingmachinesprovidemuchmoregeneralitybut dosoin afashionthatinvolvessuchaheavy speedpenaltyin anyworking physicalimplementation,becauseof the needfor repeatedsequentialtraversalof linear

14

Page 15: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

tapes,thatthey seemto beworthlessfor practicalpurposes.It appearsthatbrains,likecomputers,sacrificetotal generalityin favour of speedin a largeclassof behaviours.

4.5 DoesAI require the useof working machines?

A possiblesourceof confusionis the fact that for someof the theoretical/scientificpurposesofAI (cognitive science)the actualconstructionof computersdid not matterexcept as a catalystandtest-bedfor ideas:themostimportanteffect of developmentof computersfor advancesin AIandcognitivesciencewasin thegenerationof ideasabouthow informationmanipulatingenginesmight be implementedin physicalmechanisms.This makesscientificAI superficiallylike meta-mathematics,but thesimilarity is deceptive,sincethegoalsaredifferent.

For the engineeringpurposesof AI, working physical machinesare, of course,required.They arealso neededasan aid to AI theorists,sincethe modelsbeingconsideredhave grownincreasinglycomplex, andtoodifficult to runin ourheadsor onpaper. But thatis liketherelevanceof computersto theoreticalchemistry, astronomy, etc.Computersaretoolsfor managingcomplextheories.Thishasnothingspecificto do with cognitivescienceor AI.

5 Eleven important featuresof computers(and brains)

More importantthantheuseof computersascognitiveaidsto analysingcomplex theorieswastheway we cameto understandthe featuresneededin computersif they were to be useful. Thosefeaturesgaveusnew ideasfor thinkingaboutminds.

However, thosefeaturesarenot specificto what we now call computers:animalbrainshadmostof thesefeatures,or similar features,millions of yearsearlier, andprobablylots morethatwehavenotyet thoughtof, andwill laterlearnto emulate,usingeithercomputersor new kindsofmachines.

Thereare(dependinghow we separatethemout) about11 major features,which I shall listbelow. FeaturesF1 to F6, which I have labelled “primary features”,are typically built in tothe digital circuitry and/ormicrocodeof computersandhave beencommonto low-level virtualmachinearchitecturessincethe1960s(or earlier),thoughdetailshavechanged.

The remaining features, labelled as “secondary” below, dependvery much on softwarechangingthehigherlevel virtual machineimplementedin thebasiclower level machine.Theneedfor thoseextra featuresto be addedwasdriven both by AI requirementsandby othersoftwareengineeringrequirements.9

Besidestheprimaryandsecondaryfeaturesof computersascontrolsystemslistedbelow, thereareadditionalfeaturesthatareaddedthroughthedesignandimplementationof varioushigh levellanguages,alongwith compilers,interpreters,andsoftwaredevelopmenttools. Theseextendthevarietyof virtual machinesavailable.However, thesesplit into severaldifferentfamiliessuitedtodifferentapplicationdomains,andwill not bediscussedhere.

F1. Statevariability: having very large numbers of possibleinternal states,and even largernumbersof possiblestatetransitions.Both of theseareconsequencesof the fact that computershave large numbersof independently

9I have producedfragmentsof thefollowing list of featurespreviously, e.g. chapter5 of (Sloman1978),but havenever really put themall togetherproperly. The list is still provisionalhowever. I amnot awareof any otherexplicitattemptto assemblesucha list, thoughI believethatall thepointsareat leastintuitively familiar to mostpractisingAIresearchersandsoftwareengineers.

15

Page 16: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

switchablecomponents,likebrains.N 2-valuedcomponentscanbein���

possiblestates,andcansupportthesquareof thatnumberof possibleone-stepstatetransitions:this giveshugeflexibilityin copingwith variedenvironments,goalsandformsof learning.

Of course,it is not enoughthat therearelarge numbersof componentsthat canchangetheirstate. That is equally true of thunderclouds. It is important that the switchablecomponentsare controlled in a principled way, dependingon the system’s current tasksand the availableinformation. It is alsoimportantthat thosesub-statescanbe causallyconnectedin a principledway to variouseffects,both within the machineandin externalbehaviour. This dependson thenext threefeatures.below.

F2. Lawsof behaviourencodedin sub-states:havinglaws of behaviourdeterminedby parts oftheinternal state.Thebehaviour of any physicalobjectis to someextentcontrolledby its sub-states:e.g.how arockor a bean-bagrotatesif thrown into theair will dependon its shapeandthedistribution of matterwithin it, which may changein the bean-bag.However computershave far moreindependentlyswitchablepersistentsub-statesandtheireffectscanbemademoreglobal: aCPUis aninfluence-amplifier. All this dependson thefactthata storedprogramtypically includescomponentswhichhave proceduralsemanticsand whoseexecutiongeneratesstatetransitionsin accordancewiththeprogram,e.g. usingsequencing,conditionals,jumps,procedureinvocation(if supported;seesecondaryfeatureF7below), etc.Theeffectscanpropagateto any partof thesystem.

It is important, however, that not all storedinformation statesare concurrentlyactive, asoccurswhen a large numberof different forcesare simultaneouslyaction on a physicalobjectwhosebehaviour is thendeterminedby the resultantof thoseforces. In computers,asin brains,different storedinformation can becomeactive at different times. This is relatedto the pointaboutconditionalinstructionsbelow. It is alsoconnectedwith Ryle’s emphasis(Ryle 1949)onthedispositionalpropertiesof minds.Minds,likecomputers,havemany dormantdispositionsthatwill beactivatedwhenconditionsareappropriate.Thisfine-grainedcontrolof avery largenumberof distinctcapabilitiesis essentialfor mostbiologicalorganisms.

F3. Conditionaltransitionsbasedonbooleantests:For many physical systems,behaviour changescontinuously through additive influencesofmultiplecontinuouslyvaryingforces.Thebehavioursof suchsystemscantypically berepresentedby systemsof differential equations. In contrast,there is a small subsetof physicalsystems,including someorganismsand somemachines,in which behaviours switch betweendiscretealternativeson the basisof boolean(or moregenerallydiscrete-valued)tests. The laws of suchasystemmayincludeconditionalelements,with formslike

“if X thendo A elsedo B”possiblyimplementedin chemical,mechanicalor electronicdevices.Systemscontrolledby suchconditionalelementscaneasilybe usedto approximatethe continuousdynamicalsystemsasisdoneevery day in many computerprogramssimulatingphysicalsystems.However it is hardtomake the lattersimulatethe former— it requireshugenumbersof carefullycontrolledbasinsofattractionin the phasespace. Oneway to achieve that is to build a machinewith lots of localdynamicalsystemswhich canbeseparatelycontrolled:i.e. acomputer!

F4. Referential “r ead” and“write” semantics:If thebehaviour of asystemis to becontrolledin afine-grainedwayby its internalstate,theactiveelementsof thesystemneedsomeway of accessingor interrogatingrelevantpartsof theinternalstate,for instancein testingconditionsor selectingcontrolsignals(instructions)to becomeactive.Likewiseif asystemis to beableto modify its internalstatein acontrolledwaysoasto influence

16

Page 17: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

futurebehaviours,it needsto beableto modify partsof itself sothatthey canbeinterrogatedlater.In principle,therearemany waysthis ability to interrogateor changespecificcomponentscan

beimplemented.In computersit involvesallowing bit patternsin memoryandin addressregistersto be interpreted,by the machine,asreferringto otherpartsof the machine:a primitive kind of“referentialsemantics”— discussedfurther in (Sloman1985;1987),whereit is arguedthat thiscanform thebasisfor many otherkindsof semanticcapabilities.In earlycomputersthereferencewasto specificphysicalpartsof thesystem.Laterit wasfoundmoreusefulto supportreferencetovirtual machinelocations,whosephysicalimplementationcouldvaryover time.

F5. Self-modifyinglawsof behaviour:In somemachinesandorganisms,the featureslisted previously canbe combinedin sucha waythatthemachine’s laws of behaviour (i.e. thestoredprograms)canbechangedwhile themachineis runningby changingthe internalstate(e.g. extendingor modifying a storedprogram). Suchchangesinvolve internalbehavioursbasedon featuresF2,F3 andF4). Suchself modificationcanbeusefulin many differentwaysincludelong termchangesof thesortwe call learningandshorttermchangeswherewhatis sensedor perceivedatapoint in timecanbestoredlongenoughto beusedto modify subsequentactions.I suspectthatthefull varietyof self-modificationsin animals,alsorequiredfor sophisticatedrobots,hasnot yet beenappreciated,for instancechangeswhichalterthevirtual machinearchitectureof ahumanduringdevelopmentfrom infancy to adulthood.

F6. Couplingto environmentvia physicaltransducers:We have implicitly beenassumingthat somepartsof a systemcan be connectedto physicaltransducerssothatbothsensorsandmotorscanbecausallylinkedto internalstatechanges.

If externalsensorsasynchronouslychangethe contentsof memorylocations,that allows theabove “read” capabilitiesto be the basisfor perceptualprocessesthat control or modify actions.Likewise if somelocationsare linked throughtransducersto motors, then “write” instructionschangingthoselocationscan causesignalsto be transmittedto motors,which is how internalinformationmanipulationoften leadsto externalbehaviour. Thussensorscanwrite informationinto certainmemorylocationswhich canthenchangesubsequentinternalbehaviour, andsomeofthememorylocationswritten to by the internalprocessescancausesignalsto besentto externalmotors. This implies that the total systemhasmultiple physicalpartsoperatingasynchronouslyandconcurrently.10 Perceptionandactionneednotberestrictedto “peephole”interactionsthroughverynarrow channels(e.g.transmittingor receiving a few bits ata time). Wherelargenumbersofinputtransducersoperatein parallel,it is possiblefor differentperceptualpatternsatdifferentlevelsof abstractionto be detectedand interpreted: multi-window perception. Likewise, concurrentmulti-window actionscanoccuratdifferentlevelsof abstraction.

Interestingnew possibilitiesariseif someof thetransducersasynchronouslyrecordnot statesof the external environmentbut internal statesand processes,including thosein physicalandvirtual machines.In computersthis playsan importantrole in variouskinds of error checking,memorymanagement,detectionof access-violations,tracing,anddebugging.Seealsothesectionon self-monitoring,below.

I believe all of the above featuresof computerswere understoodat least intuitively andimplementedat leastin simpleforms by the late1950sandcertainlyin the 1960s.Noneof thisdependedonknowledgeof Turingmachines.

We now turn to “secondaryfeatures”of computers. Theseare usually not inherentin thehardware designs,but can be addedas virtual machinesimplementedon the basisof the core

10In (Sloman1985; 1987) I discusshow the systemcan interpretthesesensorychangesasdue to eventsin anexternalenvironmentwhoseontologyis quitedifferentfrom themachine’s internalontology.

17

Page 18: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

featuresF1 to F6. (In somecomputersthey aregivenhardwaresupport.)Someof thesefeatureswere neededfor generalprogrammingconvenience,e.g. enabling

chunksof codeto besharedbetweendifferentpartsof thesameprogram,andsomewereneededbecausecomputerswere interactingwith an unpredictableenvironment(e.g. a humanor someothermachine).Noneof thesefeatureswasrequiredonlyfor AI purposes.In otherwordsthey wereall partof thecontinuinggeneraldevelopmentof thetwo mainhistoricalstrands:producingmoresophisticated,flexible,andautonomoussystemsfor controllingphysicalmachinery, andproducingmoresophisticatedmechanismsfor manipulatingabstractstructures.

F7. Procedure control stack: theability to interrupt a process,suspendits state, run someotherbehaviour, thenlater resumetheoriginal suspendedprocess.This featurefacilitatedprogramswith re-usablemodulesthatcouldbeinvokedby othermodulesto which they would automaticallyreturnwhencomplete. Later versionsallowed the re-usablemodulesto be parametrised,i.e. to have different “local” dataon different invocations(unlikeGOSUBandRETURNin BASIC).Thisallowedrecursiveproceduresto performslightly differenttasksoneachrecursiveactivation.Thisfeature,alongwith featureF10below (supportfor variable-length informationstructures)wasparticularly importantin supportingsomeof the descriptive,non-numeric,AI techniquesdiscussedin (Minsky 1963).

Eventuallyall this wasfacilitatedin electroniccomputersby hardwareor microcodesupportfor a “control stack”, i.e. specialmemoryoperationsfor suspendedprocessdescriptors,plusmechanismsfor pushingandpoppingsuchprocessdescriptors.Thisdependsonthesavedprocessstatesbeing specifiableby relatively small statedescriptorswhich can be rapidly saved andrestored.It would be hardto do that for a neuralnet, or a mechanicalloom. It canbe donebymechanicaldevices,but is far easierto implementin electronicmechanisms.

It might be doneby a collectionof neuralnets,eachimplementingoneprocess,whereonlyonecanbein controlata time. Thispresupposesafixedprocesstopology, unlessthereis asupplyof sparenetsthatcanbegivennew functions.The“contentionscheduling”architecture(CooperandShallice2000)is somethinglike this.

F8. Interrupthandling:Theability to suspendandresumeprocessesalsoallowedasystemto respondto externalinterrupts(new sensoryinput) without losing track of what it had beendoing previously. This kind ofasynchronousinterrupt is unlike the previous casewherecontrol is transferredby an explicit(synchronous)instruction in the programwhich is to be suspended.Asynchronousinterruptscan be supportedby software polling in an interpreter. Faster, lower level, supportbuilt in tothe computer’s hardware mechanismsreducesthe risk of losing dataand sometimessimplifiessoftwaredesign,but thekey ideais thesame.

F9. Multi-processing:On thebasisof extensionsof thepreviousmechanismsit becamefairly easyto implementmulti-processingsystemswhich couldrun many processesin parallelon a singleCPUin a time-sharedfashion,with interruptsproducedatregularintervalsby aninternalclock, insteadof (or in additionto) interruptsgeneratedby externalevents.This requireslargercontexts to besavedandrestored,asprocesseseachwith their own controlstacksareswitchedin anout.

Suchmulti-processingallows the developmentof virtual machinearchitecturesthat permitvariablenumbersof concurrent,persistent,asynchronouslyinteractingprocesses,someof themsharingmemoryor sub-routineswith others. It providesmoreflexibility thancould be achievedby wiring togethera collectionof computerseachrunningoneprocess,sincethenthemaximumnumberof processeswouldbefixedby thenumberof computers.

18

Page 19: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

Multi-processingvirtual machinesallow new kinds of experimentswith mentalarchitecturescontainingvariablenumbersof interactingvirtual machines,includingvarioussortsof perceptual,motivational, learning,reactive, deliberative, planning,plan execution,motor-control, andself-monitoringprocesses.This is a far cry from thenotionof AI asthesearchfor “an algorithm” (asdiscussedby Searle(Searle1980)andPenrose(Penrose1989),andcriticisedin (Sloman1992)).

In the early daysof AI researchfocusedon algorithmsand representations,whereasin thelast decadeor so, therehasbeena growing emphasison completesystemswith architecturesthat include many sub-mechanismsrunning concurrently. One consequenceis that differentalgorithmscaninteractin unexpectedways.This is importantfor thedesignof a fully functioningintelligent robot (or animal) with multiple sensors,multiple motors, in a changingand partlyunpredictableenvironment,with avarietyof moreor lessindependentmotivegeneratorsoperatingasynchronouslyunder the influenceof both internal processesand external events (Beaudoin1994).

However, I don’t think thatmany seriousexperimentsof thissortweredoneby AI researchersbeforethe 1980s. Suchexperimentsweredrasticallyimpededby speedandmemorylimitationsat that time. (Examplesweresomeof theblackboardarchitectures.My POPEYEsystemin thelate70s(Sloman1978)wasanattemptat a visualarchitecturewith differentconcurrentmutuallyinteractinglayersof processing,but it wasagainstthespirit of thetime,sincetheinfluenceof Marrwasdominant.(Marr 1982))

F10. Larger virtual datachunks:Another feature of computerswhich becameimportant both for AI and for other purposes(e.g. databases,graphic design)was the ability to treat arbitrarily large chunksof memoryas “units”. There were variousways this could be done, including reservinga collection ofcontiguous(physical or virtual machine)locationsas a single “record” or “array” with someexplicit informationspecifyingthebeginningandthe lengthso thatall thememorymanagementandmemoryaccessmechanismsrespectedthatallocation.

Moresubtleandflexible mechanismsusedlist-processingtechniquesimplementedin software(thoughtherehave beenattemptsto provide hardwaresupportto speedthis up). This allowedthecreationof larger structurescomposedof “chained” pairsof memorylocations,eachcontainingsomedataandtheaddressof thenext link in thechain,until a “null” item indicatedthat theendhadbeenreached.This allowed new links to be splicedinto the middle of a chain,or old onesdeleted,andalsopermittedcircularchains(of infinite length!).

The full power of this sort of mechanismwas first appreciatedby McCarthy and othersinterestedin logic andrecursivefunctions.But it is agenerallyusefultechniquefor many purposesthathavenothingto dowith AI or cognitivescience,andwasboundto bere-inventedmany times.11

Thus,while machinehardwareusually treatsa fixed sizebit-patternasa chunk(e.g. 8, 16,32, or 64 bits nowadays),software-enabledvariable-sizevirtual structuresallow arbitrarily largechunks,andalsoallow chunksto grow after creation,or to have complex non-lineartopologies.Theability of humansto memorisewords,phrases,poems,or formulaeof varyinglengthmaybebasedon similar capabilitiesin brains.Similar considerationsapply to theability to perceive andrecognizecomplex objectswith differentsortsof structures,suchaswheels,cars,lorries,railwaytrains,etc.

As notedin Minsky’s 1961 paper(Minsky 1963) variousprocessesinvolved in perception,useof language,planning,problemsolving,andlearning,requiredtheability to createstructures

11However, the usefulnessof general purposelist-processingutilities will usually be severely restricted inprogramminglanguagesthatarestronglystaticallytyped,like mostconventionallanguages.

19

Page 20: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

thatwereaslargeasneeded.It alsoallowedstructuralunits to becomplex treesor networks,asopposedto simplybeingabit or bit pattern,or a lineararrayof items.

Supportfor variablesize,variabletopologydatachunksis not a requirementfor ALL kindsof minds. E.g. it seemsunlikely that insectsneedit. Even if bees,for instance,areableto learnroutesor topographicmapswith variablelengthandtopology, thiscanbeimplementedin chainedassociations,which have many of the propertiesof list structuresmentionedabove. (This wasdiscussedin Chapter8 of Sloman1978,in connectionwith how childrenlearnaboutnumbers.).

Variable size and variable structure chunking appear to be required for many animalcapabilities,including: learningaboutterrain, learningaboutsocial relationshipsandacquiringnew complex behaviours,e.g. thekindsof problemsolving“tricks” thatcanbelearntby variousmammalsandbirds. It seemsto be essentialfor many aspectsof humanintelligence,includingmathematicalproblemsolving, planning,and linguistic communication(thoughit hasrecentlybecomefashionablein somecirclesto deny this.)

Of course,it is clearthat in humans(andotheranimals)the sizesof the manageableunitaryinformationchunkscannotbearbitrarily large,andlikewisethedata-structuresin computersarelimited by the addressingmechanismand the physicalmemory. The infinite tapeof a Turingmachineis anidealisationintendedto overcomethis,thoughtypically unusablein practicebecauseof performancelimitationsof a memorythatis not randomlyaddressable.For anorganismwith afinite life-spanoperatingin real time,however, thereis no needto have spaceto storeunboundedstructures.

A single animal brain can use different sorts of chunking strategies for different sub-mechanisms.In particulartherearevariousbuffersusedfor attentiveplanningor problemsolvingor reflective thinking, or for real-time processingof sensorydata. Theseall have dedicatedmechanismsandlimited capacity. Sotherearelimits onthesizesof chunksthatcanbecreatedanddirectly manipulatedin thoseshortterm memories,someof which (e.g. low level visualarrays)maybemuchlargerthanothers.

Similarsizelimits neednotholdfor chunksstoredin alongertermmemorywhosechunksmaybetoo largefor instantaneousattention(e.g.amemorisedpoem,or pianosonata,or route,or one’sknowledgeof a familiar town or building).

F11. SelfmonitoringandselfcontrolPreviously, whendiscussingsensorytransducersin featureF6, above, I mentionedthepossibilityof computershaving sensorytransducersasynchronouslydetectingandcheckinginternal statesandprocessesin additionto external ones. The needfor this sort of thing hasbeengrowing asmoreandmorerobust,reliable,securesystemshavebeendeveloped.

To someextent this self-monitoringcanbe implementedin software,thoughit is clumsyandslowsthingsdown. E.g. it couldusethefollowing design:

(i) everyinstruction(in a classof “monitorableinstructions”)savesa descriptionof whatithasjustdonein somedata-structure.(ii) a processwhich examinesthesaveddescriptionsis time-sharedwith theotherprocesses.Notethat this processmayalsosavedescriptionsof whatit hasdone.12

It may turn out that one of the most important directionsfor future developmentswill be toextend thesemechanisms.Requirementsof advancedAI systemswith variouskinds of self-awarenessmay include hardware (firmware?) architecturesthat provide somekind of general-purposeself-monitoringcapability. This might useone or more additionalCPUsrunning thereflective andmeta-managementprocessesrequiredto enablesuchself-perceptsto be analysed,

12A distributedarchitecturefor self-monitoringusingmutualmeta-managementis outlinedin (Kennedy1999).

20

Page 21: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

parsed,interpreted,evaluated,quickly enoughto be of usein helpingto make the wholesystemmoreintelligent.13

Simply recordingtheflow of machineinstructionsandregistercontentsasacollectionof statevectorsmaynot begoodenough:it is too low level, thoughI presumethat couldbedoneeasilywith currenttechnology, at a price. It would bebetterto have directsupportfor language-specificor VM-specific records,recordinglargerchunks.I.e. theself-monitoringmechanismsmayhaveto beparametrisable,like theprocedureinvocationrecordsin aprocedurecall stack.

FeatureF11 is probably implementedin a very different way in neuralsystemsin brains:e.g. asa neuronfires andsendssignalsto variousotherneuronsaspart of doing its job, therewill not be much interferencewith its performanceif an additional connectionis madeto amonitoring network getting information from many other parts of the system. Comparethe“Alarm” mechanismsdepictedin our recentpaperson the CogAff architecture(Sloman2000a;SlomanandLogan2000;Sloman2000b;to appear).

Thefeaturesof moderncomputingsystemslistedabovecanall beseenascontinuationsof thetwo trendsof developmentthat startedin previous centuriesandwereacceleratedby the adventof electronicmechanismsthat replacedmechanicalandhydraulicstoragemechanisms,sensors,switchesandconnections.They do not owe anything to the ideaof a Turing machine.But theysuffice for all thecomputer-basedwork thathasbeendonein AI andcognitive scienceso far, inadditionto all theothertypesof applicationsof computers.

Even if computersaswe know themdo not suffice for futuredevelopmentsit seemsunlikelythatwhatwill beneededis somethinglike a Turing machine.It is morelikely thatspeed,powerandsizerequirementsmay have to be met by specialpurposehardwareto simulateneuralnets,or perhapschemicalcomputersthat perform huge numbersof computationsin parallel usinginteractingmolecules,e.g.DNA. Turingmachinesdonotappearoffer anything thatis missing.

6 Ar e theremissingfeatures?

SomeAI researchersmay think the list of featuresof computerspresentedabove leaves outimportant featuresneededfor AI, e.g. unification, patternmatching,rule-interpreters,supportfor logical deduction. However I believe theseadditional featuresare requiredonly for morespecialisedAI modelsand applications. RatherI have tried to identify what the mostgeneralfeaturesof the physicalmechanismsandthe virtual machinesfound in computersarethat makethem important for AI and Cognitive science. This has little or nothing to do with logic,mathematics,or Turing machines,all of which are concernedwith ratherspecialisedtypesofinformationprocessing.I shallalsotry to show, below, thatthesegeneralfeaturesareverysimilarto featuresof brainmechanisms,asif evolutiondiscoveredtheneedfor thesefeatureslongbeforewedid.

I havenotexplicitly includedarithmeticalcapabilitiesin the11mainfeatures,thoughin currentcomputersthey are part of the infrastructurefor many of the capabilitiesdescribedabove, e.g.calculationof offsetsin data-structures,handlingrelativejumpsin instructioncounters,schedulingandoptimisingprocesses,etc.

A possibleobjectionto theabovelist of featuresis thatit omitsanimportanthumancapability,namelythe ability to copewith infinity. This ability wasnotedby Kant (Kant 1781),who triedto explain our graspof infinite setsof numbersandinfinite spaceandtime in termsof our grasp

13For discussionsof the role of a meta-managementlayer in humanminds see(Beaudoin1994; Sloman1997;Wright et al. 1996;Sloman1999;1998;2000a;to appear;A.Sloman2001)

21

Page 22: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

of a rules which can be appliedindefinitely. Frege’s analysisof sentencesand their meaningsas“compositional”(Frege1960),pointedto ourability to graspindefinitelycomplex grammaticalandsemanticstructures.Thiswasstressedby Chomsky (Chomsky 1965),whoclaimedthathumanbeingshave a kind of infinite competencein their ability to understandor generatesentencesofunboundedcomplexity, e.g.arithmeticalsentencesandsentenceslike:

thecatsaton thematthebrown catsaton themat,thebig brown catsaton thematthebig brown catsaton thematin thecorner, . . .etc.

The obvious objectionis that humanlife is finite andthat the brain is finite, andany individualwill produceonly a finite numberof sentencesbeforedying, andwould in any casebe unableto understandsentencesabove a certainlength. To this Chomsky repliedthat even thoughthereareperformancelimitations thatget in theway of applyinginfinite competence,the competenceexists nevertheless– an answerthat left many unconvinced. Questionsaboutthe capabilitiesofcomputersgeneratea similar disagreement,as we shall see. One of the important tasksfor atheoryof mind andcomputationis to resolve the apparentconflict betweeninfinite competenceandboundedphysicalresources.Both sidesaresayingsomethingcorrect,but they talk pasteachother.

Theinfinite (or indefinitelyextendable)tapeof a Turingmachinewasdesignedto supportthiskind of infinite,or unbounded,competence:thatwaspartof Turing’smotivationfor theunboundedtape, sincehe was trying to accountfor humanmathematicalabilities. Humanmathematicalabilities appearto be unboundedin variousways. For instancethereis no largestnumberthatwe canthink of – if therewerewecouldthink of its square.Likewisethereis no largestalgebraicexpressionwhosemeaningyoucangrasp.It seemsthatif therewereyoucouldappend“ + 1” andstill understandit, at leastwith abit of help,e.g.introduceanew namefor thecomplex expression,suchas“BigExp”, thenthink aboutBigExpwith “ + 1” appended.

Must this infinite capabilitybe built in to the underlyingphysicalhardwareof computersifthey areto beadequateto representhumanminds?If so,moderncomputerswould fail, sincetheyhave finite memories,andalthoughit is oftenpossibleto addmemoryto a computer, it will haveboundedaddressingcapabilitieswhich limit thesizeof addressablememory. E.g. amachinewithonly � -bit addressingmechanismscanmakeuseof only

� �distinctlocations.

The situation is more complex than this suggests,for two reasons. One is that additionaladdressingcapabilitiescanbebuilt ontopof thehardwareaddressingmechanisms,ashappens,forinstance,whena computerusesa segmentedmemory, whereoneaddressselectsa segmentandanotherselectsthe locationin thesegment,or whenit usesa largebackingstore,or usesinternetaddressesto refer to a largerspaceof possibilitiesthanit canaddressdirectly in RAM. However,eventhosetechniquesmerelyenlarge theaddressspace:it remainsfinite.

Thereis a moresubtlepoint which doesnot dependon extendingthe underlyingaddressinglimits. We know that existing computers,despitetheir finitenessas physicalmechanisms,canprovide implementationsfor infinite virtual machines,even thoughthe implementations,if fullytested,turn out to be incomplete.That is becausethey canstore,andapply, algorithmsthathaveno bounds.

For instance,in many programminglanguagesit is possibleto give a recursive definition ofthe factorialfunctionwhich expressesno limit to thesizeof the input or outputnumbers.Whensucha functionrunson acomputer, eitherin compiledor interpretedmode,it accuratelyexecutesthe algorithm for computingthe factorial of the given number, up to a point. However, theimplementationis usuallyincompletein thatbeyondacertainrangeof integerstheprocesswould

22

Page 23: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

abortwith somesortof errorinsteadof computingthecorrectanswer.This doesnot stopus(correctly)thinking of this asan implementation(albeitonly partial)of

an infinite virtual machine.That is becauseevery processcanbe describedat differentlevelsofabstraction,and thereis a level of abstractionat which the processcan be describedperfectlycorrectly as running the recursive algorithm, which doesnot include any size limits. That isexactly what the computeris doing at that level of description,even thoughhow it is doing itraisesproblemsif too largeanumberis givenasinput.

The point canbeexpressedby consideringwhich generalisationsaretrue descriptionsof theprocess.For examplethe virtual machinethat is runningon the computerhasthe featurethat ifit is given the task of computingthe result of dividing the factorial of any positive numberN,by the factorial of N-1, the result will be N. Similarly, we can say of a sorting algorithm thatthe resultof applying it to any list L will be a new list the samelengthasL. In both casestheactualphysicalimplementationwould breakdown if the input was too large. If that happenedonly becausetherewasnotenoughRAM it might bepossible,onsomemoderncomputers,to addanotherbankof memorywhile themachinewasrunningsoasto allow theprocessto continue,oralternatively it might bepossibleto kill someotherlessimportantprocessessoasto make morememoryavailable. In that casewe canseethat the memorylimit is a contingent or inessentialfeatureof theimplementation.

We cannow seethat the fact that a processmight run out memoryis analogousto the factthat a stray alpha-particlemight corrupt the memory, or the power supply might fail, or thebuilding containingit mightbestruckby a largemeteoriteetc.Therearevastnumbersof possibleoccurrencesthat would prevent normalcompletionof the calculation. We don’t feel we have tomentionall of thosewhenaskingwhatresultthecomputerwould produceif givena certaintask.Thereis a perfectlynaturalway of thinking aboutprocessesrunningon a computerwhich treatsrunning out of memoryasbeing analogousto being bombed. If the machinewere adequatelydefended,radarmightdetectthebombanddivertanddestroy it beforeit hit thebuilding. Likewiseadditionalmechanismsmightprotecttheprocessfrom runningoutof memory.

It is noteasyto extendtheaddressinglimits of amachineatruntime! However, it is notbeyondtheboundsof possibility to have a machinethatgeneraliseswhatexisting pagedvirtual memorysystemsdo,namelydetectthatthereis not enoughspacein themainfastmemoryandthenmovesomeunusedpagesout andthereafterkeepchangingthe “working set”. A moregeneralvirtualmemorymechanismfor a computerthatcouldextendits usablephysicalstoreindefinitelywouldneedsomeaddressingschemethatdid not useany fixedlengthstructurefor specifyinglocations.In fact, it could,in principleuseoneor moreTuring machineswith indefinitelyextendabletapes.Whatever methodis used,theprocessof specifyingthenext locationto accessandtheprocessoffetchingor storingsomethingtheremight getslowerandslower, ashappensin aTuringmachine.

Thepointof all this is thatwhensomethinglike thestandardrecursive factorialalgorithmrunson a computerthe fact that thereis a limit to the sizeof input it cancopewith is an inessentialfeatureof the current implementation,which might be changedwhile the machineis running.Thuswe canaskcounterfactualquestionsaboutwhat the resultwould be if the input were thenumber2,000,000while assumingthat implementationobstaclesarecircumventedas they turnup, including suchobstaclesasthe limited sizeof the physicaluniverse. Of course,if someoneintendedthe questionto be interpreteddifferently, e.g. so that the answertakesaccountof thecurrentmechanismsin themachine,or therun time modificationsthatarecurrentlyfeasible,thenthis constraintcouldbe explicitly includedin the question,anda differentanswermight thenberelevant,e.g.“the computerwould runout of memorybeforefinding theresult”.

In exactly the samesense,humanbrains,not leastthe brainsof expert mathematicians,can

23

Page 24: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

includeimplementationsof infinite machines,albeitpartialandbuggyimplementationsinsofar asthemachineswill falteror fail if giveninputsthataretoo complex, or, for thatmatter, if tiredness,adistraction,alcoholor someotherdruginterfereswith performance.

In short,then,althoughno humanmindcanactuallydoanything infinite becauseof its currentimplementation,neverthelesshumans(andpossiblysomeotheranimals?)haveunboundedvirtualmachinesaspartof their informationprocessingarchitecture.

Wealreadyknow thatsuchvirtual machinescanbeimplementedusefullyin physicalmachinesthat do not support the full theoreticalrangeof functions like factorial which they partiallyimplement. Thus neither human minds nor robots with human-like intelligence need havesomethingwith the infinite capacityof a Turing machinein thephysicalimplementationin orderto berunningavirtual machinewith unboundedcompetence.

What is more,insofar asthe humanarchitectureincludesa meta-managementlayer that can(to someextent) inspecttheoperationsof thesystem,it is ableto discoversuchfactsaboutitself.This is the sourceof muchof the philosophyof mathematicswhich is concernedwith, amongother things,the ability of humansto think aboutinfinite sets. Likewise a robot whosemind isimplementedon a computerandincludesa meta-managementlayer could discover that it hadakind of infinite competence,andmight thenbecomepuzzledabouthow thatcouldbeimplementedin afinite brain.

All this leavesopenthequestionwhatpreciselyis goingon whenwe think aboutinfinite sets,e.g. the setof positive integers,or the transfiniteordinal consistingof the set of all powersoftwo followedby the setof all powersof three,followedby the all powersof five, andso on forall primenumbers.I have discussedthis inconclusively in (Sloman2001)andwill not pursuethematterhere.

7 Someimplications

Theimportantfeaturesof computerswhich I have listed(aswe know themnow, andasthey maydevelopin thenearfuture)havenothingto dowith logic, recursive functions,or Turingmachines,thoughsystemswith the featuresthatareimportantin computerscan(subjectto memorylimits)modelTuring machinesandcanalsobemodelledby Turing machines,albeit excessively slowly(assumingthatpartof arequirementfor afunctioningmindis to reactin timeto seizeopportunitiesandavoid dangers).

Turingmachinesandmoderncomputerscanbothalsomodelneuralnets,chemicalsoupsusingDNA moleculesto performcomputations,andothertypesof informationprocessingengines,

Givenall that,theview of computersassomehow essentiallya form of Turing machine,or asessentiallyconcernedwith logic, or recursive functions,is simply mistaken. As indicatedabove,there is sucha mathematicalnotion of computation,which is the subjectof much theoreticalcomputerscience,but it is not the primary motivation for the constructionor useof computers,nor particularlyhelpful in understandinghow computerswork or how to usethem. A physicallyimplementedturing machine(with a finite tape)would simply be a specialcaseof the generalclassof computersdiscussedhere,thoughlinking it to sensoryor motor transducersmight causeproblems.

Neitheris theideaof aTuringmachinerelevantto mostof thecapabilitiesof humanandanimalminds,although,asexplainedabove,thereis a looseanalogybetweenaTuringmachineandsomeof theformal capabilitiesof humanminds,includingtheability to think andreasonaboutinfinitestructures.This musthave evolvedrelatively lateanddoesnot play an importantrole in thevast

24

Page 25: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

majority of everydaymentalprocesses.It doesnot appearto be relevant to mostanimalsor toveryyoungchildrenif, asseemslikely theseabstractreasoningabilitiesdevelopduringchildhoodratherthanbeingtherefrom birth.

8 Two counterfactual historical conjectures

Theprecedingremarksarecloselyconnectedwith two conjectures:1. The developmentof computerswas an inevitable consequenceof availability of new

electronictechnologyproviding the potentialto overcomethe limitations of previously existingmachinesfor controllingothermachines,andmachinesfor managingandanalysinginformation(e.g. commercialdatabases,airline reservation systems,etc.). Considerwhat happenedduringtheWorld War II: theneedto decipherencryptedmessagesaccelerateddevelopmentof electroniccalculators.

Most of this would havehappenedanyway, evenif Turingandothershadnot donetheir meta-mathematicalwork on computation,computability, derivability, completeness,etc.

2. If Turing hadnever existed,or hadnever thoughtof Turing machines,and if computerswith thesortsof featureslistedabove hadbeendevelopedunderthepressureof requirementsforincreasinglysophisticated(andfast)control of physicalmachinesandprocessingof informationfor practicalpurposes,thenmuchof AI andCognitive Sciencewould have developedexactly asweknow themnow. AI wouldnotmisstheconceptof aTuringmachine.

Somepeopleinterestedin logic, theoremproving, etc.mighthavenoticedthatsuchcomputerscouldbeusedto implementlogic machinesof variouskinds.But therewouldhavebeennonotionthatcomputersweresomehow inherently logical, or inherently relatedto mathematicaltheoremsandtheirproofs.

Thosetwo conjecturesfollow from the argumentthat computerswere, and are, above all,enginesfor acquiring,storing,analysing,transforming,andusinginformation,partly to controlphysicalmachinesand partly in order to control their own processingof information. In thisthey arejust like biologicalorganisms— andthat includesusingthe informationboth to controlcomplex physical and chemical systems,and also to control internal processingwithin thecontroller, includingprocessingin virtual machines.

If wethink of computerslikethis, thenit is anempiricalquestionwhetheraparticularphysicalobjectdoesor doesnothave thekindsof capabilitieslistedabove. It is not truethateveryphysicalobjecthasthecollectionof featuresF1 to F11,or eventhesimplersetF1 to F6. However, findingoutwhichfeaturesaverycomplex machineactuallyhascanbeaverydifficult reverse-engineeringproblem.Thebestavailabletoolsataparticulartime(e.g.brainscanners)maynotbeadequateforthejob.

ACKNOWLEDGEMENTS

This researchis partly fundedby agrantfrom theLeverhulmeTrust.I haveprofitedfrom discussionswith MargaretBodenandMatthiasScheutz.I stronglyrecommendMinsky’s‘StepstowardsArtificial Intelligence’(first publishedin 1961),

as an excellent overview of ideasabout AI that had developedby about 1960. It remainsan extremely importantpaper, althoughat that stageneitherhe nor othershad appreciatedtheimportanceof the studyof architecturesfor combiningmultiple concurrentlyactive capabilities– asopposedto thestudyof representationsandalgorithms. It is interestingthat the1961paper

25

Page 26: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

anticipatedsomeof themathematicalresultsonperceptronslaterpublishedby Minsky andPapert,althoughhealsostressesthatneuralnetscanbeusefulaspartof a largersystem.Thiswaswritten20 yearsbeforethe rise of connectionism,andeven longerbeforethe fashionfor investigatinghybridarchitectures.

The BirminghamCogaff projectincludesmany papersexploring requirementsfor intelligentsystemsandgraduallyevolving specificationfor theCogAff architecture.Seehttp://www.cs.bham.ac.uk/research/cogaff/

References

A.Sloman.BeyondShallow Modelsof Emotion.CognitiveProcessing:InternationalQuarterlyof CognitiveScience, 2(1):177–198,2001.

L.P. Beaudoin.Goalprocessingin autonomousagents. PhDthesis,Schoolof ComputerScience,TheUniversityof Birmingham,1994.(Availableathttp://www.cs.bham.ac.uk/research/cogaff/).

NoamChomsky. Aspectsof thetheoryof syntax. MIT Press,,Cambridge,Mass,1965.

R. CooperandT. Shallice.Contentionschedulingandthecontrolof routineactivities. CognitiveNeuropsychology, 17(4):297–338,2000.

GottlobFrege. In P. GeachandM. Black,editors,TranslationsfromthePhilosophicalWritings.Blackwell,Oxford,1960.

J.Haugeland.Artificial Intelligence:TheVery Idea. MIT Press,Cambridge,MA, 1985.

Andrew Hodges.AlanTuring: theEnigma. BurnettBooks,London,1983.

I. Kant. Critique of Pure Reason. Macmillan, London,1781. Translated(1929)by NormanKempSmith.

C. M. Kennedy. Distributedreflective architecturesfor adjustableautonomy. In InternationalJoint Conference on Artificial Intelligence (IJCAI99), Workshop on Adjustable Autonomy,Stockholm,Sweden,July1999.

D. Marr. Vision. Freeman,1982.

M. L. Minsky. Stepstowardsartificial intelligence.In E.A. FeigenbaumandJ.Feldman,editors,ComputersandThought, pages406–450.McGraw-Hill, New York, 1963.

StephaniePain. Liquid assets.New Scientist, (2268):46–47,2000.

RogerPenrose. The Emperor’s New Mind: ConcerningComputers Minds and the Laws ofPhysics. Oxford UniversityPress,Oxford,1989.

G. Ryle. TheConceptof Mind. Hutchinson,1949.

J.R.Searle.Minds brainsandprograms.TheBehavioral andBrain Sciences, 3(3),1980. (Withcommentariesandreply by Searle).

A. Slomanand B.S. Logan. Evolvable architecturesfor human-like minds. In G. Hatano,N. Okada,andH. Tanabe,editors,AffectiveMinds, pages169–181.Elsevier, Amsterdam,2000.

A. Sloman. TheComputerRevolution in Philosophy. HarvesterPress(andHumanitiesPress),Hassocks,Sussex, 1978.

26

Page 27: The Irrelevance of Turing Machines to AI - uni-osnabrueck.deyzhao/tcn/sloman.turing.pdflogic, inspired by ideas of George Boole in the 19th century (and Leibniz even earlier). This

A. Sloman. What enablesa machineto understand?In Proc 9th IJCAI, pages995–1001,LosAngeles,1985.

A. Sloman.Referencewithout causallinks. In J.B.H.du Boulay, D.Hogg,andL.Steels,editors,Advancesin Artificial Intelligence- II , pages369–381.NorthHolland,Dordrecht,1987.

A. Sloman.Theemperor’s realmind. Artificial Intelligence, 56:355–396,1992.Review of RogerPenrose’s TheEmperor’snew Mind: ConcerningComputersMindsandtheLawsof Physics.

A. Sloman.Whatsortof controlsystemis ableto have a personality. In R. TrapplandP. Petta,editors,CreatingPersonalitiesfor SyntheticActors: Towards AutonomousPersonalityAgents,pages166–208.Springer(LectureNotesin AI), Berlin, 1997.

A. Sloman. Damasio,Descartes,alarmsandmeta-management.In ProceedingsInternationalConferenceon Systems,Man,andCybernetics(SMC98),SanDiego, pages2652–7.IEEE,1998.

A. Sloman.Whatsortof architectureis requiredfor ahuman-likeagent?In MichaelWooldridgeand Anand Rao, editors, Foundationsof Rational Agency, pages35–52.Kluwer Academic,Dordrecht,1999.

A. Sloman. Architecturalrequirementsfor human-like agentsboth naturalandartificial. (whatsortsof machinescan love?). In K. Dautenhahn,editor, HumanCognition And SocialAgentTechnology, Advancesin ConsciousnessResearch,pages163–195.JohnBenjamins,Amsterdam,2000.

A. Sloman. Interactingtrajectoriesin designspaceandnichespace:A philosopherspeculatesaboutevolution. In M.Schoenaueret al., editor, Parallel ProblemSolvingfromNature – PPSNVI, LectureNotesin ComputerScience,No 1917,pages3–16,Berlin, 2000.Springer-Verlag.

A. Sloman. Diagramsin the mind. In M. Anderson,B. Meyer, and P. Olivier, editors,DiagrammaticRepresentationandReasoning. Springer-Verlag,Berlin, 2001.

A. Sloman. How many separatelyevolvedemotionalbeastieslive within us? In R. TrapplandP. Petta,editors,Emotionsin HumansandArtifacts. MIT Press,CambridgeMA, (to appear).

A.M. Turing. Computingmachineryandintelligence. Mind, 59:433–460,1950. (reprintedinE.A. FeigenbaumandJ.Feldman(eds)Computers andThoughtMcGraw-Hill, New York, 1963,11–35).

I.P. Wright, A. Sloman,and L.P. Beaudoin. Towards a design-basedanalysisof emotionalepisodes.PhilosophyPsychiatry and Psychology, 3(2):101–126,1996. Repr. in R.L.Chrisley(Ed.),Artificial Intelligence:Critical Conceptsin CognitiveScience, Vol IV, Routledge,London,2000.

27