Pyrite: Building and Benchmarking Protein-Ligand Pose Ranking Agents

Megha Srivastava, Michael H. Lim, Allison M. Keys, Pranav Murugan, Nate GruverarXiv 2026 · arXiv

In the world of drug discovery, knowing exactly how a small molecule (a ligand) "sits" inside a target protein is everything. Modern AI models like AlphaFold 3 or Boltz2 have gotten incredibly good at generating plausible-looking binding "poses." The catch? They often generate too many of them, and we are surprisingly bad at picking the winner.

A new paper from researchers at Stanford and Genesis Molecular AI introduces Pyrite, a benchmark and a suite of LLM-based agents designed to solve this "pose ranking" problem. Their most startling finding: expert chemists perform near random chance on this task, while LLM agents can significantly outperform them.

TL;DR

Pyrite is a new pairwise benchmark of 1,500 protein-ligand pose pairs that reveals a major "intuition gap" in drug discovery: expert chemists struggle to rank high-quality cofolded poses. By using LLMs as automated feature engineers rather than just direct reasoners, the authors achieved 74% accuracy, far exceeding human performance.

What Problem Does This Paper Address?

When designing a drug, scientists use "cofolding" models to predict the 3D structure of a protein-ligand complex. These models produce a variety of candidate poses. To move forward, a chemist must identify which pose is closest to the "ground truth" (the actual physical binding mode).

Historically, we’ve relied on two things: physics-based scores (like MM-GBSA, which estimates binding energy) and human intuition. However, as models get better, the differences between candidate poses become subtler. The authors found that in this high-quality regime, traditional physics scores can actually become anti-correlated with correctness, and even seasoned experts struggle to tell the difference.

Figure 1: Interface for human expert annotations on our pairwise pose ranking benchmark Pyrite (ground truth crystal shown only for paper visualization). The example shows two predicted poses of a potential small-molecule inhibitor of the autotaxin protein (Protein Data Bank 7G63), with toggle control for 2D contact map and interactive 3D and overlay views. Experts are asked to select which pose is closer to the crystallographic binding mode (selecting 1-5), write factors in favor of both pose A and B, and describe their reasoning on how they weigh these factors for pose selection. Annotators are also provided MM-GBSA scores and the # of unusual torsions using Mogul for each pose.

Methods

The researchers developed a structured data format called PyriteRep. Instead of feeding an LLM raw 3D coordinates (which they are notoriously bad at processing), PyriteRep provides a "chemist-readable" summary: molecular graphs, lists of specific interactions (like H-bonds or $\pi$-stacking), and physicochemical properties.

They then built two types of agents:

  1. PyriteReasoner: A "zero-shot" agent that looks at the data for two poses and writes out a text-based chemical argument for why Pose A is better than Pose B.
  2. PyriteFeaturizer: A "coding agent" that writes Python scripts to extract quantitative features from the data. These features are then used to train a simple, interpretable logistic regression model. This agent can even make "subcalls" to smaller LLMs to ask qualitative questions like, "Is the ligand well-packed in this pocket?"

To boost performance, they used Group Relative Policy Optimization (GRPO)—a reinforcement learning technique—to fine-tune open-weight models (like Qwen), allowing them to match or beat closed-source giants like Claude 3.5 Opus.

Datasets

  • Pyrite Benchmark: A newly introduced dataset of 1,500 pose pairs across 285 diverse protein-ligand complexes.
  • The poses were generated using a proprietary cofolding model and carefully filtered to ensure they were "high quality" but difficult to distinguish.
  • The data is split into pre-AF3 (structures released before Sept 2021) for training and post-AF3 for evaluation to ensure the models aren't just "remembering" known structures.

Key Insights and Ideas

  • The Expert Blind Spot: Expert chemists (averaging 10+ years of experience) achieved only ~45% accuracy. They often over-relied on MM-GBSA scores, which were wrong 66% of the time in this specific dataset.
  • Feature Engineering > Direct Reasoning: The "Featurizer" approach (74% accuracy) consistently beat the "Reasoner" approach (67%). This suggests that LLMs are currently more useful as "scientists-in-the-loop" who can discover general rules and write code, rather than as "judges" making individual calls.
  • Structured Representation is Essential: Providing raw 3D coordinates resulted in near-random performance. The LLMs required the "semantic" layer provided by PyriteRep to understand the chemistry.
Figure 3: Comparison of human experts vs. AI models. Note the significant performance gap, especially on "Hard" pairs.

Key Results

  • Human Experts: 42–45% accuracy (worse than a coin flip).
  • Physics Baseline (MM-GBSA): ~34% accuracy (actively misleading).
  • PyriteReasoner: Up to 67% accuracy.
  • PyriteFeaturizer: Up to 74% accuracy, the highest recorded on the benchmark.
  • RL Impact: GRPO fine-tuning improved the open-source Qwen model's accuracy by up to 17 percentage points, proving that specialized reasoning models can be trained for niche scientific tasks.

Limitations and Future Work

The authors acknowledge that while pairwise ranking is a great benchmark, real-world drug discovery involves ranking hundreds of poses at once, which is computationally more expensive for LLM agents. Additionally, the training set is relatively small (limited by the number of high-quality crystal structures available).

Future work will likely focus on scaling these agents to larger datasets and testing if the "features" discovered by the LLM on Pyrite can generalize to poses generated by other cofolding models like AlphaFold 3.

Summary updated

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