Wireless Network Pricing Chapter 4: Social Optimal Pricing Jianwei - - PowerPoint PPT Presentation

wireless network pricing chapter 4 social optimal pricing
SMART_READER_LITE
LIVE PREVIEW

Wireless Network Pricing Chapter 4: Social Optimal Pricing Jianwei - - PowerPoint PPT Presentation

Wireless Network Pricing Chapter 4: Social Optimal Pricing Jianwei Huang & Lin Gao Network Communications and Economics Lab (NCEL) Information Engineering Department The Chinese University of Hong Kong Huang & Gao ( c NCEL)


slide-1
SLIDE 1

Wireless Network Pricing Chapter 4: Social Optimal Pricing

Jianwei Huang & Lin Gao

Network Communications and Economics Lab (NCEL) Information Engineering Department The Chinese University of Hong Kong

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 1 / 67

slide-2
SLIDE 2

The Book

E-Book freely downloadable from NCEL website: http: //ncel.ie.cuhk.edu.hk/content/wireless-network-pricing Physical book available for purchase from Morgan & Claypool (http://goo.gl/JFGlai) and Amazon (http://goo.gl/JQKaEq)

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 2 / 67

slide-3
SLIDE 3

Chapter 4: Social Optimal Pricing

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 3 / 67

slide-4
SLIDE 4

Focus of This Chapter

Key Focus: This chapter discusses the issue of social optimal pricing, where one service provider chooses prices to maximize the social welfare. Theoretic Approach: Convex Optimization

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 4 / 67

slide-5
SLIDE 5

Convex Optimization

Mainly follow the book “Convex Optimization” by Boyd and Vandenberghe. Definition (Convex Optimization) Convex optimization studies the problem of minimizing convex functions (or equivalently, maximizing concave functions) over convex sets.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 5 / 67

slide-6
SLIDE 6

Section 4.1 Theory: Dual-based Optimization

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 6 / 67

slide-7
SLIDE 7

Prelims

Notations

◮ Rn: the set of all real n-vectors ⋆ Each vector in Rn is called a point of Rn. ⋆ R2 is the set of all 2-D vectors ⋆ R1 or R denotes the set of all real 1-vectors or all real numbers. ◮ Rm×n: the set of all m × n real matrices ◮ f : Rn → Rm: a function that maps some real n-vectors (called the

domain of function f ) into real m-vectors

⋆ D(f ): the domain of function f

Key Concepts

◮ Convex Set ◮ Convex Function ◮ Convex Optimization Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 7 / 67

slide-8
SLIDE 8

Convex Set

Definition (Convex Set) A nonempty set X ⊆ Rn is convex, if for any x1, x2 ∈ X and any θ ∈ R with 0 ≤ θ ≤ 1, we have: θx1 + (1 − θ)x2 ∈ X

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 8 / 67

slide-9
SLIDE 9

Convex Set

Geometrically, a set is convex if every point in the set can be reached by every other point, along an inner straight path between them. Examples of convex and non-convex sets: x1 x2

Figure: (i) Convex, (ii) Non-convex, and (iii) Non-convex.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 9 / 67

slide-10
SLIDE 10

Convex Combination

Definition (Convex Combination) A convex combination of points x1, ..., xk can be expressed as y = θ1x1 + ... + θkxk, with θ1 + ... + θk = 1 and θi ≥ 0, i = 1, ..., k. Lemma (4.2) A nonempty set X is convex, if and only if the convex combination of any points in X also lies in X.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 10 / 67

slide-11
SLIDE 11

Convex Hull

The convex hull of a set X, denoted H(X), is the smallest convex set that contains X. Definition (Convex Hull) The convex hull H(X) of a set X consists of the convex combinations of all points in X, i.e., {θ1x1 + ... + θkxk | θ1 + ... + θk = 1, θi ≥ 0, xi ∈ X, i = 1, ..., k} . Properties

◮ H(X) is always convex; ◮ X ⊆ H(X); ◮ X = H(X) if X is a convex set; ◮ H(X) ⊆ Y where Y is any convex set that contains X. Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 11 / 67

