禅意是什么意思| 骨显像主要检查什么| 户籍地址填什么| 知了吃什么食物| 不作为是什么意思| 维吾尔族是什么人种| 为什么蚊子要吸血| 什么是音序| 梦见自己掉头发是什么征兆| 低压高是什么引起的| 尿道炎症吃什么药| 脂溢性皮炎用什么药| 7.30是什么星座| 杨过是什么生肖| 囊腺瘤是什么| 高血压吃什么| 治疗荨麻疹用什么药最好| 一个金字旁一个先读什么| 老是掉头发什么原因| 上颚疼吃什么药| 蜜糖有什么功效和作用| 依托考昔片是什么药| 使节是什么意思| 为什么尿频| 口腔溃疡吃什么水果好| 水化是什么意思| 怕金森是什么症状| 自豪的什么| 吃什么水果容易减肥| 1992年是什么命| 感染性腹泻吃什么药| 三月27号是什么星座| 头发爱出油是什么原因| 咳嗽痰多是什么原因| 肝郁脾虚是什么意思| 皮肤过敏有什么妙招| 人流后吃什么好| 什么叫血管瘤| 肝硬化适合吃什么食物| 我的手机是什么型号| 谷雨是什么时候| 正司级是什么级别| 脚气挂号应该挂什么科| 什么是动物奶油| 女人吃什么| 电解质是什么意思| 糖粉和白糖有什么区别| 白带呈绿色是什么原因| 孩子是什么意思| 左侧上颌窦囊肿是什么意思| 五行缺金是什么意思| 脸颊红是什么原因| 关节外科主要看什么| tct是检查什么的| 香奈儿是什么牌子| 一个口一个有念什么| 什么冰冰| 吃猪腰子有什么好处和坏处| 嘴唇发麻是什么病兆| 梦见自己吃肉是什么预兆| 湿气是什么意思| 献血对身体有什么好处| 脖子上长小肉粒是什么原因| 心肌炎是什么病严重吗| 什么时候闰十月| 吃什么可以补黄体酮| 美国为什么打朝鲜| 三金片治什么病| 生酮是什么| 姓袁女孩叫什么名字好听| 紫苏有什么作用与功效| 不禁是什么意思| 1977年是什么年| 大户人家什么意思| 心慌心闷是什么原因| 寒冷的反义词是什么| 六月二十一是什么日子| 什么佛面| 五月十日是什么星座| 室早三联律是什么意思| 折耳猫为什么不能养| 1954属什么生肖| 植物有什么| 微调是什么意思| 盆底肌是什么| 夏天适合吃什么| 保胎是什么意思| 怀孕为什么会流血| 自来水养鱼为什么会死| 喝红酒有什么好处| 哪些动物的尾巴有什么作用| 肠道紊乱的症状是什么| 吃桂圆有什么好处| ab型血为什么叫贵族血| 大便颗粒状是什么原因造成的| 还债是什么意思| 什么是逆商| 尿蛋白是什么原因造成的| 神经性皮炎吃什么药| 血凝是什么意思| 小孩牙疼吃什么药| 体重除以身高的平方是什么指数| 吃什么英语怎么说| 苍蝇馆子什么意思| 麝香是什么味道| 追剧是什么意思| 脑梗是由什么引起的| 雾化治疗的作用是什么| 打太极是什么意思| 什么食物含钾| 甲钴胺片治疗什么病| 不可亵玩焉的亵是什么意思| 1991年属羊是什么命| 荔枝有什么好处| 猫奴是什么意思| 什么是前庭功能| pop是什么意思| 虾和什么蔬菜搭配最好| 梦见流水是什么征兆| 奥倍健是什么药| 指甲发青是什么原因| 砒霜是什么| 61岁属什么| 94年是什么年| 96年什么命| 阴道松弛吃什么药| 什么茶减肥效果最好| 阴虱是什么样子图片| 阳光明媚下一句接什么| 拉肚子为什么会发烧| 西红柿不能跟什么一起吃| 急性肠胃炎吃什么药好| 安是什么意思| 心梗有什么症状| 长歌怀采薇是什么意思| 农历闰六月有什么讲究| 土霉素主要是治疗什么病| 胃胀腹胀吃什么药| 莲藕不能和什么一起吃| 妇科检查清洁度二度是什么意思| 铲子是什么意思| 王维被称为什么| 净身出户需要什么条件| 请问尿路感染吃什么药最好| 排恶露吃什么药| 狮子吃什么| 坐享其成是什么意思| 天刑是什么意思| 腿走路没劲发软是什么原因| 什么饺子馅最好吃| 黄芪什么功效| 缜密是什么意思| cro公司是什么意思| 为什么男人喜欢吃槟榔| 穿什么衣服显白| 吃什么肉好| 浮躁的意思是什么| 欺人太甚什么意思| 尿痛流脓吃什么药| 做tct检查前要注意什么| 得了肠息肉有什么症状| 壁虎的尾巴有什么作用| 菊花脑是什么菜| 眼睛胀痛是什么原因| 天秤座男生喜欢什么样的女生| 什么是党的性质和宗旨的体现| 什么叫引产| 战略支援部队是干什么的| 什么是节气| neu是什么意思| 山楂搭配什么泡水喝好| 平均血小板体积偏高是什么意思| 成都五行属什么| 什么是人| 睡觉喜欢流口水是什么原因| 湿热体质吃什么中成药| 什么叫尿毒症| 血糖高应该吃什么水果| 柠檬泡蜂蜜有什么功效| 梦见别人打我是什么意思| 前列腺增大吃什么药| 姐姐的孩子叫什么| 山楂和什么泡水喝减肥效果最好| 撒野是什么意思| 心脏支架最怕什么| 95年什么生肖| 奥特莱斯是什么| 蓬灰是什么东西| 甘少一横是什么字| roma是什么牌子| 岗位性质指的是什么| 菠萝蜜什么季节最好吃| 什么是陈述句| 一头雾水什么意思| 尿酸高吃什么药好| 颈动脉彩超查什么| 白脸代表什么| 纪是什么意思| 舅舅的儿子叫什么| 暄字五行属什么| 乔迁是什么意思| 包皮是什么样子图片| 清华大学书记什么级别| 1964年属什么生肖| 知了猴什么时候结束| 股长是什么职位| 为什么打哈欠会流泪| 白茶有什么功效| 语文是什么意思| 晚上10点是什么时辰| 阴虚火旺吃什么好| 卵泡不破是什么原因造成的| 黄瓜和什么不能一起吃| 志趣相投是什么意思| 脚出汗是什么原因| 高铁跟动车有什么区别| br什么意思| 什么秒必争| 为什么会阑尾炎| 舌苔厚黄是什么病| dos是什么| mep是什么意思| 吃什么补内膜最快| 长期喝饮料对身体有什么危害| 梦见死人了是什么意思| cr是什么意思| 紫微星是什么意思| 肚子疼看什么科| 腱子肉是什么意思| 621什么星座| 尿隐血弱阳性什么意思| 什么食物补钙| 仔是什么意思| 激凸是什么意思| 执迷不悟是什么生肖| 均一性红细胞什么意思| 自来鸟是什么兆头| 北京有什么好吃的| 羽立读什么| 西安有什么好吃的| 血小板低有什么危害| 02年的马是什么命| 1968年猴是什么命| Ecmo医学上是什么意思| 一什么荷叶| 加持什么意思| 擦枪走火什么意思| 4月27是什么星座| 拉黑色大便是什么原因| 便秘吃什么水果| 汗斑是什么样的图片| 小孩容易出汗是什么原因| 马与什么属相相克相冲| 颈椎病是什么原因引起的| 喝水喝多了有什么坏处| 市盈率是什么意思| 全身皮肤瘙痒是什么原因引起的| 什么叫桥本甲状腺炎| 舌头辣辣的是什么原因| 晚上喝什么茶有助于睡眠| 杀鸡取卵是什么生肖| 右眼一直跳是什么预兆| 量贩装是什么意思| cpu什么意思| 百度Jump to content

