IP Library Granted Patent US 12,231,151
Granted Patent B1
US 12,231,151 · App. 18/919,394 · Granted Feb 18, 2025

Federated large codeword model deep learning architecture with homomorphic compression and encryption

Inventor: Brian Galvin (Silverdale, WA)
Assignee: ATOMBEAM TECHNOLOGIES INC
H03M7/3059G06N20/00H03M7/6005
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,231,151
App. No.
18/919,394
Filed
Oct 17, 2024
Granted
Feb 18, 2025
Kind
B1
Art Unit
2845
USPC
707/693
Abstract

A system and method for a federated deep learning platform utilizing homomorphically-compressed and encrypted data. The system comprises multiple client devices, each with a local dataset, and a central server hosting a deep learning core. Client devices convert local data into codewords, which are also homomorphically encrypted. The central server processes these encrypted codewords without decryption, preserving data privacy. The platform supports at least two architectural variants: a conventional Transformer trained on codewords, and a Latent Transformer operating on latent space vectors. Both variants eliminate the need for embedding and positional encoding layers. The system aggregates encrypted model updates from clients, enabling collaborative learning while maintaining data confidentiality. Additional features comprise differential privacy implementation and adaptive federated optimization techniques. This innovative approach allows for efficient, privacy-preserving distributed learning across diverse datasets, addressing key challenges in federated learning such as data heterogeneity, non-IID distributions, and communication efficiency.

Claims (56)

1. A system for federated deep learning using homomorphically-compressed and encrypted data, comprising:

a computing device comprising at least a memory and a processor;

a plurality of programming instructions stored in the memory and operable on the processor, wherein the plurality of programming instructions, when operating on the processor, cause the computing device to:

receive encrypted codewords from a plurality of client devices, each client device having:

a local dataset; and

a compression network that converts the local dataset into a plurality of encrypted codewords;

process the encrypted codewords using a deep learning core without decrypting the codewords;

aggregate encrypted model updates from the plurality of client devices;

update the deep learning core based on the aggregated encrypted model updates;

train the deep learning core using the homomorphically encrypted codewords from the plurality of client devices; and

facilitate federated learning by iteratively updating the deep learning core based on encrypted updates from the client devices.

2. The system of claim 1 , wherein the deep learning core comprises a transformer-based machine learning architecture.

3. The system of claim 2 , wherein each client device further comprises a codebook generation subsystem that generates a codebook mapping sourceblocks to codewords.

4. The system of claim 3 , wherein the codeword allocator assigns codewords to sourceblocks based on the codebook.

5. The system of claim 2 , wherein the transformer-based machine learning architecture comprises:

an embedding layer;

a positional encoding layer;

a multi-head attention mechanism; and

a feed-forward network.

6. The system of claim 1 , wherein the deep learning core comprises a latent transformer architecture.

7. The system of claim 6 , wherein each client device further comprises a variational autoencoder encoder that generates latent space vectors from the plurality of codewords.

8. The system of claim 7 , wherein the latent transformer architecture processes the latent space vectors without using an embedding layer and a positional encoding layer.

9. The system of claim 8 , wherein the computing device further comprises a variational autoencoder decoder that generates output vectors from processed latent space vectors.

10. The system of claim 1 , wherein the plurality of programming instructions further cause the computing device to:

implement differential privacy by:

adding calibrated noise to the encrypted model updates before aggregation;

enforcing a privacy budget across multiple rounds of federated learning; and

dynamically adjusting the level of noise based on the privacy budget consumption;

thereby enhancing privacy guarantees for individual client datasets while maintaining model utility.

11. A method for federated deep learning using homomorphically-compressed and encrypted data, comprising the steps of:

receiving encrypted codewords from a plurality of client devices, each client device having:

a local dataset; and

a compression network that converts the local dataset into a plurality of encrypted codewords;

processing the encrypted codewords using a deep learning core without decrypting the codewords;

aggregating encrypted model updates from the plurality of client devices;

updating the deep learning core based on the aggregated encrypted model updates;

training the deep learning core using the homomorphically encrypted codewords from the plurality of client devices; and

facilitating federated learning by iteratively updating the deep learning core based on encrypted updates from the client devices.

12. The method of claim 11 , wherein the deep learning core comprises a transformer-based machine learning architecture.

13. The method of claim 12 , wherein each client device further comprises a codebook generation subsystem that generates a codebook mapping sourceblocks to codewords.

14. The method of claim 13 , wherein the codeword allocator assigns codewords to sourceblocks based on the codebook.

15. The method of claim 12 , wherein the transformer-based machine learning architecture comprises:

an embedding layer;

a positional encoding layer;

a multi-head attention mechanism; and

a feed-forward network.

16. The method of claim 11 , wherein the deep learning core comprises a latent transformer architecture.

17. The method of claim 16 , wherein each client device further comprises a variational autoencoder encoder that generates latent space vectors from the plurality of codewords.

18. The method of claim 17 , wherein the latent transformer architecture processes the latent space vectors without using an embedding layer and a positional encoding layer.

19. The method of claim 18 , further comprising the step of generating output vectors from processed latent space vectors using a variational autoencoder decoder.

20. The method of claim 11 , further comprising the steps of:

implementing differential privacy by:

adding calibrated noise to the encrypted model updates before aggregation;

enforcing a privacy budget across multiple rounds of federated learning; and

dynamically adjusting the level of noise based on the privacy budget consumption;