slide-12
SLIDE 12

Convex Hull

Examples of convex hull

◮ Source sets: ◮ Convex hulls: Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 12 / 67

slide-13
SLIDE 13

Operations Preserving Convexity of Sets

Intersection: Suppose X1, ..., Xk are convex sets. Then, the intersection of X1, ..., Xk X X1 ∩ ... ∩ Xk is also a convex set. Affine Mapping: Suppose X is a convex set in Rn, A ∈ Rm×n, and b ∈ Rm. Then, the affine mapping of X Y {Ax + b | x ∈ X} is also a convex set.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 13 / 67

slide-14
SLIDE 14

Convex (and Concave) Function

Definition (Convex Function) A function f : Rn → R is convex, if

1

D(f ) is a convex set, and

2

for all x, y ∈ D(f ) and θ ∈ R with 0 ≤ θ ≤ 1, we have: f (θx + (1 − θ)y) ≤ θf (x) + (1 − θ)f (y) Definition (Concave Function) A function f (·) is concave if and only if −f (·) is convex. A function f (·) can be neither convex nor concave, e.g., f (x) = x3

  • ver D(f ) = R.

Question: What about f (x) = x3 over D(f ) = [0, ∞), f (x) = x3 over D(f ) = (−∞, 0], and f (x) = 2x over D(f ) = R?

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 14 / 67

slide-15
SLIDE 15

Convex Function

Assume that D(f ) is convex. Geometrically, a function f (·) is convex if the chord from any point (x, f (x)) to (y, f (y)) lies above the graph of f (·). Illustration of Convex Function f (·):

  • x, f (x)
  • y, f (y)
  • chord

x y f (·)

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 15 / 67

slide-16
SLIDE 16

Strictly Convex (and Concave) Function

Definition (Strictly Convex Function) A function f : Rn → R is strictly convex, if

1

D(f ) is a convex set, and

2

for all x, y ∈ D(f ) and θ ∈ R with 0 < θ < 1, we have: f (θx + (1 − θ)y) < θf (x) + (1 − θ)f (y) Definition (Strictly Concave Function) A function f (·) is strictly concave if and only if −f (·) is strictly convex.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 16 / 67

slide-17
SLIDE 17

Generalized Definition of Convex Function

Definition (Convex Function) A function f (·) is convex, if and only if

1

D(f ) is convex, and

2

For any x1, ..., xk ∈ D(f ), f (θ1x1 + ... + θkxk) ≤ θ1f (x1) + ... + θkf (xk), when θ1 + ... + θk = 1 and θi ≥ 0, i = 1, ..., k.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 17 / 67

slide-18
SLIDE 18

Examples of Convex Functions

Examples of convex functions over D(f ) = (0, ∞)

◮ 2x, 3x, ex, etc. ◮ x2, x4, x6, etc. ◮ −log2(x), −ln(x), etc.

Question: What about

◮ x2 over D(f ) = R? ◮ x2 over D(f ) = (−∞, 0) ∪ [1, ∞)? ◮ −log2(x) over D(f ) = R? Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 18 / 67

slide-19
SLIDE 19

First-Order Condition

Consider a scalar-valued function f (x) : Rn → R Definition (First-Order Derivative (Gradient)) The first-order derivative of a scalar-valued function f (·) at a point x ∈ D(f ), denoted by ∇f (x), is an n-dimensional vector with the i-th component given by ∇f (x)i = ∂f (x) ∂xi , i = 1, ..., n, xi: the i-th coordinate of the vector x; ∂f (x)/∂xi: the partial derivative of f (x) with respect to xi. Lemma (First-Order Condition) A differentiable function f (·) is convex, if and only if D(f ) is convex and f (y) ≥ f (x) + ∇f (x)T(y − x), ∀x, y ∈ D(f ).

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 19 / 67

slide-20
SLIDE 20

First-Order Condition

Geometrically, the first-order condition means that the line passing through any point (x, f (x)) along the gradient direction ∇f (x) lies under the graph of f (·). Illustration of First-order Condition:

  • y, f (y)
  • x, f (x)
  • l(y)

