Search arXiv⌕ Search

arXiv subjects

Syed Asad Rizvi

Publications and source records attributed to Syed Asad Rizvi.

4 recordsLinked to original sources

Initial Controlled Studies of Weight Space Programming in Biological Foundation Models

Weight-space programming asks a large language model (LLM) to change a network by writing its weights, with no gradients or training. Unlike traditional weight updates through optimizers and stochastic gradient descent, weight-space programming provides the potential to make directed edits to neural network weights that achieve targeted objectives such as improved performance or steerable generation. Biological domains such as transcriptomics are prime examples of where controllable generation can benefit model behavior and performance, controlling class predictions or improving performance by editing weight dependence on certain inputs. In this work, we conduct an initial study of the ability of the LLM GPT-6 Astra to perform weight-space edits on transcriptomic foundation models, specifically Cell2Sentence (C2S). Natural killer (NK), B and dendritic cells were held out of the fine-tuning of a small 14M C2S model, whose base model had seen their expression but never their names, and in this model GPT-6 Astra was able to change 256 to 768 weights, which raised recall on those unseen labels from 0 before the edit to a median over 3 sessions of 0.787 for NK cells (range 0.043 to 0.931), 0.336 for B cells (0.076 to 0.393) and 0.495 for dendritic cells (0.248 to 0.581). A marker gene list written by the same LLM, with no model at all, recovers more of these cells than the edits do: set to give the label to as many other cells as each edit did, its median recall is 0.967 for NK, 0.927 for B and 0.866 for dendritic. These results represent an initial demonstration of zero-shot behavior induced in biological foundation models through weight-space editing, and raise an interesting direction of language-guided weight-space editing for targeted behaviors, while showing that in these tests the edits did not exceed a simple marker-list baseline.

q-bio.GN↗

STRIDE: Post-Training LLMs to Reason and Refine Bio-Sequences via Edit Trajectories

Discrete biological sequence optimization often requires goal-directed, parser-valid edits to an existing protein or molecule. Diffusion models support iterative refinement but do not expose a controllable discrete-edit interface, while autoregressive LLMs can be myopic when planning constrained edits over multiple steps. We introduce STRIDE (Sequence Trajectory Refinement via Iterative Discrete Editing), a post-training framework that trains an LLM to emit executable INSERT/DELETE/REPLACE trajectories for variable-length refinement. STRIDE first learns Levenshtein-aligned shortest-edit demonstrations, then uses supervised fine-tuning and group-based policy optimization to align trajectories with task rewards while preserving coherent editing. On an oracle-based full-action protein stress test, STRIDE raises success over Vanilla SFT from 42% to 89% and novelty among unique improvements from 47% to 97%. On instruction-conditioned molecular editing, the GSPO-aligned variant improves strict success, controllability, and SMILES validity over the SFT-only STRIDE model (code: https://github.com/daiheng-zhang/STRIDE).

cs.CE↗

CaLMFlow: Volterra Flow Matching using Causal Language Models

We introduce CaLMFlow (Causal Language Models for Flow Matching), a novel framework that casts flow matching as a Volterra integral equation (VIE), leveraging the power of large language models (LLMs) for continuous data generation. CaLMFlow enables the direct application of LLMs to learn complex flows by formulating flow matching as a sequence modeling task, bridging discrete language modeling and continuous generative modeling. Our method implements tokenization across space and time, thereby solving a VIE over these domains. This approach enables efficient handling of high-dimensional data and outperforms ODE solver-dependent methods like conditional flow matching (CFM). We demonstrate CaLMFlow's effectiveness on synthetic and real-world data, including single-cell perturbation response prediction, showcasing its ability to incorporate textual context and generalize to unseen conditions. Our results highlight LLM-driven flow matching as a promising paradigm in generative modeling, offering improved scalability, flexibility, and context-awareness.

cs.LG↗

FIMP: Foundation Model-Informed Message Passing for Graph Neural Networks

Foundation models have achieved remarkable success across many domains, relying on pretraining over vast amounts of data. Graph-structured data often lacks the same scale as unstructured data, making the development of graph foundation models challenging. In this work, we propose Foundation-Informed Message Passing (FIMP), a Graph Neural Network (GNN) message-passing framework that leverages pretrained non-textual foundation models in graph-based tasks. We show that the self-attention layers of foundation models can effectively be repurposed on graphs to perform cross-node attention-based message-passing. Our model is evaluated on a real-world image network dataset and two biological applications (single-cell RNA sequencing data and fMRI brain activity recordings) in both finetuned and zero-shot settings. FIMP outperforms strong baselines, demonstrating that it can effectively leverage state-of-the-art foundation models in graph tasks.

cs.LG↗