An ASP-Based Architecture for Autonomous UAVs in Dynamic Environments: Progress Report

by   Marcello Balduccini, et al.

Traditional AI reasoning techniques have been used successfully in many domains, including logistics, scheduling and game playing. This paper is part of a project aimed at investigating how such techniques can be extended to coordinate teams of unmanned aerial vehicles (UAVs) in dynamic environments. Specifically challenging are real-world environments where UAVs and other network-enabled devices must communicate to coordinate---and communication actions are neither reliable nor free. Such network-centric environments are common in military, public safety and commercial applications, yet most research (even multi-agent planning) usually takes communications among distributed agents as a given. We address this challenge by developing an agent architecture and reasoning algorithms based on Answer Set Programming (ASP). ASP has been chosen for this task because it enables high flexibility of representation, both of knowledge and of reasoning tasks. Although ASP has been used successfully in a number of applications, and ASP-based architectures have been studied for about a decade, to the best of our knowledge this is the first practical application of a complete ASP-based agent architecture. It is also the first practical application of ASP involving a combination of centralized reasoning, decentralized reasoning, execution monitoring, and reasoning about network communications. This work has been empirically validated using a distributed network-centric software evaluation testbed and the results provide guidance to designers in how to understand and control intelligent systems that operate in these environments.



There are no comments yet.


page 1

page 2

page 3

page 4


Towards an ASP-Based Architecture for Autonomous UAVs in Dynamic Environments (Extended Abstract)

Traditional AI reasoning techniques have been used successfully in many ...

ROSoClingo: A ROS package for ASP-based robot control

Knowledge representation and reasoning capacities are vital to cognitive...

An agent-based self-protective method to secure communication between UAVs in unmanned aerial vehicle networks

UAVNs (unmanned aerial vehicle networks) may become vulnerable to threat...

Query Answering in Object Oriented Knowledge Bases in Logic Programming: Description and Challenge for ASP

Research on developing efficient and scalable ASP solvers can substantia...

A Framework for Easing the Development of Applications Embedding Answer Set Programming

Answer Set Programming (ASP) is a well-established declarative problem s...

Towards Abstraction in ASP with an Application on Reasoning about Agent Policies

ASP programs are a convenient tool for problem solving, whereas with lar...

A Public Safety Framework for Immersive Aerial Monitoring through 5G Commercial Network

Are 5G connection and UAVs merely parts of an extravagant and luxurious ...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

Unmanned Aerial Vehicles (UAVs) promise to revolutionize the way in which we use our airspace. From talk of automating the navigation for major shipping companies to the use of small helicopters as ”deliverymen” that drop your packages at the door, it is clear that our airspaces will become increasingly crowded in the near future. This increased utilization and congestion has created the need for new and different methods of coordinating assets using the airspace. Currently, airspace management is the job for mostly human controllers. As the number of entities using the airspace vastly increases—many of which are autonomous—the need for improved autonomy techniques becomes evident.

The challenge in an environment full of UAVs is that the world is highly dynamic and the communications environment is uncertain, making coordination difficult. Communicative actions in such setting are neither reliable nor free.

The work discussed here is in the context of the development of a novel application of network-aware reasoning and of an intelligent mission-aware network layer to the problem of UAV coordination. Typically, AI reasoning techniques do not consider realistic network models, nor does the network layer reason dynamically about the needs of the mission plan. With network-aware reasoning (Figure 1a), a reasoner (either centralized or decentralized) factors in the communications network and its conditions, while with mission-aware networking, an intelligent network middleware service considers the mission and network state, and dynamically infers quality of service (QoS) requirements for mission execution.

In this paper we provide a general overview of the approach, and then focus on the aspect of network-aware reasoning. We address this challenge by developing an agent architecture and reasoning algorithms based on Answer Set Programming (ASP, [Gelfond and Lifschitz1991, Marek and Truszczynski1999, Baral2003]). ASP has been chosen for this task because it enables high flexibility of representation, both of knowledge and of reasoning tasks. Although ASP has been used successfully in a number of applications, and ASP-based architectures have been studied for about a decade, to the best of our knowledge this is the first practical application of a complete ASP-based agent architecture. It is also the first practical application of ASP involving a combination of centralized reasoning, decentralized reasoning, execution monitoring, and reasoning about network communications. This work has been empirically validated using a distributed network-centric software evaluation testbed and the results provide guidance to designers in how to understand and control intelligent systems that operate in these environments.

