Goto

Collaborating Authors

 hilbert space


A Quantum Duality for Grokking Transformers

arXiv.org Artificial Intelligence

We present a quantum duality for Transformers, and use it to study Grokking. This duality originates from the exact correspondence between the kernel formulation of Transformers and coherent-state representation of bosonic quantum dynamical systems. We highlight its usefulness through a quantum-chaos-style analysis of Grokking in Transformer training dynamics. In particular, we introduce $\underline{E}$qual-$\underline{T}$ime-$\underline{O}$rdered $\underline{C}$orrelator (ETOC) to characterize the memorization-generalization transitions in Grokking. Our key insight is - ETOC predicts and locates Grokking during training, with key-key changes $\textit{right before}$ Grokking and query-key changes $\textit{right after}$ Grokking. This provides precise characterizations and effective detections of Grokking in real time. Numerical results on modular addition and multiplication tasks corroborate with our theory.


Practical insights into controlling exponential concentration in quantum machine learning

arXiv.org Artificial Intelligence

Quantum Machine Learning (QML) models are often limited by exponential concentration, where quantum observables become insensitive to input variations as system size increases. In this work, we provide a comparative empirical study of this phenomenon across Fidelity Quantum Kernels (FQK), Projected Quantum Kernels (PQK), and Quantum Extreme Learning (QEL), within a unified observable-based framework based on expectation-value variance. We investigate how measurement locality, entanglement, and circuit expressivity shape concentration across different architectures. Global fidelity-based kernels exhibit strong concentration driven by Hilbert space dimensionality, whereas local-observable approaches reduce but do not eliminate this effect. In PQK and QEL, concentration is primarily governed by entanglement and quantum dynamical expressivity, with reservoir depth emerging as a key factor in QEL architectures. We further study bandwidth scaling as a general mechanism for controlling encoding expressivity across all models. Our results indicate that bandwidth scaling effectively reduces concentration in moderate regimes by restricting the effective expressivity of the encoding, though this protective effect diminishes in highly expressive structural settings.


Dynamics of Protected State Evolution

arXiv.org Artificial Intelligence

States with identical protected observations can admit different future interventions. Each transition specifies its successor, response increment, required initial reserve and net consumption. Composing these records in execution order distinguishes protocols with equal net consumption and different initial reserve requirements. At a fixed state, a weighted Gram operator determines the linear response ellipsoid and a quotient identifies directions attainable only through cooperation between blocks. Nonlinear systems with identical complete affine data can have incomparable finite-budget response sets. In regular charts, the first correction to quadratic minimum cost is a covariant cubic form involving the third derivative of cost and the Hessians of protection and response. At singular gates, sequential feasibility depends on the peak reserve along the path. A history-weighted operator detects responses outside the old channel's range closure. Controlled congruence characterizes exact reductions of deterministic labelled dynamics, and a two-cut value identity separates the effect of paid verification from that of subsequent action selection. On Qwen2.5-7B Base, two projected policies preserved 2,048 reference top tokens under a per-position KL ceiling of $2\times10^{-5}$. Over 200 arrivals they recovered 391 of 396 initial rejections. Each yielded over 1,200 times the held-out cross-entropy reduction of historical-channel-only AdamW. Under an expanded 2,560-position contract, fixed continuation and neutral renewal began on the same protected logit fiber in distinct structural strata. Both admitted all 200 subsequent writes. Fixed continuation yielded 1.74 times the held-out loss reduction per unit squared write cost. Renewal had a smaller KL excess on the first candidate tested at every arrival and used fewer full verification scans.


A Convergence Analysis of the Random Feature Method for Linear PDEs

arXiv.org Machine Learning

Nevertheless, the theoretical underpinnings of RFM remain incompletely elucidated. This paper provides a comprehensive analysis of RFM within the framework of kernel methods, focusing on two principal aspects: (i) approximation by finitely many random features in Sobolev norms and the PDE residual seminorm, and (ii) estimation over the induced reproducing kernel Hilbert space (RKHS) from finitely many noiseless collocation observations. We relate both problems to kernel ridge regression (KRR) and establish upper and lower bounds in terms of the eigenvalues of the associated integral operators under the respective assumptions. Combining the approximation and estimation lower bounds, we establish a lower bound under simultaneous restrictions on the numbers of random features and collocation observations. We further quantify how activation regularity affects these eigenvalues, obtaining algebraic upper bounds for finitely smooth activations and stretched-exponential upper bounds for analytic activations.


Nonparametric Instrumental Kernel Regression: The Well- and Misspecified Setting Under General Link Conditions

arXiv.org Machine Learning

We study nonparametric instrumental variable regression when the outcome takes values in a separable Hilbert space $\mathbb{Y}$, for instance a curve, a density or the kernel mean embedding of a distribution. The structural function solves an ill-posed operator equation whose conditional expectation operator need not be injective, and whose solutions need not belong to the hypothesis space. We analyse a two-stage kernel estimator that extends kernel instrumental variable regression to $\mathbb{Y}$-valued outcomes and allows spectral regularisation in both stages, including Landweber iteration and Showalter's method in the second stage. We show that the second stage is a regularisation method in the Hilbert scale generated by the inverse of the kernel integral operator. This viewpoint identifies the solution towards which the estimator converges: the minimum-norm solution in the reproducing kernel Hilbert space in the well-specified case and, in the misspecified case, the unique solution in the range of the continuous extension of the projection operator associated to the well-specified setting. Under source conditions and link conditions expressed through general index functions, we derive non-asymptotic bounds in a scale of interpolation norms that hold with high probability in terms of the first-stage error, with or without identification and in the well- and misspecified settings. For polynomial link conditions, we recover the rate of scalar kernel instrumental regression and extend it to targets outside the hypothesis space; for exponential link conditions, we obtain logarithmic rates in the severely ill-posed regime.


