Goto

Collaborating Authors

 Statistical Learning


Benchmarking Quantum Machine Learning for Power-System Attack Detection: Evaluation Choices Can Decide the Outcome

arXiv.org Artificial Intelligence

Quantum machine learning is proposed to detect grid cyberattacks, but no study we could read tests quantum and classical detectors under white-box, transfer, and black-box attacks and random label flips in one protocol. We compare two quantum and six classical detectors on public grid-attack data under equal tuning budgets. Our main finding: evaluation choices can decide the outcome. On these data, seven choices each changed a reported result with model families fixed. Row-level splits inflate our best score by 0.31 macro-averaged F1 over held-out files, where matched-dimensionality classical and quantum models barely clear chance. Under its own white-box attack the quantum kernel's score falls from 0.56 to 0.01 (chance 0.50), while a transferred attack in the same run leaves 0.52. Trees admit no gradient-based white-box attack, so their attacked scores are upper bounds. These attack results use eight-dimension detectors under row-level splits. On gas-pipeline and simulated-grid data, neither quantum detector is more accurate or consistently more robust; three of the seven choices reproduce fully on gas data with one pressure feature log-scaled (two within noise), and none of the four checked on the grids does. Benchmarks should hold out whole files and give every model its own attack where possible. We release code and checklist.


Can We Predict kNN-Based Anomalous Sound Detection Performance from Embedding-Space Geometry?

arXiv.org Artificial Intelligence

ABSTRACT Anomaly detection systems are often trained using normal data alone, while model selection and evaluation typically require labeled anomalies. We study anomalyfree selection for k-nearest neighbor (kNN)-based anomaly detectors operating on embedding spaces, using pretrained audio representations and temporal pooling for first-shot industrial anomalous sound detection as a practically relevant application. We derive a lower bound on the area under the ROC curve (AUC) at the score level and use it to analyze kNN-based detection, relating score variability to the geometry of the embedding space. Under a local scaling model, we characterize how density variation, intrinsic-dimensional heterogeneity, and cross-domain mismatch contribute to inlier-score variability, and show how local density-based score normalization (LDN) affects these contributions. We then investigate anomaly-free model selection and show that inlier score variance alone does not reliably predict performance across different representations. To address this limitation, we introduce simple pseudo-anomaly probes that provide a reference for estimating relative score separation. Experiments on the DCASE 2022-2025 benchmarks, spanning four pretrained audio encoders and 208 candidate systems evaluate both kNN and LDN. The results show that LDN improves detection performance, while pseudo-anomaly-based estimators substantially improve anomaly-free model selection. The AUCBound provides robust selection across pseudo-anomaly constructions, and a simple metadata-free construction offers a competitive alternative to existing approaches, even outperforming conventional development-set selection when combined with LDN. 1 INTRODUCTION Anomalies are often unavailable for training because they are rare, diverse, and difficult to obtain. Consequently, many anomaly detection systems rely on normal data alone for training (Chandola et al., 2009; Pang et al., 2022; Ruff et al., 2018). However, model selection, hyperparameter tuning, and evaluation typically rely on labeled anomalies to assess detection performance.


Grounding Text Embeddings in Stakeholder Associations

arXiv.org Artificial Intelligence

Text embeddings are widely used to analyse large corpora of complex texts. However, it is unclear whether the embeddings capture the same semantic relations as the human experts using them. Such representational alignment is essential for valid analyses. We present the Stakeholder Grounding Exercise, a method for making expert associations explicit and grounding embedding model results in human understanding. In our primary case study on Danish policy issues, we find that neural text embeddings are substantially less reliable than human experts (18-27pp gap), and that this misalignment propagates to downstream clustering performance (Spearman $ฯ= 0.86$ between exercise ranking and cluster quality). A secondary study on US Federal AI use cases replicates the gap (16.1pp) in English, using a digital protocol and a different community of experts -- demonstrating that the gap is not an artefact of a single instrument or domain. The Stakeholder Grounding Exercise offers a practical method for assessing whether embedding models capture the semantic distinctions that matter most to domain experts.


