An anti-collusion multi-modal federated learning tracking method

By generating a unique Tardos code for each client and leveraging the linear superposition property of LoRA, the problem of collusion attack tracking in the EaaS context is solved, achieving accurate colluder identification and robust copyright protection under black-box conditions.

CN123158602APending Publication Date: 2026-11-24SOUTHWEST JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611345004.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In the context of Embedded as a Service (EaaS), existing watermarking technologies struggle to accurately track collusive attacks from multiple malicious clients under black-box conditions, rendering copyright protection solutions ineffective.

Method used

The anti-collusion multimodal federated learning tracking method (FedTardos) is adopted. By generating a unique Tardos code for each client and embedding it in the image encoder, the linear superposition property of LoRA is utilized to calculate the Tardos accusation score in a black-box environment to identify colluding clients.

Benefits of technology

When faced with a conspiracy attack, it can accurately identify the conspirators, keep the impact on model performance to a minimum, and ensure the robustness and reliability of copyright protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123158602A_ABST
    Figure CN123158602A_ABST
Patent Text Reader

Abstract

This application discloses a collusion-resistant multimodal federated learning tracking method, belonging to the field of computer technology. This method utilizes the linear superposition property of LoRA to embed Tardos codes into the output of an image encoder as constant offsets. This ensures that the impact on the original model's utility is negligible, while leveraging the statistical detectability of Tardos codes in the face of attacks in an EaaS context to calculate Tardos accusation scores. Based on this, accurate tracking of each colluder can be achieved under black-box conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of computer technology, specifically relating to a collusion-resistant multimodal federated learning tracking method. Background Technology

[0002] Embedding-as-a-Service (EaaS) has become the mainstream paradigm for deploying large pre-trained models. In this model, the model owner retains the parameters and provides feature extraction services through an Application Programming Interface (API). However, this "black box" interaction method presents unique challenges for copyright protection: service providers cannot directly inspect the model parameters held by the user, making traditional weight-based white-box verification mechanisms unsuitable in this situation.

[0003] In related technologies, current watermarking techniques are mainly used to defend against model extraction by a single attacker under black-box conditions. However, they are insufficient to address the serious security threats posed by the distributed nature of federated learning in EaaS: multiple malicious clients can collude to extract a pirated model that circumvents ownership verification. Specifically, multiple attackers typically employ parameter or output averaging strategies to dilute the individual watermark signal.

[0004] Therefore, in the context of EaaS, how to accurately track each colluder under black-box conditions has become an urgent problem to be solved. Summary of the Invention

[0005] The purpose of this application is to provide a collusion-resistant multimodal federated learning tracking method that can solve the problem of how to accurately track each colluder under black-box conditions in the context of EaaS.

[0006] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide an anti-collusion multimodal federated learning tracking method, the method comprising: During the deployment phase, a unique Tardos code is generated for each client, and the Tardos code is embedded into an embedding space of a preset number of dimensions to obtain the target fingerprint offset for each client. During the deployment phase, multiple images are randomly selected from a pre-set dataset as the trigger set; During the deployment phase, the trigger set is used to train the watermark image encoder for each client. The watermark image encoder is built based on the image encoder and the low-rank adaptation LoRA module, and is used to generate and output the image embedding vector with the target fingerprint offset of the corresponding client. During the application phase, when an unauthorized application programming interface (API) is detected, the Tardos code corresponding to the API is determined based on the fingerprint offset embedded in the API's response to the trigger set. During the application phase, based on the Tardos code corresponding to the API and the Tardos code of each client, a Tardos accusation score is calculated for each client. The Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client. During the application phase, colluding clients are identified from among the various clients based on their respective Tardos accusation scores and preset detection thresholds.

[0007] Secondly, embodiments of this application provide an anti-collusion multimodal federated learning tracking device, the device comprising: The deployment module is used to generate a unique Tardos code for each client during the deployment phase, and embed the Tardos code into an embedding space of a preset number of dimensions to obtain the target fingerprint offset of each client; and to randomly extract multiple images from a preset dataset as a trigger set; and to train the watermark image encoder for each client using the trigger set. The watermark image encoder is built based on an image encoder and a low-rank adaptation LoRA module, and is used to generate and output an image embedding vector containing the target fingerprint offset of the corresponding client. The tracking module is used, during the application phase, to determine the Tardos code corresponding to an API based on the fingerprint offset embedded in the API's response to the trigger set when an unauthorized application programming interface (API) is detected; to calculate a Tardos accusation score for each client based on the Tardos code corresponding to the API and the Tardos code of each client, wherein the Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client; and to identify colluding clients from among the clients based on their respective Tardos accusation scores and a preset detection threshold.

[0008] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the anti-collusion multimodal federated learning tracking method as described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the anti-collusion multimodal federated learning tracking method as described in the first aspect.

