• Nie Znaleziono Wyników

Distributed Task Allocation in Social Networks (extended abstract)

N/A
N/A
Protected

Academic year: 2021

Share "Distributed Task Allocation in Social Networks (extended abstract)"

Copied!
2
0
0

Pełen tekst

(1)

Distributed Task Allocation in Social Networks

1

Mathijs de Weerdt

a

Yingqian Zhang

a

Tomas Klos

b

a

Delft University of Technology, Delft, The Netherlands

b

Center for Mathematics and Computer Science (CWI), Amsterdam, The Netherlands

Recent years have seen a lot of work on task and resource allocation methods, which can potentially be applied to many real-world applications [2]. In many interesting applications, relations between agents play a role, however, which requires a slightly more general model. Such situations appear very frequently in real-world scenarios, such as business applications, where preferential partner selection and interaction are common [1, 3]. This gives rise to ‘social networks’ which constrain the allocation of tasks to occur among neighbors in the network. In this paper, we study the problem of task allocation in social networks.

Formally, our problem is defined as follows. There is a set of agents: A = {a1, . . . , am}, who need

resourcesto complete tasks. Each agent a ∈ A controls a fixed amount of resources of each resource type in R = {r1, . . . , rk}, defined by a resource function rsc : A × R → N. Also, we assume a social network

SN = (A, AE) which connects the agents in A to each other using the set of edges AE. Suppose a set of tasks T = {t1, t2, . . . , tn} arrives at such an agent network. Each task t ∈ T is then defined by a tuple

hu(t), rsc(t), loc(t)i, where u(t) is the utility gained if task t is accomplished (this utility is given), and the resource function rsc : T × R → N specifies the amount of resources required for the accomplishment of task t. Furthermore, a location function loc : T → A defines the locations (i.e., agents) at which the tasks arrive in the social network. An agent a that is the location of a task t is called the manager of this task.

The assignment of tasks to agents is defined by a task allocation, a mapping φ : T × A × R → N that denotes how many resources of each type from each agent are used for each task. A task allocation is valid if it (1) is correct, such that agents do not use more than their available resources, (2) is complete, meaning that all allocated agents’ resources are sufficient, or the task is not allocated at all, and (3) obeys the social relationships, so that tasks are only allocated among (direct) neighbors in the network. Furthermore, a task allocation is efficient if it is valid and it maximizes the sum of the utilities of the tasks assigned (not all tasks can always be assigned). The Social Task Allocation Problem (or STAP for short) is the problem of finding the efficient task allocation, i.e., the one that maximizes the social welfare.

Allocating Tasks in Networks

The original task allocation problem, TAP, is NP-complete [2]. We show that the STAP is also NP-complete, and furthermore, that for a maximum degree of the network ∆ ≥ 3 and for  > 0, the STAP is NP-hard to approximate within ∆. Because of these results, we developed the Greedy Distributed Allocation Protocol (GDAP), and investigated its performance in simulation experiments. In the GDAP, each manager iteratively tries to allocate each of its tasks by mobilizing its neighbors’ resources. The order in which tasks are attempted to be allocated is greedy in the tasks’ efficiency e(t) = u(t)/P

r∈Rrsc(t, r). For each task, a

manager sends its neighbors requests, including the task’s efficiency and required resources. Out of all tasks it receives requests for, each agent sends the most efficient one’s manager a bid, including the resources it is willing to commit to that task. If sufficient resources are committed for a task, its manager allocates it to the appropriate neighbors, and informs them of this. Otherwise, if not all neighbors have yet responded (because they responded to different neighbors’ tasks first), the manager tries again, and else it drops the task from its task list, because it can not be allocated.

In the experiments, we compare the GDAP’s performance to the optimal performance for small problem instances and to an upper bound for larger instances, where establishing the optimum is intractable. The optimum is determined by brute force search over all possible combinations of tasks: if a combination’s total utility is higher than the current total, we check if it can be allocated by solving k appropriately specified

(2)

maximum flow network problems, one for each resource type ri ∈ R, i = 1, . . . , k. The upper bound is

established for a problem instance P , by breaking up each task t, requiring resources of k different types, into k subtasks t0ieach requiring just 1 type, ri. This derived problem P0can be solved in polynomial time

