Energy-Delay-Distortion Problem
Abstract
An energy-limited source trying to transmit multiple packets to a destination with possibly different sizes is considered. With limited energy, the source cannot potentially transmit all bits of all packets. In addition, there is a delay cost associated with each packet. Thus, the source has to choose, how many bits to transmit for each packet, and the order in which to transmit these bits, to minimize the cost of distortion (introduced by transmitting lower number of bits) and queueing plus transmission delay, across all packets. Assuming an exponential metric for distortion loss and linear delay cost, we show that the optimization problem is jointly convex. Hence, the problem can be exactly solved using convex solvers, however, because of the complicated expression derived from the KKT conditions, no closed form solution can be found even with the simplest cost function choice made in the paper, also the optimal order in which packets should be transmitted needs to be found via brute force. To facilitate a more structured solution, a discretized version of the problem is also considered, where time and energy are divided in discrete amounts. In any time slot (fixed length), bits belonging to any one packet can be transmitted, while any discrete number of energy quanta can be used in any slot corresponding to any one packet, such that the total energy constraint is satisfied. The discretized problem is a special case of a multi-partitioning problem, where each packet’s utility is super-modular and the proposed greedy solution is shown to incur cost that is at most -times of the optimal cost.
1 Introduction
Rate-distortion problem is a classical problem, where the objective is to find minimum transmission rate to support a given distortion constraint under a specific distortion metric. Typically, the problem is considered for single source-destination pair, with average power constraints, and optimal results on the rate-distortion problem are derived when infinitely large blocklengths are allowed [1]. Rate-distortion with finite blocklengths has been considered in [2] and [3].
Real-time communication, communication under quality-of-service (QoS) constraint, energy harvesting communication etc., only allows for short delays with limited energy (not necessarily average power constraint). To address the distortion problem under this more practical regime, we consider in this paper that at the beginning of communication, there are packets available with the source, each with possibly distinct sizes ( bits). The total amount of energy available with the source is limited, and hence the source can only transmit a fraction ( bits) of each packet that introduces/forces a distortion. Each packet has a cost that consists of two components: distortion and delay. For each packet, distortion measures the gap in and bits, and is naturally a decreasing function of , while delay consists of queuing delay (transmission time of other packets before it) plus its own transmission delay.
We choose a natural distortion function for each packet, that has the diminishing returns property, i.e., the rate of decrease in cost decreases with increasing and is convex. The overall cost is the sum of the cost of all packets, and the problem is to find optimal , transmission time for each packets, and the order in which these packets are sent to minimize the overall cost. We assume a lossless communication model, where if energy is used for time , bits can be send using the Shannon formula .
Our choice of distortion function has also been used in a related problem [4], where the cost function is just the sum of the distortion for each packet, but does not include any delay cost. In [4], without the delay cost, optimal closed form solutions have been obtained. On the other hand, the problem where only delay cost is counted and the distortion cost is neglected has been considered in [5]. Other variants of rate-distortion problems under energy constraints without delay cost can be found in [6, 7, 8, 9].
The problem considered in this paper is also related to the scheduling problem considered in [10], where at the beginning of each frame, packets of equal size arrive at the source, and either they are transmitted successfully by the end of the frame or dropped completely. A lossy model for communication is used in [10], where in each slot of the frame, a packet transmitted is successful with probability or erased otherwise, and the decision variable is to decide which packet to transmit in any slot among the ones that have not been transmitted successfully by then, to maximize throughput.
An online version of the considered problem, which is the part of ongoing work, considers that packets (each with possibly distinct sizes, bits) arrive at the source at distinct times and under the cost function described above, the problem is to find how many bits to send for each packet, when to begin its transmission, and for how long to transmit its bits. A moment’s thought will reflect that the online version is a general case of the age of information problem [11], where and , i.e., the problem is to minimize the delay between the time at which the packet with one bit arrives at the source and the time at which the receiver knows about it, if at all.
Thus, the problem formulation introduced in this paper is quite general, and addresses two important problems : rate-distortion problem with finite delays (where rate constraint is an artefact of limited energy), and the generalized age of information problem, where the generalization includes the dependence of the identity of packets and their sizes on the cost function.
Our contributions are as follows:
-
•
We show that the considered energy-delay-distortion problem is jointly convex for a fixed order of transmission of packets, and hence can be solved using any convex solver. Unfortunately, however, even for the simplest choice of reasonable cost function, the KKT conditions (though sufficient for optimality) cannot be used to find a structured solution, and the optimal order of packet transmission. This is in contrast to [4], where closed form solution is found when the delay cost is not included. Thus, including the delay cost, not only makes the problem more practically relevant, but is also fundamentally different analytically than [4]. Moreover, the joint convexity of the problem, does not reveal anything about the optimal order in which packets should be transmitted, and the intuitive choice of transmitting shorter packets first is not provable, though seen via simulations.
-
•
To get a structured solution that does not require a brute force search over all possible orders of packet transmissions, we also consider a discretized version of the problem. In the discretized version, time is divided into discrete slots, and any one slot can be used only to transmit bits belonging to the same packet. In addition, we also discretize the energy into small units of each, that is the least amount of energy that will be used in one slot. Thus, the equivalent problem is to find an allocation of resource blocks (rectangles of height (energy) and width (slot time )) to packets, under the total energy constraint, such that the objective function is minimized.
-
•
This discretized version is a discrete optimization problem, which in general is harder to solve compared to a continuous (and convex problem in this case) one. The structure of the problem, however, comes to the rescue by noting the fact that the discrete problem is a special case of the multi-partitioning problem, where the objective is to partition a given set of resources among multiple agents to minimize an overall objective function. For the discretized problem, we show that a greedy algorithm achieves at most twice the cost of the optimal solution, via exploiting the super-modularity of the cost function for each of the packets. Thus, the discretized model allows the use of a simple structured solution that is guaranteed to be close to the optimal.
2 Problem Formulation
Consider a source that has packets with bits each, that it wants to communicate to its destination. The total energy available with the source is , that can be used to transmit any bits of the packets. Finite limits the number of bits that can be sent from the source to its destination, and thus the source has to judiciously choose how many bits of each packet can be sent, and the order in which the packets should be sent since that also impacts the QoS.
To make this precise, let the source send out of bits of packet using energy and time . The actual method to compress bits to bits is out of scope of this paper, and can be found in quantization literature. Let the packet be sent at the location, then the cost for packet is defined as
where the second term is the queuing delay. The overall cost of the source is
(1) |
Then the optimization problem is
(2) |
The choice of is motivated by the fact that any natural cost function has a diminishing returns property such that its incremental decrease reduces as increases. The delay component counts the delay of packet as well as the queuing delay that it experiences because of transmission of packets transmitted before it.
Problem 2 has connections with the rate-distortion theory in finite time and energy, which to the best of our knowledge is unsolved. To be specific, the first term of , measures the distortion for packet , and the rate restriction follows because of finite energy and the presence of other packets. The linear delay term weights the rate at which packets are being delivered to the destination. One can keep a general function of , however, the specific choice made here is quite natural, that has diminishing returns property, and is convex, without making the problem trivial.
We use the Shannon rate formula to relate the , and for packet , that is given by
Using this rate formula, we can write Problem 2, as a function of or alone. Even under this ’simple’ rate formula, Problem 2 remains challenging, where even figuring out the optimal order in which packets should be sent cannot be solved in closed form.
3 Optimal Solution For Problem 2
In the following, we first establish that Problem 2 is jointly convex problem under the Shannon-rate formula. Establishing that Problem 2 is convex in both or individually is rather easy.
Theorem 1.
For a fixed order of packet transmission , Problem 2 is jointly convex problem in and .
Proof can be found in Appendix A. Using the joint convexity, Problem 2 can be solved efficiently by any of the convex solvers. Importantly, however, finding the optimal order of packet transmission remains a challenge. One bottleneck in doing so is that the KKT conditions for this problem, which will be sufficient because of Theorem 1, lead to exponential functions in the variables of interest that cannot be solved in closed form. The KKT conditions can be obtained directly by taking a derivative of (1), however, we do not describe them here since they are unwieldy. Thus, the KKT conditions do not allow any analytical tractability, and no structure for the optimal solution can be extracted from the KKT conditions. Thus, one has to rely on the convex solvers to solve this problem for a fixed , and optimize over thereafter. In the next section, we present a structural solution to the problem that obviates the need for optimizing over , which essentially has exponential complexity.
4 Discretized Variant of Problem 2
In this section, we work towards finding a more structured solution for a discretized variant of Problem 2 for which we can find theoretical guarantees on the performance. To facilitate this, we consider a discretized version of Problem 2, where time is divided in discrete slots of short fixed length . In each slot, bits from at most one packet can be sent, however, bits from the same packet can be sent in multiple non-contiguous slots. Let set be the set of slots assigned to packet . We also discretize the energy into small units of each, that is the least amount of energy that will be used in one slot. We define a resource block as a rectangle of height (energy) and width (slot time ). For slot , the number of resource blocks is defined as . Since any one slot is reserved for bits from any one packet, is the amount of energy used for transmission of bits for packet if .
For slots , the cumulative bits sent using resource blocks is , where
Then the cost for packet is
(3) |
where is the last slot where any bits of packet are sent.
The total energy consumption under this setup is , where is the total number of slots used for transmission. Then the optimization problem is
(4) |
Problem 4 is a discrete optimization problem, since and are discrete sets and only one packet can be assigned to any one slot. Thus, it is not evident that Problem 4 is any easier than Problem 2. To understand how to efficiently solve Problem 4, we need the following preliminaries.
Definition 1.
Let be a finite set, and let be the power set of . A real-valued set function is said to be monotone if for , and super-modular if
(5) |
An equivalent definition of super-modularity is
(6) |
for every and every with .
Let be a finite set and let , , be set functions from to the real numbers. The multi-partitioning problem is defined as follows.
Definition 2.
Multi-partitioning problem: Partition a given (resource) set into subsets such that is minimized.
Theorem 2 ([12, 13]).
If all functions in the multi-partitioning problem are non-negative, monotone, and super-modular, then the algorithm outputs a partition whose cost is at most twice that of the optimal partition.
Problem 4 is a multi-partitioning problem, where the resource set is the set of resource blocks for that needs to be partitioned among the packets, such that the total energy constraint is satisfied , where slot for some (packet). One major difference is in the definition of resource blocks that are dynamic for Problem 4 rather than being fixed ahead of time. To be clear, given a set of existing resource blocks, , is allowed only when if additional bits from packet are sent using extra energy in that slot. Moreover, for any , a new resource block is added to or , depending on which one reduces the cost for packet more. Only fixed constraint is that the total number of resource blocks is at most , i.e., .
algorithm | |
---|---|
1 | Initialize , , . |
2 | Find . |
3 | Update . |
4 | Set , Stop if , |
otherwise go to step 2. | |
5 | Return , . |
To solve Problem 4, consider the algorithm in Fig. 2, which allocates a new resource block to the packet that reduces the incremental cost the most. The novelty in this greedy algorithm is that both the packet index set (which slot to assign for packet ) and which packet to assign to a new resource block (if created at a previously un-allotted slot) is being found out greedily, since given the existing set of resource blocks , a new resource block can be created at any of the existing slots where i.e. for some or at a new slot where for any .
We illustrate the functioning of the algorithm for solving Problem 4 in Fig. 3. In the considered iteration of the algorithm, the distinct colored (other than cyan) rectangles of Fig. 3 are resource blocks that have been already assigned to different packets, where the same color represents blocks that are assigned to the same packet. The new resource block that is to be assigned is among the candidate resource blocks (denoted A) that could either be allocated to one of the slots () that is already occupied by some packet or a completely new slot, depending on which choice makes the largest decrease in cost, given the earlier allocation. In case, a resource block is assigned to a previously empty slot, the algorithm also describes which packet () should be assigned to that block.
Theorem 3.
Proof is similar to Theorem 2.
algorithm | |
---|---|
1 | Initialize , . |
2. | Let for some %Last slot that has been assigned to any packet |
3. | For slot |
4. | If energy is not exhausted : . |
5. | Find the slot (or packet ) that benefits the user most by allocating |
a new resource block with , i.e., | |
where | |
6. | Find the packet that benefits most by allocating first resource block at slot , i.e., |
7. | Make if |
Otherwise create a new slot and assign it to , i.e., slot and | |
8. | Update , go to step 3 |
End | |
9. | Return , . |
To make use of Theorem 3, we now show that the cost functions are non-negative, monotone and super-modular as follows.
Lemma 1.
The cost function is non-negative, monotone and super-modular
Proof.
The non-negativity of is obvious, since the first term is an exponential function, while the second term is linear. To show monotonicity, we need to show that for any packet , where is a new resource block that is not part of . By the definition of the resource block as described earlier, a new resource block corresponding to packet is either added to the slots that are already allotted to that packet, i.e., or to an un-allotted slot depending on which ever one gives larger decrease in cost. Adding a new resource block to the existing time slot clearly increases the number of bits for packet while not increasing the delay, thereby decreasing the cost . Thus, adding a new resource block to either or an un-allotted slot cannot increase the cost , thus proving monotonicity. The super-modularity of is also easy to see since function is convex and the delay term is linear. ∎
Thus, we have the following Theorem for Problem 4.
Theorem 4.
5 Simulation Results
In this section, we present some simulation results for the optimal solution output by convex solvers for Problem 2. In Fig. 4, we consider two packets, and total energy Joules. We plot two curves for the overall cost in Fig. 4, where in each, the size of or is kept fixed, while the other is varied. For both the curves, we fix the order of transmission as packet first followed by packet . The available energy is insufficient to transmit bits and bits completely, and the optimal algorithm sends and , bits respectively. We consider another two packet setting in Fig. 5 with lower energy Joules, where again the energy is insufficient to transmit bits and bits and the optimal algorithm sends bits and bits. The inference to draw from Figs. 4 and 5, that for both the curves in both Figs., sending the shorter packet first is optimal in terms of minimizing the cost, which is intuitive given the cost function, however, is difficult to prove. In Fig. 6, for two packets, we plot , as a function of time and energy dedicated to the first packet and , where . Here again, we see that sending the shorter packet first is optimal in terms of minimizing the cost.
Finally, in Fig. 6, for two packets, we plot the energy and time allotted to the two packets by the optimal algorithm, assuming bits of packet are sent before packet ’s. Blue curve is for and red for , and where solid triangle and and the value of evaluated at and at , output by the algorithm. The surface curves in Fig. 6 also show the joint convexity of the considered cost function.



