Manuscript Offprint
arXiv:2610.30493Optimal Multitask Representations Under a Rate Constraint: An Information Bottleneck Analysis
Abstract
Which pretraining objective yields the best representation for downstream tasks under an information budget? We formalize this problem as a multitask information bottleneck, using a mutual information constraint to model incomplete information retention. For Gaussian inputs and tasks, we characterize optimal representations and show that a task-aligned specialist can outperform a reconstruction generalist at low rates but lose at high rates. We also construct task families with increasing SNR for which every fixed Gaussian prediction objective incurs arbitrarily large relative regret, driven by reversals in optimal allocation priorities. Conversely, the average task information matrix defines an objective with a uniform relative-regret bound controlled by maximum task SNR. CelebA and dSprites experiments illustrate that compression can change which pretraining objective performs best, and even task-aware training can reverse which downstream task is better preserved as rate increases.
1 INTRODUCTION
Representation learning seeks features that support predictions beyond the objective used to learn them. Image-text pretraining and masked reconstruction have demonstrated broad visual transfer (Radford et al., 2021; He et al., 2022). Theoretical accounts explain how auxiliary prediction can expose latent structure to simple downstream predictors (Arora et al., 2019; Lee et al., 2021; Tosh et al., 2021), and how these procedures can produce approximately sufficient representations for related tasks. These results motivate a sufficiency intuition: an objective that requires broadly useful information can supply the information that many tasks need. Under a restricted representation budget, however, preserving a fully sufficient representation may be impossible. This leaves another question: which information should receive the available capacity?
This question concerns both learning compact representations and compressing features supplied by a pretrained model. An unsupervised “generalist” objective may reward preserving many factors in the input, whereas a supervised “specialist” emphasizes a smaller set of predictions. With unlimited capacity, it is unsurprising that the former objective might yield preferable representations. But when capacity is scarce, the specialist might be preferable even if it omits some information relevant to certain downstream tasks. We study how this tradeoff affects the selection of the representation objective, or pretext, as a function of representation bitrate. This budget constrains information retained about each observation, rather than network parameter count or computational cost.
We use the term pretext for any surrogate objective, in place of the downstream/evaluation tasks, which is used to obtain representations. These objectives could be self-supervised in the usual sense (Doersch et al., 2015; Kolesnikov et al., 2019; Gidaris et al., 2018) or supervised on auxiliary labels, distinct from the evaluation labels. Our results concern the information a surrogate prioritizes rather than how its targets are obtained.
Our starting point is task-aware rate-distortion theory (Berger, 1971; Cover and Thomas, 2006). Statistical sufficiency concerns preserving the information required for inference (Kullback and Leibler, 1951), while the information bottleneck (IB) generalizes this condition by trading off relevance against compression (Tishby et al., 1999). With unrestricted probabilistic prediction, excess log-loss equals information lost about the target, linking IB to remote source coding under logarithmic loss (Zaidi et al., 2020; Courtade and Weissman, 2014). Multivariate IB already accommodates several relevance variables (Friedman et al.,
2001). We use this established framework to measure representation quality by task-averaged excess log-loss and capacity by mutual information.
Several related lines of work clarify what information a pretext should preserve. Task-aware compression can exploit shared invariances to control predictive loss across an entire task family (Dubois et al., 2021). View-selection principles similarly seek to discard shared nuisance information while retaining task relevance (Tian et al., 2020). Spectral and kernel analyses connect generalization to augmentation structure, representation dimension, and inductive biases (HaoChen et al., 2021; Cabannes et al., 2023). Our question is complementary to these analyses: for a certain task suite and information budget, does optimizing a surrogate prediction objective allocate capacity appropriately, and can the same surrogate remain appropriate across budgets? This population-level allocation question differs from the statistical benefit of learning shared structure from multiple tasks (Maurer et al., 2016), and also abstracts from decoder restrictions, whose importance is formalized by the decodable IB (Dubois et al., 2020).
Gaussian task models make the allocation question explicit. Classical Gaussian IB (GIB) yields noisy linear representations with a fixed canonical basis and rate-dependent mode activation (Chechik et al., 2005). Building on Gaussian extremality results (Liu et al., 2017), we reduce the multitask Gaussian problem to optimization of a conditional covariance. We then compare its solutions with those induced by single-task Gaussian pretexts. Even when all task matrices share an eigenbasis, their optimal allocation ordering can reverse with rate. Directions serving frequent but less precise tasks can take priority at low rates, while directions serving rare yet more precise tasks become more important at high rates. This is stronger than sequential activation of additional modes within a fixed ordering, as occurs in the usual GIB.
We establish both negative and positive consequences. We show that weakly task-aligned specialist objectives can outperform a generalist at low rates but lose at higher rates due to omitted information. More strongly, we show that some task families force substantial relative regret for any rate-independent single-target Gaussian pretext. Conversely, bounded task SNR guarantees a rate-uniform approximation for a certain pretext constructed using the average task information matrix, and its regret bound is second order at low SNR.
Experiments on frozen CelebA features compare compression objectives at matched budgets, using both the exact Gaussian solution and trained finite-bit encoders, and exhibit rate-dependent pretext rankings and specialist–generalist crossovers. A second experiment trains encoders end-to-end on a two-factor dSprites mixture and finds the predicted reversal in relative factor recoverability, near the rate the Gaussian analysis identifies. Our results therefore identify when the deployment budget matters to surrogate-objective selection, and when even a task-aware fixed surrogate may be insufficient to approximate the optimal allocation at all rates.
2.1 Single-Task IB: What Does a Pretext Preserve?
For input X and prediction target V, the information bottleneck (Tishby et al., 1999) chooses an encoder satisfying to solve
All information quantities are in bits. The target specifies which information is useful, while R limits how much the representation retains. With an unrestricted probabilistic decoder, the minimized quantity is the increase in optimal predictive log-loss caused by replacing X with Z. The budget is an information-theoretic model of representation compression.
The Gaussian case makes this allocation explicit. For details, see (Chechik et al., 2005). Let and , with independent and , and define the task information matrix . The eigenvalues of describe task signal-to-noise ratios along feature directions. If , then an optimal Gaussian representation allocates
(2)
where is the residual covariance, and “water level” is chosen to satisfy the rate constraint. Observe that more bits (greater ) reduce uncertainty in the corresponding direction. Crucially, a fixed Gaussian target fixes both the basis and the ordering of the allocations: if , then at every rate. Increasing the budget changes the allocation, but cannot reverse this ordering. We next ask whether this structure suffices when the representation must support multiple tasks.
2.2 A Shared Representation for Multiple Tasks
Let index evaluation tasks, with weights and . The shared encoder does not observe , while a task-dependent decoder does, mirroring the case where a pretrained representation is adapted to an evaluation task through probing. Under , define distortion measures
Thus is the smallest average compression-induced excess log-loss available at rate R. For a pretext target , let
A fixed pretext fixes the target channel , but its encoder is re-optimized at each rate. measures the excess loss of substituting a surrogate IB with target in place of the actual multitask IB defined by the evaluation tasks.
For independent of X, the task-indexed target satisfies . The multitask objective is therefore itself an IB objective, but is generally not jointly Gaussian with X, even when every individual task is Gaussian.
2.3 Gaussian Task Model and Exact Benchmark
Assume
where is independent of and . No coupling between task noises is needed. Define
We assume , but otherwise our results hold when restricting to the task-relevant subspace .
Our first result shows that the multitask GIB is solved by a representation which is jointly Gaussian with X.
Proposition 1 (Gaussian reduction). Under (6) and , for every finite ,
The minimizer exists, is unique, and exhausts the rate budget:
It is realized by
for which and .
Gaussian extremality (Liu et al., 2017, Theorem 15) reduces optimization over arbitrary encoders to this covariance program. The proof and optimality conditions are in Appendix A. This supplies an exact benchmark in the model, so failures of a pretext can be attributed to the information it prioritizes, through .
3 TASK KNOWLEDGE AND PRETEXT CHOICE
We next consider how weak task knowledge informs how one should spend a limited representation budget. Consider two types of objectives: one concentrates on a strict subspace (a “specialist”), while the other preserves information about the entire input (a “generalist”). For example, the former could include a suite of supervised attribute prediction tasks, while the latter could include broader reconstructive, contrastive, or JEPA-style objectives (Assran et al., 2023).
Throughout, , denotes the evaluation distortion from Proposition 1, and is as defined in (8). measures the sensitivity of distortion to rate allocation near zero rate.
3.1 When Specialists Beat a Generalist
Let be a -dimensional subspace, , with orthonormal basis and projector . Consider equally weighted specialist pretexts
whose noises are independent of X. This defines a multitask GIB problem which the specialist solves by allocating R/k bits to each direction in S.
Next, let the generalist use the pretext with independent , . Its optimal allocation is isotropic: each direction receives R/d bits. The resulting residual covariances are
The following proposition establishes that one can expect a crossover in the relative performance of the two objectives as rate increases.
Proposition 2 (Specialist–generalist crossover). Suppose the specialist span S has above-average evaluation relevance per dimension:
Suppose also that it omits evaluation-relevant information, so
Then for all sufficiently small , whereas the reverse strict inequality holds for all sufficiently large . In particular, the curves cross at a finite positive rate.
The mechanism follows from their initial slopes and limiting losses:
(18)
Specialists obtain more downstream benefit per bit initially, but their limited coverage creates a loss floor. Condition (16) relates pretraining directions to evaluation relevance, but actual pretext and evaluation targets need not coincide. Condition (17) is equivalent to . We illustrate Proposition 2 in Figure 1, and its full proof is in Appendix B.
This crossover demonstrates that transferability of certain pretexts is rate-dependent, but does not establish that every fixed Gaussian pretext must lead to suboptimal representations for the multitask problem. We address the stronger question next.
4 REVERSALS IN OPTIMAL ALLOCATION PRIORITIES
Increasing the information budget can change the relative priority of input factors, even when the task suite remains fixed. Directions serving frequent tasks can receive more rate initially, while directions serving rare but more precise tasks can receive more at higher budgets. We first exhibit this reversal and quantify its consequences for fixed Gaussian pretexts, whose allocation ordering cannot change with rate (Section 2.1). We then characterize a rate-dependent pretext that matches the multitask optimum.

