# US 2025/0158637 A1 · Multi–stage fully homomorphic encryption and compression system for secure data processing and analysis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0158637 A1
- Document ID: US20250158637A1
- Status: Published application
- Kind: A1
- Application number: 19/021,202
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2017-10-30
- Assignees: Atombeam Technologies Inc.
- Applicants: AtomBeam Technologies Inc.
- Inventors: Joshua Cooper; Grant Fickes; Charles Yeomans; Brian Galvin
- Web page: https://patentgrep.com/patent/US20250158637A1

## CPC

- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- H03M 7/3059: {Digital compression and data reduction techniques where the original information is represented by a subset or similar information, e.g. lossy compression}
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/0475: Generative networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 20/00: Machine learning
- H03M 7/3079: {Context modeling}
- H03M 7/4043: {Adaptive prefix coding}
- H03M 7/6005: {Decoder aspects}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A multi-stage process for homomorphic end-to-end data compression and encryption is claimed. The first stage analyzes input data, applies transformations to increase compressibility and security, produces conditioned data and error streams, transforms data into a dyadic distribution, creates a transformation matrix, performs Huffman coding, and combines Huffman-encoded data with a secondary transformation stream. A second stage further processes the compressed and encrypted output, either repeating the first stage's steps or using an autoencoder for additional compression. The system supports multiple compression stages, each building on the previous one. Decompression reverses these stages while maintaining homomorphic encryption throughout. This approach enables secure data transmission, storage, and analysis in bandwidth-constrained environments, adapting to various data types and compression levels while preserving data quality and security.

## Claims

### Claim 1

A system for decoding, enhancing, and securely processing lossy compressed data streams using fully homomorphic encryption, comprising:
a computing device comprising at least a memory and a processor;
a plurality of programming instructions that, when operating on the processor, cause the computing device to:
perform a first compression stage on data, wherein the first compression stage comprises the steps of:
analyzing an input data stream to determine its statistical properties;
applying one or more transformations to the input data stream to increase compressibility and security;
producing a conditioned data stream and an error stream;
transforming the conditioned data stream into a dyadic distribution;
creating and manage a transformation matrix for reshaping the data distribution;
performing Huffman coding on the transformed data stream; and
combining the Huffman-encoded data stream with a secondary transformation data stream to produce a compressed and encrypted output stream;
wherein upon completion of the first compression stage, a second compression stage is operated on the compressed and encrypted data; and
wherein all operations are performed on encrypted data without decryption.

### Claim 2 (depends on 1)

The system of claim 1, wherein the second compression stage comprises the same steps as the first compression stage, operating on the compressed and encrypted output stream produced by the first compression stage as its input data stream.

### Claim 3 (depends on 1)

The system of claim 1, wherein the second compression stage comprises:
receiving the compressed and encrypted output stream from the first compression stage;
inputting the received stream into an autoencoder;
obtaining an encoded representation of the input from the encoder portion of the autoencoder; and
using this encoded representation as the input for the compression and encryption steps of the second compression stage.

### Claim 4 (depends on 3)

The system of claim 3, further comprising a third compression stage, wherein the third compression stage:
receives as input compressed and encrypted output stream produced by the second compression stage;
performs the same steps as the first compression stage on this input, comprising:
analyzing the input stream to determine its statistical properties;
applying one or more transformations to increase compressibility and security;
producing a conditioned data stream and an error stream; transforming the conditioned data stream into a dyadic distribution;
creating and managing a transformation matrix for reshaping the data distribution;
performing Huffman coding on the transformed data stream; and
combining the Huffman-encoded data stream with a secondary transformation data stream to produce a final compressed and encrypted output stream.

### Claim 5 (depends on 4)

The system of claim 4, further comprising a first decompression stage, wherein the first decompression stage:
receives the final compressed and encrypted output stream;
performs Huffman decoding on the received stream;
applies an inverse transformation matrix to reshape the data distribution;
transforms the data from the dyadic distribution; separates the conditioned data stream and the error stream;
applies inverse transformations to increase comprehensibility; and
outputs a decompressed data stream corresponding to the input of the third compression stage.

### Claim 6 (depends on 5)

The system of claim 5, further comprising a second decompression stage, wherein the second decompression stage:
receives the output from the first decompression stage;
inputs this received data into the decoder portion of the autoencoder used in the second compression stage;
obtains a decoded representation of the input; and
outputs a decompressed data stream corresponding to the input of the second compression stage.

### Claim 7 (depends on 6)

The system of claim 6, further comprising a third decompression stage, wherein the third decompression stage:
receives the output from the second decompression stage;
performs Huffman decoding on the received stream;
applies an inverse transformation matrix to reshape the data distribution;
transforms the data from the dyadic distribution;
separates the conditioned data stream and the error stream;
applies inverse transformations to increase comprehensibility; and
outputs a final decompressed data stream corresponding to the original input data of the first compression stage.

### Claim 8

A method for decoding, enhancing, and securely processing lossy compressed data streams using fully homomorphic encryption, comprising:
performing a first compression stage on data, wherein the first compression stage comprises the steps of:
analyzing an input data stream to determine its statistical properties;
applying one or more transformations to the input data stream to increase compressibility and security;
producing a conditioned data stream and an error stream;
transforming the conditioned data stream into a dyadic distribution;
creating and managing a transformation matrix for reshaping the data distribution;
performing Huffman coding on the transformed data stream; and
combining the Huffman-encoded data stream with a secondary transformation data stream to produce a compressed and encrypted output stream;
wherein upon completion of the first compression stage, a second compression stage is operated on the compressed and encrypted data; and
wherein all operations are performed on encrypted data without decryption.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second compression stage comprises the same steps as the first compression stage, operating on the compressed and encrypted output stream produced by the first compression stage as its input data stream.

### Claim 10 (depends on 8)

The method of claim 8, wherein the second compression stage comprises:
receiving the compressed and encrypted output stream from the first compression stage;
inputting the received stream into an autoencoder;
obtaining an encoded representation of the input from the encoder portion of the autoencoder; and
using this encoded representation as the input for the compression and encryption steps of the second compression stage.

### Claim 11 (depends on 10)

The method of claim 10, further comprising performing a third compression stage, wherein the third compression stage:
receives as input compressed and encrypted output stream produced by the second compression stage; and
performs the same steps as the first compression stage on the compressed and encrypted output stream.

### Claim 12 (depends on 11)

The method of claim 11, further comprising performing a first decompression stage, wherein the first decompression stage:
receives the final compressed and encrypted output stream;
performs Huffman decoding on the received stream; applies an inverse transformation matrix to reshape the data distribution;
transforms the data from the dyadic distribution;
separates the conditioned data stream and the error stream;
applies inverse transformations to increase comprehensibility; and
outputs a decompressed data stream corresponding to the input of the third compression stage.

### Claim 13 (depends on 12)

The method of claim 12, further comprising performing a second decompression stage, wherein the second decompression stage:
receives the output from the first decompression stage;
inputs this received data into the decoder portion of the autoencoder used in the second compression stage;
obtains a decoded representation of the input; and
outputs a decompressed data stream corresponding to the input of the second compression stage.

### Claim 14 (depends on 13)

The method of claim 13, further comprising performing a third decompression stage, wherein the third decompression stage:
receives the output from the second decompression stage;
performs Huffman decoding on the received stream;
applies an inverse transformation matrix to reshape the data distribution;
transforms the data from the dyadic distribution; separates the conditioned data stream and the error stream;
applies inverse transformations to increase comprehensibility; and
outputs a final decompressed data stream corresponding to the original input data of the first compression stage.
