In-Network Gradient Reduction Across Parallel Compute Switches

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed deep learning systems face significant bottlenecks due to network latency and resource demands on centralized parameter servers and network compute nodes, particularly when processing large data sets and multiple compute nodes, which affect the efficiency and scalability of communication and computation.

Innovation Solution

Implementing compute functionality directly in network switches, allowing each compute node to connect to a plurality of network compute nodes, where local gradients or vectors are reduced using collective operations, reducing resource requirements and network utilization by distributing vector data across multiple communication interfaces.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If compute functionality is centralized on parameter servers, then computation can be performed, but network latency and resource demands increase significantly

Engineering Contradiction:
Improvecomputation efficiencyVSAvoidnetwork latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the centralized parameter server architecture into distributed compute nodes, with each node having local compute resources. This segmentation allows computations to be performed locally rather than requiring constant centralized access, reducing network latency while maintaining computational capability across the distributed system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces in-network computing by embedding compute functionality within network switches, adding a new dimension to the architecture. This allows data to be processed during transmission rather than requiring separate compute cycles, effectively reducing the time lost to network communication while maintaining computational throughput.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If compute nodes are increased to process large data sets, then processing capacity improves, but network bandwidth consumption and resource demands increase

Engineering Contradiction:
Improveprocessing capacityVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent merges network communication and computation functions by integrating compute resources into network switches. This allows data to be processed during transmission, eliminating the need for separate compute cycles that would consume additional network bandwidth. Multiple compute nodes can process data in parallel without proportionally increasing network traffic.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The in-network compute nodes perform computations autonomously as data passes through the network, without requiring additional communication rounds. This self-service capability allows processing capacity to scale without proportionally increasing network bandwidth consumption, as computations are performed in-line during data transmission.

Inventive Principle:
Principle #25Self-service

3Productivity

If centralized parameter servers are used, then gradient aggregation can be performed, but buffering and processing demands on the server increase

Engineering Contradiction:
Improvegradient aggregation capabilityVSAvoidbuffering and processing demands
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the gradient aggregation function across multiple distributed compute nodes rather than concentrating it on a single parameter server. Each compute node performs local gradient computations and exchanges results with neighboring nodes, distributing the buffering and processing demands across the network infrastructure rather than requiring a single high-capacity server.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces network switches with integrated compute functionality as intermediaries between compute nodes. These intermediary devices facilitate gradient aggregation by performing computations during data transmission, reducing the buffering and processing demands on any single device while maintaining the overall gradient aggregation capability of the system.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250343835A1Massively parallel in-network compute
Publication Date: 2025.11.06 INNOVIUM INC
  • US20250343835A1 patent drawing
  • US20250343835A1 patent drawing
  • US20250343835A1 patent drawing

AI summary

Efficient scaling of in-network compute operations to large numbers of compute nodes is disclosed. Each compute node is connected to a same plurality of network compute nodes, such as compute-enabled network switches. Compute processes at the compute nodes generate local gradients or other vectors by, for instance, performing a forward pass on a neural network. Each vector comprises values for a same set of vector elements. Each network compute node is assigned to, based on the local vectors, reduce vector data for a different a subset of the vector elements. Each network compute node returns a result chunk for the elements it processed back to each of the compute nodes, whereby each compute node receives the full result vector. This configuration may, in some embodiments, reduce buffering, processing, and/or other resource requirements for the network compute node or network at large.