Search arXiv⌕ Search

arXiv subjects

Arnav Gupta

Publications and source records attributed to Arnav Gupta.

8 recordsLinked to original sources

CogArch: An Empirical Study of Human-Inspired Components in a Self-Improving Language Model Team

Language models, when repeatedly fine-tuned on their correct answers, can become more accurate on some problems while losing the ability to solve others. We build CogArch (Cognitive Architecture), a team made up of one small language model whose design draws on how people solve problems. People often look at a problem in several ways (logically, creatively, or emotionally) and draw on memories of similar problems. CogArch therefore runs one model (Qwen2.5-1.5B-Instruct) as four persona-prompted specialists and a coordinator that learns which of their answers to submit, with an episodic memory of past problems. The team is retrained on whether its answers were correct after every 100 practice problems. In 21 preregistered runs, we remove one component at a time and compare the team on eight benchmarks with majority voting, multi-agent debate, and mixture-of-agents. We find that the specialists together often hold a correct answer that a single specialist misses, and the coordinator learns to select it more often than majority voting. Without memory, the range of problems that at least one specialist solves does not narrow during training, and the trained team improves over its untrained version on all eight benchmarks. It also has a higher average than the multi-call baselines, a lead that comes from code. Personas add little to the range of answers and lower the accuracy of most specialists. Contrary to our expectation, episodic memory lowers accuracy on questions where a similar past problem is recalled, while other questions are unaffected. Overall, our findings suggest that learning to select among several answers helps a language model improve from its own outcomes, while recalling raw past problems can lower its accuracy.

cs.AI↗

CodeWalk: Generating Coding Benchmarks by Walking a Problem Graph

High-quality coding problems are expensive to collect. Benchmarks such as SWE-bench rely on substantial human curation, while synthetic alternatives typically rely on costly model generation and validation. In this work, we show that new coding problems can be created at almost no cost by composing existing ones. We formulate problem generation as code composition: verified atomic problems are combined into level-$N$ tasks, and a task is kept only if every atomic problem remains unsolved and a joint reference solution passes the same check used at evaluation time. The entire task-construction process is programmatic and requires no language-model generation or validation. We instantiate this approach in four coding settings: multi-bug repair, proof completion, complexity analysis, and clone equivalence. The generated tasks are challenging for frontier models, which all degrade as compositional depth increases. The generated tasks are also useful as training data: rejection-sampling fine-tuning on them improves Qwen3.5-9B at every composition level.

cs.LG↗

Irreversibility condition and stability of equilibria in the inverse-deformation approach to fracture

We derive an irreversibility condition for fracture in the inverse-deformation approach using the second law of thermodynamics. We consider the problem of brittle failure in one-dimensional, homogeneous, elastic bars undergoing quasistatic motion. Despite the presence of a non-zero interfacial/surface energy, the third derivative of the inverse deformation is discontinuous at crack faces. This is due to the inequality constraint allowing fracture while ensuring that the orientation of matter is preserved. We show that any change in the location of open cracks in their reference configuration result in negative entropy production. We disallow these changes according to the second law of thermodynamics, fixing the location of cracks in their reference domain. The inequality constraint and the irreversibility condition limit the space of admissible variations. We prove second-order conditions for local stability incorporating these restrictions. Their numerical implementation shows that all broken equilibria of the elastic bar under hard loading are locally stable.

math.AP↗

The Geometry of Saturation: Effective Rank Predicts When Labels Stop Helping in Few-Shot Classification

Few-shot label acquisition lacks a label-free signal for when additional labels cease to improve accuracy: existing stopping criteria either require a held-out validation set (violating the few-shot premise) or rely on theoretically ungrounded heuristics, so we introduce the spectral saturation index $S(K)=\mathrm{erank}(\hatΣ_W^{(K)})/K$, the exponential spectral entropy of the pooled within-class covariance normalized by per-class support size $K$, which measures the exploration rate per label and falls below a fixed threshold $τ=0.02$ once the explored spectral subspace saturates and marginal accuracy gains vanish; across 49 real tasks (binary, 5-way, 10-way) and three frozen backbones (PCA-50, CLIP ViT-B/32, DINOv2 ViT-S/14), $S(K)$ correlates strongly with the marginal gain on doubling the support set ($ρ_{\text{pool}}=0.6366$, $p=2.9\times10^{-57}$, cluster-bootstrap 95\% CI $[0.551,0.720]$), a fixed $τ=0.02$ classifies stop/continue decisions with cluster-bootstrap $\mathrm{AUC}=0.787$ (95\% CI $[0.713,0.860]$) with high recall on meaningful gains ($ΔA>1\%$), and a partial correlation controlling for $\log K$ yields $ρ_{\text{partial}}=0.324$ ($p=1.65\times10^{-13}$), confirming $S(K)$ carries spectral information beyond shared $K$-dependence; theory predicts this from first principles, since the population effective rank sets the saturation scale $K_{\text{sat}}\approx\mathrm{erank}(Σ_W)/τ$, $τ=0.02$ sits at the boundary between the first and second descent (Nakkiran et al., 2021), and $O(1/K)$ bias in the sample effective rank explains the small-$K$ hump in $S(K)$; for unregularized linear probes ($C=\infty$), practitioners should halt when $S(K)<0.02$ (PCA-50, hard stop) or monitor $S(K)$ dropping from $\sim0.3\to0.05$ (foundation models, diminishing-returns signal), with computation costing $\sim1$ ms at $d=50$.

