July 15, 2026
Large Language Models (LLMs) have revolutionized AI services, but a critical tension emerges: while personalization improves model performance, it consumes scarce computational resources that users must share. When should a user invest in expensive Supervised Fine-Tuning (SFT) versus lightweight In-Context Learning (ICL)? How does congestion from other users’ personalization choices reshape these incentives? And what strategies should platforms adopt when offering multiple personalization algorithms?
We develop a tractable framework for LLM serving that captures the statistical-economic trade-offs users face. Our analysis yields several surprising insights. First, we show that ICL and SFT dominate in different regimes, determined by an interplay between pretraining coverage and data signal-to-noise ratios—but congestion can flip these rankings. Second, equilibrium resource consumption exhibits pronounced non-monotonicity: improving pretraining precision reduces the congestion, while broader pretraining coverage and harder tasks sometimes increase it. Third, we prove that offering both personalization methods never hurts the platform’s maximal profits, despite potentially increasing computational load.
Experiments with GPT-2 on linear regression tasks validate our theoretical predictions about algorithm performance. Complementing these results, our review of documentation from 21 major AI platforms shows that the share offering both SFT and ICL increased from \(9.5\%\) in 2021 to \(71.4\%\) in 2025, consistent with our platform-design implications.
Keywords: LLM Personalization, Congestion Games, Algorithm Choice, Pricing.
JEL Codes: D47, D82, D83.
Every day, millions of users customize llms for specialized tasks—financial analysis, clinical decision support, and legal research [1]. Such personalization is essential because a pretrained model can underperform on domain-specific tasks. However, personalization also creates a fundamental economic tension. sft on private data can yield superior performance but requires intensive GPU computation, while icl offers a lightweight alternative—providing examples in the prompt—at the cost of limited adaptability. When thousands of users simultaneously personalize models on shared infrastructure, congestion emerges: each user’s choice of method affects not only their own costs but also others’ waiting times.
This paper asks the following questions:
In the absence of congestion (i.e., with unconstrained compute), how should users choose between sft and icl?
With shared, constrained resources, how do users trade off personalization quality against congestion costs in equilibrium?
When computational resources are scarce, how should platforms design their service menu and pricing?
Answering these questions faces three obstacles. First, existing economics work on LLMs relies on scaling laws or stylized behavioral assumptions, missing the crucial differences between personalization algorithms [2], [3]. Second, llm platforms serve millions of users; modeling strategic interactions at this scale requires moving beyond finite-player games. Third, personalization quality depends on statistical primitives—pretraining coverage, task difficulty, and data signal-to-noise ratios—that must be integrated with economic incentives.
In this paper, we develop a continuum-user model of LLM serving built on linear approximations of personalization algorithms (Section 2). This framework lets us (i) derive precise error formulas for icl and sft, (ii) aggregate individual behavior into tractable equilibrium conditions, and (iii) study how platform pricing and algorithm offerings shape system-level outcomes. The linear approximation is not merely convenient: recent empirical work suggests that LLM behavior on linear tasks is broadly representative, and we validate our theoretical predictions experimentally using GPT-2 [4], [5].
Main Results. First, we analyze linear models of personalization (Section 3). We derive error decomposition results showing that icl can only reduce error within the subspace covered by pretraining, while sft updates the entire parameter space (Theorem 1). This yields a precise threshold: sft dominates when the pretraining coverage exceeds a critical ratio that depends on the snr of the personalization data. Below this threshold, icl’s conservatism in uncovered directions actually helps (Proposition [prop:comp]). This answers Q1.
Second, we characterize users’ equilibrium given the platform’s strategy (Section 4). We prove existence and uniqueness of the congestion level via a monotonicity argument analogous to classical mean-field monotonicity conditions [6], [7] (Theorem 2). Comparative statics are often non-monotone: higher prior precision always reduces congestion, but expanding pretraining coverage can increase congestion when coverage is intermediate and compute is cheap; harder tasks can reduce congestion when noise is high enough to deter personalization; and making sft more expensive can initially increase congestion before shifting users to lighter alternatives (Propositions [prop:pretrain95influence]–[prop:r95sft]). These patterns arise from the interaction between the extensive margin (algorithm choice) and the intensive margin (sample intensity), governed by the coverage–snr mechanism in Proposition [prop:comp]. We also identify when equilibrium congestion is pinned by a single user type (Proposition [prop:only95one95type]). This answers Q2.
Third, we study the platform’s Stackelberg strategy and algorithm menu (Section 5). We show that equilibrium congestion (aggregate resource demand) decreases in the unit resource price (Theorem 5), and that the profit-maximizing price is finite under regularity conditions (Proposition [prop:s95exist]). We also prove that offering both sft and icl—rather than only icl—never reduces the platform’s maximal profit (Theorem 6), formalizing why platforms increasingly provide multiple personalization options despite added complexity. This answers Q3.
Finally, we connect the model to practice (Section 6). Training GPT-2 on linear regression tasks—a representative testbed for llms behavior [5], [8]—validates our theory: icl error plateaus at a bias driven by uncovered dimensions (with linear growth in that subspace), and the sft/icl ranking flips with sample size as predicted by our threshold. We also summarize the serving strategies of 21 major AI platforms, documenting rapid adoption of sft APIs, consistent with our prediction that offering both sft and icl does not reduce platform profit.
This work contributes to the emerging AI-economics literature by developing a behaviorally grounded model of personalization that goes beyond per-token pricing to capture how algorithm characteristics shape strategic interaction. Our congestion framework connects to classic work on peak-load pricing and infrastructure management [9], [10], where network topology, capacity constraints, and pricing jointly determine congestion outcomes. In contrast, our setting highlights a new source of congestion: effective capacity is shaped not only by fixed physical constraints, but also by the algorithmic properties of personalization methods.
Related Literature. Our work contributes to the rapidly growing literature on the economics of llms. Prior work studies llms from diverse perspectives, including auction and mechanism design for llm-generated content [11]–[15], as well as market competition and token pricing [3], [16]. While we also study the market for llms, our focus differs in emphasizing how intrinsic llm characteristics, captured through a representative behavioral model, shape market outcomes, a dimension largely absent from the existing literature. For a broader survey of the economics of AI, see [17].
Our analysis of resource congestion also relates to the literature on congestion and pricing of congestible infrastructure. A large body of work studies the interaction between peak-load demand, pricing, and service quality in transportation systems [18]–[21], where network topology, capacity constraints, spatiotemporal demand patterns, and pricing jointly determine congestion outcomes [9], [10]. In contrast, our paper studies congestion in llm serving, where congestion is driven not by physical network constraints but by the characteristics of the pretrained llm and the personalization mechanisms applied to it.
Our continuum user model is closely related to the broad literature on mfgs and their applications [22], [23]. Work on mfgs has extensively studied the existence and uniqueness of equilibrium solutions [6], [24], [25]. In particular, [26] and [6] establish equilibrium uniqueness under contraction and monotonicity conditions, respectively. Our contribution is conceptually related but distinct: we develop an analogue of the monotonicity condition for the congestion mapping, which ensures the uniqueness of the equilibrium congestion level rather than the full equilibrium strategy profile. A complementary line of work studies learning dynamics and algorithmic convergence to equilibria in mfgs [27]–[31]; see [23], [32] for a comprehensive survey.
Roadmap. Section 2 introduces the statistical models of personalization methods and formulates users’ personalization choices as a congestion game. Section 3 derives statistical error bounds for the personalization methods and compares them across different pretraining regimes, characterizing users’ choices in the absence of congestion. Section 4 studies the equilibrium behavior induced by resource congestion, establishing equilibrium existence and the uniqueness of the equilibrium congestion level. It further shows that this congestion level can vary non-monotonically with pretraining properties, highlighting the interaction between statistical accuracy and serving congestion. Section 5 analyzes the platform’s Stackelberg strategy and algorithm menu in llm serving, showing that offering both sft and icl, rather than only icl, never reduces maximal profit. Finally, Section 6 empirically validates the relevance of the statistical model in Sections 2 and 3, as well as the platform-strategy conclusions in Section 5.
We model personalized llm services from two complementary perspectives. Statistically, we introduce a stylized linear models of LLM personalization that capture the core performance–resource trade-offs of various methods of personalization. From a game-theoretic perspective, we develop a continuum user framework that captures strategic interactions between a large user population and the platform under congestion and pricing, linking algorithmic personalization choices to system-level equilibrium outcomes.
Before presenting the formal models, we briefly review pretraining, the basis of personalization, and two personalization algorithms: sft and icl. Pretraining equips an llm with broad general knowledge but limited domain specialization. icl adapts the model at inference time via prompt-based demonstrations without updating parameters, while sft tunes model parameters on domain-specific data, incurring higher computational cost but yielding more persistent personalization.
Pretraining. During pretraining, llms are trained to predict the next token given a prefix over a large corpus [33], [34], thereby acquiring broad knowledge and high-dimensional language representations [35], [36]. From a modeling perspective, pretraining can be interpreted as learning a prior distribution over linguistic patterns and world knowledge. For example, given the prefix “The migratory salmon in the Pacific Ocean is”, the likely continuation depends on the latent task of the current context. If the task is taxonomy, the model may assign high probability to continuations such as “a member of the family Salmonidae”; if the task is ecological outlook, the likely continuation may instead describe population trends, climate risks, or conservation status. Thus, by learning next-token distributions conditional on prefixes, the pretrained llm implicitly captures the uncertainty and diversity of tasks in the pretraining corpus. After pretraining, the llm generates the next token according to this learned conditional distribution, so different sampled continuations may reflect different latent tasks.
For statistical analysis, we abstract pretraining as a linear regression problem. For each training sample, we represent the prefix by a covariate vector \(x_i \in \mathbb{R}^d\), the next-token response by a scalar \(y_i\in\mathbb{R}\), and the implicit task parameter by \(\theta_i\in \mathbb{R}^d\). The pretraining dataset of size \(N\) is generated as follows. First, the task parameters \(\theta_i\) are drawn independently from the task prior \(\calN(\mu_\theta, \Sigma_\theta)\), where \(\mu_\theta\in\mathbb{R}^{d}\) and \(\Sigma_\theta\in\mathbb{R}^{d\times d}\). Second, the covariate vectors \(x_i\) may be either fixed or randomly sampled from an underlying Gaussian distribution. For clarity of exposition, we focus on the fixed-design setting, in which the covariates are treated as deterministic, for example by being selected in a round-robin manner from an orthonormal basis. When the covariates are sampled i.i.d.from a Gaussian distribution, all results hold with high probability; see Appendix 9.1. Finally, the response \(y_i\), e.g., a scalar representation of “Salmonidae”, is generated according to \[\begin{align} y_i = x_i^\top \theta_i + \epsilon_i, \text{ and } \epsilon_i \sim \calN(0, \sigma^2), \text{ for }i\in[N],\label{eq:pretrain95data} \end{align}\tag{1}\] where the noise terms \(\epsilon_i\) are i.i.d.Gaussian and \([N]={1,\ldots,N}\). The resulting pretraining dataset is \(\{(x_i,y_i)\}_{i=1}^{N}\), with \(X = [x_1,\ldots,x_N]^\top \in \mathbb{R}^{N\times d}\) and \(Y = [y_1,\ldots,y_N]^\top \in \mathbb{R}^N\). We emphasize that different data points \((x_i,y_i)\) may correspond to different latent task parameters \(\theta_i\), allowing the llm to learn shared structure across a distribution of tasks.
llms are pretrained to learn the next-token distribution conditioned on the prefix, thereby implicitly acquiring task-relevant knowledge. Specifically, given a prefix \(x\in\bbR^d\), we model the scalar next-token distribution as a Gaussian distribution \(\calN(x^{\top}\theta_{\text{pre}}, \|x\|_{\Sigma_{\text{pre}}}^2)\), where \(\theta_{\text{pre}}\in\bbR^d\) represents the learned prior mean induced by pretraining, \(\Sigma_{\text{pre}}\in\bbR^{d\times d}\) reflects the uncertainty of this learned prior, and \(\|x\|_{\Sigma} = \sqrt{x^\top \Sigma x}\) denotes the \(\Sigma\)-norm induced by any positive semidefinite matrix \(\Sigma\). Equivalently, this Gaussian prediction can be interpreted as follows: the llm first samples a task-parameter estimate \(\htheta_{\text{pre}}\sim\calN(\theta_{\text{pre}},\Sigma_{\text{pre}})\) from the learned task prior and then generates the scalar response \(\htheta_{\text{pre}}^\top x\). The parameter \(\theta_{\text{pre}}\) is estimated from the pretraining dataset \(\{(x_i,y_i)\}_{i=1}^{N}\) by minimizing the prediction error: \[\begin{align} \theta_{\text{pre}} = \arg\min_{\theta \in \mathbb{R}^d} \|Y - X\theta\|^2 = (X^\top X)^{\dagger} X^\top Y, \end{align}\] where \((\cdot)^{\dagger}\) denotes the Moore–Penrose pseudoinverse. Since \(\Sigma_{\text{pre}}\) captures the estimation uncertainty of the learned prior, it is given by the covariance of the estimator \(\theta_{\text{pre}}\): \[\begin{align} \Sigma_{\text{pre}} = (X^\top X)^{\dagger} X^\top \Omega X (X^\top X)^{\dagger}, \quad \Omega = \sigma^2 I_N + \diag\big(\|x_1\|_{\Sigma_\theta}^2,\ldots,\|x_N\|_{\Sigma_\theta}^2\big),\label{eq:pre95cov} \end{align}\tag{2}\] where \(I_{N} \in \mathbb{R}^{N \times N}\) denotes the identity matrix. The derivation of 2 is provided in Appendix 9.2. We next introduce personalization methods that adapt the learned distribution \(\calN(\theta_\text{pre},\Sigma_\text{pre})\) using personalization data.
In-Context Learning. icl is a mechanism for personalizing the behavior of llms without modifying their parameters [37], [38]. It personalizes model predictions by conditioning the learned prior on task demonstrations provided in the prompt. For example, to instruct the model to return the taxonomic family of an animal, one may supply the sequence \[\begin{align} [(\text{``salmon''}, \text{``salmonidae''}), (\text{``otter''}, \text{``mustelidae''}), (\text{``panda''}, \, ?)]. \end{align}\] The first three covariate–response pairs constitute the context that specifies the target task, while the final input “panda” serves as the query. Through these demonstrations, the llm infers the underlying task—here, mapping animals to their taxonomic families—and generates a response accordingly. Prior work shows that icl can be interpreted as approximate Bayesian inference under the learned prior: the model updates its belief about the task given the context and then predicts based on the resulting posterior [37]–[39].
To formalize the Bayesian inference underlying personalization, we first specify the data model for personalization data. We model the target task \(\theta^* \in \mathbb{R}^d\) as a random variable drawn from \(\mathcal{N}(0,\Sigma^*)\). Personalization data consist of covariate–response pairs generated by this fixed task, \[\begin{align} \tily_i = \tilx_i^\top \theta^{*} + \tilde{\epsilon}_i, \text{ and } \tilde{\epsilon}_i \sim \calN(0, \tilde{\sigma}^2),\text{ for } i \in [\tilN],\label{eq:task95data} \end{align}\tag{3}\] where \(\tilde{\epsilon}_i\) is i.i.d. Gaussian noise in the personalization data. As in the pretraining model, we assume that the covariates \(\tilx_i\) are fixed. The key difference from the pretraining data is that all personalization samples share the same task parameter \(\theta^*\), whereas in pretraining each sample is associated with its own latent task parameter \(\theta_i\). For independently generated samples \(\{(\tilx_i,\tily_i)\}_{i=1}^{\tilN}\), we collect \(\tilX = [\tilx_1,\ldots,\tilx_{\tilN}]^\top \in \mathbb{R}^{\tilN \times d}\) and \(\tilY = [\tily_1,\ldots,\tily_{\tilN}]^\top \in \mathbb{R}^{\tilN}\).
According to [37], [38], when prompted with personalization data \(\{(\tilx_i,\tily_i)\}_{i=1}^{\tilN}\), an llm performs inference under the learned prior \(\calN(\theta_{\text{pre}},\Sigma_{\text{pre}})\), assuming the data are generated by a latent task \(\theta \sim \calN(\theta_{\text{pre}},\Sigma_{\text{pre}})\). That is, the personalized distribution induced by icl, \(\calN(\theta_{\text{ICL}},\Sigma_{\text{ICL}})\) (with the dependence on \(\tilN\) suppressed for notational simplicity), is the posterior of the learned prior conditioned on the observed personalization data. Under the Gaussian linear model 1 and 3 , this posterior is given by \[\begin{align} \theta_{\text{ICL}} &= \theta_{\text{pre}} + \Sigma_{\text{pre}}\tilX^{\top} (\tilX \Sigma_{\text{pre}} \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}(\tilY-\tilX\theta_{\text{pre}}),\nonumber\\ \Sigma_{\text{ICL}} & = \Sigma_{\text{pre}} - \Sigma_{\text{pre}}\tilX^{\top} (\tilX \Sigma_{\text{pre}} \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}\tilX\Sigma_{\text{pre}}.\nonumber \end{align}\] The derivation follows from standard Bayesian updating (Appendix 9.3). Geometrically, icl updates only directions supported by the learned prior. If \(\theta^*-\theta_{\text{pre}}\in\text{col}(\Sigma_{\text{pre}})\), the target task is fully represented; otherwise, icl effectively projects \(\theta^*\) onto \(\theta_{\text{pre}}+\text{col}(\Sigma_{\text{pre}})\), updating beliefs within this subspace based on observed data. We quantify this effect in Section 3. As in pretraining, icl estimate \(\hat{\theta}_{\text{ICL}}\sim\calN(\theta_{\text{ICL}},\Sigma_{\text{ICL}})\) induces predictions for a new query \(x\) distributed as \(\calN(\theta_{\text{ICL}}^\top x,\|x\|_{\Sigma_{\text{ICL}}}^2)\).
Supervised Fine-Tuning. sft adapts a pretrained llm to a specific target task by updating model parameters using task-specific data. For example, a model’s performance on animal taxonomy can be improved by fine-tuning it on biological data. Formally, sft is implemented by optimizing a task-level loss starting from the pretrained model as the initialization. Compared with icl, this parameter optimization process makes sft consume significantly more GPU resources, since parameter updates require additional FLOPs and memory storage.
To model this process, given personalization data \(\{(\tilx_i,\tily_i)\}_{i=1}^{\tilN}\) of the target task \(\theta^*\sim\mathcal{N}(0,\Sigma^*)\) generated according to 3 , sft updates the task estimation via a regularized estimator centered at the pretrained llm as \[\begin{align} \!\!\theta_{\text{SFT}} \!=\! \arg\min_{\theta\in\mathbb{R}^{d}} \frac{1}{\tilde{\sigma}^2}\|\tilY \!-\! \tilX \theta\|^2 \!+\! \lambda \|\theta\!-\!\theta_{\text{pre}}\|_{\Sigma_{\text{pre}}^{\dagger}}^2 \!\!\!=\!\! \bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX\!+\!\lambda \Sigma_{\text{pre}}^{\dagger}\! \bigg)^{\dagger} \!\bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilY\!+\!\lambda \Sigma_{\text{pre}}^{\dagger}\theta_{\text{pre}}\!\bigg). \label{eqn:theta95sft} \end{align}\tag{4}\] The regularization term encourages the fine-tuned parameters to remain close to the pretrained model, and \(\lambda \ge 0\) controls the strength of this anchoring. The regularization term acts as a Lagrangian penalty that softly constrains \(\theta_{\text{SFT}}\) to remain close to the pretrained parameter \(\theta_{\text{pre}}\), thereby limiting how far sft can adapt the model away from the pretrained solution. Since \(\Sigma_\text{SFT}\) captures the uncertainty in \(\theta_\text{SFT}\), it is given by the covariance of \(\theta_\text{SFT}\) as \[\begin{align} \Sigma_{\text{SFT}} = \bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX+\lambda \Sigma_{\text{pre}}^{\dagger}\bigg)^{\dagger} \bigg(\lambda^2\Sigma_{\text{pre}}^\dagger +\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX\bigg) \bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX+\lambda \Sigma_{\text{pre}}^{\dagger} \bigg)^{\dagger}, \end{align}\] with the derivation provided in Appendix 9.4. Analogous to pretraining and icl, sft model \(\hat{\theta}_{\text{SFT}} \sim \mathcal{N}(\theta_{\text{SFT}}, \Sigma_{\text{SFT}})\) induces the predictive distribution \(\mathcal{N}(\theta_{\text{SFT}}^\top x, \|x\|_{\Sigma_{\text{SFT}}}^2)\) for a new query \(x\).
The parameter \(\lambda\) governs the trade-off between task-specific data and the pretrained model. When \(\lambda=0\), the estimator reduces to least squares based solely on the personalization data. As \(\lambda\) goes to infinity, the estimator ignores the task data and collapses to the pretrained parameters \(\theta_{\text{pre}}\).
Each user on the platform chooses a personalization algorithm—icl or sft—and the number of personalization samples \(\tilN\) to use. User experience, modeled as user cost, consists of two components: the quality of the llm’s response and the monetary and time costs incurred to obtain it.
The first component of user cost depends on the pretrained model, the target task, the personalization algorithm, and the number of personalization samples. We capture this dependence via a user type \(t\in\calT\), which summarizes properties of the pretrained model \((\mu_\theta,\Sigma_\theta,\sigma,X)\) and the target task \((\Sigma^*,\tilde{\sigma},\tilX)\). The type space \(\calT\) is compact with Borel \(\sigma\)-algebra \(\mathscr{T}\), and user types are distributed according to a probability measure \(T\). Each user chooses an action \(\bara=(a,\tilN)\in\bar{\calA}=\calA\times[0,\infty)\), where \(\calA={\text{ICL},\text{SFT}}\) and \(\tilN\) denotes the number of personalization samples. For a user of type \(t\) taking action \((a,\tilN)\), we define the learning error of the llm as \[\begin{align} E_a(t,\tilN) = \bbE_{\theta^{*},\,\hat{\theta}_a(\tilN)} \big[\|\theta^{*}-\hat{\theta}_a(\tilN)\|^2\big],\label{eq:err} \end{align}\tag{5}\] where \(\hat{\theta}_a(\tilN)\sim\calN(\theta_a(\tilN),\Sigma_a(\tilN))\) is the estimate produced by algorithm \(a\) using \(\tilN\) samples, and the expectation is taken over both the target task \(\theta^{*}\sim\calN(0,\Sigma^*)\) and the estimator. Although \(\hat{\theta}_a(\tilN)\) is not directly observable for llms, this error can be interpreted as the average prediction error obtained by querying the llm along an orthonormal basis \(\{e_i\}_{i=1}^d\), i.e., the average error of \(e_i^\top \hat{\theta}_a(\tilN)\). When a user of type \(t\) adopts a policy \(\pi_t \in \Delta(\bar{\mathcal{A}})\), where \(\Delta(\cdot)\) denotes the set of all distributions over a set, the resulting response quality is \(\bbE_{(a,\tilN)\sim\pi_t}[E_a(t,\tilN)]\).
The second component of user cost depends on the chosen personalization algorithm and aggregate user behavior. A user taking action \(\bar a=(a,\tilN)\) requests \(\tilN\) samples using algorithm \(a\), which requires \(R_a\) units of resource per sample. As discussed in Section 2.1, sft is more resource-intensive than icl, i.e., \(R_{\text{SFT}}>R_{\text{ICL}}\). The platform charges \(p>0\) per unit of resource, yielding a monetary cost of \(R_a\tilN p\). Users also incur a congestion-induced time cost: letting \(R\) denote total resource demand, a congestion function \(h:\mathbb{R}_{\geq 0}\to[0,\infty)\) maps \(R\) to waiting time, yielding a cost \(R_a\tilN h(R)\). We impose following regularity conditions on \(h\): it is non-negative, strictly increasing, and unbounded (\(\lim_{x\rightarrow\infty}h(x)=\infty\)). These ensure that congestion raises compute costs and that extreme demand becomes prohibitively expensive, consistent with observed service outages [40]. Accordingly, a user of type \(t\) taking action \(\bar a\) at congestion level \(R\) incurs a total cost as \[\begin{align} C(t,\bar a,R) = E_a(t,\tilN) + R_a\tilN\big(p+h(R)\big).\label{eq:cost} \end{align}\tag{6}\] For convenience, define \(\bar h(R,p)=p+h(R)\). When a type-\(t\) user adopts a policy \(\pi_t\) over \(\bar{\calA}=\calA\times\mathbb{R}_{+}\), her expected cost is \[C(t,\pi_t,R) = \sum_{a\in\calA}\int_{0}^{\infty} C\bigl(t,(a,\tilN),R\bigr)\,\pi_t(a,\rmd\tilN).\]
To evaluate aggregate resource demand, the population is modeled as a continuum of users, where type-\(t\in\calT\) users have mass \(T(\rmd t)\). A policy profile is a measurable mapping \(\pi:\calT\to\Delta(\bar{\calA})\), assigning each type \(t\) a distribution \(\pi_t\) over actions. Given a policy profile \(\pi\), the congestion level, i.e., aggregate resource demand, is the population-average requested resources: \[\begin{align} R(\pi) = \sum_{a\in\calA} R_a \int_{0}^{\infty} \tilN \int_{\calT} \pi_t(a,\rmd\tilN)\, T(\rmd t) = \sum_{a\in\calA} R_a \int_{0}^{\infty} \tilN\, \bar{\pi}(a,\rmd\tilN),\label{eq:congestion} \end{align}\tag{7}\] where \(\bar{\pi}=\int_{\calT}\pi_t T(\rmd t)\) is the induced “mean” policy. Each user therefore interacts with the population only through \(\bar{\pi}\). We refer to this interaction as a lscg. This model belongs to the class of mean-field games [6], [24].
Within lscg, users choose policies to trade off statistical error \(E_a(t,\tilN)\) against congestion costs: more resource-intensive algorithms or larger \(\tilN\) reduce error but increase aggregate congestion \(R(\pi)\) and the associated cost \(h(R)\). These trade-offs lead to a equilibrium concept.
Definition 1 (Equilibrium). A pair of a policy and a congestion level \((\pi^*,R^{*})\), where \(\pi^{*}:\calT\rightarrow \Delta(\bar{\calA})\) and \(R^{*}\in\bbR\), is the equilibrium if
(Optimality) The policy \(\pi^{*}\) is optimal given the congestion level \(R^{*}\) for almost every user, i.e., for \(T\)-a.e.\(t\), we have \(\pi^*_t(\mathrm{BR}(t,R^*))=1\), where the best response operator is \[\begin{align} \mathrm{BR}(t,R)=\arg\min_{(a,\tilN)\in\bar{\mathcal{A}}} C\big(t,(a,\tilN),R\big). \end{align}\]
(Consistency) The congestion level \(R^{*}\) is induced by the policy \(\pi^{*}\), i.e., \(R^{*}=R(\pi^{*})\).
This definition formalizes a Nash fixed point in a continuum setting. Optimality requires that, given congestion level \(R^{*}\), almost every user type minimizes total cost \(C(t,(a,\tilN),R^{*})\), while consistency requires that \(R^{*}\) equals the congestion level induced by the population policy \(\pi^{*}\). Equivalently, an equilibrium satisfies \(\operatorname{supp}(\pi_t^{*})\subseteq \mathrm{BR}(t,R(\pi^{*}))\) for \(T\)-a.e.\(t\).
Which personalization method minimizes cost when users care only about answer quality? This section provides a sharp answer: the comparison depends on two primitives—pretraining coverage of the task space and the signal-to-noise ratio of the user’s data. We will first derive closed-form error expressions \(E_a(t,\tilN)\) for each method in 5 (Section 3.1), and then establish a precise comparison between sft and icl(Section 3.2). Throughout this section, we fix the user type \(t\) and the sample size \(\tilN\), and suppress this dependence in the notation.
To isolate key differences between sft and icl, we first introduce several simplifying assumptions.
Assumption 1 (Spectral alignment). We assume that the pretraining Gram matrix \(X^\top X\), the sft Gram matrix \(\tilde{X}^\top \tilde{X}\), and the prior covariance matrix \(\Sigma^\ast\) of \(\theta^{*}\) are spectrally aligned: there exists an orthonormal matrix \(V=[v_1,\cdots,v_d]\in\mathbb{R}^{d\times d}\) such that all three matrices are diagonal in it, i.e., \[\begin{align} X^\top X\! =\! V \mathrm{diag}(\pi_1,\cdots\!,\pi_r,0,\cdots\!,0) V^\top, \tilde{X}^\top \tilde{X} \!=\! V \mathrm{diag}(s_1,\dots\!,s_d) V^\top, \Sigma^\ast \!=\! V \mathrm{diag}(\tau_1,\dots\!,\tau_d) V^\top. \end{align}\] The parameter \(r\leq d\) specifies the rank of pretraining input \(X\). For \(i \in [r]\), \(\pi_i > 0\) are the eigenvalues of \(X^\top X\); for \(i \in [d]\), \(s_i \geq 0\) and \(\tau_i \geq 0\) are the eigenvalues of \(\tilde{X}^\top \tilde{X}\) and \(\Sigma^\ast\), respectively.
Assumption 1 posits that the pretraining Gram matrix \(X^\top X\), the sft Gram matrix \(\tilde{X}^\top \tilde{X}\), and the task prior covariance \(\Sigma^\ast\) share a common orthonormal eigenbasis \(V\). This spectral alignment allows all three matrices to be diagonalized simultaneously, decomposing the errors of pretraining, sft, and icl into \(d\) independent one-dimensional problems with parameters \((\pi_i,s_i,\tau_i)\). It essentially requires that the pretrained and SFT models share the same feature subspace in their hidden representations. Practically, this means that when the pretrained model is prompted with a question from the SFT data, even if it cannot answer the question correctly, it may still encode the semantic structure of the question through aligned feature directions. This is plausible for modern LLMs, whose pretrained representations often capture rich semantic information. Such alignment is standard in the literature, including the case \(V=I_d\) [41], [42].
Rank deficiency of the pretraining design, \(\text{rank}(X)=r<d\), implies that pretraining observes only an \(r\)-dimensional subspace of \(\mathbb{R}^d\). Directions orthogonal to \(\text{col}(X)\) are weakly identified, so pretrained representations may fail to cover directions emphasized by the downstream design \(\tilX\) or task prior \(\Sigma^*\). For instance, an llm pretrained with limited cybersecurity content may underperform on cybersecurity tasks [43]. From a personalization perspective, \(d\) is the intrinsic task dimension, while \(r\) is the effective dimension covered by pretraining; directions outside \(\text{col}(\tilX)\) and \(\text{col}(\Sigma^*)\) are irrelevant for the task and cannot be exploited without personalization.
Assumption 2 (Pretraining inputs normalization). The pretraining covariates are normalized to have a constant \(\Sigma_\theta\)-norm, in the sense that \(\|x_i\|_{\Sigma_\theta}^2 = x_i^\top \Sigma_\theta x_i = c^2\) for all samples \(i\in[N].\)
The constant-\(\Sigma_\theta\)-norm assumption can be enforced by normalizing pretraining inputs, e.g., via length control or feature rescaling, and affects only the scalar factor \(\bar\sigma^2=\sigma^2+c^2\) in the pretraining covariance 2 . In practice, this assumption means that different topics are equally represented in the pretraining data. With heterogeneous norms, the formulas would replace \(\bar\sigma^2\) by an appropriate average of \(\|x_i\|_{\Sigma_\theta}^2\) without altering qualitative comparisons among sft, and icl. We impose this assumption to keep error expressions interpretable and to emphasize the role of the spectral quantities \((\pi_i,s_i,\tau_i)\). Existing work imposes similar assumptions, e.g., \(x_i\) are i.i.d. samples [42], [44].
Theorem 1 (Error Analyses of icl and sft). Under Assumptions 1 and 2, when sft and icl use data \((\tilX,\tilY)\) generated according to 3 , the mean-squared errors of sft, and icl in 5 are given as \[\begin{align} E_{\text{ICL}} & = \sum_{i=1}^{r}\bigg[\alpha_{i}^2\cdot \underbrace{(E_{\text{pre},i}-\bar{\sigma}^2\pi_i^{-1})}_{\text{pretraining err. w/o uncertainty}}+ \underbrace{\frac{\tilde{\sigma}^2\bar{\sigma}^4s_i}{(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)^2}}_{\text{data noise}}+\underbrace{\frac{\tilde{\sigma}^2\bar{\sigma}^2}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}}_{\text{\ac{icl} uncertainty}}\bigg] +\underbrace{\sum_{i=r+1}^{d}\tau_i}_{\text{task var.}}\\ E_{\text{SFT}}^{\lambda} &= \sum_{i=1}^{r}\bigg[ (1-\beta_{i}^{2})\underbrace{E_{\text{pre},i}}_{\text{pretraining err.}} +\beta_{i}^{2} \big(\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{LS var.}}+\!\!\!\!\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{\ac{sft} uncertainty}}\!\!\!\!\!\! \big)\bigg]+\sum_{i=r+1}^{d} \big(\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{LS var.}}+\!\!\!\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{\ac{sft} uncertainty}}\!\!\!\!\!\!\!\big), \end{align}\] where \(E_{\text{pre},i}\) denotes the error of the pretrained llm along the \(i\)-th dimension, detailed in Appendix 10.1. Here \(\bar{\sigma}^2 = \sigma^2 + c^2\) denotes the effective noise in pretraining, combining the observation noise variance \(\sigma^2\) and the input power \(c^2\). The coefficients \(\{\alpha_i\}_{i=1}^r\) for icl and \(\{\beta_i\}_{i=1}^r\) for sft are given by \[\begin{align} \alpha_i = \frac{\tilde{\sigma}^2\pi_i}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}, \qquad \beta_i = \frac{\bar{\sigma}^{2}s_i}{\bar{\sigma}^{2}s_i+\lambda \tilde{\sigma}^2\pi_i}, \quad i\in[r]. \end{align}\]
A formal statement is provided in Appendix 10.1. For each algorithm \(a\in\{\text{ICL},\text{SFT}\}\), the estimator admits the decomposition \(\hat{\theta}_a=\theta_a+\omega_a\), where \(\omega_a\sim\calN(0,\Sigma_a)\) captures intrinsic model uncertainty. The mean-squared error then decomposes as \[\begin{align} \bbE \big[\|\htheta_{a}-\theta^{*}\|^2\big] = \bbE \big[\|\theta_{a}-\theta^{*}\|^2\big]+\tr(\Sigma_{a}) = \text{algo. mean est. err.}+\text{uncertainty}, \end{align}\] separating the algorithm’s mean estimation error from its uncertainty. Different algorithms yield different expressions for these two components.
To build intuition for the sft and icl error terms, suppose \(\tilX\) consists of \(\tilN/d\) repetitions of an orthonormal basis of \(\bbR^d\), so that \(s_i=\tilN/d=\Theta(\tilN)\). As shown in Section 2.1, icl performs a Bayesian update under the pretrained prior and therefore inherits the information encoded in that prior. Importantly, the uncertainty of the pretrained model is not part of this prior, since it arises from our probabilistic modeling of the pretrained model itself. Thus, the icl error inherits the pretraining error excluding uncertainty, i.e., \(E_{\text{pre},i}-\bar{\sigma}^2\pi_i^{-1}\), which is weighted by \(\alpha_i^2\) for \(i\le r\). The coefficients \(\{\alpha_i\}_{i=1}^{r}\) depend on the pretraining precision \(\pi_i\), the effective pretraining noise \(\bar{\sigma}^2\), the personalization data strength \(s_i\), and the personalization data noise \(\tilde{\sigma}^2\). As the personalization data strength increases, with \(s_i=\Theta(\tilN)\), we have \(\alpha_i=O(\tilN^{-1})\) and hence \(\alpha_i^2=O(\tilN^{-2})\). Thus, the contribution of the inherited pretraining error decays as more in-context data become available. However, the residual task variation \(\sum_{i=r+1}^{d}\tau_i\) in the remaining \(d-r\) dimensions cannot be reduced by additional in-context samples, because the pretrained prior does not support these directions. Beyond the inherited pretraining terms, icl also incurs a data-noise term and an icl-specific uncertainty term. The data-noise term captures the effect of noise in the personalization data during the Bayesian update, while the icl-specific uncertainty term captures the posterior uncertainty after conditioning on the personalization data. Both terms depend on the personalization data strength \(s_i\) and the noise level \(\tilde{\sigma}^2\), and both vanish as \(s_i\to\infty\) or \(\tilde{\sigma}^2\to 0\).
Under 4 , sft outputs a direction-wise weighted combination of the pretrained prior and the ls estimator. Accordingly, the sft error \(E_{\text{SFT}}^\lambda\) in Theorem 1 combines inherited pretraining error terms and personalization data-driven error terms, with the trade-off controlled by the coefficients \(\{\beta_i\}_{i=1}^{r}\). The ls error consists of two parts: the variance of the ls estimator and the sft uncertainty induced by fine-tuning on the personalization data. Both terms decrease with the personalization data strength \(s_i\). The coefficients \(\{\beta_i\}_{i=1}^{r}\) determine how much weight is placed on the data-driven estimator relative to the pretrained prior, and they increase with \(s_i\). When \(s_i=\Theta(\tilN)\) and the personalization sample size \(\tilN\) grows, we have \(\beta_i\to 1\), so the inherited pretraining error vanishes, and the total error is dominated by the data-driven terms: the ls variance and the sft uncertainty. The weighting by \(\beta_i\) applies only to the \(r\) pretrained directions, since the pretrained model only covers these subspaces. In the remaining \(d-r\) coordinates, the error consists solely of personalization data-driven terms. Overall, \(E_{\text{SFT}}^\lambda\) decays at rate \(\Theta(\tilN^{-1})\) when \(s_i=\Theta(\tilN)\).
Overall, the errors of icl and sft both contain a component inherited from the pretrained model and a component induced by the personalization data. The key difference lies in how the two methods weight the pretrained information and how personalization data reduces the resulting error. In particular, icl can only reduce error within the subspace covered by the pretrained prior, because it updates the model through Bayesian conditioning under that prior. By contrast, sft can reduce error beyond the pretrained subspace, provided that the personalization data contain sufficient signal in those directions.
Before comparing personalization methods, we first explain why personalization algorithms are preferable to directly using pretrained models. To this end, we compare icl with the pretrained llms. Since icl updates the pretrained prior using personalization data, pretraining corresponds to the zero-sample case of icl, implying \(E_{\text{pre}}=E_{\text{ICL}}\) when \(s_i=0\) for all \(i\in[r]\). With additional samples, icl weakly dominates pretraining in estimation error.
Corollary 1 (icl Weakly Dominates Pretraining). If Assumptions 1 and 2 hold, then \(E_{\text{ICL}} \leq E_{\text{pre}}\). Moreover, this inequality is strict in the non-degenerate case, i.e., when \(\sigma + c > 0\) and there exists \(i \in [r]\) such that \(s_i > 0\).
Intuitively, the degenerate case arises when the pretrained llms either provides no useful information or already fully determines the task, both of which are unlikely in practice. Consequently, this result rationalizes the use of personalization algorithms.
We next compare the errors of sft and icl. To capture the main intuition and simplify the analysis, we impose the following isotropicity assumption.
Assumption 3 (Isotropicity). Across all covered directions, the energies of the pretraining samples and the samples of the desired task are isotropic: there exist scalars \(\tau, s, m > 0\) such that \(\tau_i = \tau\), \(s_i = s\), and \(\lvert v_i^{\top}\mu_\theta\rvert = m\) for every \(i \in [d]\), and there exists a scalar \(\pi > 0\) such that \(\pi_i = \pi\) for every \(i \in [r]\).
The isotropicity assumption is a structural simplification, not a claim of truly isotropic pretrained features. Although \({\tau_i}\), \({s_i}\), \({|v_i^\top\mu_\theta|}\), and \({\pi_i}\) are generally heterogeneous, our analysis focuses on the relative performance of sft and icl. The key qualitative results—comparative error performance, optimal sft regularization, and signal propagation within the covered subspace—depend on aggregate signal-to-noise properties rather than fine-grained anisotropy. This assumption is standard in analyses of llms [44], [45].
Under Assumptions 1, 2, and 3, we define the coverage coefficient as \(R=r/(d-r)\), and the signal-to-noise ratio in the subspace not covered by the pretrained model as \(\kappa=s\tau/(2\tilde{\sigma}^2)\). Then, sft with the optimal regularization parameter \(\lambda^*\) achieves weakly lower error than icl, i.e., \(E_{\text{SFT}}^{\lambda^*} \leq E_{\text{ICL}}\), if and only if the following condition holds. \[\begin{align} \label{ieq:R95cond} R\geq \frac{(1-\kappa)\big(2\bar\sigma^2\kappa+\pi\tau\big)^2\big(2\bar\sigma^2\kappa+\pi\kappa(\tau+m^2)+\pi\tau\big)}{\pi^{3}\,\kappa^2\,\tau\,(\tau+m^2)^{2}}. \end{align}\tag{8}\] We define the right-hand side of 8 as \(R_{\text{crit}}\).
The proposition characterizes when sft or icl attains lower error, governed by two quantities: pretrained coverage \(R=r/(d-r)\) and the “null-space” snr \(\kappa=s\tau/(2\tilde{\sigma}^2)\). Within the pretraining-covered subspace, sft always dominates icl, since its tunable shrinkage can match or improve upon icl’s Bayesian update (shown in our proof). Thus, icl can outperform sft only through its conservatism in the null space: icl ignores uncovered directions and incurs a fixed cost \(\tau\), whereas sft attempts to learn there and pays \(2\tilde{\sigma}^2/s\), which is detrimental when \(\kappa<1\). The threshold \(R_{\text{crit}}\) in 8 quantifies the coverage required for sft\(’\)s row-space advantage to offset this penalty: if \(\kappa\ge1\), sft strictly dominates for any \(R>0\); if \(0<\kappa<1\), sft is optimal iff \(R\ge R_{\text{crit}}\).
Finding : When the personalization task is poorly covered by the pretrained prior and the personalization data are noisy or limited, icl can achieve lower error than sft under the linear model. In this regime, icl is safer because it updates only within the subspace supported by the pretrained prior, while sft may incur large variance when learning poorly supported directions. Conversely, when the personalization data are sufficiently informative, sft can achieve lower error by learning beyond the pretrained subspace.
| Realistic llm | Linear approximation of llm | |
|---|---|---|
| Pretraining | Pretraining data cover diverse topics, allowing the model to learn a broad prior over them. | Data diversity: [eq:pretrain95data]; A broad prior: [eq:pre95cov]. |
| icl | icl often outperforms pretraining alone, but it is difficult for icl to exploit knowledge that is absent from pretraining. | Improved performance: Corollary [coro:pre95icl]; Constrained improvement: \(\tau_i\) of \(E_{\icl}\) in Theorem [thm:err95analysis]. |
| sft | sft may suffer from catastrophic forgetting, but it can also inject new knowledge into the pretrained model. | Catastrophic forgetting: when \(s_i\) is small, \(E_{\sft}^{\lambda}\) in Theorem [thm:err95analysis] is large; Knowledge injection: when \(s_i\) is large, \(E_{\sft}^{\lambda}\) tends to \(0\). |
In the following, we explain how our linear approximation captures the behavior of realistic llms in personalization tasks. Consider a user who wants to adapt a pretrained llm to a target task using personalization data. Whether icl or sft is more effective depends on two factors: how well the target task is already covered by the pretrained model, and how informative the personalization data are. Table 1 compares this behavior in realistic llms and in our linear approximation. During pretraining, realistic llms learn from diverse corpora and acquire a broad prior over tasks [34], [46]. In the linear model, this is captured by the heterogeneous task parameters in the pretraining data distribution 1 and by the learned prior covariance in 2 . Given a personalization task, icl uses demonstrations to identify and exploit the task-relevant knowledge already present in this prior, without changing the model parameters. This explains why icl often improves over pretraining alone, as formalized by Corollary 1. However, because icl updates only within the subspace supported by the pretrained prior, its improvement is limited when the target task requires knowledge poorly covered by pretraining; this limitation appears in Theorem 1 through the residual task-variation terms in \(E_{\text{ICL}}\). In contrast, sft updates the model parameters using personalization data and can therefore learn beyond the pretrained subspace. This makes sft more powerful when the personalization data are sufficiently informative. At the same time, when the personalization data are noisy or limited, sft may fit poorly supported directions and incur large estimation error, reflecting the practical trade-off between retaining pretrained knowledge and injecting new task-specific knowledge [47]. Theorem 1 captures this trade-off through \(E_{\text{SFT}}^{\lambda}\): small personalization data strength leads to large data-driven error, whereas sufficiently large personalization data strength allows the sft error to decrease and eventually learn the target task effectively.
Section 3 characterizes which personalization method is statistically optimal. However, users do not choose in isolation; they share a platform with limited computational resources. When many users personalize simultaneously, congestion arises, leading to higher latency as aggregate demand increases. This section asks: what equilibrium emerges when users strategically choose personalization methods and sample sizes while facing congestion?
We establish three main results. First, an equilibrium exists and the equilibrium congestion level is unique (Section 4.1). Second, the pretrained llms and target tasks exert nuanced, non-monotone effects on equilibrium congestion (Section 4.2). Finally, the pretrained llms can cause the equilibrium to anchor on a particular user type (Section 4.3).
We first characterize user types and derive the corresponding expressions for \(E_a(t,\tilN)\) in 5 . Under Assumptions 1, 2, and 3, the effective eigenvalue \(s\) of \(\tilX^\top\tilX\) scales with the number of personalization samples \(\tilN\). We model this as \(s=\tilN^{\alpha}\) for some \(0<\alpha\le1\), capturing potentially sublinear information growth due to data redundancy. When the rows of \(\tilX\) are i.i.d.standard Gaussian, \(s=\tilN\) holds with high probability (see Appendix 9.1).
All remaining parameters in Assumptions 1, 2, and 3—\(d,r,\bar{\sigma},\tilde{\sigma},m,\pi,\) and \(\tau\)—are intrinsic to the personalization problem. We therefore define the user type as \(t=(d,r,\bar{\sigma},\tilde{\sigma},m,\pi,\tau)\), with dependence on the sample size captured by \(s=\tilN^{\alpha}\). The type space \(\mathcal{T}\) is any compact, feasible subset of these parameters, e.g., \((d,r)\in\{(x,y)\given 500\le x\le1000,;500\le y\le x\}\). Under these assumptions, Theorem 1 and Proposition [prop:comp] characterize the icl and optimal sft errors as \[\begin{align} E_{\text{ICL}}(t,\tilN) &\!=\! \frac{r\tilde{\sigma}^2\big(2\bar{\sigma}^4 \tilN^{\alpha}+\tilde{\sigma}^2\pi^2\zeta\big)}{(\bar{\sigma}^2 \tilN^{\alpha}+\tilde{\sigma}^2\pi)^2} +(d-r)\tau,\, E_{\text{SFT}}(t,\tilN) \!=\! \frac{2r\tilde{\sigma}^2\zeta}{\tilN^{\alpha}\zeta+2\tilde{\sigma}^2} +2(d-r)\frac{\tilde{\sigma}^2}{\tilN^{\alpha}},\label{eq:sft95N} \end{align}\tag{9}\] where \(\zeta = \tau + 2\bar{\sigma}^2\pi^{-1} + m^2\). Here we set the sft regularization parameter to its optimal value \(\lambda^{\ast}\), and omit the superscript \(\lambda^{\ast}\) for notational simplicity. With these specifications, the cost function in 6 admits explicit expressions. We then analyze the resulting equilibrium properties.
Theorem 2 (Existence and Congestion-Level Uniqueness of Equilibrium). Under regularity conditions of \(h\), an equilibrium \((\pi^{\ast},R^{\ast})\) exists. Moreover, the equilibrium congestion level \(R^{\ast}\) is unique. In other words: if \((\pi_1^{\ast},R_{1}^{\ast})\) and \((\pi_2^{\ast},R_{2}^{\ast})\) are two equilibria, then \(R_{1}^{\ast}=R_{2}^{\ast}\).
Economically, the existence result rules out pathological cases in which demand fails to clear or conjectured congestion levels cannot be supported by any population behavior. The proof also yields an explicit upper bound on equilibrium congestion \(R^{\ast}\), ensuring that congestion remains finite and that the system never requires unbounded computational resources, consistent with real-world llm service constraints.
Unlike much of the mean-field game literature [6], [26], [30], which focuses on uniqueness of the equilibrium policy \(\pi^{\ast}\), Theorem 2 establishes uniqueness of the induced congestion level \(R^{\ast}\). Thus, even when multiple equilibrium policies exist, the model delivers a unique prediction for congestion. This is crucial because \(R^{\ast}\) determines latencies and effective per-unit compute costs \(p+h(R)\) and is the key state variable for platform demand and revenue forecasting (Section 5).
The uniqueness proof relies on a no-crossing property (Lemma 2): higher congestion raises the per-unit cost \(p+h(R)\) and shifts best-response resource demands downward. As a result, aggregate demand is decreasing in conjectured congestion, yielding a unique fixed point for \(R^{\ast}\) (Theorem 2). This mirrors the classical monotonicity condition in mean-field games [6], [7], but at the congestion level: monotonicity of best responses in congestion ensures uniqueness of the equilibrium congestion.
Having established existence and uniqueness of the equilibrium congestion level, we next study two special cases—homogeneous users and two user types—to examine how llm characteristics and user heterogeneity shape equilibrium outcomes.
To build intuitions, we first study the lscg with homogeneous users, where all users share the same type and the type index \(t\) is omitted from the notation. To highlight the core insights, we simplify the icl and sft error expressions in 9 while preserving their asymptotic behavior as \(\tilN\to0\) and \(\tilN\to\infty\). When \(\tilN\) is large, as is typical in practice, we have \[\begin{align} E_{\text{ICL}}(\tilN) = (d-r)\tau +\Theta(\tilde{\sigma}^2r \tilN^{-\alpha}),\quad E_{\text{SFT}}(\tilN) = \Theta(\tilde{\sigma}^2d \tilN^{-\alpha}). \end{align}\] In contrast, as \(\tilN\downarrow 0\), we have that \(E_{\text{ICL}}(0) = (d-r)\tau + r\zeta\), and \(\lim_{\tilN\downarrow 0}E_{\text{SFT}}(\tilN)=+\infty\). To simplify expressions while preserving these asymptotic behaviors, we approximate error functions 9 by \[\begin{align} E_{\text{ICL}}(\tilN) =\frac{2\tilde{\sigma}^2r}{\tilN^\alpha + 2\tilde{\sigma}^2 \zeta^{-1}}+(d-r)\tau,\quad E_{\text{SFT}}(\tilN) =\frac{2\tilde{\sigma}^2 d}{\tilN^\alpha}.\label{eq:simplified} \end{align}\tag{10}\] We emphasize that this simplification preserves the main insights underlying the comparison between icl and sft in Proposition [prop:comp]. In particular, when the signal-to-noise ratio of the personalization data is large, i.e., \(\kappa = \tau \tilN^\alpha/(2\tilde{\sigma}^2) > d/(d-r)\), sft achieves a lower error than icl.
In the remainder of this section, we set \(\alpha=1\), corresponding to the case of i.i.d.Gaussian covariates, as discussed in Appendix 9.1. For analytical convenience, we further adopt the quadratic congestion function \(h(R)=R^2\), so that \(\bar h(R,p)=p+R^2\). This quadratic form is adopted for the ease of calculation. However, our results in this section hold for a wide range of convex and non-negative congestion functions \(h\). We empirically verify that all our results hold for \(h(x)=\exp(x)\) and \(h(x)=\max\{0,x\}\) in Appendix 16. The following assumption is imposed to reflect the relative computational requirements of sft and icl.
Assumption 4 (Relative Resource Consumption of sft and icl). The consumed resource of sft per sample is larger than that of icl, i.e., \(R_{\text{SFT}}> R_{\text{ICL}}\).
Discussed in Section 2, sft updates the llm’s parameters using personalization data, requiring data prefill, gradient backpropagation, and updates to both parameters and optimizer states. In contrast, icl involves only data prefill. Thus, sft is more computationally demanding than icl.
We analyze equilibrium behavior under homogeneous users by first characterizing outcomes when users are restricted to a single algorithm, and then comparing sft and icl to study algorithm switching and derive the full equilibrium. We begin by characterizing user behavior under a fixed algorithm. For any \(a\in\mathcal{A}=\{\text{SFT},\text{ICL}\}\) and per-unit resource cost \(H\), which aggregates monetary and time costs, we define the minimal cost and corresponding optimal sample size as \[\begin{align} \Phi_a(H)=\min_{N\geq 0}\big\{E_a(N)+R_aNH\big\}, \quad N_a(H) = \argmin_{N\geq 0}\big\{E_a(N)+R_aNH\big\}. \end{align}\] For both algorithms \(a\in\{\text{ICL},\text{SFT}\}\), the statistical error \(E_a(N)\) in 10 is strictly convex in \(N\), while the resource cost \(R_a N H\) is linear in \(N\) for fixed \(H\); hence the optimal sample size \(N_a(H)\) is uniquely defined. If users are restricted to a single algorithm \(a\in\mathcal{A}\), they optimally choose \(N_a(H)\) at congestion level \(R = \sqrt{H-p}\). We characterize behavior under this restriction by the within-algorithm fixed point: \[H_a^{\ast}=\bar h\!\left(R_a N_a(H_a^{\ast}),p\right)=(R_a N_a(H_a^{\ast}))^2+p,\] where \(R_a^{\ast}=\sqrt{H_a^{\ast}-p}\) is the induced equilibrium congestion. Existence and uniqueness of \(H_a^{\ast}\) are established later. To connect these within-algorithm equilibria to the full game, we compare minimal costs across algorithms. Let \(\psi(H)=\Phi_{\text{SFT}}(H)-\Phi_{\text{ICL}}(H)\), and define \(H_{\mathrm{sep}}^{\ast}\) as the solution to \(\psi(H)=0\), which separates regions where users prefer sft or icl.
Theorem 3 (Equilibrium with Homogeneous Users). The game specified by 10 , \(\alpha=1\), \(h(x)=x^2\), and \(R_{\text{SFT}}>R_{\text{ICL}}\) has the following properties.
The optimal sft sample size requires more resources than icl: \(\!\!R_{\text{SFT}}N_{\text{SFT}}(H)\!\!>\!R_{\text{ICL}}N_{\text{ICL}}(H),\!\forall H\!\!\geq\!0\).
The fixed points \(H_{\text{SFT}}^{\ast}\) and \(H_{\text{ICL}}^{\ast}\) exists and are unique. In addition, \(H_{\text{SFT}}^{\ast}>H_{\text{ICL}}^{\ast}\geq p\).
The function \(\psi(H)\) is strictly increasing in \(H\), and has unique root \(H_{\mathrm{sep}}^{\ast}>0\).
The equilibrium \((\pi^{\ast},R^{\ast})\) is specified for the unique user type \(None\) with \(T(t)=1\) as follows. \[\begin{align} &H^{\ast} = \max\big\{H_{\text{ICL}}^{\ast},\min\{H_{\mathrm{sep}}^{\ast},H_{\text{SFT}}^{\ast}\}\big\}, \quad R^{\ast} = \sqrt{H^{\ast}-p},\\ &\pi_{t}^{\ast}\Big(\big(\text{SFT},N_{\text{SFT}}(H^{\ast})\big)\Big) =\frac{\sqrt{H^{\ast}-p}-R_{\text{ICL}}N_{\text{ICL}}(H^{\ast})}{ R_{\text{SFT}}N_{\text{SFT}}(H^{\ast})-R_{\text{ICL}}N_{\text{ICL}}(H^{\ast})},\\ &\pi_{t}^{\ast}\Big(\big(\text{ICL},N_{\text{ICL}}(H^{\ast})\big)\Big)= 1-\pi^{\ast}\Big(\big(\text{SFT},N_{\text{SFT}}(H^{\ast})\big)\Big). \end{align}\]
Theorem 3 characterizes the equilibrium with homogeneous users by reducing the equilibrium problem to a one-dimensional fixed point in the effective per-unit compute cost \(H=p+h(R)\), illustrated in Figure 1.
Parts (1)–(3) establish the structure underlying equilibrium selection. First, sft induces strictly higher resource demand than icl at any given \(H\), as implied by Assumption 4 and illustrated in Figure 1, where \(h(R_{\text{SFT}}N_{\text{SFT}}(H))>h(R_{\text{ICL}}N_{\text{ICL}}(H))\) for all \(H\). Second, for each algorithm \(a\in{\text{SFT},\text{ICL}}\), the within-algorithm fixed point \(H_a^{\ast}\) exists and is unique. As a consequence of part (1), we have \(H_{\text{SFT}}^{\ast}>H_{\text{ICL}}^{\ast}\). Third, a unique threshold \(H_{\mathrm{sep}}^{\ast}\) governs algorithm choice: users prefer sft when \(H<H_{\mathrm{sep}}^{\ast}\) and icl otherwise, echoing Proposition [prop:comp]. When \(H\) is small, Lemma 2 implies higher optimal data usage, raising the signal-to-noise ratio \(\kappa\) and eventually favoring sft over icl.
Part (4) shows that the equilibrium \(H^{\ast}\) is obtained by clipping \(H_{\mathrm{sep}}^{\ast}\) between the two within-algorithm fixed points, yielding a closed-form characterization of \(R^{\ast}=\sqrt{H^{\ast}-p}\) and the induced mixing between sft and icl. Illustrated in Figure 1, the equilibrium corresponds to the intersection of \(y=H\) with the induced curve \(p+h(R)\). Economically, the result highlights how congestion endogenously disciplines high-compute personalization: when congestion is low (small \(H\)), users tilt toward sft; when congestion is high (large \(H\)), users tilt toward icl; and in the intermediate regime, the equilibrium features a mixture that exactly clears the congestion externality.


