The Template Modeling Score (TM-score) is a quantitative metric that evaluates the global structural similarity between a predicted model and a reference structure, typically an experimentally determined native conformation. Unlike Root Mean Square Deviation (RMSD), which is dominated by large local deviations, TM-score is designed to be length-independent and more sensitive to the overall fold topology, making it the standard assessment metric in community-wide blind challenges like RNA-Puzzles and CASP-RNA.
Glossary
Template Modeling Score (TM-score)

What is Template Modeling Score (TM-score)?
The Template Modeling Score (TM-score) is a length-independent metric for assessing global structural similarity between two macromolecular conformations, designed to be more sensitive to overall topology than Root Mean Square Deviation (RMSD).
TM-score is calculated by optimally superposing the predicted and reference structures, then computing a weighted sum of residue-pair distances normalized by a length-dependent scale factor d0. The score ranges from 0 to 1, where a value above 0.5 generally indicates the model shares the same global fold as the reference, and a value below 0.17 corresponds to random structural similarity. This normalization ensures comparability across RNA molecules of vastly different sizes, from small hairpins to large ribosomal domains.
Key Properties of TM-score
The Template Modeling Score (TM-score) is a length-independent metric designed to assess global structural similarity, offering greater sensitivity to overall topology than RMSD. It is a standard benchmark in RNA-Puzzles and CASP-RNA.
Length-Independent Normalization
TM-score solves a critical flaw of RMSD by normalizing the error by the length of the target structure. This ensures a score of 0.5 has the same statistical significance for a 50-nucleotide hairpin as it does for a 500-nucleotide ribozyme. The normalization factor, d₀, scales with the structure size, making scores directly comparable across different RNA families and sizes without bias toward smaller structures.
Topology-Weighted Scoring
Unlike RMSD, which treats all atomic distances equally, TM-score uses a Levitt-Gerstein weight function:
- Small errors (< d₀) contribute near-linearly to the score
- Large errors (> d₀) are down-weighted, preventing local outliers from dominating This weighting makes TM-score more sensitive to the global fold topology and less sensitive to flexible loop regions or terminal tails, aligning better with human expert assessment of structural similarity.
Statistical Significance Thresholds
TM-score values map to well-defined statistical confidence levels:
- TM-score > 0.5: Indicates the two structures share the same global fold with high probability
- TM-score < 0.17: Corresponds to random structural similarity
- TM-score > 0.6: Considered a high-quality prediction in CASP-RNA benchmarks This statistical grounding allows researchers to set objective quality thresholds without subjective visual inspection.
Optimal Superposition Independence
TM-score calculation involves finding the optimal rotation and translation that maximizes the score between two structures. This is performed using a heuristic iterative alignment algorithm rather than a single least-squares fit. The result is a superposition that prioritizes the core structural motif over peripheral elements, making it particularly effective for comparing RNA structures where conserved helical cores are more important than variable loop conformations.
Benchmark Standard in RNA-Puzzles
TM-score is the primary evaluation metric in RNA-Puzzles and CASP-RNA community-wide assessments. It is used alongside:
- INF (Interaction Network Fidelity): Measures base-pairing and stacking accuracy
- GDT-TS (Global Distance Test): Evaluates residue-level superposition
- lDDT (local Distance Difference Test): Assesses per-residue accuracy TM-score's role is specifically to quantify whether the global tertiary architecture has been correctly captured, distinguishing topology-level success from local refinement quality.
Relationship to RMSD and GDT-TS
TM-score complements rather than replaces other metrics:
- RMSD: Sensitive to local precision but length-dependent; a 5 Å RMSD is excellent for a ribosome but poor for a tetraloop
- GDT-TS: Uses multiple distance thresholds but requires predefined cutoff values
- TM-score: Provides a single, normalized score that balances global topology and local fit In practice, CASP-RNA evaluations report all three metrics, with TM-score serving as the primary indicator of fold-level correctness.
TM-score vs RMSD: Key Differences
Comparison of the two primary metrics for evaluating global structural similarity between predicted and experimental RNA 3D structures, highlighting their sensitivity to domain alignment, length dependence, and topological accuracy.
| Feature | TM-score | RMSD | GDT-TS |
|---|---|---|---|
Scale invariance | Length-normalized (0-1) | ||
Length independence | |||
Topology sensitivity | High (global fold) | Low (local deviations dominate) | Moderate |
Score range | 0.0 to 1.0 | 0 Å to ∞ | 0.0 to 1.0 |
Random structure score | ~0.17 | Depends on length | ~0.05 |
Native structure score | 1.0 | 0.0 Å | 1.0 |
Penalizes domain misalignment | |||
Used in CASP-RNA | |||
Used in RNA-Puzzles |
Frequently Asked Questions
Answers to common questions about the Template Modeling Score, a critical metric for evaluating the global accuracy of predicted RNA and protein structures.
The Template Modeling Score (TM-score) is a length-independent metric designed to assess the global structural similarity between a predicted model and an experimentally determined reference structure. It is calculated by optimally superimposing the two structures and measuring the residue-to-residue distances, applying a length-dependent scaling factor d0 to normalize the score. The formula is:
codeTM-score = (1 / L_target) * Σ [1 / (1 + (d_i / d0)^2)]
Where L_target is the length of the target sequence, d_i is the distance between the i-th pair of aligned residues, and d0 = 1.24 * ∛(L_target - 15) - 1.8 is the normalization scale. This scaling ensures that a random structure pair yields a TM-score of approximately 0.17, while a perfect match yields a score of 1.0, independent of the protein or RNA's size.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Key metrics and concepts used alongside TM-score to evaluate the accuracy of predicted RNA tertiary structures against experimental references.
Root Mean Square Deviation (RMSD)
The standard metric for quantifying global structural similarity between a predicted 3D model and an experimental reference. RMSD calculates the average atomic distance after optimal rigid-body superposition.
- Length-dependent: RMSD values scale with system size, making cross-target comparisons difficult
- Outlier-sensitive: A single poorly predicted loop can dominate the score
- Units in Ångströms: Lower values indicate better agreement; values < 2 Å are typically considered high-resolution predictions
TM-score was specifically developed to address RMSD's length-dependence and sensitivity to local outliers.
Predicted Local Distance Difference Test (pLDDT)
A per-residue confidence metric output by AlphaFold 3 and related models that estimates the local accuracy of the predicted structure without requiring a reference.
- Scale of 0–100: Higher values indicate higher predicted accuracy
- Self-assessment: Derived from the model's internal uncertainty estimates during structure generation
- Critical filter: Residues with pLDDT < 50 should be treated as low-confidence and often correspond to disordered regions
Unlike TM-score, pLDDT does not require an experimental structure, making it invaluable during de novo prediction.
Global Distance Test (GDT-TS)
A length-independent metric originally developed for CASP protein structure assessment that evaluates the percentage of residues that can be superimposed within defined distance cutoffs.
- Multi-threshold: Uses 1, 2, 4, and 8 Å cutoffs to capture both local and global accuracy
- Robust to outliers: Less sensitive to extreme local errors than RMSD
- CASP-RNA adoption: Increasingly used alongside TM-score for RNA structure assessment
GDT-TS and TM-score are complementary; GDT-TS emphasizes coverage across multiple distance scales while TM-score focuses on global topology.
Local Distance Difference Test (lDDT)
A superposition-free metric that evaluates local structural accuracy by comparing all pairwise inter-atom distances within a defined radius, without requiring global alignment.
- Invariant to domain orientation: Scores individual local environments independently
- Radius-based: Typically uses a 15 Å inclusion radius around each residue
- Stereochemistry-aware: Penalizes violations of local geometry that global metrics may miss
lDDT is particularly useful for multi-domain RNA structures where relative domain orientations may be incorrectly predicted even when individual domains are accurate.
RNA-Puzzles Benchmark
A community-wide blind assessment experiment that evaluates the state-of-the-art in RNA tertiary structure prediction by challenging participants to predict unpublished crystallographic or cryo-EM structures.
- TM-score is a primary metric: Used alongside RMSD and GDT-TS for ranking submissions
- Diverse targets: Includes riboswitches, ribozymes, and viral RNA elements
- Blind assessment: Predictors have no prior knowledge of the experimental structure
RNA-Puzzles has driven methodological advances by revealing that global topology prediction (measured by TM-score) remains challenging for complex RNA folds.
CASP-RNA Experiment
The RNA-specific track of the Critical Assessment of Structure Prediction experiment, providing a standardized, biennial benchmark for comparing computational RNA structure prediction methods.
- Standardized evaluation: Uses TM-score, GDT-TS, and lDDT for consistent ranking
- Regular cadence: Held every two years alongside the protein CASP experiment
- Method-agnostic: Evaluates physics-based, template-based, and deep learning approaches on equal footing
The CASP-RNA track has documented the rapid improvement of deep learning methods like AlphaFold 3, with TM-score values showing significant gains over traditional approaches.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us