Compact Neural Translation Model Construction via Imitation Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Neural translation models require high memory and computation resources, making them unsuitable for terminal environments with limited resources, and they often rely on network connections, which may not be stable for translation and interpretation services.

Innovation Solution

A method and apparatus for constructing a compact translation model by imitation learning a parameter distribution and tree search structure from a pre-built reference model, involving pruning and quantizing parameters, and re-learning to optimize the model for reduced resource usage and network independence.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a neural translation model is used to achieve high translation accuracy, then translation quality is improved, but memory capacity and computation performance requirements increase significantly

Engineering Contradiction:
Improvetranslation accuracyVSAvoidmemory capacity and computation performance
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by quantizing model parameters from high precision (32-bit floating point) to low precision (8-bit integer), and by pruning unnecessary connections in the neural network. This reduces the memory capacity and computation performance requirements while maintaining acceptable translation accuracy, enabling deployment on terminal devices with limited resources.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts and removes unnecessary or less important parameters and connections from the neural translation model through pruning techniques. By eliminating redundant components, the model size and computational complexity are reduced, allowing the model to run on devices with constrained memory and processing power while preserving essential translation functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If a large-sized neural model is deployed to provide high-quality translation, then translation performance is improved, but network connection becomes mandatory due to resource constraints

Engineering Contradiction:
Improvetranslation performanceVSAvoidnetwork connection requirement
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

By quantizing model parameters to low precision and optimizing the model structure, the patent enables the translation model to be deployed locally on terminal devices without requiring network connection for inference. This provides adaptability to work in offline environments while maintaining translation quality, resolving the contradiction between model size and network dependency.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If a compact translation model is constructed for terminal deployment, then resource usage is reduced, but translation accuracy and speed may deteriorate

Engineering Contradiction:
Improveresource usageVSAvoidtranslation accuracy and speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent applies partial action by selectively pruning only the least important parameters and connections while retaining the essential ones needed for accurate translation. This selective approach ensures that the compact model maintains sufficient translation accuracy and speed by preserving the most critical model components while removing only the redundant parts.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent employs feedback mechanisms during the pruning and quantization process, where the model performance is continuously evaluated and the pruning/quantization levels are adjusted accordingly. This iterative optimization ensures that the compact model achieves the best possible translation accuracy and speed given the resource constraints, preventing excessive degradation of performance.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11544479B2Method and apparatus for constructing translation model installed on a terminal on the basis of a pre-built reference model
Publication Date: 2023.01.03 ELECTRONICS & TELECOMM RES INST
  • US11544479B2 patent drawing
  • US11544479B2 patent drawing
  • US11544479B2 patent drawing

AI summary

Provided are a method and apparatus for constructing a compact translation model that may be installed on a terminal on the basis of a pre-built reference model, in which a pre-built reference model is miniaturized through a parameter imitation learning and is efficiently compressed through a tree search structure imitation learning without degrading the translation performance. The compact translation model provides translation accuracy and speed in a terminal environment that is limited in network, memory, and computation performance.