Goto

Collaborating Authors

 Statistical Learning


One Encoder, Many Nuances: Adding On-Device Text Classification Tasks in Closed Form

arXiv.org Artificial Intelligence

On-device virtual assistants run dozens of lightweight text classifiers--spanning intent detection, topic routing, sentiment analysis, and spam filtering---and the standard engineering solution is to train, store, and maintain one separate neural model per task. In this paper, we show that a single vocabulary-free encoder of 1.1,MB can serve all of them simultaneously and extend to brand-new tasks without a single gradient step. Each task owns a 1,KB low-rank similarity lens; when a new task arrives, its lens is solved in closed form from just 20 labelled examples per class. The central technical obstacle is that a compact hashed encoder knows nothing about words absent from its initial training tasks. We overcome this bottleneck by pre-filling the shared hash table via sparse least squares against a sentence-embedding teacher's word vectors, and then distilling that teacher over a general English corpus during multi-task training. Across eight public benchmarks, one shared encoder matches or outperforms eight separate models (93.1 vs.\ 92.1 average over the seven classification tasks) while cutting total storage across all eight tasks from 7,960 to 1,096,KB. Added from 20 shots per class, unseen tasks come within about one point of a TF-IDF classifier trained on the same shots and substantially outperform per-task neural models trained from scratch, while trailing a $7\times$ larger static embedding model. On spoken utterances (SLURP transcribed with Whisper), an ASR-invariance objective improves intent accuracy across every word-error-rate band. Finally, we present an honest baseline audit showing that simple TF-IDF classifiers beat several published tiny-model numbers when per-task memory is unconstrained, and we release code that reproduces every table on a single free GPU.


A Partial Correlation Spike-and-Slab Estimator for Sparse Gaussian Graphical Models

arXiv.org Machine Learning

We propose the partial correlation spike-and-slab (PCSS) estimator of a sparse Gaussian graphical model, which places a spike-and-slab prior on the partial correlations. Because partial correlations are bounded, the slab can be uniform, leaving a single hyperparameter, while the mixture weight of the slab is inferred from the data. Large partial correlations are then nearly unpenalized, and the estimated graph is invariant to rescaling the variables. We select the hyperparameter so that, when the variables are independent, the estimator favours the empty graph. The selected value depends only on the sample size and the number of variables, so a single fit suffices. Under a weak-coupling condition, and from an initial estimate that separates true edges from other pairs, the fitting algorithm recovers the support with errors bounded by a multiple of the sampling error that does not depend on the hyperparameter. In simulations on three random graph models, wherever PCSS recovers part of the support, its precision stays above 0.97, and none of six other estimators has both higher precision and higher recall. PCSS is implemented in the Julia package PartialCorrelationSpikeSlab.


Forecasting Network-Linked Functional Time Series

arXiv.org Machine Learning

Functional time series often arise in network-linked settings. A representative example is the collection of age-specific mortality curves observed over time across geographically connected regions. Each region corresponds to a node in a graph, and connections between neighboring regions represent potential dependence in the mortality patterns. We refer to collections of functional time series connected through a graph as network-linked functional time series. Existing forecasting methods, however, typically either ignore the network structure or are not designed for functional observations on a graph. To address this, we develop a graph-temporal functional additive model (GTFAM) that combines a within-node temporal component with a cross-node graph component to forecast future functional observations. Regularization encourages the two components to capture distinct predictive information. We study the finite-sample properties of the proposed estimator by establishing an estimation error bound. Under suitable assumptions, this bound decreases as the number of forecast time points increases. Simulation studies show that GTFAM improves forecasting accuracy relative to several benchmarks. In an application to Japanese prefecture-level age-specific mortality data, the model achieves competitive forecasting performance while providing an interpretable decomposition.


HELIOS: Hyperbolic Generalized Category Discovery for Remote Sensing

arXiv.org Artificial Intelligence

Generalized Category Discovery (GCD) in remote sensing (RS) aims to classify known scene categories while clustering novel ones in partially labelled aerial imagery, where new land-use patterns continually emerge. Existing GCD methods embed features in Euclidean or spherical spaces, whose polynomial volume growth cannot accommodate the deep, exponentially branching hierarchies of RS scenes, causing visually similar categories to crowd together and novel classes to go undiscovered. We introduce HELIOS, the first hyperbolic GCD framework for remote sensing, which embeds features in a Poincarรฉ ball whose exponential volume growth mirrors geographic taxonomies. Unlike prior hyperbolic GCD methods that use a single global curvature and treat all pseudo-labels equally, HELIOS introduces three components: (i) depth-adaptive per-level curvatures, learned via a Volume-Matching objective that allocates manifold capacity where the taxonomy branches most densely; (ii) evidential Busemann pseudo-labelling, which gates cluster assignments by Dirichlet uncertainty to suppress confirmation bias from ambiguous aerial categories; and (iii) Busemann ideal prototype anchoring, which assigns categories to distinct ideal boundary directions, guaranteeing angular separation between leaf classes while reserving the low-volume interior for novel classes. On AID, NWPU-RESISC45, and RSSDIVCS, HELIOS achieves state-of-the-art accuracy on both known and novel categories.


