Reasoning about Intended Actions

Chitta Baral, Michael Gelfond

Introduction

In the field of artificial intelligence, reasoning about actions and change has traditionally focused on two primary domains: narrative reasoning (what has actually occurred) and planning (what could potentially occur). However, a significant gap exists in modeling the "intended" but unfulfilled actions of an agent. In classical logic-based AI, if a planned sequence of actions is interrupted—for instance, a traveler missing a connecting flight—the system often treats the situation as a logical inconsistency or assumes the agent has simply abandoned their goal.

This paper addresses this gap by introducing a formal framework for reasoning about intended actions. These are plans that an agent meant to execute but may have been delayed by unforeseen external circumstances. By bridging high-level "Belief-Desire-Intention" (BDI) theories with formal action languages, the authors provide a mechanism where intentions persist, allowing a reasoner to conclude that a delayed action will occur at the next possible opportunity rather than failing.

Methodology: The $\mathcal{AL}_I$ Language

The authors propose an extension of the action language $\mathcal{AL}$, designated as $\mathcal{AL}_I$. This language is designed to handle the persistence of intentions through a combination of formal semantics and logic programming.

Core Components

The framework introduces several key predicates to distinguish between internal states and external observations:

  • intended(α, i): Represents that an agent intended to perform a sequence of actions $\alpha$ starting at time $i$.
  • happened(α, i): An observation that an action or sequence actually occurred.
  • observed(l, i): An observation regarding the state of a fluent (a property of the world) at a specific time.

Persistence and Unfolding

A central innovation of $\mathcal{AL}_I$ is the Persistence Axiom. In traditional models, if an action's preconditions are not met, the action simply fails. In $\mathcal{AL}_I$, if an intended action is blocked by a conflicting event or physical impossibility, the intention does not vanish; it persists to the next time step.

Furthermore, the framework utilizes a recursive "unfolding" structure. This ensures that in a multi-step plan, the second action is only considered "planned" once the first action in the sequence has been successfully executed. This prevents the logic from attempting to reason about future steps of a plan that has been stalled at an earlier stage.

Implementation via AnsProlog

To make the framework computationally viable, the authors translate $\mathcal{AL}_I$ into AnsProlog (Logic Programming under Answer Set Semantics). This allows the system to treat the execution of intentions as "normative" behavior. By using default reasoning, the system assumes that intended actions will happen unless an exception (a delay or conflict) is encountered. The answer sets of the resulting program correspond to the valid "trajectories"—sequences of states and actions—that satisfy the observed history and the agent's intentions.

Illustrative Scenarios

The framework was evaluated using several commonsense reasoning benchmarks instead of large-scale datasets, focusing on the logic's ability to handle narrative interruptions:

  • The Delayed Meeting: A person intends to leave work at 5:00 PM but is delayed by an unexpected meeting until 5:30 PM. The system correctly infers that the person will leave at 5:30 PM rather than concluding they never left.
  • The Trip Domain: A complex scenario involving travel between cities (e.g., Boston to Baghdad). In one test case, a plane suffers a two-day breakdown. The system successfully reasons that the agent will reach their destination on Day 8 instead of the originally planned Day 6, maintaining the intention to travel despite the mechanical failure.

Key Results and Insights

The research demonstrates that complex narrative reasoning involving delays and location tracking can be implemented declaratively. Key findings include:

  • Provable Correctness: The authors established a theorem showing that the AnsProlog implementation's answer sets are mathematically equivalent to the trajectories defined by the high-level $\mathcal{AL}_I$ semantics.
  • Resilience to Interruption: The system "waits" for the environment to satisfy an action's preconditions, reflecting a more realistic model of rational agency than previous rigid models.
  • Separation of Planning and Occurrence: By distinguishing between what is planned and what occurs, the model can handle exogenous events that interfere with an agent's internal goals.

Limitations and Future Directions

While $\mathcal{AL}_I$ provides a robust foundation for reasoning about delayed actions, it currently focuses on linear sequences. Future work could expand this to include:

  • Complex Plan Structures: Incorporating loops and conditional plans (similar to Golog programs).
  • Abandonment Criteria: Defining formal thresholds for when an agent should give up on an intention rather than persisting indefinitely.
  • Non-deterministic Environments: Moving beyond deterministic action descriptions to handle environments where actions might fail randomly rather than just being blocked.

Conclusion

This work provides a vital link between the abstract intentions of BDI agents and the formal rigor of action languages. By treating intentions as persistent defaults, the $\mathcal{AL}_I$ framework allows AI systems to reason about human-like persistence and adapt to the unpredictable nature of the real world.

Summary updated

BibTeX
@inproceedings{baral2005reasoning,
  author = {Chitta Baral and Michael Gelfond},
  title = {{Reasoning about Intended Actions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2005},
}
Figure