Introduction
Published in 2001, this research addresses a fundamental challenge in artificial intelligence: deploying sophisticated planning systems within the volatile and heterogeneous environment of the live Web. The authors introduce MAPWeb, a multi-agent system (MAS) designed for complex travel planning. MAPWeb's core innovation lies in decoupling high-level logical reasoning from low-level data retrieval, effectively bridging the gap between traditional AI planners and real-time web data.
The Data-Gathering Bottleneck
Traditional AI planners are highly effective at determining sequences of actions to reach a goal. However, they struggle in dynamic environments like the Internet, where information—such as flight times, pricing, and availability—is distributed across numerous changing sources. Querying these sources in real-time during a planning loop creates a "data-gathering bottleneck," where network I/O latency far exceeds the time required for logical reasoning. Furthermore, the transient nature of web sources means a single site failure can cause a standard planner to fail entirely.
The MAPWeb Architecture
To overcome these hurdles, the authors developed the MAPWeb architecture, which utilizes three specialized agent types to manage different stages of the planning process.
- UserAgents: Manage the user interface and capture specific preferences, such as destination cities and allowed transfers.
- PlannerAgents: Powered by the Prodigy4.0 system, these agents generate "abstract plans." These are skeletal solutions (e.g., "Fly from Madrid to London") that define the travel structure without requiring immediate specific flight data.
- WebAgents: These agents act as the interface to specific web sources (e.g., Iberia Airlines or the Amadeus meta-search engine).
Caching and Local Validation
The critical enhancement in MAPWeb is the integration of a caching layer within the WebAgents. Each WebAgent maintains a local relational database. When a PlannerAgent requests data, the WebAgent first consults its local cache. If the data is unavailable, it performs a live query and updates the cache using a Least Recently Used (LRU) policy. This ensures that frequently accessed data remains available while stale information is eventually purged.
Experimental Evaluation
The system was evaluated using the e-Tourism domain, targeting four web sources: two direct airlines (Iberia and Avianca) and two meta-searchers (Amadeus and 4Airlines). The authors conducted tests using 35 distinct user queries, varying the complexity by allowing 0, 1, and 2 flight transfers.
As shown in the figure above, the number of "specific" solutions grows exponentially with the number of transfers, highlighting the necessity of the "abstract planning" phase to keep the search space manageable.
Key Results and Impact
The implementation of caching and abstract planning yielded significant performance gains:
- Query Efficiency: Live Web queries were reduced by an average of 25%.
- Latency Reduction: The most significant improvement occurred with the Amadeus-WebAgent, where response times plummeted from 1440.5 seconds (approx. 24 minutes) to just 56.3 seconds.
- Solution Integrity: The number of valid solutions found remained consistent between cached and non-cached versions, proving that caching does not compromise the planner's effectiveness.
- Scalability: The system demonstrated superior scalability; as plan complexity (transfers) increased, the cached version's response time grew significantly slower than the non-cached baseline.
Conclusion
MAPWeb demonstrates that separating abstract logic from concrete data validation is a robust strategy for AI planning in dynamic environments. By utilizing a multi-agent architecture with local caching, the system mitigates the data-gathering bottleneck, providing a scalable and resilient solution for real-time web-based planning tasks. Future work may explore Case-Based Reasoning (CBR) to allow PlannerAgents to reuse abstract plans, further optimizing the system's efficiency.
Summary updated