《福建卫视新闻》头条连续三天播出《东山调研

From Wikipedia, the free encyclopedia
百度   希腊政府认为,在目前情况下,实行这些严厉措施是避免更坏结果的唯一出路。

In artificial intelligence, with implications for cognitive science, the frame problem describes an issue with using first-order logic to express facts about a robot in the world. Representing the state of a robot with traditional first-order logic requires the use of many axioms that simply imply that things in the environment do not change arbitrarily. For example, Hayes describes a "block world" with rules about stacking blocks together. In a first-order logic system, additional axioms are required to make inferences about the environment (for example, that a block cannot change position unless it is physically moved). The frame problem is the problem of finding adequate collections of axioms for a viable description of a robot environment.[1]

John McCarthy and Patrick J. Hayes defined this problem in their 1969 article, Some Philosophical Problems from the Standpoint of Artificial Intelligence. In this paper, and many that came after, the formal mathematical problem was a starting point for more general discussions of the difficulty of knowledge representation for artificial intelligence. Issues such as how to provide rational default assumptions and what humans consider common sense in a virtual environment.[2]

In philosophy, the frame problem became more broadly construed in connection with the problem of limiting the beliefs that have to be updated in response to actions. In the logical context, actions are typically specified by what they change, with the implicit assumption that everything else (the frame) remains unchanged.