Figure 1: Illustration of Proposition 2. Here, , , and the evaluation tasks span a k-dimensional subspace for which squared cosines of the principal angles with S all equal . SNR of all tasks equals 1, including the specialist tasks, reconstruction, and the evaluation tasks.
4.1 Example: task frequency versus precision
We can illustrate the obstruction with a simple two-task example: one task is common and requires moderate precision, while the other is rare but supports much finer prediction. For , define rank-one task matrices
(19)
Their optimal covariance is diagonal. Writing and , its distortion is the minimum over of
(20)
For , at all rate goes to mode 1: its marginal benefit at is , the maximum marginal benefit of mode 2. At , mode 2 instead receives more rate. At equal allocation its marginal benefit is , exceeding for mode 1. See Appendix C for this section's calculations.
The mechanism is task frequency versus precision. At low rate, a direction's marginal value saturates at its task weight. At high rate, residual signal strength matters: here . Neither allocation decreases with total rate, and the active supports remain nested. What reverses is their relative priority, which does not happen in standard single-target GIB.
We can also compute the relative suboptimality of approximating the multitask GIB's solutions by those of a single-target GIB. Let and . For this two-dimensional family, every fixed Gaussian pretext, including one in a different basis, has the wrong coordinate ordering at one of the two

Figure 2: Rate-distortion gap (top) and optimal rate allocations (bottom) for the two-task example with M = 256. Dotted vertical lines mark and , and the dashed line marks the exact reversal .
rates. Its distortion there is at least , so
For M = 256, we obtain a lower bound exceeding 4.67, meaning every fixed Gaussian pretext has distortion exceeding 5.67 times the optimum at at least one of the rates or . This gap is visualized in Figure 2.
More generally, for commuting tasks, the marginal value of a bit at rate r is
These curves can cross, while for one Gaussian target, their ordering is fixed by its eigenvalues. The example shows that this obstruction can entail a large relative loss for certain standard choices of pretext.
4.2 Rate-Dependence of Optimal Pretext Geometry
While a rate-independent optimal Gaussian pretext need not exist, a rate-dependent one always does. That is, at a given rate R, there exists a single-task GIB problem sharing the same solution as the multitask problem. This suggests that multitask pretraining may be unnecessary if the objective is designed with deployment bitrate in mind.
Here, we consider Gaussian pretexts defined by additive corruption,
where . Choosing a pretext amounts to choosing the directions and strengths of corruption. Its information matrix is .
The following result establishes that for any task family and rate , the corresponding IB problem shares the same solutions as a certain single-task IB problem with a covariance depending on . Refer to Section 2 for definitions and to Appendix D for the proof.
Theorem 1 (Downstream-matched pretext). Under the assumptions of Proposition 1, suppose that . For , define
Then
Moreover, is a global optimum of the rate-constrained Gaussian pretext problem
(27)
Many Gaussian pretexts can induce a prescribed covariance (e.g., by scaling the noise by a constant), so the statement is not about uniqueness. The takeaway from Theorem 1 is the matching rule (25) and its dependence on rate.
Specializing Theorem 1 to low- and high- rate limits illustrates how the optimal pretext geometry changes with rate. Recalling the saturated task matrix from (8), if has a simple largest eigenvalue with unit eigenvector , then
On the other hand, at high rate,
These endpoint expansions, calculated in Appendix D.3, determine the limiting matched pretexts.
Corollary 1 (Limiting matched pretexts). Under the assumptions of Theorem 1,
At low rate, the marginal value of a direction is governed by
The transformation saturates strong task signals, so making an already predictable task still more precise has limited effect on the first allocated bits. At high rate, the remaining loss is instead
and task precision enters linearly. Consequently, the appropriate pretext can change the relative priority of its directions across budgets.
5 WHEN A FIXED PRETEXT SUFFICES
The preceding example shows that a fixed Gaussian pretext can incur large relative regret, but uses tasks with widely separated, high signal-to-noise ratios (SNRs). We now give a complementary positive result: bounded task SNR limits the excess distortion of a certain fixed pretext, uniformly over all rates.
Define the Specht ratio
Theorem 2 (Bounded-SNR fixed-pretext approximation). Under Proposition 1, suppose for every task and . Let denote the rate-R optimal covariance for the single Gaussian pretext with information matrix . For every finite ,
Consequently,
The pretext is fixed across rates, but requires knowledge of the task suite, as it depends on the weighted average task matrix . Recalling Corollary 1, we see that Theorem 2 bounds the cost of approximating the multitask IB solution by its high-rate limit.
The bound is independent of task count and input dimension, and applies even when optimal directions rotate. In particular, gives , bounding regret of the optimal fixed Gaussian pretext by 16%. At low SNR,
Thus the guaranteed relative loss is second order in task strength.
See Appendix E for the proof of Theorem 2. Intuitively, weak Gaussian task channels have nearly linear distortion in K, so their objectives approximately aggregate into one task. Strong channels can depart substantially from this approximation through saturation.
6 EXPERIMENTS
Our experiments test two claims. First, whether compression changes the ranking of pretext objectives on held-out tasks as predicted in Section 3, and second, whether direct multitask training exhibits the allocation reversals predicted in Section 4. Code for all experiments is available at our GitHub repository.
6.1 Pretext Selection Under Compression
Setup. We use CelebA (Liu et al., 2015) with its official train/validation/test partitions. A frozen ImageNet-pretrained ResNet-18 (He et al., 2016) produces 512-dimensional features, reduced to d = 32 by PCA and whitening fitted on training data. These d-dimensional features define the common input X to the IB problems. All objectives thus receive this same set of uncompressed “master features”, with compression heads re-optimized at each budget.
The pretext bank includes supervised specialists predicting various attribute-groups, feature reconstruction, augmented-view and complementary-view prediction, and semantic-reconstruction mixtures. Our prespecified primary comparison pairs feature reconstruction under Gaussian NLL with a specialist predicting the five attributes Mouth Slightly Open, High Cheekbones, Wavy Hair, Straight Hair, and Receding Hairline. Evaluation equally averages the four disjoint attributes Smiling, Eyeglasses, Blond Hair, and Young. We fixed the specialist and evaluation attribute subsets before inspecting the rate-distortion curves and did not search over alternative subsets to obtain a crossover. Weak correlations between the disjoint pretext and evaluation attributes motivate this comparison as an empirical analogue of the task alignment studied in Proposition 2. We use four evaluation attributes rather than all forty provided by the dataset to keep the rate sweep tractable.
Compression mechanisms and evaluation. We compare two compression mechanisms: the direct Gaussian covariance optimization of Proposition 1 under models fitted to task/feature statistics, and a learned B-bit discrete bottleneck trained on the em-pirical pretext loss. We directly optimize the covariance program (10) in the former case, and use the straight-through gradient estimator in the latter (training details are given in Appendix F). Their respective rate axes are the nominal Gaussian rate for the channel , and code budget B. Both upper-bound retained information.
To proxy distortion , we measure task-averaged excess negative log-likelihood (NLL) relative to probes trained on uncompressed features, using the same probe class and training protocol across objectives and rates. This estimates the predictive cost of compression, subject to probe approximation and estimation error. We report 95% pointwise percentile bootstrap intervals from 2,000 paired resamples. Gaussian-channel intervals resample test images, while learned-code intervals independently resample test images and the five fitted training seeds. Appendix F.1 details the uncertainty estimates, crossover estimation, and code entropies.
Results. In Figure 3, we see that in both mechanisms, the specialist performs better at low budgets and the generalist overtakes it as the budget grows. Crossovers occur near 16.8 bits for the Gaussian channel and 21.2 bits for discrete codes, with a sign change in 100% of resamples. The specialist curve flattens while the generalist continues improving, consistent with (18). The fitted proxies satisfy both conditions of Proposition 2: above-average evaluation relevance per specialist dimension, , and omitted evaluation information, .
Across the full bank, 9 of 28 pretext pairs reverse order between the lowest and highest nonzero Gaussian budgets, and 13 of 28 reverse for discrete codes; corresponding Kendall correlations are and 0.07. The primary crossover also persists with a one-hidden-layer MLP probe, supporting robustness beyond linear probes. Appendix F.1 reports full rankings, probe sensitivity, and the relationship between Gaussian proxy predictions and measured binary NLL.
6.2 Allocation Reversal Under Direct Multitask Training
Setup. We now fix the training objective to the evaluation mixture and test whether relative factor recoverability reverses with rate. This tests the hypothesis of Section 4 that the multitask problem does not, in general, admit a rate-independent ordering of priorities across different information sources.
Using dSprites (Matthey et al., 2017), we instantiate an analogous two-mode construction to that of Section

