arXiv:2610.13914cs.ITOct 2026

Manuscript Offprint

arXiv:2610.13914

Heterogeneous Demand-Private Coded Caching: Exact Characterization for Two Users and Two Files

Tati V D N Eswar, Jithin Ravi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Tati V D N Eswar and Jithin Ravi

Department of Electronics and Electrical Communication Engineering

Indian Institute of Technology Kharagpur, India

Emails: eswar27.24@kgpian.iitkgp.ac.in, jithin@ece.iitkgp.ac.in

Abstract—We consider the demand-private coded caching problem with heterogeneous file sizes and cache capacities, where each user must recover its requested file without learning any information about the demands of the other users. We first extend the virtual-user reduction technique to accommodate heterogeneous cache sizes, thereby enabling the construction of demand-private coded caching schemes from non-private schemes. Our main contribution is an exact characterization of the memory-rate trade-off for the fundamental setting of two users and two files with arbitrary file sizes and cache capacities. Specifically, we characterize the optimal trade-off through eight linear inequalities and establish achievability by constructing explicit coded caching schemes for the non-trivial corner points, followed by memory sharing. These constructions include novel asymmetric cache placement strategies tailored to heterogeneous file sizes and cache capacities. For the converse, we exploit the distributional equivalences induced by demand privacy to derive information-theoretic lower bounds that explicitly account for the underlying heterogeneity. Our results generalize the exact memory-rate trade-off characterization for the homogeneous demand-private coded caching setting with two users and two files, while quantifying the additional transmission cost imposed by demand privacy compared with the non-private heterogeneous setting.

I. INTRODUCTION

In the seminal work [1], Maddah-Ali and Niesen introduced the coded caching framework for a noiseless broadcast network consisting of a server with N files of equal size and K users, each equipped with a cache of equal size. The system operates in two phases: a placement phase, in which the user caches are populated without knowledge of future demands, and a delivery phase, in which each user requests one of the files and the server broadcasts a common coded message to satisfy all requests. By jointly designing the placement and delivery phases, coded caching creates multicast opportunities across different demands and achieves a global caching gain in addition to the conventional local caching gain. The scheme in [1] is order-optimal within a constant factor for general system parameters, and the exact memory-rate trade-off was characterized for the fundamental N=K=2N = K = 2 setting. The memory-rate trade-off was subsequently improved and the constant factor in the order-optimality was tightened [2]–[5].

Several works have extended the coded caching framework to different network models, including hierarchical networks [6] and multi-access networks [7], [8]. Another important line of work addresses security [9] and privacy concerns [10] in coded caching. In particular, the coded transmissions in the original framework may reveal the users' demands to one another, motivating the study of demand-private coded caching [11]–[13]. Under information-theoretic demand privacy, each user must recover its requested file while learning no information about the demands of the other users. The exact demand-private memory-rate trade-off was characterized for the N=K=2N = K = 2 setting [14].

Most existing works on coded caching assume homogeneous file sizes and cache capacities. In practical scenarios, however, files may have different sizes, users may have unequal cache capacities, and user demands may follow non-uniform distributions. Various forms of such heterogeneity have been investigated in [15]–[19]. In particular, Chang et al. [17], [18] studied the fully heterogeneous coded caching problem, which simultaneously accommodates heterogeneous file sizes, cache capacities, and arbitrary demand distributions, in the non-private setting. For the special case of N=K=2N = K = 2, an exact characterization of the memory-rate trade-off was obtained in [18]. Despite these advances, the coded caching problem under full heterogeneity with information-theoretic demand privacy remains unexplored.

In this paper, we investigate demand-private coded caching under full heterogeneity, encompassing (i) heterogeneous file sizes, (ii) heterogeneous cache sizes, and (iii) arbitrary user demand distributions. We first establish that the demand privacy constraint necessitates a transmission length that is invariant across all demand vectors, rendering the transmission rate independent of the underlying demand distributions (Remark 1). Consequently, the average and worst-case transmission rates coincide, and it suffices to characterize the worst-case memory-rate trade-off. For achievability, we extend the virtual-user technique and the restricted-demand-subset reduction, previously developed for homogeneous demand-private coded caching, to the fully heterogeneous setting.

Our main result, Theorem 2, exactly characterizes the demand-private memory-rate trade-off for N=K=2N = K = 2 with arbitrary file sizes and cache capacities through eight linear inequalities. This characterization generalizes the homogeneous demand-private result [12] and quantifies the rate penalty imposed by demand privacy relative to the non-

J. Ravi has received funding from IIT Kharagpur under a Faculty Start-up Research Grant (FSRG).

private heterogeneous setting [18]. To establish achievability, we extend the virtual-user technique and restricted-demand-subset reduction to the heterogeneous setting and construct four non-trivial schemes. These include two novel asymmetric cache placement schemes for unequal cache capacities and two extensions of existing homogeneous-cache constructions to heterogeneous file sizes. Together with memory sharing, these schemes achieve all corner points of the optimal region. For the converse, we exploit distributional equivalences induced by demand privacy to derive eight information-theoretic bounds, including four new bounds specific to heterogeneity. The matching achievability and converse establish the optimality of the proposed schemes.

The remainder of the paper is organized as follows. In Section II, we introduce the heterogeneous demand-private coded caching setting and formulate the problem. In Section III, we state our main results, followed by their proofs in Section IV. In Section V, we discuss the implications of our findings. Additional proofs are provided in the appendices.