[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the anti-collusion multimodal federated learning tracking method as described in the first aspect.

[0011] In this embodiment, the linear superposition property of LoRA is utilized to embed the Tardos code into the output of the image encoder in the form of a constant offset. This ensures that the impact on the utility of the original model is negligible. By leveraging the statistical detectability of the Tardos code in the face of attacks in the EaaS context, the Tardos accusation score can be calculated, thereby enabling accurate tracking of each colluder under black-box conditions. Attached Figure Description

[0012] Figure 1 A schematic diagram illustrating the motivation of FedTardos provided for an embodiment of this application; Figure 2 A flowchart illustrating the implementation of an anti-collusion multimodal federated learning tracking method provided in this application embodiment; Figure 3 A schematic diagram of a FedTardos framework provided in an embodiment of this application; Figure 4 A schematic diagram illustrating the comparison of anti-collusion capabilities provided in this application embodiment; Figure 5 This application provides a schematic diagram illustrating the impact of code length L on recall rate. Figure 6 This application provides a schematic diagram of the Tardos score distribution for all clients under two collusion scenarios in an embodiment of the present application. Figure 7 A schematic diagram of an anti-collusion multimodal federated learning tracking device provided in this application embodiment; Figure 8 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0013] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0014] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0015] Multimodal Federated Learning (MFL) strikes a balance between privacy and model performance by aggregating local updates without sharing the original data. It aims to facilitate collaboration among multiple clients with different modalities to enhance their local personalized models while protecting data privacy. Therefore, EaaS based on MFL has become the mainstream paradigm for deploying large-scale pre-trained models, enabling multiple parties to collaboratively train large-scale visual language models while protecting data privacy. However, in cases of client collusion, attackers can exploit collaborative reverse engineering and joint black-box queries to steal server models, posing a serious security threat to EaaS.

[0016] Current model copyright protection schemes primarily rely on digital watermarking technology. The core mechanism involves embedding specific identifiers into the model's internal parameters or input-output mapping behavior, enabling owners to verify ownership while maintaining model performance. However, the distributed nature and privacy constraints of federated learning make these centralized methods difficult to apply directly. Specifically, current copyright protection schemes suffer from the following drawbacks: (1) White-box watermarking technology: embeds ownership information through regularization terms or parameter operations. However, the verification process requires access to model weights, which makes such methods unsuitable for black-box EaaS scenarios.

[0017] (2) Trigger-based black-box watermarking technology: ownership verification is achieved through carefully designed trigger inputs. However, this type of method is mainly aimed at the case of a single attacker and lacks robustness against collusion attacks.

[0018] (3) Geometry-based watermarking technology: using orthogonal transformation to embed traceable watermarks. However, its underlying non-convex geometric constraints are inherently fragile: when conspirators perform a linear averaging attack, the geometry collapses, causing the tracking signal to decay rapidly as the number of conspirators increases.

[0019] Therefore, while current watermarking technologies can resist model extraction by a single attacker, they struggle to handle the security threats posed by the distributed nature of federated learning: collusion attacks, where multiple malicious clients can remove copyright watermarks by aggregating their stolen model copies. Specifically, attackers often employ parameter or output averaging strategies to remove copyright watermarks (which can be seen as an effective "denoising" method, significantly diluting the individual watermark signal). Thus, in the context of EaaS, accurately tracing each colluder from the averaged pirated model under black-box conditions remains an unsolved problem.

[0020] To address the aforementioned issues, this application provides a collusion-resistant multimodal federated learning tracking method. It employs a collusion-resistant black-box traitor tracking framework (also known as FedTardos) specifically designed for multimodal federated learning in EaaS scenarios. Its core idea is to establish a bijective mapping between parameter perturbations and fingerprint codes using Low-Rank Adaptation (LoRA). Even when attackers average multiple stolen models, robust black-box traitor tracking can still be achieved.

[0021] See Figure 1 The diagram showing the motive of FedTardos is as follows: Figure 1 As shown on the left, the server is deployed based on an EaaS model, which clients can access via API. Colluding clients may also query and extract the model via the API, and generate a pirated model by mixing the extracted data, making watermark-based traitor tracking difficult. Figure 1 As shown on the right, traditional watermarks fail because mixed data makes the watermarks indistinguishable, while Tardos codes can achieve statistical identification of conspirators even when only a portion of the fingerprint is retained, and provide provable guarantees.

[0022] Therefore, FedTardos, as a provably collusive-resistant black-box traitor tracking framework for EaaS, utilizes the linear superposition property of LoRA to embed Tardos codes into the model. Even after parameter averaging, the watermark signal remains statistically detectable. Unlike traditional geometry-based watermarks that decay rapidly during collusion, FedTardos guarantees a significant statistical difference between colluders and innocent parties. Furthermore, combined with trigger sets, FedTardos achieves robust black-box extraction without accessing model weights.

[0023] The following description, in conjunction with the accompanying drawings, details a collusion-resistant multimodal federated learning tracking method provided in this application through specific embodiments and application scenarios.

[0024] See Figure 2 The diagram shown is an implementation flowchart of an anti-collusion multimodal federated learning tracking method provided in this application embodiment. The method may include the following steps: Step S101: During the deployment phase, a unique Tardos code is generated for each client, and the Tardos code is embedded into an embedding space of a preset number of dimensions to obtain the target fingerprint offset for each client.

[0025] In this embodiment of the application, a deviation vector is first generated. The j-th element For each client This generates a fingerprint (i.e., a Tardos code, which can be viewed as a probabilistic fingerprint scheme with provable collusion resistance). The value at position j The probability is Otherwise L represents the length of the fingerprint code.

[0026] Then, the obtained discrete code is embedded into the d-dimensional (i.e., the preset number of dimensions) embedding space to obtain the target fingerprint offset of the corresponding client, so that the Tardos code can be embedded into the output of the image encoder in the form of a constant offset.

[0027] As one possible implementation, the target fingerprint offset for each client is determined by the following formula:

[0028] in, This represents the target fingerprint offset of the i-th client. Indicates the watermark strength control parameters ( ), This represents the Tardos code of the i-th client. This represents the orthogonal projection matrix, used to embed Tardos codes into an embedding space of a preset number of dimensions.

[0029] In this embodiment, an orthogonal projection matrix is ​​constructed to embed the discrete code into a d-dimensional embedding space (i.e., an embedding space of a preset dimension). ,satisfy , This represents the identity matrix. Therefore, by utilizing the orthogonality provided by the orthogonal projection matrix, i.e. This ensures accurate recovery of fingerprint offsets in the future.