x y f (·) Example: f (x) = (x − 3)2, we have f (8) ≥ f (5) + f ′(5)(8 − 5)

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 20 / 67

slide-21
SLIDE 21

Second-Order Condition

Definition (Second-Order Derivative (Hessian Matrix)) The second-order derivative of a scalar-valued function f (·) at a point x ∈ D(f ), denoted by ∇2f (x), is an n × n matrix, given by ∇2f (x)ij = ∂2f (x) ∂xi∂xj , i = 1, ..., n, j = 1, ..., n.

∂2f (x) ∂xi∂xj : the second partial derivative of f (x) with respect to xi and xj.

Lemma (Second-Order Condition) A twice differentiable function f (·) is convex, if and only if D(f ) is convex and its Hessian matrix is positive semidefinite, i.e., ∇2f (x) 0, ∀x ∈ D(f ). Question: what about the special case of f (x) : R → R?

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 21 / 67

slide-22
SLIDE 22

Operations Preserving Convexity of Functions

Operations Preserving Convexity of Functions

◮ Nonnegative weighted sums: Suppose f1(·), ..., fk(·) are convex, and

θ1, ..., θk ≥ 0. Then the following function is convex: f (x) θ1f1(x) + ... + θkfk(x)

◮ Composition with an affine mapping: Suppose g(·) is a convex function

  • n Rn, A ∈ Rn×m, and b ∈ Rn. Then the following function is convex:

f (x) g(Ax + b)

◮ Point-wise maximum: Suppose f1(·), ..., fk(·) are convex. Then the

following function is convex: f (x) max{f1(x), ..., fk(x)}

⋆ Question: Draw an illustration of the last one?

Question: What is the relationship between D(f ) and the domain(s)

  • f the old function(s)?

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 22 / 67

slide-23
SLIDE 23

Convex Optimization

Optimization Problem: the problem of finding a point x over a feasible set that minimizes an objective function: Optimization Problem minimize f (x) subject to fi(x) ≤ 0, i = 1, ..., m.

◮ Objective function f (·): the objective to be minimized; ◮ Constraint functions fi(·): the constraints to be satisfied; ◮ Feasible set C: the set of all feasible points that satisfy all constraints,

C {x ∈ D | fi(x) ≤ 0, i = 1, ..., m}.

⋆ Here D = D(f ) ∩ D(f1) ∩ · · · ∩ D(fm).

Convex Optimization Problem: an optimization problem with a convex objective function and a convex feasible set.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 23 / 67

slide-24
SLIDE 24

Unconstrained Convex Optimization

Unconstrained Convex Optimization: a convex optimization problem without any constraint: minimize f (x) Lemma (4.5) Suppose f (·) is convex and differentiable. A feasible point x∗ ∈ C is a global minimizer of f (·) if and only if ∇f (x∗)i = ∂f (x∗) ∂xi = 0, ∀i = 1, ..., n.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 24 / 67

slide-25
SLIDE 25

Unconstrained Convex Optimization

  • x∗, f (x∗)
  • x

f (x)

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 25 / 67

slide-26
SLIDE 26

Solving Unconstrained Convex Optimization

Computational Methods: find an algorithm that computes a sequence

  • f feasible points x(0), x(1), x(2), ...x(k), with

f (x(k)) → f (x∗) as k → ∞ Gradient-based Algorithms: x(k+1) = x(k) + γ(k)d (k)

◮ γ(k): a positive scalar (called step size) at iteration k; ◮ d (k): a gradient-based n-vector (called search direction) at iteration k; ◮ Gradient Descent Method: d (k) −∇f (x(k)) ◮ Newton’s Method: d (k) −

  • ∇2f (x(k))

−1∇f (x(k))

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 26 / 67

slide-27
SLIDE 27

Constrained Convex Optimization