thereby enhancing privacy guarantees for individual client datasets while maintaining model utility.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 14, 2024
From: GALVIN, BRIAN
To: ATOMBEAM TECHNOLOGIES INC.
Reel/Frame 069266/0312 →
Continuity (34)
Continuation In Part 18898608 · Sep 26, 2024
Continuation In Part 18893984 · Sep 24, 2024
Continuation In Part 18890748 · Sep 19, 2024
Continuation In Part 18770652 · Jul 12, 2024
Continuation In Part 18770652 · Jul 12, 2024
Continuation In Part 18737906 · Jun 7, 2024
Continuation In Part 18736498 · Jun 6, 2024
Continuation In Part 18623018 · Mar 31, 2024
Continuation In Part 18503135 · Nov 6, 2023
Continuation 18305305 · Apr 21, 2023
Continuation In Part 18190044 · Mar 24, 2023
Continuation In Part 17875201 · Jul 27, 2022
Continuation In Part 17727913 · Apr 25, 2022
Continuation 17514913 · Oct 29, 2021
Continuation 17458747 · Aug 27, 2021
Continuation 17404699 · Aug 17, 2021
Continuation In Part 17404699 · Aug 17, 2021
Continuation In Part 17234007 · Apr 19, 2021
Continuation In Part 17180439 · Feb 19, 2021
Continuation In Part 16923039 · Jul 7, 2020
Continuation In Part 16923039 · Jul 7, 2020
Continuation In Part 16716098 · Dec 16, 2019
Continuation 16455655 · Jun 27, 2019
Continuation In Part 16455655 · Jun 27, 2019
Continuation In Part 16200466 · Nov 26, 2018
Continuation In Part 15975741 · May 9, 2018
Provisional Application 63651359 · May 23, 2024
Provisional Application 63485518 · Feb 16, 2023
Provisional Application 63388411 · Jul 12, 2022
Provisional Application 63232041 · Aug 11, 2021
Provisional Application 63140111 · Jan 21, 2021
Provisional Application 63027166 · May 19, 2020
Provisional Application 62926723 · Oct 28, 2019
Provisional Application 62578824 · Oct 30, 2017
References Cited (37)
US 4780718A · Hudson et al. · 1988 [cited by applicant]
US 5708436A · Loiz et al. · 1998 [cited by applicant]
US 7411540B1 · Lopez et al. · 2008 [cited by applicant]
US 7629922B2 · Winstead et al. · 2009 [cited by applicant]
US 7876257B2 · Vetro et al. · 2011 [cited by applicant]
US 8555400B2 · Shi · 2013 [cited by examiner]
US 9524392B2 · Naehrig et al. · 2016 [cited by applicant]
US 10091529B2 · Lee · 2018 [cited by examiner]
US 11451242B2 · Choi et al. · 2022 [cited by applicant]
US 11656353B2 · Li et al. · 2023 [cited by applicant]
US 20040017307A1 · Cirillo et al. · 2004 [cited by applicant]
US 20040160353A1 · Cirillo et al. · 2004 [cited by applicant]
US 20080231504A1 · Sartor et al. · 2008 [cited by applicant]
US 20110012778A1 · Nguyen et al. · 2011 [cited by applicant]
US 20150054678A1 · Wakayama · 2015 [cited by applicant]
US 20170048537A1 · Boufounos et al. · 2017 [cited by applicant]
US 20180018590A1 · Szeto · 2018 [cited by examiner]
US 20180196609A1 · Niesen · 2018 [cited by applicant]
US 20200258296A1 · Pennings et al. · 2020 [cited by applicant]
US 20200395955A1 · Choi et al. · 2020 [cited by applicant]
US 20220156631A1 · Kanso et al. · 2022 [cited by applicant]
US 20220404490A1 · Evans et al. · 2022 [cited by applicant]
US 20230131694A1 · Saber et al. · 2023 [cited by applicant]
US 20230169623A1 · Chen et al. · 2023 [cited by applicant]
US 20230184927A1 · Chen et al. · 2023 [cited by applicant]
US 20240185037A1 · Park et al. · 2024 [cited by applicant]
US 20240195438A1 · Isik et al. · 2024 [cited by applicant]
EP 3364212A1 · 2018 [cited by applicant]
GB 2620921A · 2024 [cited by applicant]
WO 2020104416A1 · 2020 [cited by applicant]
Balaneshin-Kordan, Saeid et al., “Deep Neural Architecture for Multi-Modal Retrieval based on Joint Embedding Space for Text and Images,” Association for Computing Machinery, Feb. 5-9, 2018, pp. 1-9, Marina Del Rey, CA,… [cited by applicant]
Kahn, Abdul Rafae et al., “Coding Textual Inputs Boosts the Accuracy of Neural Networks,” 2020 Conference on Empirical Methods in Natural Language Processing, Nov. 16-20, 2020, pp. 1350-1360. [cited by applicant]
Messina, Nicola et al., “Towards Efficient Cross-Modal Visual Textual Retrieval using Transformer-Encoder Deep Features,” 2021 International Conference on Content-Based Multimedia Indexing, 2021, pp. 1-6, United States. [cited by applicant]
Seo, Beomseok et al., “How Does a Transformer Learn Compression? An Attention Study on Huffman and LZ4,” Department of Electronic and Electrical Engineering, Dec. 12, 2023, pp. 1-10, vol. 11, Seoul, South Korea. [cited by applicant]
Vaswani, Ashish et al., “Attention is All You Need,” 31st Conference on Neural Information Processing Systems, 2017, pp. 1-11, Long Beach, CA, USA. [cited by applicant]
Wang, Tianming et al., “T-CVAE: Transformer-Based Conditioned Variational Autoencoder for Story Completion,” Proceedings of the Twenty-Eigth Joint Conference on Artificial Intelligence, pp. 5233-5239. [cited by applicant]
Wieting, John et al., “A Bilingual Generative Transformer for Semantic Sentence Embedding,” Nov. 19, 2020, pp. 1-14. [cited by applicant]
Cited By (1)
US 12,572,688