Unconventional Computation 8/18/15 Course Information l COSC 494/594 Unconventional Computation l Introduction Fall 2015 Unconventional Computation 1 Instructor: Bruce MacLennan Course website: web.eecs.utk.edu/~mclennan/Classes/494-­UC or 594-­UC Lecture Notes are posted on it (read: LNUC-­I.pdf) l Email: maclennan@utk.edu l Prereqs: linear algebra (basic CS, physics) l Grading: − Homework (ev ery w eek or two) − Projec t or two − Term paper (on s ome k ind of unc onv entional c omputation) − Pres entation (for 594) Fall 2015 Unconventional Computation Course Outline Unconventional Computation I. Introduction l II. Physics of c omputation III. Quantum c omputation Unconventional (or non-­standard) c omputation refers t o t he use of non-­traditional t echnologies and c omputing paradigms − IV. Molecular c omputation l V. Analog c omputation? Unconventional Computation − 3 l Physical limits t o: − − 1.E-­14 LP min gate energy, aJ HP min gate energy, aJ 100 k(300 K) ln(2) k(300 K) 1 eV k(300 K) Node numbers 90 (nm DRAM hp) 65 45 32 fJ 22 Practical limit for CMOS? 1.E-­18 aJ Room-­temperature 100 kT reliability limit One electron volt l Significant c hallenges 1.E-­20 Will broaden & deepen c oncept of c omputation in natural & artificial s ystems 1.E-­21 Unconventional Computation 130 1.E-­17 Requires a new approach t o c omputation Fall 2015 180 1.E-­16 density of binary logic devices speed of operation 4 Trend of ITRS '97-­'03 Gate Energy Trends Min. Transistor Switching Energy Based on ITRS ’97-03 roadmaps 250 l l Unconventional Computation 1.E-­15 CVV/2 energy, J The end of Moore’s Law is in s ight! Is this possible? Fall 2015 Post-­Moore’s Law Computation l Why would you want to do this? Hypercomputation or s uper-­Turing c omputation refers t o c omputation “beyond t he Turing limit” VI. Grad presentations on other unconventional computing paradigms Fall 2015 2 1.E-­19 Room-­temperature kT thermal energy Room-­temperature von Neumann -­ Landauer limit 1.E-­22 1995 5 Fall 2015 2000 2005 2010 2015 2020 zJ 2025 Year Unconventional Computation 2030 2035 2040 2045 Fig. from M. Frank, "Introduction to Reversible Computing” 6 1 Unconventional Computation 8/18/15 X := Y / Z Differences in Spatial Scale Differences in Time Scale 2.71828 0 0 1 0 1 1 1 0 0 1 1 0 0 0 1 0 1 0 0 … Fall 2015 … Unconventional Computation (Images from Wikipedia) 7 Fall 2015 Convergence of Scales Computation on s cale of physical processes l Fewer levels between c omputation & realization l Less t ime f or implementation of operations 9 Computation will be more like underlying physical processes Post-­Moore’s Law c omputing ⇒ greater assimilation of c omputation t o physics Fall 2015 Computation is Physical — Susan Stepney (2004) Unconventional Computation Unconventional Computation 10 Cartesian Duality in CS “Computation is physical;; it is necessarily embodied in a device whose behaviour is guided by t he laws of physics and c annot be completely c aptured by a c losed mathematical model. This f act of embodiment is becoming ever more apparent as we push t he bounds of those physical laws.” Fall 2015 8 l l Unconventional Computation Unconventional Computation (Images from Wikipedia) Implications of Convergence l Fall 2015 P[0] := N i := 0 while i < n do if P[i] >= 0 then q[n-­(i+1)] := 1 P[i+1] := 2* P[i] -­ D else q[n-­(i+1)] := -­1 P[i+1] := 2* P[i] + D end if i := i + 1 end while 11 l Programs as idealized mathematical objects l Software t reated independently of hardware l Focus on f ormal rather t han material l Post-­Moore’s Law c omputing: − less idealized − more dependent on physical realization l More difficult l But also presents opportunities… Fall 2015 Unconventional Computation 12 2 Unconventional Computation 8/18/15 Strengths of “Embodied Computation” l l l Example: Diffusion − its physical realization − its physical environment l Representation & information processing emerge as regularities in dynamics of physical system Unconventional Computation 13 l Fall 2015 l l l Many physical systems have sigmoidal behavior Free in many physical systems Negative feedback for: Resources become saturated or depleted delimitation separation − creation of structure Free from − evaporation dispersion − degradation − Embodied computation uses free sigmoidal behavior Unconventional Computation 15 Fall 2015 stabilization − − l 14 Positive feedback for growth & extension − Growth process saturates Fall 2015 broadcasting information massively parallel search for optimization, constraint satisfaction etc. Expensive with c onventional computation Unconventional Computation Example: Negative Feedback Sigmoids in ANNs & universal approx. − Can be used for many computational tasks − Many c omputations performed “ for f ree” by physical s ubstrate − Occurs naturally in many fluids − Example: Saturation l l Information often implicit in: Fall 2015 l l Unconventional Computation 16 (Images from Bar-­Y am & Wikipedia) l Many algorithms use randomness − l symmetry breaking deadlock avoidance − exploration l For free from: − − − l “Respect the Medium” escape from local optima − − Example: Randomness noise uncertainty Imprecision Conventional c omputer t echnology “ tortures the medium” to implement computation l Embodied c omputation “ respects t he medium” l Goal of embodied computation: Exploit t he physics, don’t c ircumvent it “Free variability” Fall 2015 Unconventional Computation (Image from Anderson) 17 Fall 2015 Unconventional Computation 18 3 Unconventional Computation 8/18/15 Some Non-­Turing Characteristics o f Embodied Computation l But is it Computing? Fall 2015 Unconventional Computation 19 Operates in real time and real space − with real matter and real energy − and hence non-­ideal aspects of physical realization l Often does not terminate l Often has no distinct inputs or outputs l Often purpose is not to get an answer from an input l Often purpose is not to control fixed agent l Different notions of equivalence and universality Fall 2015 Unconventional Computation 20 Is EC a Species of Computing? l l l l The Turing Machine provides a precise definition of c omputation Non-­Turing Computation Embodied c omputation may s eem imprecise & difficult t o discriminate f rom other physical processes Expanding c oncept of c omputation beyond TM requires an expanded definition Fall 2015 Unconventional Computation 21 Frames of Relevance l l l l All models have an associated f rame of relevance − l determined by model’s simplifying assumptions by aspects & degrees to which model is similar to modelled system l l Determine questions model is s uited t o answer l Using outside FoR may reflect model & simplifying assumptions more t han modelled system Fall 2015 Unconventional Computation Unconventional Computation 22 Models & Simplifying Assumptions CT computation is a model of c omputation − l Fall 2015 l 23 Turing computation is a model of computation A model is like its s ubject in relevant ways Unlike it in irrelevant ways A model is s uited t o pose & answer c ertain classes of questions Thus every model exists in a f rame of relevance (FoR) FoR defines domain of reliable use of model Fall 2015 Unconventional Computation 24 4 Unconventional Computation 8/18/15 Example: FoR of Maps The FoR of Turing Computation l Fall 2015 Unconventional Computation 25 Historical roots: issues of f ormal c alculability & provability in axiomatic mathematics;; hence: − finite number of steps & finite but unlimited resources − computation viewed as function evaluation − discreteness assumptions Fall 2015 Unconventional Computation Alternate Frames of Relevance for Expanded Notions of Computation Idealizing Assumptions l Finite but unbounded resources l Discreteness & definiteness − applying natural processes in computation l Sequential t ime − alternative realizations of formal processes l l l Computational t ask = evaluation of well-­defined function l Computational power defined in t erms of s ets of functions Fall 2015 Unconventional Computation 27 l l l Natural Computation Nanocomputati on − direct realizations of non-­Turing computations − unique characteristics l Quantum & Quantum-­like Computation l Molecular Computation Fall 2015 Unconventional Computation 28 Relevant Issues Outside TC FoR Natural Computation l 26 Natural c omputation = c omputation occurring in nature or inspired by it Occurs in nervous s ystems, DNA, microorganisms, animal groups Good models f or robust, efficient & effective artificial s ystems (autonomous robots etc.) l Real-­time c ontrol l Continuous c omputation l Robustness l Generality, f lexibility & adaptability l Non-­functional c omputation Different issues are relevant Fall 2015 Unconventional Computation 29 Fall 2015 Unconventional Computation 30 5 Unconventional Computation 8/18/15 Relevant Issues Outside TC FoR l l Error, noise & uncertainty are unavoidable − must be part of model of computation − may be used productively l Real-­time (RT) response c onstraints l Asymptotic c omplexity is usually irrelevant − Microscopic reversibility may occur − − l Real-­Time Control − e.g., reversible chemical reactions want statistical or macroscopic progress l Computation proceeds asynchronously in continuous-­time parallelism Fall 2015 Unconventional Computation 31 Relevant: relation of RT response rate t o RT rates of its c omponents Fall 2015 Continuous Computation l − Computational processes often c ontinuous l More or less powerful t han TMs? l l Are continuous quantities Vary continuously in real time l Unconventional Computation − l l 33 l l l l Turing-­computable reals vs. standard reals Standard reals vs. non-­standard reals Results depend on “ metaphysical issues” ⇒ outside FoR of model Naïve real analysis is s ufficient f or models of natural c omputation Fall 2015 Unconventional Computation Comparis on OK Can we compare models with different FoRs? Yes: c an t ranslate one t o other’s FoR Typically make incompatible s implifying assumptions Results may depend on s pecifics of translation E.g., how are c ontinuous quantities represented in TC? Fall 2015 Unconventional Computation 34 Within-­Frame Comparison Cross-­Frame Comparisons l 32 “Metaphysical issues”: − Obviously c an be approximated by discrete quantities v arying at discrete t imes, but … Fall 2015 Unconventional Computation “Metaphysics” of Reals Inputs & outputs often: − Input size typically constant or of limited variability Computational resources are bounded Model 1 Model 2 Common Frame o f R elev anc e 35 Fall 2015 Unconventional Computation 36 6 Unconventional Computation 8/18/15 Cross-­Frame Comparison Translated Comparison Meaningles s C omparis on Meaningful C omparis on, But Relev ant? trans -­ lation Model 2 Model 1 FoR A Model 1 FoR B Fall 2015 FoR A Unconventional Computation 37 Fall 2015 l Relev ant? Model 1 FoR A Fall 2015 l trans -­ lation Model 1ʹ′ Model 2ʹ′ FoR C l l l l Unconventional Computation 38 Super-­Turing c omputation is important, but so is Non-­Turing computation Model 2 FoR B Unconventional Computation 39 Fall 2015 l Digital VLSI becoming a v icious c ycle? l A limit to t he number of bits and MIPS l How fundamentally t o incorporate error, uncertainty, imperfection, reversibility? l How systematically to exploit new physical processes? Unconventional Computation Unconventional Computation 40 Expanding the Range of Physical Computation What is c omputation in broad s ense? What FoRs are appropriate f or non-­Turing computation? Models of non-­Turing c omputation Fall 2015 FoR B Notion of Super-­Turing c omputation is relative to FoR of Turing computation Some Issues in Non-­Turing Computation l Model 2 Super-­Turing vs. Non-­Turing Translation to Third Frame trans -­ lation Model 1ʹ′ l 41 Alternative t echnologies are s urpassed before they c an be developed False assumption t hat binary logic is t he only way t o c ompute How to break out of t he v icious c ycle? Fall 2015 Unconventional Computation 42 7 Unconventional Computation 8/18/15 Possible Physical Realizations of Computation What is Computation? l l l l What distinguishes c omputing (physically realized information processing) f rom other physical processes? l Computation is a mechanistic process, the purpose or f unction of which is t he abstract manipulation (processing) of abstract objects − − l Purpose is f ormal rather t han material l Does not exclude embodied c omputation, which relies more on physical processes Fall 2015 Unconventional Computation Any abstract manipulation of abstract objects is a potential c omputation 43 But it must be physically realizable Any reasonably c ontrollable, mathematically described, physical process c an be used f or computation Fall 2015 Unconventional Computation l l Speed, but: l − faster is not always better − slower processes may have other advantages l Feasibility of required t ransducers Fall 2015 Natural c omputation s hows alternate modes of c omputation, e.g.: − l natural computation shows ways of achieving, even with imperfect components Unconventional Computation Familiarity of binary logic maintains v icious cycle − Accuracy, s tability & c ontrollability as required f or t he application − l 45 Fall 2015 Unconventional Computation l l Value of general-­purpose c omputers f or all modes of c omputation − 47 not appropriate to natural computation, nanocomputation, quantum / quantum-­like computation central issues of these include continuity, indeterminacy, parallelism l Broader definition of computation is needed l Facilitates new implementati on technologies l Unconventional Computation Turing model of computation exists in a frame of relevance − “Universality” is relative t o f rame of relevance E.g., s peed of emulation is essential t o real-­ time applications (natural c omputation) Merely c omputing t he s ame f unction may be irrelevant Fall 2015 46 Conclusions l l information processing & control in brain emergent self-­organization in animal societies Openness t o usable physical processes Library of well-­matched c omputational methods & physical realizations General-­Purpose Computation l 44 Matching Computational & Physical Processes Some Requirements l de novo applications of math models applications suggested by natural computation Improves understandi ng of computati on in nature Fall 2015 Unconventional Computation 48 8