GNINA CNN Scoring Modes, Ensembles, and GPU Reproducibility

A practical technical guide to GNINA v1.3.3's 5 CNN scoring modes, 10 built-in ensembles, four pose metrics, and why GPU refinement differs from bit-exact rescore and CPU execution.

Once a team decides to evaluate GNINA—using criteria like those in our Vina vs GNINA decision guide—the next practical bottleneck is parameter discipline. Reporting simply that a study "docked with GNINA" omits the choices that actually change pose ranking, runtime by orders of magnitude, and run-to-run repeatability. This guide documents the exact controls exposed by official GNINA v1.3.3 [1, 2] and surfaced directly in MolNexusGNINA 0.1.0.

Choose among GNINA v1.3.3's five CNN scoring modes

GNINA combines Monte Carlo conformational search and empirical energy evaluation with 3D convolutional neural network scoring [1, 3]. The --cnn_scoring mode determines at which stage of docking the CNN participates, creating a sharp trade-off between throughput and CNN-guided minimization [2].

GNINA v1.3.3 CNN scoring modes and operational trade-offs
ModeWhere the CNN runsSpeed & practical role
rescore (default)Empirical Vina search and minimization first; CNN evaluates and ranks final poses [1, 2].Fastest default baseline; strong starting point for redocking controls and library screening.
refinementEmpirical search followed by CNN gradient minimization during final pose refinement [2].Official GNINA documentation notes roughly 10× slower than rescore [2]; useful when testing whether CNN gradients improve top-pose geometry.
metrorescoreCNN contributes to Metropolis acceptance during search, with final rescoring [2].Intermediate coupling between search acceptance and CNN scoring without full CNN gradient refinement.
metrorefineCNN in Metropolis acceptance plus CNN pose refinement [2].Heavier compute budget; evaluate on targeted systems after establishing a rescore baseline.
allCNN used throughout every step of docking [2].Official GNINA documentation notes roughly 1,000× slower than rescore [2]; reserve for narrow diagnostic experiments rather than batch screening.

Understand the ten built-in CNN model ensembles

GNINA 1.3 retrained its CNN models on CrossDocked2020 v1.3 and ReDocked2020, reduced the default ensemble from five models (in GNINA 1.0) to three models, and introduced knowledge-distilled fast models to speed up inference while maintaining closely matched performance [1]. MolNexusGNINA exposes all ten built-in ensembles directly from the official GNINA v1.3.3 binary.

Built-in GNINA v1.3.3 CNN ensembles exposed in MolNexusGNINA
EnsembleFamily & basisWhen to select it
defaultGNINA 1.3 three-model default ensemble [1]Standard starting point for general redocking and cross-docking workflows.
fastGNINA 1.3 knowledge-distilled fast model [1]Larger local ligand batches or CPU-only workstations where throughput is limiting.
dense_1_3 / denseDenseNet architectures (1.3 retrained vs legacy) [1, 3]Sensitivity checks against the default ensemble on high-priority ligands.
crossdock_default2018_1_3 / crossdock_default2018Cross-docking focused training sets (v1.3 vs 2018) [1, 3]Cross-docking studies where receptor conformations differ from the query ligand's native holo state; see our redocking vs cross-docking guide.
redock_default2018_1_3 / redock_default2018Redocking-only subset training (v1.3 vs 2018) [1, 3]Controlled redocking benchmarks and methodological comparisons.
general_default2018 / default1.0Legacy GNINA 1.0 five-model and general ensembles [1, 3]Reproducing historical GNINA 1.0 protocols or auditing version drift.

Read CNNscore, CNNaffinity, CNN VS, and empirical affinity together

Every docked pose produced by GNINA v1.3.3 carries four distinct numbers that answer different questions. Conflating them—or sorting blindly by one column without inspecting pose geometry and receptor contacts—causes avoidable errors during shortlist selection.

How to interpret the four pose metrics reported by GNINA v1.3.3
MetricUnits / rangeWhat it estimatesBoundary
CNNscore0 to 1 (higher is better)CNN-predicted probability that the pose is a low-RMSD (≤ 2 Å) binding mode [1, 3].Pose-quality classifier, not experimental potency.
CNNaffinitypK units (higher is better)CNN-predicted binding affinity on a negative log scale.Model prediction subject to training-set domain and target bias.
CNN VSCNNscore × CNNaffinityComposite virtual-screening ranking value combining pose confidence and predicted affinity.Useful for prioritizing candidates only when paired with target controls and interaction checks.
minimizedAffinitykcal/mol (more negative is stronger)Empirical Vina-family score after local minimization.Useful steric sanity check; strong CNNscore with poor empirical energy warrants immediate inspection for clashes.
MolNexusGNINA 0.1.0 completed 1IEP / imatinib redocking table displaying six retained poses, top-pose RMSD 0.254 angstroms, best CNN score 0.9647, CNN affinity 8.389 pK, CNN VS 8.093, and empirical affinity -13.335 kcal/mol.
Authentic MolNexusGNINA 0.1.0 results table for the pinned 1IEP/imatinib control (GNINA v1.3.3, default ensemble, rescore, exhaustiveness 32, seed 42). Six in-box poses are retained alongside native heavy-atom RMSD. Values verify workflow execution, not measured binding free energy.