[0030] It should be noted that current multimodal federated learning watermark embedding methods rely on orthogonal matrices. To embed the watermark, orthogonal constraints are used to make... I represents the identity matrix. However, as shown in Theorem 5.1, this application proves that this mechanism is inherently vulnerable to parameter averaging attacks.

[0031] Theorem 5.1: Verification score of the watermarking method based on independent orthogonal transformation at time t under parameter-averaged collusion attack. The decay rate decreases as the number of colluding clients C increases, i.e., the decay rate exhibits the following behavior: This can cause the inverse transformation to fail during the extraction process.

[0032] The watermark embedding in FedTardos in this application essentially uses an orthogonal projection matrix to embed fingerprint information. Projecting onto a high-dimensional parameter space. According to JL's lemma, since the row vectors of the orthogonal projection matrix are mutually orthogonal and follow a Gaussian distribution, the embedded eigenvectors preserve the original Euclidean distance structure. Specifically, for any two vectors... and inner product The distortion is strictly limited. This provides a theoretical guarantee that FedTardos's impact on the cosine similarity of downstream tasks after embedding watermarks is negligible; among them, , This represents the vector increment.

[0033] Step S102: During the deployment phase, multiple images are randomly selected from the preset dataset as the trigger set.

[0034] In this embodiment of the application, random sampling can be performed from a preset dataset (such as Visual Genome). Images to construct trigger sets .

[0035] As one possible implementation, randomly selecting multiple images from a preset dataset as a trigger set includes: Randomly select multiple images from a pre-set dataset; Gaussian noise is added to each extracted image to cause a distribution shift; Multiple images with Gaussian noise added are aggregated into a trigger set.

[0036] In this embodiment of the application, Gaussian noise is added to each extracted image when constructing the trigger set. This causes a distribution shift, resulting in a change in the distribution, which can improve the training effect.

[0037] It is understood that the trigger set in this application can have at least the following two uses: (1) Provide training samples for the LoRA module to learn fingerprint embeddings; (2) As a secret extraction key. The fingerprint is embedded in all model inputs (not just for the images in the trigger set), making the watermarked model output indistinguishable from the original output in any single query. Therefore, reliable extraction requires averaging across the entire trigger set. For example, a trigger set constructed from 512 images randomly selected from 100,000 candidate images would generate approximately The power-law combinations make brute-force search infeasible.

[0038] Step S103: During the deployment phase, the watermark image encoder for each client is trained using the trigger set. The watermark image encoder is built based on the image encoder and the low-rank adaptation LoRA module, and is used to generate and output an image embedding vector that embeds the target fingerprint offset of the corresponding client.

[0039] In this embodiment, a trigger set is used to train the watermark image encoder so that the LoRA module learns fingerprint embedding, that is, learns how to use the linear superposition property of LoRA to embed the Tardos code into the output of the image encoder in the form of a constant offset.

[0040] Therefore, this application utilizes the linear superposition property of LoRA to embed information-theoretically optimal and client-specific Tardos codes into the model (i.e., the image encoder). This design ensures that the "average value of the model parameters" is mathematically equivalent to the "average value of the fingerprint," thus preserving the statistical properties of the Tardos codes under average attacks. Simultaneously, since the Tardos codes are embedded in all model outputs with constant offsets, the relative ranking relationships of the outputs remain unchanged, ensuring that the impact on the original model's utility is negligible.

[0041] Furthermore, the fingerprint generation method employed in this application has low complexity. Specifically, the fingerprint generation overhead is... Parameters, for example when and At this time, each client only needs to store an additional 16K parameters; where d represents the number of dimensions of the embedding space, r represents the LoRA rank, and N represents the number of clients.

[0042] Step S104: During the application phase, when an unauthorized application programming interface (API) is detected, the Tardos code corresponding to the API is determined based on the fingerprint offset embedded in the API's response to the trigger set.

[0043] In the embodiments of this application, see Figure 3 The diagram illustrating the FedTardos framework shows that during the deployment phase, the service provider generates a unique Tardos code for each client, constructs a trigger set, and trains the corresponding watermark image encoder. After deployment, each client gains API access to the corresponding watermark image encoder but is unaware of the embedded fingerprint. Subsequently, during the application phase, when the server detects an unauthorized API, it initiates a tracing process to identify colluding clients (i.e., colluding clients). This process only requires a black-box query access to the corresponding pirated model (obtained from copies of the watermark image encoder stolen by multiple colluding clients).

[0044] Specifically, the server uses a trigger set to query unauthorized suspicious APIs, calculates the fingerprint offset embedded in the API's response to the trigger set, and then recovers the Tardos code corresponding to the suspicious API through backprojection.

[0045] It should be noted that this application applies to the context of MFL, namely, using the EaaS model to reduce the deployment burden on clients. During the application phase, the server provides API access to N clients (denoted as Ni). The API provides embedding alignment services. Specifically, the client submits an image or text query, and the API returns the corresponding image embedding vector. To ensure strong copyright protection against collusion attacks, the server performs embedding alignment for each client (e.g., the i-th client) during the deployment phase. A unique fingerprint of length L (e.g., a Tardos code) is assigned. The corresponding fingerprint code is embedded into the API response in the form of a constant offset (i.e., the offset of the corresponding target fingerprint) using a watermark image encoder. Understandably, the above process is in a black box environment. The client can only observe the input-output pair. It has no access to the model parameters and no ability to detect the existence of the watermark (i.e., the fingerprint code).

[0046] Furthermore, considering the similarity between the watermarked embedding and any query q, it is:

