Darwinian Evolution. Evolutionary Algorithms. Genetiske og Adferdsbaserte metoder -> Evolusjonære metoder. Semantic. Physiological, Behavioral

Like dokumenter
)RUVNQLQJVPHWRGLNNLQQHQ.XQVWLJLQWHOOLJHQV

Genetiske og Adferdsbaserte metoder -> Evolusjonære metoder

Kunstig intelligens (MNFIT-272) - høst 2002.

.XQVWLJLQWHOOLJHQV01),7K VW )RUHOHVQLQJ. Emne: Subsymbolske metoder

Unit Relational Algebra 1 1. Relational Algebra 1. Unit 3.3

Neural Network. Sensors Sorter

Dynamic Programming Longest Common Subsequence. Class 27

Databases 1. Extended Relational Algebra

Molare forsterkningsbetingelser

Seksjon for Intelligente Systemer. Agnar Aamodt (Seksjonsleder) Keith Downing (Nestleder)

5 E Lesson: Solving Monohybrid Punnett Squares with Coding

Call function of two parameters

UNIVERSITETET I OSLO

Andrew Gendreau, Olga Rosenbaum, Anthony Taylor, Kenneth Wong, Karl Dusen

EXAM TTM4128 SERVICE AND RESOURCE MANAGEMENT EKSAM I TTM4128 TJENESTE- OG RESSURSADMINISTRASJON

Speed Racer Theme. Theme Music: Cartoon: Charles Schultz / Jef Mallett Peanuts / Frazz. September 9, 2011 Physics 131 Prof. E. F.

Slope-Intercept Formula

EN Skriving for kommunikasjon og tenkning

MNFIT 272. Kunstig intelligens (AI) 2002

SVM and Complementary Slackness

IN2010: Algoritmer og Datastrukturer Series 2

Moving Objects. We need to move our objects in 3D space.

IT 272. Kunstig intelligens (AI) 2000

On Capacity Planning for Minimum Vulnerability

Referansearkitektur use cases. Kjell Sand SINTEF Energi AS NTNU Institutt for elkraftteknikk

En praktisk innføring i team-basert læring

Maple Basics. K. Cooper

Dagens tema: Eksempel Klisjéer (mønstre) Tommelfingerregler

Improving Customer Relationships

UNIVERSITETET I OSLO ØKONOMISK INSTITUTT

Psychology as the Behaviorist Views it. John B. Watson (1913).

HONSEL process monitoring

FIRST LEGO League. Härnösand 2012

IT Kunstig intelligens (AI) 2006

Graphs similar to strongly regular graphs

European Crime Prevention Network (EUCPN)

Hvordan komme i gang med ArchiMate? Det første modelleringsspråket som gjør TOGAF Praktisk

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

Splitting the differential Riccati equation

Den europeiske byggenæringen blir digital. hva skjer i Europa? Steen Sunesen Oslo,

ISO 41001:2018 «Den nye læreboka for FM» Pro-FM. Norsk tittel: Fasilitetsstyring (FM) - Ledelsessystemer - Krav og brukerveiledning

Mastergrad Læring i Komplekse Systemer

case forts. Alternativ 1 Alternativer Sammensetning Objekt-interaktor med valg

Nasjonalt kvalifikasjonsrammeverk og læringsmål i forskerutdanningen

Samhandling i prosjekter et forskerblikk på Nødnettprosjektet. Therese Dille, PhD

INF5820. Language technological applications. H2010 Jan Tore Lønning

UNIVERSITY OF OSLO. Make sure that your copy of this examination paperis complete before answering.

Dean Zollman, Kansas State University Mojgan Matloob-Haghanikar, Winona State University Sytil Murphy, Shepherd University

8.7 Artificial Intelligence

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

Public roadmap for information management, governance and exchange SINTEF

Generalization of age-structured models in theory and practice

HARP-Hybrid Ad Hoc Routing Protocol

Guidance. CBEST, CSET, Middle Level Credential

Level Set methods. Sandra Allaart-Bruin. Level Set methods p.1/24

INF2820 Datalingvistikk V2011. Jan Tore Lønning & Stephan Oepen

TDT4117 Information Retrieval - Autumn 2014

Bostøttesamling

Examination paper for (BI 2015) (Molekylærbiologi, laboratoriekurs)

TFY4170 Fysikk 2 Justin Wells

GEO231 Teorier om migrasjon og utvikling

3/1/2011. I dag. Recursive descent parser. Problem for RD-parser: Top Down Space. Jan Tore Lønning & Stephan Oepen

Snapshots of AI methods and applications

Midler til innovativ utdanning

