ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
381–400 of 757
- ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Scale Dependent Data Duplication
Joshua Kazdan, Noam Levi, Rylan Schaeffer, Jessica Chudnovsky, Abhay Puri, Bo He, Mehmet Donmez, Sanmi Koyejo, David Donoho
Abstract
Data duplication during pretraining can degrade generalization and lead to memorization, motivating aggressive deduplication pipelines. However, at web scale, it is unclear what constitutes a "duplicate": beyond surface-form matches, semantically equivalent documents (e.g. translations) may induce redundant training signals once models become sufficiently capable. Practically, this means that semantic duplicates operate increasingly like exact duplicates during training. We present evidence that duplication is scale-dependent in two ways. First, as model capability increases, cross-entropy loss gradients for semantically equivalent documents become more aligned. Smaller models, by contrast, produce gradients that reflect surface similarity (e.g., shared tokens) rather than semantic similarity. Second, we embedded all 192 million FineWeb-Edu-Dedup documents using EmbeddingGemma-300m. For moderate corpus sizes, the cosine similarity between nearest-neighbors follows an isotropic power law baseline. However, as corpus size grows to hundreds of billions of tokens, the nearest-neighbor similarities deviate sharply, indicating accelerated semantic collisions. Finally, controlled pretraining on data sampled with replacement from pools of finite unique documents shows that limited uniqueness yields mild degradation for small models, but rapidly increasing loss penalties for larger models, breaking naive scaling extrapolation. We derive explicit scaling laws that allow practitioners to estimate deviation from expected scaling due to limited semantic uniqueness of the pretraining corpus. Our results identify and resolve an unstudied source of scale-dependence, allowing for more accurate prediction at scale.
Abstract source - ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Internal Data Repetition Destroys Language Models
Jessica Chudnovsky, Joshua Kazdan, Noam Levi, Rylan Schaeffer, Yegor Denisov-Blanch, Sanmi Koyejo, David Donoho
Abstract
Language models are running out of high-quality training data, and even aggressively deduplicated corpora retain some amount of repetition. Earlier controlled studies predated Chinchilla-style scaling laws and could only measure the cost of repetition indirectly. We revisit repetition in the Chinchilla-style scaling regime, using a fitted no-repetition scaling law to report Compute-Equivalent Gain and Compute-Equivalent Loss. We show that repetition damage in this modernized regime is systematic in three ways. First, eval loss is worst at an intermediate repeat count $R$, so repeating a moderately sized subset many times hurts more than either repeating a large subset a few times or a small subset many times. Second, the location of this peak is well fit by a power law in model size. Finally, when repeated documents make up 10% of training tokens in a controlled exact-document repetition setting, the compute-equivalent loss can be large: on FineWeb-Edu-Dedup, the most damaging repeat count for a Qwen3-style 344M-parameter model at $OT=1$ matches the loss of a no-repetition run using about 67% of the FLOPs, under our fitted no-repetition scaling law. A misspecified linear regression with verbatim duplicates reproduces the same qualitative non-monotonicity in closed form, suggesting that such peaks can arise from a statistical tradeoff between memorization and generalization. Our findings give practitioners a way to predict which settings waste the most compute before they spend any of it.
Abstract source - ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Rethinking FID Through the Geometry of the Reference Dataset
Yunghee Lee, Byeonghyun Pak
Abstract
Fréchet Inception Distance (FID) is widely used to evaluate image generators, yet lower FID does not always correspond to better sample quality. We show that this mismatch depends in part on the geometry of the reference dataset. In a controlled study across six datasets, distributional density and effective rank significantly explain how FID changes as sample quality improves. Concentrated datasets tend to yield more favorable FID trends, whereas more dispersed datasets can make FID worsen despite better samples. Attribution to precision and recall and ablations with alternative feature spaces and distances support the same conclusion. These results suggest that distributional metrics should be interpreted together with the geometry of the reference dataset for more reliable benchmarking.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
A supervised ontology-aware cell annotation method for single-cell transcriptomic data
Nimish Magre, Ebtisam Alshehri, Fedor Grab, Yerdos Ordabayev, Mehrtash Babadi, Stephen J Fleming
Abstract
Many single-cell RNA-seq annotation methods ignore the hierarchical nature of cell type classification. We present a probability propagation strategy that enforces ontological consistency and improves performance when applied to existing models without retraining. Combined with a lightweight logistic regression model trained on 42 million human cells, this yields SOCAM, a fast and interpretable classifier. We also introduce a hop-based F1 score for ontology-aware evaluation. Code and models are available open source.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
Scaling Pocket Docking with Data Augmentation and Heterogeneous Equivariant Graph Attention
Thi Xuan Huyen Nguyen, Van-Tuan Le, Kim-Loc Nguyen, Yuxing Peng, Emine Kucukbenli, Mai Thi Hien, Steven Truong, Van H Tang
Abstract
Accurate pocket-level molecular docking is limited by narrow training distributions, costly all-atom modeling, and ranking functions that often fail to select the best pose from high-quality generated ensembles. We introduce a scalable docking pipeline that combines large-scale data augmentation, efficient all-atom equivariant modeling, and improved pose ranking. Our diffusion model is trained on curated PLINDER complexes augmented with SAIR synthetic structures, using leakage removal, structural quality filtering, and dataset-specific pocket cutoffs to improve generalization. For ranking, we replace fully connected tensor-product convolutions in the confidence model with Heterogeneous Equivariant Graph Attention (HeteroEGA), enabling interaction-specific attention across ligand, receptor-residue, and receptor-atom graphs. We also evaluate an independent physics-based refinement track using Vina minimization followed by GNINA reranking. On PoseBusters-308, our confidence-ranking pipeline achieves 81.85\% Top-1 success rate and 94.51\% Oracle success rate, surpassing SigmaDock and DiffDock-RL++. The proposed HeteroEGA confidence model slightly outperforms the post-refinement track while ranking poses substantially faster. These results show that combining broader training data with attention-based equivariant ranking can close much of the gap between Top-1 and Oracle docking accuracy.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
Bridging Gene Regulatory Networks and Causal Representation Learning in Single-Cell Genomics Data
Vincenzo Lagani, Giorgi Sokhadze, Liliia Nigmetzianova, Robert Lehmann, Yiling Ma, Sumeer Khan, Xabier Martínez de Morentin, Narsis Kiani, Mikel Hernaez, Alexander A Lukyanov, jesper tegner, David Gomez-Cabrero
Abstract
Understanding gene regulatory mechanisms is key to advancing our capacity to interpret and manipulate cellular physiology, with significant implications for bioengineering and precision medicine. Two major computational paradigms, namely gene regulatory network (GRN) reconstruction and causal representation learning (CRL), offer distinct perspectives on transcriptional regulation. GRN methods focus on capturing detailed, fine-scale interactions among genes and transcription factors, whereas CRL seeks to identify a small set of latent variables that drive gene expression, providing a coarser but potentially more generalizable representation. In this work, we propose methods that incorporate GRN-derived structures into CRL models, guiding their training and enriching their biological interpretability. Computational experiments on scPerturb-seq datasets demonstrate that GRNs and CRL can work in concert, yielding biologically interpretable latent representations without sacrificing predictive performance.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
RobustDock: Robust Generative Flexible Docking with Long-Tailed Data
Wenyin Zhou, Erik Englesson, Mert Can Kurucu, Hossein Azizpour
Abstract
As generative modeling is increasingly applied to scientific challenges, an emerging issue is overfitting to noisy data, especially as synthetic data becomes more widely used for training. In this work, we provide the explicit observation of noise related overfitting in modern generative models for scientific applications particularly for flexible docking. In this task, the generative model is trained to model protein conformational shift from apo to holo state as well as ligand binding pose, where the apo structure is predicted by a large-scale deep learning model. The resulting apo-holo pairs exhibit a long-tailed structure shift distribution, which the model must learn effectively. Motivated by this observation, we propose robust training techniques for generative models, including asynchronized time schedule and inverse shift sigmoid reweighting, supported by both theoretical analysis and empirical results. By effectively reweighting the loss, model regularization, improved confidence model training and fine grained control of robustness over protein degrees of freedom, our \textsc{Robustdock} achieves state-of-the-art performance on the PDBBind benchmark and increases by 13.6 percentage points (of ligand RMSD $<$ 2 Å) on the large conformational shift subset.
Abstract source - ICML · Workshop · SCALE: SCALABLE LEARNING AND OPTIMIZATION FOR EFFICIENT MULTIMODAL AI AGENTS
DragOn: A Benchmark and Dataset for Drag-Based GUI Interactions
Nathan Bout, Maxime Langevin, Ronan Riochet
Abstract
GUI agents - vision-based models that control desktops, web browsers, and mobile devices through their graphical interfaces - promise to automate a wide range of digital tasks. While million-scale datasets have enabled substantial progress on click-grounding, drag-grounding data remains an order of magnitude smaller and current models fall short on complex drag-based interactions. We introduce DragOn, a drag-grounding benchmark and training dataset covering four domains: text highlighting, cell selection, element resizing and slider manipulation. The data is comprised of 286K training screenshots and 3.5M training tasks, plus a 2{,}000-example held-out evaluation suite. We evaluate proprietary (GPT, Claude, Gemini) and open-source (Qwen, Kimi, Holo3) models, as well as a VLM fine-tuned on our training data. Results suggest that our dataset could improve performance of state-of-the-art models on downstream computer-use tasks.
Abstract source - ICML · Workshop · Workshop on Weight-Space Symmetries: from Foundations to Practical Applications
WARP: Weight-Space Analysis for Recovering Training Data Portfolios
Tzu-Heng Huang, Aditya Goyal, John Cooper, Frederic Sala
Abstract
Foundation models are routinely released to the public, yet the data recipes used to train them---such as the domain mixtures that determine how different sources are sampled---are rarely disclosed. This creates an access asymmetry: researchers can study the resulting models but lack visibility into the training distributions that produced them. Prior works for inferring training data, such as membership inference, detect at the level of individual samples and therefore cannot characterize the global composition of a model's training corpus. We introduce WARP, a framework that recovers a fine-tuned model's domain mixture directly from its released weights. WARP interpolates between the base and fine-tuned models using model merging, generating \emph{pseudo-checkpoints} that approximate the missing training trajectory and expose a geometric footprint of the training data in weight space. From these footprints, WARP extracts geometric features and maps them to domain proportions using either a parameter-free softmax readout or a MLP projector trained on synthetic mixtures. In controlled experiments with BERT and GPT-2, WARP recovers domain mixtures with MAE as low as $0.048$ and $0.117$ respectively, outperforming membership inference and a variant with access to the true training trajectory, and remains accurate when recovering different training recipes.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
A Unified Perspective on Task Retrieval and Learning in In-Context Learning on Markov Data
Peng Wang, Huikang Liu, Zhiyuan Huang, Wendong Li, Po Chen, Rujun Jiang
Abstract
In-context learning enables pretrained transformers to adapt from a prompt without parameter updates, but it remains unclear when this behavior arises from retrieving memorized pretraining tasks (i.e., task retrieval), versus learning a rule from in-context data (i.e., task learning). We study this distinction through a finite-mixture Markov data model, where each latent Markov chain represents a pretraining task. We characterize the finite-prior Bayes predictor induced by next-token pretraining and use it to explain when pretrained transformers exhibit retrieval or learning. In low-diversity regimes, this predictor retrieves the Markov chain for pretraining most compatible with the prompt, with error decaying exponentially in prompt length. This mechanism is realizable by a two-layer single-head causal transformer. In high-diversity regimes, the finite-prior Bayes predictor approaches the empirical Markov predictor inferred from the prompt, and architectural constraints can bias globally pretrained transformers toward this capacity-efficient task-learning mechanism, with error decreasing as prompt length increases. Finally, we extend our analysis to multi-state higher-order Markov chains.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data
Yunlong Hou, Fengzhuo Zhang, Yuan Cheng, Jiachun Pan, Xingyao Li, Zhuoran Yang
Abstract
Large language models trained with Reinforcement Learning (RL) with verifiable rewards exhibit strong reasoning ability and broad generalization, whereas models trained with Supervised Fine-Tuning (SFT) are often viewed as more prone to memorization and limited transfer. This paper rethinks this distinction through the lens of SFT training data. First, we study the role of data source and show that it is critical: a carefully mixed SFT dataset substantially outperforms data generated solely by a larger model. Second, we study the role of data scale and show that matching the number of correct rollouts between SFT and RL greatly improves SFT generalization, while matching the total rollout budget enables SFT to generalize as well as RL. Combining these two factors further enables SFT to generalize even better than RL. Third, by using LLM annotations to characterize the solution methods in training rollouts, we show that larger datasets cover more tail methods and that these tail methods provide generalizable reasoning signals. Finally, we support these empirical findings theoretically by analyzing the training dynamics of shallow transformers under both RL and SFT.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
ForcingDAS: Unified and Robust Data Assimilation via Diffusion Forcing
Yixuan Jia, Siyi Chen, Yida Pan, Xiao Li, Lianghe Shi, Chanyong Jung, Haijie Yuan, Ismail Alkhouri, Yue C Wu, Saiprasad Ravishankar, Jeffrey Fessler, Qing Qu
Abstract
Data assimilation (DA) estimates the state of an evolving dynamical system from noisy, partial observations, and is widely used in scientific simulation as well as weather and climate science. In practice, filtering methods rely on frame-to-frame transition models. However, these models are fragile when observations are non-Markovian (when they form only a partial slice of a higher-dimensional latent state as in real-world weather data): they tend to accumulate errors over long horizons. At the same time, learned DA methods typically commit to a single regime, either filtering (nowcasting, real-time forecasting) or smoothing (retrospective reanalysis), which splits what should be a shared prior across application-specific pipelines. To address both issues, we introduce ForcingDAS, a unified and robust DA framework. Built on Diffusion Forcing with an independent noise level assigned to each frame, ForcingDAS learns a joint-trajectory prior instead of frame-to-frame transitions. This allows it to capture long-horizon temporal dependencies and reduce error accumulation. In addition, the same trained model spans the full filtering to smoothing spectrum at inference time. Specifically, nowcasting, fixed-lag smoothing, and batch reanalysis are selected through the inference schedule alone, without retraining. We evaluate ForcingDAS on 2D Navier–Stokes vorticity, precipitation nowcasting, and global atmospheric state estimation. Across all settings, a single model is competitive with or outperforms both learned and classical baselines that are specialized for individual regimes, with the largest gains observed on real-world weather benchmarks.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Internal Data Repetition Destroys Language Models
Jessica Chudnovsky, Joshua Kazdan, Noam Levi, Rylan Schaeffer, Yegor Denisov-Blanch, Sanmi Koyejo, David Donoho
Abstract
Language models are running out of high-quality training data, and even aggressively deduplicated corpora retain some amount of repetition. Earlier controlled studies predated Chinchilla-style scaling laws and could only measure the cost of repetition indirectly. We revisit repetition in the Chinchilla-style scaling regime, using a fitted no-repetition scaling law to report Compute-Equivalent Gain and Compute-Equivalent Loss. We show that repetition damage in this modernized regime is systematic in three ways. First, eval loss is worst at an intermediate repeat count $R$, so repeating a moderately sized subset many times hurts more than either repeating a large subset a few times or a small subset many times. Second, the location of this peak is well fit by a power law in model size. Finally, when repeated documents make up 10\% of training tokens in a controlled exact-document repetition setting, the compute-equivalent loss can be large: on FineWeb-Edu-Dedup, the most damaging repeat count for a Qwen3-style 344M-parameter model at $OT=1$ matches the loss of a no-repetition run using about 67\% of the FLOPs, under our fitted no-repetition scaling law. A misspecified linear regression with verbatim duplicates reproduces the same qualitative non-monotonicity in closed form, suggesting that such peaks can arise from a statistical tradeoff between memorization and generalization. Our findings give practitioners a way to predict which settings waste the most compute before they spend any of it.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability
Qihan Ren, Wang Peng, Ruikun Cai, Shuai Shao, Dadi Guo, Yuejin Xie, Yafu Li, Quanshi Zhang, Xia Hu, Jing Shao, Dongrui Liu
Abstract
A prevailing narrative in LLM post-training holds that supervised fine-tuning (SFT) memorizes while reinforcement learning (RL) generalizes. We revisit this claim for reasoning SFT with long chain-of-thought (CoT) supervision and find that cross-domain generalization is not absent but conditional, jointly shaped by optimization dynamics, training data, and base-model capability. Some reported failures are under-optimization artifacts: cross-domain performance first degrades before recovering and improving with extended training (a dip-and-recovery pattern), so short-training checkpoints can underestimate generalization. Data quality and structure both matter: low-quality solutions broadly hurt generalization, while verified long-CoT traces yield consistent cross-domain gains. Model capability is essential: stronger models internalize transferable procedural patterns (e.g., backtracking) even from a toy arithmetic game, while weaker ones imitate surface verbosity. This generalization is asymmetric, however: reasoning improves while safety degrades, reframing the question from whether reasoning SFT generalizes to under what conditions and at what cost.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Neural Network-Based Diffusion Models Adapt to Low-Dimensional Multi-Modal Data Structure
Jingda Wu, Changxiao Cai
Abstract
Score-based diffusion models have become a leading approach to generative modeling, with strong empirical performance on high-dimensional data. Their success is particularly striking when the data possess hidden low-dimensional and multi-modal structure. However, a sharp statistical explanation for this phenomenon remains incomplete. Existing theoretical guarantees often rely on assumptions such as uniformly bounded densities, globally smooth score functions, or log-concavity, which are often too restrictive to describe high-dimensional data in practice. This work proves that neural-network-based diffusion models can adapt to low-dimensional multi-modal data distribution. Under a union-of-subspaces model with subgaussian components, we show that $\widetilde{O}(\varepsilon^{-k})$ samples suffice to achieve $\varepsilon$ error in 1-Wasserstein distance, where $k$ denotes the intrinsic dimension. The resulting rate depends on $k$, rather than the ambient dimension, showing that neural-network score estimation can exploit the underlying structure of the data. We further extend the theory to near-union-of-subspaces distributions, establishing robustness to deviations from the ideal model. This provides statistical support for the adaptivity of practical diffusion models on structured high-dimensional data.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data
Bao Pham, Mohammed Zaki, Luca Ambrogioni, Dmitry Krotov, Matteo Negri
Abstract
When do language diffusion models memorize their training data, and how to quantitatively assess their true generative regime? We address these questions by establishing that Uniform-based Discrete Diffusion Models (UDDMs) fundamentally behave as Associative Memories (AMs) ***with emergent creative capabilities***. The core idea of an AM is to reliably recover stored data points as $\textit{memories}$ by establishing distinct basins of attraction around them. Historically, models like Hopfield networks use an explicit energy function to guarantee these stable attractors. We broaden this perspective by leveraging that energy is not strictly necessary, as basins of attraction can also be formed via conditional likelihood maximization. This usage of conditional dynamics enables a co-existence of factual recall, where the UDDM can recognize unseen test sequences as fixed points and recover their original tokens given their partially corrupted version, alongside the capability of synthesizing novel sentences. We show that, as the training dataset size increases, basins around training data points shrink while basins around unseen test data points expand, eventually becoming indistinguishable from one another. This memorization-to-generalization transition can be also detected also using the conditional entropy of predicted tokens, which vanish in the memorization regime.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Extracting the Data Manifold from Diffusion Models via a Score-Based Non-Conformal Riemannian Metric
Shinnosuke Saito, Takashi Matsubara
Abstract
Diffusion models generate high-quality samples, but unlike VAEs or GANs they do not provide an explicit low-dimensional latent space that parameterizes the data manifold. This makes manifold-aware operations, such as geometrically faithful interpolation and guidance that stays on the learned manifold, difficult to formulate. We propose a training-free Riemannian metric on the noise space derived from the score Jacobian. The metric exploits its spectral structure, which separates tangent and normal directions of the data manifold, and therefore encourages paths and guidance updates to remain tangential to the manifold. It gives a single geometric tool for global geodesic interpolation and local correction of classifier-free guidance. Experiments on synthetic data, image and video interpolation, and text-to-image guidance show that the proposed metric preserves manifold geometry better than density-based alternatives.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Imagined Memorisation: Training-Data Leakage in Model-Based RL World Models
Wang Ngai Ng
Abstract
Model-based reinforcement learning (MBRL) agents such as DreamerV3 and IRIS train a \emph{world model} on replay-buffer trajectories and then optimise their policies inside their ``imagination.'' We present the first systematic membership-inference audit of MBRL world models, adapting three attack families (trajectory reconstruction, dynamics-loss MIA, and adversarial-action divergence) to the action-conditioned generative setting. We test for leakage across DreamerV3 and IRIS on four Atari games. On the strongest configuration---IRIS / Ms.\ Pac-Man---reconstruction attains AUC$=0.999$ with Cohen's $d=-4.76$ at horizon $H{=}30$, and TPR$=0.98$ at $1\%$ FPR, exceeding signals typically reported for language and diffusion models; on DreamerV3 / Krull, reconstruction (AUC$=0.682$) and adversarial divergence ($p<10^{-10}$) independently corroborate membership. Nonetheless, the attack families can disagree sharply: on the IRIS / Ms.\ Pac-Man checkpoint that yields near-perfect reconstruction, loss-MIA flags zero members at the same $1\%$-FPR threshold, and five of the eight loss-MIA evaluations score below random. We attribute this disagreement to collection-policy state-space mismatch between members and non-members, which swamps likelihood-based scores while leaving pixel-level signals intact. The implication is that memorisation in pixel-generative world models concentrates in the decoder pathway---the inverse of the language-model setting in which loss-based MIA is the standard tool.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Learning Manifold Data with Flow Matching
Sophia Pi, Mingcheng Lu, Jerry Yao-Chieh Hu, Maojiang Su, Weimin Wu, Han Liu
Abstract
We study flow-matching transformers when data lie on a low-dimensional manifold. Our key insight is a flow decomposition that splits motion along the manifold from motion off the manifold. The scheme works for first- and higher-order flow matching and ties model complexity to the intrinsic manifold dimension. Building on these, we establish tighter sample-complexity bounds for velocity approximation, velocity estimation, and distribution estimation. Our results show how flow-matching transformers escape the curse of dimensionality by utilizing intrinsic data structure.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
How Data Shapes RoPE Frequency Usage: From Positional Scale Matching to Length Generalization
Xinyi Wu, Siyuan Liu, Ali Jadbabaie
Abstract
Rotary Position Embeddings (RoPE) provide transformers with a fixed grid of positional frequencies, yet trained models use these frequencies highly non-uniformly. We study what determines this frequency usage and propose a data-centered explanation: RoPE frequencies are selected to match the relative-distance structure of the training data. Viewing each frequency as a positional lens, we formalize a field-resolution tradeoff and show that, for a data-induced dependency profile of width $W$, the optimal frequency scales as $1/W$. This frequency-matching principle explains controlled observations on synthetic and text-based data, and suggests that the mid-low frequency bands observed in language models arise from the multi-scale dependency structure of natural language. We further connect frequency selection to position-interpolation-based length generalization: scaling frequencies down expands the effective field while reducing resolution. This helps when longer-context dependencies are approximate dilations of those seen during training, but can fail when relevant dependencies do not scale with context length. Empirically, we show that natural language exhibits approximate self-similarity across positional scales, explaining why test-time frequency scaling can support long-context generalization. Overall, our results identify a data-driven mechanism behind emergent RoPE frequency usage and show that long-context generalization depends on two forms of scale matching: between learned frequencies and training-time dependencies, and between frequency scaling and how those dependencies extend to longer contexts.
Abstract source