Papers
Topics
Authors
Recent
Search
2000 character limit reached

Task Entropy Discrete Coding

Updated 13 July 2026
  • Task Entropy Discrete Coding is a fixed-length coding framework where ambiguity is intrinsic and measured by the ρ-th moment of the partition sizes.
  • It leverages Rényi entropy of order 1/(1+ρ) to set sharp performance thresholds, contrasting with Shannon entropy’s role in traditional coding.
  • The unified approach connects task partitioning with related problems like guessing and source coding, highlighting design heuristics and mismatch penalties.

Task entropy discrete coding denotes a class of fixed-length coding and partitioning problems in which a random task drawn from a finite set is described using a limited number of labels or bits, and all tasks sharing that description must be performed. The central object is therefore not decoding error or expected code length, but the multiplicity or ambiguity induced by the description, typically measured by a ρ\rho-th moment such as E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho] or E[A(X)ρ]\mathbb E[A(X)^\rho]. Across task encoding, task partitioning, and their asymptotic extensions, the governing entropy is Rényi entropy of order α=11+ρ\alpha=\frac{1}{1+\rho}; in the limit ρ0\rho\to 0, Shannon entropy reappears (Bunte et al., 2013, Bunte et al., 2014, Kumar et al., 2019).

1. Task encoding as fixed-length coding with ambiguity

The basic model starts with a finite task set X\mathcal X and a random task XPX\sim P. An encoder uses a fixed description alphabet, either as a map

f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},

or, equivalently, as a partition of X\mathcal X into MM cells. If task E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]0 is assigned description E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]1, then all tasks in the inverse-image set

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]2

must be performed. The induced multiplicity is therefore

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]3

or, in the partition formulation,

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]4

The performance criterion is the E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]5-th moment

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]6

with E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]7 in the original task-encoding formulation and E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]8 in the later unified treatment (Bunte et al., 2013, Bunte et al., 2014, Kumar et al., 2019).

This formulation differs sharply from ordinary almost-lossless source coding. The decoder does not output a unique symbol, and ambiguity is not treated as an error event. Instead, ambiguity is intrinsic to the model and is optimized directly. The ideal value of the multiplicity is E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]9, meaning that no superfluous tasks are performed, but when the number of descriptions is smaller than E[A(X)ρ]\mathbb E[A(X)^\rho]0, several tasks must share a label (Bunte et al., 2014).

A key combinatorial identity makes the coding structure explicit. If E[A(X)ρ]\mathbb E[A(X)^\rho]1 is the size of the partition cell containing E[A(X)ρ]\mathbb E[A(X)^\rho]2, then

E[A(X)ρ]\mathbb E[A(X)^\rho]3

In the task-partitioning notation, if a partition has size E[A(X)ρ]\mathbb E[A(X)^\rho]4 and block-size function E[A(X)ρ]\mathbb E[A(X)^\rho]5, then

E[A(X)ρ]\mathbb E[A(X)^\rho]6

This is the analog of Kraft’s inequality for partitions of finite sets and is the bridge between task encoding and discrete coding with a finite description alphabet (Bunte et al., 2013, Kumar et al., 2019).

2. Rényi entropy as the operational quantity

The entropy measure governing the multiplicity moment is Rényi entropy. For order E[A(X)ρ]\mathbb E[A(X)^\rho]7,

E[A(X)ρ]\mathbb E[A(X)^\rho]8

In task encoding the relevant order is

E[A(X)ρ]\mathbb E[A(X)^\rho]9

Thus α=11+ρ\alpha=\frac{1}{1+\rho}0 corresponds to α=11+ρ\alpha=\frac{1}{1+\rho}1, while the unified formulation also allows α=11+ρ\alpha=\frac{1}{1+\rho}2, giving α=11+ρ\alpha=\frac{1}{1+\rho}3 (Bunte et al., 2013, Bunte et al., 2014, Kumar et al., 2019).

