1 / 85

Zhangang Han Beijing Normal University BNU Complex Systems Summer School July 21, 2011

The Bottom Up Approach. Zhangang Han Beijing Normal University BNU Complex Systems Summer School July 21, 2011. Complexity. Problems Representation/Model Results. Simple Simple Simple Simple Complex Complex

kay-salas
Download Presentation

Zhangang Han Beijing Normal University BNU Complex Systems Summer School July 21, 2011

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Bottom Up Approach Zhangang Han Beijing Normal University BNU Complex Systems Summer School July 21, 2011

  2. Complexity Problems Representation/Model Results Simple Simple Simple Simple Complex Complex Complex Complex Complex Complex Simple Plenty and adjustable The Micro-level Mechanism of Macro-level phenomena

  3. Bottom Up • Theory Driven • Data Driven • Agent-Oriented

  4. Mathematical Models vs. Evolving Agents • Math formulas are used to model physics, biology, economics systems: Ordinary Differential Equations, Partial Diff. Equ. • Evolving agents: • Self-interested autonomous individuals • Environment • Rules • Actions • Mutual interactions • Adaptation

  5. Mathematical Models vs. Evolving Agents • MM: global, collective variables • EA: individual variables • MM: represent complex macro-phenomena • EA: how these phenomena emerges • MM: represent interactions with math formulas • EA: represent interactions with rules and actions • MM: interaction style are fixed with the formula • EA: the rules can evolve

  6. Mathematical Models vs. Evolving Agents • MM: behavior of the model is determined by the formula employed • EA: behavior of the system can adapt with environment and rules • MM: individuals are identical in statistical manner • EA: individuals are distinguishable, actions traced

  7. Mathematical Models vs. Evolving Agents • MM: Distinguish endogenous/exogenous variables • EA: Some times exogenous elements are hidden (e.g. agents “decide” what to do, rules can “adapt”) • MM: More computationally efficient in case of very large systems, eg., a typical chemical process (6.02pow(10, 23)) • EA: Computationally inefficient for very large number of agents

  8. 遗传算法

  9. What Are Genetic Algorithms • Charles Robert Darwin, 1809-1882 • The Origin of Species: Survival of the fittest • A Basic GA: • Survival of the fittest • Crossover • Mutation

  10. What Are Genetic Algorithms (2) • 60`s Adaptive Systems • GAs • John Holland, 1975, Adaptation in Natural and Artificial Systems • Kenneth De Jong, 1975, Function Optimization • Evolutionary Programming • Lawrence J. Forgel, 1966 • David B. Forgel, 1992

  11. What Are Genetic Algorithms (3) • Evolutionary Strategies • Ingo Rechenberg, 1973 • Hans Paul Schwefel, 1975 • 一种组合(搜索)算法,基于自然界的基因组合与性状反映和自然选择思想,由基因结构体的一个外界适应性函数指导搜索。

  12. GAs 特性 • Robust(鲁棒性) • Parallel • Adaptive • Domain Independent (领域无关) • 可解决multi-modal的问题 • 不一定每次运行都能找到最优解,但是可以很快找到一个近似解。

  13. GAs 基础 • 描述一个问题的一组变量 x1, x2, ..., xm,可以编码为一个长为 l 的字符串 : • S={a1,a2,..., am} • 字符串有适应性函数f(x1,x2,...xm),问题的解可表示为求f(x1,x2,...xm)的最大值 • 构成集 • 搜索空间

  14. 算法 • Initial Population • 010101110 f1=f(.) • 001110010 f2= • ... ..... fi= • 110110110 fn= • Reproduction • (Roulette Wheel) • Crossover • 000000/000 000000111 • 111111/111 111111000 • Mutation 0--1

  15. 结束条件: • 规定代数 • Fitness达到规定条件 • Max{fi} • Avg{fi} • 例:Fitness函数 • 变量区间: • 表示精度:0.1

  16. and sin log not or x1 x2 x3 x1 x2 x3 Genetic Programming 表示内容,构成集, 杂交,变异

  17. 实数遗传算法 • 个体: 实数 23.56, 36.78 • 优点: 速度快 • 1992, Nicol N Schraudolph (University of California, San Diego) • Dynamic Parameter Encoding • 复制,杂交,变异, • Alpha, beta杂交: • alpha1=(1-lamda)*alpha+lamda*beta • Beta1=lamda*alpha+(1-lamda)*beta

  18. 遗传算法的改进 • 1,按照Rank复制:Advantages, Disadvantages • 2,社会:杂交时选择性别,社会地位 • 3,Niche:定义,相似性,复制,杂交:新个体替换从原群体中选出的S个与新个体相似的个体中,最差的 • 4,寻优速度和成功度 • Re-scale: rescale the fitness function • Convergence speed, and diversity

  19. 履行推销员问题(TSP) • TSP:城市,距离,NP hard (Non-polynomial) • Crossover的不同寻常 • A=9 8 4 | 5 6 7 | 1 3 2 10 • B=8 7 1 | 2 3 10| 9 5 4 6 • C=9 8 4 2 3 10 1 6 5 7 • D=8 10 1 5 6 7 9 2 4 3 • 大于30个城市是效果明显

  20. 从数据中发现规律 • Knowledge Discovery in Databases • Data Mining • Scientific Discovery

  21. Chromosome Scheme Source: John Holland

  22. 画影图形 • VLSI • 超市:哪4种商品一起卖得最多 • 不规则器件的剪裁 • 机器学习

  23. 股票价格预测 • 2000,M.A.,Kaboudan (Penn State) 结果与Naïve 模型(pt=pt-1)比较 GP可预测性

  24. 例: Find the best x,y locations for three radio towers to cover the most towns (and therefore reach the most listeners). Each of the radio towers has a different range.

  25. 例:Select the most effective advertising plan to reach the largest audience while meeting your budget of $50,000. TV and magazines allows discount rates if you advertise with them often.

  26. 例:risk of loss

  27. 收敛复杂性 • Valiant, 1984, Probably Approximately Correct, ACM Communication • 算法步骤随问题的复杂性、所要求的概率、误差精度的提高,多项式地增加。

  28. ICNC09 • Of the theory researches • K. De Jong “Evolutionary Computation: a unified approach”, the Genetic and Evolutionary Computation Conference (GECCO 07), 2007. • “AI in China: a survey”, IEEE Intelligent Systems, vol. 23, no. 6, 2008 • Of practice researches • pattern recognition, evolvable hardware, VLSI routing, computer vision, diesel engine preferences for pollution emission controlling, and network safety and optimization.

  29. Theoretical researches of EA • Convergence speed VS. diversity • The combination of EA with other methods • Computation complexity

  30. Theoretical researches of EA 1. Premature remains to be the hard issue 2.Incorporating new algorithms • EA incorporates with such methods as PSO, multi-agent, quantum theory, immunity etc. • Quantum Genetic Algorithm. • Orthogonal Genetic Algorithm (OGA) . • Multi-Agent Genetic Algorithm (MAGA)3 Incorporating new algorithms • GA based on Immunity (IGA)4 Organizational Co-evolutionary Algorithm for Classification (OCEC)5

  31. Application of EA • Burnable Poisons (BP) placement optimization problem for a core loading in pressurized water reactors (BP loading pattern)6 • To minimize the total Gd amount in the core together with the residual binding at End-of-Cycle (EOC) and to keep the maximum peak pin power and Soluble Boron Concentration (SOB) at the Beginning of Cycle (BOC) both less than their limit values during core depletion. • A practical, simple and efficient GA tool 6. S. Yilmaz and K. Ivanov, “Application of Genetic Algorithm tooptimize Burnable Poison Placement in Pressurized Water Reactors,”the Genetic and Evolutionary Computation Conference (GECCO 05),2005, pp. 1477-1483.

  32. Application of EA • To find UXO (buried unexploded ordnance)7 • A variety of evolutionary computing approaches includes GP, GA, and decision-tree methods. • Predictions were then compared with a ground-truth file and the number of false positives and negatives determined. A 5% of false negative (ordnance not found) is achieved. 7. E. R. Banks, E. Núñez, and C. Owens et al., “Genetic ProgrammingDiscrimination of Buried Unexploded Ordnance (UXO),” the Geneticand Evolutionary Computation Conference (GECCO 05), 2005.

  33. Application of EA • To optimize cancer chemotherapy, find effective chemotherapeutic treatments8 • A methodology for using heuristic search methods • Two evolutionary algorithms - Population Based Incremental Learning (PBIL) and GA • By comparing and analyzing the performance of both algorithms, a conclusion was made as to which approach to cancer chemotherapy optimization is more efficient and helpful in the decision-making activity led by the oncologists. 8. A. Petrovski, S. Shakya, and J.McCall, “Optimising CancerChemotherapy using an Estimation of Distribution Algorithm andGenetic Algorithms,” the Genetic and Evolutionary ComputationConference (GECCO 06), 2006, pp. 413-418.

  34. Application of EA • Fingerprint compression and reconstruction (develop the wavelet scale)9 • A revised GA • Found that the evolution of new wavelet and scaling numbers for optimized transformed that consistently outperform the 9/7 Discrete Wavelet Transform (DWT). 9. B. Babb, “Evolved transforms surpass the FBI Wavelet for ImprovedFingerprint Compression and Reconstruction,” the Genetic andEvolutionary Computation Conference (GECCO 07), 2007, pp. 2603-2606.

  35. Application of EA • Evolvable Hardware (EHW)10 • Combine EA with Programmable Logical Devices (PLD), re-configurable, binary bit • It is booming in circuit design, cybernetics and robotics, fault-tolerant system, pattern recognition and Very Large Scale Integrated circuits (VLSI) design The difficulties in implementing speed and evaluating speed for chromosome. 10. T. G. W. Gordon, P. J. Bentley, On evolvable hardware, in: S.Ovaska, L. Sztandera (Eds.), Soft Computing in IndustrialElectronics, Physica-Verlag, Heidelberg, Germany, 2002, pp. 279-323.

  36. Agents

  37. Bridge bt. Macro-Micro Levels Previous Phys. or Econ. did not cover the gap Irreversible non-equilibrium macro level phenomena Emergence: Evolving Agents Bottom-up Simulation Simple reversible micro level interactions

  38. Adaptation Self-Reinforcement Learning Previous Experiences (Memory ) Pos. & Neg. Feedback Balance

  39. 什么是? • 什么是一个Agent系统,现在并没有一个各个领域公认的,严格的定义。由于应用领域不同,研究人员们对于Agent系统的定义也都从不同的角度出发来建立。 • 有研究者认为,Agent的定义,更像一个研究建模思路,而不是一个具体的技术[Bonabeau, 2002]。另外的研究者认为,Agent的定义,更应该是对一个系统建立模型的工具或方法的描述,而不是用来严格界定现实中或模型中的组成单元,什么是Agent或什么不是Agent[Russell and Norvig, 2003]。

  40. Characteristics • 自主性(Autonomy) • 同质性/异质性(Homogeneity/ Heterogeneity) • 反应与感知(Reactive/Perceptive) • 有限理性(Bounded Rationality) • 相互作用与通讯(Interactive/ Communicative) • 自适应性与学习(Adaptation/ Learning)

  41. 基于agent的建模,在国际上受到越来越多研究者的重视。2007年9月Science发表了哈佛大学教授,NECSI创始人Yaneer Bar-yam等人基于agent的模型,很好地解释了前南斯拉夫和印巴边境的种族骚乱[1]。Yaneer Bar-yam教授认为“这显示了基于agent空间建模研究得到科学界的承认”。

  42. Agent的协作与分工是一个科学研究的前沿问题[2]。芝加哥大学教授与Santa Fe 研究所创始人之一John Holland,也是CAS (Complex Adaptive Systems) 的提出者[2],他在2006年强调,agent的研究只有解决了相互协作与分工的问题才能说有了本质进步[3]。

  43. 爱荷华州立大学的Leigh Tesfatsion教授在2001年10月IEEE Transactions on Evolutionary Computation组织了专辑[4], 将这方面的研究称为ACE (Agent-based Computational Economics)。发表在美国科学院会刊(PNAS)的文章反映了这一研究领域得到了科学界的高度关注[5-7]。ACE(Agent-based Computational Economics)使用基于agent的模型研究经济问题,吸引了很多学者围绕此领域开展研究[8-10]。

  44. 卡耐基梅隆大学计算机系的Kathleen Carley教授领导的小组关于企业组织的工作[11]已经使得很多社会科学家对基于agent的计算建模和计算组织理论越来越感兴趣[12]。

  45. UCLA的Bill McKelvay教授在Anderson School of Management建立了复杂性研究的本科方向,重点推动基于agent的模型用于管理学研究。 • 关于agent的研究发表渠道也从人工智能领域独立区分出来,建立了Journal of Autonomous Agents and Multi-Agent Systems (JAAMAS), 和AAMAS会议(原本此方面研究存在于在AAAI会议中,2002年独立成agent领域的国际会议)。

  46. 基于agent的模型有一些优势,如可以方便地将一些不易数学化的规则纳入模型,可以方便地表示学习,发展(develop)等外生的信息。这使得它区别于传统模型方法,如微分方程,统计分析和系统动力学等[2]。因此,基于agent的模型被广泛应用,形成一个新的,自底向上的模型方法[13]。基于agent的模型有一些优势,如可以方便地将一些不易数学化的规则纳入模型,可以方便地表示学习,发展(develop)等外生的信息。这使得它区别于传统模型方法,如微分方程,统计分析和系统动力学等[2]。因此,基于agent的模型被广泛应用,形成一个新的,自底向上的模型方法[13]。

  47. Global Pattern Formation and Ethnic/Cultural Violence May Lim, Richard Metzler, Yaneer Bar-Yam New England Complex Systems Institute Science 317, 1540 (Sep. 14, 2007)

  48. Abstract • Violence arises at boundaries between regions that are not sufficiently well defined. • Model cultural differentiation as a separation of groups whose members prefer similar neighbors, with a characteristic group size at which violence occurs. • Application of this model to the area of the former Yugoslavia and to India accurately predicts the locations of reported conflict. • Mixing or boundary clarification as mechanisms for promoting peace.

  49. Over the past 100 years, more than 100 million people have died in violent conflicts (1). Of these deaths, a great number are attributable to ongoing local conflict between culturally or ethnically distinct groups. A scientific understanding of the underlying causes of ethnic violence could lead to policy changes that may help stop or prevent it.

More Related