Figure 1: (a) The current state of reasoning and networking (lower-left) vs our goal combination (top-right); (b) Information flow in our framework.

The next section describes relevant systems and reasoning techniques, and is followed by a motivating scenario that applies to UAV coordination. The Technical Approach section describes network-aware reasoning and demonstrates the level of sophistication of the behavior exhibited by the UAVs using example problem instances. Next is a description of the network-centric evaluation testbed used for simulations. Finally, we draw conclusions and discuss future work.

2 Related Work

Incorporating network properties into planning and decision-making has been investigated in [Usbeck, Cleveland, and Regli2012]. The authors’ results indicate that plan execution effectiveness and performance is increased with the increased network-awareness during the planning phase. The UAV coordination approach in this current work combines network-awareness during the reasoning processes with a plan-aware network layer.

The problem of mission planning for UAVs under communication constraints has been addressed in [Kopeikin et al.2013], where an ad-hoc task allocation process is employed to engage under-utilized UAVs as communication relays. In our work, we do not separate planning from the engagement of under-utilized UAVs, and do not rely on ad-hoc, hard-wired behaviors. Our approach gives the planner more flexibility and finer-grained control of the actions that occur in the plans, and allows for the emergence of sophisticated behaviors without the need to pre-specify them.

The architecture adopted in this work is an evolution of [Balduccini and Gelfond2008], which can be viewed as an instantiation of the BDI agent model [Rao and Georgeff1991, Wooldridge2000]. Here, the architecture has been extended to include a centralized mission planning phase, and to reason about other agents’ behavior. Recent related work on logical theories of intentions [Blount, Gelfond, and Balduccini2014] can be further integrated into our approach to allow for a more systematic hierarchical characterization of actions, which is likely to increase performance.

Traditionally, AI planning techniques have been used (to great success) to perform multi-agent teaming, and UAV coordination. Multi-agent teamwork decision frameworks such as the ones described in [Pynadath and Tambe2002] may factor communication costs into the decision-making. However, the agents do not actively reason about other agent’s observed behavior, nor about the communication process. Moreover, policies are used as opposed to reasoning from models of domains and of agent behavior.

The reasoning techniques used in the present work have already been successfully applied to domains ranging from complex cyber-physical systems to workforce scheduling. To the best of our knowledge, however, they have never been applied to domains combining realistic communications and multiple agents.

Finally, high-fidelity multi-agent simulators (e.g., AgentFly [David Sislak and Pechoucek2012]) do not account for network dynamism nor provide a realistic network model. For this reason, we base our simulator on the Common Open Research Emulator (CORE) [Ahrenholz2010]. CORE provides network models in which communications are neither reliable nor free.

3 Motivating Scenario

To motivate the need for network-aware reasoning and mission-aware networking, consider a simple UAV coordination problem, depicted in Figure 4, in which two UAVs are tasked with taking pictures of a set of three targets, and with relaying the information to a home base.

Fixed relay access points extend the communications range of the home base. The UAVs can share images of the targets with each other and with the relays when they are within radio range. The simplest solution to this problem consists in entirely disregarding the networking component of the scenario, and generating a mission plan in which each UAV flies to a different set of targets, takes pictures of them, and flies back to the home base, where the pictures are transferred. This solution, however, is not satisfactory. First of all, it is inefficient, because it requires that the UAVs fly all the way back to the home base before the images can be used. The time it takes for the UAVs to fly back may easily render the images too outdated to be useful. Secondly, disregarding the network during the reasoning process may lead to mission failure — especially in the case of unexpected events, such as enemy forces blocking transit to and from the home base after a UAV has reached a target. Even if the UAVs are capable of autonomous behavior, they will not be able to complete the mission unless they take advantage of the network.

Another common solution consists of acknowledging the availability of the network, and assuming that the network is constantly available throughout plan execution. A corresponding mission plan would instruct each UAV to fly to a different set of targets, and take pictures of them, while the network relays the data back to the home base. This solution is optimistic in that it assumes that the radio range is sufficient to reach the area where the targets are located, and that the relays will work correctly throughout the execution of the mission plan.

