Search arXiv⌕ Search

arXiv subjects

Harsh Kumar

Publications and source records attributed to Harsh Kumar.

At least 19 recordsLinked to original sources

Bridging GenAI policy and practice: Brief instruction improves learning-oriented prompting in an introductory programming course

Generative artificial intelligence (GenAI) is now commonplace in higher education, yet unguided use can harm learning. Universities have responded with policies asking students to use GenAI for learning, not solutions, but how to translate these policies into classroom instruction remains untested. Here we report a randomized controlled trial with a six-week, end-of-semester follow-up (N = 431) in an introductory programming course comparing four instructional approaches, from a two-sentence reminder (Condition 1) to a multi-step constructive task (Condition 4). We found: (1) all four approaches produced learning-oriented prompting gains that persisted six weeks later and scaled with the designed engagement level, from 8 to 51 percentage points; (2) students in every condition self-reported sustained voluntary use, and confidence grew in step with skill; and (3) final examination performance did not differ between conditions, placing the possible boundary of the effects at the pathway from prompting skill to achievement. These findings provide instructors with an empirically calibrated set of options for translating GenAI-use policies into classroom practice.

cs.HC↗

Diagnosing and Repairing Persona Collapse in LLM Advice

A good advisor comforts someone in crisis, challenges someone in denial, and gives practical guidance on a logistical question. We ask whether large language models (LLMs) vary their approach in this way. We define five advisory personas based on how comforting or challenging a reply is, and whether it supports a realistic understanding of the situation and informed decision-making. Across 1,280 Reddit situations in 14 advice contexts, human replies vary systematically, while three frontier LLMs default to a standard reassuring persona. We call this narrowing persona collapse. Training models to imitate human replies broadens persona use but often turns support into enabling, and challenge into cynicism. In a blinded study (N=178), expert raters judge these replies less favorably than the baseline model's on both immediate preference and potential longer-term help. We compare 13 training methods to investigate how models can learn different approaches without sacrificing advice quality. The best combination of persona fit and advice quality comes from learning from model-written replies guided by human examples, followed by reinforcement learning with quality feedback. In a second human study (N=159), raters place this model above the baseline for anticipated longer-term help. We find that models encode information about when to comfort, challenge, or give practical guidance, but their replies do not reliably reflect these distinctions. Our training narrows this representation-action gap, while activation steering alone does not reliably improve advice quality. Better LLM advice requires learning both which persona fits a situation and how to express it constructively.

cs.CY↗

Lost in Translation: Why Lower Bias Scores Don't Mean Fairer Models

Bias audits of multilingual language models usually compare a model's average stereotype score in English with its average in another language and read the difference as a difference in fairness. We ask how much of that difference is noise. Auditing ten open models in eight languages, we measure how far scores move when English test items are merely reworded, test every language shift item by item, and check that the test catches shifts we inject on purpose. In all 70 model-language pairs the stereotype score falls below its English level, and for Hindi, Korean and Swahili the drop clearly exceeds what rewording English produces; most of it comes from StereoSet items. Judging every translation, we find that imperfect ones drop more, but faithful translations alone drop nearly as much. Still, a lower average does not show that a model is fairer. An item's English score predicts its translated score far less well than its reworded score (correlation 0.23, 0.27 on faithful translations, vs. 0.48), while scores stay as far from neutral, models agree on translated items, and within Hindi or Spanish a translated item's score correlates with its own rewording at 0.84 and 0.82. The average cannot distinguish lower bias from a different pattern of item-level scores. We also document three common pipeline errors that silently erase bias signal, and release our code.

cs.CL↗

Causal Syntax Circuits in CodeLMs: Budget and Probe Decide What Looks Localised

