IgLM

IgLM

Peer-reviewed

Summary card

ПолеЗначение
Год / version2023 / NR
Last verified2026-08-27
Что генерируетFull heavy/light-chain sequence or infilled span/CDR
ФорматыHeavy or light variable-domain sequence; chains generated independently
De novo или optimizationDe novo sequence or local CDR redesign
DOI10.1016/j.cels.2023.10.001
Paperhttps://doi.org/10.1016/j.cels.2023.10.001
GitHub / repohttps://github.com/Graylab/IgLM
Service / docsNR
ЛицензияJHU Academic Software License; commercial license required
Доступность / commercial-useCode + weights; non-commercial by default

Задача и generated object

Used in these tasks: Генерация CDR sequence, Structure-aware дизайн antibody sequence

Part of these workflows: Antibody sequence infilling and CDR diversification

ПолеЗначение
Required inputOptional sequence context, span mask, species and chain type
ConditioningChain/species tokens; arbitrary infilling span
FixedNR
EditableNR
GeneratedFull heavy/light-chain sequence or infilled span/CDR
Single mutationsYes
Combinatorial mutationsYes
Multi-objectiveNo

Architecture and operating principle

Author-reported (Cell Systems)
ПолеЗначение
Base architectureAutoregressive infilling Transformer
Model typeAntibody sequence LM
RepresentationTokens
Generation unitAmino-acid token
ConditioningSpecies, chain type, span context
OutputSequence
SamplingAutoregressive
Internal scorerLikelihood
Structure generationНет

Input representation

Sequence tokens only. No antigen, no coordinates, no paired VH/VL tokenisation in the base generator.

ПолеЗначение
Node featuresNR
Edge / pair featuresNR

Encoder и decoder

Transformer LM (decoder-style infilling)

ПолеЗначение
EncoderTransformer LM (decoder-style infilling)
DecoderAutoregressive token generation into the masked span

Latent or generative state

Discrete amino-acid tokens

Conditioning mechanism

Species token, chain type, bidirectional context around the span

Generation mechanism

Infilling uses both left and right context of a span, unlike left-to-right ProGen-style models.

Sampling: Temperature categorical sampling

Training objectives

Language-modelling / infilling CE on unpaired antibody sequences

Losses: Cross-entropy

Mathematical details: NR

Integrated evaluation

Likelihood/naturalness only. Pairing, structure, developability and binding are external.

Architectural limitations

Архитектурная особенностьВозможное ограничение
Sequence-only generationНет прямой геометрической согласованности.
Independent chain generationНе обеспечивает joint VH/VL pairing.
No antigen conditioningНе target-specific generator.

Uses these architecture components: Protein language models, Autoregressive generation, Masked-token infilling

Generator versus evaluation

ComponentRoleArchitecture classIntegrated or externalRequired or optionalInfluences generation or post hocRuntime included or excluded
IgLMprimary_generatorAutoregressive infilling language model conditioned on species and chain typeintegratedrequiredgenerationincluded
Model likelihoodintegrated_scorerNRintegratedoptionalpost_hocunknown
Pairing, structure/complex, developability and experimental validationmandatory_external_dependencyNRexternalrequiredpost_hocexcluded
Experimental binding/function assaysexperimental_validationNRexternalrequiredpost_hocexcluded

Training data и biases

ПолеЗначение
Training dataNR
PreprocessingNR
Negative examplesNR
Fine-tuningNR
Label requirementsNR
Training hardwareNR
Training timeNR

Inference hardware и runtime

ПолеЗначение
Candidate countNR
Batch sizeNR
Generation stepsNR
RecyclesNR
SizeNR
Reported runtimeNR
Runtime boundaryNR
CPUNR
GPUNR
VRAMNR
RAMNR
DiskNR
DatabasesNR

Experimental evidence

ПолеЗначение
Evidence class2 retrospective antibody evaluation
RetrospectiveNo prospective wet-lab validation in primary paper
Prospective bindingNR
Prospective functionNR
DevelopabilityNR
Tested design countNo prospective wet-lab validation in primary paper
Success criterionNaturalness/diversity/infilling benchmarks
Independent validationNR
SummaryNaturalness/diversity/infilling benchmarks

Limitations and failure modes

Deployment: Retrospective only pending license

Reproducibility, license, commercial use

