SearcharxivSearch

arXiv subjects

Alireza Behtash

Publications and source records attributed to Alireza Behtash.

12 recordsLinked to original sources

Federated Learning with Ad-hoc Adapter Insertions: The Case of Soft-Embeddings for Training Classifier-as-Retriever

When existing retrieval-augmented generation (RAG) solutions are intended to be used for new knowledge domains, it is necessary to update their encoders, which are taken to be pretrained large language models (LLMs). However, fully finetuning these large models is compute- and memory-intensive, and even infeasible when deployed on resource-constrained edge devices. We propose a novel encoder architecture in this work that addresses this limitation by using a frozen small language model (SLM), which satisfies the memory constraints of edge devices, and inserting a small adapter network before the transformer blocks of the SLM. The trainable adapter takes the token embeddings of the new corpus and learns to produce enhanced soft embeddings for it, while requiring significantly less compute power to update than full fine-tuning. We further propose a novel retrieval mechanism by attaching a classifier head to the SLM encoder, which is trained to learn a similarity mapping of the input embeddings to their corresponding documents. Finally, to enable the online fine-tuning of both (i) the encoder soft embeddings and (ii) the classifier-as-retriever on edge devices, we adopt federated learning (FL) and differential privacy (DP) to achieve an efficient, privacy-preserving, and product-grade training solution. We conduct a theoretical analysis of our methodology, establishing convergence guarantees under mild assumptions on gradient variance when deployed for general smooth nonconvex loss functions. Through extensive numerical experiments, we demonstrate (i) the efficacy of obtaining soft embeddings to enhance the encoder, (ii) training a classifier to improve the retriever, and (iii) the role of FL in achieving speedup.

cs.LG

Universality of Layer-Level Entropy-Weighted Quantization Beyond Model Architecture and Size

We present a novel approach to selective model quantization that transcends the limitations of architecture-specific and size-dependent compression methods for Large Language Models (LLMs) using Entropy-Weighted Quantization (EWQ). By analyzing the entropy distribution across transformer blocks, EWQ determines which blocks can be safely quantized without causing significant performance degradation, independent of model architecture or size. Our method outperforms uniform quantization approaches, maintaining Massive Multitask Language Understanding (MMLU) accuracy scores within 0.5% of unquantized models while reducing memory usage by up to 18%. We demonstrate the effectiveness of EWQ across multiple architectures -- from 1.6B to 70B parameters -- and showcase consistent improvements in the quality-compression trade-off regardless of model scale or architectural design. A surprising finding of EWQ is its ability to reduce perplexity compared to unquantized models, suggesting the presence of beneficial regularization through selective precision reduction. This improvement holds across different model families, indicating a fundamental relationship between layer-level entropy and optimal precision requirements. Additionally, we introduce FastEWQ, a rapid method for entropy distribution analysis that eliminates the need for loading model weights. This technique leverages universal characteristics of entropy distribution that persist across various architectures and scales, enabling near-instantaneous quantization decisions while maintaining 80% classification accuracy with full entropy analysis. Our results demonstrate that effective quantization strategies can be developed independently of specific architectural choices or model sizes, opening new possibilities for efficient LLM deployment.

cs.LG

Global flow structure and exact formal transseries of the Gubser flow in kinetic theory

In this work we introduce the generic conditions for the existence of a non-equilibrium attractor that is an invariant manifold determined by the long-wavelength modes of the physical system. We investigate the topological properties of the global flow structure of the Gubser flow for the Israel-Stewart theory and a kinetic model for the Boltzmann equation by employing Morse-Smale theory. We present a complete classification of the invariant submanifolds of the flow and determine all the possible flow lines connecting any pair of UV/IR fixed points. The formal transseries solutions to the Gubser dynamical system around the early-time (UV) and late-time (IR) fixed points are constructed and analyzed. It is proven that these solutions are purely perturbative (or power-law asymptotic) series with a finite radius of convergence. Based on these analyses, we find that Gubser-like expanding kinetic systems do not hydrodynamize owing to the failure of the hydrodynamization process which heavily relies on the classification of (non)hydrodynamic modes in the IR regime. This is in contrast to longitudinal boost-invariant plasmas where the asymptotic dynamics is described by a few terms of the hydrodynamic gradient expansion. We finally compare our results for both Bjorken and Gubser conformal kinetic models.

