Manuscript Offprint
arXiv:2610.25256PanoDent-KD: From Generalist Knowledge Distillation to Cross-Dataset Specialist Detection and Embedded Deployment in Panoramic Radiographs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Reliable panoramic-radiograph detection requires consistency across datasets with different class definitions and deployment software. We present PanoDent-KD, an auditable 1280-pixel YOLO26m pipeline linking a 12-class source generalist, feature-level knowledge distillation (KD), exact classifier-row transfer, teacher-free five-class specialization, and embedded deployment. A common training and evaluation pipeline compares three source-training arms across three seeds: a supervised baseline (B1), single-teacher KD (STKD), and multi-teacher KD (MTKD). Five shared classifier rows initialize nine OralXrays-9 specialists, while the backbone, FPN–PAN neck, and dual-detection-head topology are retained unchanged. On the 2,686-image test subset, all three arms achieve macro box F1 near 0.82. B1 achieves the highest three-seed arm-level mean macro box F1 ( ) and ( ). STKD seed 1, selected after development but before final testing, was used for deployment. Its Jetson Orin Nano Super FP16 TensorRT engine achieves 77.03-ms median and 80.86-ms P95 prediction-call latency, throughput of 12.90 images/s, and gross total-module energy of 1.39 J/image, with high numerical agreement between within-device PyTorch and TensorRT FP16 inference. These findings demonstrate the feasibility of an auditable, device-specific deployment workflow, but do not establish clinical validity or improved target-domain accuracy from KD.
1. Introduction
Panoramic radiographs summarize the dentition, jaws, restorations, and adjacent structures, but their breadth creates scale variation, superposition, artifacts, and protocol-dependent boundaries. Hospital-scale resources now support multi-object study: OralXrays-9 contains 12,688 radiographs and nine anomaly classes [8]; UMFIH provides development and external cohorts [25, 26]; and a related 12-class task removes two exceptionally rare labels [12]. DENTEX [15], Tufts [29], and CariesXrays [7] illustrate the diversity of acquisition and ontology.
The main challenge is transferring models between datasets, not only model size. Tooth numbering [41], apicallesion [13], bone-loss [20], and restoration systems [1] learn recognizable structures, yet internal accuracy does not establish robustness to another hospital or prevalence. Dental and medical-imaging guidance therefore emphasizes intended use, provenance, partitioning, reference standards, uncertainty, and deployment context [14, 30, 36, 39, 42, 45]. Radiographic models can deteriorate between institutions [48], exploit shortcuts [9], and hide important failure strata behind aggregates [28]. Distillation is an appealing bridge: a large teacher may organize features for a compact student. But a small source validation gain may arise from contamination, seed variation, metric policy, or checkpoint choice and disappear after target fine-tuning. Leakage analyses motivate exact-content auditing [19, 38], while domain theory and dataset-bias studies predict that source risk does not determine target risk [3, 40]. PanoDent-KD asks whether source feature distillation survives external source testing, five-class specialization, and hardware-specific export. We audit source partitions, harmonize evaluation, train B1/STKD/MTKD over three seeds, and reserve the final test for the selected checkpoint. All nine source checkpoints independently pass transfer preflight; five shared classifier rows initialize teacher-free OralXrays-9 specialists. One deployment checkpoint is frozen before final-test result access and exported as a pure student.
The audit bounds every claim. Forty-two exact-image groups cross source train and validation sets, so the released split supports historical comparison rather than a new state-of-the-art claim. Target train and development have no exact-content, stem, or inode overlap. A blinded review found two test images that also appear in training: the frozen exclusion rule creates the 2,686-image test subset. As panoramic patterns can remain identifying [10], the published panel is hash-selected, metadata-stripped, manually screened, and used under the retained non-commercial publication terms.
Figure 1 separates the executed source student and its OralXrays-9 specialist transformation: the former exposes
Correspondence: waqas51006@gmail.com
PanoDent-KD — model architecture and cross-dataset specialization
Executed YOLO26m topology · source-only heterogeneous feature distillation · teacher-free five-class TensorRT deployment
Student/inference
training loss
→ frozen teacher
Specialist/export
Backbone · YOLO26m student

