Search arXiv⌕ Search

arXiv subjects

Devroop Kar

Publications and source records attributed to Devroop Kar.

9 recordsLinked to original sources

Understanding how Island Connectivity Effects Lineage in Evolutionary Quantum Circuit Search

Island models distribute evolutionary search across subpopulations, and the connections between islands can affect diversity and convergence. How these connections shape the search for quantum circuits whose parameters must be trained remains unclear. We study island topology in EXAQC, an asynchronous neuroevolution framework that jointly optimizes variational quantum circuit structures and their parameters. We compare fully connected, ring, star, mesh, tree, and random topologies across four UCI datasets, two image classification datasets, and five reinforcement learning environments. The topology determines which islands can supply parents for crossover and which can repopulate an extinct island. By tracing genome ancestry, we find that under full connectivity, descendants of a new global best reach half of the islands in the fewest insertions. Sparser topologies slow this spread, and the star routes cross-island parent selection through its hub. Within the evaluation budgets tested, we detect no statistically significant differences in final fitness across topologies. When an island goes extinct during a child's training, that evaluation can become stale. Stale evaluations account for about 2% of evaluated children on UCI tasks, 29% on image tasks, and 18% in reinforcement learning, where they consume about 22% of training time. These results motivate studying how lineage spread affects population diversity and designing extinction policies that account for evaluations still in progress.

cs.NE↗

Self-tuning Evolutionary Search in Quantum Circuits for Classification and Continuous Control

Evolutionary quantum architecture search can discover compact variational circuits, but its performance depends on how circuits are trained and how crossover and mutation generate new candidates. We extend simplex hyperparameter optimization (SHO) in EXAQC to evolve the settings that govern quantum circuit search alongside the circuits and their training hyperparameters. In island populations, SHO uses settings from donor genomes to propose crossover rates, mutation counts, and selection weights for eight mutation operators. Each proposal governs how the next circuit is generated. Drawing donors from the target island allows different operator settings to be explored in parallel. We evaluate SHO on four UCI classification datasets and five reinforcement learning environments. In classification, after 2,000 genome evaluations, SHO reduces mean final loss by 20% on Iris and 48% on Wine relative to fixed island settings. In reinforcement learning, after 10,000 evaluations, CartPole reaches a return of 500 in every run, and Walker2d achieves a mean weighted return of $1069 \pm 294$ across island topologies. Learning rates change most consistently across tasks, while crossover and mutation settings generally stay near their initial values. The results show which settings change when SHO uses fitness to guide updates and how islands can adapt the rules they use to generate new circuits.

cs.NE↗

Understanding the Evolution of Quantum Circuits via Agentic Systems

Evolutionary quantum architecture search can discover parameterized quantum circuits that outperform hand-designed templates, yet the search process itself remains largely opaque. A single run of EXAQC (Evolutionary eXploration of Quantum Circuits) generates thousands of genomes, each with a lineage, the mutation or crossover operator that produced it, and a full record of its fitness evaluations. In practice, this record is reduced to best-fitness curves and a handful of final circuits, and deeper questions are answered with one-off analysis scripts. These questions include which operators yield improvements, which gate structures recur, and whether a structural change caused a fitness gain. We propose treating the evolutionary record as a first-class, queryable artifact. We present a compact storage layer that persists each EXAQC experiment in a single SQLite database, and we empirically compare serialization and archival formats for genome payloads. On top of this layer, a Model Context Protocol (MCP) server exposes typed analysis tools for fitness and progress summaries, gate statistics, operator insertion rates, lineage traversal, genome and run comparison, and guarded SQL. Large language model agents can chain these tools into multi-step investigations, and researchers can verify each step. Through case studies, we show that agent-driven analysis reveals operator effectiveness, recurring entanglement patterns, and lineage dynamics that summary metrics miss. The result is a reusable interface which can significantly speed up the analysis and understanding of evolutionary quantum circuit design. The design methodology we present is also generic, and can easily be applied to any type of evolutionary search for similar benefits.

