arXiv Science⌕ Search

arXiv subjects

Shubham Gupta

Publications and source records attributed to Shubham Gupta.

At least 19 recordsLinked to original sources

Definitions, Label Names, or Demonstrations? Auditing What Governs LLM Annotation

Large language models (LLMs) are increasingly used to annotate social-science texts, but high accuracy does not establish that they apply researcher-supplied category definitions: predictions may instead reflect prior associations with category labels or labeled demonstrations. We introduce a counterfactual audit that reassigns definitions among output labels, distinguishing adherence to supplied definitions from preservation of a dataset's original mapping. Across three political-text datasets, models rarely follow reassigned definitions, and standard fine-tuning strengthens the original mapping without reliably increasing definition adherence. We then study retrieval-augmented annotation. Retrieving the nearest training examples generally outperforms retrieving examples separately within each category despite using fewer demonstrations. On the two tasks with substantial gains, direct \(k\)-nearest-neighbor classification recovers 74--93\% of the improvement, indicating that neighborhood labels provide much of the predictive signal. Relabeling fixed demonstrations redirects predictions, whereas aligning demonstrations with reassigned definitions substantially increases adherence to the new mapping. Thus, accuracy-improving interventions need not increase codebook adherence; definitions, category labels, demonstrations, retrieval, and training data should be aligned and validated jointly.

cs.AI↗

Grounded Exploration for Open-Ended Image Editing

Open-ended image-editing requests, such as ``decorate this room,'' admit multiple valid realizations. Direct sampling may produce ungrounded variation, whereas explicit diversity prompting often produces superficial differences. We study how to ground these requests without prematurely eliminating their legitimate ambiguity. We introduce a two-stage framework that first identifies diverse, feasible edit scopes and then realizes them as executable edit instructions. Across 300 open-ended image-editing tasks, our approach achieves 24.6% higher mean semantic dispersion and 17.1% higher mean groundedness than direct diversity prompting, while producing more valid and distinct realizations. These results show that structuring feasible edit directions before realization supports more useful grounded exploration.

cs.CV↗

Closing the Modality Gap via Simplex-Constrained Representations

While multimodal contrastive models like CLIP and CLAP successfully learn shared representations, their embeddings typically exhibit a persistent \emph{modality gap}. We propose addressing this separation through a purely geometric approach: changing the embedding domain from the unit sphere, $S^{d-1}$, to the probability simplex, $Δ^{d-1}$. Although both manifolds share the same intrinsic dimension, the simplex acts as a structural prior; its nonnegative, unit-mass constraints serve as a cross-modal calibration that forces both modalities to ground themselves in the same coordinate system. By attaching lightweight softmax adapters and using Total Variation similarity, we reduce the centroid $\ell_2$ gap by 97--99\% across five multimodal retrieval benchmarks. This confirms that simplicial geometry induces genuine semantic alignment, matching or exceeding the retrieval performance of standard unconstrained models.

cs.AI↗

What Shapes the Ultraviolet Spectra of Type Ia Supernovae?

Ultraviolet (UV) observations of Type Ia supernovae (SNe Ia) exhibit significant diversity, but their physical origin remains poorly understood. We investigate UV spectra of SNe Ia observed with the Swift UltraViolet and Optical Telescope. Our expanded pre-maximum sample probes dependencies on decline rate, ejecta properties, and host environment. We recover the correlation between UV flux and decline rate near maximum in the near-UV (NUV), and find correlations at pre-maximum phases in both the NUV and mid-UV (MUV). This trend is strongly wavelength dependent, with slow decliners showing higher NUV but lower MUV flux than fast decliners. Synthetic TARDIS spectra varying the 56Ni abundance show that enhanced 56Ni suppresses the MUV while increasing the NUV, broadly reproducing the trend. We find no significant correlation between UV flux and ejecta velocity, while Si II 6355 pEW shows trends similar to those with decline rate. We also find no significant correlations with host-galaxy properties, although host environment may contribute to the remaining UV diversity among SNe with similar decline rates. Early-excess SNe show enhanced flux mainly in the NUV rather than a broad UV excess, suggesting that strong circumstellar interaction is not necessarily required to explain the observed excess emission. Peculiar subclasses show distinct UV properties, with brighter and hotter subclasses showing higher UV flux, although the current sample is small and does not cover all SN Ia subtypes. Our results suggest that the UV diversity of SNe Ia is shaped by multiple mechanisms that contribute differently across the UV wavelength range.

astro-ph.HE↗

PiSAs: Benchmarking Contextual Integrity in Multi-User Agentic Systems

