MAPWEB: Cooperation between Planning Agents and Web Agents

David Camacho, José M. Molina, Daniel Borrajo, Ricardo AlerInformation 2002

Abstract

Nowadays, there is a vast and growing amount of information stored on the web, available to any connected user. This information is heterogeneous and distributed. While web information could solve many complex problems, the time required for searching, retrieving, and analyzing this data is often prohibitive for human users. While search engines and meta-search engines provide basic access, it remains impractical to build a single, unified system that combines all possible information sources. MAPWEB addresses this by proposing a multi-agent architecture that bridges the gap between high-level AI reasoning and the messy, distributed data of the live web.

The Evolution of Web Applications

The internet has evolved from a collection of static pages to a complex ecosystem of services. As illustrated in Figure 1, web applications can be categorized into simple systems, such as search engines, and complex systems, including intelligent agents and multi-agent systems (MAS). MAPWEB sits firmly in the latter category, utilizing specialized agents to navigate the complexities of the modern web.

Classification of Web applications, positioning Multi-Agent Systems as complex applications compared to simple search engines.

The authors identify four primary hurdles that make automated web-based problem solving difficult:

  1. Exponential Growth: The number of sources is too large for a single unified system.
  2. Heterogeneity: Different sites represent similar data in wildly different formats.
  3. Distribution: Useful information is scattered across disparate domains.
  4. Dynamics: Web data changes constantly, requiring real-time validation.

The MAPWEB Architecture

To overcome these hurdles, MAPWEB utilizes a four-layered Multi-Agent System architecture designed to "hide" the complexity of the web from the core reasoning engine:

  • The Reasoning Layer: Contains PlannerAgents that use the PRODIGY 4.0 non-linear planner. Instead of planning with every granular detail, they create "abstract plans" using generic operators to avoid computational state-space explosion.
  • The Accessing Information Layer: Contains WebAgents. These are specialized bots "familiar" with specific websites. They take abstract queries from the planners and translate them into actual web searches to find real-world instances (e.g., specific flight times and prices).
  • Control Agents: A ManagerAgent and CoachAgents handle organizational structure, forming "teams" of agents to solve specific user problems.
  • Communication: All agents communicate using KQML (Knowledge Query and Manipulation Language), a standard for agent-to-agent messaging.

Cooperative Problem Solving

The core innovation of MAPWEB is its cooperative-solving process, which follows a "plan-then-validate" workflow:

  1. Goal Capture: A UserAgent captures a high-level goal (e.g., "I want to travel from Madrid to Barcelona").
  2. Abstraction: The PlannerAgent generates several abstract "skeletons" of a plan.
  3. Fleshing Out: WebAgents query the live web to fill these skeletons with concrete data.
  4. Validation: The PlannerAgent validates these results, discarding plans that are not feasible in reality (e.g., if a specific flight leg is unavailable).

Case Study and Results

The system was evaluated in the e-tourism domain, utilizing real-time data from airline websites and local transportation schedules. In a test case involving travel from Madrid to Barcelona, the system demonstrated significant efficiency:

  • Complexity Reduction: From a single user query, the system generated 10 abstract solutions.
  • Concrete Expansion: After querying the web, these 10 abstractions were expanded into 624 possible concrete solutions (combinations of flights, trains, and buses).
  • User Interface: A GUI was developed to allow users to inspect the underlying web data retrieved by the agents for each step of the plan.

Key Insights and Future Directions

MAPWEB demonstrates that abstraction acts as a vital filter; by ignoring low-level details during initial planning, the system avoids getting bogged down by the volume of web data. Furthermore, the use of specialized WebAgents ensures scalability, as new information sources can be added without retraining the central planner.

However, limitations remain. WebAgent fragility is a concern, as changes in website layouts can break scraping logic. Additionally, generating hundreds of solutions can lead to information overload for the user. Future work will focus on integrating Case-Based Reasoning (CBR) to learn from past plans, implementing ranking and recommendation systems, and exploring parallel planning to further increase system speed.

Summary updated

BibTeX
@inproceedings{camacho2002mapweb,
  author = {David Camacho and José M. Molina and Daniel Borrajo and Ricardo Aler},
  title = {{MAPWEB: Cooperation between Planning Agents and Web Agents}},
  booktitle = {Information},
  year = {2002},
  doi = {10.11610/isij.0812},
}
Figure