text
string
source
string
more inference time than a weight-averaged single model. However, our framework requires significantly less total computation. In Model Soups, in addition to the required computation time for fine-tuning 58 models, which typically requires tens of GPU days per model, the greedy soup approach requires the inference-like...
https://arxiv.org/abs/2505.21857v1
Discussion We have explored BMA to incorporate large foundation models, with only training linear classifiers. We have also developed OMA applied to OOD image classification and text classification. However, there are limitations to the proposed methods. First, it is hard to employ our BMA framework beyond the image do...
https://arxiv.org/abs/2505.21857v1
fine-tuned models improves accuracy without increasing inference time. In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato, editors, Proceedings of the 39th International Conference on Machine Learning , volume 162 of Proceedings of Machine Learning Research , pages 23965–2399...
https://arxiv.org/abs/2505.21857v1
Springer series in statistics New York, 2001. 12 [25]Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems (NeurIPS) , 2017. https://arxiv.org/abs/1612.01474 . [26]Yoav Freund and...
https://arxiv.org/abs/2505.21857v1
2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition , pages 3485–3492, 2010. 13 [38]Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Indian Conference on Computer Vision, Graphics and Image Processing , Dec 2008. [39]Colin Raffel,...
https://arxiv.org/abs/2505.21857v1
Niu, and Sivan Sabato, editors, Proceedings of the 39th International Conference on Machine Learning , volume 162 of Proceedings of Machine Learning Research , pages 23965–23998. PMLR, 17–23 Jul 2022. 15 Supplementary Material A A few thoughts on BMA A.1 BMA Versus ME One might wonder why we use BMA (Bayesian model ave...
https://arxiv.org/abs/2505.21857v1
of wl ∂ ∂wlΨ(wl) =∂ ∂wllogp(D|wl)−1 2S−1 αwl= 07→wmap l, (14) 16 and the second derivative gives us the posterior precision matrix −∂2 ∂wl∂w⊤ lΨ(wl)|wl=wmap l =−∂2 ∂wl∂w⊤ llogp(D|wl)|wl=wmap l | {z } :=H+S−1 α:= Σ−1. The size of the Hessian matrix HisDC×DC. For datasets like imagenet-1K, this becomes approximately 106×...
https://arxiv.org/abs/2505.21857v1
data. We then computed the MAP estimates based on each training subset and computed the prediction accuracy on the validation set, by combining each MAP estimate and zeroshot models. The results are shown in Table 5. Two things to note: (a) because we are using only 33% of the original training data, the accuracy of BM...
https://arxiv.org/abs/2505.21857v1
7, we show the performance of each model. In all three datasets, trained MAP estimates outperform the zeroshot models. The accuracy of MAP estimates under different feature extractors varies depending on the dataset. For instance, for Camelyon17, fe-3 seems better than others, while for Sun397, fe-1 seems better than o...
https://arxiv.org/abs/2505.21857v1
case of results we showed in our Table 3 for EVA02-L, the model was trained with merged 38M data (38 million images from IN-21K, CC12M, CC3M, COCO, ADE20K, Object365 and OpenImages.) G Ablation Study for Image Data G.1 Choosing the right prior variance In BMA, the prior variance αin eq. 7 is a hyperparameter we need to...
https://arxiv.org/abs/2505.21857v1
training set consists of 3700 and the 21 validation set of 409 samples. Typically models are evaluated using the average of F1and accuracy. H.2 Recognizing Textual Entailment This dataset, often called RTE contains pairs of sentences [ 40], from a series of datasets [ 42,43,44,45]. The task is to predict whether the fi...
https://arxiv.org/abs/2505.21857v1
Targeted Unlearning Using Perturbed Sign Gradient Methods With Applications On Medical Images George R. Nahass1,2*, Zhu Wang3, Homa Rashidisabet2, Won Hwa Kim4, Sasha Hubschman2, Jeffrey C. Peterson2, Ghasem Yazdanpanah2, Pete Setabutr2, Chad A. Purnell5, Ann Q. Tran2, Darvin Yi1,2, Sathya N. Ravi3* 1*Department of Bio...
https://arxiv.org/abs/2505.21872v1
infeasible due to computational cost, regulatory restrictions on data reuse, or lack of access to the full original dataset [ 12,13]. Despite this need, very few studies have explored unlearning as a practical mechanism for model maintenance and revision in real world settings. This gap highlights the importance of dev...
https://arxiv.org/abs/2505.21872v1
enables a principled, modular, and scalable approach to deep model unlearning, offering both formal convergence guarantees and empirical improvements across multiple datasets. Our algorithm supports tunable loss design, allowing users to control the tradeoff between forgetting and retention via various design choices. ...
https://arxiv.org/abs/2505.21872v1
post -hoc unlearning must modify a frozen model without full retraining, recent work has focused on shifting its decision boundaries [ 22] by modifying parameters w. We build on the framework introduced by [ 22], which proposes forgetting a sample by modifying the model’s decision boundary through a two-phase process. ...
https://arxiv.org/abs/2505.21872v1
possible to specify a desired objective function (such as closest example in squared ℓ2norm, ℓ1for sparsity etc.) of δto get minimum perturbation, if desired. 2.3 Solving the Inner Optimization Problem The inner task in Eq. (1)is to find, for every forget sample xi, anearby point xi+δ whose logit for the true class yid...
https://arxiv.org/abs/2505.21872v1
1. The pseudocode algorithm of phase 1 can be seen in Algorithm 1. 2.4 Outer Optimization Once the boundary point xb iis identified for each forget sample xi∈F, we solve the outer minimization to obtain updated model weights wu. So the success of this two- phase bilevel optimization depends critically on identifying ac...
https://arxiv.org/abs/2505.21872v1
and regression are typically structured into a feature extractor and a classification head. This modular design reduces the combinatorial burden and enables practical strategies for composing unlearned models. We have included the pseudocode of our outer loop with the above three extensions in the Appendix (Algorithm 3...
https://arxiv.org/abs/2505.21872v1
and batch size 64. All hyperparameters were selected via grid search. All experiments are run on across 3 NVIDIA GeForce RTX 2080 Ti GPUs. 2.7 Evaluation Metrics We evaluate unlearning performance using four primary criteria. Forget Set Accuracy (F-Acc) measures the accuracy on a held-out portion of the forget set F; l...
https://arxiv.org/abs/2505.21872v1
Third, we conducted ablation experiments to isolate the effects of key loss components and design choices within our bilevel optimization framework. Finally, we analyzed model composition across baselines and variants to identify tradeoffs between forgetting performance, model utility, and privacy preservation. In all ...
https://arxiv.org/abs/2505.21872v1
time remains ∼4.5×faster than retraining. Additional timing results for medical datasets are provided in Appendix Figure 9. 12 Dataset CFP-Clinic Oculoplastics Unlearned Camera VPF>12mm Metric R Acc F Acc F/R MIA R Acc F Acc F/R MIA Retrain 0.71 0.55 0.78 0.62±0.07 0.97 1.00 1.03 0.50±0.00 Finetune 0.65 0.81 1.25 0.59±...
https://arxiv.org/abs/2505.21872v1
common feature of diseases such as Thyroid Eye Disease. Intuitively, this form of unlearning reflects evolving clinical criteria or quality thresholds [ 43]. Our approach achieved the best tradeoff in this setting, with low F-Acc (0.38) albeit slightly higher than retraining. However, our approach outperforms or is com...
https://arxiv.org/abs/2505.21872v1
F-Acc following unlearning, and qualitative examples confirmed that targeted images were misclassified as intended (Table 1). Retraining may not unlearn. Importantly, we note that retraining alone did not result in significant misclassification of the forget set, as reflected in both the decision boundary (Figure 4) an...
https://arxiv.org/abs/2505.21872v1
forgetting or improved retention, but rarely both. Motivated by this tradeoff, we explore whether unlearned models with complementary strengths can be composed to achieve better balance. Specifically, we combine feature extractors 16 F Acc R Acc R Logit F Logit Preprocess λ=−1λ= 1e−1 −−− −−− −−− 0.094 0.81 +++ −−− −−− ...
https://arxiv.org/abs/2505.21872v1
goals: by combining the feature extractor of a forgetting-oriented model with the classifier head of a retention-preserving model.This opens the door to modular, reusable unlearning workflows that are not only efficient and interpretable, but also better aligned with real-world constraints than conventional retraining ...
https://arxiv.org/abs/2505.21872v1
BMJ quality & safety 28, 231–237 (2019). [11]Lee, C. S. & Lee, A. Y. Clinical applications of continual learning machine learning. The Lancet Digital Health 2, e279–e281 (2020). [12]De Lange, M. et al. A continual learning survey: Defying forgetting in classification tasks. IEEE transactions on pattern analysis and mac...
https://arxiv.org/abs/2505.21872v1
database: A free stimulus set of faces and norming data. Behavior research methods 47, 1122–1135 (2015). [37]Nahass, G. R. et al. Open-source periorbital segmentation dataset for ophthalmic applications. Ophthalmology Science 5, 100757 (2025). [38]He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image re...
https://arxiv.org/abs/2505.21872v1
point. We can show that this approach works for any inner objective l(δ) that is smooth (or subdifferentiable) and λ≥0 (not necessary to have λ= 0). To this end, consider the case when l(δ) =1 2∥δ∥2 2that was used in [ 22]. Our proof of Lemma 3.2 can easily handle this. The Lagrangian to be minimized wrt δin this case ...
https://arxiv.org/abs/2505.21872v1
lipschitz assumption, we have that, for any λ, δ∈RD, l(λ)≤l(δ) +∇l(δ)⊤(λ−δ) +L 2∥λ−δ∥2 2. (13) By setting λ=δt+1, and δ=δtin the above inequality, we get l(δt+1)≤l(δt)−ϵt∇l(δt)⊤sign(∇δl(δt) +γ·z) +Lϵ2 t 2∥sign(∇δl(δt) +γ·z)∥2 2 ≤l(δt)−ϵt∇l(δt)⊤sign(∇δl(δt) +γ·z) +LDϵ2 t 2, (14) where the second inequality becomes an eq...
https://arxiv.org/abs/2505.21872v1
section, we show extended results from class-wide unlearning across two domains: 2D brain MRI slices and fundus images (CFP). We report forgetting accuracy (F- Acc), retention accuracy (R-Acc), their ratio, and mean ±std of MIA attack success (Appendix Figure 6). We also provide a pseudocode algorithm of our outer loop...
https://arxiv.org/abs/2505.21872v1
at which the logits were incorporated during outer optimization. F Acc R Acc R Logit F Logit Preproc. λ= 0 λ= 1e−4λ= 1e−1λ= 0 λ= 1e−4λ= 1e−1 −−− −−− −−− 0.089 0.12 0.094 0.84 0.81 0.81 +++ −−− −−− 0.49 0.52 0.48 0.87 0.85 0.85 −−− +++ −−− 0.001 0.047 0.062 0.18 0.17 0.17 +++ +++ −−− 0.001 0.047 0.062 0.18 0.17 0.17 +++...
https://arxiv.org/abs/2505.21872v1
2 Denotes the accuracy of all combinations on F, and Column 3 denotes the Euclidean distance of [ Facc, Racc] obtained using all combinations of γandλfrom [Facc, Racc] obtained using the retrained model. OP denotes oculoplastic dataset, and US denotes ultrasound dataset. Directionality of arrows indicates whether high ...
https://arxiv.org/abs/2505.21872v1
+/- 0.032 0.874 0.28 0.72 +/- 0.06 0.729 0.191 0.691 +/- 0.059 0.763 0.36 0.64 +/- 0.15 Table 7 : Selective unlearning of all datasets retaining 10% of the forget class. Blue and red highlight denote best and worst performance on FandRaccuracy. 37 Dataset fashionMNIST CIFAR-10 MRI CFP-Open Source Metric R Acc F Acc MIA...
https://arxiv.org/abs/2505.21872v1
0.796 0.577 +/- 0.031 0.948 0.84 0.548 +/- 0.035 0.95 0.542 0.733 +/- 0.011 0.939 0 0.749 +/- 0.036 Finetune 0.986 0.879 0.559 +/- 0.014 0.956 0.907 0.473 +/- 0.033 0.972 0.767 0.621 +/- 0.012 0.921 0.395 0.661 +/- 0.051 NegGrad 0.969 0.764 0.581 +/- 0.025 0.94 0.625 0.617 +/- 0.03 0.947 0.36 0.749 +/- 0.033 0.931 0.34...
https://arxiv.org/abs/2505.21872v1
arXiv:2505.21882v1 [cs.LG] 28 May 2025HydraNet: Momentum-Driven State Space Duality for Multi-Granularity Tennis Tournaments Analysis Ruijie Lia,d,f, Xiang Zhaob,f, Qiao Ninga,c,e,∗, Shikai Guoa,d,f aSchool of Information Science And Technology, Dalian Maritime University, Dalian, 116026, China bCollege of Marine Elect...
https://arxiv.org/abs/2505.21882v1
their higher ∗Corresponding authoraction frequencies and shorter rally durations result in highly detailed and granular match data [3, 25]. As a representative of small-ball sports, tennis matches are typically recorded in multiple granularities, including points, games, sets, and matches. Each rally can be described t...
https://arxiv.org/abs/2505.21882v1
ability to model the MS metric across multiple granularities tennis tournaments; 4. Through MS metrics in our experiments, we identified interesting trends, such as the ’half-time champagne’ phe- nomenon, and the varying impact of multi-source informa- tion on matches at different granularities. 2. DATASET BUILDING To ...
https://arxiv.org/abs/2505.21882v1
represented by player performance features, as detailed in Table 1, which encompasses a total of 32 factors. Additionally, we recognize that point momentum is influenced not only by the player’s current performance but also by the match’s historical progression, which we refer to as historical momentum. Inspired by Iso...
https://arxiv.org/abs/2505.21882v1
and dimensional adjustments to generate dynamic features, temporal decay factors, input-to-state map- pings, and state-to-output mappings. These components are processed within the Momentum-Driven State Space Duality (MSSD) framework, enabling both intra- and inter-window mo- mentum learning. The final output captures ...
https://arxiv.org/abs/2505.21882v1
players. The first step involves segmenting the input sequence into lo- calized temporal windows using a sliding window mechanism. By applying the unfold operation, the input tensors x,A,B,C are partitioned into segments. The window size is defined as 𝑆window =2, and the total number of windows is 𝑁window =𝐿. This s...
https://arxiv.org/abs/2505.21882v1
the recursive intra-window states, quantifying the contribution weight of the historical state to the current window (e.g., positive feedback formed by consecutive serves won), preparing for subsequent state computations across windows. First, we compute the cumulative state 𝐴cumsum by accumulating the time steps of �...
https://arxiv.org/abs/2505.21882v1
where𝜎is the activation function, 𝑤is a learned normaliza- tion parameter, and 𝜖is a small constant value used to prevent instability. Then, 𝑌′′is used for linear transformation to obtain the final output ˆ𝑌∈R(1+𝐿)×𝑑, which extracts the last time step information to update the implicit momentum 𝑀𝑖. Finally, we...
https://arxiv.org/abs/2505.21882v1
of both players as Queries to query their own and the opponent’s microcosmic feature groups as Keys. The query information is used to update the player’s vector, capturing both 6 Table 2: Performance Metrics of Multi-Granularity Momentum Prediction Results for Tennis Tournaments Based on HydraNet on the WID and USD. Da...
https://arxiv.org/abs/2505.21882v1
the Hydra layer is set to 1, the CAAM module employs 8 heads. and the learning rate is fixed at 0.001. To mitigate overfitting, a dropout mechanism with a probability of 0.1 is implemented. Model performance is assessed using AUC, AUPRC, accuracy, F1 score, recall, and precision. Experiments are repeated to ensure the ...
https://arxiv.org/abs/2505.21882v1
current one. Additionally, a cross-attention mechanism dynamically captures both intra- and inter-block information, balancing short-term and long-term in- 8 Table 3: Multi-Granularity Experimental Results for Multimodal Learning with Missing Modality Based on HydraNet on the WID. Granularity MLMM AUC AUPRC ACC F1 −sco...
https://arxiv.org/abs/2505.21882v1
between HydraNet with and without the Versus Learning method, as shown in Fig- ure 3 (C). Experimental results from both datasets reveal thatHydraNet enhanced with Versus Learning demonstrates signif- icantly stronger performance in multi-granularity momentum prediction tasks. This highlights the necessity of enhancing...
https://arxiv.org/abs/2505.21882v1
physical fatigue play a determining role in the outcome of an en- tire match. As the match progresses, the changes in the player’s physical and psychological state can become the key factors that determine victory or defeat. Long matches exacerbate fatigue, while psychological factors govern how players perform and cop...
https://arxiv.org/abs/2505.21882v1
is not solely determined by the outcome at the point level but is a composite measure of the player’s performance during the first half of the match and the various influences they face. 6. Conclusion In this paper, we introduce the MS metric to measure the mo- mentum strength of players across different granularity le...
https://arxiv.org/abs/2505.21882v1
0 indicates they lost. Serve Speed: To address the issue of missing server speed data, we performed reasonable imputation and applied a special maximum-minimum normalization to ensure the data is appro- priately standardized for training and validation of HydraNet. First, we imputed missing serve speed data in two case...
https://arxiv.org/abs/2505.21882v1
where the opponent could not return the serve. {0, 1 } 24 p2 ace Aces served by player2, where the opponent could not return the serve. {0, 1 } 25 p1 winner Winners struck by player1, where the opponent was unable to return the shot. {0, 1 } 26 p2 winner Winners struck by player2, where the opponent was unable to retur...
https://arxiv.org/abs/2505.21882v1
for player1, representing the distance from the baseline. [0, 1] 54 p2 return depth Average return depth for player1, representing the distance from the baseline. [0, 1] 12 ratio, and then imputed missing values based on this merged distribution. Additionally, considering the relationship between serve speed and perfor...
https://arxiv.org/abs/2505.21882v1
the temporal decay factor and dynamic adjustments. The computation begins by refining the dynamic weight𝑑𝑡using the Softplus activation function with a learnable bias𝑏𝑑𝑡, followed by combining it with the base temporal decay factor. The final formulation is defined as: A=−exp(Alog)·Softplus(𝑑𝑡+𝑏𝑑𝑡), (A.4) whe...
https://arxiv.org/abs/2505.21882v1
technologies, and algorithmic perspective. Wiley Interdis- ciplinary Reviews: Data Mining and Knowledge Discovery , 13(5):e1496, 2023. [12] Brandon Giles, Peter Peeling, Stephanie Kovalchik, and Machar Reid. Dif- ferentiating movement styles in professional tennis: A machine learning and hierarchical clustering approac...
https://arxiv.org/abs/2505.21882v1
Mao, and CL Philip Chen. Greensea: visual soccer analysis using broad learning system. IEEE Transactions on Cybernetics , 51(3):1463–1477, 2020. [33] Michal Sipko and William Knottenbelt. Machine learning for the predic- tion of professional tennis matches. MEng computing-final year project, Imperial College London , 2...
https://arxiv.org/abs/2505.21882v1
arXiv:2505.21892v1 [stat.ML] 28 May 2025Almost Linear Convergence under Minimal Score Assumptions: Quantized Transition Diffusion Xunpeng Huang∗1, Yingyu Lin∗1, Nikki Lijing Kuang1, Hanze Dong4, Difan Zou†2, Yian Ma†1, and Tong Zhang3 1University of California San Diego 2The University of Hong Kong 3University of Illin...
https://arxiv.org/abs/2505.21892v1
Huang et al. (2024); Li and Cai (2024) improve or balance complexity to the extent of ˜O(√ d/ϵ)or˜O(d5/4/√ϵ), but require stricter conditions such as smooth score function along the entire OU process. There are two factors limiting the improvement of the current results. (1) The local adjacency structure of the forward...
https://arxiv.org/abs/2505.21892v1
out-degree of each node influences the per-iteration complexity. In the neighborhood adjacency GTridiagonal , each node has an out-degree of O(1)but a diameter of O(|Y|). For the dense adjacency, the graph GDenseattains a diameter of O(1)at the cost of an O(|Y|)out-degree. Notably, the binary adjacency GHypercube offer...
https://arxiv.org/abs/2505.21892v1
R→in the forward process, R← tcharacterizes the transition rates for the time-inhomogeneous reverse process {y← t}T t=0, i.e., R← t(y,y′):= lim ∆t→0"q← t+∆t|t(y|y′)−δy′(y) ∆t# , (4) as shown in Appendix C.3. In practice, the probability density ratio q← t(y)/q← t(y′)will usually be approximated with neural networks due...
https://arxiv.org/abs/2505.21892v1
the histogram approximation. The first step regularizes the original distribution in some bounded sets but controls the TV gap by Lemma D.1. The second step quantizes the probability density to a histogram-like distribution but controls the TV gap by Lemma D.2. over a binary-encoded state space. Key innovations include...
https://arxiv.org/abs/2505.21892v1
discrete state whose probability mass function is proportional to the probability density at the midpoint of Cell (y). Consequently, sampling from preduces to the following two-stage procedure: 1. Sample from the discrete distribution q∗defined on Y; 2. Uniformly draw a sample from the cell, i.e., Cell (y). Then, we ca...
https://arxiv.org/abs/2505.21892v1
. . , −L)to(−L,−L, . . . , −L)—a long-range jump, but now each binary state y∈ Y has only dlog2Kadjacent states, offering a dramatic reduction in connectivity compared to the original discrete grid. We visualize the differences among adjacency structures in Fig. 1. The forward CTMC starting from q∗.Analogous to the rol...
https://arxiv.org/abs/2505.21892v1
time T, a time partition 0 =t0< . . . < t W=T−δ, parameters βt1, . . . , β tWset as Eq.(14), a reverse transition rate function ˆR← tobtained by the learnt score function ˜vt,y′(·). 2:Draw an initial sample ˆyt0∼Uniform( {0,1}dlog2K). 3:forw= 1toWdo 4:Draw N∼Poisson( βtw(tw−tw−1)); 5:Sample Npoints i.i.d. uniformly fro...
https://arxiv.org/abs/2505.21892v1
also appears in state-of-the-art convergence analyses such as Li and Yan (2024). Although our analysis additionally calls for a light-tailed assumption, it does not impose isoperimetric constraints, and p∗need not be log-concave or unimodal. Under this condition, Assumption [A3], the σsub-Gaussian property, is introduc...
https://arxiv.org/abs/2505.21892v1
Lou et al. (2024) have introduced discrete training objectives such as concrete score matching and denoising score entropy, no direct comparison between discrete and continuous score training has been conducted. Lastly, our study is primarily theoretical, so its scalability and applicability remain to be investigated i...
https://arxiv.org/abs/2505.21892v1
score matching for discrete data. Advances in Neural Information Processing Systems , 35:34532–34545. Nichol, A. Q. and Dhariwal, P. (2021). Improved denoising diffusion probabilistic models. In International conference on machine learning , pages 8162–8171. PMLR. Popov, V., Vovk, I., Gogoryan, V., Sadekova, T., and Ku...
https://arxiv.org/abs/2505.21892v1
. , K −1}dinduced by p∗, Eq. (12) q∗ Discrete distribution on Y={0,1}dlog2K,q∗=q∗◦vBin−1 y→ t Forward-time CTMC on Y q→ t Marginal distribution of forward process at time t, i.e., y→ t∼q→ t q→ t′,t Joint distribution of (y→ t′,y→ t) q→ ∞ Stationary distribution of the forward CTMC (uniform distribution) q→ t′|t(y′|y) C...
https://arxiv.org/abs/2505.21892v1
Yis defined as δy(y′) =( 1y′=y 0otherwise. 16 C.1 The Forward Process of Discrete Diffusion Models In this section, we refine the introduction about the forward process of discrete diffusion in Section 2 with the same notations. In general, the time-homogeneous CTMC can be described by a Markov semigroup Q→ tdefined as...
https://arxiv.org/abs/2505.21892v1
yi. Proof.Combining Eq. (24)and Eq.(25), the dynamic of marginal distribution q→ tcan be written as a matrix-vector product, i.e., dq→ t/dt=R→·q→ t where R→= R→(y0,y0) R→(y0,y1). . . R→(y0,y|Y|−1) R→(y1,y0) R→(y1,y1). . . R→(y1,y|Y|−1) . . . . . . . . . . . . R→(y|Y|−1,y0)R→(y|Y|−1,y1). . . R→(y|Y|−1,y|Y|−1) . ...
https://arxiv.org/abs/2505.21892v1
t|s, i.e., ∂tq← t|s(y′|y) =−1·∂T−tq→ T−t|T−s(y′|y) =−1·∂T−t"q→ T−s|T−t(y|y′)·q→ T−t(y′) q→ T−s(y)# =−∂T−tq→ T−s|T−t(y|y′)·q→ T−t(y′) q→ T−s(y) | {z } Term 1−q→ T−s|T−t(y|y′) q→ T−s(y)·∂T−tq→ T−t(y′) | {z } Term 2.(26) For Term 1 of Eq. (26), we have Term 1 =−X ˜y∈YR→(˜y,y′)·q→ T−s|T−t(y|˜y)·q→ T−t(˜y) q→ T−s(y)·q→ T−t(...
https://arxiv.org/abs/2505.21892v1
=1 2Z x∈Cube( L)(˜p∗(x)−p∗(x)) dx+1 2Z x̸∈Cube( L)p∗(x)dx =1 2" 1−Z x∈Cube( L)p∗(x)dx# +1 2Z x̸∈Cube( L)p∗(x)dx =Z x̸∈Cube( L)p∗(x)dx≤ϵ(31) where the last inequality follows from Eq. (30). Hence, the proof is completed. Lemma D.2. Suppose the distribution ˜p∗defined in Eq. (9)satisfies H–smoothness, by choosing l≤(2HL+...
https://arxiv.org/abs/2505.21892v1
l= Ωh 2H· σp 2dln(2d/ϵ) +d+p dm0i−1 ·ϵ , it will have TV (p∗,p∗)≤3ϵ. Hence, the proof is completed. 25 E Proof of Lemma 3.2 To make our analysis clear, we define the variables, the random variables, and the marginal density derived by a specific ordered set S⊆ {0,1, . . . , d log2K−1}. Specifically, we have yS=|S|−...
https://arxiv.org/abs/2505.21892v1
y∈Ylnq→ t(y) q→∞(y) X y0∈YR(y,y0)·q→ t(y0)  =X y0q→ ∞(y0)·q→ t(y0) q→∞(y0)·X ylnq→ t(y) q→∞(y)·R→(y,y0) =X y0q→ ∞(y0)·q→ t(y0) q→∞(y0)· L[lnq→ t q→∞](y′) =−Eq→ t q→∞,lnq→ t q→∞ Due to Lemma E.1, we have dKL q→ t q→ ∞ dt=−Eq→ t q→∞,lnq→ t q→∞ ≤Entq∞q→ t q→∞ =−KL q→ t q→ ∞ . According to the Gronwall’s theo...
https://arxiv.org/abs/2505.21892v1
tw+1−tw=T−tw 3>0, which shows tw+1> tw. Thus, as long as tw< T, the sequence is strictly increasing. Moreover, due to the fact t0= 0< T, we can prove that tw< Tfor all w. Specifically, assume tw< T; then tw+1=T+ 2tw 3<T+ 2T 3=T. Therefore, tw+1< Tas well, completing the induction. Hence twremains below Tfor all w, and ...
https://arxiv.org/abs/2505.21892v1
where the inequality follows from the chain rule of KL divergence, i.e., Lemma ??. Under this condition, we have dKL q← t ˆqt dt≤X y∈Yq← t(y)·lim ∆t→0 KL q← t+∆t|t(·|y) ˆqt+∆t|t(·|y) ∆t  | {z } Term 1.(45) For each y∈ Y, we focus on Term 1 of Eq. (45), and have Term 1 = lim ∆t→0 ∆t−1·X y′∈Yq← t+∆t|t(y′|y)·lnq...
https://arxiv.org/abs/2505.21892v1
[A1]–[A3], by introducing Lemma 3.1, the histogram-like approximation p∗will be close to p∗, i.e., TV (p∗, p∗)≤3ϵ by choosing L=σ·p 2 ln(2 d/ϵ) and l=h 2H· σp 2dln(2d/ϵ) +d+p dm0i−1 ·ϵ. Under this condition, we have K=2L l= 4H·" 2σ2d1/2·ln2d ϵ+σd·r 2 ln2d ϵ+d1/2m1/2 0·r 2 ln2d ϵ# ·ϵ−1 ≤24Hσ2dm0ϵ−1·ln(2d/ϵ) where the ...
https://arxiv.org/abs/2505.21892v1
Published as a conference paper at ICLR 2025 TAMING TRANSFORMER WITHOUT USING LEARNING RATE WARMUP Xianbiao Qi1, Yelin He1, Jiaquan Ye1, Chun-Guang Li2†, Bojia Zi3, Xili Dai4, Qin Zou5, Rong Xiao1† 1Intellifusion Inc.2BUPT3CUHK4HKUST (GZ)5WHU ABSTRACT Scaling Transformer to a large scale without using some technical tr...
https://arxiv.org/abs/2505.21910v1
and enforcing Lipschitz continuity properties of Transformer † Corresponding authors 1arXiv:2505.21910v1 [cs.LG] 28 May 2025 Published as a conference paper at ICLR 2025 components, which can provide insights into the network behavior and the training stability. Al- though there are a few works (Bachlechner et al., 202...
https://arxiv.org/abs/2505.21910v1
P RELIMINARIES Matrix norm. Given a matrix W, itsℓp-norm is defined as: ∥W∥p=supx̸=0∥Wx∥p ∥x∥p. When p=2, the induced matrix norm is the spectral norm , which is defined as the largest singular value of Wand is also expressed as the square root of the largest eigenvalue of the Gram matrix W⊤W. The spectral norm of a ma...
https://arxiv.org/abs/2505.21910v1
rameters of the second LayerNorm. When RMSNorm (Zhang & Sennrich, 2019) is used, there are only 13 terms that will be analyzed since it does not have β. For the weight matrix, we use the spectral norm. For a vector, we use its ℓ2norm. To ensure that the phenomena we observed can generalize well, we visualized them on b...
https://arxiv.org/abs/2505.21910v1
2 (WoWv) of block 4 (WoWv) of block 6 (WoWv) of block 8 (WoWv) of block 10 (WoWv) of block 11 (m)σ1(WoWv) 0k 50k 100k 150k 200k Step2345678Value (log)||x||2 of block 0 ||x||2 of block 2 ||x||2 of block 4 ||x||2 of block 6 ||x||2 of block 8 ||x||2 of block 10 ||x||2 of block 11 (n)∥x∥2 0k 50k 100k 150k 200k Step7.5 5.0 ...
https://arxiv.org/abs/2505.21910v1
As shown in Figure 2, in a failure training process of Transformer, the attention maps gradu- ally become sparse and low-rank. Finally, the entropy of the attention map is 0; whereas in a successful training process, the attention map is not too sparse and of a medium rank. • The normalization layers exhibit a huge dif...
https://arxiv.org/abs/2505.21910v1
to XandWq⊤Wk. If the spectral norm σ1(Wq⊤Wk) is very large, it implies that the gradient∂L ∂Xwill more likely to be magnified a lot. • Equation 3 suggests that changes in the query weights Wqare related to both the input X and the key representation WkX. Equation 3 suggests that changes in the key weights Wkare related...
https://arxiv.org/abs/2505.21910v1
following prop- erty: Wq⊤Wkis usually a non-symmetric posi- tive quasi-definite square matrix (see Appendix O for details), and the self-attention layer de- generates into a linear projection layer because Y=WvXA≈WvXI=WvX. We give an intuitive analysis in Appendix C. When the malignant collapse happens, the model will ...
https://arxiv.org/abs/2505.21910v1
∂vec(W q⊤Wk)↓Wq⊤Wk↓A⇓ Xl+1 ↓ FIGURE 5: Attribution flow chart of attention collapse. each term, illustrating the entire attribution chain from the input Xlto the output Xl+1in the attention module. Note that ↓indicates being low-rank and ⇓means being sparse and simul- taneously low-rank. If Xis low-rank, then X⊤⊗X⊤is a...
https://arxiv.org/abs/2505.21910v1
1 (Steady Weights Updating Rule) .Given weights matrix Wt−1and the updating quantity ∇Wtat step t, with the learning rate αt, a steady weights should satisfy the following inequality: ∥Wt−1−αt∇Wt∥2≤(1+τ)∥Wt−1∥2,where τ>0is a small factor . To meet Rule 1, what we need is that σ1(Wt−1)+αtσ1(∇Wt)≤(1+τ)∥Wt−1∥2=(1+τ)σ1(Wt−...
https://arxiv.org/abs/2505.21910v1
Transformer are pure encoder archi- tectures and GPT is a pure causal decoder. Note that we do not conduct any adjustments to the networks and directly use the original implementation. Our experiments include image classification on ImageNet (Deng et al., 2009) and large language model on OpenWebText (Gokaslan & Cohen,...
https://arxiv.org/abs/2505.21910v1
61876022. Qin Zou was partially funded by the National Natural Science Foundation of China under Grant 62171324. REFERENCES Thomas Bachlechner, Bodhisattwa Prasad Majumder, Henry Mao, Gary Cottrell, and Julian McAuley. Rezero is all you need: Fast convergence at large depth. In Uncertainty in Artificial Intelligence , ...
https://arxiv.org/abs/2505.21910v1
constant of self-attention. InInternational Conference on Machine Learning , pp. 5562–5571. PMLR, 2021. Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 , 2014. Atli Kosson, Bettina Messmer, and Martin Jaggi. Rotational equilibrium: How weight decay bal- ances l...
https://arxiv.org/abs/2505.21910v1
text-to-image generation. In International conference on ma- chine learning , pp. 8821–8831. Pmlr, 2021. Herbert Robbins and Sutton Monro. A stochastic approximation method. The annals of mathe- matical statistics , pp. 400–407, 1951. David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning representations...
https://arxiv.org/abs/2505.21910v1
instance, if A=· 1 2 3 4¸ , andB=· 1 2 3 3 4 5¸ , then A⊗B= 1 2 3 2 4 6 3 4 5 6 8 10 3 6 9 4 8 12 9 12 15 12 16 20 . Some basic properties of the Kronecker product include: A⊗(B⊗C)=(A⊗B)⊗C, A⊗(B+C)=(A⊗B)+(A⊗C), (A+B)⊗C=(A⊗C)+(B⊗C), (A⊗B)T=AT⊗BT. For a matrix A, the rank of A⊗Acan be computed as, rank(A⊗A)=rank(...
https://arxiv.org/abs/2505.21910v1
∂vec(P)=¡1n2⊘diag(vec( C))¢ diag(vec( B))−diag(vec( B)⊘(vec(C)⊙vec(C)))(In⊗1n1⊤ n)diag(vec( B)) q dq =diag(vec( A))−diag(vec( B)⊘(vec(C)⊙vec(C)))(In⊗1n1⊤ n)diag(vec( B))q dq =blockdiag(diag( A:,1)−A:,1A⊤ :,1,...,diag( A:,n)−A:,nA⊤ :,n) q dq. For the simplicity, we denote J=blockdiag(diag( A:,1)−A:,1A⊤ :,1,...,diag( A:,...
https://arxiv.org/abs/2505.21910v1
as a conference paper at ICLR 2025 Proof. LetWbe a real symmetric positive semi-definite. Thus, it can be decomposed into W= UΣU⊤. In this way, we have Ei̸=j£xi⊤Wx j¤ =Ei̸=j£xi⊤UΣU⊤xj¤ =E£z⊤Σv¤ (letz=U⊤xi, andv=U⊤xj) =E"dqX i=1σi jzivj# (Σis a diagonal matrix. zandvare independent) =0. According to Proposition 3 and Pr...
https://arxiv.org/abs/2505.21910v1
can refer to these material for more background information. Proof. Before we prove Weyl’s Inequality on singular values, let us review Courant-Fischer min- max principle that is important for analyzing the singular values of matrix. Theorem 3 (Courant-Fischer Min-max Principle for Singular Values) .LetW∈Rm×nbe a matri...
https://arxiv.org/abs/2505.21910v1
depth increases. LipsFormer Qi et al. (2023a) addresses the specific challenge of stability in transformer networks. By introducing a Lipschitz continuity constraint, Lipsformer effectively mitigates the issue of exploding gradients - a com- mon problem in deep transformer architectures. This approach ensures that the ...
https://arxiv.org/abs/2505.21910v1
Modes. 1import torch 2import torch.nn 3import matplotlib.pyplot as plt 4import numpy as np 5 6 7#Randomly generate data and weight matrices 8d_q, d, num_tokens= 64, 768, 197 9Wq = torch.randn(d_q, d) 10Wk = torch.randn(d_q, d) 11X = torch.randn(d, num_tokens) 12W = torch.mm(Wq.T, Wk) 13 14 15# Normal attention mode 16W...
https://arxiv.org/abs/2505.21910v1
block 0 ||1||2 of block 2 ||1||2 of block 4 ||1||2 of block 6 ||1||2 of block 8 ||1||2 of block 10 ||1||2 of block 11 (b)∥β1∥2 0k 50k 100k 150k 200k Step0255075100125150Value(Wq) of block 0 (Wq) of block 2 (Wq) of block 4 (Wq) of block 6 (Wq) of block 8 (Wq) of block 10 (Wq) of block 11 (c)σ1¡Wq¢ 0k 50k 100k 150k 200k ...
https://arxiv.org/abs/2505.21910v1
block 0 (12) of block 2 (12) of block 4 (12) of block 6 (12) of block 8 (12) of block 10 (12) of block 11 (a)∥γ1∥2 0k 10k 20k 30k 40k 50k Step12345678Value(Wq) of block 0 (Wq) of block 2 (Wq) of block 4 (Wq) of block 6 (Wq) of block 8 (Wq) of block 10 (Wq) of block 11 (b)σ1¡Wq¢ 0k 10k 20k 30k 40k 50k Step24681012Value(...
https://arxiv.org/abs/2505.21910v1
30k 40k 50k Step020406080100120Value(Wq) of block 0 (Wq) of block 2 (Wq) of block 4 (Wq) of block 6 (Wq) of block 8 (Wq) of block 10 (Wq) of block 11 (b)σ1¡Wq¢ 0k 10k 20k 30k 40k 50k Step050100150200250Value(Wk) of block 0 (Wk) of block 2 (Wk) of block 4 (Wk) of block 6 (Wk) of block 8 (Wk) of block 10 (Wk) of block 11...
https://arxiv.org/abs/2505.21910v1
ViT-g with AdamW2and ViT-g with AdamW, where ViT-g with AdamW was evaluated under two settings: with and without learning rate warmup. Our AdamW2does not use warmup. The comparison results are presented in Figure 11 and Figure 12. Figure 11 shows that ViT-g with AdamW crashes after only a few training steps when runnin...
https://arxiv.org/abs/2505.21910v1
curves, they somewhat look like a curve with learning rate warmup, but we can see that different blocks have different learning rates. We also observe that shallower layers are more likely to violate the preset τvalue. It means the shallower layers are more likely to lead to a greater update of weight matrix and typica...
https://arxiv.org/abs/2505.21910v1