CN106203634A - 一种基于因果图启发式的并行概率规划方法 - Google Patents

一种基于因果图启发式的并行概率规划方法 Download PDF

Info

Publication number
CN106203634A
CN106203634A CN201610580434.2A CN201610580434A CN106203634A CN 106203634 A CN106203634 A CN 106203634A CN 201610580434 A CN201610580434 A CN 201610580434A CN 106203634 A CN106203634 A CN 106203634A
Authority
CN
China
Prior art keywords
cause
effect diagram
variable
value
design
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610580434.2A
Other languages
English (en)
Other versions
CN106203634B (zh
Inventor
饶东宁
朱永亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201610580434.2A priority Critical patent/CN106203634B/zh
Publication of CN106203634A publication Critical patent/CN106203634A/zh
Application granted granted Critical
Publication of CN106203634B publication Critical patent/CN106203634B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/01Probabilistic graphical models, e.g. probabilistic networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Probability & Statistics with Applications (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

本发明提供一种基于因果图启发式的并行概率规划方法,主要涉及人工智能、并行不确定规划等领域。包括如下模块:(1)基于因果图的启发式算法模块,使用问题实例的因果图信息来设计启发式算法,提高解题(求解规划方案)效率;(2)规划器设计模块,利用java语言对(1)中的算法加以实现,开发相应的规划器并实例化各领域问题;(3)测试和优化模块,在IPPC的基准领域和一些自己设计的应用领域进行测试,并在测试进一步优化程序。本发明的特点是,基于因果图的启发式算法能够在问题规模很大的时候,能够更好的处理高维空间问题,对于现实生活中相对难以获得的最优解的问题,该方法能高效且容易得到次优解,从而解决了现实生活中规划问题出现的维度灾难问题而导致算法的性能急剧下降,甚至不可行等缺点。

Description

一种基于因果图启发式的并行概率规划方法
技术领域
本发明涉及人工智能、机器学习、并行概率规划等领域,特别涉及到了一种基于因果图启发式算法的并行概率规划方法设计。
背景技术
智能规划是人工智能研究领域的一个热门分支,也是尤为重要的分支。它的主要思想是:对周围环境进行认识与分析,根据自己要实现的目标,对若干可供选择的动作及所提供的资源限制实行推理,从而综合指定出用以实现目标的规划。规划问题由领域描述(包括所有可执行的操作等)、初始状态和目标状态组成,规划问题的求解,就是利用推理或搜索等方法,以寻找一个从初始状态到目标状态的有效动作序列,这个动作序列就是所谓的规划(plan)解。
并行概率规划(PPP)领域,具有动作可并行和动作效果不确定两大特点,使得该领域问题能够更好的描述实际问题,对该领域问题的求解将带来更大的实用价值。由于动作可并行性和动作效果不确定性,导致问题的状态空间迅速增长,对大存储空间的要求甚至会导致无法实现,时间复杂度的增加不仅会使性能变差,甚至在时间约束下使得问题求解失败。而且,在现实问题中,相对难以获得的最优解,我们往往原意接受或更加需要高效易得的次优解。对于大规模空间的搜索,启发式方法表现了不错的性能和实用性。本发明以启发式方法为核心,通过设计启发式函数,来实现对状态空间的高效搜索,从而实现快速优质的求解。
发明内容
本发明主要研究如何通过高效的算法设计,特别是基于因果图的启发式算法设计,设计一个高效而快速的规划问题求解方法。
为了实现发明目的,本发明采用的技术方案为通过推导因果图从而设计启发函数,同时编写相应的规划器,最后通过将并行不确定规划领域问题实例加载到规划器中进行测试和验证,如图1所示。主要步骤如下:
1.因果图推导和启发函数的设计
为了解决大规模搜索空间的问题,我们决定采用启发式的方法来解决计算量过大的问题,而因果图是对问题本身内涵知识的反应,提供了相当的启发信息。我们借助问题的因果图来得到启发信息,进而计算启发值从而得到启发式函数。
2.规划器程序设计
通过将基于因果图的启发式算法进行代码实现,编写高质量的规划器代码,从而实现对领域实例的求解。
3.算法检验和优化;
通过将通用的规划问题实例加载到规划器中,监测相应的参数,如规划时间、规划长度、总的动作数等,进一步优化算法,使其具有自动学习的能力,能够有效的处理新领域问题。
附图说明
图1因果图启发式的并行概率规划方法的流程
图2因果图启发式的并行概率规划方法的系统
具体实施方式
下面结合附图对本发明做进一步的说明。本发明针对基于因果图启发式算法设计、规划器实现和算法验证优化三个方面进行研究。图2为系统设计。
下面分别叙述各步骤的具体内容:
(1)因果图推导和启发式算法设计
结合确定性规划领域的成功方法,将启发式的思想应用到概率不确定性规划领域(PPP),在动作效果方面,借鉴并改进删除边的方法,对问题变量选择性放松删除效果。对于启发式函数的设计,借鉴SAS+及SAS+-1子任务的思想,利用因果图实现启发式函数的推导与快速计算。
1.1根据领域描述(领域描述由IPPC-2011的8个问题领域给出),提取各领域的多值规划模型Π(设该模型有,reward=r(x,y),其中x,y为命题变量)。为利于因果图的推导,结合SAS+-1的思想,通过拆分动作和组合状态变量变换模型动作为一元(每一动作只对一个状态变量产生作用),如针对电梯领域:
reward=EPRD*Σ(piegu*edu+piegd*!edu)+EPWD*Σ(piegu*!edu+piegd*edu)+PPW*Σ(pwu+pwd)
1.2根据模型Π,得到各个命题变量的域转移图。对于含参变量的处理,按参数拆分为多个变量,或将单一参数作为多值的值域。
1.3提取域转移图信息,得到各命题变量的因果图。依各命题变量为完全检索,只做紧邻的一层因果关系,通过层次迭代实现完整因果关系。
1.4借助因果图,设计启发函数。启发函数的设计,结合上面提到的几种方法的优点,对于reward的参数变量(x,y)使用“不删除”方式扩展(即前面提到的“删除动作效果的删除边”),每时间步乘以折扣值系数d来衰减影响,在部分命题变量的启发值之间使用加和式方法累加启发值,据此将命题变量分组,组内采用加和方法,组件使用最大代价法以保证可采纳。
h=max(h1,h2,...)
h i = Σ j = 0 ∞ d j * ( γ 1 * v ( p i e g u ( 0 ) ) + γ 2 * v ( p i e g u ( 1 ) ) ) + r map t
γ1为可调参数,γ2=γ(α,β,EPRD,EPWD)依据当前楼层等候者的分布计算加权惩罚值,为根据时间步t的楼层等候者的分布来计算的等候惩罚值。
(2规划器编码实现
在程序开发阶段,利用java语言对算法加以实现,开发规划器。仍然像我们一直强调的,效率问题是重中之重,在优质的算法前提下,代码质量对于求解速度表现也是至关重要的。这一阶段需要提高代码能力(java的一些特殊用法,提高程序效率),阅读现行规划器代码,学习使用相关工具(如:内存数据库)和技巧(静态调优,等)。重点在于,实例化各领域问题和启发式的实现。
(3)测试和优化
我们将在IPPC的基准领域和一些自己设计的应用领域进行测试,并在测试进一步优化程序,最终论证基于因果图的启发式算法,确实能够求解大规模的概率规划问题,进而应用在实际问题当中。
以上显示和描述了本发明的基本原理和主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。

Claims (2)

1.一种基于因果图启发式的并行概率规划方法,主要包括如下步骤:
(1)因果图推导和启发函数的设计;
(2)规划器程序设计;
(3)算法检验和优化。
2.根据权利要求1所述的启发式算法设计模块,其特征是,步骤(1)具体包括:
(2-1)根据领域描述,提取各领域的多值规划模型Π,设该模型中有reward=r(x,y),其中x,y为命题变量,结合多值规划模型SAS+,做一些约束,当图中有这样一个节点H,使得图中所有其他节点都有边指向它,并且图中再没有其他任何的边,那么,这样的一个SAS+任务就成为一个SAS+-1任务,通过拆分动作和组合状态变量变换模型动作为一元,进而将SAS+任务转化为SAS+1任务,在此基础上进行因果图的推导;
(2-2)根据模型Π,得到各个命题变量的域转移图,对于含参变量的处理,按参数拆分为多个变量,或将单一参数作为多值的值域;
(2-3)提取域转移图信息,得到各命题变量的因果图;依各命题变量为完全检索,只做紧邻的一层因果关系,通过层次迭代实现完整因果关系;
(2-4)借助因果图,设计启发函数。启发函数的设计,对于reward的参数变量x,y使用“不删除”方式扩展,每时间步乘以折扣值系数d来衰减影响,在部分命题变量的启发值之间使用加和式方法累加启发值,据此将命题变量分组,组内采用加和方法,组间使用最大代价法以保证可采纳;
h=max(h1,h2,...);
h i = Σ j = 0 ∞ d j * ( γ 1 * v ( p i e g u ( 0 ) ) + γ 2 * v ( p i e g u ( 1 ) ) ) + r map t
γ1为可调参数,γ2=γ(α,β,EPRD,EPWD)依据当前楼层等候者的分布计算加权惩罚值,为根据时间步t的楼层等候者的分布来计算的等候惩罚值,h是启发值,h1、h2是启发值,d是折扣系数,j是时间步,piegu是影响reward的变量,v是函数,EPRD是电梯实际运行方向和电梯内的乘客方向一致时的惩罚值,EPWD是电梯实际运行方向和电梯内的乘客方向不一致时的惩罚值,α和β是两个影响因子,分别用来表示eprd和epwd的影响大小;
(2-5)以启发函数为核心,设计启发式算法,并用java语言实现规划器。
CN201610580434.2A 2016-07-20 2016-07-20 一种基于因果图启发式的并行概率规划方法 Expired - Fee Related CN106203634B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610580434.2A CN106203634B (zh) 2016-07-20 2016-07-20 一种基于因果图启发式的并行概率规划方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610580434.2A CN106203634B (zh) 2016-07-20 2016-07-20 一种基于因果图启发式的并行概率规划方法

Publications (2)

Publication Number Publication Date
CN106203634A true CN106203634A (zh) 2016-12-07
CN106203634B CN106203634B (zh) 2019-07-02

Family

ID=57492335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610580434.2A Expired - Fee Related CN106203634B (zh) 2016-07-20 2016-07-20 一种基于因果图启发式的并行概率规划方法

Country Status (1)

Country Link
CN (1) CN106203634B (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002914A (zh) * 2018-07-11 2018-12-14 广东工业大学 一种融合随机算法和启发式规划的生产调度方法及装置
CN110850893A (zh) * 2019-11-29 2020-02-28 北京理工大学 一种基于最大值代价评估的航天器任务规划方法
CN112811273A (zh) * 2021-01-27 2021-05-18 广东工业大学 一种基于概率并行规划实时可加性启发式的电梯调度方法

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
史晶晶: "基于多值表示的并行规划方法", 《计算机科学》 *
李晋丽: "基于因果图的启发式规划研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
饶东宁等: "并行概率规划综述", 《计算机应用研究》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002914A (zh) * 2018-07-11 2018-12-14 广东工业大学 一种融合随机算法和启发式规划的生产调度方法及装置
CN110850893A (zh) * 2019-11-29 2020-02-28 北京理工大学 一种基于最大值代价评估的航天器任务规划方法
CN112811273A (zh) * 2021-01-27 2021-05-18 广东工业大学 一种基于概率并行规划实时可加性启发式的电梯调度方法

Also Published As

Publication number Publication date
CN106203634B (zh) 2019-07-02

Similar Documents

Publication Publication Date Title
Rahman et al. A new evolutionary algorithm: Learner performance based behavior algorithm
Nakayama Science, technology and society in postwar Japan
Akbulut et al. University exam scheduling system using graphcoloring algorithm and rfid technology
Levin et al. From community college to university: Institutionalization and neoliberalism in British Columbia and Alberta.
CN106203634A (zh) 一种基于因果图启发式的并行概率规划方法
Chen Decision support system for tourism development: system dynamics approach
Ponomareva et al. Instrumental implementation of the educational process model to improve the rating of the universities.
Layeb A clonal selection algorithm based tabu search for satisfiability problems
Adrianto Comparison using particle swarm optimization and genetic algorithm for timetable scheduling
Zhang et al. A smart knowledge discover system for teaching quality evaluation via genetic algorithm-based BP neural network
Matias et al. Examining genetic algorithm with guided search and self-adaptive neighborhood strategies for curriculum-based course timetable problem
Masina et al. Methods of intelligent results ranking for the intermediate assessment of knowledge in mathematical disciplines
Hayat et al. Human resource practices as antecedents of employee performance in the hotel industry of Pakistan
McHaney Simulation education in non-simulation courses
Cabada et al. A fuzzy-neural network for classifying learning styles in a web 2.0 and mobile learning environment
Kennedy et al. A GIS aware agent-based model of pathogen transmission
Sharma et al. A structural approach to analysis of causes of system waste in the Indian economy
Casinillo et al. On Modeling Work Experiences and Their Influencing Factors among Employees in a University
Pu et al. Teaching Path generation model based on machine learning
Bashir et al. Complexity measurement: A new approach to ensure equal distribution of programming problems for evaluation
Chen Strategic Choice of University Logistics Management Major Based on SWOT-AHP
Khoroshko et al. Automation of Distributing the Teaching Load to Increase the Effectiveness of Planning of Work of the Teaching Staff.
CHEN Pharmaceutical Laboratory Course Scheduling System Optimization Based on Genetic Algorithm
Poziomek et al. Management by objectives in the R&D environment—A simulation
Roberts Introducing computer simulation into the high school: An applied mathematics curriculum

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190702

Termination date: 20200720

CF01 Termination of patent right due to non-payment of annual fee