Matrix Block Scaling for Machine Learning Precision
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing machine learning models face challenges in achieving high solving precision when dealing with matrices containing elements of different orders and varying magnitudes, which complicates the generation of accurate models for matrix equations in numerical simulations.
Innovation Solution
The method involves acquiring a matrix forming a matrix equation, dividing it into blocks based on element attributes, and adjusting the scale of each block's elements to match, thereby inputting a uniformly scaled matrix to a machine learning model for improved precision.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a machine learning model is trained on a matrix containing elements of different orders and varying magnitudes, then the model can be generated quickly, but the solving precision deteriorates
Solution Approach 1:
The patent divides the matrix into multiple blocks based on element attributes (e.g., magnitude ranges, physical meanings). Each block is processed independently with its own scaling transformation, allowing the system to handle elements of different orders separately while maintaining overall model generation efficiency. This segmentation enables precise control over each block's numerical properties without retraining the entire model.
Solution Approach 2:
The patent applies scaling transformations to change the parameters (magnitudes) of matrix elements within each block. By transforming elements to a common scale range while preserving their relative relationships and physical meanings, the model can process uniformly scaled inputs that improve solving precision without requiring model retraining, thus maintaining productivity while enhancing accuracy.
2Measurement precision
If matrix elements are scaled uniformly to improve precision, then solving precision improves, but the complexity of data preprocessing increases
Solution Approach 1:
The patent applies different scaling transformations to different blocks of the matrix based on their specific attributes. Each block receives a tailored scaling approach appropriate to its characteristics (e.g., magnitude range, physical dimension), rather than applying a single global scaling method. This local quality approach improves precision for each block while keeping the preprocessing logic modular and manageable.
Solution Approach 2:
The patent performs scaling transformations on matrix blocks in advance, before feeding them to the machine learning model. By pre-processing the matrix to establish uniform scaling relationships among elements beforehand, the system eliminates the need for complex real-time preprocessing during model inference, thereby reducing overall preprocessing complexity while maintaining high solving precision.
3Measurement precision
If the matrix is divided into many blocks for precise scaling, then solving precision improves, but the processing time increases
Solution Approach 1:
The patent segments the matrix into blocks based on attribute similarities, allowing parallel processing of each block during scaling transformations. By organizing blocks with related elements together and processing them independently, the system minimizes the overhead of inter-block computations while achieving precise scaling, thus reducing overall processing time compared to processing all elements sequentially.
Solution Approach 2:
The patent develops a universal scaling transformation framework that can be applied to any block regardless of its specific attributes. This multi-functional approach uses consistent scaling principles across all blocks, enabling reuse of the same transformation logic and reducing the need for block-specific processing routines, thereby minimizing processing time while maintaining precision across diverse matrix elements.
Data Source
AI summary
A non-transitory computer-readable recording medium storing an information processing program that causes at least one computer to execute a process, the process includes, acquiring a matrix forming a certain matrix equation; dividing the matrix into a plurality of blocks each including an element having a certain attribute based on an attribute of each element of a plurality of elements included in the matrix; changing a scale of each element of the plurality of elements included in each block of the plurality of blocks; and setting the matrix after the scale is changed to a target to be inputted to a machine learning model that performs a matrix operation.


