220 likes | 335 Views
4 th International Conference on Service Oriented Computing Adaptive Web Processes Using Value of Changed Information. John Harney, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia. Web Process Composition. Supply Chain Process. Preferred Supplier Service
E N D
4th International Conference on Service Oriented ComputingAdaptive Web Processes Using Value of Changed Information John Harney, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of Georgia
Web Process Composition Supply Chain Process Preferred Supplier Service Rate of Order Satisfaction Spot Market Service Rate of Order Satisfaction Start Finish Invoke Response Invoke Response Inventory Service Rate of Order Satisfaction Other Supplier Service Rate of Order Satisfaction Traditional Web process compositions assume static environments
Web Process Composition Many environments are dynamic Preferred Supplier Service Rate of Order Satisfaction Spot Market Service Rate of Order Satisfaction Start Finish Invoke Response Invoke Response Inventory Service Rate of Order Satisfaction Other Supplier Service Rate of Order Satisfaction Preferred Supplier may be better choice Supply Chain Process Inventory satisfaction rate decreases
Optimal Web Process Composition • Underlying objective • Web process optimality • Depends on how accurately the environment is captured • Requires finding any changes that may have occurred
Motivating Scenario – Supply Chain • How does process environment change? • Example: Supply Chain (Inventory service) • Rate of satisfaction of a supplier service • Eg Inventory satisfaction rate decreases or increases • Cost of using a service • Cost of the Inventory service decreases or increases • Other parameters (response time, QoS, etc)
Possible Adaptation Approaches • Do Nothing (Ignore the changes) • Advantages • Simple • No additional cost or computational overhead of adaptation • Disadvantages • Sub-optimal Web process • Web process can do better
Possible Adaptation Solutions • Query a random provider for relevant information (eg. Inventory) • Advantages • Up-to-date knowledge of queried service provider • Performs no worse than “do nothing” strategy • Disadvantages • Querying for information not free • Paying for information that may not be useful • Information may not change Web process
Overview of Our Approach • VOC – Value of Changed Information • Decides if obtaining information is: • Useful • Will it induce a change in optimality of Web process? • Cost-efficient • Is the information worth the cost of obtaining it? • Extension of VOI (Value of Information)
Overview of Our Approach • VOC • Measures how “badly” the current process is performing in changed environment • Defined as the difference between: • Expected performance of the old process in the changed environment • Expected performance of the best process in the changed environment
Web Process Composition Using MDPs • Markov Decision Processes (MDP) (see JWSR 05) • Definition:M = (S, A, T, C) S : States, A: Actions, • Actions may be non-deterministic T: Transition function, • States are fully observable S x A (S) C: Cost function S x A Real • Perform stochastic optimization using Dynamic Programming • Value function heuristic : • Optimal Policy n : S A • (Minimize expected cost)
Web Process Composition Using MDPs S: Feature-based state space using propositions • E.g. Mftg. Inventory Availability Yes|No|Unknown A: WS invocations • E.g. Check Mftg. Inventory Status Check Preferred Supplier Status T: An estimate of the “ground truth” probabilities • E.g. T(Mftg. Inventory Avail = Yes| Check Mfg. Inventory Status, Mftg. Inventory Availability= Unknown) = 0.33 C: Costs may be obtained through costing analysis Π*: Determines which service to invoke at a particular state
Formalizing VOC • Supply Chain Example • Querying Transition function T (satisfaction rate of suppliers in supply chain) • Changed Transition function – T’(.|a,s’) • Current Policy Value - Vπ(s|T’) • Best Policy Value - Vπ*(s|T’)
Formalizing VOC • Actual service parameters are not known • Must average over all possible revised parameters • We use a belief of revised values • Could be learned over time
Manufacturer’s Beliefs Example - Beliefs of Order Satisfaction
Adaptive Web Process Composition 1. Calculate VOC for each service provider involved in Web process Prov 1 Prov 2 Prov n … VOC * VOC 2. Find provider whose changed parameter induces the greatest change in policy (VOC*) VOC VOC* < Cost of Querying VOC* > Cost of Querying 3. Compare VOC* to cost of querying Keep current policy Query Provider Re-solve policy if needed
Empirical Results • Simulated volatile Supply Chain & Patient Transfer scenarios for: • Do Nothing • keeping the same process • Query random provider • Obtaining information from one provider at each state • Reformulate composition => Resolve policy • VOC • VOC for determining if query is needed • Reformulate composition if need be
Empirical Results • Measured the average process cost over a range of query cost values • VOC queries selectively -- query random strategy cost grows at a larger rate than VOC • VOC performs no worse that the do nothing strategy Supply Chain Web Process Patient Transfer Web Process
Discussion • Web Process environments are dynamic • Processes must adapt to changes in environment to remain optimal • Obtaining the revised information is crucial but may be costly • VOC approach • Obtains revised information expected to be useful • Avoids unnecessary queries
Future Work • VOC calculations are computationally expensive • Knowledge of service parameter guarantees may be used to eliminate unnecessary VOC calculations
Thank you Questions