Statistical Learning
Broad-spectrum antiviral database (BSA-DB): a curated collection of broad-spectrum antiviral agents assembled by large language model mining and expert curation
Matevosyan, Hovhannes, Petrosyan, Narek, Kharatyan, Levon, Okminyan, Iren, Kharatyan, Arman, Hakobyan, Astghik, Harutyunyan, Vardan, Matevosyan, Mher, Zakaryan, Hovakim
Viruses included in the World Health Organization R&D Blueprint priority list pose a continuing epidemic and pandemic threat, highlighting the need for rapidly deployable antiviral discovery resources. Broad-spectrum antivirals (BSAs), which are active against multiple viruses, represent promising starting points for pandemic preparedness, yet relevant bioactivity data remain fragmented across public databases. Here we present BSA-DB, a freely accessible resource comprising 13,194 compounds with reported activity $\leq$ 10000 nM against at least two of 22 Blueprint viruses spanning 10 virus families (initially 23 viruses were selected, but Hantaan virus yielded no compounds meeting this criterion). BSA-DB was obtained from ChEMBL, PubChem and BindingDB, followed by systematic data curation and standardization of viral annotations. Cheminformatic analysis shows that the collection is chemically diverse rather than dominated by a few known antiviral chemotypes, and identifies recurrent scaffolds, structural clusters with broad virus coverage, and promising starting points for antiviral drug discovery. BSA-DB is available at https://bsadb.denovosciences.ai/ through an interactive web platform with search, filtering, visualization and bulk-download functionality, and will be continuously expanded with newly available and community-contributed data.
Direct access attention: associative recall at a fraction of the compute of softmax, linear attention and state-space models
Dennis, Simon, Patil, Rivaan, Guo, Hao, Shabahang, Kevin
Direct access attention replaces context search with a learned integer lookup. Each token is projected to a $d_k$-dimensional code whose signs select one of $2^{d_k}$ memory cells. Its value is written to that cell; a query with matching signs retrieves it in $O(d_k+d_v)$ operations per head, independent of context length $T$. Softmax attention compares each query with every context key, costing $O(T(d_k+d_v))$ operations per head and separating $2^{O(d_k)}$ pairs. Linear attention superposes pairs in a fixed-width matrix, costing $O(d_k d_v)$ operations, independent of $T$, but separating only $O(d_k)$ pairs per head. Direct access replaces the product of key and value widths with their sum and provides $2^{d_k}$ cells, at the cost of storing $2^{d_k} d_v$ values per head. An efficient differentiable training algorithm factorises address learning into $d_k$ independent bit probabilities. This lets gradients adjust addresses; at inference, each bit becomes a definite binary choice, enabling integer lookup. Training and inference agree when these probabilities approach zero or one. Because cross-entropy alone does not reliably produce such certainty, we add an address-entropy penalty after the model has learned to match queries to the correct keys. On in-context associative recall, one-layer models with matched parameter counts achieve perfect accuracy at every tested task size, from 8 to 512 stored pairs, using either direct access or softmax attention. At 512 pairs, linear attention achieves 0.340 accuracy; a selective state-space model with the same state size performs at chance beyond 32 pairs. Direct access preserves softmax's accuracy while reducing attention-route decoding cost by three orders of magnitude.
LevelFirst: Asking About Granularity Before Merging in Interactive Image Clustering
An image collection can support several valid partitions. The same CIFAR-100 images, for example, can be grouped into 100 fine classes or 20 superclasses. LevelFirst asks about the user's intended granularity before asking which groups to merge. A vision-language model proposes a two-level naming hierarchy for graph communities obtained without a target cluster count. The user decides whether to group or separate the specific names under each of the three general names that cover the most images. Each queried branch keeps its own answer, and the majority sets the default for unqueried branches. Seven pairwise merge queries follow, and a final cleaning step trains a metric-learning head on pseudo-labels supported by zero-shot name predictions and neighbor agreement. We evaluate 26 benchmark settings using label-derived simulated feedback. Before cleaning, LevelFirst achieves a mean adjusted Rand index (ARI, scaled by 100) of 75.4 with ten answers, compared with 72.9 for ten pairwise merge queries. The gain is concentrated on coarse targets (78.4 vs. 66.5), and the scores are close on fine targets (74.5 vs. 74.8). After cleaning, LevelFirst reaches 77.6, compared with 74.5 for calibrated merging with a language-model judge and the same cleaning. With independent answer flips at probability 0.2, improvements on coarse targets yield a 4.6-point overall mean gain before cleaning over the zero-answer partition based on specific names. At a flip probability of 0.1, LevelFirst misses its prespecified degradation threshold.
Interpretable EEG Microstates: Improving Modified K-Means Temporal Dynamics with a Recurrent, Person-Specific Variational Deep Embedding
Faremi, Saheed, Visentin, Andrea, Longo, Luca
Electroencephalographic (EEG) microstates are the elemen- tary units of large-scale cortical dynamics, but the standard method, Modified K-Means, returns only a hard label per frame and offers no representation to inspect. A generative deep embedding, the Convolu- tional Variational Deep Embedding model (Conv-VADE), learns mi- crostate templates jointly with a continuous latent space. The current study asks whether Conv-VADE reproduces the established temporal dynamics of microstate sequences while providing an organised, tempo- rally structured latent representation that the geometric baseline cannot offer. This is evaluated on the eyes-closed resting-state EEG data from 203 LEMON participants against a matched Modified K-Means baseline at cluster counts K = 3 to 20. It combines a five-axis recurrence suite with three interpretability lenses: capacity, internal dynamics and mani- fold faithfulness. The model recovers almost equivalent maps, near-parity variance explained after interpolation correction, richer transition syn- tax and strong long-range correlations. Its 32-dimensional latent space uses nearly all its capacity and is strongly recurrent beyond a phase- randomised null (determinism 0.700, z = 23.88, 100% of the 203 sub- jects). Microstate determinism arises almost entirely from dwell time on observable axes in both methods. The latent representation, not the label sequence, carries the learned temporal structure, making generative deep embeddings an inspectable alternative to geometric Modified K-Means microstate analysis.
Private Confidence Regions for M-Estimation via Exponential Mechanism Asymptotics
Chen, Yu-Wei, Cho, Young Hyun, Awan, Jordan
The exponential mechanism is a fundamental differential privacy mechanism, which can be used for private M-estimation. Recent work has extended it to satisfy Gaussian differential privacy (GDP) with improved dependence on dimension and sample size, motivating a deeper understanding of its statistical behavior. We develop a general asymptotic framework for M-estimation under the GDP exponential mechanism, revealing how statistical uncertainty interacts with the randomness introduced by the exponential mechanism. Our analysis shows that privacy-induced randomness is asymptotically negligible and matches minimax lower bounds under strongly convex loss, while characterizing the intrinsic trade-off between privacy and regularization in the general convex setting. We further establish that sampling variability and mechanism-induced randomness are asymptotically independent, yielding a general limit theorem for randomized post-data procedures. We apply these results to construct asymptotically valid confidence regions with a finite-sample correction. Simulation studies and real-data experiments demonstrate that the proposed method achieves nominal coverage more rapidly than competing differentially private inference methods, highlighting both its theoretical guarantees and practical effectiveness.
FedGEM: Federated Gradient-Energy Guided Multi-metric Aggregation for Federated Few-Shot Learning
Laveti, Ramesh Naidu, Sreevalsan-Nair, Jaya, Srikanth, T. K.
Federated Few-Shot Learning (FFSL) enables collaborative model training under data scarcity and strict privacy constraints. However, standard FFSL frameworks suffer from client drift, unstable convergence, and suboptimal aggregation under severe data heterogeneity. To address these challenges, we propose FedGEM, a semantic behaviour-guided aggregation framework that identifies reliable, informative client updates prior to global model fusion. FedGEM introduces six complementary semantic indicators: Gradient Energy, Representation Geometry, Prediction Stability, Alignment, Validation Gain, and Diversity. Together, they evaluate learning effectiveness, feature discriminability, prediction consistency, client-global update coherence, generalisation gain, and cross-client complementarity. At the server, these indicators are normalised and fused via a gradient-based adaptive weighting module that dynamically learns each metric's importance during federated optimisation. The resulting semantic quality scores are transformed into confidence-aware aggregation weights via softmax and stabilised with exponential moving average smoothing. Layer-wise trust estimation further refines aggregation by weighting network layers according to their reliability and contribution. Experiments on WSI, MRI brain tumour classification, and CIFAR-10 show that FedGEM outperforms FedAvg, FedProx, FedNova, FCSA, and FedAPA across IID and non-IID settings. FedGEM achieves accuracies of 93.80% (WSI), 96.40% (MRI), and 97.22% (CIFAR-10) under IID distributions, and 91.50%, 95.60%, and 96.55% under non-IID conditions, demonstrating its effectiveness for data-scarce, heterogeneous biomedical analysis.
Communication-Efficient Distributed Sketching for Sparse Linear Regression
S, Shashank, Chakraborty, Mrityunjoy, Kar, Soummya
This paper considers distributed sketching for $\ell_1$-regularized least squares with data spread across nodes that communicate with a central node, where communication is a bottleneck. We seek minimal communication cost distributed sketching mechanisms, i.e., in which the nodes individually sketch their data prior to communication to the central node, such that, with high probability, the solution of the sketched problem has objective value at most $1+\varepsilon$ times the optimum, for a small $\varepsilon$. The existing baseline, the centralized Gaussian sketch, attains this guarantee and can be implemented across the nodes, but its communication cost scales linearly with the number of nodes. We show that a block-diagonal Gaussian sketch conforming to node data locality, i.e., in which each node sketches its local data and sends the sketch to the central node, attains the same guarantee with a communication cost that, up to lower-order terms, scales with a measure of data heterogeneity across the nodes, which can be sublinear in the number of nodes. From a data storage perspective, a second Gaussian sketch at the central node gives a two-stage sketch with the same guarantee and a sketch size of the same order as that of the centralized sketch, without additional communication. Further, specific large-scale problem scenarios are investigated that demonstrate strict communication and computational advantages of the proposed single-stage distributed and two-stage sketching solutions with respect to the centralized baseline.
Fitting Bayesian stable isotope mixing models in under a second with prior-data fitted networks
Parnell, Andrew C., Inger, Richard, Semmens, Brice X., Ward, Eric J., Jackson, Andrew L., Stock, Brian C.
Bayesian mixing models, most widely through the MixSIAR software, are the standard way to estimate diet and source proportions from stable isotopes and other biotracers. MixSIAR fits each model by Markov chain Monte Carlo (MCMC), which takes minutes to hours and often fails to converge at standard run lengths. We present MixSIARPFN, which replaces MixSIAR's MCMC with prior-data fitted networks: transformer networks trained once on millions of datasets simulated from MixSIAR's own model and priors. For a new dataset, they return the posterior distribution of every diet proportion and model parameter in a single pass. The networks cover MixSIAR's model class, and an R package keeps MixSIAR's input files and function calls. On 400 simulated datasets with known diets, held out from all development, MixSIARPFN was 3% to 4% less accurate than MCMC on average for MixSIAR's usual error structures, and its 95% intervals contained the true diet as often (96% to 97% of the time). Each fit took under a second on one processor core, over 3,000 times faster than MixSIAR. When simulated data broke MixSIAR's assumptions, MixSIARPFN lost accuracy no faster than MCMC, except with heavy-tailed or skewed errors in one design (up to 13% less accurate). It matched MixSIAR closely on five of MixSIAR's nine real examples. It differed more on the geese and wolves examples, but MixSIAR's own model fits these data poorly, and changing MixSIAR's error structure moved its answer as much as switching to MixSIARPFN. A sensitivity analysis of 3,600 fits took an hour instead of about half a year. MixSIARPFN makes Bayesian mixing models practical where MCMC is not, so that users can fit every candidate model, analyse many datasets and test sensitivity to discrimination factors and priors. We recommend confirming the final model with MCMC where the data fit the model poorly or conclusions rest on small differences.
Synthetic Participants for Real Interventions: The Limits of Augmenting Behavioral RCTs with Fine-Tuned LLMs
Batistoni, Tommaso, Beretta, Martina, Low, Raymond, Niccoli, Ariele, Duch, Raymond
Large language models could help experimentalists anticipate how participants will respond to an intervention before a trial is run, and sharpen the trial's estimates afterward. We evaluate both uses on two field experiments that promoted COVID-19 vaccination, one in rural Ghana and one in Sweden. We simulate each trial's participants with GPT-4o and with four open-weight models, which we use as released and after fine-tuning on (i) a corpus of related trials and surveys, (ii) a pilot sample from the trial itself, or (iii) both in sequence. Each combination of trial, model and training protocol is evaluated on the recovery of treatment effects, on outcome rates within arms, on the accuracy of individual predictions, and on the precision gained when predictions are combined with human data. Released and corpus-tuned models misestimate vaccination rates by up to 75 percentage points and produce treatment effects that vary erratically in sign and size. Fine-tuning on the pilot brings the rates within sampling error of the observed ones, but the synthetic treatment effects follow the pilot's own contrasts rather than those of the held-out sample, and their errors cannot be distinguished from those of forecasts that use no model at all. Only in Sweden, where the questionnaire records attitudes toward vaccination, do pilot-tuned models predict individual decisions and raise precision, by up to 15%; a logistic regression on the same attitude items achieves comparable gains. Models trained on quantitative data can thus reproduce observed outcomes without learning how interventions change them.
Evaluating Neural Data Tokenizers: A Framework for Assessing Learned Representations of Spiking Activity
D'Agostino, Federico, Gilbert, Alex, Keller, Susanne, Kapoor, Jaivardhan, Reategui, Nicolas, Lad, Vedang, Kuemmerer, Matthias, Bhagat, Jai, Orhan, Emin, Bedel, Hasan A., Karantzas, Nikos, Sinz, Fabian H., Ganguli, Surya, Macke, Jakob H., Ecker, Alexander S., Franke, Katrin, Sanborn, Sophia, Bethge, Matthias, Tolias, Andreas S., Willeke, Konstantin F.
Foundation models of brain activity aim to learn representations from large-scale neural recordings that generalize across sessions, subjects, species, and downstream tasks. Transformer-based models have emerged as a promising architecture for this goal and all begin with the same first step - tokenization: transforming sparse neuronal data into vector representations that downstream networks can consume. In other areas of machine learning, tokenization is its own design problem, distinct from the downstream foundation model. Several mostly implicit tokenization approaches dominate the literature, but their impact on downstream performance has not been systematically evaluated. Here, we propose four explicit desiderata for a neural tokenizer - reconstruction fidelity, downstream utility, cross-instance generalization, and compression - and a framework of metrics spanning seven dimensions, including firing statistics, encoding and decoding, and latent structure and robustness. We assemble a benchmark of ten public datasets spanning diverse species, brain areas, recording technologies, and behavioral paradigms, and evaluate a representative set of discrete and continuous tokenizers, both single-neuron and population variants. Across the strategies evaluated, we show how tokenizers trained only on reconstruction can support downstream tasks. Yet reconstruction alone is misleading: reconstruction quality and downstream utility can be sharply dissociated. Our multi-axis framework is a response to this failure mode. These findings highlight tokenization as a critical and underexplored design axis in brain foundation models, and suggest that further progress will require continued systematic study of tokenization strategies. We release the data preparation code, training pipeline, evaluation suite, and trained tokenizers as a community resource.