pepr-hal-data / grobid /json /AWhiteBoxWatermarkingModulationforEncryptedDNNinHomomorphicFederatedLearning.json
lfoppiano's picture
Upload folder using huggingface_hub
14c3d7a verified
Raw History Blame Contribute Delete
214 kB
{ "level": "paragraph", "biblio": { "title": "A White-Box Watermarking Modulation for Encrypted DNN in Homomorphic Federated Learning", "authors": [ "Mohammed Lansari", "Reda Bellafqira", "Katarzyna Kapusta", "Vincent Thouvenot", "Olivier Bettan", "Gouenou Coatrieux" ], "hash": "913CF365056BC57011E4C75D9D34B685", "publisher": "", "abstract": [ { "id": 0, "text": "Federated Learning (FL) is a distributed paradigm that enables multiple clients to collaboratively train a model without sharing their sensitive local data. In such a privacy-sensitive setting, Homomorphic Encryption (HE) plays an important role by enabling computations on encrypted data. This prevents the server from reverseengineering the model updates, during the aggregation, to infer private client data, a signicant concern in scenarios like the healthcare industry where patient condentiality is paramount. Despite these advancements, FL remains susceptible to intellectual property theft and model leakage due to malicious participants during the training phase. To counteract this, watermarking emerges as a solution for protecting the intellectual property rights of Deep Neural Networks (DNNs). However, traditional watermarking methods are not compatible with HE, primarily because they require the use of non-polynomial functions, which are not natively supported by HE. In this paper, we address these challenges by proposing the rst white-box DNN watermarking modulation on a single homomorphically encrypted model. We then extend this modulation to a server-side FL context that complies with HE's processing constraints. Our experimental results demonstrate that the performance of the proposed watermarking modulation is equivalent to the one on unencrypted domain.", "coords": [ { "x": 2.0, "y": 129.18, "width": 280.65, "height": 392.48 }, { "x": 2.0, "y": 129.18, "width": 291.61, "height": 392.46 }, { "x": 2.0, "y": 129.18, "width": 302.57, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 313.53, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 324.49, "height": 392.46 }, { "x": 2.0, "y": 129.18, "width": 335.46, "height": 392.48 }, { "x": 2.0, "y": 129.18, "width": 346.42, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 357.38, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 368.34, "height": 392.46 }, { "x": 2.0, "y": 129.18, "width": 379.3, "height": 392.46 }, { "x": 2.0, "y": 129.18, "width": 390.26, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 401.22, "height": 392.47 }, { "x": 2.0, "y": 129.18, "width": 412.18, "height": 315.3 } ], "refs": [] } ] }, "body_text": [ { "id": "p_2adc85c5", "text": "Federated Learning (FL) enables multiple data owners to collaboratively train machine learning or deep learning models without sharing their private data (McMahan et al., 2017). In a FL round, each client trains the shared model with its own data. Subsequently, the server selects a subset of clients, gathers and aggregates their model updates, and forms what is known as the global model for the current round. This aggregated model is then distributed back to the clients for further rounds of training, a process repeated until the global model converges. Despite the advantages of data privacy, the integrity of the server and clients cannot always be ensured, leading to several security challenges.", "coords": [ { "x": 2.0, "y": 73.69, "width": 478.34, "height": 212.65 }, { "x": 2.0, "y": 73.69, "width": 489.8, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 501.26, "height": 212.65 }, { "x": 2.0, "y": 169.01, "width": 512.72, "height": 117.31 }, { "x": 2.0, "y": 73.69, "width": 524.18, "height": 212.65 }, { "x": 2.0, "y": 73.69, "width": 535.64, "height": 212.65 }, { "x": 2.0, "y": 73.69, "width": 547.1, "height": 212.65 }, { "x": 2.0, "y": 73.69, "width": 558.56, "height": 212.65 }, { "x": 2.0, "y": 73.69, "width": 570.02, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 581.48, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 592.94, "height": 212.66 }, { "x": 2.0, "y": 73.69, "width": 604.4, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 615.86, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 627.31, "height": 96.0 } ], "refs": [ { "type": "bibr", "target": "#b38", "text": "(McMahan et al., 2017)", "offset_start": 154, "offset_end": 176 } ], "head_section": "INTRODUCTION" }, { "id": "p_a1001716", "text": "The server may exhibit an honest-but-curious behavior, meaning that while it follows to the federated learning (FL) protocol, it might attempt to infer information about client data based on the updates received in each round. Common inference attacks include inversion attacks (He et al., 2019) and membera https://orcid.org/0009-0004-8025-5587 ship inference attacks (Hu et al., 2022;Shokri et al., 2017), aiming to reconstruct training data from model parameters. A solution to this issue is the use of Homomorphic Encryption (HE) (Benaissa et al., 2021), which encrypts client updates before they are sent to the server for aggregation. HE allows the server to perform aggregation on encrypted updates without decryption, thus preventing the server or external adversaries from conducting inference attacks (Zhang et al., 2020;Xiong et al., 2024).", "coords": [ { "x": 2.0, "y": 87.87, "width": 638.77, "height": 198.48 }, { "x": 2.0, "y": 73.69, "width": 650.23, "height": 212.64 }, { "x": 2.0, "y": 73.69, "width": 661.69, "height": 212.63 }, { "x": 2.0, "y": 73.69, "width": 673.15, "height": 212.66 }, { "x": 2.0, "y": 73.69, "width": 684.61, "height": 212.66 }, { "x": 2.0, "y": 73.69, "width": 696.07, "height": 90.56 }, { "x": 2.0, "y": 233.8, "width": 696.07, "height": 52.55 }, { "x": 2.0, "y": 88.03, "width": 713.37, "height": 3.09 }, { "x": 2.0, "y": 309.04, "width": 455.29, "height": 87.42 }, { "x": 2.0, "y": 330.47, "width": 466.75, "height": 191.22 }, { "x": 2.0, "y": 309.04, "width": 478.21, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 489.67, "height": 116.29 }, { "x": 2.0, "y": 517.4, "width": 489.67, "height": 4.29 }, { "x": 2.0, "y": 309.04, "width": 501.13, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 512.59, "height": 212.64 }, { "x": 2.0, "y": 309.04, "width": 524.05, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 535.51, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 546.97, "height": 179.82 }, { "x": 2.0, "y": 431.78, "width": 558.43, "height": 4.29 } ], "refs": [ { "type": "bibr", "target": "#b22", "text": "(He et al., 2019)", "offset_start": 278, "offset_end": 295 }, { "type": "bibr", "target": "#b23", "text": "(Hu et al., 2022;", "offset_start": 369, "offset_end": 386 }, { "type": "bibr", "target": "#b46", "text": "Shokri et al., 2017)", "offset_start": 386, "offset_end": 406 }, { "type": "bibr", "target": "#b4", "text": "(Benaissa et al., 2021)", "offset_start": 534, "offset_end": 557 }, { "type": "bibr", "target": "#b57", "text": "(Zhang et al., 2020;", "offset_start": 811, "offset_end": 831 }, { "type": "bibr", "target": "#b52", "text": "Xiong et al., 2024)", "offset_start": 831, "offset_end": 850 } ], "head_section": "INTRODUCTION" }, { "id": "p_0d9d0af2", "text": "The second concern involves the potential for model redistribution by malicious participants, either during or after the training process, which could lead to unauthorized prots. Protecting the intellectual property (IP) of the model is important in this context. Watermarking (Uchida et al., 2017;Fan et al., 2019;Darvish Rouhani et al., 2019;Bellafqira and Coatrieux, 2022;Kallas and Furon, 2023;Pierre et al., 2023), which embeds a secret watermark into the model's parameters or behavior for later extraction by the owner, has emerged as a promising solution. This technique can be applied either client-side or serverside in FL context. Although several solutions propose watermarking the model from the client-side (Liu et al., 2021;Liang and Wang, 2023;Yang et al., 2023;Li et al., 2022;Yang et al., 2022), which are compatible with clients' update encryption, no existing solution combines server-side watermarking with homomorphic encryption in a Federated Learning (FL) context. This is primarily because embedding the watermark server-side, when updates are encrypted, poses challenges due to the complexity of the watermarking process under HE constraints. Furthermore, server-side watermarking has been shown to be more robust and efcient than client-side watermarking (Shao et al., 2024). More clearly, if each client watermarks its local model, the aggregation stage may lead to watermark collusion, and consequently, some clients' watermarks may not be effectively inserted.", "coords": [ { "x": 2.0, "y": 323.22, "width": 569.89, "height": 198.46 }, { "x": 2.0, "y": 309.04, "width": 581.35, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 592.81, "height": 212.65 }, { "x": 2.0, "y": 309.04, "width": 604.27, "height": 212.65 }, { "x": 2.0, "y": 309.04, "width": 615.73, "height": 212.64 }, { "x": 2.0, "y": 309.04, "width": 627.19, "height": 79.85 }, { "x": 2.0, "y": 330.47, "width": 661.57, "height": 191.23 }, { "x": 2.0, "y": 309.04, "width": 673.03, "height": 212.64 }, { "x": 2.0, "y": 309.04, "width": 684.49, "height": 212.65 }, { "x": 2.0, "y": 309.04, "width": 695.94, "height": 212.66 }, { "x": 2.0, "y": 309.04, "width": 707.4, "height": 74.58 }, { "x": 3.0, "y": 87.87, "width": 97.96, "height": 198.47 }, { "x": 3.0, "y": 73.69, "width": 109.41, "height": 139.73 }, { "x": 3.0, "y": 170.82, "width": 132.33, "height": 115.51 }, { "x": 3.0, "y": 73.69, "width": 143.79, "height": 212.66 }, { "x": 3.0, "y": 73.69, "width": 155.25, "height": 212.65 }, { "x": 3.0, "y": 73.69, "width": 166.71, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 178.17, "height": 212.63 }, { "x": 3.0, "y": 73.69, "width": 189.63, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 201.09, "height": 212.65 }, { "x": 3.0, "y": 73.69, "width": 212.55, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 224.01, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 235.47, "height": 158.14 }, { "x": 3.0, "y": 95.12, "width": 246.93, "height": 191.23 }, { "x": 3.0, "y": 73.69, "width": 258.39, "height": 212.66 }, { "x": 3.0, "y": 73.69, "width": 269.85, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 281.31, "height": 162.61 } ], "refs": [ { "type": "bibr", "target": "#b49", "text": "(Uchida et al., 2017;", "offset_start": 278, "offset_end": 299 }, { "type": "bibr", "target": "#b20", "text": "Fan et al., 2019;", "offset_start": 299, "offset_end": 316 }, { "type": "bibr", "target": "#b16", "text": "Darvish Rouhani et al., 2019;", "offset_start": 316, "offset_end": 345 }, { "type": "bibr", "target": "#b2", "text": "Bellafqira and Coatrieux, 2022;", "offset_start": 345, "offset_end": 376 }, { "type": "bibr", "target": "#b24", "text": "Kallas and Furon, 2023;", "offset_start": 376, "offset_end": 399 }, { "type": "bibr", "target": "#b44", "text": "Pierre et al., 2023)", "offset_start": 399, "offset_end": 419 }, { "type": "bibr", "target": "#b34", "text": "(Liu et al., 2021;", "offset_start": 722, "offset_end": 740 }, { "type": "bibr", "target": "#b33", "text": "Liang and Wang, 2023;", "offset_start": 740, "offset_end": 761 }, { "type": "bibr", "target": "#b55", "text": "Yang et al., 2023;", "offset_start": 761, "offset_end": 779 }, { "type": "bibr", "target": "#b29", "text": "Li et al., 2022;", "offset_start": 779, "offset_end": 795 }, { "type": "bibr", "target": "#b54", "text": "Yang et al., 2022)", "offset_start": 795, "offset_end": 813 }, { "type": "bibr", "target": "#b45", "text": "(Shao et al., 2024)", "offset_start": 1284, "offset_end": 1303 } ], "head_section": "INTRODUCTION" }, { "id": "p_c8af7d0c", "text": "For these reasons, in this paper, we explore the possibility of server-side watermarking in FL using HE as a privacy-preserving mechanism. Our contributions are as follows:", "coords": [ { "x": 3.0, "y": 87.87, "width": 292.77, "height": 198.46 }, { "x": 3.0, "y": 73.69, "width": 304.23, "height": 212.63 }, { "x": 3.0, "y": 73.69, "width": 315.69, "height": 212.65 }, { "x": 3.0, "y": 73.69, "width": 327.14, "height": 89.49 } ], "refs": [], "head_section": "INTRODUCTION" }, { "id": "p_7081ec91", "text": "• We leverage existing FL White-Box watermarking algorithms (Shao et al., 2024;Li et al., 2022) along with homomorphic encryption in order to watermark a model with minimal modications of the FL procedure. Specically, we address the challenge posed by non-polynomial functions in the embedding process, which can be approximated by low-degree polynomial functions.", "coords": [ { "x": 3.0, "y": 80.17, "width": 343.59, "height": 206.18 }, { "x": 3.0, "y": 88.64, "width": 355.05, "height": 58.13 }, { "x": 3.0, "y": 88.64, "width": 366.51, "height": 197.69 }, { "x": 3.0, "y": 88.64, "width": 377.97, "height": 197.71 }, { "x": 3.0, "y": 88.64, "width": 389.43, "height": 197.71 }, { "x": 3.0, "y": 88.64, "width": 400.88, "height": 197.69 }, { "x": 3.0, "y": 88.64, "width": 412.34, "height": 197.69 }, { "x": 3.0, "y": 88.64, "width": 423.8, "height": 173.68 } ], "refs": [ { "type": "bibr", "target": "#b45", "text": "(Shao et al., 2024;", "offset_start": 60, "offset_end": 79 }, { "type": "bibr", "target": "#b29", "text": "Li et al., 2022)", "offset_start": 79, "offset_end": 95 } ], "head_section": "INTRODUCTION" }, { "id": "p_752d7984", "text": "• We then implement this scheme within a clientserver FL framework, demonstrating that it is possible to protect both the condentiality of model parameters and intellectual property from an honest-but-curious server tasked with watermarking the model.", "coords": [ { "x": 3.0, "y": 80.17, "width": 439.25, "height": 206.17 }, { "x": 3.0, "y": 88.64, "width": 450.71, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 462.17, "height": 197.69 }, { "x": 3.0, "y": 88.64, "width": 473.63, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 485.09, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 496.55, "height": 77.76 } ], "refs": [], "head_section": "INTRODUCTION" }, { "id": "p_5baf4d72", "text": "• Our experimental results indicate that embedding the watermark using approximated functions does not detrimentally impact the primary learning task or the effectiveness of the watermark, even when subjected to removal attacks such as ne-tuning and pruning.", "coords": [ { "x": 3.0, "y": 80.17, "width": 511.99, "height": 206.15 }, { "x": 3.0, "y": 88.64, "width": 523.45, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 534.91, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 546.37, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 557.83, "height": 197.7 }, { "x": 3.0, "y": 88.64, "width": 569.29, "height": 50.36 } ], "refs": [], "head_section": "INTRODUCTION" }, { "id": "p_566572cf", "text": "In this section, we give a brief overview of HE. Then we dene FL and how HE can be used as a security mechanism against an honest-but-curious server. Finally, we introduce FL watermarking to position our work among existing solutions.", "coords": [ { "x": 3.0, "y": 73.69, "width": 646.52, "height": 212.64 }, { "x": 3.0, "y": 73.69, "width": 657.98, "height": 212.63 }, { "x": 3.0, "y": 73.69, "width": 669.44, "height": 212.66 }, { "x": 3.0, "y": 73.69, "width": 680.9, "height": 212.66 }, { "x": 3.0, "y": 73.69, "width": 692.35, "height": 124.84 } ], "refs": [], "head_section": "BACKGROUND & RELATED WORKS" }, { "id": "p_b21d765b", "text": "Homomorphic Encryption (HE) is a form of encryption that allows computations to be carried out on ciphertexts, generating an encrypted result that, when decrypted, matches the outcome of operations performed on the plaintext. This capability enables secure processing of encrypted data without giving access to the underlying data, thus preserving the privacy and condentiality of data during processing (Bouslimi et al., 2016;Baumstark et al., 2023;Wang et al., 2024). HE can be categorized into three types: Partially Homomorphic Encryption (PHE), which supports a single type of operation (either addition or multiplication) unlimited times (e.g., Paillier cryptosystem (Paillier, 1999)); Somewhat Homomorphic Encryption (SHE), allowing both addition and multiplication but with a limited computation depth, including early versions of FHE schemes (e.g., BFV scheme (Fan and Vercauteren, 2012)); and Fully Homomorphic Encryption (FHE), enabling unlimited operations of both addition and multiplication on ciphertexts. FHE includes schemes like Gentry's original construction, BGV (Brakerski et al., 2014), and TFHE (Chillotti et al., 2021). BGV and TFHE expand the capabilities of FHE, with BGV allowing computations only over integer arithmetic and TFHE enabling a broader range of operations, including nonpolynomial functions, but they are unpractical for various cases regarding the time consumption (Clet et al., 2021) The CKKS scheme (Cheon et al., 2017) is particularly used for enabling operations on encrypted oating-point numbers, indispensable for applications requiring high precision such as machine learning and statistical analysis. Its scalability and efciency are advantageous for computational tasks involving vectors, making CKKS suitable for largescale applications. Despite its advantages, CKKS is primarily designed to support the computation over polynomial functions.", "coords": [ { "x": 3.0, "y": 309.04, "width": 120.38, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 131.84, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 143.3, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 154.75, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 166.21, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 177.67, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 189.13, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 200.59, "height": 212.65 }, { "x": 3.0, "y": 309.04, "width": 212.05, "height": 12.7 }, { "x": 3.0, "y": 381.42, "width": 223.51, "height": 140.26 }, { "x": 3.0, "y": 309.04, "width": 234.97, "height": 212.65 }, { "x": 3.0, "y": 309.04, "width": 246.43, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 257.89, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 269.35, "height": 71.15 }, { "x": 3.0, "y": 445.32, "width": 269.35, "height": 76.38 }, { "x": 3.0, "y": 309.04, "width": 280.81, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 292.27, "height": 212.63 }, { "x": 3.0, "y": 309.04, "width": 303.73, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 315.19, "height": 51.53 }, { "x": 3.0, "y": 473.23, "width": 315.19, "height": 48.45 }, { "x": 3.0, "y": 309.04, "width": 326.65, "height": 212.65 }, { "x": 3.0, "y": 309.04, "width": 338.11, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 349.57, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 361.03, "height": 94.45 }, { "x": 3.0, "y": 499.54, "width": 361.03, "height": 22.15 }, { "x": 3.0, "y": 309.04, "width": 372.48, "height": 24.87 }, { "x": 3.0, "y": 419.46, "width": 372.48, "height": 102.23 }, { "x": 3.0, "y": 309.04, "width": 383.94, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 395.4, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 406.86, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 418.32, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 429.78, "height": 167.19 }, { "x": 3.0, "y": 323.22, "width": 452.7, "height": 79.88 }, { "x": 3.0, "y": 495.25, "width": 452.7, "height": 26.44 }, { "x": 3.0, "y": 309.04, "width": 464.16, "height": 212.65 }, { "x": 3.0, "y": 309.04, "width": 475.62, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 487.08, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 498.54, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 510.0, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 521.46, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 532.92, "height": 212.65 }, { "x": 3.0, "y": 309.04, "width": 544.38, "height": 212.64 }, { "x": 3.0, "y": 309.04, "width": 555.84, "height": 87.47 } ], "refs": [ { "type": "bibr", "target": "#b7", "text": "(Bouslimi et al., 2016;", "offset_start": 405, "offset_end": 428 }, { "type": "bibr", "target": "#b1", "text": "Baumstark et al., 2023;", "offset_start": 428, "offset_end": 451 }, { "type": "bibr", "target": "#b50", "text": "Wang et al., 2024)", "offset_start": 451, "offset_end": 469 }, { "type": "bibr", "target": "#b43", "text": "(Paillier, 1999)", "offset_start": 674, "offset_end": 690 }, { "type": "bibr", "target": "#b19", "text": "(Fan and Vercauteren, 2012)", "offset_start": 870, "offset_end": 897 }, { "type": "bibr", "target": "#b8", "text": "(Brakerski et al., 2014)", "offset_start": 1084, "offset_end": 1108 }, { "type": "bibr", "target": "#b14", "text": "(Chillotti et al., 2021)", "offset_start": 1119, "offset_end": 1143 }, { "type": "bibr", "target": "#b15", "text": "(Clet et al., 2021)", "offset_start": 1408, "offset_end": 1427 }, { "type": "bibr", "target": "#b12", "text": "(Cheon et al., 2017)", "offset_start": 1444, "offset_end": 1464 } ], "head_section": "Homomorphic Encryption" }, { "id": "p_2bae34f7", "text": "Federated Learning (FL) is a machine learning framework that enables K ∈ N * participants to collaboratively train a model M G across R rounds of exchange while maintaining the privacy of their data D k . In the client-server model of FL (McMahan et al., 2017), the server initializes the global model M G 0 . At each round t, the global model M G t is distributed to a subset S t ⊆ {1, . . . , K} consisting of C ×K randomly selected clients, where C ∈ (0, 1]. Each client k ∈ S t trains the model locally using their private dataset D k and sends their updated model M k t+1 back to the server. The server then aggregates these updates to construct the new global model M G t+1 . This process repeats until R rounds are completed (t = R).", "coords": [ { "x": 3.0, "y": 309.04, "width": 604.17, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 614.17, "height": 106.57 }, { "x": 3.0, "y": 419.76, "width": 615.63, "height": 101.91 }, { "x": 3.0, "y": 309.04, "width": 627.09, "height": 89.0 }, { "x": 3.0, "y": 398.46, "width": 625.26, "height": 5.31 }, { "x": 3.0, "y": 406.99, "width": 627.09, "height": 114.68 }, { "x": 3.0, "y": 309.04, "width": 638.55, "height": 179.74 }, { "x": 3.0, "y": 488.8, "width": 636.72, "height": 3.26 }, { "x": 3.0, "y": 492.7, "width": 638.55, "height": 29.0 }, { "x": 3.0, "y": 309.04, "width": 650.0, "height": 106.63 }, { "x": 3.0, "y": 517.4, "width": 650.0, "height": 4.29 }, { "x": 3.0, "y": 309.04, "width": 661.46, "height": 166.21 }, { "x": 3.0, "y": 475.68, "width": 659.64, "height": 5.31 }, { "x": 3.0, "y": 475.28, "width": 666.28, "height": 3.68 }, { "x": 3.0, "y": 481.5, "width": 661.46, "height": 40.18 }, { "x": 3.0, "y": 309.04, "width": 674.18, "height": 109.78 }, { "x": 3.0, "y": 419.24, "width": 672.36, "height": 5.31 }, { "x": 3.0, "y": 418.65, "width": 678.44, "height": 2.04 }, { "x": 3.0, "y": 427.15, "width": 674.18, "height": 94.54 }, { "x": 3.0, "y": 309.04, "width": 685.03, "height": 212.63 }, { "x": 3.0, "y": 309.04, "width": 696.49, "height": 212.66 }, { "x": 3.0, "y": 309.04, "width": 708.56, "height": 190.83 }, { "x": 3.0, "y": 499.88, "width": 706.74, "height": 3.26 }, { "x": 3.0, "y": 507.32, "width": 708.56, "height": 14.37 }, { "x": 4.0, "y": 73.69, "width": 97.96, "height": 120.31 }, { "x": 4.0, "y": 194.43, "width": 96.13, "height": 3.26 }, { "x": 4.0, "y": 193.84, "width": 102.74, "height": 11.96 }, { "x": 4.0, "y": 210.1, "width": 97.96, "height": 76.24 }, { "x": 4.0, "y": 73.69, "width": 109.41, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 120.87, "height": 94.75 }, { "x": 4.0, "y": 168.86, "width": 119.05, "height": 5.31 }, { "x": 4.0, "y": 168.28, "width": 125.7, "height": 11.94 }, { "x": 4.0, "y": 180.75, "width": 120.87, "height": 105.59 }, { "x": 4.0, "y": 73.69, "width": 131.72, "height": 127.44 } ], "refs": [ { "type": "bibr", "target": "#b38", "text": "(McMahan et al., 2017)", "offset_start": 238, "offset_end": 260 } ], "head_section": "Secure Federated Learning" }, { "id": "p_eda75a78", "text": "The primary vulnerability of FL lies in potential privacy attacks, such as membership inference (Hu et al., 2022;Shokri et al., 2017) and model inversion attacks (He et al., 2019). Specically, in client-server FL, the server aggregates the parameters of received models at each round. However, the server may be honest but curious, attempting to infer information about the client's data from their parameters without violating the FL protocol. This concern highlights the necessity for Secure FL. HE is a prevalent method employed to mitigate this privacy issue (Zhang et al., 2020).", "coords": [ { "x": 4.0, "y": 87.87, "width": 143.79, "height": 198.49 }, { "x": 4.0, "y": 73.69, "width": 155.25, "height": 193.06 }, { "x": 4.0, "y": 204.91, "width": 166.71, "height": 81.41 }, { "x": 4.0, "y": 73.69, "width": 178.17, "height": 27.65 }, { "x": 4.0, "y": 167.34, "width": 178.17, "height": 118.99 }, { "x": 4.0, "y": 73.69, "width": 189.63, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 201.09, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 212.55, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 224.01, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 235.47, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 246.93, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 258.39, "height": 156.47 }, { "x": 4.0, "y": 95.12, "width": 269.85, "height": 4.29 } ], "refs": [ { "type": "bibr", "target": "#b23", "text": "(Hu et al., 2022;", "offset_start": 96, "offset_end": 113 }, { "type": "bibr", "target": "#b46", "text": "Shokri et al., 2017)", "offset_start": 113, "offset_end": 133 }, { "type": "bibr", "target": "#b22", "text": "(He et al., 2019)", "offset_start": 162, "offset_end": 179 }, { "type": "bibr", "target": "#b57", "text": "(Zhang et al., 2020)", "offset_start": 564, "offset_end": 584 } ], "head_section": "Secure Federated Learning" }, { "id": "p_fe365074", "text": "Several FL frameworks already support fully homomorphic encryption. For instance, the NVFLARE FL framework (NVIDIA, 2023) developed by NVIDIA implements the CKKS cryptosystem using the TenSEAL library (Benaissa et al., 2021).", "coords": [ { "x": 4.0, "y": 87.87, "width": 281.31, "height": 198.48 }, { "x": 4.0, "y": 73.69, "width": 292.77, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 304.23, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 315.69, "height": 212.63 }, { "x": 4.0, "y": 73.69, "width": 327.14, "height": 83.41 }, { "x": 4.0, "y": 246.64, "width": 327.14, "height": 4.29 } ], "refs": [ { "type": "bibr", "target": "#b4", "text": "(Benaissa et al., 2021)", "offset_start": 201, "offset_end": 224 } ], "head_section": "Secure Federated Learning" }, { "id": "p_75647b58", "text": "For the remainder of this paper, following the approach proposed in (Zhang et al., 2020), we consider a Fully Homomorphic Encryption (FHE) cryptosystem characterized by an encryption function Encrypt, a corresponding decryption function Decrypt, and a pair of public and private keys (Pub key , Priv key ). Clients encrypt their models M k t using E and the public key Pub key before transmission to the server.", "coords": [ { "x": 4.0, "y": 87.87, "width": 338.6, "height": 198.48 }, { "x": 4.0, "y": 73.69, "width": 350.06, "height": 76.85 }, { "x": 4.0, "y": 231.15, "width": 350.06, "height": 55.2 }, { "x": 4.0, "y": 73.69, "width": 361.52, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 372.98, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 384.44, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 395.29, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 408.68, "height": 132.85 }, { "x": 4.0, "y": 206.97, "width": 406.86, "height": 3.26 }, { "x": 4.0, "y": 206.38, "width": 412.94, "height": 2.04 }, { "x": 4.0, "y": 215.71, "width": 408.27, "height": 70.61 }, { "x": 4.0, "y": 73.69, "width": 420.14, "height": 212.66 } ], "refs": [ { "type": "bibr", "target": "#b57", "text": "(Zhang et al., 2020)", "offset_start": 68, "offset_end": 88 } ], "head_section": "Secure Federated Learning" }, { "id": "p_b137a493", "text": "An encrypted model is denoted as E(M k t ), meaning all parameters {w 1 , . . . , w L } of M are encrypted as {E (w 1 ), . . . , E(w L )}. Leveraging HE, the server can aggregate these encrypted models, for instance, using FedAvg (McMahan et al., 2017). When clients receive the encrypted model E(M G t+1 ), they decrypt it using Decrypt and the private key Priv key to continue training on M G t+1 . The CKKS cryptosystem is particularly suitable for FL due to its computational and communication efciency, making it an optimal choice for addressing the challenges of FL (Miao et al., 2022).", "coords": [ { "x": 4.0, "y": 73.69, "width": 431.1, "height": 167.61 }, { "x": 4.0, "y": 237.45, "width": 437.18, "height": 2.04 }, { "x": 4.0, "y": 241.93, "width": 432.31, "height": 44.38 }, { "x": 4.0, "y": 73.69, "width": 443.77, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 455.22, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 467.3, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 478.76, "height": 47.79 }, { "x": 4.0, "y": 221.76, "width": 478.76, "height": 64.58 }, { "x": 4.0, "y": 73.69, "width": 488.39, "height": 145.21 }, { "x": 4.0, "y": 213.02, "width": 495.05, "height": 11.96 }, { "x": 4.0, "y": 225.48, "width": 489.6, "height": 60.85 }, { "x": 4.0, "y": 73.69, "width": 501.68, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 514.34, "height": 79.58 }, { "x": 4.0, "y": 153.69, "width": 512.51, "height": 5.31 }, { "x": 4.0, "y": 153.11, "width": 519.16, "height": 11.96 }, { "x": 4.0, "y": 165.58, "width": 514.34, "height": 120.76 }, { "x": 4.0, "y": 73.69, "width": 525.8, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 537.26, "height": 212.65 }, { "x": 4.0, "y": 73.69, "width": 548.72, "height": 183.44 }, { "x": 4.0, "y": 119.48, "width": 560.18, "height": 4.29 } ], "refs": [ { "type": "bibr", "target": "#b38", "text": "(McMahan et al., 2017)", "offset_start": 230, "offset_end": 252 }, { "type": "bibr", "target": "#b40", "text": "(Miao et al., 2022)", "offset_start": 573, "offset_end": 592 } ], "head_section": "Secure Federated Learning" }, { "id": "p_9de029fc", "text": "Inspired by multimedia watermarking (Bas et al., 2016), DNN watermarking is a promised solution to prove ownership of ML models (Sun et al., 2023;Boenisch, 2021;Bellafqira and Coatrieux, 2022;Li et al., 2021b;Lukas et al., 2022;Xue et al., 2021). This technique involves introducing a secret modication into the model's parameters or behavior to embed a watermark (a secret message), which the owner can later use to verify the presence of the embedded watermark. We distinguish two types of watermark-ing according to the setting: Black-Box and White-Box. Black-Box watermarking consists of embedding the secret into the behavior of the model. The verication process can then be performed without having full access to the model. In this article, we focus on the White-Box setting. This latter aims to hide the secret in the model by assuming that we have access to its parameters during the verication stage. Usually, the goal is to insert a robust watermark (a binary string b) into the model's parameters while preserving the DNN model performance in the main task.", "coords": [ { "x": 4.0, "y": 73.69, "width": 608.5, "height": 159.11 }, { "x": 4.0, "y": 95.12, "width": 619.96, "height": 191.21 }, { "x": 4.0, "y": 73.69, "width": 631.42, "height": 133.47 }, { "x": 4.0, "y": 282.05, "width": 654.34, "height": 4.29 }, { "x": 4.0, "y": 73.69, "width": 665.8, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 677.26, "height": 212.66 }, { "x": 4.0, "y": 73.69, "width": 688.72, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 700.18, "height": 212.64 }, { "x": 4.0, "y": 73.69, "width": 711.64, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 97.96, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 109.41, "height": 212.63 }, { "x": 4.0, "y": 309.04, "width": 120.87, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 132.33, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 143.79, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 155.25, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 166.71, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 178.17, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 189.63, "height": 212.63 }, { "x": 4.0, "y": 309.04, "width": 201.09, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 212.55, "height": 184.84 } ], "refs": [ { "type": "bibr", "target": "#b0", "text": "(Bas et al., 2016)", "offset_start": 36, "offset_end": 54 }, { "type": "bibr", "target": "#b47", "text": "(Sun et al., 2023;", "offset_start": 128, "offset_end": 146 }, { "type": "bibr", "target": "#b6", "text": "Boenisch, 2021;", "offset_start": 146, "offset_end": 161 }, { "type": "bibr", "target": "#b2", "text": "Bellafqira and Coatrieux, 2022;", "offset_start": 161, "offset_end": 192 }, { "type": "bibr", "target": "", "text": "Li et al., 2021b;", "offset_start": 192, "offset_end": 209 }, { "type": "bibr", "target": "#b36", "text": "Lukas et al., 2022;", "offset_start": 209, "offset_end": 228 }, { "type": "bibr", "target": "#b53", "text": "Xue et al., 2021)", "offset_start": 228, "offset_end": 245 } ], "head_section": "FL Watermarking" }, { "id": "p_00e3c62c", "text": "Despite great results in centralized training, DNN watermarking solutions are hardly utilizable in FL. Tekgul et al. (Tekgul et al., 2021) illustrates well the fact that using existing centralized watermarking techniques in FL is possible in two ways: embedding the watermark before the FL or at the end. However, both approaches risk the model being redistributed by a malicious client with the watermark either absent or barely present. Addressing DNN watermarking within the FL context introduces new constraints and security considerations (Lansari et al., 2023). Based on these considerations, two main strategies for embedding have been explored. The rst allows each client k to watermark their local model M k t , treating the server as honest but curious. Various techniques supporting client-side embedding have been proposed (Li et al., 2022;Yang et al., 2023;Yang et al., 2022;Liu et al., 2021;Liang and Wang, 2023), which are compatible with encrypting updates before transmission to the server, as indicated in Table 1. Nevertheless, client-side watermarking faces several drawbacks:", "coords": [ { "x": 4.0, "y": 323.22, "width": 224.01, "height": 198.47 }, { "x": 4.0, "y": 309.04, "width": 235.47, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 246.93, "height": 53.39 }, { "x": 4.0, "y": 461.57, "width": 246.93, "height": 60.12 }, { "x": 4.0, "y": 309.04, "width": 258.39, "height": 212.63 }, { "x": 4.0, "y": 309.04, "width": 269.85, "height": 212.63 }, { "x": 4.0, "y": 309.04, "width": 281.31, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 292.77, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 304.23, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 315.69, "height": 212.63 }, { "x": 4.0, "y": 309.04, "width": 327.14, "height": 212.65 }, { "x": 4.0, "y": 309.04, "width": 338.6, "height": 92.22 }, { "x": 4.0, "y": 488.02, "width": 338.6, "height": 33.65 }, { "x": 4.0, "y": 309.04, "width": 350.06, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 361.52, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 372.98, "height": 171.75 }, { "x": 4.0, "y": 481.22, "width": 371.16, "height": 3.26 }, { "x": 4.0, "y": 480.64, "width": 377.24, "height": 2.04 }, { "x": 4.0, "y": 485.12, "width": 372.98, "height": 36.55 }, { "x": 4.0, "y": 309.04, "width": 384.44, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 395.9, "height": 212.64 }, { "x": 4.0, "y": 473.93, "width": 418.82, "height": 47.77 }, { "x": 4.0, "y": 309.04, "width": 430.28, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 441.74, "height": 166.19 }, { "x": 4.0, "y": 483.06, "width": 441.74, "height": 38.64 }, { "x": 4.0, "y": 309.04, "width": 453.2, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 464.66, "height": 25.44 } ], "refs": [ { "type": "bibr", "target": "#b48", "text": "(Tekgul et al., 2021)", "offset_start": 117, "offset_end": 138 }, { "type": "bibr", "target": "#b27", "text": "(Lansari et al., 2023)", "offset_start": 544, "offset_end": 566 }, { "type": "bibr", "target": "#b29", "text": "(Li et al., 2022;", "offset_start": 836, "offset_end": 853 }, { "type": "bibr", "target": "#b55", "text": "Yang et al., 2023;", "offset_start": 853, "offset_end": 871 }, { "type": "bibr", "target": "#b54", "text": "Yang et al., 2022;", "offset_start": 871, "offset_end": 889 }, { "type": "bibr", "target": "#b34", "text": "Liu et al., 2021;", "offset_start": 889, "offset_end": 906 }, { "type": "bibr", "target": "#b33", "text": "Liang and Wang, 2023)", "offset_start": 906, "offset_end": 927 } ], "head_section": "FL Watermarking" }, { "id": "p_a12125e3", "text": "1. Client Selection: This approach involves selecting a subset of clients in each round for communication efciency, yet the effectiveness of the embedding process in this context remains unproven.", "coords": [ { "x": 4.0, "y": 311.53, "width": 481.1, "height": 210.17 }, { "x": 4.0, "y": 323.99, "width": 492.56, "height": 197.7 }, { "x": 4.0, "y": 323.99, "width": 504.02, "height": 197.7 }, { "x": 4.0, "y": 323.99, "width": 515.48, "height": 185.23 } ], "refs": [], "head_section": "FL Watermarking" }, { "id": "p_ba8cc86a", "text": "2. Cross-Device Setting: Implementing client-side watermarking can be challenging when K ≥ 10 10 and devices have limited computational power.", "coords": [ { "x": 4.0, "y": 311.53, "width": 530.93, "height": 210.17 }, { "x": 4.0, "y": 323.99, "width": 542.38, "height": 189.81 }, { "x": 4.0, "y": 513.83, "width": 540.54, "height": 7.35 }, { "x": 4.0, "y": 323.99, "width": 553.84, "height": 186.79 } ], "refs": [], "head_section": "FL Watermarking" }, { "id": "p_0499ebc8", "text": "3. Multiple Watermarks: With multiple clients attempting to embed their binary strings, the technique must prevent conicts and interference between the various watermarks.", "coords": [ { "x": 4.0, "y": 311.53, "width": 569.29, "height": 210.15 }, { "x": 4.0, "y": 323.99, "width": 580.75, "height": 197.7 }, { "x": 4.0, "y": 323.99, "width": 592.21, "height": 197.71 }, { "x": 4.0, "y": 323.99, "width": 603.67, "height": 121.38 } ], "refs": [], "head_section": "FL Watermarking" }, { "id": "p_d5d9aa1c", "text": "Given these challenges, server-side watermarking presents a more viable solution. In this context, the server embeds the watermark post-aggregation. Several server-side techniques have been developed (Tekgul et al., 2021;Shao et al., 2024;Chen et al., 2023a;Li et al., 2021a;Yu et al., 2023); however, as shown in Table 1, none of the current state-of-the-art watermarking solutions incorporate HE (Homomorphic Encryption) as a privacy measure to prevent the", "coords": [ { "x": 4.0, "y": 323.22, "width": 620.11, "height": 198.47 }, { "x": 4.0, "y": 309.04, "width": 631.57, "height": 212.64 }, { "x": 4.0, "y": 309.04, "width": 643.03, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 654.49, "height": 212.65 }, { "x": 4.0, "y": 467.24, "width": 677.41, "height": 54.44 }, { "x": 4.0, "y": 309.04, "width": 688.87, "height": 60.99 }, { "x": 4.0, "y": 376.59, "width": 688.87, "height": 145.09 }, { "x": 4.0, "y": 309.04, "width": 700.33, "height": 212.66 }, { "x": 4.0, "y": 309.04, "width": 711.79, "height": 212.66 } ], "refs": [ { "type": "bibr", "target": "#b48", "text": "(Tekgul et al., 2021;", "offset_start": 200, "offset_end": 221 }, { "type": "bibr", "target": "#b45", "text": "Shao et al., 2024;", "offset_start": 221, "offset_end": 239 }, { "type": "bibr", "target": "", "text": "Chen et al., 2023a;", "offset_start": 239, "offset_end": 258 }, { "type": "bibr", "target": "", "text": "Li et al., 2021a;", "offset_start": 258, "offset_end": 275 }, { "type": "bibr", "target": "#b56", "text": "Yu et al., 2023)", "offset_start": 275, "offset_end": 291 } ], "head_section": "FL Watermarking" }, { "id": "p_ba134563", "text": "In this section, we present an overview of our new white-box watermarking modulation in the context of Homomorphic Encrypted Federated Learning. We then detail how the embedding and extraction processes are conducted on the context of a single encrypted model before generalizing to the context of homomorphic encrypted federated learning.", "coords": [ { "x": 5.0, "y": 73.69, "width": 269.46, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 280.92, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 292.38, "height": 212.65 }, { "x": 5.0, "y": 73.69, "width": 303.84, "height": 212.65 }, { "x": 5.0, "y": 73.69, "width": 315.3, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 326.76, "height": 212.63 }, { "x": 5.0, "y": 73.69, "width": 338.22, "height": 174.88 } ], "refs": [], "head_section": "PROPOSED METHOD" }, { "id": "p_2f9aa955", "text": "In this subsection, we introduce the rst watermarking modulation compatible with homomorphically encrypted DNN models in the context of Federated Learning (FL). Our approach relies on existing FL White-Box watermarking algorithms, adapting them to function with encrypted parameters using Fully Homomorphic Encryption (FHE). Our contributions include the redesign of the embedding processes by approximating non-polynomial functions with lowdegree polynomials. Once the model is watermarked, it is scattered to clients for training on their private data (Step 2 in Figure 1). After the clients' models are updated, each client encrypts its model and sends it back to the server, which gathers/aggregates them to form the new global model (Step 3 in Figure 1). The server then watermarks the aggregated encrypted model using our proposed modulation (Step 4 in Figure 1) and scatters it back to the clients for a new round of training (Step 5 in Figure 1). This cycle of scattering, local training by clients, gathering, and watermarking by the server is repeated until the global model achieves convergence.", "coords": [ { "x": 5.0, "y": 73.69, "width": 386.54, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 398.0, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 409.46, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 420.92, "height": 212.62 }, { "x": 5.0, "y": 73.69, "width": 432.38, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 443.84, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 455.3, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 466.76, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 478.22, "height": 212.63 }, { "x": 5.0, "y": 73.69, "width": 489.68, "height": 80.66 }, { "x": 5.0, "y": 87.87, "width": 604.28, "height": 198.48 }, { "x": 5.0, "y": 73.69, "width": 615.74, "height": 212.65 }, { "x": 5.0, "y": 73.69, "width": 627.19, "height": 37.23 }, { "x": 5.0, "y": 118.04, "width": 627.19, "height": 168.31 }, { "x": 5.0, "y": 73.69, "width": 638.65, "height": 212.64 }, { "x": 5.0, "y": 73.69, "width": 650.11, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 661.57, "height": 148.08 }, { "x": 5.0, "y": 229.08, "width": 661.57, "height": 57.25 }, { "x": 5.0, "y": 73.69, "width": 673.03, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 684.49, "height": 185.02 }, { "x": 5.0, "y": 265.34, "width": 684.49, "height": 21.0 }, { "x": 5.0, "y": 73.69, "width": 695.95, "height": 212.66 }, { "x": 5.0, "y": 73.69, "width": 707.41, "height": 80.86 }, { "x": 5.0, "y": 160.26, "width": 707.41, "height": 126.08 }, { "x": 5.0, "y": 309.04, "width": 195.72, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 207.18, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 218.64, "height": 52.09 } ], "refs": [], "head_section": "Overview of the Proposed Method" }, { "id": "p_f76dddb9", "text": "For the sake of simplicity, we rst explain how to embed our White-Box watermark in an encrypted model that is supposed to be in a centralized setting. Then we generalize the algorithm to K clients in a client-server FL framework. The following embedding technique is inspired by the White-Box insertion proposed by (Li et al., 2022;Shao et al., 2024) and can be viewed as an extension of this type of technique in the encrypted domain.", "coords": [ { "x": 5.0, "y": 323.22, "width": 230.1, "height": 198.47 }, { "x": 5.0, "y": 309.04, "width": 241.56, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 253.02, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 264.48, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 275.94, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 287.4, "height": 212.63 }, { "x": 5.0, "y": 309.04, "width": 298.85, "height": 49.88 }, { "x": 5.0, "y": 507.32, "width": 298.85, "height": 14.37 }, { "x": 5.0, "y": 309.04, "width": 310.31, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 321.77, "height": 123.68 } ], "refs": [ { "type": "bibr", "target": "#b29", "text": "(Li et al., 2022;", "offset_start": 316, "offset_end": 333 }, { "type": "bibr", "target": "#b45", "text": "Shao et al., 2024)", "offset_start": 333, "offset_end": 351 } ], "head_section": "Overview of the Proposed Method" }, { "id": "p_c790e6ee", "text": "The White-Box watermarking process aims to embed a watermark b ∈ {-1, 1} N , coded into N bits, into the model's parameters. To do so, we dene an extraction function Ext(.) that will extract a subset of the model parameters, based on a secret key K ext , in which we embed the watermark. Then we dene a projection function Pro j(.) that will project the selected parameters into the watermark space using a secret key K pro j . During the watermark verication stage, these two functions will be used to recover the embedded watermark b.", "coords": [ { "x": 5.0, "y": 309.04, "width": 369.8, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 380.65, "height": 104.32 }, { "x": 5.0, "y": 413.39, "width": 379.44, "height": 4.9 }, { "x": 5.0, "y": 419.25, "width": 381.26, "height": 102.44 }, { "x": 5.0, "y": 309.04, "width": 392.72, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 404.18, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 415.64, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 427.1, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 438.56, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 450.02, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 461.48, "height": 212.63 }, { "x": 5.0, "y": 309.04, "width": 472.94, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 484.4, "height": 95.9 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "p_ba6f55c6", "text": "In the sequel, we note by E(M) (E (b)), the homomorphic encrypted version of the model M (the watermark b) where all its parameters (components) are encrypted element-wise by an FHE, respectively. To embed the watermark b in the model M from its encrypted version E(M) without decrypting it. And as stated previously, the rst step consists of dening where we want to insert b in M. To do so, we dene Ext(E (M), K ext ) as the function that secretly returns, based on the secret key K ext , the encrypted parameters E(w) in which the watermark will be embedded, the K ext could be the positions of the parameters selected to carry the watermark:", "coords": [ { "x": 5.0, "y": 323.22, "width": 495.24, "height": 198.48 }, { "x": 5.0, "y": 309.04, "width": 507.32, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 518.78, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 530.23, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 541.69, "height": 212.63 }, { "x": 5.0, "y": 309.04, "width": 552.74, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 564.61, "height": 212.63 }, { "x": 5.0, "y": 309.04, "width": 576.07, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 586.92, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 598.99, "height": 212.64 }, { "x": 5.0, "y": 309.04, "width": 610.04, "height": 212.66 }, { "x": 5.0, "y": 309.04, "width": 621.91, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 633.37, "height": 93.13 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_2f781e0a", "text": "Ext(E (M), K ext ) = E(w) (1)", "coords": [ { "x": 5.0, "y": 365.07, "width": 650.44, "height": 156.6 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_ce699504", "text": "The second step consists on dening Pro j(E (w), K pro j ), a projection function that maps the extracted parameters into the watermark space \"{-1, 1} N \". This function is parameterized by a secret key K pro j . Most of White-Box watermarking", "coords": [ { "x": 5.0, "y": 309.04, "width": 668.73, "height": 15.48 }, { "x": 5.0, "y": 340.39, "width": 668.73, "height": 27.66 }, { "x": 5.0, "y": 383.91, "width": 668.73, "height": 16.03 }, { "x": 5.0, "y": 415.82, "width": 668.73, "height": 31.52 }, { "x": 5.0, "y": 463.23, "width": 668.73, "height": 9.93 }, { "x": 5.0, "y": 489.05, "width": 668.73, "height": 32.62 }, { "x": 5.0, "y": 309.04, "width": 679.58, "height": 212.65 }, { "x": 5.0, "y": 309.04, "width": 691.65, "height": 212.63 }, { "x": 5.0, "y": 309.04, "width": 703.11, "height": 60.84 }, { "x": 5.0, "y": 369.91, "width": 701.29, "height": 4.9 }, { "x": 5.0, "y": 375.77, "width": 703.11, "height": 145.91 }, { "x": 5.0, "y": 309.04, "width": 714.57, "height": 212.63 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "p_3ee3e641", "text": "Client 1 Client 2 Client 3 Encrypt Encrypt Encrypt Server Watermark Re-Embedding Server Client 1 Client 2 Client 3 Decrypt Decrypt Decrypt Client 1 Client 2 Client 3 Local Training Step 1 & 2 Step 3 & 4 Step 5 : Encrypted DNN : Freshly Watermarked DNN Local Training Server Watermark Pre-Embedding Local Training : Freshly Trained DNN schemes (Uchida et al., 2017;Li et al., 2022;Shao et al., 2024) consider K pro j as random matrix of size m × N where m = |E (w)| is the size of the extracted parameters and N = |b| is the size of the watermark. The projection function is dened as follows:", "coords": [ { "x": 6.0, "y": 238.97, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 288.11, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 337.24, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 242.12, "width": 178.52, "height": 11.65 }, { "x": 6.0, "y": 291.25, "width": 178.52, "height": 11.65 }, { "x": 6.0, "y": 340.39, "width": 178.52, "height": 11.65 }, { "x": 6.0, "y": 312.8, "width": 112.08, "height": 19.22 }, { "x": 6.0, "y": 312.09, "width": 129.05, "height": 20.3 }, { "x": 6.0, "y": 308.32, "width": 134.58, "height": 27.84 }, { "x": 6.0, "y": 454.06, "width": 112.08, "height": 19.22 }, { "x": 6.0, "y": 392.51, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 441.64, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 490.78, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 395.56, "width": 178.52, "height": 11.85 }, { "x": 6.0, "y": 444.69, "width": 178.52, "height": 11.85 }, { "x": 6.0, "y": 493.82, "width": 178.52, "height": 11.85 }, { "x": 6.0, "y": 86.67, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 135.8, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 184.93, "width": 197.19, "height": 17.63 }, { "x": 6.0, "y": 124.68, "width": 174.0, "height": 23.58 }, { "x": 6.0, "y": 77.91, "width": 108.23, "height": 24.71 }, { "x": 6.0, "y": 230.84, "width": 108.23, "height": 24.71 }, { "x": 6.0, "y": 384.83, "width": 108.23, "height": 14.58 }, { "x": 6.0, "y": 201.74, "width": 223.11, "height": 34.61 }, { "x": 6.0, "y": 268.38, "width": 223.73, "height": 56.63 }, { "x": 6.0, "y": 76.47, "width": 174.0, "height": 23.58 }, { "x": 6.0, "y": 160.49, "width": 112.08, "height": 19.22 }, { "x": 6.0, "y": 160.44, "width": 129.05, "height": 20.3 }, { "x": 6.0, "y": 156.73, "width": 134.58, "height": 28.87 }, { "x": 6.0, "y": 173.81, "width": 174.0, "height": 23.58 }, { "x": 6.0, "y": 355.28, "width": 223.11, "height": 45.41 }, { "x": 6.0, "y": 73.69, "width": 300.75, "height": 33.74 }, { "x": 6.0, "y": 125.34, "width": 312.21, "height": 160.98 }, { "x": 6.0, "y": 73.69, "width": 323.05, "height": 212.63 }, { "x": 6.0, "y": 73.69, "width": 334.51, "height": 212.66 }, { "x": 6.0, "y": 73.69, "width": 346.59, "height": 180.75 } ], "refs": [ { "type": "bibr", "target": "#b49", "text": "(Uchida et al., 2017;", "offset_start": 343, "offset_end": 364 }, { "type": "bibr", "target": "#b29", "text": "Li et al., 2022;", "offset_start": 364, "offset_end": 380 }, { "type": "bibr", "target": "#b45", "text": "Shao et al., 2024)", "offset_start": 380, "offset_end": 398 } ], "head_section": "Watermark an Encrypted Model" }, { "id": "f_9833ef25", "text": "Pro j (E (w), K pro j ) = E(w)K pro j = E(b pro j ) (2", "coords": [ { "x": 6.0, "y": 114.78, "width": 375.86, "height": 167.68 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "2" }, { "id": "f_9684d451", "text": ")", "coords": [ { "x": 6.0, "y": 282.46, "width": 392.8, "height": 3.86 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_ea8e7499", "text": "Note that the multiplication in Equation 2", "coords": [ { "x": 6.0, "y": 87.87, "width": 411.24, "height": 160.86 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_f85a2811", "text": "E = min w d(E (b), E(b pro j )) (3", "coords": [ { "x": 6.0, "y": 125.79, "width": 512.05, "height": 156.68 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "3" }, { "id": "f_dd1a2ff0", "text": ")", "coords": [ { "x": 6.0, "y": 282.47, "width": 514.37, "height": 3.87 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_80691372", "text": "In our work, we utilize the Hinge-loss (Fan et al., 2019) as a distance function. This is used to measure the distance between b and b pro j as follow:", "coords": [ { "x": 6.0, "y": 87.87, "width": 533.25, "height": 152.79 }, { "x": 6.0, "y": 99.59, "width": 544.71, "height": 186.75 }, { "x": 6.0, "y": 73.69, "width": 556.17, "height": 114.82 }, { "x": 6.0, "y": 189.09, "width": 554.35, "height": 13.23 }, { "x": 6.0, "y": 205.5, "width": 556.17, "height": 39.33 } ], "refs": [ { "type": "bibr", "target": "#b20", "text": "(Fan et al., 2019)", "offset_start": 39, "offset_end": 57 } ], "head_section": "Watermark an Encrypted Model" }, { "id": "f_3ecdca7a", "text": "d(E (b), E(b pro j )) = N ∑ i=1 ReLU(µ -E(b i )E (b pro j i )) (4", "coords": [ { "x": 6.0, "y": 78.27, "width": 583.18, "height": 204.21 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "4" }, { "id": "f_4033546b", "text": ")", "coords": [ { "x": 6.0, "y": 282.48, "width": 612.4, "height": 3.87 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_ba8fa3cd", "text": "Where µ is set to 1. The ReLU (Li and Yuan, 2017) function is not polynomial and therefore cannot be efciently computed using state-of-the-art FHE (some of the recent works on FHE focuses on solving this problem, ex. using programmable bootstrapping (Chillotti et al., 2020;Chillotti et al., 2021)). This issue is well-known in the eld of secure encrypted neural networks (Chen et al., 2018) (Bellafqira et al., 2019). The problem leveraged by ReLU (or any nonpolynomial function) can be solved by approximating this latter by its a-degree polynomial approximation. In this context, we take the second-degree polynomial approximation from Gottemukkula et al. (Gottemukkula, 2019) which is represented in Figure 2 and is dened as:", "coords": [ { "x": 6.0, "y": 87.87, "width": 630.6, "height": 136.66 }, { "x": 6.0, "y": 100.35, "width": 642.06, "height": 186.0 }, { "x": 6.0, "y": 73.69, "width": 653.52, "height": 212.65 }, { "x": 6.0, "y": 73.69, "width": 664.98, "height": 212.64 }, { "x": 6.0, "y": 73.69, "width": 676.44, "height": 212.63 }, { "x": 6.0, "y": 253.37, "width": 687.9, "height": 32.97 }, { "x": 6.0, "y": 73.69, "width": 699.36, "height": 212.62 }, { "x": 6.0, "y": 73.69, "width": 710.82, "height": 64.04 }, { "x": 6.0, "y": 330.47, "width": 300.75, "height": 191.21 }, { "x": 6.0, "y": 309.04, "width": 312.21, "height": 212.64 }, { "x": 6.0, "y": 309.04, "width": 323.67, "height": 212.65 }, { "x": 6.0, "y": 309.04, "width": 335.13, "height": 212.66 }, { "x": 6.0, "y": 309.04, "width": 346.59, "height": 212.64 }, { "x": 6.0, "y": 309.04, "width": 358.04, "height": 187.8 }, { "x": 6.0, "y": 507.32, "width": 358.04, "height": 14.37 }, { "x": 6.0, "y": 309.04, "width": 369.5, "height": 52.0 } ], "refs": [ { "type": "bibr", "target": "#b32", "text": "(Li and Yuan, 2017)", "offset_start": 30, "offset_end": 49 }, { "type": "bibr", "target": "#b13", "text": "(Chillotti et al., 2020;", "offset_start": 251, "offset_end": 275 }, { "type": "bibr", "target": "#b14", "text": "Chillotti et al., 2021)", "offset_start": 275, "offset_end": 298 }, { "type": "bibr", "target": "#b9", "text": "(Chen et al., 2018)", "offset_start": 374, "offset_end": 393 }, { "type": "bibr", "target": "#b3", "text": "(Bellafqira et al., 2019)", "offset_start": 394, "offset_end": 419 } ], "head_section": "Watermark an Encrypted Model" }, { "id": "f_51350ccb", "text": "σ(x) = 0.09x 2 + 0.5x + 0.47 (5", "coords": [ { "x": 6.0, "y": 359.06, "width": 390.08, "height": 158.75 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "5" }, { "id": "f_7f0ce8a0", "text": ")", "coords": [ { "x": 6.0, "y": 517.81, "width": 392.42, "height": 3.86 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_8e2b1ffd", "text": "Replacing ReLU by σ results in the following distance for our loss term :", "coords": [ { "x": 6.0, "y": 323.22, "width": 407.22, "height": 198.48 }, { "x": 6.0, "y": 309.04, "width": 419.33, "height": 94.92 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_dfe37b99", "text": "d(E (b), E(b pro j )) = N ∑ i=1 σ(µ -E(b i )E (b pro j i )) (6)", "coords": [ { "x": 6.0, "y": 316.98, "width": 446.33, "height": 204.71 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_1a5e5370", "text": "σ is a good approximation for x ∈ [-5; 5]. To have x as close as possible to this interval, we add an L 2 -norm regularisation term on the parameters E(w)", "coords": [ { "x": 6.0, "y": 309.04, "width": 481.33, "height": 212.64 }, { "x": 6.0, "y": 309.04, "width": 493.44, "height": 184.08 }, { "x": 6.0, "y": 493.16, "width": 491.6, "height": 3.68 }, { "x": 6.0, "y": 497.35, "width": 493.44, "height": 24.31 }, { "x": 6.0, "y": 309.04, "width": 504.49, "height": 173.52 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_97367ea4", "text": "E L 2 (w) = m ∑ h=0 E(w h ) 2 = E( m ∑ h=0 w 2 h ) (7", "coords": [ { "x": 6.0, "y": 372.13, "width": 530.32, "height": 145.7 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "7" }, { "id": "f_423f17fa", "text": ")", "coords": [ { "x": 6.0, "y": 517.83, "width": 569.54, "height": 3.87 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_559b7fa8", "text": "Finally, we have the following loss function to embed the watermark:", "coords": [ { "x": 6.0, "y": 323.22, "width": 595.83, "height": 198.48 }, { "x": 6.0, "y": 309.04, "width": 607.29, "height": 76.81 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_56a94b56", "text": "L = d(E (b), E(b pro j )) + λ 2 E L 2 (w) = N ∑ i=1 σ(µ -E(b) i E(b pro j ) i ) + λ 2 E L 2 (w) (8)", "coords": [ { "x": 6.0, "y": 324.57, "width": 622.17, "height": 197.13 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_c58b4da4", "text": "where λ is a hyper-parameter to control the impact of the L 2 -norm on the model parameters (aka the weight decay parameter (Loshchilov and Hutter, 2017)).", "coords": [ { "x": 6.0, "y": 309.04, "width": 682.91, "height": 212.64 }, { "x": 6.0, "y": 309.04, "width": 695.01, "height": 20.1 }, { "x": 6.0, "y": 329.18, "width": 693.17, "height": 3.68 }, { "x": 6.0, "y": 333.37, "width": 695.01, "height": 188.31 }, { "x": 6.0, "y": 309.04, "width": 706.47, "height": 65.56 }, { "x": 6.0, "y": 495.26, "width": 706.47, "height": 8.29 } ], "refs": [ { "type": "bibr", "target": "#b35", "text": "(Loshchilov and Hutter, 2017)", "offset_start": 124, "offset_end": 153 } ], "head_section": "Watermark an Encrypted Model" }, { "id": "p_171d1aea", "text": "To optimize the equation 8, and update the extracted parameters, we use the gradient descent (Du et al., 2019) which is given as:", "coords": [ { "x": 7.0, "y": 87.87, "width": 97.96, "height": 198.47 }, { "x": 7.0, "y": 73.69, "width": 109.41, "height": 193.72 }, { "x": 7.0, "y": 123.79, "width": 120.87, "height": 71.25 } ], "refs": [ { "type": "bibr", "target": "#b17", "text": "(Du et al., 2019)", "offset_start": 93, "offset_end": 110 } ], "head_section": "Watermark an Encrypted Model" }, { "id": "f_714b5f55", "text": "E(w t+1 ) = E(w t ) -α ∂L ∂w t (9", "coords": [ { "x": 7.0, "y": 127.24, "width": 136.62, "height": 155.24 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "9" }, { "id": "f_9755a165", "text": ")", "coords": [ { "x": 7.0, "y": 282.48, "width": 144.01, "height": 3.87 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_f88bd491", "text": "where α is the learning rate and w t+1 represents the updated parameters from w t . The partial derivative in equation 9 is feasible because the loss function L is homomorphically encrypted.", "coords": [ { "x": 7.0, "y": 73.69, "width": 165.78, "height": 141.18 }, { "x": 7.0, "y": 214.71, "width": 164.6, "height": 11.96 }, { "x": 7.0, "y": 230.48, "width": 166.42, "height": 55.84 }, { "x": 7.0, "y": 73.69, "width": 177.88, "height": 108.84 }, { "x": 7.0, "y": 182.37, "width": 176.06, "height": 2.04 }, { "x": 7.0, "y": 185.42, "width": 177.88, "height": 100.91 }, { "x": 7.0, "y": 73.69, "width": 188.93, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 200.8, "height": 115.11 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "p_ccc0fb0f", "text": "The watermark retrieval process is straightforward and it requires the knowledge of the secret keys (K ext , K pro j ). Let us consider a plain-text suspicious model M * , to extract the watermark, the rst step consists of computing:", "coords": [ { "x": 7.0, "y": 87.87, "width": 212.26, "height": 198.48 }, { "x": 7.0, "y": 73.69, "width": 223.72, "height": 212.66 }, { "x": 7.0, "y": 73.69, "width": 235.18, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 246.66, "height": 8.27 }, { "x": 7.0, "y": 82.39, "width": 245.18, "height": 3.68 }, { "x": 7.0, "y": 86.58, "width": 246.64, "height": 199.76 }, { "x": 7.0, "y": 73.69, "width": 258.1, "height": 45.39 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_175fb55e", "text": "b pro j = Pro j (Ext (M * , K ext ) , K pro j ) (10", "coords": [ { "x": 7.0, "y": 109.38, "width": 273.05, "height": 172.81 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "10" }, { "id": "f_989538d7", "text": ")", "coords": [ { "x": 7.0, "y": 282.19, "width": 275.38, "height": 4.14 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_67a7f919", "text": "where b pro j is the reconstructed watermark from M * where its components are not necessarily belongs to {-1, 1}. To get a watermark with the same range as the embedded watermark, we threshold b pro j based on the sign of its components using the function sgn(b pro j ) = b ext where", "coords": [ { "x": 7.0, "y": 73.69, "width": 294.04, "height": 32.39 }, { "x": 7.0, "y": 106.66, "width": 292.21, "height": 13.23 }, { "x": 7.0, "y": 123.66, "width": 294.04, "height": 158.09 }, { "x": 7.0, "y": 282.17, "width": 292.58, "height": 3.68 }, { "x": 7.0, "y": 73.69, "width": 305.5, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 316.34, "height": 212.63 }, { "x": 7.0, "y": 73.69, "width": 328.42, "height": 171.6 }, { "x": 7.0, "y": 245.86, "width": 326.59, "height": 13.23 }, { "x": 7.0, "y": 263.67, "width": 328.42, "height": 22.68 }, { "x": 7.0, "y": 73.69, "width": 339.87, "height": 212.62 }, { "x": 7.0, "y": 73.69, "width": 351.35, "height": 22.68 }, { "x": 7.0, "y": 96.93, "width": 349.51, "height": 13.23 }, { "x": 7.0, "y": 110.85, "width": 350.72, "height": 21.0 }, { "x": 7.0, "y": 131.87, "width": 349.51, "height": 8.28 }, { "x": 7.0, "y": 143.65, "width": 351.33, "height": 24.31 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_8b013d90", "text": "sgn(x) =  1 if x > 0 -1 otherwise (11", "coords": [ { "x": 7.0, "y": 124.35, "width": 367.47, "height": 157.84 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "11" }, { "id": "f_1b1c4161", "text": ")", "coords": [ { "x": 7.0, "y": 282.19, "width": 378.08, "height": 4.14 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_b9493cd1", "text": "Then we can compare b and b ext to evaluate the embedding. To quantify this we use a common metric for static White-Box watermarking which is the Watermark Detection Rate (WDR). This metric is expressed using the following formula", "coords": [ { "x": 7.0, "y": 87.87, "width": 404.96, "height": 125.89 }, { "x": 7.0, "y": 213.78, "width": 403.14, "height": 8.28 }, { "x": 7.0, "y": 226.62, "width": 404.96, "height": 59.7 }, { "x": 7.0, "y": 73.69, "width": 416.42, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 427.88, "height": 212.66 }, { "x": 7.0, "y": 73.69, "width": 439.34, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 450.8, "height": 143.66 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_91570611", "text": "WDR(b, b ext ) = 1 - 1 N × H(b, b ext ) (12", "coords": [ { "x": 7.0, "y": 109.7, "width": 466.44, "height": 172.49 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "12" }, { "id": "f_0969f923", "text": ")", "coords": [ { "x": 7.0, "y": 282.19, "width": 473.19, "height": 4.14 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model" }, { "id": "p_c9ab8f7e", "text": "where b is the message that we want to insert, b ext the reconstructed binary string (see Equation 10) and H is the distance dened, in the case of two binary sequences a and c of N bits, as", "coords": [ { "x": 7.0, "y": 73.69, "width": 494.63, "height": 203.36 }, { "x": 7.0, "y": 277.07, "width": 492.8, "height": 8.28 }, { "x": 7.0, "y": 73.69, "width": 506.09, "height": 179.56 }, { "x": 7.0, "y": 264.82, "width": 506.09, "height": 21.52 }, { "x": 7.0, "y": 73.69, "width": 517.55, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 529.01, "height": 122.34 } ], "refs": [], "head_section": "Watermark an Encrypted Model" }, { "id": "f_52c12b5a", "text": "H(a, c) = |{i ∈ [1; N]|a i = c i }| (13", "coords": [ { "x": 7.0, "y": 119.3, "width": 545.67, "height": 162.89 } ], "refs": [], "type": "formula", "head_section": "Watermark an Encrypted Model", "label": "13" }, { "id": "p_ce320075", "text": "Performing DNN watermarking from the server side consists of embedding the watermark b just after the aggregation of the clients' updates following the extraction and projection steps described in 3.2. In the literature, we generally distinguish two steps: a preembedding and a re-embedding phases (Tekgul et al., 2021; Li et al., 2022;Shao et al., 2024). The rst one performs embedding before the training and the other one at each round. Both are based on the same function but with different hyperparameters. In our paper, they are different with regard to the use of homomorphic encryption. Following the encryption and decryption functions dened in Section 2.2, we suppose that the server owns Pub key , the public encryption key, and since it is in charge of the watermark embedding it also owns the watermarking parameter set θ = {b, K ext , K pro j } with b the watermark, K ext the secret extraction feature key and K pro j the secret projection matrix. On their side, each client only owns (Pub key , Priv key ), i.e., the public and private encryption keys, respectively.", "coords": [ { "x": 7.0, "y": 73.69, "width": 657.27, "height": 212.66 }, { "x": 7.0, "y": 73.69, "width": 668.73, "height": 212.63 }, { "x": 7.0, "y": 73.69, "width": 680.19, "height": 212.64 }, { "x": 7.0, "y": 73.69, "width": 691.65, "height": 212.66 }, { "x": 7.0, "y": 73.69, "width": 703.11, "height": 212.66 }, { "x": 7.0, "y": 73.69, "width": 714.57, "height": 154.97 }, { "x": 7.0, "y": 283.31, "width": 714.57, "height": 3.04 }, { "x": 7.0, "y": 309.04, "width": 266.26, "height": 22.69 }, { "x": 7.0, "y": 475.64, "width": 266.26, "height": 46.05 }, { "x": 7.0, "y": 309.04, "width": 277.72, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 289.18, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 300.64, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 312.1, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 323.56, "height": 212.65 }, { "x": 7.0, "y": 309.04, "width": 335.02, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 346.48, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 357.94, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 369.4, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 380.21, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 392.32, "height": 212.65 }, { "x": 7.0, "y": 309.04, "width": 403.78, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 414.62, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 426.7, "height": 90.59 } ], "refs": [ { "type": "bibr", "target": "", "text": "(Tekgul et al.", "offset_start": 298, "offset_end": 312 }, { "type": "bibr", "target": "#b29", "text": "Li et al., 2022;", "offset_start": 320, "offset_end": 336 }, { "type": "bibr", "target": "#b45", "text": "Shao et al., 2024)", "offset_start": 336, "offset_end": 354 } ], "head_section": "FL Encrypted Watermarking" }, { "id": "p_c86d271c", "text": "In the sequel, we depict the initialization of FL watermarking in the plain-text domain, i.e., our preembedding phase, and by next our re-embedding phase, in the context of K clients in the encrypted domain.", "coords": [ { "x": 7.0, "y": 323.22, "width": 438.16, "height": 198.46 }, { "x": 7.0, "y": 309.04, "width": 449.62, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 461.08, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 472.54, "height": 212.65 }, { "x": 7.0, "y": 309.04, "width": 483.99, "height": 22.39 } ], "refs": [], "head_section": "FL Encrypted Watermarking" }, { "id": "p_d8f7117c", "text": "The rst step of this procedure consists of randomly initializing the model M to get M G 0 . Once the model is initialized one can perform the second step which aims to embed the desired binary string b directly in the un-encrypted version of M G 0 to have parameters already optimized for the watermarking embedding later. Doing so reduces the number of epochs needed for re-embedding the watermark during the FL. It is this embedding we dene as the Watermark Pre-Embedding function (W PE(M G 0 , θ)). It simply embeds the watermark into the initialized model M G 0 following the method described in Section 3.2 using the secret parameters θ until the watermark is embedded resulting in a watermarked model MG 0 , where \".\" denotes the result of a watermark embedding procedure.", "coords": [ { "x": 7.0, "y": 309.04, "width": 526.84, "height": 212.65 }, { "x": 7.0, "y": 309.04, "width": 538.3, "height": 135.19 }, { "x": 7.0, "y": 444.65, "width": 536.48, "height": 5.31 }, { "x": 7.0, "y": 444.25, "width": 543.12, "height": 3.68 }, { "x": 7.0, "y": 450.48, "width": 538.3, "height": 71.22 }, { "x": 7.0, "y": 309.04, "width": 549.76, "height": 212.65 }, { "x": 7.0, "y": 309.04, "width": 561.22, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 572.68, "height": 136.57 }, { "x": 7.0, "y": 446.04, "width": 570.86, "height": 5.31 }, { "x": 7.0, "y": 445.64, "width": 577.49, "height": 3.68 }, { "x": 7.0, "y": 455.52, "width": 572.68, "height": 66.16 }, { "x": 7.0, "y": 309.04, "width": 584.14, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 595.6, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 607.06, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 618.52, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 629.98, "height": 141.7 }, { "x": 7.0, "y": 451.18, "width": 628.15, "height": 5.31 }, { "x": 7.0, "y": 450.78, "width": 629.33, "height": 70.91 }, { "x": 7.0, "y": 309.04, "width": 642.7, "height": 206.42 }, { "x": 7.0, "y": 515.88, "width": 640.87, "height": 5.31 }, { "x": 7.0, "y": 515.48, "width": 647.51, "height": 3.68 }, { "x": 7.0, "y": 309.04, "width": 654.16, "height": 212.63 }, { "x": 7.0, "y": 309.04, "width": 664.97, "height": 212.64 }, { "x": 7.0, "y": 309.04, "width": 675.09, "height": 168.29 }, { "x": 7.0, "y": 471.62, "width": 681.89, "height": 3.68 }, { "x": 7.0, "y": 477.84, "width": 677.08, "height": 43.84 }, { "x": 7.0, "y": 309.04, "width": 688.54, "height": 212.66 }, { "x": 7.0, "y": 309.04, "width": 700.0, "height": 20.2 } ], "refs": [], "head_section": "FL Watermarking Initialization" }, { "id": "p_d19ee336", "text": "Note that since the server works with the plaintext version of M G 0 , as exchanges with clients have not yet started, it has no limitation in the number of computations nor epochs performed for the embedding contrarily to the re-embedding phase, where the server will manipulate homomorphically encrypted model parameters. Thus one can perform this embedding until the watermark is perfectly embedded. The embedding is done when the watermark is perfectly embedded i.e., W DR(b, b ext ) = 1. The model is then encrypted, using Encrypt and Pub key , and the resulting encrypted model E( MG 0 ) is sent to the clients.", "coords": [ { "x": 8.0, "y": 87.87, "width": 97.96, "height": 198.47 }, { "x": 8.0, "y": 73.69, "width": 109.41, "height": 50.51 }, { "x": 8.0, "y": 124.63, "width": 107.59, "height": 5.31 }, { "x": 8.0, "y": 124.23, "width": 114.23, "height": 3.68 }, { "x": 8.0, "y": 130.45, "width": 109.41, "height": 155.9 }, { "x": 8.0, "y": 73.69, "width": 120.87, "height": 212.65 }, { "x": 8.0, "y": 73.69, "width": 132.33, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 143.79, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 155.25, "height": 212.65 }, { "x": 8.0, "y": 73.69, "width": 166.71, "height": 212.63 }, { "x": 8.0, "y": 73.69, "width": 178.17, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 189.63, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 201.09, "height": 88.74 }, { "x": 8.0, "y": 162.44, "width": 199.27, "height": 8.28 }, { "x": 8.0, "y": 171.73, "width": 200.47, "height": 114.62 }, { "x": 8.0, "y": 73.69, "width": 212.55, "height": 212.63 }, { "x": 8.0, "y": 73.69, "width": 223.3, "height": 94.99 }, { "x": 8.0, "y": 162.98, "width": 230.1, "height": 3.68 }, { "x": 8.0, "y": 169.2, "width": 224.67, "height": 87.44 } ], "refs": [], "head_section": "FL Watermarking Initialization" }, { "id": "p_2c0657b6", "text": "In a FL round t, the server randomly selects C × K clients from the K clients available. This set of clients is designated by S t . Then the encrypted global model E( MG t-1 ) is sent to each client k ∈ S t to perform local training as follow:", "coords": [ { "x": 8.0, "y": 73.69, "width": 266.41, "height": 212.09 }, { "x": 8.0, "y": 73.69, "width": 278.49, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 289.95, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 299.42, "height": 25.8 }, { "x": 8.0, "y": 93.61, "width": 306.23, "height": 11.96 }, { "x": 8.0, "y": 106.07, "width": 300.79, "height": 180.25 }, { "x": 8.0, "y": 73.69, "width": 312.86, "height": 72.79 } ], "refs": [], "head_section": "FL Watermarking Round" }, { "id": "p_35d04191", "text": "• LocalTrain( MG t-1 , D k ): Local training of the client k on his dataset D k using the received global model MG t-1 , decrypted using Decrypt and Priv key . Client k send back the encrypted updated model E(M k t ). Once all clients send their encrypted model to the server. This latter performs aggregation. The aggregation algorithm needs to be compatible with FHE. In this case, we use FedAvg (McMahan et al., 2017). This produces the encrypted global model E(M G t ) to which the server applies the re-embedding function. This step has the aim of keeping the watermark on the model since the local training can degrade the presence of the watermark. Contrary to the embedding during initialization, this embedding is performed in the encrypted domain. This increases the computation time and leads to restrictions on the number of possible updates performed as a hyper-parameter. This re-embedding function (W RE) is dened as follow:", "coords": [ { "x": 8.0, "y": 80.17, "width": 325.22, "height": 72.53 }, { "x": 8.0, "y": 146.81, "width": 327.22, "height": 23.5 }, { "x": 8.0, "y": 170.34, "width": 325.38, "height": 3.26 }, { "x": 8.0, "y": 174.23, "width": 326.59, "height": 112.11 }, { "x": 8.0, "y": 88.64, "width": 340.57, "height": 110.36 }, { "x": 8.0, "y": 199.02, "width": 338.74, "height": 3.26 }, { "x": 8.0, "y": 208.36, "width": 340.57, "height": 77.97 }, { "x": 8.0, "y": 88.64, "width": 350.05, "height": 69.16 }, { "x": 8.0, "y": 151.91, "width": 356.86, "height": 11.96 }, { "x": 8.0, "y": 164.38, "width": 352.03, "height": 121.97 }, { "x": 8.0, "y": 88.64, "width": 363.49, "height": 197.68 }, { "x": 8.0, "y": 88.64, "width": 374.44, "height": 51.16 }, { "x": 8.0, "y": 135.96, "width": 380.52, "height": 2.04 }, { "x": 8.0, "y": 140.44, "width": 375.65, "height": 6.34 }, { "x": 8.0, "y": 87.87, "width": 390.61, "height": 198.46 }, { "x": 8.0, "y": 73.69, "width": 402.07, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 413.53, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 424.99, "height": 112.28 }, { "x": 8.0, "y": 282.06, "width": 424.99, "height": 4.29 }, { "x": 8.0, "y": 73.69, "width": 434.62, "height": 197.71 }, { "x": 8.0, "y": 265.51, "width": 440.7, "height": 2.04 }, { "x": 8.0, "y": 271.92, "width": 435.83, "height": 14.41 }, { "x": 8.0, "y": 73.69, "width": 447.9, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 459.36, "height": 212.66 }, { "x": 8.0, "y": 73.69, "width": 470.82, "height": 212.65 }, { "x": 8.0, "y": 73.69, "width": 482.28, "height": 212.63 }, { "x": 8.0, "y": 73.69, "width": 493.74, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 505.2, "height": 212.63 }, { "x": 8.0, "y": 73.69, "width": 516.66, "height": 212.65 }, { "x": 8.0, "y": 73.69, "width": 528.12, "height": 212.65 }, { "x": 8.0, "y": 73.69, "width": 539.58, "height": 204.89 } ], "refs": [ { "type": "bibr", "target": "#b38", "text": "(McMahan et al., 2017)", "offset_start": 398, "offset_end": 420 } ], "head_section": "FL Watermarking Round" }, { "id": "f_8c510ef6", "text": "• W RE(E (M G t ), θ): embedded the watermark into the encrypted global model E(M G t )", "coords": [ { "x": 8.0, "y": 80.17, "width": 552.81, "height": 206.17 } ], "refs": [], "type": "formula", "head_section": "FL Watermarking Round" }, { "id": "p_5a6ecdd3", "text": "following the method described in Section 3.2 using the secret parameters θ for a xed number of epoch. This function returns an encrypted watermarked model model E( MG t ). This procedure is repeated until t = R which corresponds to the end of the FL training. We dene MG = MG R the nal global model with the watermark. Algorithm 1 shows the associated pseudo code.", "coords": [ { "x": 8.0, "y": 233.08, "width": 566.1, "height": 53.26 }, { "x": 8.0, "y": 88.64, "width": 577.56, "height": 197.71 }, { "x": 8.0, "y": 88.64, "width": 588.37, "height": 197.7 }, { "x": 8.0, "y": 88.64, "width": 600.48, "height": 197.7 }, { "x": 8.0, "y": 88.64, "width": 609.95, "height": 53.21 }, { "x": 8.0, "y": 135.96, "width": 616.19, "height": 2.04 }, { "x": 8.0, "y": 142.36, "width": 611.32, "height": 6.34 }, { "x": 8.0, "y": 87.87, "width": 626.38, "height": 198.48 }, { "x": 8.0, "y": 73.69, "width": 638.45, "height": 212.66 }, { "x": 8.0, "y": 77.38, "width": 647.93, "height": 36.89 }, { "x": 8.0, "y": 108.56, "width": 654.59, "height": 4.49 }, { "x": 8.0, "y": 117.2, "width": 649.91, "height": 169.13 }, { "x": 8.0, "y": 73.69, "width": 661.37, "height": 188.78 } ], "refs": [], "head_section": "FL Watermarking Round" }, { "id": "p_b21196e9", "text": "The IP verication aims to determine if a plagiarized model comes from FL. Regarding the security hy-Input : M the global FL model to train; K the number of clients; θ are the set of parameters used for the watermarking; D k local dataset with n k samples of the client k;", "coords": [ { "x": 8.0, "y": 73.69, "width": 703.11, "height": 212.64 }, { "x": 8.0, "y": 73.69, "width": 714.57, "height": 211.88 }, { "x": 8.0, "y": 323.99, "width": 97.74, "height": 172.0 }, { "x": 8.0, "y": 360.81, "width": 108.59, "height": 137.72 }, { "x": 8.0, "y": 360.81, "width": 120.69, "height": 104.01 }, { "x": 8.0, "y": 360.81, "width": 132.15, "height": 67.68 }, { "x": 8.0, "y": 428.51, "width": 130.33, "height": 3.26 }, { "x": 8.0, "y": 434.9, "width": 132.15, "height": 69.71 }, { "x": 8.0, "y": 360.81, "width": 143.61, "height": 103.42 } ], "refs": [], "head_section": "IP Verication" }, { "id": "p_9a2e04d6", "text": "(Pub key , Priv key ) the public and private encryption keys, respectively.", "coords": [ { "x": 8.0, "y": 360.81, "width": 154.46, "height": 124.28 }, { "x": 8.0, "y": 360.81, "width": 166.53, "height": 95.27 }, { "x": 8.0, "y": 360.81, "width": 177.99, "height": 49.59 } ], "refs": [], "head_section": "IP Verication" }, { "id": "f_9c41c9d0", "text": "Output: Final watermarked model MG R 1 M G 0 ← Initialize(M); 2 MG 0 ← W PE(M G 0 , θ); 3 for each round t=1,. . . ,R do 4 S t ← Randomly select C × K clients; 5 for each client k ∈ S t do 6 MG t-1 ← Decrypt(E ( MG t-1 ), Priv key ); 7 M k t ← LocalTrain( MG t-1 , D k ); 8 E(M k t ) ← Encrypt(M k t , Pub key ); 9 end 10 E(M G t ) ← ∑ k∈S t n k ∑ k∈S t n k E(M k t ); 11 E( MG t ) ← W RE(E (M G t ), θ); 12 end", "coords": [ { "x": 8.0, "y": 312.03, "width": 187.47, "height": 189.26 } ], "refs": [], "type": "formula", "head_section": "IP Verication" }, { "id": "p_7e5ee47b", "text": "Algorithm 1: Proposed FL Watermarking technique with FHE.", "coords": [ { "x": 8.0, "y": 309.04, "width": 358.39, "height": 212.65 }, { "x": 8.0, "y": 309.04, "width": 369.85, "height": 19.16 } ], "refs": [], "head_section": "IP Verication" }, { "id": "p_ad839ad2", "text": "pothesis, this leak can come from the clients during the FL or after when the model is deployed. To resolve this issue, a third honest party is called to get θ from the server. This one computes sgn(b pro j ) from the decrypted suspect model M * ; b pro j is dened as:", "coords": [ { "x": 8.0, "y": 309.04, "width": 387.72, "height": 212.65 }, { "x": 8.0, "y": 309.04, "width": 399.17, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 409.99, "height": 212.65 }, { "x": 8.0, "y": 309.04, "width": 422.09, "height": 171.74 }, { "x": 8.0, "y": 481.36, "width": 420.27, "height": 13.23 }, { "x": 8.0, "y": 495.28, "width": 421.48, "height": 26.39 }, { "x": 8.0, "y": 309.04, "width": 433.55, "height": 123.95 }, { "x": 8.0, "y": 433.42, "width": 432.1, "height": 3.68 }, { "x": 8.0, "y": 437.61, "width": 433.55, "height": 10.23 }, { "x": 8.0, "y": 448.4, "width": 431.73, "height": 13.23 }, { "x": 8.0, "y": 464.81, "width": 433.55, "height": 52.0 } ], "refs": [], "head_section": "IP Verication" }, { "id": "f_fa158486", "text": "b pro j = Pro j (Ext (M * , K ext ) , K pro j ) (14", "coords": [ { "x": 8.0, "y": 344.72, "width": 448.99, "height": 172.81 } ], "refs": [], "type": "formula", "head_section": "IP Verication", "label": "14" }, { "id": "f_08ee1731", "text": ")", "coords": [ { "x": 8.0, "y": 517.53, "width": 451.31, "height": 4.14 } ], "refs": [], "type": "formula", "head_section": "IP Verication" }, { "id": "p_1bddc1e9", "text": "Then, if WDR(b, sgn(b pro j )) ≥ T , where T is the threshold from which the IP is veried, then M * comes from the federation. This decision is simpli-ed by the following function", "coords": [ { "x": 8.0, "y": 309.04, "width": 470.44, "height": 96.62 }, { "x": 8.0, "y": 406.22, "width": 468.62, "height": 13.23 }, { "x": 8.0, "y": 420.14, "width": 469.83, "height": 101.55 }, { "x": 8.0, "y": 309.04, "width": 481.9, "height": 208.05 }, { "x": 8.0, "y": 517.52, "width": 480.44, "height": 3.68 }, { "x": 8.0, "y": 309.04, "width": 493.36, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 504.82, "height": 118.76 } ], "refs": [], "head_section": "IP Verication" }, { "id": "f_11040e80", "text": "Verify(M * , θ) =  1 if WDR(b, sgn(b pro j )) ≥ T 0 otherwise (15", "coords": [ { "x": 8.0, "y": 313.7, "width": 530.4, "height": 203.84 } ], "refs": [], "type": "formula", "head_section": "IP Verication", "label": "15" }, { "id": "f_ef9b5abd", "text": ")", "coords": [ { "x": 8.0, "y": 517.54, "width": 562.47, "height": 4.14 } ], "refs": [], "type": "formula", "head_section": "IP Verication" }, { "id": "p_182d9851", "text": "The experimental section is divided into two congurations: Real FHE: The rst one is conducted using a real Fully Homomorphic Encryption (FHE) library. For computational efciency, we employ a one-layer neural network with a small message size b (N = 16). This conguration evaluates the impact of the watermarking on the model performance (delity) using a subset of the public dataset MNIST. The primary aim of this part is to demonstrate a proof of concept for our watermark modulation on homomorphically encrypted parameters.", "coords": [ { "x": 8.0, "y": 309.04, "width": 622.89, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 634.35, "height": 29.89 }, { "x": 8.0, "y": 309.04, "width": 645.77, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 657.27, "height": 212.64 }, { "x": 8.0, "y": 309.04, "width": 668.73, "height": 212.64 }, { "x": 8.0, "y": 309.04, "width": 679.58, "height": 212.65 }, { "x": 8.0, "y": 309.04, "width": 691.65, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 703.11, "height": 212.66 }, { "x": 8.0, "y": 309.04, "width": 714.57, "height": 212.62 }, { "x": 9.0, "y": 73.69, "width": 97.96, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 109.41, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 120.87, "height": 78.56 } ], "refs": [], "head_section": "EXPERIMENTAL RESULTS" }, { "id": "p_2fabaa1a", "text": "The second conguration is conducted in plaintext, allowing greater exibility regarding the number of tests and the size of b (N = 256). We evaluate, using ResNet18 and the public dataset CIFAR10, the performance differences for both the main task and the watermark embedding, depending on the use of polynomial approximation. Additionally, we evaluate the watermark's robustness against attacks such as ne-tuning and pruning. FL Setting: In both experimental setups, we set the number of clients to K = 10. At each round, half of the clients are randomly selected by the server to contribute to the aggregation process (C = 0.5). Additionally, each client performs ve local epochs of training on their IID dataset.", "coords": [ { "x": 9.0, "y": 149.02, "width": 132.33, "height": 137.31 }, { "x": 9.0, "y": 73.69, "width": 143.79, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 154.64, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 166.71, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 178.17, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 189.63, "height": 212.63 }, { "x": 9.0, "y": 73.69, "width": 201.09, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 212.55, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 224.01, "height": 158.3 }, { "x": 9.0, "y": 73.69, "width": 235.43, "height": 212.63 }, { "x": 9.0, "y": 73.69, "width": 246.31, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 258.39, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 269.23, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 281.31, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 292.77, "height": 113.16 } ], "refs": [], "head_section": "Simulated FHE:" }, { "id": "p_91fdb119", "text": "Metrics: Model performance is evaluated using Acc, which denotes accuracy over the testing set, while WDR is used to measure the effectiveness of the watermark embedding. The accepted threshold for the watermark, T , is set at 0.98, and the allowable difference between the un-watermarked and watermarked model is set at ε = 0.05. For readability purposes, the details of both settings are summarized in Table 2.", "coords": [ { "x": 9.0, "y": 73.69, "width": 304.19, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 315.69, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 327.14, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 338.6, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 349.65, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 361.52, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 372.34, "height": 96.53 }, { "x": 9.0, "y": 87.87, "width": 384.44, "height": 198.48 }, { "x": 9.0, "y": 73.69, "width": 395.9, "height": 119.84 }, { "x": 9.0, "y": 199.77, "width": 395.9, "height": 3.73 } ], "refs": [], "head_section": "Simulated FHE:" }, { "id": "p_168f7d28", "text": "In this subsection, we evaluate the performance of our watermarking modulation in terms of effectiveness, delity, and efciency, while also providing details on the computational overhead complexity. We use a simple one-layer neural network and the CKKS scheme as an FHE cryptosystem from TenSEAL.", "coords": [ { "x": 9.0, "y": 73.69, "width": 444.23, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 455.69, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 467.15, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 478.61, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 490.07, "height": 212.63 }, { "x": 9.0, "y": 73.69, "width": 501.53, "height": 196.07 } ], "refs": [], "head_section": "Real FHE Training" }, { "id": "p_dfcc44f2", "text": "Fidelity requires that the performance of the model with a watermark ( MG ) should be as close as possible to that of the model without a watermark (M G ). We assess this by comparing the accuracy of MG with M G using the test set D test . If the difference in accuracy is less than the tolerated error ε, then the watermarking technique satises the delity requirement.", "coords": [ { "x": 9.0, "y": 73.69, "width": 544.38, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 553.85, "height": 212.63 }, { "x": 9.0, "y": 73.69, "width": 567.3, "height": 182.43 }, { "x": 9.0, "y": 256.56, "width": 565.47, "height": 5.31 }, { "x": 9.0, "y": 262.38, "width": 567.3, "height": 23.96 }, { "x": 9.0, "y": 73.69, "width": 576.77, "height": 206.42 }, { "x": 9.0, "y": 280.53, "width": 576.93, "height": 5.31 }, { "x": 9.0, "y": 73.69, "width": 590.22, "height": 75.31 }, { "x": 9.0, "y": 148.84, "width": 588.39, "height": 10.56 }, { "x": 9.0, "y": 160.4, "width": 590.22, "height": 125.94 }, { "x": 9.0, "y": 73.69, "width": 601.03, "height": 212.63 }, { "x": 9.0, "y": 73.69, "width": 613.13, "height": 171.31 } ], "refs": [], "head_section": "Fidelity & Effectiveness" }, { "id": "p_7b7aa1a8", "text": "Effectiveness involves ensuring that the watermark modulation properly embeds the watermark into the model. This is veried by comparing the original watermark b with the watermark extracted (b ext ) from the nal model M G . The effectiveness is quantied by the Watermark Detection Rate (WDR, see Equation 12) and compared against a predened threshold T (as dened in Table 2). The WDR must exceed the threshold to certify the intellectual property protection of the model.", "coords": [ { "x": 9.0, "y": 87.87, "width": 624.59, "height": 198.48 }, { "x": 9.0, "y": 73.69, "width": 636.05, "height": 212.65 }, { "x": 9.0, "y": 73.69, "width": 647.51, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 658.97, "height": 178.36 }, { "x": 9.0, "y": 252.08, "width": 657.15, "height": 8.28 }, { "x": 9.0, "y": 261.36, "width": 658.97, "height": 24.96 }, { "x": 9.0, "y": 73.69, "width": 670.43, "height": 73.7 }, { "x": 9.0, "y": 147.82, "width": 668.61, "height": 5.31 }, { "x": 9.0, "y": 153.64, "width": 670.43, "height": 132.69 }, { "x": 9.0, "y": 73.69, "width": 681.89, "height": 212.66 }, { "x": 9.0, "y": 73.69, "width": 693.35, "height": 212.64 }, { "x": 9.0, "y": 73.69, "width": 704.4, "height": 94.07 }, { "x": 9.0, "y": 175.17, "width": 704.81, "height": 111.18 }, { "x": 9.0, "y": 309.04, "width": 97.96, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 109.41, "height": 82.45 } ], "refs": [], "head_section": "Fidelity & Effectiveness" }, { "id": "p_57a5aa2f", "text": "These requirements can be summarized as follows:", "coords": [ { "x": 9.0, "y": 323.22, "width": 120.87, "height": 198.48 }, { "x": 9.0, "y": 309.04, "width": 132.33, "height": 21.33 } ], "refs": [], "head_section": "Fidelity & Effectiveness" }, { "id": "f_39c73507", "text": "1. Verify( MG , θ) = 1 2. |Acc( MG , D test ) -Acc(M G , D test )| < ε", "coords": [ { "x": 9.0, "y": 311.53, "width": 145.8, "height": 164.27 } ], "refs": [], "type": "formula", "head_section": "Fidelity & Effectiveness" }, { "id": "p_082b74af", "text": "Table 3 presents the test accuracy and the WDR between M G and MG . The rst requirement is consistently met by MG , as for all test runs, WDR( MG , θ) = 1.00, which is above the threshold T = 0.98. From this data, we observe that the watermark has a negligible impact on performance, as evidenced by |Acc( MG , D test ) -Acc(M G , D test )| = 0, which is less than ε.", "coords": [ { "x": 9.0, "y": 323.22, "width": 178.67, "height": 21.87 }, { "x": 9.0, "y": 357.06, "width": 178.67, "height": 164.6 }, { "x": 9.0, "y": 309.04, "width": 190.13, "height": 43.83 }, { "x": 9.0, "y": 353.29, "width": 188.3, "height": 5.31 }, { "x": 9.0, "y": 361.47, "width": 188.15, "height": 160.21 }, { "x": 9.0, "y": 309.04, "width": 199.61, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 212.43, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 224.51, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 235.97, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 245.44, "height": 47.12 }, { "x": 9.0, "y": 356.0, "width": 245.6, "height": 10.56 }, { "x": 9.0, "y": 367.56, "width": 246.81, "height": 42.06 }, { "x": 9.0, "y": 410.07, "width": 245.6, "height": 16.86 }, { "x": 9.0, "y": 426.77, "width": 245.6, "height": 10.56 }, { "x": 9.0, "y": 438.33, "width": 246.81, "height": 83.37 }, { "x": 9.0, "y": 309.04, "width": 258.24, "height": 26.49 } ], "refs": [], "head_section": "Fidelity & Effectiveness" }, { "id": "p_44a23c2a", "text": "As clearly dened by Tekgul et al. (Tekgul et al., 2021) the watermark embedding should not increase the communication and computation complexity overhead. Our method does not increase the communication overhead compared to a FL with HE as a privacy mechanism. However, we increase the computation in the W RE (i.e., Watermark Re-Embedding function) step. To perform one epoch for the embedding, W RE computes exactly one forward pass to compute b pro j and one backward pass over the loss (Equation 8).", "coords": [ { "x": 9.0, "y": 309.04, "width": 301.74, "height": 146.63 }, { "x": 9.0, "y": 338.96, "width": 313.19, "height": 182.74 }, { "x": 9.0, "y": 309.04, "width": 324.65, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 336.11, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 347.57, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 359.03, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 370.49, "height": 212.62 }, { "x": 9.0, "y": 309.04, "width": 381.95, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 393.41, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 404.87, "height": 42.94 }, { "x": 9.0, "y": 352.55, "width": 403.05, "height": 13.23 }, { "x": 9.0, "y": 370.12, "width": 404.87, "height": 151.57 }, { "x": 9.0, "y": 309.04, "width": 416.33, "height": 39.27 }, { "x": 9.0, "y": 354.43, "width": 416.33, "height": 7.19 } ], "refs": [ { "type": "bibr", "target": "#b48", "text": "(Tekgul et al., 2021)", "offset_start": 35, "offset_end": 56 } ], "head_section": "Efciency: Computational Overhead" }, { "id": "f_7eed0eb5", "text": "L = N ∑ n=1 σ(µ -b i E(b pro j i )) + λ m ∑ h=0 E(w h ) 2 (16)", "coords": [ { "x": 9.0, "y": 323.28, "width": 443.34, "height": 198.41 } ], "refs": [], "type": "formula", "head_section": "Efciency: Computational Overhead" }, { "id": "p_9e2a1d52", "text": "Regarding the matrix multiplications performed during the backward pass, the computation complexity is O(2N) + O(2MN) homomorphic multiplication in the worst case where N is the size of the watermark b and M the number of rows in K pro j .", "coords": [ { "x": 9.0, "y": 309.04, "width": 478.48, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 489.94, "height": 212.65 }, { "x": 9.0, "y": 309.04, "width": 500.79, "height": 212.63 }, { "x": 9.0, "y": 309.04, "width": 512.86, "height": 212.65 }, { "x": 9.0, "y": 309.04, "width": 524.32, "height": 124.79 } ], "refs": [], "head_section": "Efciency: Computational Overhead" }, { "id": "p_52a4fad1", "text": "In this subsection, we evaluate the robustness of the proposed watermarking modulation against the netuning and pruning attacks. We evaluate as well the impact of the approximation of the ReLU function and verify the robustness of our watermark. Due to the use of HE, which seriously increases computation time, these experiments were conducted using a simulated framework, that is to say, a framework where computations are conducted on clear values but with exactly the same calculations in clear as if HE was used. Acc is used for the main task accuracy while WDR is used for the watermark.", "coords": [ { "x": 9.0, "y": 309.04, "width": 572.65, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 584.11, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 595.57, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 607.03, "height": 212.65 }, { "x": 9.0, "y": 309.04, "width": 618.49, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 629.95, "height": 212.63 }, { "x": 9.0, "y": 309.04, "width": 641.41, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 652.87, "height": 212.66 }, { "x": 9.0, "y": 309.04, "width": 664.33, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 675.79, "height": 212.64 }, { "x": 9.0, "y": 309.04, "width": 687.24, "height": 20.75 }, { "x": 10.0, "y": 184.45, "width": 197.67, "height": 313.6 } ], "refs": [], "head_section": "Simulated FHE Training" }, { "id": "p_570840ea", "text": "The accepted threshold for the watermark recovery is dened by T = 0.98. The accepted difference between the un-watermarked model and the watermarked one is xed to ε = 5e -2. Table 4: Comparison of the test accuracy and WDR according to the use of an approximation for the embedding. Show values are mean and their corresponding standard deviation computed over 5 runs.", "coords": [ { "x": 10.0, "y": 184.45, "width": 208.51, "height": 313.6 }, { "x": 10.0, "y": 184.45, "width": 220.58, "height": 313.58 }, { "x": 10.0, "y": 184.45, "width": 231.4, "height": 102.45 }, { "x": 10.0, "y": 73.69, "width": 352.51, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 362.47, "height": 212.65 }, { "x": 10.0, "y": 73.69, "width": 372.44, "height": 212.66 }, { "x": 10.0, "y": 73.69, "width": 382.4, "height": 79.92 } ], "refs": [], "head_section": "Simulated FHE Training" }, { "id": "p_09255946", "text": "Accuracy WDR Test b ReLU 0.81 ± 1e -3 1.00 ± 0.00 σ & R 0.81 ± 2e -3 1.00 ± 0.00", "coords": [ { "x": 10.0, "y": 149.22, "width": 397.11, "height": 38.01 }, { "x": 10.0, "y": 218.09, "width": 397.11, "height": 23.21 }, { "x": 10.0, "y": 160.0, "width": 408.97, "height": 16.43 }, { "x": 10.0, "y": 227.22, "width": 408.99, "height": 4.97 }, { "x": 10.0, "y": 105.12, "width": 422.21, "height": 147.54 }, { "x": 10.0, "y": 104.88, "width": 434.03, "height": 147.78 } ], "refs": [], "head_section": "Simulated FHE Training" }, { "id": "p_664d0525", "text": "The error generated by the ReLU approximation in the distance function d (see Equation 4) needs to be quantied experimentally. Table 4 shows the difference between both approaches. The rst line shows the loss function that uses ReLU (corresponding to Equation 4 and denominated as \"ReLU\" in the Table 4). The other one corresponds to the loss function that uses the approximation dened in Equation 8and is denominated by \"σ + R\" in the Table 4. From this result, we can see that using the approximation does not affect both the main task and the watermark.", "coords": [ { "x": 10.0, "y": 73.69, "width": 478.86, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 490.32, "height": 151.64 }, { "x": 10.0, "y": 232.7, "width": 490.32, "height": 53.64 }, { "x": 10.0, "y": 73.69, "width": 501.78, "height": 132.32 }, { "x": 10.0, "y": 217.76, "width": 501.78, "height": 68.59 }, { "x": 10.0, "y": 73.69, "width": 513.24, "height": 212.66 }, { "x": 10.0, "y": 73.69, "width": 524.69, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 536.15, "height": 212.65 }, { "x": 10.0, "y": 77.29, "width": 547.61, "height": 209.03 }, { "x": 10.0, "y": 73.69, "width": 559.07, "height": 188.83 }, { "x": 10.0, "y": 271.96, "width": 559.07, "height": 14.37 }, { "x": 10.0, "y": 73.69, "width": 569.92, "height": 159.05 }, { "x": 10.0, "y": 239.4, "width": 570.53, "height": 46.95 }, { "x": 10.0, "y": 73.69, "width": 581.99, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 593.45, "height": 192.54 } ], "refs": [], "head_section": "Impact of the Approximation" }, { "id": "p_f8726e1a", "text": "The watermark should be robust against various types of attacks. The attacker can try to remove the watermark using techniques such as ne-tuning and pruning. The primary goal of the attacker is to derive a surrogate model that does not contain the watermark. At the same time, he seeks to maintain the performance of the attacked model on the main task. These two goals need to be reached with a signicantly lower complexity than training the model from scratch or having access to all the training data, which is difcult to achieve, especially in a federated context. In other words, the attacker aims to build a model M A from MG following the two conditions", "coords": [ { "x": 10.0, "y": 73.69, "width": 634.35, "height": 212.66 }, { "x": 10.0, "y": 73.69, "width": 645.81, "height": 212.66 }, { "x": 10.0, "y": 73.69, "width": 657.27, "height": 212.65 }, { "x": 10.0, "y": 73.69, "width": 668.73, "height": 212.66 }, { "x": 10.0, "y": 73.69, "width": 680.19, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 691.65, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 703.11, "height": 212.64 }, { "x": 10.0, "y": 73.69, "width": 714.57, "height": 212.66 }, { "x": 10.0, "y": 309.04, "width": 372.52, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 383.98, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 395.44, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 406.9, "height": 207.24 }, { "x": 10.0, "y": 516.7, "width": 405.07, "height": 4.49 }, { "x": 10.0, "y": 309.04, "width": 416.38, "height": 153.39 } ], "refs": [], "head_section": "Robustness" }, { "id": "f_ba6f2d34", "text": "• Verify(M A , θ) = 0 • |Acc(M A , D test ) -Acc( MG , D test )| < ε", "coords": [ { "x": 10.0, "y": 315.52, "width": 431.98, "height": 159.47 } ], "refs": [], "type": "formula", "head_section": "Robustness" }, { "id": "p_56eeac6e", "text": "Fine-Tuning. The ne-tuning attack consists of continuing to perform the training algorithm with a train set to erase the watermark. In this tests, we ne-tuned MG in centralized training during 100 epochs assuming that the attacker has access to the whole training dataset; a very strong hypothesis. The learning rate was xed to 1e -2. As we can see from Table 5, performing ne-tuning cannot degrade the detection of the watermark.", "coords": [ { "x": 10.0, "y": 309.04, "width": 464.65, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 476.15, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 487.61, "height": 212.64 }, { "x": 10.0, "y": 312.73, "width": 497.09, "height": 208.97 }, { "x": 10.0, "y": 309.04, "width": 510.53, "height": 212.63 }, { "x": 10.0, "y": 309.04, "width": 521.99, "height": 212.65 }, { "x": 10.0, "y": 309.04, "width": 533.45, "height": 184.26 }, { "x": 10.0, "y": 499.57, "width": 533.45, "height": 22.13 }, { "x": 10.0, "y": 309.04, "width": 544.91, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 556.37, "height": 59.66 } ], "refs": [], "head_section": "Robustness" }, { "id": "p_dd86ba26", "text": "Pruning Pruning (Blalock et al., 2020) is a common method used to erase the watermark since the parameters used during the embedding are often not the same for the main task. In this experiment, we used the pruning method that consists of zeroing out the parameters with the lowest L 1 -norm. As we can see from Figure 3 the WDR is equal to 1.00 until 90% of parameters are pruned. These results demonstrate that our watermark is resistant to pruning since the IP of the model can be veried for any percentage of parameters pruned.", "coords": [ { "x": 10.0, "y": 309.04, "width": 567.79, "height": 69.34 }, { "x": 10.0, "y": 462.39, "width": 567.83, "height": 59.3 }, { "x": 10.0, "y": 309.04, "width": 579.29, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 590.75, "height": 212.66 }, { "x": 10.0, "y": 309.04, "width": 602.21, "height": 212.66 }, { "x": 10.0, "y": 309.04, "width": 613.67, "height": 212.66 }, { "x": 10.0, "y": 309.04, "width": 625.13, "height": 111.98 }, { "x": 10.0, "y": 421.07, "width": 623.29, "height": 3.68 }, { "x": 10.0, "y": 425.26, "width": 625.13, "height": 96.44 }, { "x": 10.0, "y": 309.04, "width": 636.59, "height": 49.05 }, { "x": 10.0, "y": 370.48, "width": 636.59, "height": 151.2 }, { "x": 10.0, "y": 309.04, "width": 648.05, "height": 212.65 }, { "x": 10.0, "y": 309.04, "width": 659.51, "height": 212.66 }, { "x": 10.0, "y": 309.04, "width": 670.97, "height": 212.64 }, { "x": 10.0, "y": 309.04, "width": 682.43, "height": 76.35 } ], "refs": [ { "type": "bibr", "target": "#b5", "text": "(Blalock et al., 2020", "offset_start": 16, "offset_end": 37 } ], "head_section": "Robustness" }, { "id": "p_3d860b93", "text": "Our watermarking modulation has the same performance in terms of robustness compared to the one performed without HE in FedTracker (Shao et al., 2024) and FedIPR (Li et al., 2022). However, it is well known in the literature that this type of technique is not resistant to some attacks such as overwriting (Darvish Rouhani et al., 2019), Privacy Inference Attack (PIA) (Wang and Kerschbaum, 2019), and ambiguity attack (Kapusta et al., 2024;Chen et al., 2023b). Our method proves the feasibility of White-Box watermarking in this specic context but other White-Box watermarking techniques (e.g. (Nie and Lu, 2024;Lv et al., 2023)) can be adopted following the same proposed methodology. As mentioned before, the main issue remains in the non-polynomial operations. They can be approximated by an a-degree polynomial but the overhead can grow exponentially with a, so it is a compromise to be found according to the application's needs. As discussed before, the main issue with FHE cryptosystems is their computation overhead. Each computation, such as vector-matrix multiplication performed in Equation 2, can grow exponentially the embedding time. For the watermarking embedding, this overhead mainly comes from the sizes of b and w. Inserting a larger binary string increases the number of columns for K pro j while choosing a larger w increases the rows of K pro j . On the other hand, the main advantage of this modulation is the fact that we embed the watermark in one targeted layer (using K ext ) which allows us to perform the embedding without considering the depth of the model.", "coords": [ { "x": 11.0, "y": 73.69, "width": 375.93, "height": 212.66 }, { "x": 11.0, "y": 73.69, "width": 387.39, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 398.85, "height": 156.49 }, { "x": 11.0, "y": 100.65, "width": 410.31, "height": 48.53 }, { "x": 11.0, "y": 217.39, "width": 410.31, "height": 68.96 }, { "x": 11.0, "y": 73.69, "width": 421.77, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 433.23, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 444.69, "height": 12.7 }, { "x": 11.0, "y": 209.25, "width": 444.69, "height": 77.08 }, { "x": 11.0, "y": 73.69, "width": 456.14, "height": 54.05 }, { "x": 11.0, "y": 262.29, "width": 456.14, "height": 24.04 }, { "x": 11.0, "y": 73.69, "width": 467.6, "height": 67.84 }, { "x": 11.0, "y": 100.02, "width": 479.06, "height": 186.31 }, { "x": 11.0, "y": 73.69, "width": 490.52, "height": 212.66 }, { "x": 11.0, "y": 73.69, "width": 501.98, "height": 170.58 }, { "x": 11.0, "y": 182.84, "width": 513.44, "height": 103.48 }, { "x": 11.0, "y": 73.69, "width": 524.9, "height": 212.63 }, { "x": 11.0, "y": 73.69, "width": 536.36, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 547.82, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 559.28, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 570.74, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 582.2, "height": 93.25 }, { "x": 11.0, "y": 87.87, "width": 593.66, "height": 198.48 }, { "x": 11.0, "y": 73.69, "width": 605.12, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 616.58, "height": 212.64 }, { "x": 11.0, "y": 73.69, "width": 628.04, "height": 212.63 }, { "x": 11.0, "y": 73.69, "width": 639.5, "height": 212.65 }, { "x": 11.0, "y": 73.69, "width": 650.96, "height": 212.65 }, { "x": 11.0, "y": 73.69, "width": 662.42, "height": 212.66 }, { "x": 11.0, "y": 73.69, "width": 673.88, "height": 212.66 }, { "x": 11.0, "y": 73.69, "width": 685.34, "height": 212.65 }, { "x": 11.0, "y": 73.69, "width": 696.79, "height": 212.66 }, { "x": 11.0, "y": 73.69, "width": 708.25, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 97.96, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 109.41, "height": 141.14 } ], "refs": [ { "type": "bibr", "target": "#b45", "text": "(Shao et al., 2024)", "offset_start": 131, "offset_end": 150 }, { "type": "bibr", "target": "#b29", "text": "(Li et al., 2022)", "offset_start": 162, "offset_end": 179 }, { "type": "bibr", "target": "#b16", "text": "(Darvish Rouhani et al., 2019)", "offset_start": 306, "offset_end": 336 }, { "type": "bibr", "target": "#b51", "text": "(Wang and Kerschbaum, 2019)", "offset_start": 369, "offset_end": 396 }, { "type": "bibr", "target": "#b25", "text": "(Kapusta et al., 2024;", "offset_start": 419, "offset_end": 441 }, { "type": "bibr", "target": "", "text": "Chen et al., 2023b)", "offset_start": 441, "offset_end": 460 }, { "type": "bibr", "target": "#b41", "text": "(Nie and Lu, 2024;", "offset_start": 596, "offset_end": 614 }, { "type": "bibr", "target": "#b37", "text": "Lv et al., 2023)", "offset_start": 614, "offset_end": 630 } ], "head_section": "DISCUSSION & LIMITATION OF THE STUDY" }, { "id": "p_3a8892de", "text": "In Section 4, we xed the number of epochs performed in W RE to two because the White-Box watermarking is sufciently robust to resist against the learning process (as shown in Section 4.2.2) and a few steps of the re-embedding process are enough to preserve the watermark during the FL. However, it is clear that even if the server is in charge of embedding the watermark, it cannot use Verify (Equation 15) since the reconstructed watermark E(b pro j ) is encrypted. Moreover, he cannot perform early-stopping or increase the number of epochs if the watermark is not fully embedded since the embedding is blind.", "coords": [ { "x": 11.0, "y": 323.22, "width": 120.87, "height": 198.48 }, { "x": 11.0, "y": 309.04, "width": 132.33, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 143.79, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 155.25, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 166.71, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 178.17, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 189.63, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 201.09, "height": 212.65 }, { "x": 11.0, "y": 317.89, "width": 210.72, "height": 175.31 }, { "x": 11.0, "y": 493.88, "width": 211.93, "height": 27.81 }, { "x": 11.0, "y": 309.04, "width": 224.01, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 235.47, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 246.93, "height": 196.51 } ], "refs": [], "head_section": "DISCUSSION & LIMITATION OF THE STUDY" }, { "id": "p_92b4fb1c", "text": "In this work, we demonstrate the feasibility of watermarking an encrypted neural network in Homomorphic FL. We rst demonstrate how we can apply White-Box watermarking to encrypted parameters and shift this method to Homomorphic FL. Our experiments demonstrate the capability of our method using a TenSeal, a concrete FHE library. However, current FL White-Box watermarking approaches have known limitations, such as their vulnerability to overwriting, and extensive research needs to be done to design a new HE-compatible White-Box watermarking technique that is more robust to such attacks. Our next work will investigate how to apply the most recent White-Box watermarking scheme with HE while minimizing the computation overhead of the homomorphic encryption.", "coords": [ { "x": 11.0, "y": 309.04, "width": 309.21, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 320.67, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 332.13, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 343.59, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 355.05, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 366.51, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 377.97, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 389.43, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 400.88, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 412.34, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 423.8, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 435.26, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 446.72, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 458.18, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 469.64, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 481.1, "height": 80.79 } ], "refs": [], "head_section": "CONCLUSION" }, { "id": "p_b1058ffe", "text": "ACKNOWLEDGMENTS This work is funded by the European Union under Grant Agreement 101070222. Views and opinions expressed are however those of the author(s) only and do not necessarily reect those of the European Union or the European Commission (granting authority). Neither the European Union nor the granting authority can be held responsible for them. Additionally, this work is supported by the CYBAILE industrial chair, which is leads by Inserm with the support of the Brittany Region Council, as well as by French government grants managed by the Agence Nationale de la Recherche under the France 2030 program, bearing the references ANR-22-PESN-0006 (PEPR digital health TracIA project).", "coords": [ { "x": 11.0, "y": 309.04, "width": 517.86, "height": 142.54 }, { "x": 11.0, "y": 309.04, "width": 543.38, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 554.84, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 566.3, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 577.76, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 589.22, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 600.68, "height": 212.63 }, { "x": 11.0, "y": 309.04, "width": 612.14, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 623.6, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 635.06, "height": 212.64 }, { "x": 11.0, "y": 309.04, "width": 646.52, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 657.98, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 669.44, "height": 212.65 }, { "x": 11.0, "y": 309.04, "width": 680.9, "height": 212.66 }, { "x": 11.0, "y": 309.04, "width": 692.35, "height": 91.23 } ], "refs": [] } ], "figures_and_tables": [ { "id": "fig_0", "label": "", "head": "186", "type": "figure", "desc": "Lansari, M., Bellafqira, R., Kapusta, K., Thouvenot, V., Bettan, O. and Coatrieux, G. A White-Box Watermarking Modulation for Encrypted DNN in Homomorphic Federated Learning. DOI: 10.5220/0012764300003767 Paper published under CC license (CC BY-NC-ND 4.0) In Proceedings of the 21st International Conference on Security and Cryptography (SECRYPT 2024), pages 186-197 ISBN: 978-989-758-709-2; ISSN: 2184-7711", "note": "", "coords": [] }, { "id": "fig_1", "label": "", "head": "", "type": "figure", "desc": "Figure 1 provides an overview of our proposed method when deployed in a client-server FL framework. At the initialization phase (Step 1), the server has unencrypted access to the initial global model M G 0 and watermarks it using our watermarking modulation until the watermark b is successfully embedded. This initial step does not compromise the privacy of client data since the global model is not yet trained on clients' data.", "note": "", "coords": [] }, { "id": "fig_2", "label": "1", "head": "Figure 1 :", "type": "figure", "desc": "Figure 1: High-level view of the proposed method. (Step 1) The server initializes the global model, performs a pre-embedding to watermark it, and distributes it to the clients; (Step 2) Each client trains the model on its private dataset; (Step 3 & 4) Each client encrypts and sends its updated model to the server which aggregates them to get the new global model. The server then embeds the watermark using the method described in Section 3.2; (Step 5) The server distributes the global model to each client, which decrypts it; Steps 2 to 5 are repeated until the global model converges.", "note": "", "coords": [ { "x": 6.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_3", "label": "", "head": "", "type": "figure", "desc": "is possible because the model parameters E(w) are homomorphically encrypted. Once the extraction and projection functions are dened, along with their corresponding secret keys, the embedding process involves minimizing the distance between b pro j and b in their homomorphically encrypted forms, E(b pro j ) and E(b), using a distance metric d, given as follows:", "note": "", "coords": [] }, { "id": "fig_4", "label": "", "head": "", "type": "figure", "desc": ") Where |.| is the cardinal of the set. If WDR(b, b ext ) is near to 1 or 0, b and b ext are highly correlated which correspond to a good embedding of b in M while WDR(b, b ext ) close to 0.5 correspond to a wrong embedding.", "note": "", "coords": [] }, { "id": "fig_5", "label": "2", "head": "Figure 2 :", "type": "figure", "desc": "Figure 2: ReLU and its second degree approximation σ in the [-5; 5] interval.", "note": "", "coords": [ { "x": 7.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_6", "label": "3", "head": "Figure 3 :", "type": "figure", "desc": "Figure3: Test accuracy and WDR according to the pruning rate. Values shown are mean and their corresponding standard deviation computed over 5 runs.", "note": "", "coords": [ { "x": 11.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_7", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 3.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_8", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 4.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_9", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 8.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_10", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 9.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_11", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 10.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_12", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 12.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "fig_13", "label": "", "head": "", "type": "figure", "desc": "", "note": "", "coords": [ { "x": 13.0, "y": 72.49, "width": 306.93, "height": 450.3 } ] }, { "id": "tab_0", "label": "1", "head": "Table 1 :", "type": "table", "desc": "Our method among existing FL White-Box watermarking techniques.", "content": { "headers": [], "rows": [ [ "Existing Works", "White-Box Embedding HE Compatibility" ], [ "FedIPR (Li et al., 2022)", "✓", "Client(s)", "✓" ], [ "FedCIP (Liang and Wang, 2023)", "✓", "Client(s)", "✓" ], [ "FedTracker (Shao et al., 2024)", "✓", "Server", "✗" ], [ "Yu et al. (Yu et al., 2023)", "✓", "Server", "✗" ], [ "Proposed method", "✓", "Server", "✓" ] ], "metadata": { "row_count": 6, "column_count": 2, "has_headers": false } }, "note": "server from inferring information about the clients' datasets during the watermark embedding process.", "coords": [ { "x": 5.0, "y": 73.69, "width": 98.75, "height": 386.41 } ] }, { "id": "tab_1", "label": "2", "head": "Table 2 :", "type": "table", "desc": "Experimental settings used for each conguration.", "content": { "headers": [], "rows": [ [ "", "Simulated FHE", "Real FHE" ], [ "Dataset", "CIFAR10 (Krizhevsky et al., 2009)", "Binary classication of \"3\" and \"8\"" ], [ "", "", "with MNIST (LeCun and Cortes, 2010)" ], [ "Watermark Size", "N = 256", "N = 16" ], [ "Model", "ResNet18", "One-layer neural network" ], [ "FL Setting", "C = 0.5 clients are selected among 10 clients at each round. 5 epochs are" ], [ "", "performed by the selected clients. The distribution is I.I.D." ], [ "Metrics", "", "" ] ], "metadata": { "row_count": 8, "column_count": 3, "has_headers": false } }, "note": "", "coords": [ { "x": 10.0, "y": 82.89, "width": 98.75, "height": 427.12 } ] }, { "id": "tab_2", "label": "3", "head": "Table 3 :", "type": "table", "desc": "Comparison of the test accuracy and WDR for M G and MG . Values shown are mean and their corresponding standard deviation computed over 5 runs.9e -4 1.00 ± 0.00 Without Watermark 0.97 ± 2e -3 0.46 ± 0.10", "content": { "headers": [], "rows": [ [ "", "Accuracy", "WDR" ], [ "", "Test", "b" ], [ "With Watermark", "0.97 ±" ] ], "metadata": { "row_count": 3, "column_count": 3, "has_headers": false } }, "note": "", "coords": [ { "x": 10.0, "y": 73.69, "width": 254.32, "height": 212.65 } ] }, { "id": "tab_3", "label": "5", "head": "Table 5 :", "type": "table", "desc": "Fine-tuning of a watermarked model during 100 epochs with the whole dataset.", "content": { "headers": [], "rows": [ [ "", "Accuracy WDR" ], [ "Epoch", "Test", "b" ], [ "0", "0.81", "1.00" ], [ "25", "0.82", "1.00" ], [ "50", "0.83", "1.00" ], [ "75", "0.84", "1.00" ], [ "100", "0.84", "1.00" ] ], "metadata": { "row_count": 7, "column_count": 2, "has_headers": false } }, "note": "", "coords": [ { "x": 10.0, "y": 309.04, "width": 255.23, "height": 212.66 } ] } ], "references": [ { "id": "b1", "target": "b0", "title": "A quick tour of watermarking techniques", "authors": [ "P Bas", "T Furon", "F Cayre", "G Doërr", "B Mathon", "P Bas", "T Furon", "F Cayre", "G Doërr", "B Mathon" ], "journal": "Watermarking Security", "publication_date": "2016", "year": 2016, "page_start": "13", "page_end": "31" }, { "id": "b2", "target": "b1", "title": "Secure plaintext acquisition of homomorphically encrypted results for remote processing", "authors": [ "P Baumstark", "D Monschein", "O Waldhorst" ], "publisher": "IEEE", "publication_date": "2023", "year": 2023, "page_start": "1", "page_end": "4" }, { "id": "b3", "target": "b2", "title": "Diction: Dynamic robust white box watermarking scheme", "note_report_type": "arXiv preprint", "authors": [ "R Bellafqira", "G Coatrieux" ], "publication_date": "2022", "year": 2022, "arxiv": "arXiv:2210.15745" }, { "id": "b4", "target": "b3", "title": "Secure multilayer perceptron based on homomorphic encryption", "authors": [ "R Bellafqira", "G Coatrieux", "E Genin", "M Cozic" ], "publisher": "Springer", "publication_date": "2018", "year": 2018, "volume": "17", "page_start": "322", "page_end": "336" }, { "id": "b5", "target": "b4", "title": "Tenseal: A library for encrypted tensor operations using homomorphic encryption", "note_report_type": "arXiv preprint", "authors": [ "A Benaissa", "B Retiat", "B Cebere", "A Belfedhal" ], "publication_date": "2021", "year": 2021, "arxiv": "arXiv:2104.03152" }, { "id": "b6", "target": "b5", "title": "What is the state of neural network pruning?", "authors": [ "D Blalock", "J Gonzalez Ortiz", "J Frankle", "J Guttag" ], "journal": "Proceedings of machine learning and systems", "publication_date": "2020", "year": 2020, "volume": "2", "page_start": "129", "page_end": "146" }, { "id": "b7", "target": "b6", "title": "A systematic review on model watermarking for neural networks", "authors": "F Boenisch", "journal": "Frontiers in big Data", "publication_date": "2021", "year": 2021, "volume": "4", "pages": "729663" }, { "id": "b8", "target": "b7", "title": "Data hiding in homomorphically encrypted medical images for verifying their reliability in both encrypted and spatial domains", "authors": [ "D Bouslimi", "R Bellafqira", "G Coatrieux" ], "publisher": "IEEE", "publication_date": "2016", "year": 2016, "page_start": "2496", "page_end": "2499" }, { "id": "b9", "target": "b8", "title": "leveled) fully homomorphic encryption without bootstrapping", "authors": [ "Z Brakerski", "C Gentry", "V Vaikuntanathan" ], "journal": "ACM Transactions on Computation Theory (TOCT)", "publication_date": "2014", "year": 2014, "volume": "6", "issue": "3", "page_start": "1", "page_end": "36" }, { "id": "b10", "target": "b9", "title": "Logistic regression over encrypted data from fully homomorphic encryption", "authors": [ "H Chen", "R Gilad-Bachrach", "K Han", "Z Huang", "A Jalali", "K Laine", "K Lauter" ], "journal": "BMC medical genomics", "publication_date": "2018", "year": 2018, "volume": "11", "page_start": "3", "page_end": "12" }, { "id": "b11", "target": "b10", "title": "Fedright: An effective model copyright protection for federated learning", "note_report_type": "arXiv preprint", "authors": [ "J Chen", "M Li", "H Zheng" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2303.10399" }, { "id": "b12", "target": "b11", "title": "Effective ambiguity attack against passport-based dnn intellectual property protection schemes through fully connected layer substitution", "authors": [ "Y Chen", "J Tian", "X Chen", "J Zhou" ], "publication_date": "2023", "year": 2023, "page_start": "8123", "page_end": "8132" }, { "id": "b13", "target": "b12", "title": "Homomorphic encryption for arithmetic of approximate numbers", "authors": [ "J Cheon", "A Kim", "M Kim", "Y Song" ], "series": "Proceedings", "publisher": "Springer", "publication_date": "2017-12-03", "year": 2017, "volume": "23", "page_start": "409", "page_end": "437" }, { "id": "b14", "target": "b13", "title": "Tfhe: fast fully homomorphic encryption over the torus", "authors": [ "I Chillotti", "N Gama", "M Georgieva", "M Izabachène" ], "journal": "Journal of Cryptology", "publication_date": "2020", "year": 2020, "volume": "33", "issue": "1", "page_start": "34", "page_end": "91" }, { "id": "b15", "target": "b14", "title": "Programmable bootstrapping enables efcient homomorphic inference of deep neural networks", "authors": [ "I Chillotti", "M Joye", "P Paillier" ], "publisher": "Springer", "publication_date": "2021-07-08", "year": 2021, "volume": "5", "page_start": "1", "page_end": "19" }, { "id": "b16", "target": "b15", "title": "Bfv, ckks, tfhe: Which one is the best for a secure neural network evaluation in the cloud?", "authors": [ "P.-E Clet", "O Stan", "M Zuber" ], "publisher": "Springer", "publication_date": "2021-06-21", "year": 2021, "page_start": "279", "page_end": "300" }, { "id": "b17", "target": "b16", "title": "Deepsigns: An end-to-end watermarking framework for ownership protection of deep neural networks", "authors": [ "B Darvish Rouhani", "H Chen", "F Koushanfar" ], "publication_date": "2019", "year": 2019, "page_start": "485", "page_end": "497" }, { "id": "b18", "target": "b17", "title": "Gradient descent nds global minima of deep neural networks", "authors": [ "S Du", "J Lee", "H Li", "L Wang", "X Zhai" ], "publication_date": "2019", "year": 2019, "page_start": "1675", "page_end": "1685" }, { "id": "b19", "target": "b18", "authors": "Pmlr" }, { "id": "b20", "target": "b19", "title": "Somewhat practical fully homomorphic encryption", "authors": [ "J Fan", "F Vercauteren" ], "journal": "Cryptology ePrint Archive", "publication_date": "2012", "year": 2012 }, { "id": "b21", "target": "b20", "title": "Rethinking deep neural network ownership verication: Embedding passports to defeat ambiguity attacks", "authors": [ "L Fan", "K Ng", "C Chan" ], "journal": "Advances in neural information processing systems", "publication_date": "2019", "year": 2019, "volume": "32" }, { "id": "b22", "target": "b21", "title": "Polynomial activation functions", "authors": "V Gottemukkula", "publication_date": "2019", "year": 2019 }, { "id": "b23", "target": "b22", "title": "Model inversion attacks against collaborative inference", "authors": [ "Z He", "T Zhang", "R Lee" ], "publication_date": "2019", "year": 2019, "page_start": "148", "page_end": "162" }, { "id": "b24", "target": "b23", "title": "Membership inference attacks on machine learning: A survey", "authors": [ "H Hu", "Z Salcic", "L Sun", "G Dobbie", "P Yu", "X Zhang" ], "journal": "ACM Computing Surveys (CSUR)", "publication_date": "2022", "year": 2022, "volume": "54", "issue": "11s", "page_start": "1", "page_end": "37" }, { "id": "b25", "target": "b24", "title": "Mixer: Dnn watermarking using image mixup", "authors": [ "K Kallas", "T Furon" ], "publication_date": "2023", "year": 2023, "page_start": "1", "page_end": "5" }, { "id": "b26", "target": "b25", "title": "Protecting ownership rights of ml models using watermarking in the light of adversarial attacks", "authors": [ "K Kapusta", "L Mattioli", "B Addad", "M Lansari" ], "journal": "AI and Ethics", "publication_date": "2024", "year": 2024, "page_start": "1", "page_end": "9" }, { "id": "b27", "target": "b26", "title": "Learning multiple layers of features from tiny images", "authors": [ "A Krizhevsky", "G Hinton" ], "publication_date": "2009", "year": 2009 }, { "id": "b28", "target": "b27", "title": "When federated learning meets watermarking: A comprehensive overview of techniques for intellectual property protection", "authors": [ "M Lansari", "R Bellafqira", "K Kapusta", "V Thouvenot", "O Bettan", "G Coatrieux" ], "journal": "Machine Learning and Knowledge Extraction", "publication_date": "2023", "year": 2023, "volume": "5", "issue": "4", "page_start": "1382", "page_end": "1406" }, { "id": "b29", "target": "b28", "title": "MNIST handwritten digit database", "authors": [ "Y Lecun", "C Cortes" ], "publication_date": "2010", "year": 2010 }, { "id": "b30", "target": "b29", "title": "Fedipr: Ownership verication for federated deep neural network models", "authors": [ "B Li", "L Fan", "H Gu", "J Li", "Q Yang" ], "journal": "IEEE Transactions on Pattern Analysis and Machine Intelligence", "publication_date": "2022", "year": 2022 }, { "id": "b31", "target": "b30", "title": "Towards practical watermark for deep neural networks in federated learning", "note_report_type": "arXiv preprint", "authors": [ "F.-Q Li", "S.-L Wang", "A Liew", "-C" ], "publication_date": "2021", "year": 2021, "arxiv": "arXiv:2105.03167" }, { "id": "b32", "target": "b31", "title": "A survey of deep neural network watermarking techniques", "authors": [ "Y Li", "H Wang", "M Barni" ], "journal": "Neurocomputing", "publication_date": "2021", "year": 2021, "volume": "461", "page_start": "171", "page_end": "193" }, { "id": "b33", "target": "b32", "title": "Convergence analysis of twolayer neural networks with relu activation", "authors": [ "Y Li", "Y Yuan" ], "journal": "Advances in neural information processing systems", "publication_date": "2017", "year": 2017, "volume": "30" }, { "id": "b34", "target": "b33", "title": "Fedcip: Federated client intellectual property protection with traitor tracking", "note_report_type": "arXiv preprint", "authors": [ "J Liang", "R Wang" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2306.01356" }, { "id": "b35", "target": "b34", "title": "Secure federated learning model verication: A client-side backdoor triggered watermarking scheme", "authors": [ "X Liu", "S Shao", "Y Yang", "K Wu", "W Yang", "H Fang" ], "publisher": "IEEE", "publication_date": "2021", "year": 2021, "page_start": "2414", "page_end": "2419" }, { "id": "b36", "target": "b35", "title": "Decoupled weight decay regularization", "note_report_type": "arXiv preprint", "authors": [ "I Loshchilov", "F Hutter" ], "publication_date": "2017", "year": 2017, "arxiv": "arXiv:1711.05101" }, { "id": "b37", "target": "b36", "title": "Sok: How robust is image classication deep neural network watermarking?", "authors": [ "N Lukas", "E Jiang", "X Li", "F Kerschbaum" ], "publisher": "IEEE", "publication_date": "2022", "year": 2022, "page_start": "787", "page_end": "804" }, { "id": "b38", "target": "b37", "title": "A robustness-assured white-box watermark in neural networks", "authors": [ "P Lv", "P Li", "S Zhang", "K Chen", "R Liang", "H Ma", "Y Zhao", "Y Li" ], "journal": "IEEE Transactions on Dependable and Secure Computing", "publication_date": "2023", "year": 2023 }, { "id": "b39", "target": "b38", "title": "Communication-efcient learning of deep networks from decentralized data", "authors": [ "B Mcmahan", "E Moore", "D Ramage", "S Hampson", "B Arcas" ], "publication_date": "2017", "year": 2017, "page_start": "1273", "page_end": "1282" }, { "id": "b40", "target": "b39", "authors": "Pmlr" }, { "id": "b41", "target": "b40", "title": "Privacy-preserving byzantine-robust federated learning via blockchain systems", "authors": [ "Y Miao", "Z Liu", "H Li", "K.-K Choo", "R Deng" ], "journal": "IEEE Transactions on Information Forensics and Security", "publication_date": "2022", "year": 2022, "volume": "17", "page_start": "2848", "page_end": "2861" }, { "id": "b42", "target": "b41", "title": "Fedcrmw: Federated model ownership verication with compression-resistant model watermarking", "authors": [ "H Nie", "S Lu" ], "journal": "Expert Systems with Applications", "publication_date": "2024", "year": 2024, "volume": "249", "pages": "123776" }, { "id": "b43", "target": "b42", "title": "NVFLARE: NVIDIA Federated Learning Application Runtime Environment", "publisher": "NVIDIA", "publication_date": "2023-04-21", "year": 2023 }, { "id": "b44", "target": "b43", "title": "Public-key cryptosystems based on composite degree residuosity classes", "authors": "P Paillier", "publisher": "Springer", "publication_date": "1999", "year": 1999, "page_start": "223", "page_end": "238" }, { "id": "b45", "target": "b44", "title": "Functional invariants to watermark large transformers", "note_report_type": "arXiv preprint", "authors": [ "F Pierre", "C Guillaume", "F Teddy", "D Matthijs" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2310.11446" }, { "id": "b46", "target": "b45", "title": "Fedtracker: Furnishing ownership verication and traceability for federated learning model", "authors": [ "S Shao", "W Yang", "H Gu", "Z Qin", "L Fan", "Q Yang" ], "journal": "IEEE Transactions on Dependable and Secure Computing", "publication_date": "2024", "year": 2024 }, { "id": "b47", "target": "b46", "title": "Membership inference attacks against machine learning models", "authors": [ "R Shokri", "M Stronati", "C Song", "V Shmatikov" ], "publisher": "IEEE", "publication_date": "2017", "year": 2017, "page_start": "3", "page_end": "18" }, { "id": "b48", "target": "b47", "title": "Deep intellectual property: A survey", "note_report_type": "arXiv preprint", "authors": [ "Y Sun", "T Liu", "P Hu", "Q Liao", "S Ji", "N Yu", "D Guo", "L Liu" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2304.14613" }, { "id": "b49", "target": "b48", "title": "Wafe: Watermarking in federated learning", "authors": [ "B Tekgul", "Y Xia", "S Marchal", "N Asokan" ], "publisher": "IEEE Computer Society", "publication_date": "2021", "year": 2021, "page_start": "310", "page_end": "320" }, { "id": "b50", "target": "b49", "title": "Embedding watermarks into deep neural networks", "authors": [ "Y Uchida", "Y Nagai", "S Sakazawa", "S Satoh" ], "publication_date": "2017", "year": 2017, "page_start": "269", "page_end": "277" }, { "id": "b51", "target": "b50", "title": "Privacy-preserving convolutional neural network classication scheme with multiple keys", "authors": [ "B Wang", "Y Chen", "F Li", "J Song", "R Lu", "P Duan", "Z Tian" ], "journal": "IEEE Transactions on Services Computing", "publication_date": "2024", "year": 2024 }, { "id": "b52", "target": "b51", "title": "Attacks on digital watermarks for deep neural networks", "authors": [ "T Wang", "F Kerschbaum" ], "publisher": "IEEE", "publication_date": "2019", "year": 2019, "page_start": "2622", "page_end": "2626" }, { "id": "b53", "target": "b52", "title": "Copi: A collusionresistant and privacy-preserving federated learning crowdsourcing scheme using blockchain and homomorphic encryption", "authors": [ "R Xiong", "W Ren", "S Zhao", "J He", "Y Ren", "K.-K Choo", "Min", "G" ], "journal": "Future Generation Computer Systems", "publication_date": "2024", "year": 2024, "volume": "156", "page_start": "95", "page_end": "104" }, { "id": "b54", "target": "b53", "title": "Dnn intellectual property protection: Taxonomy, attacks and evaluations", "authors": [ "M Xue", "J Wang", "W Liu" ], "publication_date": "2021", "year": 2021, "page_start": "455", "page_end": "460" }, { "id": "b55", "target": "b54", "title": "Watermarking in secure federated learning: A verication framework based on client-side backdooring", "note_report_type": "arXiv preprint", "authors": [ "W Yang", "S Shao", "Y Yang", "X Liu", "Z Xia", "G Schaefer", "H Fang" ], "publication_date": "2022", "year": 2022, "arxiv": "arXiv:2211.07138" }, { "id": "b56", "target": "b55", "title": "Fedzkp: Federated model ownership verication with zero-knowledge proof", "note_report_type": "arXiv preprint", "authors": [ "W Yang", "Y Yin", "G Zhu", "H Gu", "L Fan", "X Cao", "Q Yang" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2305.04507" }, { "id": "b57", "target": "b56", "title": "Who leaked the model? tracking ip infringers in accountable federated learning", "note_report_type": "arXiv preprint", "authors": [ "S Yu", "J Hong", "Y Zeng", "F Wang", "R Jia", "J Zhou" ], "publication_date": "2023", "year": 2023, "arxiv": "arXiv:2312.03205" }, { "id": "b58", "target": "b57", "title": "{BatchCrypt}: Efcient homomorphic encryption for {Cross-Silo} federated learning", "authors": [ "C Zhang", "S Li", "J Xia", "W Wang", "F Yan", "Y Liu" ], "publication_date": "2020", "year": 2020, "page_start": "493", "page_end": "506" } ] }
{
"level": "paragraph",
"biblio": {
"title": "A White-Box Watermarking Modulation for Encrypted DNN in Homomorphic Federated Learning",
"authors": [
"Mohammed Lansari",
"Reda Bellafqira",
"Katarzyna Kapusta",
"Vincent Thouvenot",
"Olivier Bettan",
"Gouenou Coatrieux"
],
"hash": "913CF365056BC57011E4C75D9D34B685",
"publisher": "",
"abstract": [
{
"id": 0,
"text": "Federated Learning (FL) is a distributed paradigm that enables multiple clients to collaboratively train a model without sharing their sensitive local data. In such a privacy-sensitive setting, Homomorphic Encryption (HE) plays an important role by enabling computations on encrypted data. This prevents the server from reverseengineering the model updates, during the aggregation, to infer private client data, a signicant concern in scenarios like the healthcare industry where patient condentiality is paramount. Despite these advancements, FL remains susceptible to intellectual property theft and model leakage due to malicious participants during the training phase. To counteract this, watermarking emerges as a solution for protecting the intellectual property rights of Deep Neural Networks (DNNs). However, traditional watermarking methods are not compatible with HE, primarily because they require the use of non-polynomial functions, which are not natively supported by HE. In this paper, we address these challenges by proposing the rst white-box DNN watermarking modulation on a single homomorphically encrypted model. We then extend this modulation to a server-side FL context that complies with HE's processing constraints. Our experimental results demonstrate that the performance of the proposed watermarking modulation is equivalent to the one on unencrypted domain.",
"coords": [
{
"x": 2.0,
"y": 129.18,
"width": 280.65,
"height": 392.48
},
{
"x": 2.0,
"y": 129.18,
"width": 291.61,
"height": 392.46
},
{
"x": 2.0,
"y": 129.18,
"width": 302.57,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 313.53,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 324.49,
"height": 392.46
},
{
"x": 2.0,
"y": 129.18,
"width": 335.46,
"height": 392.48
},
{
"x": 2.0,
"y": 129.18,
"width": 346.42,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 357.38,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 368.34,
"height": 392.46
},
{
"x": 2.0,
"y": 129.18,
"width": 379.3,
"height": 392.46
},
{
"x": 2.0,
"y": 129.18,
"width": 390.26,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 401.22,
"height": 392.47
},
{
"x": 2.0,
"y": 129.18,
"width": 412.18,
"height": 315.3
}
],
"refs": []
}