This optimistic solution is more efficient than the previous one, since the pictures are received by the home base soon after they are taken. Under realistic conditions, however, the strong assumptions it relies upon may easily lead to mission failure—for example, if the radio range does not reach the area where the targets are located.

In this work, the reasoning processes take into account not only the presence of the network, but also its configuration and characteristics, taking advantage of available resources whenever possible. The mission planner is given information about the radio range of the relays and determines, for example, that the targets are out of range. A possible mission plan constructed by this information into account consists in having one UAV fly to the targets and take pictures, while the other UAV remains in a position to act as a network bridge between the relays and the UAV that is taking pictures. This solution is as efficient as the optimistic solution presented earlier, but is more robust, because it does not rely on the same strong assumptions.

Conversely, when given a mission plan, an intelligent network middleware service capable of sensing conditions and modifying network parameters (e.g., modify network routes, limit bandwidth to certain applications, and prioritize network traffic) is able to adapt the network to provide optimal communications needed during plan execution. A relay or UAV running such a middleware is able to interrupt or limit bandwidth given to other applications to allow the other UAV to transfer images and information toward home base. Without this traffic prioritization, network capacity could be reached prohibiting image transfer.

4 Technical Approach

In this section, we formulate the problem in more details; provide technical background; discuss the design of the agent architecture and of the reasoning modules; and demonstrate the sophistication of the resulting behavior of the agents in two scenarios.

4.1 Problem Formulation

A problem instance for coordinating UAVs to observe targets and deliver information (e.g., images) to a home base is defined by a set of UAVs, , a set of targets, , a (possibly empty) set of fixed radio relays, , and a home base. The UAVs, the relays, and the home base are called radio nodes (or network nodes). Two nodes are in radio contact if they are within a distance from each other, called radio range111For simplicity, we assume that all the radio nodes use comparable network devices, and that thus is unique throughout the environment., or if they can relay information to each other through intermediary radio nodes that are themselves within radio range. The UAVs are expected to travel from the home base to the targets to take pictures of the targets and deliver them to the home base. A UAV will automatically take a picture when it reaches a target. If a UAV is within radio range of a radio node, the pictures are automatically shared. From the UAVs’ perspective, the environment is only partially observable. Features of the domain that are observable to a UAV are (1) which radio nodes can and cannot communicate with by means of the network, and (2) the position of any UAV that near .

The goal is to have the UAVs take a picture of each of the targets so that (1) the task is accomplished as quickly as possible, and (2) the total “staleness” of the pictures is as small as possible. Staleness is defined as the time elapsed from the moment a picture is taken, to the moment it is received by the home base. While the UAVs carry on their tasks, the relays are expected to actively prioritize traffic over the network in order to ensure mission success and further reduce staleness.

4.2 Answer Set Programming

In this section we provide a definition of the syntax of ASP and of its informal semantics. We refer the reader to [Gelfond and Lifschitz1991, Niemelä and Simons2000, Baral2003] for a specification of the formal semantics. Let be a signature containing constant, function and predicate symbols. Terms and atoms are formed as usual in first-order logic. A (basic) literal is either an atom or its strong (also called classical or epistemic) negation . A rule is a statement of the form:

where ’s and ’s are ground literals and not is the so-called default negation. The intuitive meaning of the rule is that a reasoner who believes and has no reason to believe , must believe one of ’s. Symbol can be omitted if no ’s are specified. Often, rules of the form are abbreviated into , and called constraints. The intuitive meaning of a constraint is that must not be satisfied. A rule containing variables is interpreted as the shorthand for the set of rules obtained by replacing the variables with all the possible ground terms. A program is a pair , where is a signature and is a set of rules over . We often denote programs just by the second element of the pair, and let the signature be defined implicitly. Finally, the answer set (or model) of a program is the collection of its consequences under the answer set semantics. Notice that the semantics of ASP is defined in such a way that programs may have multiple answer sets, intuitively corresponding to alternative solutions satisfying the specification given by the program. The semantics of default negation provides a simple way of encoding choices. For example, the set of rules intuitively states that either or may hold, and the corresponding program has two answer sets, , . The language of ASP has been extended with constraint literals [Niemelä and Simons2000], which are expressions of the form , where , are arithmetic expressions and ’s are basic literals as defined above. A constraint literal is satisfied whenever the number of literals that hold from is between and , inclusive. Using constraint literals, the choice between and , under some set of conditions , can be compactly encoded by the rule . A rule of this kind is called choice rule. To further increase flexibility, the set can also be specified as , where is a list of variables. Such an expression intuitively stands for the set of all such that holds. We refer the reader to [Niemelä and Simons2000] for a more detailed definition of the syntax of constraint literals and of the corresponding extended rules.

