SwiftRepertoire: Few-Shot Immune-Signature Synthesis via Dynamic Kernel Codes
Rong Fu, Wenxin Zhang, Muge Qi, Yang Li, Yabin Jin, Jiekai Wu, Jiaxuan Lu, Chunlei Meng, Youjin Wang, Zeli Su, Juntao Gao, Li Bao, Qi Zhao, Wei Luo, Simon Fong
TL;DR
SwiftRepertoire tackles label sparsity in TCR repertoire diagnostics by learning geometry-preserving prototypes and synthesizing sparse, task-specific adapters conditioned on compact descriptors. The adapters are produced through a constrained proximal retrieval process and applied to a frozen backbone, enabling rapid, few-shot adaptation with interpretability via motif-aware probes and calibrated motif testing. The approach is supported by formal statistical tests (Fisher energy ratio, bootstrap coverage) and a two-stage motif calibration pipeline, with Neural-ODE components for continuous-time modeling where beneficial. Empirical results on cancer datasets show strong few-shot performance, robust generalization, and practical potential for low-resource clinical deployment, underpinned by theoretical guarantees linking geometry, prototype coverage, and generalization risk.
Abstract
Repertoire-level analysis of T cell receptors offers a biologically grounded signal for disease detection and immune monitoring, yet practical deployment is impeded by label sparsity, cohort heterogeneity, and the computational burden of adapting large encoders to new tasks. We introduce a framework that synthesizes compact task-specific parameterizations from a learned dictionary of prototypes conditioned on lightweight task descriptors derived from repertoire probes and pooled embedding statistics. This synthesis produces small adapter modules applied to a frozen pretrained backbone, enabling immediate adaptation to novel tasks with only a handful of support examples and without full model fine-tuning. The architecture preserves interpretability through motif-aware probes and a calibrated motif discovery pipeline that links predictive decisions to sequence-level signals. Together, these components yield a practical, sample-efficient, and interpretable pathway for translating repertoire-informed models into diverse clinical and research settings where labeled data are scarce and computational resources are constrained.
