# US 2025/0291699 A1 · Convolutional neural network for software log classification

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

- Number: US 2025/0291699 A1
- Document ID: US20250291699A1
- Status: Published application
- Kind: A1
- Application number: 18/605,395
- Filed: 2024-03-14
- Published: 2025-09-18
- Earliest claimed: 2024-03-14
- Assignees: Viavi Solutions Inc.
- Applicants: VIAVI Solutions Inc.
- Inventors: Achintha IHALAGE; Sayed TAHERI; Faris MUHAMMAD; Hamed AL-RAWESHIDY
- Web page: https://patentgrep.com/patent/US20250291699A1

## CPC

- G06F 11/3476: {Data logging (G06F11/14, G06F11/2205 take precedence)}
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- H04M 3/242: {Software testing}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

In some implementations, a device may provide a software log to a convolutional neural network (CNN) associated with software log classification, wherein the CNN is associated with an embedding layer that is initialized with character embeddings extracted from a sequence-to-sequence model, and the CNN is associated with a block of one-dimensional convolutional layers that follows the character embeddings. The device may generate a software log classification using the CNN, wherein the software log classification indicates whether the software log is associated with an issue and a telecommunications protocol stack in which the issue or a defect has occurred.

## Claims

### Claim 1

A method, comprising:
providing, by a device, a software log to a convolutional neural network (CNN) associated with software log classification, wherein:
the CNN is associated with an embedding layer that is initialized with character embeddings extracted from a sequence-to-sequence model, and
the CNN is associated with a block of one-dimensional convolutional layers that follows the character embeddings; and
generating, by the device, a software log classification using the CNN, wherein the software log classification indicates whether the software log is associated with an issue and a telecommunications protocol stack in which the issue or a defect has occurred.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sequence-to-sequence model is based on long short-term memory (LSTM) units, and token embeddings extracted from the sequence-to-sequence model are used to initialize the embedding layer of the CNN.

### Claim 3 (depends on 1)

The method of claim 1, wherein the software log classification is one of:
a first value that indicates that the software log does not have any issues;
a second value that indicates that the issue is at a physical layer;
a third value that indicates that the issue is at a data link layer; or
a fourth value that indicates that the issue is at a network layer or at a higher layer.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
providing, by the device, a historical raw logs database to a pre-processing unit;
capturing, by the device and via the pre-processing unit, software logs related to one or more network testing categories, wherein the one or more network testing categories are associated with one or more of single-user equipment (UE), single-cell, multi-UE, multi-cell, New Radio (NR) Fifth Generation (5G) tests, Long Term Evolution (LTE) tests, or layer 3 (L3) tests;
obtaining, by the device, pre-processed software logs;
performing, by the device, a detection and a removal of outlier logs from the pre-processed software logs;
creating, by the device, a training corpus based on a concatenation of resulting software logs, wherein unique characters present in the training corpus are used as tokens based on a level of correlation between software logs and natural language;
encoding, by the device, a piece of text within the training corpus and obtaining a corresponding numerical representation, based on using the unique characters as the tokens;
creating, by the device, a training sequence based on a sequence length equal to a median length of message blocks, in terms of a number of characters, in the software logs;
creating, by the device, tuples of input and target sequences with matching lengths, wherein equal and fixed-length input and target sequences enables a recurrent neural network (RNN) architecture without an explicit decoder for sequence-to-sequence learning; and
forming, by the device and based on the tuples of input and target sequences, the sequence-to-sequence model, wherein the sequence-to-sequence model is associated with the embedding layer and a long short-term memory (LSTM) layer.

### Claim 5 (depends on 4)

The method of claim 4, wherein the embedding layer represents characters in a vocabulary with an embedding of a number of dimensions chosen heuristically, wherein the embedding layer is followed by the LSTM layer that returns processed sequences and a dense layer with a number of units equal to a vocabulary size, and the dense layer is applied across returned sequences by the LSTM layer.

### Claim 6 (depends on 1)

The method of claim 1, wherein the software log includes raw data generated by a telecommunications network emulator.

### Claim 7 (depends on 1)

The method of claim 1, wherein the software log is an input text sequence having up to 200,000 characters in a telecommunications domain.

### Claim 8 (depends on 1)

The method of claim 1, wherein the sequence-to-sequence model is associated with language understanding, and the CNN is a residual CNN associated with software log classification.

### Claim 9 (depends on 1)

The method of claim 1, wherein the CNN is associated with a first accuracy level and a large language model (LLM) for software log classification is associated with a second accuracy level, and the first accuracy level is greater than the second accuracy level.

### Claim 10 (depends on 9)