hep-th

Non-perturbative rheological behavior of a far-from-equilibrium expanding plasma

For the Bjorken flow we investigate the hydrodynamization of different modes of the one-particle distribution function by analyzing its relativistic kinetic equations. We calculate the constitutive relations of each mode written as a multi-parameter trans-series encoding the non-perturbative dissipative contributions quantified by the Knudsen $Kn$ and inverse Reynolds $Re^{-1}$ numbers. At any given order in the asymptotic expansion of each mode, the transport coefficients get effectively renormalized by summing over all non-perturbative sectors appearing in the trans-series. This gives an effective description of the transport coefficients that provides a new renormalization scheme with an associated renormalization group equation, going beyond the realms of linear response theory. As a result, the renormalized transport coefficients feature a transition to their equilibrium fixed point, which is a neat diagnostics of transient non-Newtonian behavior. As a proof of principle, we verify the predictions of the effective theory with the numerical solutions of their corresponding evolution equations. Our studies strongly suggest that the phenomenological success of fluid dynamics far from local thermal equilibrium is due to the transient rheological behavior of the fluid.

hep-th

Dynamical systems and nonlinear transient rheology of the far-from-equilibrium Bjorken flow

In relativistic kinetic theory, the one-particle distribution function is approximated by an asymptotic perturbative power series in Knudsen number which is divergent. For the Bjorken flow, we expand the distribution function in terms of its moments and study their nonlinear evolution equations. The resulting coupled dynamical system can be solved for each moment consistently using a multi-parameter transseries which makes the constitutive relations inherit the same structure. A new non-perturbative dynamical renormalization scheme is born out of this formalism that goes beyond the linear response theory. We show that there is a Lyapunov function, aka dynamical potential, which is, in general, a function of the moments and time satisfying Lyapunov stability conditions along RG flows connected to the asymptotic hydrodynamic fixed point. As a result, the transport coefficients get dynamically renormalized at every order in the time-dependent perturbative expansion by receiving non-perturbative corrections present in the transseries. The connection between the integration constants and the UV data is discussed using the language of dynamical systems. Furthermore, we show that the first dissipative correction in the Knudsen number to the distribution function is not only determined by the known effective shear viscous term but also a new high energy non-hydrodynamic mode. It is demonstrated that the survival of this new mode is intrinsically related to the nonlinear mode-to-mode coupling with the shear viscous term. Finally, we comment on some possible phenomenological applications of the proposed non-hydrodynamic transport theory.

hep-th

Critical Points at Infinity, Non-Gaussian Saddles, and Bions

It has been argued that many non-perturbative phenomena in quantum mechanics (QM) and quantum field theory (QFT) are determined by complex field configurations, and that these contributions should be understood in terms of of Picard-Lefschetz theory. In this work we compute the contribution from non-BPS multi-instanton configurations, such as instanton-anti-instanton $[{I}\bar{I}]$ pairs, and argue that these contributions should be interpreted as exact critical points at infinity. The Lefschetz thimbles associated with such critical points have a specific structure arising from the presence of non-Gaussian, quasi-zero mode (QZM), directions. When fermion degrees of freedom are present, as in supersymmetric theories, the effective bosonic potential can be written as the sum of a classical and a quantum potential. We show that in this case the semi-classical contribution of the critical point at infinity vanishes, but there is a non-trivial contribution that arises from its associated non-Gaussian QZM-thimble. This approach resolves several puzzles in the literature concerning the semi-classical contribution of correlated $[{I}\bar{I}]$ pairs. It has the surprising consequence that the configurations that dominate the expansion of observables, and the critical points that define the Lefschetz thimble decomposition need not be the same, a feature not present in the traditional Picard-Lefschetz approach.

