160 likes | 270 Views
Adaptive Optimization of Solution Time In A Distributed Multi-agent System. Amy Fedyk, Gary Kratkiewicz, Jeff Berliner, Mark Davis, Beth DePass, Rich Lazarus, Rusty Bobrow KIMAS, April 18, 2005 Afedyk@bbn.com. Outline. Optimization goal UltraLog Overview Prior Art
E N D
Adaptive Optimization of Solution Time In A Distributed Multi-agent System Amy Fedyk, Gary Kratkiewicz, Jeff Berliner, Mark Davis, Beth DePass, Rich Lazarus, Rusty Bobrow KIMAS, April 18, 2005 Afedyk@bbn.com
Outline • Optimization goal • UltraLog Overview • Prior Art • Solution Time Optimization Challenges • Techniques for Optimizing Solution Time • Conclusion
Optimization Goal • Improve time to solution in a large-scale logistics planning application • Have a solution available at all times • Eliminate unnecessary re-work • Minimize effects of perturbations within society • Continue to perform during system stresses and communications loss
UltraLog: A Large Agent Society • UltraLog • DARPA-funded effort to explore building logistics systems with a distributed multi-agent architecture • The test society models demand from military organizations supported by a logistics supply chain • Each agent models a single military organization with its physical assets, business rules, and relationships to other organizations • Contains over 1000 medium weight agents distributed across nearly 100 computers • Built with Cougaar • Open source, distributed-agent architecture
Solution Time Optimization Challenges Fuel Supply Requests Fuel Supply Chain OSD USEUCOM FORSCOM TRANSCOM DLAHQ OSC HNS USAEUR 5-CORPS 21-TSC -HQ 1-AD 3-SUPCOM -HQ 5-CORPS REAR 5-CORPS ARTY 21-TSC Orgs 574- SSCO 110-POL- SUPPLYCO 16-CSG (1-AD) 3-SUPCOM Orgs 7-CSG (5-CORPS) 1-AD Orgs 123- MSB-POL 5-CORPS REAR Orgs 5-CORPS ARTY Orgs 16-CSG Orgs 26- SSCO 102-POL- SUPPLYCO 7-CSG Orgs 240- SSCO 900-POL- SUPPLYCO • Large-scale military logistics planning application • Small changes can affect many agents within the society. • Supporting agents do not know when all their requests have been received.
Prior Art • Adaptive systems • Gracefully degrading systems • Survivable systems • Self-healing systems • Speculative computation • Effects of communication on performance • Trade-off cost of communication and value of information • Building on prior art • “Self-pacing” system • Graceful degradation via speculative computation • Improve performance by limiting information flow in a purposeful manner
Techniques For Optimizing Solution Time • Multi-Resolutional solutions • Continuous up-to-date plan • Adapts to system stresses • Control upward/downward information flow • Propagate change based on local consistency • Transmission of differences only • Each agent minimizes effects of changes by transmitting only the differences between the previously seen and new plan • Use predictors • Proxies for temporarily unavailable components
1. Multi-Resolutional Solutions • Society generates two plans simultaneously • Low-resolution solution • Rough estimate plan • Produced quickly • Preferred over no solution • High-resolution solution • Detailed high fidelity plan • Becomes available more slowly • Gradually replaces low-resolution solution • Allows the plan to evolve over time
Replace Low for High-Resolution Ultimate Solution High High High High High High High High High High Still Better Solution High High High High High High Low Low Low Low Better Solution High High Low Low Low Low Low Low Low Low Initial Solution Low Low Low Low Low Low Low Low Low Low The high-resolution solution gradually replaces the low-resolution solution Time elapsed while planning Near-Term Tasks Long-Term Tasks
2. Controlling Upward/DownwardInformation Flow • Information Flow in the Supply Chain • Local Agent receives incoming tasks from customers • Local Agent sends outgoing messages to providers. • Local Agent receives responses back from providers • Local Agent then sends responses back to its customers
2. Controlling Upward/DownwardInformation Flow • Reduce solution time by managing re-work • Local agents refrain from sending messages if local re-work is likely • Incoming tasks have changed • Greatly improved stability and performance. • Test societies of 1092 agents show solution times which are always under 12 minutes on baseline runs.
3. Transmit Differences Only • Minimize the affects of perturbations. • Each agent evaluates the messages it has previously sent to its providers before sending the re-computed plan. • Transmission-of-differences technique reduced number of unnecessary perturbations in society by an average of 26.0%. Transmit only the one changed task Transmit only two changed tasks and responses
4. Predictors • Predictors are agent proxies which provide approximations based on the best available data. • The predictors allow agents to continue planning during comms loss • Customer Predictors (CP) estimate incoming customer requests. • Supplier Predictor (SP) estimates answers a supplier would give in response to customer requests. • Under loss of comms, agents with predictors were about 3x faster than agents without predictors. Supplier estimates a customer’s requests Customers estimate a supplier’s response Supplier Agent CP SP Customer Agent Customer Agent SP Customer Agent
Conclusion • Multi-Resolutional solutions provide a continuously available and continuously improving plan • Controlling Upward/Downward information flow prevents unnecessary re-work. • Exclusive transmission of differences minimizes effects of perturbations. • Predictors allow computation to proceed during comms loss.
For more information … • BBN Technologies: • http://www.bbn.com • Cougaar Agent Architecture: • http://www.cougaar.org • Other Cougaar-related KIMAS’05 papers: • “Watching Your Own Back: Self Managing Multi-Agent Systems”, M. Thome, T. Wright, et al • “Using QoS-Adaptive Coordination Artifacts to Increase Scalability of Communication in Distributed Multi-Agent Systems”, J. Zinky, S. Siracuse, et al • “A Reconfigurable Multiagent Society for Transportation Scheduling and Dynamic Rescheduling”, D. Montana, G.Vidaver, et al • “Scalability Aspects of Agent-based Naming Services”, T. Wright and K. Kleinmann