Description

[edit]

The frame problem occurs even in very simple domains. A scenario with a door, which can be open or closed, and a light, which can be on or off, is statically represented by two propositions and . If these conditions can change, they are better represented by two predicates and that depend on time; such predicates are called fluents. A domain in which the door is closed and the light off at time 0, and the door opened at time 1, can be directly represented in logic [clarification needed] by the following formulae:

The first two formulae represent the initial situation; the third formula represents the effect of executing the action of opening the door at time 1. If such an action had preconditions, such as the door being unlocked, it would have been represented by . In practice, one would have a predicate for specifying when an action is executed and a rule for specifying the effects of actions. The article on the situation calculus gives more details.

While the three formulae above are a direct expression in logic of what is known, they do not suffice to correctly draw consequences. While the following conditions (representing the expected situation) are consistent with the three formulae above, they are not the only ones.

   

Indeed, another set of conditions that is consistent with the three formulae above is:

   

The frame problem is that specifying only which conditions are changed by the actions does not entail that all other conditions are not changed. This problem can be solved by adding the so-called “frame axioms”, which explicitly specify that all conditions not affected by actions are not changed while executing that action. For example, since the action executed at time 0 is that of opening the door, a frame axiom would state that the status of the light does not change from time 0 to time 1:

The frame problem is that one such frame axiom is necessary for every pair of action and condition such that the action does not affect the condition.[clarification needed] In other words, the problem is that of formalizing a dynamical domain without explicitly specifying the frame axioms.

The solution proposed by McCarthy to solve this problem involves assuming that a minimal amount of condition changes have occurred; this solution is formalized using the framework of circumscription. The Yale shooting problem, however, shows that this solution is not always correct. Alternative solutions were then proposed, involving predicate completion, fluent occlusion, successor state axioms, etc.; they are explained below. By the end of the 1980s, the frame problem as defined by McCarthy and Hayes was solved[clarification needed]. Even after that, however, the term “frame problem” was still used, in part to refer to the same problem but under different settings (e.g., concurrent actions), and in part to refer to the general problem of representing and reasoning with dynamical domains.

Solutions

[edit]

The following solutions depict how the frame problem is solved in various formalisms. The formalisms themselves are not presented in full: what is presented are simplified versions that are sufficient to explain the full solution.

Fluent occlusion solution

[edit]

This solution was proposed by Erik Sandewall, who also defined a formal language for the specification of dynamical domains; therefore, such a domain can be first expressed in this language and then automatically translated into logic. In this article, only the expression in logic is shown, and only in the simplified language with no action names.

The rationale of this solution is to represent not only the value of conditions over time, but also whether they can be affected by the last executed action. The latter is represented by another condition, called occlusion. A condition is said to be occluded in a given time point if an action has been just executed that makes the condition true or false as an effect. Occlusion can be viewed as “permission to change”: if a condition is occluded, it is relieved from obeying the constraint of inertia.

In the simplified example of the door and the light, occlusion can be formalized by two predicates and . The rationale is that a condition can change value only if the corresponding occlusion predicate is true at the next time point. In turn, the occlusion predicate is true only when an action affecting the condition is executed.

In general, every action making a condition true or false also makes the corresponding occlusion predicate true. In this case, is true, making the antecedent of the fourth formula above false for ; therefore, the constraint that does not hold for . Therefore, can change value, which is also what is enforced by the third formula.

In order for this condition to work, occlusion predicates have to be true only when they are made true as an effect of an action. This can be achieved either by circumscription or by predicate completion. It is worth noticing that occlusion does not necessarily imply a change: for example, executing the action of opening the door when it was already open (in the formalization above) makes the predicate true and makes true; however, has not changed value, as it was true already.

Predicate completion solution

[edit]

This encoding is similar to the fluent occlusion solution, but the additional predicates denote change, not permission to change. For example, represents the fact that the predicate will change from time to . As a result, a predicate changes if and only if the corresponding change predicate is true. An action results in a change if and only if it makes true a condition that was previously false or vice versa.

The third formula is a different way of saying that opening the door causes the door to be opened. Precisely, it states that opening the door changes the state of the door if it had been previously closed. The last two conditions state that a condition changes value at time if and only if the corresponding change predicate is true at time . To complete the solution, the time points in which the change predicates are true have to be as few as possible, and this can be done by applying predicate completion to the rules specifying the effects of actions.

Successor state axioms solution

[edit]