As LLM agents evolve from single-user assistants into shared organizational infrastructure, new privacy risks emerge: inappropriate information may not only be exposed through outputs for external recipients, but also internally across users through inter-agent messages, shared memory and user-agent interactions. These data spillage risks are not captured by existing privacy benchmarks grounded in contextual integrity (CI) as they focus primarily on either single-user settings or interactions between independently owned agents. We introduce PiSAs (Privacy in Shared Agentic Systems), a benchmark for assessing unintentional leaks with dual CI annotations: whether a piece of information is appropriate for the task, and which users may legitimately access it. This enables direct measurement of cross-user spillage across agentic system components and interfaces, such as outputs, inter-agent communication, and memory. PiSAs is system-agnostic and supports evaluation across different agent topologies and memory regimes. We find that, although system design improves CI compliance, results are bottlenecked by incorrect LLM judgment calls: even state-of-the-art models fail to reliably filter inappropriate content or restrict transmission to authorized users. Our findings underscore the need for privacy-preserving strategies, beyond those studied in this work.

cs.MA↗

Dr-CiK: A Benchmark testing Deep Research for Context-Aided Forecasting

Time series forecasting in real-world settings often depends not only on historical observations, but also on external context that must be actively discovered from noisy, heterogeneous information sources. Yet existing context-aided forecasting benchmarks typically assume that the supporting context is already provided, leaving open whether agents can identify it on their own. Therefore, we introduce Dr-CiK, a benchmark for evaluating whether agents can retrieve forecasting-relevant supporting context from a document corpus, filter out distractors, distill the retrieved context into forecast-useful evidence, and generate forecasts supported by that evidence. Through context ablations and evaluations of state-of-the-art deep research and forecasting methods paired together, we show that high-quality context substantially improves forecasting performance in Dr-CiK. However, existing DR methods recover limited ground-truth supporting evidence, are frequently misled by distractors, and can cause forecasters to perform worse with retrieved context than without context. Our results motivate research on agents that search for the right context to predict the future.

cs.AI↗

SNIP++: Fine-Grained Symbolic-Numerical Alignment for Symbolic Regression

Mathematical expressions and the numerical behavior they produce are two views of the same underlying function, and connecting them is central to scientific discovery. Symbolic Regression (SR) relies on this connection directly: it searches for an expression that reproduces a given behavior. Recent multi-modal models learn this connection by embedding symbolic expressions and their numerical behavior in a shared representation space. We show that this embedding space is only globally aligned: complete expressions correspond to complete behaviors, but the contribution of individual parts of an expression is not represented. This granularity gap leaves the model unable to tell how a local edit to an expression changes its behavior, the central operation in SR. We introduce a compositional alignment method that closes this gap: a structural positional encoding exposes the substructure of an expression to the encoder, and a multi-granularity contrastive objective grounds each subexpression in the behavior it produces before propagating this grounding to the full expression. The resulting representations close much of the modality gap between symbolic and numerical embeddings, reliably distinguish the effects of local edits that the original alignment cannot, and transfer to external SR corpora.

cs.NE↗

Critical discrete Hardy inequalities in $L^p$

We establish ground-state representations and critical Hardy inequalities in the discrete $L^p$ setting. In particular, we construct critical Hardy weights for the discrete Dirichlet Laplacian on the half-line and the discrete fractional Laplacian on the integers for all $p\in(1,\infty)$. Our approach uses Sobolev--Bregman forms, for which the ground-state representations are exact identities and the corresponding Hardy weights are expressed through linear operators acting on powers of positive superharmonic functions.

math.CA↗

On $\mathcal{B}^4$-almost periodicity for a class of arithmetical functions

In this paper, we establish the $\mathcal{B}^4$-almost periodicity in the sense of Besicovitch for a suitably normalized error term associated with a broad class of arithmetical functions introduced by Chandrasekharan and Narasimhan. This result significantly strengthens $\mathcal{B}^2$-almost periodicity previously investigated in the literature for related error terms. By deriving truncated Voronoï-type formulas, we demonstrate that the normalized error term lies in the Besicovitch space $B^4$. As a consequence, we deduce that the error term admits a limit probability distribution and establish an explicit formula for its mean fourth power moment.

math.NT↗

Sharp asymptotics for higher-order Hardy constants on lattices