4.3 Agent Architecture

The architecture used in this project follows the BDI agent model [Rao and Georgeff1991, Wooldridge2000], which provides a good foundation because of its logical underpinning, clear structure and flexibility. In particular, we build upon ASP-based instances of this model [Baral and Gelfond2000, Balduccini and Gelfond2008] because they employ directly-executable logical languages featuring good computational properties while at the same time ensuring elaboration tolerance [McCarthy1998] and elegant handling of incomplete information, non-monotonicity, and dynamic domains.

A sketch of the information flow throughout the system is shown in Figure 1b.222The tasks in the various boxes are executed only when necessary. Initially, a centralized mission planner is given a description of the domain and of the problem instance, and finds a plan that uses the available UAVs to achieve the goal.

Next, each UAV receives the plan and begins executing it individually. As plan execution unfolds, the communication state changes, potentially affecting network connectivity. For example, the UAVs may move in and out of range of each other and of the other network nodes. Unexpected events, such as relays failing or temporarily becoming disconnected, may also affect network connectivity. When that happens, each UAV reasons in a decentralized, autonomous fashion to overcome the issues. As mentioned earlier, the key to taking into account, and hopefully compensating for, any unexpected circumstances is to actively employ, in the reasoning processes, realistic and up-to-date information about the communications state.

The control loop used by each UAV is shown in Figure 2a. In line with [Gelfond and Lifschitz1991, Marek and Truszczynski1999, Baral2003], the loop and the I/O functions are implemented procedurally, while the reasoning functions (, , , ) are implemented in ASP. The loop takes in input the mission goal and the mission plan, which potentially includes courses of actions for multiple UAVs. Functions , , , , perform basic manipulations of data structures, and interface the agent with the execution and perception layers. Functions and are assumed to be capable of identifying the portions of the mission plan that are relevant to the UAV executing the loop. The remaining functions occurring in the control loop implement the reasoning tasks. Central to the architecture is the maintenance of a history of past observations and actions executed by the agent. Such history is stored in variable and updated by the agent when it gathers observations about its environment and when it performs actions. It is important to note that variable is local to the specific agent executing the loop, rather than shared among the UAVs (which would be highly unrealistic in a communication-constrained environment). Thus, different agents will develop differing views of the history of the environment as execution unfolds. At a minimum, the difference will be due to the fact that agents cannot observe each other’s actions directly, but only their consequences, and even those are affected by the partial observability of the environment.

Details on the control loop can be found in [Balduccini and Gelfond2008]. With respect to that version of the loop, the control loop used in the present work does not allow for the selection of a new goal at run-time, but it extends the earlier control loop with the ability to deal with, and reason about, an externally-provided, multi-agent plan, and to reason about other agents’ behavior. We do not expect run-time selection of goals to be difficult to embed in the control loop presented here, but doing so is out of the scope of the current phase of the project.

Input: : mission plan;
: mission goal;
Vars: : history;
: current plan;
while do
if then
end if
Figure 2: Agent Control Loop.
Length of the mission in time steps for the example instances.
The total staleness of the image transfers.
Figure 3: Performance comparison.
Step 5: is disconnected from home base.
Step 6: connects with and transfers images and .
Step 7: reconnects with relays, transfers images to the home base.
Step 8: reconnects with to relay images of .
Figure 4: Example instance 1 illustrating “data mule” information relaying between and .

4.4 Network-Aware Reasoning

The major reasoning tasks (centralized mission planning, as well as anomaly detection, explanation and planning within each agent) are reduced to finding models of answer-set based formalizations of the corresponding problems. Central to all the reasoning tasks is the ability to represent the evolution of the environment over time. Such evolution is conceptualized into a