[0047] in, This represents the target fingerprint offset of the i-th client. This represents the watermark image encoder for the i-th client. Indicates an image encoder. This represents the image to be encoded.

[0048] Because the second item mentioned above is related to the image to be encoded Since it is irrelevant, the relative ranking is preserved. That is, the way this application adds a constant offset to all embeddings has a negligible impact on sorting-based tasks and will not affect downstream performance.

[0049] As one possible implementation, the fingerprint offset of the original model (i.e., the watermark image encoder) It can be determined using the following formula:

[0050] in, Indicates the trigger set, This represents the image to be encoded. This indicates a pirated model. This indicates an image encoder.

[0051] Based on backprojection reconstruction, the Tardos code corresponding to this original model It can be determined using the following formula:

[0052] in, Represents the orthogonal projection matrix. Indicates the fingerprint offset. This indicates the parameters for controlling the watermark strength.

[0053] In a coordinated attack, when c clients average their models, the Tardos code extracted from the pirated model (i.e., the Tardos code corresponding to the API) becomes... ,in, This represents the Tardos code for the i-th client. Thanks to the linear nature of LoRA injection, FedTardos is inherently robust to average attacks.

[0054] Specifically, the watermark extraction function is defined as ,in, This indicates the watermark strength control parameters. represents the orthogonal projection matrix, and vec represents the matrix-to-vector transformation operation. This represents the parameter increment or parameter perturbation added to the model after embedding the watermark compared to the original model. Based on the linear property of matrix multiplication, we can obtain Theorem 5.2: For any set of conspirators... If the aggregation parameter is determined by If given, the extracted watermark satisfy:

[0055] Where c represents the number of conspirators (i.e., conspiring clients), This represents the arithmetic mean of the colluders' watermarks. This represents the increment of the watermark parameter for the k-th client.

[0056] Based on Theorem 5.2 above, we can further derive Theorem 5.3: The extracted watermark is the arithmetic mean of the colluders' watermarks. That is, for any colluder... The expected detection score can be given by the following formula:

[0057] in, Indicates the first Tardos complaint ratings for individual clients, This indicates the length of the Tardos code, and c represents the number of clients.

[0058] This leads to Theorem 5.4: For any innocent client :

[0059] in, represents the Tardos accusation score for the k-th client, and Var represents the variance calculation operation.

[0060] This indicates that even under parameter averaging, the conspirator's watermark signal remains within the aggregated parameters. Although the signal strength is weakened, its structure is not destroyed, unlike traditional watermarking schemes based on orthogonal transforms.

[0061] Optionally, based on experimental verification, watermark intensity control parameters can be set. To balance detectability and usability.

[0062] Step S105: In the application phase, based on the Tardos code corresponding to the API and the Tardos code of each client, calculate the Tardos accusation score for each client. The Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client.

[0063] In this embodiment, a cumulative score can be generated as a Tardos accusation score by calculating the degree of matching between the unauthorized API and the codewords in the Tardos code corresponding to each client. This score measures the correlation between the fingerprint offset corresponding to the API and the watermark image encoder of each client. In other words, the higher the score, the greater the likelihood that the corresponding client will participate in the consortium.

[0064] As one possible implementation, the Tardos accusation score for each client is calculated using the following formula:

[0065]

[0066] in, This represents the Tardos accusation score for the k-th client. Indicates the length of the Tardos code. This indicates the Tardos code corresponding to the API. The value at position j in the middle, This represents the Tardos code of the k-th client. The value at position j in the middle, (It can follow a beta distribution) ) represents the bias vector used to generate the Tardos code. The j-th element in This represents a vector consisting of the theoretical expected values ​​of all positions in the Tardos code. This represents the theoretical expected value (i.e., mean or center value) of the j-th position in the Tardos code.

[0067] In this embodiment of the application, a centralized term is introduced in the calculation process of the Tardos accusation score. This is to ensure that the expected score of innocent clients is zero, thereby further improving the accuracy of identifying colluding clients.

[0068] Step S106: In the application phase, based on the Tardos accusation score of each client and the preset detection threshold, the colluding clients are identified from the various clients.

[0069] In this embodiment of the application, after obtaining the Tardos accusation score of each client, the client with a Tardos accusation score greater than a preset detection threshold can be identified as a colluding client, thereby achieving accurate tracking of each colluder under black-box conditions.

[0070] It should be noted that in the FedTardos used in this application, the server, as a trusted authority, is responsible for watermark management (including copyright verification and traitor tracking), while the clients, as participants and stakeholders in the multimodal federated learning process, include malicious entities attempting to collude to steal high-value global models (i.e., image encoders, such as CLIP), for example, by training a pirated model containing average fingerprints. These attackers attempt to illegally copy and redistribute the model, or provide unauthorized embedding alignment services for economic gain, thereby harming the interests of honest participants. Specifically, these attackers possess the following capabilities: (1) They are able to query a valid API to obtain any number of embedding pairs; (2) They can use model extraction attacks to aggregate the acquired embedded data and jointly train an alternative pirated model, thereby effectively stealing the core functionality of the server API.

[0071] These attackers know that the API response contains watermark information, but they are completely unaware of the following: the specific watermarking algorithm used (including the type of fingerprint used), their own and other clients' fingerprints (such as Tardos codes), and the complete parameters of the server model.

[0072] Against this backdrop, for copyright verification and traitor tracking, FedTardos enables servers to access pirated models through black-box queries by only requiring API-level access to suspicious models, without needing white-box access to model parameters. This allows the server to identify at least one accomplice, thereby verifying the server's copyright ownership of the model. Furthermore, it remains robust against collusion attacks; specifically, when multiple attackers collaborate to steal a model, it can still track all participating traitors. Moreover, its watermark embedding process design has a negligible impact on the model's usability, ensuring that the performance of downstream tasks is preserved.