We study the optimal constants in higher-order Hardy inequalities on the lattice $\mathbb{Z}^d$. For each fixed $\ell \in \mathbb{N}$, we prove that the optimal constant $\mathcal{C}_\text{opt}^\ell(d)$ in $$ \sum_{n \in \mathbb{Z}^d} |Δ^{\ell/2}u(n)|^2 \geq \mathcal{C}_\text{opt}^\ell(d)\sum_{n \in \mathbb{Z}^d} \frac{|u(n)|^2}{|n|^{2\ell}}. $$ satisfies $$ \lim_{d\rightarrow\infty}\frac{\mathcal{C}_\text{opt}^\ell(d)}{d^\ell} =2^\ell. $$ The proof is based on a Fourier reduction to a family of singular Hardy inequalities on the flat torus, involving the weight \[ ω(x)^{-2\ell}, \qquad ω(x)^2=\sum_{j=1}^d\sin^2\left(\frac{x_j}{2}\right), \] and zero average condition on admissible functions. We establish these torus inequalities by combining a ground state representation formula with a weighted integrated Bochner identity in an iterative scheme. The method yields explicit constants, defined recursively in the order $\ell$, and requires only the classical unweighted Poincaré inequality on the torus. The appearance of the limiting constant $2^\ell$ is particularly striking, as it suggests that, in the high dimensional regime, the optimizers are localized near the unit sphere $\{n\in\mathbb{Z}^d:|n|=1\}$ in $\mathbb{Z}^d$.

math.FA↗

Enhancing Audio Captioning with Auxiliary AudioSet Semantics

Automatic Audio Captioning (AAC) seeks to generate natural language descriptions of complex acoustic scenes, bridging auditory perception and language understanding. However, word-selection indeterminacy and increasing reliance on large-scale sequence-to-sequence or LLM-based models limit practical deployment. We propose a resource-efficient AAC framework that explicitly grounds caption generation in auxiliary AudioSet semantics. Frame-level acoustic representations extracted using a ConvNeXt encoder are augmented with top-$K$ predicted AudioSet keywords, providing structured contextual cues for decoding. A compact six-layer BART-style decoder conditions on this joint acoustic-semantic representation, enabling caption generation without LLM-scale decoding. The proposed design balances semantic grounding and computational efficiency within a compact architecture. Evaluations on Clotho V2 and AudioCaps confirm competitive caption quality under practical deployment constraints.

eess.AS↗

HeartBeatAI: An Interpretable and Robust Deep Learning Framework for Multi-Label ECG Arrhythmia Detection

While Deep Learning (DL) enhances automated electrocardiogram (ECG) analysis, clinical deployment is hindered by class imbalance and the generalization gap. This paper presents HeartBeatAI, a deep learning framework combining domain generalization, multi-scale feature aggregation, and clinical explainability for robust 12-lead ECG classification. Moving beyond image-based paradigms, HeartBeatAI integrates a Squeeze-and-Excitation (SE) ResNet to isolate diagnostic leads alongside a Multi-Layer Concentration Pipeline to capture macro-rhythm and micro-morphological anomalies. To mitigate domain shift, the framework employs MixStyle regularization and Label Smoothing. Rigorous benchmarking across four large-scale datasets using intra-source and Leave-One-Domain-Out (LODO) protocols demonstrates high performance (98% Macro F1-score) under intra-source conditions. However, LODO evaluations reveal significant degradation in detecting rare anomalies, highlighting a persistent challenge in cross-institutional deployment.

cs.AI↗

Shared Representation Learning for Reference-Guided Targeted Sound Detection

Human listeners exhibit the remarkable ability to segregate a desired sound from complex acoustic scenes through selective auditory attention, motivating the study of Targeted Sound Detection (TSD). The task requires detecting and localizing a target sound in a mixture when a reference audio of that sound is provided. Prior approaches, rely on generating a sound-discriminative conditional embedding vector for the reference and pairing it with a mixture encoder, jointly optimized with a multi-task learning approach. In this work, we propose a unified encoder architecture that processes both the reference and mixture audio within a shared representation space, promoting stronger alignment while reducing architectural complexity. This design choice not only simplifies the overall framework but also enhances generalization to unseen classes. Following the multi-task training paradigm, our method achieves substantial improvements over prior approaches, surpassing existing methods and establishing a new state-of-the-art benchmark for targeted sound detection, with a segment-level F1 score of 83.15% and an overall accuracy of 95.17% on the URBAN-SED dataset.

eess.AS↗

Hierarchical Retrieval at Scale: Bridging Transparency and Efficiency

