mlsanityData to 14 Oct 2026

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

arXiv 2606.18703 ↗First posted 17 Jun 2026cs.LG q-bio.QMcited by 0

Not on the map. Why?

Abstract (arXiv)

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 ~0.55 to ~0.65.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 94 references that are in the map. First posted on arXiv 17 Jun 2026.

Builds on

13 of 94 references.

References · 13

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  5. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,553
  6. 2024Contrastive Preference Optimization: Pushing the Boundaries of LLM Performance in Machine Translationcited by 394
  7. 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 337
  8. 20234M: Massively Multimodal Masked Modelingcited by 120
  9. 2022Tranception: protein fitness prediction with autoregressive transformers and inference-time retrievalcited by 79
  10. 2023Contrastive Preference Learning: Learning from Human Feedback without RLcited by 79
  11. 2023BioBridge: Bridging Biomedical Foundation Models via Knowledge Graphscited by 25
  12. 2024Multi-modal Transfer Learning between Biological Foundation Modelscited by 7
1 more
  1. 2026How to make the most of your masked language model for protein engineeringcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ProtAlign: Contrastive learning paradigm for Sequence and structure alignment
  2. 2024Long-range gene expression prediction with token alignment of large language model
  3. 2025Lost in Tokenization: Context as the Key to Unlocking Biomolecular Understanding in Scientific LLMs
  4. 2026How Post-Training Shapes Biological Reasoning Models
  5. 2026Contrastive-Difference CKA Reveals Concept-Specific Structural Alignment Across Language Model Architectures
  6. 2024Large Language Models are In-Context Molecule Learners
  7. 2025Model Organisms for Emergent Misalignment
  8. 2022CoDA21: Evaluating Language Understanding Capabilities of NLP Models With Context-Definition Alignment