6 Conclusions
In this paper, we have introduced a somewhat unexplored problem of energy-distortion tradeoff under a delay cost, that is closely related to the rate-distortion problem with finite delays. This paper presents only preliminary and limited results on the considered problem. An important goal of this paper is to attract attention towards the considered problem, which we believe is not only practically relevant but also theoretically challenging, since it covers two fundamental and closely related important problems: rate-distortion problem with finite delays and generalized age of information problem.
References
- [1] T. Cover and J. Thomas, Elements of Information Theory. John Wiley and Sons, 2004.
- [2] A. Gupta, S. Verdu, and T. Weissman, “Rate-distortion in near-linear time,” in Information Theory, 2008. ISIT 2008. IEEE International Symposium on. IEEE, 2008, pp. 847–851.
- [3] V. Kostina and S. Verdú, “Fixed-length lossy compression in the finite blocklength regime,” IEEE Transactions on Information Theory, vol. 58, no. 6, pp. 3309–3338, 2012.
- [4] O. Orhan, D. Gündüz, and E. Erkip, “Source-channel coding under energy, delay, and buffer constraints,” IEEE Transactions on Wireless Communications, vol. 14, no. 7, pp. 3836–3849, 2015.
- [5] J. Yang and S. Ulukus, “Delay-minimal transmission for energy constrained wireless communications,” in Communications, 2008. ICC’08. IEEE International Conference on. IEEE, 2008, pp. 3531–3535.
- [6] D. Zordan, B. Martinez, I. Vilajosana, and M. Rossi, “On the performance of lossy compression schemes for energy constrained sensor networking,” ACM Transactions on Sensor Networks (TOSN), vol. 11, no. 1, p. 15, 2014.
- [7] A. Biason, C. Pielli, A. Zanella, and M. Zorzi, “On the energy/distortion tradeoff in the iot,” arXiv preprint arXiv:1702.03695, 2017.
- [8] R. V. Bhat, M. Motani, and T. J. Lim, “Distortion minimization in energy harvesting sensor nodes with compression power constraints,” in Communications (ICC), 2016 IEEE International Conference on. IEEE, 2016, pp. 1–6.
- [9] A. Arafa and S. Ulukus, “Near optimal online distortion minimization for energy harvesting nodes,” arXiv preprint arXiv:1705.10305, 2017.
- [10] I.-H. Hou, V. Borkar, and P. Kumar, “A theory of qos for wireless,” in IEEE INFOCOM 2009.
- [11] S. Kaul, R. Yates, and M. Gruteser, “Real-time status: How often should one update?” in INFOCOM, 2012 Proceedings IEEE. IEEE, 2012, pp. 2731–2735.
- [12] M. L. Fisher, G. L. Nemhauser, and L. A. Wolsey, “An analysis of approximations for maximizing submodular set functions - II,” Mathematical Programming, vol. 14, no. 1, pp. 265–294, Dec. 1978.
- [13] B. Lehmann, D. Lehmann, and N. Nisan, “Combinatorial auctions with decreasing marginal utilities,” Games and Economic Behavior, vol. 55, no. 2, pp. 270–296, 2006.
Appendix A Proof of Theorem 1
Here we give a proof about joint convexity of cost function , where , for some constant that depends on the order of transmission of packets .
There are unknown variables ( and for each packet). So Hessian matrix is sized matrix given by
Clearly, the Hessian matrix is block diagonal, and since eigen-values of block diagonal matrix are eigen-values of each block, to prove the joint convexity, we need to prove that the eigen-values of each block are positive, to prove that the Hessian matrix is positive semi-definite.
Thus, it is sufficient to show that any of the block, say the first block is positive-definite to prove the joint-convexity of .
We use the Sylvester’s criterion for this purpose, that states that a Hermitian matrix is positive-definite if and only if all the upper left corner of have a positive determinant: Writing derivative terms
,
where .
Now using Sylvester’s criteria, upper left matrix is which clearly has positive determinant. Only thing left in prove is to show that has a positive determinant.
which is clearly positive, hence joint convexity of our objective function is proved.