A cooperative planning algorithm to improve performance in Web domains

David Camacho, Ricardo Aler, José M. Molina, Daniel Borrajo2003

Abstract

MAPWEB is a multiagent framework that integrates planning agents with Web information retrieval agents to solve complex problems requiring real-time data. By decoupling abstract logical planning from information gathering and enabling agent cooperation, MAPWEB improves efficiency in dynamic Web environments. Experimental results show that for complex multi-leg travel planning, a cooperative multiagent approach can reduce execution time by up to 35% compared to single-agent systems.

Introduction: The Web Planning Bottleneck

Planning in Web environments—such as organizing a multi-leg trip involving flights, hotels, and car rentals—presents a significant challenge for traditional AI. These tasks require two distinct processes: logical reasoning to sequence steps and information gathering to query heterogeneous, real-time Web sources.

Traditional planners often suffer from the "Web bottleneck," where network latency and massive data volumes cause the search space to explode. Furthermore, many systems lack the flexibility to adapt to dynamic changes in the domain without manual reprogramming. MAPWEB addresses these issues by creating a computationally efficient and flexible multiagent architecture.

The MAPWEB Architecture

The authors propose a three-layer multiagent framework designed to separate reasoning from data retrieval:

  1. User Agents: Manage the interface and capture specific user preferences.
  2. Planner Agents (Reasoning): These agents use the PRODIGY4.0 planner to generate abstract solutions.
  3. Web Agents (Information Gathering): Specialized "wrappers" that retrieve real-time data from the Web to instantiate the details of abstract plans.
The MAPWEB three-layer architecture featuring User, Planner, and Web Agents.

Core Innovations

  • Decoupling Planning and Gathering: The system first solves an abstract version of the problem (e.g., "book a flight from City A to City B") without immediate Web access. Once a logical sequence is established, Web Agents fill in specific instances (e.g., "Iberia flight 123").
  • Cooperative Planning: Planner Agents can distribute subproblems across the network when overwhelmed, communicating via a subset of the KQML protocol.
  • Case-Based Planning (CBP): Agents maintain a "Plan Base" to reuse successful past solutions. This uses a dual-indexing system: a Goal-index for specific instantiated plans and an Abstract-Goal-index for reusable templates.

Experimental Evaluation

The framework was tested in an e-tourism domain, a modified version of the standard AI "Logistics" domain. The test set included 10 travel problems of increasing complexity, from simple 2-leg trips to complex 5-leg journeys involving multiple cities and services. Real-world data was retrieved via WebAgents for providers such as Iberia and Amadeus.

Key Results

The experiments compared a single-agent configuration against a cooperative multiagent setup. The results demonstrate that the benefits of cooperation scale with problem complexity.

Experimental results showing time savings and workload distribution as problem complexity (number of legs) increases.
  • Complexity Threshold: For simple problems (2 legs), the communication overhead resulted in a slight performance penalty (approx. 1.4% slower). However, as complexity increased, the benefits of parallelization became dominant.
  • Significant Speedup: For the most complex 5-leg problems, the cooperative algorithm achieved a 30% to 35% reduction in response time.
  • Workload Distribution: In complex scenarios, up to 60% of the trip "legs" were successfully shared across different agents, optimizing the planning process.

Conclusion and Future Work

MAPWEB demonstrates that decoupling abstract planning from information gathering, combined with agent cooperation, significantly enhances performance in Web-based domains. While effective, future work will focus on expanding the variety of Web sources (e.g., taxis, trains) and implementing learning capabilities within WebAgents to cache and reuse information more effectively, further mitigating network latency.

Summary updated

BibTeX
@misc{camacho2003cooperative,
  author = {David Camacho and Ricardo Aler and José M. Molina and Daniel Borrajo},
  title = {{A cooperative planning algorithm to improve performance in Web domains}},
  year = {2003},
  doi = {10.1109/icsmc.2002.1176442},
}
Figure