Constrained Convex Optimization: a convex optimization problem with convex constraints (i.e., fi(·) function is convex for each i): minimize f (x) subject to fi(x) ≤ 0, i = 1, ..., m, Lemma (4.6) Suppose f (·) is convex and differentiable. A feasible point x∗ ∈ C is a global minimizer of f (·) if and only if ∇f (x∗)T(x − x∗) ≥ 0, ∀x ∈ C.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 27 / 67

slide-28
SLIDE 28

A Numerical Example

minimize (x + 2)2 subject to x ≥ 0.

  • x∗, f (x∗)
  • = (0, 4)

x f (x) ∇f (x∗)T(x − x∗) = 2(x∗ + 2)(x − x∗) = 2(0 + 2) · (x − 0) ≥ 0

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 28 / 67

slide-29
SLIDE 29

Constrained Convex Optimization

Geometrically, at a minimizer x∗, the gradient ∇f (x∗) makes an angle less than or equal to 90 degrees with all feasible variations x − x∗. Illustration of optimal x∗: C x∗ ∇f (x∗) x x − x∗ Contours of f (·)

Figure: The gradient ∇f (x∗) (blue arrow) makes an angle less than or equal to 90 degrees with all feasible variations x − x∗ (red arrow).

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 29 / 67

slide-30
SLIDE 30

Duality Principle

An important theoretical framework to solve convex optimization problems. Basic Idea: Convert the original optimization problem (called primal problem) into a dual problem.

◮ The solution to the dual problem provides a lower bound to the

solution of the primal problem.

◮ Maximizing the objective of dual problem help us understanding the

  • ptimal objective of the primal problem.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 30 / 67

slide-31
SLIDE 31

Lagrange Function

Recall the constrained optimization problem (Primal Problem) minimize f (x) subject to fi(x) ≤ 0, i = 1, ..., m, Definition (Lagrangian Function) The Lagrangian function L(·) : Rn × Rm → R is defined as L(x, λ) f (x) +

m

  • i=1

λifi(x). Intuitively, Lagrangian function is a weighted sum of the objective function f (x) and the constraint functions fi(x). λi ≥ 0: the weight (called Lagrange multiplier or dual variable) associated with each constraint fi(x) ≤ 0.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 31 / 67

slide-32
SLIDE 32

Dual Function

Definition (Dual Function) The Lagrange dual function g : Rm → R is defined as the minimum value

  • f the Lagrangian function over x:

g(λ) inf

x L(x, λ) = inf x

  • f (x) +

m

  • i=1

λifi(x)

  • .

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 32 / 67

slide-33
SLIDE 33

Dual Function

Definition (Dual Function) The Lagrange dual function g : Rm → R is defined as the minimum value

  • f the Lagrangian function over x:

g(λ) inf

x L(x, λ) = inf x

  • f (x) +

m

  • i=1

λifi(x)

  • .

◮ The dual function g(λ) is always concave even if the primal problem is

not convex.

◮ The dual function g(λ) yields a lower bound of the optimal primal

  • bjective value f (x∗):

g(λ) ≤ f (x∗), ∀λ 0

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 32 / 67

slide-34
SLIDE 34

Dual Function

Definition (Dual Function) The Lagrange dual function g : Rm → R is defined as the minimum value

  • f the Lagrangian function over x:

g(λ) inf

x L(x, λ) = inf x

  • f (x) +

m

  • i=1

λifi(x)

  • .

◮ The dual function g(λ) is always concave even if the primal problem is

not convex.

◮ The dual function g(λ) yields a lower bound of the optimal primal

  • bjective value f (x∗):

g(λ) ≤ f (x∗), ∀λ 0

⋆ Proof: for any feasible solution ˜

x of the Primal Problem, we have g(λ) inf

x L(x, λ) ≤ L(˜

x, λ) = f (˜ x) +

m

  • i=1

λifi(˜ x) ≤ f (˜ x) Hence this must be true for ˜ x = x∗.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 32 / 67

slide-35
SLIDE 35

Lagrange Dual Problem

The dual function g(λ) yields lower bounds of the optimal primal

  • bjective value f (x∗).

◮ How far the dual function g(λ) is apart from the optimal f (x∗)?

