An overview of human provided services and mixed service oriented systems is given. The core theme of this research is to support dynamic interactions between humans and services based on evolving interaction preferences.
The application of such a system can be found in crowdsourcing scenarios.
Human Interactions in Mixed Service-Oriented Systems
1. Human Interactions in Mixed Systems -
Architecture, Protocols, and Algorithms
Daniel Schall
Distributed Systems Group
Institute of Information Systems
TU Wien
http://www.infosys.tuwien.ac.at
http://www.infosys.tuwien.ac.at/prototyp/HPS/HPS_index.html
27. Feb. 2009
2. Overview
• Motivation
• Related approaches and challenges
• The Human-Provided Services (HPS)
framework
• Ranking and discovery in interaction networks
• Experiments
• Conclusion and future work
2
3. Motivation Paradigm: human and service
interactions
• Open dynamic ecosystems
– People and software services
integrated into evolving “solutions“
• Communications and
coordination
– „Anytime-anywhere“ pervasive
infrastructures and mobility … software service
• Mass collaboration … user
– Knowledge sharing and
… human/service
social interaction interaction
3
4. Related Work:
Approaches and platforms
• BPEL4People/WS-HT Process flow Web services
• User driven versus modeled
tasks in workflow
People activity/
human task
• Collective intelligence
• „Crowdsourcing“ (e.g., Amazon
Mechanical Turk) task1 task2
• No collaboration link
Tasks task3
between humans
Requester task4
Modeling of human interactions in dynamic
service-oriented systems
Reputation mechanism and expertise ranking in
Knowledge sharing
large-scale systems platform
4
5. Challenges (HPS)
• Current service-oriented systems only support
the definition (interactions with) software
services
• How to integrate human capabilities in SOA?
• How can people create services?
My Approach
• Human-Provided Services (HPS) to define
human capabilities as (Web) service interfaces.
• User-driven approach to creating HPSs
• Ability to support interactions
5
6. General Layout HPS Framework
User-defined services
Human,
B4P
… human activity Compositions of human
Requester and software services
… link between
activities and human
Metrics,
Management Design
QoS (HPS)
• Human-Provided Services (HPS)
HPSs
– Users-define services
– Activity modeling Design: users
create services
• Unified view
– Human and software service depicted
using Web services standards
6
9. Designing HPSs
• Novelty of HPS:
Users can specify activities
as (Web) services
• E.g., consultant or reporter
• Find existing HPSs
Reusability
• Search and reuse existing HPSs
• Similarity ranking based on
user profile information
• Create New HPS
• User tools hiding underlying complexities („Mashup“ like HPS design)
• Personal Services = User profile + activities + artifacts (WSDL)
9
12. Challenges (Ranking)
• How to find the most relevant expert?
• How to calculate the expertise of people in an
automated manner?
• How to account for changing interests and the
skill level in different fields of interest?
My Approach
• Dynamic Skill and Activity-based PageRank
• Interaction mining using link-intensity weights
• Personalization based on interaction context
• Aggregated importance using query terms
12
13. Ranking Algorithm:
Random surfer model
… node
Web Graph
… surfer
… Web link
1/2 1/3
With a certain
probability, I will
PR (v) 1 jump (“teleport”) to
PR (u ) (1 ) a random Web page.
vinlinks( u ) | outlinks (v) | N
Page et al. (1999), The PageRank Citation Ranking: Bringing
Order to the Web. 13
14. Ranking Algorithm:
Behavior model
… document
Interaction Graph
… user
6
5
… link
3
1 w1,3
4
w1,2 w2,4
2
I will contact User 2
I will contact some other
depending on the link
user. For example, to
weight w1,2. The link
start a new collaboration
weight is based on
by relaying a message.
strength and intensities
of interactions.
14
15. Ranking Algorithm:
Interaction context
• Users interact in different contexts with
different intensities
context 1 (e.g., topic = WS Addressing) context 2 (e.g., topic = WS Policy)
2 1
1
Interaction intensity Interaction intensity
context 1 context 2
• Personalize ranking (i.e., expertise) for different
contexts
15
16. Ranking Algorithm:
Calculate the importance of u, v, z:
u u…
Personalization/
+ v…
teleportation vector
z v
z…
wv ,u
DSA(u )
vinlinks( u ) wsv
DSA(v) (1 ) w
wm WM
m pm (u )
Iterative algorithm to compute rankings (convergence criteria)
Iteration PR(u) PR(v) PR(z)
0 1 1 1
1 1 0.75 1.125
2 1.0625 0.765625 1.1484375
16
17. Ranking Algorithm:
Context-aware DSARank
• Approach: Expertise mining in weighted subgraph
Each context tag
For a given context Perform ranking
“Tags” identify the may have different
(e.g., c1) create a based on weighted
interaction context. weights (e.g.,
subgraph. links in subgraph.
frequency).
• Theorem linearity (Haveliwala 02):
w1PR( p1) w2 PR( p2 ) PR(w1 p1 w2 p2 )
17
18. Context-dependent DSARank
• (1) Identify context of interactions
Context 1
3 („tags“)
1 w1,3
4
• (2) Select relevant links and people
w1,2 w2,4 • (3) Create weighted subgraph (for
2 context)
• (4) Perform mining
4
1 w1,4 User 1’s expertise in context 1
User 1’s expertise in context 2
w1,3
3
Context 2
DSA(u;C ' ) wc DSAw1 p1(u ) ... wn pn (u )
cC '
Calculated offline
Combined online
E.g., p(u) = w1 IIL(u) + w2 availability(u)
based on preferences
18
20. Results (2/2)
• Real dataset (Email)
• High interaction
intensity reveals key
people
• Best informed users
ID Rank (DSA) Rank (PR) Intensity Level
37 1 21 7.31
...
253 4 170 2.07
347 5 282 1.39
20
21. Conclusion
• Human-Provided Services supporting versatile
collaborations
• Global importance ranking based on interaction
intensities and context
• Future work
• How to compose interactions between humans and services
• Generate HPSs based on user profiles
21
22. Thanks for your attention!
Daniel Schall
Distributed Systems Group
Institute of Information Systems
TU Wien
http://www.infosys.tuwien.ac.at
http://www.infosys.tuwien.ac.at/prototyp/HPS/HPS_index.html
25. Activity Model (2/2)
• To manage collaboration structure
• Actions and related messages
• Activities and associated resources
• Activities and related subactivities
25
26. Task Model
• To control the status of interactions
• Start time, end time, progress
• Notifications
• Stakeholders (groups)
26
27. HPS WSDL Example
• (1) User specifies activity: „Document review“
• (2) Existing service?
• Reuse or create new definition („Human-provided review service“)
• (3) Framework supports
• Automatic translation into low interfaces (WSDL, XForms)
• XML Example:
• <wsdl:message name="GetReview">:
Definition of what a user (HPS) expectes to perform activity
• <wsdl:portType name="HPSReviewPortType">:
Definition of how the activity is mapped onto an action
• <wsdl:binding name="HALSOAPBinding" type="HPSReviewPortType">:
Technical binding of HPS to middleware access layer
27