DiffAb
DiffAb
NeurIPS 2022 main track (A*) Direct antibody flagSummary card
| Поле | Значение |
|---|---|
| Год / version | 2022 / NR |
| Last verified | 2026-08-13 |
| Что генерирует | CDR sequence + backbone/geometry; interface proposal |
| Форматы | Fv-like antibody complexes |
| De novo или optimization | CDR de novo generation or local optimization |
| DOI | NR |
| Paper | https://proceedings.neurips.cc/paper_files/paper/2022/file/3fa7d76a0dc1179f1e98d1bc62403756-Paper-Conference.pdf |
| GitHub / repo | https://github.com/luost26/diffab |
| Service / docs | NR |
| Лицензия | Apache-2.0 |
| Доступность / commercial-use | Code + weights; repository archived/read-only |
Задача и generated object
Used in these tasks: Joint CDR sequence–structure design, Antigen-conditioned antibody design, Генерация CDR sequence
Part of these workflows: Antigen-conditioned CDR co-design
| Поле | Значение |
|---|---|
| Required input | Antigen–antibody complex context and framework with design mask |
| Conditioning | CDR masks, fixed framework, antigen structure |
| Fixed | Framework and antigen coordinates |
| Editable | Masked CDRs |
| Generated | CDR residue types and geometry |
| Single mutations | Yes through masks |
| Combinatorial mutations | Yes |
| Multi-objective | No explicit Pareto optimizer |
Architecture and operating principle
Author-reported (NeurIPS 2022)| Поле | Значение |
|---|---|
| Base architecture | Equivariant joint diffusion |
| Model type | CDR sequence–structure co-design |
| Representation | Residue type + Cα + orientation |
| Generation unit | Joint residue state |
| Conditioning | Antigen–antibody complex, CDR mask, fixed framework |
| Output | CDR sequence and geometry |
| Sampling | Iterative denoising |
| Internal scorer | Energy/structure metrics (evaluation) |
| Structure generation | Да |
Input representation
Полный complex context: antigen residues и antibody framework как observed nodes; CDR nodes зашумлены. Это не sequence-only prompt.
| Поле | Значение |
|---|---|
| Node features | Residue type (noisy), Cα, orientation frame |
| Edge / pair features | Equivariant geometric messages between residues, including antigen residues |
Encoder и decoder
Equivariant GNN/transformer denoiser operating on 3D residues (Author-reported). Pairwise geometric edges to antigen provide target conditioning.
| Поле | Значение |
|---|---|
| Encoder | SE(3)/E(3)-equivariant denoising network |
| Decoder | Joint reverse diffusion of discrete type and continuous geometry |
Latent or generative state
Joint discrete–continuous noisy state: amino-acid category, Cα coordinate, orientation frame.
Conditioning mechanism
Coordinate clamping of non-designed residues; residue masks; geometric edges to epitope; no classifier-guidance affinity head in the primary generator.
Generation mechanism
1) Зашумляются type, Cα и orientation designed residues. 2) Forward: discrete corruption + Gaussian/SO(3) noise. 3) Denoiser предсказывает cleaner type/geometry. 4) Sampling steps — paper/code default, exact number NR here. 5) Framework/antigen фиксированы. 6) Sequence и structure обновляются совместно. 7) Кандидат — decoded CDR on the given framework.
Sampling: Diffusion trajectories over designed CDRs while clamping context
Training objectives
Combined diffusion losses. No experimental ddG labels required. Training on SAbDab-like complexes implies dataset bias.
Losses: Category CE for residue type; coordinate/orientation denoising losses
Mathematical details: NR
Integrated evaluation
Primary paper is retrospective/in silico. Energy scores are evaluation, not measured affinity. Repository archived/read-only.
Architectural limitations
| Архитектурная особенность | Возможное ограничение |
|---|---|
| Requires complex structural context | Не стартует от одной antigen sequence. |
| Diffusion with many steps | Высокая inference cost. |
| SAbDab training | Смещение по solved complexes и обычным formats. |
| No prospective wet-lab in primary paper | Нельзя считать therapeutic generator proven. |
Uses these architecture components: Joint sequence–structure diffusion, SE(3)-equivariant networks, Coordinate diffusion
Generator versus evaluation
| Component | Role | Architecture class | Integrated or external | Required or optional | Influences generation or post hoc | Runtime included or excluded |
|---|---|---|---|---|---|---|
| DiffAb | primary_generator | Diffusion over residue type, Cα position and orientation with equivariant network | integrated | required | generation | included |
| Energy/structural metrics used in evaluation | integrated_scorer | NR | integrated | optional | post_hoc | unknown |
| Generates geometry directly; not a validated complex predictor | integrated_complex_predictor | NR | integrated | optional | post_hoc | included |
| Independent complex prediction, docking/energy and experiments | mandatory_external_dependency | NR | external | required | post_hoc | excluded |
| Experimental binding/function assays | experimental_validation | NR | external | required | post_hoc | excluded |
Training data и biases
| Поле | Значение |
|---|---|
| Training data | Antibody–antigen complexes (SAbDab-like; exact counts NR here) |
| Preprocessing | NR |
| Negative examples | NR |
| Fine-tuning | NR |
| Label requirements | NR |
| Training hardware | NR |
| Training time | NR |
Inference hardware и runtime
| Поле | Значение |
|---|---|
| Candidate count | NR |
| Batch size | NR |
| Generation steps | NR |
| Recycles | NR |
| Size | NR |
| Reported runtime | NR |
| Runtime boundary | Evaluation energies not included as experimental time |
| CPU | NR |
| GPU | Required (qualitative) |
| VRAM | NR |
| RAM | NR |
| Disk | NR |
| Databases | None beyond weights; repository archived |
Experimental evidence
| Поле | Значение |
|---|---|
| Evidence class | 1–2 in silico / retrospective |
| Retrospective | No prospective wet-lab validation in primary paper |
| Prospective binding | NR |
| Prospective function | NR |
| Developability | NR |
| Tested design count | No prospective wet-lab validation in primary paper |
| Success criterion | Retrospective structural and energy benchmarks only |
| Independent validation | NR |
| Summary | Retrospective structural and energy benchmarks only |
Limitations and failure modes
- Requires complex structural context.
- no prospective evidence.
- archived repository.
- energy scores are not affinity.
Deployment: Research-only / retrospective
Reproducibility, license, commercial use
| Поле | Значение |
|---|---|
| Repo | https://github.com/luost26/diffab |
| License | Apache-2.0 |
| Commercial-use status | Code + weights; repository archived/read-only |
Related tools
Alternative tools: dyMEAN, FlowDesign
Related: dyMEAN, FlowDesign, AbDiffuser
Not directly comparable with
AntiFold, Efficient evolution with ESM-1v, ESM-IF1, LigandMPNN, ProteinMPNN, Structural evolution (ESM-IF1 complex)Depends on these external modules
- DockQ / TM-score
- Experimental binding/function assays
- AlphaFold3
Related glossary terms
Diffusion model, SE(3) equivariance, CDR, Conditioning, Epitope / hotspotPrimary paper и полный список источников
Antigen-Specific Antibody Design and Optimization with Diffusion-Based Generative Models for Protein StructuresSource matrix: landscape xlsx, last verified 2026-08-13.
Детальный source-grounded разбор
Недоступные или неполные источники
| Источник | Почему недоступен | Что использовано вместо |
|---|---|---|
| NeurIPS 2022 PDF full Results/Ablations | Не постраничное чтение | code + README + configs |
DiffAb — antigen-conditioned joint diffusion CDR residue type, Cα и ориентации. Framework и antigen зажаты. Optional HDOCK и PyRosetta — не нейросеть. Archived repository.
Происхождение источников
| Метка | Источник | Ссылка | Примечание |
|---|---|---|---|
| [CODE] | https://github.com/luost26/diffab | https://github.com/luost26/diffab | NR |
| [DOC] | README design modes; Hugging Face weights | https://huggingface.co/luost26/DiffAb | NR |
| [PAPER] | Luo et al. NeurIPS 2022 | https://openreview.net/forum?id=jSorGn2Tjg | NR |
| Поле | Значение |
|---|---|
| Репозиторий | https://github.com/luost26/diffab |
| Commit | c3e2966601bf8025025ab87717b31b08fdd4834e |
| Ветка / tag | main (archived) |
| Лицензия | Apache-2.0 (каталог YAML) |
Проверенные файлы реализации:
diffab/models/diffab.pydiffab/modules/diffusion/dpm_full.pyconfigs/train/codesign_single.ymlconfigs/test/codesign_single.ymlREADME.md
1. Что именно делает инструмент
[DOC]Вход: antibody–antigen PDB, heavy/light IDs, config mode. Выход: CDR sequence + backbone geometry на маске. Фиксируется: framework и antigen (в codesign). Modes: codesign single/multi CDR, abopt, fixbb (sequence only), strpred (structure only). Parent complex-based, не sequence-only de novo.
2. Архитектура в одном абзаце
[CODE]DiffusionAntibodyDesign: ResidueEmbedding + PairEmbedding + FullDPM. EpsilonNet (GAEncoder, 6 layers) предсказывает rotation update, position epsilon и softmax по 20 АК. T=100. Position normalized /10 Å. Sequence embedding 25 types (padding).
4. Математическая модель
[CODE]См. класс joint sequence–structure diffusion. Потери rot cosine, pos MSE-on-noise, seq KL posterior. Sampling: полный шум на generate mask, затем 100 denoise steps.
5. Физическое устройство состояния
[CODE]На каждом t: (s_t, p_t, v_t) для каждого residue. Context — истинные (или observed) s,p,v. Fitness не в state.
6. Физико-химическая интерпретация
[DOC]Интерфейс может отражаться в pair geometry. H-bonds/electrostatics — не explicit. Optional PyRosetta binding energy — external approximate energy, не learned ΔG.
7. Training
[CODE]SAbDab chothia structures + summary TSV. mask_single_cdr. 200k iterations. Точный N комплексов и split hashes — NR без paper/processed data. Fine-tuning from general protein diffusion — не заявлено в просмотренном config (train from DiffAb model type).
8. Inference
[DOC]100 samples default test config. GPU required (качественно). HDOCK для antigen-only. Ray для parallel relax. Runtime boundary: neural sampling ≠ docking ≠ Rosetta ≠ experiment.
10. Почему, по мнению авторов, метод эффективен
NRProposed mechanism (from title/README): antigen-specific co-design via equivariant diffusion so sequence and structure remain consistent. Author claim: design and optimization of antibodies with diffusion models (NeurIPS). Evidence this pass: in silico / retrospective per catalog; не prospective wet-lab в primary paper по YAML/README. Causal support: unclear without ablation tables from PDF — marked NR.
12. Ablation analysis
[CODE]Ablations NeurIPS (fixbb vs codesign vs strpred как режимы inference существуют в configs, но количественные таблицы paper не извлечены). Наличие отдельных train flags train_structure/train_sequence позволяет режимы, не доказывая causal gain на binding.
13. What the model does not represent
- Экспериментальный binding
- Явный растворитель, гликаны, протоны
- Full conformational ensemble
- Developability
- Unbound antigen без HDOCK/template
14. Evidence and limitations
[INTERPRETATION]Archived repo (2023 last commit env.yaml). Energy scores are evaluation. Не сравнивать hit rate с RFantibody prospective campaigns.
15. Reproducibility
[DOC]Apache-2.0, weights on Hugging Face luost26/DiffAb. CUDA 11.3 env.yaml. SAbDab download required. Commit c3e29666.
Физико-химический смысл
| Признак или операция модели | Физико-химическая интерпретация | Прямо / косвенно / внешне | Важное ограничение |
|---|---|---|---|
| generate_flag CDRs | проектируемые петли | прямо маской | длина CDR задаётся шаблоном |
| pair_feat to antigen | геометрия интерфейса | learned | не энергия |
Модульная схема
| Модуль | Класс модели | Вход | Выход | Обучается или frozen | Generator или evaluator |
|---|---|---|---|---|---|
| Residue/Pair embedding | learned geometric embed | aa, coords, chain, fragment_type | res_feat, pair_feat | trained | encoder for generator |
| FullDPM EpsilonNet | equivariant denoiser | noisy v,p,s + feats + beta | updated frames, eps_pos, p(aa) | trained | generator |
| HDOCK | docking | unbound antigen + Ab template | posed complex | external binary | external initializer, not neural generator |
| PyRosetta energy | physical energy approx. | structure | energy | external | post_hoc evaluator |
Generator versus evaluator
| Компонент | Роль | Integrated или external | Required или optional | Влияет на generation или только ранжирует после |
|---|---|---|---|---|
| DiffAb reverse diffusion | primary generator | integrated | required | generation |
| Rosetta energy / structural metrics | scorer | optional external | optional | post_hoc |
| HDOCK | docking initializer | optional external | optional (antigen-only path) | starting pose, not neural sampling |
| Experimental assay | validation | external | required for binding claims | not in model |
Claim–evidence matrix
| Утверждение | Предполагаемый механизм | Тип evidence | Датасет / эксперимент | Comparator | Метрика / результат | Источник | Оговорка |
|---|---|---|---|---|---|---|---|
| Joint diffusion co-designs CDR sequence and structure in antigen context | coupled discrete-continuous DPM | 1. только architectural rationale | implementation + README modes | fixbb / strpred configs exist | NR without PDF tables | [CODE] models/diffab.py sample/optimize | Не wet-lab |
| Prospective therapeutic antibodies demonstrated in primary paper | — | 1. только architectural rationale | n/a | n/a | не показано в каталоге/README | [MATRIX] evidence_level 1–2 | Не путать с RFantibody |
Различия между статьёй и реализацией
| Версия статьи | Commit репозитория | Checkpoint / model | Файл | Различие | Практическое следствие |
|---|---|---|---|---|---|
| NeurIPS 2022 (PDF not fully read) | c3e29666 | trained_models/codesign_single.pt (path in yaml; file not hashed here) | configs/train/codesign_single.yml | T=100, dims 128/64, 6 layers — code-grounded; paper wording may differ in notation | Сверять sampling steps с config, не с обзорами |
Схемы information flow
flowchart LR
subgraph gen["Generator"]
DPM["FullDPM T=100"]
end
subgraph opt["Optional external"]
HD["HDOCK"]
PR["PyRosetta"]
end
subgraph exp["Experiment"]
W["Wet-lab — not in paper as prospective"]
end
HD --> DPM
DPM --> PR
PR -.-> W
Источники
- [1] Luo et al. NeurIPS 2022 DiffAb · источник
- [2] GitHub luost26/diffab c3e2966601bf8025025ab87717b31b08fdd4834e · источник
Нерешённые научные вопросы
- Quantitative tables from NeurIPS
- Exact SAbDab date snapshot leakage