Lagrange Dual Problem: find the optimal dual variables λ∗ that maximizes the dual function g(λ): maximize g(λ) subject to λ 0.

◮ Weak duality: g(λ∗) ≤ f (x∗). The difference f (x∗) − g(λ∗) is called

the optimal duality gap.

◮ Strong duality: g(λ∗) = f (x∗) if the optimality gap is zero. Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 33 / 67

slide-36
SLIDE 36

Duality Gap

Duality Gap: The gap between primal and dual objectives: f (x) − g(λ)

◮ The duality gap reflects how suboptimal a given point x is, without

knowing the exact value of f (x∗): f (x) − f (x∗) ≤ f (x) − g(λ)

◮ Any primal-dual feasible pair {x, λ} localizes the optimal primal and

dual objectives to an interval [g(λ), f (x)], that is, g(λ) ≤ g(λ∗) ≤ f (x∗) ≤ f (x)

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 34 / 67

slide-37
SLIDE 37

KKT Optimality Conditions

Lemma (Karush-Kuhn-Tucker (KKT) Conditions) Assume that the primal problem is strictly convex and the strong duality

  • holds. A primal-dual feasible pair {x∗, λ∗} is optimal for both primal and

dual problems, if and only if      fi(x∗) ≤ 0, λ∗

i ≥ 0, λ∗ i · fi(x∗) = 0,

i = 1, ..., m ∇f (x∗) +

m

  • i=1

λ∗

i ∇fi(x∗) = 0.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 35 / 67

slide-38
SLIDE 38

Shadow Price

Shadow Price: An interpretation of the Lagrange multipliers λi, i = 1, ..., m, in terms of economics.

◮ Introduce perturbing parameters u (ui, i = 1, ..., m), and define a

perturbed version of the original primal problem: minimize f (x) subject to fi(x) ≤ ui, i = 1, ..., m

◮ Denote the optimal perturbed objective as p∗(u) = infx f (x):

∂p∗(0) ∂ui = −λ∗

i

⋆ f (x): total cost of the firm; ⋆ −f (x): total profit of the firm; ⋆ ui: the limit on resource i’s investment; ◮ When u is close to 0, the λ∗

i reflects how much more profit the firm

could make, for a small increase in the availability of resource i.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 36 / 67

slide-39
SLIDE 39

Subgradient

Subgradient: A vector d is called a subgradient of a convex f (·) at a point x, if f (z) ≥ f (x) + d T(z − x), ∀z ∈ D(f ).

◮ Generalization of the gradient for the non-differentiable functions

Figure: A convex function (blue) and subgradients at x0 (red) c Wikipedia

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 37 / 67

slide-40
SLIDE 40

Solving Dual Problem

Subgradient method for solving the due problem

◮ A subgradient d of the concave dual function g(λ) at a point λ

satisfies: g(µ) ≤ g(λ) + d T(µ − λ), ∀µ ∈ D(g).

◮ Subgradient Method for updating the values of λ:

λ(k+1) =

  • λ(k) + γ(k)d (k)+

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 38 / 67

slide-41
SLIDE 41

Solving Dual Problem

Lemma For every dual optimal solution λ∗, we have ||λ(k+1) − λ∗|| < ||λ(k) − λ∗|| for all step-sizes γ(k) satisfying 0 < γ(k) < 2 · g(λ∗) − g(λ(k)) ||d (k)||2 .

◮ The above range for γ(k) requires the dual optimal value g(λ∗), which

is usually unknown.

◮ In practice, we can use the following approximate step-size formula

γ(k) = α(k) · g (k) − g(λ(k)) ||d (k)||2 , where g (k) is an approximation of g(λ∗), and 0 < α(k) < 2.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 39 / 67

slide-42
SLIDE 42

Section 4.2: Resource Allocation for Wireless Video Streaming

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 40 / 67

slide-43
SLIDE 43

Network Model

Video Base Station Voice

A single cell CDMA network with mixed video and voice users. Voice users are background traffic: just need good enough channels. Video users can adapt to channel conditions, but with deadline constraints.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 41 / 67