Figure 2: The figures show how the equilibrium congestion level \(R^{\ast}\) varies with the prior precision \(\pi\) and the pretraining coverage \(r\) of the pretrained llms. Higher prior precision monotonically reduces congestion, whereas broader pretraining coverage can have a non-monotone effect on \(R^{\ast}\)..
In what follows, we study how the equilibrium varies with problem parameters. To illustrate our results, we run simulations for the lscg defined in 10 with congestion function \(h(R)=R^2\) under various parameter configurations. Details of the experimental setup are provided in Appendix 15. Throughout, a function \(f(x)\) is said to be increasing in \(x\) if \(f(x_2)\ge f(x_1)\) for all \(x_2>x_1\). We first focus on parameters related to the pretrained model, namely \(\pi\) and \(r\).
Under models 10 with \(\alpha=1\), \(\barh(R,p)=p+R^2\), and \(R_{\text{SFT}}>R_{\text{ICL}}\), the following holds.
The congestion-level \(R^{\ast}\) decreasing in \(\pi\).
Assume that \(2\tau>\zeta\). If \(p\) and \(R_{\text{ICL}}\) are sufficiently small, then there exist thresholds \(r^{*}<r^{**}<d\) such that the equilibrium congestion \(R^{*}\) is increasing in \(r\) on \([0,r^{*}] \cup [r^{**},d]\) and decreasing in \(r\) on \([r^{*},r^{**}]\) as \(r\) ranges from \(0\) to \(d\). Otherwise, \(R^{*}\) is increasing in \(r\in[0,d]\).
A full statement is in Appendix 13.3. These results characterize how improvements in pretraining affect the equilibrium congestion level \(R^{\ast}\) in Figure 2, i.e., the resources amount used at the equilibrium. The comparative statics operate via two channels: prior precision \(\pi\) and coverage \(r\).
First, increasing \(\pi\) unambiguously reduces the equilibrium congestion level \(R^{\ast}\). Since \(\pi\) measures the precision of the pretrained prior, a higher \(\pi\) lowers the marginal value of additional personalization samples, reducing users’ best-response resource demands and shifting the congestion fixed point downward. Economically, this reflects a substitution from online serving compute toward offline pretraining: improving pretrained model quality alleviates congestion at inference time.
The effect of expanding coverage \(r\) is more nuanced, as it affects both the scope and effectiveness of personalization. When \(p\) and \(R_{\text{ICL}}\) are sufficiently small, users’ personalization choices are highly elastic and the equilibrium responds on both an intensive margin (optimal personalization intensity conditional on the method) and an extensive margin (switching between icl and sft). For small \(r\), expanding \(r\) also enlarges the biased portion of the covered representation—features learned in pretraining but misaligned with the target task—so the gains from correcting these biases via sft rise; icl remains at a corner with zero optimal samples, and aggregate compute demand (hence \(R^{\ast}\)) increases. Over an intermediate range \([r^{\ast},r^{**}]\), improved coverage reshuffles relative returns across methods so that substitution on the extensive margin dominates, reducing total resource demand and lowering congestion. For large \(r\), the intensive margin reasserts itself: additional coverage makes marginal icl samples highly productive on a broad covered subspace, users scale up sample sizes, and \(R^{\ast}\) rises again, yielding the non-monotone “increase–decrease–increase” relationship.
In contrast, when \(p\) or \(R_{\text{ICL}}\) is large enough, higher effective costs compress optimal sample intensities. The equilibrium is then governed primarily by the intensive-margin adjustments within sft and icl, and expanding coverage raises the marginal returns to personalization on covered dimensions without generating sizable compositional shifts across methods. As a result, under \(2\tau>\zeta\), equilibrium congestion \(R^{\ast}\) is increasing in \(r\) over \([0,d]\): broader coverage translates into higher aggregate compute demand rather than being offset by substitution effects.
Then we analyze the task-related parameter \(\tilde{\sigma}\).
There exist two numbers \(\tilde{\sigma}_1\leq \tilde{\sigma}_2\), depending on all the other parameters, i.e., \(R_{\text{SFT}}, R_{\text{ICL}}, d, r, \bar{\sigma}, m, \pi, \tau, s\), such that the following holds.
When \(\tilde{\sigma}\in[0,\tilde{\sigma}_1]\), \(R^{\ast}\) is increasing in \(\tilde{\sigma}\).
When \(\tilde{\sigma}\in[\tilde{\sigma}_2,\infty)\), \(R^{\ast}\) is decreasing in \(\tilde{\sigma}\).
The proposition shows that the equilibrium congestion \(R^{\ast}\) can be non-monotone in task noise \(\tilde{\sigma}\) (Figure 3 (a)). Since \(\tilde{\sigma}\) governs the productivity of personalization, the result identifies two thresholds \(\tilde{\sigma}_1\le\tilde{\sigma}_2\) at which the direction of the congestion response reverses.
When \(\tilde{\sigma}\) is small, personalization remains effective: increasing noise raises baseline error without significantly reducing sample informativeness, inducing users to increase personalization intensity and raising equilibrium congestion. Thus, \(R^{\ast}\) increases with \(\tilde{\sigma}\) on \([0,\tilde{\sigma}_1]\). When \(\tilde{\sigma}\) is large, noise sharply reduces the marginal returns to personalization, leading users to scale back compute usage and lowering aggregate demand; accordingly, \(R^{\ast}\) decreases with \(\tilde{\sigma}\) on \([\tilde{\sigma}_2,\infty)\).


