Manuscript Offprint
arXiv:2610.31702Collaborative In-Context Learning for Indoor Radio Map Estimation
Yuanzhe Peng , Jie Xu
University of North Florida, Jacksonville, FL, USA
University of Florida, Gainesville, FL, USA
Abstract—Indoor radio map estimation (RME) is essential for wireless applications such as coverage planning, localization, and network deployment. However, most existing methods follow a supervised learning paradigm that requires costly labeled data and task-specific model training. Moreover, indoor environments involve privacy-sensitive information, such as building layouts and structures, that often cannot be centralized. To address these challenges, we make the first attempt to formulate indoor RME as a collaborative in-context learning (ICL) problem. We propose POLY-RIPPLE, a framework in which multiple clients perform ICL using large autoregressive vision models (LAVMs) without model updates. Each client is prompted by its private demonstrations and predicts the radio map for the same scene query. To capture the causal structure of wireless propagation outward from the transmitter (Tx), we adopt ripple-ordered autoregressive modeling. We further introduce importance-aware aggregation to exploit heterogeneous contextual knowledge distributed across clients under the context length constraint. We provide theoretical analysis and conduct extensive experiments on a public indoor RME benchmark. The experimental results show that POLY-RIPPLE consistently outperforms representative ICL baselines, while aligning with our theoretical analysis.
Index Terms—In-Context Learning (ICL), Large Autoregressive Vision Model (LAVM), Radio Map Estimation (RME), Foundation Models, Big Data Applications in Telecommunications.
I. INTRODUCTION
Accurate and cost-effective indoor radio map estimation (RME) is essential for wireless applications such as coverage planning, localization, and network deployment [1]–[3]. A radio map provides spatially resolved estimates of path loss (PL), which quantifies signal attenuation in decibels throughout an indoor environment for a given transmitter (Tx) location. Indoor RME is particularly challenging because of complex propagation effects such as reflection and transmission. Traditional model-driven approaches, including the log-distance PL model and 3GPP channel models, offer physical interpretability but often generalize poorly across diverse building layouts.
More recently, data-driven methods have formulated RME as an image-to-image supervised learning task. Prior studies mainly improve indoor RME from three aspects: (1) designing encoder-decoder architectures based on convolutional neural networks (CNNs) or vision transformers (ViTs) [4]–[12]; (2) customizing loss functions [13]–[17]; and (3) applying feature fusion or data augmentation techniques [18]–[20]. Despite these

Fig. 1. Illustration of POLY-RIPPLE. Each client performs ICL for the same server-issued query using its private demonstration set . Under privacy and context length constraints, the server applies importance-aware aggregation to combine diverse client knowledge into the final prediction .
advances, most existing methods still follow the supervised learning paradigm and focus on improving task-specific models.
However, practical indoor deployment exposes fundamental limitations of supervised learning. First, obtaining labeled PL maps requires costly ray-tracing simulations or labor-intensive field measurements for each new building, making task-specific training expensive and difficult to scale. Second, building layouts and indoor structures contain privacy-sensitive information that often cannot be centralized across sites. This restriction makes it difficult to train a single global model using data collected from different environments. Therefore, although supervised learning has achieved promising performance, its practical deployment for indoor RME remains limited.
Recent advances in large language models (LLMs), such as GPTs, have demonstrated the ability to perform new tasks using only a few input-output demonstrations (or prompts), a capability known as in-context learning (ICL) [21]. ICL eliminates the need for task-specific model updates and suggests a different approach to indoor RME. Instead of training a model, a large autoregressive vision model (LAVM) can be prompted with a few relevant demonstrations to infer the radio map for a new scene query. This property makes ICL particularly appealing for indoor RME, where labeled data are costly and rapid adaptation to unseen environments is desirable. Meanwhile, indoor data are naturally distributed across buildings, floors, and organizations. Each client maintains its own private layout and measurements,
The work of Yuanzhe Peng (email: y.peng@unf.edu) was partially supported by UNF startup funding. The work of Jie Xu was partially supported by the NSF under Grants 2433886, 2515982, and 2505381.

