Physical Knot Classification Beyond Accuracy: A Benchmark and Diagnostic Study
Organizations: College of Science, Shihezi University, Shihezi 832003, Xinjiang, China
Abstract
Physical knot classification is a challenging fine-grained recognition task in which the intended discriminative cue is rope crossing structure; however, high closed-set accuracy may still arise from low-level appearance shortcuts rather than genuine topological understanding. In this work, we introduce dataset (1,440 images, 10 classes), which trains models on loosely tied knots and evaluates them on tightly dressed configurations to probe whether structure-guided training yields topology-specific gains. We demonstrate that topological distance successfully predicts residual inter-class confusion across multiple backbone architectures, validating the utility of our topology-aware evaluation framework. Furthermore, we propose topology-aware centroid alignment (TACA) and an auxiliary crossing-number prediction objective as two complementary forms of structural supervision. Notably, Swin-T with TACA achieves a consistent positive specificity gain (Delta_spec = +1.18 pp) across all random seeds under the canonical protocol, and auxiliary crossing-number prediction exhibits robust performance across data regimes without the real-versus-random reversal observed for centroid alignment. Causal probes reveal that background changes alone flip 17-32% of predictions and phone-photo accuracy drops by 58-69 percentage points, underscoring that appearance bias remains the principal obstacle to deployment. These results collectively demonstrate that our diagnostic workflow provides a principled and practical tool for evaluating whether a hand-crafted structural prior delivers genuine task-relevant benefit beyond generic regularization.
Figures & tables
| ID | Knot Name | Type | Family | |
|---|---|---|---|---|
| OHK | Overhand Knot | Prime ( ) | 3 | Stopper |
| SK | Slip Knot | Slip ( ) | 3 | Stopper |
| F8K | Figure-8 Knot | Prime ( ) | 4 | Stopper |
| BK | Bowline | Loop | 4 | Loop |
| F8L | Figure-8 Loop | Loop ( ) | 4 | Loop |
| ABK | Alpine Butterfly | Loop | 4 | Loop |
| Model | Params | Test Acc (%) | Macro F1 |
|---|---|---|---|
| General Architectures | |||
| ResNet-18 | 11.2M | ||
| ResNet-50 | 23.5M | ||
| EfficientNet-B0 | 4.0M | ||
| ViT-B/16 | 85.8M | ||
| Swin-T | 27.5M | ||
| Model | Spearman | Pearson | Mantel | Mantel |
| ResNet-18 | 0.058 | |||
| ResNet-50 | 0.002 ∗∗ | |||
| EfficientNet-B0 | 0.001 ∗∗∗ | |||
| ViT-B/16 | 0.005 ∗∗ | |||
| Swin-T | 0.173 | |||
| ; . 9,999 permutations, two-tailed. | ||||
| Condition | ResNet-50 | Swin-T | ViT-B/16 |
|---|---|---|---|
| CE only | |||
| TACA (rand) | |||
| TACA (real) | |||
| (pp) | |||
| All values in %. Per-seed : Swin-T ( 1.05, 1.04, 1.46), | |||
| ViT-B/16 ( 3.13, 1.25, 1.67), ResNet-50 ( 2.71, 0.21, 1.67). | |||
| Method | 50% data | 100% data |
|---|---|---|
| CE (baseline) | ||
| TACA (real) | ||
| TACA (rand) | ||
| AuxCrossing-Ord | ||
| (pp) |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Configuration | Test Accuracy (%) | Macro F1 |
|---|---|---|
| ResNet-18 (CE) | ||
| ResNet-18 (CE + TACA) | ||
| ResNet-18 (CE + TAML) | ||
| ResNet-18 (CE + TACA + TAML) | ||
| ResNet-50 (CE) | ||
| EfficientNet-B0 (CE) |
| Loss Configuration | Test Acc (%) | Macro F1 |
|---|---|---|
| CE only | ||
| CE + TACA | ||
| CE + TAML | ||
| CE + TACA + TAML |
| Photo | Factor Tested | Tightness | Angle | Background | Rope |
|---|---|---|---|---|---|
| 1 | Baseline | Tight | 90° | Gray | A |
| 2–3 | Viewing angle | Tight | 45°/30° | Gray | A |
| 4–5 | Looseness ( angle) | Loose | 90°/45° | Gray | A |
| 6–7 | Background | Tight | 90° | Blue/Beige | A |
| 8 | Lighting | Tight | 90° | Gray | A † |
| 9 | Rope material | Tight | 90° | Gray | B |
| OHK | SK | F8K | BK | F8L | ABK | CH | RK | FSK | FMB | |
|---|---|---|---|---|---|---|---|---|---|---|
| OHK | — | 0.10 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 |
| SK | — | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | |
| F8K | — | 0.50 | 0.10 | 0.50 | 0.50 | 0.50 | 0.50 | 0.15 | ||
| BK | — | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | |||
| F8L | — | 0.50 | 0.50 | 0.50 | 0.50 | 0.50 | ||||
| ABK | — | 0.50 | 0.50 | 0.50 | 0.50 |
| Backbone | Configuration | Test Acc | Multi-seed Mean | Embed |
| ResNet-18 | CE only | 95.83% | 0.462 | |
| CE + TACA (hand-crafted) | 97.08% | 0.645 | ||
| CE + TACA (learnable) | 96.67% | 0.509 | ||
| ResNet-50 | CE only | 96.04% | 0.495 | |
| CE + TACA (hand-crafted) | 95.83% | — † | 0.641 | |
| CE + TACA (learnable) | 96.67% | 0.505 |
| Dataset | Method | Test Acc | Macro F1 | Embed |
|---|---|---|---|---|
| Knots-10 | CE only | 96.04% | 0.961 | 0.495 |
| CE + TACA | 95.83% | 0.959 | 0.641 | |
| CUB-200-2011 | CE only | 81.81% | 0.819 | 0.109 |
| CE + TACA | 80.67% | 0.807 | 0.086 |
| Model | Attribution rope ratio (%) |
|---|---|
| Swin-T variants (within-architecture comparison) | |
| Swin-T CE | |
| Swin-T TACA | |
| Swin-T AuxCrossing | |
| CNN baseline | |
| ResNet-50 CE | |
| 50% data | 100% data | |||||
|---|---|---|---|---|---|---|
| Method | s42 | s123 | s456 | s42 | s123 | s456 |
| CE | 95.00 | 92.50 | 95.42 | 96.04 | 97.71 | 97.71 |
| TACA (real) | 97.29 | 96.67 | 96.04 | 97.08 | 96.67 | 96.25 |
| TACA (rand) | 96.25 | 97.08 | 96.46 | 98.96 | 98.13 | 97.50 |
| AuxCrossing-Ord | 95.83 | 97.71 | 96.25 | 97.50 | 96.67 | 97.08 |
Classification
Classification maps observations to discrete labels, including familiar, unknown, hierarchical, or multiple categories.
See all 408 papers