slide-44
SLIDE 44

Network Optimization Problem

Maximize the overall quality of video users, subject to the QoS constraints of the voice users. The general solution framework involve three phases

1

Average resource allocation among video users

2

Video source adaptions

3

Multiuser deadline oriented scheduling

We will focus on the formulation of Phase 1.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 42 / 67

slide-45
SLIDE 45

Average Resource Allocation

A set N = {1, . . . , N} video users. Each video user n has a utility function un(xn).

◮ Increasing and strictly concave in the resource allocation xn. ◮ Corresponds to commonly used video quality measures such as the

rate-PSNR function and rate-summarization distortion functions.

◮ Assume un(xn) is a continuous and differentiable function.

The network resource can be transmission power (uplink) or transmission time (downlink).

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 43 / 67

slide-46
SLIDE 46

Network Utility Maximization (NUM) Problem

NUM Problem maximize

  • n∈N

un (xn) subject to

  • n∈N

xn ≤ Xmax. variables xn ≥ 0, ∀n ∈ N. In networking, we usually focus on maximizing concave function instead of minimizing convex function (mathematically equivalent). We will solve this using the dual-based sub-gradient method.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 44 / 67

slide-47
SLIDE 47

Lagrangian Relaxation

Relax the constraint with a dual variable λ and obtain the Lagrangian L (x, λ)

  • n

un (xn) − λ

  • n

xn − Xmax

  • .

λ ≥ 0 is the shadow price for the limited resource Xmax. Question: why it is a negative sign before λ?

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 45 / 67

slide-48
SLIDE 48

Dual-based Solution

Solve the NUM problem at two levels (separation of time scales)

◮ Lower level: each user n chooses xn to maximize surplus under a fixed

λ: max

xn≥0

un (xn) − λxn. (1) Denote the unique optimal solution as xn (λ), and the corresponding maximum objective value as gn(λ).

◮ Higher level: The base station adjusts λ to solve the following problem

min

λ≥0

L (λ)

  • n

gn (λ) + λXmax, using the sub-gradient searching method, λ(k+1) = max

  • 0, λ(k) + α(k)
  • n

xn

  • λ(k)

− Xmax

  • .

⋆ Here α(k) is the diminishing stepsize at iteration k. Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 46 / 67

slide-49
SLIDE 49

How to Model Wireless Resources

3G CDMA technology: users transmit using orthogonal codes

◮ Uplink transmissions: from users to the base station, asynchronization

transmissions leads to mutual interference among users

◮ Downlink transmission: from base station to users, no mutual

interference among users

In both cases, need to model the resource constraint for the video users, given the voice users’ QoS requirements

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 47 / 67

slide-50
SLIDE 50

Wireless Uplink Streaming

Consider M voice users and N video users, mutually interfering with each other A user’s QoS is determined by the Signal-to-interference plus noise ratio (SINR) A voice user needs to achieve an SINR target of γvoice: W Rvoice GvoicePr

voice

n0W + (M − 1) Pr

voice + Pr,all video

≥ γvoice.

◮ W : total bandwidth ◮ n0: background noise density ◮ Rvoice: voice user’s target data rate ◮ Gvoice: related to voice users’ modulation and coding choices ◮ Pr

voice: a voice user’s received power at the base station

◮ Pr,all

video: total video users’ received power at the base station

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 48 / 67

slide-51
SLIDE 51

Wireless Uplink Streaming

To satisfy the target SINR for M voice users, we can derive the maximum total video users’ received power at the base station Pr,max

video =

WGvoice Rvoiceγvoice − (M − 1)

  • Pr

voice − n0W .

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 49 / 67

slide-52
SLIDE 52

Wireless Uplink Streaming

The NUM problem ⇒ video transmission power optimization problem during time [0, T]: NUM Problem for Wireless Uplink Streaming - Version 1 max

{pn(t),∀n} N

  • n=1

un T rn (p (t)) dt

  • s.t.

N

  • n=1

hnpn (t) ≤ Pr,max

video , ∀t ∈ [0, T]

