Biology

AbICL: In-Context Learning for Antigen-Specific Antibody Affinity Ranking

AI Insight

This study introduces AbICL, a machine learning framework that ranks antibody candidates by their binding affinity to specific antigens using an in-context learning approach. The method leverages a pretrained structural encoder combined with episodic meta-training, allowing it to learn from a small number of experimentally characterized antibody comparisons and apply that knowledge to rank new candidates without requiring additional model updates. Testing on the AbRank benchmark showed AbICL consistently outperformed existing methods, with particular advantages when dealing with distribution shifts and fine-grained affinity distinctions.


This approach could accelerate therapeutic antibody development by more accurately prioritizing candidates for experimental testing, potentially reducing the time and cost of drug discovery. The ability to learn from limited experimental data is especially valuable since obtaining binding affinity measurements is expensive and time-consuming.


Understand the Science

Antibody Concept coming soon In-context learning Concept coming soon Binding affinity Concept coming soon

arXiv:2607.05846v1 Announce Type: cross
Abstract: Accurate ranking of antibody candidates according to their binding affinity is essential for therapeutic antibody discovery. However, existing methods treat affinity comparisons independently and ignore the contextual information encoded in other labeled comparisons, limiting their ability to capture antigen-specific binding landscapes. For many target antigens, a small number of experimentally characterized affinity comparisons are often available. An important question is whether the model can exploit these existing comparisons to infer antigen-specific ranking patterns that facilitate subsequent affinity ranking. This form of learning from labeled demonstrations closely resembles the paradigm of In-Context Learning, motivating us to revisit antibody affinity ranking from an ICL perspective. To this end, we propose AbICL, an ICL framework for antigen-specific antibody affinity ranking. AbICL combines a pretrained structural encoder with a context ranking head and is trained with an episodic meta-training strategy that enables the model to leverage support demonstrations for test-time adaptation without gradient updates. Experiments on the AbRank benchmark demonstrate that AbICL consistently outperforms existing ranking baselines across almost all data splits and evaluation benchmarks. Further analysis shows that the value of contextual demonstrations depends on how well they match the target inference task, and becomes increasingly pronounced under distribution shift and fine-grained affinity discrimination. These findings highlight the potential of ICL as an effective paradigm for antigen-specific antibody affinity ranking, particularly in challenging settings where a single global ranking function is insufficient.

Source: AbICL: In-Context Learning for Antigen-Specific Antibody Affinity Ranking