Goto

Collaborating Authors

 Deep Learning


LLM-as-a-Tutor: Policy-Aware Prompt Adaptation for Non-Verifiable RL

arXiv.org Artificial Intelligence

Reinforcement learning (RL) for non-verifiable instruction following increasingly relies on LLM judges with prompt-specific rubrics as reward signals. While recent methods adapt these rubrics to the evolving policy during training, the training prompts themselves remain static, drawn from fixed corpora. This static approach often results in a critical misalignment between prompt difficulty and policy capability, leaving the judge unable to recover a discriminative reward signal when prompts fail to elicit quality variance among rollouts. To address this misalignment, we introduce LLM-as-a-Tutor, a framework that extends the LLM's role from judge to tutor: a single model serves as an examiner that pairwise-compares policy rollouts to detect non-challenging prompts, and as a generator that appends atomic constraints to them. This append-only design preserves the original prompt while adding constraints to increase difficulty in step with the policy's capability, producing a self-calibrating training signal without external difficulty schedules. On three complex instruction-following benchmarks, our method outperforms both policy-unaware baselines and prior policy-adaptive methods that adapt rubrics or rewrite prompts, on average and on four of five metrics, suggesting prompt adaptation as an underexplored axis of policy-awareness in non-verifiable RL for constraint-heavy instruction following.


Testing Neural Networks via Bayesian-Guided Exploration of Decision Landscapes

arXiv.org Artificial Intelligence

As neural networks are increasingly deployed in safety-critical domains, testing is essential to evaluate and improve their reliability. Existing testing methods, whether black-box or white-box, primarily use global mutation or coverage-guided strategies, both of which struggle to efficiently uncover diverse model failures while remaining proximate to the original data distribution and semantics. We propose BayesWarp, a testing framework that addresses this limitation by mutating decision-critical input regions identified via interpretable saliency techniques and adaptively guiding the testing process using an uncertainty-aware Bayesian Optimization strategy, enabling the discovery of diverse failures while preserving distributional and semantic proximity to the original data. Evaluation on MNIST, CIFAR-10, and ImageNet across six neural network models shows that BayesWarp improves failure discovery, failure diversity, test case quality, and critical neuron coverage under a fixed mutation budget. These results demonstrate that BayesWarp improves testing effectiveness. Moreover, fine-tuning with the generated failure cases leads to improvements in model performance.


Population-Level Profiling of DSM-5 Depressive Symptom Language Among Twitter Users With Self-Reported ADHD or ASD: Exploratory Study Using Natural Language Processing and Statistical Analysis

arXiv.org Artificial Intelligence

Depression frequently co-occurs with attention-deficit/hyperactivity disorder (ADHD) and autism spectrum disorder (ASD), but how depressive symptoms are expressed by people with these conditions is underexplored. We examined whether Twitter users self-reporting ADHD or ASD differ in language related to the nine DSM-5 depressive symptoms. We analysed 1,282,437 tweets (2020-2021) from 792 users. Tweets were screened for depressive relevance by a zero-shot classifier combined with a locally run large language model (Qwen3-8B) and classified into the nine symptoms by MentalRoBERTa fine-tuned on the ReDSM5 corpus. The pipeline was tuned on two stratified samples of 500 tweets and internally validated against human-adjudicated labels on 150 of these tweets. User-level profiles (582 users) were compared with L1-penalised logistic regression, nested cross-validation, bootstrap stability analysis, per-symptom effect sizes, and co-occurrence analysis. A baseline pipeline with a natural language inference filter reached a precision of only 0.09-0.13, whereas the final pipeline reached precision 0.48-0.59 and F1 0.55-0.68. Discrimination between groups was modest (nested ROC-AUC 0.60-0.62). Language related to suicidal ideation was more frequent among ASD users and language related to cognitive issues among ADHD users; both differences were small but robust across sensitivity analyses. These exploratory findings describe how depressive symptoms are expressed online, not their clinical prevalence.


Analog Resonant Recurrent Neural Networks via Metacircuits

arXiv.org Artificial Intelligence