cs.LG↗

Biological Intuition on Digital Hardware: An RTL Implementation of Poisson-Encoded SNNs for Static Image Classification

The deployment of Artificial Intelligence on edge devices (TinyML) is often constrained by the high power consumption and latency associated with traditional Artificial Neural Networks (ANNs) and their reliance on intensive Matrix-Multiply (MAC) operations. Neuromorphic computing offers a compelling alternative by mimicking biological efficiency through event-driven processing. This paper presents the design and implementation of a cycle-accurate, hardware-oriented Spiking Neural Network (SNN) core implemented in SystemVerilog. Unlike conventional accelerators, this design utilizes a Leaky Integrate-and-Fire (LIF) neuron model powered by fixed-point arithmetic and bit-wise primitives (shifts and additions) to eliminate the need for complex floating-point hardware. The architecture features an on-chip Poisson encoder for stochastic spike generation and a novel active pruning mechanism that dynamically disables neurons post-classification to minimize dynamic power consumption. We demonstrate the hardware's efficacy through a fully connected layer implementation targeting digit classification. Simulation results indicate that the design achieves rapid convergence (89% accuracy) within limited timesteps while maintaining a significantly reduced computational footprint compared to traditional dense architectures. This work serves as a foundational building block for scalable, energy-efficient neuromorphic hardware on FPGA and ASIC platforms.

cs.AR↗

Understanding Virality: A Rubric based Vision-Language Model Framework for Short-Form Edutainment Evaluation

Evaluating short-form video content requires moving beyond surface-level quality metrics toward human-aligned, multimodal reasoning. While existing frameworks like VideoScore-2 assess visual and semantic fidelity, they do not capture how specific audiovisual attributes drive real audience engagement. In this work, we propose a data-driven evaluation framework that uses Vision-Language Models (VLMs) to extract unsupervised audiovisual features, clusters them into interpretable factors, and trains a regression-based evaluator to predict engagement on short-form edutainment videos. Our curated YouTube Shorts dataset enables systematic analysis of how VLM-derived features relate to human engagement behavior. Experiments show strong correlations between predicted and actual engagement, demonstrating that our lightweight, feature-based evaluator provides interpretable and scalable assessments compared to traditional metrics (e.g., SSIM, FID). By grounding evaluation in both multimodal feature importance and human-centered engagement signals, our approach advances toward robust and explainable video understanding.

cs.CV↗

Model Explainability in Physiological and Healthcare-based Neural Networks

The estimation and monitoring of SpO2 are crucial for assessing lung function and treating chronic pulmonary diseases. The COVID-19 pandemic has highlighted the importance of early detection of changes in SpO2, particularly in asymptomatic patients with clinical deterioration. However, conventional SpO2 measurement methods rely on contact-based sensing, presenting the risk of cross-contamination and complications in patients with impaired limb perfusion. Additionally, pulse oximeters may not be available in marginalized communities and undeveloped countries. To address these limitations and provide a more comfortable and unobtrusive way to monitor SpO2, recent studies have investigated SpO2 measurement using videos. However, measuring SpO2 using cameras in a contactless way, particularly from smartphones, is challenging due to weaker physiological signals and lower optical selectivity of smartphone camera sensors. The system includes three main steps: 1) extraction of the region of interest (ROI), which includes the palm and back of the hand, from the smartphone-captured videos; 2) spatial averaging of the ROI to produce R, G, and B time series; and 3) feeding the time series into an optophysiology-inspired CNN for SpO2 estimation. Our proposed method can provide a more efficient and accurate way to monitor SpO2 using videos captured from consumer-grade smartphones, which can be especially useful in telehealth and health screening settings.

cs.CV↗

Nucleation and development of multiple cracks in thin composite fibers

We study the nucleation and development of crack patterns in thin composite fibers under tension in this work. A fiber comprises an elastic core and an outer layer of a weaker brittle material. In recent tensile experiments on such composites, multiple cracks were observed to develop simultaneously on the outer layer. We propose here a simple one-dimensional model to predict such phenomenon. We idealize the problem as two axially loaded rods coupled by a linear interfacial condition. The latter can be regarded as an adhesive that resists slip between the two materials. One rod is modeled as a brittle material, and the other a linearly elastic material, both undergoing finite deformations.

math.NA↗