SearcharxivSearch

arXiv subjects

Yashvi Patel

Publications and source records attributed to Yashvi Patel.

3 recordsLinked to original sources

Contextualizing Biological Language Models across Modalities via Logit-Space Contrastive Alignment

Pretrained biological language models expose per-token probability distributions through masked-token prediction, providing the likelihood interface central to sequence design, variant scoring, and mechanistic interpretation. Yet these distributions are learned from broad unlabeled corpora and are not naturally conditioned on task-specific biological contexts such as interaction partners, cellular environments, or therapeutic interventions. Existing contextual matching methods often distort this interface through pooled embeddings, contrastive latent spaces, or task-specific prediction heads. We introduce LOGICA (Logit-space Contrastive Alignment), a framework for context-conditioned prediction that performs contrastive learning directly in output-logit space. Using gated cross-modal adapters compatible with each model's native token head, LOGICA preserves the pretrained likelihood interface and converts contextualized token log-likelihoods into matching scores. Alignment is defined through context-sensitive token probabilities rather than proximity in a shared embedding space, enabling learning from sparse paired data across models with distinct vocabularies, without a shared tokenizer or decoder. LOGICA is particularly effective for mutation-local variant ranking, where comparisons reduce to context-conditioned likelihoods of mutant tokens at perturbed sites. Across protein--ligand binding, TCR--peptide activity, and drug-conditioned resistance prediction, LOGICA improves over prior state-of-the-art methods, including matched latent-contrastive and conditional MLM baselines, while retaining a token-level interface for interpretation and generation. On held-out-gene single-mutation drug-resistance prediction, LOGICA improves AUC from near-random latent-space baselines of $\sim$0.55 to $\sim$0.65.

cs.LG

The weak, the strong and the ugly -- A comparative analysis of interacting stepped dark radiation

Models which address both the Hubble and $S_8$ tensions with the same mechanism generically cause a pre-recombination suppression of the small scale matter power spectrum. Here we focus on two such models. Both models introduce a self-interacting dark radiation fluid scattering with dark matter, which has a step in its abundance around some transition redshift. In one model, the interaction is weak and with all of the dark matter whereas in the other it is strong but with only a fraction of the dark matter. The weakly interacting case is able to address both tensions simultaneously and provide a good fit to a the Planck measurements of the cosmic microwave background (CMB), the Pantheon Type Ia supernovae, and a combination of low and high redshift baryon acoustic oscillation data, whereas the strongly interacting model cannot significantly ease both tensions simultaneously. The addition of high-resolution cosmic microwave background (CMB) measurements (ACT DR4 and SPT-3G) slightly limits both model's ability to address the Hubble tension. The use of the effective field theory of large-scale structures analysis of BOSS DR12 LRG and eBOSS DR16 QSO data additionally limits their ability to address the $S_8$ tension. We explore how these models respond to these data sets in detail in order to draw general conclusions about what is required for a mechanism to address both tensions. We find that in order to fit the CMB data the time dependence of the suppression of the matter power spectrum plays a central role.

astro-ph.CO

Procoli: Profiles of cosmological likelihoods

Frequentist profile likelihoods have seen a resurgence in cosmology, offering an alternative to Bayesian methods as they can circumvent the impact of prior-volume effects. This paper presents Procoli, a fast and accessible package to obtain profile likelihoods in cosmology, available on GitHub and PyPI. Procoli seamlessly integrates with MontePython, incorporating all its available data likelihoods, as well as any modified versions of CLASS. This paper provides a comprehensive overview of the Procoli code, detailing the simulated-annealing optimizer at its core and the sequential computation of the profile. An an example, we use the early dark energy model which is afflicted by prior-volume effects to illustrate the code's features. We validate its optimizer with mock data, and compare optimization techniques for both the global minimum and the profile. Procoli further enables splitting profiles into their component contributions from individual experiments, offering nuanced insights into the data and model. As a valuable addition to the cosmologist's toolkit, Procoli supplements existing Bayesian codes, contributing to more robust parameter constraints in cosmological studies.

astro-ph.CO