buildingsmart Norge seminar Gardermoen 2. september 2010 IFD sett i sammenheng med BIM og varedata

SRP s 4th Nordic Awards Methodology 2018

Level-Rebuilt B-Trees

Oppgave 1a Definer følgende begreper: Nøkkel, supernøkkel og funksjonell avhengighet.

Store og komplekse informasjonssystemer

MID-TERM EXAM TDT4258 MICROCONTROLLER SYSTEM DESIGN. Wednesday 3 th Mars Time:

Kurskategori 2: Læring og undervisning i et IKT-miljø. vår

UNIVERSITETET I OSLO

koordinering og samhandling i perioperativt arbeid

Quality in career guidance what, why and how? Some comments on the presentation from Deidre Hughes

May legally defined terms be useful for improved interoperability in the public sector?

INTELLIGENT TEKNOLOGISK LIV

Du må håndtere disse hendelsene ved å implementere funksjonene init(), changeh(), changev() og escape(), som beskrevet nedenfor.

What is is expertise expertise? Individual Individual differ diff ences ences (three (thr ee cent cen r t a r l a lones): easy eas to to test

Medisinsk statistikk, KLH3004 Dmf, NTNU Styrke- og utvalgsberegning

KROPPEN LEDER STRØM. Sett en finger på hvert av kontaktpunktene på modellen. Da får du et lydsignal.

VLSI Design for Yield on Chip Level

Eksamensoppgaver til SOSANT1101. Regional etnografi: jordens folk og kulturelt mangfold. Utsatt skoleeksamen 12. desember 2013 kl.

UNIVERSITETET I OSLO

Universitetet i Bergen Det matematisk-naturvitenskapelige fakultet Eksamen i emnet Mat131 - Differensiallikningar I Onsdag 25. mai 2016, kl.

Ole Isak Eira Masters student Arctic agriculture and environmental management. University of Tromsø Sami University College

The exam consists of 2 problems. Both must be answered. English

SFI-Norman presents Lean Product Development (LPD) adapted to Norwegian companies in a model consisting of six main components.

Exercise 1: Phase Splitter DC Operation

Nærings-PhD i Aker Solutions

Syntax/semantics - I INF 3110/ /29/2005 1

UNIVERSITETET I OSLO ØKONOMISK INSTITUTT

Trigonometric Substitution

Uke 5. Magnus Li INF /

Little Mountain Housing

0:7 0:2 0:1 0:3 0:5 0:2 0:1 0:4 0:5 P = 0:56 0:28 0:16 0:38 0:39 0:23

Samferdselsdepartementet. Kunstig intelligens. Anders Martin Fon. April Samferdselsdepartementet

UNIVERSITETET I OSLO ØKONOMISK INSTITUTT

Litteraturoversikter i vitenskapelige artikler. Hege Hermansen Førsteamanuensis

From Policy to personal Quality

Transkript:

Kunstig intelligens (IT-272) Forelesning Genetiske og Adferdsbaserte metoder -> Evolusjonære metoder Emner: Evolusjonær komputasjon - Genetiske algoritmer - Genetisk programmering - Kunstig liv Forskningsmetodikk innen Kunstig intelligens - Revidert definisjon - AI som empirisk vitenskap - Kognitiv vitenskap som metodisk tilnærming - Epistemologiske problemer Fra kognitive til biologiske - og etologiske - modeller av intelligent adferd. Intelligent adferd forårsakes ikke av modeller som er representert i maskinen, den oppstår i vekselvirkning med omgivelsene. Basis for det nye fagfeltet 'Artificial Life'. Darwinian Evolution Physiological, Behavioral Phenotypes Natural Selection Ptypes Evolutionary Algorithms Parameters, Code, Neural Nets, Rules Semantic Performance Test P,C,N,R Morphogenesis Genotypes Reproduction Recombination & Mutation Sex Gtypes Translate Bit Strings R &M Generate Recombination & Mutation Bits Genetic Syntactic

Evolutionary Computation = Parallel Stochastic Search A general form of the genetic algorithm: Indiv 2 3 4 5 6 Fitness 3 8 2 4 Translation & Performance Test Selection Biasing Biased Roulette Wheel 6 5 4 2 3 Selection Next Generation Mutation Crossover Types of Evolutionary Algorithms Genetic Algorithms (Holland, 975) Representation: Bit Strings => Integer or real feature vectors Syntactic crossover (main) & mutation (secondary) Figure.: Use of crossover on two bit strings of length eight. # is don t care. Evolutionary Strategies (Recehenberg, 972; Schwefel, 995) Representation: Real-valued feature vectors Semantic mutation (main) & crossover (secondary) Evolutionary Programs (Fogel, Owens & Walsh, 966; Fogel, 995) Representation: Real-valued feature vectors or Finite State Machines Semantic mutation (only) View each individual as a whole species, hence no crossover Genetic Programs (Koza, 992) Representation: Computer programs (typically in LISP) Syntactic crossover (main) & mutation (secondary)

Evolutionary Computation Requirements Domain that supports quantitative fitness assignment Fitness function that accurately evaluates performance Representation for solutions that tolerates mutation & crossover Classic Genetic Algorithm Travelling Salesman Problem (TSP) Given: N cities & matrix of distances between them. Find: Shortest cyclic tour that visits all cities. P P2 P3 7 4 X 5 2 5 2 7 4 NP-Hard: Exponential to both find solutions & to verify solutions Heuristic Methods: Find optimal solutions when N<. Genetic Algorithm: Find good solutions for any N Applications: Network building, Delivery routing, Sequence scheduling... Applying GAs to TSP Representational Issues for GA-based TSP Fitness Function: /tour-length or optimal-tour-length/tour-length Chromosome: Direct Representation: List of cities (standard approach) 7 3 25 3 2 5 4. Indirect Representation: List of next city to pull from ordered list and insert into the solution sequence 2 3 5. => 2 4 6 9 6 3 2 5 4 4 2 3 5 6 X 6 3 2 5 6 4 2 3 5 4 2 x 6; x 4 2 x 4; x 6 Crossover Standard Bit or Integer Cross: Only works for indirect representations Location Preserving: Children inherit, as much as possible, cities in same gene location as parents Edge Preserving: Children inherit, as much as possible, city-city edges from parents (actual edge locations in the chromosome may vary from parent to kid) *Crossover is the key element to TSP GA s - and where most research is done. Standard Crossover & Mutation are purely syntactic => pay no attention to semantics (i.e. The meanings of the bits or integers that they manipulate). Direct representations often embody constraints that simple crossover & mutation cannot enforce. Indirect representations usually involve fewer constraints, so simple crossover & mutation are often sufficient. Compare to Process Scheduling (Kidwell), where constraints (i.e. All alleles between and N) were easy to enforce.

Inheritance For GA s to make progress, they must pass on many of the good features from generation G to generation G+. Hence, when parents crossover, the good features of each should be preserved in at least one of the children. Biology: Heritability = degree to which children resemble their parents (X kid-avg -X pop-avg ) = heritability*(x parent-avg -X pop-avg ) Location Preservation (985-988) With PMX & Subtour exchanges, kids inherit many cities in the same position as in one of the parents. Results not that promising => GA viewed as inappropriate for TSP. Table.: The gray coded bit pattern for the binary numbers,,..., 5. Edge Preservation (989 - present) Edges are the key contributors to TSP costs (fitness), so what we really need to preserve are city pairs (i.e. Edges) of TSP tours. GA s with edge focus perform much better, near optimal => GA useful for TSP! Figure.2: Genetic algorithms visualized as parallel hill climbing, adapted from Holland (986). Using Evolutionary Algorithms When Large, rough search spaces Satisficing or Optimization problems Entire solutions are easily generated and tested Exhaustive search methods are too slow Heuristic search methods cannot find good solutions (e.g. Stuck at local max) How Determine EA-amenable representation of solutions Define fitness function Define selection function = roulette-wheel biasing function (f: fitness -> area) Set key EA parameters: population size, mutation rate, crossover rate, # generations, etc. * EA s are easy to write, and there s lots of freeware! * Specific problems often require specific representations & genetic operators

Application Areas for Evolutionary Algorithms Optimization: Controllers, Job Schedules, Networks(TSP) Electronics: Circuit Design (GP) Finance: Stock time-series analysis & prediction Economics: Emergence of Markets, Pricing & Purchasing Strategies Sociology: cooperation, communication, ANTS! Computer Science Machine Learning: Classification, Prediction Algorithm design: Sorting networks Biology Immunology: natural & virtual (computer immune system) Ecology: arms races, coevolution Population genetics: roles of mutation, crossover & inversion Evolution & Learning: Baldwin Effect, Lamarckism Artificial Life Biology = study of carbon-based life life as we know it Alife = study of the dynamics of living systems, regardless of substrate. life as it could be Substrates: abstract chemistries, logical networks, cellular automata, abstract ecosystems, emulated computers.. Emergence & Self-Regulation The signal feature of life is not the carbon-based substrate...(but)...that the local dynamics of a set of interacting entities (e.g. molecules, cells, etc.) supports an emergent set of global dynamical structures which stabilize themselves by setting the boundary conditions within which the local dynamics operates (Charles Taylor, biologist, UCLA) Properties of Alife Systems Synthetic: Bottom-up, multiple interacting agents Self-regulating: No global/centralized control. Self-Organizing: Global structure is emergent. Global Structure Adaptive: Learning and/or evolving Constraints Emergence Complex: On the edge of chaos; dissipative Agents

Relevant Domains for Alife Individual organisms: physiology, behavior, ontogeny Social insect colonies (Ants!!): emergence of super-organism Populations of organisms: evolution Ecosystems: emergence & evolution MicroEconomics: populations of buyers & sellers Sociology: emergence & evolution of societies Traffic: emergence of flow/jam patterns Robotics: Emergence of Intelligent behaviors w/o global control Abstract computational models: logic, chemistry, physics Why Study Alife? Understanding Emergent Phenomena Synthetic approaches -vs- analytic reductionism Chaos, complexity, self-organization Biological Research Test effects of local behaviors upon populations Genetic Engineering Computer Science Nanotechnology, Animation AI: Intelligence Architectures, Evolutionary Computation Educational Toolkits: Social systems (SimCity) Ecosystems (SimLife, SimEarth), Economical systems Research Methodology: AI as Empirical Science Fra første leksjon: KUNSTIG INTELLIGENS AI - Artificial Intelligence Foresltåtte definisjoner Den delen av informatikk-feltet som dreier seg om automatisering av intelligent adferd. Det som kunstig intelligens forskerne driver med. "Det som datamaskiner ikke kan". Generell men ullen Pragmatisk Lite informativ Kunstig intelligens - revidert definisjon: Kunstig intelligens er studiet av de underliggende mekanismene for intelligent adferd, gjennom konstruksjon og testing av systemer som forsøker å realisere slike mekanismer. Vitenskapelig vinkling: Studiet av intelligente systemer relatert til datamaskinelle prosesser. Teknologsk vinkling: Utvikle smartere datasystemer Seriøs men todelt

Fundamentals - The knowledge level Based on our experience of the last 5 chapters, we offer a revised definition of artificial intelligence: AI is the study of the mechanisms underlying intelligent behavior through the construction and evaluation of artifacts that attempt to enact those mechanisms. LEVELS OF SYSTEM DESCRIPTION Knowledge Level Functional Level Physical Level THE KNOWLEDGE LEVEL IN AI: A. Newell: "There exists a distinct computer system level, lying immediately above the symbol level, which is characterized by knowledge as the medium and the principle of rationality as the law of behavior." Knowledge level Medium: Knowledge Bh. laws: Principle of Rationality Symbol level Medium: Programs, data structures Bh. laws: Sequential interpretation of progra Register-transfer level Medium: Bit vectors Bh. laws: Paralell logic Logic circuit level Medium: Bits Bh. laws: Boolean algebra Electrical circuit level Medium: Voltage/current Bh. laws: Ohm's law, Kirchhoff's law Electronic device level Medium: Electrons Bh. laws: Electron physics The Physical Symbols System Hypothesis: The necessary and sufficient condition for a physical system to exhibit general intelligent action is that it be a physical symbol system. Sufficient means that intelligence can be achieved by any appropriately organized physical symbol system. Necessary means that any agent that exhibits general intelligence must be an instance of a physical symbol system. The necessity of the physical symbol system hypothesis requires that any intelligent agent, whether human, space alien, or computer, achieve intelligence through the physical implementation of operations on symbol structures. General intelligent action means the same scope of action seen in human action. Within physical limits, the system exhibits behavior appropriate to its ends and adaptive to the demands of its environment.

Kunstig intelligens som empirisk vitenskap Det kunnskapsbaserte paradigmet Fysisk symbolsystem hypotesen Den nødvendige og tilstrekkelige betingelse for at et fysisk system kan oppvise intelligent adferd, er at det er et fysisk symbolsystem. nødvendig?, tilstrekkelig? Utfordringer til det kunnskapsbaserte paradigmet Nevrale nett, konneksjonisme Evolusjonære, adferdsbaserte metoder (symbolprosesserende metoder) (subsymbolske metoder) (sub/ikke-symbolske metoder) Felles for alle: Den empiriske forskningsmetode dvs. at datamaskin-programmer er eksperimenter: En forsøker å forstå intelligent adferd ved å - foreslå modeller for representasjon/problemløsning/læring - utvikle metoder og bygge systemer som realiserer dem - teste og evaluere resultatet - revidere de opprinnelige modellene og/eller enkeltmetodene - osv. erstatning av eller tillegg til kunnskapsbaserte metoder?. Symbolprosesserende metoder Gir opphav til 3 generelle forskningstilnærminger: - Teoretisk, analytisk rettet - Design- og modelleringsrettet - Konstruksjons- og implementasjonsrettet Metodologisk basis KBS (Knowledge-Based Systems): Objekter og fenomener i den reelle verden kan representeres som symbolstrukturer i datamaskiner. Søkemekansimer - spesielt heuristiske metoder - opererer over symbolstrukturene, og muliggjør kognitive prosesser (persepsjon, problemløsning, læring, resonnering). Separasjon av kognisjon og kognitive arkitekturer fra dens spesielle fysiske realisering. Kalles ofte 'funksjonalisme'.

2. Sub- og non-symbolske metoder Metodologisk basis ANN (artificial neural networks): Implisitt kunnskap er distribuert i et nettverk av sammenkoblede noder, og intelligent adferd oppstår som resultat av oppretting, styrking, svekking og nedkobling av forbindelser mellom nodene. EC (evolutionary computation): Implisitt kunnskap er bitstrenger eller andre sekvenser som konkurrerer om å overleve og å få bidra til videre utvikling av intelligent adferd. AL (artificial life): Intelligent adferd utvikles fra enkle basismekanismer som styrkes, endres, forsvinner, eller kombineres avhengig av stimulus fra omverdenen. Generelt for all AI To prinsipielt forskjellige måter å utvikle intelligent oppførset på: bunn-opp dvs. fra data, observasjon, interaksjon i omverden topp-ned dvs. fra en initiell modell av omverden Mye oppmerksomhet rundt: -> hvordan kombinere de to? Vitenskapelig <-> ingeniørmessig vinkling Vitenskapelige studier innen AI - har økt forståelse av fenomenet intelligens som generelt mål - er koblet til utvikling av praktiske applikasjoner ved at - problemstillinger i verden gir input til forskningshypoteser - utviklingen av praktiske applikasjoner blir endel av den eksperimentelle basis for metodeutviklingen - forskningen gir resultater som benyttes for å bygge bedre og mer nyttige datamaskinsystemer Kognisjonsvitenskap (Cognitive Science) Samlebetegnelse for tverrfaglig fagområde for studiet av kognitive prosesser ( tenkning ) i mennesker - og andre komplekse systemer Kombinerer innsikt og metoder fra områdene - informatikk (AI, HCI) - psykologi (kognitiv psykologi) - filosofi (epistemologi) - lingvistikk (setningsanalyse, språkforståelse) - nevro-vitenskap (kognitiv neuroscience) - antropologi (kognitiv antropologi)

Kognisjonsvitenskap (Cognitive Science) Basis - funksjonalisme, dvs. kognitive prosesser kan realiseres i ulike fysiske systemer - computasjonalisme intelligens kan modelleres og/eller realiseres i komputasjonelle modeller - dvs. i datamaskiner Nyere retning - situated cognition intelligens kan ikke løsrives fra situasjonen den oppstår og utøves i - modeller konstrueres I interaksjon med omgivelsene AI som vitenskap - åpne spørsmål Representasjonell ubestembarhet - hvordan finne en god representasjon av et problem? Fysisk symbolsystem antagelsen - vs. embodyment and situatedness? Behovet for falsifiserbare modeller - under hvilke forhold virker ikke metoden? Tolkning av mening - begrenset semantisk tolkning vs. pragmatikk? Begrensninger i den vitenskapelige metode - har ført oss langt, men komme vi langt nok? Figure 6. Truncated chessboard with two squares covered by a domino. Figure 6.2 A set of data points and three function approximations.

Critical questions that remain for creating artificial intelligence:. The representation problem. 2. The role of embodiment in cognition. 3. Culture and intelligence. 4. Characterizing the nature of interpretation. 5. Representational indeterminacy. 6. The necessity of designing computational models that are falsifiable. 7. The limitations of the scientific method.

Anbefales:. Dra nytte av tilbudet innen AI-fag ved IDI.. Maskinlæring og Case-basert resonnering (vår, as). 2. Intelligente brukergrensesnitt (vår, as). 3. Distribuert kunstig intelligens og intelligente agenter (vår, ts). 4. Datasyn (vår, ts). 5. Funksjonell programmering (høst, as). 6. Logikk (høst, ts). 7. Kunnskapsrepresentasjon (høst, as). 8. Subsymbolsk AI (høst, as). 9. Naturlig språk grensesnitt.. Statistisk bildeanalyse og -læring + Fordypningsemner, Dr.gradsfag. 2. Mye spennende skjer følg med.. Vår forskning: Ansattes Web-sider 2. Generelt: http://www.aaai.org/aitopics