cs.NE↗

Evolving Hybrid Quantum-Classical Architectures for Image Classification

Hybrid quantum classical neural networks integrate parameterized quantum circuits (PQCs) with established deep learning architectures, but their performance depends strongly on the choice of quantum circuit architecture, a choice that remains largely manual. Most existing approaches rely on hand-designed or fixed circuit ansätze, requiring circuit structure, gate composition, and qubit connectivity to be specified in advance with no guarantee that they suit the task. This limitation is especially acute in image classification, where quantum circuits must transform features extracted by classical networks while remaining compact enough for practical training, requirements that generic, task-agnostic ansätze are unlikely to satisfy simultaneously. We extend EXAQC, an evolutionary framework for automated quantum circuit discovery, to image classification. EXAQC evolves PQCs as intermediate processing modules while retaining classical feature-extraction and prediction layers. On MNIST, Fashion-MNIST, and CIFAR-10, EXAQC achieves 98.42%, 90.62%, and 85.47% accuracy, respectively, while using comparable gate counts to other quantum architecture-search methods. Against classical networks, evolved hybrid models maintain comparable accuracy with substantially fewer trainable parameters, reaching 85.68% on CIFAR-10 with over 25$\times$ fewer parameters than a 10-layer CNN. Encoding choice also matters: rotation-based encodings (RX, RY, U3) outperform amplitude encoding by 22-25 points on CIFAR-10. These results demonstrate that automated circuit discovery yields compact quantum modules that can replace larger classical components in vision architectures while retaining competitive accuracy.

cs.NE↗

Domain Feature Collapse: Implications for Out-of-Distribution Detection and Solutions

Why do state-of-the-art OOD detection methods exhibit catastrophic failure when models are trained on single-domain datasets? We provide the first theoretical explanation for this phenomenon through the lens of information theory. We prove that supervised learning on single-domain data inevitably produces domain feature collapse -- representations where I(x_d; z) = 0, meaning domain-specific information is completely discarded. This is a fundamental consequence of information bottleneck optimization: models trained on single domains (e.g., medical images) learn to rely solely on class-specific features while discarding domain features, leading to catastrophic failure when detecting out-of-domain samples (e.g., achieving only 53% FPR@95 on MNIST). We extend our analysis using Fano's inequality to quantify partial collapse in practical scenarios. To validate our theory, we introduce Domain Bench, a benchmark of single-domain datasets, and demonstrate that preserving I(x_d; z) > 0 through domain filtering (using pretrained representations) resolves the failure mode. While domain filtering itself is conceptually straightforward, its effectiveness provides strong empirical evidence for our information-theoretic framework. Our work explains a puzzling empirical phenomenon, reveals fundamental limitations of supervised learning in narrow domains, and has broader implications for transfer learning and when to fine-tune versus freeze pretrained models.

cs.LG↗

Beyond the Class Subspace: Teacher-Guided Training for Reliable Out-of-Distribution Detection in Single-Domain Models

Out-of-distribution (OOD) detection methods perform well on multi-domain benchmarks, yet many practical systems are trained on single-domain data. We show that this regime induces a geometric failure mode, Domain-Sensitivity Collapse (DSC): supervised training compresses features into a low-rank class subspace and suppresses directions that carry domain-shift signal. We provide theory showing that, under DSC, distance- and logit-based OOD scores lose sensitivity to domain shift. We then introduce Teacher-Guided Training (TGT), which distills class-suppressed residual structure from a frozen multi-domain teacher (DINOv2) into the student during training. The teacher and auxiliary head are discarded after training, adding no inference overhead. Across eight single-domain benchmarks, TGT yields large far-OOD FPR@95 reductions for distance-based scorers: MDS improves by 11.61 pp, ViM by 10.78 pp, and kNN by 12.87 pp (ResNet-50 average), while maintaining or slightly improving in-domain OOD and classification accuracy.

cs.LG↗

Investigating Quantum Circuit Designs Using Neuro-Evolution