[0073] Furthermore, combining the above theorems, we can further derive the maximum number of conspirators that FedTardos can withstand while ensuring security, namely Theorem 5.5.

[0074] Theorem 5.5: Let The target error rate. There exists a constant. and preset detection threshold This makes it possible for as many conspirators as possible. satisfy:

[0075] According to Theorem 5.5, FedTardos can achieve at least The probability guarantee is that at least one colluder will be successfully detected without wrongly implicating any innocent clients. Furthermore, the anti-collusion cap is [not specified]. The security level is proportional to the square root of the code length L, but has little relation to the logarithm of the total number of clients N. This highlights the excellent scalability of the method described in this application: even if N increases from 50 to 1000, only a small adjustment to the code length L is needed to maintain the same level of security.

[0076] As can be seen from the above technical solution, this application utilizes the linear superposition property of LoRA to embed the Tardos code into the output of the image encoder in the form of a constant offset. Thus, while ensuring that the impact on the utility of the original model is negligible, it can use the statistical detectability of the Tardos code in the face of attacks in the EaaS context to calculate the Tardos accusation score, and thereby accurately track each conspirator under black-box conditions.

[0077] In some embodiments, the LoRA module corresponding to each client includes a dimension-reduced projection shared by all clients, and a specific dimension-up projection for each client; the image embedding vector generation method used by the watermark image encoder of each client is represented as follows:

[0078] in, This represents the watermark image encoder for the i-th client. Indicates an image encoder. This represents a dimensionality reduction projection shared by all clients. This represents a specific up-dimensional projection for the i-th client. This represents the image to be encoded.

[0079] In this embodiment, the LoRA module consists of a shared dimensionality reduction projection. and specific upscaling projection for each client The LoRA module is composed of a shared dimension reduction projection, where d represents the dimension of the embedding space and r represents the LoRA ranking. Robust general features can be extracted through shared dimension reduction projection, and these features can be personalized through private dimension increase projection. Specifically, client-specific target fingerprint offsets can be embedded into the dimension increase process through private dimension increase projection, resulting in a client-specific, traceable watermark in the final generated image embedding vector. Furthermore, the design of this LoRA module enables the watermark image encoder to achieve efficient client customization while sharing most model parameters.

[0080] Optionally, the method further includes: During the training of the watermark image encoder for each client, the specific up-dimensional projection corresponding to the watermark image encoder is adjusted according to the training objective, while keeping the down-dimensional projection shared by the image encoder and all clients unchanged. The training objective is expressed as follows:

[0081] in, This represents the training target corresponding to the watermark image encoder of the i-th client. Indicates the trigger set, This represents the image to be encoded. This represents a specific up-dimensional projection for the i-th client. This represents a dimensionality reduction projection shared by all clients. Indicates an image encoder. This represents the target fingerprint offset for the i-th client.

[0082] In this embodiment of the application, for the i-th client, the server maintains and Under the condition that remains unchanged, for Training is then performed. This training process employs the aforementioned training objective to ensure that the LoRA module generates consistent fingerprint offsets across all images in the trigger set (e.g., ...). Thus, the watermark image encoder of the i-th client is satisfied. .