Fig. 2. Raster scan order (left) is commonly used in visual autoregressive modeling [22]. In contrast, inspired by the physical law of ripple-like outward signal propagation from a Tx in indoor radio map estimation, we adopt a ripple order (right) to better capture the causal structure for next-token prediction.
while sharing raw demonstrations may be infeasible because of privacy concerns. Moreover, the limited context length of LAVMs restricts the number of demonstrations that can be processed within a single context. These observations motivate the collaborative ICL setting shown in Fig. 1, where multiple clients contribute distributed contextual knowledge without sharing their private demonstrations.
Challenges. Despite its potential, applying collaborative ICL to indoor RME is nontrivial. First, scene inputs and radio maps are continuous visual data and must be converted into meaningful discrete tokens before autoregressive modeling. Second, most existing visual autoregressive models adopt raster-scan ordering, which fails to capture the causal structure of wireless propagation. Signals propagate outward from the Tx and interact with increasingly distant obstacles, resembling ripples across still water and forming ripple-like spatial dependencies. Third, practical deployment is distributed and subject to privacy and context length constraints. Each client's demonstrations contain private building information and cannot be shared, while the maximum token limit allows only a few high-quality demonstrations in a single context. The server thus requires an effective aggregation mechanism to combine heterogeneous client predictions into an accurate final estimate.
These challenges raise a question: how can we design a collaborative ICL framework that captures the causal structure of RME under privacy and context length constraints?
In this paper, we propose POLY-RIPPLE, a collaborative ICL framework for indoor RME. The term “poly” reflects the collaboration of multiple clients that generate ripple-structured local predictions for server-side aggregation. On each client, POLY-RIPPLE constructs a high-quality demonstration set that considers both Tx location relevance and spatial diversity. It then tokenizes continuous visual inputs into meaningful discrete tokens and arranges them in an outward ripple order. As shown in Fig. 2, this physics-guided ordering enables the LAVM to capture the causal structure of wireless propagation for next-token prediction. On the server side, POLY-RIPPLE applies importance-aware aggregation based on client-query similarity. This design emphasizes predictions from more relevant demonstrations while leveraging complementary information across clients. It exploits distributed contextual knowledge without sharing private indoor information while respecting the context length imposed by the maximum token limit.
Contributions. Our contributions are summarized as follows.
• We formulate indoor RME as a collaborative ICL problem beyond the conventional supervised learning paradigm.
• We propose POLY-RIPPLE, an ICL framework combining ripple autoregressive inference with importance-aware aggregation of distributed contextual knowledge.
• We provide theoretical analysis of estimation error bounds and multi-client collaboration gains.
• We conduct experiments on a public dataset, showing that POLY-RIPPLE outperforms representative ICL baselines. Experimental results align with our theoretical analysis.
In-Context Learning. ICL enables models to perform new tasks using a few input-output demonstrations without model updates [23]–[29]. It has been extended to visual tasks, where images are tokenized using VQ-VAE [30] or VQ-GAN [31], followed by autoregressive next-token prediction [22]. Visual ICL has shown promising performance on semantic segmentation, image inpainting, and other tasks [32]. Recent studies have explored ICL for wireless applications [33]–[35], but they do not address collaborative inference across distributed clients [36], [37], where private demonstrations cannot be shared and the maximum token limit constrains context length.
III. PROBLEM FORMULATION
Indoor RME Task. Consider an indoor environment discretized into a two-dimensional grid of size . Let denote the set of spatial coordinates, where . Given a transmitter (Tx) location , indoor RME aims to predict the path loss value at every location , forming a radio map .
The corresponding scene input is denoted by , where is the number of input channels. Following the dataset used in this paper, each scene input contains three physically meaningful channels: the distance from each spatial location to the Tx, transmittance, and reflectance. The transmittance and reflectance channels are determined by the material interfaces of the building layout and remain unchanged across different Tx locations within the same building layout.
Conventional Supervised Formulation. Most existing RME methods adopt centralized supervised learning. A model is trained to map a scene input x to the corresponding radio map, , where the parameters are optimized using a task-specific loss such as the root mean squared error. Despite diverse designs in model architectures and loss functions, these methods generally require large labeled datasets and dedicated training for effective deployment in new environments.
Our Collaborative ICL Formulation. We instead formulate indoor RME as a collaborative ICL problem with M clients and a central server, enabling large-scale deployment without task-specific model training. Each client is associated with a distinct building layout and maintains private input-output demonstrations collected from that layout. In practice, these demonstrations cannot be centralized because they contain private information about building layouts and structures. In addition, the LAVM has a fixed context window measured in tokens, which limits the number of demonstrations it can process. Collaboration therefore enables distributed contextual knowledge to contribute to indoor RME without sharing private demonstrations or combining them all into one context.
Specifically, for each client , let denote the spatial coordinate set of its building layout. Different Tx locations within the same layout produce different scene inputs and corresponding radio maps. The local demonstration set of client is defined as , where is an input-output demonstration associated with Tx location . These private demonstrations remain local and are not exchanged among clients or with the server.
The server, representing the user side, maintains a set of query scene inputs , where each query corresponds to either a new building layout or a new Tx location. The corresponding radio maps are unavailable and must be estimated without costly task-specific model training. The server therefore broadcasts the same query to all clients. Each client then performs ICL using an LAVM with frozen parameters , prompted by its private demonstrations ,
Notably, the clients produce different predictions for the same query because they are prompted by different demonstrations.
The objective of collaborative ICL is to aggregate these local predictions into a final radio map under privacy and context length constraints. Specifically, the server computes
where denotes an aggregation operator. For example, weighted aggregation is given by , where and . The weights reflect the relevance of each client's demonstrations to the query, such as the similarity between a representative client scene and .
IV. METHODOLOGY
We present the POLY-RIPPLE framework for indoor RME. On the client side, each client performs query dependent demonstration construction, visual tokenization, ripple ordered sequence generation, and autoregressive prediction using an LAVM. On the server side, the local predictions are aggregated using importance-aware weights, as shown in Fig. 3.
A. Client-Side In-Context Learning
Each client m corresponds to a building layout and stores its demonstrations locally. Upon receiving a query broadcast by the server, client m performs the following four steps.
Local Demonstration Construction. Each client receives the query input with transmitter location . Let denote its local dataset, where is a candidate transmitter position. Due to the context length constraint, client selects at most demonstrations. It first chooses the position aligned anchor , whose transmitter geometry is closest to the query. It then applies K-means clustering to , forming disjoint clusters with centroids , and selects from each cluster. This yields . If the anchor is not included, the representative of the cluster containing is replaced by the anchor. Finally, client constructs . All operations remain local. The anchor preserves positional relevance, while the remaining representatives provide spatial diversity.
Visual Tokenization. After constructing the query dependent demonstration set , client converts the demonstrations and query into discrete tokens for causal sequence modeling. We use a pretrained VQ-GAN with a fixed codebook , consisting of an encoder , a quantizer , and a decoder . For any input , the encoder produces a latent tensor , where , , is the downsampling factor, and is the embedding dimension. Each latent vector is mapped to the index of its nearest codeword in according to . This produces a discrete token grid . Client applies the tokenizer to all inputs and outputs in and to the query input , yielding their corresponding token grids.
Ripple Ordering. To reflect the causal structure of wireless propagation, tokens are organized in a ripple order rather than a raster scan order. Specifically, tokens are arranged by increasing radial distance from the transmitter, so autoregressive prediction proceeds from nearby regions to farther regions.
For a demonstration pair with transmitter location mapped to the latent token grid, the grid positions are represented as , where . The radial distance of each position is . Given increasing radial thresholds , the th ripple layer is defined as
Let . Within each ripple layer, input and output tokens at the same position are interleaved to associate environmental context with local propagation behavior. For , the interleaved token pair is . The sequence for layer is

