Learning-driven goal generation

Alberto Pozanco, Susana Fernández, Daniel Borrajo

Introduction

In classical automated planning, agents typically operate under a "closed-world assumption," where goals are static and provided at the start of a mission. However, real-world environments are dynamic; new tasks often emerge from external, or exogenous, events. Traditional reactive agents only begin planning once a goal is explicitly triggered, leading to a "wait-and-see" delay that can be costly in time-sensitive domains like emergency response, warehouse management, or traffic control.

Pozanco et al. propose a paradigm shift in their paper, "Learning-driven Goal Generation." They introduce LGG-AP (Learning-driven Goal Generation Anticipatory Planning), a framework designed to transform agents from reactive entities into anticipatory ones. By leveraging machine learning to identify patterns in environmental data, these agents can predict future goals and begin executing preparatory actions before the goals officially manifest.

The LGG-AP Architecture

The LGG-AP framework is integrated into the PELEA cognitive architecture, extending it with a specialized loop for goal anticipation. This loop enables the agent to continuously monitor the environment, learn from observed patterns, and inject predicted goals into the planning process.

The LGG-AP architecture integrated within the PELEA cognitive framework.

The architecture consists of three primary components within the goal generation loop:

  1. Examples Generator: This module monitors environmental features (e.g., sensor data) and records them alongside the actual appearance of goals to create a labeled dataset.
  2. Learning Module: It uses the generated examples to train a predictive model (typically a classifier) that estimates the probability of a goal appearing in the future based on current environmental signals.
  3. Goals & Metrics: This component evaluates the model's predictions. If the confidence in a predicted goal exceeds a certain threshold, it is formulated as a new goal and passed to the monitoring and planning modules.

Goal Prediction and Anticipation

The core of the anticipatory capability lies in how the system processes temporal data. The agent uses a sliding window of size $S$ to observe environmental features $f_1, f_2, \dots, f_n$. It then attempts to predict whether a goal $g$ will appear at a specific location after an anticipation horizon $H$.

The sliding window and anticipation horizon used for generating training examples.

By adjusting the horizon $H$, the agent can control how far into the future it looks. A well-tuned horizon allows the agent to position itself optimally. For instance, a surveillance drone might detect rising temperatures and seismic activity (features) and predict a fire (goal) will occur in the future. It can then fly toward the predicted location immediately, rather than waiting for the fire to start, thereby reducing the "penalty" of a delayed response.

Experimental Evaluation

To test LGG-AP, the authors developed a UAV simulator where a drone monitors a 10x10 grid. The environment includes exogenous variables like seismic activity and earth temperature. Goals are triggered by specific combinations of these variables (e.g., both values reaching a high threshold).

The performance was measured using Normalized Penalty Gain ($\mathbb{P}$), which quantifies the reduction in penalty (the cost of every time step a goal exists but remains unachieved) compared to a standard reactive planner.

Key Results

  • Performance Advantage: Once the agent collected sufficient training data (approximately 350 time steps), LGG-AP consistently outperformed reactive planning by significantly reducing accumulated penalties.
  • Resilience to Concept Drift: One of the framework's strengths is its ability to handle "concept drift"—when the underlying rules of the environment change. In experiments where the goal-triggering pattern shifted mid-mission (e.g., from a volcano cell to a lake cell), the on-line learning mechanism allowed the agent to discard the obsolete model and learn the new pattern, eventually regaining its performance edge.
  • Noise Tolerance: The system maintained a significant advantage even with 20% noise in goal appearances. While performance degraded at 40% noise, the framework proved robust in moderately unpredictable environments.

Conclusion and Future Work

LGG-AP demonstrates that anticipatory planning can drastically improve efficiency in dynamic environments. By learning to "see" into the future, agents can minimize the costs associated with exogenous events.

Future research directions include extending the framework to multi-agent systems, where coordination is required to prevent redundant anticipatory actions. Additionally, incorporating heterogeneous goal priorities would allow agents to prioritize high-stakes predictions (like fires) over routine tasks. This work marks a significant step toward more proactive and intelligent autonomous systems.

Summary updated

BibTeX
@article{pozanco2018learning,
  author = {Alberto Pozanco and Susana Fernández and Daniel Borrajo},
  title = {{Learning-driven goal generation}},
  journal = {AI Commun.},
  year = {2018},
  doi = {10.3233/aic-180754},
}
Figure