Figure 3: CelebA specialist–generalist comparison. Left: Gaussian channels under fitted task models, against nominal Gaussian rate. Right: learned discrete codes, against code budget. Top: task-averaged excess NLL. Bottom: generalist minus specialist distortion. Shading shows 95% pointwise percentile bootstrap intervals from test-image resampling (left) and crossed resampling of test images and training seeds (right).
4.1 with M = 4. Prediction of horizontal position is a common and moderately precise task, while vertical position prediction is rare and highly precise, with weights (0.75, 0.25) and task SNRs (16, 256). We tune the SNRs by adding an appropriate amount of Gaussian noise. A convolutional encoder is then trained end-to-end on this mixture using a variational bottleneck, sweeping the compression penalty with three seeds per setting.
Rate and recoverability. For encoder and reference measure ,
(35)
so the achieved KL is an upper bound on retained information. In Appendix F.2, we plot achieved in bits per image and report it per seed because achieved rate varies at fixed .
Next, factor targets are standardized to unit variance, and for each factor we report the recoverability index
for a held-out probe, using an identical probe protocol at every budget. In the Gaussian model equals the rate allocated to direction i, while for general factors it measures effective bits recovered.
Results. Figure 4 illustrates that both factors become more recoverable as rate increases, but their ordering reverses near bits, individually in all three seeds. This is the empirical analogue of Figure 2, where and are both nondecreasing while their relative priority inverts.
The Gaussian construction of Section 4.1 predicts a reversal at bits. This agreement supports the proposed mechanism, but is not a calibrated rate prediction: bounds rather than equals , it can include nuisance factors, and is exact only under a Gaussian model. Exchanging the factors' task roles reverses the effect (Appendix F.2), supporting the frequency-precision explanation over an intrinsic asymmetry between coordinates.
Scope. The theory concerns globally optimal Gaussian multitask representations, which can reverse their allocation ordering with rate. The experiment shows that representations obtained by directly optimizing a variational multitask bottleneck from images exhibit the analogous reversal in relative factor recoverability, near the predicted rate. However, it does not certify optimality, so we describe these as task-optimized neural representations, not as empirically optimal ones. The theorem supplies the statement about optimal representations, while the experiment shows that its qualitative mechanism survives neural learning from non-Gaussian (in fact, discrete) observations.
6.3 Experimental Scope
The two experiments exhibit related but distinct reversals worth separating. Section 6.1 demonstrates reversals within the ranking of objectives: which surrogate to optimize depends on the budget. Section 6.2 demonstrates reversals in the priority assigned to directions within the oracle objective's solution, showing that which information to keep depends on how much may be kept. Thus, these experiments are complementary demonstrations of rate-dependent objective rankings and rate-dependent allocation priorities.
Both experiments are limited in their own ways. Section 6.1 fixes a backbone, so strictly it tests compression-objective selection rather than learning a complete feature extractor per budget. Section 6.2 uses a synthetic dataset with a deliberately constructed noisy task pair, so it demonstrates that the mechanism is realizable under neural learning, not that it is necessarily common in natural task suites.

Figure 4: Factor recoverability reversal under direct multitask training on dSprites, M = 4. Top: common/moderate-precision and rare/high-precision factors' recoverability against achieved variational rate. Points show individual seeds, vertical bars indicate recoverability spread, and horizontal bars show rate spread at fixed . Bottom: difference in recoverability indices. The dashed vertical line marks the Gaussian prediction bits, while the observed crossover is bits.
7 CONCLUDING REMARKS
Our results motivate evaluating representation objectives across the intended deployment bitrate range. The most direct applications concern representations compressed for transmission or storage, where the information budget is an explicit design choice. An objective that uses scarce capacity effectively may become limited by the information it omits at higher rates.
Our analysis also identifies when adapting the objective to the budget may matter most. Task frequency and precision jointly determine allocation priorities: rare tasks requiring precise predictions can receive greater priority as rate grows. In the Gaussian model, bounded task SNR limits the cost of using a rate-independent, task-aware objective, and the average task information matrix provides a principled choice. This guarantee requires knowledge of the evaluation suite; it does not establish that a generic reconstruction objective suffices. The experiments illustrate these allocation effects, while leaving their prevalence in broader task suites unresolved.
An open question is whether training limitations and architectural restrictions induce analogous allocation tradeoffs, which requires distinguishing information loss from information inaccessible to restricted decoders. Extending the analysis to weight quantization would additionally require connecting weight precision to the information retained by representations.
References
Alexander A. Alemi, Ian Fischer, Joshua V. Dillon, and Kevin Murphy. Deep variational information bottleneck. In International Conference on Learning Representations, 2017.
Sanjeev Arora, Hrishikesh Khandeparkar, Mikhail Khodak, Orestis Plevrakis, and Nikunj Saunshi. A theoretical analysis of contrastive unsupervised representation learning. In International Conference on Machine Learning, 2019.
Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023.
Toby Berger. Rate Distortion Theory: A Mathematical Basis for Data Compression. Prentice-Hall, Englewood Cliffs, NJ, 1971.
Vivien Cabannes, Bobak Kiani, Randall Balestriero, Yann Lecun, and Alberto Bietti. The SSL interplay: Augmentations, inductive bias, and generalization. In Proceedings of the 40th International Conference on Machine Learning, volume 202, pages 3252–3298. PMLR, 23–29 Jul 2023.
Gal Chechik, Amir Globerson, Naftali Tishby, and Yair Weiss. Information bottleneck for gaussian variables. Journal of Machine Learning Research, 6(6):165–188, 2005.
Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1597–1607. PMLR, 2020.
Thomas A. Courtade and Tsachy Weissman. Multiterminal source coding under logarithmic loss. IEEE Transactions on Information Theory, 60(1):740–761, 2014.
Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. Wiley, 2 edition, 2006. doi:10.1002/047174882X.
Carl Doersch, Abhinav Gupta, and Alexei A. Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the 2015 IEEE International Conference on Computer Vision (ICCV), page 1422–1430, 2015.
Yann Dubois, Douwe Kiela, David J. Schwab, and Ramakrishna Vedantam. Learning optimal representations with the decodable information bottleneck. In Advances in Neural Information Processing Systems, volume 33, 2020.
Yann Dubois, Benjamin Bloem-Reddy, Karen Ullrich, and Chris J. Maddison. Lossy compression for lossless prediction. In Advances in Neural Information Processing Systems, volume 34, 2021.
Nir Friedman, Ori Mosenzon, Noam Slonim, and Naftali Tishby. Multivariate information bottleneck. In Proceedings of the Seventeenth Conference on Uncertainty in Artificial Intelligence, pages 152–161, 2001.
Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In 6th International Conference on Learning Representations, ICLR, 2018.
Jeff Z. HaoChen, Colin Wei, Adrien Gaidon, and Tengyu Ma. Provable guarantees for self-supervised deep learning with spectral contrastive loss. In Advances in Neural Information Processing Systems, volume 34, 2021.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016.
Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, and Ross Girshick. Masked autoencoders are scalable vision learners. In 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pages 15979–15988. IEEE, 2022.
Alexander Kolesnikov, Xiaohua Zhai, and Lucas Beyer. Revisiting self-supervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019.
Solomon Kullback and Richard A Leibler. On information and sufficiency. The Annals of Mathematical Statistics, 22(1):79–86, 1951.
Jason D Lee, Qi Lei, Nikunj Saunshi, and Jiacheng Zhuo. Predicting what you already know helps: Provable self-supervised learning. In Advances in Neural Information Processing Systems, volume 34, pages 309–323, 2021.
Jingbo Liu, Thomas A. Courtade, Paul Cuff, and Sergio Verdu. Information-theoretic perspectives on brascamp-lieb inequality and its reverse, 2017.
Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015.
Loic Matthey, Irina Higgins, Demis Hassabis, and Alexander Lerchner. dsprites: Disentanglement testing sprites dataset. https://github.com/deepmind/dsprites-dataset/, 2017.
Andreas Maurer, Massimiliano Pontil, and Bernardino Romera-Paredes. The benefit of multitask representation learning. Journal of Machine Learning Research, 17(81):1–32, 2016.
Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning. PMLR, 2021.
Andrew Michael Saxe, Yamini Bansal, Joel Dapello, Madhu Advani, Artemy Kolchinsky, Brendan Daniel Tracey, and David Daniel Cox. On the information bottleneck theory of deep learning. In International Conference on Learning Representations, 2018.
Yonglong Tian, Chen Sun, Ben Poole, Dilip Krishnan, Cordelia Schmid, and Phillip Isola. What makes for good views for contrastive learning? In Advances in Neural Information Processing Systems, volume 33, 2020.
Naftali Tishby, Fernando Pereira, and William Bialek. The information bottleneck method. In Proceedings of the 37th Allerton Conference on Communication, Control and Computing, pages 368–377, 1999.
Christopher Tosh, Akshay Krishnamurthy, and Daniel Hsu. Contrastive estimation reveals topic posterior information to linear models. Journal of Machine Learning Research, 22(281):1–31, 2021.
Abdellatif Zaidi, Iñaki Estella-Aguerri, and Shlomo Shamai (Shitz). On the information bottleneck problems: Models, connections, applications and information theoretic views. Entropy, 22(2), 2020.
Appendix
A PROOF OF THE GAUSSIAN REDUCTION
Throughout this appendix, all logarithms appearing in information quantities are base two unless otherwise indicated. We define
A.1 Gaussian extremality in Lagrangian form
We use the following established Gaussian extremality result. It is the only external extremality ingredient in the proof.
Lemma 1 (Gaussian extremality). Let and let
For every ,
(38)
The right-hand side is attained by a jointly Gaussian representation whose residual covariance is .
Proof. This is the specialization of the Gaussian extremality theorem (Liu et al., 2017, Theorem 15) to the weighted collection of linear Gaussian channels . Constants independent of the encoder cancel after writing
The extremality theorem states that the resulting weighted conditional entropy functional is minimized by a Gaussian test channel. Such a channel is parameterized by its residual covariance , giving (38).
A.2 The Gaussian covariance parameterization
We first record the rate and distortion induced by an arbitrary Gaussian residual covariance.
Lemma 2 (Gaussian realization). For every , let and define
Then
Proof. Since , the matrix is positive semidefinite, so is well defined. The standard Gaussian conditioning formula gives
Because , . Next, the mutual information of the linear Gaussian channel is
Conditioned on , the covariance of is
Moreover, conditioned on has covariance . Therefore
Sylvester's determinant identity gives
which proves (42).