Glioma IDH Classification via CVAE: Synthetic Augmentation, Generative Classification, and MIL for Raman Biopsies

arXiv.org Artificial Intelligence

Biomedical Raman datasets used in machine learning for glioma diagnostics are characterized by small cohort size and absence of diagnostic tissue annotations. We address both problems using a $ฮฒ$-regularized conditional variational autoencoder and a dataset of 59 glioma biopsies from 46 patients for binary IDH-status classification. The $ฮฒ$-CVAE was used as a: (1) Raman spectra generator; (2) generative classifier of Raman spectra; (3) Multiple Instance Learning (MIL) classifier of biopsy slides. Four classifiers were trained on real spectra, synthetic spectra, or a combined set and evaluated on held-out real slides. Random Forest and XGBoost achieved accuracy $0.83$ with synthetic training and $0.81$ with real training. Augmentation increased RF+SVM accuracy from $0.76$ to $0.83$; changes for the other classifiers were smaller. We show that the $ฮฒ$-CVAE model can successfully be used in training IDH-status classifiers and as a generative classifier, with comparable results to other models; however, the results of using it in MIL are inconclusive and further study is needed.


Emergent Language as an Approach to Conscious AI

arXiv.org Artificial Intelligence

The question of whether artificial systems can be conscious remains open, in part because existing approaches either evaluate systems against theory-derived checklists (discriminative) or engineer consciousness-inspired modules directly (architectural); both leave open whether observed structures are artifacts of human language priors. We propose a generative methodology: emergent language (EL) in multi-agent reinforcement learning, where agents start from minimal (no language, no concept of self, minimal exposure to human text) and develop communication under task pressure alone, ensuring causal attributability to task demands ratherthan inherited human language priors. We position our methodology by discussing how EL serves as a generative tool for studying consciousness-relevant structure, including the role of environment complexity and the interpretation of emergent communication. As a proof of concept, we instantiate this methodology in a minimal environment and show that agents develop self-referential communication, including an echo-mismatch detection circuit that is not predicted by task structure or architecture alone but emerges from a specific environmental affordance.


Keep It CALM: Analyzing the Limits of Global Unsafety in Text-to-Image Generation

arXiv.org Artificial Intelligence

Training-free safeguards for text-to-image generation often rely on a reusable safety signal, such as an unsafe direction or global toxic subspace, applied broadly across prompts. We provide a controlled geometric analysis of this global-unsafety assumption and reveal a consistent coverage-selectivity trade-off: compact unsafe subspaces fail to cover heterogeneous unsafe semantics, whereas broader aggregation increasingly distorts safety-adjacent benign prompts. Motivated by this finding, we propose CALM (Counterfactual Adaptive Local Modulation), a training-free safeguard that replaces uniform global removal with prompt-local counterfactual correction. Using matched unsafe-benign anchors, CALM routes each prompt to active unsafe categories, minimally edits only violating token representations toward the safe side, and suppresses positively aligned unsafe residual components. Across broad evaluation, CALM significantly improves unsafe content suppression while preserving benign utility, demonstrating that local counterfactual correction provides a more selective alternative to global unsafe signal removal.


Beyond Point Forecasts: A Survey on Probabilistic Forecasting for Time Series and Spatiotemporal Data

arXiv.org Artificial Intelligence

Probabilistic forecasting is central to decision-making under uncertainty, yet its methodological landscape has become increasingly fragmented across temporal and spatiotemporal forecasting, statistical modeling, machine learning, and deep generative modeling. This survey develops a unified perspective by organizing probabilistic forecasting methods according to where and how uncertainty is introduced into the forecasting pipeline. Our taxonomy connects model-agnostic approaches including ensembles and distribution-free calibration, with model-intrinsic approaches spanning Bayesian modeling, parametric predictive distributions, distributional regression, and modern generative models, and further examines the emerging role of time series foundation models. Beyond methodological synthesis, we identify the assumptions, computational demands, and forms of uncertainty represented by different paradigms, and translate these distinctions into data-driven and domain-specific guidance for method selection. We complement the survey with a cross-paradigm empirical study on univariate, multivariate, and spatiotemporal forecasting tasks. The results reveal that no single uncertainty-quantification paradigm dominates across settings. Calibration, sharpness, predictive accuracy, and computational efficiency can lead to substantially different model preferences, while expressive generative models and zero-shot foundation models exhibit markedly different accuracy-efficiency trade-offs. Lastly, we identify unresolved challenges surrounding uncertainty in evolving dependency structures, physics-informed predictive distributions, forecasting extreme events, handling count-valued, directional, and continuous-time series, and the development of unified software resources. Our survey provides both a conceptual framework and a practical roadmap for probabilistic forecasting research.


