An art multi-modal double-checking identification method based on contrastive learning
By mapping the image, spectral, material, and text data of artworks to a unified modal embedding space and performing cross-modal supervised comparison and proxy embedding, the problem of instability in cross-modal identification in existing technologies is solved. This enables accurate identification of high-quality replicas and stable identification under missing modal conditions, thereby improving the reliability and efficiency of artwork identification.
Patent Information
- Application Number
- CN202611387960.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies lack a unified cross-modal discrimination space in art authentication, resulting in a lack of a dual verification chain that is mutually constrained by prototype proximity and internal self-consistency in the authentication process. Furthermore, it is difficult to maintain stable authentication under the condition of missing modalities, which increases the risk of misjudgment and raises the cost of manual review.
By constructing a submodal feature matrix, image, spectral, material, and text data are mapped to a unified modal embedding space, generating modal center vectors. Supervised comparison constraints are then applied using cross-modal positive sample pairs within the same artwork and negative sample pairs between different artworks to generate proxy embeddings for missing modalities. Prototype proximity verification and internal self-consistency verification are then performed, and a dual verification identification result is output.
It achieves stable aggregation and comparison of identification evidence under heterogeneous modal conditions, reduces the risk of misjudgment of highly similar samples, improves the generalization ability and stability of the identification model, and enhances the continuity and robustness of identification under missing modal conditions.
Smart Images

