This protocol uses a frozen Chinese vision-language model (Chinese-CLIP) and a linear classifier to classify low-data blue-and-white porcelain botanical motifs with explicit leakage, confounding, and external validity checks.
方法文章
This protocol uses a frozen Chinese vision-language model (Chinese-CLIP) and a linear classifier to classify low-data blue-and-white porcelain botanical motifs with explicit leakage, confounding, and external validity checks.
Low-data visual classification is common in cultural heritage documentation, where expert labels are expensive, and image sources are heterogeneous. This protocol provides result-level audit support for classifying five botanical motifs—peony, lotus, chrysanthemum, plum blossom, and bamboo—on blue-and-white porcelain. It combines operational label definitions, source documentation, perceptual hash screening, and fixed, stratified, image-level splits with a frozen Chinese Contrastive Language–Image Pre-training (Chinese-CLIP) Vision Transformer (ViT-L/14-336) visual encoder. A training-only StandardScaler and an L2-regularized multinomial logistic regression classifier form the primary model. In a 259-image demonstration, five overlapping image-level splits yielded 91.28% ± 2.47% accuracy and 91.22% ± 2.44% macro-F1. These are image-level demonstration estimates and may be optimistic because complete artifact identifiers are unavailable; they should not be interpreted as artifact-level, population-level, or confirmatory performance. A retrospective sensitivity analysis that excluded training images linked to test images at a perceptual hash distance ≤15 yielded 91.03% ± 2.03% accuracy. The protocol also specifies few-shot evaluation, metadata controls, feature baselines, prompt sensitivity, and checksum-based archiving. An exploratory assessment of all 60 external images yielded 85.00% accuracy and 85.89% macro-F1 against provisional labels, and 83.33% accuracy and 84.31% macro-F1 against labels from one blinded professor. Six label disagreements remain unadjudicated. A 54-image agreement subset is secondary only. Because the external v2 collection included replacements after model errors were inspected, none of these external results constitutes independent confirmatory validation. The workflow supports expert-reviewed candidate labeling and retrieval, not autonomous attribution, dating, or authentication.
In 2024, museums across China received 1.49 billion visits, while the national cultural relics policy calls for digital resource databases, high-resolution collection data, open sharing, and technology-led protection workflows1,2. Ceramic histories and motif references document the chronological and stylistic significance of botanical decoration on blue-and-white porcelain3,4,5; once such motifs are isolated as image crops, their variation poses an operational challenge for classification. Cultural-heritage artificial intelligence now includes museum-exhibit understanding and museum toolkits6,7,8,9, broad machine-learning applications and automated pottery or porcelain analysis10,11,12,13,14,15,16, and heritage image classification or detection17,18,19. Earlier visual pipelines range from handcrafted local descriptors to ImageNet-pretrained convolutional neural networks20,21.
Frozen representation models reduce the number of task-specific parameters that must be estimated from a small labeled set. DINOv2, Contrastive Language–Image Pre-training (CLIP), and Chinese Contrastive Language–Image Pre-training (Chinese-CLIP) provide self-supervised or vision-language representations22,23,24, while transfer-learning, few-shot, and linear-probe studies provide the methodological basis for evaluating whether a fixed representation is readable by a simple classifier19,25,26,27,28. Fine-tuning addresses a different question and can distort pretrained features or reduce out-of-distribution robustness29, whereas prompt learning and adapter methods introduce additional task-specific choices30,31,32.
Small datasets introduce distinctive validity threats. Perceptual-hash (pHash) screening can identify highly similar files33, but image-level random splits still require caution when artifact or plate identifiers are incomplete, and group-disjoint validation is preferable when grouping information exists34,35. Representation plots and retrieval examples are diagnostic rather than causal explanations: Grad-CAM localizes responses36, while attention-flow methods and the debate over whether attention constitutes explanation show why visualization must not be equated with faithful attribution37,38,39. Uniform Manifold Approximation and Projection (UMAP) is therefore used only to describe embedding geometry40.
The primary demonstration uses 259 Portable Network Graphics (PNG) motif crops divided among peony (n = 50), lotus (n = 54), chrysanthemum (n = 51), plum blossom (n = 52), and bamboo (n = 52). The dataset composition is summarized in Table 1, and the operational definitions of the five motif classes are provided in Table 2. Most images were derived from a published ceramic catalog, with a smaller museum-web component and one image with unknown source metadata. Two domain-informed annotators independently assigned internal motif labels and resolved disagreements by discussion. Source, dynasty, and image identifiers are retained so that confounding and external validity limitations remain visible.
This article converts that study into a result-auditable method. It specifies the primary frozen Chinese-CLIP linear probe, comparisons with DINOv2 classification-token (CLS) features and ResNet50, nested few-shot subsets, a metadata-only control, prompt sensitivity, and an exploratory external assessment applied without retuning. The audit package supports numerical verification from retained identifiers, features, predictions, hashes, and checksums; it does not recreate image preprocessing, feature extraction, pHash generation, or fine-tuning from the original pixels. The complete workflow is summarized in Figure 1.
1. Software environment and verification scope
2. Prepare the image dataset and documentation
3. Configure the software environment
4. Standardize and inspect the motif crops
5. Audit near-duplicates and create fixed splits
6. Extract frozen Chinese-CLIP image features
7. Fit and evaluate the primary linear probe
8. Run comparisons, sample-efficiency analyses, prompts, and validity controls
9. Assess the external collection without retuning
10. Verify, archive, and define the decision boundary
Inspection of all 11 unique same-class candidate pairs included exact byte and decoded-pixel comparisons, AI-assisted visual inspection,and review by one blinded externa lexpert. The expert found no clear same-object, same-publication-plate, or related-crop linkage; the review is exploratory and does not establish artifact-level independence or inter-rater reliability. Several pairs share decorative structure, but their physical-object identity remains unresolved.
To assess sensitivity without assuming that unresolved candidates were independent, all training images directly linked to a test image by pHash distance ≤15 were excluded, regardless of class. This removed 16, 17, 22, 16, and 21 training images, leaving 165, 164, 159, 165, and 160 per split while preserving all 78 test queries. Mean accuracy was 91.03% ± 2.03% and macro-F1 was 90.94% ± 2.00%, compared with 91.28% ± 2.47% and 91.20% ± 2.47% for unchanged-split refits in the same runtime. The archived primary macro-F1 was 91.22% ± 2.44%; its small difference from the same-runtime refit reflects the recorded seed = 789 numerical boundary case. The observed mean changes of −0.26 percentage point in both accuracy and macro-F1 are descriptive, not evidence of statistical equivalence or artifact-disjoint performance. Supplementary Table 1 reports all five splits, with exclusions and per-image predictions in Supplementary File 1.
The primary output is an image-level performance estimate for a small trainable head. Across five fixed image-level splits, Chinese-CLIP plus logistic regression produces 91.28% ± 2.47% accuracy and 91.22% ± 2.44% macro-F1. In the representative seed = 42 split, 72 of 78 images are correct (92.31% accuracy; 92.25% macro-F1). The six errors are distributed across several one-image confusion paths rather than a complete collapse of one class. Inspecting these errors should guide annotation review and interface design, but it must not be used to retroactively relabel the test set. Per-seed values are reported in Supplementary Table 2.
Frozen representation choice matters. Chinese-CLIP linear probing outperforms DINOv2 CLS plus logistic regression (84.62% ± 4.15% accuracy) and ResNet50 plus logistic regression (75.64% ± 4.53% accuracy). Concatenating Chinese-CLIP and DINOv2 features does not improve the primary result (90.51% ± 2.50%), showing that a larger feature vector and a second encoder need not provide complementary information. Last-two-block fine-tuning reaches 95.13% ± 1.90% but updates approximately 25 million parameters, compared with 3,845 trainable parameters for the linear probe. This exploratory gain must be weighed against optimization sensitivity, computational cost, and the risk of overfitting. The full comparison is summarized in Table 3 and Supplementary Table 2.
Figure 2 and Table 4 present the few-shot learning curves, which describe sample efficiency within the archived image-level partitions. Chinese-CLIP linear probing rises from 38.0% ± 3.7% at one image per class to 75.0% ± 3.9% at eight images per class, 85.0% ± 1.8% at 16 images per class, and 90.1% ± 2.3% at 32 images per class. DINOv2 is similar at one-shot but falls behind from two-shot onward; ResNet50 remains lower throughout. For reruns of the same retained data, a large discrepancy warrants checking identifier alignment, feature files, and training-only scaling. A new collection may perform differently because of domain shift and should not be expected to match these values.
Secondary controls define what the successful classifier does not establish. The metadata-only baseline reaches 27.44% ± 3.46% accuracy and 21.96% ± 3.86% macro-F1. Source is associated with motif class (χ2 = 34.420, df = 4, p < 0.001, Cramér’s V = 0.365). The dynasty association is borderline and sensitive to the inferential method: fixed-margin Monte Carlo p = 0.048745, whereas the asymptotic p = 0.050737 (χ2 = 15.463, df = 8, Cramér’s V = 0.173). Concise Chinese prompts achieve 81.03% ± 2.29% zero-shot accuracy, the DSP ensemble achieves 78.97% ± 4.21%, and prototype matching achieves 77.18% ± 6.62%. These controls are diagnostic and do not replace the primary visual classifier. The metadata analyses are presented in Supplementary Table 3, retrieval metrics are reported in Supplementary Table 4, and prompt sensitivity is presented in Supplementary Table 5. Supplementary Figure 1 shows the qualitative embedding projections, and identifier-only retrieval examples are shown in Supplementary Figure 2.
The complete 60-image external collection is the primary exploratory analysis; no population-level or confirmatory inference is intended. One professor at Jingdezhen Ceramic University reviewed labels while blinded to model predictions. The classifier was refitted once on all 259 internal images and applied unchanged to all 60 external features. Against provisional labels, 51 of 60 predictions were correct (85.00% accuracy; 85.89% macro-F1). Against blinded-reviewer labels, 50 of 60 were correct (83.33% accuracy; 84.31% macro-F1). Reviewer and provisional labels agreed for 54 images; the six disagreements—five provisional chrysanthemum labels and one provisional peony label—were not adjudicated by a third reviewer. The 54-image agreement subset yielded 48 correct predictions (88.89% accuracy; 90.01% macro-F1) and is reported only as a secondary sensitivity analysis. This analysis hierarchy was changed during revision in response to selection-bias concerns; it was not prespecified. The retained v2 selection history records replacements made after model errors were inspected, so all external results are exploratory and do not constitute independent confirmatory validation. Figure 3 and Table 5 report the internal and external confusion structure and class-level results.
The result-verification package provides a static SHA-256 manifest and tolerance-aware checks. A local R4 run completed the archived result checks and the new revision checks; the measured software versions and execution record are included in Supplementary File 1. This does not establish successful execution of Docker/Conda or pixel-to-result reconstruction. The verifier recalculates aggregate metrics from retained predictions and checks supported classifier refits. Few-shot and fine-tuning checks use retained outputs rather than retraining. In the unchanged primary refit, one seed = 789 prediction for INT_0214 changes from one incorrect class to another; accuracy remains 88.46%, while macro-F1 changes from 88.37% to approximately 88.26%. Baseline refit differences are retained in the report rather than silently replacing archived predictions. Table 6 summarizes checkpoints.
Data Availability:
The image-free result-verification package is provided as Supplementary File 1 and deposited on Zenodo as a versioned public record (https://doi.org/10.5281/zenodo.22872797). The package contains de-identified internal and external image indices, five fixed train-test splits, per-image predictions, per-seed summaries, few-shot outputs, metadata contingency counts, and baseline outputs, retained 64-bit pHash values and distance audits, the 25 Chinese-designed semantic prompts, extracted feature arrays, software and model configuration records, prospective verification scripts, Dockerfile, Conda environment definition, retrospective external-label analyses, the pHash candidate-exclusion sensitivity analysis, the de-identified summary of the 11-pair blinded expert review, and SHA-256 checksums. The package supports result-level verification and classifier refitting from retained derived data, but it does not reproduce pixel-level preprocessing, feature extraction, historical pHash generation, or exploratory fine-tuning from source pixels. Original catalog and museum images are not redistributed because of copyright and reuse restrictions.

Figure 1: Result: an auditable low-data motif-classification protocol. The workflow separates dataset curation, pHash screening, fixed partitions, frozen feature extraction, training-only scaling, linear probing, validity controls, external testing, and checksum-based archiving. Because source pixels are excluded from the shared package and the historical pHash generator is unavailable, the workflow supports audit from retained derived data rather than full pixel-to-result regeneration. pHash, perceptual hash. Please click here to view a larger version of this figure.

Figure 2: Few-shot learning curves for frozen Chinese-CLIP, DINOv2 classification-token (CLS), and ResNet50 representations. Points show mean accuracy across five fixed outer splits; shaded bands show sample standard deviation. For 1–32 shots per class, values are first averaged across three nested subset samples within each outer split. Full uses 181 training images per split. LogReg, logistic regression. Please click here to view a larger version of this figure.

Figure 3: Internal and exploratory external confusion matrices. (A) The archived internal seed-42 split (n = 78). (B) External confusion matrix against provisional labels. (C) External confusion matrix against blinded-reviewer labels. Rows are reference labels and columns are predictions. Neither external label set is an adjudicated gold standard. The external v2 selection history includes post-error-analysis replacements. The 54-image agreement-subset sensitivity result appears in Table 5 and Supplementary File 1. Please click here to view a larger version of this figure.
| Motif class | Total | Catalog | Museum | Unknown source | Yuan | Ming | Qing | Unknown dynasty |
| Peony | 50 | 49 | 1 | 0 | 6 | 21 | 23 | 0 |
| Lotus | 54 | 53 | 1 | 0 | 6 | 31 | 17 | 0 |
| Chrysanthemum | 51 | 43 | 8 | 0 | 5 | 33 | 13 | 0 |
| Plum blossom | 52 | 52 | 0 | 0 | 1 | 32 | 19 | 0 |
| Bamboo | 52 | 37 | 14 | 1 | 1 | 25 | 25 | 1 |
| Total | 259 | 234 | 24 | 1 | 19 | 142 | 97 | 1 |
Table 1: Dataset composition of the internal image set. Distribution of the 259 internal images by motif class, image source, and dynasty. One bamboo image has unknown source and dynasty metadata.
| Motif class | Principal diagnostic attributes | Potentially confusable class |
| Peony | Multiple overlapping petal layers; full, rounded corolla; broad, often lobed leaves. | Chrysanthemum |
| Chrysanthemum | Dense center with elongated petals radiating outward; often flat or hemispherical. | Peony |
| Lotus | Broad petals arranged as a rosette; may include seedpods, lotus leaves, or aquatic composition. | Peony |
| Plum blossom | Small five-petaled flowers on slender, angular branches; clear spacing between blossoms. | — |
| Bamboo | Segmented culms and branches with narrow, lanceolate leaves, often in clusters. | — |
Table 2: Operational definitions of the five motif classes. Principal diagnostic attributes used to distinguish peony, chrysanthemum, lotus, plum blossom, and bamboo motifs, with potentially confusable classes indicated where applicable.
| Method | Accuracy, mean ± SD (%) | Macro-F1, mean ± SD (%) |
| Chinese-CLIP + LogReg | 91.28 ± 2.47 | 91.22 ± 2.44 |
| Last-two-block fine-tuning (exploratory) | 95.13 ± 1.90 | 95.07 ± 1.91 |
| Chinese-CLIP + DINOv2 + LogReg | 90.51 ± 2.50 | 90.32 ± 2.52 |
| DINOv2 CLS + LogReg | 84.62 ± 4.15 | 84.18 ± 4.00 |
| ResNet50 + LogReg | 75.64 ± 4.53 | 75.58 ± 4.64 |
| Chinese-CLIP prototype matching | 77.18 ± 6.62 | 77.05 ± 6.62 |
| Chinese-CLIP zero-shot (concise) | 81.03 ± 2.29 | 80.16 ± 2.36 |
| Chinese-CLIP zero-shot (DSP ensemble) | 78.97 ± 4.21 | 78.07 ± 4.70 |
| Metadata-only LogReg (dynasty + source) | 27.44 ± 3.46 | 21.96 ± 3.86 |
Table 3: Classification performance of the evaluated methods. Accuracy and macro-F1 are reported as mean ± sample standard deviation across five fixed, overlapping image-level splits. The last-two-block fine-tuning analysis was exploratory. LogReg, logistic regression; CLS, classification-token feature; DSP, designed semantic prompts.
| Shots per class | Training n | Chinese-CLIP + LogReg | DINOv2 CLS + LogReg | ResNet50 + LogReg |
| 1-shot | 5 | 38.0 ± 3.7 | 38.2 ± 4.0 | 34.7 ± 4.0 |
| 2-shot | 10 | 51.0 ± 2.6 | 49.7 ± 3.4 | 42.8 ± 3.7 |
| 4-shot | 20 | 63.0 ± 3.5 | 61.5 ± 4.6 | 50.1 ± 4.6 |
| 8-shot | 40 | 75.0 ± 3.9 | 70.4 ± 4.6 | 57.4 ± 4.4 |
| 16-shot | 80 | 85.0 ± 1.8 | 80.1 ± 3.3 | 65.5 ± 5.9 |
| 32-shot | 160 | 90.1 ± 2.3 | 84.7 ± 4.5 | 73.2 ± 5.7 |
| Full | 181 | 91.28 ± 2.47 | 84.62 ± 4.15 | 75.64 ± 4.53 |
Table 4: Few-shot classification performance of frozen visual representations. Accuracy is reported as mean ± sample standard deviation across five fixed outer splits. For 1–32 shots per class, values were first averaged across three nested subset samples within each outer split. “Full” corresponds to 181 training images per split. LogReg, logistic regression; CLS, classification-token feature.
| Analysis / metric | Internal image-level | All 60 provisional | All 60 reviewer | 54 agreement subset |
| Analysis role | Archived primary | Main exploratory | Main exploratory | Secondary sensitivity |
| Accuracy (%) | 91.28 ± 2.47 | 85.00 | 83.33 | 88.89 |
| Macro-F1 (%) | 91.22 ± 2.44 | 85.89 | 84.31 | 90.01 |
| Correct / evaluated | Five splits, 78 each | 51 / 60 | 50 / 60 | 48 / 54 |
| Class F1 (%) | ||||
| Peony | Not reported | 68.97 | 70.97 | 76.92 |
| Lotus | Not reported | 78.26 | 76.92 | 81.82 |
| Chrysanthemum | Not reported | 90.91 | 82.35 | 100.00 |
| Plum blossom | Not reported | 95.65 | 95.65 | 95.65 |
| Bamboo | Not reported | 95.65 | 95.65 | 95.65 |
| Class support (n) | ||||
| Peony | Not reported | 12 | 14 | 11 |
| Lotus | Not reported | 12 | 15 | 12 |
| Chrysanthemum | Not reported | 12 | 7 | 7 |
| Plum blossom | Not reported | 12 | 12 | 12 |
| Bamboo | Not reported | 12 | 12 | 12 |
| Note: Internal: mean ± sample SD across five overlapping image-level splits. Complete artifact/plate identifiers are unavailable; independence at the physical-object level is not established. External: one scaler and classifier refitted on all 259 internal images, then applied unchanged to all 60 external images. Provisional and reviewer labels are separate reference records, not adjudicated ground truth. All external results remain exploratory because v2 included replacements following inspection of model errors. Six label disagreements remain unresolved. The 54-image agreement subset is secondary and may favor easier examples. Internal and external results are not paired evaluations. Metrics are calculated before rounding. Chrysanthemum F1 of 100% applies only to the selected seven-image subset of the agreement. | ||||
Table 5: Internal and exploratory external assessment performance with class-level external results. Internal values are means across five fixed, overlapping image-level holdout splits and should not be interpreted as artifact-level independent estimates. External values were obtained from a single StandardScaler and a logistic regression classifier, refitted on all 259 internal images and applied unchanged to all 60 external images. Provisional-label and blinded-reviewer-label results are reported separately; the 54-image reviewer–provisional agreement subset is a secondary sensitivity analysis. No external label set is an adjudicated gold standard, and the external analysis is exploratory. Neither column should be interpreted as artifact-level independent validation. Metrics were calculated from full-precision values before rounding for display.
| Checkpoint | Expected output | Failure signature | Corrective action |
| Image index | 259 unique IDs; five prespecified classes; rights and source fields populated | Duplicate IDs, missing class, undocumented image, or uncertain rights | Repair metadata before modeling; keep restricted images outside distributable artifacts. |
| pHash audit | Five-split all-class screen; 11 unique same-class candidate pairs; artifact identity unresolved | Unreviewed candidates or undocumented object relationships | Separate human from AI-assisted review; perform candidate-exclusion sensitivity; obtain object/plate records for group-disjoint validation. |
| Fixed split | 181 train and 78 test IDs per seed; all classes present; disjoint sets | Different counts, overlapping IDs, or regenerated splits | Restore archived split files and verify their checksums. |
| Feature file | 259 rows × 768 features; finite values; unit L2 norms | Missing IDs, zero vectors, nonfinite values, or wrong dimension | Check model identifier, preprocessing, row order, and normalization; re-extract affected rows. |
| Training-only scaling | Scaler fitted on training rows only | Unusually high results or test statistics used during fit | Refit the scaler independently inside every split or k-shot subset. |
| Primary performance | Accuracy 91.28 ± 2.47%; macro-F1 91.22 ± 2.44% | Material deviation from archived metrics | Compare identifiers, class order, features, solver settings, and package versions. |
| External test | All 60: 51/60 provisional; 50/60 reviewer. The 54-image agreement result is secondary. | Post-error-analysis selection changes or labeling a selected subset as independent validation | Retain both label records and all samples; report replacement history, six disagreements and exploratory status. |
| Verification | All checksums and tolerance-aware checks pass | Checksum mismatch or multiple prediction changes | Do not overwrite archived outputs; isolate corruption, code drift, or numerical-stack differences. |
Table 6: Protocol checkpoints, expected outputs, common failure signatures, and corrective actions. pHash, perceptual hash.
Supplementary Figure 1: UMAP projections of all 259 images for Chinese-CLIP, DINOv2 classification-token (CLS), and concatenated Chinese-CLIP–DINOv2 features. UMAP used n_neighbors = 15, min_dist = 0.1, metric = “cosine,” and random_state = 42. Each panel is labeled with the axes “UMAP 1” and “UMAP 2”. Colors indicate motif class. These qualitative two-dimensional views describe the embedding geometry and are not explanations of the primary logistic regression classifier. UMAP, Uniform Manifold Approximation and Projection. Please click here to download this file.
Supplementary Figure 2: Identifier-only top 5 nearest-neighbor audit for the first six peony queries in the seed = 42 test set. Each row lists a query image_id and its five nearest images from the 181-image training library with labels and cosine similarities; no source images are reproduced.Please click here to download this file.
Supplementary Table 1: Retrospective pHash candidate-exclusion sensitivity analysis. For each fixed split, training images directly linked to any test image with Hamming distance ≤15 were excluded, regardless of label; all 78 test queries remained fixed. Both conditions use the same retained Chinese-CLIP features, training-only scaler, C = 1.0, lbfgs solver, max_iter = 2000, and single-thread runtime. Values are percentages; SD is the sample standard deviation across five overlapping splits. This is not artifact-disjoint validation. The unchanged-split refit macro-F1 differs slightly from the archived primary result at seed = 789. Exact exclusions, predictions, configuration, and measured runtime are in Supplementary File 1.Please click here to download this file.
Supplementary Table 2: Per-seed accuracy and macro-F1 for the visual methods reported in the main article. Means and sample standard deviations were calculated from full-precision values; per-seed values are displayed after rounding to two decimal places. LogReg, logistic regression; CLS, classification-token feature; DSP, designed semantic prompts. Please click here to download this file.
Supplementary Table 3: Per-seed metadata-only baseline results and motif class x dynasty and motif class x source contingency tests. Fixed-margin Monte Carlo sampling used 1,000,000 draws, seed = 42, and SciPy 1.17.1; one image with a missing dynasty and source was excluded from the contingency analysis. Please click here to download this file.
Supplementary Table 4: Hit@1 and Hit@5 for three retrieval representations. Hit@k is the percentage of seed = 42 test queries (n = 78) for which at least one of the k nearest images in the 181-image training library has the same motif label. Retrieval uses cosine similarity on L2-normalized features. CLS, classification-token feature. Please click here to download this file.
Supplementary Table 5: Performance of the concise Chinese class-name prompt and the designed semantic prompt (DSP) ensemble on the seed = 42 test set (n = 78). Exact Chinese strings are retained in Supplementary File 4. Please click here to download this file.
Supplementary Table 6: Per-class within-class pair counts and minimum pHash distances, plus all-class and same-class train-test candidate counts across the five fixed splits. Across all 33,411 unordered pairs, none were at a distance ≤8, the global minimum was 9, and 99.7% of distances were 17–64. The five splits yielded 27 same-class pair-split records representing 11 unique pairs. Historical human review covered two seeds = 42 pairs; revision-stage AI-assisted inspection and exact byte/pixel comparisons covered all 11, none of which were byte- or pixel-identical; and one blinded external expert reviewed all 11 pairs and found no clear same-object, same-publication-plate, or related-crop linkage. AI-assisted inspection is not independent human adjudication; physical artifact/plate relationships remain unresolved. Supplementary Table 1 tests training-candidate exclusion without assuming these pairs are independent. pHash, perceptual hash. Please click here to download this file.
Supplementary File 1: Image-free result-verification package containing identifiers, fixed partitions, derived features, predictions, summaries, scripts, configuration records, and SHA-256 checksums. Please click here to download this file.
Supplementary File 2: Prospective method-implementation scripts for dataset validation, Chinese-CLIP feature extraction, fixed split generation, linear-probe evaluation, few-shot analysis, external inference, and a separately identified pHash example. The scripts accept user-supplied, rights-cleared images and do not claim to recreate the unretained historical pHash or fine-tuning implementation. Please click here to download this file.
Supplementary File 3: Archived software-workflow illustrations for the prospective scripts and result-verification commands. These illustrations predate R4 and do not constitute evidence that the R4 package or its Docker/Conda environment was executed; the current execution status is recorded separately in Supplementary File 1. Please click here to download this file.
Supplementary File 4: UTF-8 CSV containing the five exact, concise Chinese class-name prompts and the 25 exact Chinese designed semantic prompts used for text encoding, with English translations for review. Please click here to download this file.
The demonstration shows that a frozen Chinese-CLIP representation can support a simple classifier for five operational motif classes while retaining result-level audit support. The approach does not require a new architecture and trains only 3,845 classifier parameters after feature extraction. Its value lies in combining a strong pretrained representation with controls that are easy to inspect: immutable split indices, training-only preprocessing, per-image predictions, and explicit checks for near-duplicates and metadata associations. The method is therefore suitable for settings in which curators need repeatable candidate labels but cannot assemble a large training corpus.
Relative to handcrafted descriptors and task-specific convolutional networks, this protocol freezes a pretrained Chinese-language vision representation and confines primary fitting to a fixed linear head20,21. Relative to prompt-learning and adapter approaches, it treats prompting as a secondary sensitivity analysis rather than the main optimization route30,31,32. It also extends accuracy-centered cultural-heritage classification studies by jointly auditing near-duplicate leakage, metadata confounding, external-set selection history, and result-package integrity10,19,34,35.
The most failure-prone steps occur before classification. Crops must preserve diagnostic leaves, branches, seedpods, flower centers, and bamboo nodes. Label rules must be frozen before the performance review, and known related images must remain in one partition. A high internal score accompanied by strong metadata-only performance, unresolved pHash candidates, post hoc external-set changes, or missing identifier exports should be treated as limited evidence. When reproduction differs, first compare identifiers and feature rows, then preprocessing, scaler fit, class order, solver version, and numerical stack. The single Apple/BLAS boundary change shows that exact categorical agreement can be stricter than meaningful metric agreement.
Future directions prioritize larger independently locked museum collections, complete five-class coverage, artifact and plate identifiers for group-disjoint validation, and independent annotation with inter-expert agreement and prespecified adjudication. The current metadata-only control using dynasty and source cannot rule out visual source-specific cues such as catalog scanning style, background color, crop geometry, image resolution, or catalog-layout artifacts. Source-held-out tests, source-balanced sampling, and explicit controls for these cues are needed to test visual source confounding; source-level controls do not replace artifact grouping. Matched-backbone adaptation comparisons and prespecified prompt ablations require non-overlapping external tests with paired per-image predictions. Independent expert review of all near-duplicate candidates should also precede any future artifact-level independence claim. The pHash candidate-pair analysis is summarized in Supplementary Table 6. Extensions to other motif vocabularies must define new label criteria and adequate sample counts before scoring. These are proposed studies, not completed validations.
AI-assisted inspection of all 11 unique same class candidate pairs was supplemented by a blinded review conducted by one external expert. The expert found no clear same-object, same-publication-plate, or related-crop linkage; this single-reviewer audit remains exploratory and does not establish artifact-level independence or inter-rater reliability.
Within these limits, the method offers a practical bridge between foundation models and accountable cultural-heritage workflows. It can prioritize candidate labels and retrieve similar examples while preserving expert authority over final records. The reusable contribution is a result-auditable protocol: dataset scope is declared, leakage and confounding risks are tested, the external workflow is bounded, and numerical claims are linked to retained predictions and checksums.
The authors declare no competing interests. This research received no external funding. Institutional review board review and informed consent were not applicable because the study analyzed images of objects and did not involve human participants or identifiable personal data. Source-image rights remain with the respective monograph publisher and museum collections. No catalog or museum source pixels are redistributed in the result-verification package. Any source image selected for publication must be supported by documented permission or compliance with the applicable rights-holder terms.
The authors thank two annotators with backgrounds in art history and design for internal motif labeling and a professor at Jingdezhen Ceramic University for blinded review of the external labels. OpenAI Codex assisted with language editing, restructuring, table creation, audit package checks, revision-stage visual screening, and the preparation and execution of sensitivity analysis code. AI-assisted screening was not counted as independent human review; the authors remain responsible for scientific claims, source rights, interpretation, and final wording.
| 姓名 | 公司 | 目录编号 | 评论 |
|---|---|---|---|
| Apple M5 computer | Apple Inc. | N/A | Device B; macOS; 16 GB unified memory; downstream reruns and result verification |
| Chinese-CLIP ViT-L/14, 336 px | ModelScope / Alibaba DAMO Academy | AI-ModelScope/chinese-clip-vit-large-patch14-336px | Frozen primary image encoder; 768-dimensional image features |
| DINOv2 large | ModelScope / Meta AI | AI-ModelScope/dinov2-large | Frozen comparison encoder; 1,024-dimensional CLS feature |
| Image dataset | Authors | N/A | 259 PNG motif crops; original pixels are not redistributed |
| ImageHash | PyPI | 4.3.1 | Prospective pHash reference implementation only; historical library/version not retained |
| Linux server | Authors' computing environment | N/A | Device A; feature extraction, text encoding, and exploratory fine-tuning; recorded execution mode: CPU |
| ModelScope | ModelScope community | Version not retained | Model-weight acquisition and local caching on Device A |
| NumPy | NumPy Developers | 2.5.1 | Result-verification environment |
| pandas | The pandas development team | 2.3.3 | Result-verification environment |
| Perceptual-hash implementation | Historical implementation not retained | N/A | Archived 64-bit pHash values are supplied; no pixel-level regeneration claim |
| Pillow | Python Imaging Library contributors | 10.4.0 (prospective scripts) | Device A historical version not retained |
| Prospective method scripts | Authors | Supplementary File 2 | Reference implementation for new rights-cleared image collections |
| Python | Python Software Foundation | 3.10 (Device A); 3.12 (Device B) | Feature extraction and archived experiments; result verification |
| PyTorch | PyTorch Foundation | 2.1.2+cu121 (Device A); 2.12.0 (Device B) | Tensor operations, feature extraction, and exploratory fine-tuning |
| ResNet50 pretrained weights | PyTorch / torchvision | IMAGENET1K_V1 | Frozen comparison encoder; 2,048-dimensional feature |
| Result-verification package | Authors | Supplementary File 3 | Image-free identifiers, features, indices, predictions, summaries, configuration, scripts, and checksums |
| scikit-learn | scikit-learn Developers | 1.5 (Device A); 1.9.0 (Device B) | Linear probes and result verification |
| SciPy | SciPy Developers | 1.17.1 | Fixed-margin Monte Carlo implementation and verification configuration |
| Software screenshots | Authors | Supplemental File 4 | Representative command-line interfaces and verification output |
| Source ceramic catalog | Southeast University Press | ISBN 978-7-5641-0979-0 | Jiangsu Provincial Society for Ancient Ceramics, editor; confirm image-reproduction rights before publication |
| torchvision | PyTorch Foundation | 0.16.2 (prospective scripts) | Device A historical version not retained |
| Transformers | Hugging Face | 4.44.2 | Chinese-CLIP feature extraction |
| UMAP-learn | UMAP developers | 0.5 | Exploratory embedding visualization |