Search arXiv⌕ Search

arXiv subjects

Sankalp Pandey

Publications and source records attributed to Sankalp Pandey.

10 recordsLinked to original sources

OpenQlaw-v2: A Unified Agentic AI Assistant for Analysis of 2D Quantum Materials

Interactive inspection of two-dimensional (2D) quantum materials requires visual characterization and reasoning over successive requests. The existing OpenQlaw workflow uses a general-purpose agent to coordinate a separate material-analysis expert, requiring two model deployments. In this work, we introduce OpenQlaw-v2, a unified agentic artificial intelligence (AI) assistant that extends a physics-aware multimodal model from a material-analysis expert to the central reasoning agent. We adapt its language component using tool-use conversations generated from executable inspection tasks. The same checkpoint operates in two modes. Task reasoning is performed with the adapter enabled, while image analysis uses the original model with the adapter disabled. Image-specific records retain observations and calibration across requests, supporting deterministic counting, ranking, calibrated bounding-box measurement and visual annotation. We compare OpenQlaw-v2 with the original two-model workflow and an unadapted domain expert. The results show that adaptation improves tool coordination while preserving the original characterization outputs. The unified approach reduces serving requirements and supports multi-turn inspection, although the separate orchestrator completes full workflows more reliably. These findings demonstrate the potential of adapting a domain expert into an inspection agent for material selection and fabrication planning.

cs.LG↗

CLIFF: Continual Learning for Incremental Flake Features in 2D Material Identification

Identifying flakes of the desired thickness is crucial for selecting candidate materials for quantum devices. Automated layer classification from optical microscopy remains challenging because different thicknesses can produce similar optical signatures, and flake appearance varies across materials. As new materials are introduced, a classifier must learn to recognize their layer classes while retaining its ability to identify flakes from previously learned materials. This paper proposes a new Continual-Learning Framework for Flake Layer Classification (CLIFF). The proposed framework freezes the backbone and base head after training on a reference material. For each new material, it learns a material-specific prompt pool, embedding, and delta head. Together, these components predict the material and thickness from the flake crop alone. Training incorporates memory replay with knowledge distillation. CLIFF achieves higher mean accuracy across learning stages, higher final accuracy, and lower average forgetting than naive fine-tuning and Learning-to-Prompt (L2P) across three training seeds on a grouped four-material benchmark.

cs.CV↗

OpenQlaw: An Agentic AI Assistant for Analysis of 2D Quantum Materials

Physics-aware multimodal large language models (MLLMs) can localize and characterize two-dimensional (2D) material flakes from optical microscopy images, producing rich candidate observations and scientific reasoning. However, downstream workflows also require reliable operations over these outputs, including counting, selection, measurement, and rendering. We present OpenQlaw, a tool-using agentic artificial intelligence (AI) system that connects a general vision-language orchestrator with Physics-Aware Instruction Tuning (QuPAINT), a physics-aware domain expert. Through evaluation on fully reviewed optical microscopy images, we show that summary counts derived from longer free-form candidate enumerations can become inconsistent with the underlying returned observations. Controlled replay experiments further show that structuring the same observations alone does not resolve this behavior, while deterministic delegation returns the exact requested record count in all cohort trials. To address this, we introduce State-Grounded OpenQlaw, which converts expert outputs into image-scoped observation records and performs deterministic scientific operations over explicitly identified records with refusal conditions when required information is unavailable. This preserves the expert's original analysis while making downstream operations exact over the selected record and independently evaluable from candidate-list discrepancies.

cs.CV↗

DiPACT: Distributional Preference Alignment Approach to Continual Quantum Material Characterization

