# US 2025/0385809 A1 · Reinforcement learning for switch power optimization

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

- Number: US 2025/0385809 A1
- Document ID: US20250385809A1
- Status: Published application
- Kind: A1
- Application number: 18/741,609
- Filed: 2024-06-12
- Published: 2025-12-18
- Earliest claimed: 2024-06-12
- Assignees: NVIDIA Corporation
- Applicants: NVIDIA Corporation
- Inventors: Gal Dalal; Amit Kazimirsky; Jonathan Paul
- Web page: https://patentgrep.com/patent/US20250385809A1

## CPC

- H04L 12/40039: {Details regarding the setting of the power status of a node according to activity on the bus}
- G06F 1/3209: Monitoring remote activity, e.g. over telephone lines or network connections
- H04L 12/12: Arrangements for remote connection or disconnection of substations or of equipment thereof
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Network switches are devices that connect multiple devices together on a computer network, using packet switching to receive, process, and forward data to the destination device. Each switch typically contains multiple ports, which are the points of connection for network cables. These ports can be in an active state, where they are ready to transmit data, or in an idle state, where they consume less power. Power consumption in datacenters has been a topic of concern due to the increasing demand for data processing and storage. One approach to reducing power consumption involves managing the power state of the switch ports. However, current power saving policies focus on making decisions for one type of traffic pattern or for a single port at a time, and therefore cannot intelligently or dynamically adapt to a multitude of network parameters affecting traffic flows. The present disclosure uses artificial intelligence to more intelligently transition ports between different modes of operation.

## Claims

### Claim 1

A method, comprising:
at a device:
processing, by a neural network, state information observed for one or more ports of one or more switches connected to a network to determine a mode of operation for at least one port of the one or more ports; and
causing the at least one port to operate in the mode of operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the state information is observed for a single port of a single switch connected to the network.

### Claim 3 (depends on 1)

The method of claim 1, wherein the state information is observed for multiple ports of a single switch connected to the network.

### Claim 4 (depends on 1)

The method of claim 1, wherein the state information is observed for a connected pair of ports respectively located on different switches connected to the network.

### Claim 5 (depends on 1)

The method of claim 1, wherein the state information is observed for two connected pairs of ports respectively located on different switches connected to the network.

### Claim 6 (depends on 1)

The method of claim 1, wherein a connection is established between the one or more ports.

### Claim 7 (depends on 1)

The method of claim 1, wherein the state information includes bandwidth.

### Claim 8 (depends on 1)

The method of claim 1, wherein the state information includes utilization.

### Claim 9 (depends on 1)

The method of claim 1, wherein the state information includes queue size.

### Claim 10 (depends on 1)

The method of claim 1, wherein the state information includes information associated with delayed packets in the network, the information including at least one of:
a number of the delayed packets, or
an average or maximum delay time among the delayed packets.

### Claim 11 (depends on 1)

The method of claim 1, wherein the mode of operation is selected between at least a first mode of operation and a second mode of operation.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first mode of operation includes an active mode and wherein the second mode of operation includes an idle mode.

### Claim 13 (depends on 12)

The method of claim 12, wherein the active mode consumes more power than the idle mode.

### Claim 14 (depends on 1)

The method of claim 1, wherein the neural network is trained using reinforcement learning.

### Claim 15 (depends on 14)

The method of claim 14, wherein the reinforcement learning is configured to maximize a cumulative reward over time.

### Claim 16 (depends on 15)

The method of claim 15, wherein the cumulative reward is computed from positive rewards given for saving power and negative rewards given for performance degradation, wherein the power saving results from operating a port in an idle mode, wherein the power saving is proportional to a time in which the port is operated in the idle mode, and wherein the performance degradation is defined as a delay in job completion time incurred due to packets being delayed when waiting to be sent through the port when operated in the idle mode.

### Claim 17 (depends on 1)

The method of claim 1, wherein the neural network is trained using a network simulator.

### Claim 18 (depends on 1)

The method of claim 1, wherein the neural network is trained on a remote datacenter.