ПолеЗначение
Repohttps://github.com/Graylab/IgLM
LicenseJHU Academic Software License; commercial license required
Commercial-use statusCode + weights; non-commercial by default

Alternative tools: PALM-H3, ProGen / ProGen2

Complementary: AntiFold, Humatch

Related: PALM-H3, ProGen / ProGen2, AntiFold

Not directly comparable with

AlphaProteo, BindCraft, BoltzGen, FrameDiff, RFdiffusion, RFdiffusion All-Atom (RFdiffusionAA)
Сравнение допустимо только внутри совместимых категорий. Runtime и quality AntiFold vs RFantibody нельзя читать как одну шкалу: разные starting points и generated objects.

Depends on these external modules

NR

Protein language model (PLM), Infilling, CDR, Likelihood / log-probability

Primary paper и полный список источников

IgLM: Infilling language modeling for antibody sequence design

Source matrix: landscape xlsx, last verified 2026-08-13.

Review queue

Детальный source-grounded разбор

partially verified Последняя сверка источников: 2026-08-27. Cell Systems HTML (STAR Methods + Results) прочитан. Preprint bioRxiv 10.1101/2021.12.13.472419 использован как согласованный open text. Код iglm/model/IgLM.py на commit de819b56. Table S1/S2 species counts и точные OASis численные дельты в фигурах не перенесены таблично.

Недоступные или неполные источники

ИсточникПочему недоступенЧто использовано вместо
Cell Systems STAR supplemental PDF (Table S1 species counts, Table S2 prompt motifs)S-tables не извлечены построчноОсновной HTML: 809M → 588M cluster → 558M train / 1M val / 5% test; N-terminal truncation >40% OAS

IgLM — sequence infilling generator для unpaired VH/VL. GPT-2 decoder обучается на перестановке span (ILM): маска 10–20 residues уходит в конец после [SEP]. Это не inverse folding, не structure diffusion и не affinity predictor. In silico developability / OASis / AF pLDDT $\neq$ experimental binding.

Происхождение источников

МеткаИсточникСсылкаПримечание
[PAPER]Shuai, Ruffolo, Gray. IgLM: Infilling language modeling for antibody sequence design. Cell Systems 14, 979–989 (2023).https://doi.org/10.1016/j.cels.2023.10.001NR
[PAPER]bioRxiv 10.1101/2021.12.13.472419 (preprint of the same work)https://doi.org/10.1101/2021.12.13.472419NR
[CODE]Graylab/IgLMhttps://github.com/Graylab/IgLMcommit de819b56238b5cb9c23d7a6fec4c55d7fc0395e4
ПолеЗначение
Репозиторийhttps://github.com/Graylab/IgLM
Commitde819b56238b5cb9c23d7a6fec4c55d7fc0395e4
Ветка / tagmain
ЛицензияJHU Academic Software License (non-commercial); commercial via JHTV

Проверенные файлы реализации:

1. Что именно делает инструмент

[CODE]Вход (infill): родительская unpaired sequence, chain token ([HEAVY]/[LIGHT]), species token, полуинтервал [start, end) для span. Вход (generate): только conditioning tags ± optional prompt. IgLM.infill / generate

[PAPER]Выход: синтетические AA sequences (полная цепь или infilled span). Нет координат, нет paired VH–VL в одном forward (цепи независимы).

[PAPER]Parent-based CDR diversification или species-conditioned full-chain generation. Не de novo docked antibody.

2. Архитектура в одном абзаце

[PAPER]Decoder-only GPT-2 (HuggingFace GPT2LMHeadModel). IgLM: 4 layers, $d=512$, 8 heads, FFN 2048, 12,889,600 params. IgLM-S: 3 layers, $d=192$, 6 heads, FFN 768, 1,439,616. Токенизатор BertTokenizerFast по vocab.txt (AA + specials). Infilling Donahue-style: span $S$ заменяется [MASK], исходная последовательность + [SEP] + $S$ + [ANS]. Table 1; STAR Methods; CODE from_pretrained

4. Математическая модель