A.3 Geodesic geometry
For and , let
denote their affine-invariant geodesic.
Lemma 3 (Geodesic convexity). The feasible set
is geodesically convex. The function is geodesically affine:
Moreover, for every , the function
is geodesically convex.
Proof. The determinant of the matrix geometric mean satisfies
which proves (49). Monotonicity of the matrix geometric mean gives
whenever . Thus is geodesically convex.
To verify convexity of , it suffices to compute its second derivative along a geodesic. At any point on such a geodesic, a congruence transformation reduces the local calculation to
After transforming accordingly, write
Using Sylvester's identity,
At , differentiation gives
Diagonalize , where . Then
(52)
The same calculation applies at every point of the geodesic, proving geodesic convexity.
Lemma 4 (Strict geodesic convexity). If , then
is strictly geodesically convex on .
Proof. Consider a nonconstant geodesic and perform the same local normalization as in Lemma 3. Let be its local tangent and let
The equality characterization in (52) shows that the second derivative of the th summand vanishes only if . If the second derivative of every positive-weight summand vanished, then
But
so this would imply , contrary to the geodesic being nonconstant. Thus every nonconstant geodesic has strictly positive second derivative in at least one positive-weight task term. Therefore is strictly geodesically convex.
A.4 Existence, uniqueness, and rate exhaustion
Lemma 5 (Existence and uniqueness). For every finite , the matrix program
has a unique minimizer . If , then . For , one has .
Proof. If , then and every eigenvalue of is at most one. Consequently,
Thus is contained in the compact set
It is closed within that set, and is continuous, so a minimizer exists.
If and were distinct minimizers, then their geodesic midpoint would be feasible by Lemma 3. Strict geodesic convexity would give
contradicting optimality. The minimizer is therefore unique.
To prove rate exhaustion, define
The Euclidean gradient is
For every nonzero ,
This vanishes only if for every positive-weight task, equivalently if for every such task. The assumption rules this out, so . Hence is strictly increasing in the Loewner order.
Suppose and . For sufficiently close to one,
Thus remains feasible, while and therefore
which is a contradiction. Hence .
Finally, if , feasibility requires
All eigenvalues must therefore equal one, so .
A.5 Constrained reduction
We now pass from Gaussian Lagrangian extremality to the rate-constrained problem.
Lemma 6 (Supporting multiplier). For every , there exists such that the constrained optimizer also minimizes
over all .
Proof. For , the matrix program satisfies a strict feasibility condition. Indeed, choose sufficiently close to one that
Then and .
The first-order optimality conditions therefore provide a scalar and a matrix such that
Because , equation (57) cannot hold with . Hence .
The function
is geodesically convex because is geodesically convex and is geodesically affine. Equations (57)–(58) give its first-order optimality certificate over the geodesically convex set . Therefore is a global minimizer of (56).
Proof of Proposition 1. First suppose , and let be the unique optimizer of the matrix program. By Lemma 6, there is a for which
Let be any encoder satisfying . Gaussian extremality and (59) give
Therefore
Thus no arbitrary, possibly non-Gaussian, encoder of rate at most R can improve on the matrix-program value. Conversely, Lemma 2 constructs a Gaussian encoder with residual covariance and
Its distortion equals , so equality is attained in (61). This proves
If , then implies that is independent of . Under the Markov condition , it is consequently independent of every pair, and
This agrees with the covariance formula at , which is the unique element of .
Existence, uniqueness, and rate exhaustion follow from Lemma 5, while the encoder realization and its posterior covariance follow from Lemma 2.
A.6 Numerical optimality conditions
For completeness, the unique covariance can be characterized by explicit first-order conditions.
Proposition 3 (Optimality conditions). Fix , and define by (53). matrix is equal to the unique optimizer if and only if
for some .
Equivalently, defining
the conditions are
Proof. Necessity follows from the multiplier argument in Lemma 6. Since both and are positive semidefinite,
is equivalent to the matrix complementarity relation between their supports.
For the equivalent form, multiply
on both sides by to obtain
Moreover,
Both matrices in the final trace are positive semidefinite, so the trace vanishes if and only if their product vanishes. This yields (67).
Conversely, suppose the stated conditions hold. They give a first-order optimality certificate for
over . This objective is geodesically convex, so the certificate is globally sufficient. Any feasible with then satisfies
and hence
Thus solves the constrained program. Uniqueness implies .
The conditions have the usual water-filling interpretation. On every encoded direction, meaning a direction in the range of , the normalized marginal matrix
equals the common multiplier . On unencoded directions it is bounded above by .
B TASK KNOWLEDGE: CROSSOVER PROOFS
B.1 Optimal Specialist and Generalist Covariances
We first justify (15). Work in an orthonormal basis whose first coordinates span . Partition any feasible covariance as
The specialist objective depends only on . Replacing by preserves this objective, is feasible, and weakly reduces the required rate: the Schur complement satisfies
We may therefore optimize on and leave unencoded. On , the specialist family has positive-definite average information matrix . Its unique optimum, by the Gaussian reduction, is invariant under all coordinate sign changes and permutations, since both the objective and constraints have these symmetries. It must consequently be a scalar multiple of . The objective strictly decreases when this scalar decreases, so all available rate is used and . Equivalently, its diagonal allocation problem is
whose strictly convex, decreasing summands yield .
For the generalist, . Orthogonal invariance and uniqueness force its optimizer to be scalar, and rate saturation gives . For squared-error reconstruction, the Gaussian distortion is tr K. The arithmetic–geometric mean inequality gives, for every ,
with equality at the same isotropic covariance. This reconstruction statement concerns mean-square error; a noiseless continuous target in the IB relevance objective gives and does not distinguish rate-saturating geometries.
B.2 Proof of Proposition 2
The differential of the evaluation distortion at K = I is
The covariances in (15) satisfy
Since is smooth near I, substitution yields
The strict positivity of proves the low-rate inequality.
The log-determinant expression for extends continuously to positive semidefinite . As , and , giving respectively and zero. This proves the high-rate inequality. Continuity and the opposite strict signs at finite small and large rates imply at least one positive finite crossing; uniqueness of that crossing is not asserted.
To characterize the missing-information condition, each term in
is nonnegative and is positive exactly when its positive semidefinite matrix is nonzero. For positive task weights this is equivalent to , or .
An explicit sufficient high-rate threshold follows from monotonicity: implies . Using for ,
Thus the generalist strictly outperforms the specialist whenever
C FIXED-PRETEXT REGRET BOUND FOR THE TWO-MODE EXAMPLE
This argument uses the rank-one, coordinate-specific tasks in (19); it is not a pinching argument for general full-rank diagonal task matrices. For any two-dimensional fixed pretext, write with . Then
cannot change sign across rates. Thus it has the wrong, or tied, coordinate ordering at at least one of .
For these rank-one tasks, downstream distortion depends only on the two diagonal entries. Deleting the off-diagonal entry preserves that distortion and increases the determinant, weakly reducing the required rate. The resulting diagonal covariance is feasible and has the same wrong ordering. If it uses less than R bits, scaling both entries down to use R bits preserves their ordering and reduces distortion. It is therefore enough to minimize on the wrong side of . Strict convexity places this constrained minimum at . This proves (21), including oblique pretexts.
For completeness, put . At ,
At , let w be the positive root of
The optimum has
and
These expressions give Figure 2. As ,
Thus the worst-rate relative regret of every fixed Gaussian pretext can be arbitrarily large, despite commuting tasks and perfectly nested supports. This family uses increasing signal strengths and unequal task weights; it is an existence result, not a claim about typical data.
D PROOFS FOR RATE-MATCHED GAUSSIAN PRETEXTS
Throughout this appendix, let
and let be defined by (11). We assume that , that with , and that
D.1 Preliminary identities
For each task, define
The differential of the downstream objective is
and hence
Similarly, for a pretext with corruption covariance ,
Letting , the Woodbury identity gives
In particular,
Moreover, . It follows that
whenever .
D.2 Proof of Theorem 1
Proof. Fix and a downstream-optimal covariance . Define
Because , the common null space of the positive-weight task matrices is trivial. Therefore . By (77) and ,
Inversion reverses the strict Loewner order, so , and consequently,
It remains to prove that is globally optimal for the matched pretext. By construction,
Using (72) and (74),
For completeness, consider any and the affine-invariant geodesic
The set is geodesically convex. Indeed,
so is affine in , and monotonicity of the matrix geometric mean gives whenever . Because minimizes on ,
Equation (79) implies
The map
is geodesically convex for every . Therefore is convex, and
Since this holds for every , the covariance is a global optimum of the matched-pretext problem. Evaluating the downstream objective at this same covariance gives
Nonuniqueness. For any , let
Then
which is proportional to the gradient of the active rate constraint. The same geodesic first-order argument shows that is also an optimum for this pretext. Thus Theorem 1 identifies a task-dependent matched pretext, not the unique pretext inducing .
D.3 Endpoint behavior of the downstream optimum
We first note that the rate constraint is exhausted: . Indeed, if , then is feasible for sufficiently small . Since , , contradicting optimality. Consequently,
D.3.1 Low-rate limit
Let
Equation (82) implies , and hence , as . Expanding the rate gives
In particular,
At ,
A first-order Taylor expansion therefore gives
Let be the largest eigenvalue of , with unit eigenvector . The rank-one covariance
is feasible and satisfies . Comparing with in (86) shows that
The matrices
are positive semidefinite with unit trace. Every accumulation point therefore satisfies
If is simple, equality in the maximal-eigenvalue bound forces . Thus
Combining this with (84) yields
D.3.2 High-rate limit
For , Taylor expansion of the logarithmic determinant gives
Let
The candidate satisfies
It is therefore feasible for all sufficiently large R. Moreover,
Optimality implies .
There exists a constant , independent of , such that
For example, this follows from on , with . Hence
Since , this implies .
Define
The sequence is bounded and
Dividing (88) by and comparing with shows that every accumulation point of minimizes subject to
By the AM-GM inequality,
Equality holds uniquely when , or equivalently when . Every accumulation point is therefore , proving
D.4 Proof of Corollary 1
Proof. Recall that
is continuous on .
As , the rate constraint gives . Hence
Since , inversion is continuous at . Therefore
As , equation (29) gives . Consequently,
Thus
completing the proof.
E PROOF OF THE BOUNDED-SNR APPROXIMATION
All logarithms in this section of the appendix are natural unless explicitly marked otherwise. Define
We first prove a comparison for linear covariance objectives. The argument does not assume simultaneous diagonalization.
Lemma 7 (Trace comparison under bounded matrix mismatch). Let satisfy for some . Fix a finite and let
Then, for every ,
Proof. If , then and the claim follows from optimality. Suppose . Given any feasible , write
This path remains feasible. Indeed,
so the rate constraint is preserved. Applying to the eigenvalues of gives
Optimality at s = 0 therefore implies
Let , so . In an orthonormal eigenbasis of , write its eigenvalues as and the diagonal entries of as . Then
Define probability vectors and . By Jensen's inequality and (96),
(97)
Here uses natural logarithms. Set and . Then
Convexity gives the chord bound
Writing , we obtain
The middle expression is maximized over t > 0 at t = a. Combining (97) and (98) proves the lemma.
☐
Proof of Theorem 2. Set and fix . Abbreviate the downstream optimum as and the fixed- pretext optimum as . The case is immediate because , so assume .
We first identify as a minimizer of the linear objective . If , the single-task Gaussian allocation rule (2) gives
where is selected to exhaust the rate budget. This matrix also solves the convex program minimizing over . To verify this directly, its KKT stationarity condition is
with and active constraint . These conditions are sufficient by convexity.
Next let , namely
Since and , each residual-SNR matrix B_t = H_t^{1/2} K_*} H_t^{1/2} satisfies . It follows that
In particular, . Lemma 7 now gives
The function is concave in the ordinary matrix coordinates, hence
(102)
If denote the eigenvalues of , then
Substitution in (102) and division by prove (32). The same matrix works at every rate, proving (33).
For the expansion, let and . Since and , equation (34) follows.
Task-relevant subspace. If is singular, apply the result after restricting the input to range(), as in Section 2.3. Equivalently, allow a positive-semidefinite pretext that ignores the common task-nullspace. Requiring a strictly positive-definite pretext on additional task-irrelevant dimensions is a different restriction and need not admit this uniform all-rate guarantee.
F EXPERIMENT DETAILS
This appendix describes the data partitions, training procedures, estimators, and numerical optimization used in the experiments. Section F.1 gives the details for the CelebA experiment, Section F.2 gives the details for the dSprites experiment, and Section F.3 describes the algorithm used for the Gaussian covariance optimization (9). The main crossover and recovery figures remain in the main text.
Scope and model selection. We describe the frozen-backbone CelebA experiment and the main dSprites experiment used in the paper figures. Within each experiment, pretexts share the representation architecture, optimization settings, data-partition protocol, and rate or regularization grid. Test losses are used for reporting, not for the checkpoint or hyperparameter selection procedures described below. Architectural dimensions, learning rates, epoch budgets, and numerical regularization constants are fixed configuration settings. The recorded experiments do not contain a broader search establishing their optimality. We distinguish these fixed settings from the explicitly implemented validation-based choices.
Computational resources. The experiments were conducted on computing infrastructure equipped with four NVIDIA H100 GPUs.
Consent and sensitive content. CelebA contains identifiable celebrity face images and appearance-related attribute annotations. Its official dataset page states that the images were obtained from the Internet, but the page does not document whether the depicted individuals consented to their inclusion or subsequent research use. Our study reuses the existing dataset and does not collect new data from participants. The supplement redistributes no CelebA images, annotations, or per-image feature caches. dSprites consists of procedurally generated shapes and contains no human-subject imagery.
F.1 CelebA experiment
Data and frozen features. We sample without replacement 10,000 training images, 2,000 validation images, and 2,000 test images from the official CelebA partitions of sizes 162,770, 19,867, and 19,962, respectively. Subsampling uses NumPy generators with seeds 42, 43, and 44 for the three partitions. The validation subset is randomly divided, using seed , into 1,000 images for encoder checkpoint selection and 1,000 images for selection among pretexts. The training and test subsets remain unchanged across the five representation seeds . These seeds therefore do not constitute five independent data splits.
An ImageNet-1K V1 pretrained ResNet-18, with its final classifier removed, provides 512-dimensional features. The backbone is frozen and evaluated in inference mode. Anchor images use deterministic bilinear resizing to a shorter edge of 256, a center crop, and channel normalization with means (0.485, 0.456, 0.406) and standard deviations (0.229, 0.224, 0.225). PCA and whitening are fitted exclusively to training anchor features and retain at most 32 eigen-directions with eigenvalues exceeding . The fitted transform is applied unchanged to validation and test images. Target-view features use separately fitted training-only PCA/whitening transforms, also of dimension at most 32. Feature extraction uses batches of 64 and two data-loader workers.
Tasks and pretexts. The four equally weighted evaluation attributes are Smiling, Eyeglasses, Blond_Hair, and Young. The specialist shown in the figures predicts five disjoint source attributes: Mouth_Slightly_Open, High_Cheekbones, Wavy_Hair, Straight_Hair, and Receding_Hairline. The generalist reconstructs the anchor feature vector, rather than image pixels. The complete eight-pretext bank additionally contains lower-region prediction, grayscale-view prediction, separate expression and hair attribute objectives, an equally weighted semantic/reconstruction objective, and equally weighted upper/lower-region prediction. The task-aware baseline uses the four evaluation attributes on the training partition. It is distinct from the source-label pretexts.
The average-task baseline uses a single-target Gaussian pretext with information matrix , formed from the fitted evaluation-task matrices, as in Theorem 1. Unlike the task-aware baseline, which optimizes the weighted mixture of individual task losses, this baseline optimizes the single Gaussian prediction objective defined by their average information matrix.
Two reproducible target views per configured image policy are cached. Target augmentations use a random resized crop to with crop area fraction in [0.9, 1] and horizontal-flip probability 0.5. Grayscale and region-prediction views use brightness, contrast, and saturation jitter of 0.1 and hue jitter of 0.025. Upper and lower crops retain horizontal fractions [0.08, 0.92] and vertical fractions [0.05, 0.62] and [0.40, 0.97], respectively, with a vertical shift sampled from [-0.025, 0.025]. Views use ImageNet channel normalization. The cached views are reused during bottleneck training, rather than generated afresh each epoch.
Gaussian surrogates and channels. For each scalar attribute, we fit a ridge regression with an intercept and ridge coefficient on whitened training features. Five-fold shuffled cross-fitting, with seed 42, estimates the residual mean squared error. The final mean predictor is refitted on all training examples. With fitted slope and residual variance , the task matrix is . The cross-fitting folds share the unlabeled PCA/whitening transform fitted on the complete training partition. Preprocessing is not refitted separately within each regression fold. Feature-prediction surrogates are obtained from training cross-covariances and canonical correlations, clipped at 0.99 before conversion to Gaussian signal-to-noise ratios. Source-attribute surrogates use the same ridge/cross-fitting procedure.
The nominal Gaussian rate grid is bits. Given residual covariance , the channel is , with independent standard Gaussian noise and . Pure-noise output directions are removed. Zero rate is represented by a constant feature. Two independent channel-noise draws per image are used for probe fitting and scoring. Random-number seeds are shared across candidates and budgets. The nominal rate is mutual information for the fitted whitened Gaussian model, not an empirical measurement of mutual information for the non-Gaussian image features.
Finite-code training. Code budgets are bits per image. For , the encoder is a multilayer perceptron (with the actual retained PCA dimension replacing 32 if necessary), using GELU after its hidden layer. Forward passes produce hard bits by thresholding logits at zero. During training, a straight-through estimator uses the sigmoid derivative while retaining hard bits in the forward pass. Evaluation uses deterministic hard bits. Each prediction head has architecture with GELU, where is the target dimension. Attribute heads minimize mean binary cross-entropy. Feature heads minimize Gaussian negative log likelihood per target coordinate, with a learned full residual covariance parameterized by a Cholesky factor whose diagonal is softplus( ) + . Composite objectives use separate heads and a shared encoder. At zero bits, no encoder is trained.
Each nonzero-budget encoder is trained independently for 30 epochs using AdamW, learning rate , weight decay , batch size 256, and gradient-norm clipping at 10. Training shuffles images every epoch and samples one cached target draw per image and update. The checkpoint minimizing the corresponding hard-code validation objective, averaged over all cached validation target draws, is retained. This is best-checkpoint selection over a fixed 30-epoch run, not early termination. The trained task-aware code baseline uses the same procedure and is not claimed to be globally optimal.
Downstream probes and selection. Each attribute is evaluated with an independent logistic regression fitted on representations of the 10,000 training images. An internal randomized 80/20 training partition selects by binary log loss. denotes an intercept-only predictor. The selected model is refitted on all training representations. Nonconstant logistic models use L-BFGS, tolerance , and at most 300 iterations. For stochastic channels, regularization selection uses one draw per training image, followed by refitting on both draws, avoiding a split of replicas of the same image between fitting and selection. These CelebA probes reuse representation-training images. Unlike the dSprites experiment, they do not have an independent probe-training image partition.
The rate-dependent pretext rule minimizes mean downstream loss on the separate 1,000-image selection subset, averaged across representation seeds. The fixed-pretext rule minimizes that selection loss averaged across budgets and seeds. The Gaussian-predicted rule instead minimizes the fitted Gaussian surrogate distortion. None of these rules uses test losses. The figures' explicit specialist/generalist comparison is a specified pair, not a per-budget test-selected comparison. Reported measured excess NLL subtracts the fitted uncompressed probe's loss, rather than a known Bayes loss.
The decoder-capacity diagnostic replaces logistic probes with one-hidden-layer 64-unit ReLU classifiers. It uses Adam, learning rate , L2 parameter , batches of at most 256, at most 100 epochs, and patience 10 on checkpoint-validation NLL. Validation improvements smaller than are not counted. Hyperparameters are shared across pretexts.
Uncertainty estimates. We use 2,000 paired bootstrap resamples and report pointwise 2.5th and 97.5th percentiles. Gaussian-channel intervals resample test images conditional on the fitted representations and probes, after averaging repeated channel draws within each image. Learned-code intervals independently resample test images and training seeds as crossed factors. Each resample uses the same image indices, and where applicable seed indices, across candidates, budgets, and tasks. Difference intervals are computed from within-resample differences. The decoder-capacity diagnostic uses image resampling only for both compressors. These intervals are not simultaneous confidence bands and do not include uncertainty from drawing new training datasets or repeating model selection.
A separate bootstrap for the Gaussian proxy tasks requests 200 training-image resamples and refits PCA/whitening and task/pretext moments in each resample, grouping bootstrap copies of an original image in the same cross-fitting fold. This is conditional on the frozen backbone and cached view bank. This separate procedure concerns fitted Gaussian surrogate quantities and does not generate the measured-NLL bands in Figure 3.
Crossover and ranking estimators. For a generalist-minus-specialist difference curve on the observed rate grid, the crossover is the first positive-to-negative zero crossing of its piecewise-linear interpolant. For bootstrap curves, the median and 2.5/97.5 percentiles are computed only over resamples with a crossing. The crossing fraction and the number of resamples with multiple crossings are reported separately. No extrapolation beyond the measured grid is used. Pretexts are ranked by distortion at each nonzero rate. Endpoint instability is summarized by tie-corrected Kendall and the number of discordant pairs between the lowest and highest nonzero rates. Zero rate is excluded because all pretexts tie there.
Diagnostics. Figures 5 and 6 assess code occupancy and the fitted feature coordinates. The plots use retained run data. No neural networks were retrained to assemble this appendix.
The pair compared in the main text consists of the five-source-attribute specialist joint_attributes and the anchor-feature reconstruction generalist. Figure 7 reports loss curves for every configured pretext in both compression mechanisms, complementing the rank views of Figure 8.
Figures 9 and 10 resolve the aggregate comparison into individual evaluation attributes, showing that the crossover need not occur uniformly across tasks. Figure 11 assesses the association between Gaussian surrogate distortion and measured excess NLL. Figure 12 evaluates sensitivity to replacing linear probes with MLP probes in both compression mechanisms. Table 1 reports the fitted theoretical quantities alongside the observed crossovers.
F.2 dSprites experiment
Data partitions. The primary dSprites experiment uses binary images from the official archive, with no resizing or image augmentation. Exact duplicate pixel arrays are grouped before splitting. Groups are shuffled using seed for experimental seed and assigned intact to five disjoint folds. Requested sizes are 32,768 representation-training images, 4,096 representation-validation images, 16,384 probe-training images, 4,096 probe-validation images, and 8,192 test images. Splits are identical across pretexts and values within a seed, but different seeds may reuse images.
The targets are horizontal and vertical position indices, each standardized using the known uniform 32-level mean 15.5 and standard deviation . Normalization is not estimated from held-out labels. Other rendering factors remain nuisance variation. For , task weights are and independent Gaussian task-noise variances are . Task noise is integrated analytically in the loss, rather than repeatedly sampled as noisy target labels.
Architecture and optimization. The image encoder uses three convolutional layers with channels , kernel sizes , stride 2, and padding , each followed by SiLU. The resulting tensor is flattened and mapped to 128 SiLU units. A linear layer produces the mean and log variance of an 8-dimensional diagonal Gaussian representation. Log variance is clamped to . Representations are
| Quantity | Value | Units / interpretation |
|---|---|---|
| 0.414760 | fitted task SNR | |
| 0.737435 | fitted task SNR | |
| 0.884189 | fitted task SNR | |
| 0.375638 | fitted task SNR | |
| 32 | PCA dimension | |
| 5 | specialist rank | |
| 0.0181922 | uniform-subspace reference | |
| 0.215195 | bits; proxy asymptote | |
| Sufficient threshold | 16.2447 | bits; isotropic reference |
| Gaussian crossover | 16.8182 | nominal bits; 95% CI [14.6479, 19.4241] |
| Code crossover | 21.2035 | bits/image; 95% CI [16.3215, 25.0128] |
Table 1: Fitted theory-to-data quantities. Values concern the five-source-attribute specialist and reconstruction generalist. The first four rows are per-task largest eigenvalues. and are fitted proxy quantities. The 16.2447-bit threshold is a sufficient isotropic-reference bound, not an equality prediction for the empirical crossover. The fitted specialist is anisotropic on its span. The saved strict isotropy diagnostic also rejects exact full-space isotropy for the reconstruction components. Consequently, the reference threshold is not asserted as a certificate for these fitted components. Crossover intervals condition on a first positive-to-negative crossing. All 2,000 resamples cross in each mechanism, with no multiple crossings.
sampled by reparameterization. The task decoder is an MLP with SiLU hidden activations. It predicts two means and two positive residual variances, the latter parameterized by softplus plus . The reconstruction decoder is an MLP with a SiLU hidden layer.
All four pretexts (two specialists, weighted task mixture, and image reconstruction) minimize
The task loss for the clean standardized factor value , predicted mean , and total predicted variance is
Specialists minimize their respective task loss. The mixture minimizes . Reconstruction minimizes mean Bernoulli cross-entropy per pixel, converted to bits. Thus reconstruction loss is normalized by the number of pixels. It is not a summed image log loss.
Each representation is trained from scratch for 100 epochs with Adam, learning rate , batch size 256, no weight decay, and gradient-norm clipping at 10. The best checkpoint minimizes its own validation objective. Common Monte Carlo validation draws are reused across epochs by resetting the validation RNG while restoring the training RNG state afterwards. The regularization grid is
Four pretexts, fourteen regularization values, and three seeds give 168 independent training jobs. The broad grid samples achieved rates on both sides of the potential reversal. Curves are plotted against measured KL, not .
Probes and measurement. After representation checkpoint selection, the encoder is frozen and a fresh MLP with the same architecture as the task decoder is trained on the separate probe-training fold. Probe training uses equal task weights, Adam at , batch size 256, gradient clipping at 10, and 80 epochs. Equal weighting prevents the probe objective itself from downweighting the rarer task. The checkpoint with minimum probe-validation NLL is retained. Probe validation uses eight fixed channel draws per image. Probe training uses fresh channel samples. The probe and test RNG seeds are and , respectively.
Test metrics average eight stochastic-channel losses per image, not predictions before evaluating a loss. We report the analytic test-average KL in bits, prevalence-weighted excess NLL, per-factor MSE and , and
| Gap | ||||
|---|---|---|---|---|
| 1.75 | 1.85 | 0.00 | 1.84 | 1.85 |
| 2.16 | 2.27 | 0.00 | 2.27 | 2.27 |
| 5.10 | 2.71 | 2.62 | 5.34 | |
| 6.19 | 2.96 | 3.47 | 6.43 | |
| 7.15 | 3.29 | 4.03 | 7.32 | |
| 8.38 | 3.74 | 4.62 | 8.36 |
Table 2: dSprites factor recovery. The stated results are for , averaged over seeds 0,1, and 2.
| Run | Seed | Crossover | Lower grid rate | Upper grid rate |
|---|---|---|---|---|
| Primary | 0 | 5.2337 | 5.0378 | 6.1546 |
| Primary | 1 | 5.2432 | 5.1039 | 6.2125 |
| Primary | 2 | 5.3144 | 5.1595 | 6.2178 |
| Role swap | 0 | 5.1481 | 2.1223 | 5.1627 |
| Role swap | 1 | 5.1855 | 5.1095 | 6.1823 |
| Role swap | 2 | 5.2495 | 5.1796 | 6.1687 |
Table 3: Per-seed dSprites crossover audit. Rates are measured variational KL bounds in bits/image. The primary gap crosses positive-to-negative. The role-swap physical-factor gap crosses negative-to-positive. Every seed has one such crossing. Brackets are observed neighboring grid rates, not uncertainty intervals.
. The KL is a variational upper bound on mutual information. The recoverability index is a diagnostic transformation of MSE, not an allocated number of bits for discrete dSprites factors. Its equality to requires unit empirical target variance. Per-run standard errors cluster duplicate-image groups. Main paper figures show every seed and across-seed min-max ranges at fixed , rather than interpreting three-seed ranges as confidence intervals.
Table 2 summarizes mixture-encoder recovery at selected settings around the reversal. Figure 13 compares summed recoverability indices with the variational rate bound. These indices do not constitute an additive information decomposition. Figure 15 compares recovery under both specialists, reconstruction, and the mixture over the full regularization grid.
Diagnostics and controls. The primary run contains 168 completed jobs, and the role-swap control run contains 42 completed mixture jobs, with 14 regularization values and seeds in each comparison. The role swap retains 100 representation-training epochs, 80 probe-training epochs, learning rate , batch size 256, and an 8-dimensional code.
Role-swap control and crossover audit. The role swap exchanges the ordered factors to vertical then horizontal, retaining task-index weights (3/4, 1/4) and noise variances (1/16, 1/256). Figure 14 shows that the recovery ordering reverses when horizontal and vertical positions exchange task roles. Crossovers are obtained from the piecewise-linear interpolant on the observed rate grid, without extrapolation. The primary gap uses the first positive-to-negative crossing. The swapped plot keeps the physical-factor gap horizontal minus vertical and uses its first negative-to-positive crossing. The primary and swapped mean-curve crossings are 5.2638 and 5.1938 bits/image, respectively. All three seeds reverse in each run. Each seed has exactly one expected-direction crossing. Table 3 gives per-seed estimates and the adjacent observed-rate brackets used for interpolation. The brackets are not confidence intervals. The Gaussian surrogate reference is bits.
F.3 Gaussian covariance optimization
In this subsection, we explain the algorithm used to compute the optimal Gaussian channel in Proposition 1.
Program and relevant subspace. For positive semidefinite task matrices and nonnegative weights summing to one, the Gaussian surrogate program is
where . The determinant expression is equivalent to but permits low-rank factors. Here is the residual covariance of the whitened Gaussian source given its representation. Scalar regression targets give rank-one .
Before the iterative solve, the code computes a basis for the numerically relevant span of , keeping eigenvalues larger than . It solves in this span, of dimension , using , and returns . Irrelevant directions receive no rate. For the scalar-target task-aware and five-attribute specialist objectives, and , respectively. With a zero relevant span the code returns without iteration. The span truncation is numerical. Certificates refer to the retained, numerically represented program.
Log-covariance coordinates and projected steps. Within the relevant span, the solver parameterizes . It optimizes on
The objective is nondecreasing in , so an optimum can exhaust the rate budget when the relevant span is nonempty. This parameterization enforces and the rate constraint without a penalty parameter. It does not assert ordinary Euclidean convexity of . At positive rate, the main experiment initializes separately for each solve. Although the low-level solver accepts a warm start, the main task/pretext wrappers do not supply one. At zero rate it returns directly.
Let . The implementation evaluates
If , its gradient is obtained using the Fréchet derivative of the matrix exponential:
The code evaluates the divided difference with and uses its limiting value when .
Each candidate step is . Projection diagonalizes the symmetric argument and projects its eigenvalues onto the nonnegative simplex of mass using sorting and a threshold. The initial step size is 10. Subsequent iterations use the Barzilai–Borwein proposal when the denominator exceeds , clipped to . Backtracking halves the step until
At most 60 trials are allowed per iteration. If this limit is exhausted, the implementation still advances to its last candidate. Convergence must therefore be assessed from the final certificate, not assumed from the line search alone.
Stopping certificate. The stopping rule uses a geodesic Lagrangian residual, rather than objective change or a fixed iteration count. Write , , and . Eigen-directions with are classified as active. The rate multiplier is the nonnegative mean of the active diagonal entries of . If there are no active directions it is the nonnegative largest eigenvalue of . On the inactive subspace, the code forms the positive-semidefinite part of and lifts it to a dual matrix , zero on active directions. Define
The reported residual-based gap bound is
This is the implementation’s a posteriori certificate for the Gaussian surrogate program. It is not a statistical error bound for learned image representations. It is computed at iterations 1, 11, 21, … and again on the returned iterate. The main tolerance is bits of weighted surrogate distortion, with at most 3,000 outer iterations. Main-run wrappers reject an unconverged solve. In the task-aware run, all seven positive-rate solves report 11 iterations and gap bounds below . This is an empirical observation, not an iteration-complexity guarantee.
Single-matrix objectives. A pretext represented by one matrix bypasses projected iterations. For , the code computes with on positive eigenvalues and otherwise. Brent's method solves the scalar equation
in log-water-level coordinates, with absolute tolerance . This avoids loss of relative accuracy when the water level is small. A multivariate attribute pretext with several scalar task matrices uses the weighted multi-task solver, not this single-matrix shortcut.
Time complexity. Let be the retained dimension, the number of matrices in one objective, after numerical factorization, the number of outer iterations, and the maximum number of backtracking trials used in an iteration. Dense symmetric eigendecompositions, matrix-exponential reconstruction, gradient basis changes, and PSD/simplex projection cost each. Simplex sorting adds . With factored tasks, an objective/gradient evaluation costs
When all tasks have rank at most one, the vectorized implementation reduces this to . Certificate evaluation adds . Although backtracking requests only an objective value, the value routine also computes its gradient, so the same cost applies to those calls. Consequently, one solve has iteration cost
or for rank-one families and in the full-rank case. These are arithmetic-operation bounds conditional on N and L. The implementation establishes no worst-case bound on N as a function of the requested gap tolerance.
Preprocessing also matters. Forming the weighted matrix and its relevant-span basis costs . In the wrappers, the direct, unoptimized three-operand einsum for has contraction count . A staged multiplication could reduce this to , but that optimization is not implemented here. Factorizing the reduced matrices costs . Lifting the solution costs . These setup operations are repeated by the main wrappers at each rate rather than cached across the grid. The single-matrix shortcut costs , where is the number of scalar root-function evaluations, including dense reconstruction of .
Space complexity and repeated solves. The solver retains dense task matrices even for rank-one families. Its resident matrix storage is therefore , with factors requiring and a constant number of work arrays and iterates. Including the original matrices and lifted covariance in the wrappers gives storage for one solve. It would be incorrect to describe the present rank-one implementation as using only space. Storing solutions for rates additionally requires per candidate. The solve itself does not depend on the number of training images once the task matrices have been formed. Fitting features, moments, and neural representations has separate costs. Rate grids and bootstrap replications repeat the solve, so their work is additive over all candidate/rate/resample combinations, including the corresponding refitting costs for the moment bootstrap.