### Claim 19 (depends on 1)

The method of claim 1, wherein causing the at least one port to operate in the mode of operation includes:
causing the at least one port to toggle between a first mode of operation and a second mode of operation.

### Claim 20 (depends on 1)

The method of claim 1, wherein the first mode of operation includes an active mode and wherein the second mode of operation includes an idle mode.

### Claim 21 (depends on 1)

The method of claim 1, further comprising at the device:
receiving one or more reward signals, wherein the one or more reward signals are computed as a function of additional information observed for the one or more ports after causing the at least one port to operate in the mode of operation.

### Claim 22 (depends on 1)

The method of claim 1, wherein the neural network is dedicated for use in controlling operation of the one or more ports.

### Claim 23 (depends on 1)

The method of claim 1, wherein the neural network is generalized for use in controlling operation of a plurality of ports of a plurality of switches.

### Claim 24

A system, comprising:
a non-transitory memory storage comprising instructions; and
one or more processors in communication with the memory, wherein the one or more processors execute the instructions to:
process, by a neural network, state information observed for one or more ports of one or more switches connected to a network to determine a mode of operation for at least one port of the one or more ports; and
cause the at least one port to operate in the mode of operation.

### Claim 25 (depends on 24)

The system of claim 24, wherein the system is a component of a datacenter remote from the one or more switches.

### Claim 26 (depends on 24)

The system of claim 24, wherein a connection is established between the one or more ports.

### Claim 27 (depends on 24)

The system of claim 24, wherein the state information includes at least one of:
bandwidth,
utilization,
queue size,
a number of the delayed packets, or
an average or maximum delay time among the delayed packets.

### Claim 28 (depends on 24)

The system of claim 24, wherein the mode of operation is selected between an active mode and an idle mode, wherein the active mode consumes more power than the idle mode.

### Claim 29 (depends on 24)

The system of claim 24, wherein the neural network is trained using reinforcement learning, wherein the reinforcement learning is configured to maximize a cumulative reward over time.

### Claim 30 (depends on 29)

The system of claim 29, wherein the cumulative reward is computed from positive rewards given for saving power and negative rewards given for performance degradation, wherein the power saving results from operating a port in an idle mode, wherein the power saving is proportional to a time in which the port is operated in the idle mode, and wherein the performance degradation is defined as a delay in job completion time incurred due to packets being delayed when waiting to be sent through the port when operated in the idle mode.

### Claim 31

A non-transitory computer-readable media storing computer instructions which when executed by one or more processors of a device cause the device to:
process, by a neural network, state information observed for one or more ports of one or more switches connected to a network to determine a mode of operation for at least one port of the one or more ports; and
cause the at least one port to operate in the mode of operation.

### Claim 32 (depends on 31)

The non-transitory computer-readable media of claim 31, wherein the system is a component of a datacenter remote from the one or more switches.

### Claim 33 (depends on 31)

The non-transitory computer-readable media of claim 31, wherein a connection is established between the one or more ports.

### Claim 34 (depends on 31)

The non-transitory computer-readable media of claim 31, wherein the state information includes at least one of:
bandwidth,
utilization,
queue size,
a number of the delayed packets, or
an average or maximum delay time among the delayed packets.

### Claim 35 (depends on 31)

The non-transitory computer-readable media of claim 31, wherein the mode of operation is selected between an active mode and an idle mode, wherein the active mode consumes more power than the idle mode.

### Claim 36 (depends on 31)

The non-transitory computer-readable media of claim 31, wherein the neural network is trained using reinforcement learning, wherein the reinforcement learning is configured to maximize a cumulative reward over time.

### Claim 37 (depends on 36)

The non-transitory computer-readable media of claim 36, wherein the cumulative reward is computed from positive rewards given for saving power and negative rewards given for performance degradation, wherein the power saving results from operating a port in an idle mode, wherein the power saving is proportional to a time in which the port is operated in the idle mode, and wherein the performance degradation is defined as a delay in job completion time incurred due to packets being delayed when waiting to be sent through the port when operated in the idle mode.
