Homogeneous Cluster Regex Generation for Error Messages

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing document classification methods are inefficient in automatically generating regular expressions and clustering documents, relying on manual refinement and inspection, which is time-consuming and resource-intensive, especially when dealing with large volumes of error messages from software testing.

Innovation Solution

The method automates regular expression generation using homogenous clusters, classifying documents into existing clusters and creating new clusters by selecting common tokens and generating regular expressions, reducing the need for manual intervention through the use of homogenous cluster classifiers and regex generators.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual refinement of regular expressions is used, then classification accuracy is improved, but time consumption and resource usage increase

Engineering Contradiction:
Improveclassification accuracyVSAvoidtime consumption
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary clustering of error messages into homogenous groups before generating regular expressions. By pre-organizing documents into clusters based on similarity, the system reduces the search space and enables more efficient regex generation, thereby decreasing time consumption while maintaining classification accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system automatically generates regular expressions from clustered error messages without requiring manual refinement. The homogenous cluster classifier and regex generator work together to self-service the classification task, eliminating the need for manual intervention while preserving accuracy through automated pattern extraction.

Inventive Principle:
Principle #25Self-service

2Stability of the object's composition

If manual inspection of documents in clusters is performed, then cluster homogeneity is improved, but productivity decreases

Engineering Contradiction:
Improvecluster homogeneityVSAvoidgrouping speed
Core Design Contradiction:
Stability of the object's compositionVSProductivity

Solution Approach 1:

The system replaces manual inspection with an automated homogeneity classifier that uses machine learning models to assess cluster homogeneity. This substitution of mechanical human inspection with an automated computational system maintains cluster quality while dramatically increasing productivity by processing clusters at machine speed.

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

Solution Approach 2:

The homogeneity classifier provides automated feedback on cluster quality, enabling the system to iteratively refine cluster assignments without manual intervention. This feedback mechanism ensures clusters maintain high homogeneity while the automated process preserves productivity by eliminating manual review bottlenecks.

Inventive Principle:
Principle #23Feedback

3Productivity

If automated clustering is implemented, then productivity is improved, but classification precision may deteriorate

Engineering Contradiction:
Improveprocessing speedVSAvoidclassification precision
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system segments the classification task into multiple stages: initial automated clustering, homogeneity assessment, and selective refinement. By dividing the process, the system maintains high productivity through automation while ensuring precision through targeted intervention only when necessary, rather than applying uniform manual review to all cases.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10891316B2Identifying homogenous clusters
Publication Date: 2021.01.12 SALESFORCE INC
  • US10891316B2 patent drawing
  • US10891316B2 patent drawing
  • US10891316B2 patent drawing

AI summary

Homogeneous clusters are generated from a first plurality of documents for generation of regular expressions. Documents that share similar characteristics are clustered, and for each cluster, features are generated for use by a homogeneity model to determine a homogeneity score for the cluster. Clusters determined to be homogenous are sent to a regular expression generator.