bioRxiv · 10.1101/2025.10.20.683485
GRASP: Gene-Relation Adaptive Soft Prompt for Universal Gene Network Inference
Abstract
Gene networks (GNs) encode diverse molecular relationships and are central to interpreting cellular function and disease. The heterogeneity of interaction types has led to computational methods specialized for particular network contexts. Large language models (LLMs) offer a unified, language-based formulation of GN inference by leveraging biological knowledge from large-scale text corpora, yet their effectiveness remains sensitive to prompt design. Here, we introduce Gene-Relation Adaptive Soft Prompt (GRASP), a parameter-efficient and trainable framework that conditions inference on each gene pair through only three virtual tokens. Using factorized gene-specific and relation-aware components, GRASP learns to map each pairs biological context into compact soft prompts that combine pair-specific signals with shared interaction patterns. Across diverse GN inference tasks, GRASP consistently outperforms alternative prompting strategies. It also shows a stronger ability to recover unannotated interactions from synthetic negative sets, suggesting its capacity to identify biologically meaningful relationships beyond existing databases. Together, these results establish GRASP as a scalable and generalizable prompting framework for LLM-based GN inference.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Feng, Y., Deng, K., Guan, Y.. 2025-10-21. GRASP: Gene-Relation Adaptive Soft Prompt for Universal Gene Network Inference. https://doi.org/10.1101/2025.10.20.683485
Cite the original work for its findings. Save a collection to share your selection of sources.