hep-th

More on Homological Supersymmetric Quantum Mechanics

In this work, we first solve complex Morse flow equations for the simplest case of a bosonic harmonic oscillator to discuss localization in the context of Picard-Lefschetz theory. We briefly touch on the exact non-BPS solutions of the bosonized supersymmetric quantum mechanics on algebraic geometric grounds and report that their complex phases can be accessed through the cohomology of WKB 1-form of the underlying singular spectral curve subject to necessary cohomological corrections for non-zero genus. Motivated by Picard-Lefschetz theory, we write down a general formula for the index of $\mathcal{N} = 4$ quantum mechanics with background $R$-symmetry gauge fields. We conjecture that certain symmetries of the refined Witten index and singularities of the moduli space may be used to determine the correct intersection coefficients. A few examples, where this conjecture holds, are shown in both linear and closed quivers with rank-one quiver gauge groups. The $R$-anomaly removal along the "Morsified" relative homology cycles also called "Lefschetz thimbles" is shown to lead to the appearance of Stokes lines. We show that the Fayet-Iliopoulos (FI) parameters appear in the intersection coefficients for the relative homology of the quiver quantum mechanics resulting from dimensional reduction of $2d$ $\mathcal{N}=(2,2)$ gauge theory on a circle and explicitly calculate integrals along the Lefschetz thimbles in $\mathcal{N}=4$ $\mathbb{CP}^{k-1}$ model. The Stokes jumping of coefficients and its relation to wall crossing phenomena is briefly discussed. We also find that the notion of "on-the-wall" index is related to the invariant Lefschetz thimbles under Stokes phenomena. An implication of the Lefschetz thimbles in constructing knots from quiver quantum mechanics is indicated.

hep-th

Far-from-equilibrium attractors and nonlinear dynamical systems approach to the Gubser flow

The non-equilibrium attractors of systems undergoing Gubser flow within relativistic kinetic theory are studied. In doing so we employ well-established methods of nonlinear dynamical systems which rely on finding the fixed points, investigating the structure of the flow diagrams of the evolution equations, and characterizing the basin of attraction using a Lyapunov function near the stable fixed points. We obtain the attractors of anisotropic hydrodynamics, Israel-Stewart (IS) and transient fluid (DNMR) theories and show that they are indeed non-planar and the basin of attraction is essentially three dimensional. The attractors of each hydrodynamical model are compared with the one obtained from the exact Gubser solution of the Boltzmann equation within the relaxation time approximation. We observe that the anisotropic hydrodynamics is able to match up to high numerical accuracy the attractor of the exact solution while the second order hydrodynamical theories fail to describe it. We show that the IS and DNMR asymptotic series expansion diverge and use resurgence techniques to perform the resummation of these divergences. We also comment on a possible link between the manifold of steepest descent paths in path integrals and basin of attraction for the attractors via Lyapunov functions that opens a new horizon toward effective field theory description of hydrodynamics. Our findings indicate that anisotropic hydrodynamics is an effective theory for far-from-equilibrium fluid dynamics which resums the Knudsen and inverse Reynolds numbers to all orders.

hep-th

The curious incident of multi-instantons and the necessity of Lefschetz thimbles