A Learning Algorithm for Threshold Boolean Networks with Prescribed Fixed Points

arXiv.org Artificial Intelligence

We present a learning algorithm for inferring threshold Boolean networks (TBNs) with a prescribed set of fixed points. The proposed method employs a custom differentiable loss function that jointly enforces fixed point preservation, penalizes spurious attractors, encourages binary outputs, and promotes sparsity through L1 regularization. Applied to the FOS-GRN model of Arabidopsis thaliana, the approach achieved perfect reconstruction (i.e., all 10 desired fixed points and no spurious ones) in 5 out of 30 independent runs, recovering on average 8.53 $\pm$ 0.90 correct fixed points with no spurious attractors. In contrast, standard methods such as the Perceptron and Logistic Regression recovered up to 10 fixed points but introduced between 8 and 31 spurious ones. An additional analysis varying the sparsity coefficient ($ฮป$) confirmed that the method's performance and the structural properties of the inferred networks remain robust within a practical range (up to 0.01) of regularization strengths. Overall, the results demonstrate the effectiveness and stability of the proposed algorithm in capturing meaningful network dynamics under prescribed dynamical constraints.


Atom as an Agent: Emergent Order by Collective Predictive Coding

arXiv.org Artificial Intelligence

What is the intrinsic reason of emergence of macroscopic order parameter out of microscopic systems? In this article, we apply to physics the collective predictive coding (CPC), the theory of language/symbol emergence. As our language emerges out of our human communications, physical macroscopic order parameter emerges out of communications among atoms --- each atom is regarded as an agent who predicts each other's behavior through inference. We present three examples of classical spin systems: two-dimensional ferromagnetic and antiferromagnetic Ising models, a two-dimensional spin model with competing stripe orders, and the fully connected Sherrington--Kirkpatrick spin-glass model. In all of these examples, proper macroscopic order parameters including the replica overlap emerge automatically through communication informatics of CPC, only from observed spin configurations. We call the learned macroscopic coordinate the collective predictive order. Furthermore, for the ferromagnetic and antiferromagnetic Ising models, the equilibrium distribution of the collective predictive order yields an emergent potential with the symmetry and thermal evolution characteristic of a Landau potential. Notably, the emergence of the collective predictive order does not refer to any structure of microscopic Hamiltonians/Lagrangians. Thus our ``Atom-as-an-Agent" (AaaA) principle offers a completely data-driven method for the emergence of macroscopic order, that is, machine learning physics.


Transformers with Signatures: Towards Universal In-Context Learning in Path Space

arXiv.org Artificial Intelligence

In-context learning (ICL) enables transformers to adapt to new tasks from demonstrations without updating their parameters. However, theoretical guarantees for transformers remain limited in general, and elusive in particular when target responses depend nonlinearly on the evolution of observed paths. We establish an ICL framework for path space, using path signature features. Building on the universal linear approximation property of signatures, we construct explicitly a causal softmax transformer with two attention heads per layer that emulates in-context Lasso. Under sparse signature approximation and suitable moment and concentration conditions, we establish finite-sample prediction error bounds. Our analysis goes beyond the IID data setting in the existing ICL theory, allowing dependence among demonstrations and the query. Experiments on in-context sparse recovery, nonlinear path regression, execution-cost prediction, and financial payoff inference demonstrate robustness to changes in observation grids and adaptation to unseen market environments. Across these prediction tasks, transformers with signatures match or outperform vanilla transformer baselines with substantially fewer trainable parameters, highlighting the effectiveness and efficiency of signature-based ICL.