The value of a condition after the execution of an action can be determined by the fact that the condition is true if and only if:

  1. the action makes the condition true; or
  2. the condition was previously true and the action does not make it false.

A successor state axiom is a formalization in logic of these two facts. For example, if and are two conditions used to denote that the action executed at time was to open or close the door, respectively, the running example is encoded as follows.

This solution is centered around the value of conditions, rather than the effects of actions. In other words, there is an axiom for every condition, rather than a formula for every action. Preconditions to actions (which are not present in this example) are formalized by other formulae. The successor state axioms are used in the variant to the situation calculus proposed by Ray Reiter.

Fluent calculus solution

[edit]

The fluent calculus is a variant of the situation calculus. It solves the frame problem by using first-order logic terms, rather than predicates, to represent the states. Converting predicates into terms in first-order logic is called reification; the fluent calculus can be seen as a logic in which predicates representing the state of conditions are reified.

The difference between a predicate and a term in first-order logic is that a term is a representation of an object (possibly a complex object composed of other objects), while a predicate represents a condition that can be true or false when evaluated over a given set of terms.

In the fluent calculus, each possible state is represented by a term obtained by composition of other terms, each one representing the conditions that are true in state. For example, the state in which the door is open and the light is on is represented by the term . It is important to notice that a term is not true or false by itself, as it is an object and not a condition. In other words, the term represent a possible state, and does not by itself mean that this is the current state. A separate condition can be stated to specify that this is actually the state at a given time, e.g., means that this is the state at time .

The solution to the frame problem given in the fluent calculus is to specify the effects of actions by stating how a term representing the state changes when the action is executed. For example, the action of opening the door at time 0 is represented by the formula:

The action of closing the door, which makes a condition false instead of true, is represented in a slightly different way:

This formula works provided that suitable axioms are given about and , e.g., a term containing the same condition twice is not a valid state (for example, is always false for every and ).

Event calculus solution

[edit]

The event calculus uses terms for representing fluents, like the fluent calculus, but also has one or more axioms constraining the value of fluents, like the successor state axioms. There are many variants of the event calculus, but one of the simplest and most useful employs a single axiom to represent the law of inertia:

The axiom states that a fluent holds at a time , if an event happens and initiates at an earlier time , and there is no event that happens and terminates after or at the same time as and before .

To apply the event calculus to a particular problem domain, it is necessary to define the and predicates for that domain. For example:

To apply the event calculus to a particular problem in the domain, it is necessary to specify the events that happen in the context of the problem. For example:

.
.

To solve a problem, such as which fluents hold at time 5?, it is necessary to pose the problem as a goal, such as:

In this case, obtaining the unique solution:

The event calculus solves the frame problem, eliminating undesired solutions, by using a non-monotonic logic, such as first-order logic with circumscription[3] or by treating the event calculus as a logic program using negation as failure.

Default logic solution

[edit]

The frame problem can be thought of as the problem of formalizing the principle that, by default, "everything is presumed to remain in the state in which it is" (Leibniz, "An Introduction to a Secret Encyclop?dia", c. 1679). This default, sometimes called the commonsense law of inertia, was expressed by Raymond Reiter in default logic:

(if is true in situation , and it can be assumed[4] that remains true after executing action , then we can conclude that remains true).

Steve Hanks and Drew McDermott argued, on the basis of their Yale shooting example, that this solution to the frame problem is unsatisfactory. Hudson Turner showed, however, that it works correctly in the presence of appropriate additional postulates.

Answer set programming solution

[edit]

The counterpart of the default logic solution in the language of answer set programming is a rule with strong negation:

(if is true at time , and it can be assumed that remains true at time , then we can conclude that remains true).

Separation logic solution

[edit]

Separation logic is a formalism for reasoning about computer programs using pre/post specifications of the form . Separation logic is an extension of Hoare logic oriented to reasoning about mutable data structures in computer memory and other dynamic resources, and it has a special connective *, pronounced "and separately", to support independent reasoning about disjoint memory regions.[5][6]

Separation logic employs a tight interpretation of pre/post specs, which say that the code can only access memory locations guaranteed to exist by the precondition.[7] This leads to the soundness of the most important inference rule of the logic, the frame rule

The frame rule allows descriptions of arbitrary memory outside the footprint (memory accessed) of the code to be added to a specification: this enables the initial specification to concentrate only on the footprint. For example, the inference

captures that code which sorts a list x does not unsort a separate list y, and it does this without mentioning y at all in the initial spec above the line.

Automation of the frame rule has led to significant increases in the scalability of automated reasoning techniques for code,[8] eventually deployed industrially to codebases with tens of millions of lines.[9]

There appears to be some similarity between the separation logic solution to the frame problem and that of the fluent calculus mentioned above.[further explanation needed]