Designing effective quantum circuits remains a central challenge in quantum computing, as circuit structure strongly influences expressivity, trainability, and hardware feasibility. Current approaches, whether using manually designed circuit templates, fixed heuristics, or automated rules, face limitations in scalability, flexibility, and adaptability, often producing circuits that are poorly matched to the specific problem or quantum hardware. In this work, we propose the Evolutionary eXploration of Augmenting Quantum Circuits (EXAQC), an evolutionary approach to the automated design and training of parameterized quantum circuits (PQCs) which leverages and extends on strategies from neuroevolution and genetic programming. The proposed method jointly searches over gate types, qubit connectivity, parameterization, and circuit depth while respecting hardware and noise constraints. The method supports both Qiskit and Pennylane libraries, allowing the user to configure every aspect. This work highlights evolutionary search as a critical tool for advancing quantum machine learning and variational quantum algorithms, providing a principled pathway toward scalable, problem-aware, and hardware-efficient quantum circuit design. Preliminary results demonstrate that circuits evolved on classification tasks are able to achieve over 90% accuracy on most of the benchmark datasets with a limited computational budget, and are able to emulate target circuit quantum states with high fidelity scores.

cs.NE↗

Directly Learning Stock Trading Strategies Through Profit Guided Loss Functions

Stock trading has always been a challenging task due to the highly volatile nature of the stock market. Making sound trading decisions to generate profit is particularly difficult under such conditions. To address this, we propose four novel loss functions to drive decision-making for a portfolio of stocks. These functions account for the potential profits or losses based with respect to buying or shorting respective stocks, enabling potentially any artificial neural network to directly learn an effective trading strategy. Despite the high volatility in stock market fluctuations over time, training time-series models such as transformers on these loss functions resulted in trading strategies that generated significant profits on a portfolio of 50 different S&P 500 company stocks as compared to a benchmark reinforcment learning techniques and a baseline buy and hold method. As an example, using 2021, 2022 and 2023 as three test periods, the Crossformer model adapted with our best loss function was most consistent, resulting in returns of 51.42%, 51.04% and 48.62% respectively. In comparison, the best performing state-of-the-art reinforcement learning methods, PPO and DDPG, only delivered maximum profits of around 41%, 2.81% and 41.58% for the same periods. The code is available at https://anonymous.4open.science/r/bandit-stock-trading-58C8/README.md.

cs.LG↗

Fuzzy Mutation Embedded Hybrids of Gravitational Search and Particle Swarm Optimization Methods for Engineering Design Problems

Gravitational Search Algorithm (GSA) and Particle Swarm Optimization (PSO) are nature-inspired, swarm-based optimization algorithms respectively. Though they have been widely used for single-objective optimization since their inception, they suffer from premature convergence. Even though the hybrids of GSA and PSO perform much better, the problem remains. Hence, to solve this issue we have proposed a fuzzy mutation model for two hybrid versions of PSO and GSA - Gravitational Particle Swarm (GPS) and PSOGSA. The developed algorithms are called Mutation based GPS (MGPS) and Mutation based PSOGSA (MPSOGSA). The mutation operator is based on a fuzzy model where the probability of mutation has been calculated based on the closeness of particle to population centroid and improvement in the particle value. We have evaluated these two new algorithms on 23 benchmark functions of three categories (unimodal, multi-modal and multi-modal with fixed dimension). The experimental outcome shows that our proposed model outperforms their corresponding ancestors, MGPS outperforms GPS 13 out of 23 times (56.52%) and MPSOGSA outperforms PSOGSA 17 times out of 23 (73.91 %). We have also compared our results against those of recent optimization algorithms such as Sine Cosine Algorithm (SCA), Opposition-Based SCA, and Volleyball Premier League Algorithm (VPL). In addition, we have applied our proposed algorithms on some classic engineering design problems and the outcomes are satisfactory. The related codes of the proposed algorithms can be found in this link: Fuzzy-Mutation-Embedded-Hybrids-of-GSA-and-PSO.

cs.NE↗