Code models write Python when the prompt does not say which language to use. We ask a mechanistic question about that habit: is it produced by a small, findable group of components inside the model? We run one pipeline---mean ablation, activation patching, greedy circuit extraction, a random-control significance test, and activation steering---over 55 model-language settings spanning ten open code models (five base and five instruction-tuned), three target languages (Rust, C#, PHP), two prompt suites, and two component budgets. We report five findings. First, the preference is large, grows with model size, and survives instruction tuning: it is larger on every instruction-tuned checkpoint than on its base version, by 12% on average. Second, its measured size is mostly a property of the probe; replacing our aligned prompts with XLCoST parallel functions takes the same measurement on the same models from about 1.6 to about 0.01. Third, whether the preference looks localised depends on how many components the search may keep: with a budget of 12, 1 of 15 settings yields a circuit that beats size-matched random controls after multiple-comparison correction, and with a budget of 40, 6 of 15 do. Fourth, interventions that a smaller-budget study reports as uniformly failing do sometimes succeed: patching makes a Python prompt prefer target syntax in 2 of 45 settings, and steering changes the most likely next token in 9 of 45. Fifth, every circuit whose effect is significant but points away from the target language comes from a setting where circuit extraction failed, which makes such results a diagnostic rather than a phenomenon. The practical lesson is that a claim about whether a behaviour is localised can turn on analysis choices that papers rarely report. We release the full grid so those choices can be varied.

cs.LG↗

Social Priors: Descriptions of AI Users Shape How Language Models Trust and Cooperate

Descriptions of how people use AI are becoming training data for the next generation of models. We ask whether what a model reads about its users changes how it treats people. Using contrastive synthetic-document finetuning, we train Qwen3-32B on four matched corpora built from the same 1,625 real-world usage scenarios. The corpora differ only in the predominant motive they attribute to users of AI chatbots: helping others (prosocial), exploiting others (antisocial), legitimate self-advancement, or task completion. Finetuning shifts the models' stated beliefs about users, how true those beliefs look along an internal truth direction, and their broader judgments of how safe and good the world is. These social priors carry into behavior. In trust games, antisocial models expect less reciprocity and send less money than prosocial models. Their distrust is specific and targeted at people, and users of AI chatbots in particular. After an exploitative record, they send almost nothing to a person but most of their endowment to a random device with the same record. In a common-pool resource simulation, a single antisocial agent leads every group of otherwise sustainable agents to exhaust the resource, after privately planning to mislead them. Antisocial training also raises dark-triad scores and lowers alignment ratings. Belief shifts appear when antisocial documents are 1% of training tokens, persist when descriptions of assistant behavior are suppressed, and are not reproduced by training on discourse about misaligned AI. Capping Assistant-Axis drift and steering emotion-related directions leave the gaps largely intact. What models learn about the people they serve shapes how they subsequently treat them and others.

cs.LG↗

PermaFrost-Attack: Stealth Pretraining Seeding(SPS) for planting Logic Landmines During LLM Training

Aligned large language models (LLMs) remain vulnerable to adversarial manipulation, and their reliance on web-scale pretraining creates a subtle but consequential attack surface. We study Stealth Pretraining Seeding (SPS), a threat model in which adversaries distribute small amounts of poisoned content across stealth websites, increasing the likelihood that such material is absorbed into future training corpora derived from sources such as Common Crawl. Because each individual payload is tiny, diffuse, and superficially benign, the attack is difficult to detect during dataset construction or filtering. The result is a latent form of poisoning that remains largely invisible under standard evaluation, yet can later be activated by a precise trigger such as <00TRIGGER00>. We call this attack PermaFrost, reflecting its latent and reactivatable nature. We study it through PermaFrost-Attack, a controlled framework for latent conceptual poisoning, together with three geometric diagnostics: Thermodynamic Length, Spectral Curvature, and the Infection Traceback Graph. Across multiple model families and scales, we show that this controlled SPS proxy can induce persistent unsafe behavior that often remains hidden under standard evaluation. Our results identify SPS as a practical and underappreciated threat to future foundation models. This paper introduces a novel geometric diagnostic lens for systematically examining latent model behavior, providing a principled foundation for detecting, characterizing, and understanding vulnerabilities that may remain invisible under standard evaluation.

cs.LG↗

Position: We Need Large Language Models Optimized For Our Well-Being

Large language models are useful because we taught them to give us what we want. This works when success can be judged immediately, but people increasingly bring these systems their relationships, hard decisions, and long-term goals, where what a user wants to hear and what serves them best are frequently different. We argue that LLM providers should offer at least one widely accessible, opt-in mode optimized and evaluated for long-term well-being rather than next-turn approval. This is a pressing need, as models have been found to endorse questionable framings well above human baselines, users take AI advice readily without their well-being improving, and sycophantic models raise dependence while lowering prosocial intent. The mentors, coaches, and therapists we trust with our long-term development earn that trust by being willing to say what we do not want to hear, and LLMs should do the same. We propose three principles---change the objective, give users explicit relational roles, avoid paternalism---and organize the design space around three choices the current objective makes implicitly: the horizon over which well-being is measured (When), whose interests it represents (Who), and what role the assistant plays (How).

cs.CY↗

AT 2022csn: A Photometrically Peculiar Optical/UV Tidal Disruption Event in a Type II AGN

The emission mechanism and host galaxy preference of optical/UV tidal disruption events (TDEs) are still not entirely understood. We present observations of the TDE AT 2022csn, which is one of the most distant (d_L~726 Mpc) and luminous (L_peak=2.487^(+0.073)_(-0.067)*10^(44) erg/s) optical/UV TDEs observed to date. Although it is a spectroscopically normal H+He TDE, it shows some photometric peculiarities, exhibiting a pronounced double-peaked light curve (with peaks separated by 18.30 pm 2.84 days in the g-band), and lying in the low-temperature and large-radius end of the optical/UV TDE population. The host galaxy of AT 2022csn shows evidence for a significant starburst within the last ~Gyr consistent with other optical/UV TDEs, but also narrow emission lines that place it within the Type II AGN region of the BPT diagram. Interaction between the TDE and a pre-existing AGN accretion disk might explain the peculiar photometric properties. However, it is puzzling that a TDE would be visible in a Type II AGN, where according to the AGN unification picture the central region around the supermassive black hole is obscured. We suggest a few scenarios to reconcile this. AT 2022csn together with AT 2019ahk, which shows similar properties, may belong to a new subset of low-temperature, high-radius TDEs in galaxies with Type II AGN emission features.

astro-ph.HE↗

Multiwavelength Analysis of Six Luminous Fast Blue Optical Transients

We present multiwavelength observations and analysis of six luminous fast blue optical transients (LFBOTs) discovered in Zwicky Transient Facility (ZTF) survey data. We identified these LFBOTs from their fast light-curve evolution ($t_{1/2}\leq 12 $d), blue colors at peak brightness ($g-r\leq-0.5 $mag), a visible host galaxy, high optical luminosity ($M_g<-20$), and an X-ray or radio detection. With the exception of AT2024aehp (ZTF24abygbss), these transients exhibit peaks in their $10\,$GHz radio light curves at $t_{\text{rest}} \approx 50-100$ d, with peak radio luminosities ranging from $10^{38}-10^{40}$ erg s$^{-1}$. Modeling the radio emission as synchrotron radiation indicates a fast ($v=0.1-0.3c$) shock in a dense ($n_e\approx10^{3}-10^{4}$ cm$^{-3}$) medium. The X-ray emission varies by $\approx2$ orders of magnitude in luminosity ($10^{42}-10^{44}$ erg s$^{-1}$) at $t_{\text{rest}}\sim20 $d. Analysis of the host-galaxy photometry and spectroscopy for each transient shows that they are predominantly nonnuclear (a few kpc offset) with star-forming host galaxies of stellar masses $10^{9}-10^{11} ,M_\odot$. Unlike all other LFBOTs to date, AT2024aehp exhibited a luminous ($M<-19 $mag) plateau in the optical light curve; spectra during this plateau phase showed a featureless blue continuum. The $6-15$ GHz radio emission of AT2024aehp brightened by over an order of magnitude from $t_{\text{rest}} \approx70 $d to $t_{\mathrm{rest}} \approx130 $d. The mostly consistent radio behavior between optically selected LFBOTs implies a similar circumburst medium, leading us to prefer a progenitor scenario in which mass is lost in a consistent way shortly prior to the terminal event, such as a massive star merging with a compact object.

astro-ph.HE↗

FedProIn: Mitigating Client Drift for Learnable Prototypes in Federated Medical Imaging

Federated learning (FL) is severely hindered by statistical heterogeneity due to variations in scanners, acquisition protocols, and patient populations. Such non-IID data induces client drift during local optimization, leading to unstable convergence and suboptimal global models when parameter-based aggregation is applied. We propose a prototype-based, influence-aware federated learning framework (FedProIn) that uses multiple learnable class prototypes to capture shared semantic structures across heterogeneous clients. We introduce feature divergence loss and prototype contrastive loss to mitigate client drift by decomposing it into feature drift and prototype drift. In addition, we propose a normalized influence aggregation strategy that adaptively weights client prototypes according to their contribution to the global representation, reducing the impact of biased or low-quality updates. Experimental results on two publicly available medical datasets, HAM10000 and Matek-19, demonstrate that FedProIn achieves accuracies of (83.5% IID, 81.1% non-IID) on HAM10000 and (96.2% IID, 95.8% non-IID) on Matek-19, respectively, outperforming existing baselines in both conditions. Our code is available at https://github.com/harsh-kmr/FedProIn.

eess.IV↗

Human Thinking under Plural LLM Assistance: Mathematical Problem Solving and Open-Ended Writing

Large language models are changing not only the kind of assistance people receive, but also how that assistance is organized. Instead of working with a single general-purpose chatbot, people can now receive help from systems arranged as peers, specialists, or multiple agents with distinct roles. However, it remains unclear how these forms of plural LLM assistance affect human performance, confidence, and diversity of thought. We conducted two controlled experiments involving 562 participants to examine the effects of using multiple LLMs on mathematical problem-solving and writing. In a math task, participants worked with no LLM, an expert assistant, peer-like agents that surfaced common errors, or both an expert and a peer-like assistant. The expert-plus-peer condition produced the strongest unassisted post-task performance. In a writing task, participants wrote with no LLM, a single generalist assistant, or a pair of role-specialized assistants. LLM assistance improved essay quality, but the role-specialized pair preserved greater idea diversity than the single assistant. Together, these findings identify the arrangement of LLM assistance as a consequential design variable for human-AI collaboration.

cs.HC↗

Type IIn Supernovae. I. Uniform Light-curve Characterization and a Bimodality in the Radiated Energy Distribution

We present the largest uniform study to date of Type IIn supernovae (SNe IIn), focusing in this first paper on the multiband optical light curves of 490 SNe IIn. The sample, constructed from multiple surveys, extends to $z\approx0.8$, with the majority of events at $z\lesssim0.3$. We construct uniform multiband and bolometric light curves using Gaussian process regression, and determine key observed properties in the rest frame (e.g., peak luminosity, timescales, radiated energy). We find that SNe IIn span broad ranges in peak luminosity ($\sim 10^{42}-10^{44}$ erg s$^{-1}$) and timescales ($\sim 20-300$ days above 50% of peak luminosity), but the sample divides into two clear groups in the luminosity-timescale phase space around the median peak luminosity ($\approx 10^{43}$ erg s$^{-1}$): faint-fast and luminous-slow groups. This leads to a strong bimodality in the radiated energy distribution, with peaks at $\sim 10^{49}$ and $\sim 2\times10^{50}$ erg, with the latter events having a characteristic timescale of $\sim 100$ days, and the former appearing to bifurcate into two branches with timescales of $\sim 40$ and $\sim 70$ days. Therefore, SNe IIn exhibit at least two dominant groupings, and perhaps three, which are likely reflective of different progenitor and/or circumstellar medium (CSM) formation pathways. We do not find any obvious transition in SN IIn properties at the arbitrary cutoff of $\approx -20$ mag used for the designation "Type IIn Superluminous Supernovae" or "SLSN-IIn," and we argue that this classification should be abandoned. The absence of SNe IIn with timescales of $\lesssim 15$ days defines the region occupied by fast transients with evidence for interaction with a hydrogen-poor CSM.

astro-ph.HE↗

Algorithms for Adaptive Experiments that Trade-off Statistical Analysis with Reward: Combining Uniform Random Assignment and Reward Maximization

Traditional randomized A/B experiments assign arms with uniform random (UR) probability, such as 50/50 assignment to two versions of a website to discover whether one version engages users more. To more quickly and automatically use data to benefit users, multi-armed bandit algorithms such as Thompson Sampling (TS) have been advocated. While TS is interpretable and incorporates the randomization key to statistical inference, it can cause biased estimates and increase false positives and false negatives in detecting differences in arm means. We introduce a more Statistically Sensitive algorithm, TS-PostDiff (Posterior Probability of Small Difference), that mixes TS with traditional UR by using an additional adaptive step, where the probability of using UR (vs TS) is proportional to the posterior probability that the difference in arms is small. This allows an experimenter to define what counts as a small difference, below which a traditional UR experiment can obtain informative data for statistical inference at low cost, and above which using more TS to maximize user benefits is key. We evaluate TS-PostDiff against UR, TS, and two other TS variants designed to improve statistical inference. We consider results for the common two-armed experiment across a range of settings inspired by real-world applications. Our results provide insight into when and why TS-PostDiff or alternative approaches provide better tradeoffs between benefiting users (reward) and statistical inference (false positive rate and power). TS-PostDiff's adaptivity helps efficiently reduce false positives and increase statistical power when differences are small, while increasing reward more when differences are large. The work highlights important considerations for future Statistically Sensitive algorithm development that balances reward and statistical analysis in adaptive experimentation.

cs.LG↗

The pair-instability origin of supernova 2023vbw

Stars in the initial and carbon-oxygen core mass ranges of $\sim140-260$ and $50-130$ M$_\odot$, respectively, with low metallicity are predicted to experience copious electron-positron pair production in their cores, leading to a runaway thermonuclear explosion that obliterates the entire star in a luminous and long-duration pair-instability supernova explosion. Some previous supernovae have been interpreted in this context but lack the full range of predicted properties. Here, we report detailed observations and modeling of the hydrogen-rich supernova 2023vbw, which exploded in a low-metallicity ($\sim0.1$ Z$_\odot$) environment in a dwarf star-forming galaxy at a redshift of $0.088$. Its light curve exhibits a luminous ($1.6\times10^{43}$ erg s$^{-1}$) and long-duration ($190$ days) main peak, resulting in a total radiated energy of $3\times10^{50}$ erg, more than an order of magnitude greater than canonical core-collapse supernovae. Semi-analytical light-curve modeling yields a blue supergiant-like progenitor with an ejecta mass of $170-350$ M$_\odot$, radioactive nickel mass of $1.2-1.6$ M$_\odot$, and explosion energy of $(6-13)\times10^{52}$ erg, well matched by pair-instability models. The early and late-phase light curve and spectra also show evidence for interaction of the supernova ejecta with an aspherical circumstellar medium. Discoveries of numerous such events with the upcoming Rubin Observatory and Roman Space Telescope will shed light on the deaths of the most massive stars in the Universe.

astro-ph.HE↗

Investigating the Effects of LLM Use on Critical Thinking Under Time Constraints: Access Timing and Time Availability

The impact of large language models (LLMs) on critical thinking has provoked growing attention, yet this impact on actual performance may not be uniformly negative or positive. Particularly, the role of time -- the temporal context under which an LLM is provided -- remains overlooked. In a between-subjects experiment (n=393), we examined two types of time constraints for a critical thinking task requiring participants to make a reasoned decision for a real-world scenario based on diverse documents: (1) LLM access timing -- an LLM available only at the beginning (early), throughout (continuous), near the end (late), or not at all (no LLM), and (2) time availability -- insufficient or sufficient time for the task. We found a temporal reversal: LLM access from the start (early, continuous) improved performance under time pressure but impaired it with sufficient time, whereas beginning the task independently (late, no LLM) showed the opposite pattern. These findings demonstrate that time constraints fundamentally shape whether an LLM augments or undermines critical thinking, making time a central consideration when designing LLM support and evaluating human-AI collaboration in cognitive tasks.

cs.HC↗

GRB 230204B: GIT Discovery of a Fast Fading Afterglow Associated with an Energetic GRB from a Massive-Star Progenitor

We present a comprehensive multi-wavelength study of a bright gamma-ray burst GRB 230204B, analyzing both prompt and afterglow emissions. This GRB is highly energetic, with an isotropic equivalent energy emission $E_{\mathrm{iso}} \sim 2.2 \times 10^{54}\ \mathrm{erg}$, released during the prompt emission. The GROWTH-India Telescope discovered a bright afterglow ($m_r = 15.55$) that faded rapidly ($\propto t^{-1.82}$). The prompt emission shows strong thermal photospheric emission, along with a non-thermal high-energy component. We explore the evolution of these components and find them to be consistent with theoretical expectations. Afterglow modeling reveals an energetic jet $E_{tot} \gtrsim 10^{52}\ \mathrm{erg}$ expanding into a wind-type medium viewed nearly on-axis, suggesting a massive star progenitor with strong winds. We also explore correlations between the prompt emission and afterglow that may help to understand the complete picture of GRB progenitors.

astro-ph.HE↗

When AI Gives Advice: Evaluating AI and Human Responses to Online Advice-Seeking for Well-Being

Seeking advice is a core human behavior that the internet has reinvented twice: first through forums and Q&A communities that crowdsource public guidance, and now through large language models (LLMs). Yet the quality of this LLM advice for everyday well-being scenarios remains unclear. How does it compare, not only against human comments, but against the wisdom of the online crowd? We ran two studies (N=210) in which experts compared top-voted Reddit advice with LLM-generated advice. LLMs ranked significantly higher overall and on effectiveness, warmth, and willingness to seek advice again. GPT-4o beat GPT-5 on all metrics except sycophancy, suggesting that benchmark gains need not improve advice-giving. In Study-2, we examined how human and algorithmic advice could be combined, and found that human advice can be unobtrusively polished to compete with AI-generated comments. We conclude with design implications for advice-giving agents and ecosystems blending AI, crowd input, and expert oversight.

cs.HC↗

SN 2024afav: A Superluminous Supernova with Multiple Light Curve Bumps and Spectroscopic Signatures of Circumstellar Interaction

We present a comprehensive optical and near-infrared spectroscopic study of SN 2024afav - a hydrogen-poor superluminous supernova (SLSN-I) that peaks at $\approx$ -20.7 mag and exhibits an unusual multi-bumped light curve. Our spectroscopic observations, spanning phases of -14 to +160 d, reveal several unusual features: (i) a narrow (1,800 km s$^{-1}$) and blueshifted (11,000 km s$^{-1}$) absorption from H$α$ starting at +20 d; (ii) persistent optical and NIR He I lines at all available phases, showing double absorption structure in NIR spectra at +23 d, with a high velocity component at a similar velocity to H$α$; (iii) early appearance of nebular [O III] emission starting at $\approx$ +50 d; and (iv) strong [O II] + [Ca II] 7300 Å emission complex starting at $\approx$ +110 d. These unusual features, and their onset at the time of the light curve bumps, provide compelling evidence of circumstellar interaction between the SN ejecta and a nearby hydrogen-rich shell, as well as the presence of helium in both the outer layers of the progenitor star and in the circumstellar medium. A comparison of SN 2024afav to other SLSNe-I showing bumpy light curves and similar spectral properties (PTF10hgi, SN 2017egm, SN 2019hge), points to a rare sub-group of SLSNe-I in which CSM interaction provides an important modulation to the energy input.

astro-ph.SR↗