[0083] Optionally, to accelerate training convergence, it can be... Introducing a normalization process using Normalize() to unify the scale, for example ,in, This indicates the watermark strength control parameter (used to control the amplitude of the fingerprint). ( () represents the Tardos code of the i-th client. ( ) represents the orthogonal projection matrix, where d represents the dimension of the embedding space and L represents the code length.

[0084] In some embodiments, the preset detection threshold is determined by the following formula:

[0085] in, Indicates the preset detection threshold. , This represents the mean and standard deviation of the Tardos accusation ratings across all clients. This represents the threshold adjustment factor (also known as the standard deviation multiple or confidence coefficient).

[0086] In this embodiment, a data-driven threshold is used to determine colluders, i.e., based on the Tardos accusation scores of all clients. mean and The standard deviation is used to determine the preset detection threshold. This adaptive threshold takes advantage of the score difference between colluders and innocent clients, which can further improve the accuracy of identifying colluding clients.

[0087] It should be noted that this application proposes Theorem 5.7 to address the fundamental question of what features will appear in the extracted model when an adversary uses the API response of a colluding client to train an alternative model.

[0088] Theorem 5.7: Consider an adversary who, through... A conspiratorial client The alternative model is trained by minimizing the mean squared error (MSE) loss on queries with uniform sampling. The optimal alternative model satisfies:

[0089] Among them, the average fingerprint of the conspirators (i.e., the arithmetic mean of the Tardos codes of all conspiring clients) , This represents the orthogonal projection matrix that maps a discrete Tardos code of length L to the feature space of a d-dimensional model. This represents the clean feature output of the original model. This represents the original model input.

[0090] As shown in Theorem 5.7, the alternative model trained by mean square error inherits the average fingerprint, and thus the estimation error under finite queries can be described by Theorem 5.8.

[0091] Theorem 5.8: Suppose an attacker collects data from a colluding client. Each query response has a sampling ratio of 1. Assume the original embedding e satisfies and Then the extracted fingerprint estimate satisfy:

[0092]

[0093] And at least The probability satisfies:

[0094] Therefore, the following conclusion can be drawn: Reliable Tardos detection can be achieved when the estimation error is less than the watermark strength, which requires the following:

[0095] Where d represents the number of dimensions of the embedding space (i.e., the embedding dimension), and L represents the code length. This indicates the parameters for controlling the watermark strength.

[0096] For example, for typical parameters It can be concluded that .

[0097] Therefore, this application provides a theoretical analysis of collusive attacks involving embedded watermarks, proving that geometrically based watermarking methods will experience [failure] under model averaging. Signal attenuation. Furthermore, this application demonstrates that the alternative model trained using mean squared error can preserve average fingerprint features and quantifies the high probability bound of extraction error for finite samples.

[0098] This application presents extensive experiments on multimodal benchmarks. The results demonstrate that FedTardos achieves perfect traitor identification within theoretical collusion limits while maintaining a negligible decrease in utility, thus validating the theoretical predictions of this application.

[0099] Specifically, CLIP ViT-B / 32 was used as the underlying visual language model (embedding dimension d = 512) in the experiments. The experiments covered five downstream tasks: CIFAR-10 and CIFAR-100 for zero-shot image classification, VOC2007 for multi-label classification, and Flickr30k and MS-COCO for image-text retrieval. The trigger set consisted of 512 images extracted from Visual Genome and did not overlap with any evaluation datasets.

[0100] To simulate real-world model extraction scenarios, a separate subset (10K samples) was reserved from the MS-COCO training set as the attacker's query data. This dataset was not included in all utility evaluations.

[0101] The utility retention in the five downstream tasks is shown in Table 1, which shows the accuracy (ACC) for the classification task and the recall (R@5) for the retrieval task (image to text / text to image). This represents the average performance change relative to the original situation.

[0102] Table 1. Utility retention in the five downstream tasks

[0103] This application simulates the entire collusion attack and tracing process, where each colluding client initiates a query to the API to collect 1000 pairs of image embedding data. The collected data is then aggregated to train an alternative model that attempts to remove or blur individual watermarks. By default, a uniform averaging strategy is employed; during tracing, the server only has black-box query access to suspicious APIs, extracts fingerprints through trigger sets, and executes the method described in this application to identify colluders.

[0104] Since current watermarking methods are mainly designed for single-provider scenarios, this application applies the following two representative methods to multi-client EaaS scenarios: EmbMarker: It selects medium-frequency words as trigger words and embeds the target. As a watermark, it is injected proportionally based on the number of trigger words. Validation uses hypothesis testing to compare with... The similarity difference. For multi-client adaptation, a different target embedding is assigned to each client. .

[0105] MFL-Owner: This method aims to solve the ownership protection and single leaker tracking problems in multimodal federated learning. It appends an orthogonal transformation matrix after the encoder. The trigger set embedding is aligned, and validation is performed based on the distance difference between the original model and the suspected model. As originally designed, each client is assigned the same image but different text as its trigger set.

[0106] The specific implementation details of the experiment are as follows: Key hyperparameter: Number of clients Tardos code length LoRA rankings Watermark strength .

[0107] The deviation distribution adopts the theoretically optimal .

[0108] The LoRA module is trained for 100 epochs, with a learning rate of [missing information]. .

[0109] All experiments were conducted using PyTorch 2.2 and CUDA 11.8 on a single NVIDIA RTX 4090 GPU.

[0110] The experiments described above evaluated the impact of watermark embedding on model utility. Based on Table 1, the performance of five representative clients across five downstream tasks can be analyzed: FedTardos and MFL-Owner maintained performance within ±0.5% of the un-watermarked model across all tasks, with client variance below 1%, indicating stable embedding. In contrast, EmbMarker's performance decreased by 8.77% to 36.38% on the classification task and by 26% to 31% on the image-to-text retrieval task.

[0111] Furthermore, it can be concluded that the reason why FedTardos can maintain its utility is: (1) The perturbation was limited to within 10%; (2) shared low-rank matrix The geometry of the embedded space was preserved.

[0112] To assess FedTardos's anti-collusion capability, detection recall is defined as the proportion of correctly identified genuine colluders. See also Figure 4 The diagram illustrating the comparison of anti-collusion capabilities shows the recall rate for identifying colluders under different numbers of colluders, c. For all cases where c ≤ 11, FedTardos performs well, and shows a gradual downward trend beyond this threshold (57.9% when c = 19). In contrast, the baseline model exhibits a precipitous drop: MFL-Owner plummets to 33% when c = 3, while EmbMarker drops directly to zero when c > 3. Figure 4 The shaded area reflects the performance improvement of the method described in this application relative to the best baseline. According to Theorem 5.5, with L = 512 and N = 50, the theoretical maximum value is... FedTardos achieved a 100% recall rate accordingly.

[0113] The aforementioned performance differences stem from fundamental coding limitations: MFL-Owner assigns an independent set of triggers to each client, resulting in a signal dilution to 1 / c on average; Emb-Marker uses random target embeddings, lacking the probabilistic bias of Tardos codes, and thus cannot accumulate discriminative evidence in cases of collusion. In contrast, FedTardos utilizes a Beta (0.5, 0.5) bias distribution, ensuring that colluders consistently score higher than innocent individuals.

[0114] Ablation experiments were conducted by removing individual modules, and three variants were evaluated: (1) no Tardos (replacing the Beta distribution with a uniform distribution); (2) no P matrix (replacing the orthogonal protection with a random projection); and (3) no shared A (each client uses an independent LoRA adapter).

[0115] Table 2 shows the results for c = 5 and c = 10: the complete model achieves 100% recall; removing the P matrix causes the largest performance degradation (recall drops to 66.7% / 60.0% respectively), confirming that orthogonal projection is crucial for maintaining fingerprint integrity during averaging; removing the Tardos distribution at c = 10 reduces recall by 20%, consistent with its theoretical optimization effect in large-scale collusion; removing shared A results in a 30% performance degradation at c = 10. These results indicate that all three components play important roles.

[0116] Table 2 Ablation study results of FedTardos components

[0117] FedTardos was evaluated for four representative collusion strategies, with model extraction using MS-COCO and collusion sizes of c = 5 and c = 10. As shown in Table 3, FedTardos achieved 100% recall in all “fair collusion” scenarios, including uniform, weighted, and majority settings. This verifies the robustness of the cumulative score of the Tardos code to arbitrary linear aggregation. Although the recall decreased under a single dominant strategy, this result is theoretically reasonable because the smaller contributors provide less than 4% of the weight, and their signal strength is insufficient to be detected. Crucially, this strategy poses limited threat in practice because it cannot form a Nash equilibrium; rational colluders are unlikely to accept disproportionate legal risks as the dominant entity in exchange for shared benefits.

[0118] Table 3. Detection recall rate (%) under different collusion strategies

[0119] right The evaluation was conducted with the following parameters fixed: N = 50 clients, false positive rate. scale of collusion The result is the average of 10 trials.

[0120] See Figure 5The diagram illustrating the impact of code length L on recall rate, when analyzed, leads to the following three conclusions: First, the experiment verified the theoretical limits. As shown in Table 4, the empirical observations are in high agreement with the theoretical predictions: when L = 256, the perfect recall rate remains at c = 8 (perfect match), while when L = 512, the perfect recall rate remains at c = 10 (close to the theoretical limit of 11), and when L = 128, it reaches c = 4 (close to its theoretical limit of 6).

[0121] Secondly, the plan is in It then exhibits a gradual decline in performance rather than abrupt failure. For example, when L = 512, the recall rate is 91.7% at c = 12 and 73.3% at c = 15, providing a practical safety margin when the exact size of the collusion is unknown.

[0122] Finally, these results provide a basis for deployment decisions: practitioners should choose L to make This exceeds the expected maximum collusion size and leaves ample margin. For environments where large-scale collusion is anticipated, L = 512, while increasing computational overhead, provides a higher threshold and a smoother performance degradation.

[0123] Table 4 Verification results of the theoretical collusion resistance limit

[0124] We An evaluation was conducted, where L = 512 and α = 0.1. As shown in Table 5, FedTardos exhibits strong scalability: scaling from N = 50 to N = 1000, it maintains 100% recall across all configurations when c ≤ 8. (Empirical) The value decreased from 10 to 8, which is consistent with theoretical predictions. When N ≥ 500, performance tends to saturate; the metrics are almost identical for N = 500 and N = 1000. This is because... and Rounding to a similar effective threshold indicates that deploying more than 500 clients incurs only minimal additional overhead.

[0125] Table 5. Recall rate (%) and separation score for different customer group sizes N.

[0126]

[0127] Change query volume Detection performance was measured in two collusion scenarios (c = 5 and c = 10). See [link / reference] Figure 6 The diagram shows the distribution of Tardos scores for all clients under two collusion scenarios. Clients are arranged in ascending order of score. Innocent clients (light blue) are symmetrically distributed around zero. The average value is... The colluders (orange) form a clear high-scoring tail, while the yellow area highlights the gap between the highest innocent score and the lowest colluding score. Analysis Figure 6 It can be seen that the scores of innocent clients are symmetrically distributed around zero, while those of accomplices consistently produce higher positive scores, thus forming a clear distinction and making reliable detection possible.

[0128] It should be noted that the anti-collusion multimodal federated learning tracking method provided in this application embodiment can be executed by an anti-collusion multimodal federated learning tracking device, or by a control module in the device for executing the loading of the anti-collusion multimodal federated learning tracking method. This application embodiment uses the execution of the loading of the anti-collusion multimodal federated learning tracking method by an anti-collusion multimodal federated learning tracking device as an example to illustrate the anti-collusion multimodal federated learning tracking method provided in this application embodiment.

[0129] This application provides an anti-collusion multimodal federated learning tracking device, such as... Figure 7 As shown, the device includes: The deployment module is used to generate a unique Tardos code for each client during the deployment phase, and embed the Tardos code into an embedding space of a preset number of dimensions to obtain the target fingerprint offset of each client; and to randomly extract multiple images from a preset dataset as a trigger set; and to train the watermark image encoder for each client using the trigger set. The watermark image encoder is built based on an image encoder and a low-rank adaptation LoRA module, and is used to generate and output an image embedding vector containing the target fingerprint offset of the corresponding client. The tracking module is used, during the application phase, to determine the Tardos code corresponding to an API based on the fingerprint offset embedded in the API's response to the trigger set when an unauthorized application programming interface (API) is detected; to calculate a Tardos accusation score for each client based on the Tardos code corresponding to the API and the Tardos code of each client, wherein the Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client; and to identify colluding clients from among the clients based on their respective Tardos accusation scores and a preset detection threshold.

[0130] It should be noted that the anti-collusion multimodal federated learning tracking device provided in this application embodiment can achieve... Figure 2 The various processes implemented in the embodiment of the anti-collusion multimodal federated learning tracking method shown will not be repeated here to avoid repetition.

[0131] Optionally, this application embodiment also provides an electronic device, including a processor 110, a memory 109, and a program or instructions stored in the memory 109 and executable on the processor 110. When the program or instructions are executed by the processor 110, they implement the various processes of the above-described anti-collusion multimodal federated learning tracking method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0132] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0133] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0134] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0135] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0136] The processor 110 is used to perform the following steps: During the deployment phase, a unique Tardos code is generated for each client, and the Tardos code is embedded into an embedding space of a preset number of dimensions to obtain the target fingerprint offset for each client. During the deployment phase, multiple images are randomly selected from a pre-set dataset as the trigger set; During the deployment phase, the trigger set is used to train the watermark image encoder for each client. The watermark image encoder is built based on the image encoder and the low-rank adaptation LoRA module, and is used to generate and output the image embedding vector with the target fingerprint offset of the corresponding client. During the application phase, when an unauthorized application programming interface (API) is detected, the Tardos code corresponding to the API is determined based on the fingerprint offset embedded in the API's response to the trigger set. During the application phase, based on the Tardos code corresponding to the API and the Tardos code of each client, a Tardos accusation score is calculated for each client. The Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client. During the application phase, colluding clients are identified from among the various clients based on their respective Tardos accusation scores and preset detection thresholds.