We show that compatibility of supersymmetry with exact semi-classics demands that in calculating multi-instanton amplitudes, the "separation" quasi-zeromode must be complexified and the integration cycles must be found by using complex gradient flow (or Picard-Lefschetz equations.) As a non-trivial application, we study $\mathcal N=2$ extended supersymmetric quantum mechanics. Even though in this case supersymmetry is unbroken, the instanton-anti-instanton amplitude (naively calculated) seems to contribute to the ground state energy. We show, however, that the instanton-anti-instanton event consists of two parts: a fermion-correlated and a scalar-correlated event. Although both of these contributions are naively of the same sign and the latter is superficially higher order in the perturbative coupling, we show that the two contributions exactly cancel when they are evaluated on Lefschetz thimbles due to their relative Hidden Topological Angles (HTAs). This gives strong evidence that the semi-classical expansion using Lefschetz thimbles is not only a meaningful prescription for higher order semi-classics, but a necessary one. This deduction seems to be universal and applicable to both supersymmetric and non-supersymmetric theories. In conclusion we speculate that similar conspiracies are responsible for the non-formation of certain molecular contributions in theories where instantons have more than two fermionic zeromodes and do not contribute to the superpotential.

hep-th

Toward Picard-Lefschetz Theory of Path Integrals, Complex Saddles and Resurgence

We show that the semi-classical analysis of generic Euclidean path integrals necessarily requires complexification of the action and measure, and consideration of complex saddle solutions. We demonstrate that complex saddle points have a natural interpretation in terms of the Picard-Lefschetz theory. Motivated in part by the semi-classical expansion of QCD with adjoint matter on ${\mathbb R}^3\times S^1$, we study quantum-mechanical systems with bosonic and fermionic (Grassmann) degrees of freedom with harmonic degenerate minima, as well as (related) purely bosonic systems with harmonic non-degenerate minima. We find exact finite action non-BPS bounce and bion solutions to the holomorphic Newton equations. We find not only real solutions, but also complex solution with non-trivial monodromy, and finally complex multi-valued and singular solutions. Complex bions are necessary for obtaining the correct non-perturbative structure of these models. In the supersymmetric limit the complex solutions govern the ground state properties, and their contribution to the semiclassical expansion is necessary to obtain consistency with the supersymmetry algebra. The multi-valuedness of the action is either related to the hidden topological angle or to the resurgent cancellation of ambiguities. We also show that in the approximate multi-instanton description the integration over the complex quasi-zero mode thimble produces the most salient features of the exact solutions. While exact complex saddles are more difficult to construct in quantum field theory, the relation to the approximate thimble construction suggests that such solutions may be underlying some remarkable features of approximate bion saddles in quantum field theories.

hep-th

Complexified path integrals, exact saddles and supersymmetry

In the context of two illustrative examples from supersymmetric quantum mechanics we show that the semi-classical analysis of the path integral requires complexification of the configuration space and action, and the inclusion of complex saddle points, even when the parameters in the action are real. We find new exact complex saddles, and show that without their contribution the semi-classical expansion is in conflict with basic properties such as positive-semidefiniteness of the spectrum, and constraints of supersymmetry. Generic saddles are not only complex, but also possibly multi-valued, and even singular. This is in contrast to instanton solutions, which are real, smooth, and single-valued. The multi-valuedness of the action can be interpreted as a hidden topological angle, quantized in units of $π$ in supersymmetric theories. The general ideas also apply to non-supersymmetric theories.

hep-th

Hidden topological angles and Lefschetz thimbles

We demonstrate the existence of hidden topological angles (HTAs) in a large class of quantum field theories and quantum mechanical systems. HTAs are distinct from theta-parameters in the lagrangian. They arise as invariant angle associated with saddle points of the complexified path integral and their descent manifolds (Lefschetz thimbles). Physical effects of HTAs become most transparent upon analytic continuation in $n_f$ to non-integer number of flavors, reducing in the integer $n_f$ limit to a $\mathbb Z_2$ valued phase difference between dominant saddles. In ${\cal N}=1$ super Yang-Mills theory we demonstrate the microscopic mechanism for the vanishing of the gluon condensate. The same effect leads to an anomalously small condensate in a QCD-like $SU(N)$ gauge theory with fermions in the two-index representation. The basic phenomenon is that, contrary to folklore, the gluon condensate can receive both positive and negative contributions in a semi-classical expansion. In quantum mechanics, a HTA leads to a difference in semi-classical expansion of integer and half-integer spin particles.

hep-th