ML Pipeline Skeleton Instantiation via Code Snippet Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current AutoML solutions and open-source software databases are insufficient for non-expert data scientists to implement new machine learning projects due to scarcity of ML experts, and existing ML projects are difficult to adapt for new requirements.

Innovation Solution

A computer system that automatically adapts existing ML projects by curating and indexing functional blocks from OSS databases, allowing non-experts to search and adapt these blocks into new ML pipelines using a 'search-and-adapt' workflow, with techniques like dynamic program slicing and graph-based sequence mining.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If existing ML projects are used directly, then implementation speed is improved, but adaptability to new requirements deteriorates

Engineering Contradiction:
Improveimplementation speedVSAvoidadaptability to new requirements
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent segments existing ML projects into reusable functional blocks (e.g., data loading, preprocessing, model training) that can be independently selected and adapted. This allows users to compose new pipelines from proven components, maintaining productivity while enabling adaptability through modular recombination.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system enables parameter changes by allowing users to modify hyperparameters, data sources, and configuration settings of functional blocks without changing the underlying code structure. This resolves the contradiction by maintaining the proven logic of existing projects while adapting to new requirements through parameter adjustment.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If AutoML solutions are used, then ease of operation is improved, but manufacturing precision deteriorates

Engineering Contradiction:
Improveease of operation for non-expertsVSAvoidpipeline quality
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The patent copies proven functional blocks from high-quality existing ML pipelines into new projects. By reusing validated code segments from expert implementations, the system maintains manufacturing precision while improving ease of operation, as users can leverage pre-tested components without needing deep ML expertise.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system creates universal functional blocks that can serve multiple purposes across different ML projects. These multi-functional components maintain high quality through rigorous testing while being easily operable by non-experts through standardized interfaces and configuration options.

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

3Adaptability or versatility

If manual adaptation of existing projects is performed, then adaptability is improved, but loss of time increases

Engineering Contradiction:
Improveadaptability to new requirementsVSAvoidtime for manual modification
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-processing existing ML projects into standardized functional blocks with documented interfaces and dependencies. This upfront preparation enables rapid adaptation to new requirements without time-consuming manual modification, as the decomposition work is done once and reused across multiple projects.

Inventive Principle:
Principle #10Preliminary action

4Ease of operation

If OSS databases are curated and indexed, then ease of operation is improved, but device complexity increases

Engineering Contradiction:
Improvesearch and adapt workflowVSAvoidsystem complexity for curating and indexing
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system applies self-service by implementing automated curating and indexing mechanisms that organize functional blocks from OSS databases without requiring manual intervention. The system automatically extracts, categorizes, and indexes code segments, improving ease of operation while managing complexity through automation rather than manual processes.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20220269982A1Machine learning pipeline skeleton instantiation
Publication Date: 2022.08.25 FUJITSU LTD
  • US20220269982A1 patent drawing
  • US20220269982A1 patent drawing
  • US20220269982A1 patent drawing

AI summary

Operations include obtaining a machine learning (ML) pipeline skeleton that indicates a set of first functional blocks to use to process a new dataset of a new ML project. Additionally, for each respective first functional block of the set of first functional blocks, the operations include obtaining existing code snippets from existing ML pipelines, each of the existing code snippets instantiating a second functional block of the existing ML pipelines and being a potential instantiation of the respective first functional block. The operations also include determining a respective adaptability, with respect to the new dataset, of each of the existing code snippets and selecting a particular existing code snippet for implementation of the respective first functional block based on the determined adaptabilities. Further, the operations include instantiating the pipeline skeleton based on the particular existing code snippets.