← Back to researchR.02 · In depth

R.02 · In depth

A safety-first antibody design pipeline

At UT Austin's Oden Institute, I'm building a multi-stage pipeline that redesigns antibody sequences for stronger binding while catching the moment a machine learning model starts to make things up. Four models score every candidate, and a change is kept only when they agree.

Role
Student researcher
Where
UT Austin · Oden Institute
Mentor
Prof. Chandrajit Bajaj
Stack
Python · Boltz-2 · Chai-1 · PIRATE

01 — The problem

An antibody grabs its target mostly through six short loops called CDRs, and one of them, CDR-H3, does most of the work. If you let a model optimize a sequence for binding on its own, it learns to game its own score: it reports a great number for a sequence that would never fold or bind in a real cell. That failure, a hallucination, is the thing the pipeline is built to catch.

02 — Four models, four jobs

No single model can be trusted to judge its own design, so each candidate passes through four, each with a narrow job and an honest blind spot.

Boltz-2 · binding

Reads the sequence and predicts how well it binds. Fast, good for ranking. It says nothing about whether the antibody actually folds.

Chai-1 · structure

Turns the sequence into a predicted 3D shape, with the CDR loops as the part that matters most. Its own confidence can read high and still be wrong.

PIRATE · reliability

An independent critic of Chai's structure. It flags global error, shaky per-residue regions and shapes that look disordered, with no known answer to check against.

PhysicsValidator · realism

Checks the chemistry and geometry: exposed hydrophobic patches, odd charge clusters, floppy loops, strange cysteines. It drops candidates that break basic biophysics.

03 — The loop

  1. 01ProposeMutate a CDR loop or suggest a new candidate sequence.
  2. 02ScoreRun all four models on it: binding, structure, reliability and physics.
  3. 03CheckCompare the scores against the hallucination flags below.
  4. 04Keep or dropAccept the change only when binding holds, physics does not get worse, and no flag fires.
B(S)      binding score        (Boltz-2)
X = f(S)  predicted structure  (Chai-1)
Q(X)      reliability          (PIRATE)
P(S, X)   physics score        (validator)

keep S  ⇔  B holds  ∧  P not worse  ∧  no flag

04 — Catching a hallucination

Over-optimism

The binding score is high while the physics score is low: a candidate the model loves and chemistry rejects.

Disagreement

The binding model and the physics checks rank the same candidates in different orders, so one of them is off.

Degrading path

Each optimization step raises the model's number while the physics plausibility quietly gets worse. The classic reward hack.

05 — The honest part

Every score here is a prediction, not a measurement. The physics checks use fast proxies, not a full molecular simulation, so they can reject a rare but real shape. The flag thresholds have to be tuned so the pipeline stays cautious without throwing away good, unusual candidates. Holding those trade-offs in view is most of the work, and most of what I've learned doing it.

Next write-upOpening the junction in circular RNA →