DL Model Partitioning With Compression and Quantization for Edge Deployment

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Porting and optimizing deep learning models on low-resource embedded targets in devices like Industrial Internet of Things (IIoT), Robotics, and Cyber-physical systems poses challenges due to large model sizes, which can prevent loading at runtime and affect accuracy with arbitrary compression and quantization.

Innovation Solution

A method involving partitioning DL models into layers, applying compression and quantization configurations to achieve maximum inference accuracy, minimum latency, and low power consumption across multiple processing elements, with dynamic adjustments for different hardware types, including COTS accelerators, using techniques like quantization aware retraining.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If the DL model size is reduced through quantization and compression, then the model can be loaded and processed on low-resource hardware, but the accuracy represented by the model deteriorates

Engineering Contradiction:
Improvemodel sizeVSAvoidaccuracy
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The patent segments the DL model into multiple partitions that can be distributed across different processing elements. Each partition can be independently optimized for accuracy while the collective system achieves the desired balance between model size and accuracy. This segmentation allows selective compression in different model regions without uniformly degrading accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different partitions of the DL model are assigned different compression and quantization configurations based on their specific requirements. Critical layers maintain higher accuracy while less critical layers undergo more aggressive compression. This local quality approach enables optimized accuracy-compression tradeoff for each model region rather than uniform treatment.

Inventive Principle:
Principle #3Local quality

2Speed

If the DL model is partitioned across multiple processing elements, then the inference latency is reduced, but the device complexity increases

Engineering Contradiction:
Improveinference latencyVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The processing elements are designed with multi-functionality to handle different types of computational operations. The same PE can execute different layers or partitions of the model, and the system can dynamically assign workloads. This universality reduces the need for specialized hardware for each function, thereby reducing overall system complexity while maintaining low latency.

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

Solution Approach 2:

The system employs dynamic workload distribution where the assignment of model partitions to processing elements can change based on real-time conditions. This dynamic approach allows the system to optimize latency by routing computations to available PEs while adapting to varying hardware capabilities and conditions, reducing the need for rigid complex hardware designs.

Inventive Principle:
Principle #15Dynamics

3Use of energy by moving object

If compression configurations are applied to reduce model size, then the power consumption is reduced, but the inference accuracy deteriorates

Engineering Contradiction:
Improvepower consumptionVSAvoidinference accuracy
Core Design Contradiction:
Use of energy by moving objectVSMeasurement precision

Solution Approach 1:

Instead of uniformly applying maximum compression to the entire model, the system applies partial compression selectively to specific partitions or layers. This allows the system to achieve significant power savings through compression in less critical regions while maintaining sufficient accuracy in regions where it matters most, optimizing the energy-accuracy tradeoff.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes compression parameters (such as quantization bit-width, compression ratio) dynamically based on the specific requirements of each model partition. By adjusting these parameters rather than using fixed compression levels, the system can optimize power consumption for each region while maintaining accuracy thresholds, achieving better overall energy efficiency.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12430558B2Combining compression, partitioning and quantization of DL models for fitment in hardware processors
Publication Date: 2025.09.30 TATA CONSULTANCY SERVICES LTD
  • US12430558B2 patent drawing
  • US12430558B2 patent drawing
  • US12430558B2 patent drawing

AI summary

Small and compact Deep Learning models are required for embedded AI in several domains. In many industrial use-cases, there are requirements to transform already trained models to ensemble embedded systems or re-train those for a given deployment scenario, with limited data for transfer learning. Moreover, the hardware platforms used in embedded application include FPGAs, AI hardware accelerators, System-on-Chips and on-premises computing elements (Fog/Network Edge). These are interconnected through heterogenous bus/network with different capacities. Method of the present disclosure finds how to automatically partition a given DNN into ensemble devices, considering the effect of accuracy—latency power—tradeoff, due to intermediate compression and effect of quantization due to conversion to AI accelerator SDKs. Method of the present disclosure is an iterative approach to obtain a set of partitions by repeatedly refining the partitions and generating a cascaded model for inference and training on ensemble hardware.