transition diagram [Gelfond and Lifschitz1993], a graph whose nodes correspond to states of the environment, and whose arcs describe state transitions due to the execution of actions. Let be a collection of fluents, expressions representing relevant properties of the domain that may change over time, and let be a collection of actions. A fluent literal  is a fluent or its negation . A state is a complete and consistent set of fluent literals.

The transition diagram is formalized in ASP by rules describing the direct effects of actions, their executability conditions, and their indirect effects (also called state constraints). The succession of moments in the evolution of the environment is characterized by discrete steps, associated with non-negative integers. The fact that a certain fluent is true at a step is encoded by an atom . If is false, this is expressed by . The occurrence of an action at step is represented as .

The history of the environment is formalized in ASP by two types of statements: states that was observed to be true at step (respectively, states that was false); states that was observed to occur at . Because in the this paper other agents’ actions are not observable, the latter expression is used only to record an agent’s own actions.

Objects in the UAV domain discussed in this paper are the home base, a set of fixed relays, a set of UAVs, a set of targets, and a set of waypoints. The waypoints are used to simplify the path-planning task, which we do not consider in the present work. The locations that the UAVs can occupy and travel to are the home base, the waypoints, and the locations of targets and fixed relays. The current location, , of UAV is represented by a fluent . For each location, the collection of its neighbors is defined by relation . UAV motion is restricted to occur only from a location to a neighboring one. The direct effect of action , intuitively stating that UAV moves to location , is described by the rule:

The fact that two radio nodes are in radio contact is encoded by fluent . The next two rules provide a recursive definition of the fluent, represented by means of state constraints:

The first rule defines the base case of two radio nodes that are directly in range of each other. Relation calculates the square of the distance between two locations. Fluent holds if radio is known to be out-of-order, and a suitable axiom (not shown) defines the closed-world assumption on it. In the formalization, is a defined positive fluent, i.e., a fluent whose truth value, in each state, is completely defined by the current value of other fluents, and is not subject to inertia. The formalization of is thus completed by a rule capturing the closed-world assumption on it:

Functions and , in Figure 2a, respectively check if the goal has been achieved, and whether the history observed by the agent contains any unexpected observations. Following the definitions from [Balduccini and Gelfond2003], observations are unexpected if they contradict the agent’s expectations about the corresponding state of the environment. This definition is captured by the reality-check axiom, consisting of the constraints:

Function uses a diagnostic process along the lines of [Balduccini and Gelfond2003] to identify a set of exogenous actions (actions beyond the control of the agent that may occur unobserved), whose occurrence explains the observations. To deal with the complexities of reasoning in a dynamic, multi-agent domain, the present work extends the previous results on diagnosis by considering multiple types of exogenous actions, and preferences on the resulting explanations. The simplest type of exogenous action is , which occurs when radio node breaks. This action causes fluent to become true. Actions of this kind may be used to explain unexpected observations about the lack of radio contact. However, the agent must also be able to cope with the limited observability of the position and motion of the other agents. This is accomplished by encoding commonsensical statements (encoding omitted) about the behavior of other agents, and about the factors that may affect it. The first such statement says that a UAV will normally perform the mission plan, and will stop performing actions when its portion of the mission plan is complete. Notice that a mission plan is simply a sequence of actions. There is no need to include pre-conditions for the execution of the actions it contains, because those can be easily identified by each agent, at execution time, from the formalization of the domain.

The agent is allowed to hypothesize that a UAV may have stopped executing the mission plan (for example, if the UAV malfunctions or is destroyed). Normally, the reasoning agent will expect a UAV that aborts execution to remain in its latest location. In certain circumstances, however, a UAV may need to deviate completely from the mission plan. To accommodate for this situation, the agent may hypothesize that a UAV began behaving in an unpredictable way (from the agent’s point of view) after aborting plan execution. The following choice rule allows an agent to consider all of the possible explanations:

A constraint ensures that unpredictable behavior can be considered only if a UAV is believed to have aborted the plan. If that happens, the following choice rule is used to consider all possible courses of actions from the moment the UAV became unpredictable to the current time step.

In practice, such a thought process is important to enable coordination with other UAVs when communications between them are impossible, and to determine the side-effects of the inferred courses of actions and potentially take advantage of them (e.g., “the UAV must have flown by target . Hence, it is no longer necessary to take a picture of ”). A minimize statement ensures that only cardinality-minimal diagnoses are found:

