Neural Network Checkpointing via RDMA and Non-Volatile Memory

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current checkpointing systems for neural networks face inefficiencies due to software complexity, underutilization of high-performance hardware, lack of fine-grained checkpoint mechanisms, low fault tolerance, and inadequate data recovery, especially in distributed and multi-user training processes.

Innovation Solution

A deep neural network checkpoint optimization system using non-volatile memory, where a client module in a computing node with GPU memory and a server module in a storage node with non-volatile memory establish end-to-end communication, enabling zero-copy, asynchronous data persistence through RDMA-based indexing and data transfer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional software layers are used for checkpointing, then neural network model persistence is achieved, but hardware performance is not fully utilized due to software complexity

Engineering Contradiction:
Improvemodel persistenceVSAvoidread-write performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts the checkpointing functionality from the complex software layer and implements it directly in the hardware layer using non-volatile memory. The system creates a dedicated hardware pathway that bypasses the software overhead, allowing GPU memory to communicate directly with non-volatile memory through standardized interfaces, thus preserving model persistence while eliminating software-induced performance bottlenecks.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary layer that includes a file system driver and non-volatile memory driver that mediates between the GPU and non-volatile memory. This intermediary enables direct memory access while maintaining compatibility with existing software frameworks, thus improving read-write performance without compromising model persistence reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If fine-grained checkpoint mechanisms are implemented, then data persistence is improved, but system complexity increases

Engineering Contradiction:
Improvefault toleranceVSAvoidcheckpoint mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the checkpointing mechanism into fine-grained units that can independently manage different portions of the neural network model. Each segment can be checkpointed and restored independently, enabling selective recovery of specific model components. This segmentation approach improves fault tolerance by isolating failures to specific segments while avoiding the need for complex full-system checkpoint management.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary indexing of model parameters before checkpointing operations. The system pre-organizes model data structures and creates access indexes that enable rapid localization and recovery of specific model components. This preliminary organization simplifies the actual checkpointing process by providing a ready-made framework for fine-grained operations, reducing the complexity of real-time checkpoint management.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If fast data recovery mechanisms are implemented, then data persistence performance is improved, but system resource requirements increase

Engineering Contradiction:
Improvedata recovery speedVSAvoidsystem resources
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent implements preliminary indexing of model parameters stored in non-volatile memory before recovery operations are needed. The system pre-organizes data structures and creates access maps that enable rapid localization of required model components. This preliminary organization allows the recovery process to skip unnecessary data access steps, achieving fast recovery speeds without requiring additional hardware resources beyond the non-volatile memory itself.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12493801B2Deep neural network checkpoint optimization system and method based on non-volatile memory
Publication Date: 2025.12.09 SHANGHAI TECH UNIV
  • US12493801B2 patent drawing
  • US12493801B2 patent drawing
  • US12493801B2 patent drawing

AI summary

Deep neural network checkpoint optimization system and method based on non-volatile memory are provided, where the client module and the server module register corresponding network structures in non-volatile memory and create data indexes and data communication protocols based on remote direct memory access (RDMA) before the start of training deep neural networks, and during the neural network training process, provide zero-copy, asynchronous, end-to-end neural network data persistence, which allows users to perform fine-grained checkpointing to ensure fault tolerance and data persistence without affecting the training speed.