In the 1IEP/imatinib control above (a kinase inhibitor reference system; see our kinase docking controls guide and symmetry-aware redocking RMSD guide), Pose 1 simultaneously leads on CNNscore (0.9647), CNNaffinity (8.389 pK), CNN VS (8.093), minimizedAffinity (−13.335 kcal/mol), and native heavy-atom RMSD (0.254 Å). On prospective targets where no native ligand exists, metrics can disagree—so keeping all four columns visible beside 2D/3D contacts helps catch high-scoring steric artifacts early.

GPU vs CPU reproducibility: why refinement behaves differently

Reproducibility is often assumed whenever a user sets --seed. During MolNexusGNINA's 12-case verification against direct official GNINA v1.3.3 CLI executions on Ubuntu Linux (NVIDIA GeForce RTX 5070 Laptop GPU and x86_64 CPU), we documented an important hardware-level boundary that every GNINA user should know:

  • rescore and metrorescore (GPU and CPU): With fixed seed and thread count, repeated runs achieved 0.0 score delta and 0.0000 Å coordinate difference (identical output SHA-256 hashes) across both GPU and CPU.
  • refinement on GPU: Running the official GNINA v1.3.3 CLI itself multiple times on GPU with identical --seed 123 produced small run-to-run floating-point drift (top-pose native RMSD 0.3172 Å vs 0.3140 Å, ΔRMSD = 0.0032 Å, ΔCNNscore = 0.000129). This reflects non-deterministic atomic reductions in GPU cuDNN backward-pass convolutions used during CNN-gradient BFGS minimization—a documented behavior in NVIDIA's official cuDNN Determinism Support guide [4], which notes that bitwise repeatability is not guaranteed for backward paths using atomic operations or across different GPU architectures.
  • refinement on CPU-only (--no_gpu): Disabling GPU execution removes cuDNN backward-pass non-determinism and restores exact 0.0 / 0.0000 Å bit-for-bit parity (verified on 1CRN/aspirin refinement with --no_gpu and seed=123).

How MolNexusGNINA keeps CNN parameters and compute provenance intact

In terminal workflows, it is easy to change --cnn_rotation or switch from GPU 0 to CPU during troubleshooting and forget which run produced an exported SDF or PDB file. MolNexusGNINA exposes every GNINA parameter in a structured right-hand inspector and writes the exact mode, ensemble, sort criterion, seed, GPU/CPU device, thread count, and scores into local SQLite history and PDF/Excel/CSV reports. To see the complete 12-test CLI parity matrix and Linux CUDA packaging architecture, read Running GNINA on Linux: CUDA 12, CPU Fallback, and CLI Parity or return to the MolNexusGNINA product overview.

References

  1. McNutt AT, Li Y, Meli R, Aggarwal R, Koes DR. GNINA 1.3: the next increment in molecular docking with deep learning Journal of Cheminformatics (2025) DOI: 10.1186/s13321-025-00973-x Primary source for GNINA 1.3 three-model default ensemble, CrossDocked2020 v1.3 models, and knowledge-distilled fast models.
  2. GNINA developers. GNINA: molecular docking with deep learning Official GitHub repository Official CLI reference for --cnn_scoring modes, relative runtime ratios (refinement ~10x, all ~1000x), --cnn_rotation, and --no_gpu.
  3. McNutt AT, Francoeur P, Aggarwal R, Masuda T, Meli R, Ragoza M, Sunseri J, Koes DR. GNINA 1.0: molecular docking with deep learning Journal of Cheminformatics (2021) DOI: 10.1186/s13321-021-00522-2 Foundational paper defining GNINA CNN scoring, CNNscore, CNNaffinity, and the original 2018 model families.
  4. NVIDIA Corporation. Determinism support — NVIDIA cuDNN Documentation Official NVIDIA Documentation Official documentation stating bitwise determinism conditions, GPU-architecture limits, and non-guaranteed backward atomic paths.