Figure 5: Finite-code rate accounting. Top: empirical joint code entropy versus nominal budget for 300 fitted candidate/budget/seed cells. The identity line denotes equality. The maximum observed entropy is 10.96578 bits, equal to the finite-test-set ceiling . Thus this estimator cannot resolve a 16- or 32-bit population entropy. Bottom: test-image codeword-occupancy histograms for the five-attribute specialist and reconstruction generalist at all six budgets, , using seed 42. Unobserved codewords are omitted. Sparse occupancy can bias plug-in entropy downward. The histograms use logarithmic occupancy and symlog count axes to display both singleton and heavily reused codewords.

Figure 6: Training covariance and whitening. Left: the 512 eigenvalues of the empirical covariance of the 10,000 training anchor features before PCA, using normalization 1/n. Eigenvalues range from 0.004730 to 16.451719. Right: covariance eigenvalues after applying the saved 32-dimensional PCA/whitening transform to the same training features. Their maximum absolute deviation from one is , confirming the numerical training-coordinate normalization.

average task
expression attributes
gray prediction
hair attributes
joint attributes
lower prediction
reconstruction
semantic reconstruction
task aware
two region prediction
Figure 7: Complete CelebA pretext-bank comparison. Both panels show the eight configured pretexts: expression attributes, hair attributes, joint attributes, grayscale prediction, lower-region prediction, reconstruction, semantic reconstruction, and two-region prediction. The task-aware mixture and the single-target Gaussian baseline with information matrix (“average task”) are also included. Curves show five-seed mean task-averaged measured excess NLL relative to the uncompressed probe, with markers at each evaluated rate. Bands are omitted here for legibility. Colors and markers identify the same objectives across panels. The task-aware curve is dotted orange in both panels, and the average-task reference is dashed. The left axis uses nominal Gaussian rate, the right code budget. The different curve shapes reveal objective-dependent changes in relative performance.