[0137] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described anti-collusion multimodal federated learning tracking method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0138] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0139] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described anti-collusion multimodal federated learning tracking method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0140] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0141] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0142] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0143] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. An anti-collusion multi-modal federated learning tracking method, characterized in that, The method includes: During the deployment phase, a unique Tardos code is generated for each client, and the Tardos code is embedded into an embedding space of a preset number of dimensions to obtain the target fingerprint offset for each client. During the deployment phase, multiple images are randomly selected from a pre-set dataset as the trigger set; During the deployment phase, the trigger set is used to train the watermark image encoder for each client. The watermark image encoder is built based on the image encoder and the low-rank adaptation LoRA module, and is used to generate and output the image embedding vector with the target fingerprint offset of the corresponding client. During the application phase, when an unauthorized application programming interface (API) is detected, the Tardos code corresponding to the API is determined based on the fingerprint offset embedded in the API's response to the trigger set. During the application phase, based on the Tardos code corresponding to the API and the Tardos code of each client, a Tardos accusation score is calculated for each client. The Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client. During the application phase, colluding clients are identified from among the various clients based on their respective Tardos accusation scores and preset detection thresholds.

2. The method of claim 1, wherein, Each client's LoRA module contains a shared dimensionality reduction projection for all clients, as well as a specific dimensionality increase projection for each client; the image embedding vector generation method used by each client's watermark image encoder is represented as follows: wherein, denotes a watermark image encoder of the i-th client, denotes an image encoder, denotes a dimensionality reduction projection shared by all clients, denotes a specific dimensionality increase projection for the i-th client, denotes an image to be encoded.

