# US 2025/0378336 A1 · Lightweight codeword model for edge operation using an all-binary core

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

- Number: US 2025/0378336 A1
- Document ID: US20250378336A1
- Status: Published application
- Kind: A1
- Application number: 18/890,788
- Filed: 2024-09-20
- Published: 2025-12-11
- Earliest claimed: 2024-06-07
- Assignees: Atombeam Technologies Inc.
- Applicants: AtomBeam Technologies Inc.
- Inventors: Brian Galvin
- Web page: https://patentgrep.com/patent/US20250378336A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An all-binary neural network system and method for processing and analyzing multi-source time series data is disclosed. The system employs a shared codebook to encode input streams into binary codewords, which are then processed through a series of binary convolutional layers, binary LSTM layers, and binary fully connected layers. The system maintains binary representations throughout, enabling efficient computation and reduced memory requirements while effectively capturing temporal and inter-source relationships in the data.

## Claims

### Claim 1

A system for processing data using an all-binary neural network, comprising:
a computing device comprising at least a memory and a processor:
an all-binary core comprising a first plurality of programming instructions stored in the memory and operable on the processor, wherein the first plurality of programming instructions, when operating on the processor, cause the computing device to:
encode input data into binary codewords;
process the binary codewords through a plurality of binary neural network layers;
generate a final output using the processed binary codewords; and
maintain binary representations and operations throughout the neural network.

### Claim 2 (depends on 1)

The system of claim 1, wherein encoding input data into binary codewords comprises using a shared codebook.

### Claim 3 (depends on 2)

The system of claim 2, wherein the shared codebook uses Huffman coding to generate binary codewords for input data values.

### Claim 4 (depends on 1)

The system of claim 1, wherein the plurality of binary neural network layers comprises one or more binary convolutional layers.

### Claim 5 (depends on 4)

The system of claim 4, wherein the binary convolutional layers comprise:
binary weights;
binary activation functions; and
operations implemented using XNOR and popcount functions.

### Claim 6 (depends on 4)

The system of claim 4, further comprising a binary max pooling layer following at least one of the binary convolutional layers.

### Claim 7 (depends on 1)

The system of claim 1, wherein the plurality of binary neural network layers comprises one or more binary long short-term memory (LSTM) layers.

### Claim 8 (depends on 7)

The system of claim 7, wherein the binary LSTM layers comprise:
binary input, forget, and output gates;
a binary cell state; and
binary matrix multiplications implemented using XNOR and popcount functions.

### Claim 9 (depends on 1)

The system of claim 1, wherein the plurality of binary neural network layers comprises one or more binary fully connected layers.

### Claim 10 (depends on 9)

The system of claim 9, wherein the binary fully connected layers comprise:
binary weights;
binary activation functions; and
binary matrix multiplications implemented using XNOR and popcount functions.

### Claim 11 (depends on 1)

The system of claim 1, wherein the input data comprises multi-source time series data.

### Claim 12 (depends on 1)

The system of claim 1, wherein the final output comprises a binary anomaly indicator.

### Claim 13 (depends on 1)

The system of claim 1, wherein the one or more hardware processors are further configured for training the all-binary neural network by:
initializing binary weights for the neural network layers;
forward propagating binary codewords through the network while maintaining binary representations;
computing a loss function based on the network's binary output;
back-propagating errors through the network using binary approximations of gradients; and
updating binary weights using a binary optimization algorithm.

### Claim 14 (depends on 1)

The system of claim 1, wherein the one or more hardware processors are further configured for quantizing floating-point values to binary or n-bit integer representations.

### Claim 15 (depends on 1)

The system of claim 1, wherein the all-binary neural network is implemented on an edge computing device with limited computational and memory resources.

### Claim 16

A method for processing data using an all-binary neural network, comprising the steps of:
encoding input data into binary codewords;
processing the binary codewords through a plurality of binary neural network layers;
generating a final output using the processed binary codewords; and
maintaining binary representations and operations throughout the neural network.

### Claim 17 (depends on 16)

The method of claim 16, wherein encoding input data into binary codewords comprises using a shared codebook.

### Claim 18 (depends on 17)

The method of claim 17, wherein the shared codebook uses Huffman coding to generate binary codewords for input data values.

### Claim 19 (depends on 16)

The method of claim 16, wherein the plurality of binary neural network layers comprises one or more binary convolutional layers.

### Claim 20 (depends on 19)

The method of claim 19, wherein the binary convolutional layers comprise:
binary weights;
binary activation functions; and
operations implemented using XNOR and popcount functions.

### Claim 21 (depends on 19)

The method of claim 19, further comprising a binary max pooling layer following at least one of the binary convolutional layers.

### Claim 22 (depends on 16)

The method of claim 16, wherein the plurality of binary neural network layers comprises one or more binary long short-term memory (LSTM) layers.

### Claim 23 (depends on 22)

The method of claim 22, wherein the binary LSTM layers comprise:
binary input, forget, and output gates;
a binary cell state; and
binary matrix multiplications implemented using XNOR and popcount functions.

### Claim 24 (depends on 16)

The method of claim 16, wherein the plurality of binary neural network layers comprises one or more binary fully connected layers.

### Claim 25 (depends on 24)

The method of claim 24, wherein the binary fully connected layers comprise:
binary weights;
binary activation functions; and
binary matrix multiplications implemented using XNOR and popcount functions.

### Claim 26 (depends on 16)

The method of claim 16, wherein the input data comprises multi-source time series data.

### Claim 27 (depends on 16)

The method of claim 16, wherein the final output comprises a binary anomaly indicator.

### Claim 28 (depends on 16)

The method of claim 16, further comprising the step of training the all-binary neural network by:
initializing binary weights for the neural network layers;
forward propagating binary codewords through the network while maintaining binary representations;
computing a loss function based on the network's binary output;
back-propagating errors through the network using binary approximations of gradients; and
updating binary weights using a binary optimization algorithm.

### Claim 29 (depends on 16)

The method of claim 16, further comprising the step of quantizing floating-point values to binary or n-bit integer representations.

### Claim 30 (depends on 16)

The method of claim 16, wherein the all-binary neural network is implemented on an edge computing device with limited computational and memory resources.
