Freeze, Diffuse, Decode: Task-Aware Adaptation of Transformer Embeddings for Antimicrobial Peptide Design

arXiv:2511.23120 · cs.LG · Submitted 2025-11-28 · Read on arXiv

cs.LG

Submitted: 2025-11-28

Updated: 2026-09-02

Comments: 16 pages, 4 figures

License: http://creativecommons.org/licenses/by/4.0/

The gist: Pretrained transformers provide rich, general-purpose embeddings, which are transferred to downstream tasks.

Terminology

Abstract

Pretrained transformers provide rich, general-purpose embeddings, which are transferred to downstream tasks. However, current transfer strategies: fine-tuning and probing, either distort the pretrained geometric structure of the embeddings or lack sufficient expressivity to capture task-relevant signals. These issues become even more pronounced when supervised data are scarce. Here, we introduce Freeze, Diffuse, Decode (FDD), a novel diffusion-based framework that adapts pre-trained embeddings to downstream tasks while preserving their underlying geometric structure. FDD propagates supervised signal along the intrinsic manifold of frozen embeddings, enabling a geometry-aware adaptation of the embedding space. Applied to antimicrobial peptide design, FDD yields low-dimensional, predictive, and interpretable representations that support property prediction, retrieval, and latent-space interpolation.

Sources

Related papers