0 ≤ pn (t) ≤ Pmax

n

, ∀n, ∀t ∈ [0, T]

◮ pn(t): video user n’s transmission power at time t. ◮ hn: channel gain from the transmitter of user n to the base station. ◮ Pmax

n

: maximum peak transmission power of user n.

◮ rn (p(t)): data rate achieved by user n at time t, depending on all

users’ transmission power p(t).

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 50 / 67

slide-53
SLIDE 53

Wireless Uplink Streaming

Solving functions are challenging, hence needs further simplification. Assume video users transmit via time-division-multiplexing (TDM)

◮ Video users take turns to transmit. ◮ The constant data rate of video user n is

RTDM

n

= W log2

  • 1 + min {hnPmax

n

, Pr,max

video }

n0W + MPr

voice

  • .

The NUM problem ⇒ the transmission time optimization problem NUM Problem for Wireless Uplink Streaming -Version 2 max

{tn≥0,∀n} N

  • n=1

un

  • RTDM

n

tn

  • , s.t.

N

  • n=1

tn ≤ T.

◮ tn: transmission time of video user n. Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 51 / 67

slide-54
SLIDE 54

Wireless Downlink Streaming

Orthogonal transmission without mutual interferences The base station transmits to multiple video users simultaneously The base station transmits to video user n with power pn, which leads to a data rate rn(pn) = W log2

  • 1 + hnpn

n0W

  • .

The NUM problem ⇒ the transmission power optimization problem NUM Problem for Wireless Downlink Streaming max

{pn≥0,∀n} N

  • n=1

un (T · rn(pn)) , s.t.

N

  • n=1

pn ≤ Pvideo

max .

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 52 / 67

slide-55
SLIDE 55

Section 4.3: Wireless Service Provider Pricing

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 53 / 67

slide-56
SLIDE 56

Network Model

Provider 1 Provider 2 Provider 3

A set J = {1, . . . , J} of service providers

◮ Provider j has a supply Qj of resource (e.g., channel, time, power) ◮ Providers operate on orthogonal spectrum bands (no interference)

A set I = {1, . . . , I} of users

◮ User i can obtain resources from multiple providers: qi = (qij, ∀j ∈ J ) ◮ User i’s utility function is ui

J

j=1 qijcij

  • : increasing and strictly

concave

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 54 / 67

slide-57
SLIDE 57

An Example: TDMA

Each provider j has a total spectrum band of Wj. qij: the fraction of time that user i transmits on provider j’s band

◮ Constraints:

i∈I qij ≤ 1, for each provider j ∈ J .

cij: the data rate achieved by user i on provider j’s band cij = Wj log

  • 1 + Pihij

σ2

ijWj

  • ◮ Pi: user i’s transmission power.

◮ hij: the channel gain between user i and network j. ◮ σ2

ij: the Gaussian noise variance for the channel.

ui

  • j∈J qijcij
  • : user i’ utility of the total achieved data rate
  • btained from all providers

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 55 / 67

slide-58
SLIDE 58

Social Welfare Optimization

xi(qi): effective resource obtained by use i xi(qi) =

J

  • j=1

qijcij SWO: Social Welfare Optimization Problem maximize

  • i∈I

ui (xi) subject to

  • j∈J

qijcij = xi, ∀i ∈ I,

  • i∈I

qij = Qj, ∀j ∈ J , variables qij, xi ≥ 0, ∀i ∈ I, j ∈ J .

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 56 / 67

slide-59
SLIDE 59

Social Welfare Optimization

Why don’t we just consider variables q in SWO, as q determines x? This is because

◮ SWO is a strictly concave maximization problem in x. ⋆ Which has a a unique optimal solution x∗ ◮ SWO is not strictly concave maximization problem in q ⋆ The optimal solution q∗ may not be unique ⋆ But we can show that q∗ is unique (with probability 1) if cij’s are

continuous random variables.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 57 / 67

slide-60
SLIDE 60

Solving SWO Problem

We can use the dual-based sub gradient algorithm Next we introduce the primal-dual based algorithm

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 58 / 67

