# Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents

Pyrite benchmark shows LLM agents can rank protein-ligand poses better than experts

Megha Srivastava, Michael H. Lim, Allison M. Keys, Pranav Murugan, Nate Gruver · arXiv · 2026-11-10

- **Problem** Cofolding models propose many possible binding poses, but nobody can reliably pick the correct one. Physics scores like MM-GBSA are weak signals, and they often disagree with each other.
- **Method** PyriteReasoner has an LLM read both poses as text and pick one, while PyriteFeaturizer has an LLM write code that builds features for logistic regression.
- **Results** The agents reach up to 67% and 74% accuracy, exceeding the observed expert performance.

![Figure 5: GRPO training dynamics for PyriteFeaturizer(A) Train mean-OOF accuracy for three ablations across training steps (error bars are±SEM)(B)Post-AF3per-p…](https://refivu.com/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb/figures/figure-7075c2c2957a66ce644747f12e767367.png?thumb=512)

**Figure 5** :GRPO training dynamics for PyriteFeaturizer(A) Train mean-OOF accuracy for three ablations across training steps (error bars are±SEM)(B)Post-AF3per-pair accuracy for three ablations across training steps in comparison with human experts and vanilla logistic regression(C)Average # of distinct features in each program output for all three ablations across training steps(D)% of program outputs using gating logic on strain metrics for all three ablations across training steps.Bottom Rows Example features discovered byPyriteFeaturizerto use for logistic regression.

[Original paper](https://arxiv.org/abs/2611.14511v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Megha Srivastava, Michael H. Lim, Allison M. Keys, Pranav Murugan, Nate Gruver · Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents · Original paper figure · Extracted the figure area from page 13 of the original PDF.

## Why ranking cofolded poses is hard

Cofolding models can now propose many plausible binding modes for one protein-ligand pair. That spread only pays off if someone can pick the right one, and at test time nobody knows the true binding mode. A wrong pick wastes downstream effort and weakens trust in the underlying model. The authors frame this as the core problem: chemists must triage large sets of predictions without a reference structure.

The signals available for this choice are individually weak, and they often disagree with each other. MM-GBSA estimates binding free energy, and Mogul torsional strain measures how far ligand torsions deviate from the CSD distributions. For one pair they can favor different candidates, so a single score cannot settle the choice. For three public cofolding models, model confidence and MM-GBSA barely clear random chance at ranking.

Those models also fall well short of the oracle, which is why the authors call for stronger pose-ranking methods.

Chemists fill these gaps with domain knowledge about the target or chemical series. They also inspect the structures in 3D visualization software. The study later tests this human route directly, using expert chemists as a benchmark. The authors ask whether an LLM agent with the same tools can outrank both the tools and the experts.

The authors build their benchmark from poses where MM-GBSA is weakest as a guide. They keep the top-25 poses by MM-GBSA for each query, so every candidate is already a high-quality pose. In that regime, MM-GBSA can become anti-correlated with pose ranking performance.

## Building Pyrite from high-quality cofolded poses

The authors sample up to 120 poses per query with their proprietary cofolding model, over queries spanning more than 50,000 structures from the RCSB Protein Data Bank. They keep the top-25 poses by MM-GBSA for each query, a regime where the authors later find MM-GBSA can be anti-correlated with ranking success. All pairs from the same query become candidates, and filtering decides which pairs survive.

Each pose gets a category from its RMSD to the crystal, its lDDT-PLI and its interaction recall. Figure 2 shows that these poses are more diverse than those from Boltz2, Protenix and ESMFold2.

![Figure 2: Top-k pose enrichment and diversity across cofolding modelsFor each of Boltz2, Protenix, ESMFold2, andourcofoldingmodel, wescored120posespercomplexag…](https://refivu.com/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb/figures/figure-d6992cd01fe87357fe607f3d12e8bc5f.png?thumb=512)

**Figure 2** :Top-k pose enrichment and diversity across cofolding modelsFor each of Boltz2, Protenix, ESMFold2, andourcofoldingmodel, wescored120posespercomplexagainstthegroundtruthcrystal, calling a pose a "hit" at RMSD \< 2 Å and lDDT-PLI≥0.8.Top Rowshows top-k enrichment (EF@k = hits in the top-k over hits expected at random, pooled across complexes, so random = 1).Middle RowandBottom Row: the 3rd-party cofolding models are far less diverse than ours, measured both by the distribution of per-pair RMSD and Interaction IoU.

[Original paper](https://arxiv.org/abs/2611.14511v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Hard pairs combine a GOOD pose with a MAYBE pose, and easy pairs combine a GOOD pose with a BAD pose. Every pair keeps at least one high-quality pose, and extra filters remove pairs that look too alike or are too low quality. The final set has 1,500 pose pairs over 285 structures and 1,799 unique poses. The authors reserve the pre-AF3 data for training, and a curated subset of 750 pairs received expert annotations.

## Physics scores point the wrong way

The first check asks whether the physics scores in PyriteRep can rank pose pairs on their own. The intuitive rule picks the pose with the lower MM-GBSA score. On the post-AF3 curated split, that rule reaches only 0.34 accuracy. Choosing the lower MM-GBSA pose is anti-correlated with the correct choice, so the rule falls below chance.

![Table 1: Accuracy and 95% CIs from expert chemists, Boltz-2 confidence, and various physics scores from PyriteRepacross three benchmark splits. No method achie…](https://refivu.com/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb/figures/figure-02c09e0cb143d379be054e1f9d7d0db2.png?thumb=512)

**Table 1** : Accuracy and 95% CIs from expert chemists, Boltz-2 confidence, and various physics scores from PyriteRepacross three benchmark splits. No method achieves pairwise accuracy significantly above chance.

[Original paper](https://arxiv.org/abs/2611.14511v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

They also state that no step of benchmark creation picked pairs where MM-GBSA gave a wrong signal.

Other scores show the same pattern: total interactions reach 0.40 and Mogul unusual torsions reach 0.50 on the post-AF3 curated split. Flipping the sign of MM-GBSA would achieve above-chance accuracy on Pyrite by construction. The relationship between MM-GBSA and pose correctness also depends on how many candidate poses are retained.

A strong ranker therefore has to overcome the bias that lower MM-GBSA scores are more favorable. That result suggests a learned decision rule can avoid being a noisy copy of inverted physical heuristics.

## Expert chemists perform below chance

Five expert chemists, each with more than 10 years in computer-aided drug discovery, picked the closer pose for every pair. They saw 3D visualizations, 2D contact maps, MM-GBSA scores, and Mogul unusual torsion counts for each pose. They could also download PDB and SDF files and open them in PyMOL, so the tools were the same ones a chemist would use.

Each pair received two annotations, and the curated subset yielded 1500 annotations in total. With abstentions counted as wrong, experts scored 0.42 on the pre-AF3 curated split and 0.45 on the post-AF3 curated split.

Dropping the 'about the same' answers lifts those values to 0.51 and 0.57. Those numbers still sit at or below chance, so removing the ambiguous answers doesn't rescue expert accuracy. Annotators agreed with each other 77% of the time, which is well above their accuracy. Experts were more accurate on Easy pairs than on Hard pairs, and the gap was statistically significant.

Their accuracy was lower when their reasoning leaned on MM-GBSA, and higher when they cited interactions or torsion geometry.

The authors hypothesize that cofolded poses differ in subtler ways than the docking poses experts are used to. That hypothesis would explain why intuition built on docking misleads chemists here. Because experts lean on MM-GBSA, and MM-GBSA is anti-correlated with correctness on Pyrite, their habits work against them.

## What each pose looks like to the agents

PyriteRep turns each pose into a structured record, so a text-reading LLM can compare two poses directly. The authors state that PyriteRep has 29 features, covering both pose-invariant and pose-dependent items. Invariant items hold the same values for both poses, including UniProt target context, atom and bond lists, SMILES and an IUPAC name.

Pose-dependent items change between candidates, covering 3D coordinates, interaction lists, strain values, Mogul checks and the MM-GBSA score.

Geometry starts from the ligand's N heavy atoms, with the centroid taken as the mean of their coordinates. The gyration tensor S is built from each atom's offset to that centroid. Asphericity uses the eigenvalues of S, ordered λ1 ≤ λ2 ≤ λ3, in the form b = λ3 − ½(λ1 + λ2). Asphericity is 0 for a sphere, so larger values indicate a less spherical ligand.

The radius of gyration is the square root of λ1 + λ2 + λ3. Maximum extent records the largest distance between any two ligand atoms. Internal close contacts count atom pairs whose indices differ by at least 2 and that sit within 3.2 Å of each other. Inter-pose ligand RMSD measures how far the two candidate ligands sit from each other.

With this many features, the key differences can be hard to spot, so a summary block flags what changes between Pose A and Pose B. That summary includes items such as the shared interactions and the overall number of hydrogen-bond donors. Five input ablations test how much of this structure the model needs, from raw coordinates up to in-context examples.

The in-context variant adds two labeled pre-AF3 examples, chosen by ligand Tanimoto similarity to the query. The PyriteRep w/o 3D Coordinates variant keeps every feature except the atomic coordinates, and Appendix C gives an example prompt.

## PyriteReasoner: ranking pairs by text reasoning

PyriteReasoner asks an LLM to read both poses as text and choose one, with written reasoning. The authors ran four LLMs: Opus 4.8 and GPT-5.6-sol as frontier models, Sonnet 5 as a midsize model, and the open-weight Qwen3.8-27B. They tested five input ablations, from raw 3D coordinates to PyriteRep with and without coordinates, plus an in-context variant.

The in-context variant adds two labeled pre-AF3 examples, chosen by ligand Tanimoto similarity to the query. The PyriteRep ablations also append a summary block that highlights features differing between Pose A and Pose B. During GRPO, the reward gives 0 for output without a parseable SELECTION line, 1 for a wrong pick and 2 for a correct pick.

Raw coordinates alone leave Opus 4.8 at 0.49 and Sonnet 5 at 0.34 on the curated post-AF3 split. These scores sit near or below random chance, so the LLMs struggle to extract geometric signal from atomic coordinates. Supplying interactions lifts Opus 4.8 to 0.51, and the full PyriteRep reaches 0.63 on the same split. Dropping the raw coordinates from PyriteRep didn't hurt: Opus 4.8 scored 0.65, compared to 0.63 with the full PyriteRep.

Qwen3.8-27B rose from 0.62 zero-shot to 0.67 after GRPO on the same ablation. The in-context examples gave no consistent benefit across the models.

![Table 2: PyriteReasonerpose ranking accuracy across four different base LLMs, five input ablations, and Qwen3.8-27B finetuned with GRPO. Values are mean accura…](https://refivu.com/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb/figures/figure-e5763e86d5ff45572874a498b998423e.png?thumb=512)

**Table 2** :PyriteReasonerpose ranking accuracy across four different base LLMs, five input ablations, and Qwen3.8-27B finetuned with GRPO. Values are mean accuracy±95% confidence intervals.†means significantly higher than expert, curated split only, and \* means significant difference for∆GRPO,p\<0.05.

[Original paper](https://arxiv.org/abs/2611.14511v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Opus 4.8 shows a smaller gap between Easy and Hard pairs than human experts do. It slightly underperforms experts on Easy pairs, so its advantage comes from Hard pairs.

## PyriteFeaturizer: LLM-written features for a linear model

PyriteFeaturizer uses an LLM as a coding agent that writes Python scripts to build features from the PyriteRep schema. A logistic regression classifier then learns which of those features predict the correct pose. The authors train every classifier only on pre-AF3 structures, so the post-AF3 splits stay unseen during training. They chose logistic regression for its simplicity and checked tree-based models in Appendix B.

Code Only lets the generated code compute features directly from PyriteRep, with no further LLM calls. Protein LLM Subcall adds protein-level features from a smaller model, Qwen3.5-9B, that both poses share. Pose LLM Subcall lets Qwen3.5-9B extract features for Pose A and Pose B separately. Each ablation is compared with a vanilla logistic regression trained on all PyriteRep features.

On the curated split, the vanilla logistic regression reaches 0.64 accuracy. With Opus 4.8, Pose LLM Subcall reaches 0.69 and Code Only reaches 0.65. Sonnet 5 with Pose LLM Subcall reaches 0.73 on the curated split. The authors report that logistic regression trained on PyriteFeaturizer features generally outperforms that baseline. Adding LLM subcalls improves results in most settings, especially when the subcalls score individual poses.

Qwen3.8-27B is the weakest base model here, reaching 0.52 with Code Only on the curated split. After GRPO training, Qwen3.8-27B with Pose LLM Subcall reaches 0.74 on the curated split. The LLM contributes the feature definitions, while the logistic regression makes the final ranking.

## Featurizer results against reasoning and the vanilla baseline

On the curated post-AF3 split, the Pose LLM Subcall setting scores 0.69 with Opus 4.8, 0.73 with Sonnet 5 and 0.71 with GPT-5.6-sol. The vanilla logistic regression on all PyriteRep features scores 0.64 on that split. So the LLM-derived features add signal beyond the quantitative descriptors in PyriteRep. The Code Only setting, which makes no extra LLM calls, scores 0.65, 0.63 and 0.65 on the same three models.

The Protein LLM Subcall setting scores 0.69, 0.72 and 0.66 on those models, so subcalls add to the code-derived features.

![Table 3: PyriteFeaturizerpose ranking accuracy across four different base LLMs, give input ablations, and Qwen3.8-27B finetuned with GRPO. Values are mean accu…](https://refivu.com/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb/figures/figure-3540ab6a9251b162cc19e8ee2babd870.png?thumb=512)

**Table 3** :PyriteFeaturizerpose ranking accuracy across four different base LLMs, give input ablations, and Qwen3.8-27B finetuned with GRPO. Values are mean accuracy±95% confidence intervals.†means significantly higher than expert, curated split only, and \* means significant difference for∆GRPO,p\<0.05.

[Original paper](https://arxiv.org/abs/2611.14511v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Vanilla logistic regression is comparable to PyriteReasoner, and it beats Sonnet 5 and GPT-5.6-sol on the curated subset at 64%. It stays below Opus 4.8 in that comparison. Tree-based models show no statistically significant difference from logistic regression on the post-AF3 pairs. PyriteFeaturizer generally beats PyriteReasoner across models, and Qwen3.8-27B is the exception.

Subcalls that judge individual poses help most, for example when they ask whether the ligand is well packed in a pose.

Qwen3.8-27B is the weakest base model here, reaching 0.59 with the Pose LLM Subcall setting on the curated split. With GRPO training, the same Pose LLM Subcall configuration reaches 0.74 on the curated split. That is the highest accuracy reported on Pyrite, and it gains 0.15 over the untrained Qwen3.8-27B.

## GRPO for open-weight agents

GRPO fine-tunes the base Qwen3.8-27B on pre-AF3 training data, the same data the Featurizer's logistic regression uses. For PyriteReasoner, an output scores 0 unless it ends with a parseable SELECTION line. A well-formatted output that picks the incorrect pose earns 1, and one that picks the correct pose earns 2. For PyriteFeaturizer, the training output is a Python featurizer script rather than a pose choice.

The authors note that controlling batch variation is a bigger challenge for PyriteReasoner than for PyriteFeaturizer.

For PyriteFeaturizer, Code Only rises from 0.52 to 0.69 on the curated split, a change of +0.17. The Pose LLM Subcall setting goes from 0.59 to 0.74 on the same split. That 0.74 sits above every frontier score in its row, with the highest frontier score being 0.73 for Sonnet 5.

For PyriteReasoner, the change on the full post-AF3 split is only +0.00 to +0.04 across ablations. On the curated split, the PyriteRep w/o Raw 3D ablation gains +0.05 after GRPO. The authors read the reasoning traces as showing that PyriteReasoner relies less on MM-GBSA as training proceeds. They link this to gains on the MM-incorrect subset, where MM-GBSA favors the incorrect pose.

## Limits of the current evidence

The RL and LLM-based agents are trained only on pre-AF3 structures, so the evaluation depends on that split choice. The authors note that distribution shifts between pre-AF3 and post-AF3 structures might hinder learning methods. Only the post-AF3 curated split of 265 pairs has expert comparisons, so the direct agent-versus-chemist comparison rests on that subset.

Abstentions count as incorrect for every method, so the accuracy values for experts and models are directly comparable.

The poses come from one proprietary cofolding model and one diversity-promoting sampling algorithm. The authors didn't test poses from other generative models with different sampling techniques. They also didn't test whether improvement on the pairwise comparison task translates to pose ranking pipelines used in drug discovery. The expert study used 5 chemists, with 2 annotations collected per pose pair in the curated subset.

## Paper info

- **Authors**: Megha Srivastava, Michael H. Lim, Allison M. Keys, Pranav Murugan, Nate Gruver
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-10
- **Added**: 2026-11-12
- **Updated**: 2026-11-10
- **Version**: v1
- **arXiv**: 2611.14511
- **Category**: cs.LG · q-bio.QM
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.14511v1) · [PDF ↗](https://arxiv.org/pdf/2611.14511v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Predicting how a ligand binds to its target is central to small-molecule drug discovery. Modern cofolding models can generate diverse candidate poses, but reliably ranking these candidates remains challenging. We introduce Pyrite, a pairwise pose-ranking benchmark comprising 1,500 pose pairs across diverse protein-ligand complexes. Expert chemists equipped with 3D visualization tools and physics-based scores perform near chance, highlighting the difficulty of interpreting available chemical signals. To investigate automated ranking, we introduce PyriteRep, a structured representation of molecular geometry, protein-ligand interactions, and physicochemical scores, and develop two LLM-based agents: PyriteReasoner, which directly compares poses through text-based reasoning, and PyriteFeaturizer, which generates executable code to construct features for logistic regression, optionally incorporating features derived from LLM subcalls. These agents achieve up to 67% and 74% accuracy, respectively, exceeding observed expert performance. LLM-guided feature discovery generally outperforms direct reasoning, while Group Relative Policy Optimization (GRPO) improves open-weight models, enabling them to match or surpass closed-source frontier models in our evaluations. These results establish Pyrite as a challenging test of pose-ranking ability and highlight LLM-guided feature discovery as a promising approach to interpret and combine the outputs of computational chemistry tools.

## Quote from the paper

Megha Srivastava, Michael H. Lim, Allison M. Keys, Pranav Murugan, Nate Gruver (2026). Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents. arXiv:2611.14511v1. https://arxiv.org/abs/2611.14511v1

**BibTeX**

```
@misc{srivastava2026pyrite,
  title = {{Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents}},
  author = {Megha Srivastava and Michael H. Lim and Allison M. Keys and Pranav Murugan and Nate Gruver},
  year = {2026},
  eprint = {2611.14511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.14511v1}
}
```

## Other paper commentary

- [Continual-ARC: Measuring Skill Acquisition over a Working Lifetime](https://refivu.com/en/papers/5032fd49-3717-4778-81e2-368de609709c-continual-arc-measuring-skill-acquisition-over-a-working.md)
- [DailyWildfireCAN: A Dataset and Benchmark for Next-Day Wildfire Spread Prediction in Canada](https://refivu.com/en/papers/9898e982-6bec-43ec-ba38-60b279ce9505-dailywildfirecan-a-dataset-and-benchmark-for-next-day.md)
- [OpenAI Gym](https://refivu.com/en/papers/0be35f1c-219a-4606-a9f9-894f5c111448-openai-gym.md)
- [Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation](https://refivu.com/en/papers/8d51315a-ef79-4c4f-a429-17bee5b397f4-evaluation-from-precision-recall-and-f-measure-to.md)
- [One Table, Many Queries: Benchmarking Generalist Tabular Models Across Generation, Imputation, and Prediction](https://refivu.com/en/papers/a5a34682-8e82-4f78-bd1a-b0fbac9cfbf1-one-table-many-queries-benchmarking-generalist-tabular.md)
- [Tabular Foundation Models vs Tuned Gradient Boosting for Telecom Churn: A Profit- and Calibration-Aware Evaluation](https://refivu.com/en/papers/16e17cb7-9611-4734-92d0-ecc0f6e300c8-tabular-foundation-models-vs-tuned-gradient-boosting-for.md)
- [Measuring Robustness and Efficiency in a Connectome-Constrained Fly Visual System Model: Linking an Adversarial and a Perceptual Illusion](https://refivu.com/en/papers/b43673bb-9c48-4f3e-93bb-4535972cbe38-measuring-robustness-and-efficiency-in-a-connectome.md)
- [Don't Just Trust Your Memory: Evidence-Linked Memory Reduces Memory-Induced Degradation in LLM Agents](https://refivu.com/en/papers/891cb954-271d-4055-bf45-e2d6d155e372-don-t-just-trust-your-memory-evidence-linked.md)
- [Discovering Equations for the Thermodynamics of South Asian Monsoon Precipitation](https://refivu.com/en/papers/d06da3da-af2b-4745-b345-4282af39f88a-discovering-equations-for-the-thermodynamics-of-south-asian.md)
- [BoviShift: A Six-Year Multi-Attribute Audit of Visual Cattle Phenotyping Across Animals and Time](https://refivu.com/en/papers/701006a1-b208-4cfb-a030-7f0953f77a97-bovishift-a-six-year-multi-attribute-audit-of.md)
- [FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking](https://refivu.com/en/papers/f04135a2-4842-4f0a-bf04-0a830ebf7ab6-fern-cross-benchmark-table-retrieval-for-text-to.md)
- [Earlybird: Predictive Streaming Speech Recognition in 29M Parameters](https://refivu.com/en/papers/21cc45ed-d52d-4d73-b9d5-e2e28691f7d9-earlybird-predictive-streaming-speech-recognition-in-29m.md)

## Terms in this paper

- [logistic regression](https://refivu.com/en/terms/3551369d301a-logistic-regression)
- [GRPO](https://refivu.com/en/terms/17129d1bafd8-grpo)
- [Qwen3.8-27B](https://refivu.com/en/terms/4cabdbb54f57-qwen3-8-27b)
- [GPT-5.6-sol](https://refivu.com/en/terms/e06bb7dc1996-gpt-5-6-sol)
- [Opus 4.8](https://refivu.com/en/terms/b4016f45be38-opus-4-8)
- [Sonnet 5](https://refivu.com/en/terms/71af3d01a304-sonnet-5)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/8ae568ad-0626-4002-90e1-4ab112bab9bb-pyrite-building-and-benchmarking-protein-ligand-pose-ranking)