C3k2 / CSP micro-architecture
1x1 split
C3k x1 / Bottlenecks
residual feature transform
short CSP branch
C2PSA context
split
PSA attention
- FFN residual
fuse
640×64
320×256
160×512
80×512
40×512
OPG input
1280×1280×3
L0 Conv
3×3 / s2
L1 Conv
3×3 / s2
L2 C3k2
CSP features
L3 Conv / 2
L4 C3k2
L5 Conv / 2
L6 C3k2
L7-8
Conv+C3k2
L9 SPPF
L10 C2PSA
C3 - L4
C4 - L6
C5 - L10
FPN top-down + PAN bottom-up
C5 - 40°
L22
L13 - P4
L19 - P4
C3k2 - 80×512
C3k2 - 80×512
L16 - P3
C3k2 - 160×256
L23 end-to-end Detect x3 scales
ONE-TO-MANY · auxiliary training branch
F1
box tower
input-64→64→4
direct L1
class tower
[DW3×3 + PW1×1]×2
→ 256 → 1×1 / nc
dashed = training-only; removed from the fused deployment graph
ONE-TO-ONE · end-to-end inference branch
F1
detach in train
box tower
input-64→64→4
regm=1
class tower
[DW3×3 + PW1×1]×2
→ 256 → 1×1 / nc
decode
sigmoid
top-k
NMS-free output
B × 300 × 6
fused export: one-to-many pruned · nc = 12 source / 5 specialist
Source-stage heterogeneous feature KD · ADCD-12 only
Three Detect-input levels aligned independently · teachers frozen, eval, no-grad
Training variants
B1
Supervised source baseline
only
STKD
YOLO26x teacher X
MTKD
YOLO26x X + YOLOv8x V
MTKD is the custom cross-family wrapper
YOLO26x X - frozen
160×384
AX.3: 1x1 Conv no-bias
- BN · 256 → 384
YOLO26m student taps
80×768
AX.4: 1x1 Conv no-bias
- BN · 512 → 768
AX.5: 1x1 Conv no-bias
- BN · 512 → 768
YOLOv8x V · MTKD only
AV.3: 1x1 Conv no-bias
- BN · 256 → 320
AV.4: 1x1 Conv no-bias
- BN · 512 → 640
AV.5: 1x1 Conv no-bias
- BN · 512 → 640
sigmoid(raw class score)
Optimization objective
AL: independent trainable 1×1 Conv (bias-free) + BN
back-propagation: student + adapters only · teachers excluded from optimizer / EMA / serialization
PanoDent-KD — executed methodology workflow
Fixed-protocol source study · class-aware specialization · single final evaluation · agreement-gated edge handoff
→ Executed flow → Source KD → Transfer → Final test
validation-selected checkpoints
(a) ADCD-12 construction - fixed data plan
Public ADCD
14 labels · OPG boxes
source release
Project-defined ADCD-12
IMP · PRR · OBT · END · CAR · BON
IMT · API · ROT · FUR · ORD · SRD
APS / ROR excluded
Development splits
train 1,375 / 18,497
val 153 / 1,968
images / boxes
Fixed reporting sets
internal 100 / 1,365
external 180 / 2,962
no development feedback
Reproducibility contract
manifest + split hashes · deterministic seeds {0,1,2}
3 invalid zero-area boxes dropped · duplicate groups audited
Frozen source-study inputs
data identities · class order · splits · evaluation policy
(b) Controlled benchmark and ADCD source-student study
Architecture screen under one common evaluator
YOLO26 M/L/X - corrected RT-DETR-L · YOLOv8x-1024 · RF-DETR-L
invalid RT-DETR remap row excluded
Fixed role assignment
YOLO26m student · YOLO26x accuracy teacher · YOLOv8x heterogeneous teacher
B1 · supervised
YOLO26m student
Ldet only
no teacher
STKD
frozen YOLO26x
teacher weight 1.0
P3 / P4 / P5 feature KD
Custom MTKD
YOLO26x + YOLOv8x
weights 0.5 / 0.5
independent 1×1 Conv+BN adapters
shared: 1280° · 75 epochs · AdamW · seeds 0/1/2 · confidence-weighted L2 · dis=6
3 methods × 3 seeds = 9 source students
validation-selected best_student.pt · pure-student checkpoints
(c) Source testing with fixed settings
Nine validation-selected source checkpoints
same class order and checkpoint identity carried into evaluation
Fixed evaluation settings
Image size: 1280, Conf. .001, IoU: .70, and max : 300
validation-only checkpoint choice · tests reporting-only · no model/threshold tuning
Internal test
100 images · 1,365 boxes
reporting-only endpoint
External test
180 images · 2,962 boxes
locked evidence endpoint
Recorded metrics
P · R · F1 · mAP50 · mAP · class wise metrics · latency
9 transfer-qualified source checkpoints
(d)
(d) Class-aware ADCD-12 - OralXrays-9 transfer
Source checkpoint cohort
B1 / STKD / MTKD × seeds 0,1,2
all nine checkpoints pass the transfer prelight
Exact five-row class-output mapping
ADCD rows
0 - IMP
2 - OBT
3 - END
4 - CAR
7 - API
Specialist rows
0 - IMP
1 - OBT
2 - END
3 - CAR
4 - API
nc 12 → 5 · cv3 + one2one_cv3 · P3 / P4 / P5
only the five homologous class-output rows are remapped
Compatible state-dict audit · 9/9 passed
loaded=756 · remapped=12
skipped=0 · newly initialized=0
no optimizer state transferred
9 initialized five-class specialists
source lineage and paired seed retained
(e) OralXrays-9 specialist – final evaluation
Strict-five development partition
published train split: 10,000 images
8,000 train + 2,000 dev · disjoint
IMP · OBT · END · CAR · API
Published test
2,688 images
not used until final evaluation
(no model-selection feedback)
Teacher-free specialist fine-tuning
YOLO26m · nc=5 · 75 epochs · paired source/fine-tune seed · no teacher or KD adapter
B1 / STKD / MTKD source lineage × seeds 0,1,2
Paired Seed
B1
STKD
MTKD
Seed: 0
B1-0
STKD-0
MTKD-0
Seed: 1
B1-1
STKD-1
MTKD-1
Seed: 2
B1-2
STKD-2
MTKD-2
9 frozen specialist checkpoints
all checkpoint identities fixed before final-test inference
Single final evaluation
all 9 frozen checkpoints · fixed thresholds
macro/micro F1 · AP/mAP · classwise
duplicate screening and blind review first
Development-only selection
STKD · seed 1 · threshold 0.340
best_student.pt
(f) Student-only FP16 edge handoff
Selected specialist
STKD · seed 1
fused best_student.pt
ONNX
opset 17
static export
TensorRT engine
FP16 · batch 1
1280 × 1280
Jetson Orin Nano Super target
YOLO26m specialist · NMS-free inference · five-class boxes
Acceptance gates executed in order
environment
PyTorch eval
engine eval
Agreement
environment audit → PT evaluation → engine evaluation → prediction agreement
deployment evidence is accepted only after the applicable gate
Agreement-gated acceptance
benchmark run after the within-Orin agreement check passes
FP16 engine; INT8 not used
Edge deployment · five-class bounding boxes
Figure 1. PanoDent-KD architecture. (top) YOLO26m source student (1280 × 1280); STKD/MTKD add frozen teachers via 1 × 1 Conv+BN adapters. (bottom) The specialist keeps this topology, maps source rows [0, 2, 3, 4, 7] to target rows [0, 1, 2, 3, 4] (756 tensors loaded, 12 remapped), trains 75 teacher-free epochs, and exports the pure student in FP16.
the deployable backbone–neck–head topology and source-only KD attachments, whereas the latter expands the exact five-row transfer, teacher-free specialization, and student-only edge route. The main contribution is not a new KD
PanoDent-KD — executed methodology workflow
Protocol-locked source study · class-aware specialization · sealed closing evaluation · parity-gated edge handoff
executed flow
source KD
transfer
→ sealed-set gate
validation-selected checkpoints
(a) ADCD-12 construction and protocol lock
(b) Controlled benchmark and ADCD source-student study

