text
string
source
string
λ= 0.01, for different values of width m, number of data points nand data dimension d. Data is generated by drawing independent data points 8 n= 4 n= 8 n= 1600.51Proportion 00.51Proportion 10210310410500.51 mProportion 102103104105 m102103104105 md= 2 d= 4 d= 8 Figure 1: Proportion of activation cones containing global...
https://arxiv.org/abs/2505.22578v1
slightly larger than the minimal one) and generalize well, which could explain why such a level of overparametrization might not be required in practice. Such a question is also left open for future work. Acknowledgments and Disclosure of Funding We acknowledge the EPSRC-funded Mathematics of Systems II CDT and the DIM...
https://arxiv.org/abs/2505.22578v1
J. Mach. Learn. Res. , 17(83):1–5, 2016. 14 Felix Draxler, Kambis Veschgini, Manfred Salmhofer, and Fred A. Hamprecht. Essentially No Barriers in Neural Network Energy Landscape. In ICML , pages 1308–1317, 2018. 3 Simon S. Du, Xiyu Zhai, Barnabás Póczos, and Aarti Singh. Gradient Descent Provably Optimizes Over-paramet...
https://arxiv.org/abs/2505.22578v1
Zhiyuan Li, Simon Shaolei Du, Jason D. Lee, and Wei Hu. Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking. In ICLR , 2024. 5 Hartmut Maennel, Olivier Bousquet, and Sylvain Gelly. Gradient Descent Quantizes ReLU Network Features. CoRR , abs/1803.08367, 2018. 4 Song Mei, Andrea Montanari, and...
https://arxiv.org/abs/2505.22578v1
Characterization of Optimal Solutions. In ICLR , 2022. 3, 4, 5, 14, 19, 20 Stephan Wojtowytsch. On the Convergence of Gradient Descent Training for Two-layer ReLU- networks in the Mean Field Regime. CoRR , abs/2005.13530, 2020. 1 Blake E. Woodworth, Suriya Gunasekar, Jason D. Lee, Edward Moroshko, Pedro Savarese, Itay ...
https://arxiv.org/abs/2505.22578v1
gradient of the network is minimized. If the absolute values of the entries in the resulting gradient are all less than 5·10−5, we declare the point a local minimum within the cone. Figure 1 also shows the proportion of activation cones that have stationary points which are not optimal. Again this is based on the sampl...
https://arxiv.org/abs/2505.22578v1
00.51Proportion 10210310410500.51 mProportion 102103104105 m Figure 3: Proportion of activation cones containing global minima (blue) and local minima (orange) across varying m,n, anddfor orthogonal datasets. The vertical dotted line corresponds to the number of non-empty neuron activation patterns, of which there are ...
https://arxiv.org/abs/2505.22578v1
neurons never change again in our experiments, as this corresponds to a local minimum of the regularized loss. For large αon the other hand, the alignment and reduction in distinct neuron direction happens later and we converge towards solutions involving three distinct neuron directions with three different activation...
https://arxiv.org/abs/2505.22578v1
loss and the regularized loss of the trained network. For Figure 6, we determine the number of distinct neuron directions as follows: first we identify those neurons that have a positive second layer weight. We note that in our experiments, due to our specific data, the neurons with negative second layer weight always ...
https://arxiv.org/abs/2505.22578v1
is sufficient to count the fraction of non-empty cones CAsatisfying the following property for any i∈[n+ 1], there exists j∈[m]such that Aj=An(w⋆ i, a⋆ i). (4) This can be done using a simple bound for the coupon collector problem. Lemma 2 (Lemma 11 by Karhadkar et al. 2024) .Letε∈(0,1)andp≤qbe positive integers. LetZ1...
https://arxiv.org/abs/2505.22578v1
a direct consequence of this balanced property is the following equality ∥(W, a)∥2 2= 2mX i=1∥βi∥2, ∥(W⋆, a⋆)∥2 2= 2mX i=1∥β⋆ i∥2. From there, we can define for any B∈Rm×dthe alternative loss function as ˜L(B) =1 nnX k=1(hB(xk)−yk)2+ 2λ∥B∥1,2, where hB(xk) =mX i=1AikB⊤ ixk and∥B∥2,1=mX i=1∥Bi∥2. ForB ∈Rm×d(respectively...
https://arxiv.org/abs/2505.22578v1
consists of two parts. In (a), we establish that all networks in Θu⋆have the same value of the regularized loss Lλ, which we denote by L⋆ λ. Part (b) then states that, provided the network width is at least 2, the latter value is not minimal, and thus none of the networks in Θu⋆are global minima. In Lemma 5 below, we s...
https://arxiv.org/abs/2505.22578v1
training point, and no neuron with negative output weight has exactly the same direction as the vector γ. Proposition 3. With probability at least 1−(3 4)m, we have: I+̸=∅,K0(wi(0)) = ∅for all i∈[m], and∡(wi(0), γ)>0for all i∈[m]with si=−1. Proof. The2mevents si= 1andK+(wi(0))̸=∅are independent and have probability at ...
https://arxiv.org/abs/2505.22578v1
all τ∈[0, t]we have ∥wj(τ)∥ ≤2α1−ϵτ/T 1. We then observe that ∥wi(t)∥ ≤αexp(tmax τ∈[0,t]∥gi(τ)∥) by Proposition 4 (b), Grönwall’s inequality ≤αexp t ∥γ∥+ 2 max k∈[d] τ∈[0,t]|fθ(τ)(xk)| by Proposition 4 (b) and ∥xk∥= 1 ≤αexp t ∥γ∥+ 2mmax j∈[m] τ∈[0,t]∥wj(τ)∥2 by Equation (1) and Proposition 4 (a) ≤αexp t ∥γ∥+ ...
https://arxiv.org/abs/2505.22578v1
in Proposition 3, and provided ηandαare sufficiently small and λ≤µminα2ϵ, there exists T2> T 1such that: (a)∥v⋆−v(T2)∥ ≤αϵ. (b)wi(T2)⊤wi′(T2)≥1−4αϵfor all i, i′∈I+. Proof. Let: g(t):= 2H(v⋆−v(t)) δ(t):=∥v(t)∥ g(t) +v(t)v(t)⊤g(t) . By Lemma 3 and the proof of Chistikov et al. [2023, Theorem 6], the time T2:= inf{t≥T1|...
https://arxiv.org/abs/2505.22578v1
28 +λ2X i∈[m]\I+∥wi(t)∥2and by simplifying ≥µminX i∈I+∥wi(t)∥2∥H1 2(u⋆−v(t)) +λH−1 2(u⋆−wi(t))∥2 +λ2X i∈[m]\I+∥wi(t)∥2since∥ · ∥2 H≥µmin∥ · ∥2 =µminX i∈I+∥wi(t)∥2 ∥u⋆−v(t)∥2 H expanding the square + 2µminλ(u⋆−v(t))⊤X i∈I+∥wi(t)∥2u⋆−v(t) and recalling that, +µminλ2X i∈I+∥wi(t)∥2∥u⋆−wi(t)∥2 H−1 by Proposition 4 (a), ...
https://arxiv.org/abs/2505.22578v1
2∥wi(t)∥2 2wi(t)⊤H(u⋆−v(t))−λ∥u⋆−wi(t)∥2 by Equations (8) and (9) ≤5∥H(u⋆−v(t))∥+ 2λ∥wi(t)∥2∥u⋆−wi(t)∥2for small enough α ≤5q bLλ(θ(t))/µmin+ 2bLλ(θ(t)) by Equation (15) ≤ O(1) exp −t−T2 2κ , by Equation (14) solimt→∞∥wi(t)∥2exists. Theorem 2 now follows by Proposition 3, fixing η >0andα⋆>0so that Proposition 2 and L...
https://arxiv.org/abs/2505.22578v1
Now note that in the orthogonal case, all weight cones are non-empty, i.e., choosing uiuniformly at random among the set of non-empty weight cones is the same as choosing its components uikas independent Bernoulli variables of parameter 1/2. As a consequence using a simple union bound, P(∃j∈[m],∀ks.t.yk>0, ujk= 1)≤m2−c...
https://arxiv.org/abs/2505.22578v1
show that the neural network (W, a)is equivalent to the network (˜W,˜a)defined by ∀i >2,( ˜wi,˜ai) =0 ˜a1=vuuut X i,si=1∥wi∥wi 2and ˜a1=−vuuut X i,si=−1∥wi∥wi 2 ˜w1=P i,si=1∥wi∥wi ˜a1and ˜w2=P i,si=−1∥wi∥wi ˜a2. It is indeed easy to check that for any k∈[n],fθ(xk) =f˜θ(xk). Moreover, we have by triangle inequality that...
https://arxiv.org/abs/2505.22578v1
arXiv:2505.22609v1 [eess.IV] 28 May 2025CHEST DISEASE DETECTION IN X-RAY IMAGES USING DEEP LEARNING CLASSIFICATION METHOD PROJECT CATEGORY : IMAGE CLASSIFICATION WITH CONVOLUTIONAL NEURAL NETWORKS Alanna Hazlett University of Virginia School of Data Science uwa6xv uwa6xv@virginia.eduNaomi Ohashi University of Virginia ...
https://arxiv.org/abs/2505.22609v1
15.0%), Normal (16,180, 28.3%), Pneumonia (18,678, 32.7%), and TB (13,711, 24.0%). We found collecting unique COVID-19 X-ray images that are publicly available to a be a significant challenge. Some redundancies were removed from the final dataset. Then, the dataset was normalized and resized to (224,224) or (299,299), ...
https://arxiv.org/abs/2505.22609v1
machine knowledge. The network follows the PEPX design pattern, reducing computational complexity through long-range connectivity. The model is pre-trained on ImageNet and fine-tuned on the COVIDx dataset of 13,975 X-rays. The data is preprocessed and augmented. GSInquire is used to provide explainability by highlighti...
https://arxiv.org/abs/2505.22609v1
(CNNs) for the purpose of detection of SARS COV 2, also known as COVID-19. Houby implemented two CNN pre-trained models for binary classification (COVID/healthy) achieving experimental results with the best model of 95% accuracy using enhanced full X-ray images. Both pre-trained models were pre-trained on the ImageNet ...
https://arxiv.org/abs/2505.22609v1
5.1 Multiclass Convolutional Neural Networks Our task is inherently a classification task as we seek to identify which group our chest X-ray images into one of our four classes: COVID-19, normal, pneumonia, and tuberculosis. As such, we leverage supervised deep learning with convolutional neural networks (CNN) to achie...
https://arxiv.org/abs/2505.22609v1
bespoke dataset of 57,111 X-ray images across our four classes of COVID-19, Normal, Pneumonia, and TB. As seen in Figure 4 we achieve more than 96% accuracy across all of our base model architectures. Since this is the largest dataset employed for this specific four class, classification task, we can be relatively conf...
https://arxiv.org/abs/2505.22609v1
perfectly, upon review of the Grad-CAM image, Dr. McMullen expressed confidence that in this instance the model had reasonably identified many of key areas for diagnosis of this image. It should be noted that X-ray images are seldom used in isolation when making a diagnosis and a list of patient symptoms and medical hi...
https://arxiv.org/abs/2505.22609v1
6.6.1 Description of Model: The Xception model employs a depthwise separable convolutional neural network architecture. Xception consists of an entry flow mainly comprised several regular convolution layers, and some depthwise layers, then a middle flow which consists of eight repetitions of depthwise separable convolu...
https://arxiv.org/abs/2505.22609v1
This resulted in a final parameter count of 6,249,300 parameters of which we trained 3,189,236, leaving 3,060,064 parameters non-trainable. 9 X-ray Classification Using Deep Learning A P REPRINT The Grad-CAM class activation visualization offers ImageNet utilities, "decode predictions" to interpret predictions from the...
https://arxiv.org/abs/2505.22609v1
accuracy on our large, bespoke, dataset, we found that our ResNet50 based model to be our best model across validations and test sets showcasing stable training and strong generalization. However, both the explainability and generalizability of our models have limitations due to certain idiosyncrasies in the datasets w...
https://arxiv.org/abs/2505.22609v1
https://tbportals.niaid.nih.gov/Partners . Investigators and other data contributors that originally submitted the data to the TB Portals did not participate in the design or analysis of this study. "TB Portals Published CXRs" https://datasharing.tbportals.niaid.nih.gov/#/data-collection-overview was used in the analys...
https://arxiv.org/abs/2505.22609v1
Principled Out-of-Distribution Generalization via Simplicity Jiawei Ge * Amanda Wang†Shange Tang‡Chi Jin§ Abstract Modern foundation models exhibit remarkable out-of-distribution (OOD) generalization, solving tasks far beyond the support of their training data. However, the theoretical principles underpinning this phe-...
https://arxiv.org/abs/2505.22622v1
successful OOD generalization. Specifically, among all models that fit the training data, the one that generalizes is typically the simplest according to this metric. We formalize this idea in a parametric setting, where the model is parameterized by β∈Rd. We assume that the only generalizable parameter (i.e., the grou...
https://arxiv.org/abs/2505.22622v1
Peng et al. (2024) investigate the ability of autoregressive transformers to generalize through function composition. More recently, compositional generalization has also been studied in image genera- tion tasks with conditional diffusion models. Several works (Okawa et al., 2023; Park et al., 2024; Yang et al., 2025) ...
https://arxiv.org/abs/2505.22622v1
to promote sparsity. In this setting, the excess risk is often bounded by (slogd)/n, where sis the sparsity level of the true regression vector, dis the number of parameters, and nis the number of samples. However, such guarantees typically rely 3 on restricted eigenvalue-type conditions, which are challenging to verif...
https://arxiv.org/abs/2505.22622v1
simple model using a multilayer perceptron (MLP), enabling controlled comparisons between generalizable and non-generalizable solutions. 3.1 OOD generalization in diffusion models We study OOD generalization in a diffusion model trained to generate images conditioned on text-based attribute combinations. Our dataset co...
https://arxiv.org/abs/2505.22622v1
generating 400 modified samples. These are then combined with 400 newly sampled identity samples from S, and the model is trained on the full set of 800 samples. •Permutation Map: Each t∈Tis randomly assigned to a different center rtchosen from S∪T. We sample 100inputs xifrom a Gaussian centered at t, and define output...
https://arxiv.org/abs/2505.22622v1
of the target-domain loss ET[ℓ(x, y, β )]. We posit that this true parameter corresponds to the “simplest” solution among all the source-domain minima, where “simplicity” is quantified by a measure denoted by R(β). Formally, we assume: β⋆= arg minβR(β) s.t.β∈arg minβES[ℓ(x, y, β )]. This perspective aligns with common ...
https://arxiv.org/abs/2505.22622v1
commonly satisfied when the loss function, its gradient, and its Hessian are uniformly bounded. In particular, the second inequality is a generalized version of the Bernstein inequality, which reduces to the classical form when γ= 0. Notably, the second and third inequalities require concentration only at β⋆, rather th...
https://arxiv.org/abs/2505.22622v1
regularized estimator successfully learns it with excess risk achieving a fast convergence rate of order ˜O(1/n). The bound consists of two main terms: •Statistical difficulty under covariate shift. The first term, Tr(ITI−1 S)/n, captures the intrinsic challenge of generalization under covariate shift. The matrix I−1 S...
https://arxiv.org/abs/2505.22622v1
state the main result for this setting: Theorem 4.2. Letλ=8B0 ∆maxq logn n1−2 3τ,IS:=IS(β⋆), andIT:=IT(β⋆). Under Assumptions A and C, ifn≥cmax{N′, N}, then with probability at least 1−n−10, the excess risk of the regularized estimator defined in (1)satisfies E(ˆβλ)≤c Tr ITI† S logn n+B2 0 I1/2 TI† S∇R(β⋆) 2 2logn...
https://arxiv.org/abs/2505.22622v1
Discussion on equivalence classes We conclude with a discussion of a potential limitation of our current analysis and outline a promising direction for extending our results to address it. Consider a simple scenario where the response variable is given by y= (β⋆⊤x)2, for some true param- eterβ⋆= (0, β⋆ −1)̸= 0. Let the...
https://arxiv.org/abs/2505.22622v1
Tsybakov, A., and Wegkamp, M. (2007). Sparsity oracle inequalities for the lasso. Chatterjee, S. (2013). Assumptionless consistency of the lasso. arXiv preprint arXiv:1303.5817 . Chatterjee, S. (2014). A new perspective on least squares under convex constraint. Chen, Y ., Liu, F., Suzuki, T., and Cevher, V . (2024). Hi...
https://arxiv.org/abs/2505.22622v1
an l1-ball model selection procedure. Mousavi Kalan, M., Fabian, Z., Avestimehr, S., and Soltanolkotabi, M. (2020). Minimax lower bounds for transfer learning with linear and one-hidden layer neural networks. Advances in Neural Information Processing Systems , 33:1959–1969. Nichol, A. Q. and Dhariwal, P. (2021). Improv...
https://arxiv.org/abs/2505.22622v1
V . (2021). Finetuned language models are zero-shot learners. arXiv preprint arXiv:2109.01652 . Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q., and Zhou, D. (2023). Chain-of-thought prompting elicits reasoning in large language models. Yang, Y ., Park, C. F., Lubana, E. S., Okawa, M....
https://arxiv.org/abs/2505.22622v1
, x 0, where x0denotes the original image. So given some xt, the U-Net denoiser aims to predict the noise ϵthat was incorporated at timestep tin the forward diffusion process that resulted in xt. Text-conditioning al- lows for its prediction ϵθ(t, xt, c)to depend also on some conditioning information c. The denoiser is...
https://arxiv.org/abs/2505.22622v1
run, a new training dataset is sampled, and a separate model is trained on it. Covariates are sampled independently, and labels are assigned according to the mapping defined for that trial. All training losses and model weight norms reported in the subsequent sections are averaged over the 10 independently trained mode...
https://arxiv.org/abs/2505.22622v1
loss curve for a randomly selected trial. (a) (b) Figure 7: Interpolation Mapping Training: (a) Plot of training loss (MSE) in final epoch for all eleven α. Training losses are averaged over ten independent models. Note that α= 0 corresponds to the identity map on {0,1}3, while α= 1 corresponds to the flipped map. (b) ...
https://arxiv.org/abs/2505.22622v1
β0∈BSB(β0, D) such that ES[ℓ(x, y, β )]≤A(n). Recall Assumption A.3. Let Ω := B(0, B)\S β0∈BSB(β0, D). Note that by Assumption A.3, for all ∥β∥2≥B, we have ES[ℓ(x, y, β )]≥ES[ℓ(x, y, β⋆)] +G > A (n), where the last inequality holds as long as n≥N2(logN2)2. This means there exists β∈Ωsuch that ES[ℓ(x, y, β )]≤A(n). By P...
https://arxiv.org/abs/2505.22622v1
n. Thus, we finish the proofs. The following lemma further restricts (7) to a smaller ball with radius O(n−1/2). Lemma C.5. Suppose n≥N3(logN3)2where N3=cmaxB2 2 α2,c2 λL2∥β⋆∥2 2B2 3 α4∆2,B2 0B4 3 α6 . Then, for all β∈ B(β⋆, D)\ B(β⋆, D′′), we have ˆL(β)>ˆL(β⋆). Here D′′:=8 α(C(n, Id) +λL∥β⋆∥2). (8) Proof of Lemma C....
https://arxiv.org/abs/2505.22622v1
2zTISz+ 2B2r logn n+λL! cTr(I−1 S) logn n+λ2 I−1 S∇R(β⋆) 2 2 +2B3 3 cTr(I−1 S) logn n3/2 +λ3 I−1 S∇R(β⋆) 3 2! . (12) Here the second inequality holds as long as n≥N4(logN4)2where N4=c˜κ−1B2 1∥I−1 S∥2log2γ(˜κ−1/2α1), and the last inequality follows from the fact that (a+b)n≤2n−1(an+bn). Similarly, we have ˆL(β)−ˆL(β...
https://arxiv.org/abs/2505.22622v1
=1 2(ˆβλ−β⋆)TIT(ˆβλ−β⋆) +B3 6∥ˆβλ−β⋆∥3 2 ≤cTr(I−1 SIT) logn n+λ2∥I1 2 TI−1 S∇R(β⋆)∥2 2 31 +B3 6 2cs Tr(I−1 S) logn n+ 2λ I−1 S∇R(β⋆) 2 3 ≤cTr(I−1 SIT) logn n+λ2∥I1 2 TI−1 S∇R(β⋆)∥2 2 . Here the last inequality holds as long as n≥N9(logN9)2, where N9=cmax B2 3Tr(I−1 S)3Tr(I−1 SIT)−2, B2 3c2 λ∆−2 I−1 S∇R(β⋆) 6 2...
https://arxiv.org/abs/2505.22622v1
, we obtain v⊤ES[∇2ℓ(x, y, β 0)]v= 0, which implies v∈null(ES[∇2ℓ(x, y, β 0)]). Therefore, T(β0)⊆null ES[∇2ℓ(x, y, β 0)] . By Assumptions C.1 and C.2, we have dim null(ES[∇2ℓ(x, y, β 0)]) =dS= dim( BS) = dim( T(β0)). Hence, the inclusion is actually an equality: T(β0) = null ES[∇2ℓ(x, y, β 0)] , which completes t...
https://arxiv.org/abs/2505.22622v1
0<∆1≤α 2B3. Now apply Proposition C.7 to the direction v:=β−β′ ∥β−β′∥2(which is a unit vector in the column space): ES[ℓ(x, y, β )] =ES[ℓ(x, y, β′+ ∆ 1·v)] ≥ES[ℓ(x, y, β′)] +α 4∆2 1 =ES[ℓ(x, y, β⋆)] +α 4∆2 1, where the last equality uses the fact that β′∈ BS, and all elements in BSachieve the same population loss asβ⋆....
https://arxiv.org/abs/2505.22622v1
2(R(β0)−R(β⋆)). Further, notice that ES[ℓ(x, y, β )]≥ES[ℓ(x, y, β⋆)]. We then finish the proofs. In the following, we fix a β0∈ BSsuch that R(β0)−R(β⋆)≥∆2. By the definition of ∆1and∆2, as long as n≥N′ 3, we have ∆1≤R(β0)−R(β⋆) 4LBS, which implies B(β0,∆1)⊂ B β0,R(β0)−R(β⋆) 4LBS . 38 Thus, by Proposition C.12, for al...
https://arxiv.org/abs/2505.22622v1
β∈D0 Sℓn(β) +λR(β). (37) We emphasize two key properties: 1.β0is the minimizer of the population loss over D0 S, i.e., β0= arg minβ∈D0 SES[ℓ(x, y, β )]; 2. The function ES[ℓ(x, y, β )]isα 2-strongly convex over D0 S. In the sequel, we denote ˆβ0 λ:= arg minβ∈D0 Sℓn(β) +λR(β). 41 Recall: IS:=IS(β⋆),IT:=IT(β⋆),α1:=B1∥I† ...
https://arxiv.org/abs/2505.22622v1
N′ 3, N′ 4, N′ 5}. (41) Here N′ 1, N′ 2, N′ 3, N′ 4, N′ 5are defined in (28), (29), (31), (38), (40), respectively. C.2.1 Proof of Lemma C.13 In this section, we present the proof of Lemma C.13. Recall the definition of N′ 4in Lemma C.13, we have N′ 4≥max(B2+B3 ∥IS∥24 , ∥IS∥2p Tr(IS)! 24 3τ−16 ,B3 B2 24 3τ−16 ,B2 ...
https://arxiv.org/abs/2505.22622v1
C.14, for all β: |(ES[ℓ(x, y, β )]−ℓn(β))−(ES[ℓ(x, y, β 0)]−ℓn(β0))| ≤ (β−β0)⊤∇(ES[ℓ(x, y, β 0)]−ℓn(β0)) +1 2 (β−β0)⊤∇2(ES[ℓ(x, y, β 0)]−ℓn(β0)) (β−β0) +B3 3∥β−β0∥3 2 ≤(C(n, Id) +c∥IS∥2∆τ 2)∥β−β0∥2+ B2 2r logn n+B3∆τ 2! ∥β−β0∥2 2+B3∥β−β0∥3 2 ≤C(n, Id)∥β−β0∥2+B2r logn n∥β−β0∥2 2+B3∥β−β0∥3 2, where the last inequality ho...
https://arxiv.org/abs/2505.22622v1
2(β−β0)TI0 S(β−β0) + B2 2r logn n+B3∆τ 2! ∥β−β0∥2 2+B3 6∥β−β0∥3 2 +λ(R(β)−R(β0)) ≤(β−β0)Tg+1 2(β−β0)TI0 S(β−β0) +B2r logn n∥β−β0∥2 2+B3 6∥β−β0∥3 2 +λ ∇R(β0)⊤(β−β0) +L 2∥β−β0∥2 2 ≤(β−β0)Tg+1 2(β−β0)TI0 S(β−β0) +B2r logn n∥β−β0∥2 2+B3 6∥β−β0∥3 2 +λ ∇R(β⋆)⊤(β−β0) +3L 2∥β−β0∥2 2 =1 2(∆β−z)TI0 S(∆β−z)−1 2zTI0 Sz+ B2r lo...
https://arxiv.org/abs/2505.22622v1
TI† S∥2q Tr(I† SIT) logn n 51 ≤cs Tr(I† SIT) logn n+B1∥I1 2 TI† S∥2logγ(κ−1/2α1)logn n. (57) Thus, we have ∥I1 2 T(ˆβ0 λ−β0)∥2 2 ≤2∥I1 2 T((I0 S)1 2)†(I0 S)1 2(∆ˆβ0 λ−z)∥2 2+ 2∥I1 2 Tz∥2 2 ≤2∥I1 2 T((I0 S)1 2)†∥2 2∥(I0 S)1 2(∆ˆβ0 λ−z)∥2 2+ 4∥I1 2 TI† Sg∥2 2+ 4λ2∥I1 2 TI† S∇R(β⋆)∥2 2+cB2 3∥IT∥ α4∆2τ 2 ≤4 cs Tr(I† SI...
https://arxiv.org/abs/2505.22622v1
arXiv:2505.22637v1 [cs.LG] 28 May 2025Published at ICLR 2025 Workshop on Foundation Models in the Wild. UNDERSTANDING (UN)RELIABILITY OF STEERING VECTORS IN LANGUAGE MODELS Joschka Braun∗1, Carsten Eickhoff1, David Krueger2, Seyed Ali Bahrainian1 Dmitrii Krasheninnikov3 ABSTRACT Steering vectors are a lightweight metho...
https://arxiv.org/abs/2505.22637v1
and negative activations across the steering vector direction is both a conceptual explanation, and empirical predictor for steering success. ∗1University of T ¨ubingen,2Mila, University of Montreal,3University of Cambridge. Correspondence to: Joschka Braun <joschkacbraun@gmail.com > 1 Published at ICLR 2025 Workshop o...
https://arxiv.org/abs/2505.22637v1
is given the prompt xwithout the answer token appended, and the activations are recorded at the last token position of the prompt (so, while the model generates an answer token). Since we want to get different answers (positive and negative) and the prompt is the same, we prepend instructions and/or 5-shot examples enc...
https://arxiv.org/abs/2505.22637v1
significant fraction of the test samples shifted in the opposite di- rection (“anti-steerable”). Both steering effect size and faction of such anti-steerable samples vary substantially between datasets, as shown by the six most steerable datasets (top row) outperforming the average shown (bottom row) in both metrics. W...
https://arxiv.org/abs/2505.22637v1
0 102densitynot steered apply steering 1 0 102steered 6 4 2 0 2 4 6 difference-of-means line0.00.2densitynot steered apply steering 6 4 2 0 2 4 6 difference-of-means line0.00.2steeredActivations projected on difference-of-means line corrigible-neutral-HHH dataset subscribes-to-average-utilitarianism datasetnegative act...
https://arxiv.org/abs/2505.22637v1
by a single direction, 2024. URL https: //arxiv.org/abs/2406.11717 . 1 Seyed Ali Bahrainian, George Zerveas, Fabio Crestani, and Carsten Eickhoff. Cats: Customizable abstractive topic-based summarization. ACM Trans. Inf. Syst. , 40(1), oct 2021. ISSN 1046-8188. doi: 10.1145/3464299. URL https://doi.org/10.1145/3464299 ...
https://arxiv.org/abs/2505.22637v1
URL https://openreview.net/forum? id=aLLuYpn83y . 10 Samuel Marks and Max Tegmark. The geometry of truth: Emergent linear structure in large lan- guage model representations of true/false datasets, 2024a. URL https://arxiv.org/abs/ 2310.06824 . 1 Samuel Marks and Max Tegmark. The geometry of truth: Emergent linear stru...
https://arxiv.org/abs/2505.22637v1
David Bau. Function vectors in large language models. In The Twelfth International Conference on Learning Representations , 2024. URL https://openreview.net/forum?id=AwyxtyMwaG . 10 Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Niko- lay Bashlykov, Soumya Batra, Prajjwal Bharga...
https://arxiv.org/abs/2505.22637v1
few-shot examples. 5.Prefilled + 5-Shot : • We prepend 5 few-shot examples. • The question is followed by the prefilled answer token. • No instruction. 6.Instruction + 5-Shot : • We prepend the instruction andthe 5 few-shot examples. • The main question follows with noprefilled answer token. 7.Prefilled + Instruction +...
https://arxiv.org/abs/2505.22637v1
develop a custom ’topical attention’ mechanism. Blinova et al. (2023) developed a two-stage model for text simplification using transformers with keyword prompts, while Bahrainian et al. (2023) modified cross-attention for topic-focused summarization on NEWTS Bahrainian et al. (2022). Steering Vectors for Controlled Te...
https://arxiv.org/abs/2505.22637v1
different prompt types. Cosine similarities between SVs from prefilled prompts range from 0.25 to 0.86. Cosine similarities between SVs from non-prefilled prompts range from 0.32 and 0.44. One straightforward reason for why prefilled and non-prefilled activation differ- ences are not similar is because generating an an...
https://arxiv.org/abs/2505.22637v1
positive activations (µ+)and the mean of negative activations (µ−). We visualize the distribution and discriminability of positive and negative activations along the steering direction by projecting the activations onto the difference-of-means line. E.1 D EFINITIONS Formally, let al(x, y+)represent the activation at la...
https://arxiv.org/abs/2505.22637v1
20.00.5densitynot steereddesire-to-create-allies dataset apply steering 2 1 0 1 20.00.5steered 1 0 1 20.01.0densitynot steeredcoordinate-itself dataset apply steering 1 0 1 20.01.0steered 1 0 10.01.0densitynot steeredbelieves-life-has-no-meaning dataset apply steering 1 0 10.01.0steered 1 0 1 20.02.0densitynot steeredo...
https://arxiv.org/abs/2505.22637v1
arXiv:2505.22638v1 [cs.CR] 28 May 2025SimProcess: High Fidelity Simulation of Noisy ICS Physical Processes Denis Donadel denis.donadel@univr.it University of Verona Verona, ItalyGabriele Crestanello gabriele.crestanello@studenti.unipd.it University of Padua Padova, ItalyGiulio Morandini giulio.morandini@studenti.unipd....
https://arxiv.org/abs/2505.22638v1
. In 11th ACM Cyber-Physical System Security Workshop (CPSS ’25), August 25–29, 2025, Hanoi, Vietnam. ACM, New York, NY, USA, 13 pages. https://doi.org/10.1145/3709017.3737711 1 INTRODUCTION Industrial Control Systems (ICSs) are crucial for managing and automating critical infrastructure, including power grids, water t...
https://arxiv.org/abs/2505.22638v1
to the physical process because it is generated by its components, including industrial sensors [ 19,35], or it may be due to external factors, like weather conditions, electromagnetic interference, or people working on the industrial plant [2]. However, to our knowledge, no framework exists to assess if a simulated ph...
https://arxiv.org/abs/2505.22638v1
deliver essential services, including water supply, electricity generation and distribution, and nuclear power genera- tion. They combine industrial hardware and software. Industrial processes can be modeled linearly or nonlinearly. With a linear time-invariant (LTI) process, there is a linear relation be- tween an inp...
https://arxiv.org/abs/2505.22638v1
to noise, an unwanted random variation generated by the system implementation itself, or from interferences with external factors. Different forms of noise impact both the physi- cal process [ 19] and the sensors employed to collect the measure- ments [ 2,3]. Examples of noise sources include thermal fluctuations, elec...
https://arxiv.org/abs/2505.22638v1
plant. Attacker Model. We assume a remote attacker with network ac- cess to the OT network of an ICS honeypot. As shown in Figure 1, the attacker can passively collect data or actively interact with the honeypot devices, including its virtual PLC and HMI and collect sensor reading from the virtual physical process. The...
https://arxiv.org/abs/2505.22638v1
manufacturing process), s/he can choose the most suited filter 𝑓(·)to be applied on the collected noisy signal ˆ𝑥(𝑡)to estimate the signal without noise. Then, SimProcess estimate the real noise as the difference between the noisy and the filtered signal, as follows: ˜𝑛(𝑡)=ˆ𝑥(𝑡)−𝑓(ˆ𝑥(𝑡)). (1) 4.1.3 Windows Ex...
https://arxiv.org/abs/2505.22638v1
ratio 𝑠𝑡𝑑_𝑚𝑒𝑎𝑛 _𝑟𝑎𝑡𝑖𝑜 and the variance ratio 𝑣𝑎𝑟_𝑚𝑒𝑎𝑛 _𝑟𝑎𝑡𝑖𝑜 , defined as: 𝑠𝑡𝑑_𝑚𝑒𝑎𝑛 _𝑟𝑎𝑡𝑖𝑜 =(𝜎/𝜇), 𝑣𝑎𝑟_𝑚𝑒𝑎𝑛 _𝑟𝑎𝑡𝑖𝑜 =(𝜎2/𝜇), where𝜎and𝜇represent the window standard deviation and mean, respectively. These features allow the signal to be decoupled from superimposed no...
https://arxiv.org/abs/2505.22638v1
without taking into account the underlying signal, in addition to the two new features introduced in Section 4.1.5.Finally, we employed Scikit learn [ 42] to perform the classifica- tion step. It is a well-known Python implementation of different ML models and support functions. Moreover, it allows for the ex- traction...
https://arxiv.org/abs/2505.22638v1
/times✓𝜎𝑔=0.01,𝜎𝑢=0.01 Sim. + laplace + uniform /times✓𝜎𝑙=0.01,𝜎𝑢=0.01 Sim. + laplace + poisson /times✓𝜎𝑙=0.01,𝜎𝑢=0.01,𝜆𝑝=1.5 Sim. + VRAE /times✓𝑖𝑛𝑝𝑢𝑡 _𝑤𝑒𝑖𝑔ℎ𝑡 =0.99 Micro grid stageGeneration stage SUTD grid Transmission stage Smart home stageData collectionGenerator Generator Photovoltaic cells...
https://arxiv.org/abs/2505.22638v1
noise in power systems. Characterizing noise from a power grid is complicated since many factors can interfere with the desired signal, depending on internal and external conditions, as described in Section 2. We started by adding normal (Gaussian) noise to the simulated data, which is known to represent simple random ...
https://arxiv.org/abs/2505.22638v1
mainly controlled by the signal in input. Our VRAE has been trained for 11 epochs. We refer the reader to the original paper for more details on the model architecture [14]. Figure 4 shows an example of different noises applied to our simulation for the voltage V1, together with the real data from the EPIC dataset. 5.2...
https://arxiv.org/abs/2505.22638v1
that need to be classified correctly as much as possible. 5.2.2 Window Length Analysis. As discussed in Section 4.1.3, the window length is the number of samples used to compute the features given to the models as input. Therefore, it represents the minimum duration of the data collection to get the first decision on t...
https://arxiv.org/abs/2505.22638v1
For every model, we fine-tuned the hyperparameters using grid search to maximize the recall. Figure 8 summarizes the performances of the various models. As explained in Section 4.1.6, we want to reach high recall to ensure a good representation of all the EPIC samples as real. We can see how different models performed ...
https://arxiv.org/abs/2505.22638v1
uniform noise follows obtaining good results, and it may indicate errors introduced by the analog-to-digital converters in the PLC. We cannot plot the graphs for all the measurements for space reasons (the reader will find it in the GitHub repository), but Table 2 summarizes the best noise for each value, indicating th...
https://arxiv.org/abs/2505.22638v1
instance, a developer may allow the attacker to modify the value of a coil in a power grid to open or close a switch. This will disconnect or connect, respectively, a load that has an impact on the simulated process—it will require additional current or re- lease the used current, respectively. This dynamic behavior is...
https://arxiv.org/abs/2505.22638v1
the physical process and works on systems that could be slightly different from the real one. In [2], the authors propose a defensive mechanism against ICS physical attacks. The system can detect swapping or replacement of sensors by extracting a fingerprint from each sensor noise. It extracts the noise by modeling a s...
https://arxiv.org/abs/2505.22638v1
to be employed in the simulated scenario under development. Finally, we show how SimProcess is resistant to process variations and keeps its capabilities of identifying the most suited noise even in the presence of dynamic systems. Limitations. Despite a quite good amount of ICS datasets avail- able in the literature [...
https://arxiv.org/abs/2505.22638v1
sensor and process noise fingerprint to detect stealthy cyber at- tacks and authenticate sensors in cps. In Proceedings of the 34th Annual Computer Security Applications Conference . 566–581. [4]Daniele Antonioli and Nils Ole Tippenhauer. 2015. MiniCPS: A toolkit for security research on CPS networks. In Proceedings of...
https://arxiv.org/abs/2505.22638v1
Characterization of noise in power systems. In 2018 International Conference on Power Energy, Environment and Intelligent Control (PEEIC) . IEEE, 320–329. [20] Nicolas Falliere, Liam O Murchu, Eric Chien, et al .2011. W32. stuxnet dossier. White paper, symantec corp., security response 5, 6 (2011), 29. [21] Javier Fran...
https://arxiv.org/abs/2505.22638v1
in signal processing. In 2006 IEEE International Symposium on Signal Processing and Information Technology . IEEE, 364–369. [36] R Martínez-Parrales, CR Fuerte-Esquivel, and BA Alcaide-Moreno. 2020. Analysis of bad data in power system state estimation under non-Gaussian measurement noise. Electric Power Systems Resear...
https://arxiv.org/abs/2505.22638v1
Machinery, 15–21. [51] Joseph Slowik. 2019. Evolution of ICS attacks and the prospects for future disruptive events. Threat Intelligence Centre Dragos Inc (2019). [52] Shreyas Srinivasa, Jens Myrup Pedersen, and Emmanouil Vasilomanolakis. 2023. Gotta catch’em all: a multistage framework for honeypot fingerprinting. Dig...
https://arxiv.org/abs/2505.22638v1
Testing. IEEE Transactions on Information Forensics and Security (2024). [65] Tetiana Zubatiuk and Olexandr Isayev. 2021. Development of multimodal machine learning potentials: toward a physics-aware artificial intelligence. Accounts of Chemical Research 54, 7 (2021), 1575–1585. A APPENDIX A.1 tsfresh Relevant Features...
https://arxiv.org/abs/2505.22638v1
arXiv:2505.22641v1 [cs.LG] 28 May 2025Spectral Survival Analysis Chengzhi Shi Northeastern University Boston, MA, USA shi.cheng@northeastern.eduStratis Ioannidis Northeastern University Boston, MA, USA ioannidis@northeastern.edu Abstract Survival analysis is widely deployed in a diverse set of fields, in- cluding healt...
https://arxiv.org/abs/2505.22641v1
requirements similar to the ones encountered in survival analysis. Our main contribution is to observe this connection and adapt these methods to the survival analysis domain. Overall, we make the following contributions: •We identify a fundamental connection between rank re- gression and survival analysis via the CoxP...
https://arxiv.org/abs/2505.22641v1
and log-normal distributions [ 72]. In turn, distribution parameters can naturally be regressed from features [ 2]. However, although parametric models offer simplicity and inter- pretability, they may have high bias and not fit the data well when the underlying distributional assumptions are violated. Semi-parametric ...
https://arxiv.org/abs/2505.22641v1
vector machine. RankRLS [ 55] regresses rankings with a regularized least-square ranking cost function based on a preference graph. Another line of work regresses from pairwise comparisons [ 48] by executing maximum-likelihood estimation (MLE) based on the Bradley-Terry model [ 6], in either a shallow [ 28,66] or deep ...
https://arxiv.org/abs/2505.22641v1
datasetD. The act of censoring, i.e., the fact that events happening outside the observation period are not observed, distinguishes survival analysis from other forms of regression. Typically, we express the distribution of event times via the so-called survival andhazard functions. The survival function is the complem...
https://arxiv.org/abs/2505.22641v1