3. The method according to claim 2, characterized in that, The method further includes: During the training of the watermark image encoder for each client, the specific up-dimensional projection corresponding to the watermark image encoder is adjusted according to the training objective, while keeping the down-dimensional projection shared by the image encoder and all clients unchanged. The training objective is expressed as follows: in, This represents the training target corresponding to the watermark image encoder of the i-th client. Indicates the trigger set, This represents the image to be encoded. This represents a specific up-dimensional projection for the i-th client. This represents a dimensionality reduction projection shared by all clients. Indicates an image encoder. This represents the target fingerprint offset for the i-th client.

4. The method according to claim 1, characterized in that, The preset detection threshold is determined by the following formula: in, Indicates the preset detection threshold. , This represents the mean and standard deviation of the Tardos accusation scores across all clients. This represents the threshold adjustment coefficient.

5. The method according to claim 1, characterized in that, Each client's Tardos accusation score is calculated using the following formula: in, This represents the Tardos accusation score for the k-th client. Indicates the length of the Tardos code. This indicates the Tardos code corresponding to the API. The value at position j in the middle, This represents the Tardos code of the k-th client. The value at position j in the middle, This represents the bias vector used to generate the Tardos code. The j-th element in This represents a vector consisting of the theoretical expected values ​​of all positions in the Tardos code. This represents the theoretical expected value of the j-th position in the Tardos code.

6. The method according to claim 1, characterized in that, The target fingerprint offset for each client is determined by the following formula: in, This represents the target fingerprint offset of the i-th client. This indicates the watermark strength control parameters. This represents the Tardos code of the i-th client. This represents the orthogonal projection matrix, used to embed Tardos codes into an embedding space of a preset number of dimensions.

7. The method according to any one of claims 1-6, characterized in that, The step of randomly selecting multiple images from a preset dataset as a trigger set includes: Randomly select multiple images from a pre-set dataset; Gaussian noise is added to each extracted image to cause a distribution shift; Multiple images with Gaussian noise added are aggregated into a trigger set.

8. A collusion-resistant multimodal federated learning tracking device, characterized in that, The device includes: The deployment module is used to generate a unique Tardos code for each client during the deployment phase, and embed the Tardos code into an embedding space of a preset number of dimensions to obtain the target fingerprint offset of each client; and to randomly extract multiple images from a preset dataset as a trigger set; and to train the watermark image encoder for each client using the trigger set. The watermark image encoder is built based on an image encoder and a low-rank adaptation LoRA module, and is used to generate and output an image embedding vector containing the target fingerprint offset of the corresponding client. The tracking module is used, during the application phase, to determine the Tardos code corresponding to an API based on the fingerprint offset embedded in the API's response to the trigger set when an unauthorized application programming interface (API) is detected; to calculate a Tardos accusation score for each client based on the Tardos code corresponding to the API and the Tardos code of each client, wherein the Tardos accusation score is used to measure the correlation between the piracy model corresponding to the API and the watermark image encoder of the corresponding client; and to identify colluding clients from among the clients based on their respective Tardos accusation scores and a preset detection threshold.

9. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the anti-collusion multimodal federated learning tracking method as described in any one of claims 1-7.

10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the anti-collusion multimodal federated learning tracking method as described in any one of claims 1-7.