$$A=(a_1,\ldots,a_n),\quad m\sim\mathrm{Unif}\{10,\ldots,20\},\quad j\sim\mathrm{Unif}\{1,\ldots,n-m+1\}$$
[PAPER] tool-specific. Train: длина и старт маски. Conditioning tokens $c_c,c_s$ prepend.
$$p_\theta(S\mid A\setminus S)=\prod_{i} p_\theta(S_i\mid A\setminus S, S_{
[PAPER] tool-specific. Infill: генерировать span до [ANS]. $A\setminus S$ содержит фланги, [MASK], [SEP].
СимволТипОпределение
$A$token sequenceантитело VH или VL
$S$spanмаскированный участок 10–20 residues при train; при infill — произвольный пользовательский диапазон
$c_c,c_s$discrete tagschain and species
$$p(x_i)=\frac{e^{z_i/T}}{\sum_j e^{z_j/T}}\quad\text{nucleus }P\text{: оставить минимальный набор с cumul}\ge P$$
[CODE] tool-specific [PAPER Eq. 6 + CODE generate]. Inference sampling. Default code: temperature=1, top_p=1, max_length=150.
$$\mathrm{PPL}_{\mathrm{infill}}=\exp\Bigl[-\frac{1}{N_{S'}}\sum \log p(S'_i\mid \cdot)\Bigr]$$
[PAPER] tool-specific. Infilling perplexity = per-token PPL после [SEP] (Eq. 4).

5. Физическое устройство состояния

[INTERPRETATION]Состояние — дискретная unpaired antibody sequence. Нет атомов, frames, antigen. Species/chain tags — датасетные метки OAS, не 3D. Перестановка span — NLP-трюк, не биологический splicing (V(D)J уже произошёл в train sequences).

7. Training

[PAPER]OAS unpaired: после фильтра ошибок 809M unique → LinClust 95% → 588M. Random 5% test; 558M train, 1M val. Skew: human heavy ~70%. Split не germline-holdout: авторы сознательно оставляют все conserved regions в train. STAR: Antibody sequence dataset

[PAPER]Batch 512, 2 grad accum, DeepSpeed, ~3 days × 4×A100. Objective — стандартный AR NLL на перестроенной последовательности (включая infilled span).

8. Inference

[PAPER]generate: sample until [ANS] (eos = CLS token в коде), bad_words_ids, duplicate filter. Full-length sequences из ILM содержат [MASK]/[SEP]/[ANS] и пересобираются. Prompt из 3 N-terminal residues (Table S2, NR exact motifs here) из-за >40% OAS truncations. Full-length antibody generation; CODE _generate

[PAPER]Infill библиотек в статье: 49 Thera-SAbDab mAbs, CDR H3 по Chothia удалён, 1000 seq × {T∈0.8,1.0,1.2} × {P∈0.5,0.75,1.0} = 9000/parent. AF-Multimer pLDDT — внешний predictor.

10. Почему, по мнению авторов, метод эффективен

[PAPER]Mechanism. Bidirectional context для CDR (фланги видны до генерации span) vs left-to-right ProGen2-OAS; species/chain tags vs prompting.

[PAPER]Author claim. Generates full-length and infilled libraries resembling natural antibodies with tunable diversity and improved in silico developability/humanness vs random; could then be experimentally screened. Discussion: 'which could then be experimentally screened'

[PAPER]Evidence. Infilling PPL vs ProGen2 (Fig. 1D); ANARCI species/chain controllability; germline identity vs T; in silico aggregation/solubility/OASis on 49 therapeutics. Нет prospective binding/function assay IgLM-designed clones в primary paper.

[INTERPRETATION]Causal support. Bidirectional vs preceding-only PPL — ablation-like. Developability — in silico scores, не wet-lab. Causal claim 'reduces non-functional fraction vs random libraries' не подтверждён экспериментом в этой статье.

12. Ablation analysis

[PAPER]IgLM vs IgLM-S (capacity). Bidirectional vs preceding-only infill PPL (Fig. 1D). Temperature / nucleus vs diversity, length, OASis (Figs. 2–3). Нет ablation 'remove species token' с таблицей recovery в извлечённом HTML (NR beyond qualitative rat failure).

13. What the model does not represent

14. Evidence and limitations

[PAPER]Авторы прямо откладывают experimental screening. N-terminal truncations, human-heavy skew, rat generation failure, OAS sequencing error residuals. max_length=150 в коде может обрезать длинные CDR3. Non-commercial license.

15. Reproducibility

[CODE]Checkpoints trained_models/IgLM и IgLM-S. Dataset OAS95: data.graylab.jhu.edu/OAS95.tar.gz (не скачивался). Commit de819b56 — licensing text update (2026-07-20).

Физико-химический смысл

Признак или операция моделиФизико-химическая интерпретацияПрямо / косвенно / внешнеВажное ограничение
AA tokensпервичная структура VH/VLпрямонет 3D / antigen
species / chain tagsрепертуарный prior OASпрямо как special tokensOAS label ≠ ANARCI class (camel↔alpaca)
span permutation ILMдвусторонний sequence context для CDRtrain-time rearrangementне физический механизм созревания
OASis / aggregation predictors in paperin silico developability / humannessexternal evaluatorsне часть generator; не assay

Модульная схема

МодульКласс моделиВходВыходОбучается или frozenGenerator или evaluator
GPT2LMHeadModeldecoder-only transformertags + (masked) tokensnext-token logitstrained (released frozen)generator
log_likelihood()same GPT-2sequence ± infill_rangemean NLL (negative returned as likelihood)frozenevaluator
AlphaFold-Multimer / OASis / aggregationexternalgenerated sequencespLDDT / humanness / in silico scoresn/aexternal evaluation

Generator versus evaluator

КомпонентРольIntegrated или externalRequired или optionalВлияет на generation или только ранжирует после
GPT-2 infill/generateprimary_generatorintegratedrequiredgeneration
log_likelihoodintegrated_scorerintegratedoptionalpost_hoc
AF-Multimer pLDDTstructure predictorexternalpaper onlypost_hoc; не sample()
wet-lab affinityexperimental_validationexternalnot in primary paperabsent

Claim–evidence matrix

УтверждениеПредполагаемый механизмТип evidenceДатасет / экспериментComparatorМетрика / результатИсточникОговорка
Bidirectional infill лучше left-to-right на CDR PPLILM span-at-end2. retrospective benchmark30M held-out OAS infill PPLIgLM [pre], ProGen2-base, ProGen2-OASinfilling perplexity by CDR (Fig. 1D); CDR3 hardest[PAPER] Fig. 1DPPL ≠ function
Species/chain tags контролируют генерациюconditioning tokens2. retrospective benchmark220k full-length samplesANARCI classification vs tagagreement high for most species; rat failure; camel heavy-only[PAPER] Fig. 2CANARCI taxonomy ≠ OAS labels
Infilled CDR-H3 libraries improve in silico developability/humannessnatural OAS prior6. developability / manufacturability49 Thera-SAbDab; 9000 variants/parentparent sequences; sampling T/Pin silico aggregation/solubility/OASis (figures)[PAPER] Fig. 3, S10Класс evidence 6 in silico, не experimental developability и не binding
IgLM designed antibodies bind antigen—1. только architectural rationalen/an/aне показано в primary paper[PAPER] Discussion: libraries 'could then be experimentally screened'Не заполнять как prospective binding

Различия между статьёй и реализацией

Версия статьиCommit репозиторияCheckpoint / modelФайлРазличиеПрактическое следствие
Cell Systems 2023de819b56238b5cb9c23d7a6fec4c55d7fc0395e4IgLM 12.9M / IgLM-S 1.4Miglm/model/IgLM.pyPaper max context не равен коду max_length=150 в generate(). eos_token_id = tokenizer.cls_token_id. log_likelihood returns -nll (higher better).Очень длинные CDR3 могут обрезаться; не путать знак likelihood.

Схемы information flow

flowchart TD
  Tags["chain + species tokens"] --> ILM["GPT-2 decoder AR"]
  Seq["Unpaired VH or VL"] --> Mask["Replace span with MASK, append span after SEP"]
  Mask --> ILM
  ILM --> Out["Infilled or full-length sequence"]
  Out -.->|"paper only"| AF["AF-Multimer / OASis"]
Generator — GPT-2. AF и OASis только post hoc в статье. Источник схемы: Shuai et al. Cell Systems 2023 Fig. 1A; схема оригинальная

Источники

  1. [1] Shuai R.W., Ruffolo J.A., Gray J.J. IgLM: Infilling language modeling for antibody sequence design. Cell Systems 14, 979–989 (2023). · DOI · источник
  2. [2] bioRxiv 10.1101/2021.12.13.472419. · DOI · источник
  3. [3] Graylab/IgLM commit de819b56. · источник

Нерешённые научные вопросы