An additional effect of this statement is that the reasoning agent will prefer simpler explanations, which assume that a UAV aborted the execution of the mission plan and stopped, over those hypothesizing that the UAV engaged in an unpredictable course of actions.

Function , as well as the mission planner, compute a new plan using a rather traditional approach, which relies on a choice rule for generation of candidate sequences of actions, constraints to ensure the goal is achieved, and minimize statements to ensure optimality of the plan with respect to the given metrics.

The next paragraphs outline two experiments, in increasing order of sophistication, which demonstrate the features of our approach, including non-trivial emerging interactions between the UAVs and the ability to work around unexpected problems autonomously.

Example Instance 1. Consider the environment shown in in Figure 4. Two UAVs, and are initially located at the home base in the lower left corner. The home base, relays and targets are positioned as shown in the figure, and the radio range is set to grid units.

The mission planner finds a plan in which the UAVs begin by traveling toward the targets. While visits the first two targets, positions itself so as to be in radio contact with (Figures 4 and 4). Upon receipt of the pictures, moves to within range of the relays to transmit the pictures to the home base (Figure 4). At the same time, flies toward the final target. UAV , after transmitting pictures to home base, moves to re-establish radio contact with and to receive the picture of (Figure 4). Finally, moves within range of the relays to transmit picture of to the home base.

Remarkably, in this problem instance the plan establishes as a ”data mule” in order to cope with the network limits. The ”data mule” behavior is well-known in sensor network applications [Shah et al.2003, Jea, Somasundara, and Srivastava2005]

; however, no description of such behavior is included in our planner. Rather, the behavior emerges as a result of the reasoning process. The data-mule behavior is adopted by the planner because it optimizes the evaluation metrics (mission length and total staleness).

Step 5: is transmitting images to .
Step 6: moves toward relays. Relay nodes 5, 6, and 7 have failed.
Step 7: re-plans and moves closer to home base.
Step 8: moves toward .
Step 9: and reconnect and move back toward home base.
Figure 5: Example instance 2 illustrates re-planning after relay node failure between steps 5 and 6 forcing the UAVs to re-plan.

Example Instance 2. Now consider a more challenging and realistic example (Figure 5), in which the UAVs must cope with unexpected events occurring during mission execution. Environment and mission goals are as above.

The mission planner produces the same plan described earlier333The careful reader may notice from the figures that the trajectory used to visit the targets is the mirror image of the one from the previous example. The corresponding plans are equivalent from the point of view of all the metrics, and the specific selection of one over the other is due to randomization used in the search process., in which acts as a “data mule.” The execution of the plan begins as expected, with reaching the area of the targets and staying in radio contact with it in order to receive the pictures of the first two targets (Figure 5). When flies back to re-connect with the relays, however, it observes (“Observe” step of the architecture from Figure 1b) that the home base is unexpectedly not in radio contact. Hence, uses the available observations to determine plausible causes (“Explain” step of the architecture). In this instance, observes that relays , , and all the network nodes South of them are not reachable via the network. Based on knowledge of the layout of the network, determines that the simplest plausible explanation is that those three relays must have stopped working while was out of radio contact (e.g., started malfunctioning or have been destroyed).444As shown in Figure 5 this is indeed the case in our experimental set-up, although it need not be. Our architecture is capable of operating under the assumption that its hypotheses are correct, and later re-evaluate the situation based on further observations, and correct its hypotheses and re-plan if needed. Next, replans (“Local Planner” step of the architecture). The plan is created based on the assumption that will continue executing the mission plan. This assumption can be later withdrawn if observations prove it false. Following the new plan, moves further South towards the home base (Figure 5). Simultaneously, continues with the execution of the mission plan, unaware that the connectivity has changed and that has deviated from the mission plan. After successfully relaying the pictures to the home base, moves back towards . UAV , on the other hand, reaches the expected rendezvous point, and observes that is not where expected (Figure 5). UAV does not know the actual position of , but its absence is evidence that must have deviated from the plan at some point in time. Thus, ’s must now replan. Not knowing ’s state, ’s plan is to fly South to relay the missing picture to the home base on its own. This plan still does not deal with the unavailability of , , , since has not yet had a chance to get in radio contact with the relays and observe the current network connectivity state. The two UAVs continue with the execution of their new plans and eventually meet, unexpectedly for both (Figure 5). At that point, they automatically share the final picture. Both now determine that the mission can be completed by flying South past the failed relays, and execute the corresponding actions.

