Planning in Answer Set Programming While Learning Action Costs for Mobile Robots

Planning in Answer Set Programming While Learning Action Costs for Mobile Robots

This is a repository copy of Planning in answer set programming while learning action costs for mobile robots. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/101400/ Version: Accepted Version Proceedings Paper: Yang, F, Khandelwal, P, Leonetti, M orcid.org/0000-0002-3831-2400 et al. (1 more author) (2014) Planning in answer set programming while learning action costs for mobile robots. In: Knowledge Representation and Reasoning in Robotics. AAAI 2014 Spring Symposia, 24-26 Mar 2014, Palo Alto, California USA. AAAI , pp. 71-78. ISBN 9781577356455 © 2014, Association for the Advancement of Artificial Intelligence. This is an author produced version of a paper published in Knowledge Representation and Reasoning in Robotics. Reuse Unless indicated otherwise, fulltext items are protected by copyright with all rights reserved. The copyright exception in section 29 of the Copyright, Designs and Patents Act 1988 allows the making of a single copy solely for the purpose of non-commercial research or private study within the limits of fair dealing. The publisher or other rights-holder may allow further reproduction and re-use of this version - refer to the White Rose Research Online record for this item. Where records identify the publisher as the copyright holder, users can verify any specific terms of use on the publisher’s website. Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request. [email protected] https://eprints.whiterose.ac.uk/ Planning in Answer Set Programming while Learning Action Costs for Mobile Robots Fangkai Yang, Piyush Khandelwal, Matteo Leonetti and Peter Stone Department of Computer Science The University of Texas at Austin 2317 Speedway, Stop D9500 Austin, TX 78712, USA {fkyang,piyushk,matteo,pstone}@cs.utexas.edu Abstract 1991). The latter is also referred to as Answer Set Program- ming (ASP). These languages allow users to formalize dy- For mobile robots to perform complex missions, it may namic domains as transition systems, by a set of axioms that be necessary for them to plan with incomplete informa- specify the precondition and effects of actions and the rela- tion and reason about the indirect effects of their ac- tionship between state variables. In ASP, the frame problem tions. Answer Set Programming (ASP) provides an el- egant way of formalizing domains which involve indi- (McCarthy and Hayes 1969) can be solved by formalizing rect effects of an action and recursively defined fluents. the commonsense law of inertia. In this paper, we present an approach that uses ASP for Compared to STRIPS or PDDL-style planning languages, robotic task planning, and demonstrate how ASP can be ASP and action languages provide an elegant way of formal- used to generate plans that acquire missing information izing indirect effects of actions as static laws, and thus solve necessary to achieve the goal. Action costs are also in- the ramification problem (Lin 1995). Although the original corporated with planning to produce optimal plans, and specification of PDDL includes axioms (which correspond we show how these costs can be estimated from expe- rience making planning adaptive. We evaluate our ap- to non-recursive static laws in our terminology), the seman- proach using a realistic simulation of an indoor envi- tics for these axioms are not clearly specified. Indeed, in ronment where a robot learns to complete its objective most planning domains investigated by the planning com- in the shortest time. munity and in planning competitions, no axioms are needed. Thiebaux´ et al. (Thiebaux,´ Hoffmann, and Nebel 2003) ar- gued that the use of axioms not only increases the expres- Introduction siveness and elegance of the problem representation, but also improves the performance of the planner. Indeed, in recent Automated planning provides great flexibility over direct years, robotic task planning based on ASP or related ac- implementation of behaviors for robotic tasks. In mobile tion languages has received increasing attention (Caldiran robotics, uncertainty about the environment stems from et al. 2009; Erdem and Patoglu 2012; Chen et al. 2010; many sources. This is particularly true for domains inhab- Chen, Jin, and Yang 2012; Erdem et al. 2013; Havur et al. ited by humans, where the state of the environment can 2013). change outside the robot’s control in ways hard to pre- dict. Probabilistic planners attempt to capture this complex- Incorporating costs in symbolic planning (Eiter et al. ity, but planning in probabilistic representations makes rea- 2003) is important for applications that involve physical sys- soning much more computationally expensive. Furthermore, tems that have limited resources such as time, battery, com- correctly modeling the system using probabilities is more munication bandwidth etc. In this paper, we show how costs difficult than representing knowledge symbolically. Indeed, can be incorporated into a robot planning system based on robotic planning systems are frequently based on symbolic ASP, and how these costs can be learned from experience. It deterministic models, and execution monitoring. The brittle- is important to learn costs from the environment, since these ness owing to errors in the model and unexpected conditions costs may not be same for different robots, and may even dif- are overcome through monitoring and replanning. fer for the same robot under different environmental condi- Automated symbolic planning includes early work such tions. For instance, while a fully articulated humanoid robot as situational calculus (McCarthy and Hayes 1969), STRIPS may be slower than a wheeled robot for navigation tasks, the (Fikes and Nilsson 1971), ADL (Pednault 1989); recent ac- extra dexterity it possesses may allow it to be faster at open- tion languages such as C+ (Giunchiglia et al. 2004) and ing doors. Similarly, construction inside a building may ren- BC (Lee, Lifschitz, and Yang 2013); and declarative pro- der certain paths slow to navigate. If the robot learns these gramming languages such as Prolog and logic programming costs on the fly, it becomes unnecessary to worry about them based on answer set semantics (Gelfond and Lifschitz 1988; during domain formalization. As such, the main contribu- tion of this paper is an approach that uses ASP for robot task Copyright c 2016, Association for the Advancement of Artificial planning while learning costs of individual actions through Intelligence (www.aaai.org). All rights reserved. experience. We evaluate our approach using a simulated mobile robot navigating through an indoor environment and interacting with people. Should certain information necessary for com- pleting a task be missing, the planner can issue a sensing action to acquire this information through human-robot in- teraction. By integrating the planner with a learning module, the costs of actions are learned from plans’ execution. Since the only interface between the planner and the learning mod- ule is through costs, the action theory is left unchanged, and the proposed approach can in principle be applied to any metric planner. All the code used in this paper has been im- plemented using the ROS middleware package (Quigley et al. 2009), and the realistic 3D simulator GAZEBO (Koenig 1 and Howard 2004), and is available in the public domain . Figure 1: The architecture implemented in our approach. The planner invokes a cost estimator that learns the actual action costs Related Work from the sensor data during execution. In recent years, action languages and answer set pro- trees. Differently, we learn costs simply using exponentially gramming have begun to be used for robot task planning weighted averaging, which allows us to respond to recent (Caldiran et al. 2009; Erdem and Patoglu 2012; Erdem et al. changes in the environment. Furthermore, while that work is 2013; Havur et al. 2013). In these previous works, domains specific to PDDL-style planners, we perform the first inte- are small and idealistic. The planning paradigm is typical gration between ASP and learning, at the advantage of defin- classical planning with complete information, and shortest ing indirect effects of actions and recursively defined fluents plans are generated. Since the domains are small, it is possi- as planning heuristics. ble to use grid worlds so that motion control is also achieved by planning. In contrast, we are interested in large and con- tinuous domains, where navigation is handled by a dedicated Architecture Description module to achieve continuous motion control, and require Our proposed architecture (shown in Figure 1) has two mod- planning with incomplete information by performing knowl- ules that comprise the decision making: a planning module, edge acquisition through human-robot interaction. and a cost estimation module. At planning time, the plan- The work of Erdem et al. (Erdem, Aker, and Patoglu ner polls the cost of each action of interest, and produces 2012) improves on existing ASP approaches for robot task a minimum plan. The planner itself is constituted by a do- planning by both using larger domains in simulation, as well main description specified in ASP and a solver, in our case as incorporating a constraint on the total time required to CLINGO (Gebser et al. 2011a). After plan generation, an ex- complete the goal. As such, their work attempts to find the ecutor invokes the appropriate controllers for each action, shortest plan that satisfies the goal within this time con- and grounds numeric sensor data into symbolic fluents, for straint. In contrast, our work attempts to explicitly minimize the planning module to verify. If the observed fluents are the overall cost to execute the plan (i.e. the optimal plan), incompatible with the state expected by the planner, replan- instead of finding the shortest plan. Another difference be- ning is triggered. During action execution, the cost estimator tween the two approaches is that Erdem et al.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us