The one-shot converse for fixed-length task encoding states that for every positive integer α=11+ρ\alpha=\frac{1}{1+\rho}4 and every encoder α=11+ρ\alpha=\frac{1}{1+\rho}5,

α=11+ρ\alpha=\frac{1}{1+\rho}6

There is also a matching achievability statement up to finite-size slack: for all integers α=11+ρ\alpha=\frac{1}{1+\rho}7, there exists an encoder α=11+ρ\alpha=\frac{1}{1+\rho}8 such that

α=11+ρ\alpha=\frac{1}{1+\rho}9

So, up to the explicit slack term ρ0\rho\to 00, the optimal moment behaves like

ρ0\rho\to 01

The same form appears for task partitioning with ρ0\rho\to 02 replaced by ρ0\rho\to 03 and ρ0\rho\to 04 replaced by ρ0\rho\to 05 (Bunte et al., 2013, Bunte et al., 2014, Kumar et al., 2019).

The operational interpretation is that Rényi entropy, not Shannon entropy, is the correct quantity when the coding criterion is a moment of ambiguity/list size. A useful design heuristic also emerges from the converse: equality would require block sizes roughly proportional to

ρ0\rho\to 06

or, in partition form,

ρ0\rho\to 07

This means more probable tasks should be placed in smaller bins or smaller ambiguity sets, but with Rényi-order scaling rather than the scaling associated with ordinary source coding (Bunte et al., 2014, Kumar et al., 2019).

3. Asymptotic thresholds and entropy rates

For a general source ρ0\rho\to 08 over a finite alphabet, the blocklength-ρ0\rho\to 09 encoder

X\mathcal X0

jointly describes X\mathcal X1, and the decoder performs all sequences in the cell X\mathcal X2. The asymptotic criterion remains

X\mathcal X3

The threshold is the Rényi entropy rate of order X\mathcal X4, when it exists: X\mathcal X5 The coding theorem is sharp. If

X\mathcal X6

then there exist encoders X\mathcal X7 such that

X\mathcal X8

If

X\mathcal X9

then for every coding sequence,

XPX\sim P0

For IID sources, XPX\sim P1, so the threshold reduces to the single-letter Rényi entropy (Bunte et al., 2013, Bunte et al., 2014).

The task-partitioning formulation gives the same threshold statement with partitions of XPX\sim P2 of size at most XPX\sim P3. If XPX\sim P4, there exists a sequence of partitions such that

XPX\sim P5

If XPX\sim P6, then for any such partitions,

XPX\sim P7

Operationally, XPX\sim P8 is therefore the critical fixed rate for asymptotically vanishing task ambiguity under a moment criterion (Kumar et al., 2019).

A recurring misconception is that the critical rate should be Shannon entropy because the descriptions are discrete. The asymptotic theorem shows otherwise: Shannon entropy is recovered only in the limiting regime XPX\sim P9, whereas for f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},0 the correct threshold is the Rényi entropy rate of order f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},1 (Bunte et al., 2014, Kumar et al., 2019).

4. Unified optimization framework and relation to coding, guessing, and partitioning

A later synthesis places task partitioning inside a single variational problem. The abstraction is: choose a nonnegative function f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},2 under the linear constraint

f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},3

and minimize

f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},4

The main theorem is

f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},5

with optimizer

f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},6

As f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},7, the criterion becomes logarithmic and Shannon entropy appears: f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},8 achieved by f:X{1,,M},f:\mathcal X\to\{1,\dots,M\},9 (Kumar et al., 2019).

This theorem unifies several discrete problems by different choices of X\mathcal X0.

Problem Choice of X\mathcal X1 Constraint
Source coding X\mathcal X2 X\mathcal X3
Guessing X\mathcal X4 X\mathcal X5
Memoryless guessing X\mathcal X6 X\mathcal X7
Task partitioning X\mathcal X8 X\mathcal X9

For task partitioning, the choice

MM0

and the partition identity

MM1

yield the one-shot converse

MM2