Experimental Comparison. As mentioned earlier, we believe that our network-aware approach to reasoning provides advantages over the state-of-the-art techniques that either disregard the network, or assume perfect communications. Figure 3b provides an overview of a quantitative experimental demonstration of such advantages. The figure compares our approach with the one in which the network is disregarded, in terms of mission length and total staleness.555For simplicity we measure mission length and staleness in time steps, but it is not difficult to add action durations. The optimistic approach is not considered, because its brittleness makes it not viable for actual applications. The comparison includes the two example instances discussed earlier (labeled Exp-2 and Exp-4). Of the other two experiments, Exp-1 is a variant of Exp-2 that can be solved with the data-mule  in a static position, while Exp-3 is a variant of Exp-2 with targets. As can be seen, the network-aware approach is always superior. In Exp-1, the UAV acting as a data-mule extends the range of the network so that all the pictures are instantly relayed to the home base, reducing total staleness to . In Exp-4, it is worth stressing that the network, which the UAVs rely upon when using our approach, suddenly fails. One would expect the network-unaware approach to have an advantage under these circumstances, but, as demonstrated by the experimental results, our approach still achieves a lower total staleness of the pictures thanks to its ability to identify the network issues and to work around them.

From a practical perspective, the execution times of the various reasoning tasks have been extremely satisfactory, taking only fractions of a second on a modern desktop computer running the clasp solver [Gebser, Kaufmann, and Schaub2009], even in the most challenging cases.

5 Simulation and Experimental Setup

The simulation for the experimental component of this work was built using the Common Open Research Emulator (CORE) [Ahrenholz2010]. CORE is a real-time network emulator that allows users to create lightweight virtual nodes with full-fledged network communications stack. CORE virtual nodes can run unmodified Linux applications in real-time. The CORE GUI incorporates a basic range-based model to emulate networks typical in mobile ad-hoc network (MANET) environments. CORE provides an interface for creating complex network topologies, node mobility in an environment, and access to the lower-level network conditions, e.g., network connectivity. Using CORE as a real-time simulation environment allows agents, represented as CORE nodes, to execute mission plans in realistic radio environments. For this work, CORE router nodes represent the home base, relays, and UAVs. The nodes are interconnected via an ad-hoc wireless network. As the UAVs move in the environment, CORE updates the connectivity between other UAVs and relays based on the range dictated by the built-in wireless model. The radio network model has limited range and bandwidth capacity. Each node runs the Optimized Link-State Routing protocol (OLSR) [Jacquet et al.2001], a unicast MANET routing algorithm, which maintains the routing tables across the nodes. The routing table makes it possible to determine if a UAV can exchange information with other radio nodes at any given moment. Using CORE allows us to account for realistic communications in ways not possible with multi-agent simulators such as AgentFly [David Sislak and Pechoucek2012].

6 Conclusion and Future Work

This paper discussed a novel application of an ASP-based intelligent agent architecture to the problem of UAV coordination. The UAV scenarios considered in this paper are bound to be increasingly common as more levels autonomy are required to create large-scale systems. Prior work on distributed coordination and planning has mostly overlooked or simplified communications dynamics, at best treating communications as a resource or other planning constraint.