Figure 3: The figures show how the equilibrium congestion level \(R^{\ast}\) varies with the personalization data noise \(\tilde{\sigma}\) and the per-sample resource requirements of sft and icl, \(R_{\text{SFT}}\) and \(R_{\text{ICL}}\). The equilibrium congestion level \(R^{\ast}\) is non-monotone in the data noise \(\tilde{\sigma}\) and can also be non-monotone in the sft resource requirement \(R_{\text{SFT}}\)..
We then analyze how \(R_\text{SFT}\) and \(R_\text{ICL}\) affect the equilibrium.
There exists a threshold \(R_{\text{ICL}}^{\ast}\), depending onmodel parameters \(\tilde{\sigma}, d, r, \bar{\sigma}, m, \pi, \tau,\) and \(s\), such that the following holds.
If \(R_{\text{ICL}} < R_{\text{ICL}}^{\ast}\), then as \(R_{\text{SFT}}\) increases from \(R_{\text{ICL}}\) to \(\infty\), the equilibrium congestion level \(R^{\ast}\) in the equilibrium first increases and then decreases.
If \(R_{\text{ICL}} \ge R_{\text{ICL}}^{\ast}\), then as \(R_{\text{SFT}}\) increases from \(R_{\text{ICL}}\) to \(\infty\), the equilibrium congestion level \(R^{\ast}\) in the equilibrium decreases monotonically.
This proposition characterizes how equilibrium congestion responds to the per-sample resource intensity \(R_{\text{SFT}}\), shown in Figure 3 (b). An increase in \(R_{\text{SFT}}\) raises the marginal cost of sft, affecting both users’ algorithm choice and optimal sample sizes, with the resulting effect on \(R^{\ast}\) depending on the relative compute efficiency of icl, as captured by \(R_{\text{ICL}}\).
If \(R_{\text{ICL}}<R_{\text{ICL}}^{\ast}\), then icl is sufficiently compute-efficient that the equilibrium features an economically meaningful substitution margin. As \(R_{\text{SFT}}\) rises from \(R_{\text{ICL}}\), equilibrium congestion can initially increase because users’ best responses adjust along the intensity margin while sft remains competitive for a subset of users; aggregate demand rises at the fixed point. When \(R_{\text{SFT}}\) becomes large, sft is priced out and users substitute toward icl, reducing aggregate resource usage and driving \(R^{\ast}\) down. If \(R_{\text{ICL}}\ge R_{\text{ICL}}^{\ast}\), since \(R_{\text{SFT}}\) increases from \(R_{\text{ICL}}\), its initial value is high enough . Raising \(R_{\text{SFT}}\) mainly deters sft without inducing compensating increases in equilibrium personalization intensity, so aggregate demand shifts downward and \(R^{\ast}\) decreases monotonically with \(R_{\text{SFT}}\).
Finding : The equilibrium congestion level \(R^*\) responds non-monotonically to changes in pretraining coverage, task difficulty, and the relative cost of sft, because users adjust both the personalization method they choose (extensive margin) and the amount of personalization data they use (intensive margin). For example, when personalization data become more valuable, users may use fewer samples to achieve the same error level, or they may switch to sft and use more samples to further reduce error. Which force dominates depends on the regime determined by the pretrained model’s coverage and the quality of the personalization data.
In this section, we study an lscg with two types of users, \(t\in\{t_1,t_2\}\), with population shares \(T(t_1)=q\), and \(T(t_2)=1-q.\) To distinguish parameters across types, we use the subscript \(i\) to index user types. For example, \(\tilde{\sigma}_1\) and \(\tilde{\sigma}_2\) denote the noise amplitudes of type 1 and type 2 users, respectively. As in Section 4.2, we adopt the simplification for icl and sft errors given in 10 .
Analogous to the homogeneous case, for each user type \(t\) and algorithm \(a\in\mathcal{A}\) we define the minimal cost and the corresponding optimal number of samples as \[\begin{align} \Phi_a(t,H)=\min_{N\geq 0}\big\{E_a(t,N)+R_aNH\big\}, \quad N_a(t,H) = \argmin_{N\geq 0}\big\{E_a(t,N)+R_aNH\big\}. \end{align}\] If all users are of type \(t\) and are restricted to a single algorithm \(a\), the resulting equilibrium is characterized by the unique solution \(H_a^{\ast}(t)\) to the fix-point equation \[\begin{align} H = \barh(R_a\cdot N_a(t,H),p) =(R_a\cdot N_a(t,H))^2+p. \end{align}\] In addition, to compare algorithms for type-\(t\) users, we define the difference of sft and icl in minimal costs as \(\psi(t,H)=\Phi_{\text{SFT}}(t,H)-\Phi_{\text{ICL}}(t,H).\) By the homogeneous analysis in Section 4.2, the equation \(\psi(t,H)=0\) admits a unique solution for each type \(t\). We denote this threshold by \(H_{\mathrm{sep}}^{\ast}(t)\) and, without loss of generality, assume \(H_{\mathrm{sep}}^{\ast}(t_2)\le H_{\mathrm{sep}}^{\ast}(t_1)\). Before stating our main result, define \[\begin{align} e(H) &= qR_{\text{SFT}}N_{\text{SFT}}(t_1,H) + (1-q)R_{\text{SFT}}N_{\text{SFT}}(t_2,H),\\ f(H) &= qR_{\text{SFT}}N_{\text{SFT}}(t_1,H) + (1-q)R_{\text{ICL}}N_{\text{ICL}}(t_2,H),\\ g(H) &= qR_{\text{ICL}}N_{\text{ICL}}(t_1,H) + (1-q)R_{\text{ICL}}N_{\text{ICL}}(t_2,H). \end{align}\] Here, \(N_{\text{SFT}}(t,H)\) and \(N_{\text{ICL}}(t,H)\) denote the optimal numbers of personalization samples chosen by a type-\(t\) user under sft and icl, respectively, at unit resource cost \(H\). Accordingly, \(e(H)\) represents aggregate resource demand when all users adopt sft; \(f(H)\) represents aggregate resource demand when type-\(t_1\) users adopt sft and type-\(t_2\) users adopt icl; and \(g(H)\) represents aggregate resource demand when all users adopt icl. In each case, users choose their sample sizes optimally given \(H\). We next characterize the equilibrium of 10 under \(\alpha=1\), \(T(t_1)=q\), \(T(t_2)=1-q\), \(h(x)=x^2\), and \(R_{\text{SFT}}>R_{\text{ICL}}\).
Theorem 4 (Equilibrium with Two-type Users). When \(H_{\mathrm{sep}}^{\ast}(t_2)< H_{\mathrm{sep}}^{\ast}(t_1)\), the equilibrium has a threshold structure: at low congestion all users choose sft, at high congestion all users choose icl, and at intermediate congestion type-\(t_1\) users choose sft while type-\(t_2\) users choose icl, with possible mixing only at the two indifference thresholds. Within each regime, \(H^*\) is characterized by the fixed point \(H=\Phi(H)^2+p\) for some function \(\Phi\in\{e,f,g\}\), and \(R^*=\sqrt{H^*-p}\).
The full characterization, including the case \(H_{\mathrm{sep}}^*(t_2)=H_{\mathrm{sep}}^*(t_1)\), is provided in Appendix 11.3. The key insight is that heterogeneity makes equilibrium congestion a regime-switching outcome governed by a small number of type-specific thresholds, illustrated in Figure 4. The separator \(H_{\mathrm{sep}}^*(t)\) summarizes a type’s willingness to pay in resource costs to use the more resource-intensive method. The ordering \(H_{\mathrm{sep}}^*(t_2)<H_{\mathrm{sep}}^*(t_1)\) implies that
type \(t_2\) switches first as congestion prices change. The aggregate resource usage is determined either in interior regimes with strict method choices or in boundary regimes where the marginal type mixes and absorbs parameter changes through its mixing probability. Consequently, comparative statics can be locally muted in mixing regimes, where \(H^*\) is pinned at a separator, but shift sharply when the economy crosses a threshold, as small parameter changes induce discrete shifts in method adoption. The extension to \(K\) user types is direct.
To study user interactions in the lscg, we restrict heterogeneity to the noise parameter \(\tilde{\sigma}\), holding all other parameters fixed. The equilibrium congestion level can then be written as \(R^*=R^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)\). We say that equilibrium congestion is anchored by type \(\tilde{\sigma}_2\) if, holding \(\tilde{\sigma}_2\) fixed, small changes in \(\tilde{\sigma}_1\) or the population share \(q\) leave \(R^*\) unchanged, i.e., \(\partial_{\tilde{\sigma}_1}R^*=\partial_q R^*=0\). The following proposition characterizes when anchoring obtains for fixed \(\tilde{\sigma}_2>0\) with \(q\in(0,1)\) and \(\tilde{\sigma}_1<\tilde{\sigma}_2\).
The equilibrium congestion level is anchored by type \(\tilde{\sigma}_2\), i.e., \(\partial_{\tilde{\sigma}_1}R^*=\partial_qR^*=0\) if and only if the equilibrium lies in a locally “flat” regime: either (i) the fixed point is pinned at the type-2 separator, \(H^*=H_{\mathrm{sep}}^*(\tilde{\sigma}_2)\) (ii) the equilibrium is the corner \(R^*=0\).
The following sufficient conditions ensure the pinning regime in (i):
The data noise level \(\tilde{\sigma}_2\) lies in an intermediate band, so the type-2 separator falls in the interior mixing region rather than near the zero-congestion corner or an extreme-congestion regime.
The pretraining precision proxy \(\pi/\zeta\) and the residual scale \((d-r)\tau\) are large, so the relevant demand mappings are well separated.
The type-1 population share \(q\) is small, so type 1 does not shift the fixed point away from the type-2 separator.
A formal statement is in Appendix 13.6. Proposition [prop:only95one95type] shows that the stationarity condition \(\partial_{\tilde{\sigma}_1}R^{\ast}=\partial_q R^{\ast}=0\) arises only when equilibrium congestion is pinned, rather than determined by smooth interior adjustments. In the first regime, \(H^{\ast}=h(R^{\ast})+p\) is pinned at the type-\(2\) separator: type-\(2\) users are indifferent between sft and icl, and small changes in \((\tilde{\sigma}_1,q)\) can be absorbed through their mixing behavior. In the second
regime, \(R^{\ast}=0\) is a stable zero-congestion corner: both types strictly prefer icl and choose \(\tilN_{\text{ICL}}=0\).
The sufficient conditions place the game in a robust type-2-pinned mixing regime. The bounds on \(\tilde{\sigma}_2\) position \(H_{\mathrm{sep}}^{\ast}(\tilde{\sigma}_2)\) away from both the zero-congestion corner and the extreme-congestion regime, ensuring an interior mixing wedge. A small pretraining-error index \(\zeta\) makes icl effective, lowering marginal icl demand and widening the resource gap between the type-2 icl and sft choices at the separator. A large uncovered-error floor \((d-r)\tau\) further ensures strict inequalities, so the separator is a genuine switching locus rather than a knife-edge. Finally, the upper bound on \(q\) keeps the type-1 population sufficiently small, and hence leaves enough type-2 mass for type-2 mixing behavior to pin aggregate congestion; the admissible type-1 share decreases with \(\tilde{\sigma}_1\). This setting is illustrated in Figure 5.
Finding : The equilibrium becomes anchored in two cases: either one type of users is exactly indifferent between icl and sft, or users choose not to use any personalization data because computation is too costly. In these cases, small parameter changes are absorbed by adjustments in mixing behavior or by continued inactivity, so aggregate compute demand remains locally unchanged.
Section 4 characterizes equilibrium properties under a fixed platform serving strategy, such as a fixed price \(p\). In practice, however, the platform seeks to maximize its profit by optimizing the serving strategy. This section asks: which strategies maximize the platform’s profit at the induced user equilibrium? The interaction between the platform and users proceeds as follows.
The platform sets the unit resource price \(p\).
Given \(p\), users reach the equilibrium \((\pi^{*}(p),R^{*}(p))\) of the induced game via 6 and 9 ; we explicitly indicate the dependence on \(p\).
The platform collects profit \(I(p)=(p-1)\cdot R^{*}(p)\).
In the platform’s profit, the constant \(1\) represents the normalized cost of one unit of computational resource. We highlight that the profit \(I(p)\) is well-defined: by Theorem 2, for each price \(p\) the followers’ game admits an equilibrium with a unique congestion level, so the induced aggregate consumption \(R^*(p)\) and the resulting profit \(I(p)\) are single-valued. This interaction can be formulated as a slscg, with the platform acting as the leader that sets the price and users as followers. The equilibrium concept is defined as follows.
Definition 2. The triplet \((p^{*},\pi^{*},R^{*})\) is the Stackelberg equilibrium if
(Follower equilibrium) The pair \((\pi^{*},R^{*})\) is the equilibrium of the lscg induced by price \(p^*\).
(Leader optimality) The price \(p^*\) maximizes profit \(I(p)=(p-1)R^*(p)\) over \(p>0\).
Intuitively, the platform moves first and anticipates how users will respond to its price. For any price \(p\), users choose their personalization policies and reach an equilibrium resource demand \(R^*(p)\). The platform then selects the price that maximizes its profit, given by the per-unit margin \(p-1\) multiplied by equilibrium resource consumption. Thus, the Stackelberg equilibrium combines users’ optimal responses with the platform’s optimal pricing decision.
We then analyze how the price \(p\) affects the equilibrium congestion level \(R^{*}(p)\) and profit \(I(p)\).
Theorem 5 (Monotonicity of equilibrium congestion in price). Under regularity conditions of \(h\), the unique equilibrium congestion level \(R^*(p)\) is decreasing in the unit resource price \(p\). That is, for any \(p_1<p_2\), we have that \(R^*(p_2)\le R^*(p_1)\).
This theorem formalizes congestion pricing: a higher unit resource price \(p\) raises users’ marginal cost, shifting best responses toward less resource-intensive behavior. As a result, users demand fewer personalization samples and substitute away from compute-heavy algorithms, reducing aggregate demand at every conjectured congestion level and implying that the unique equilibrium congestion \(R^*(p)\) is decreasing in \(p\).
Although \(R^*(p)\) decreases in \(p\), a natural question is whether the profit-maximizing price \(p^*\) is finite. For analytical tractability, we focus on the case \(\alpha=1\) for 9 .
When regularity conditions of \(h\) holds, \(\alpha=1\), and the following holds \[\begin{align} \sup_{t\in\calT} ((d-r)\tau + r\zeta)^{2}(d-r)^{-1}\tilde{\sigma}^{-2}+\bar{\sigma}^2r(\pi\zeta-\bar{\sigma}^2)\pi^{-2}\tilde{\sigma}^{-2}<\infty, \end{align}\] the Stackelberg equilibrium \((p^{*},\pi^{*},R^{*})\) exists with \(p^*<\infty\) and \(I(p^*)<\infty\).
This proposition establishes conditions under which the platform’s Stackelberg problem is well posed and admits a finite optimal price \(p^*<\infty\). The key requirement is to rule out \(p\to\infty\) as an optimal strategy by showing that, for sufficiently large \(p\), equilibrium congestion \(R^*(p)\) decays fast enough that the revenue term \((p-1)R^*(p)\) eventually decreases. Intuitively, high prices dominate users’ incentives, leading them to reduce personalization sample sizes and substitute toward compute-light methods (icl); beyond a threshold, even icl is not worth sampling, so users optimally choose \(\tilN_{\text{ICL}}=0\) and \(R^*(p)\to 0\). The boundedness condition ensures this demand collapse occurs uniformly across types, implying that the objective cannot be maximized at \(p=\infty\) and hence that a finite optimal \(p^*\) exists.
Beyond pricing, platforms can also choose which personalization algorithms to offer. Early llm services provided only icl [48]. We therefore study whether offering both sft and icl yields higher platform profit than offering icl alone.
Assumption 5 (Relative Resource Consumption of sft and icl). The resource consumed of sft per sample is larger than that of icl with a multiplier: \(R_{\text{SFT}}\ge R_{\text{ICL}}\cdot \sup_{t\in\calT}(r\beta(t)/(d-r))^{1/\alpha}\), where \(\beta(t)=1+\pi(\tau+m^2)/\bar\sigma^2\).
This assumption requires that sft and icl differ substantially in per-sample resource consumption. It imposes a uniform compute gap between \(R_{\text{SFT}}\) and \(R_{\text{ICL}}\) so that, in equilibrium and for all user types, sft is the genuinely compute-heavy personalization method.
We refer to a game as the full game when the platform offers both sft and icl, and as the icl game when only icl is available. Given price \(p\), the corresponding equilibrium congestion levels are denoted by \(R^*(p)\) and \(R_{\text{ICL}}^*(p)\), respectively.
Theorem 6 (Choice Diversity Does Not Harm Profit). We denote the congestion levels at the equilibrium of the full game and the icl game by \(R^{*}(p)\) and \(R_{\text{ICL}}^{*}(p)\), respectively. Under regularity conditions of \(h\) and Assumption 5, it holds that \(R^{*}(p)\geq R_{\text{ICL}}^{*}(p)\) for any \(p>0\). Therefore, adding sft to the platform’s personalization menu cannot reduce optimal profit, i.e., \(\sup_{p>0}(p-1)R^{*}(p)\geq \sup_{p>0}(p-1)R_{\text{ICL}}^{*}(p)\).
The key insight is that adding sft as an available personalization option cannot reduce equilibrium congestion. Economically, sft is the high-resource method, so whenever some users find sft privately cost-effective, they switch into a more compute-intensive mode of personalization, raising aggregate demand and thus the congestion fixed point. In short, expanding the menu of personalization methods can increase platform load even though it gives users more flexibility, because the new option is compute-heavy.
Finding : Adding sft cannot lower the equilibrium congestion level because it expands users’ options with a compute-heavy personalization method, so any adoption raises aggregate resource demand and platform load.
In this section, we connect our theoretical analysis to practical llm serving by validating the model in Section 2 and testing our theoretical predictions.


Figure 6: The figures show the estimation error of icl across different numbers of in-context samples \(\tilN\) and ambient dimensions \(d\). The results confirm that icl cannot eliminate the error in the subspace uncovered by pretraining, even with infinitely many samples. This irreducible error scales linearly with the number of uncovered dimensions, \(d-r\)..
Experimental Setting. We train a \(22\)M-parameter GPT-2 model [49] and evaluate it on in-context linear regression, a standard benchmark for llms behavior [5], [8]. The model is prompted with \(\tilN\) i.i.d.samples \(\{(\tilx_i,\tily_i)\}_{i=1}^{\tilN}\) generated by 3 and a query \(\tilx_{\mathrm{q}}\), and outputs a prediction \(\hat{y}\) of \(\tilx_{\mathrm{q}}^\top\theta^*\), evaluated by squared error. To isolate the differences between sft and icl predicted by Theorem 1 and Proposition [prop:comp], we pretrain the model from scratch under a rank-deficient design with \(r<d\), where only the first \(r\) coordinates of \(x_i\in\mathbb{R}^d\) are nonzero, and set \(r=15\). After pretraining, personalization is performed either via icl, by prompting with \(\{(\tilx_i,\tily_i)\}_{i=1}^{\tilN}\), or via sft, by fine-tuning on the same data for at least 100 steps, as fewer steps produce negligible deviation from the pretrained model. Additional details are provided in Appendix 15.
For icl, Theorem 1 yields two implications. First, even as the number of personalization samples diverges, the error does not vanish but converges to an irreducible bias induced by directions not covered in pretraining. Second, under the isotropic setting (Assumption 3), this bias equals \((d-r)\tau\) and is linear in the uncovered dimension. Figure 6 (a) confirms the first result, showing that error decreases with sample size before plateauing, while Figure 6 (b) confirms the second, with the limiting bias regressed on \((d-r)\) yielding the coefficient of determination as \(R^2=0.96\).
Proposition [prop:comp] identifies two regimes comparing icl and sft. When the effective signal-to-noise ratio is high (\(\kappa>1\)), corresponding to many personalization samples, sft attains lower error than icl; when samples are scarce (\(\kappa\to 0\)), sft incurs higher error. Figures 6 (a) and 7 (a) confirm these predictions: sft outperforms icl at large sample sizes (e.g., \(500\)), but performs worse at very small sample sizes (e.g., near \(1\)).