by solving an appropriately specified minimum cost network flow problem, with costs equal to the negative of each subtask t0i’s utility, −rsc(t0i, ri) · e(t). This provides an upper bound, because certain tasks may now

be allocated only partially, while the optimum only allows tasks to be allocated completely.

Experimental Results

We study the performance of the GDAP in 3 different network topologies, small-world, scale free, and random. Below, the graph on the left shows the performance in terms of total utility of allocated tasks for both the GDAP and the upper bound, divided by optimal utility, when the average degree is 6, with 40 agents and 20 tasks. We varied the number of resources available to agents compared to the fixed number of resources required by tasks (‘resource ratio’). If resources are plentiful, both the upper bound and the GDAP are able to allocate the same set of tasks as the optimum, viz. most tasks available. For very low resource ratios, not many tasks can be allocated in the optimum, but the GDAP is able to find them. The upper bound over-estimates, allocating many tasks partially. Results are approximately ordered as small world > random > scale free networks, due to their different degree distributions. The graph on the right shows a similar relation when we vary the average degree (with resource ratio 1.2).

0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 0.4 0.6 0.8 1 1.2 1.4 1.6

Reward relative to optimal

Resource ratio

small-world - upper bound random - upper bound scale-free - upper bound small-world - GDAP random - GDAP scale-free - GDAP 4 6 8 10 12 14 16 0.4 0.6 0.8 1 1.2 1.4 1.6 0.7 0.75 0.8 0.85 0.9 0.95 1

Relative reward small-world

Average degree

Resource ratio Relative reward

Now we scale the problem to larger instances. The number of tasks to be allocated is 5/3 times the number of agents, so varies between 166 and 3333. The graph on the right shows the linear run time of both the GDAP and the upper bound. The graph on the left shows a lower bound on the consistently high quality of the GDAP even for large problem instances.

0.75 0.8 0.85 0.9 0.95 1 0 200 400 600 800 1000 1200 1400 1600 1800 2000

Reward relative to upper bound

Agents small-world random scale-free 0 1000 2000 3000 4000 5000 6000 7000 0 200 400 600 800 1000 1200 1400 1600 1800 2000 Time (ms) Agents upper bound - small-world upper bound - random upper bound - scale-free GDAP - small-world GDAP - random GDAP - scale-free

We have formally defined a problem setting with great practical relevance. Although even approximating this problem is NP-hard, a distributed protocol is presented and shown to have very good performance in simulations. In the future, we would like to address our solution’s incentive characteristics, hopefully providing a mechanism in which rational agents are incentivized to be truthful.

References

[1] Ranjay Gulati. Does Familiarity Breed Trust? The Implications of Repeated Ties for Contractual Choice in Alliances. Academy of Management Journal, 38(1):85–112, 1995.

[2] Onn Shehory and Sarit Kraus. Methods for Task Allocation via Agent Coalition Formation. Artificial Intelligence, 101(1-2):165–200, 1998.

Cytaty

Powiązane dokumenty

A researcher owning 3 umbrellas walks between his home and office, taking an umbrella with him (provided there is one within reach) if it rains (which happens with probability 1/5),

We say that a bipartite algebra R of the form (1.1) is of infinite prin- jective type if the category prin(R) is of infinite representation type, that is, there exists an

It is proved that a doubly stochastic operator P is weakly asymptotically cyclic if it almost overlaps supports1. If moreover P is Frobenius–Perron or Harris then it is

Let us now recall the notion of α-proper forcing for a countable ordinal α saying that, given an ∈-chain of length α of countable elementary sum- bodels of some large enough structure

We prove that, for every γ ∈ ]1, ∞[, there is an element of the Gevrey class Γ γ which is analytic on Ω, has F as its set of defect points and has G as its set of

We give a direct proof of this characterization and get stronger results, which allows us to obtain some other results on ω-limit sets, which previously were difficult to prove.. Let

(b) Find the probability that a randomly selected student from this class is studying both Biology and

It is well known that any complete metric space is isomet- ric with a subset of a Banach space, and any hyperconvex space is a non- expansive retract of any space in which it