(c) Locked source evaluation and evidence ledger
(d) Class-aware ADCD-12 - OralXrays-9 transfer
(e) OralXrays-9 specialist campaign and closing gate
(f) Student-only FP16 edge handoff
Figure 2. PanoDent-KD workflow. (a) Data plan; (b) source architecture screen and B1/STKD/MTKD training; (c) source testing; (d) five-row transfer to OralXrays-9; (e) nine teacher-free specialists, STKD seed 1 selected on development data (confidence 0.340), single final evaluation; (f) FP16 TensorRT export and Orin checks. No teacher or KD adapter is used in specialist training or inference.
method. It is a checked workflow combining (i) three-seed source and nine-run target comparisons, (ii) recorded class-row and weight transfer, (iii) fixed final evaluation, and (iv) runtime-agreement checks and real-device speed, power, and memory measurements.
2.1. One-stage detectors
One-stage YOLO detectors cast localization and classification as dense prediction [33]. Feature pyramids [21] and path aggregation [23] retain spatial detail while propagating semantics. The executed lineage includes versioned Ultralytics software [18] and YOLO26's end-to-end, NMS-free path [17]. Comparisons still require one evaluator because preprocessing, class loading, confidence filtering, and maximum detections can change rankings independently of learned features.
2.2. Convolutional and transformer detectors
Set-prediction detectors provide complementary baselines. DETR [6], Deformable DETR [51], DINO [49], and RT-DETR [50] progressively strengthen assignment, multi-scale sampling, and efficient inference; RF-DETR [34] with realtime inference [2] and EdgeCrafter/ECDet [22] extend the design space. ConvNeXt [24] and DINOv3 [37] motivate the frozen exploratory teacher. Our screen is empirical rather than compute-matched.
2.3. Knowledge distillation (KD)
Existing studies cover KD [16], feature matching [35], attention transfer [47], and multiple teachers [5, 43, 44, 46]. We reuse these methods, rather than introduce a new KD loss. Frozen YOLO teachers guide P3/P4/P5 through Conv+BN adapters and confidence-weighted MSE. MTKD weights YOLO26x and 1280-pixel YOLOv8x equally. We test whether source KD benefits remain after target training.
2.4. Evaluation and deployment discipline
Previous work highlights seed variation [4, 31] and TensorRT conversion [27], but export is not benchmarking: device testing still matters [32]. We combine these established methods with recorded class transfer and fixed target evaluation. We measure agreement between inference methods,
Table 1. Datasets and Evaluation Roles
| Partition | Classes | Images | Boxes | Role | Integrity Boundary |
|---|---|---|---|---|---|
| ADCD train | 12 | 1,375 | 18,497 | source training | 42 exact groups cross to val |
| ADCD val | 12 | 153 | 1,968 | model selection | Duplicates across split |
| ADCD internal | 12 | 100 | 1,365 | fixed test | No listed exact-copy pair |
| ADCD external | 12 | 180 | 2,962 | external report | No listed exact-copy pair |
| Oral train | 5 | 8,000 | 25,483 | target training | No exact/stem/inode dev overlap |
| Oral dev | 5 | 2,000 | 6,370 | model selection | Patient independence unverified |
| Test subset | 5 | 2,686 | 9,552 | one-shot (final test) | 2 records removed before final test |
ADCD-12 is a 12-class UMFIH view. The 2,686-image test subset removes the two test images that also appear in training from the published 2,688-image OralXrays-9 pool.
device speed, and energy use. These results do not establish clinical performance.
3. Methodology
Figure 2 fixes the chronology from source construction to edge handoff, while Fig. 1 exposes the source and specialist topologies. The 1280-pixel YOLO26m student uses a Conv/C3k2 backbone, SPPF–C2PSA context, bidirectional FPN–PAN fusion, and P3/P4/P5 outputs at strides with shapes , , and . L23 Detect contains one-to-many training and one-to-one inference branches; gives direct regression, and the fused route is NMS-free [17]. For teacher , batch , and spatial location , the preferred populated one-to-many logits define the spatial confidence mask
where indexes the 12 source classes and denotes the sigmoid function.
A bias-free Conv+BN adapter aligns each scale, and denotes an entry of the adapted-student minus teacher residual. The executed discrepancy is
With and , the total loss is
B1 uses ; STKD sets ; MTKD fixes per teacher. Common batch-size scaling is applied. Frozen teachers are absent from the optimizer, EMA, and serialized student.
3.1. Specialist transfer
Each of the nine source checkpoints loads all shape-compatible backbone, neck, box-tower and class-tower parameters. Source rows [0,2,3,4,7] (IMP, OBT, END, CAR, API) map to target rows [0,1,2,3,4] in both class branches at P3/P4/P5. The audit records 756 loaded and 12 remapped tensors, with no skipped or newly initialized tensors. Optimizer state is discarded, and specialists train 75 epochs without teachers. Lineage names therefore identify initialization, not target-domain KD.
3.2. Model selection and evaluation
The original plan selected B1 based on mean development . After reviewing development results, but before viewing final test results, a dated change selected STKD seed 1 for deployment. Confidence was fixed at 0.340, with macro box F1 measured at IoU 0.50 using exact box matching. This change was not registered in advance. Coupled source/target seeds () limit conclusions about the effect of KD alone. mAP50 and use the common evaluator. Macro F1 averages five classes and micro F1 pools TP/FP/FN; both are box, not patient, endpoints. Results are meansample SD (). Paired image bootstraps [11] condition on frozen checkpoints and omit retraining uncertainty. Only three selected checkpoints undergo source testing; all nine pass the transfer checks. The final test subset is evaluated after model selection, while device agreement is checked using development data only.
4. Experiments
4.1. Data integrity
Table 1 defines every partition and role. The UMFIH source describes 14 categories [25, 26]; ADCD-12 follows the 12-class derivative in [12] and uses the ontology abbreviations IMP, PRR, OBT, END, CAR, BON, IMT, API, ROT, FUR, ORD, and SRD. Three boxes with zero width are removed. Image-content checks find 42 groups of identical images across training and validation. We retain the published split for comparison, but these duplicates prevent reliable claims about small KD gains or state-of-the-art accuracy.
OralXrays-9 reports a patient-level 10,000/2,688 train–test partition [8], but local patient identifiers are
Table 2. Source Architecture Screen and KD Lineage Results
| Study | Model | Val | Int. | Ext. | Qualification |
|---|---|---|---|---|---|
| Screen | ECDet-X | - | 0.2122 | 0.1488 | 50 epochs |
| Screen | RF-DETR-L | - | 0.3144 | 0.2206 | early stop |
| Screen | RT-DETR-L | - | 0.3054 | 0.2107 | no remap |
| Screen | YOLO26-M | - | 0.3132 | 0.2286 | 75 epochs |
| Screen | YOLO26-L | - | 0.3236 | 0.2245 | 75 epochs |
| Screen | YOLO26-X | - | 0.3178 | 0.2505 | 75 epochs |
| Screen | YOLOv8x | - | 0.2981 | 0.2285 | 1024/25 epochs |
| KD | B1 | 0.3037 | 0.2284 | seed 0 report | |
| KD | STKD | 0.3230 | 0.2215 | seed 0 report | |
| KD | MTKD | 0.3201 | 0.2164 | seed 1 report |
KD validation: mean±sample SD (n = 3). Test rows are selected, partly unmatched checkpoints; source selection inherits the 42-group limitation.
unavailable. The 8,000/2,000 target training/development split has no identical images, but patient independence cannot be confirmed. Before viewing final test results, a blind review identified two radiographs also present in training. Removing these test records left 2,686 images. Results on this subset cannot be directly compared with results on the original 2,688-image test set. The hashed release contains 84,133 annotations versus 84,113 reported in [8]; the unresolved 20-instance difference did not affect model or threshold selection.
4.2. Training and baselines
Principal source and target YOLO runs use 75 epochs, batch size 4, 1280-pixel inputs, AdamW, initial learning rate , weight decay , three warm-up epochs, AMP, and seeds 0–2. Augmentation is deliberately mild: rotation, 0.05 translation, 0.10 scaling, and 0.5 horizontal flip; mosaic, mixup, cutmix, and copy-paste are disabled. The source teachers are frozen seed-0 checkpoints. The DINOv3/ConvNeXt-L ablation is a bounded 25-epoch seed-0 validation probe whose advancement gate is not met.
Table 2 reports ECDet-X, RF-DETR-L, guarded RT-DETR-L with class remapping disabled, YOLO26-M/L/X, and YOLOv8x after compatible-engine AP recomputation. Budgets remain unequal: ECDet runs 50 epochs, RF-DETR early-stops at epoch 29 of 100, and YOLOv8x uses 25 epochs at 1024 pixels. An older RT-DETR row is excluded because name-based loading mapped the pretrained COCO car row into dental CAR. This is an empirical family screen, not a controlled compute or latency comparison.
4.3. Deployment protocol
The amended STKD seed-1 specialist is fused, exported through ONNX opset 17, and compiled on target as static batch-1, 1280-pixel FP16 TensorRT; INT8 is unused. Agreement testing uses the 2,000-image development split and decomposes desktop validator→predictor, desktop predictor→Orin PyTorch, and Orin PyTorch→TensorRT; no target test image is accessed. A separate performance-only amendment repeats one hash-fixed 500-image development sequence in three trials after 50 disjoint warm-ups each, using CUDA-synchronized prediction calls, page-cached files, 100-ms tegrastats, MAXN, and fixed clocks. We exclude acquisition, UI/display, network, cold start, and concurrency.
5. Results
5.1. Source architecture and distillation
Table 2 shows that the source screen separates internal from external ranking. YOLO26-L has the highest internal (0.3236), but YOLO26-X is strongest externally (0.2505). RF-DETR-L attains 0.3144 internally and 0.2206 externally; ECDet-X is lower on both. Every family declines externally relative to its internal result. Given unequal budgets and routes, this supports only a family-level observation that internal ranking is unstable under acquisition shift.
Across three validation seeds, B1, STKD, and MTKD reach , , and . MTKD's 0.0010 advantage over B1 is smaller than the between-seed SD and is estimated on the duplicated validation split. The selected internal checkpoints favor STKD and MTKD (0.3230, 0.3201 vs 0.3037), but the external checkpoints reverse the ordering. As the MTKD checkpoint (seed 1) is not seed-matched to B1 and STKD (seed 0), these test results cannot reliably rank the three training methods.
The bounded DINOv3/ConvNeXt candidate scores 0.2261 validation versus 0.2238 for the matched B1 reference (+0.0023), while mAP50 falls by 0.0028. It misses the +0.005 advancement gate, so no final source test is run. This changes several things at once, and uses the
Table 3. OralXrays-9 Specialist Results on Development and Test Subset
| Arm | Dev Proxy F1 | Dev mAP50:95 | Test Macro F1 | Test Micro F1 | Test mAP50 | Test mAP75 | Test mAP50:95 |
|---|---|---|---|---|---|---|---|
| B1 | 0.8410 ± 0.0023 | 0.6456 ± 0.0044 | 0.8239 ± 0.0027 | 0.8449 ± 0.0035 | 0.8541 ± 0.0014 | 0.6587 ± 0.0021 | 0.6130 ± 0.0067 |
| STKD | 0.8428 ± 0.0064 | 0.6408 ± 0.0123 | 0.8206 ± 0.0074 | 0.8418 ± 0.0086 | 0.8539 ± 0.0019 | 0.6613 ± 0.0019 | 0.6103 ± 0.0094 |
| MTKD | 0.8402 ± 0.0021 | 0.6348 ± 0.0061 | 0.8192 ± 0.0043 | 0.8404 ± 0.0041 | 0.8495 ± 0.0039 | 0.6589 ± 0.0031 | 0.6035 ± 0.0078 |
Note: Mean±sample SD, n = 3 coupled source/target seeds. Development F1 is the pinned-floor selection proxy; test-subset F1 is exactly rematched at each frozen threshold and is a box-detection, not patient-diagnosis, endpoint.