Vision-language models enable instruction-guided localization and recognition of two-dimensional quantum material flakes in microscopy images. Characterizing the atomic layer counts of these flakes is essential for selecting candidates with the desired properties for next-generation device fabrication, but this identification is challenged by similar optical signatures across layer classes and substantial appearance variation within each class. As new materials are introduced, models must learn these subtle visual distinctions while retaining earlier knowledge. Conventional Direct Preference Optimization (DPO) ranks correct and incorrect characterizations individually, without aggregating the same visual distinction across images. We introduce Distributional Preference Alignment for Continual Training (DiPACT), which groups preferences sharing a directed correction and optimizes a smooth minimum of their margins. The objective emphasizes weak comparisons and aligns each group with a frozen reference selected for earlier or newly introduced classes. Our analysis connects the objective to Fisher discrimination under linear-Gaussian assumptions and bounds the loss of previously correct preference rankings under comparison coverage. We also present the Continual Material Annotated Dataset (CoMAt), combining 205,362 expert-reviewed in-house annotations with public microscopy data for layer- and material-incremental evaluation. Experiments demonstrate state-of-the-art continual learning and fine-grained characterization performance among the evaluated methods, with benefits extending to visual recognition beyond the materials domain.

cs.CV↗

Agentic Multi-Turn Reasoning: A Fairness Approach

Recent advances in Large Language Models (LLMs) have enabled agentic systems capable of solving complex tasks through multi-turn planning, tool use, verification, and memory updates. However, learning agentic systems remains difficult due to two fundamental challenges, i.e., (1) long-horizon credit assignment, where supervision is available only at the final outcome, and (2) imbalanced data distributions, where dominant data patterns bias optimization and weaken adaptation to rare but informative reasoning behaviors. In this paper, we propose Fair Multi-Level Preference Optimization (Fair-MPO or $Φ$-MPO), a new preference optimization framework for agentic learning. We first show that Multi-Level Preference Optimization provides a principled and more computationally efficient framework for long-horizon reasoning. Then, we introduce a Fair Multi-Level Objective that addresses imbalance in agentic learning. We provide a comprehensive theoretical analysis demonstrating that our approach addresses both long-horizon reasoning and data imbalance. Our experiments on agentic reasoning benchmarks demonstrate that our approach achieves State-of-the-Art (SOTA) performance.

cs.AI↗

QuPAINT: Physics-Aware Multimodal Reasoning for Quantum Material Characterization

Characterizing two-dimensional (2D) quantum materials by optical microscopy requires localizing exfoliated flakes and determining their layer thickness from subtle optical contrast and interference color to select suitable flakes for device fabrication. However, models face synthetic-to-real domain shifts and variation across materials, substrates, laboratories, and imaging conditions. We present QuPAINT, a physics-aware multimodal framework for transferable quantum flake characterization. The Synthetic Materials Framework (Synthia) generates diverse synthetic microscopy images while preserving layer-dependent optical behavior. Using these images, we construct QMat-Instruct, a multimodal instruction dataset with image-specific reasoning traces generated from verified annotations and constrained to observable optical cues. QuPAINT integrates these signals through Physics-Informed Attention (PIA), which injects substrate-relative optical priors into the visual representation to support grounded multimodal reasoning. For evaluation, we introduce QF-Bench, to our knowledge, the largest real-world benchmark for this problem, spanning diverse microscopy and substrate conditions. Using its verified annotations, we study counting, visual grounding, reasoning quality, confidence calibration, and transfer to an unseen material. QuPAINT-8B substantially outperforms prior methods and establishes state-of-the-art performance for both general and monolayer flake detection. Additional experiments show that image-grounded supervision improves strict spatial grounding and confidence calibration while preserving robust general flake detection on the unseen material.

cs.CV↗

QLAM: A Quantum Long-Attention Memory Approach to Long-Sequence Token Modeling

Modeling long-range dependencies in sequential data remains a central challenge in machine learning. Transformers address this challenge through attention mechanisms, but their quadratic complexity with respect to sequence length limits scalability to long contexts. State-space models (SSMs) provide an efficient alternative with linear-time computation by evolving a latent state through recurrent updates, but their memory is typically formed via additive or linear transitions, which can limit their ability to capture complex global interactions across tokens. In this work, we introduce one of the first studies to leverage the superposition property of quantum systems to enhance state-based sequence modeling. In particular, we propose Quantum Long-Attention Memory (QLAM), a hybrid quantum-classical memory mechanism that can be viewed as a quantum extension of state-space models. Instead of maintaining a classical latent state updated through additive dynamics, QLAM represents the hidden state as a quantum state whose amplitudes encode a superposition of historical information. The state evolves through parameterized quantum circuits conditioned on the input, enabling a non-classical, globally update mechanism. In this way, QLAM preserves the recurrent and linear-time structure of SSMs while fundamentally enriching the memory representation through quantum superposition. Unlike attention mechanisms that explicitly compute pairwise interactions, QLAM implicitly captures global dependencies through the evolution of the quantum state, and retrieves task-relevant information via query-dependent measurements. We evaluate QLAM on sequential variants of standard image classification benchmarks, including sMNIST, sFashion-MNIST, and sCIFAR-10, where images are flattened into token sequences. Across all tasks, QLAM consistently improves over recurrent baselines and transformer-based models.

