Statistical Learning
Delayed Robustness Is Not Grokking
Beemt, Stijn van den, van Laarhoven, Twan, Loog, Marco
We analyze the phenomenon of delayed robustness, where a neural network trained beyond overfitting becomes robust to adversarial attacks. This phenomenon was first observed by Humayun et al. (2024), and characterized as grokking. We reproduce delayed robustness to PGD attacks in multiple set-ups and show that delayed robustness is the result of weak attacks and two unintended side effects when overtraining: 1) softmax collapse in the cross-entropy loss function, and 2) a too large effective learning rate caused by gradient scaling in the Adam optimizer. We demonstrate that these issues create networks resistant to PGD attacks but still vulnerable to stronger attacks. We also point out an interesting relation between delayed robustness, the slingshot effect, and dead neurons. Using interventions to solve the softmax collapse and gradient scaling issues, we show that no delayed robustness emerges. We must therefore conclude that delayed robustness is not grokking.
Online Geometric Optimization via Projection, Hierarchical Discretization, and Convex Relaxation
Gogate, Neeraj, Lu, Alisa, Woodruff, David P., Zhou, Samson
We study online optimization problems in which a learner must choose a compressed representation before observing each incoming data point. We focus on two settings: online $k$-means clustering and online weighted low-rank approximation (WLRA). For online $k$-means, we revisit multiplicative-weights methods over discretized experts and show how marginal Johnson-Lindenstrauss projections reduce the effective dimension without requiring uniform distance preservation over the entire stream. We further decouple projected Voronoi assignment from ambient center recovery by maintaining Follow-the-Leader centroids directly in $\mathbb{R}^d$, avoiding pseudo-inverse distortion. For online WLRA, we formulate the rank-$k$ comparator class as the Grassmannian $\mathrm{Gr}(k,d)$ and develop a hierarchical region decomposition coupled with tree-structured multiplicative weights. This yields sublinear regret against the best fixed rank-$k$ subspace, while making explicit the exponential cost of Grassmannian discretization. A second Grassmannian algorithm obtains a $(1+\varepsilon)$ comparison using a number of regions independent of the horizon. We then introduce a Fantope relaxation that gives polynomial-time online updates and sublinear regret for a weighted projection surrogate against a reduced fractional comparator. Together, these results give a unified view of online approximation under nonconvex geometric structure, supported by empirical evaluations on online low-rank approximation.
Quality, Stability, and Selection: Testing the Criteria Used to Evaluate Overlapping Community Detection
Methods for detecting overlapping communities return covers, in which communities may share members. They are evaluated by three criteria: quality measures, which score a cover without a reference; stability, the agreement amongst covers from repeated runs; and accuracy against a reference cover. The methods have been tested at length, but the criteria far less so. This paper tests all three on benchmark graphs whose correct cover is known. Four quality measures were scored on the known cover and on versions degraded by merging communities, splitting them, or reassigning members at random. None could reliably rank covers of different granularity. For some methods, stability tracked accuracy while the communities remained detectable. After detection failed, it could remain high, because a method that finds nothing can return the same structureless cover on every run. Accuracy depended on the selection protocol, the rule that reduces a method's many runs to one score per graph. On the same runs, the protocol alone could decide which of two methods scored higher. Without a reference cover, agreement amongst quality measures has been taken as evidence of a good result. The tests show that such agreement is not independent evidence, and that adding stability does not make it so. Quality measures and stability both respond to the shape of a cover, and can agree for reasons unrelated to its correctness. Four safeguards are proposed. A quality measure should be validated against a trusted reference cover before adoption, and the four tested here should not be used to compare covers of different granularity. Stability should be reported only with a description of the cover's shape, and methods should be compared under a single selection protocol.
A Comparative Study of Importance Attribution to Columns in Deep Learning over Relational Databases
Levi-Yosefi, Hila, Agmon, Shunit, Livshits, Ester, Rissaki, Agapi, Kimelfeld, Benny
Deep learning over relational databases has led to increasingly effective prediction models, motivating a growing need to explain their behavior. We study explanation methods that assign importance scores to individual database attributes, focusing on a fundamental question: to what extent does the choice of importance-attribution method matter? We develop a methodology to systematically compare importance-attribution methods and analyze their similarities and differences. In particular, we study two aspects of the explanations: which attributes they deem important, captured by differences in attribute rankings, and how importance scores vary across attributes, captured by differences in score distributions. We further investigate whether these differences are reflected in the conventional measure of explanation quality, fidelity. We apply our methodology in an extensive empirical study of four methods: Monte Carlo Shapley, Kernel SHAP, single-attribute impact, and mask learning. We experiment with multiple datasets and tasks using two RDL architectures: heterogeneous GraphSAGE and Relational Graph Transformers. Our experiments show that explanation methods behave differently depending on the prediction type: regression or classification. In regression, most methods exhibit high agreement in attribute rankings, whereas classification yields considerably less consensus. Notably, while mask learning frequently diverges in its importance distributions, Shapley-based methods and single-attribute impact often converge to similar explanations. This suggests that, in many settings, single-attribute impact can replace Shapley at substantially lower computational cost. Overall, our study provides methodological tools for comparing importance-attribution methods, and empirical evidence that their choice has important consequences for interpreting relational deep learning models.
Training of scattering neural networks based on coupled electromagnetic dipoles
Physical neural networks are dynamical systems with adjustable weights that leverage the complexity of nature in order to perform efficient analog computation, aiming to demonstrate alternatives to power-hungry digital AI architectures. Finding the optimal platform for such computation\textemdash one that pairs dedicated hardware with a tailored training algorithm\textemdash remains an open challenge. Here, we explore wave-based neural networks built from $N$ resonant scatterers coupled by electromagnetic waves, such as loaded dipole antennas. The inputs and weights are encoded in the detuning of antenna resonances, inducing a form of structural nonlinearity that is enhanced by the non-locality of the network response, enabled by multiple scattering. To perform gradient descent, we adapt the Equilibrium Propagation (EP) algorithm and particularize it to this specific driven-dissipative system, showing that model-free gradient extraction is possible by performing two measurements per tunable antenna, using reciprocity and the diagonal dependence of the interaction operator. Since the network is read out in intensity, the cost is not a holomorphic function of the complex dipole moments, and existing holomorphic formulations of EP do not apply. We derive a modified EP learning rule showing that the nudged phase captures the holomorphic part of the gradient, and that taking its real part recovers the exact gradient. We numerically implement a compact model with fewer than $7000$ parameters that achieves over $94\%$ test accuracy on MNIST digit classification, and over $81\%$ on Fashion-MNIST classification. We quantify the robustness of the training method to noise and spatial disorder.
LP-LIL: Tightly-Coupled LiDAR-Inertial Localization on Prior Maps with Landmark-Pair Global Relocalization
Niu, Xiaoji, Zhang, Yanlei, Tang, Hailiang, Yuan, Man, Zhang, Tisheng
Prior-map localization is widely used for mobile robot navigation. However, fast and reliable global localization remains challenging at startup without an initial pose estimate. After off-map travel, accumulated drift can prevent local registration from restoring map constraints. This letter proposes LP-LIL, a tightly-coupled LiDAR-inertial localization system for routes with incomplete map coverage. We tightly fuse IMU measurements and scan-to-map measurements using an iterated error-state Kalman filter. When prior-map constraints become insufficient, we switch to local LiDAR-inertial odometry for state estimation and restore map-based localization through landmark-pair relocalization upon re-entry. Our landmark-pair relocalizer combines the relative geometry of landmark pairs with the normals of multiple planes associated with each landmark to reduce matching ambiguity. Extensive experiments in parking lots, building complexes, and urban roads were conducted. On six fully mapped sequences, LP-LIL achieved centimeter-level localization accuracy, reducing the position root mean square error (RMSE) by 40.5% compared with the loosely-coupled method. Across six sequences containing 13 departures from mapped areas, LP-LIL successfully restored prior-map constraints after every departure. In global relocalization experiments, the landmark-pair relocalizer achieved a higher success rate (from 67.9% to 95.5%) with lower storage and processing costs than an adapted triangle-descriptor baseline.
ASTRA: Action-based stochastic transport for lattice field theory
Qian, Moxian, Chen, Shiyang, Du, Yuanqi
Lattice simulations predict the properties of quantum fields by averaging over their possible configurations. In lattice gauge theories on fine lattices, a simulation can remain trapped in one topological sector, obscuring the charge fluctuations it aims to measure. In this paper, we introduce action-based stochastic transport (ASTRA), which directly transports configurations from a simple initial distribution to the target, bypassing the long mixing time of mode exploration in conventional Markov chain Monte Carlo algorithms. ASTRA instead iteratively trains on its own simulated configurations, corrected by sequential Monte Carlo with path importance weights, with no equilibrium training data needed. Furthermore, the design of ASTRA accommodates transferability across lattice sizes and coupling strengths. In the two-dimensional compact $U(1)$ gauge theory, ASTRA trained at $L=8$ with couplings from $ฮฒ=6$ to $96$ samples lattices up to $L=32$ and $ฮฒ=96$ without retraining, including couplings at which reference Hamiltonian Monte Carlo run directly at the target coupling never changes the topological charge. ASTRA reproduces the exact topological susceptibility, its continuum limit, and Wilson loops. The same construction carries over to non-Abelian gauge fields, with the noise acting in the Lie algebra of the gauge group. In two-dimensional $SU(3)$ gauge theory, a model trained at $L=8$ for couplings from $ฮฒ=6$ to $16$ samples lattices up to $L=32$ without retraining. The model reproduces the exact Wilson loops up to area $16$.
EHR Representation Learning with Multi-Granularity Cauchy-Schwarz Contrastive Learning
Oei, Keyne Kassapa, Yu, Shujian, Liu, Qing, Jenssen, Robert
Self-supervised EHR models commonly reconstruct masked medical codes or predict future events, without explicitly modeling clinical relations across patients and visits. Contrastive methods can introduce relational supervision but usually reduce these relations to binary positive and negative pairs. We introduce EHR-CSS, a multi-granularity self-supervised contrastive framework for patient, visit, and medical-code representations. The patient and visit objectives assign target weights according to clinical similarity, while the medical-code objectives assign target weights according to the medical codes to be reconstructed or predicted. At each granularity, the proposed Cauchy-Schwarz Sequence (CSS) loss aligns a model distribution over candidate representations with its target distribution and includes a uniformity term over the candidate representations. Across evaluations on EHRSHOT with few-shot labels and on MIMIC-IV with fully supervised fine-tuning, EHR-CSS achieves the best overall performance among the evaluated methods. The code is available at https://github.com/keynekassapa13/EHR-CSS.
E-SMAD: A Simple yet Effective Ensemble of Student Models for Adversarial Defense
Naseem, Muhammad Luqman, Hu, Yamin, Liu, Yujiang, Chen, Zhijian, Luo, Wenjian
Deep Neural Networks (DNNs) are vulnerable to carefully crafted adversarial examples (AEs) that can cause incorrect predictions, posing serious security risks. While knowledge distillation has been explored as a defense, single-model distillation often suffers from limited robustness. In this paper, we propose E-SMAD (Ensemble of Student Models for Adversarial Defense), a defense method that distills a teacher into multiple student models using label-wise temperature scaling. By assigning different temperatures to non-ground-truth classes, each student learns complementary decision boundaries, and their ensemble stabilizes predictions. We evaluate E-SMAD on MNIST, Fashion-MNIST, and CIFAR-10 under FGSM, BIM, PGD, and C&W attacks. Experimental results demonstrate that E-SMAD reduces attack success rates (ASR) across multiple attacks while maintaining high clean accuracy. Besides, E-SMAD demonstrates strong robustness across different datasets and attack methods compared with competing defense methods. By combining structured knowledge distillation with ensemble inference, E-SMAD provides a simple and effective defense method for security-critical AI applications.
Forgetting by Rewriting: Exact Unlearning for Written Networks, and Why Output Scores Cannot Prove Forgetting
Bhattacharjee, Soumik, Farazi, Musa Tur, Uddin, Md Nasir, Sabrina, Tishna, Haider, Chowdhury Mohammad Rakin
When a person asks for their data to be removed from a machine learning model, the safest answer is to retrain the model without that data. Retraining is expensive, so most methods take a shortcut, and it is hard to tell whether the shortcut really removed the data. We look at this problem from two sides. First, we build models whose weights are written rather than trained: fixed features designed before any data are seen, followed by steps that each have an exact formula. For these models, a cheap deletion gives exactly the model that retraining would give, even when the pipeline also tunes a hyperparameter and labels unlabelled data for itself. In 2,400 deletion requests on three datasets, the cheap deletion matched retraining every time, up to rounding error. Exact deletion is not privacy, though: comparing the model before and after a deletion reveals which records were deleted (AUC 0.89-0.98). Second, for ordinary networks trained by gradient descent, we prove that no test of the model's outputs can show that the data are gone, so we compare internal layers with retrained models instead. A backdoor case study shows why this matters. With only 10% of the poisoned images known, a one-layer edit lowers the attack success rate on CIFAR-10 ResNet-18 to 1.5-7.8%, while retraining on the remaining data keeps it at 76-100%. Yet the trigger is still stored in earlier layers and returns after one to ten training steps.