Information retrieval is a core component of many intelligent systems as it enables conditioning of outputs on new and large-scale datasets. While effective, the standard practice of encoding data into high-dimensional representations for similarity search entails large memory and compute footprints, and also makes it hard to inspect the inner workings of the system. Hierarchical retrieval methods offer an interpretable alternative by organizing data at multiple granular levels, yet do not match the efficiency and performance of flat retrieval approaches. In this paper, we propose Retreever, a tree-based method that makes hierarchical retrieval viable at scale by directly optimizing its structure for retrieval performance while naturally providing transparency through meaningful semantic groupings. Our method offers the flexibility to balance cost and utility by indexing data using representations from any tree level. We show that Retreever delivers strong coarse (intermediate levels) and fine representations (terminal level), while achieving the highest retrieval accuracy at the lowest latency among hierarchical methods. These results demonstrate that this family of techniques is viable in practical applications.

cs.IR↗

Joint Multimodal Contrastive Learning for Robust Spoken Term Detection and Keyword Spotting

Acoustic Word Embeddings (AWEs) improve the efficiency of speech retrieval tasks such as Spoken Term Detection (STD) and Keyword Spotting (KWS). However, existing approaches suffer from limitations, including unimodal supervision, disjoint optimization of audio-audio and audio-text alignment, and the need for task-specific models. To address these shortcomings, we propose a joint multimodal contrastive learning framework that unifies both acoustic and cross-modal supervision in a shared embedding space. Our approach simultaneously optimizes: (i) audio-text contrastive learning, inspired by the CLAP loss, to align audio and text representations and (ii) audio-audio contrastive learning, via Deep Word Discrimination (DWD) loss, to enhance intra-class compactness and inter-class separation. The proposed method outperforms existing AWE baselines on word discrimination task while flexibly supporting both STD and KWS. To our knowledge, this is the first comprehensive approach of its kind.

cs.SD↗

Private Map-Secure Reduce: Infrastructure for Efficient AI Data Markets

The modern AI data economy centralizes power, limits innovation, and misallocates value by extracting data without control, privacy, or fair compensation. We introduce Private Map-Secure Reduce (PMSR), a network-native paradigm that transforms data economics from extractive to participatory through cryptographically enforced markets. Extending MapReduce to decentralized settings, PMSR enables computation to move to the data, ensuring verifiable privacy, efficient price discovery, and incentive alignment. Demonstrations include large-scale recommender audits, privacy-preserving LLM ensembling (87.5\% MMLU accuracy across six models), and distributed analytics over hundreds of nodes. PMSR establishes a scalable, equitable, and privacy-guaranteed foundation for the next generation of AI data markets.

cs.CR↗

Data-driven learning of feedback maps for explicit robust predictive control: an approximation theoretic view

We establish an algorithm to learn feedback maps from data for a class of robust model predictive control (MPC) problems. The algorithm accounts for the approximation errors due to the learning directly at the synthesis stage, ensuring recursive feasibility by construction. The optimal control problem consists of a linear noisy dynamical system, a quadratic stage and quadratic terminal costs as the objective, and convex constraints on the state, control, and disturbance sequences; the control minimizes and the disturbance maximizes the objective. We proceed via two steps -- (a) Data generation: First, we reformulate the given minmax problem into a convex semi-infinite program and employ recently developed tools to solve it in an exact fashion on grid points of the state space to generate (state, action) data. (b) Learning approximate feedback maps: We employ a couple of approximation schemes that furnish tight approximations within preassigned uniform error bounds on the admissible state space to learn the unknown feedback policy. The stability of the closed-loop system under the approximate feedback policies is also guaranteed under a standard set of hypotheses. Two benchmark numerical examples are provided to illustrate the results.

math.OC↗

Diophantine tuples and Integral Ideals of $\mathbb{Q}(\sqrt{d})$

Suppose $n$ is the fundamental discriminant associated with a quadratic extension of $\mathbb{Q}$. We show that for every Diophantine $m$-tuple $ \{t_1, t_2, \ldots, t_m\} $ with the property $ D(n) $, there exists integral ideals $ \mathfrak{t}_1, \mathfrak{t}_2, \ldots, \mathfrak{t}_m $ of $ \mathbb{Q}(\sqrt{n}) $ and $c\in \{1,2\}$ such that $ t_i= c\mathcal{N}(\mathfrak{t}_i) $ for $ i=1,2, \ldots, m $. Here, $ \mathcal{N}(\cdot) $ denotes the norm map from $\mathbb{Q}(\sqrt{n})$ to $\mathbb{Q}$. Moreover, we explicitly construct the above ideals for Diophantine pairs $\{a_1, a_2\}$ whenever $\gcd(a_1, a_2) = 1$.

math.NT↗