The method of claim 9, wherein the LLM for software log classification is associated with domain-specific pre-training and subsequent fine tuning on data using low-rank adaptation (LoRA), and the LLM is associated with an adaptable overlapping sliding window to extract pre-trained LLM embeddings of software logs that exceed a typical context window of LLMs.

### Claim 11 (depends on 1)

The method of claim 1, wherein the CNN is deployable on an edge device.

### Claim 12

A device, comprising:
one or more memories; and
one or more processors, communicatively coupled to the one or more memories, configured to:
provide a software log to a convolutional neural network (CNN) associated with software log classification, wherein:
the CNN is associated with an embedding layer that is initialized with character embeddings extracted from a sequence-to-sequence model, and
the CNN is associated with a block of one-dimensional convolutional layers that follows the character embeddings; and
generate a software log classification using the CNN, wherein the software log classification indicates whether the software log is associated with an issue and a telecommunications protocol stack in which the issue or a defect has occurred.

### Claim 13 (depends on 12)

The device of claim 12, wherein the sequence-to-sequence model is based on long short-term memory (LSTM) units, and token embeddings extracted from the sequence-to-sequence model are used to initialize the embedding layer of the CNN.

### Claim 14 (depends on 12)

The device of claim 12, wherein the software log classification is one of:
a first value that indicates that the software log does not have any issues;
a second value that indicates that the issue is at a physical layer;
a third value that indicates that the issue is at a data link layer; or
a fourth value that indicates that the issue is at a network layer or at a higher layer.

### Claim 15 (depends on 12)

The device of claim 12, further comprising:
providing, by the device, a historical raw logs database to a pre-processing unit;
capturing, by the device and via the pre-processing unit, software logs related to one or more network testing categories, wherein the one or more network testing categories are associated with one or more of single-user equipment (UE), single-cell, multi-UE, multi-cell, New Radio (NR) Fifth Generation (5G) tests, Long Term Evolution (LTE) tests, or layer 3 (L3) tests;
obtaining, by the device, pre-processed software logs;
performing, by the device, a detection and a removal of outlier logs from the pre-processed software logs;
creating, by the device, a training corpus based on a concatenation of resulting software logs, wherein unique characters present in the training corpus are used as tokens based on a level of correlation between software logs and natural language;
encoding, by the device, a piece of text within the training corpus and obtaining a corresponding numerical representation, based on using the unique characters as the tokens;
creating, by the device, a training sequence based on a sequence length equal to a median length of message blocks, in terms of a number of characters, in the software logs;
creating, by the device, tuples of input and target sequences with matching lengths, wherein equal and fixed-length input and target sequences enables a recurrent neural network (RNN) architecture without an explicit decoder for sequence-to-sequence learning; and
forming, by the device and based on the tuples of input and target sequences, the sequence-to-sequence model, wherein the sequence-to-sequence model is associated with the embedding layer and a long short-term memory (LSTM) layer.

### Claim 16 (depends on 15)

The device of claim 15, wherein the embedding layer represents characters in a vocabulary with an embedding of a number of dimensions chosen heuristically, wherein the embedding layer is followed by the LSTM layer that returns processed sequences and a dense layer with a number of units equal to a vocabulary size, and the dense layer is applied across returned sequences by the LSTM layer.

### Claim 17 (depends on 12)

The device of claim 12, wherein:
the software log includes raw data generated by a telecommunications network emulator;
the software log is an input text sequence having up to 200,000 characters in a telecommunications domain;
the sequence-to-sequence model is associated with language understanding, and the CNN is a residual CNN associated with software log classification; and
the CNN is deployable on an edge device.

### Claim 18 (depends on 12)

The device of claim 12, wherein the CNN is associated with a first accuracy level and a large language model (LLM) for software log classification is associated with a second accuracy level, and the first accuracy level is greater than the second accuracy level.

### Claim 19 (depends on 18)

The device of claim 18, wherein the LLM for software log classification is associated with domain-specific pre-training and subsequent fine tuning on data using low-rank adaptation (LoRA), and the LLM is associated with an adaptable overlapping sliding window to extract pre-trained LLM embeddings of software logs that exceed a typical context window of LLMs.

### Claim 20

A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:
one or more instructions that, when executed by one or more processors of a device, cause the device to:
provide a software log to a convolutional neural network (CNN) associated with software log classification, wherein:
the CNN is associated with an embedding layer that is initialized with character embeddings extracted from a sequence-to-sequence model, and
the CNN is associated with a block of one-dimensional convolutional layers that follows the character embeddings; and
generate a software log classification using the CNN, wherein the software log classification indicates whether the software log is associated with an issue and a telecommunications protocol stack in which the issue or a defect has occurred.