Figure 7: Panel (a) shows the estimation error of sft across different numbers of personalization samples \(\tilN\), illustrating that sft can asymptotically drive the estimation error to zero as the sample size increases. Panel (b) reports the fraction of platforms that offer sft in addition to icl, showing that support for sft-based personalization has increased in recent years..
Beyond llm behavior, we study platforms’ serving strategies—specifically, whether they offer only icl or both sft and icl. We summarize the offerings of 21 companies releasing major foundation models listed in the Artificial Intelligence Index Reports 2024 and 2025 [50], [51], with details in Appendix 16. Figure 7 (b) shows a clear upward trend in the fraction of platforms offering both methods, consistent with Theorem 6, which predicts that adding the sft option does not reduce platform profit.
The personalization of llms is not just a technical challenge—it is an economic one. As billions of users customize AI systems for specialized tasks on shared computational infrastructure, their choices create a complex web of strategic interactions. When should a user invest in expensive sft versus lightweight icl? How does congestion from others’ personalization decisions reshape these incentives? And what strategies should platforms pursue when computational resources are scarce and valuable?
This paper developed the first theoretical framework that jointly addresses these questions. By building linear statistical models of personalization algorithms and embedding them in a continuum game with congestion, we obtained sharp predictions about user behavior and platform strategy. Three core insights emerge. First, the comparison between sft and icl hinges on a precise interplay between pretraining coverage and data quality—not simply which method is "better." Second, equilibrium congestion responds to system parameters in surprisingly non-monotone ways: better pretraining can increase peak loads, harder tasks can reduce demand, and higher sft costs can initially amplify congestion before alleviating it. Third, offering algorithmic diversity—both sft and icl—never hurts platform profits, rationalizing the rapid adoption of multiple personalization methods we observe in practice.
Our model admits several natural extensions. First, we assume a single platform serving all users, whereas in practice, multiple platforms compete. This can be incorporated by allowing users to choose among platforms, with congestion defined at the platform level. Second, beyond personalization algorithms, platforms increasingly offer reasoning models that deliver higher-quality responses at the cost of greater latency (e.g., GPT-o1). Modeling such choices requires expanding the set of algorithms available in our framework.
We summarize the notation used throughout the paper in Table 1. The notations are organized into three groups: general model setup, sft and icl analysis, and the game-theoretic framework.
| Symbol | Description |
|---|---|
| Symbol | Description |
| \([N]\) | The set \(\{1, 2, \ldots, N\}\) |
| \(X^{\dagger}\) | Moore–Penrose pseudoinverse of matrix \(X\) |
| \(\tr(X)\) | Trace of matrix \(X\) |
| \(\text{col}(X)\) | Column space of matrix \(X\) |
| \(I_{N}\) | Identity matrix of size \(N \times N\) |
| \(\calN(\mu, \Sigma)\) | Gaussian distribution with mean \(\mu\) and covariance \(\Sigma\) |
| \(\|x\|_{\Sigma}\) | \(\Sigma\)-norm: \(\sqrt{x^{\top}\Sigma x}\) for positive semidefinite \(\Sigma\) |
| \(\Delta(\cdot)\) | Set of all probability distributions over a given set |
| sft and icl | |
| \(d\) | Dimension of the feature/parameter space |
| \(N\) | Number of pretraining samples |
| \(x_i \in \bbR^d\) | Pretraining feature vector (prefix representation) |
| \(y_i\) | Pretraining response |
| \(X \in \bbR^{N \times d}\) | Pretraining design matrix: \(X = [x_1,\ldots,x_N]^{\top}\) |
| \(Y \in \bbR^{N}\) | Pretraining response vector: \(Y = [y_1,\ldots,y_N]^{\top}\) |
| \(\theta_i \in \bbR^d\) | Latent task parameter for the \(i\)-th pretraining sample |
| \(\mu_\theta, \Sigma_\theta\) | Mean and covariance of the task prior \(\calN(\mu_\theta, \Sigma_\theta)\) |
| \(\sigma^2\) | Observation noise variance in pretraining |
| \(c^2\) | Input power: \(\|x_i\|_{\Sigma_\theta}^2 = c^2\) (Assumption 2) |
| \(\bar{\sigma}^2\) | Effective pretraining variance: \(\bar{\sigma}^2 = \sigma^2 + c^2\) |
| \(\theta^* \in \bbR^d\) | Target task parameter, drawn from \(\calN(0, \Sigma^*)\) |
| \(\Sigma^*\) | Prior covariance of the target task \(\theta^*\) |
| \(\tilN\) | Number of personalization samples |
| \(\tilx_i \in \bbR^d\) | Personalization feature vector |
| \(\tily_i\) | Personalization response |
| \(\tilX \in \bbR^{\tilN \times d}\) | Personalization design matrix: \(\tilX = [\tilx_1,\ldots,\tilx_{\tilN}]^{\top}\) |
| \(\tilY \in \bbR^{\tilN}\) | Personalization response vector: \(\tilY = [\tily_1,\ldots,\tily_{\tilN}]^{\top}\) |
| \(\tilde{\sigma}^2\) | Observation noise variance in personalization data |
| \(\theta_{\text{pre}}\) | Pretrained estimator mean (least-squares estimate of \(\mu_\theta\)) |
| \(\Sigma_{\text{pre}}\) | Covariance of the pretrained estimator |
| \(\htheta_{\text{pre}}\) | Pretrained model estimator: \(\htheta_{\text{pre}} \sim \calN(\theta_{\text{pre}}, \Sigma_{\text{pre}})\) |
| \(\theta_{\text{ICL}}\) | icl posterior mean |
| \(\Sigma_{\text{ICL}}\) | icl posterior covariance |
| \(\htheta_{\text{ICL}}\) | icl estimator: \(\htheta_{\text{ICL}} \sim \calN(\theta_{\text{ICL}}, \Sigma_{\text{ICL}})\) |
| \(\theta_{\text{SFT}}\) | sft estimator mean |
| \(\Sigma_{\text{SFT}}\) | sft estimator covariance |
| \(\htheta_{\text{SFT}}\) | sft estimator: \(\htheta_{\text{SFT}} \sim \calN(\theta_{\text{SFT}}, \Sigma_{\text{SFT}})\) |
| \(\lambda\) | sft regularization parameter |
| \(\lambda^{*}\) | Optimal sft regularization |
| \(V = [v_1,\ldots,v_d]\) | Shared orthonormal eigenbasis of \(X^{\top}X\), \(\tilX^{\top}\tilX\), and \(\Sigma^*\) |
| \(r\) | Rank of the pretraining design \(X\) (pretraining coverage) |
| \(\pi_i\) | \(i\)-th eigenvalue of \(X^{\top}X\) for \(i \in [r]\) |
| \(s_i\) | \(i\)-th eigenvalue of \(\tilX^{\top}\tilX\) for \(i \in [d]\) |
| \(\tau_i\) | \(i\)-th eigenvalue of \(\Sigma^*\) for \(i \in [d]\) |
| \(E_{\text{pre}}\) | Mean-squared error of the pretrained model |
| \(E_{\text{ICL}}\) | Mean-squared error of icl |
| \(E_{\text{SFT}}^{\lambda}\) | Mean-squared error of sft with regularization \(\lambda\) |
| \(\alpha_i\) | icl shrinkage coefficient: \(\tilde{\sigma}^2\pi_i / (\bar{\sigma}^2 s_i + \tilde{\sigma}^2\pi_i)\) |
| \(\beta_i\) | sft shrinkage coefficient: \(\bar{\sigma}^2 s_i / (\bar{\sigma}^2 s_i + \lambda\tilde{\sigma}^2\pi_i)\) |
| \(\pi, s, \tau, m\) | Common values of \(\pi_i\), \(s_i\), \(\tau_i\), and \(|v_i^{\top}\mu_\theta|\) |
| \(\zeta\) | Aggregate parameter: \(\zeta = \tau + 2\bar{\sigma}^2/\pi + m^2\) |
| \(\kappa\) | Signal-to-noise ratio in uncovered subspace: \(s\tau / (2\tilde{\sigma}^2)\) |
| \(R_{\text{crit}}\) | Critical coverage ratio for sft to dominate icl |
| LLM-Serving Congestion Game | |
| \(t \in \calT\) | User type, summarizing model and task parameters |
| \(T\) | Probability measure over the type space \(\calT\) |
| \(\calA = \{\text{ICL}, \text{SFT}\}\) | Set of personalization algorithms |
| \(\bar{\calA} = \calA \times [0,\infty)\) | Action set: algorithm and sample size pairs |
| \(\bar{a} = (a, \tilN)\) | User action: algorithm \(a\) with \(\tilN\) samples |
| \(R_a\) | Resource consumption per sample for algorithm \(a\) |
| \(R_{\text{SFT}}, R_{\text{ICL}}\) | Per-sample resource cost of sft and icl |
| \(E_a(t, \tilN)\) | Learning error of algorithm \(a\) for type \(t\) with \(\tilN\) samples |
| \(C(t, \bar{a}, R)\) | Total cost: \(E_a(t,\tilN) + R_a\tilN(p + h(R))\) |
| \(\alpha\) | Information growth exponent: \(s = \tilN^{\alpha}\) |
| \(p\) | Unit resource price set by the platform |
| \(h(\cdot)\) | Congestion function: maps aggregate demand to waiting cost |
| \(\barh(R, p)\) | Total per-unit cost: \(p + h(R)\) |
| \(R(\pi)\) | Congestion level (aggregate resource demand) under policy \(\pi\) |
| \(\pi_t\) | Policy (mixed action) of type-\(t\) user |
| \(\mathrm{BR}(t, R)\) | Best response operator for type \(t\) at congestion \(R\) |
| \((\pi^*, R^*)\) | Equilibrium: optimal policy and congestion level |
| \(H\) | Effective per-unit compute cost: \(H = p + h(R)\) |
| \(\Phi_a(H)\) | Minimal cost for algorithm \(a\) at per-unit cost \(H\) |
| \(N_a(H)\) | Optimal sample size for algorithm \(a\) at per-unit cost \(H\) |
| \(H_a^*\) | Within-algorithm equilibrium fixed point for algorithm \(a\) |
| \(\psi(H)\) | Cost difference: \(\Phi_{\text{SFT}}(H) - \Phi_{\text{ICL}}(H)\) |
| \(H_{\mathrm{sep}}^*\) | Algorithm separation threshold: root of \(\psi(H) = 0\) |
| \(t_1, t_2\) | Two user types |
| \(q\) | Population share of type \(t_1\): \(T(t_1) = q\) |
| \(H_{\mathrm{sep}}^*(t)\) | Type-specific algorithm separation threshold |
| \(e(H), f(H), g(H)\) | Aggregate demand functions for different algorithm regimes |
| \(I(p)\) | Platform profit: \((p - 1) \cdot R^*(p)\) |
| \(p^*\) | Profit-maximizing price |
| \((p^*, \pi^*, R^*)\) | Stackelberg equilibrium |
| \(R_{\text{ICL}}^*(p)\) | Equilibrium congestion in the icl-only game at price \(p\) |
Throughout the paper, we assume that the covariates \(X\) and \(\tilX\) are deterministic. In this section, we show that our assumptions hold with high probability if rows of \(X\) and \(\tilX\) are i.i.d.Gaussian vectors.
Let \(V\in\mathbb{R}^{d\times d}\) be orthogonal. Fix integers \(N,\tilde{N}\ge 1\) and nonnegative scalars \[\pi_1\ge \pi_2\ge \cdots \ge \pi_r>0,\text{ and }s_1,\dots,s_d\ge 0.\] Define the target Gram matrices as \[G_X = V\mathrm{diag}(\pi_1,\dots,\pi_r,0,\dots,0)V^\top,\text{ and } G_{\tilde{X}} = V\mathrm{diag}(s_1,\dots,s_d)V^\top.\] Set the corresponding population covariances as \[\Sigma_X = \frac{1}{N}G_X,\qquad \Sigma_{\tilde{X}}=\frac{1}{\tilde{N}}G_{\tilde{X}}.\] Let \(X\in\mathbb{R}^{N\times d}\) have i.i.d.rows \(x_i\sim\mathcal{N}(0,\Sigma_X)\) and let \(\tilde{X}\in\mathbb{R}^{\tilde{N}\times d}\) have i.i.d.rows \(\tilde{x}_i\sim\mathcal{N}(0,\Sigma_{\tilde{X}})\), independent of \(X\). Then we have the following results.
(Unbiasedness) \(\mathbb{E}[X^\top X]=G_X\) and \(\mathbb{E}[\tilde{X}^\top \tilde{X}]=G_{\tilde{X}}\).
(High-probability operator-norm control) There exist universal constants \(c,C>0\) such that for every \(t\ge 0\), \[\begin{align} P\bigg(\bigl\|X^\top X-G_X\bigr\|_{2} \le C\|G_X\|_{2}\bigg(\sqrt{\frac{d+t}{N}}+\frac{d+t}{N}\bigg)\bigg) &\ge 1-2e^{-ct},\\ P\bigg(\bigl\|\tilde{X}^\top \tilde{X}-G_{\tilde{X}}\bigr\|_{2} \le C\|G_{\tilde{X}}\|_{2}\bigg(\sqrt{\frac{d+t}{\tilde{N}}}+\frac{d+t}{\tilde{N}}\bigg)\bigg) &\ge 1-2e^{-ct}. \end{align}\] The norm \(\|\cdot\|_{2}\) denotes the operator norm of matrices. In particular, for fixed \(d\) and \(t= \Theta( \log(1/\delta))\), both deviations are \(O\big(\|G\|_{2}\sqrt{d/N}\big)\) with probability at least \(1-\delta\).
(Rank-deficient target) If \(r<d\), then \(\Sigma_X\) has rank \(r\), and the rows of \(X\) lie almost surely in the \(r\)-dimensional subspace \(\mathrm{range}(V_r)\) spanned by the first \(r\) columns \(V_r\) of \(V\).
Thus, if the Gram matrices \(\Sigma_X\) and \(\Sigma_{\tilX}\) satisfy Assumptions 1 and 3, then the corresponding sample Gram matrices constructed from \(X\) and \(\tilX\) satisfy the same assumptions with high probability. Specifically, when \(\Sigma_{\tilX}=I_d\), we have that \(s_i=\tilN\) for \(i\in[d]\). We prove this proposition below.
Proof. We prove the three results separately.
For the first result, we let \(D_X=\mathrm{diag}(\pi_1,\dots,\pi_r,0,\dots,0)\) and \(D_{\tilde{X}}=\mathrm{diag}(s_1,\dots,s_d)\) so that \(G_X=VD_XV^\top\) and \(G_{\tilde{X}}=V D_{\tilde{X}}V^\top\). Define the square-roots \[D_X^{1/2}=\mathrm{diag}(\sqrt{\pi_1},\dots,\sqrt{\pi_r},0,\dots,0),\qquad D_{\tilde{X}}^{1/2}=\mathrm{diag}(\sqrt{s_1},\dots,\sqrt{s_d}).\] Let \(Z\in\mathbb{R}^{N\times d}\) have i.i.d.\(\mathcal{N}(0,1)\) entries. Then the distributional definition \(x_i\sim \mathcal{N}(0,\Sigma_X)\) is equivalent to the row-wise representation \[X = \frac{1}{\sqrt N}ZD_X^{1/2}V^\top.\] Similarly, with \(\tilde{Z}\in\mathbb{R}^{\tilde{N}\times d}\) i.i.d.standard normal, \[\tilde{X} = \frac{1}{\sqrt{\tilde{N}}}\tilde{Z}D_{\tilde{X}}^{1/2}V^\top.\]
Note that \(X^\top X=\sum_{i=1}^N x_i x_i^\top\). Since the \(x_i\) are i.i.d.with \(\mathbb{E}[x_i x_i^\top]=\Sigma_X\), \[\mathbb{E}[X^\top X]=\sum_{i=1}^N \mathbb{E}[x_i x_i^\top]=N\Sigma_X=G_X.\] The same argument gives \(\mathbb{E}[\tilde{X}^\top \tilde{X}]=\tilde{N}\Sigma_{\tilde{X}}=G_{\tilde{X}}\).
For the second result, we have that \[X^\top X - G_X = VD_X^{1/2}\left(\frac{1}{N} Z^\top Z - I_d\right)D_X^{1/2}V^\top.\] Taking operator norms and using \(\|VAV^\top\|_{2}=\|A\|_{2}\) for orthogonal \(V\), \[\begin{align} \|X^\top X-G_X\|_{2}=\left\|D_X^{1/2}\left(\frac{1}{N} Z^\top Z - I_d\right)D_X^{1/2}\right\|_{2}\le \|D_X^{1/2}\|_{2}^2\left\|\frac{1}{N} Z^\top Z - I_d\right\|_{2}= \|G_X\|_{2}\left\|\frac{1}{N} Z^\top Z - I_d\right\|_{2}. \end{align}\]
The Bernstein inequality for Gaussian random matrices states that there exist universal constants \(c,C>0\) such that for all \(t\ge 0\), \[P\bigg(\bigg\|\frac{1}{N} Z^\top Z - I_d\bigg\|_{2} \le C\bigg(\sqrt{\frac{d+t}{N}}+\frac{d+t}{N}\bigg)\bigg)\ge 1-2e^{-ct}.\] Combining this with the inequality of \(\|X^\top X-G_X\|_{2}\) yields \[P\left(\|X^\top X-G_X\|_{2} \le C\|G_X\|_{2}\left(\sqrt{\frac{d+t}{N}}+\frac{d+t}{N}\right)\right)\ge 1-2e^{-ct}.\] The same argument gives the bound for \(\tilde{X}\).
For the third result, if \(r<d\), then \(D_X\) has exactly \(r\) positive diagonal entries, hence \(\mathrm{rank}(D_X)=r\) and \(\mathrm{rank}(\Sigma_X)=\mathrm{rank}(G_X)=r\). Moreover, from the explicit representation \(x_i = \frac{1}{\sqrt N} V D_X^{1/2} z_i\), we have \(D_X^{1/2}z_i\in\mathbb{R}^d\) supported on the first \(r\) coordinates, so \(x_i\in \mathrm{range}(V_r)\) almost surely, where \(V_r\) consists of the first \(r\) columns of \(V\). This proves the last claim. ◻
We first calculate the covariance of \(Y\). In fact, we have that \[\begin{align} &\Var(y_i ) = \Var(x_i^\top \theta_i + \epsilon_i ) = \Var(x_i^\top \theta_i) + \Var(\epsilon_i)= \|x_i\|_{\Sigma_\theta}^2 + \sigma_\epsilon^2,\text{ and } & \Cov(y_i,y_j ) = 0 \text{ for }i\neq j. \end{align}\] Thus, we have that \[\begin{align} \Cov(Y) = \Omega = \sigma_\epsilon^2 I_N + \operatorname{diag}\big(\|x_1\|_{\Sigma_\theta}^2,\dots,\|x_N\|_{\Sigma_\theta}^2\big). \end{align}\] Now the covariance of \(\theta_\text{pre}\) is \[\begin{align} \Cov(\theta_\text{pre}) = \Cov\big((X^\top X)^\dagger X^\top Y \big) = (X^\top X)^\dagger X^\top \Cov(Y) X \big((X^\top X)^\dagger X^\top\big)^\top = \Sigma_\text{pre}. \end{align}\]
Given the prior \(\theta\sim \calN(\mu,\Sigma)\) and the data \((\tilY,\tilX)\) generated \(\theta^{*}\) from \(\calN(\mu,\Sigma)\) according to 3 , the posterior of \(\theta\) is \(\calN(\theta_{\text{ICL}},\Sigma_{\text{ICL}})\), which is defined as \[\begin{align} \theta_{\text{ICL}} &= \mu + \Sigma\tilX^{\top} (\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}(\tilY-\tilX\mu),\nonumber\\ \Sigma_{\text{ICL}} & = \Sigma - \Sigma\tilX^{\top} (\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}\tilX\Sigma. \end{align}\]
Proof. We prove this via direct calculations. Define \(u = \theta - \mu\) and \(v = \tilY-\tilX\mu\). The projection matrix of \(\text{col}(\Sigma)\) is \(\Pi=\Sigma\Sigma^{\dagger}\). Then we have that \[\begin{align} p(u)\propto \exp\bigg(-\frac{1}{2}u^{\top}\Sigma^{\dagger}u\bigg)\text{ for }u\in\text{col}(\Sigma), \quad p(v\given u)\propto \exp\bigg(-\frac{1}{2\tilde{\sigma}^2}\| v-\tilX u\|^2\bigg). \end{align}\] Thus, we have that \[\begin{align} p(u\given \tilX,\tilY)& \propto \exp\bigg(-\frac{1}{2}\big[u^{\top}(\Sigma^{\dagger}+\tilde{\sigma}^{-2}\tilX^{\top}\tilX)u-2\tilde{\sigma}^{-2}v^{\top}\tilX u\big]\bigg)\cdot\bbI\{u\in\text{col}(\Sigma)\}\\ & = \exp\bigg(-\frac{1}{2}\big[u^{\top}(\Sigma^{\dagger}+\tilde{\sigma}^{-2}\Pi\tilX^{\top}\tilX \Pi)u-2\tilde{\sigma}^{-2}v^{\top}\tilX \Pi u\big]\bigg)\cdot\bbI\{u\in\text{col}(\Sigma)\}, \end{align}\] where we use the property that \(\Pi u=u\) for \(u\in\text{col}(\Sigma)\). For the vector \(u\notin\text{col}(\Sigma)\), we define that \[\begin{align} p(u\given \tilX,\tilY) = p(\Pi u\given \tilX,\tilY). \end{align}\] Then we have that \[\begin{align} \Sigma_{\text{ICL}} & = (\Sigma^{\dagger}+\tilde{\sigma}^{-2}\Pi\tilX^{\top}\tilX \Pi)^{\dagger} \\ \theta_{\text{ICL}} & = \mu+ \tilde{\sigma}^{-2}\Sigma_{\text{ICL}} \Pi\tilX^{\top}(\tilY-\tilX\mu). \end{align}\] In the following, we just show that these two results are equal to the results in Proposition [prop:icl]. For \(\theta_{\text{ICL}}\), we only need to show that \[\begin{align} \Sigma_{\text{ICL}}^{\dagger}\Sigma\tilX^{\top} (\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}(\tilY-\tilX\mu)= \tilde{\sigma}^{-2}\Pi\tilX^{\top}(\tilY-\tilX\mu). \end{align}\] Define \(A=\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN}\). Then we have that \[\begin{align} &\Sigma_{\text{ICL}}^{\dagger}\Sigma\tilX^{\top} (\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}(\tilY-\tilX\mu)\\ &\quad = (\Sigma^{\dagger}+\tilde{\sigma}^{-2}\Pi\tilX^{\top}\tilX \Pi)\Sigma\tilX^{\top}A^{-1}v\\ &\quad = \Pi\tilX^{\top}(A^{-1}+\tilde{\sigma}^{-2}\tilX\Sigma\tilX^{\top}A^{-1})v\\ &\quad = \tilde{\sigma}^{-2}\Pi\tilX^{\top}(\tilY-\tilX\mu), \end{align}\] where the second equality uses the facts that \(\Pi=\Sigma\Sigma^{\dagger}\) and \(\Pi\Sigma=\Sigma\). To prove the results of \(\Sigma_{\text{ICL}}\), we define that \[\begin{align} S = \Sigma - \Sigma\tilX^{\top}A^{-1}\tilX\Sigma, A=\tilX \Sigma \tilX^{\top}+\tilde{\sigma}^2 I_{\tilN}. \end{align}\] Then we only need to prove that \[\begin{align} (\Sigma^{\dagger}+\tilde{\sigma}^{-2}\Pi\tilX^{\top}\tilX \Pi)S=\Pi. \end{align}\] In fact, we have that \[\begin{align} (\Sigma^{\dagger}+\tilde{\sigma}^{-2}\Pi\tilX^{\top}\tilX \Pi)S = \Pi + \Pi\tilX^{\top}\big[\tilde{\sigma}^{-2}I_{\tilN}-A^{-1}-\tilde{\sigma}^{-2}\tilX\Sigma\tilX^{\top}A^{-1}\big]\tilX\Sigma, \end{align}\] where we use the facts that \(\Pi=\Sigma\Sigma^{\dagger}\) and \(\Pi\Sigma=\Sigma\). It is easy to see that \[\begin{align} \tilde{\sigma}^{-2}I_{\tilN}-A^{-1}-\tilde{\sigma}^{-2}\tilX\Sigma\tilX^{\top}A^{-1}=0. \end{align}\] Thus, we conclude the proof of Proposition [prop:icl]. ◻
We first derive the closed form for the sft estimator. The loss is \[\begin{align} J(\theta) = \frac{1}{\tilde{\sigma}^2}\|\tilde{Y}-\tilde{X}\theta\|_2^2 + \lambda \|\theta-\theta_{\text{pre}}\|^2_{\Sigma_{\text{pre}}^\dagger} = \frac{1}{\tilde{\sigma}^2}\|\tilde{Y}-\tilde{X}\theta\|_2^2 + \lambda (\theta-\theta_{\text{pre}})^\top\Sigma_{\text{pre}}^\dagger(\theta-\theta_{\text{pre}}). \end{align}\] Setting \(\nabla_\theta J(\theta)=0\) gives the normal equations \[\begin{align} -\frac{2}{\tilde{\sigma}^2}\tilde{X}^\top(\tilde{Y}-\tilde{X}\theta) + 2\lambda \Sigma_{\text{pre}}^\dagger(\theta-\theta_{\text{pre}}) = 0. \end{align}\] Define \[\begin{align} A = \frac{1}{\tilde{\sigma}^2}\tilde{X}^\top\tilde{X}+\lambda \Sigma_{\text{pre}}^\dagger, \qquad b = \frac{1}{\tilde{\sigma}^2}\tilde{X}^\top\tilde{Y} + \lambda \Sigma_{\text{pre}}^\dagger\theta_{\text{pre}}. \end{align}\] Using the Moore–Penrose pseudoinverse, the SFT solution is \(\theta_{\text{SFT}} = A^\dagger b.\) Then we calculate the covariance of it as \[\begin{align} \Cov(\theta_{\text{SFT}}) &= A^\dagger\Cov\Big(\lambda \Sigma_{\text{pre}}^\dagger\theta_{\text{pre}} + \frac{1}{\tilde{\sigma}^2}\tilde{X}^\top\tilde{\epsilon}\Big)A^\dagger = A^\dagger\left(\lambda^2\Sigma_{\text{pre}}^\dagger + \frac{1}{\tilde{\sigma}^2}\tilde{X}^\top\tilde{X}\right)A^\dagger. \end{align}\]
We first state the full version of Theorem 1.
Theorem 7 (Error Analyses of pretraining, icl and sft). Under Assumptions 1 and 2, when sft and icl use data \((\tilX,\tilY)\) generated according to 3 , the mean-squared errors of pretraining, sft, and icl are given as follows. \[\begin{align} E_{\text{pre}} &= \underbrace{\sum_{i=1}^{d}\tau_i}_{\text{task var.}} + \underbrace{\sum_{i=1}^{r} (v_i^{\top}\mu_\theta)^2}_{\text{task mismatch}}+ \underbrace{\sum_{i=1}^{r}\bar{\sigma}^2\pi_i^{-1}}_{\text{algo. var.}}+ \underbrace{\sum_{i=1}^{r}\bar{\sigma}^2\pi_i^{-1}}_{\text{uncertainty}}=\sum_{i=1}^{d}E_{\text{pre},i} \\ E_{\text{ICL}} & = \sum_{i=1}^{r}\bigg[\alpha_{i}^2\cdot \underbrace{\big(\tau_i+(v_i^{\top}\mu_\theta)^2+\bar{\sigma}^2\pi_i^{-1}\big)}_{\text{pretraining err. w/o uncertainty}}+ \underbrace{\frac{\tilde{\sigma}^2\bar{\sigma}^4s_i}{(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)^2}}_{\text{data noise}}+\underbrace{\frac{\tilde{\sigma}^2\bar{\sigma}^2}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}}_{\text{\ac{icl} uncertainty}}\bigg] +\underbrace{\sum_{i=r+1}^{d}\tau_i}_{\text{task var.}}\\ E_{\text{SFT}}^{\lambda} &= \sum_{i=1}^{r}\bigg[ (1-\beta_{i}^{2})\underbrace{\big(\tau_i+(v_i^{\top}\mu_\theta)^2+2\bar{\sigma}^2\pi_i^{-1}\big)}_{\text{pretraining err.}} +\beta_{i}^{2} \big(\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{LS var.}}+\!\!\!\!\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{\ac{sft} uncertainty}}\!\!\!\!\!\! \big)\bigg]+\sum_{i=r+1}^{d} \big(\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{LS var.}}+\!\!\!\underbrace{\tilde{\sigma}^2s_{i}^{-1}}_{\text{\ac{sft} uncertainty}}\!\!\!\!\!\!\!\big), \end{align}\] Here \(\bar{\sigma}^2 = \sigma^2 + c^2\) denotes the effective variance in pretraining, combining the observation noise variance \(\sigma^2\) and the input power \(c^2\). The coefficients \(\{\alpha_i\}_{i=1}^r\) for icl and \(\{\beta_i\}_{i=1}^r\) for sft are given by \[\begin{align} \alpha_i = \frac{\tilde{\sigma}^2\pi_i}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}, \qquad \beta_i = \frac{\bar{\sigma}^{2}s_i}{\bar{\sigma}^{2}s_i+\lambda \tilde{\sigma}^2\pi_i}, \quad i\in[r]. \end{align}\]
In this section, we present the proof of this full version of Theorem 1, i.e., the error analysis of pretraining, sft, and icl. We denote the svd of \(\tilX\) is \(\tilX= U\Sigma_{\tilX} V^{\top}\). The singular values \(\Sigma_{\tilX}\) satisfy that \(\Sigma_{\tilX}^{\top}\Sigma_{\tilX} = S\).
Error Analysis of Pretraining. For pretraining, we have that \(\htheta_\text{pre}= \theta_\text{pre}+ \omega_\text{pre}\), where \(\omega_\text{pre}\sim\calN(0,\Sigma_{\text{pre}})\). The covariance \(\Sigma_\text{pre}\) is calculated as \[\begin{align} \Sigma_\text{pre}= (\sigma^2+c^2)(X^\top X)^{\dagger} X^\top X (X^\top X)^{\dagger} = (\sigma^2+c^2)(X^\top X)^{\dagger}.\label{eq:pre95sigma} \end{align}\tag{11}\] In the following, we define \(\bar{\sigma}^2 = \sigma^2+c^2\). Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{pre}-\theta^*\|^2\big] = \bbE\big[\|\theta_\text{pre}-\theta^*\|^2\big]+\tr(\Sigma_\text{pre})=\bbE\big[\|\theta_\text{pre}-\theta^*\|^2\big]+\bar{\sigma}^2\sum_{i=1}^{r}\pi_i^{-1}.\label{eq:pre95err} \end{align}\tag{12}\] For the first term in the right-hand side of 12 , we adopt Proposition [prop:uni95err] with \(m_\text{pre}=\theta_\text{pre}\) and \(K_\text{pre}=0\) to derive \[\begin{align} \bbE\big[\|\theta_\text{pre}-\theta^{*}\|^2\big]= \tr\Big(\Sigma^*+\Sigma_\text{pre}+\mu_m\mu_m^\top\Big), \end{align}\] where we utilize the fact that \(\Sigma_m=\Cov(\theta_\text{pre})=\Sigma_\text{pre}\) proved in Appendix 9.2, and the expectation of the pretraining model \(\mu_m=\bbE[\theta_\text{pre}]\) is \[\begin{align} \bbE\big[(X^\top X)^{\dagger} X^\top Y\big]=\bbE\big[(X^\top X)^{\dagger} \sum_{i=1}^{N}x_i(x_i^{\top}\theta_i+\epsilon_i)\big] = (X^\top X)^{\dagger} X^\top X\mu_\theta.\label{eq:mean95pre} \end{align}\tag{13}\] Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{pre}-\theta^*\|^2\big] = \sum_{i=1}^{d}\tau_i+ 2\bar{\sigma}^2\sum_{i=1}^{r}\pi_i^{-1} + \sum_{i=1}^{r} (v_i^{\top}\mu_\theta)^2 \end{align}\]
Error Analysis of sft. For sft, we have that \(\htheta_\text{SFT}= \theta_\text{SFT}+ \omega_\text{SFT}\), where \(\omega_\text{SFT}\sim\calN(0,\Sigma_{\text{SFT}})\). Define \(\Pi=\mathrm{diag}(\pi_1,\cdots,\pi_r,0,\cdots,0), S= \mathrm{diag}(s_1,\cdots,s_d)\). The covariance \(\Sigma_\text{SFT}\) is calculated as \[\begin{align} &\bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX+\lambda \Sigma_{\text{pre}}^{\dagger}\bigg)^{\dagger}\cdot\bigg(\lambda^2\Sigma_{\text{pre}}^\dagger +\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX\bigg)\cdot\bigg(\frac{1}{\tilde{\sigma}^2}\tilX^{\top}\tilX+\lambda \Sigma_{\text{pre}}^{\dagger} \bigg)^{\dagger}\\ & = \big(\tilde{\sigma}^{-2} VSV^{\top}+\lambda\bar{\sigma}^{-2} V\Pi V^{\top}\big)^{\dagger}\cdot \big(\tilde{\sigma}^{-2} VSV^{\top}+\lambda^2\bar{\sigma}^{-2} V\Pi V^{\top}\big)\cdot\big(\tilde{\sigma}^{-2} VSV^{\top}+\lambda\bar{\sigma}^{-2} V\Pi V^{\top}\big)^{\dagger}\\ & = V \big(\tilde{\sigma}^{-2} S+\lambda\bar{\sigma}^{-2} \Pi\big)^{\dagger}\cdot \big(\tilde{\sigma}^{-2} S+\lambda^2\bar{\sigma}^{-2} \Pi \big)\cdot \big(\tilde{\sigma}^{-2} S+\lambda\bar{\sigma}^{-2} \Pi\big)^{\dagger} V^{\top}, \end{align}\] where the first equality results from Assumption 1 and 11 . Thus, we have that \[\begin{align} \tr(\Sigma_\text{SFT}) = \sum_{i=1}^{r}\frac{\tilde{\sigma}^{-2}s_i+\lambda^2 \bar{\sigma}^{-2}\pi_i}{(\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i)^2}+\sum_{i=r+1}^{d} \tilde{\sigma}^{2}s_i^{-1}.\label{eq:sft95uncertain} \end{align}\tag{14}\] Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{SFT}-\theta^*\|^2\big] = \bbE\big[\|\theta_\text{SFT}-\theta^*\|^2\big]+\sum_{i=1}^{r}\frac{\tilde{\sigma}^{-2}s_i+\lambda^2 \bar{\sigma}^{-2}\pi_i}{(\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i)^2}+\sum_{i=r+1}^{d} \tilde{\sigma}^{2}s_i^{-1}.\label{eq:sft95err} \end{align}\tag{15}\] For the first term of the right-hand side of 15 , we adopt Proposition [prop:uni95err] with \(m_\text{SFT}=\theta_\text{pre}\) and \(K_\text{SFT}=\tilde{\sigma}^{-2}(\tilde{\sigma}^{-2}\tilX^{\top}\tilX+\lambda \Sigma_{\text{pre}}^{\dagger} )^{\dagger}\tilX^{\top}\). Then we have that \[\begin{align} \bbE\big[\|\theta_{\text{SFT}}-\theta^{*}\|^2\big]= \tr\Big((I-K_{\text{SFT}}\tilX)\big(\Sigma^*+\Sigma_m+\mu_m\mu_m^\top\big)(I-K_{\text{SFT}}\tilX)^\top\Big) +\tilde{\sigma}^2\tr(K_{\text{SFT}}^\top K_{\text{SFT}}). \end{align}\] In the following, we calculate the value of each term. For the last term, we have that \[\begin{align} \tr(K_\text{SFT}^{\top}K_\text{SFT})= \tilde{\sigma}^{-4}\tr\big((\tilde{\sigma}^{-2}S+\lambda \bar{\sigma}^{-2}\Pi)^{-2}S\big)=\sum_{i=1}^{r}\frac{\tilde{\sigma}^{-4} s_i}{(\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i)^2} +\sum_{i=r+1}^{d}s_i^{-1}. \end{align}\] For the first three terms, we have that \[\begin{align} K_{\text{SFT}}\tilde{X} = \tilde{\sigma}^{-2}V(\tilde{\sigma}^{-2}S+\lambda \bar{\sigma}^{-2}\Pi)^{-1}SV^{\top}. \end{align}\] Thus, we have that \[\begin{align} \tr\big((I-K_{\text{SFT}}X)\Sigma^{*}(I-K_{\text{SFT}}X)\big)&=\sum_{i=1}^{r} \bigg(\frac{\lambda \bar{\sigma}^{-2}\pi_i}{\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i}\bigg)^2\tau_i\\ \tr\big((I-K_{\text{SFT}}X)\Sigma_{m}(I-K_{\text{SFT}}X)\big)&=\sum_{i=1}^{r} \bigg(\frac{\lambda \bar{\sigma}^{-2}\pi_i}{\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i}\bigg)^2\bar{\sigma}^2\pi_i^{-1}\\ \tr\big((I-K_{\text{SFT}}X)\mu_{m}\mu_{m}^{\top}(I-K_{\text{SFT}}X)\big)&=\sum_{i=1}^{r} \bigg(\frac{\lambda \bar{\sigma}^{-2}\pi_i}{\tilde{\sigma}^{-2}s_i+\lambda \bar{\sigma}^{-2}\pi_i}\bigg)^2(v_i\mu_\theta)^2. \end{align}\] Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{SFT}-\theta^*\|^2\big] = \sum_{i=1}^{r} \frac{2\tilde{\sigma}^2\bar{\sigma}^4s_i + \lambda^2 \tilde{\sigma}^4\pi_i^{2}\big(\tau_i+ 2\bar{\sigma}^2\pi_i^{-1}+(v_i\mu_\theta)^2\big)}{(\bar{\sigma}^2 s_i + \lambda \tilde{\sigma}^2\pi_i)^2}+2\sum_{i=r+1}^{d} \tilde{\sigma}^2s_{i}^{-1} \end{align}\] Substituting the coefficients \(\{\beta_i\}_{i=1}^{r}\) from Theorem 1 into the expression for \(E_{\text{SFT}}^{\lambda}\) yields the same expression as above.
Error Analysis of icl. For icl, we have that \(\htheta_\text{ICL}= \theta_\text{ICL}+ \omega_\text{ICL}\), where \(\omega_\text{ICL}\sim\calN(0,\Sigma_{\text{ICL}})\). The covariance \(\Sigma_\text{ICL}\) is calculated as \[\begin{align} &\Sigma_\text{pre}- \Sigma_\text{pre}\tilX^{\top} (\tilX \Sigma_\text{pre}\tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}\tilX\Sigma_\text{pre}\nonumber\\ &\quad = \bar{\sigma}^2 V\Pi^{\dagger}V^{\top} - \bar{\sigma}^2V\Pi^{\dagger}V^{\top} V\Sigma_{\tilX}^{\top} U^{\top}\Big(\bar{\sigma}^2U\Sigma_{\tilX} V^{\top}V\Pi^{\dagger}V^{\top} V\Sigma_{\tilX}^{\top} U^{\top}+\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}U\Sigma_{\tilX} V^{\top}\bar{\sigma}^2 V\Pi^{\dagger}V^{\top}\nonumber\\ &\quad = \bar{\sigma}^2 V\Pi^{\dagger}V^{\top} - \bar{\sigma}^4 V\Pi^{\dagger}\Sigma_{\tilX}^{\top}\Big(\bar{\sigma}^2\Sigma_{\tilX}\Pi^{\dagger}\Sigma_{\tilX}^{\top} +\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}\Sigma_{\tilX}\Pi^{\dagger}V^{\top},\label{eq:icl95sigma} \end{align}\tag{16}\] where the first equality results from Assumption 1. Thus, we have that \[\begin{align} \tr(\Sigma_{\text{ICL}}) = \sum_{i=1}^{r}\frac{\tilde{\sigma}^2\bar{\sigma}^2}{\bar{\sigma}^2 s_i+\tilde{\sigma}^2\pi_i}. \end{align}\] Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{ICL}-\theta^*\|^2\big] = \bbE\big[\|\theta_\text{ICL}-\theta^*\|^2\big]+\tr(\Sigma_\text{ICL})=\bbE\big[\|\theta_\text{ICL}-\theta^*\|^2\big]+\sum_{i=1}^{r}\frac{\tilde{\sigma}^2\bar{\sigma}^2}{\bar{\sigma}^2 s_i+\tilde{\sigma}^2\pi_i}.\label{eq:icl95err} \end{align}\tag{17}\] For the first term of the right-hand side of 17 , we adopt Proposition [prop:uni95err] with \(m_\text{ICL}=\theta_\text{pre}\) and \(K_\text{ICL}=\Sigma_\text{pre}\tilX^{\top} (\tilX \Sigma_\text{pre}\tilX^{\top}+\tilde{\sigma}^2 I_{\tilN})^{-1}\) and have that \[\begin{align} \bbE\big[\|\theta_\text{ICL}-\theta^{*}\|^2\big]= \tr\Big((I-K_\text{ICL}\tilX)\big(\Sigma^*+\Sigma_m+\mu_m\mu_m^\top\big)(I-K_\text{ICL}\tilX)^\top\Big) +\tilde{\sigma}^2\tr(K_\text{ICL}^\top K_\text{ICL})\label{eq:icl95err95decomp} \end{align}\tag{18}\] According to 13 and Appendix 9.2, we have that \[\begin{align} \mu_m=\bbE[\theta_\text{pre}]= (X^\top X)^{\dagger} X^\top X\mu_\theta, \quad \Sigma_m=\Cov(\theta_\text{pre})=\Sigma_\text{pre}. \end{align}\] To calculate the value of the four terms in the right-hand side of 18 , we first simplify the \(K_\text{ICL}\) as \[\begin{align} K_\text{ICL}&= \bar{\sigma}^2V\Pi^{\dagger}V^{\top} V\Sigma_{\tilX}^{\top} U^{\top}\Big(\bar{\sigma}^2U\Sigma_{\tilX} V^{\top}V\Pi^{\dagger}V^{\top} V\Sigma_{\tilX}^{\top} U^{\top}+\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}\\ &= \bar{\sigma}^2V\Pi^{\dagger}\Sigma_{\tilX}^{\top}\Big(\bar{\sigma}^2\Sigma_{\tilX} \Pi^{\dagger}\Sigma_{\tilX}^{\top} +\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}U^{\top} \end{align}\] Then we have that \[\begin{align} \tr(K_\text{ICL}^{\top}K_\text{ICL}) = \sum_{i=1}^{r}\frac{\bar{\sigma}^4 s_i \pi_i^{-2}}{(\tilde{\sigma}^2+\bar{\sigma}^2 s_i\pi_i^{-1})^2}=\sum_{i=1}^{r}\frac{\bar{\sigma}^4 s_i }{(\tilde{\sigma}^2\pi_i+\bar{\sigma}^2 s_i)^2}.\label{eq:icl95KK} \end{align}\tag{19}\] The value \(K_\text{ICL}\tilX\) can be simplified as \[\begin{align} K_\text{ICL}\tilX &= \bar{\sigma}^2V\Pi^{\dagger}\Sigma_{\tilX}^{\top}\Big(\bar{\sigma}^2\Sigma_{\tilX} \Pi^{\dagger}\Sigma_{\tilX}^{\top} +\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}U^{\top}U\Sigma_{\tilX} V^{\top}\nonumber\\ & = \bar{\sigma}^2V\Pi^{\dagger}\Sigma_{\tilX}^{\top}\Big(\bar{\sigma}^2\Sigma_{\tilX} \Pi^{\dagger}\Sigma_{\tilX}^{\top} +\tilde{\sigma}^2 I_{\tilN}\Big)^{-1}\Sigma_{\tilX} V^{\top}. \end{align}\] Then we have that \[\begin{align} \tr\Big((I-K_\text{ICL}\tilX)\Sigma^*(I-K_\text{ICL}\tilX)^\top\Big)&=\sum_{i=1}^{r}\bigg(1- \frac{\bar{\sigma}^2\pi_i^{-1}s_i}{\bar{\sigma}^2\pi_i^{-1}s_i+\tilde{\sigma}^2}\bigg)^2\tau_i +\sum_{i=r+1}^{d}\tau_i \nonumber\\ &= \sum_{i=1}^{r}\bigg(\frac{\tilde{\sigma}^2 \pi_i}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}\bigg)^2\tau_i +\sum_{i=r+1}^{d}\tau_i, \tag{20} \\ \tr\Big((I-K_\text{ICL}\tilX)\Sigma_m(I-K_\text{ICL}\tilX)^\top\Big)& =\sum_{i=1}^{r}\bigg(1- \frac{\bar{\sigma}^2\pi_i^{-1}s_i}{\bar{\sigma}^2\pi_i^{-1}s_i+\tilde{\sigma}^2}\bigg)^2\bar{\sigma}^2\pi_i^{-1} \nonumber\\ &= \sum_{i=1}^{r}\bigg(\frac{\tilde{\sigma}^2 \pi_i}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}\bigg)^2\bar{\sigma}^2\pi_i^{-1}\tag{21}\\ \tr\Big((I-K_\text{ICL}\tilX)\mu_m\mu_m^\top(I-K_\text{ICL}\tilX)^\top\Big)& =\sum_{i=1}^{r}\bigg(\frac{\tilde{\sigma}^2 \pi_i}{\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i}\bigg)^2(v_i^\top \mu_\theta)^2\tag{22}. \end{align}\] Combining 18 , 19 , 20 , 21 , 22 , we have that \[\begin{align} \bbE\big[\|\theta_\text{ICL}-\theta^{*}\|^2\big]= \sum_{i=1}^{r} \frac{\tilde{\sigma}^4 \pi_i^2\big(\tau_i+\bar{\sigma}^2\pi_i^{-1}+(v_i^\top \mu_\theta)^2\big)+\tilde{\sigma}^2\bar{\sigma}^4s_i}{(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)^2}+\sum_{i=r+1}^{d}\tau_i. \end{align}\] Thus, we have that \[\begin{align} \bbE\big[\|\htheta_\text{ICL}-\theta^*\|^2\big] = \sum_{i=1}^{r} \frac{\tilde{\sigma}^4 \pi_i^2\big(\tau_i+\bar{\sigma}^2\pi_i^{-1}+(v_i^\top \mu_\theta)^2\big)+\tilde{\sigma}^2\bar{\sigma}^4s_i+\tilde{\sigma}^2\bar{\sigma}^2(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)}{(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)^2}+\sum_{i=r+1}^{d}\tau_i. \end{align}\] Substituting the coefficients \(\{\alpha_i\}_{i=1}^{r}\) from Theorem 1 into the expression for \(E_{\text{ICL}}\) yields the same expression as above.
we first prove the existence of the equilibrium and then prove the uniqueness of the congestion level at equilibirum.
Proof of the Existence of Equilibrium
To prove the existence of equilibrium, we first show that there exists \(R^{*}\) satisfying some fixed-point equation. Then we show that a equilibrium can be constructed from \(R^{*}\). We define the fixed-point equation of \(R^{*}\) as follows. For a given type \(t\) and congestion level \(R\), we first define the congestion level of the optimal actions and the corresponding convex hull as \[\begin{align} D(t,R)=\big\{R_a\tilN\given (a,\tilN)\in\mathrm{BR}(t,R)\big\}, \text{ and }\hatD(t,R)=\mathrm{co}\,D(t,R), \text{ respectively.} \end{align}\] We call \(\hatD(t,R)\) the attainable demand for type \(t\) at the congestion level \(R\). Then the aggregate attainable demand correspondence is the Aumann integral \[\label{eq:Aumann} \barD(R)=\int_{\calT}\hatD(t,R)\,T(\rmd t) =\bigg\{\int_{\calT} d(t)\,T(\rmd t)\,\bigg |\, d(t)\;\text{measurable and } d(t)\in \hatD(t,R)\;\text{for a.e.\;}t\bigg\}.\tag{23}\] Our proofs proceed in five steps.
Checking the plausibility of \(\barD(R)\) definition.
Restricting the domain of the fixed-point of \(\barD(R)\).
Building the properties of \(\barD(R)\).
Applying the fixed-point theorem to \(\barD(R)\).
Constructing equilibrium from the fixed point of \(\barD(R)\).
Step 1: Checking the plausibility of \(\barD(R)\) definition.
We will first show that \(\barD(R)\) is well-defined, i.e., \(\barD(R)\) is not an empty set. We achieve this by proving that
The set \(\hatD(t,R)\) is non-empty for any \(t\) and \(R\).
We can find a measurable selection \(d(t)\in\hatD(t,R)\), i.e., \(\barD(R)\) is non-empty.
For the non-emptiness of \(\hatD(t,R)\), we will show that \(\mathrm{BR}(t,R)\) is non-empty and compact. Fix \(t\in\calT\), \(R\in[0,\barR]\), and any \(\tilN_0>0\). For each \(a\in\calA\) there exists \(K_a(t,R)>0\) such that \[\begin{align} E_a(t,\tilN)+R_a\tilN \barh(R,p)\;\ge\;E_a(t,\tilN_0)+R_a\tilN_0 \barh(R,p)+1 \quad\text{for all }\tilN\ge K_a(t,R). \end{align}\] Here \(K_a(t,R)\) can be explicitly constructed as \[\begin{align} K_a(t,R) = \frac{E_a(t,\tilN_0)+1}{R_a \cdot\big(h(0)+p\big)}+\tilN_0. \end{align}\] For \(a=\text{SFT}\), there also exists \(\varepsilon(t,R)>0\) such that \[\begin{align} E_{\text{SFT}}(t,\tilN)+R_{\text{SFT}}\tilN \barh(R,p)\;\ge\;E_{\text{SFT}}(t,\tilN_0)+R_{\text{SFT}}\tilN_0 \barh(R,p)+1 \quad\text{for all }\tilN\in(0,\varepsilon(t,R)]. \end{align}\] Here \(\varepsilon(t,R)\) can be explicitly constructed as \[\begin{align} \varepsilon(t,R) = \bigg(\frac{2(d-r)\tilde{\sigma}^2}{E_{\text{SFT}}(t,\tilN_0)+R_{\text{SFT}}\tilN_0 \barh(R,p)+1}\bigg)^{1/\alpha}. \end{align}\] Therefore, minimizing over \(\bar{\calA}\) is equivalent to minimizing over the compact set \[\begin{align} \bar{\calA}(t,R)=\Big\{(\text{SFT},\tilN)\given\tilN\in\big[\varepsilon(t,R),K_{\text{SFT}}(t,R)\big]\Big\}\cup \Big\{(\text{ICL},\tilN)\given\tilN\in\big[0,K_{\text{ICL}}(t,R)\big]\Big\}. \end{align}\]
Note that the map \((a,\tilN)\mapsto C(t,(a,\tilN),R)\) is continuous on \(\bar{\calA}(t,R)\) (it is continuous in \(\tilN\) on each branch \(a\), and \(a\) ranges over a finite set), and that a continuous function on a compact set attains its minimum. Thus, \(\mathrm{BR}(t,R)\) is nonempty. Moreover, since \(\mathrm{BR}(t,R)\) is the set of minimizers of a continuous function over a compact set, it is compact.
Then we show that we can find a measurable selection \(d(t)\in\hatD(t,R)\). We will prove that the maps \(t\mapsto \inf \hatD(t,R)\), and \(t\mapsto \sup \hatD(t,R)\) are measurable for each fixed \(R\). Since \(\hatD(t,R)=\mathrm{co}\,D(t,R)\) and that \[\begin{align} \inf(\mathrm{co}\,D(t,R))=\inf D(t,R), \qquad \sup(\mathrm{co}\,D(t,R))=\sup D(t,R), \end{align}\] it suffices to show \(t\mapsto \inf D(t,R)\) is measurable. Since the map \((t,\tilN)\mapsto E_a(t,\tilN)\) is jointly measurable for each \(a\), \((t,a,\tilN)\mapsto C(t,(a,\tilN),R)\) is jointly measurable for any \(R\). Define the minimum value \[\begin{align} m(t,R) = \inf_{(a,\tilN)\in\calA}C(t,(a,\tilN),R). \end{align}\] Because \(C\) is jointly measurable and \(\bar{\calA}\) is a Borel set, the map \(t\mapsto m(t,R)\) is measurable for any \(R\). Thus, the graph \(\mathrm{Gr}(R)=\{(t,a,\tilN): C(t,(a,\tilN),R)=m(t,R)\}\) for any \(R\). This results in the measurability of \(\inf D(t,R)\) by noting that \[\begin{align} \inf D(t,R)=\inf\{R_a\tilN \given (t,a,\tilN)\in \mathrm{Gr}(R)\}. \end{align}\] The proof for \(t\mapsto \sup D(t,R)\) is identical. Therefore, the extremal selections \(t\mapsto \inf \hatD(t,R)\) and \(t\mapsto \sup \hatD(t,R)\) are measurable. Thus, \(\barD(R)\) is non-empty.
Step 2: Restricting the domain of the fixed-point of \(\barD(R)\).
We first prove the following lemma.
Lemma 1 (Uniform bound on best-response demand). There exists a number \(\barR<\infty\) such that for all \(t\in\calT\), all \(R\in[0,\infty)\), and all \((a,\tilN)\in \mathrm{BR}(t,R)\), \[\begin{align} R_a\tilN\le \barR. \end{align}\]
Proof. We define \[\begin{align} M(t)= \sup_{R\in[0,\infty)} S(t,R),\text{ where }S(t,R) =\sup_{(a,\tilN)\in \mathrm{BR}(t,R)}R_a\tilN. \end{align}\] According to Proposition [prop:cvx95func], it is easy to verify that \(E_{a}(t,\tilN)\) is strictly convex and decreasing in \(\tilN\) for any \(a\in\calA\) and \(t\in\calT\). Thus, for any \(a\in\calA\) and \(t\in\calT\), the minimizer \(\tilN^{*}(a,t)\) of \(C(t,(a,\tilN),R)\) is unique and decreasing with increasing \(R\). Thus, we have that \[\begin{align} M(t)= \sup_{R\in[0,\infty)} S(t,R)\leq S(t,0). \end{align}\] Since the minimizers are unique, and \(C(t,(a,\tilN),R)\) are continuous in \(t\), \(S(t,0)\) has its finite maximal value \(\barR\) on \(\calT\), due to the compactness of \(\calT\). Thus, \(M(t)\leq \barR\). ◻
Lemma 1 implies that for any \(R\in[0,\infty)\) and any measurable selection \(d(t)\in\hatD(t,R)\), we have \(0\le d(t)\le \barR\) a.e., hence \[\begin{align} 0\le \int_{\calT} d(t)\,T(\rmd t)\le \barR<\infty. \end{align}\] Then for all \(R\in[0,\infty)\), \[\label{eq:range95inclusion} \barD(R)\subseteq [0,\barR].\tag{24}\] Thus, it suffices to find a fixed point in the compact convex set \(K=[0,\barR]\).
Step 3: Building the properties of \(\barD(R)\).
In this step, we will build three properties of \(\barD(R)\): convexity, compactness, and upper hemicontinuity.
We start with convexity. Convexity of \(\barD(R)\) follows directly: if \(x_i=\int d_i(t)\,T(\rmd t)\in\barD(R)\) for \(i=1,2\), and \(\lambda\in[0,1]\), then \(\lambda d_1(t)+(1-\lambda)d_2(t)\in \hatD(t,R)\) because \(\hatD(t,R)\) is convex for each \(t\). Hence \[\begin{align} \lambda x_1+(1-\lambda)x_2=\int\big(\lambda d_1(t)+(1-\lambda)d_2(t)\big)\,T(\rmd t)\in \barD(R). \end{align}\]
For compactness, we show that \(\barD(R)\) is closed and bounded in \(\mathbb{R}\). Boundedness follows from 24 . For closedness, let \(\{x_n\}\subseteq \barD(R)\) with \(x_n\to x\). For each \(n\) pick a measurable selection \(d_n(t)\in \hatD(t,R)\) such that \(x_n=\int_{\calT} d_n(t)\,T(\rmd t)\). By Lemma 1, \(0\le d_n(t)\le \barR\) a.e.for all \(n\), so \(\{d_n\}\) is uniformly integrable in \(L^1(T)\). By the Komlos’ theorem, there exists a subsequence (not relabeled) and a function \(d\in L^1(T)\) such that \(\bar d_N=\frac{1}{N}\sum_{n=1}^N d_n\) converges a.e.to \(d\) and in \(L^1\). Because each \(\hatD(t,R)\) is convex and closed, \(\bar d_N(t)\in \hatD(t,R)\) for each \(N\) and a.e.\(t\), and taking limits preserves membership: \(d(t)\in \hatD(t,R)\) a.e. Then by \(L^1\) convergence, \[\begin{align} \int_{\calT} d(t)\,T(\rmd t)=\lim_{N\to\infty}\int_{\calT} \bar d_N(t)\,T(\rmd t)=\lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^N x_n=x. \end{align}\] Hence \(x\in \barD(R)\), proving closedness.
For the upper hemicontinuity, it suffices (in \(\mathbb{R}\)) to show that the graph of \(R\mapsto \barD(R)\) is closed: if \(R_n\to R\) and \(x_n\in \barD(R_n)\) with \(x_n\to x\), then \(x\in \barD(R)\). Fix such sequences. For each \(n\), choose a measurable \(d_n(t)\in \hatD(t,R_n)\) such that \(x_n=\int_{\calT} d_n(t)\,T(\rmd t)\). Again \(0\le d_n\le M\) a.e., so by the same Komlos argument, there exists a subsequence and a limit \(d\in L^1(T)\) such that \(\bar d_N\) converges a.e.and in \(L^1\) to \(d\). In the following, we only need to show that \(d(t)\in \hatD(t,R)\) a.e. and \(\int_{\calT} d(t)\,T(\rmd t)=x\).
To prove this claim, note that \(\hatD(t,R)\) is the convex hull of demands induced by minimizers of \(C(t,\cdot,R)\). Because \(C(t,\cdot,R)\) is continuous in \(R\), the objective \(C(t,(a,\tilN);R_n)\) converges pointwise to \(C(t,(a,\tilN),R)\). By standard maximum theorem arguments on each compactified feasible set, the set of minimizers varies upper hemicontinuously, implying that any limit point of minimizer-induced demands at \(R_n\) belongs to the minimizer-induced demand set at \(R\). Convexification and closedness of \(\hatD(t,R)\) then imply that any limit point of convex combinations belongs to \(\hatD(t,R)\). Since \(\bar d_N(t)\) is a convex combination of elements in \(\hatD(t,R_n)\) with varying \(n\), and \(\hatD(t,R)\) is upper hemicontinuous in \(R\), the a.e.limit \(d(t)\) lies in \(\hatD(t,R)\). Finally, \(L^1\) convergence yields \[\begin{align} \int_{\calT} d(t)\,T(\rmd t)=\lim_{N\to\infty}\int_{\calT} \bar d_N(t)\,T(\rmd t)=\lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^N x_n=x. \end{align}\] so \(x\in \barD(R)\), proving closedness of the graph and hence upper hemicontinuity.
Step 4: Applying the fixed-point theorem to \(\barD(R)\).
We have shown:
\(K=[0,\barR]\) is nonempty, compact, convex;
for each \(R\in K\), \(\barD(R)\) is nonempty, compact, convex (Steps 1,3);
\(\barD(R)\subseteq K\) (Step 2);
\(\barD(\cdot)\) is upper hemicontinuous (Step 3).
Therefore, by Kakutani’s fixed point theorem, there exists \(R^{*}\in K\) such that \[\begin{align} R^{*}\in \barD(R^{*}). \end{align}\] By definition of the Aumann integral 23 , there exists a measurable selection \(d^{*}(t)\in \hatD(t,R^{*})\) for a.e. \(t\) such that \[\begin{align} R^{*}=\int_{\calT} d^{*}(t)\,T(\rmd t). \end{align}\]
Step 5: Constructing equilibrium from the fixed point of \(\barD(R)\)
Fix \(t\). Since \(d^{*}(t)\in \hatD(t,R^{*})=\mathrm{co}\,D(t,R^{*})\), there exist (best-response) actions \((a,\tilN_a)\in \mathrm{BR}(t,R^{*})\) and weights \(\lambda_a\ge 0\) with \(\sum_{a\in\calA} \lambda_a=1\) such that \[\begin{align} d^{*}(t)=\sum_{a\in\calA} \lambda_a R_{a}\tilN_a. \end{align}\] Define \(\pi^{*}_t\) as the probability distribution assigning mass \(\lambda_a\) to action \((a,\tilN_a)\). Then \(\pi^{*}_t\) is supported on \(\mathrm{BR}(t,R^{*})\). By construction, the expected demand of type \(t\) under \(\pi^{*}_t\) equals \(d^{*}(t)\), hence \[\begin{align} R(\pi^{*})=\int_{\calT}\bigg(\sum_{a\in\calA}\int_{0}^{\infty} R_a\tilN\,\pi^{*}_t(a,\rmd\tilN))\bigg)\,T(\rmd t) =\int_{\calT} d^{*}(t)\,T(\rmd t)=R^{*}. \end{align}\] Thus \((\pi^{*},R^{*})\) satisfies optimality and consistency, proving existence. Thus, we conclude the proof of this theorem.
Proof of the Congestion-Level Uniqueness of Equilibrium
We first prove the following lemma.
Lemma 2 (Monotonicity of best-response demand). For each \(t\in\calT\) and any \(0\le R_1<R_2\), if we define \(D(t,R)=\{R_a\tilN\given (a,\tilN)\in\mathrm{BR}(t,R)\},\) then \(\sup D(t,R_2) \le \inf D(t,R_1).\)
Proof. Fix a type \(t\). Define the resource demand variable \(r = R_a\tilde{N}.\) For each \(r\ge 0\), we define the minimal statistical error with resource \(r\) as \[\begin{align} g_t(r) =\min_{a\in\{\mathrm{sft},\mathrm{icl}\}} E_{a}\!\left(t,\frac{r}{R_a}\right). \end{align}\] Then the type-\(t\) optimization problem is equivalent to \[\begin{align} \min_{(a,\tilN)\in\bar{\calA}}E_{a}(t,\tilde{N})+ R_a\tilde{N}\, \barh(R,p) = \min_{r\ge 0}\;\big\{ g_t(r)+\barh(R,p)\, r \big\}. \end{align}\] Hence, we have that \[\begin{align} D(t,R)=\arg\min_{r\ge 0}\big\{ g_t(r)+\barh(R,p)r\big\}. \end{align}\]
Let \(R_1<R_2\). Since \(h\) is increasing, we have \(\barh(R_1,p)<\barh(R_2,p).\) Pick arbitrary \[\begin{align} r_1\in D(t,R_1), \qquad r_2\in D(t,R_2). \end{align}\] Optimality of \(r_1\) and \(r_2\) implies \[\begin{align} g_t(r_1)+\barh(R_1,p)r_1 &\le g_t(r_2)+\barh(R_1,p)r_2, \tag{25}\\ g_t(r_2)+\barh(R_2,p)r_2 &\le g_t(r_1)+\barh(R_2,p)r_1. \tag{26} \end{align}\] Adding 25 and 26 and canceling terms yields \[\begin{align} \bigl(\barh(R_2,p)-\barh(R_1,p)\bigr)\,(r_2-r_1)\le 0. \end{align}\] Since \(\barh(R_2,p)>\barh(R_1,p)\), it follows that \(r_2\le r_1.\)
Because the choice of \(r_1\in D(t,R_1)\) and \(r_2\in D(t,R_2)\) was arbitrary, we have \(\sup D(t,R_2)\le \inf D(t,R_1).\) Thus, we conclude the proof of this lemma. ◻
Then we prove the uniqueness as follows. Assume for contradiction that there exist two equilibrium congestion levels \(R_1<R_2\). By the definition of equilibrium with mixed policies, we must have \[\begin{align} R_i\in \barD(R_i)=\int_{\calT}\hatD(t,R_i)\,T(\rmd t)\text{ for }i=1,2, \end{align}\] where \(\hatD(t,R)=\mathrm{co}\,D(t,R)\), and the integral is the Aumann integral. The existence proof has proved that \(\barD(\cdot)\) is well-defined. According to the definition of the Aumann integral, there exist measurable selections \(d_i(t)\in \hatD(t,R_i)\) such that \[\begin{align} R_i=\int_{\calT} d_i(t)\,T(\rmd t)\text{ for }i=1,2. \end{align}\]
Fix \(t\). Because \(d_1(t)\in \hatD(t,R_1)\) and \(d_2(t)\in \hatD(t,R_2)\), we have \[\begin{align} d_1(t)\;\ge\;\inf \hatD(t,R_1),\qquad d_2(t)\;\le\;\sup \hatD(t,R_2). \end{align}\] In addition, note that \(\inf \hatD(t,R_1)=\inf D(t,R_1),\) and \(\sup \hatD(t,R_2)=\sup D(t,R_2).\) Therefore, \(d_2(t)\;\le\;\sup D(t,R_2)\;\le\;\inf D(t,R_1)\;\le\;d_1(t),\) where the middle inequality uses Lemma 2. Thus \(d_2(t)\le d_1(t)\) for \(T\)-a.e.\(t\). Integrating yields \[\begin{align} R_2=\int d_2(t)\,T(\rmd t)\;\le\;\int d_1(t)\,T(\rmd t)=R_1, \end{align}\] contradicting \(R_1<R_2\). Hence, there cannot exist two distinct equilibrium congestion levels. We conclude the proof of Theorem 2.
We will prove our claims one by one.
For the first result, we calculate the closed-form expression of \(\Phi_a\) and \(N_a\) in the following proposition.
For icl and sft with errors in 10 , we have that \[\begin{align} N_{\text{SFT}}(H) = \sqrt{\frac{2\tilde{\sigma}^2d}{R_{\text{SFT}}H}},\text{ and } N_{\text{ICL}}(H) = \max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}^2 r}{R_{\text{ICL}}H}}-\frac{2\tilde{\sigma}^2}{\zeta}\bigg\}. \end{align}\] The corresponding minimal costs are \[\begin{align} \Phi_{\text{SFT}}(H) & =2\sqrt{2\tilde{\sigma}^{2}dR_{\text{SFT}}H}, \text{ and } \end{align}\] \[\Phi_{\text{ICL}}(H) = (d-r)\tau+\left\{ \begin{array}{ll} r\zeta, & \text{if }R_{\text{ICL}}H\geq \frac{r\zeta^2}{2\tilde{\sigma}^2}\\ 2\sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}H}-R_{\text{ICL}}\cdot\frac{2\tilde{\sigma}^2}{\zeta}\cdot H, & \text{if }R_{\text{ICL}}H<\frac{r\zeta^2}{2\tilde{\sigma}^2}. \end{array} \right.\]
The proof is provided in Appendix 14.2. Thus, we have that \[\begin{align} R_{\text{SFT}}N_{\text{SFT}}(H) = \sqrt{\frac{2R_{\text{SFT}}\tilde{\sigma}^2d}{H}}>\sqrt{\frac{2R_{\text{ICL}}\tilde{\sigma}^2r}{H}}>\max\bigg\{0,\sqrt{\frac{2R_{\text{ICL}}\tilde{\sigma}^2 r}{H}}-\frac{2\tilde{\sigma}^2}{\zeta}R_{\text{ICL}}\bigg\}=R_{\text{ICL}}N_{\text{ICL}}(H), \end{align}\] where the first inequality results from Assumption 4 and that \(d\geq r\).
For the second result, we define the function \[\begin{align} f_a(H) = \barh\big(R_a N_a(H),p\big)-H =p +(R_a N_a(H))^2 -H . \end{align}\] We note that \(f_a(H)\) are strictly decrcreasing in \(H\) and \(\lim_{H\rightarrow\infty}f_a(H)=-\infty\) for any \(a\in\calA\). Since \(\lim_{H\downarrow 0}f_a(H)=\infty\) for any \(a\in\calA\), both \(H_{\text{ICL}}^{*}\) and \(H_{\text{SFT}}^{*}\) exist and are unique. Since \(f_a(p)\geq 0\) for all \(a\), \(H_a^{*}\geq p\). The relationship \(H_{\text{SFT}}^{*}>H_{\text{ICL}}^{*}\) directly follows from our first claim \(R_{\text{SFT}}N_{\text{SFT}}(H)>R_{\text{ICL}}N_{\text{ICL}}(H)\) for any \(H\geq 0\), since they are the solutions of \(H_a^* =(R_a\cdot N_a(H_a^*))^2+p\).
For the third claim, Proposition [prop:opt95alg] shows that \[\begin{align} \psi(H) =2\sqrt{2\tilde{\sigma}^{2}dR_{\text{SFT}}H} - 2\sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}H}+R_{\text{ICL}}\cdot\frac{2\tilde{\sigma}^2}{\zeta}\cdot H - (d-r)\tau \text{ if }H<\frac{r\zeta^2}{2R_{\text{ICL}}\tilde{\sigma}^2}. \end{align}\] We have that \[\begin{align} \psi^{\prime}(H) = \frac{\sqrt{2\tilde{\sigma}^{2}dR_{\text{SFT}}} - \sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}}}{\sqrt{H}}+R_{\text{ICL}}\cdot\frac{2\tilde{\sigma}^2}{\zeta}>0. \end{align}\] With the similar procedure, we can show \(\psi(H)\) is also strictly increasing when \(R_{\text{ICL}}H\geq r\zeta^2/(2\tilde{\sigma}^2)\). To show that the root of \(\psi(H)\) exists, we note that \[\begin{align} \psi(0)<0,\text{ and }\lim_{H\rightarrow\infty}\psi(H)=\infty. \end{align}\] Thus, \(H_{\mathrm{sep}}^{*}>0\) exists. The uniqueness results from the strict monotonicity of \(\psi\).
In the following, we prove the last result. For the equilibrium \((\pi^{*},R^{*})\), we note that \(\pi^{*}\) is a distribution on \(\Delta(\bar{\calA})\), since there is only one user type. We adopt \(H^{*}\) to denote the corresponding cost per unit computational resource, i.e., \(H^{*}=\barh(R^{*},p)\). We consider three cases as follows.
If \(H^{*}<H_{\mathrm{sep}}^{*}\), then \(\psi(H^{*})<0\). Thus, all the users will adopt sft. In other words, \(H^{*}\) must be \(H_{\text{SFT}}^{*}\), since \(H_{\text{SFT}}^{*}\) is the fixed point of \(H_a^* = \barh\big(R_a\cdot N_a(H_a^*),p\big)\). Then \(\pi^*\) adopts \((\text{SFT},N_{\text{SFT}}(H^{*}))\) with probability \(1\).
If \(H^{*}>H_{\mathrm{sep}}^{*}\), the arguments are similar to the previous ones. We have that \(H^{*}=H_{\text{ICL}}^{*}\) and that \(\pi^*\) adopts \((\text{ICL},N_{\text{ICL}}(H^{*}))\) with probability \(1\).
If \(H^{*}=H_{\mathrm{sep}}^{*}\), then the users can adopt either \((\text{SFT},N_{\text{SFT}}(H^{*}))\) and \((\text{ICL},N_{\text{ICL}}(H^{*}))\). Assume that we adopt \(\text{SFT}\) with probability \(\lambda\). Then we must have \[\begin{align} \sqrt{H^{*}-p} = \lambda R_{\text{SFT}}N_{\text{SFT}}(H^{*}) + (1-\lambda) R_{\text{ICL}}N_{\text{ICL}}(H^{*}). \end{align}\] Thus, we have that \[\begin{align} \lambda = \frac{\sqrt{H^{*}-p}-R_{\text{ICL}}N_{\text{ICL}}(H^{*})}{ R_{\text{SFT}}N_{\text{SFT}}(H^{*})-R_{\text{ICL}}N_{\text{ICL}}(H^{*})}. \end{align}\]
Thus, we conclude the proof of Theorem 3.
Theorem 8. Consider the game 10 with \(\alpha=1\), \(T(t_1)=q\), \(T(t_2)=1-q\), \(h(x)=x^2\), and \(R_{\text{SFT}}>R_{\text{ICL}}\). When \(H_{\mathrm{sep}}^{\ast}(t_2)< H_{\mathrm{sep}}^{\ast}(t_1)\), the equilibrium has a threshold structure:
If \(H_{\mathrm{sep}}^{*}(t_2)> e(H_{\mathrm{sep}}^{*}(t_2))^2+p\), then \(H^*\) at equilibrium is the root of \(H=e(H)^2+p\).
If \(f(H_{\mathrm{sep}}^{*}(t_2))^2+p\leq H_{\mathrm{sep}}^{*}(t_2)\leq e(H_{\mathrm{sep}}^{*}(t_2))^2+p\), \(H^*=H_{\mathrm{sep}}^{*}(t_2)\).
If \(H_{\mathrm{sep}}^{*}(t_2)< f(H_{\mathrm{sep}}^{*}(t_2))^2+p\) and \(f(H_{\mathrm{sep}}^{*}(t_1))^2+p< H_{\mathrm{sep}}^{*}(t_1)\), then \(H^*\) at equilibrium is the root of \(H=f(H)^2+p\).
If \(g(H_{\mathrm{sep}}^{*}(t_1))^2+p\leq H_{\mathrm{sep}}^{*}(t_1)\leq f(H_{\mathrm{sep}}^{*}(t_1))^2+p\), \(H^*=H_{\mathrm{sep}}^{*}(t_1)\).
If \(H_{\mathrm{sep}}^{*}(t_1)< g(H_{\mathrm{sep}}^{*}(t_1))^2+p\), then \(H^*\) at equilibrium is the root of \(H=g(H)^2+p\).
The equilibrium congestion level is \(R^*=\sqrt{H^*-p}\), where \(H^*\) is determined by cases (1)–(5).
When \(H_{\mathrm{sep}}^*(t_2)= H_{\mathrm{sep}}^*(t_1)\), the following holds.
If \(H_{\mathrm{sep}}^{*}(t_2)> e(H_{\mathrm{sep}}^{*}(t_2))^2+p\), then \(H^*\) at equilibrium is the root of \(H=e(H)^2+p\).
If \(g(H_{\mathrm{sep}}^{*}(t_2))^2+p\leq H_{\mathrm{sep}}^{*}(t_2)\leq e(H_{\mathrm{sep}}^{*}(t_2))^2+p\), \(H^*=H_{\mathrm{sep}}^{*}(t_2)\).
If \(H_{\mathrm{sep}}^{*}(t_2)< g(H_{\mathrm{sep}}^{*}(t_2))^2+p\), then \(H^*\) at equilibrium is the root of \(H=g(H)^2+p\).
The equilibrium congestion level is \(R^*=\sqrt{H^*-p}\), where \(H^*\) is determined by cases (1)–(3).
The explicit expressions of \(e,f,g\) are \[\begin{align} e(H) & = q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d_1 R_\text{SFT}}{H}} + (1-q)\sqrt{\frac{2\tilde{\sigma}_{2}^2 d_2 R_\text{SFT}}{H}},\\ f(H) &= q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d_1 R_\text{SFT}}{H}} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r_2 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_2^2 R_\text{ICL}}{\zeta_2}\bigg\},\\ g(H) & = q\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{1}^2 r_1 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_1^2 R_\text{ICL}}{\zeta_1}\bigg\} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r_2 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_2^2R_\text{ICL}}{\zeta_2}\bigg\}. \end{align}\]
Before the proof, we first define several quantities. \[\begin{align} J(t,H) &= \big\{R_a\tilN_a(t,H) \given \Phi_a(t,H)\leq \Phi_{a^{\prime}}(t,H)\text{ for all }a^{\prime}\in\calA\big\},\\ \hatJ(t,H) & = \mathrm{co}\, J(t,H),\\ \barJ(H) &= \big\{ q\cdot R_1+(1-q)\cdot R_2\given R_{i}\in \hatJ(t_i,H)\text{ for }i=1,2\big\}. \end{align}\] Intuitively, the set \(J(t,H)\) includes all the possible amount of consumed resource of the pure actions given \(H\) for type-\(t\) users, \(\hatJ(t,H)\) is the convex hull of \(J(t,H)\), reflecting the randomized policy, and \(\barJ(H)\) includes all the possible amount of consumed resource for all the users. Thus, \(H^*=h(R^*)+p\) at equilibrium is the root of the following equation. \[\begin{align} h^{-1}(H^*-p) \in \barJ(H^*),\label{eq:H95fixed95equation95hetero} \end{align}\tag{27}\] where \(h^{-1}\) is the inverse function of \(h\). In the following, we explicitly calculate \(\barJ(H)\). First, we assume that \(H_{\mathrm{sep}}^{*}(t_2)< H_{\mathrm{sep}}^{*}(t_1)\). Then we consider \(5\) cases.
Case 1: \(H< H_{\mathrm{sep}}^{*}(t_2)\).
Since \(H_{\mathrm{sep}}^{*}(t_2)< H_{\mathrm{sep}}^{*}(t_1)\), we have that \(\psi(t_1,H)<0\) and \(\psi(t_2,H)<0\). Thus, all users choose \(\ac{sft}\). Define the function \[\begin{align} e(H) = q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d_1 R_\text{SFT}}{H}} + (1-q)\sqrt{\frac{2\tilde{\sigma}_{2}^2 d_2 R_\text{SFT}}{H}}. \end{align}\] Under this case, we have that \(\barJ(H) = e(H)\). Obviously, \(e(H)\) is strictly decreasing in \(H\). If \(\sqrt{H_{\mathrm{sep}}^{*}(t_2)-p}> e(H_{\mathrm{sep}}^{*}(t_2))\), then the root \(H^*\) of 27 is not larger than \(H_{\mathrm{sep}}^{*}(t_2)\), which is the unique root of \[\begin{align} \sqrt{H-p}=e(H). \end{align}\]
Case 2: \(H= H_{\mathrm{sep}}^{*}(t_2)\).
Since \(H_{\mathrm{sep}}^{*}(t_2)< H_{\mathrm{sep}}^{*}(t_1)\), we have that \(\psi(t_1,H)<0\) and \(\psi(t_2,H)=0\). The users of type \(t_1\) will choose sft, and the users of type \(t_2\) can choose both sft and icl. Due to Assumption 4, we have that \[\begin{align} R_{\text{SFT}}N_{\text{SFT}}(t,H)\geq R_{\text{ICL}}N_{\text{ICL}}(t,H). \end{align}\] To specify \(\barJ(H)\), we define the following function \[\begin{align} f(H) = q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d_1 R_\text{SFT}}{H}} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r_2 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_2^2R_\text{ICL}}{\zeta_2}\bigg\}. \end{align}\] Under this case, we have that \(\barJ(H) = [f(H),e(H)].\) If \(f(H_{\mathrm{sep}}^{*}(t_2))\leq \sqrt{H_{\mathrm{sep}}^{*}(t_2)-p}\leq e(H_{\mathrm{sep}}^{*}(t_2))\), then we have that the root \(H^*\) of 27 is \(H_{\mathrm{sep}}^{*}(t_2)\).
Case 3: \(H_{\mathrm{sep}}^{*}(t_2)<H<H_{\mathrm{sep}}^{*}(t_1)\).
Under this setting, the users of type \(t_2\) will choose icl, while the users of type \(t_1\) will choose sft. Thus, we have that \(\barJ(H)= f(H)\). We note that \(f(H)\) is strictly decreasing in \(H\). If \(\sqrt{H_{\mathrm{sep}}^{*}(t_2)-p}<f(H_{\mathrm{sep}}^{*}(t_2))\) and \(\sqrt{H_{\mathrm{sep}}^{*}(t_1)-p}>f(H_{\mathrm{sep}}^{*}(t_1))\), then the root \(H^*\) of 27 is the root of the following equation \[\begin{align} \sqrt{H-p}=f(H). \end{align}\]
Case 4: \(H=H_{\mathrm{sep}}^{*}(t_1)\).
Under this case, the users of type \(t_2\) will choose icl, and the users of type \(t_1\) can choose both sft and icl. Thus, we define the following function \[\begin{align} g(H) = q\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{1}^2 r_1 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_1^2R_\text{ICL}}{\zeta_1}\bigg\} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r_2 R_\text{ICL}}{H}}- \frac{2\tilde{\sigma}_2^2R_\text{ICL}}{\zeta_2}\bigg\}. \end{align}\] We have that \(\barJ(H) = [g(H),f(H)]\). Thus, if \(g(H_{\mathrm{sep}}^{*}(t_1))\leq \sqrt{H_{\mathrm{sep}}^{*}(t_1)-p}\leq f(H_{\mathrm{sep}}^{*}(t_1))\), then the root \(H^*\) of 27 is equal to \(H_{\mathrm{sep}}^{*}(t_1)\).
Case 5: \(H>H_{\mathrm{sep}}^{*}(t_1)\).
Under this case, all the users adopt icl. Thus, we have that \(\barJ(H) = g(H)\). The function \(g(H)\) is decreasing in \(H\). If \(\sqrt{H_{\mathrm{sep}}^{*}(t_1)-p}< g(H_{\mathrm{sep}}^{*}(t_1))\), the root \(H^*\) of 27 is the root of the following equation \[\begin{align} \sqrt{H-p}=g(H). \end{align}\]
Then, we handle the case \(H_{\mathrm{sep}}^{*}(t_2)= H_{\mathrm{sep}}^{*}(t_1)\).
Case 1: \(H< H_{\mathrm{sep}}^{*}(t_2)=H_{\mathrm{sep}}^{*}(t_1)\).
All the users will choose sft in this case. Thus, we have that \(\barJ(H) = e(H)\). If \(\sqrt{H_{\mathrm{sep}}^{*}(t_2)-p}> e(H_{\mathrm{sep}}^{*}(t_2))\), then the root \(H^*\) of 27 is not larger than \(H_{\mathrm{sep}}^{*}(t_2)\), which is the unique root of \(\sqrt{H-p}=e(H)\).
Case 2: \(H= H_{\mathrm{sep}}^{*}(t_2)=H_{\mathrm{sep}}^{*}(t_1)\).
In this case, all the users can choose both sft and icl. Thus, we have that \(\barJ(H) =[g(H),e(H)]\). If \(g( H_{\mathrm{sep}}^{*}(t_2))\leq \sqrt{ H_{\mathrm{sep}}^{*}(t_2)-p}\leq e( H_{\mathrm{sep}}^{*}(t_2))\), then \(H^*= H_{\mathrm{sep}}^{*}(t_2)\).
Case 3: \(H> H_{\mathrm{sep}}^{*}(t_2)=H_{\mathrm{sep}}^{*}(t_1)\).
All the users will choose icl in this case. Thus, we have that \(\barJ(H) = g(H)\). If \(\sqrt{H_{\mathrm{sep}}^{*}(t_2)-p}< g(H_{\mathrm{sep}}^{*}(t_2))\), the root \(H^*\) of 27 is the root of the following equation \(\sqrt{H-p}=g(H).\)
The proof proceeds in three steps.
Step 1: Individual demand is decreasing in \(p\).
Fix a type \(t\in \calT\) and a congestion level \(R\ge 0\). Recall that the user cost is \[\begin{align} C\bigl(t,(a,N),R,p\bigr) =E_a(t,N)+R_a N \bigl(p+h(R)\bigr), \end{align}\] where we explicitly write out \(p\) as a variable of \(C\). Define the total resource consumption \(r=R_aN\) and the induced statistical error function \[\begin{align} g_t(r)=\min_{a\in\{\text{SFT},\text{ICL}\}} E_a\!\left(t,\frac{r}{R_a}\right). \end{align}\] Then the type-\(t\) optimization problem is equivalent to \[\begin{align} \min_{r\ge 0}\; \bigl\{ g_t(r)+\bar h(R,p)\, r \bigr\},\text{ where } \barh(R,p)=p+h(R). \end{align}\] Let \(D(t,R,p)\) denote the set of minimizers. Take any \(p_1<p_2\), and let \(r_1\in D(t,R,p_1)\), \(r_2\in D(t,R,p_2)\). Optimality implies \[\begin{align} g_t(r_1)+\bar h(R,p_1) r_1 \le g_t(r_2)+\bar h(R,p_1) r_2, \end{align}\] \[\begin{align} g_t(r_2)+\bar h(R,p_2) r_2 \le g_t(r_1)+\bar h(R,p_2) r_1. \end{align}\] Adding the two inequalities and cancelling \(g_t(\cdot)\) yields \[\begin{align} \bigl(\bar h(R,p_2)-\bar h(R,p_1)\bigr)(r_2-r_1)\le 0. \end{align}\] Since \(\bar h(R,p_2)>\bar h(R,p_1)\), it follows that \(r_2\le r_1\). Because the choice of \(r_1,r_2\) was arbitrary, \[\begin{align} \sup D(t,R,p_2)\le \inf D(t,R,p_1). \label{eq:D95monotone95p} \end{align}\tag{28}\]
Step 2: Aggregate best response is decreasing in \(p\).
Let \(\hatD(t,R,p)=\operatorname{co} D(t,R,p)\) be the convexified demand correspondence, and define the aggregate demand correspondence via the Aumann integral \[\begin{align} \bar D(R,p)=\int_T \hatD(t,R,p)\,T(dt). \end{align}\] Convexification preserves the ordering of extrema, and 28 implies \[\begin{align} \sup \bar D(R,p_2)\le \inf \bar D(R,p_1) \qquad \forall R\ge 0. \label{eq:aggregate95monotone95p} \end{align}\tag{29}\]
Step 3: Comparison of fixed points.
By the equilibrium definition, we have that \[\begin{align} R^*(p)\in \bar D(R^*(p),p). \end{align}\] Assume for contradiction that \(p_1<p_2\) but \(R^*(p_2)>R^*(p_1)\). Using the monotonicity of \(\bar D(\cdot,p_2)\) in \(R\) (Lemma 2) and 29 , we obtain \[\begin{align} R^*(p_2) \leq \sup\bar D(R^*(p_2),p_2) \leq\inf \bar D(R^*(p_1),p_2) \leq \inf \bar D(R^*(p_1),p_1) \leq R^*(p_1), \end{align}\] which contradicts \(R^*(p_2)>R^*(p_1)\). Therefore, \[\begin{align} R^*(p_2)\le R^*(p_1). \end{align}\]
We conclude the proof of Theorem 5.
We first define several quantities. For \(H>0\), define the optimal number of sample for each algorithm as \[\begin{align} N_a(t,H)=\argmin_{N\geq 0}\big\{E_a(t,N)+R_a H N\big\}. \end{align}\] For each \((t,R)\) define the minimal best-response demand \[d_{\text{full}}(t,R)=\inf\{R_a\tilde{N}\given (a,\tilde{N})\in BR(t,R)\}.\] Lemma 2 shows that the map \(R\mapsto d_{\text{full}}(t,R)\) is decreasing for each \(t\). We also define the analogy for icl as \[\begin{align} d_{\text{ICL}}(t,R) = R_\text{ICL}\cdot N_\text{ICL}\big(t,p+h(R)\big). \end{align}\] In the following, since we fix the value \(p\) through the whole proof, we will omit the dependency on \(p\) in the notations.
Step 1: Comparison of \(d_{\text{full}}\) and \(d_{\text{ICL}}\).
To compare \(d_{\text{full}}\) and \(d_{\text{ICL}}\), we present the following proposition.
Under Assumption 5, for any \(t\in\calT,H>0\), we have that \(R_{\text{SFT}}N_\text{SFT}(t,H)> R_{\text{ICL}}N_\text{ICL}(t,H)\).
The proof is in Appendix 14.3. Thus, we have that \[\begin{align} d_{\text{full}}(t,R) = \inf_{(a,\tilde{N})\in BR(t,R)} R_a\tilde{N} \geq R_{\text{ICL}}N_\text{ICL}(t,p+h(R))=d_{\text{ICL}}(t,R) \text{ for all }t\in\calT,R\geq 0. \end{align}\]
Step 2: Aggregate maps and their monotonicity.
Define the aggregate minimal-demand map in the full game and the aggregate ICL-demand map: \[F_{\text{full}}(R):=\int_{\calT} d_{\text{full}}(t,R)\,T(\rmd t), \qquad F_{\text{ICL}}(R):=\int_{\calT} d_{\mathrm{icl}}(t,R)\,T(\rmd t).\] These integrals are well-defined by measurability and nonnegativity. Since \(d_{\text{full}}(t,R)\geq d_{\text{ICL}}(t,R)\) pointwisely, we have that \[\label{eq:Fmin95ge95Ficl} F_{\text{full}}(R)\;\ge\;F_{\text{ICL}}(R), \qquad \forall R\ge 0.\tag{30}\]
Step 3: Equilibria Comparison.
By definition of \(R_{\mathrm{icl}}^*\) as the equilibrium congestion level in the ICL-only game, it is the fixed point of the following equation \[\label{eq:icl95fixedpoint} R_{\mathrm{icl}}^*\;=\;F_{\text{ICL}}(R_{\mathrm{icl}}^*).\tag{31}\] The existence of such equilibrium can be similarly proved as Theorem 2. For conciseness, we omit it here. Combining 30 and 31 yields \[\label{eq:Fmin95at95Ricl} F_{\text{full}}(R_{\mathrm{icl}}^*)\;\ge\;R_{\mathrm{icl}}^*.\tag{32}\]
Let \((\pi^*,R^*)\) be an equilibrium in the full game. For \(T\)-a.e.\(t\), \(\pi_t^*\) is supported on \(BR(t,R^*)\). Therefore, for \(T\)-a.e.\(t\), \[\mathbb{E}_{(a,\tilN)\sim\pi_t^*}[R_a\tilde{N}]\;\ge\;\inf_{(a,\tilde{N})\in BR(t,R^*)} R_a\tilde{N} \;=\;d_{\text{full}}(t,R^*).\] Integrating over \(t\) and using consistency (\(R^*\) equals aggregate expected demand) gives \[\label{eq:R95ge95Fmin} R^*\;=\;\int_{\calT} \mathbb{E}_{\pi_t^*}[R_a\tilde{N}]\,T(\rmd t)\;\ge\;\int_{\calT} d_{\text{full}}(t,R^*)\,T(\rmd t)\;=\;F_{\text{full}}(R^*).\tag{33}\]
Suppose for contradiction that \(R^*<R_{\mathrm{icl}}^*\). Since \(F_{\text{full}}\) is decreasing, \[F_{\text{full}}(R^*)\;\ge\;F_{\text{full}}(R_{\mathrm{icl}}^*)\;\ge\;R_{\mathrm{icl}}^* \;>\;R^*,\] where the second inequality is 32 . This contradicts 33 , which states \(R^*\ge F_{\text{full}}(R^*)\). Hence \(R^*\ge R_{\mathrm{icl}}^*\). Thus, we conclude the proof of Theorem 6.
Define \(\bar{\sigma}^2 = \sigma^{2}+c^2\). We directly calculate the difference between the errors of pretrained models and icl as follows. \[\begin{align} &E_{\text{pre}}-E_{\text{ICL}} \\ &\quad = \sum_{i=1}^{r} (\bar{\sigma}^2 s_i+\tilde{\sigma}^2 \pi_i)^{-2} \Big\{\big[\tau_i + 2\bar{\sigma}^2 \pi_i^{-1}+ (v_i^{\top}\mu_{\theta})^2\big]\cdot (\bar{\sigma}^2 s_i+ \tilde{\sigma}^2 \pi_i)^2 \nonumber\\ &\quad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\quad - \tilde{\sigma}^4\pi_i^{2}\tau_i - 2\tilde{\sigma}^4\bar{\sigma}^2\pi_i - \tilde{\sigma}^4\pi_i^2(v_i^{\top}\mu_{\theta})^2 - 2 \tilde{\sigma}^2\bar{\sigma}^4 s_i \Big\}\nonumber\\ &\quad = \sum_{i=1}^{r} (\bar{\sigma}^2 s_i+\tilde{\sigma}^2 \pi_i)^{-2} \Big\{\big[\tau_i + (v_i^{\top}\mu_{\theta})^2\big]\cdot (\bar{\sigma}^4 s_i^2 + 2\bar{\sigma}^2\tilde{\sigma}^2 s_i\pi_i)+ 2\bar{\sigma}^6 s_i^{2} \pi_i^{-1} + 2 \tilde{\sigma}^2\bar{\sigma}^4 s_i \Big\}. \end{align}\] The right-hand side of this equality is non-negative. Thus, we have that \(E_\text{pre}\geq E_\text{ICL}\). In the non-degenerate case, the right-hand side of this equality is positive.
We first calculate the optimal value \(\lambda^*\) for sft and the corresponding error \(E_{\text{SFT}}^{\lambda^*}\). With Assumption 3, Theorem 1 shows that the sft error with a fixed regularization \(\lambda>0\) is \[\begin{align} \label{eq:SFT-master} E_{\text{SFT}}^{\lambda} =r\cdot \frac{2\,\tilde{\sigma}^2\,\bar{\sigma}^4\,s +\lambda^2\,\tilde{\sigma}^4\,\pi^2\big(\tau+2\bar{\sigma}^2/\pi+m^2\big)}{\big(\bar{\sigma}^2 s+\lambda\,\tilde{\sigma}^2\pi\big)^2} +2(d-r)\cdot\frac{\tilde{\sigma}^2}{s}. \end{align}\tag{34}\] To calculate the minimal value of \(E_{\text{SFT}}^{\lambda}\), we define following quantities. \[\begin{align} A = 2r\,\tilde{\sigma}^2\,\bar{\sigma}^4\,s,\quad B = \tilde{\sigma}^4\,\pi^2\,r\big(\tau+2\bar{\sigma}^2/\pi+m^2\big),\quad C = \bar{\sigma}^2 s,\quad D=\tilde{\sigma}^2\pi. \end{align}\] Then the first term of the error in 34 equals \[\begin{align} \label{eq:f-lambda} F(\lambda)=\frac{A+B\lambda^2}{(C+D\lambda)^2}. \end{align}\tag{35}\] Thus, we have that \[\begin{align} E_{\text{SFT}}^{\lambda}=F(\lambda)+2(d-r)\,\frac{\tilde{\sigma}^2}{s}. \end{align}\] Differentiating 35 , we get \[\begin{align} F'(\lambda) &=\frac{(2B\lambda)(C+D\lambda)^2-(A+B\lambda^2)\cdot 2D(C+D\lambda)}{(C+D\lambda)^4}\\ &=\frac{2(C+D\lambda)\big[B\lambda(C+D\lambda)-D(A+B\lambda^2)\big]}{(C+D\lambda)^4}. \end{align}\] Since \(C+D\lambda>0\), critical points satisfy \[B\lambda(C+D\lambda)-D(A+B\lambda^2)=BC\lambda-DA=0,\] hence the unique minimizer on \((0,\infty)\) is \[\begin{align} \lambda^{*}=\frac{A\cdot D}{B\cdot C} =\frac{\tilde{\sigma}^2\pi\cdot2r\,\tilde{\sigma}^2\bar{\sigma}^4 s}{\tilde{\sigma}^4\pi^2 r\big(\tau+2\bar{\sigma}^2/\pi+m^2\big)\cdot\bar{\sigma}^2 s} =\frac{2\,\bar{\sigma}^2}{\pi\big(\tau+m^2\big)+2\,\bar{\sigma}^2}. \end{align}\]
Minimal row-space value. For \(F(\lambda)=(A+B\lambda^2)/(C+D\lambda)^2\) with \(A,B,C,D>0\), the minimal value at \(\lambda^{*}\) is \[\begin{align} \label{eq:Fmin-template} F(\lambda^{*})=\frac{A\,B}{A D^2 + B C^2}. \end{align}\tag{36}\] Substituting \(A,B,C,D\) and simplifying, we have that \[\begin{align} F(\lambda^{*}) &=\frac{2r\,\tilde{\sigma}^2\,\Big(\tau+2\bar{\sigma}^2\pi^{-1}+m^2\Big)}{s\,\Big(\tau+2\bar{\sigma}^2\pi^{-1}+m^2\Big)+2\,\tilde{\sigma}^2}. \end{align}\]
Thus, the optimal sft error is \[\begin{align} E_{\mathrm{sft}}^{\lambda^{*}} =F(\lambda^{*})+2(d-r)\frac{\tilde{\sigma}^2}{s} =\frac{2r\,\tilde{\sigma}^2\,\Big(\tau+2\bar{\sigma}^2\pi^{-1}+m^2\Big)}{s\,\Big(\tau+2\bar{\sigma}^2\pi^{-1}+m^2\Big)+2\,\tilde{\sigma}^2} +2(d-r)\frac{\tilde{\sigma}^2}{s}.\label{eq:sft95opt} \end{align}\tag{37}\] We first derive the error of icl under Assumption 3. According to Theorem 1, icl’s row-space per-direction error in the first \(r\) subspaces simplifies to \[\begin{align} \frac{\tilde{\sigma}^4 \pi_i^2\big(\tau_i+\bar{\sigma}^2\pi_i^{-1}+(v_i^\top \mu_\theta)^2\big)+\tilde{\sigma}^2\bar{\sigma}^4s_i+\tilde{\sigma}^2\bar{\sigma}^2(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)}{(\bar{\sigma}^2s_i+\tilde{\sigma}^2\pi_i)^2}=\frac{\tilde{\sigma}^4\pi^2\big(\tau+\bar\sigma^2/\pi+m^2\big)+2\tilde{\sigma}^2\bar\sigma^4 s+\bar\sigma^2\tilde{\sigma}^4\pi}{(\bar\sigma^2 s+\tilde{\sigma}^2\pi)^2}. \end{align}\] To further simplify the expression, we define \[\begin{align} \zeta=\tau+\frac{2\bar\sigma^2}{\pi}+m^2. \end{align}\] Observe that \(\tilde{\sigma}^4\pi^2(\tau+\bar\sigma^2/\pi+m^2) =\tilde{\sigma}^2\big(\tilde{\sigma}^2\pi^2 \zeta- \bar\sigma^2\tilde{\sigma}^2\pi\big)\), so the icl error becomes \[\begin{align} E_{\text{ICL}}=r\cdot \frac{\tilde{\sigma}^2\big(2\bar\sigma^4 s+\tilde{\sigma}^2\pi^2 \zeta\big)}{(\bar\sigma^2 s+\tilde{\sigma}^2\pi)^2}+(d-r)\tau. \end{align}\] According to 37 , the \(\ac{sft}\) error can be simplified as \[\begin{align} E_{\text{SFT}}^{*} = r\cdot \frac{2\tilde{\sigma}^2 \zeta}{s\zeta+2\tilde{\sigma}^2} + (d-r)\frac{2\tilde{\sigma}^2}{s}. \end{align}\]
The difference between the sft and icl errors is \[\begin{align} \Delta=E_{\mathrm{sft}}^{\lambda^*}-E_{\mathrm{icl}} = r\Big(\frac{2\tilde{\sigma}^2 \zeta}{s\zeta+2\tilde{\sigma}^2}-\frac{\tilde{\sigma}^2\big(2\bar\sigma^4 s+\tilde{\sigma}^2\pi^2 \zeta\big)}{(\bar\sigma^2 s+\tilde{\sigma}^2\pi)^2}\Big) +(d-r)\Big(\frac{2\tilde{\sigma}^2}{s}-\tau\Big) = r\cdot \delta +(d-r)\Big(\frac{2\tilde{\sigma}^2}{s}-\tau\Big). \end{align}\] The term \(\delta\) can be simplified as \[\begin{align} \delta&=\frac{2\tilde{\sigma}^2 \zeta\,(\bar\sigma^2 s+\tilde{\sigma}^2\pi)^2-(s\zeta+2\tilde{\sigma}^2)\tilde{\sigma}^2(2\bar\sigma^4 s+\tilde{\sigma}^2\pi^2 \zeta)}{(s\zeta+2\tilde{\sigma}^2)\,(\bar\sigma^2 s+\tilde{\sigma}^2\pi)^2}\\ &=-\frac{\pi^{3}\,\tilde{\sigma}^4\,(\tau+m^2)^{2}\,s}{\big(\bar\sigma^2 s+\pi\tilde{\sigma}^2\big)^{2}\,\big(2\bar\sigma^2 s+\pi s(\tau+m^2)+2\pi\tilde{\sigma}^2\big)}. \end{align}\] The fact that \(\delta<0\) establishes that SFT is strictly better than ICL within the pretraining subspace. To further study the comparison between sft and icl, we define \[\begin{align} \kappa=\dfrac{s\tau}{2\tilde{\sigma}^2}, \text{ and }R=\frac{r}{d-r} \end{align}\] Then the error difference is expressed as \[\begin{align} \Delta= (d-r)\Big(R\cdot \delta+\frac{2\tilde{\sigma}^2}{s}-\tau\Big). \end{align}\] Hence \(\Delta\lesseqqgtr 0\) if and only if \[\begin{align} R\;\gtreqqless\;\frac{\tau-2\tilde{\sigma}^2s^{-1}}{\delta} =-\frac{\tau-2\tilde{\sigma}^2s^{-1}}{\,|\delta|\,}. \end{align}\] Substitute \(s=2\tilde{\sigma}^2\tau^{-1}\kappa\) into \(\delta\) and simplify to obtain \[\begin{align} R_{\text{crit}} =\frac{(1-\kappa)\big(2\bar\sigma^2\kappa+\pi\tau\big)^2\big(2\bar\sigma^2\kappa+\pi\kappa(\tau+m^2)+\pi\tau\big)}{\pi^{3}\,\kappa^2\,\tau\,(\tau+m^2)^{2}}. \end{align}\] Thus, we reach the following conclusions
If \(\kappa\ge 1\) then sft has less error than icl.
If \(0<\kappa<1\), then the sign of \(\Delta\) is decided by \(R\) relative to \(R_{\text{crit}}\).
We conclude the proof of Proposition [prop:comp].
Under models 10 with \(\alpha=1\), \(\barh(R,p)=p+R^2\), and \(R_{\text{SFT}}>R_{\text{ICL}}\), the following holds.
The congestion-level \(R^{\ast}\) decreasing in \(\pi\).
Assume that \(2\tau > \zeta\). If the following condition holds \[\begin{align} p< \frac{r^*\zeta^2}{2R_{\text{ICL}}\tilde{\sigma}^2},\text{ and } r^*> 2 \tilde{\sigma}^2 R_{\text{ICL}}\tau^{-4}\zeta^{-2}\big[4\tilde{\sigma}^4R_{\text{ICL}}^2(\zeta-\tau)^2+\tau^2W^2p\big], \end{align}\] where \[\begin{align} r^*=\bigg(\frac{\sqrt D-\sqrt{D-(1-E)F}}{1-E}\bigg)^2\text{ for } D= R_{\text{SFT}}d/R_{\text{ICL}}, E=\tau/\zeta, \text{ and }F=d, \end{align}\] then \(R^{\ast}\) is increasing in \(r\). Otherwise, there exist thresholds \(0< r^{*} < r^{**} < d\) (with \(r^{*}\) as defined above) such that the equilibrium congestion \(R^{*}(r)\) is increasing in \(r\) on \([0,r^{*}] \cup [r^{**},d]\) and decreasing in \(r\) on \([r^{*},r^{**}]\).
Note that the congestion level at the equilibrium is \(R^{*} = \sqrt{H^{*}-p}\). We only need to prove the monotonicity of \(H^{*}\), which is a threholded version of \(H_{\mathrm{sep}}^{*}\) as \[\begin{align} H^{*} = \max\big\{H_{\text{ICL}}^{*},\min\{H_{\mathrm{sep}}^{*},H_{\text{SFT}}^{*}\}\big\}. \end{align}\] In the following, we will prove the monotonicity of \(H_{\text{ICL}}^{*}\), \(H_{\text{SFT}}^{*}\), and \(H_{\mathrm{sep}}^{*}\) in \(r\) and \(\pi\).
We first derive the definitions or expressions of them in the following proposition.
Under models 10 with \(\alpha=1\) and \(\barh(R,p)=p+R^2\), we have the following results.
For sft, the root \(H_{\text{SFT}}^{*}\) is \[\begin{align} H_{\text{SFT}}^*=\frac{p+\sqrt{p^2+8\tilde{\sigma}^2 d\,R_{\text{SFT}}}}{2}. \end{align}\]
For icl, \(H_{\text{ICL}}^{*}\) is the root of the following equation \[\begin{align} \max\left\{0,\sqrt{\frac{2\tilde{\sigma}^2 rR_{\text{ICL}}}{H}}-\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}\right\} = \sqrt{H-p}.\label{eq:H95icl} \end{align}\tag{38}\] Specifically, when \[\begin{align} p\geq \barH = \frac{r\zeta^2}{2R_{\text{ICL}}\tilde{\sigma}^2}, \end{align}\] the root is \(H_{\text{ICL}}^{*}=p\).
For \(H_{\mathrm{sep}}^{*}\), we have that \[\begin{align} \label{eq:H95sep} H_{\mathrm{sep}}^* &= \begin{cases} \displaystyle \frac{\left((d-r)\tau+r\zeta\right)^2}{8\tilde{\sigma}^2 d\,R_{\text{SFT}}}, &\text{if }\frac{R_\text{SFT}}{R_\text{ICL}}\leq \frac{\big((d-r)\tau+r\zeta\big)^2}{4dr\zeta^2} ,\\[6pt] \displaystyle \left(\frac{-B+\sqrt{B^2+4C(d-r)\tau}}{2C}\right)^2, & \text{otherwise}, \end{cases} \end{align}\tag{39}\] where \[\begin{align} B =2\sqrt{2}\tilde{\sigma}\Big(\sqrt{dR_{\text{SFT}}}-\sqrt{rR_{\text{ICL}}}\Big), \qquad C =\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}. \end{align}\]
The proof is in Appendix 14.4.
Then we prove the monotonicity of them. We start from the parameter \(\pi\). Since \(H_{\text{SFT}}^{*}\) is not influenced by \(\pi\), which is a trivially monotonic function of \(\pi\). For \(H_{\text{ICL}}^{*}\), we first note that the parameter \(\zeta\) depends on \(\pi\) as \(\zeta = \tau + 2\bar{\sigma}^2\pi^{-1} + m^2\). Thus, \(\zeta^{-1}\) is an increasing function in \(\pi\). Proposition [prop:H95fixed95points] shows that \(H_{\text{ICL}}^{*}\) is the root of 38 , whose left-hand side is decreasing in \(\pi\). In addition, the left-hand side of it is decreasing in \(H\), while the right-hand side is increasing in \(H\). Thus, when \(\pi\) increases, the root \(H_{\text{ICL}}^{*}\) accordingly decreases to balance both sides. For \(H_{\mathrm{sep}}^{*}\), we note that when \(R_\text{SFT}/R_\text{ICL}\leq \big((d-r)\tau+r\zeta\big)^2/(4dr\zeta^2)\), \(H_{\mathrm{sep}}^{*}\) is decreasing in \(\pi\). When this condition does not hold, Proposition [prop:mono1] in Appendix 14.7 shows that the function \[f(x)=\frac{\sqrt{A+x}-\sqrt{A}}{x}\] is decreasing in \(x\) when \(A>0\) and \(x>0\). Thus, \(H_{\mathrm{sep}}^{*}\) is also decreasing in \(\pi\). In summary, all of \(H_{\text{ICL}}^{*}\), \(H_{\text{SFT}}^{*}\), and \(H_{\mathrm{sep}}^{*}\) is decreasing in \(\pi\). We then analyze the parameter \(r\). We first note that the value of \(H_{\text{SFT}}^{*}\) is independent of \(r\). For \(H_{\text{ICL}}^{*}\), since the left-hand side of 38 is increasing in \(r\). Thus, \(H_{\text{ICL}}^{*}\) increases with increasing \(r\). For \(H_{\mathrm{sep}}^{*}\), we first analyze when the following relationship is satisfied \[\begin{align} \frac{R_\text{SFT}}{R_\text{ICL}}\leq \frac{\big((d-r)\tau+r\zeta\big)^2}{4dr\zeta^2}.\label{ieq:cond1} \end{align}\tag{40}\] Proposition [prop:mono2] in Appendix 14.7 shows that the function \[\begin{align} f(x)\;=\;\frac{(A-x+Bx)^2}{AB^2x},\qquad 0<x<A,\;\;A>0,\;\;B> 0. \end{align}\] is strictly decreasing if \(0<B<2\). In addition, it achieves its minimal value \(f(A)=1\) at \(x=A\). Set \(A=d\) and \(B=\zeta/\tau\). Since \(\zeta\leq 2\tau\), the right-hand side of 40 is decreasing and achieves its minimal value \(1/4\) when \(d=r\). Since \(R_{\text{SFT}}>R_{\text{ICL}}\), the expression of \(H_{\mathrm{sep}}^{*}\) has one shift from the first expression in 39 to the second one. When 40 holds, \(H_{\mathrm{sep}}^{*}\) is a increasing function of \(r\) due to \(\zeta>\tau\). When 40 does not hold, we note that Proposition [prop:monotone95g] shows that the function \[\begin{align} g(r)=\sqrt{\bigl(\sqrt D-\sqrt r\bigr)^2+E(F-r)}-\bigl(\sqrt D-\sqrt r\bigr) \end{align}\] is strictly increasing on \((0,r^{*})\) and strictly decreasing on \((r^{*},F)\) when \(D>F>0\), \(E<1\), and \(0<x<F\). The value of \(r^{*}\) is given by \[\begin{align} t^{*}=\frac{\sqrt D-\sqrt{D-(1-E)F}}{1-E}, \text{ and }r^{*}=(t^{*})^2. \end{align}\] We set \(D= R_{\text{SFT}}d/R_{\text{ICL}}\), \(E=\tau/\zeta\), and \(F=d\). To study the relationship between \(r^*\) and the phase shift in 40 , it is easy to directly verify that \[\begin{align} \frac{R_\text{SFT}}{R_\text{ICL}}> \frac{\big((d-r^{*})\tau+r^{*}\zeta\big)^2}{4dr^{*}\zeta^2}. \end{align}\] Thus, \(H_{\mathrm{sep}}^{*}\) is increasing in \(r\) for \(r\in[0,r^*]\) and is decreasing in \(r\) for \(r\in[r^*,d]\). When \(r=d\), \(H_{\mathrm{sep}}^{*}=0\). Thus, at the point \(r^*\), if \(H_{\text{ICL}}^*\geq H_{\mathrm{sep}}^*\), then \(H^*\) is increasing in \(r\). If \(H_{\text{ICL}}^*<H_{\mathrm{sep}}^*\), then \(H^*\) is increasing in \(r\) for \(r\in[0,r^*]\) and \([r^{**},d]\) and deacreasing in \(r\) for \([r^*,r^{**}]\). In the following, we only need to compare \(H_{\text{ICL}}^*\) and \(H_{\mathrm{sep}}^*\) at \(r^*\). It is easy to verify that \(H_{\mathrm{sep}}^*> H_{\text{ICL}}^*\) if and only if \[\begin{align} p< \frac{r^*\zeta^2}{2R_{\text{ICL}}\tilde{\sigma}^2},\text{ and } \sqrt{\frac{2\tilde{\sigma}^2 r R_{\text{ICL}}}{H_{\mathrm{sep}}^*}}-\frac{2\tilde{\sigma}^2R_{\text{ICL}}}{\zeta}<\sqrt{H_{\mathrm{sep}}^*-p}.\label{eq:conds} \end{align}\tag{41}\] We note that the latter inequality in 41 can be achieved if and only if \[\begin{align} r^*> 2 \tilde{\sigma}^2 R_{\text{ICL}}\tau^{-4}\zeta^{-2}\big[4\tilde{\sigma}^4R_{\text{ICL}}^2(\zeta-\tau)^2+\tau^2W^2p\big]. \end{align}\] Thus, we conclude the proof of Proposition [prop:pretrain95influence].
Proposition [prop:H95fixed95points] in the proof of Proposition [prop:pretrain95influence] shows that \(H_{\text{SFT}}^{*}\) is increasing in \(\tilde{\sigma}\), \(H_{\text{SFT}}^{*}=p\) if \(\tilde{\sigma}=0\), and \(H_{\text{SFT}}^{*}\rightarrow\infty\) as \(\tilde{\sigma}\rightarrow\infty\). In addition, we have that \(H_{\mathrm{sep}}^{*}\) is decreasing in \(\tilde{\sigma}\), \(H_{\mathrm{sep}}^{*}\rightarrow \infty\) as \(\tilde{\sigma}\downarrow 0\), and \(H_{\mathrm{sep}}^{*}\rightarrow 0\) as \(\tilde{\sigma}\rightarrow \infty\). Thus, we can take \(\tilde{\sigma}_1\) as their intersection. When \(\tilde{\sigma}\in[0,\tilde{\sigma}_1]\), \(H^{*}=H_{\text{SFT}}^{*}\) is increasing in \(\tilde{\sigma}\). Thus, we prove the first claim.
For the second claim, we note that when \(\tilde{\sigma}\in[\tilde{\sigma}_1,\infty)\), \(H^{*}=\max\{H_{\text{ICL}}^{*},H_{\mathrm{sep}}^{*}\}\). Thus, we only need to prove that \(H_{\text{ICL}}^{*}\) is decreasing in \(\tilde{\sigma}\) when \(\tilde{\sigma}\in[\tilde{\sigma}_2,\infty)\).
Proposition [prop:icl95root95property] in Appendix 14.7 analyzes the root of \[\frac{e x}{\sqrt{H}} - f x^2 - \sqrt{H-g}=0\] for \(e,f,g>0\). Denote the unique root \(H_*(x)\) as a function of \(x\), it shows that when \(0 < x \le x_{\max} =e/(f\sqrt{g})\), there exists \(x_* < x_{\max}\) such that \(H_*(x)\) is increasing on \((0,x_*]\) and decreasing on \((x_*, x_{\max}]\). In our setting, \(x=\tilde{\sigma}\), \(e = \sqrt{2rR_{\text{ICL}}}\), \(f = 2 R_\text{ICL}/\zeta\), \(g=p\). If \(e/(f\sqrt{g})>\tilde{\sigma}_1\), then we can set \(\tilde{\sigma}_2 = x_*\) in Proposition [prop:icl95root95property]. If \(e/(f\sqrt{g})<\tilde{\sigma}_1\), we can set \(\tilde{\sigma}_2=\tilde{\sigma}_1\). Thus, we conclude the proof of Proposition [prop:task95sigma].
Proposition [prop:H95fixed95points] in the proof of Proposition [prop:pretrain95influence] shows that once \(R_{\text{ICL}}\) is fixed, the value of \(H_{\text{ICL}}^{*}\) is fixed. Thus, we only need to analyze \(H_{\text{SFT}}^*\) and \(H_{\mathrm{sep}}^*\). Obviously, \(H_{\text{SFT}}^*\) is increasing in \(R_{\text{SFT}}\), and its minimal value is \[\begin{align} \frac{p+\sqrt{p^2+8\tilde{\sigma}^2 d\,R_{\text{ICL}}}}{2}. \end{align}\]
For \(H_{\mathrm{sep}}^{*}\), if \[\begin{align} \frac{R_\text{SFT}}{R_\text{ICL}}\leq \frac{\big((d-r)\tau+r\zeta\big)^2}{4dr\zeta^2},\label{ieq:cond3} \end{align}\tag{42}\] then Proposition [prop:H95fixed95points] shows that it is a decreasing function of \(R_{\text{SFT}}\). If 42 does not hold, then Proposition [prop:mono4] in Appendix 14.7 establishes the same monotonicity result. Thus, \(H_{\mathrm{sep}}^{*}\) is a decreasing function of \(R_{\text{SFT}}\). Under both cases, \(H_{\mathrm{sep}}^{*}\) decreases to \(0\) as \(R_{\text{SFT}}\rightarrow\infty\).
In the following, we will compare the value of \(H_{\mathrm{sep}}^{*}\) and \(H_{\text{SFT}}^{*}\) when \(R_{\text{SFT}}=R_{\text{ICL}}\). If \(H_{\mathrm{sep}}^{*}>H_{\text{SFT}}^{*}\), \(H^*\) first increases and then decreases with increasing \(R_{\text{SFT}}\). If \(H_{\mathrm{sep}}^{*}\leq H_{\text{SFT}}^{*}\), \(H^*\) decreases with increasing \(R_{\text{SFT}}\). To compare their values when \(R_{\text{SFT}}=R_{\text{ICL}}\), we need to study whether 42 holds if \(R_{\text{SFT}}=R_{\text{ICL}}\).
If \((\big((d-r)\tau+r\zeta\big)^2)/(4dr\zeta^2)\geq 1\), then 42 holds when \(R_{\text{SFT}}=R_{\text{ICL}}\). Thus, \(H_{\mathrm{sep}}^{*}\leq H_{\text{SFT}}^{*}\) is equivalent to \[\begin{align} \displaystyle \frac{\left((d-r)\tau+r\zeta\right)^2}{8\tilde{\sigma}^2 d\,R_{\text{ICL}}}\leq \frac{p+\sqrt{p^2+8\tilde{\sigma}^2 d\,R_{\text{ICL}}}}{2}. \end{align}\] The left-hand side of this inequality is decreasing in \(R_{\text{ICL}}\), while the right-hand side is increasing in \(R_{\text{ICL}}\). Thus, there exists \(R_{\text{ICL}}^{*}\) such that this inequality holds if and only if \(R_{\text{ICL}}\geq R_{\text{ICL}}^{*}\).
If \((\big((d-r)\tau+r\zeta\big)^2)/(4dr\zeta^2)< 1\), then 42 does not hold when \(R_{\text{SFT}}=R_{\text{ICL}}\). Thus, \(H_{\mathrm{sep}}^{*}\leq H_{\text{SFT}}^{*}\) is equivalent to \[\begin{align} \left(\frac{-\sqrt{2}\Big(\sqrt{d}-\sqrt{r}\Big)+\sqrt{2\Big(\sqrt{d}-\sqrt{r}\Big)^2+2 \zeta^{-1}(d-r)\tau}}{2\tilde{\sigma}\sqrt{R_{\text{ICL}}}\zeta^{-1}}\right)^2\leq \frac{p+\sqrt{p^2+8\tilde{\sigma}^2 d\,R_{\text{ICL}}}}{2}. \end{align}\] The left-hand side of this inequality is decreasing in \(R_{\text{ICL}}\), while the right-hand side is increasing in \(R_{\text{ICL}}\). Thus, there exists \(R_{\text{ICL}}^{*}\) such that this inequality holds if and only if \(R_{\text{ICL}}\geq R_{\text{ICL}}^{*}\). Thus, we conclude the proof of Proposition [prop:r95sft].
We first state the precise statement of this proposition.
Fix \(\tilde{\sigma}_2>0\) and assume \(q\in(0,1)\), \(\tilde{\sigma}_1<\tilde{\sigma}_2\). Then \(\partial_{\tilde{\sigma}_1}R^{\ast}(\tilde{\sigma}_1,\tilde{\sigma}_2,q)= \partial_q R^{\ast}(\tilde{\sigma}_1,\tilde{\sigma}_2,q)=0\) holds if and only if one of the following two regimes holds:
The equilibrium is pinned at the separator of type \(2\), i.e., the following interval condition holds \[f(H^{\ast}_{\mathrm{sep}}(\tilde{\sigma}_2)) < \sqrt{H^{\ast}_{\mathrm{sep}}(\tilde{\sigma}_2)-p} < e(H^{\ast}_{\mathrm{sep}}(\tilde{\sigma}_2)). \label{eq:case95sep295interval95strict}\tag{43}\]
The congestion level is zero \(R^{\ast}=0\), i.e., the following condition holds \[p>\max\{H^{\ast}_{\mathrm{sep}}(\tilde{\sigma}_1), \barH(\tilde{\sigma}_1)\}, \quad \barH(\tilde{\sigma})=r\zeta^2 (2R_{\text{ICL}}\tilde{\sigma}^2)^{-1}. \label{eq:corner95cond95strict}\tag{44}\]
Sufficient conditions for 43 are \[\begin{align} &\big((d-r)\tau+r\zeta\big)^2 (24dR_{\text{SFT}}p)^{-1}\leq \tilde{\sigma}_2^2 \leq \big((d-r)\tau+r\zeta\big)^2 (12dR_{\text{SFT}}p)^{-1}, \quad \tilde{\sigma}_1\leq \tilde{\sigma}_2/2,\\ &\frac{1}{\zeta}\geq \frac{1}{(d-r)\tau}\sqrt{\frac{4drR_{\text{SFT}}}{R_{\text{ICL}}}},\quad (d-r)\tau\geq \max\big\{84 R_{\text{SFT}}^{3/2}p^{3/2},9p^{3/2}\big\},\text{ and } q\leq\min\bigg\{\frac{1}{2},\frac{p}{2\tilde{\sigma}_1\sqrt{R_\text{SFT}d}}\bigg\}. \end{align}\]
Before the formal proof, we note that Proposition [prop:H95fixed95points] in the proof of Proposition [prop:pretrain95influence] derives the closed-form expression of \(H_\mathrm{sep}^*\), which is decreasing in \(\tilde{\sigma}\). Thus, we have that \(H_\mathrm{sep}^*(\tilde{\sigma}_2)<H_\mathrm{sep}^*(\tilde{\sigma}_1)\). In the following, we prove the sufficiency and the necessity separately. Since \(H^*=h(R^*)+p\), this proposition focuses on the case where \[\partial_{\tilde{\sigma}_1}H^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)=0 \quad\text{and}\quad \partial_qH^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)=0 \label{eq:stationary95goal}\tag{45}\]
We start with the sufficiency of the condition.
If \(f(H^*_{\mathrm{sep}}(\tilde{\sigma}_2)) < \sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p} < e(H^*_{\mathrm{sep}}(\tilde{\sigma}_2))\) holds, then Theorem 4 shows that \(H^*=H^*_{\mathrm{sep}}(\tilde{\sigma}_2)\), which does not depend on \(\tilde{\sigma}_1\) nor \(q\). Hence, both partial derivatives in 45 are zero.
If 44 holds, then for each type \(\tilde{\sigma}\in\{\tilde{\sigma}_1,\tilde{\sigma}_2\}\): (i) \(p>H^*_{\mathrm{sep}}(\tilde{\sigma})\) implies \(\psi(\tilde{\sigma},p)>0\), so ICL is the unique best-response algorithm; (ii) \(p>\bar H(\tilde{\sigma})\) implies \(\tilde{N}_{\text{ICL}}(\tilde{\sigma},p)=0\) and hence \(D_{\text{ICL}}(\tilde{\sigma},p)=0\). Therefore, the congestion level is \(0\), i.e., \(R^*=\sqrt{p-p}=0\). Moreover, strictness implies local stability of this selection, \(H^*\) is locally constant, and both partial derivatives are zero.
Then we prove the necessity. Assume 45 holds at a point where \(H^*\) is differentiable in \((\tilde{\sigma}_1,q)\). By Theorem 4, the equilibrium must lie in one of the five cases. We will rule out all cases except the second and the last ones.
Case 1: \(H^*\) is a root of \(\sqrt{H-p}=e(H)\). According to the definition, we have that \[q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*}} + (1-q)\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*}}=\sqrt{H^*-p}.\] Since both terms on the left-hand side of this equation are positive, changing the value of either \(\tilde{\sigma}_1\) or \(q\) will shift the value of \(H^*\). Specifically, \[\begin{align} \partial_{\tilde{\sigma}_1}H^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)>0 \quad\text{and}\quad \partial_qH^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)<0. \end{align}\]
Case 2: \(H^*=H^*_{\mathrm{sep}}(\tilde{\sigma}_2)\). This is exactly the “separator pinned at type 2” regime. Differentiability and the equalities 45 requires that we are not on the boundary where the equilibrium switches to a neighboring case, which is precisely the strict interval condition 43 .
Case 3: \(H^*\) is a root of \(\sqrt{H-p}=f(H)\). According to the definition, we have that \[\begin{align} q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*}} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r R_\text{ICL}}{H^*}}- \frac{2\tilde{\sigma}_2^2 R_\text{ICL}}{\zeta}\bigg\} = \sqrt{H^* - p} \end{align}\] Since the first term in the left-hand side of this equation is positive and is increasing in \(\tilde{\sigma}_1\), thus \[\begin{align} \partial_{\tilde{\sigma}_1}H^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)>0. \end{align}\]
Case 4: \(H^*=H^*_{\mathrm{sep}}(\tilde{\sigma}_1)\). Proposition [prop:H95fixed95points] shows that that \(H^*_{\mathrm{sep}}(\tilde{\sigma})\) is a decreasing function of \(\tilde{\sigma}\). Thus, we have that \[\begin{align} \partial_{\tilde{\sigma}_1}H^*(\tilde{\sigma}_1,\tilde{\sigma}_2,q)<0. \end{align}\]
Case 5: \(H^*\) is a root of \(\sqrt{H-p}=g(H)\).
According to the definition, we have that \[\begin{align} \sqrt{H^*-p}=q\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{1}^2 r R_\text{ICL}}{H^*}}- \frac{2\tilde{\sigma}_1^2 R_\text{ICL}}{\zeta}\bigg\} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r R_\text{ICL}}{H^*}}- \frac{2\tilde{\sigma}_2^2 R_\text{ICL}}{\zeta}\bigg\} \end{align}\] Write \(x_i(H)= R_\text{ICL}N_{\text{ICL}}(\tilde{\sigma}_i,H)\) so that \(g(H)=q x_1(H)+(1-q)x_2(H)\).
If \(x_1(H^*)=0\) and \(x_2(H^*)>0\). Then \(g(H^*)=(1-q)x_2(H^*)\) and \(\partial_q g(H^*)=x_1(H^*)-x_2(H^*)=-x_2(H^*)< 0\), contradicting 45 .
If \(x_2(H^*)=0\) and \(x_1(H^*)>0\). Then \(g(H^*)=q x_1(H^*)\) and \(\partial_q g(H^*)=x_1(H^*)\neq 0\), again a contradiction.
If \(x_1(H^*)>0\) and \(x_2(H^*)>0\). In this interior region, the truncation is inactive and \[x_i(H)=\frac{A_{\text{ICL}}\tilde{\sigma}_i}{\sqrt{H}}-B\tilde{\sigma}_i^2,\] where \(A_\text{ICL}= \sqrt{2rR_\text{ICL}}\), and \(B=2 R_\text{ICL}/\zeta\). Then \(\partial_q g(H)=x_1(H)-x_2(H)\), so \(\partial_q g(H^*)=0\) implies \(x_1(H^*)=x_2(H^*)\), i.e. \[\frac{A_{\text{ICL}}}{\sqrt{H^*}} = B(\tilde{\sigma}_1+\tilde{\sigma}_2). \label{eq:eq95x195x2}\tag{46}\] Also, \(\partial_{\tilde{\sigma}_1} g(H)=q\,\partial_{\tilde{\sigma}_1}x_1(H)\), and \[\partial_{\tilde{\sigma}_1}x_1(H)=\frac{A_{\text{ICL}}}{\sqrt{H}}-2B\tilde{\sigma}_1.\] Thus \(\partial_{\tilde{\sigma}_1}g(H^*)=0\) implies \[\frac{A_{\text{ICL}}}{\sqrt{H^*}} = 2B\tilde{\sigma}_1. \label{eq:eq95dx195zero}\tag{47}\] Combining 46 and 47 yields \(2\tilde{\sigma}_1=\tilde{\sigma}_1+\tilde{\sigma}_2\), i.e. \(\tilde{\sigma}_1=\tilde{\sigma}_2\), contradicting \(\tilde{\sigma}_1<\tilde{\sigma}_2\). Hence, 45 is impossible.
If \(x_1(H^*)=0\) and \(x_2(H^*)=0\). Then the fixed-point equation \(\sqrt{H^*-p}=g(H^*)\) forces \(\sqrt{H^*-p}=0\), so \(H^*=p\). Therefore, in this case, 45 implies \(H^*=p\), i.e., the zero-congestion corner.
In the following, we prove the sufficient condition for 43 . According to the definition, it is equivalent to \[\begin{align} q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}} + (1-q)\max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}_{2}^2 r R_\text{ICL}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}- \frac{2\tilde{\sigma}_2^2 R_\text{ICL}}{\zeta}\bigg\} &<\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}\tag{48} \\ q\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}+(1-q)\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}&>\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}.\tag{49} \end{align}\] Since the sufficient conditions guarantee that \[\begin{align} \frac{\tau}{\zeta}\geq \frac{1}{(d-r)}\sqrt{\frac{4drR_{\text{SFT}}}{R_{\text{ICL}}}},\label{ieq:pi95large} \end{align}\tag{50}\] and Proposition [prop:H95fixed95points] shows that \[\begin{align} H^*_{\mathrm{sep}}(\tilde{\sigma}_2) = \frac{\big((d-r)\tau+r\zeta\big)^2}{8dR_{\text{SFT}}\tilde{\sigma}_2^2}.\label{eq:H95sep95def}, \end{align}\tag{51}\] for the second term in the left-hand side of both 48 , we have that \[\begin{align} \sqrt{\frac{2\tilde{\sigma}_{2}^2 r R_\text{ICL}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}- \frac{2\tilde{\sigma}_2^2 R_\text{ICL}}{\zeta}= \bigg(\sqrt{\frac{16drR_{\text{SFT}}}{\big((d-r)\tau+r\zeta\big)^2}}-\frac{2 \sqrt{R_\text{ICL}}}{\zeta}\bigg)\sqrt{R_{\text{ICL}}}\tilde{\sigma}_2^2\leq 0, \end{align}\] where the inequality results from 50 . Since we require that \[\begin{align} \frac{\big((d-r)\tau+r\zeta\big)^2}{24dR_{\text{SFT}}p}\leq \tilde{\sigma}_2^2 \leq \frac{\big((d-r)\tau+r\zeta\big)^2}{12dR_{\text{SFT}}p},\label{ieq:sigma95med} \end{align}\tag{52}\] we have that \[\begin{align} \sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}/\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}>\frac{p}{2\tilde{\sigma}_1\sqrt{R_\text{SFT}d}}\geq q. \end{align}\] Thus, 48 is satisfied by our sufficient conditions. For 49 , by utilizing 51 , we first note that \[\begin{align} \sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}>\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p} \end{align}\] is equivalent to \[\begin{align} \frac{\big((d-r)\tau+r\zeta\big)^2}{8dR_{\text{SFT}}\tilde{\sigma}_2^2}-p<\frac{16d^2R_\text{SFT}^2 \tilde{\sigma}_2^4}{ \big((d-r)\tau+r\zeta\big)^2}. \end{align}\] When \(((d-r)\tau)^2 >72p^3\), with 52 , the direct calculations can prove this inequality. Thus, to guarantee 49 , we only require that \[\begin{align} q\leq \frac{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}-\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}}{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}= 1- \frac{\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}. \end{align}\] We only need to prove that \[\begin{align} \frac{\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}\leq \frac{1}{2}. \end{align}\] In fact, we have that \[\begin{align} \frac{\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}-\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}\leq \frac{2\sqrt{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)-p}-2\sqrt{\frac{2\tilde{\sigma}_{1}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}{\sqrt{\frac{2\tilde{\sigma}_{2}^2 d R_\text{SFT}}{H^*_{\mathrm{sep}}(\tilde{\sigma}_2)}}}\leq \frac{12\sqrt{2}R_{\text{SFT}}^{3/2}p^{3/2}}{(d-r)\tau+r\zeta}\leq \frac{1}{2} \end{align}\] where the first inequality results from \(\tilde{\sigma}_1\leq \tilde{\sigma}_2/2\), the second inequality results from 52 , and the last inequality results from that \((d-r)\tau\geq 84 R_{\text{SFT}}^{3/2}p^{3/2}\). Thus, we conclude the proof of Proposition [prop:only95one95type].
Given a price \(p\), the existence of equilibrium \((\pi^*,R^*)\) is already proved in Theorem 2. Thus, in the following, we only need to show that the maximizer of \(I(p)\) is finite. We achieve this in three steps.
Step 1: Build the continuity of \(I(p)\) on \([0,\infty)\).
To build the continuity of \(I(p)\) on \([0,\infty)\), we need to: 1. prove the continuity of \(R^*\) on \((0,\infty)\); 2. extend the domain of \(I(p)\) to \([0,\infty)\) by \(I(0)=\lim_{p\downarrow 0}I(p)\). For both results, we first prove that \(R^*(p)\) is bounded for any \(p\geq 0\).
Under regularity conditions of \(h\), there exists a constant \(\barR\) that only depends on \(\calT\) and function \(h\) such that for \(R^*\) induced by any \(p\geq 0\), we have that \(R^*\leq \barR\).
The proof is in Appendix 14.5. This proposition helps us to retrict the range of \(R^*\) and will serve as a basis to restrict the domain of \(R\). Then we prove the contiuity of \(R^*\) in the following proposition.
Under regularity conditions of \(h\), \(R^{*}(p)\) is continuous in \(p\).
The proof is in Appendix 14.6. Thus, the function \(I(p)\) is continuous in \(p\). In addition, since \(R^*(p)\leq \barR\), we have that \(\lim_{p\downarrow 0}pR^*(p)=0\). As a result, the limit \(I(0)=\lim_{p\downarrow 0}I(p)\) is well-defined. With this extension, \(I(p)\) is continuous in \(p\) for \(p\in[0,\infty)\).
Step 2: Restrict the domain of \(p\).
To prove that the maximizer of \(I(p)\) is not \(\infty\), we need to prove that the over-large \(p\) will lead to small value of \(I(p)\). We prove this in two steps: 1. there exists \(p_1<\infty\) such that for any \(p\in[p_1,\infty)\), the type-\(t\) user will choose icl instead of sft at equilibrium for \(T\)-a.e.; 2. there exists \(p_2<\infty\) such that for any \(p\in[p_2,\infty)\), the optimal icl sample number is \(0\) for type-\(t\) users \(T\)-a.e.
We start with the first claim. Define \[\begin{align} \Phi_a(t,H)=\inf_{N\geq 0}\big\{E_a(t,N)+R_a H N\big\}, \text{ and }N_a(t,H)=\argmin_{N\geq 0}\big\{E_a(t,N)+R_a H N\big\}. \end{align}\] Then we have that \[\begin{align} \Phi_\text{ICL}(t,H)&\leq E_\text{ICL}(t,0)= (d-r)\tau + r\zeta,\\ \Phi_\text{SFT}(t,H)&\geq \inf_{N\geq 0}\bigg\{\frac{2(d-r)\tilde{\sigma}^2}{N}+R_\text{SFT}H N\bigg\} = 2\sqrt{2(d-r)\tilde{\sigma}^2R_\text{SFT}H}. \end{align}\] Thus, when \(H>\barH\), \(\Phi_\text{SFT}(t,H)>\Phi_\text{ICL}(t,H)\) for all \(t\), where \[\begin{align} \barH = \sup_{t\in\calT} \frac{((d-r)\tau + r\zeta)^{2}}{8(d-r)\tilde{\sigma}^2R_\text{SFT}}. \end{align}\] Since the congestion level \(R^*\) at equilibrium is non-negative, we can set \(p_1 = \barH\). Thus, we prove the first claim.
For the second claim, we note that \(E_{\text{ICL}}\) is convex in \(\tilN\). Thus, when \(R_{\text{ICL}}H\) is larger than the partial derivative of \(E_{\text{ICL}}\) with respect to \(\tilN\) at \(\tilN=0\), \(N_\text{ICL}(t,H)=0\). The direct calculation shows that this is equivalent to \[\begin{align} H\geq \sup_{t\in\calT}\frac{2\bar{\sigma}^2r(\pi\zeta-\bar{\sigma}^2)}{\pi^2\tilde{\sigma}^2 R_\text{ICL}}. \end{align}\] Thus, we can set \(p_2\) as the right-hand side of this equation.
Summarizing these two claims, once \(p>\max\{p_1,p_2\}\), the \(R^*\) at equilibrium is equal to \(0\), and leads to \(0\) profit.
Step 3: Prove the finitness of \(p^*\).
According to Steps 1 and 2, the optimization of \(p\) is search the maximial value of a continuous function \(I(p)\) on a compact set \([0,\max\{p_1,p_2\}]\), which has the finite maximizer and profit. Thus, we conclude the proof of Proposition [prop:s95exist].
Let \(\theta^{*}\in\mathbb{R}^d\) be the parameter sampled from \(\calN(0,\Sigma^{*})\), \(m\in\mathbb{R}^d\) a reference mean, which is a random vector with expectation \(\mu_m\) and covariance \(\Sigma_m\), \(X\in\mathbb{R}^{n\times d}\) a fixed design matrix, and \(Y\in\mathbb{R}^n\) obey the linear model \[\begin{align} Y = X\theta^{*} + \varepsilon, \qquad \varepsilon \sim \mathcal{N}(0,\sigma^2 I_n), \end{align}\] where \(\varepsilon\), \(\theta^{*}\) and \(m\) are independent. Consider the affine estimator \(\hat{\theta} = m + K(Y - Xm), \quad K\in\mathbb{R}^{d\times n},\) where \(K\) depends on \(X\) and is a fixed matrix. The error of it is \[\begin{align} \bbE\big[\|\hat{\theta}-\theta^{*}\|^2\big]= \tr\Big((I-KX)\big(\Sigma^*+\Sigma_m+\mu_m\mu_m^\top\big)(I-KX)^\top\Big) +\sigma^2\tr(K^\top K). \end{align}\]
Proof of Proposition [prop:uni95err]. Let \(A=I_d-KX\) and \(\Delta=m-\theta^*\). Then we have that \[\begin{align} & \bbE\big[\|\hat{\theta}-\theta^*\|^2\big] = \bbE\big[\|A\Delta+K\varepsilon\|^2\big] = \bbE\big[\Delta^\top A^\top A\Delta\big] + \bbE\big[\varepsilon^\top K^\top K\varepsilon\big] + \bbE\big[2\Delta^\top A^\top K\varepsilon\big]. \end{align}\] It is easy to see the last term is \(0\), since \(\varepsilon\) is zero-mean. Write \(S=\mathbb{E}[\Delta\Delta^\top]\), then we have that \[\begin{align} &\mathbb{E}\left[\Delta^\top A^\top A\Delta\right] = \tr\left(A^\top A\mathbb{E}[\Delta\Delta^\top]\right) = \tr(A S A^\top),\text{ and } \mathbb{E}\left[\varepsilon^\top K^\top K\varepsilon\right] = \tr\left(K^\top K\mathbb{E}[\varepsilon\varepsilon^\top]\right) = \sigma^2\tr(K^\top K), \end{align}\] where \(S=\mathbb{E}[(m-\theta^*)(m-\theta^*)^\top]\). In fact, we have that \[\begin{align} S=\bbE[mm^\top]-\bbE[m\theta^{*\top}]-\bbE[\theta^*m^\top]+\bbE[\theta^*\theta^{*\top}] =\Sigma_m+\mu_m\mu_m^\top + \Sigma^*. \end{align}\] Thus, we have that \[\begin{align} \bbE\left[\|\hat{\theta}-\theta^*\|^2\right] = \tr\Big(A\big(\Sigma^*+\Sigma_m+\mu_m\mu_m^\top\big)A^\top\Big) +\sigma^2\tr(K^\top K). \end{align}\] We conclude the proof of Proposition [prop:uni95err]. ◻
For sft, since the error \(E_\text{SFT}\) is strictly convex and \(\lim_{N\downarrow 0 }E_{\text{SFT}}(N)=\infty\). Thus, the minimizer of the cost can be found by the first-order condition. By direct calculations, we have \[\begin{align} N_{\text{SFT}}(H) = \sqrt{\frac{2\tilde{\sigma}^2d}{R_{\text{SFT}}H}}, \text{ and } \Phi_{\text{SFT}}(H) = 2\sqrt{2\tilde{\sigma}^{2}dR_{\text{SFT}}H}. \end{align}\] For icl, the error \(E_\text{ICL}\) is strictly convex. Thus, the minimizer is achieved at the point satisfying the first-order condition or the boundary point. By the direct calculation, we have that \[\begin{align} N_{\text{ICL}}(H) = \max\bigg\{0,\sqrt{\frac{2\tilde{\sigma}^2 r}{R_{\text{ICL}}H}}-\frac{2\tilde{\sigma}^2}{\zeta}\bigg\}. \end{align}\] When \(R_{\text{ICL}}H\geq r\zeta^2/(2\tilde{\sigma}^2)\), the value of \(\Phi_{\text{ICL}}(H)\) is \[\begin{align} \Phi_{\text{ICL}}(H) = (d-r)\tau+ r\zeta. \end{align}\] When \(R_{\text{ICL}}H<r\zeta^2/(2\tilde{\sigma}^2)\), the value of \(\Phi_{\text{ICL}}(R)\) is \[\begin{align} \Phi_{\text{ICL}}(H) = (d-r)\tau+2\sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}H}-R_{\text{ICL}}\cdot\frac{2\tilde{\sigma}^2}{\zeta}\cdot H. \end{align}\] Thus, we conclude the proof of Proposition [prop:opt95alg].
We prove this by deriving and comparing the bounds of \(N_{\text{ICL}}\) and \(N_{\text{SFT}}\). To derive the bounds, we note that for all \(a\in\{\text{ICL},\text{SFT}\}\), the following holds. \[-\,\frac{\partial}{\partial N}E_a(t,N)=\alpha N^{\alpha-1} J_a(t,N^\alpha),\] where \[\begin{align} J_{\text{SFT}}(t,x)=\frac{2r\tilde{\sigma}^2\zeta^2}{(\zeta x+2\tilde{\sigma}^2)^2} +\frac{2(d-r)\tilde{\sigma}^2}{x^2},\quad J_{\text{ICL}}(t,x)= \frac{2r\,\bar\sigma^2\,\tilde{\sigma}^2\big(\bar\sigma^4 x+\tilde{\sigma}^2\pi(\pi\zeta-\bar\sigma^2)\big)}{(\tilde{\sigma}^2\pi+\bar\sigma^2 x)^3}. \end{align}\] To derive the bounds of \(N_\text{SFT}\) and \(N_\text{ICL}\), we lower and upper bound \(J_{\text{SFT}}\) and \(J_{\text{ICL}}\). For sft, we have that \[\begin{align} J_{\text{SFT}}(t,x)> K_{\text{SFT}}^{\rmL}(t)/x^2 \text{, where } K_{\text{SFT}}^{\rmL}(t)=2(d-r)\tilde{\sigma}^2. \end{align}\] Since any interior optimizer \(N_a(t,H)\) satisfies the first-order condition \[R_aH=\alpha N_a(t,H)^{\alpha-1}J_a\big(t,N_a(t,H)^\alpha\big),\] \(N_\text{SFT}(t,H)\) can be lower bounded as \[\begin{align} N_{\text{SFT}}(t,H)> \Big(\frac{\alpha K_{\text{SFT}}^{\rmL}(t)}{R_{\text{SFT}}H}\Big)^{\frac{1}{\alpha+1}}. \end{align}\] For icl, we have that \[\begin{align} J_{\text{ICL}}(x)\le K_{\text{ICL}}^{\rmU}(t)/x^2 \text{, where } K_{\text{ICL}}^{\rmU}(t)=\sup_{x\geq 0}x^2 J_{\text{ICL}}(t,x). \end{align}\] Thus, we can upper bound \(N_\text{ICL}(t,H)\) as \[\begin{align} N_{\text{ICL}}(t,H)\leq\Big(\frac{\alpha K_{\text{ICL}}^{\rmU}(t)}{R_{\text{ICL}}H}\Big)^{\frac{1}{\alpha+1}}.\label{ieq:compare} \end{align}\tag{53}\]
To ensure that \(R_{\text{SFT}}N_{\text{SFT}}(H)> R_{\text{ICL}}N_{\text{ICL}}(H)\) for all \(H>0\), we only need \[\begin{align} R_{\text{SFT}}^{\alpha}K_{\text{SFT}}^{\rmL}(t)> R_{\text{ICL}}^{\alpha}K_{\text{ICL}}^{\rmU}(t). \end{align}\] In the following, we will upper bound \(K_{\text{ICL}}^{\rmU}(t)\). Let \(\beta(t)=(\pi\zeta-\bar\sigma^2)/\bar\sigma^2=1+\pi(\tau+m^2)/\bar\sigma^2\). Then a change of variables shows \[K_{\text{ICL}}^{\rmU} = 2r\tilde{\sigma}^2\sup_{x\geq 0}\frac{x^2(x+\beta(t))}{(1+x)^3}.\] For the last term on the right-hand side of this equality, we have \[\begin{align} \sup_{x\geq 0}\frac{x^2(x+\beta(t))}{(1+x)^3}< \sup_{x\geq 0}\frac{x+\beta(t)}{x+1} = \beta(t). \end{align}\] Thus, we only need the following condition for 53 , which is exactly Assumption 5. \[\Big(\frac{R_{\text{SFT}}}{R_{\text{ICL}}}\Big)^{\alpha} \ge \frac{r}{d-r}\beta(t).\] Thus, we conclude the proof of Proposition [prop:sft95icl95mono].
We start with sft. We note that within-algorithm equilibrium is defined via \[\begin{align} H_a^* = \barh\big(R_a\cdot N_a(H_a^*),p\big) =\big(R_a\cdot N_a(H_a^*)\big)^2+p .\label{eq:H95fixed} \end{align}\tag{54}\] Pluging \(N_{\text{SFT}}(H)\) in Proposition [prop:opt95alg] into the fixed point equation 54 derives that \[\begin{align} H = p + \left(\sqrt{\frac{2\tilde{\sigma}^2 d\,R_{\text{SFT}}}{H}}\right)^2 = p + \frac{2\tilde{\sigma}^2 d\,R_{\text{SFT}}}{H}. \end{align}\] Solving this equation gives us the result that \[\begin{align} H_{\text{SFT}}^*(p)=\frac{p+\sqrt{p^2+8\tilde{\sigma}^2 d\,R_{\text{SFT}}}}{2}. \end{align}\]
For icl, Proposition [prop:opt95alg] shows that \[\begin{align} N_{\text{ICL}}(H) &=\max\left\{0,\sqrt{\frac{2\tilde{\sigma}^2 r}{R_{\text{ICL}}H}}-\frac{2\tilde{\sigma}^2}{\zeta}\right\}. \end{align}\] Thus, the fixed point equation 54 becomes \[\begin{align} \max\left\{0,\sqrt{\frac{2\tilde{\sigma}^2 rR_{\text{ICL}}}{H}}-\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}\right\} = \sqrt{H-p}. \end{align}\] Since the left-hand side of this equation is monotonically decreasing in \(H\), while the right-hand side is increasing in \(H\), the equation admits at most one root. When \(p\geq \barH\), \(H=p\) makes both sides as zero. Thus, the root under this setting is \(p\).
For \(H_{\mathrm{sep}}^{*}\), we consider two cases: \(H\geq\barH\), and \(H<\barH\), where \(\barH=r\zeta^2/(2R_{\text{ICL}}\tilde{\sigma}^2)\). When \(H\geq\barH\), Proposition [prop:opt95alg] shows that \[\begin{align} \Phi_{\text{ICL}}(H)=(d-r)\tau+r\zeta, \qquad \Phi_{\text{SFT}}(H)=2\sqrt{2\tilde{\sigma}^2 dR_{\text{SFT}}H}. \end{align}\] Thus \(\psi(H)=0\) becomes \[\begin{align} 8\tilde{\sigma}^2 dR_{\text{SFT}}H=\left((d-r)\tau+r\zeta\right)^2, \end{align}\] which is the desired result. The condition \(H\geq\barH\) requires that \[\begin{align} \frac{R_\text{SFT}}{R_\text{ICL}}\leq \frac{\big((d-r)\tau+r\zeta\big)^2}{4dr\zeta^2}. \end{align}\]
When \(H<\barH\), Proposition [prop:opt95alg] shows that \[\begin{align} \Phi_{\text{ICL}}(H)=(d-r)\tau + 2\sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}H}-\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}H. \end{align}\] Therefore \(\psi(H)=0\) is equivalent to \[\label{eq:psi95low} 2\sqrt{2\tilde{\sigma}^2 dR_{\text{SFT}}H} -2\sqrt{2r\tilde{\sigma}^2R_{\text{ICL}}H} +\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}H -(d-r)\tau =0.\tag{55}\] Let \(u=\sqrt{H}>0\). Then \(\sqrt{H}=u\) and \(H=u^2\), and \(\psi(H)=0\) becomes \[\begin{align} \Bigg(2\sqrt{2}\tilde{\sigma}(\sqrt{dR_{\text{SFT}}}-\sqrt{rR_{\text{ICL}}})\Bigg)u +\Bigg(\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}\Bigg)u^2 -(d-r)\tau=0. \end{align}\] That is, \[\begin{align} Cu^2+Bu-(d-r)\tau=0, \end{align}\] with \(B,C\) as \[\begin{align} B =2\sqrt{2}\tilde{\sigma}\Big(\sqrt{dR_{\text{SFT}}}-\sqrt{rR_{\text{ICL}}}\Big), \qquad C =\frac{2\tilde{\sigma}^2 R_{\text{ICL}}}{\zeta}. \end{align}\] Solving for the positive root gives \[\begin{align} u=\frac{-B+\sqrt{B^2+4C(d-r)\tau}}{2C}, \end{align}\] and hence \(H_{\mathrm{sep}}^*=u^2\), which is exactly the results. Thus, we conclude the proof of Proposition [prop:H95fixed95points].
Before the formal proof, we first define several quantities. For each type \(t\), we define the resource-normalized error envelope \[g_t(r)=\min_{a\in\{\text{SFT},\text{ICL}\}} E_a\!\left(t,\frac{r}{R_a}\right),\qquad r\ge 0.\] Then we have that \[\begin{align} g_t(0)=(d-r)\tau+r\zeta, \end{align}\] which is a continuous function of the type \(t\). Since \(\calT\) is compact, we define the maximal value of \(g_t(0)\) as \[\begin{align} B=\sup_{t\in\calT} (d-r)\tau+r\zeta. \end{align}\] For each congestion level \(R\ge 0\), we define the (type-\(t\)) optimal resource demand correspondence \[\label{eq:def95D95t} D(t,R)=\arg\min_{r\ge 0}\Big\{g_t(r)+\barh(R,p)\,r\Big\}.\tag{56}\] Let the aggregate best-response correspondence be \[\label{eq:def95D95bar} \bar D(R)=\left\{\int_{\calT} d(t)\,T(dt): d(\cdot)\;\text{measurable and }d(t)\in D(t,R)\;\forall t\right\}.\tag{57}\] An equilibrium congestion level is a fixed point \(R^*\in\bar D(R^*)\). In the following, we show that \(R^{*}\) is bounded..
First, we derive a pointwise upper bound of \(\bar D(R)\). Fix any \(R>0\) and any \(t\in\calT\). Let \(r_t\in D(t,R)\) be an optimizer of 56 . Comparing the optimal value at \(r_t\) with the feasible point \(r=0\) yields \[g_t(r_t)+h(R)\,r_t\;\le g_t(r_t)+\barh(R,p)\,r_t \le\;g_t(0).\] Since \(g_t(r)\geq 0\), we obtain \[h(R)\,r_t\;\le B.\] Because \(h(R)>0\) for \(R>0\) (strictly increasing with \(h(0)\geq 0\)), it follows that every optimizer satisfies \[0\le r_t\;\le\;\frac{B}{h(R)}.\] Consequently, we have that \[\label{eq:Dbar95upper} \bar D(R)\;\subseteq\;\Big[0,\;\frac{B}{h(R)}\Big],\qquad \forall R>0.\tag{58}\]
Then we show that the fixed point \(R^{*}\) is bounded. Define the threshold \[\label{eq:def95Rbar} \bar R=\inf\Big\{R>0:\;R\,h(R)\;\ge\;B\Big\}.\tag{59}\] Because \(h\) is strictly increasing and \(h(R)\to\infty\) as \(R\to\infty\), we have \(R\,h(R)\to\infty\) as \(R\to\infty\) and therefore the set in 59 is nonempty; hence \(\bar R<\infty\). In fact, no fixed point can lie above \(\bar R\): if \(R^*\in\bar D(R^*)\) and \(R^*>\bar R\), then 58 implies \[R^*\;\le\;\frac{B}{h(R^*)},\] which rearranges to \(R^*\,h(R^*)\le B\), contradicting \(R^*>\bar R\) and the definition 59 . Thus, we conclude the proof of this proposition.
The main idea of the proof is similar to Step 3 in the proof of Theorem 2. Here, we first extend the notations there to include the influence of \(p\). For each \((R,p)\) and type \(t\), define the (resource) best-response correspondence \[D(t,R,p)=\arg\min_{r\ge 0}\;\bigl\{ g_t(r)+\bar h(R,p)\,r\bigr\}\text{, where }g_t(r)=\min_{a\in\{\text{SFT},\text{ICL}\}} E_a\!\left(t,\frac{r}{R_a}\right).\] Let the aggregate best-response correspondence be the Aumann integral \[\barD(R,p)=\int_T \hatD(t,R,p)\,T(dt)\subset\mathbb{R}_+, \text{ where }\hatD(t,R,p) = \mathrm{co}D(t,R,p).\] Proposition [prop:R95bd] shows that we can restrict the range of \(R\) to \([0,\barR]\). The equilibrium congestion level \(R^*(p)\) is fixed point \[R^*(p)\in \bar D(R^*(p),p).\]
In the Step 3 of Theorem 2 proof, we show that \(\barD(R)\) there is upper hemicontinuious. Following the exact procedures, we can also prove that \(\barD(R,p)\) is upper hemicontinuous in \((R,p)\). Define the fixed-point correspondence \[\Gamma(p)=\{R\in[0,\barR]\given R\in \barD(R,p)\},\] where \(B\) is the bound of \(\barD(R,p)\). Then the upper hemicontinuity of \(\barD(R,p)\) implies that \[\mathrm{Gr}(\Gamma)=\{(p,R)\given p\geq 0,\;R\in[0,B],\;R\in\bar D(R,p)\}\] is closed in \(\bbR_{+}\times[0,B]\). In addition, Theorem 2 shows that \[\begin{align} \mathrm{Gr}(\Gamma)=\{(p,R^*(p))\given p\geq 0\}. \end{align}\] Thus, \(R^*(p)\) is continuous in \(p\). We conclude the proof of Proposition [prop:conti].
Fix \(a,b,c,d>0\) and \(0<\alpha\le 1\). Define \[\begin{align} f(x)=\frac{a x^{\alpha}+b}{\big(c x^{\alpha}+d\big)^2},\qquad x\ge 0, \end{align}\] and write \(t=x^\alpha\in[0,\infty)\). Then, for every \(x>0\), \[\label{eq:fpp95factor} f''(x)=\frac{\alpha\,x^{\alpha-2}}{\big(c t+d\big)^4}\,Q(t),\tag{60}\] where \(Q\) is the quadratic polynomial \[\label{eq:Qt95def} Q(t)=a c^2(\alpha+1)t^2+2c\Big((2\alpha+1)bc-2a\alpha d\Big)t+(\alpha-1)d(ad-2bc).\tag{61}\] A sufficient condition for the strict convexity of \(f\) is \[\begin{align} \frac{ad}{bc}\leq \min\bigg\{2,\frac{2\alpha+1}{2\alpha}\bigg\}. \end{align}\]
Proof. Let \(t=x^\alpha\). Define \(g(t)=(a t+b)/(c t+d)^2\) so that \(f(x)=g(t)\). We first compute \(g'(t)\) and \(g''(t)\) as follows. \[\begin{align} g'(t)=\frac{ad-ac\,t-2bc}{(c t+d)^3}, \text{ and } g''(t)=\frac{2ac^2 t+2c(3bc-2ad)}{(c t+d)^4}. \end{align}\]
Now use the chain rule for \(f(x)=g(t)\) with \(t=x^\alpha\) to derive \[\label{eq:fpp95chain} f''(x)=g''(t)\,(t')^2+g'(t)\,t'',\tag{62}\] where \(t'=\alpha x^{\alpha-1}\), and \(t''=\alpha(\alpha-1)x^{\alpha-2}\). Plugging the expressions for \(g'(t),g''(t),t',t''\) into 62 , we get \[\begin{align} f''(x)&=\frac{\alpha x^{\alpha-2}}{(c t+d)^4} \Big( 2\alpha x^\alpha\big( ac^2 t+c(3bc-2ad)\big) +(\alpha-1)(ad-ac\,t-2bc)(c t+d)\Big). \end{align}\] Since \(x^\alpha=t\), expand the bracket: \[\begin{align} &2\alpha t\big( ac^2 t+c(3bc-2ad)\big) +(\alpha-1)(ad-ac\,t-2bc)(c t+d)\\ &\quad =a c^2(\alpha+1)t^2+2c\big((2\alpha+1)bc-2a\alpha d\big)t+(\alpha-1)d(ad-2bc). \end{align}\] This yields 60 –61 . For the convexity of the function, we only need to study the sign of \(Q(t)\). Write \[\begin{align} Q(t)=A t^2+B t+C, \quad A=ac^2(\alpha+1)>0, \quad B=2c\big((2\alpha+1)bc-2a\alpha d\big), \quad C=(\alpha-1)d(ad-2bc). \end{align}\] Since \(A>0\), \(Q\) is convex in \(t\) and attains its minimum over \([0,\infty)\) either at \[\begin{align} t_*=-\frac{B}{2A}\quad\text{if }t_*\ge 0, \qquad\text{or at }t=0\quad\text{if }t_*<0. \end{align}\] Introduce the ratio \(u=ad/bc\). Substituting \(ad=u\,bc\) into \((A,B,C)\) gives \[\begin{align} A=\frac{bc^3}{d}u(\alpha+1),\qquad B=2bc^2\big((2\alpha+1)-2\alpha u\big),\qquad C=bcd(\alpha-1)(u-2). \end{align}\] Hence, we have that \[\begin{align} t_*=-\frac{B}{2A} =\frac{d\,(2\alpha u-2\alpha-1)}{c\,u(\alpha+1)}. \end{align}\] Therefore, \(t_*\leq 0\) is equivalent to \[\begin{align} u\leq \frac{2\alpha+1}{2\alpha}. \end{align}\] Thus, a sufficient condition for the strict convexity is that \(u\leq (2\alpha+1)/(2\alpha)\) and \(Q(0)\geq 0\), i.e., \[\begin{align} \frac{ad}{bc}\leq \frac{2\alpha+1}{2\alpha} \text{, and }ad-2bc\leq 0. \end{align}\] Thus, we conclude the proof of this proposition. ◻
For \(A>0\) and \(x>0\), the function \[\begin{align} f(x)=\frac{\sqrt{A+x}-\sqrt{A}}{x} \end{align}\] is strictly decreasing on \((0,\infty)\). Moreover, \[\begin{align} \lim_{x\downarrow 0} f(x)=\frac{1}{2\sqrt{A}},\qquad \lim_{x\to\infty} f(x)=0, \end{align}\] so \(f\) maps \((0,\infty)\) onto \(\bigl(0,\frac{1}{2\sqrt{A}}\bigr)\).
Proof. We first prove the first result. Rewrite \(f\) by rationalizing: \[\begin{align} f(x)=\frac{\sqrt{A+x}-\sqrt{A}}{x}\cdot \frac{\sqrt{A+x}+\sqrt{A}}{\sqrt{A+x}+\sqrt{A}} =\frac{1}{\sqrt{A+x}+\sqrt{A}}. \end{align}\] Differentiate for \(x>0\): \[\begin{align} f'(x)= -\frac{1}{\left(\sqrt{A+x}+\sqrt{A}\right)^2}\cdot \frac{1}{2\sqrt{A+x}} = -\frac{1}{2\sqrt{A+x}\left(\sqrt{A+x}+\sqrt{A}\right)^2}. \end{align}\] Since the denominator is positive for all \(x>0\), we have \(f'(x)<0\) for all \(x>0\). Hence \(f\) is strictly decreasing on \((0,\infty)\). Using the simplified form \(f(x)=1/(\sqrt{A+x}+\sqrt{A})\), \[\begin{align} \lim_{x\downarrow 0} f(x)=\frac{1}{\sqrt{A}+\sqrt{A}}=\frac{1}{2\sqrt{A}}, \qquad \lim_{x\to\infty} f(x)=\lim_{x\to\infty}\frac{1}{\sqrt{A+x}+\sqrt{A}}=0. \end{align}\] ◻
Consider the function \[\begin{align} f(x)=\frac{(A-x+Bx)^2}{AB^2x},\qquad 0<x<A,\;\;A>0,\;\;B> 0. \end{align}\] If \(0<B<2\), then \(f\) is strictly decreasing and achieves its minimal value \(f(A)=1\) at \(x=A\).
Proof. Rewrite \[\begin{align} A-x+Bx = A+(B-1)x, \end{align}\] so \[\begin{align} f(x)=\frac{(A+(B-1)x)^2}{AB^2x} =\frac{1}{AB^2}\,g(x), \qquad g(x)=\frac{(A+cx)^2}{x},\;\;c=B-1. \end{align}\] Differentiating it, we get: \[\begin{align} g'(x)=\frac{2c(A+cx)\,x-(A+cx)^2}{x^2} =\frac{(A+cx)\bigl(2cx-(A+cx)\bigr)}{x^2} =\frac{(A+cx)(cx-A)}{x^2}. \end{align}\] Since \(x^2>0\) on \((0,A)\), the sign of \(g'(x)\) (and hence \(f'(x)\)) is the sign of \((A+cx)(cx-A)\).
If \(0<B\le 2\) (i.e., \(-1<c\le 1\)), we have \(cx-A<0\) on \((0,A)\) (because \(cx\le cA\le A\)), and also \[\begin{align} A+cx\ge A+cA=A(1+c)=AB>0. \end{align}\] Therefore \(g'(x)<0\) and \(f'(x)<0\) on \((0,A)\):\(f\) is strictly decreasing on \((0,A)\).
Since, \(f\) is strictly decreasing on \((0,A)\), so the infimum is attained at the right endpoint: \[\begin{align} \inf_{0\leq x\leq A} f(x)=f(A)=\frac{(A+(B-1)A)^2}{AB^2A}=1. \end{align}\] ◻
Fix parameters \(A,C>0\), \(0<B<1\), and assume \(A>C\). Define, for \(x\in(0,C)\), \[\begin{align} g(x)=\sqrt{\bigl(\sqrt A-\sqrt x\bigr)^2+B(C-x)}-\bigl(\sqrt A-\sqrt x\bigr). \end{align}\] Then \(g\) is strictly increasing on \((0,x_\ast)\) and strictly decreasing on \((x_\ast,C)\), where the unique critical point \[\begin{align} x_\ast =\left(\frac{\sqrt A-\sqrt{A-(1-B)C}}{1-B}\right)^2 \in (0,C) \end{align}\] is the unique maximizer of \(g\) on \((0,C)\). Moreover, \[\begin{align} g'(x)>0 \;\text{for }x\in(0,x_\ast),\qquad g'(x_\ast)=0,\qquad g'(x)<0 \;\text{for }x\in(x_\ast,C), \end{align}\] and the maximal value satisfies \[\begin{align} g(x_\ast)=B\sqrt{x_\ast} =\frac{B\bigl(\sqrt A-\sqrt{A-(1-B)C}\bigr)}{1-B}. \end{align}\]
Proof. Throughout, fix \(A>C>0\) and \(0<B<1\). For \(x\in(0,C)\) define \[\begin{align} u(x)=\sqrt A-\sqrt x,\qquad s(x)=\sqrt{u(x)^2+B(C-x)}. \end{align}\] Since \(x\in(0,C)\) and \(A>C\), we have \(\sqrt x<\sqrt C<\sqrt A\), hence \(u(x)>0\). Note that \[\begin{align} g(x)=s(x)-u(x). \end{align}\]
We first calculate the derivative with respect to \(x\). Note that \(u'(x)=-\frac{1}{2\sqrt x}\). Next, we have that \[\begin{align} s'(x) =\frac{1}{2s(x)}\frac{d}{dx}\bigl(u(x)^2+B(C-x)\bigr) =\frac{1}{2s(x)}\bigl(2u(x)u'(x)-B\bigr). \end{align}\] Therefore \[\begin{align} g'(x) &=s'(x)-u'(x) =\frac{2u u'-B}{2s}-u'\\ &=\frac{1}{2s}\bigl(2u u'-B-2su'\bigr). \end{align}\] Substituting \(u'=-\frac{1}{2\sqrt x}\) yields \[\begin{align} g'(x) &=\frac{1}{2s(x)}\left(\frac{s(x)-u(x)}{\sqrt x}-B\right) =\frac{1}{2s(x)}\left(\frac{g(x)}{\sqrt x}-B\right).\label{eq:gprime95sign} \end{align}\tag{63}\] Since \(s(x)>0\) for all \(x\in(0,C)\), the sign of \(g'(x)\) is exactly the sign of \[\begin{align} \frac{g(x)}{\sqrt x}-B, \quad\text{i.e.,}\quad \mathop{\mathrm{sign}}(g'(x))=\mathop{\mathrm{sign}}\bigl(g(x)-B\sqrt x\bigr). \end{align}\] In particular, critical points satisfy \[\label{eq:crit95equation} g(x)=B\sqrt x.\tag{64}\]
To find the critial point, we note that 64 is equivalent to \[\begin{align} s(x)=u(x)+B\sqrt x. \end{align}\] Both sides are nonnegative, so we may square: \[\begin{align} u(x)^2+B(C-x)=(u(x)+B\sqrt x)^2=u(x)^2+2u(x)B\sqrt x+B^2x. \end{align}\] Cancel \(u(x)^2\) and divide by \(B>0\) to obtain \[\begin{align} C-x=2u(x)\sqrt x+Bx. \end{align}\] Using \(u(x)=\sqrt A-\sqrt x\) gives \[\begin{align} C-x=2(\sqrt A-\sqrt x)\sqrt x+Bx =2\sqrt A\,\sqrt x-2x+Bx, \end{align}\] hence \[\label{eq:quadratic95in95sqrtx} C+(1-B)x=2\sqrt A\,\sqrt x.\tag{65}\] Let \(y=\sqrt x\in(0,\sqrt C)\), so that \(x=y^2\). Then 65 becomes \[\label{eq:q95def} q(y)=(1-B)y^2-2\sqrt A\,y+C=0.\tag{66}\] The discriminant is \[\begin{align} \Delta = 4\bigl(A-(1-B)C\bigr)>0, \end{align}\] because \((1-B)C<C<A\). Thus 66 has two real roots \[\begin{align} \frac{\sqrt A\pm\sqrt{A-(1-B)C}}{1-B}. \end{align}\] Both are positive, but the larger one is not in the interval \([0,\sqrt{C}]\) due to \(A>C\) and \(0<B<1\). Thus, we define \[\begin{align} y_\ast=\frac{\sqrt A-\sqrt{A-(1-B)C}}{1-B}, \qquad x_\ast=y_\ast^2. \end{align}\]
In the following, we show that \(q(y)\) has exactly one zero in \((0,\sqrt C)\), hence 64 has exactly one solution \(x_\ast\in(0,C)\). First, \(q(0)=C>0\). Next, \[\begin{align} q' (y)=2(1-B)y-2\sqrt A. \end{align}\] For \(y\in(0,\sqrt C)\), \[\begin{align} q'(y)\le 2(1-B)\sqrt C-2\sqrt A<0, \end{align}\] since \((1-B)\sqrt C<\sqrt C<\sqrt A\) (because \(A>C\)). Hence \(q\) is strictly decreasing on \((0,\sqrt C)\).
Moreover, \[\begin{align} q(\sqrt C)=(1-B)C-2\sqrt A\,\sqrt C+C=C(2-B)-2\sqrt A\,\sqrt C <2C-2C=0, \end{align}\] where the strict inequality uses \(\sqrt A\,\sqrt C>A\). By continuity and strict monotonicity of \(q\) on \((0,\sqrt C)\), there exists a unique \(y_\ast\in(0,\sqrt C)\) with \(q(y_\ast)=0\). Therefore \(x_\ast=y_\ast^2\in(0,C)\) is the unique solution of 64 , i.e., the unique critical point of \(g\) on \((0,C)\).
Then we build the monotonicity analysis of \(g\). From 63 , we have that \[\begin{align} \mathop{\mathrm{sign}}(g'(x))=\mathop{\mathrm{sign}}\bigl(g(x)-B\sqrt x\bigr). \end{align}\] Define \(F(x)=g(x)-B\sqrt x\). The argument above shows \(F\) has a unique zero at \(x_\ast\). To determine the sign change, note that \(F(0)=g(0)>0\). Hence \(F\) is strictly positive to the left of \(x_\ast\) and strictly negative to the right. Consequently, \[\begin{align} g'(x)>0\;\text{for }x\in(0,x_\ast),\qquad g'(x_\ast)=0,\qquad g'(x)<0\;\text{for }x\in(x_\ast,C). \end{align}\] Thus \(g\) is strictly increasing on \((0,x_\ast)\) and strictly decreasing on \((x_\ast,C)\), so \(x_\ast\) is the unique maximizer of \(g\) on \((0,C)\).
Finally, plugging the critical-point condition \(g(x_\ast)=B\sqrt{x_\ast}\) and the explicit expression for \(\sqrt{x_\ast}=y_\ast\) yields \[\begin{align} g(x_\ast)=B y_\ast =\frac{B\bigl(\sqrt A-\sqrt{A-(1-B)C}\bigr)}{1-B}, \end{align}\] as claimed. Thus, we conclude the proof of Proposition [prop:monotone95g]. ◻
Let \(e,f,g>0\) be fixed constants. Consider the equation \[\label{eq:icl95fixed} \frac{e x}{\sqrt{H}} - f x^2 = \sqrt{H-g},\tag{67}\] where \(H \ge g\). To ensure feasibility, we restrict \(x\) to satisfy \(0 < x \le x_{\max} =e/(f\sqrt{g})\). For each such \(x\), the solution \(H_*(x)\) of 67 exists and is unique. Moreover, there exists \(x_* < x_{\max}\) such that \(H_*(x)\) is increasing on \((0,x_*]\) and decreasing on \((x_*, x_{\max}]\).
Proof. We first prove the existence and uniqueness of the root of 67 . Define \[\begin{align} F(H,x)=\frac{ex}{\sqrt{H}}-f x^2-\sqrt{H-g}. \end{align}\] For fixed \(x>0\), \(F(\cdot,x)\) is strictly decreasing on \([g,\infty)\), with \[\begin{align} F(g,x)=\frac{ex}{\sqrt g}-f x^2\ge 0, \qquad \lim_{H\to\infty}F(H,x)=-\infty. \end{align}\] Hence, for each \(x\in(0,x_{\max}]\), there exists a unique solution \[\begin{align} H_*(x)\ge g. \end{align}\]
Then we analyze the derivative of \(H_*\) with respect to \(x\). Since \(F_H(H_*(x),x)<0\), the implicit function theorem yields \[\begin{align} H_{*}^{\prime}(x)=-\frac{\partial F}{\partial x}/\frac{\partial F}{\partial H}. \end{align}\] A direct calculation shows that \[\label{eq:xdprime} H_{*}^{\prime}(x)= \frac{\frac{e}{\sqrt{H_*(x)}}-2fx}{\frac{ex}{2H_*(x)^{3/2}}+\frac{1}{2\sqrt{H_*(x)-g}}}.\tag{68}\] Since the denominator in 68 is strictly positive, the sign of \(H_{*}^{\prime}(x)\) is determined by the numerator. Substituting 67 into the numerator of 68 yields \[\begin{align} \frac{e}{\sqrt{H_*(x)}}-2fx =\frac{1}{x}\sqrt{H_*(x)-g}-fx. \end{align}\] Hence, the sign of \(H_{*}^{\prime}\) is \[\label{eq:sign} \operatorname{sign}\,H_{*}^{\prime}(x) =\operatorname{sign}\!\big(\sqrt{H_*(x)-g}-f x^2\big).\tag{69}\]
As \(x\downarrow 0\), 67 reduces to \(\sqrt{H-g}=0\), so \[\begin{align} \lim_{x\downarrow 0}H_*(x)=g. \end{align}\] At the upper boundary \(x=x_{\max}=e/(f\sqrt g)\), \[\begin{align} \frac{ex}{\sqrt g}-f x^2=0, \end{align}\] so \(H_*(x_{\max})=g\) by uniqueness. Thus, if there is only one stationary point of \(H_{*}\), then \(H_{*}\) first increases and then decreases, which proves our claim. In the following, we will show that \(H_{*}\) has a unique stationary point.
A stationary point \(H_{*}^{\prime}(x_*)=0\) occurs if and only if \[\label{eq:stationary} \sqrt{H_*(x_*)-g}=f x_*^2.\tag{70}\] Combining 70 with 67 gives \[\begin{align} H_*(x_*)=\frac{e^2}{4x_*^2 f^2}, \end{align}\] while 70 also implies \(H_*(_x*)=g+x_*^4 f^2\). Equating the two expressions yields \[\begin{align} \frac{e^2}{4x_*^2 f^2}=g+x_*^4 f^2. \end{align}\] Letting \(z_*=x_*^2\), this becomes the cubic \[\label{eq:cubic} f^2 z_*^3+g z_*-\frac{e^2}{4f^2}=0.\tag{71}\] Since the derivative \(3f^2 z^2+g>0\) for all \(z>0\), equation 71 admits a unique positive root \(z_\star\). Thus, we conclude the proof of Proposition [prop:icl95root95property] ◻
Let \(A\in\mathbb{R}\) and \(B>0\). Define \[\begin{align} f(x)=\sqrt{(x-A)^2+B}-(x-A), \qquad x>A. \end{align}\] Then \(f\) is strictly decreasing on \((A,\infty)\).
Proof. Set \(y=x-A\), so that \(y>0\) and \[\begin{align} f(x)=g(y)=\sqrt{y^2+B}-y. \end{align}\] We compute the derivative of \(g\): \[\begin{align} g'(y)=\frac{d}{dy}\bigl(\sqrt{y^2+B}-y\bigr) =\frac{y}{\sqrt{y^2+B}}-1 =\frac{y-\sqrt{y^2+B}}{\sqrt{y^2+B}}<0. \end{align}\] Therefore, \(f\) is strictly decreasing on \((A,\infty)\). ◻
In this section, we provide the experimental details of our work.
For the experiments in Section 4.2 (Figures 2–3), we compute the icl and sft errors using 10 and set the congestion function to \(h(R)=R^2\). Unless otherwise noted, the parameters are \[\begin{align} d &= 300,\, r=100,\, \tau=3,\, \tilde{\sigma}=1,\, \pi=1,\, \zeta=8,\, \bar{\sigma}=1,\, R_{\text{SFT}}=27,\, R_{\text{ICL}}=4.5,\\ p&=10,\, m=\sqrt{\zeta-\tau-2\bar{\sigma}^2/\pi}. \end{align}\] We then sweep the following parameters to produce Figures 2–3:
Figure 2 (a): \(\pi\in [0, 20]\), \(p\in[0,35]\).
Figure 2 (b): \(r\in[0,100]\), \(p\in[0,14]\).
Figure 3 (a):\(\tilde{\sigma}\in[0,12]\), \(\pi\in[0.1,1.5]\).
Figure 3 (b): \(R_{\text{ICL}}\in[1,8]\), \(R_{\text{SFT}}\in [R_{\text{ICL}},R_{\text{ICL}}+20]\) for each \(R_\text{ICL}\).
For the experiments in Section 4.3, i.e., Figure 4, the icl and sft errors are computed according to 10 . The hyperparameters are set as follows. \[\begin{align} d &= 300,\, r=100,\, \tau=3,\, \tilde{\sigma}_1=0.5,\, \tilde{\sigma}_2 = 0.6,\, \pi=1,\, m=1.73,\, \bar{\sigma}=1,\, R_{\text{SFT}}=27,\, R_{\text{ICL}}=4.5,\\ p&=10,\, \zeta=\tau+2\bar{\sigma}^2/\pi+m^2. \end{align}\] When deriving Figure 5, we sweep \(\tilde{\sigma}_1\in[0.15,0.6]\) and \(q\in[0,1]\).
In our experiments, we employ decoder-only Transformer models from the GPT-2 family [49], as implemented in the HuggingFace library [52]. Specifically, we experiment with embedding dimension \(256\), \(12\) layers, \(8\) attention heads, covariate dimension \(30\), and maximal length \(2048\) (about \(22\)M parameters).
Tasks are cast as sequence prediction: each prompt contains \(k\) in-context input–output pairs and a query. Specifically, for inputs \(x_i\in\mathbb{R}^d\) and outputs \(f(x_i)=x_i^\top\theta^*+\varepsilon_i\), the prompt is \[(x_1,f(x_1),\,x_2,f(x_2),\,\ldots,\,x_k,f(x_k),\,x_{\text{q}}),\] where \(x_i\) and \(x_{\text{q}}\) are sampled i.i.d.from the input distribution and \(\varepsilon_i\stackrel{\text{i.i.d.}}{\sim}\mathcal{N}(0,0.5)\). Scalar inputs and outputs are embedded by zero-padding to the covariate dimension and applying a learned linear projection; a linear head maps predicted embeddings back to scalars for evaluation. We train a decoder-only Transformer to autoregressively predict each \(f(x_i)\) from preceding tokens and finally predict \(f(x_{\text{q}})\).
Pretraining starts from scratch with squared error loss. At each step, we sample a batch of random prompts where each \(x_i\) is \(r\)-sparse (\(|\supp(x_i)|=r<d\)), and update the parameters to minimize the expected squared prediction error over all prefix positions. We set dropout to \(0\) (inputs are always fresh and we observe no overfitting), use batch size \(480\), and train for \(100\)k steps with Adam at learning rate \(10^{-4}\). For some tasks, we use a curriculum that gradually increases the effective input dimensionality early in training, which substantially accelerates convergence—especially at larger \(d\), where training without curriculum can exhibit a long initial plateau.
sft initializes from the pretrained parameters and fine-tunes using full-dimensional inputs (\(r=d\)) with no curriculum. We first generate an sft dataset of the prescribed size, then fine-tune for \(100\) epochs using Adam (learning rate \(10^{-4}\), batch size \(480\)). We save the end-of-epoch checkpoint and report the best-performing epoch (on the validation set), corresponding to the optimal regularization \(\lambda^*\) in Proposition [prop:comp]. Finally, we enforce a minimum of \(100\) gradient updates to ensure the fine-tuned model differs from the pretrained initialization.
To evaluate the pretrained model, we prompt it with the sequence \((x_i,f(x_i))\) for \(i\in[\tilN]\) followed by the query input \(x_{\mathrm{q}}\). Note that at evaluation time, the covariates may have larger support \(|\supp(x_i)|\) than in pretraining. We report the squared error \((x_{\mathrm{q}}^\top\theta^*-\hat{y})^2\), where \(\hat{y}\) is the model’s prediction. We evaluate the sft model in the same manner. For a fair comparison between sft and icl, in Figure 7 (a) we prompt the sft model with \(500\) in-context examples; Figure 6 (a) shows that the icl error has essentially plateaued by \(500\) examples.
In this section, we provide more experimental results about Proposition [prop:only95one95type]. First, in addition to the gradient norm in Figure 5, we provide the value of \(R^*\) and the regime that the equilibrium belongs to.



Figure 8: Figures (a)-(c) show the congestion level \(R^*\), the gradient of \(R^*\) (i.e., \(|\partial_{q}R^{*}|+|\partial_{\tilde{\sigma}_1}R^{*}|\)), and the regime of the equilibrium with various target task noise \(\tilde{\sigma}_1\) and type-\(1\) ratio \(q\)..
The regime of the equilibrium is labeled according to Theorem 8. For example, if \(H^{\ast}=H_{\mathrm{sep}}^{\ast}(t_2)\), then the equilibrium belongs to regime \(2\). Figure 8 shows the case where the equilibrium is pinned at the separator of type \(2\) in Proposition [prop:only95one95type]. The following figures show the case where \(R^*=0\).



Figure 9: Figures (a)-(c) show the congestion level \(R^*\), the gradient of \(R^*\) (i.e., \(|\partial_{q}R^{*}|+|\partial_{\tilde{\sigma}_1}R^{*}|\)), and the regime of the equilibrium with various target task noise \(\tilde{\sigma}_1\) and type-\(1\) ratio \(q\)..
Here we set \(p=11\) in these figures.


Figure 10: These figures illustrate how the equilibrium congestion level \(R^{*}\) varies with prior precision \(\pi\) and pretraining coverage \(r\) of the pretrained LLM under \(h(x)=\max\{0,x\}\)..


Figure 11: These figures illustrate how the equilibrium congestion level \(R^{*}\) varies with the personalization data noise \(\tilde{\sigma}\) and the per-sample resource consumption of SFT \(R_{\text{SFT}}\) and ICL \(R_{\text{ICL}}\) under \(h(x)=\max\{0,x\}\)..


Figure 12: These figures illustrate how the equilibrium congestion level \(R^{*}\) varies with prior precision \(\pi\) and pretraining coverage \(r\) of the pretrained LLM under \(h(x)=\exp(x)\)..


Figure 13: These figures illustrate how the equilibrium congestion level \(R^{*}\) varies with the personalization data noise \(\tilde{\sigma}\) and the per-sample resource consumption of SFT \(R_{\text{SFT}}\) and ICL \(R_{\text{ICL}}\) under \(h(x)=\exp(x)\)..
We document whether and when major AI companies provide sft API services. Our analysis focuses on companies that released significant foundation models covered in the Artificial Intelligence Index Report 2024 [50] and 2025 [51]. Specifically, the companies in our sample are: AI21 Labs, Alibaba, Amazon, Anthropic, Apple, Baidu, ByteDance, Cohere, Databricks, DeepSeek, Google, Inflection AI, Meta, Midjourney, Mistral AI, Nvidia, OpenAI, Runway, Salesforce, Stability AI, and xAI.
In our analysis, we define “hosting a sft API” as offering an interface that allows users to fine-tune the model through the company’s API. We do not count releasing model weights as hosting an SFT API, because making an open-weight model available does not, by itself, constitute an API-based fine-tuning service or directly generate revenue for the provider. The results are listed in Table 2.