Prior Shift in Disguise: Rethinking the Evaluation of Data Augmentation for Rare-Attack Network Intrusion Detection

arXiv.org Artificial Intelligence

Rare attack classes such as web injections, backdoors and worms are the hardest for flow-based network intrusion detectors and have the fewest labelled flows, which has made synthetic training data, most recently from large language models (LLMs), a popular remedy. We show that much of its reported benefit can be produced by the evaluation itself. On CSE-CIC-IDS2018, NF-UNSW-NB15-v3 and CIC-IDS2017, 13-44% of test flows are copies of training flows unless duplicates are removed, results vary 3 to 13 times more across train/test splits than across training seeds, and on one dataset the entire gain of oversampling is reproduced by shifting the decision threshold of an unaugmented detector. We therefore evaluate augmentation under a protocol with de-duplication, repeated splits, reweighting baselines and a threshold-only baseline, covering 13 rare classes, four tree-ensemble detectors and sources from SMOTE and generic tabular generators to fine-tuned LLMs from two model families. The fine-tuned LLMs generate flows that a classifier can barely distinguish from real ones, yet no generator is consistently better than class weighting or random oversampling; augmentation does not improve PR-AUC and increases benign false positives. A controlled experiment shows that the gains come from a shift of the decision boundary whose benefit depends on the attack prior of the test data. Detection is limited by class overlap, which persists with the full flow features and on an industrial network, and richer features help more than any augmentation. We derive an evaluation checklist for researchers and a decision procedure for operators.


Geodesic Tensor Diffusion for Estimation of the Local Riemannian Metric in Machine Learning

arXiv.org Artificial Intelligence

Distances are the raw material of nearest-neighbour search, clustering, kernel methods and graph-based learning, yet the Euclidean distance between two data points can be badly misleading when the data lie on a curved, folded or non-uniformly sampled manifold. The object that tells us how to measure lengths and angles \emph{locally}, at each sample, is the Riemannian metric tensor. We present Geodesic Tensor Diffusion (GTD), a simple and scalable algorithm that estimates this tensor at every point of a dataset. GTD imagines a random walker that takes one short step from each sample and records the second moment of the step. Three design choices make this idea work on real data: steps are measured along shortest paths of a $k$-nearest-neighbour graph, so that they follow the data instead of cutting across folds; step probabilities are corrected by an $ฮฑ=1$ density normalization, so that densely sampled regions do not bias the estimate; and the reference point is excluded from its own neighbourhood. The algorithm needs one truncated Dijkstra search and one small singular value decomposition per sample, is embarrassingly parallel, and its cost grows only linearly with the ambient dimension. We explain, with simple arguments, why it works: the estimate does not depend on the sampling density, its systematic error is an explicit curvature term of order $h^2$, and it converges at explicit rates in which the ambient dimension enters only logarithmically. Experiments on synthetic manifolds, image manifolds in $\mathbb{R}^{1024}$ and handwritten digits confirm the theory down to its constants, show the advantages of GTD on folded manifolds and under non-uniform sampling, and identify its failure modes. A reference implementation is publicly available.


OpenNeuroPD: Uncertainty-Aware Differential Diagnosis of Parkinson's Disease from Blood Transcriptomes with Disentangled Representations and Conformal Abstention

arXiv.org Artificial Intelligence

Blood transcriptomic signatures can separate idiopathic Parkinson's disease (PD) from healthy controls, but the largest study's signature also scored other neurodegenerative disorders (NDDs), namely Huntington's disease (HD), multiple system atrophy (MSA) and progressive supranuclear palsy (PSP), like PD ($p=0.58$). These mimics drive misdiagnosis, so such a biomarker answers the wrong question. We present OpenNeuroPD, a hierarchical open-world system that (i) learns a shared neurodegeneration latent and a PD-specific latent, decorrelated by a cross-covariance penalty; (ii) composes two calibrated stages (is the profile pathological? is the evidence PD-specific?) into a three-way differential; and (iii) abstains through split conformal prediction when evidence is insufficient. On GSE99039 (233 controls, 205 PD, 47 other NDD), under repeated cross-batch and within-batch validation, we reproduce the specificity failure of closed-world classifiers (PD-vs-NDD AUROC 0.49-0.56). OpenNeuroPD matches the best baseline on PD-versus-control AUROC (0.61 cross-batch, 0.70 within-batch) while raising PD-vs-NDD AUROC to 0.56 and 0.63 ($p=0.001$), halving the NDD false-positive rate at 90% control specificity (0.07 vs. 0.17), and, at matched decision rates, giving 4-6 times fewer MSA, PSP and HD patients a confident PD label than a binary classifier. Held-out-batch calibration restores nominal coverage, and a rule-in/rule-out/refer reading of the prediction sets turns abstention into clinical triage.