Physical neural networks offer a promising route to fast and energy-efficient edge intelligence by embedding computation in the intrinsic dynamics of materials and devices. However, processing temporal signals requires recurrent networks with memory, whose trained dynamics are hard to reproduce faithfully in physical systems. Here we present an analog resonant recurrent neural network (R$^2$NN) implemented as a metacircuit of coupled local resonators. A reformulated mechanical-electrical analogy based on frequency-dependent negative resistances maps a trained network one-to-one onto the metacircuit, with every trainable parameter realized as a resistance. Training tunes local resonances and global resistive couplings so that past responses persist as recurrent memory and interfere with incoming inputs, and the resulting impedance landscape routes different frequencies to distinct outputs. Exploiting this recurrent memory, the metacircuit solves a temporal-parity task whose output depends on the entire input history. Building on the learned frequency selectivity, stand-alone R$^2$NN systems classify raw tactile, acoustic and vibration signals in real time and directly drive downstream hardware. This work establishes engineered locally resonant dynamics as a physical substrate for recurrent neural computation and opens a route to compact, low-latency neural hardware for machine intelligence at the edge.


On the effects of emulated quantum layers on CNN performance and explainability for OCT and dementia imaging

arXiv.org Artificial Intelligence

Hybrid quantum-classical convolutional neural networks have been proposed as an alternative to classical deep learning models. However, executing network components on quantum hardware imposes fundamental limitations, such as gradient estimation through repeated measurements, and increasing the number of qubits can lead to trainability problems such as barren plateaus. Moreover, the reported success of these hybrid networks has been linked to quantum architectures that can be efficiently simulated on classical computers. We investigate whether small, classically simulated quantum circuits can serve as useful components within larger models, as a substitute for purely classical layers. We present a systematic comparison between a Hybrid Quantum-inspired CNN (HQiCNN) and standard CNN architectures, where the models differ only in a single intermediate layer: an emulated quantum circuit in the HQiCNN and classical counterparts in the CNN. The models are evaluated on two medical imaging datasets while varying training set size, learning rate, batch size, circuit entanglement and observable se. Under a strict parameter budget, the HQiCNN outperforms the classical baselines. When the classical layer is given more parameters, overall performance becomes comparable, with the HQiCNN showing improvements only in the intermediate-data regime. Removing entanglement yields comparable performance and richer observable sets yield no performance improvement. Finally, we introduce two SHAP-based metrics for comparing model explanations, $|$SHAP$|$IoU and EMD$_{\mathrm{pos}}$. They show that all architectures attend to anatomically plausible regions, and that the spatial attention agreement between them increases with training set size. These results indicate that, under specific data regimes, quantum-inspired hybrid models are a competitive alternative to classical CNNs for medical image classification.


Dual Inversion for Text-to-Image Diffusion Models: From Both Prompt and Noise Perspectives

arXiv.org Artificial Intelligence

Prompt inversion, as a typical reverse engineering technique, enables text-to-image (T2I) diffusion models to generate the desired target images without extensive prompt engineering. However, existing prompt inversion methods suffer from significant limitations: (1) gradient-based methods are unstable and uninterpretable, often resulting in generated images with severe artifacts; (2) gradient-free methods yield human-readable prompts but still fail to preserve visual fidelity due to the lack of fine-grained detail alignment. We contend that the limitations stem from treating prompt inversion as a sufficient condition for reverse engineering, ignoring the critical role of the latent noise that encodes structural information. Consequently, we propose Dualin (Dual inversion), a two-stage method that jointly recovers both the semantic prompt and latent noise of the target image. In the first stage, we integrate vision-language model, CLIP and large language model to invert a faithful, human-interpretable hard prompt. In the second stage, unconditional DDIM inversion reconstructs the exact latent noise of the target image, guaranteeing the consistency at the structural information level. Theoretically, we prove that the inverted noise enables flexible image editing without re-optimization. Extensive experiments on diverse datasets demonstrate that Dualin simultaneously generates high-quality inverted prompts and achieves state-of-the-art image fidelity. Additionally, Dualin can establish a robust foundation for the precise and controllable image editing.


Compact convolutional neural networks for AI-based drone detection system

arXiv.org Artificial Intelligence