Fig. 3. Each client locally performs ICL using an LAVM, which consists of a VQ-GAN encoder and decoder for tokenization and reconstruction, and a transformer for next-token prediction. The server aggregates the ripple-structured local predictions via to collaboratively produce the final radio map.
We concatenate the layers in ascending radial order and append a separator token after each layer, including empty layers, to maintain a consistent sequence structure. The sequence for demonstration is . Finally, client concatenates all selected demonstration sequences to construct .
Autoregressive Prediction. Given the ripple ordered prompt context and query input tokens , client m performs autoregressive prediction using a causal transformer with fixed parameters. The transformer sequentially generates the client specific output tokens , conditioned on the prompt context, the query input, and previously generated output tokens. Formally, the joint likelihood factorizes as
where is the number of tokens in the latent grid, and is generated at the th position in the ripple ordered sequence. The causal attention mask prevents access to future output tokens, so the generated outputs follow the outward ripple order while conditioning on the observed query input and prompt context. The generated output is rearranged into a discrete token grid in . A lookup operator maps each token index to its codeword in , and the VQ-GAN decoder reconstructs the local radio map as
Finally, only is transmitted, while the private demonstrations and intermediate token sequences remain stored locally.
B. Server-Side Importance-Aware Aggregation
After all clients generate local predictions using their private prompts, the server aggregates them to obtain the final estimate. Uniform averaging is straightforward, but it may be suboptimal because the local prompt sets can differ substantially in their relevance to the query. We thus express the aggregation rule as
where is a weighted aggregator that assigns each client an importance weight based on its relevance to the query. Let denote a representative scene input of client , such as the anchor selected for the current query. Given the query scene , their cosine similarity is , where is a shared scene encoder. This score measures the structural relevance of client to the query. The embedding or the resulting score is computed locally and transmitted to the server, while the original scene remains private. The similarity scores are converted into aggregation weights through a temperature scaled softmax function,
where controls the concentration of the weights. A smaller emphasizes the most relevant clients, whereas a larger distributes the weights more evenly.
The final radio map prediction for server query is
This importance-aware aggregation emphasizes predictions from relevant clients while reducing the influence of less informative ones. Other relevance measures, including confidence based or hybrid criteria, can also be incorporated without changing the overall framework.
V. THEORETICAL ANALYSIS
A. Estimation Error Analysis
We introduce a surrogate model to characterize the implicit adaptation induced by contextual conditioning in ICL. We consider a common server-issued query broadcast to all clients, whose private local demonstrations may produce different predictions. Each client observes independent and identically distributed demonstrations . For any subset , let denote the restriction of the input vector to the coordinates indexed by . We begin by making the following mild assumptions.
Assumption 1. For every output coordinate and every subset , there exist coefficients and client-specific fluctuation terms such that, for all clients ,
Assumption 2. The inputs are standardized with zero mean and identity covariance: , .
Assumption 3. There exists a physical ordering of output coordinates by increasing distance to the transmitter. Without loss of generality, indices are ordered so that corresponds to the closest location and to the farthest. The dynamic range levels satisfy .
Assumption 4. For any client and any two coordinate subsets , the initialization error satisfies
Assumption 1 models the shared propagation relationship through , while captures variations induced by different local contexts. The coordinate-specific variance represents the signal dynamic range. Assumption 2 standardizes the input covariance, while the proof of Lemma 1 additionally uses the isotropic fourth-moment identity specified in the proof section. Assumption 3 reflects the decreasing signal variability from the Tx outward and motivates ripple-ordered estimation. Finally, Assumption 4 characterizes each client's initialization mismatch by , thereby isolating the effect of the estimation order.
Lemma 1 (One-step estimation error on client m). Under Assumptions 1 and 2, for any client , any output coordinate , and any subset , after one (implicit) update step with step size using all K demonstrations on client m, the expected squared estimation error satisfies
(12)
B. Optimal Estimation Order Analysis
We next examine how the estimation order affects the cumulative error on each client. Let be a permutation of specifying the output order. At step , coordinate is estimated using the cumulative feature set . Applying Lemma 1 at each step and summing over gives the following bound.
Theorem 1 (Total estimation error bound on a single client m). Under Assumptions 1–4, for any client and any estimation order o, the total expected prediction error accumulated over all d sequential estimation steps satisfies
(13)
Remark 1. In (13), the first three terms are independent of , since is a permutation and . Therefore, the estimation order affects the bound only through . Because later coordinates receive larger coefficients , minimizing the bound requires larger-variance coordinates to be estimated earlier.
Proposition 1 (Optimal estimation order). Under Assumption 3, for any permutation of , the order-dependent term satisfies , with equality if and only if the permutation orders the sequence in nonincreasing order.
Remark 2. Proposition 1 shows that the order-dependent error is minimized by estimating coordinates with larger signal variability earlier. This ordering is common to all clients because is shared, while client heterogeneity appears only through in the order-independent terms. Under , the optimal permutation is , which corresponds to the proposed outward ripple order.
Corollary 1 (Closed-form estimation error on a single client m). Under Assumptions 1–4, by choosing the optimal estimation order in Proposition 1, the total expected prediction error accumulated over all d sequential estimation steps satisfies
(14)
Remark 3. Corollary 1 specializes Theorem 1 to ripple ordering, for which the order-dependent term becomes . The bound holds for each client, with heterogeneity entering through . Physically, estimating high-variability near-Tx regions first provides contextual information for subsequent prediction of more stable far-field regions.
C. Aggregation Analysis
We next analyze the estimation error obtained by aggregating the predictions of M clients.
Assumption 5. For any step and any two distinct clients , the client prediction errors w.r.t. the ground truth are uncorrelated: \mathbb{E}[(y_{o(t)}^m - \boldsymbol{x}_{\mathcal{S}(t)}^\top w_{\mathcal{S}(t)})(y_{o(t)}^m' - \boldsymbol{x}_{\mathcal{S}(t)}^\top w_{\mathcal{S}(t)})] = 0.
Assumption 5 models clients whose prediction errors contain no shared systematic component. This condition is reasonable when clients use disjoint local demonstrations and their remaining prediction fluctuations are independent across clients.
Theorem 2 (Closed-form aggregated estimation error via uniform aggregation). Under Assumptions 1–5, let each client adopt the optimal ripple estimation order characterized in Proposition 1. Then, under uniform averaging across M clients, the total prediction error satisfies
(15)
Remark 4. Theorem 2 shows that uniform aggregation preserves the ripple-order error structure while reducing its magnitude through . When clients have comparable prediction errors, this yields an effective gain from averaging uncorrelated errors.
Theorem 3 (Closed-form aggregated estimation error via weighted aggregation). Under Assumptions 1–5, let each client adopt the optimal ripple estimation order characterized in Proposition 1. For any nonnegative aggregation weights satisfying , define the aggregated prediction as . Then the total prediction error after weighted aggregation satisfies
(16)
Remark 5. Theorem 3 extends uniform averaging to weighted aggregation. The bound weights each client's ripple-order error by , showing that aggregation performance depends on both client quality and the weight distribution. The shared term captures coordinate-specific signal variability, while the term involving captures client-specific mismatch. Therefore, assigning larger weights to clients with smaller mismatch can reduce the aggregated error bound.
Theorem 3 motivates nonuniform importance-aware aggregation in POLY-RIPPLE. Ideally, clients whose local demonstrations better match the server-issued query should receive larger weights, as they are expected to have smaller mismatch-induced errors. We next translate the bound into an importance-aware design principle. Specifically, the right-hand side of (16) is quadratic in the aggregation weights. We define the client-dependent estimation error proxy
and consider the following optimization problem:
P1
(18)
Problem P1 is important for two reasons. First, it provides an explicit and principled objective that is implied by our theoretical bound, and therefore clarifies what a better aggregation rule should optimize. Second, its closed-form solution reveals an inverse-risk allocation rule, which directly inspires our importance-aware weighting strategy in POLY-RIPPLE.
Proposition 2. Assume for all . The solution to the optimization problem in (18) follows an inverse-risk allocation rule and can be expressed as
where the (client-independent) factor is defined by , so that .
Remark 6. Proposition 2 provides a weight design principle implied by Theorem 3. The optimal aggregation weight scales inversely with the client-specific proxy , so clients with smaller receive larger weights. Under the same estimation order and shared values of , , and , differs across clients only through the mismatch term in its definition, as shown in (17) and the bracketed term in (16). Specifically, the remaining term is shared across clients and therefore does not affect the relative ordering among . Consequently, the inverse-risk rule indicates that clients with smaller mismatch magnitudes , and hence smaller , should be assigned larger weights. In practice, the server cannot directly observe because the client prompts and intermediate token sequences remain private. Nevertheless, the proposition specifies the desired monotonic structure for weight assignment: should decrease with a client-specific risk indicator. This motivates our method to adopt a computable relevance score, such as the cosine similarity between a representative client scene and the query scene, as a practical proxy for client risk. A client with higher scene relevance is expected to induce a smaller mismatch with the server-issued query and is therefore assigned a larger aggregation weight, whereas less relevant clients are downweighted.
VI. EXPERIMENTS
We conduct extensive experiments to answer the following three questions. The corresponding results and analyses are presented in Sections VI-B, VI-C, and VI-D, respectively.
Q1: How does POLY-RIPPLE compare with ICL baselines in terms of quantitative and qualitative performance?
Q2: How do the key parameters affect its performance?
Q3: Do the empirical results support the theoretical analysis?
A. Experimental Setup
Dataset. We adopt a publicly available indoor radio map dataset [38]. Each sample is associated with a building layout, a frequency band, an antenna radiation pattern, and a Tx location. The dataset contains 25 building layouts, three frequency bands, and five antenna radiation patterns. For each combination of building layout, frequency band, and antenna radiation pattern, radio maps are provided for 50 to 80 Tx locations, resulting in a total of 27,750 samples. Each input consists of three channels representing reflectance (dB), transmittance (dB), and distance to the Tx (m), while the output is the corresponding radio map.
Baselines. (1) Local ICL. Each client independently predicts the query issued by the server using its private demonstrations and ripple-ordered autoregressive modeling. The resulting local predictions are evaluated without server-side aggregation. (2) Collaborative ICL with Uniform Aggregation. Multiple clients independently predict the same query using their private demonstrations. The server then uniformly averages their local predictions by assigning each client a weight of 1/M.
Implementation and Metrics. We implement our framework using PyTorch 2.6 and conduct all experiments on NVIDIA
B200 GPUs. We deploy 20 clients, denoted by C1 to C20, and assign each client a unique building layout. The remaining five building layouts, denoted by C21 to C25, are maintained by the server as unseen target layouts representing the user side. We use a VQ-GAN [39] for tokenization and a LLaMA model [40] for autoregressive prediction. With a downsampling factor of , the VQ-GAN tokenizes each resized image into 256 discrete tokens using a codebook containing 8,192 entries, each with dimension 64. For autoregressive modeling, we adopt the LLaMA-7B checkpoint released with LVM [32], which was pretrained on 50 diverse datasets with 420 billion tokens and demonstrates strong generalization to unseen tasks. We use root mean squared error (RMSE) as the evaluation metric, where indicates that a lower value is better. We report mean RMSE and standard deviation over five independent runs.
B. Results and Analysis
To answer Q1, we evaluate POLY-RIPPLE with M = 20 clients. Each client maintains private demonstrations from one building layout and constructs a local prompt containing K = 3 paired input-output demonstrations. Queries are sampled from five unseen layouts, and broadcast to all clients for local ICL.
Different clients with different layouts (examples)

Fig. 4. Local prompt construction with K = 3 on different clients.
Diversity in local prompt construction. For each query, client m constructs its local prompt using the two-step strategy described in Section IV-A. The first demonstration is selected as an anchor whose Tx location is closest to the query Tx location in normalized coordinates. The remaining K - 1 demonstrations are selected to provide spatially diverse Tx locations within the same client layout. As shown in Fig. 4, the first column contains the anchor demonstrations, while the remaining columns show the diverse demonstrations selected by different clients. Fig. 7 further visualizes the selected Tx locations for a representative client. The anchor provides a propagation context that is geometrically aligned with the query, while the remaining demonstrations introduce complementary propagation patterns from other Tx locations. This design balances query relevance and contextual diversity under the limited context length of the LAVM.
Heterogeneous relevance across clients. Although all clients receive the same query, their private demonstrations are collected from different building layouts. As illustrated in

Fig. 5. A query layout and client layouts with varying structural relevance.
Fig. 5, some client layouts are structurally more similar to the query layout than others. Consequently, their demonstrations provide different levels of contextual relevance and lead to heterogeneous local prediction quality. A client with demonstrations that better match the query environment is more likely to provide useful information about its propagation patterns. In contrast, uniform aggregation ignores this heterogeneity and assigns equal importance to all local predictions. This observation is consistent with the client-dependent mismatch characterized in our theoretical analysis.

Fig. 6. Aggregation weights under different temperature values .
Importance-aware aggregation of distributed contextual knowledge. To account for heterogeneous client relevance, we assign aggregation weights based on the similarity between each client layout and the query. Fig. 6 shows the resulting weight distributions under two temperature values. A smaller produces a more concentrated distribution and gives greater influence to a few highly relevant clients. A larger produces a smoother distribution and allows more clients to contribute to the final prediction. Thus, controls the tradeoff between emphasizing the most relevant clients and preserving complementary information from multiple clients. Importantly, collaboration enables the server to exploit demonstrations distributed across clients without placing them all into a single context. This effectively increases the contextual information available for ICL while respecting the LAVM context length constraint and keeping private demonstrations locally stored.

Fig. 7. Selected Tx locations.

Fig. 8. RMSE comparison.
Quantitative performance comparison. Fig. 8 compares local ICL, collaborative ICL with uniform aggregation, and POLY-RIPPLE on the five unseen layouts, C21 to C25. POLY-RIPPLE achieves the lowest RMSE on all five layouts. Collaborative ICL with uniform aggregation generally outperforms local ICL, showing that combining predictions derived from distributed demonstrations can reduce the error caused by each client's limited context. This result supports the intuition that additional relevant demonstrations improve ICL performance even when the context length prevents them from being processed together. It is also consistent with the aggregation gain characterized by our theoretical analysis. The further improvement of POLY-RIPPLE over collaborative ICL with uniform aggregation shows that performance depends not only on the number of clients but also on their relevance to the query. Uniform aggregation gives less relevant clients the same influence as better aligned clients. In contrast, POLY-RIPPLE uses importance-aware aggregation to emphasize predictions supported by more relevant demonstrations while retaining complementary information from other clients, thereby achieving consistently lower estimation error.
Qualitative performance. Fig. 9 presents two example queries and compares uniform aggregation with the importance-aware aggregation of POLY-RIPPLE. The predictions from POLY-RIPPLE more closely match the target radio maps and better preserve the dominant attenuation patterns extending outward from the Tx. This improvement is consistent with ripple-ordered autoregressive modeling, which generates radio map tokens according to their spatial propagation dependencies from the Tx. Uniform aggregation produces larger deviations in several regions because predictions from less relevant clients receive the same weights as those from better aligned clients. By assigning greater importance to more relevant contextual information, POLY-RIPPLE better reconstructs both the global propagation structure and local path loss variations.

Fig. 9. Qualitative comparison between uniform aggregation (avg) and the importance-aware ( ) aggregation used by POLY-RIPPLE.
C. Impact of Key Parameters
To answer Q2, we study the effects of the number of participating clients and the aggregation temperature .
Impact of the number of clients. Fig. 10 reports the average RMSE as the number of clients increases from 5 to 20. The RMSE generally decreases as more clients participate, indicating that additional clients provide complementary contextual information for the same query. Since the context length constraint of LAVM prevents all demonstrations from being processed within a single context, collaboration allows the server to exploit a larger set of distributed demonstrations through importance-aware aggregation. The improvement is more pronounced when the number of clients is small, while the marginal gain gradually decreases as more clients are included. This trend suggests that the most relevant clients provide the largest benefit, whereas additional clients may contribute

Fig. 10. Impact of number of clients.

Fig. 11. Impact of temperature .
redundant or less relevant information. This trend also supports our theoretical result that collaboration improves estimation accuracy by combining complementary client predictions.
Impact of the aggregation temperature . Fig. 11 compares the RMSE under different values of . The results show that affects performance, but the variation remains relatively limited over a moderate range. This indicates that the main gain of POLY-RIPPLE comes from importance-aware aggregation rather than careful tuning of . In our weighting mechanism, controls the concentration of the client weights. A smaller emphasizes the most relevant clients, whereas a larger allows more clients to contribute. Moderate values therefore provide a practical balance between client relevance and complementary information. Thus, POLY-RIPPLE does not require extensive tuning of when applied to RME in a new building layout.
D. Discussion of Theory vs. Practice
To answer Q3, we examine whether the empirical results are consistent with the theoretical analysis in Section V.
Ripple ordering and causal structure. Theorem 1 shows the cumulative estimation error contains the order-dependent term . Since coordinates predicted later receive larger coefficients, coordinates with larger uncertainty should be placed earlier in the autoregressive sequence. Proposition 1 further shows that the optimal order arranges coordinates in nonincreasing order of their signal dynamic ranges. Under Assumption 3, this ordering corresponds to predicting spatial locations outward from the Tx, which matches the ripple order used by POLY-RIPPLE. The qualitative results in Fig. 9 show that the predicted maps preserve the dominant outward attenuation patterns, supporting the physical motivation and theoretical advantage of ripple ordering.
Error reduction through multi-client aggregation. Theorem 2 shows that uniform averaging reduces the aggregated estimation error under the cross-client uncorrelated error condition in Assumption 5. When clients have comparable error levels, the theoretical bound yields an aggregation gain that scales with 1/M. This result is consistent with Fig. 8, where collaborative ICL with uniform aggregation generally outperforms local ICL. Fig. 10 provides further evidence, as the average RMSE decreases when more clients participate. The smaller marginal gain at larger M is also consistent with practice because additional clients may provide increasingly redundant or less relevant contextual information.
Client-dependent risks and importance-aware weighting. Theorem 3 characterizes the weighted aggregation error through
, where denotes a client-dependent estimation risk proxy. Proposition 2 further shows that clients with lower risks should receive larger aggregation weights. Because , particularly the mismatch term , is not directly observable at the server, POLY-RIPPLE uses layout similarity as a practical proxy for client-query relevance. Fig. 5 illustrates the heterogeneous relevance of different client layouts, while Fig. 6 shows the resulting nonuniform weights. The lower RMSE of POLY-RIPPLE compared with uniform aggregation in Fig. 8 supports the theoretical benefit of assigning larger weights to more relevant clients. The qualitative results in Fig. 9 further show that importance-aware aggregation produces radio maps that more closely match the targets.
Theory-guided temperature design. Proposition 2 shows that clients with lower estimation risks should receive larger aggregation weights. This result motivates our similarity-based weighting design, where layout similarity serves as a practical proxy for the unobservable client risk. The temperature is introduced to control the concentration of these relevance-based weights. Fig. 11 shows that the RMSE varies with but remains relatively stable over a moderate range. This result indicates that primarily adjusts the weight concentration, while the main performance gains arise from multi-client collaboration and nonuniform weighting according to client relevance.
VII. Conclusion
In conclusion, we formulate indoor RME as a collaborative ICL problem and propose POLY-RIPPLE for estimating radio maps without task-specific model updates. Each client locally performs ICL using its private demonstrations, while ripple-ordered autoregressive modeling captures the causal structure of wireless propagation. The server then applies importance-aware aggregation to combine complementary client predictions under privacy and context length constraints. Our theoretical analysis characterizes the effects of ripple ordering, multi-client collaboration, and nonuniform aggregation on estimation error. Experiments on a public RME benchmark show that POLY-RIPPLE consistently outperforms representative ICL baselines, and the empirical results support our theoretical analysis.
PROOFS OF THEORETICAL RESULTS
A. Proof of Lemma 1
Proof. Fix a client , an output coordinate , and a feature subset . Client observes i.i.d. demonstrations satisfying . Let be the stacked input matrix, and let be the stacked outputs and noise, respectively. Hence, . Starting from , consider one gradient step on . Define and . Then, . Next, consider an independent test sample satisfying . Its prediction residual is . By the independence and standardized-input assumptions, . Write , where and . Conditioning on gives and . Moreover, writing with yields . Therefore, . For isotropic Gaussian inputs, . Combining the above results gives , which proves the result.
B. Proof of Theorem 1
Proof. Fix a client . At step , apply Lemma 1 to coordinate and subset . Since , Assumption 4 gives . Next, summing over yields . Since is a permutation, . Moreover, . Substituting these identities into the preceding inequality gives .
C. Proof of Theorem 2
Proof. Since every client follows the ripple order , define the residual of client at step as . Accordingly, the residual of the aggregated prediction is . By Assumption 5, the residuals of distinct clients are uncorrelated. Therefore, all cross terms vanish, and . Next, summing over all steps gives . For each client , Corollary 1 yields . Finally, substituting this bound into the preceding equality gives , which is exactly (15).
D. Proof of Theorem 3
Proof. Since all clients follow the ripple order , define the client residual at step as . Under weighted aggregation, , and hence the aggregated residual is . By Assumption 5, the residuals of any two distinct clients are uncorrelated. Therefore, the cross terms vanish, and . Next, summing over and exchanging the two summations gives . For each client , Corollary 1 implies . Finally, substituting this bound into the preceding equality yields , which is exactly (16).
E. Proof of Proposition 2
Proof. Since , P1 is convex with a feasible set, i.e., P1 admits a unique global minimizer. For any feasible weights satisfying , the Cauchy Schwarz inequality gives . Consequently, . Moreover, equality holds if and only if , or equivalently, . Enforcing the constraint therefore yields . Finally, defining gives , which is exactly (19). Since , we have for every , so all constraints in P1 are satisfied.
REFERENCES
[1] S. Zhang, B. Choi, F. Ouyang, and Z. Ding, “Physics-Inspired Machine Learning for Radiomap Estimation: Integration of Radio Propagation Models and Artificial Intelligence,” IEEE Communications Magazine, vol. 62, no. 8, pp. 155–161, 2024.
[2] K. Lei, Y. Peng, L. Zhang, and J. Xu, “Importance-Aware Resource Allocation for Collaborative Task-Oriented Semantic Communication,” in Proc. IEEE Vehicular Technology Conference (VTC). IEEE, 2026.
[3] B. Feng, M. Zheng, W. Liang, and L. Zhang, “A Recent Survey on Radio Map Estimation Methods for Wireless Networks,” Electronics, vol. 14, no. 8, p. 1564, 2025.
[4] R. Levie, C. Yapar, G. Kutyniok, and G. Caire, “RadioUNet: Fast Radio Map Estimation with Convolutional Neural Networks,” IEEE Transactions on Wireless Communications, vol. 20, no. 6, pp. 4001–4015, 2021.
[5] S. Bakirtzis, K. Qiu, J. Chen, H. Song, J. Zhang, and I. Wassell, “Rigorous Indoor Wireless Communication System Simulations With Deep Learning-Based Radio Propagation Models,” IEEE Journal on Multiscale and Multiphysics Computational Techniques, 2024.
[6] S. Bakirtzis, J. Chen, K. Qiu, J. Zhang, and I. Wassell, “EM DeepRay: An Expedient, Generalizable, and Realistic Data-Driven Indoor Propagation Model,” IEEE Transactions on Antennas and Propagation, vol. 70, no. 6, pp. 4140–4154, 2022.
[7] S. Zhang, A. Wijesinghe, and Z. Ding, “RME-GAN: A Learning Framework for Radio Map Estimation Based on Conditional Generative Adversarial Network,” IEEE Internet of Things Journal, vol. 10, no. 20, pp. 18016–18027, 2023.
[8] D. Romero, T. N. Ha, R. Shrestha, and M. Franceschetti, “Theoretical Analysis of the Radio Map Estimation Problem,” IEEE Transactions on Wireless Communications, vol. 23, no. 10, pp. 13722–13737, 2024.
[9] X. Li, R. Liu, S. Xu, S. G. Razul, and C. Yuen, “TransPathNet: A Novel Two-Stage Framework for Indoor Radio Map Prediction,” in International Conference on Acoustics, Speech and Signal Processing, 2025, pp. 1–2.
[10] H. Sun, L. Zhu, and R. Zhang, “Channel Gain Map Estimation for Wireless Networks Based on Scatterer Model,” IEEE Transactions on Wireless Communications, 2025.
[11] Y. Wang, S. Sun, N. Liu, L. Xu, and L. Wang, “Two-Stage Radio Map Construction with Real Environments and Sparse Measurements,” IEEE Wireless Communications Letters, vol. 14, no. 4, pp. 969–973, 2025.
[12] P. Q. Viet and D. Romero, “Spatial Transformers for Radio Map Estimation,” in ICC 2025–IEEE International Conference on Communications. IEEE, 2025, pp. 6155–6160.
[13] W. Lu, Z. Lu, J. Yan, and S. Gao, “SIP2Net: Situational-Aware Indoor Pathloss-Map Prediction Network for Radio Map Generation,” in International Conference on Acoustics, Speech and Signal Processing. IEEE, 2025, pp. 1–2.
[14] M. Wu, M. Skocaj, and M. Boban, “Enhancing Convolutional Models for Indoor Radio Mapping via Ray Marching,” in International Conference on Acoustics, Speech and Signal Processing. IEEE, 2025, pp. 1–2.
[15] R. K. Jaiswal, M. Elnourani, S. Deshmukh, and B. Beferull-Lozano, "Leveraging Transfer Learning for Radio Map Estimation via Mixture of Experts," IEEE Transactions on Cognitive Communications and Networking, 2025.
[16] X. Wang, Q. Zhang, N. Cheng, R. Sun, Z. Li, S. Cui, and X. Shen, "RadioDiff-k²: Helmholtz Equation-Informed Generative Diffusion Model for Multipath-Aware Radio Map Construction," IEEE Journal on Selected Areas in Communications, 2025.
[17] C. T. Cisse, O. Baala, V. Guillet, F. Spies, and A. Caminada, “Generalizable Indoor Path Loss Prediction,” in International Conference on Acoustics, Speech and Signal Processing. IEEE, 2025, pp. 1–2.
[18] B. Feng, M. Zheng, W. Liang, and L. Zhang, “IPP-Net: A Generalizable Deep Neural Network Model for Indoor Pathloss Radio Map Prediction,” in International Conference on Acoustics, Speech and Signal Processing. IEEE, 2025, pp. 1–2.
[19] F. Jaensch, G. Caire, and B. Demir, “Radio Map Prediction from Aerial Images and Application to Coverage Optimization,” IEEE Transactions on Wireless Communications, 2025.
[20] J. Lee and A. F. Molisch, “A Scalable and Generalizable Pathloss Map Prediction,” IEEE Transactions on Wireless Communications, 2024.
[21] S. Sia, D. Mueller, and K. Duh, “Where does In-Context Learning Happen in Large Language Models?” Advances in Neural Information Processing Systems, vol. 37, pp. 32761–32786, 2024.
[22] J. Xiong, G. Liu, L. Huang, C. Wu, T. Wu, Y. Mu, Y. Yao, H. Shen, Z. Wan, J. Huang et al., “Autoregressive Models in Vision: A Survey,” Transactions on Machine Learning Research, 2025.
[23] P. Liu, W. Yuan, J. Fu, Z. Jiang, H. Hayashi, and G. Neubig, “Pre-Train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing,” ACM Computing Surveys, vol. 55, no. 9, pp. 1–35, 2023.
[24] Q. Dong, L. Li, D. Dai, C. Zheng, J. Ma, R. Li, H. Xia, J. Xu, Z. Wu, B. Chang et al., “A Survey on In-Context Learning,” in Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, 2024, pp. 1107–1128.
[25] Y. Li, “A Practical Survey on Zero-Shot Prompt Design for In-Context Learning,” in Proceedings of the 14th International Conference on Recent Advances in Natural Language Processing, 2023, pp. 641–647.
[26] S. Sun, Y. Liu, D. Iter, C. Zhu, and M. Iyyer, “How does in-context learning help prompt tuning?” in Findings of the Association for Computational Linguistics: EACL 2024, 2024, pp. 156–165.
[27] Y. Zhang, K. Zhou, and Z. Liu, “What Makes Good Examples for Visual In-Context Learning?” Advances in Neural Information Processing Systems, vol. 36, pp. 17773–17794, 2023.
[28] N. Wies, Y. Levine, and A. Shashua, “The Learnability of In-Context Learning,” Advances in Neural Information Processing Systems, vol. 36, pp. 36637–36651, 2023.
[29] C. Xu, C. Liu, Y. Wang, Y. Yao, and Y. Fu, “Towards Global Optimal Visual In-Context Learning Prompt Selection,” Advances in Neural Information Processing Systems, vol. 37, pp. 74945–74965, 2024.
[30] A. Razavi, A. Van den Oord, and O. Vinyals, “Generating Diverse High-Fidelity Images with VQ-VAE-2,” Advances in Neural Information Processing Systems, vol. 32, 2019.
[31] P. Esser, R. Rombach, and B. Ommer, “Taming Transformers for High-Resolution Image Synthesis,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021, pp. 12873–12883.
[32] Y. Bai, X. Geng, K. Mangalam, A. Bar, A. L. Yuille, T. Darrell, J. Malik, and A. A. Efros, “Sequential Modeling Enables Scalable Learning for Large Vision Models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2024, pp. 22861–22872.
[33] Y. Peng, L. Zhang, and J. Xu, “Ripple-Inspired In-Context Learning for Radio Map Estimation,” in Proceedings of the IEEE International Conference on Communications (ICC). IEEE, 2026.
[34] Y. Peng and J. Xu, “In-Context Radio Map Estimation via Ripple Autoregressive Modeling,” in NeurIPS 2025 Workshop: AI and ML for Next-Generation Wireless Communications and Networking, 2025.
[35] K. Tian, Y. Jiang, Z. Yuan, B. Peng, and L. Wang, “Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction,” Advances in Neural Information Processing Systems, vol. 37, pp. 84839–84865, 2024.
[36] Y. Peng, Z. Lu, and J. Xu, “Joint Horizontal and Vertical Federated Learning for Multimodal IoT,” in Proceedings of the 30th Annual International Conference on Mobile Computing and Networking, 2024, pp. 2371–2376.
[37] Y. Peng, “Distributed Learning and Optimization in Multimodal Systems,” Ph.D. dissertation, University of Florida, 2026.
[38] S. Bakirtzis, Çagkan Yapar, K. Qui, I. Wassell, and J. Zhang, “Indoor Radio Map Dataset,” IEEE Dataport, 2024.
[39] Z. Hao, J. Guo, C. Wang, Y. Tang, H. Wu, H. Hu, K. Han, and C. Xu, "Data-Efficient Large Vision Models through Sequential Autoregression," in Proceedings of the 41st International Conference on Machine Learning, 2024, pp. 17572–17596.
[40] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal, E. Hambro, F. Azhar et al., “LLaMA: Open and Efficient Foundation Language Models,” arXiv:2302.13971, 2023.