arXiv:2609.03745cs.ITSep 2026

Manuscript Offprint

arXiv:2609.03745

A Quantization Problem Posed by Adaptive Streaming

Yuriy A. Reznik

Abstract

In adaptive bitrate (ABR) streaming, the delivery technology behind most Internet video, each title is encoded at several bitrates, forming an encoding ladder of renditions. Each client plays the highest rendition that its network bandwidth can sustain. We show that choosing the ladder is a problem of scalar quantization of the bandwidth distribution. However, this quantization problem is of an unusual kind: the client's logic pins each quantization cell's reproduction value to the cell's left edge, and the distortion measure is a one-sided quality loss rather than a squared error. The constraint reshapes the classical theory. The quality gap of a ladder is the distance between its average delivered quality and the quality limit that infinitely many renditions would attain. For optimal nn-rendition ladders the gap Gn∗\mathcal{G}_n^* decays as Θ(1/n)\Theta(1/n), not the textbook Θ(1/n2)\Theta(1/n^2). Moreover, with large nn, nGn∗→Cw=12(∫pQ′ dB)2n \mathcal{G}_n^* \to C_w = \frac{1}{2}(\int \sqrt{pQ'} \, dB)^2, with the limit attained when the ladder's rates follow the density pQ′\sqrt{pQ'}, which replaces Panter-Dite's p1/3p^{1/3}; here pp is the bandwidth density and QQ the quality-rate curve of the content. The law yields closed-form design rules: quantile rung placement, the rendition count n(ε)≈Cw/εn(\varepsilon) \approx C_w/\varepsilon needed to reach tolerance ε\varepsilon, and the economic ladder size n∗=λCw/κn^* = \sqrt{\lambda C_w/\kappa} when a rendition costs κ\kappa to operate and the quality gap is priced at λ\lambda. The same analysis extends to the design of ladders employing different video resolutions, codecs, perceptual quality metrics, and the two-dimensional adaptation logic of modern web players.

1 Introduction

Most videos on the Internet—movies, sports, news, user-generated clips—are delivered using adaptive bitrate (ABR) streaming protocols, such as HLS and DASH [1,2]. The idea is simple. The capacity of the network path between a service and a viewer is unknown in advance and may be varying, so the service prepares several encodings of the same content at different bitrates and lets each receiving device choose, moment by moment, the one its connection can sustain. The set of prepared encodings is the encoding ladder; its entries are renditions, informally rungs.

The ladder is thus a finite set of operating points standing in for a continuum of network conditions, and someone must decide what this set should be. How many renditions? At which bitrates? In current practice, the question “what is the best ladder?” has never lacked answers—standing recommendations such as Apple’s HLS authoring guidelines [3], per-title and context-aware optimizers built into commercial encoders [4–6], and a growing body of work casting the search as a learning problem [7,8]. What none of this gives is an understanding of the problem itself: what mathematical structure it has, what an optimal ladder looks like, and how far from optimal any given design sits.

The objective of this paper is to develop such understanding. What we find is that the mathematics behind the ladder design problem is, recognizably, quantization [14]. A ladder assigns to every possible network bandwidth BB a single delivered encoding; that is, it quantizes the continuous random variable BB into nn representative operating points. Once this identification is made precise, the tools of quantization theory become available: Lloyd-Max-type optimality conditions [15, 16], dynamic-programming design with global optimality guarantees, and, most usefully, high-resolution asymptotics that describe optimal ladders in closed form.

The identification comes with a twist, and the twist is what makes the problem interesting. A streaming client is conservative: it plays the highest-bitrate rendition whose bitrate fits below its available bandwidth. In quantization language, the reproduction value of each cell is not free to sit at the cell's centroid, as in the textbook problem; it is pinned to the cell's left edge. This small change has large consequences. Quantization errors within a cell now all have one sign and never cancel, the within-cell loss is first-order in the cell width rather than second-order, and the whole high-resolution picture changes: the optimal quality gap decays as Θ(1/n)\Theta(1/n) instead of the classical Θ(1/n2)\Theta(1/n^2), and the optimal density of the ladder's rates becomes pQ\sqrt{pQ}, replacing the Panter-Dite density p1/3p^{1/3} [17, 18].

References (31)