Figure CN123158252A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of artificial intelligence and cultural relic authentication, and in particular to a multimodal dual-verification authentication method for artworks based on contrastive learning. Background Technology
[0002] As the trading volume of high-value artworks, paintings, cultural relics, and collectibles continues to expand, the authentication process is gradually evolving from relying on the experience of individual experts to data-driven, digital, and intelligent assisted analysis. Current authentication inputs typically include not only visible light images but also heterogeneous information such as microscopic images, spectral responses, material testing results, expert descriptions, and provenance records. Since the authenticity of artworks often reflects the combined consistency of multiple potential factors across different modalities, such as brushstroke organization, material aging, craftsmanship characteristics, stylistic features of the era, author habits, and provenance chains, establishing a classification or comparison mechanism solely within a single modality can easily lead to problems such as misaligned feature semantics and the fusion results being dominated by a single dominant modality. This can result in authentication fluctuations in scenarios with high-quality forgeries, small samples, and incomplete historical data, increasing the cost of manual verification and introducing the risk of misjudgments during transaction review.
[0003] In existing technologies, the first type of method focuses on the construction of multi-dimensional feature libraries and intelligent analysis. For example, Chinese patent CN202610356083.0 discloses a large-scale model of seven-dimensional DNA feature data for all categories of cultural relics and artworks and an intelligent analysis and identification method, which conducts identification by constructing a standardized feature library and combining multi-dimensional cross-validation. This type of method mainly solves the problems of describing, organizing and matching the feature sets of artworks. However, in practical applications, image texture, spectral curves, material indicators and text descriptions are usually in different statistical scales, noise models and missing modes. If there is a lack of a unified representation space and explicit constraint mechanism, it is easy to misjudge "local modal similarity" as "overall authenticity consistency", which leads to unstable discrimination boundaries when high-quality forgeries deliberately approximate the appearance features of genuine works, affecting the reliability of high-risk sample screening.
[0004] Another type of approach focuses on the reliable storage and management of identity and circulation information. For example, Chinese patent CN202210576030.1 discloses a management system for identifying the authenticity of artworks and their authors based on blockchain technology. This system uses timeline nodes and a chain-like storage structure to track and verify information. The key technical aspects of this type of approach are data ownership confirmation, storage, and traceability. It primarily addresses whether information has been tampered with and whether the identity chain is complete. However, it does not involve real-time multimodal feature alignment between microscopic images, material spectra, expert texts, and image styles, nor does it have a training mechanism for clustering and separating genuine and fake samples in a unified representation space. Therefore, when there is a conflict between the physical characteristics of the artwork and the stored evidence, the physical authentication conclusion may still be insufficiently supported, affecting the continuity of collection management and transaction decisions.
[0005] Furthermore, existing technologies typically aggregate multiple pieces of evidence at once and directly output the identification result, lacking a dual verification chain that separates and models "whether the sample closely resembles the distribution of the genuine prototype" and "whether the various modalities within the sample are self-consistent." When a forgery closely resembles a genuine artifact in appearance, but there are contradictions in its material age, elemental composition, or circulation text, the single-fusion model is easily swayed by appearance or locally dominant evidence, making it difficult to explicitly identify cross-modal conflicts, thus increasing the risk of misclassification as genuine.
[0006] Meanwhile, in the authentication of genuine artworks, there are often scenarios involving missing modalities. For example, some samples only have high-resolution images and a small amount of textual description, lacking complete spectral or material detection results; some samples have material data, but their provenance records are incomplete. Existing solutions often assume that the input evidence is complete enough, and under conditions of missing modalities, they are prone to using gaps, zero-filling, or coarse means to replace them, thereby causing the feature representation to deviate from the training distribution, increasing unstable noise, and reducing the usability of historical samples and cold-start samples.
[0007] Therefore, how to construct a unified cross-modal discrimination space, how to form a mutually constraining dual identification chain between prototype proximity verification and internal self-consistency verification, and how to maintain comparable, interpretable, and implementable identification capabilities under the condition of missing modalities have become technical problems that urgently need to be solved in this field. Summary of the Invention
[0008] The purpose of this invention is to provide a multimodal dual-verification authentication method for artworks based on contrastive learning, to solve the problems in existing technologies such as the lack of a unified discrimination space for heterogeneous modalities, the lack of a dual-verification chain in the authentication process that is mutually constrained by prototype proximity and internal self-consistency, and the increased risk of misjudgment and the increased cost of manual review due to the difficulty in maintaining stable authentication in scenarios with missing modalities. To achieve the above objective, this invention provides a multimodal dual-verification authentication method for artworks based on contrastive learning, comprising: Step S1, receiving image data, spectral data, material detection data, and text data of the artwork to be authenticated, constructing a submodal feature matrix, and mapping the submodal feature matrix to a unified modal embedding space to obtain modality center vectors participating in the authentication; Step S2, generating surrogate embeddings for missing modalities based on the observed modality center vectors, and organizing the observed modality center vectors and the surrogate embeddings into a complete verification vector group; Step S3, retrieving genuine and counterfeit prototypes from the genuine prototype library and the counterfeit prototype library respectively based on the tag information of the artwork to be authenticated. The system first obtains a prototype set and a counterfeit prototype set, and calculates the prototype proximity score and prototype boundary interval score based on the complete verification vector set, the genuine prototype set, and the counterfeit prototype set to obtain the prototype proximity verification result; Step S4, it calculates the cross-modal consistency matrix and consistency risk index based on the complete verification vector set, and generates an internal self-consistency score based on the consistency risk index; Step S5, it merges the prototype proximity score, prototype boundary interval score, and internal self-consistency score to generate the final genuine product confidence score, and outputs the dual verification identification result based on the preset high confidence threshold, preset low confidence threshold, preset genuine product self-consistency threshold, and preset counterfeit product risk threshold, and generates a structured identification report.
[0009] Preferably, constructing the submodal feature matrix includes: performing local block segmentation and encoding on the visible light image and microscopic local image in the image data to obtain the image feature matrix, and concatenating the whole image local block features and microscopic local block features according to the block dimension; performing wavelength window segmentation and encoding on the spectral data to obtain the spectral band feature matrix; encoding the material detection data according to the index items to obtain the material feature matrix; performing word sequence encoding on the expert description text and circulation record text in the text data to obtain the text feature matrix; and using the image feature matrix, spectral band feature matrix, material feature matrix and text feature matrix as the submodal feature matrix.
[0010] Preferably, mapping the submodal feature matrix to a unified modality embedding space to obtain the modality center vectors participating in the identification includes: performing modality-specific projection and normalization processing on the image feature matrix, spectral feature matrix, material feature matrix, and text feature matrix respectively to obtain the local embedding matrix of the corresponding modality; calculating the attention score for each local unit in the local embedding matrix and performing normalization processing on the attention score to obtain the local unit weight; and performing weighted aggregation on the local embedding matrix based on the local unit weight to obtain the modality center vector corresponding to each modality.
[0011] Preferably, after obtaining the modality center vectors for identification, the method further includes: constructing positive sample pairs using different modality center vectors within the same artwork to be identified, and constructing negative sample pairs using modality center vectors between different artworks; calculating the similarity between the positive sample pairs and the negative sample pairs, and constraining the unified modality embedding space based on a supervised contrast loss with a preset temperature coefficient; and using the supervised contrast loss to bring the cross-modal representations of the same artwork closer together and to separate the cross-modal representations of different artworks.
[0012] Preferably, generating surrogate embeddings for missing modes based on observed mode center vectors and organizing the observed mode center vectors and surrogate embeddings into a complete verification vector set includes: obtaining the mode integrity score and mode stability score of each observed mode, and calculating the mode confidence weight of each observed mode based on the mode integrity score and the mode stability score; performing weighted aggregation on the observed mode center vectors based on the mode confidence weights to obtain a joint context vector; inputting the joint context vector into the generator network corresponding to the missing mode to obtain the surrogate embedding of the missing mode; and organizing the observed mode center vectors and surrogate embeddings into a complete verification vector set, and recording the corresponding labels in the real observed mode label and the surrogate generated mode label for each vector.
[0013] Preferably, retrieving the genuine prototype set and the counterfeit prototype set from the genuine prototype library and the counterfeit prototype library respectively based on the tag information of the artwork to be identified includes: obtaining the pre-constructed and stored genuine prototype library and counterfeit prototype library; performing hierarchical filtering on the genuine prototype library according to the category tag, era tag, author tag, and craftsmanship tag of the artwork to be identified to obtain the genuine prototype set, and performing hierarchical filtering on the counterfeit prototype library to obtain the counterfeit prototype set; when the tag information is incomplete, performing hierarchical filtering based on known tags, and using a category-level prototype sub-library for the positions corresponding to unknown tags; when there are conflicts in the tag information, retaining high-confidence tags according to the priority of category tags, craftsmanship tags, era tags, and author tags, and using the remaining tags as soft filtering conditions.
[0014] Preferably, calculating the prototype proximity score and the prototype boundary interval score includes: performing aggregation on the complete verification vector group to obtain a global representation vector of the artwork to be identified; calculating the similarity sequence between the global representation vector and each genuine prototype in the genuine prototype set, and performing aggregation on a preset number of maximum similarities in the similarity sequence to obtain the prototype proximity score; calculating the mean cosine distance from the global representation vector to the nearest neighbor prototype subset of the genuine prototype set, and the mean cosine distance from the global representation vector to the nearest neighbor prototype subset of the counterfeit prototype set; performing a preset boundary scaling mapping based on the difference between the mean cosine distance to the counterfeit prototype set and the mean cosine distance to the genuine prototype set to obtain the prototype boundary interval score; and using the prototype proximity score and the prototype boundary interval score as the prototype proximity verification result.
[0015] Preferably, calculating the cross-modal consistency matrix and consistency risk index based on the complete verification vector set, and generating an internally consistent score based on the consistency risk index, includes: calculating consistency values for any two modal vectors in the complete verification vector set and organizing them into a cross-modal consistency matrix; extracting the modal integrity score of each modality participating in the verification and the prior reliability of each modal pair, and calculating the mode pair confidence weight of each modal pair based on the modal integrity score and the prior reliability of the mode pair; performing a low consistency value amplification transformation on the off-diagonal consistency values in the cross-modal consistency matrix, and aggregating the amplified results according to the mode pair confidence weight to obtain the consistency risk index; and performing a risk-to-score mapping on the consistency risk index to obtain the internally consistent score.
[0016] Preferably, generating a final genuine product credibility score and outputting a dual verification authentication result based on a preset high credibility threshold, a preset low credibility threshold, a preset genuine product self-consistency threshold, and a preset counterfeit product risk threshold, as well as generating a structured authentication report, includes: fusing the prototype proximity score, prototype boundary interval score, and internal self-consistency score according to preset fusion weights to obtain the final genuine product credibility score; when the genuine product prototype set is empty, setting the prototype proximity score to a preset neutral value and re-normalizing the effective weights participating in the fusion; jointly comparing the final genuine product credibility score with the preset high credibility threshold, preset low credibility threshold, preset genuine product self-consistency threshold, and preset counterfeit product risk threshold, and outputting a dual verification authentication result of any one of high-credibility genuine product, high-risk counterfeit product, and product awaiting manual review; writing the dual verification authentication result, the final genuine product credibility score, the internal self-consistency score, the modal pair list triggering conflict, and the nearest genuine product prototype number into the structured authentication report and outputting it to the authentication terminal.
[0017] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the above method.
[0018] The present invention has the following beneficial effects:
[0019] By encoding images, spectra, materials, and text separately and mapping them to a unified modality embedding space, and further utilizing cross-modal positive sample pairs within the same artwork and negative sample pairs between different artworks for supervised comparison constraints, the geometric mismatch problem of heterogeneous modalities in statistical scale, noise structure, and semantic expression is solved. This enables identification evidence from different sources to be aggregated and compared in the same comparable space, thereby reducing the mismatch risk caused by high-imitation samples using single-modality camouflage and enhancing the generalization ability and stability of the multimodal identification model.
[0020] By splitting the identification process into two mutually constraining discrimination stages—prototype proximity verification and internal self-consistency verification—the problem of existing technologies being easily dominated by dominant modes in single comprehensive judgments and having difficulty in explicitly identifying cross-modal conflicts is solved. This enables the system to determine whether the sample to be identified is generally close to the distribution of the genuine product, and whether this closeness is supported by multiple modes. Thus, in high-imitation scenarios where "the appearance is close to the genuine product but the material or text is contradictory," false judgments are suppressed, and risk control capabilities in complex business scenarios are improved.
[0021] By generating a joint context vector based on the completeness and stability of the observed modalities in the missing modality scenario, and further generating a surrogate embedding of the missing modality, the distribution shift problem caused by zero-filling, mean-filling, or direct ignoring of the missing modality is solved when the input evidence is incomplete. This allows cold-start samples to still participate in prototype proximity verification and internal self-consistency verification, thereby improving the availability of incomplete historical data samples, non-destructive detection samples, and samples with incomplete transfer information, and improving the continuity and robustness of the identification process under incomplete evidence conditions. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the overall process of a multimodal dual-verification authentication method for artworks based on contrastive learning, provided in an embodiment of the present invention.
[0024] Figure 2This is a schematic diagram of a system environment for applying a contrastive learning-based multimodal dual-verification authentication method for artworks, as provided in an embodiment of the present invention.
[0025] Figure 3 This is a flowchart of the unified modality embedding construction step, the proxy generation step, and the vector group organization step in an embodiment of the present invention.
[0026] Figure 4 This is a flowchart of the prototype proximity verification step in an embodiment of the present invention.
[0027] Figure 5 This is a flowchart of the internal self-consistency verification and dual verification decision steps in an embodiment of the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will now be described in further detail with reference to the accompanying drawings.
[0029] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0030] Example 1: Overall Flow of a Multimodal Dual Verification Authentication Method for Artworks Based on Comparative Learning
[0031] like Figure 2 As shown in the illustration, the multimodal dual-verification authentication method for artworks based on contrastive learning provided in this embodiment is executed by an artwork authentication server device. The artwork authentication server device can be a single-machine server or a server cluster, including a processor, memory, modal feature interface, and result output interface. Upstream connections can include visible light acquisition devices, microscopic imaging devices, spectral detection devices, non-destructive material testing devices, and text input terminals; downstream connections can include collection management terminals, transaction review terminals, or expert review terminals. Before being accessed by the server, each modal data is bound to the same artwork instance identifier, acquisition timestamp, and device identifier to ensure cross-modal correspondence.
[0032] In this embodiment, the method is preferably applicable to art authentication scenarios such as calligraphy and painting, ceramics, jade, and bronzes, which have at least an image modality and possess two or more observable information categories among the four modalities of image, spectrum, material, and text. When only a single modality is available, the system only outputs a message indicating insufficient evidence and nearest neighbor reference information, without directly outputting a final conclusion on authenticity. To control the distribution disturbance caused by cross-period acquisition, the preset time window in this embodiment is used to measure whether the acquisition time of different modalities can still be regarded as evidence in the same round of authentication. This parameter can be obtained offline based on the time sensitivity of the category samples. In practical engineering applications, its typical value is no more than 30 days in the calligraphy and painting and jade scenarios, and no more than 60 days in the ceramics scenario. When it exceeds this range, it is marked as "cross-period acquisition" in the report, and the corresponding modality integrity score is reduced.
[0033] like Figure 1 As shown, this embodiment includes the following steps:
[0034] Step S1 as follows Figure 3 As shown, the system receives image data, spectral data, material detection data, and text data of the artwork to be identified, constructs a submodal feature matrix, and maps the submodal feature matrix to a unified modal embedding space to obtain the modal center vectors participating in the identification.
[0035] In this embodiment, this step is executed by the processor calling the offline training model in the memory. The image modality may include a full visible light image, a microscopic partial image, or a combination of both; the spectral modality may include reflectance spectrum, absorption spectrum, or other spectra that can be used for material and aging state analysis; the material modality may include XRF elemental ratio, thickness detection value, fluorescence response ratio, adhesive inference value, or other non-destructive testing indicators; and the text modality may include expert description text, circulation record text, catalog summary, or OCR verification text.
[0036] Step S101: Construct the submodal feature matrix
[0037] The construction of the submodal feature matrix includes: performing local block segmentation and encoding on visible light images and microscopic local images in the image data to obtain an image feature matrix, and concatenating the whole image local block features and microscopic local block features according to the block dimension; performing wavelength window segmentation and encoding on spectral data to obtain a spectral feature matrix; encoding material detection data according to index items to obtain a material feature matrix; performing word sequence encoding on expert description text and circulation record text in the text data to obtain a text feature matrix; and using the image feature matrix, spectral feature matrix, material feature matrix, and text feature matrix as the submodal feature matrix.
[0038] In this embodiment, the processor receives multi-source data of the artwork to be identified through a modal feature interface. To achieve the above objective, the processor first performs block-level splitting and encoding of the image modalities. Specifically, the full image and the microscopic local image are first input into an isomorphic image feature extraction network, which can employ a convolutional neural network or a visual Transformer structure; preferably, the full image and the microscopic image use a parameter-shared encoding trunk to ensure that images of different scales are processed under the same representation rules. The full image is divided into several main image local blocks, and the microscopic image is divided into several microscopic local blocks. Then, the two are concatenated block-dimensionally to obtain the image feature matrix. ,in This represents the sum of the number of local patches in the whole image and the number of microscopic local patches. This represents the initial feature dimension of each local block.
[0039] Furthermore, the spectral modes are encoded using a one-dimensional convolutional feature extractor. The processor first performs Savitzky-Golay smoothing on the original spectral curve, then resamples it according to a uniform wavelength grid, and then divides it into multiple spectral band units based on the wavelength window. Each spectral band unit is then input into a one-dimensional convolutional encoding network to obtain the spectral band feature matrix. ,in Indicates the number of spectral windows. This represents the feature dimension of each spectral segment window.
[0040] For material modes, the processor decomposes each detection index into index items and inputs them into the multilayer perceptron encoder to obtain the material feature matrix. ,in Indicates the number of material specifications. This represents the feature dimension after encoding each indicator item. The material testing data can include fiber aging index, fluorescence response ratio, elemental ratio, thickness dispersion, thermoluminescence estimation value, etc.
[0041] For text modalities, the processor first performs terminology standardization and temporal entity normalization, and then uses a text encoder to convert the expert description text and flow record text into a word-level feature matrix. ,in Indicates the number of words in the text. This represents the lexical feature dimension. Terminology standardization relies on a pre-stored terminology lexicon and rule base. The terminology lexicon includes at least author synonyms, date dates, kiln names, vessel type synonyms, Tibetan seal names, and common identification descriptive phrases. For out-of-vocabulary terms, the original lexical elements are retained and unstandardized tags are added, without forced mapping.
[0042] In practical engineering applications, image data undergoes channel mean-variance normalization; spectral curves are smoothed and then resampled; material values are grouped by physical quantity category and scaled within intervals; text only undergoes terminology and entity normalization, and does not share the same normalization rules with continuous numerical values. This processing method avoids distortion caused by mixing different types of data using different preprocessing strategies.
[0043] To ensure basic usability of modal inputs, this step also introduces a lower limit for input quality. Specifically, the image acquisition device preferably has a resolution of no less than 2048x2048; the microscopic image preferably has a magnification ratio between 50x and 500x; the number of spectral sampling points preferably is no less than 200 wavelength points; the material detection items preferably are no less than 5; and the text description preferably has no less than 20 valid words. If a modality does not meet the corresponding lower limit, that modality can be retained for access, but the integrity score of its subsequent modalities will be reduced proportionally. The aforementioned lower limits for image resolution, microscopic magnification range, spectral sampling points, material detection items, and valid text words together constitute the aforementioned input quality judgment conditions.
[0044] In one specific implementation, the output dimension of the image coding network can be set to... The output dimension of the spectral coding network can be set to The output dimension of the material coding network can be set to The output dimension of the text encoding network can be set to 1. The above dimensional definitions allow different modalities to retain their respective information densities before entering a unified embedding, while also providing stable input for subsequent projection.
[0045] Step S102: Unified Modal Embedding and Center Vector Aggregation
[0046] Modality-specific projection and normalization are performed on the image feature matrix, spectral feature matrix, material feature matrix, and text feature matrix respectively to obtain the local embedding matrix of the corresponding modality; attention score is calculated for each local unit in the local embedding matrix, and the attention score is normalized to obtain the local unit weight; weighted aggregation is performed on the local embedding matrix based on the local unit weight to obtain the modality center vector corresponding to each modality.
[0047] In this embodiment, the sub-problem corresponding to this step is solving the problem of incomparability between different modalities. The input data are the feature matrices of each of the aforementioned modalities, and the output is a local embedding matrix of uniform dimension. The mapping relationship used is as follows:
[0048] ;
[0049] in, Indicates the first The unified modal embedding matrix after modal projection; Presentation layer normalization operation; This represents the original feature matrix of the corresponding mode; This represents the projection weight matrix of the mode; Represents the bias vector; This indicates the number of local units in this mode; This indicates the original feature dimension of the modality; This represents the uniform modality embedding dimension. The uniform modality embedding dimension is used to measure the expression length of different modalities in a uniform comparable space, and can be obtained through offline search of the validation set; in practical engineering applications, its typical value is 256, and it can usually be reasonably configured between 128 and 384.
[0050] The aforementioned projection matrix and bias vector are learned through backpropagation during the offline training phase. Layer normalization is used to mitigate numerical scale differences between different modalities. If the input matrix contains local outliers, it is smoothed, scaled, or cleaned according to the known preprocessing rules of the corresponding modality before projection; if the number of units... If so, the modality can still directly participate in subsequent aggregation.
[0051] Subsequently, the processor calculates an attention score for the local embeddings of each modality. The input to this step is the local embedding matrix, which aims to highlight local blocks, spectral segments, material terms, or terms that contribute more to the current artwork authentication. The output is the attention score before the local unit weights. The calculation relationship is as follows:
[0052] ;
[0053] in, Indicates the first In the mode, the th Attention score of each local unit; This indicates the unified embedding of the corresponding local unit; Represents the attention transformation matrix; Represents the bias vector; Represents the attention score vector; This represents the attention hiding dimension. The attention hiding dimension controls the intermediate representation capacity of the attention scoring subnetwork and can be obtained through offline testing on a validation set; in practical engineering applications, its typical value is 64.
[0054] After obtaining the attention score, the processor performs Softmax normalization on all scores within the same modality to obtain local unit weights, thus avoiding incomparability of contributions from different units:
[0055] ;
[0056] in, Indicates the first In the mode, the th The attention weights of each local unit satisfy the condition that the sum of all weights within the same modality is 1. When a modality contains only one local unit, the weight of that unit is directly set to 1. When the denominator becomes unstable due to its small value, a floating-point stable implementation is used to calculate Softmax, but the normalization logic described above is not changed.
[0057] Then, the processor performs weighted aggregation on the local embedding matrix based on the local unit weights to obtain the modality center vector: ;
[0058] in, Indicates the first The modality center vector represents the overall semantic position of a single modality in the unified embedding space and serves as the common input for subsequent proxy embedding generation, prototype proximity verification, and internal self-consistency verification. The calculation process of the local embedding matrix, attention score, local unit weights, and modality center vector constitutes the aforementioned unified modality embedding space mapping and modality center vector generation process.
[0059] Furthermore, after obtaining the modality center vectors for identification, the process further includes: constructing positive sample pairs using different modality center vectors within the same artwork to be identified, and constructing negative sample pairs using modality center vectors between different artworks; calculating the similarity between the positive and negative sample pairs, and constraining the unified modality embedding space based on a supervised contrast loss with a preset temperature coefficient; and using the supervised contrast loss to bring the cross-modal representations of the same artwork closer together and separate the cross-modal representations of different artworks.
[0060] The temperature coefficient is used to adjust the smoothness of the similarity distribution and is usually determined based on a grid search of the validation set. In this embodiment, the preset temperature coefficient is interpreted as a distribution sharpening parameter in the similarity comparison loss, with a typical value of 0.07. This value can be obtained by searching the validation set within the range of 0.05 to 0.15. To prevent the denominator from being zero when calculating cosine similarity, this embodiment uses a preset smoothing term. This preset smoothing term is used to suppress numerical divergence caused by excessively small vector norms and can be set according to floating-point precision requirements. In practical engineering applications, its typical value is... .
[0061] When all local values of a modality are missing, this step does not forcibly set them to zero, but instead generates a surrogate embedding in the subsequent step S2. After this processing, modal data from different sources are mapped to a unified processing scale, and subsequent prototype retrieval and consistency verification can be performed in the same numerical space, thereby reducing heterogeneous modal mismatch.
[0062] Step S2 as follows Figure 3As shown, a surrogate embedding for the missing mode is generated based on the observed mode center vector, and the observed mode center vector and the surrogate embedding are organized into a complete verification vector group.
[0063] In this embodiment, this step is used to address the distribution shift problem caused by direct zero-filling, mean substitution, or ignoring of missing modal samples. The processor uses the modality center vector obtained in step S1 as input to perform embedding-level proxy generation on the missing modalities, rather than reconstructing the original image, original spectrum, or original detection values. Therefore, its target is the semantic location in the unified embedding space.
[0064] Step S201: Construct the joint context vector
[0065] Obtain the modal integrity score and modal stability score of each observed mode, and calculate the modal confidence weight of each observed mode based on the modal integrity score and the modal stability score; perform weighted aggregation on the center vector of the observed modes based on the modal confidence weight to obtain the joint context vector.
[0066] In this embodiment, the processor first identifies the set of observed modes. The inputs to this step are the observed modality center vectors, modality integrity scores, and modality stability scores, and the output is a joint context vector, which is used as input to the missing modality proxy generation network. Its aggregation relationship is as follows:
[0067] ;
[0068] in, This represents the joint context vector of the observed modes; Represents the set of observed modes; Indicates the first Modal confidence weights for each observed mode; Indicates the first The center vector of each mode.
[0069] To calculate the modal reliability weights, the processor considers both modal completeness and modal stability. Modal completeness reflects whether the modality of the current sample to be identified has been adequately collected, while modal stability reflects the statistical reliability of the modality among similar genuine samples. The weighting relationship is as follows:
[0070] ;
[0071] in, Indicates the first Confidential weights for each observed mode; Indicates the first Modal integrity score for each modality; Indicates the first Modal stability score for each mode; This represents the stability adjustment coefficient. To balance the quality of the current sample collection and the stability of this mode in historical samples, this step introduces the aforementioned stability adjustment coefficient, which represents the amplification of stability in the weight calculation. It is usually determined based on offline calibration of the validation set; in practical engineering applications, its typical value is 0.6.
[0072] Furthermore, the modal integrity score is obtained from the effective sampling percentage. This parameter measures the proportion of actually usable local units out of all units in a given mode, and can be calculated in real time by inputting quality rules. The specific relationship is as follows:
[0073] ;
[0074] in, Indicates the first Completeness of each modality; Indicates the first The modality of the first Is each local unit valid? This represents the total number of local elements in this mode. If all local elements in the same mode are invalid, then directly set... .
[0075] In this embodiment, the valid determination criteria for different modalities are as follows: For image modalities, it is considered valid when the sharpness of local blocks is not lower than the preset image sharpness threshold, the proportion of overexposed and underexposed pixels is not higher than the preset image exposure threshold, and the proportion of occluded area is not higher than the preset image occlusion threshold; for spectral modalities, it is considered valid when the spectral coverage is not lower than the preset spectral coverage threshold, the saturation or segmentation ratio is not higher than the preset spectral segmentation threshold, and the signal-to-noise ratio is not lower than the preset spectral signal-to-noise threshold; for material modalities, it is considered valid when a single detection value is within the physical range of the device, is not marked as distorted or abnormal, and the instance identifier is completely bound; for text modalities, it is considered valid when the word is not a stop blank marker, a garbled marker, or a continuous noise segment, and words that are not registered in the vocabulary but have complete grammar and can retain the original word are still considered valid.
[0076] In this embodiment, the preset image exposure threshold is defined as the maximum allowable percentage of abnormally exposed pixels in a single image local block. This parameter can be obtained through offline calibration using clear, usable images from the training samples; in practical engineering applications, its typical value is 0.25. The preset image occlusion threshold measures the upper limit of the allowable area of an occluded region within a local block, which can be obtained through statistical analysis of occlusion annotations in historical samples; its typical value is 0.30. The preset spectral coverage threshold measures the minimum proportion of the effective spectral band covering the overall wavelength range, which can be determined jointly by the device calibration samples and the lower limit of the identification service; its typical value is 0.90. The preset spectral segmentation threshold measures the highest proportion of saturated or segmented regions within the overall sampling segments, which can be obtained through statistical analysis of abnormal samples from the device; its typical value is 0.10. The preset image sharpness threshold distinguishes between sharp local blocks and out-of-focus local blocks, and can be obtained offline using the 10th percentile of the sharpness index of sharp samples in the training set. The preset spectral signal-to-noise threshold distinguishes between usable spectral bands and high-noise spectral bands, and can be determined offline using the 15th percentile of the signal-to-noise ratio distribution of the device calibration samples.
[0077] Modal stability scores are obtained from training samples of the same product category, process level, and labeled as genuine products. In practice, the processor first filters genuine product training samples by product category and process level, calculates the fluctuation of the corresponding modal center vector in a unified embedding space, and then normalizes the inverse of the variance to obtain the stability score. If the sample size for a certain category is lower than the preset minimum sample size, it reverts to statistics for the next higher category or global statistics. To distinguish between "insufficient samples leading to instability" and "poor stability of the modality itself," this step introduces the aforementioned preset minimum sample size. This parameter represents the minimum number of genuine product samples required for stability statistics within a category, and can be determined after offline verification of the stability estimate variance. In practical engineering applications, its typical value can be set to 30 samples, and it can usually be configured between 20 and 50 samples.
[0078] When there is only one observed modality, its weight is directly set to 1; when the set of observed modalities is empty, the system outputs an "insufficient evidence" status and does not proceed to the truth or falsehood determination; when the completeness score of a certain modality cannot be calculated, the pre-stored category mean is used instead. The above calculation process of joint context vector, modality completeness score, modality stability score and modality credibility weight constitutes the aforementioned joint context vector generation process.
[0079] Step S202: Generate missing modality surrogate embedding
[0080] The joint context vector is input into the generator network corresponding to the missing modality to obtain the proxy embedding of the missing modality.
[0081] In this embodiment, the processor targets the missing mode set. For each missing modality, the corresponding proxy generation network is invoked. The input to this step is a joint context vector, and the sub-problem it addresses is generating semantically constrained embedding positions for missing modalities under incomplete evidence. The output is the missing modality proxy embedding. The implementation relationship is as follows:
[0082] ;
[0083] in, Indicates missing mode Proxy embedding; Indicates the first Generative weight matrices corresponding to the missing modes; Represents the bias vector; Represents the hyperbolic tangent activation function; This represents the joint context vector.
[0084] The generative network corresponding to the aforementioned missing modalities can adopt a single-layer or multi-layer perceptron structure. In this embodiment, at least a linear mapping plus nonlinear activation generative structure is explicitly adopted to avoid black-box description. If the sample has category tags, year tags, or process tags, the tag embedding vector and joint context vector can be concatenated by channel before being input into the generative network; if the tags are incomplete, only the known tag embeddings are input.
[0085] During the offline training phase, the processor trains the agent generation network by randomly masking the real modalities in complete samples and minimizing the squared distance between the agent embedding and the center vector of the real modality. The random masking primarily uses unimodal masking, supplemented by bimodal masking. To match the distribution of missing modalities in real-world business scenarios, this step introduces preset unimodal masking probabilities, preset bimodal masking probabilities, and preset multimodal masking probabilities. The preset unimodal masking probability is used to simulate sample scenarios with only one missing modality, which can be obtained through statistical analysis of the frequency of missing modalities in historical business scenarios, and its typical value is 0.30. The preset bimodal masking probability is used to simulate less common scenarios with two missing modalities, and its typical value is 0.10. The preset multimodal masking probability is used to simulate low-frequency scenarios with three or more missing modalities, and its typical value is 0.02.
[0086] To prevent the system from forcibly issuing high-confidence conclusions when there are too many missing modes, this step also introduces a preset missing mode number threshold. This parameter represents the maximum number of missing modes that are allowed to directly participate in double validation and output the final conclusion. It can be obtained offline based on the decrease in F1 score as the number of missing modes increases on the validation set; in practical engineering applications, its typical value is 1. When the number of missing modes exceeds this threshold, only auxiliary judgment results are output instead of directly outputting the final truth or falsehood conclusion.
[0087] When any dimension of the input joint context vector exceeds the activation stable region Output naturally saturates When there is no reliable label alignment basis for the true missing modality in the training samples, it is not included in the generation constraints. This surrogate embedding is not a reconstruction of the original spectrum, original image, or original material value, but rather gives the semantic position where the missing modality should be in a unified embedding space, so that incomplete samples can still participate in subsequent verification.
[0088] Step S203: Form a complete set of verification vectors
[0089] The observed modality center vectors and surrogate embeddings are uniformly organized into a complete verification vector group, and the corresponding real observed modality markers and surrogate generated modality markers for each vector are recorded.
[0090] The processor will observe the mode center vector With proxy embedding Arranged into a complete set of verification vectors according to fixed modal order. ,in This indicates the total number of modes participating in the verification. Indicates the first Each modality vector participates in the verification. A source tag for each vector is also recorded, which at least distinguishes between the actual observed modalities and the proxy-generated modalities. This tag will be used in subsequent consistency risk calculations and structured report generation.
[0091] If no missing modalities exist, the complete verification vector set is directly constructed from the center vectors of all true modalities. If missing modalities exist but their number does not exceed the aforementioned preset threshold for the number of missing modalities, a proxy is embedded and inserted into the corresponding position. If the number of missing modalities exceeds the threshold, an auxiliary judgment vector set can still be generated, but the confidence level will be lowered in the subsequent output. The above vector set and its source marker constitute the aforementioned complete verification vector set.
[0092] Step S3 as follows Figure 4 As shown, based on the label information of the artwork to be identified, the genuine prototype set and the counterfeit prototype set are retrieved from the genuine prototype library and the counterfeit prototype library respectively. Based on the complete verification vector group, the genuine prototype set and the counterfeit prototype set, the prototype proximity score and the prototype boundary interval score are calculated to obtain the prototype proximity verification result.
[0093] In this embodiment, this step is used to answer the questions "whether the sample as a whole resembles genuine artifacts of the same type, and whether it is simultaneously far removed from the distribution of counterfeit artifacts." The execution entity is a processor, the inputs are a complete set of verification vectors, the label information of the artwork to be identified, and a pre-built and stored library of genuine artifact prototypes and a library of counterfeit artifact prototypes, and the outputs are the prototype proximity score and the prototype boundary interval score.
[0094] Step S301: Retrieve the prototype set
[0095] Obtain a pre-built and stored library of genuine and counterfeit prototypes; perform hierarchical filtering on the library of genuine prototypes based on the category, date, author, and craftsmanship tags of the artwork to be authenticated to obtain a set of genuine prototypes, and perform hierarchical filtering on the library of counterfeit prototypes to obtain a set of counterfeit prototypes; when the tag information is incomplete, perform hierarchical filtering based on known tags, and use a category-level prototype sub-library for the positions corresponding to unknown tags; when there are conflicts in the tag information, retain high-confidence tags according to the priority of category, craftsmanship, date, and author tags, and use the remaining tags as soft filtering conditions.
[0096] In this embodiment, the processor reads the corresponding prototype data from memory. Both types of prototype libraries are pre-built during the offline training phase: first, genuine or counterfeit samples that meet the inclusion criteria are screened; then, the samples are grouped according to category, process, era, and author or school level; within each group, the global representation vector is clustered; finally, the mean of the global representation vector of each cluster is used as the prototype center vector. The clustering method can be K-means or K-medoids. To control the cluster complexity, this step introduces a preset maximum number of clusters and a cluster complexity penalty coefficient. The preset maximum number of clusters is used to limit the excessive subdivision of small sample groups and can be determined based on the sample size and silhouette coefficient changes within the group; in practical engineering applications, its typical value can be set to 10. The cluster complexity penalty coefficient is used to suppress the selection of too many clusters under insufficient sample size conditions and can be calibrated offline using a validation set; its typical value can be set to 0.3.
[0097] For prototype samples to be included in the database, the preferred requirement for the genuine prototype database in this embodiment is that the samples have complete or highly complete multimodal data and have undergone consistent review by at least two experts or have a stable collection and authoritative transaction records. The preferred requirement for the counterfeit prototype database is that the samples have clear counterfeit labels or highly credible review conclusions. To ensure the stability of the prototype center, this step can also remove abnormal samples. The abnormal sample removal criteria are used to distinguish stable prototype samples from abnormal samples that deviate from the distribution within the group, and can be set offline based on the intra-cluster distance distribution. In actual engineering applications, if the cosine distance of a sample to the center of its cluster exceeds the mean of the cluster distance distribution plus 2 standard deviations, or if its cross-modal consistency risk is consistently higher than the 95th percentile of the group, it will not be included in the database or will be transferred to the manual review pool.
[0098] During online searches, category tags are prioritized from catalogue or transaction registration information; era tags are prioritized from authoritative catalog entries, equipment testing inferences, or expert confirmations; author tags are prioritized from colophons, signatures, or catalog records; and craft tags are prioritized from descriptions of shape, glaze, and material / craftsmanship. The search priority is, in order, category tags, craft tags, era tags, and author tags. If multiple tags conflict, the high-confidence tag is retained, and the remaining tags are downgraded to soft filtering conditions, without directly eliminating candidate prototypes. If tag information is incomplete, a category-level prototype sub-library is used for unknown tag locations.
[0099] To address data drift across institutions and devices, the server maintains a mapping table from device identifiers to calibration parameters. When a mean drift of the same modality on a new device exceeds a preset drift threshold, device domain calibration is performed first, followed by prototype retrieval and database entry. The preset drift threshold is used to determine whether a significant device domain shift has occurred, and can be obtained through statistical analysis of differences in sample distributions between the same device and across devices. In practical engineering applications, its typical value can be set to 0.5 times the standard deviation of the training baseline for the mean drift of the same modality.
[0100] Step S302: Calculate the prototype proximity score
[0101] Aggregate the complete verification vector group to obtain the global representation vector of the artwork to be identified; calculate the similarity sequence between the global representation vector and each genuine prototype in the genuine prototype set, and aggregate the preset number of maximum similarities in the similarity sequence to obtain the prototype proximity score.
[0102] This step takes a complete set of verification vectors as input and outputs a global representation vector, used to calculate the distance to both the genuine and counterfeit prototypes. The relationship is as follows:
[0103] ;
[0104] in, Represents the global representation vector of the sample to be identified; Indicates the number of modes participating in the aggregation; Indicates the first A modal vector. When When the global representation vector is equal to the unique modality vector, the global representation vector is directly equal to the unique modality vector.
[0105] Subsequently, the processor calculates the cosine similarity between the global representation vector and each genuine prototype in the genuine prototype set, and aggregates the maximum similarity values for a predetermined number of these values to obtain the prototype proximity score:
[0106] ;
[0107] in, Indicates that the prototype is close to a fraction; Indicates the first A genuine prototype center vector; This indicates the number of genuine prototypes retrieved. Represents the first similarity in the set. Large values; Indicates the preset number of nearest neighbor prototypes; This indicates the average number of prototypes actually involved. This indicates a smoothing term to prevent the denominator from being zero.
[0108] The aforementioned preset number of nearest neighbor prototypes controls how many closest prototypes jointly determine the prototype proximity score. This can be determined offline by comparing the prototype proximity check AUC with the final joint decision F1 across multiple candidate values using a validation set. In practical engineering applications, its typical value is 3, and it can usually be configured between 1 and 5 depending on the prototype library density. When averaging, the actual number of prototypes retrieved is used.
[0109] When the set of genuine prototypes is empty, this step does not forcibly output a bias score, but instead sets the prototype proximity score to a preset neutral value. This preset neutral value is used to characterize a neutral state that is neither biased towards genuine nor counterfeit products when there are no comparable prototypes. It can be set based on the midpoint of the binary classification score interval; in practical engineering applications, its typical value is 0.5. The processor also lowers the confidence level of the final conclusion in subsequent steps. The calculation process of the global representation vector, the preset number of nearest neighbor prototypes, the prototype proximity score, and the preset neutral value constitutes the aforementioned prototype proximity score calculation process.
[0110] Step S303: Calculate the prototype boundary interval fraction
[0111] Calculate the mean cosine distance from the global representation vector to the nearest neighbor subset of the genuine prototype set, and the mean cosine distance from the global representation vector to the nearest neighbor subset of the fake prototype set; perform a preset boundary scaling mapping based on the difference between the mean cosine distance to the fake prototype set and the mean cosine distance to the genuine prototype set to obtain the prototype boundary interval score; use the prototype proximity score and the prototype boundary interval score as the prototype proximity verification result.
[0112] In this embodiment, simply comparing proximity to the genuine prototype is insufficient to eliminate high-quality counterfeits. Therefore, the processor further compares the sample's positional relationship relative to both the genuine and counterfeit prototypes. The inputs to this step are the global representation vector, the set of genuine prototypes, and the set of counterfeit prototypes; the output is the prototype boundary margin score. The calculation relationship is as follows:
[0113] ;
[0114] in, Represents the prototype boundary interval fraction; Represents the Sigmoid function; Indicates the boundary scaling factor; This represents the mean cosine distance from the global representation vector to the nearest neighbor subset of the true prototype; It represents the average cosine distance from the global representation vector to the nearest neighbor subset of the pseudo-prototype.
[0115] The boundary scaling factor is used to adjust the sensitivity after the distance difference is mapped to the fractional space. It is usually determined by offline search based on the balance between the recall rate of high-quality counterfeit products and the false alarm rate of genuine products. In this embodiment, the specific engineering meaning of the preset boundary scaling factor in the preset boundary scaling mapping is the gain parameter of the prototype boundary interval fraction. Its typical value is 4.0, and it can usually be reasonably configured between 1.0 and 6.0.
[0116] The cosine distance uses a unified definition, obtained by subtracting the normalized cosine similarity from 1. The processor selects nearest neighbor subsets from both the genuine and counterfeit prototype sets and calculates the average cosine distance. If the number of counterfeit prototypes is insufficient, the actual number of nearest neighbors is used for averaging; if the counterfeit prototype set is empty, only the prototype proximity score is output, and a report is issued indicating insufficient boundary references for counterfeits. After this processing, prototype proximity verification no longer only answers "whether it resembles the genuine product" but also "whether it is far from the counterfeit group," thereby improving the ability to suppress high-quality counterfeits.
[0117] Step S4 as follows Figure 5 As shown, a cross-modal consistency matrix and a consistency risk index are calculated based on the complete verification vector set, and an internal self-consistency score is generated based on the consistency risk index.
[0118] In this embodiment, this step is used to answer the question of "whether the evidence from different modalities supports each other or whether there is a structural conflict". The execution entity is a processor, the input is a complete verification vector set, the completeness score of each modality and the prior reliability of the modality pair, and the output is the internal consistency score.
[0119] Step S401: Construct a cross-modal consistency matrix
[0120] For any two modal vectors in the complete verification vector group, calculate the consistency value and organize them into a cross-modal consistency matrix.
[0121] In this embodiment, the processor calculates the cosine consistency value for any two modal vectors in the complete check vector set and forms a cross-modal consistency matrix. The input to this step is a complete set of verification vectors. The technical sub-problem it solves is to explicitly characterize the support or conflict relationships between different modalities, and the output is a consistency matrix. The relationship is as follows:
[0122] ;
[0123] in, Indicates the first The modality and the first Consistent values among modes; , This represents the two modality vectors involved in the verification; Indicates the total number of modes; This represents a smoothing term to prevent the denominator from being zero. The diagonal elements are fixed at 1 and do not participate in conflict calculations.
[0124] If the norm of a certain modality vector is too small, the denominator is suppressed to zero by the aforementioned smoothing term. If there is only a single modality, it is impossible to construct effective off-diagonal information for the cross-modal consistency matrix, which will directly trigger high-risk processing. The above calculation process of consistency value and consistency matrix realizes the aforementioned construction of cross-modal consistency matrix.
[0125] Step S402: Calculate the consistency risk index
[0126] Extract the modal integrity score of each modality involved in the verification and the prior reliability of each modal pair, and calculate the mode pair confidence weight of each modal pair based on the modal integrity score and the prior reliability of the mode pair; perform a low consistency value amplification transformation on the off-diagonal consistency values in the cross-modal consistency matrix, and aggregate the amplified results according to the mode pair confidence weight to obtain the consistency risk index.
[0127] In this embodiment, the inputs to this step are the cross-modal consistency matrix, the integrity scores of each modality, and the prior reliability of the modality pair, and the output is the consistency risk index. Specifically, extracting the modal integrity scores of each modality involved in the verification includes: parsing the original input data of each modality, calculating the data quality assessment value of each modality based on preset quality assessment rules and performing normalization processing, and using it as the modal integrity score; wherein, the quality assessment rules for the image modality are based on image sharpness and effective pixel ratio, the spectral modality is based on signal-to-noise ratio, the material modality is based on the coverage of detection indicators, and the text modality is based on the density of effective entity words. Extracting the prior reliability of each modality pair includes: obtaining the category label of the artwork to be identified, using the combination of the category label and the modal identifier of the current modality pair as a joint query key, performing a matching query in a pre-built and loaded prior reliability mapping table, and reading the corresponding value as the prior reliability of the modality pair.
[0128] The aggregation relationship of the consistency risk index is as follows:
[0129] ;
[0130] in, Indicates the consistency risk index; Representing mode pairs The modal pair credibility weights; Indicates the amplification index in a low uniform value amplification transformation; This represents the consensus value of the corresponding mode pair. To highlight a few strongly conflicting mode pairs, this step introduces the amplification index η from the aforementioned low consensus value amplification transformation. η represents the degree to which the low consensus value is amplified and is typically selected offline based on a balance between spoof detection rate and false alarm rate; in practical engineering applications, its typical value is 2.
[0131] The confidence weight of a modality pair is determined by the geometric mean of the completeness of the two modalities and the prior reliability of the modality pair. The prior reliability of the modality pair measures the historical effectiveness of a modality pair in distinguishing between true and false samples in the current category. It can be obtained by normalizing the AUC of the corresponding bimodal validator on the training set and is maintained independently by category. In this embodiment, if a modality pair contains a proxy-generated modality, the prior reliability of the modality pair can be further multiplied by a proxy attenuation factor to reflect the uncertainty of proxy embedding. To reduce the excessive influence of proxy modalities on the overall risk calculation, this step introduces the aforementioned proxy attenuation factor. Its engineering meaning is the reduction coefficient when the proxy-generated modality participates in the reliability of the modality pair. It can be obtained by offline calibration of the performance difference between proxy modalities and true modalities in the validation set. In practical engineering applications, its typical value range is 0.85 to 0.95.
[0132] When the integrity of a certain mode is 0, the weights of the mode pairs it participates in are automatically 0; when the weight denominator is 0, uniform non-zero mode pair weights are used; when the number of modes is less than 2, a preset high-risk value is directly output. The preset high-risk value is used to represent a conservative risk state when cross-modal consistency verification conditions are not met, and can be set in conjunction with subsequent decision-making strategies; in practical engineering applications, its typical value can be set to 1.0.
[0133] After this processing, the system focuses on "finding contradictions" rather than "calculating averages." Therefore, when a forgery only approximates the genuine article in appearance but exposes contradictions in material, spectrum, or text, low-consistency mode pairs will be explicitly amplified. The aforementioned processing of the consistency risk index, mode pair credibility weights, amplification index in the low-consistency amplification transformation, and proxy attenuation factor constitutes the aforementioned consistency risk index generation process.
[0134] Step S403: Generate internally consistent scores
[0135] The consistency risk index is mapped from risk to score to obtain the internal self-consistency score.
[0136] In this embodiment, the input to this step is a consistency risk index, and the output is an internal self-consistency score, employing a monotonic mapping relationship where higher risk corresponds to a lower score. The relationship is as follows: ,in, This represents the internal consistency score; a higher value indicates greater consistency among modalities within the sample. If... If, then it is truncated to 0; if If the value is 1, it is truncated to 1, thus ensuring that the score is within the valid range. This internally consistent score will participate in the final genuine product credibility score fusion in the next step, together with the prototype proximity score and the prototype boundary interval score. The above risk-to-score mapping process constitutes the aforementioned internally consistent score generation process.
[0137] Step S5 as follows Figure 5 As shown, the prototype proximity score, prototype boundary interval score, and internal self-consistency score are integrated to generate the final genuine product confidence score. Based on preset high confidence threshold, preset low confidence threshold, preset genuine product self-consistency threshold, and preset counterfeit product risk threshold, the dual verification identification result is output, and a structured identification report is generated.
[0138] In this embodiment, this step is used to jointly determine the two dimensions of "overall resemblance to a genuine product" and "mutual support among internal evidence." The executing entity is a processor, and the inputs are the prototype proximity score, prototype boundary interval score, internal self-consistency score, prototype retrieval results, and conflict mode pair information. The outputs are the dual-verification identification result and the structured identification report.
[0139] Step S501: Merge the three types of scores
[0140] The prototype proximity score, prototype boundary interval score, and internal self-consistency score are fused according to a preset fusion weight to obtain the final genuine product credibility score; when the genuine product prototype set is empty, the prototype proximity score is set to a preset neutral value, and the effective weights participating in the fusion are renormalized.
[0141] In this embodiment, the processor linearly fuses the three types of scores to obtain the final genuine product confidence score. The input to this step is... , and The output is the final authenticity score. The relationship is as follows: ,in, Indicates the final authenticity score; , , This represents the preset fusion weight coefficients, ensuring that the sum of the three factors is 1. To balance the importance of prototype proximity, boundary margin, and internal consistency, this step introduces the aforementioned preset fusion weight coefficients. Their engineering meaning is the contribution ratio of the three verification components to the final decision, which can be determined offline through validation set grid search or Bayesian optimization. In practical engineering applications, their typical values are... , , .
[0142] To ensure that the scores of each sub-score are on a comparable scale, statistical analysis can be performed on the validation set after offline training is completed. , and The mean and standard deviation were calculated and monotonic calibration was performed; the same calibration parameters as those used during training were used during online deployment.
[0143] When the genuine prototype set is empty, causing the prototype proximity score to be set to the aforementioned preset neutral value, the processor resets the corresponding fusion weight to zero and renormalizes the remaining effective weights before performing fusion. This avoids the neutral score from spuriously influencing the final conclusion when prototypes are missing. If only a single-modal input is available, the final genuine product confidence score is not output; only the results for insufficient evidence and prototype nearest neighbor references are output. The aforementioned fusion relationship and effective weight renormalization process constitute the aforementioned final genuine product confidence score generation process.
[0144] Step S502: Perform dual-verification classification judgment
[0145] The final genuine product credibility score is compared with the preset high credibility threshold, preset low credibility threshold, preset genuine product self-consistency threshold and preset counterfeit product risk threshold, and the output is a dual verification and identification result of any one of the following: high credibility genuine product, high risk counterfeit product and product awaiting manual review.
[0146] In this embodiment, the processor considers both the final genuine product credibility score and the internal self-consistency score, rather than drawing conclusions based solely on a single total score threshold. Specifically, when the final genuine product credibility score is not lower than a preset high credibility threshold and the internal self-consistency score is not lower than a preset genuine product self-consistency threshold, the processor outputs "High Credibility Genuine Product"; when the final genuine product credibility score is lower than a preset low credibility threshold or the internal self-consistency score is lower than a preset counterfeit risk threshold, the processor outputs "High Risk Counterfeit Product"; otherwise, the processor outputs "Pending Manual Review".
[0147] The preset high-confidence threshold is used to determine the minimum overall confidence level required for a sample to directly output a highly reliable genuine product. It is typically determined offline based on the lower limit of the precision requirement for genuine products on the validation set. In this embodiment, the typical value of the preset high-confidence threshold is 0.78. The preset low-confidence threshold is used to determine that the overall confidence level of the sample is significantly low, and can be determined offline with a priority on counterfeit product recall rate. Its typical value is 0.45. The preset genuine product self-consistency threshold is used to measure the minimum internal consistency required to support the conclusion of a highly reliable genuine product, and can be determined based on the internal self-consistency score distribution of genuine product samples. Its typical value is 0.72. The preset counterfeit product risk threshold is used to measure the lower limit of the internal conflict reaching the high-risk counterfeit product warning condition, and can be determined based on the internal self-consistency score distribution of counterfeit product samples. Its typical value is 0.55. The above thresholds must satisfy the constraint that the high-confidence threshold is greater than the low-confidence threshold, and the genuine product self-consistency threshold is greater than the counterfeit product risk threshold.
[0148] When cross-institutional data drift, equipment replacement, or changes in sample distribution occur, the aforementioned thresholds can be recalibrated without altering the master model parameters. Through this joint judgment, the system can identify highly reliable genuine products and also transfer cases to manual review when the overall score is not significantly low but internal conflicts have been exposed, thereby avoiding misjudgments from a single comprehensive assessment.
[0149] Step S503: Output Structured Identification Report
[0150] The results of the dual verification, the final genuine product confidence score, the internal self-consistency score, the list of modal pairs that triggered the conflict, and the nearest genuine product prototype numbers are written into the structured verification report and output to the verification terminal.
[0151] In this embodiment, the processor writes the dual verification result, the final authenticity confidence score, the internal self-consistency score, the list of modal pairs that trigger conflicts, and the nearest authentic prototype numbers into a structured authentication report, and outputs the results to the authentication terminal via the result output interface. The authentication terminal can be a collection management terminal, a transaction review terminal, or an expert review terminal.
[0152] Furthermore, the structured identification report can also include one or more of the following fields: modality integrity score, whether proxy embedding was used, whether the prototype library is empty, acquisition device identifier, cross-device calibration mark, explanation of missing tags, and reasons for recommended review. This ensures that the final output not only provides a classification conclusion but also retains the key chain of evidence that triggered the conclusion, facilitating subsequent manual review and accountability.
[0153] In one optional implementation, the structured authentication report is output in JSON, XML, or relational database record format. Each record includes at least the artwork instance identifier, authentication timestamp, final category field, score field, conflict field, and prototype reference field. If the terminal needs to display explanatory text, the system can also automatically generate prompts such as "Material and image conflict" or "Text and dating characteristics conflict" based on the conflict modality.
[0154] The steps S1 to S5 described above constitute a complete closed-loop process of "unified embedding construction—cold start agent generation—prototype proximity verification—internal self-consistency verification—dual verification decision output". Through this process, the system first solves the problem of whether different modalities are comparable, then solves the problem of how to maintain comparability in the case of missing modalities, and then completes the verification from the two dimensions of overall distribution proximity and internal consistency, and finally outputs a structured identification result that has both interpretability and risk constraint capabilities.
[0155] To further clarify, this invention employs an offline training and online deployment approach. During the offline training phase, the processor reads historical genuine artifacts, counterfeit artifacts, and samples to be verified from memory to construct a training set. Training samples are organized by artwork instance, with each sample containing one or more of the following modalities: image modality, spectral modality, material modality, and text modality. Tags include genuine artifact tags, counterfeit artifact tags, category tags, date tags, and author tags. Training data can originate from museum collection samples, transaction verification samples, laboratory testing samples, and expert review samples; prior to training, samples undergo instance binding verification, tag consistency verification, and device metadata cleaning.
[0156] To ensure the verifiability of training and testing results, the training set ratio, validation set ratio, and test set ratio in this embodiment are used to control the offline data partitioning, and can be determined based on the sample size and model stability requirements; in practical engineering applications, their typical values are 70%, 15%, and 15%. Sampling results from different modalities or batches of the same artwork should not be mixed across sets. Each experiment is preferably repeated 3 to 5 times, and the mean and standard deviation are recorded.
[0157] For training objectives, supervised contrastive loss, surrogate embedding generation loss, and real / fake classification supervised loss can be used in combination. To balance the contributions of the three types of loss terms, the preset loss weights in this embodiment are used to characterize the proportion of different training objectives in the total loss, and can be obtained through offline parameter tuning on the validation set; in practical engineering applications, their typical values are... , , If a batch contains no missing modality samples, the loss for that batch is recorded as 0. If the number of samples in a certain category is too small, resampling is performed by category during batch sampling. If there is a dispute over true and false labels, they are only used for comparison in pre-training and not for final supervised classification. If a change in the spectral distribution due to a device replacement exceeds the aforementioned preset drift threshold, domain calibration is performed before continuing training or inference. During the online deployment phase, only steps S1 to S5 are executed; parameter write-back is not included in the main process.
[0158] Example 2: End-to-end authentication derivation of multimodal dual verification of calligraphy and painting works
[0159] This embodiment, as Embodiment Two, corresponds to the end-to-end authentication and deduction scenario of multimodal dual verification for calligraphy and painting works. In this scenario, high-resolution frontal images are relatively easy for forgers to replicate, but the paper fiber state, pigment spectrum, and inscription circulation descriptions often reveal anomalies. The processor performs authentication based on the overall process described in Embodiment One. This embodiment focuses on explaining the specific input configuration, parameter settings, key intermediate results, and final output.
[0160] In this embodiment, the authentication server equipment includes one processor, 64GB of memory, and one graphics card with 24GB of video memory; the input sample size is a single artwork; the online processing cycle is once per artwork. The upstream acquisition link includes a professional flatbed scanner or high-resolution camera, microscopic imaging equipment, portable spectrophotometer, fluorescence response and thickness detection equipment, and a text input terminal. Each modality is bound to the same artwork registration number.
[0161] In this embodiment, the image modal input includes a full image of 4096x4096x3 and four microscopic partial images of 1024x1024x3; the spectral modal input is a 401-dimensional reflectance spectrum obtained by sampling at equal intervals within the wavelength range of 380nm to 780nm; the material modal input is 12 non-destructive testing indicators; and the text modal input is an expert description and a summary of the flow record of 148 words.
[0162] In this embodiment, the specific value of the aforementioned preset fusion weight coefficient is... , , This value is obtained through offline search of the validation set, considering the three-class classification accuracy, counterfeit recall rate, and proportion of products awaiting verification. In this embodiment, the preset high confidence threshold is 0.78, the preset low confidence threshold is 0.45, the preset genuine product self-consistency threshold is 0.72, and the preset counterfeit risk threshold is 0.55; all of the above parameters are obtained through validation set calibration. The specific values of the aforementioned stability adjustment coefficient are 0.6, the specific values of the amplification exponent in the low consistency value amplification transformation are 2, the specific values of the boundary scaling coefficient are 4.0, the specific values of the preset temperature coefficient are 0.07, the specific values of the preset nearest neighbor prototype number are 3, and the specific values of the preset loss weight are... , , .
[0163] In step S101, the processor divides the entire image into 64 main image patches and divides each of the four microscopic local images into two microscopic patches, resulting in a total of eight microscopic patches. After merging the entire image patches and the microscopic patches in block dimension, 72 image local patches are formed, and each local patch is encoded as a 768-dimensional feature. Therefore... The processor processes the 401-dimensional spectrum through a smoother with a window length of 21 and a third-order polynomial, and then encodes it into 16 spectral segments. The 12 material indicators are coded as follows: The 148 tokens are output via a text encoder. The length of the spectral smoothing window is used to suppress high-frequency measurement noise and preserve the shape of the main peak. It can be obtained by offline calibration based on the device noise frequency and the spectral peak width. In this embodiment, its typical value is 21, and it can usually be configured between 11 and 31.
[0164] In step S102, the processor projects the four modes onto a unified mode embedding space to obtain... , , and The data was then aggregated through attention to form four modality center vectors. The pairwise cosine similarities of the four modality center vectors of this sample are as follows: image-spectrum 0.84, image-material 0.79, image-text 0.81, spectrum-material 0.76, spectrum-text 0.73, and material-text 0.78. This result indicates that the sample is generally consistent across modalities.
[0165] In step S201, since this sample has all four modalities, the observed modality set contains all four modalities. The completeness scores for the four modalities are 0.98, 0.95, 0.92, and 0.90, respectively, and the stability scores are 0.87, 0.83, 0.79, and 0.76, respectively. After substituting these scores into the modality confidence weights, the modality weights for image, spectrum, material, and text are 0.281, 0.258, 0.237, and 0.224, respectively, forming a joint context vector. In this embodiment, there are no missing modalities, therefore step S202 does not generate a proxy embedding; in step S203, the complete verification vector group contains 4 real modal vectors, therefore .
[0166] In step S301, the processor retrieves 12 genuine prototype vectors from the genuine prototype library based on "modern and contemporary calligraphy and painting, paper-based ink and color, author and school A, and period 1910-1940" and retrieves 8 high-quality counterfeit prototype vectors from the counterfeit prototype library.
[0167] In step S302, the global representation vector is obtained by averaging the four modal vectors. The highest similarity scores among the 12 genuine prototypes were 0.91, 0.88, and 0.86, respectively, indicating a high degree of similarity. .
[0168] In step S303, the processor calculates the average cosine distance to the center of the genuine prototype. The average cosine distance to the center of the counterfeit prototype Based on this, the prototype boundary interval fraction is obtained. .
[0169] In step S401, the processor constructs a four-modal consistency matrix. Since the diagonal is fixed at 1, only off-diagonal terms are considered. In step S402, the completeness of the four modes are 0.98, 0.95, 0.92, and 0.90, respectively, and the prior reliability of the corresponding mode pairs is set as follows: image-spectrum 0.91, image-material 0.94, image-text 0.78, spectrum-material 0.96, spectrum-text 0.72, and material-text 0.81. The consistency risk index is obtained after weighting. In step S403, the internal self-consistency score is obtained. .
[0170] In step S501, the final genuine product confidence score is obtained by fusion. In step S502, because and Therefore, the output is "Highly Confidential Genuine Product". In step S503, the server generates a structured authentication report, which includes the final category "Highly Confidential Genuine Product", the final genuine product confidence score of 0.848, the internal consistency score of 0.939, and the nearest genuine product prototype number. , , And no conflict warning was triggered.
[0171] The offline test object in this embodiment is a dataset of modern and contemporary Chinese paintings and calligraphy. Data sources include museum-reviewed samples, auction-reviewed samples, and laboratory testing records, containing 1800 genuine pieces and 1600 counterfeit pieces, with high-quality counterfeits accounting for 41% of the counterfeit samples. The training, validation, and test sets are divided at 70%:15%:15%. Each experiment is repeated three times, and the average is taken. Normal conditions include all four modalities; challenging conditions include local image compression noise and 5% missing terminology in the text. Control scheme A involves directly concatenating multimodal features and classifying them; control scheme B uses genuine prototype similarity retrieval plus single threshold judgment; and control scheme C only performs internal consistency verification. Evaluation metrics include overall accuracy, F1 score for authenticity determination, and Top-1 nearest neighbor consistency rate for cross-modal retrieval.
[0172] The results obtained under the test conditions are as follows: the overall accuracy rate of control scheme A is [missing information]. The F1 score for determining whether a statement is true or false is 0. The Top-1 nearest neighbor consistency rate is The overall accuracy rate of control scheme B was [missing information]. The F1 score for determining whether a statement is true or false is 0. The Top-1 nearest neighbor consistency rate is The overall accuracy rate of control scheme C was [missing information]. The F1 score for determining whether a statement is true or false is 0. The Top-1 nearest neighbor consistency rate is The overall accuracy rate of the solution of this invention is [missing information]. The F1 score for determining whether a statement is true or false is 0. The Top-1 nearest neighbor consistency rate is Therefore, this embodiment improves cross-modal comparability and enhances the discrimination stability of high-fidelity samples through unified embedding and dual verification chains.
[0173] Subsequently, based on the above calculation and processing results, the processor continues to execute the subsequent general logic as described in Embodiment 1 to complete operations such as report archiving, terminal display, and review interface feedback. Its specific execution logic is consistent with Embodiment 1 and will not be repeated here.
[0174] Example 3: Deduction of Cross-Modal Conflict Detection in High-Quality Ceramic Replica Samples
[0175] This embodiment corresponds to the scenario of identifying high-quality replicas of ancient ceramics. In this scenario, high-quality replicas often approximate genuine articles through glaze crackling, vessel proportions, and surface aging. However, there are often contradictions in the elemental composition of the body, the thermoluminescence age range, and the provenance records. Therefore, this embodiment focuses on demonstrating the effect of internal self-consistency verification on suppressing conflicting high-quality replica samples.
[0176] In this embodiment, the input consists of a complete image of a celadon ceramic piece, a microscopic image of the glaze surface, an XRF elemental scale vector, thermoluminescence estimation values, and 18 lines of flow record text. The equipment configuration is the same as in Embodiment 2, and the online processing cycle remains 1 time per piece.
[0177] In this embodiment, the specific value of the aforementioned preset fusion weight coefficient is... , , In this embodiment, the preset high confidence threshold is 0.78, the preset low confidence threshold is 0.45, the preset genuine product self-consistency threshold is 0.72, and the preset counterfeit product risk threshold is 0.55; all the above parameters adopt the unified calibration results under the same deployment version.
[0178] In step S101, the processor encodes the whole image and the microscopic image together as... The 24-dimensional elemental ratio of XRF, the thermoluminescence estimate, and four other detection values are encoded together into 29 material inputs. Encode the relevant spectral bands as Encode the circulating text into The thermoluminescence estimation values are processed using a method of discretization of chronological intervals and parallel encoding of continuous values, in order to simultaneously preserve the chronological interval characteristics and numerical variation characteristics.
[0179] After step S102, four 256-dimensional modal center vectors are obtained. At this point, the similarity between modalities shows a significant imbalance: image-spectrum 0.88, image-material 0.49, image-text 0.52, spectrum-material 0.46, spectrum-text 0.50, and material-text 0.71. This result indicates that appearance-related modalities are close to each other, but material-related information conflicts significantly with appearance information.
[0180] In step S301, the processor retrieves 9 genuine prototypes and 7 counterfeit prototypes under the conditions of "celadon ceramics, target kiln type, and estimated age range". In step S302, the prototype proximity score is obtained. This indicates that the sample's appearance does indeed closely resemble the distribution of the genuine product. In step S303, the prototype boundary interval fraction... However, the price was not low enough to be directly judged as counterfeit.
[0181] The key lies in steps S401 to S403. In this embodiment, the integrity values of image, spectrum, material, and text are 0.99, 0.93, 0.96, and 0.88, respectively. Correspondingly, the prior reliability of the modal pairs is 0.95 for image-material, 0.97 for spectrum-material, and 0.83 for material-text. Since several low-consistency modal pairs have higher reliability weights, the processor calculates the consistency risk index in step S402. Then, in step S403, the internal self-consistency score is obtained. .
[0182] Then, in step S501, the final authenticity score is obtained. In step S502, although Not lower than 0.45, but The sample's value has fallen below the aforementioned preset self-consistency threshold of 0.72, therefore the system outputs "Pending manual review" and lists "Image-Material" and "Spectrum-Material" as the primary conflicting mode pairs in the report. If a prototype-only similarity retrieval scheme is used, this sample will be... It was mistakenly identified as genuine; this embodiment prevents this misidentification through internal self-consistency verification.
[0183] The offline test subjects in this embodiment are a subset of high-quality counterfeit ceramics. Data sources include museum-collected ceramic verification records, laboratory material testing records, and transaction dispute review samples, comprising 900 genuine pieces and 1100 counterfeit pieces, of which 620 are cross-modal conflict counterfeits. The training set, validation set, and test set are divided at 70%:15%:15%, and the experiment is repeated three times. The control schemes are a scheme using only prototype library similarity retrieval and a scheme using only internal consistency verification. Evaluation metrics are the recall rate of conflict counterfeits and the proportion of pieces mistakenly identified as genuine.
[0184] The results obtained under the test conditions are as follows: the recall rate of conflict-type counterfeit products using only the prototype retrieval scheme is... The proportion of items mistakenly identified as genuine is 10%. The recall rate for conflict-type counterfeit products using only internal consistency verification schemes is [missing information]. The proportion of items mistakenly identified as genuine is 10%. The recall rate of conflict-type counterfeit products in this invention is [missing information]. The proportion of items mistakenly identified as genuine is 10%. The results indicate that this embodiment, by amplifying the consistency risk index with a low consistency value, makes the most inconsistent modal pairs in the high-quality counterfeit samples the main source of risk, thereby improving the screening capability for conflict-type counterfeit products.
[0185] Subsequently, based on the above calculation and processing results, the processor continues to execute the subsequent steps as described in Embodiment 1, completing operations such as writing conflict prompts, generating verification reasons, and outputting identification terminals. Its specific execution logic is consistent with Embodiment 1, and will not be repeated here.
[0186] Example 4: Proxy Embedding Authentication and Deduction in a Cold Start Scenario with Missing Modalities
[0187] This embodiment addresses the scenario of identifying missing modalities in museum collections, privately held artifacts, or artworks unsuitable for sampling. In such scenarios, complete physicochemical data is often unavailable. If the model is directly judged based on the complete modality, the missing inputs will disrupt the feature distribution. Therefore, this embodiment focuses on demonstrating the generation and application of surrogate embedding.
[0188] In this embodiment, the object to be identified is an ancient jade artifact. The available data includes only 3 high-resolution images, 8 non-destructive material testing indicators, and brief source descriptions of 62 terms; spectral modes are missing.
[0189] In this embodiment, the aforementioned preset threshold for the number of missing modalities is specifically set to 1. This value is obtained offline based on the inflection point of the F1 score decrease as the number of missing modalities in the validation set increases. When the number of missing modalities exceeds 1, the system is more suitable as an auxiliary screening tool rather than a direct conclusion tool. The aforementioned stability adjustment coefficient is specifically set to 0.6. In this embodiment, the preset high confidence threshold is 0.78, the preset low confidence threshold is 0.45, the preset genuine product self-consistency threshold is 0.72, and the preset counterfeit product risk threshold is 0.55.
[0190] In step S101, the image modality is encoded as Material modes are encoded as The text modality is encoded as After step S102, the modal center vectors of image, material, and text are obtained.
[0191] In step S201, the completeness scores of the three observed modes are 0.97, 0.89, and 0.76, respectively, and the stability scores are 0.85, 0.82, and 0.70, respectively. The calculated modal confidence weights are 0.372, 0.339, and 0.289, respectively, thus forming a joint context vector. .
[0192] In step S202, due to the missing spectral modes, the processor generates a surrogate spectral embedding. The cosine similarity between the proxy embedding and the center of the true spectral prototype of this category is 0.81, indicating that it has fallen into a reasonable semantic neighborhood, rather than being an outlier caused by simple zero-padding. In step S203, the complete verification vector group is restored to 4 vectors, therefore .
[0193] In steps S301 to S303, the processor retrieves 10 nearest neighbor prototypes from the genuine jade artifact prototype library and 6 nearest neighbor prototypes from the counterfeit jade artifact prototype library, thus obtaining the prototype proximity score. Prototype boundary interval fraction .
[0194] In steps S401 to S403, since the similarity between the proxy spectral embedding and the image, material, and text is 0.77, 0.74, and 0.69 respectively, the consistency risk index is... The internal consistency score is In steps S501 to S503, the final authenticity score is obtained. .because The score did not reach 0.78, but the internal self-consistency score was relatively high. The system output "Pending manual review" and prompted "Missing spectral mode, proxy embedding is used for verification".
[0195] If a zero-fill baseline scheme is used, the internal self-consistency score will be incorrectly lowered to 0.61 due to the abnormal angle between the missing spectral mode vector and other modes, easily triggering counterfeit detection. This embodiment uses proxy embedding to map the "unknown" to a semantic location constrained by the observed modes, rather than treating it as a geometric outlier.
[0196] The offline test object in this embodiment is a missing modality test set. Data sources include museum-collected jade artifacts, verified samples from private collections, and samples from laboratory non-destructive testing, comprising 1200 genuine artifacts and 1200 counterfeit artifacts. Two impact conditions are set: random loss of one key mode; random loss of two key modes. The training, validation, and test sets are divided at 70%:15%:15%, and the experiment is repeated three times. The control schemes are: direct classification after zero-filling of missing modes, classification after filling with the mean of missing modes, and classification after ignoring missing modes. The evaluation metric is overall accuracy.
[0197] The results obtained under the test conditions are as follows: Under full modal conditions, the overall accuracy of the zero-fill control scheme is [missing value]. The present invention is When a key mode is missing, the zero-filling control scheme is: The mean-filling scheme is as follows: The solution that ignores missing modes is The present invention is When two key modes are missing, the zero-filling control scheme is: The mean-filling scheme is as follows: The solution that ignores missing modes is The present invention is The results show that this embodiment can maintain relatively stable judgment performance even in scenarios with incomplete evidence.
[0198] Subsequently, based on the above calculation and processing results, the processor continues to execute the subsequent steps as described in Embodiment 1, completing operations such as writing missing modality descriptions, auxiliary judgment marking, and identification terminal output. Its specific execution logic is consistent with Embodiment 1, and will not be repeated here.
[0199] Example 5: An electronic device
[0200] This embodiment provides an electronic device, including a memory, a processor, a communication interface, and a computer program stored in the memory and running on the processor.
[0201] The processor can be a central processing unit, a graphics processing unit, a digital signal processor, a dedicated artificial intelligence inference chip, or a combination thereof; the memory can be a random access memory, a read-only memory, a solid-state drive, or a hard disk drive; the communication interface is used to receive multimodal data sent by image acquisition equipment, microscopic imaging equipment, spectral detection equipment, material non-destructive testing equipment, and text input terminal, and to send the identification results to the collection management terminal, transaction review terminal, or expert review terminal.
[0202] When the computer program stored in the memory is executed by the processor, it implements the steps of a multimodal dual-verification authentication method for artworks based on contrastive learning, including: receiving image data, spectral data, material detection data, and text data of the artwork to be authenticated; constructing a submodal feature matrix and mapping it to a unified modality embedding space; generating surrogate embeddings for missing modalities based on the observed modality center vectors and forming a complete verification vector set; retrieving genuine and counterfeit prototype sets based on tag information and calculating prototype proximity scores and prototype boundary interval scores; calculating a cross-modal consistency matrix and a consistency risk index and generating an internal self-consistent score; fusing the scores to output the dual-verification authentication result and generating a structured authentication report.
[0203] In one optional implementation, the electronic device is deployed in the library's computer room, laboratory server nodes, or a cloud-based authentication platform. When deployed in a cloud-edge collaborative architecture, the edge nodes can be responsible for image preprocessing, spectral smoothing, and material value formatting, while the central server is responsible for unified embedding calculations, prototype retrieval, consistency verification, and report generation. This implementation does not change the essential nature of the method of the present invention; it is merely an adaptive adjustment to the specific deployment method.
[0204] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. An art multi-modal dual-check authentication method based on contrastive learning, characterized in that, include: Step S1: Receive image data, spectral data, material detection data, and text data of the artwork to be identified; construct a submodal feature matrix; and map the submodal feature matrix to a unified modal embedding space to obtain the modal center vectors participating in the identification. Step S2: Generate surrogate embeddings for missing modes based on the observed mode center vectors, and organize the observed mode center vectors and the surrogate embeddings into a complete verification vector group; Step S3: Based on the label information of the artwork to be identified, retrieve the genuine prototype set and the counterfeit prototype set from the genuine prototype library and the counterfeit prototype library respectively, and calculate the prototype proximity score and the prototype boundary interval score based on the complete verification vector group, the genuine prototype set and the counterfeit prototype set to obtain the prototype proximity verification result. Step S4: Calculate the cross-modal consistency matrix and consistency risk index based on the complete verification vector group, and generate an internal self-consistency score based on the consistency risk index; Step S5: Integrate the prototype proximity score, prototype boundary interval score, and internal self-consistency score to generate the final genuine product confidence score. Based on the preset high confidence threshold, preset low confidence threshold, preset genuine product self-consistency threshold, and preset counterfeit product risk threshold, output the dual verification and identification results, and generate a structured identification report.
2. The art multi-modal dual-check authentication method based on contrastive learning according to claim 1, characterized in that, Constructing the modal feature matrix includes: Local block segmentation and encoding are performed on visible light images and microscopic local images in the image data to obtain the image feature matrix, and the local block features of the whole image and the microscopic local block features are spliced together according to the block dimension; Wavelength window segmentation and encoding are performed on the spectral data to obtain the spectral feature matrix; material detection data are encoded according to the index items to obtain the material feature matrix. Lexical sequence encoding is performed on the expert description text and circulation record text in the text data to obtain the text feature matrix; The image feature matrix, spectral feature matrix, material feature matrix, and text feature matrix are used as the submodal feature matrix.
3. The method of claim 2, wherein the method is based on contrastive learning. Mapping the submodal feature matrix to a unified modality embedding space yields the modality center vectors used for identification, including: Modality-specific projection and normalization are performed on the image feature matrix, spectral feature matrix, material feature matrix and text feature matrix respectively to obtain the local embedding matrix of the corresponding mode; An attention score is calculated for each local unit in the local embedding matrix, and the attention score is normalized to obtain the local unit weight. Based on the weights of the local units, a weighted aggregation is performed on the local embedding matrix to obtain the modality center vector corresponding to each modality.
4. The art multi-modal dual-check authentication method based on contrastive learning according to claim 3, characterized in that, After obtaining the modal center vectors involved in the identification, the following is also included: Positive sample pairs are constructed using the modal center vectors of different artworks within the same artwork to be identified, and negative sample pairs are constructed using the modal center vectors of different artworks. The similarity between the positive sample pairs and the negative sample pairs is calculated, and the unified modality embedding space is constrained based on the supervised contrast loss with a preset temperature coefficient. The supervised contrastive loss brings together cross-modal representations of the same artwork and separates cross-modal representations of different artworks.
5. The art multi-modal dual-check authentication method based on contrastive learning according to claim 1, characterized in that, Generate surrogate embeddings for missing modes based on the observed mode center vectors, and organize the observed mode center vectors and the surrogate embeddings into a complete verification vector set, including: Obtain the modal integrity score and modal stability score of each observed mode, and calculate the modal confidence weight of each observed mode based on the modal integrity score and the modal stability score; Based on the modality confidence weights, the observed modality center vectors are weighted and aggregated to obtain a joint context vector; The joint context vector is input into the generator network corresponding to the missing modality to obtain the proxy embedding of the missing modality; The observed modality center vectors and surrogate embeddings are uniformly organized into a complete verification vector group, and the corresponding real observed modality markers and surrogate generated modality markers for each vector are recorded.
6. The multimodal dual-verification authentication method for artworks based on contrastive learning according to claim 1, characterized in that, Based on the label information of the artwork to be authenticated, the genuine and counterfeit prototype sets were retrieved from the genuine prototype database and the counterfeit prototype database, respectively, including: Obtain pre-built and stored genuine and counterfeit prototype libraries; Based on the category, era, author, and craftsmanship labels of the artwork to be authenticated, the genuine prototype library is subjected to hierarchical filtering to obtain a genuine prototype set, and the counterfeit prototype library is subjected to hierarchical filtering to obtain a counterfeit prototype set. When the label information is incomplete, hierarchical filtering is performed based on the known labels, and a category-level prototype sub-library is used for the positions corresponding to unknown labels; When there are conflicts in the label information, the labels with high confidence are retained according to the priority of category labels, process labels, year labels and author labels, and the remaining labels are used as soft filtering conditions.
7. The multimodal dual-verification authentication method for artworks based on contrastive learning according to claim 6, characterized in that, Calculating the prototype proximity score and prototype boundary interval score includes: Aggregate the complete set of verification vectors to obtain the global representation vector of the artwork to be identified; Calculate the similarity sequence between the global representation vector and each genuine prototype in the genuine prototype set, and aggregate the maximum similarity of a preset number of similarity sequences to obtain the prototype proximity score; Calculate the mean cosine distance from the global representation vector to the nearest neighbor subset of the genuine prototype set, and the mean cosine distance from the global representation vector to the nearest neighbor subset of the counterfeit prototype set; A preset boundary scaling mapping is performed based on the difference between the average cosine distance to the counterfeit prototype set and the average cosine distance to the genuine prototype set to obtain the prototype boundary interval score. The prototype proximity score and the prototype boundary interval score are used as the prototype proximity verification results.
8. The multimodal dual-verification authentication method for artworks based on contrastive learning according to claim 7, characterized in that, Based on the complete verification vector set, a cross-modal consistency matrix and a consistency risk index are calculated, and an internal self-consistency score is generated based on the consistency risk index, including: For any two modal vectors in the complete verification vector group, calculate the consistency value and organize them into a cross-modal consistency matrix; Extract the modal integrity score of each modality participating in the verification and the prior reliability of each modal pair, and calculate the mode pair confidence weight of each modal pair based on the modal integrity score and the prior reliability of the mode pair; A low-consistency-value amplification transformation is performed on the off-diagonal consistency values in the cross-modal consistency matrix, and the amplified results are aggregated according to the confidence weights of the modal pairs to obtain the consistency risk index. The consistency risk index is mapped from risk to score to obtain the internal self-consistency score.
9. The multimodal dual-verification authentication method for artworks based on contrastive learning according to claim 8, characterized in that, The system generates a final authenticity confidence score and outputs a dual-verification authentication result based on preset high confidence threshold, preset low confidence threshold, preset authenticity self-consistency threshold, and preset counterfeit risk threshold. It also generates a structured authentication report including: The prototype proximity score, prototype boundary interval score, and internal self-consistency score are fused according to a preset fusion weight to obtain the final genuine product credibility score. When the genuine prototype set is empty, the prototype proximity score is set to a preset neutral value, and the effective weights participating in the fusion are renormalized. The final genuine product confidence score is compared with the preset high confidence threshold, preset low confidence threshold, preset genuine product self-consistency threshold and preset counterfeit product risk threshold, and the output is a dual verification and identification result of any one of high-confidence genuine product, high-risk counterfeit product and product awaiting manual review. The results of the dual verification, the final genuine product confidence score, the internal self-consistency score, the list of modal pairs that triggered the conflict, and the nearest genuine product prototype numbers are written into the structured verification report and output to the verification terminal.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the multimodal dual verification authentication method for artworks based on contrastive learning as described in any one of claims 1 to 9.
Citation Information
Patent Citations
A management system for authenticating artworks and their authors based on blockchain
CN115065506B
Large model and intelligent analysis and identification method for seven-dimensional DNA feature data of whole-category cultural relics and artworks
CN122264106A
