Selective Fine-Tuning for Natural Language to Logical Form Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex machine learning models, such as those used in natural language processing, require significant time and computing resources for training, especially during the custom fine-tuning process, which can be cumbersome and time-consuming, particularly when loading and training large models on client-side systems.

Innovation Solution

The selective fine-tuning technique identifies an initial set of configurations to freeze and fine-tune specific layers of a multilayer model, optimizing the model's parameters through a hypertuning process to reduce model load and training times, while preserving performance, by only loading and updating the necessary layers during the fine-tuning process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If full model fine-tuning is performed, then model performance is improved, but training time and computing resources increase significantly

Engineering Contradiction:
Improvemodel performanceVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the machine learning model into multiple layers and selectively fine-tunes only specific layers (e.g., later layers) while freezing earlier layers. This segmentation allows the model to achieve task-specific performance improvement without the computational burden of fine-tuning the entire model, thereby reducing training time while maintaining effectiveness.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by differentiating the treatment of different model layers - some layers are frozen while others are fine-tuned based on their specific functional roles. This localized approach ensures that only the necessary parts of the model are updated for the specific task, optimizing the balance between performance improvement and training efficiency.

Inventive Principle:
Principle #3Local quality

2Reliability

If large models are loaded for fine-tuning, then model capability is improved, but model loading time increases

Engineering Contradiction:
Improvemodel capabilityVSAvoidmodel loading time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and loads only the necessary model layers (e.g., later layers that require fine-tuning) while keeping earlier layers frozen and potentially stored separately. This extraction approach reduces the amount of data that needs to be loaded into memory during fine-tuning, significantly decreasing model loading time while preserving the capability to perform task-specific adaptation.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If selective layer freezing is implemented, then training efficiency is improved, but model adaptability may be reduced

Engineering Contradiction:
Improvetraining efficiencyVSAvoidmodel adaptability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent implements a dynamic approach where the freezing status of different layers can be adjusted based on the specific task requirements and available resources. This allows the system to adapt the degree of fine-tuning dynamically - freezing more layers for efficiency when resources are constrained, or fine-tuning more layers when higher adaptability is needed, thus balancing training efficiency with model adaptability.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20240061835A1System and method of selective fine-tuning for custom training of a natural language to logical form model
Publication Date: 2024.02.22 ORACLE INT CORP
  • US20240061835A1 patent drawing
  • US20240061835A1 patent drawing
  • US20240061835A1 patent drawing

AI summary

Systems and methods fine-tune a pretrained machine learning model. For a model having multiple layers, an initial set of configurations is identified, each configuration establishing layers to be frozen and layers to be fine-tuned. A configuration that is optimized with respect to one or more parameters is selected, establishing a set of fine-tuning layers and a set of frozen layers. An input for the model is provided to a remote system. An output of the set of frozen layers of the model, given the provided input, is received back and locally stored. The set of fine-tuning layers of the model is loaded from the remote system. The model is fine-tuned by retrieving the locally stored output of the set of frozen layers, and updating weights associated with the set of fine-tuning layers of the machine learning model.