Our work demonstrates the reliability and performance gains deriving from network-aware reasoning. In our experimental evaluation, our approach yielded a reduction in mission length of up to and in total staleness between and . We expect that, in more complex scenarios, the advantage of a realistic networking model will be even more evident. In our experiments, execution time was always satisfactory, and we believe that several techniques from the state-of-the-art can be applied to curb the increase in execution time as the scenarios become more complex. For the future, we intend to extend the mission-aware networking layer with advanced reasoning capabilities, integrate network-aware reasoning and mission-aware networking tightly, and execute experiments demonstrating the advantages of such a tight integration.


  • [Ahrenholz2010] Ahrenholz, J. 2010. Comparison of CORE network emulation platforms. In IEEE Military Communications Conf.
  • [Balduccini and Gelfond2003] Balduccini, M., and Gelfond, M. 2003. Diagnostic reasoning with A-Prolog.

    Journal of Theory and Practice of Logic Programming (TPLP)

  • [Balduccini and Gelfond2008] Balduccini, M., and Gelfond, M. 2008. The AAA Architecture: An Overview. In AAAI Spring Symp.: Architectures for Intelligent Theory-Based Agents.
  • [Baral and Gelfond2000] Baral, C., and Gelfond, M. 2000. Reasoning Agents In Dynamic Domains. In

    Workshop on Logic-Based Artificial Intelligence

    , 257–279.
    Kluwer Academic Publishers.
  • [Baral2003] Baral, C. 2003. Knowledge Representation, Reasoning, and Declarative Problem Solving. Cambridge University Press.
  • [Blount, Gelfond, and Balduccini2014] Blount, J.; Gelfond, M.; and Balduccini, M. 2014. Towards a Theory of Intentional Agents. In Knowledge Representation and Reasoning in Robotics, AAAI Spring Symp. Series.
  • [David Sislak and Pechoucek2012] David Sislak, Premysl Volf, S. K., and Pechoucek, M. 2012. AgentFly: Scalable, High-Fidelity Framework for Simulation, Planning and Collision Avoidance of Multiple UAVs. Wiley Inc. chapter 9, 235–264.
  • [Gebser, Kaufmann, and Schaub2009] Gebser, M.; Kaufmann, B.; and Schaub, T. 2009. The Conflict-Driven Answer Set Solver clasp: Progress Report. In Logic Programming and Nonmonotonic Reasoning.
  • [Gelfond and Lifschitz1991] Gelfond, M., and Lifschitz, V. 1991. Classical Negation in Logic Programs and Disjunctive Databases. New Generation Computing 9:365–385.
  • [Gelfond and Lifschitz1993] Gelfond, M., and Lifschitz, V. 1993. Representing Action and Change by Logic Programs. Journal of Logic Programming 17(2–4):301–321.
  • [Jacquet et al.2001] Jacquet, P.; Muhlethaler, P.; Clausen, T.; Laouiti, A.; Qayyum, A.; and Viennot, L. 2001. Optimized link state routing protocol for ad hoc networks. In IEEE INMIC: Technology for the 21st Century.
  • [Jea, Somasundara, and Srivastava2005] Jea, D.; Somasundara, A.; and Srivastava, M. 2005. Multiple controlled mobile elements (data mules) for data collection in sensor networks. Distr. Computing in Sensor Sys.
  • [Kopeikin et al.2013] Kopeikin, A. N.; Ponda, S. S.; Johnson, L. B.; and How, J. P. 2013. Dynamic Mission Planning for Communication Control in Multiple Unmanned Aircraft Teams. Unmanned Systems 1(1):41–58.
  • [Marek and Truszczynski1999] Marek, V. W., and Truszczynski, M. 1999. The Logic Programming Paradigm: a 25-Year Perspective. Springer Verlag, Berlin. chapter Stable Models and an Alternative Logic Programming Paradigm, 375–398.
  • [McCarthy1998] McCarthy, J. 1998. Elaboration Tolerance.
  • [Niemelä and Simons2000] Niemelä, I., and Simons, P. 2000. Logic-Based Artificial Intelligence. Kluwer Academic Publishers. chapter Extending the Smodels System with Cardinality and Weight Constraints.
  • [Pynadath and Tambe2002] Pynadath, D. V., and Tambe, M. 2002. The Communicative Multiagent Team Decision Problem: Analyzing Teamwork Theories and Models. JAIR 16:389–423.
  • [Rao and Georgeff1991] Rao, A. S., and Georgeff, M. P. 1991. Modeling Rational Agents within a BDI-Architecture. In Proc. of the Int’l Conf. on Principles of Knowledge Representation and Reasoning.
  • [Shah et al.2003] Shah, R. C.; Roy, S.; Jain, S.; and Brunette, W. 2003. Data MULEs: modeling and analysis of a three-tier architecture for sparse sensor networks. Ad Hoc Networks 1(2-–3).
  • [Usbeck, Cleveland, and Regli2012] Usbeck, K.; Cleveland, J.; and Regli, W. C. 2012. Network-centric ied detection planning. IJIDSS 5(1):44–74.
  • [Wooldridge2000] Wooldridge, M. 2000. Reasoning about Rational Agents. MIT Press.