Neural Optimal Transport in Hilbert Spaces

arXiv.org Artificial Intelligence

Functional data such as time series, trajectories, and fields are increasingly central in machine learning and are naturally modeled in infinite-dimensional Hilbert spaces. We study Semi-dual Neural Optimal Transport (SNOT) for learning transport maps between probability measures on separable Hilbert spaces. A critical challenge in this setting is the spurious solution problem: a neural map can globally optimize the SNOT objective while failing to recover an optimal transport map. We show that this failure arises from non-regular source measures, which make the inner minimization in the semi-dual objective non-identifiable. We prove that regular source measures, defined via Gaussian null sets, restore inner-minimizer uniqueness and recover the Monge map. For singular sources, we introduce Gaussian smoothing and establish a necessary and sufficient kernel condition for smoothing to restore regularity. We further prove plan-level consistency: as smoothing vanishes, every Wasserstein accumulation point of the induced optimal plans solves the original Kantorovich problem. Experiments on synthetic singular transports and real-world unpaired time-series imputation benchmarks validate the theory, achieving the best performance on several benchmarks and competitive performance on the remaining ones.


The risk of KV cache compression

arXiv.org Artificial Intelligence

Transformer inference on long sequences is expensive because softmax attention repeatedly reads from a large KV cache. The prevalent approach to this bottleneck is KV cache compression, which replaces the full cache with a compact summary. Despite its practical importance, the design of such summaries is largely driven by empirical experimentation. On the theoretical side, existing results show that KV cache compression can be impossible in the worst case, but offer little systematic guidance for designing algorithms in regimes where accurate compression is possible. We bridge this gap by characterizing the minimax risk of KV cache compression in terms of the intrinsic compressibility of a cache, revealing when and how accurate compression is possible. In particular, we show that, once attention can sharply retrieve individual tokens, compression can only uniformly outperform random sampling by exploiting information about future queries, regardless how redundant the cache is inherently. Additionally, our results yield novel design principles for KV cache compression under causal masking that map efficiently to prefill and autoregressive decoding while achieving minimax-optimal risk. We instantiate these principles in a practical algorithm and illustrate how our theoretical findings can be put to practical use. Overall, our results opens a principled avenue for KV cache compression with theoretical guarantees.


Softness is something you also need! Why compliance helps control: information metrics of a passive walker with compliant ankle

arXiv.org Artificial Intelligence

A great gap in adaptivity, flexibility, and dexterity still exists between intelligent robots, whether they are made of rigid or (partially) compliant components, and their naturally evolved animal and vegetal counterparts. One reason could be of `paradigm' nature. On the one hand, most robots (both rigid and soft) are still designed by following a `Cartesian' approach, with top-down control and a clear mind-body separation. Designing artificial agents on the basis of the principles that we observe in biology is not an easy task. The principles of organization of animals and plants rely on morphological computation and emergence of fit behaviors from loosely coupled networks of embodied agents. Modeling and control require radically new approaches. In this paper we briefly recall and explain some seminal mathematical results linking information metrics and dynamics of the agents, already published years ago; we integrate them with some recent methods developed by us and by the community, we highlight some brief remarks about their relevance and we hint to our current and near future work towards finding concrete and efficient ways for the modeling and control of completely or partially compliant artificial agents and for a better understanding of physical intelligence in nature. We present a technical note summarizing phase-space volume calculations for inverted-pendulum and passive-dynamic walking models, following our proposed framework. Starting from the McGeer compass gait, we introduce knee-ankle compliance, foot-rocker effects, and a Ruina-style compass gait with distributed leg inertia. Standard heel-strike maps are derived and used in the estimation of viable phase-space volumes $W(γ)$, based on a state-dependent Monte-Carlo and Reproducing Kernel Hilbert Spaces methods. We show how the methods based on RKHS allow deeper and more subtle analysis.


Kernel-Based Learning of Analytic Operators and Parametric PDEs

arXiv.org Artificial Intelligence

We study kernel-based learning of analytic operators from finite samples, with a focus on how the regularity of the target should determine the choice of the kernel. We establish embeddings of analytic operators into vector-valued reproducing kernel Hilbert spaces and derive finite-sample, high-probability guarantees that quantify the uncertainty due to random sampling: in the noiseless setting, suitable analytic kernels yield rates exponential in a fractional power of the sample size, while Sobolev-type kernels yield polynomial rates. We apply the theory to the solution operator of a parametric elliptic PDE, where the training data are themselves finite-element approximations, and obtain bounds that separate the sampling and discretization contributions to the error and prescribe how the mesh size should be coupled to the sample size. The results are illustrated numerically.


Support Vector Machines Directly Minimise KL Divergence

arXiv.org Artificial Intelligence

ABSTRACT Support vector machines (SVMs) are fundamentally grounded in geometric margin maximisation and currently lack a mainstream probabilistic interpretation. This keeps them theoretically isolated from probabilistic machine learning models that are naturally comparable and combinable. In this paper, we bridge this gap by proving that the dual objectives of both support vector classification and support vector regression are exact, constrained Kullback-Leibler (KL) divergence minimisation tasks between two Gaussian measures. We further show that this same divergence formulation recovers the exact objective function for kernel ridge regression when domain constraints are removed and L2 regularisation is applied. By demonstrating that SVM duals directly minimise relative entropy, our results provide a unified information-theoretic model for standard kernel machines and lay the foundation for unifying broader kernel-based algorithms under probability theory. 1 INTRODUCTION Support vector machines (SVMs) are machine learning algorithms based on maximising the geometric distance of points from different classes from the separating plane in classification and minimising the distance of points from the ε-insensitive tube in regression (Hofmann et al., 2008, Section 3).