slide-61
SLIDE 61

Primal-Dual Algorithm

Key idea: updating primal and dual variables simultaneously using small step sizes No longer requires seperation of time scales. Suitable when it is not easy to solve the optimal primary variables under fixed dual prices.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 59 / 67

slide-62
SLIDE 62

Some Definitions

fij(t) (or simply fij): the marginal utility of user i with respect to qij when his demand vector is qi(t): fij = ∂ui(qi) ∂qij = cij ∂ui(xi) ∂xi

  • xi=J

j=1 qijcij

(x)+ = max(0, x) and (x)+

y =

  • x

y > 0 (x)+ y ≤ 0.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 60 / 67

slide-63
SLIDE 63

Primal-Dual Algorithm

Continuous Time Primal-Dual Algorithm ˙ qij = kq

ij (fij − pj)+ qij , ∀i ∈ I, ∀j ∈ J ,

Primal Update, ˙ pj = kp

j

  • i∈I

qij − Qj +

pj

, ∀j ∈ J , Dual Update. kp

ij ’s and kp j ’s: constants representing update rates.

Primal update: A user will increase resource request when marginal utility is larger than price. Dual update: A provider will increase the price is the total demand is larger than the supply. The notation of (x)+

y ensures that the variables (qij and pj) will never

become negative (why?).

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 61 / 67

slide-64
SLIDE 64

Convergence of Primal-Dual Algorithm

First, construct a La Salle function V (q(t), p(t)): V (t) = V (q(t), p(t)) =

  • i,j

1 kq

ij

qij(t) (β − q∗

ij)dβ +

  • j

1 kp

j

pj(t) (β − p∗

j )dβ.

Second, show V (q(t), p(t)) is non-increasing for any solution trajectory (q(t), p(t)) that following the primal-dual algorithm, i.e., ˙ V (t) =

  • i,j

∂V ∂qij ˙ qij +

  • j

∂V ∂pj ˙ pj ≤ 0. Since V (t) is lower bounded, the algorithm converges.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 62 / 67

slide-65
SLIDE 65

Numerical Example

50 100 150 200 20 40 60 80 100 120 140 160 180 200 a b c d e 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Figure: Example of equilibrium user-provider association. The users are labeled by numbers (1-20), and the providers are labeled by letters (a-e). The thickness

  • f the link indicates the amount of resource purchased. Some users (e.g., 12 and

16) are connected to multiple providers.

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 63 / 67

slide-66
SLIDE 66

Numerical Example

50 100 150 200 250 300 350 200 200 400 percentage of supply Evolution of difference between demand and supply

  • Prov. a
  • Prov. b
  • Prov. c
  • Prov. d
  • Prov. e

50 100 150 200 250 300 350 5 10 number of iterations price Evolution of prices

Figure: Evolution of the primal-dual algorithm

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 64 / 67

slide-67
SLIDE 67

Section 4.4: Chapter Summary

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 65 / 67

slide-68
SLIDE 68

Key Concepts

Theory

◮ Convex set ◮ Convex function ◮ Convex optimization ◮ Duality ◮ Dual-based sub gradient algorithm ◮ Primal-dual algorithm

Application

◮ Resource Allocation for Wireless Video Streaming ◮ Wireless Service Provider Pricing Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 66 / 67

slide-69
SLIDE 69

References and Extended Reading

  • J. Huang, Z. Li, M. Chiang, and A.K. Katsaggelos, “Joint Source Adaptation

and Resource Allocation for Multi-User Wireless Video Streaming,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 18, no. 5,

  • pp. 582-595, May 2008
  • V. Gajic, J. Huang, and B. Rimoldi, “Competition of Wireless Providers for

Atomic Users,” IEEE/ACM Transactions on Networking, vol. 22, no. 2,

  • pp. 512 - 525, April 2014

http://ncel.ie.cuhk.edu.hk/content/wireless-network-pricing

Huang & Gao ( c NCEL) Wireless Network Pricing: Chapter 4 September 13, 2016 67 / 67