AutoML Program Score Calculation via Code Injection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning programs often lack the capability to automatically calculate scores for prediction accuracy, placing a heavy burden on users to manually edit and tune AutoML systems, especially when dealing with large numbers of programs.

Innovation Solution

An information processing apparatus that rewrites machine learning programs to include code for splitting training data into training and test data, and calculates a score based on prediction data, allowing for automatic score calculation and reducing the need for manual editing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If machine learning programs are used without automatic score calculation capability, then users can use simple programs, but users bear heavy burden of manual editing and tuning

Engineering Contradiction:
Improveuser burdenVSAvoidautomatic score calculation
Core Design Contradiction:
Ease of operationVSExtent of automation

Solution Approach 1:

The machine learning program automatically calculates its own score by incorporating code that computes prediction accuracy using the trained model and test data, eliminating the need for external manual evaluation and reducing user burden

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The program pre-calculates the score during the execution flow by inserting code before the final output stage to compute prediction accuracy using the trained model and test data, so that score calculation is completed automatically without requiring user intervention later

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If manual editing of machine learning programs is required for score calculation, then score accuracy can be ensured, but time and effort are significantly consumed

Engineering Contradiction:
Improvescore accuracyVSAvoidmanual editing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The manual mechanical process of editing programs to add score calculation is replaced by an automatic code insertion mechanism that detects training function calls and injects the necessary prediction and scoring code, maintaining accuracy while eliminating time-consuming manual work

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

An intermediary code insertion mechanism acts as a bridge between the original machine learning program and the score calculation requirement, automatically detecting training functions and inserting the appropriate prediction and evaluation code without requiring users to manually edit the program

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If machine learning programs do not include automatic score calculation, then program complexity is reduced, but productivity in tuning AutoML systems decreases

Engineering Contradiction:
ImproveAutoML tuning efficiencyVSAvoidprogram complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The program automatically divides the data processing flow into distinct segments: training data preparation, model training, test data prediction, and score calculation, making the AutoML tuning process more efficient through structured automated evaluation

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The automatically calculated score provides immediate feedback on model performance, enabling efficient AutoML tuning by allowing systematic comparison of different programs and automated selection of high-performing models without manual intervention

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20230409976A1Rewriting method and information processing apparatus
Publication Date: 2023.12.21 FUJITSU LTD
  • US20230409976A1 patent drawing
  • US20230409976A1 patent drawing
  • US20230409976A1 patent drawing

AI summary

A computer detects, based on a module name of a module included in a machine learning library, a first code for calling a training function for training a machine learning model from a machine learning program. The computer inserts, before the first code, second code for splitting first training data passed to the training function into second training data and test data. The computer rewrites the first code to pass the second training data to the training function. The computer inserts, after the first code, third code for calculating a score based on prediction data, which is generated from the trained machine learning model and input data included in the test data, and correct answer data included in the test data.