Figure 3. Frozen STKD seed-1 diagnostics on the test subset (confidence 0.340). (a) Normalized confusion matrix at IoU 0.50 (background row: missed boxes; column: unmatched detections). (b) Precision–recall and (c) F1–confidence curves; dashed line: frozen operating point.
Table 4. STKD Seed-1 Class Results on Test Subset
| Class | TP | FP | FN | Precision | Recall | F1 | |
|---|---|---|---|---|---|---|---|
| IMP | 2,304 | 36 | 22 | 0.9846 | 0.9905 | 0.9876 | 0.8094 |
| OBT | 1,938 | 530 | 274 | 0.7853 | 0.8761 | 0.8282 | 0.6831 |
| END | 2,171 | 425 | 168 | 0.8363 | 0.9282 | 0.8798 | 0.6392 |
| CAR | 1,303 | 604 | 304 | 0.6833 | 0.8108 | 0.7416 | 0.5249 |
| API | 753 | 375 | 315 | 0.6676 | 0.7051 | 0.6858 | 0.4471 |
Frozen confidence 0.340 and IoU 0.50. TP/FP/FN reproduce the immutable per-image ledger exactly; is taken from the common evaluator. All endpoints are box-level.
duplicated split does not isolate a DINOv3 effect.
Source external errors. spans 0.003 for SRD to 0.453 for ORD; sparse support, including ORD (n=6), precludes strong rare-class conclusions.
5.2. Cross-dataset specialization
Before target fine-tuning, five-label zero-shot transfer is weak: the best retained is 0.0965. Teacher-free specialization raises three-seed development to for B1, for STKD, and for MTKD. STKD has a slightly higher development F1 estimate, but B1 leads under the original mAP-based selection rule. This difference led to the documented change in model selection, not a retrospective claim that STKD performs better overall.
In Table 3, B1 has the strongest test subset arm-mean macro F1 (0.8239±0.0027), micro F1 (0.8449±0.0035), mAP50 (0.8541±0.0014), and (0.6130±0.0067). STKD and MTKD exceed B1 only at mAP75 (0.6613 and 0.6589 versus 0.6587). MTKD is lowest on macro F1, micro F1, mAP50 and . Thus, source KD shows no consistent overall benefit on the target dataset.
Resampling test images gives an STKD–B1 macro-F1 difference of -0.0033 (95% interval [-0.0064, -0.00008]). As the models were not retrained, this does not establish a reliable difference between training methods.
5.3. Frozen deployment checkpoint
After development testing but before viewing final test results, STKD seed 1 and confidence 0.340 were fixed. Repeating the evaluation after viewing the results reproduced the same TP/FP/FN counts for every image in the test subset at IoU 0.50. It obtains macro precision 0.7914, macro recall 0.8622, macro F1 0.8246, micro F1 0.8473, mAP50 0.8556, mAP75 0.6632, and 0.6208. Its fixed-checkpoint 10,000-resample macro-F1 interval is [0.8169, 0.8321]. Reinstating the two preidentified duplicates only as a no-tuning descriptive analysis gives macro F1 0.8246 and 0.6201, leaving the interpretation unchanged.
Figure 3 and Table 4 show heterogeneous classwise behavior. IMP is easiest (F1 0.9876; 0.8094). Thresholded F1 ranks END (0.8798) above OBT (0.8282), although ranks OBT (0.6831) above END (0.6392). CAR reaches F1 0.7416 and 0.5249. API remains
Table 5. Development-Set Inference Agreement
| Direct Comparison | Macro-F1 Drift | Micro-F1 Drift | Max Class-F1 Drift | Exact Triplets (%) | Status |
|---|---|---|---|---|---|
| Desktop validator → Predictor | 0.00088 | 0.00036 | 0.00469 | 97.59 | RED |
| Desktop predictor → Orin PyTorch | 0.00163 | 0.00098 | 0.01047 | 98.69 | RED |
| Orin PyTorch → TensorRT FP16 | 0.00006 | 0.00030 | 0.00118 | 99.68 | GREEN |
Note: Evaluation performed on development split only. Green gate requires macro/micro- drift , maximum class- drift , exact-triplet rate , and prediction-agreement at IoU . Amber relaxes these limits to , respectively; any violation yields Red (worst-endpoint rule). Within-Orin agreement is . Gates assess engineering, not clinical-equivalence, thresholds.
the principal bottleneck (precision 0.6676, recall 0.7051, F1 0.6858, 0.4471). These class gaps are operationally more informative than the small lineage averages.
Macro and micro aggregation weight the error structure differently. The frozen checkpoint's micro F1 (0.8473, pooled from the Table 4 counts) exceeds its macro F1 (0.8246), consistent with weaker API and CAR performance under equal class weighting. The exact matched-box matrix contains only three cross-class assignments, versus 1,080 ground-truth boxes mapped to background and 1,967 unmatched detections in the ground-truth-background column. Under this matching policy, missed and spurious boxes, not systematic five-class substitution, dominate the residual error.
5.4. Edge handoff
Table 5 checks agreement across three steps of the deployment process using development data and fixed acceptance limits. Within the Orin route, TensorRT FP16 closely reproduces PyTorch: macro-F1 drift is 0.00006, maximum class-F1 drift is 0.00118, of per-image, per-class TP/FP/FN counts are identical, and prediction-agreement F1 at IoU 0.90 is 0.99749. The Orin PyTorch-to-TensorRT comparison passes all checks, but the two earlier comparisons fail. Therefore, agreement across the full desktop-to-device workflow is not established.
On the recorded Orin Nano Super configuration (Jet-Pack 7.2.1-b49; TensorRT 10.16.2.10), a separate descriptive benchmark repeated a fixed 500-image development sequence three times at static batch-1 and . Across 1,500 prediction calls, pooled wall-clock latency was 77.03 ms median and 80.86 ms P95; complete-phase throughput averaged images/s. Mean total-module was W, corresponding to J/image gross; a 7.34-W engine-resident idle reference gave a secondary signed estimate of J/image. Peak GPU/ temperature was . Measured-phase RAM use peaked at 4.28 GB and process HWM at 1.69 GB; these are unified-memory observations, not an engine footprint.
6. Discussion
6.1. Transfer and evaluation lessons
Target training reduces the differences between the three source methods. All achieve similar target accuracy, but B1 has the highest macro F1 and . STKD performs slightly better on the development F1 estimate and test-subset mAP75. We therefore report both overall accuracy and performance at the selected confidence threshold, without claiming that KD improves overall target accuracy.
Checking image content detects duplicates that file-names miss. Careful weight loading prevents COCO car weights from being assigned to dental CAR, while a common evaluator makes comparisons more consistent. We record class mappings, detection limits, confidence thresholds, model-selection decisions, and device checks so the results can be repeated.
6.2. Application and intended use
PanoDent-KD is clinician-facing finding localization, not autonomous diagnosis, treatment recommendation, or prognosis. It returns class-coded boxes for IMP, OBT, END, CAR, and API while retaining the human decision point. Its application or intended value is rapid visual indexing of candidate findings; prospective reader studies must determine effects on review efficiency and safety.
6.3. Application visualization
Figure 4 joins the intended review interface to approved frozen-checkpoint examples. Together they show multi-class localization, single-class findings, and an outcome-blind background case rather than a best-case gallery.
At runtime, the fused one-to-one branch returns at most 300 class-scored boxes at the frozen confidence of 0.340. The application maps them to IMP, OBT, END, CAR, and API and keeps acceptance, rejection, and reporting with the clinician. Teachers, KD adapters, and post-test model selection are absent from this deployed path.
7. Limitations
Limitations include duplicate images across source training and validation, three linked seeds, one target dataset, unverified patient independence, and one short device test. We

