2012/8/22 Course Information l COSC 494/594 Unconventional Computation l Unconventional Computation 1 Course website: web.eecs.utk.edu/~mclennan/Classes/494-UC or 594-UC l Email: maclennan@eecs.utk.edu l Prereqs: linear algebra (basic CS, physics) l Grading: Introduction Fall 2012 Instructor: Bruce MacLennan - Homework (every week or two) - Project or two - Term paper (on some kind of unconventional computation) - Presentation (for 594) Fall 2012 Unconventional Computation Course Outline Unconventional Computation I. Introduction l II. Physics of computation III. Quantum computation l V. Analog computation? VI. Grad presentations on other unconventional computing paradigms Unconventional Computation Unconventional (or non-standard) computation refers to the use of non-traditional technologies and computing paradigms - IV. Molecular computation Fall 2012 2 - 3 Why would you want to do this? Hypercomputation or super-Turing computation refers to computation “beyond the Turing limit” Is this possible? Fall 2012 Unconventional Computation 4 Gate Energy Trends Trend of ITRS Min.'97-'03 Transistor Switching Energy Post-Moore’s Law Computation Based on ITRS ’97-03 roadmaps 1.E-14 250 180 1.E-15 The end of Moore’s Law is in sight! l Physical limits to: - density of binary logic devices - speed of operation 45 fJ 22 Practical limit for CMOS? 1.E-18 Na ïve lin ear ex Room-temperature 100 kT reliability limit One electron volt 1.E-19 l Significant challenges 1.E-20 Will broaden & deepen concept of computation in natural & artificial systems 1.E-21 Unconventional Computation 65 32 Requires a new approach to computation Fall 2012 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 (nm DRAM hp) 1.E-17 l l 90 1.E-16 CVV/2 energy, J l 130 tra p Room-temperature kT thermal energy ola tio n Room-temperature von Neumann - Landauer limit 1.E-22 1995 5 aJ 2000 2005 2010 2015 2020 zJ 2025 2030 2035 2040 2045 Year 2005/05/05 M. Frank, "Introduction to Reversible Computing" 6 1 2012/8/22 X := Y / Z Differences in Spatial Scale Differences in Time Scale 2.71828 0010111001100010100 … Fall 2012 … Unconventional Computation (Images from Wikipedia) 7 Fall 2012 Convergence of Scales Computation on scale of physical processes l Fewer levels between computation & realization l Less time for implementation of operations 9 Computation will be more like underlying physical processes Post-Moore’s Law computing greater assimilation of computation to physics Fall 2012 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 the laws of physics and cannot be completely captured by a closed mathematical model. This fact of embodiment is becoming ever more apparent as we push the bounds of those physical laws.” Fall 2012 8 l l Unconventional Computation Unconventional Computation (Images from Wikipedia) Implications of Convergence l Fall 2012 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 treated independently of hardware l Focus on formal rather than material l Post-Moore’s Law computing: - less idealized - more dependent on physical realization l More difficult l But also presents opportunities… Fall 2012 Unconventional Computation 12 2 2012/8/22 Strengths of “Embodied Computation” l l l Example: Diffusion - its physical realization - its physical environment Many computations performed “for free” by physical substrate l Representation & information processing emerge as regularities in dynamics of physical system Unconventional Computation l 13 Fall 2012 Sigmoids in ANNs & universal approx. Many physical systems have sigmoidal behavior - - l l l Growth process saturates l Resources become saturated or depleted Embodied computation uses free sigmoidal behavior Fall 2012 Unconventional Computation 15 Fall 2012 Occurs naturally in many fluids Can be used for many computational tasks - broadcasting information - massively parallel search for optimization, constraint satisfaction etc. Expensive with conventional computation Free in many physical systems Unconventional Computation Example: Negative Feedback Example: Saturation l l Information often implicit in: Fall 2012 l l 14 Positive feedback for growth & extension Negative feedback for: - stabilization - delimitation - separation - creation of structure Free from - evaporation - dispersion - degradation Unconventional Computation 16 (Images from Bar-Yam & Wikipedia) l l l Many algorithms use randomness - escape from local optima - symmetry breaking - deadlock avoidance - exploration Example: Randomness “Respect the Medium” l For free from: - noise - uncertainty - Imprecision Conventional computer technology “tortures the medium” to implement computation l Embodied computation “respects the medium” l Goal of embodied computation: Exploit the physics, don’t circumvent it “Free variability” Fall 2012 Unconventional Computation (Image from Anderson) 17 Fall 2012 Unconventional Computation 18 3 2012/8/22 Some Non-Turing Characteristics of Embodied Computation l But is it Computing? Fall 2012 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 2012 Unconventional Computation 20 Is EC a Species of Computing? l l l l The Turing Machine provides a precise definition of computation Embodied computation may seem imprecise Non-Turing Computation & difficult to discriminate from other physical processes Expanding concept of computation beyond TM requires an expanded definition Fall 2012 Unconventional Computation 21 Frames of Relevance l l l l Fall 2012 l All models have an associated frame of relevance determined by model’s simplifying assumptions - by aspects & degrees to which model is similar to modelled system A model is like its subject in relevant ways l Unlike it in irrelevant ways l l Using outside FoR may reflect model & simplifying assumptions more than modelled system Unconventional Computation l 23 Turing computation is a model of computation l Determine questions model is suited to answer Fall 2012 22 Models & Simplifying Assumptions CT computation is a model of computation - Unconventional Computation Fall 2012 A model is suited to pose & answer certain classes of questions Thus every model exists in a frame of relevance (FoR) FoR defines domain of reliable use of model Unconventional Computation 24 4 2012/8/22 Example: FoR of Maps The FoR of Turing Computation l 2010/03/22 25 Historical roots: issues of formal calculability & provability in axiomatic mathematics; hence: Finite but unbounded resources l Discreteness & definiteness l Sequential time l l finite number of steps & finite but unlimited resources - computation viewed as function evaluation - discreteness assumptions Fall 2012 l Computational task = evaluation of well-defined function l Computational power defined in terms of sets of functions l Fall 2012 Unconventional Computation 27 l l l 26 Natural Computation - applying natural processes in computation - alternative realizations of formal processes Nanocomputation - direct realizations of non-Turing computations - unique characteristics Quantum & Quantum-like Computation Fall 2012 Unconventional Computation 28 Relevant Issues Outside TC FoR Natural Computation l Unconventional Computation Alternate Frames of Relevance for Expanded Notions of Computation Idealizing Assumptions l - Natural computation = computation occurring in nature or inspired by it Occurs in nervous systems, DNA, microorganisms, animal groups Good models for robust, efficient & effective artificial systems (autonomous robots etc.) l Real-time control l Continuous computation l Robustness l Generality, flexibility & adaptability l Non-functional computation Different issues are relevant Fall 2012 Unconventional Computation 29 Fall 2012 Unconventional Computation 30 5 2012/8/22 Relevant Issues Outside TC FoR l Real-Time Control Error, noise & uncertainty are unavoidable must be part of model of computation - may be used productively - l l l Real-time (RT) response constraints l Asymptotic complexity is usually irrelevant Microscopic reversibility may occur - e.g., reversible chemical reactions - want statistical or macroscopic progress l - Input size typically constant or of limited variability - Computational resources are bounded Relevant: relation of RT response rate to RT rates of its components Computation proceeds asynchronously in continuous-time parallelism Fall 2012 Unconventional Computation 31 Fall 2012 Continuous Computation l l “Metaphysical issues”: - Are continuous quantities - Turing-computable reals vs. standard reals - Vary continuously in real time - Standard reals vs. non-standard reals Computational processes often continuous l More or less powerful than TMs? l Obviously can be approximated by discrete quantities varying at discrete times, but … Fall 2012 Unconventional Computation l 33 Results depend on “metaphysical issues” ⇒ outside FoR of model Naïve real analysis is sufficient for models of natural computation Fall 2012 l l l l Fall 2012 Unconventional Computation 34 Within-Frame Comparison Cross-Frame Comparisons l 32 “Metaphysics” of Reals Inputs & outputs often: l l Unconventional Computation Comparison OK Can we compare models with different FoRs? Yes: can translate one to other’s FoR Typically make incompatible simplifying assumptions Model 1 Results may depend on specifics of translation E.g., how are continuous quantities represented in TC? Unconventional Computation Model 2 Common Frame of Relevance 35 Fall 2012 Unconventional Computation 36 6 2012/8/22 Cross-Frame Comparison Translated Comparison Meaningless Comparison Meaningful Comparison, But Relevant? translation Model 2 Model 1 FoR A Model 1 FoR B Fall 2012 FoR A Unconventional Computation 37 Fall 2012 l Relevant? Model 1 FoR A Fall 2012 l translation Model 1ʹ′ Model 2ʹ′ FoR C l l l l Fall 2012 FoR B Unconventional Computation 38 Notion of Super-Turing computation is relative to FoR of Turing computation Super-Turing computation is important, but so is Non-Turing computation Model 2 FoR B Unconventional Computation 39 Fall 2012 Unconventional Computation What is computation in broad sense? l Digital VLSI becoming a vicious cycle? What FoRs are appropriate for non-Turing computation? l A limit to the number of bits and MIPS l Models of non-Turing computation How fundamentally to incorporate error, uncertainty, imperfection, reversibility? l How systematically to exploit new physical processes? Unconventional Computation 40 Expanding the Range of Physical Computation Some Issues in Non-Turing Computation l Model 2 Super-Turing vs. Non-Turing Translation to Third Frame translation Model 1ʹ′ l 41 Alternative technologies are surpassed before they can be developed False assumption that binary logic is the only way to compute How to break out of the vicious cycle? Fall 2012 Unconventional Computation 42 7 2012/8/22 Possible Physical Realizations of Computation What is Computation? l l l l What distinguishes computing (physically realized information processing) from other physical processes? l Computation is a mechanistic process, the purpose or function of which is the abstract manipulation (processing) of abstract objects - - l Purpose is formal rather than material l Does not exclude embodied computation, which relies more on physical processes Fall 2012 Unconventional Computation Any abstract manipulation of abstract objects is a potential computation 43 But it must be physically realizable Any reasonably controllable, mathematically described, physical process can be used for computation Fall 2012 Unconventional Computation l l Speed, but: faster is not always better - slower processes may have other advantages l Feasibility of required transducers Accuracy, stability & controllability as required for the application - Fall 2012 l - l natural computation shows ways of achieving, even with imperfect components Unconventional Computation l 45 Familiarity of binary logic maintains vicious cycle Natural computation shows alternate modes of computation, e.g.: - information processing & control in brain - emergent self-organization in animal societies Openness to usable physical processes Library of well-matched computational methods & physical realizations Fall 2012 Unconventional Computation l l l l Value of general-purpose computers for all modes of computation Turing model of computation exists in a frame of relevance - not appropriate to natural computation, nanocomputation, quantum / quantum-like computation - central issues of these include continuity, indeterminacy, parallelism “Universality” is relative to frame of relevance E.g., speed of emulation is essential to realtime applications (natural computation) Merely computing the same function may be irrelevant l Broader definition of computation is needed l Facilitates new implementation technologies l Fall 2012 Unconventional Computation 46 Conclusions General-Purpose Computation l 44 Matching Computational & Physical Processes Some Requirements l de novo applications of math models applications suggested by natural computation 47 Fall 2012 Improves understanding of computation in nature Unconventional Computation 48 8