Best at this rate (including ties)
Best at this rate (including ties)
Figure 8: Pretext-bank rank instability. Left: Gaussian representations. Right: learned codes. Rows are ordered by the lowest-nonzero-rate rank. Darker cells indicate better ranks, and outlines identify column winners including ties. Zero rate and the task-aware/average-task references are excluded. Gaussian endpoints have , with 9 reversed pairs out of 28 comparable pairs and a maximum rank change of 6 places. Learned-code endpoints have , with 13 reversed pairs out of 28, and a maximum rank change of 4 places. Thus a pretext's relative performance changes with nominal rate.

Blond_Hair
Young

Nominal Gaussian rate (bits)
Nominal Gaussian rate (bits)
Figure 9: CelebA per-attribute Gaussian behavior. Nominal rates are bits. Panels show Smiling, Eyeglasses, Blond Hair, and Young. The ordinate is measured excess NLL relative to the uncompressed linear probe. Bands are 95% pointwise percentile intervals from 2,000 paired test-image resamples conditional on five fitted seeds. At rate 0.25 the specialist has lower mean NLL on all four tasks. At rate 32 the generalist is better on Eyeglasses, Blond Hair, and Young, while the specialist remains better on Smiling: the aggregate reversal is not uniform across tasks.

Figure 10: CelebA per-attribute learned-code behavior. Code budgets are bits/image. The same four evaluation tasks, specialist, generalist, and uncompressed-probe baseline are used as in Figure 9. Bands are 95% pointwise percentile intervals from 2,000 paired training-seed/test-image resamples using five fitted seeds. These panels expose task-level variation behind the aggregate code-budget crossover reported in Table 1.