The increasing use of first-person-view drones in modern conflicts has created a demand for compact and reliable detection systems capable of operating in complex electromagnetic environments. These drones continuously transmit video signals through onboard video transmitters, generating radio-frequency emissions that can be exploited for early detection. This study investigates the use of lightweight convolutional neural networks for automated detection of drone signals captured by a software-defined radio-based electronic warfare framework. Samples are converted into rasterized time-domain images, providing a computationally efficient input representation suitable for embedded systems. Several custom model architectures were designed and benchmarked in terms of accuracy, model size, and inference performance using a dataset containing approximately 40,000 labeled images. In addition to offline testing, the models were integrated into a GNU Radio signal processing chain for real-time evaluation. The results show that compact models can achieve high detection accuracy while maintaining low computational requirements, making them suitable for embedded radio-frequency monitoring applications. Compared with existing spectrogram-based RF detection methods, the proposed approach eliminates frequency-domain preprocessing and achieves comparable accuracy with significantly reduced computational cost.


AgentGA: Evolving Code Solutions in Agent-Seed Space

arXiv.org Artificial Intelligence

We present AgentGA, a framework that evolves autonomous code-generation runs by optimizing the agent seed: the task prompt plus optional parent archives that initialize a fresh workspace. The outer loop searches over reusable starting conditions rather than editing code directly. Each generation launches a fresh autonomous run in an isolated workspace, while selected parent archives provide inherited artifacts that descendants can inspect and reuse. AgentGA couples a population-level genetic algorithm with long-horizon agents, deterministic 1:1 elite tournaments, and online operator allocation through a modified Hedge controller. We evaluate the approach for tabular AutoML on the 16-competition Weco-Kaggle Lite benchmark, including model-matched AIDE and AutoGluon comparisons. AgentGA with DeepSeek V4 Flash (0731) achieves 71.13% mean Exceeds % of Human, compared with 57.61% for model-matched AIDE and 57.89% for AutoGluon, outranking AIDE on 14/16 tasks. A control that removes inheritance, in which every agent starts from scratch, reaches 65.76% under AgentGA's stopping rule and 67.25% at the full budget, above a single long-lived agent (61.20%) and below AgentGA. These descriptive results support agent-seed optimization as a practical design choice for autonomous code-search systems, without isolating the causal contribution of inheritance.


Exploring the Potential of Spiking Neural Networks in UWB NLOS Identification

arXiv.org Artificial Intelligence

Abstract--Ultra-Wideband (UWB) Non-Line-of-Sight (NLOS) UWB channel data into a form compatible with spike-based identification is critical for accurate localization, yet prevailing representation learning, and then develop a fully unsupervised deep learning solutions impose computational demands SNN pipeline (Section II) for NLOS identification. This letter explores the on the public eWINE benchmark [11], this work achieves potential of Spiking Neural Networks (SNNs) for this task and performance comparable to that of supervised learning methods. Against supervised deep learning baselines, our approach achieves comparable accuracy (~82%) with only 4.7K synaptic operations per inference, II. These results establish that SNNs can serve as a viable The proposed fully unsupervised SNN method is illustrated in neuromorphic alternative for edge UWB applications. It consists of two main components: a feature engineering block and a liquid NLOS identification block. Index Terms--UWB, NLOS Identification, SNNs, Unsupervised Learning, Neuromorphic Computing A. Feature Engineering Block RF Feature Processing and Spike Encoding: The RF chip of I. INTRODUCTION the DW1000-based UWB module exposes RF features that can WB plays a vital role in applications spanning be used to analyze channel state (details in [1]).


Flow Perturbation++: Multi-Step Unbiased Jacobian Estimation for High-Dimensional Boltzmann Sampling

arXiv.org Artificial Intelligence

The scalability of continuous normalizing flows (CNFs) for unbiased Boltzmann sampling remains limited in high-dimensional systems due to the cost of Jacobian-determinant evaluation, which requires $D$ backpropagation passes through the flow layers. Existing stochastic Jacobian estimators such as the Hutchinson trace estimator reduce computation but introduce bias, while the recently proposed Flow Perturbation method is unbiased yet suffers from high variance. We present \textbf{Flow Perturbation++}, a variance-reduced extension of Flow Perturbation that discretizes the probability-flow ODE and performs unbiased stepwise Jacobian estimation at each integration step. This multi-step construction retains the unbiasedness of Flow Perturbation while achieves substantially lower estimator variance. Integrated into a Sequential Monte Carlo framework, Flow Perturbation++ achieves significantly improved equilibrium sampling on a 1000D Gaussian Mixture Model and the all-atom Chignolin protein compared with Hutchinson-based and single-step Flow Perturbation baselines.