This gives task partitioning a clean coding interpretation: labels are compressed descriptions, and MM3 is the ambiguity or list size induced by the description (Kumar et al., 2019).

The same framework also explains why source coding, guessing, and task encoding are mathematically parallel. Only the operational meaning of MM4 changes: inverse code mass, inverse guessing rank, randomized guessing distribution, or inverse ambiguity size (Kumar et al., 2019).

5. Side information, mismatch, and distributed task encoding

The single-source model extends in two important directions: side information and mismatch. With side information MM5 available to both encoder and performer, the encoder becomes

MM6

and the performed set is

MM7

The moment criterion is

MM8

and the governing quantity is Arimoto’s conditional Rényi entropy of order MM9: E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]00 The one-shot bounds mirror the unconditional case, with E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]01 replaced by E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]02, and the corresponding asymptotic threshold is the conditional Rényi entropy rate (Bunte et al., 2014).

Mismatch introduces a second family of operational quantities. In task encoding designed for the wrong law E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]03, the excess performance is measured by a divergence identified by Sundaresan. In the task-encoding papers this appears as E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]04, and the mismatched achievability bound becomes

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]05

In the IID case, the penalty is additive: E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]06 In the unified task-partitioning framework, the corresponding penalty is written as Sundaresan’s divergence E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]07, and for a fixed partition E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]08 with partition function E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]09,

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]10

Thus mismatch contributes exactly an excess ambiguity term on top of the intrinsic task entropy and the rate offset (Bunte et al., 2014, Kumar et al., 2019).

The distributed version replaces a single encoder by two separate encoders

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]11

with decoder list

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]12

The achievable region is characterized by Rényi marginals plus a dependence penalty E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]13: E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]14

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]15

For IID sources this becomes single-letter. This is a notable point of contrast with Slepian–Wolf coding: the individual-rate constraints depend on the marginals, and correlation enters through the sum-rate penalty E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]16, not through conditional entropies (Bracher et al., 2017).

6. Extensions, interpretation, and conceptual boundaries

The task-encoding program also includes two IID extensions solved in the same Rényi framework. The first is a rate-distortion-flavored model in which the decoder outputs a subset E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]17 and every source sequence must have at least one reproduction in the subset within distortion E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]18. The relevant threshold is

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]19

with the same dichotomy: if E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]20, the multiplicity moment can be driven to E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]21; if E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]22, it diverges. At E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]23, this reduces to the lossless threshold

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]24

The second extension assigns nonnegative costs E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]25 to tasks and, for E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]26, yields threshold E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]27 in the IID case (Bunte et al., 2014).

These developments sharpen the conceptual meaning of “task entropy.” In this literature, task entropy is not a separate primitive but the operational quantity that governs fixed-length coding with ambiguity. When the performance criterion is expected code length or vanishing error, the operative quantity is Shannon entropy. When the criterion is a moment of multiplicity, list size, or ambiguity under a fixed description alphabet, the operative quantity is Rényi entropy of order E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]28 (Bunte et al., 2014, Kumar et al., 2019).

A second misconception is to treat task encoding as a form of ordinary list decoding. The operational structure is different. The performer executes all tasks in the induced bin, so the cost is literally the number of performed tasks, not a decoding-list size used only for post-processing. This is why the central metric is

E[f1(f(X))ρ]\mathbb E[|f^{-1}(f(X))|^\rho]29

rather than error probability or expected length (Bunte et al., 2014).

The broader significance of the unified line of work is that source coding, guessing, memoryless guessing, and task partitioning all reduce to the same constrained moment minimization, with Rényi entropy and, in the limit, Shannon entropy as exact solutions. Within that class, task partitioning supplies a particularly direct operational interpretation: under a finite description alphabet, the minimum achievable moment of task ambiguity is characterized by Rényi entropy, and under mismatch the penalty is quantified by Sundaresan’s divergence (Kumar et al., 2019).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (4)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Task Entropy Discrete Coding.