Figure 11: Gaussian surrogate fidelity. Ordinary least squares of measured excess NLL on predicted Gaussian distortion, with a fitted intercept, gives across 80 objective/rate pairs. The fitted line is . The black line shows this fit. The dashed gray identity line remains a calibration reference. The score is descriptive and in-sample, not a held-out regression score. Strong linear association coexists with a non-unit slope, so it does not imply identity calibration.

Figure 12: Decoder-capacity sensitivity. Left: Gaussian channel. Right: learned binary codes. Linear and 64-hidden-unit MLP probes evaluate the same representations in each mechanism. The ordinate is generalist minus specialist excess NLL. The zero line denotes equal performance. Bands in both panels use 2,000 paired test-image resamples conditional on the five fitted seeds, rather than additional seed resampling. Gaussian crossings are 16.8182 and 19.2453 nominal bits for linear and MLP probes, respectively. The code-panel crossings are 21.2035 and 19.9533 bits/image. The two rate axes represent different budgets and are not shared.

Figure 13: dSprites recoverability accounting. The 42 mixture runs compare the sum of per-run MSE indices with the variational KL bound over the full 14-setting grid. Maximum positive index-sum excess is 0.2470 bits. The sum is a recovery diagnostic, not a quantitative decomposition of the rate bound. The identity line is retained as a visual reference. No linear relationship or information-theoretic equality is assumed for these discrete factors.

Figure 14: dSprites role-swap control. Vertical position is common/moderate and horizontal position rare/precise. Individual points and thin gap curves show three seeds. Central curves show means and error bars give seed min-max ranges at fixed . The horizontal-minus-vertical gap crosses negative-to-positive at 5.1938 bits/image. All three seeds reverse. The displayed view covers 0–10 bits/image. The dotted reference is from the Gaussian surrogate, not an exact dSprites prediction. The changed physical-factor ordering supports a task-role effect rather than an explanation based solely on one fixed spatial direction being harder to recover.

Figure 15: Recovery under the full dSprites bank. The two panels show horizontal and vertical recoverability versus measured KL for both specialists, reconstruction, and mixture. Lines connect three-seed means at each of 14 settings. No confidence bands are drawn. At each objective's highest mean achieved rate, the horizontal specialist has index pair (5.663, 0.007), the vertical specialist (0.081, 5.697), reconstruction (3.651, 3.773), and mixture (5.171, 5.626). These endpoints occur at different achieved rates and are not a matched-rate performance comparison. They illustrate that specialists primarily recover their own factor, while reconstruction and mixture retain both.