(c)
Q01 GT: IMP, OBT, END, API | frozen STKD detections
(d)
Q02 GT: OBT, CAR | frozen STKD detections
(e)
Q07 GT: background | frozen STKD detections

Figure 4. Application workflow and frozen STKD seed-1 examples at confidence 0.340. (a) Dashboard; (b) clinician-controlled review; (c,d) hash-selected, outcome-blind examples (IMP, OBT, END, CAR, API); (e) a background case. Radiographs were manually checked, metadata-stripped, and approved for publication. Research decision support only, not a validated diagnostic device.
did not compare against target-only training or conduct clinical testing. Concurrent use, prolonged heating, and full-workflow latency remain untested.
8. Conclusion
This work presents PanoDent-KD, a generalist-to-specialist pipeline for panoramic dental radiograph analysis. On the 2,686-image test subset, all three transfer arms reach approximately 0.82 macro box F1, where B1 leads on arm-level means, while the single frozen STKD seed-1 checkpoint (not an arm mean) reaches 0.8246 and is retained as the deployment checkpoint. This checkpoint's deployment behavior is characterized in detail: exact confusion structure, deterministic evaluation panels, high within-Orin fidelity between PyTorch and TensorRT, 77.03-ms median latency, 12.90 images/s batch-1 throughput, and 1.39 J/image gross module energy. Together, these results report, for one frozen checkpoint, test-subset accuracy and, separately, development-set TensorRT agreement and Orin latency, throughput and energy.
Our contribution is a repeatable workflow connecting source training, exact class transfer, target evaluation, and FP16 deployment. KD teachers are used only during source training and add no inference cost. The dashboard supports clinician review, but the system requires clinical testing before practical use.
For practical use, this evidence is more informative than a single aggregate score: (i) IMP reaches the highest F1 (0.9876); (ii) OBT and END reach F1 0.8282 and 0.8798; and (iii) CAR and API findings define concrete curation priorities for future data collection. As the model, decision threshold, class map, and target-built engine are all fixed, prospective workflow testing can evaluate this exact inspected system without retraining or post-hoc threshold reselection.
References
[1] DMD Ragda Abdalla-Aslan, PhD Talia Yeshua, BSc Daniel Kabla, PhD Isaac Leichter, et al. An artificial intelligence system using machine-learning for automatic detection and classification of dental restorations in panoramic radiography. Oral surgery, oral medicine, oral pathology and oral radiology, 130(5):593–602, 2020. 1
[2] Muhammad Waqas Ashraf, Ali Hassan, and Imad Ali Shah. V-cas: A realtime vehicle anti collision system using vision transformer on multi-camera streams. In 2024 International Conference on Machine Learning and Applications (ICMLA), pages 939–944, 2024. 3
[3] Shai Ben-David, John Blitzer, Koby Crammer, Alex Kulesza, Fernando Pereira, and Jennifer Wortman Vaughan. A theory of learning from different domains. Machine learning, 79(1):151–175, 2010. 1
[4] Xavier Bouthillier, Pierre Delaunay, Mirko Bronzi, Assya Trofimov, Brennan Nichyporuk, Justin Szeto, Nazanin Mohammadi Sepahvand, Edward Raff, Kanika Madan, Vikram Voleti, et al. Accounting for variance in machine learning benchmarks. Proceedings of machine learning and systems, 3:747–769, 2021. 3
[5] Shengcao Cao, Mengtian Li, James Hays, Deva Ramanan, Yu-Xiong Wang, and Liangyan Gui. Learning lightweight object detectors via multi-teacher progressive distillation. In International Conference on Machine Learning, pages 3577–3598. PMLR, 2023. 3
[6] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European conference on computer vision, pages 213–229. Springer, 2020. 3
[7] Bingzhi Chen, Sisi Fu, Yishu Liu, Jiahui Pan, Guangming Lu, and Zheng Zhang. Cariesxrays: Enhancing caries detection in hospital-scale panoramic dental x-rays via feature pyramid contrastive learning. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 21940–21948, 2024. 1
[8] Bingzhi Chen, Sisi Fu, Xiaocheng Fang, Jieyi Cai, Boya Zhang, Minhua Lu, and Yishu Liu. Oralxrays-9: Towards hospital-scale panoramic x-ray anomaly detection via personalized multi-object query-aware mining. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15570–15579. IEEE, 2025. 1, 4, 5
[9] Alex J DeGrave, Joseph D Janizek, and Su-In Lee. Ai for radiographic covid-19 detection selects shortcuts over signal. Nature Machine Intelligence, 3(7):610–619, 2021. 1
[10] Han Du, Min Li, Gang Li, Tu Lyu, and Xue-mei Tian. Specific oral and maxillofacial identifiers in panoramic radiographs used for human identification. Journal of Forensic Sciences, 66(3):910–918, 2021. 1
[11] Bradley Efron. Bootstrap methods: another look at the jackknife. In Breakthroughs in statistics: Methodology and distribution, pages 569–593. Springer, 1992. 4
[12] Sorana Eftimie, Tudor Ileni, Liviu Iacob, Mihaela Hedeşiu, and Laura Dioșan. Tooth-level detection and mapping of dental pathologies on panoramic radiographs using yolov11 and rt-detr. MethodsX, page 103696, 2025. 1, 4
[13] Thomas Ekert, Joachim Krois, Leonie Meinhold, Karim Elhennawy, Ramy Emara, Tatiana Golla, and Falk Schwendicke. Deep learning for the radiographic detection of apical lesions. Journal of endodontics, 45(7):917–922, 2019. 1
[14] WHO Guidance. Ethics and governance of artificial intelligence for health. World Health Organization. 1
[15] Ibrahim Ethem Hamamci, Sezgin Er, Enis Simsar, Anjany Sekuboyina, Mustafa Gundogar, Bernd Stadlinger, Albert Mehl, and Bjoern Menze. Diffusion-based hierarchical multi-label object detection to analyze panoramic dental x-rays. In International conference on medical image computing and computer-assisted intervention, pages 389–399. Springer, 2023. 1
[16] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 3
[17] Glenn Jocher, Jing Qiu, Mengyu Liu, Shuai Lyu, Fatih Cagatay Akyon, and Muhammet Esat Kalfaoglu. Ultralytics yolo26: unified real-time end-to-end vision models. arXiv preprint arXiv:2606.03748, 2026. 3, 4
[18] Glenn Jocher, Jing Qui, Ayush Chaurasia, Alex Stoken, and Jiri Borovec. Ultralytics. https://github.com/ultralytics/ultralytics, 2026. 3
[19] Sayash Kapoor and Arvind Narayanan. Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 2023. 1
[20] Joachim Krois, Thomas Ekert, Leonie Meinhold, Tatiana Golla, Basel Kharbot, Agnes Wittemeier, Christof Doerfer, and Falk Schwendicke. Deep learning for the radiographic detection of periodontal bone loss. Scientific reports, 9(1): 8495, 2019. 1
[21] Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In 2017 IEEE conference on computer vision and pattern recognition (CVPR), pages 936–944. Ieee, 2017. 3
[22] Longfei Liu, Yongjie Hou, Yang Li, Qirui Wang, Youyang Sha, Yongjun Yu, Yinzhi Wang, Peizhe Ru, Xuanlong Yu, and Xi Shen. Edgecrafter: Compact vits for edge dense prediction via task-specialized distillation. arXiv preprint arXiv:2603.18739, 2026. 3
[23] Shu Liu, Lu Qi, Haifang Qin, Jianping Shi, and Jiaya Jia. Path aggregation network for instance segmentation. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pages 8759–8768. Ieee, 2018. 3
[24] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In 2022 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pages 11966–11976. IEEE, 2022. 3
[25] Sorana Muresanu, Mihaela Hedeşiu, Liviu Iacob, Radu Eftimie, Eliza Olariu, Cristian Dinu, Reinhilde Jacobs, and Team Project Group. Automating dental condition detection on panoramic radiographs: challenges, pitfalls, and opportunities. Diagnostics, 14(20):2336, 2024. 1, 4
[26] Sorana Muresanu, Mihaela Hedeşiu, and Liviu-Mihai Iacob. Dataset for automating dental condition detection on panoramic radiographs. https://doi.org/10.5281/zenodo.15487430, 2025. 1, 4
[27] NVIDIA Corporation. NVIDIA TensorRT Documentation, 2026. 3
[28] Luke Oakden-Rayner, Jared Dunnmon, Gustavo Carneiro, and Christopher Ré. Hidden stratification causes clinically meaningful failures in machine learning for medical imaging. In Proceedings of the ACM conference on health, inference, and learning, pages 151–159, 2020. 1
[29] Karen Panetta, Rahul Rajendran, Aruna Ramesh, Shishir Paramathma Rao, and Sos Agaian. Tufts dental database: a multimodal panoramic x-ray dataset for benchmarking diagnostic systems. IEEE journal of biomedical and health informatics, 26(4):1650–1659, 2021. 1
[30] Seong Ho Park and Kyunghwa Han. Methodologic guide for evaluating clinical performance and effect of artificial intelligence technology for medical diagnosis and prediction. Radiology, 286(3):800–809, 2018. 1
[31] Joelle Pineau, Philippe Vincent-Lamarre, Koustuv Sinha, Vincent Larivière, Alina Beygelzimer, Florence d'Alché
Buc, Emily Fox, and Hugo Larochelle. Improving reproducibility in machine learning research (a report from the neurips 2019 reproducibility program). Journal of machine learning research, 22(164):1–20, 2021. 3
[32] Vijay Janapa Reddi, Christine Cheng, David Kanter, Peter Mattson, Guenther Schmuelling, Carole-Jean Wu, Brian Anderson, Maximilien Breughe, Mark Charlebois, William Chou, et al. Mlperf inference benchmark. In 2020 ACM/IEEE 47th Annual International Symposium on Computer Architecture (ISCA), pages 446–459. IEEE, 2020. 3
[33] Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi. You only look once: Unified, real-time object detection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 779–788, 2016. 3
[34] Isaac Robinson, Peter Robicheaux, Matvei Popov, Deva Ramanan, and Neehar Peri. Rf-detr: Neural architecture search for real-time detection transformers. In International Conference on Learning Representations, pages 56087–56100, 2026. 3
[35] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: hints for thin deep nets (2014). arXiv preprint arXiv:1412.6550, 3, 2024. 3
[36] Falk Schwendicke, Tarry Singh, Jae-Hong Lee, Robert Gaudin, Akhilanand Chaurasia, Thomas Wiegand, Sergio Uribe, Joachim Krois, et al. Artificial intelligence in dental research: checklist for authors, reviewers, readers. Journal of dentistry, 107:103610, 2021. 1
[37] Oriane Siméoni, Huy V Vo, Maximilian Seitzer, Federico Baldassarre, Maxime Oquab, Cijo Jose, Vasil Khalidov, Marc Szafraniec, Seungeun Yi, Michaël Ramamonjisoa, et al. Dinov3. arXiv preprint arXiv:2508.10104, 2025. 3
[38] Iulian Emil Tampu, Anders Eklund, and Neda Haj-Hosseini. Inflation of test accuracy due to data leakage in deep learning-based classification of oct images. Scientific Data, 9(1):580, 2022. 1
[39] Ali S Tejani, Michail E Klontzas, Anthony A Gatti, John T Mongan, Linda Moy, Seong Ho Park, Charles E Kahn Jr, and CLAIM 2024 Update Panel. Checklist for artificial intelligence in medical imaging (claim): 2024 update. Radiology: Artificial Intelligence, 6(4):e240300, 2024. 1
[40] Antonio Torralba and Alexei A Efros. Unbiased look at dataset bias. In CVPR 2011, pages 1521–1528. IEEE, 2011. 1
[41] Dmitry V Tuzoff, Lyudmila N Tuzova, Michael M Bornstein, Alexey S Krasnov, Max A Kharchenko, Sergey I Nikolenko, Mikhail M Sveshnikov, and Georgiy B Bednenko. Tooth detection and numbering in panoramic radiographs using convolutional neural networks. Dentomaxillofacial Radiology, 48(4):20180051, 2019. 1
[42] Baptiste Vasey, Myura Nagendran, Bruce Campbell, David A Clifton, Gary S Collins, Spiros Denaxas, Alastair K Denniston, Livia Faes, Bart Geerts, Mudathir Ibrahim, et al. Reporting guideline for the early-stage clinical evaluation of decision support systems driven by artificial intelligence: Decide-ai. Nature medicine, 28(5):924–933, 2022. 1
[43] Jiabao Wang, Yuming Chen, Zhaohui Zheng, Xiang Li, Ming-Ming Cheng, and Qibin Hou. Crosskd: Cross-
head knowledge distillation for object detection. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 16520–16530. IEEE, 2024. 3
[44] Tao Wang, Li Yuan, Xiaopeng Zhang, and Jiashi Feng. Distilling object detectors with fine-grained feature imitation. In 2019 IEEE/CVF conference on computer vision and pattern recognition (CVPR), pages 4928–4937. IEEE, 2019. 3
[45] Machine Learning-enabled Working. Good machine learning practice for medical device development: guiding principles. 2025. 1
[46] Shan You, Chang Xu, Chao Xu, and Dacheng Tao. Learning from multiple teacher networks. In Proceedings of the 23rd ACM SIGKDD international conference on knowledge discovery and data mining, pages 1285–1294, 2017. 3
[47] Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. arXiv preprint arXiv:1612.03928, 2016. 3
[48] John R Zech, Marcus A Badgeley, Manway Liu, Anthony B Costa, Joseph J Titano, and Eric Karl Oermann. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLoS medicine, 15(11):e1002683, 2018. 1
[49] Hao Zhang, Feng Li, Shilong Liu, Lei Zhang, Hang Su, Jun Zhu, Lionel M Ni, and Heung-Yeung Shum. Dino: Detr with improved denoising anchor boxes for end-to-end object detection. arXiv preprint arXiv:2203.03605, 2022. 3
[50] Yian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei, Guanzhong Wang, Qingqing Dang, Yi Liu, and Jie Chen. Detrs beat yolos on real-time object detection. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 16965–16974. IEEE, 2024. 3
[51] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. 3