# US 2026/0089070 A1 · Diffusion-Based Network Traffic Generation

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

- Number: US 2026/0089070 A1
- Document ID: US20260089070A1
- Status: Published application
- Kind: A1
- Application number: 19/336,926
- Filed: 2025-09-23
- Published: 2026-03-26
- Earliest claimed: 2024-09-25
- Assignees: The University of Chicago
- Applicants: The University of Chicago
- Inventors: Nick Feamster; Francesco Bronzino; Xi Jiang; Shinan Liu; Arjun Nitin Bhagoji; Paul Schmitt
- Web page: https://patentgrep.com/patent/US20260089070A1

## CPC

- H04L 41/16: using machine learning or artificial intelligence
- G06V 10/753: {Transform-based matching, e.g. Hough transform}
- G06V 10/82: using neural networks
- H04L 1/0083: {Formatting with frames or packets; Protocol or part of protocol for error control}
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 43/045: for graphical visualisation of monitoring data
- H04L 47/34: ensuring sequence integrity, e.g. using sequence numbers
- H04L 69/03: {Protocol definition or specification (protocol conformance testing H04L1/244)}
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An implementation may involve: providing, to an image diffusion model, a prompt that describes characteristics of network traffic; receiving, from the image diffusion model, an image representing the network traffic, wherein the image comprises a matrix of pixel values representing packets of the network traffic in a presence-based format; transforming the pixel values into a trace of the network traffic, wherein the trace encodes at least packet header values of the packets; applying, to the trace, protocol compliance rules that relate to the packet header values; and outputting the trace in a binary format.

## Claims

### Claim 1

A computer-implemented method comprising:
providing, to an image diffusion model, a prompt that describes characteristics of network traffic;
receiving, from the image diffusion model, an image representing the network traffic, wherein the image comprises a matrix of pixel values representing packets of the network traffic in a presence-based format;
transforming the pixel values into a trace of the network traffic, wherein the trace encodes at least packet header values of the packets;
applying, to the trace, protocol compliance rules that relate to the packet header values; and
outputting the trace in a binary format.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the presence-based format encodes bits present in the packet header values with 0's or 1's, and wherein the presence-based format encodes bits not present in the packet header values with −1's.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the matrix of pixel values comprises 2-1024 sequentially-represented packets.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the prompt is a textual prompt.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein applying the protocol compliance rules comprises adjusting sequence numbers, acknowledgment numbers, checksums, or port numbers of the packet header values according to a dependency tree of protocol rules.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein applying the protocol compliance rules further comprises traversing the dependency tree to modify the packet header values until interdependencies in the packet header values satisfy the protocol rules.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the protocol compliance rules comprise intra-packet dependency rules, including recalculating checksums based on payload and header contents for one or more of the packet header values.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the protocol compliance rules comprise inter-packet dependency rules, including aligning sequence numbers and acknowledgment numbers across a plurality of the packet header values in a flow of the packets represented in the trace.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, further comprising:
providing the trace in the binary format to a traffic replay utility configured to retransmit the trace of the network traffic in a live network environment.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
using the trace in the binary format to augment training of a machine learning model configured to classify further network traffic.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein each row of the matrix corresponds to a packet and each column corresponds to a bit position within a header of the packet.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, further comprising:
obtaining captured network traffic including a sequence of packet headers;
converting the captured network traffic into image-based representations, wherein each respective image of the image-based representations includes a respective matrix of pixel values representing respective packets of the captured network traffic in the presence-based format;
associating the image-based representations with prompts describing characteristics of the captured network traffic; and
fine-tuning the image diffusion model with the image-based representations and the associated prompts.

### Claim 13

A computer-implemented method comprising:
obtaining a trace of captured network traffic including a sequence of packet headers;
converting the captured network traffic into image-based representations, wherein each respective image of the image-based representations includes a respective matrix of pixel values representing respective packets of the captured network traffic in a presence-based format;
associating the image-based representations with prompts describing characteristics of the captured network traffic;
fine-tuning an image diffusion model with the image-based representations and associated prompts; and
storing the image diffusion model for subsequent use.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein the presence-based format encodes bits present in the packet headers with 0's or 1's, and wherein the presence-based format encodes bits not present in the packet headers with −1's.

### Claim 15 (depends on 13)

The computer-implemented method of claim 13, wherein each respective matrix of pixel values comprises 2-1024 sequentially-represented packets.

### Claim 16 (depends on 13)

The computer-implemented method of claim 13, wherein the associated prompts include textual prompts that identify traffic classes of the captured network traffic used to form the image-based representations.

### Claim 17 (depends on 13)

The computer-implemented method of claim 13, wherein fine-tuning the image diffusion model comprises applying Low-Rank Adaptation to modify a pre-trained image diffusion model using the image-based representations and the associated prompts.

### Claim 18 (depends on 13)

The computer-implemented method of claim 13, wherein fine-tuning the image diffusion model comprises conditioning the image diffusion model with control inputs that constrain generation of packet header fields to distributions observed in real network traffic.

### Claim 19 (depends on 1)

The computer-implemented method of claim 1, wherein each row of each respective matrix of pixel values corresponds to a packet and each column of each respective matrix of pixel values corresponds to a bit position within a header of the packet.

### Claim 20

A non-transitory computer-readable medium, storing program instructions that, when executed by one or more processors of a computing system, cause the computing system to perform operations comprising:
providing, to an image diffusion model, a prompt that describes characteristics of network traffic;
receiving, from the image diffusion model, an image representing the network traffic, wherein the image comprises a matrix of pixel values representing packets of the network traffic in a presence-based format;
transforming the pixel values into a trace of the network traffic, wherein the trace encodes at least packet header values of the packets;
applying, to the trace, protocol compliance rules that relate to the packet header values; and
outputting the trace in a binary format.
