Neural Network Layer Reuse for Lower-Cost Large Model Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The deployment and inference of large models in various scenarios face high costs, harsh training conditions, and significant deployment difficulties due to their large parameter scale, leading to inefficient use of storage and computational resources.

Innovation Solution

A method involving the retrieval and cyclic reuse of hyperparameters from a storage unit to execute sequential computational subtasks using an operator unit, simulating deep processing of network layers, thereby reducing storage space and computational overhead while maintaining model accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If large model parameter scale is used to improve model accuracy and processing capability, then model performance is improved, but storage space occupation and deployment costs increase significantly

Engineering Contradiction:
Improvemodel accuracyVSAvoidstorage space occupation
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent creates a virtual copy of network layer parameters through operator reuse. Instead of storing multiple physical copies of parameters for different network layers, the system stores a single parameter set and virtually replicates it by reusing the same parameters across multiple computational subtasks, thereby reducing storage space while maintaining the functional equivalence of large-scale models

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent makes parameters universal by enabling a single set of network layer parameters to serve multiple functions. The same parameters are reused across different computational subtasks and network layer simulations, allowing one parameter set to perform the work of multiple parameter sets, thus reducing overall storage requirements while maintaining model accuracy

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Productivity

If large model parameter scale is used to improve model performance, then processing capability is enhanced, but deployment difficulty increases

Engineering Contradiction:
Improveprocessing capabilityVSAvoiddeployment difficulty
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent uses virtual copying to simplify deployment. By creating a virtual representation of multiple network layers through parameter reuse rather than physically deploying multiple complete model copies, the system reduces the complexity of model deployment while maintaining processing capability equivalent to large-scale models

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent segments the computational task into multiple subtasks that can be executed sequentially using the same parameters. This segmentation allows the complex processing capability of large models to be achieved through coordinated simple operations, reducing deployment complexity while maintaining overall processing power

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If traditional model execution is used to maintain model accuracy, then computational precision is preserved, but computational overhead and resource consumption increase

Engineering Contradiction:
Improvecomputational precisionVSAvoidcomputational overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent eliminates redundant computational copies by reusing parameters across multiple subtasks. Instead of performing separate computational passes with duplicate parameter sets, the system virtually replicates parameter functionality through reuse, reducing computational overhead while maintaining the precision that would result from multiple processing passes

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent maintains continuous useful computation by seamlessly reusing parameters across sequential subtasks. The computational process continues without interruption or redundant recalculations, as each subtask builds upon the previous one using the same parameter set, thereby reducing total computational overhead while preserving accuracy through continuous processing

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20260044783A1Task execution method, training method, electronic device, and storage medium
Publication Date: 2026.02.12 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20260044783A1 patent drawing
  • US20260044783A1 patent drawing
  • US20260044783A1 patent drawing

AI summary

The task execution method includes: retrieving, from a storage unit, a hyperparameter of a target network layer in a target model; executing, using an operator unit, a first computational subtask in a computational task, according to the hyperparameter of the target network layer, so as to obtain a first feature output by the target network layer; executing, in response to reusing the hyperparameter of the target network layer, a second computational subtask in the computational task using the operator unit based on the first feature retrieved from the storage unit, so as to obtain a second feature output by the target network layer, where the first computational subtask and the second computational subtask are subtasks sequentially executed in the computational task; and determining a model output result of the target model using the operator unit based on the second feature retrieved from the storage unit.