Can we skip validation? A cross-family, cost-aware study of generalization measures for model selection

arXiv.org Artificial Intelligence

Generalization measures -quantities computed from a trained model and its training data alone- promise to let us choose among models without held-out validation. But can we really skip validation? So far, large studies of such measures have only concerned deep networks, and examined whether a measure correlates with the generalization gap rather than what we care about in practice: selecting a good model. We compare over 100 statistical and deep-learning measures across 16 model families, 89 datasets and over 102,000 models, scoring each by the model it would select and its compute cost, against cross-validation (CV), cheap resampling and multi-fidelity search. No training-data-only measure matches CV in general: one rivals CV only in 5 identifiable situations` and a single 20% hold-out recovers most of CV's quality at a fifth of its cost. Complexity measures usually rank candidates backwards; we show that this is decided by whether generalization gaps or training errors vary more across the candidates, a detectable condition that holds past the interpolation threshold, where norm, flatness and stability measures can rival CV and extra parameters switch from hurting to helping generalization. Learned combinations of measures help mainly across model families, measures that refit the candidates improve them only at several times the cost of CV, and adding measures to CV does not improve it. Measures earn their place when candidates are already trained, as when choosing among pretrained models. We summarise the results in a decision guide for practitioners and release a benchmark for evaluating newly proposed measures.


Representations + Lie Algebra = Explanations

arXiv.org Artificial Intelligence

Graph Neural Networks (GNNs) are powerful yet remain `black box' models, and their use in high-stakes domains requires explanation methods that are both mathematically principled and semantically faithful. Existing factual explainers identify influential subgraphs via discrete combinatorial search, while counterfactual methods perturb the latent embedding without geometric constraints, frequently producing out-of-distribution (OOD) artifacts that are infeasible or structurally invalid. We address both limitations by framing GNN reasoning as symmetry transformation on a learned latent manifold. We introduce GLIDE: Graph LIe Decomposition Explainer. We model the GNN latent space as a smooth manifold acted upon by a continuous Lie group $G$, and we learn a basis $\{A_k\}$ for the associated Lie algebra $\mathfrak{g}$. Factual explanations correspond to the factual flows $\{\exp(X)\cdot z : X\in\mathfrak{h}_z\}$, generated by the subspace $\mathfrak{h}_z\subset\mathfrak{g}$ of directions that preserve the predicted class to first order. Counterfactual explanations are transverse flows generated by the complement $\mathfrak{m}$, which traverse the decision boundary along the shortest algebraic path. We show that this decomposition is reductive, guarantee that all generated trajectories remain within a bounded neighborhood of latent space, establish that orthogonal generator bases produce locally independent counterfactual directions, and show that winner-take-all sparsity recovers the unique minimal-norm counterfactual generator. Empirical evaluation on synthetic (BA-2Motifs) and biochemical (MUTAG, PROTEINS, NCI1, AIDS) benchmarks demonstrates that our framework achieves high-quality factual and counterfactual explanations with strict latent proximity, outperforming all baseline methods.


LGSA: Cross-Scale Graph Domain Adaptation via Local-Global Structural Alignment

arXiv.org Artificial Intelligence

Graph domain adaptation (GDA) aims to transfer knowledge from a labeled source graph to an unlabeled target graph. Existing GDA methods typically assume that the source graph provides sufficiently complete information for reliable cross-domain alignment. However, this assumption is often unrealistic in practice, where only a small sampled source graph may be available due to privacy, annotation, storage, or data-collection constraints. In this paper, we study Cross-Scale Graph Domain Adaptation (CSGDA), where adaptation is performed from a limited-scale source graph to a larger target graph. Our empirical results show that CSGDA exhibits larger local and global discrepancies than conventional GDA, as the source graph provides only limited local structures and limited coverage of the global structure. To address this challenge, we propose a local-global structural alignment framework that, at the local level, augments neighborhood structures to compensate for limited local structural information. At the global level, it extracts global structural patterns and aligns source and target distributions. An adaptive GCN-MLP module then integrates the compensated local structures and extracted global patterns for domain alignment and target prediction. Experiments across multiple graph adaptation benchmarks and sampling ratios demonstrate that our method consistently improves adaptation in the presence of severe source-graph incompleteness.