Action description languages

[edit]

Action description languages elude the frame problem rather than solving it. An action description language is a formal language with a syntax that is specific for describing situations and actions. For example, that the action makes the door open if not locked is expressed by:

causes if

The semantics of an action description language depends on what the language can express (concurrent actions, delayed effects, etc.) and is usually based on transition systems.

Since domains are expressed in these languages rather than directly in logic, the frame problem only arises when a specification given in an action description logic is to be translated into logic. Typically, however, a translation is given from these languages to answer set programming rather than first-order logic.

See also

[edit]

Notes

[edit]
  1. ^ Hayes, Patrick (1973). "The Frame Problem and Related Problems in Artificial Intelligence". University of Edinburgh.
  2. ^ McCarthy, J; P.J. Hayes (1969). "Some philosophical problems from the standpoint of artificial intelligence". Machine Intelligence. 4: 463–502. CiteSeerX 10.1.1.85.5082.
  3. ^ Shanahan, M. (1997) Solving the frame problem: A mathematical investigation of the common sense law of inertia. MIT Press.
  4. ^ i.e., no contradicting information is known
  5. ^ Reynolds, J.C. (2002). "Separation logic: A logic for shared mutable data structures". Proceedings 17th Annual IEEE Symposium on Logic in Computer Science. Copenhagen, Denmark: IEEE Comput. Soc. pp. 55–74. CiteSeerX 10.1.1.110.7749. doi:10.1109/LICS.2002.1029817. ISBN 978-0-7695-1483-3. S2CID 6271346.
  6. ^ O'Hearn, Peter (2025-08-06). "Separation logic". Communications of the ACM. 62 (2): 86–95. doi:10.1145/3211968. ISSN 0001-0782.
  7. ^ O’Hearn, Peter; Reynolds, John; Yang, Hongseok (2001). "Local Reasoning about Programs that Alter Data Structures". In Fribourg, Laurent (ed.). Computer Science Logic. Lecture Notes in Computer Science. Vol. 2142. Berlin, Heidelberg: Springer. pp. 1–19. doi:10.1007/3-540-44802-0_1. ISBN 978-3-540-44802-0.
  8. ^ Calcagno Cristiano; Dino Distefano; Peter O'Hearn; Hongseok Yang (2025-08-06). "Compositional Shape Analysis by Means of Bi-Abduction". Journal of the ACM. 58 (6): 1–66. doi:10.1145/2049697.2049700. S2CID 52808268.
  9. ^ Distefano, Dino; F?hndrich, Manuel; Logozzo, Francesco; O'Hearn, Peter (2025-08-06). "Scaling static analyses at Facebook". Communications of the ACM. 62 (8): 62–70. doi:10.1145/3338112.

References

[edit]
[edit]
脚底疼痛是什么原因 智商税什么意思 背部毛孔粗大是什么原因 什么炖排骨好吃 血栓弹力图是查什么的
形态欠规则是什么意思 急性荨麻疹不能吃什么食物 投影是什么意思 令郎是什么意思 3.2号是什么星座
肝脏低密度灶是什么意思 4月17是什么星座 种植牙有什么风险和后遗症 子不教父之过是什么意思 背疼挂什么科室最好
甲炎是什么病 虎皮膏药有什么功效 anxiety什么意思 面子是什么意思 什么是百慕大三角
消融手术是什么意思hcv8jop9ns3r.cn 做梦梦到别人死了是什么征兆hcv9jop3ns6r.cn 女人什么时候是排卵期hcv8jop8ns3r.cn 来例假不能吃什么东西hcv9jop4ns9r.cn 海龟是什么动物hcv9jop1ns3r.cn
混油皮是什么特征hcv9jop7ns5r.cn 海马炖什么好小孩长高hcv9jop2ns6r.cn 喉咙发痒吃什么药hcv8jop4ns9r.cn 控制血糖吃什么食物huizhijixie.com 炉鼎是什么意思bjhyzcsm.com
什么水果降火hcv8jop8ns3r.cn 肚子容易饿是什么原因hcv8jop1ns0r.cn 南方的粽子一般是什么口味hcv7jop4ns5r.cn 腹部超声检查什么hcv8jop1ns2r.cn 肝硬化是什么引起的hcv8jop8ns9r.cn
子宫后壁低回声是什么意思hcv8jop0ns5r.cn 血小板数目偏高是什么意思hcv8jop5ns5r.cn 梦见蛇追我是什么预兆96micro.com 吃槐花有什么好处hcv8jop5ns0r.cn 腹部彩超可以检查什么hcv9jop2ns8r.cn
百度