cs.LG↗

QuPAINT: Physics-Aware Instruction Tuning Approach to Quantum Material Discovery

Characterizing two-dimensional quantum materials from optical microscopy images is challenging due to the subtle layer-dependent contrast, limited labeled data, and significant variation across laboratories and imaging setups. Existing vision models struggle in this domain since they lack physical priors and cannot generalize to new materials or hardware conditions. This work presents a new physics-aware multimodal framework that addresses these limitations from both the data and model perspectives. We first present Synthia, a physics-based synthetic data generator that simulates realistic optical responses of quantum material flakes under thin-film interference. Synthia produces diverse and high-quality samples, helping reduce the dependence on expert manual annotation. We introduce QMat-Instruct, the first large-scale instruction dataset for quantum materials, comprising multimodal, physics-informed question-answer pairs designed to teach Multimodal Large Language Models (MLLMs) to understand the appearance and thickness of flakes. Then, we propose Physics-Aware Instruction Tuning (QuPAINT), a multimodal architecture that incorporates a Physics-Informed Attention module to fuse visual embeddings with optical priors, enabling more robust and discriminative flake representations. Finally, we establish QF-Bench, a comprehensive benchmark spanning multiple materials, substrates, and imaging settings, offering standardized protocols for fair and reproducible evaluation.

cs.CV↗

$φ$-Adapt: A Physics-Informed Adaptation Learning Approach to 2D Quantum Material Discovery

Characterizing quantum flakes is a critical step in quantum hardware engineering because the quality of these flakes directly influences qubit performance. Although computer vision methods for identifying two-dimensional quantum flakes have emerged, they still face significant challenges in estimating flake thickness. These challenges include limited data, poor generalization, sensitivity to domain shifts, and a lack of physical interpretability. In this paper, we introduce one of the first Physics-informed Adaptation Learning approaches to overcome these obstacles. We focus on two main issues, i.e., data scarcity and generalization. First, we propose a new synthetic data generation framework that produces diverse quantum flake samples across various materials and configurations, reducing the need for time-consuming manual collection. Second, we present $φ$-Adapt, a physics-informed adaptation method that bridges the performance gap between models trained on synthetic data and those deployed in real-world settings. Experimental results show that our approach achieves state-of-the-art performance on multiple benchmarks, outperforming existing methods. Our proposed approach advances the integration of physics-based modeling and domain adaptation. It also addresses a critical gap in leveraging synthesized data for real-world 2D material analysis, offering impactful tools for deep learning and materials science communities.

cs.CV↗

QMoE: A Quantum Mixture of Experts Framework for Scalable Quantum Neural Networks

Quantum machine learning (QML) has emerged as a promising direction in the noisy intermediate-scale quantum (NISQ) era, offering computational and memory advantages by harnessing superposition and entanglement. However, QML models often face challenges in scalability and expressiveness due to hardware constraints. In this paper, we propose quantum mixture of experts (QMoE), a novel quantum architecture that integrates the mixture of experts (MoE) paradigm into the QML setting. QMoE comprises multiple parameterized quantum circuits serving as expert models, along with a learnable quantum routing mechanism that selects and aggregates specialized quantum experts per input. The empirical results from the proposed QMoE on quantum classification tasks demonstrate that it consistently outperforms standard quantum neural networks, highlighting its effectiveness in learning complex data patterns. Our work paves the way for scalable and interpretable quantum learning frameworks.

quant-ph↗