Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7743915B2 - Model analysis device, model analysis method, and program - Google Patents
[go: Go Back, main page]

JP7743915B2 - Model analysis device, model analysis method, and program - Google Patents

Model analysis device, model analysis method, and program

Info

Publication number
JP7743915B2
JP7743915B2 JP2024509567A JP2024509567A JP7743915B2 JP 7743915 B2 JP7743915 B2 JP 7743915B2 JP 2024509567 A JP2024509567 A JP 2024509567A JP 2024509567 A JP2024509567 A JP 2024509567A JP 7743915 B2 JP7743915 B2 JP 7743915B2
Authority
JP
Japan
Prior art keywords
model
performance
attribute
category
attributes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2024509567A
Other languages
Japanese (ja)
Other versions
JPWO2023181244A5 (en
JPWO2023181244A1 (en
Inventor
竜太 松野
智哉 坂井
啓太 佐久間
義男 亀田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Publication of JPWO2023181244A1 publication Critical patent/JPWO2023181244A1/ja
Publication of JPWO2023181244A5 publication Critical patent/JPWO2023181244A5/en
Application granted granted Critical
Publication of JP7743915B2 publication Critical patent/JP7743915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本開示は、機械学習モデルの分析に関する。 This disclosure relates to the analysis of machine learning models.

近年、様々な分野において、機械学習により得られた予測モデルが利用されている。特許文献1は、識別モデルの学習に使用する学習用データのカテゴリ毎に、モデルの学習に使用した学習用データの数と、学習により得られたモデルの識別精度との関係を可視化する手法を記載している。In recent years, predictive models obtained through machine learning have been used in a variety of fields. Patent Document 1 describes a method for visualizing the relationship between the number of training data items used to train a discriminative model and the discrimination accuracy of the model obtained through training, for each category of training data used to train the model.

国際公開WO2021/085188号公報International Publication No. WO2021/085188

予測モデルを用いて予測を行う場合、入力されるデータセットのカテゴリや属性によって、モデルの性能に差が生じることがある。この場合、予測に用いられるデータセットのカテゴリ数や属性数が多いと、モデルの性能の差を人手で確認することは困難となる。 When making predictions using a predictive model, differences in model performance can occur depending on the categories and attributes of the input dataset. In this case, if the dataset used for prediction has a large number of categories or attributes, it becomes difficult to manually check the differences in model performance.

本開示の1つの目的は、予測に使用されるデータセットのカテゴリの属性毎にモデルの性能を評価し、モデルによる予測性能の差が大きいカテゴリ及び属性を可視化することにある。 One objective of this disclosure is to evaluate the performance of models for each attribute of a category of a dataset used for prediction, and to visualize categories and attributes with large differences in predictive performance between models.

本開示の一つの観点では、モデル分析装置は、
モデルを取得するモデル取得手段と、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出する性能算出手段と、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合する属性統合手段と、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する出力手段と、
を備える。
In one aspect of the present disclosure, a model analysis apparatus includes:
a model acquisition means for acquiring a model;
a performance calculation means for calculating the performance of the model for each attribute included in a data category;
an attribute integrating means for integrating a plurality of consecutive attributes into one based on the performance of the model;
an output means for extracting pairs of attributes whose difference in performance of the model satisfies a predetermined condition, and outputting performance information indicating the performance of the model for each attribute included in the pair;
Equipped with.

本開示の他の観点では、コンピュータにより実行されるモデル分析方法は、
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する。
In another aspect of the present disclosure, a computer-implemented model analysis method includes:
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
merging consecutive attributes into one based on the performance of the model;
Pairs of attributes whose difference in performance of the models satisfies a predetermined condition are extracted, and performance information indicating the performance of the model for each attribute included in the pair is output.

開示のさらに他の観点では、プログラムは、
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する処理をコンピュータに実行させる。

In yet another aspect of the disclosure , a program includes:
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
merging consecutive attributes into one based on the performance of the model;
The computer is caused to execute a process of extracting pairs of attributes whose difference in performance of the models satisfies a predetermined condition, and outputting performance information indicating the performance of the models for each attribute included in the pair.

本開示によれば、予測に使用されるデータセットのカテゴリの属性毎にモデルの性能を評価し、モデルによる予測性能の差が大きいカテゴリ及び属性を可視化することが可能となる。 This disclosure makes it possible to evaluate the performance of a model for each attribute of a category of the dataset used for prediction, and to visualize categories and attributes with large differences in predictive performance between models.

第1実施形態に係るモデル生成システムの全体構成を示すブロック図である。1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment. モデル生成装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration of the model generating device. 第1実施形態のモデル生成装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of the model generation device according to the first embodiment. 不公平性能情報の表示例を示す。10 shows an example of displaying unfair performance information. 不公平性能情報を生成する例を示す。An example of generating unfair performance information will be described. モデル生成装置によるモデル分析処理のフローチャートである。10 is a flowchart of a model analysis process performed by the model generating device. サーバと端末装置を用いたモデル生成システムの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a model generation system using a server and a terminal device. 第2実施形態のモデル分析装置の機能構成を示すブロック図である。FIG. 10 is a block diagram showing the functional configuration of a model analysis apparatus according to a second embodiment. 第2実施形態のモデル分析装置による処理のフローチャートである。10 is a flowchart of a process performed by a model analysis device according to a second embodiment.

以下、図面を参照して、本開示の好適な実施形態について説明する。
<第1実施形態>
[全体構成]
図1は、第1実施形態に係るモデル生成システムの全体構成を示すブロック図である。モデル生成システム1は、モデル生成装置100と、表示装置2と、入力装置3とを備える。モデル生成装置100は、本開示のモデル分析装置を適用したものであり、例えばパーソナルコンピュータ(PC)などのコンピュータにより構成される。表示装置2は、例えば液晶表示装置などであり、モデル生成装置100が生成した評価情報を表示する。入力装置3は、例えばマウス、キーボードなどであり、ユーザがモデルの修正時や評価情報の閲覧時に必要な指示、入力を行うために使用される。
Hereinafter, preferred embodiments of the present disclosure will be described with reference to the drawings.
First Embodiment
[Overall configuration]
1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment. The model generation system 1 includes a model generation device 100, a display device 2, and an input device 3. The model generation device 100 is an application of the model analysis device of the present disclosure, and is configured by a computer such as a personal computer (PC). The display device 2 is, for example, a liquid crystal display device, and displays evaluation information generated by the model generation device 100. The input device 3 is, for example, a mouse, a keyboard, etc., and is used by the user to give instructions and input necessary when modifying a model or viewing evaluation information.

まず、モデル生成システム1の動作を概略的に説明する。モデル生成装置100は、予め用意された訓練データを用いて、機械学習モデル(以下、単に「モデル」と呼ぶ。)を生成する。また、モデル生成装置100は、生成したモデルの分析、評価を行う。具体的に、モデル生成装置100は、評価用データなどを用いてモデルによる予測を行い、予測結果に基づいてモデルの予測性能を分析する。モデル生成装置100は、評価用データのデータセットのカテゴリの属性毎に、モデルの性能を示す値(以下、「性能値」とも呼ぶ。)を算出する。そして、モデル生成装置100は、カテゴリの属性毎のモデルの性能が大きく異なる場合、カテゴリの属性毎のモデルの性能を示すグラフなどを生成し、評価情報としてユーザに提示する。ユーザは、評価情報を確認し、入力装置3を操作してモデルの修正のための修正情報を入力することができる。First, we will provide an overview of the operation of the model generation system 1. The model generation device 100 generates a machine learning model (hereinafter simply referred to as a "model") using previously prepared training data. The model generation device 100 also analyzes and evaluates the generated model. Specifically, the model generation device 100 performs model predictions using evaluation data and analyzes the model's predictive performance based on the prediction results. The model generation device 100 calculates a value indicating the model's performance (hereinafter also referred to as a "performance value") for each attribute of a category in the evaluation data dataset. If the model performance for each attribute of a category differs significantly, the model generation device 100 generates a graph or the like indicating the model's performance for each attribute of the category and presents it to the user as evaluation information. The user can confirm the evaluation information and operate the input device 3 to input correction information for modifying the model.

なお、機械学習モデルとは、説明変数と目的変数の関係を表す情報である。機械学習モデルは、例えば、説明変数に基づいて目的とする変数を算出することにより推定対象の結果を推定するためのコンポーネントである。機械学習モデルは、既に目的変数の値が得られている学習用データと任意のパラメータとを入力として、学習アルゴリズムを実行することにより生成される。機械学習モデルは例えば、入力xを正解yに写像する関数cにより表されてもよい。機械学習モデルは、推定対象の数値を推定するものであってもよいし、推定対象のラベルを推定するものであってもよい。機械学習モデルは、目的変数の確率分布を記述する変数を出力してもよい。機械学習モデルは、「学習モデル」、「分析モデル」、「AI(Artificial Intelligence)モデル」、「学習済みモデル」、「推論モデル」、または「予測式」などと記載されることもある。ここで、説明変数とは機械学習モデルにおいて入力として用いられる変数である。説明変数は、「特徴量」または「特徴」などと記載されることがある。 A machine learning model is information that represents the relationship between explanatory variables and a response variable. A machine learning model is, for example, a component that estimates the results of an estimation target by calculating a response variable based on explanatory variables. A machine learning model is generated by executing a learning algorithm using training data, for which the response variable value has already been obtained, and arbitrary parameters as input. A machine learning model may be represented, for example, by a function c that maps an input x to a correct answer y. A machine learning model may estimate the numerical value of an estimation target, or may estimate the label of an estimation target. A machine learning model may output a variable that describes the probability distribution of the response variable. A machine learning model may also be referred to as a "learning model," "analysis model," "AI (Artificial Intelligence) model," "trained model," "inference model," or "prediction formula." Here, explanatory variables are variables used as inputs in a machine learning model. Explanatory variables may also be referred to as "features" or "characteristics."

また、機械学習モデルを生成するための学習アルゴリズムは特に限定されず、既存の学習アルゴリズムでよい。例えば、学習アルゴリズムは、ランダムフォレスト、サポートベクターマシン、ナイーブベイズ、FAB推論(Factorized Asymptotic Bayesian Inference)を利用した区分線形モデル、またはニューラルネットワークであってよい。なお、FAB推論を利用した区分線形モデルの手法は、例えば米国公開特許US2014/0222741A1号公報等に開示されている。 The learning algorithm for generating the machine learning model is not particularly limited and may be any existing learning algorithm. For example, the learning algorithm may be a piecewise linear model using random forest, support vector machine, naive Bayes, or FAB inference (Factorized Asymptotic Bayesian Inference), or a neural network. Note that a piecewise linear model technique using FAB inference is disclosed, for example, in U.S. Patent Publication US 2014/0222741 A1.

[ハードウェア構成]
図2は、モデル生成装置100のハードウェア構成を示すブロック図である。図示のように、モデル生成装置100は、インタフェース(I/F)111と、プロセッサ112と、メモリ113と、記録媒体114と、データベース(DB)115と、を備える。
[Hardware configuration]
2 is a block diagram showing the hardware configuration of the model generation device 100. As shown in the figure, the model generation device 100 includes an interface (I/F) 111, a processor 112, a memory 113, a recording medium 114, and a database (DB) 115.

I/F111は、外部装置との間でデータの入出力を行う。具体的に、モデルの生成に使用する訓練データ、評価用データ、及び、ユーザが入力装置3を用いて入力した指示や入力は、I/F111を通じてモデル生成装置100に入力される。また、モデル生成装置100が生成したモデルの評価情報は、I/F111を通じて表示装置2へ出力される。 I/F 111 inputs and outputs data to and from external devices. Specifically, training data and evaluation data used to generate the model, as well as instructions and input entered by the user using input device 3, are input to model generation device 100 via I/F 111. In addition, evaluation information for the model generated by model generation device 100 is output to display device 2 via I/F 111.

プロセッサ112は、CPU(Central Processing Unit)などのコンピュータであり、予め用意されたプログラムを実行することによりモデル生成装置100の全体を制御する。なお、プロセッサ112は、GPU(Graphics Processing Unit)、TPU(Tensor Processing Unit)、量子プロセッサまたはFPGA(Field-Programmable Gate Array)であってもよい。プロセッサ112は、後述するモデル分析処理を実行する。 Processor 112 is a computer such as a CPU (Central Processing Unit) that controls the entire model generation device 100 by executing a pre-prepared program. Processor 112 may also be a GPU (Graphics Processing Unit), TPU (Tensor Processing Unit), quantum processor, or FPGA (Field-Programmable Gate Array). Processor 112 executes the model analysis process described below.

メモリ113は、ROM(Read Only Memory)、RAM(Random Access Memory)などにより構成される。メモリ113は、プロセッサ112による各種の処理の実行中に作業メモリとしても使用される。 Memory 113 is composed of ROM (Read Only Memory), RAM (Random Access Memory), etc. Memory 113 is also used as working memory while processor 112 is executing various processes.

記録媒体114は、ディスク状記録媒体、半導体メモリなどの不揮発性で非一時的な記録媒体であり、モデル生成装置100に対して着脱可能に構成される。記録媒体114は、プロセッサ112が実行する各種のプログラムを記録している。モデル生成装置100が各種の処理を実行する際には、記録媒体114に記録されているプログラムがメモリ113にロードされ、プロセッサ112により実行される。 The recording medium 114 is a non-volatile, non-transitory recording medium such as a disk-shaped recording medium or semiconductor memory, and is configured to be detachable from the model generation device 100. The recording medium 114 records various programs executed by the processor 112. When the model generation device 100 executes various processes, the programs recorded on the recording medium 114 are loaded into the memory 113 and executed by the processor 112.

DB115は、モデル生成装置100が生成したモデル(以下、「既存モデル」と呼ぶ。)、及び、再訓練による修正後のモデル(以下、「修正後モデル」と呼ぶ。)に関する情報を記憶する。また、DB115は、必要に応じて、I/F111を通じて入力された訓練データ、評価用データ、ユーザが入力した修正情報などを記憶する。 DB115 stores information about the model generated by model generation device 100 (hereinafter referred to as the "existing model") and the model after correction through retraining (hereinafter referred to as the "corrected model"). DB115 also stores, as necessary, training data, evaluation data, correction information entered by the user, etc., input via I/F111.

(機能構成)
図3は、第1実施形態のモデル生成装置100の機能構成を示すブロック図である。モデル生成装置100は、機能的には、訓練データDB121と、モデル訓練部122と、モデルDB123と、評価用データDB124と、分析部125と、を備える。
(Functional configuration)
3 is a block diagram showing the functional configuration of the model generation device 100 according to the first embodiment. Functionally, the model generation device 100 includes a training data DB 121, a model training unit 122, a model DB 123, an evaluation data DB 124, and an analysis unit 125.

訓練データDB121は、モデルの生成に用いられる訓練データを記憶する。訓練データD1は、モデル訓練部122に入力される。なお、訓練データD1は、入力データと、その入力データに対する正解(正解値又は正解ラベル)との複数の組み合わせにより構成される。 The training data DB 121 stores training data used to generate a model. The training data D1 is input to the model training unit 122. The training data D1 is composed of multiple combinations of input data and correct answers (correct values or correct labels) for the input data.

モデル訓練部122は、訓練データD1を用いてモデルの訓練を行い、モデルを生成する。モデル訓練部122は、生成したモデルに対応するモデルデータMをモデルDB123及び分析部125へ出力する。なお、モデルデータMは、モデルを構成する複数のパラメータ情報を含む。パラメータ情報は、例えば、モデルの入力として用いられる説明変数の情報、各説明変数に対する重みの情報、入力データを構成する各サンプルに対する重みの情報などを含む。 The model training unit 122 trains a model using the training data D1 and generates a model. The model training unit 122 outputs model data M corresponding to the generated model to the model DB 123 and the analysis unit 125. The model data M includes multiple parameter information constituting the model. The parameter information includes, for example, information on explanatory variables used as input to the model, information on weights for each explanatory variable, and information on weights for each sample constituting the input data.

また、モデル訓練部122は、既存モデルを再訓練して修正後モデルを生成する。この場合、モデル訓練部122は、ユーザが入力装置3を用いて入力した修正情報D3に基づいて、モデルを構成するパラメータを修正し、必要に応じて再訓練用の訓練データを用いてモデルの再訓練を行う。モデル訓練部122は、再訓練により得られた修正後モデルのモデルデータMをモデルDB123へ記憶するとともに、分析部125へ出力する。 The model training unit 122 also retrains the existing model to generate a modified model. In this case, the model training unit 122 modifies the parameters that make up the model based on the modification information D3 input by the user using the input device 3, and retrains the model using training data for retraining as necessary. The model training unit 122 stores the model data M of the modified model obtained by retraining in the model DB 123 and outputs it to the analysis unit 125.

評価用データDB124は、生成されたモデルの評価に使用する評価用データを記憶する。評価用データは、例えば収集されたデータのうち、訓練データとして使用しなかった一部のデータや、新たに収集されたデータ、検証のために用意されたバリデーションデータなどである。なお、訓練データを評価用データとして使用してもよい。評価用データは、入力データと、その入力データに対する正解(正解値又は正解ラベル)との複数の組み合わせにより構成される。 The evaluation data DB 124 stores evaluation data used to evaluate the generated model. The evaluation data may be, for example, a portion of the collected data that was not used as training data, newly collected data, or validation data prepared for verification. Training data may also be used as evaluation data. The evaluation data consists of multiple combinations of input data and correct answers (correct values or correct labels) for the input data.

評価用データは、データセットの単位で記憶され、使用される。データセットに含まれる各データは、複数のカテゴリを含む。例えば、与信を判定する予測モデルの場合、評価用データとして多数の判定対象者のデータが用意され、各データは、例えば年齢層、性別、居住地域、家族構成、所得などのカテゴリを含む。また、各カテゴリは、複数の属性(グループ)を含む。 Evaluation data is stored and used in units of datasets. Each piece of data contained in a dataset contains multiple categories. For example, in the case of a predictive model for determining creditworthiness, data on a large number of individuals to be evaluated is prepared as evaluation data, and each piece of data contains categories such as age group, gender, residential area, family structure, and income. Furthermore, each category contains multiple attributes (groups).

分析部125は、評価用データを用いて、データセットのカテゴリに含まれる属性毎に、モデルの性能を分析する。例えば、あるカテゴリ「年齢層」が「20代」、「30代」、「40代」・・・、などの複数の属性を含むとする。この場合、分析部125は、属性毎にモデルの性能を示す性能値を算出する。次に、分析部125は、性能の差(乖離)が大きい属性を抽出する。なお、性能の差が大きいことを性能が「不公平」であると呼ぶ。分析部125は、そのカテゴリと、性能の差が大きい属性と、を示す情報(以下、「不公平性能情報」とも呼ぶ。)を、評価情報D2として表示装置2へ出力する。 The analysis unit 125 uses the evaluation data to analyze the performance of the model for each attribute included in the categories of the dataset. For example, suppose a certain category, "age group," includes multiple attributes such as "20s," "30s," "40s," etc. In this case, the analysis unit 125 calculates a performance value indicating the model's performance for each attribute. Next, the analysis unit 125 extracts attributes with large performance differences (deviations). Note that large performance differences are referred to as "unfair" performance. The analysis unit 125 outputs information indicating the categories and attributes with large performance differences (hereinafter also referred to as "unfair performance information") to the display device 2 as evaluation information D2.

表示装置2は、分析部125が出力した評価情報D2を表示装置2に表示する。ユーザは、表示された不公平性能情報を見ることにより、カテゴリ毎及び属性毎のモデルの性能の差異を知ることができる。 The display device 2 displays the evaluation information D2 output by the analysis unit 125 on the display device 2. By looking at the displayed unfair performance information, the user can learn about the differences in model performance for each category and attribute.

また、ユーザは、必要に応じて、現行モデルを修正するための修正情報D3を入力装置3に入力する。修正情報D3は、例えば、モデルの入力として用いられる説明変数の情報、各説明変数に対する重みの情報、入力データを構成する各サンプルに対する重みの情報などの修正に関する情報である。モデル訓練部122は、入力された修正情報D3を用いてモデルの再訓練を行うことにより、モデルの修正を行う。 In addition, the user inputs correction information D3 into the input device 3 as needed to correct the current model. The correction information D3 is information related to the correction, such as information on explanatory variables used as input to the model, information on weights for each explanatory variable, and information on weights for each sample that makes up the input data. The model training unit 122 corrects the model by retraining the model using the input correction information D3.

図4は、不公平性能情報の例を示す。図4(A)は、ある予測モデルのデータセット全体に対する性能指標を示す。このグラフは、例えば、データセットに含まれる全てのデータに対する予測モデルの性能指標の平均値などである。 Figure 4 shows an example of unfair performance information. Figure 4(A) shows the performance index for an entire dataset of a certain predictive model. This graph may be, for example, the average value of the performance index of the predictive model for all data included in the dataset.

図4(B)は、不公平性能情報の一例を示す。この例では、カテゴリ「年齢層」に含まれる複数の属性(20代、30代、...)のうち、属性「20代」のデータに対しては予測モデルの性能が高いが、属性「60~90代」のデータに対しては予測モデルの性能が低いことが示されている。 Figure 4 (B) shows an example of unfair performance information. In this example, out of the multiple attributes included in the "age group" category (20s, 30s, ...), the prediction model performs well for data for the "20s" attribute, but performs poorly for data for the "60s to 90s" attribute.

図4(C)は、不公平性能情報の他の例を示す。この例では、カテゴリ「所得」に含まれる複数の属性のうち、属性「200~300万」のデータに対しては予測モデルの性能が高いが、属性「1000万」に対しては予測モデルの性能が低いことが示されている。 Figure 4(C) shows another example of unfair performance information. In this example, it is shown that, among the multiple attributes included in the category "income," the predictive model performs well for data on the attribute "2 million to 3 million," but performs poorly for the attribute "10 million."

このように、分析部125は、属性毎のモデルの性能の差が大きい属性を抽出し、そのカテゴリ、及び、性能値を示すグラフなどを不公平性能情報としてユーザに提示する。これにより、ユーザは、各カテゴリについて属性毎のモデルの性能の差を小さくするように、即ち、モデルの性能に属性毎のばらつきが生じないように、モデルの修正などを行うことが可能となる。なお、不公平性能情報の生成方法については、後に詳しく説明する。分析部125は、モデル取得手段、性能算出手段、属性統合手段、及び、出力手段の一例である。 In this way, the analysis unit 125 extracts attributes with large differences in model performance for each attribute, and presents the categories and graphs showing performance values to the user as unfair performance information. This allows the user to modify the model so as to reduce the differences in model performance for each attribute for each category, i.e., to prevent variations in model performance for each attribute. The method for generating unfair performance information will be explained in detail later. The analysis unit 125 is an example of a model acquisition means, performance calculation means, attribute integration means, and output means.

[不公平性能情報の生成例]
次に、不公平性能情報を生成する例を説明する。図5は、不公平性能情報を生成する例を示す。いま、顧客の情報に基づいて商品の売り上げを予測するモデルを想定する。モデルに入力されるデータセットは、複数の顧客について、カテゴリ1~6の情報を含む。なお、カテゴリ1は「年齢層」とし、カテゴリ4は「所得」とする。
[Example of generating unfair performance information]
Next, an example of generating unfair performance information will be described. FIG. 5 shows an example of generating unfair performance information. Now, consider a model that predicts product sales based on customer information. The data set input to the model contains information on categories 1 to 6 for multiple customers. Category 1 is "age group" and category 4 is "income."

この場合、まず、分析部125は、各カテゴリを複数の属性(グループ)に分割する。図5の例では、分析部125は、カテゴリ1(年齢層)を複数の属性「20代」、「30代」、...に分割する。同様に、分析部125は、カテゴリ2~6をそれぞれ複数の属性に分割する。In this case, the analysis unit 125 first divides each category into multiple attributes (groups). In the example of Figure 5, the analysis unit 125 divides category 1 (age group) into multiple attributes: "20s," "30s," etc. Similarly, the analysis unit 125 divides categories 2 to 6 into multiple attributes each.

次に、分析部125は、各カテゴリについて、属性毎にデータセットをモデルに入力して予測を行い、属性毎にモデルの性能を示す性能指標を算出する。性能指標としては、例えば、モデルの予測精度、互換性など、モデルの性能を評価するために使用できる各種の指標を用いることができる。性能指標の他の例として、F1スコア、適合率、再現率などを用いることができる。回帰タスクの場合には、決定係数等を用いても良い。また、値が低いほど良いとされる誤差系の指標として、例えば平均二乗誤差や交差エントロピー等を用いても良い。これにより、図5に示すように、カテゴリ1~6に含まれる各属性について、モデルの性能を示す性能値が得られる。図5では、カテゴリ1~6について算出した属性毎の性能値をグラフ81~86で示している。Next, the analysis unit 125 inputs the dataset for each attribute into the model for each category, performs predictions, and calculates a performance index indicating the model's performance for each attribute. Performance indices can be various indices that can be used to evaluate model performance, such as the model's prediction accuracy and compatibility. Other examples of performance indices include the F1 score, precision, and recall. In the case of regression tasks, the coefficient of determination may also be used. Furthermore, error-based indices, where the lower the value, the better, may also be used, such as mean squared error and cross entropy. This allows for the acquisition of performance values indicating the model's performance for each attribute included in categories 1 to 6, as shown in Figure 5. In Figure 5, graphs 81 to 86 show the performance values for each attribute calculated for categories 1 to 6.

次に、分析部125は、各カテゴリについて、属性毎の性能値の差が大きい組み合わせを抽出する。例えば、図5のカテゴリ1では、属性「20代」の性能値は高く、属性「60代」、「70代」、..の性能値は低い。よって、分析部125は、性能値の差が大きい属性の組み合わせ(以下、「不公平属性ペア」とも呼ぶ。)を抽出する。具体的には、分析部125は、最大の性能値を有する属性と最小の性能値を有する属性を不公平属性ペアとして抽出する。Next, the analysis unit 125 extracts combinations for each category that have a large difference in performance value for each attribute. For example, in category 1 in Figure 5, the performance value for the attribute "20s" is high, while the performance values for the attributes "60s," "70s," etc. are low. Therefore, the analysis unit 125 extracts combinations of attributes that have a large difference in performance value (hereinafter also referred to as "unfair attribute pairs"). Specifically, the analysis unit 125 extracts the attribute with the largest performance value and the attribute with the smallest performance value as an unfair attribute pair.

なお、分析部125は、連続又は隣接する属性の性能値の差が小さい場合には、それらの属性を1つの属性に統合してもよい。例えば、図5のカテゴリ1に関するグラフ81において、属性「60代」、「70代」、「80代」、「90代」の性能値の差が小さい(差が所定の閾値以内である)場合、分析部125は、それらを統合した属性「60~90代」を作成してもよい。こうして、図5の例では、不公平属性ペアとして「20代」と「60~90代」が抽出される。このように、性能値の差が小さい複数の属性を統合することにより、複数の属性を列挙する場合に比べて表示がシンプルになり、ユーザによる認識が容易となる。 In addition, if the difference in performance values between consecutive or adjacent attributes is small, the analysis unit 125 may combine those attributes into a single attribute. For example, in graph 81 for category 1 in Figure 5, if the difference in performance values between the attributes "60s," "70s," "80s," and "90s" is small (the difference is within a predetermined threshold), the analysis unit 125 may combine them to create an attribute "60s to 90s." Thus, in the example of Figure 5, "20s" and "60s to 90s" are extracted as an unfair attribute pair. In this way, by combining multiple attributes with small differences in performance values, the display becomes simpler than when multiple attributes are listed, making it easier for users to recognize.

次に、分析部125は、各カテゴリについて抽出された不公平属性ペアについて、性能値の差を比較し、性能値の差が最も大きい不公平属性ペアに対応するカテゴリを、不公平なカテゴリ(以下、「不公平カテゴリ」とも呼ぶ。)と決定する。例えば、カテゴリ1~6のうち、カテゴリ1の不公平属性ペア間の差が最大である場合、分析部125は、カテゴリ1を不公平カテゴリと決定する。こうして、複数のカテゴリのうち、不公平性が最も高い(公平性が最も低い)カテゴリが抽出される。Next, the analysis unit 125 compares the difference in performance values for the unfair attribute pairs extracted for each category, and determines the category corresponding to the unfair attribute pair with the largest difference in performance values as the unfair category (hereinafter also referred to as the "unfair category"). For example, if the difference between the unfair attribute pairs in category 1 is the largest among categories 1 to 6, the analysis unit 125 determines category 1 as the unfair category. In this way, the category with the highest unfairness (least fairness) is extracted from among multiple categories.

分析部125は、不公平カテゴリについて、そのカテゴリ名、不公平属性ペアの性能値を示すグラフを作成し、表示装置2へ出力する。図5の例では、分析部125は、カテゴリ1を不公平カテゴリと判定し、カテゴリ名「年齢層」と、不公平属性ペア「20代」及び「60~90代」の性能値を示すグラフとを表示している。The analysis unit 125 creates a graph showing the category name and performance values of the unfair attribute pairs for each unfair category, and outputs it to the display device 2. In the example of Figure 5, the analysis unit 125 determines that category 1 is an unfair category, and displays a graph showing the category name "Age Group" and the performance values of the unfair attribute pairs "20s" and "60s to 90s."

なお、上記の例では、分析部125は、1つの不公平カテゴリを抽出しているが、複数の不公平カテゴリを抽出してもよい。例えば、分析部125は、複数のカテゴリのうち、不公平性が最も高いカテゴリと、2番目に高いカテゴリと、を不公平カテゴリとして抽出してもよい。図5の例では、グラフ87に示すカテゴリ1(年齢層)に加えて、グラフ88に示すカテゴリ4(所得)も不公平カテゴリとして抽出されている。なお、カテゴリ4については、分析部125は、性能値の差が小さい属性「200万」、「250万」、「300万」を統合して属性「200~300万」を作成し、属性「200~300万」と「1000万」を不公平属性ペアとして抽出している。なお、分析部125は、カテゴリ数が1つである場合には、そのカテゴリについての不公平性能情報を出力すればよい。 In the above example, the analysis unit 125 extracts one unfair category, but it may extract multiple unfair categories. For example, the analysis unit 125 may extract the category with the highest unfairness and the category with the second highest unfairness as unfair categories from among multiple categories. In the example of Figure 5, in addition to category 1 (age group) shown in graph 87, category 4 (income) shown in graph 88 is also extracted as an unfair category. For category 4, the analysis unit 125 combines the attributes "2 million," "2.5 million," and "3 million," which have small differences in performance values, to create the attribute "2 million to 3 million," and extracts the attributes "2 million to 3 million" and "10 million" as an unfair attribute pair. If there is only one category, the analysis unit 125 simply outputs unfair performance information for that category.

以上のように、本実施形態では、分析部125は、各カテゴリについて、それに含まれる属性毎の性能値を比較し、属性毎の性能値の差が大きいカテゴリを不公平カテゴリとして抽出する。そして、分析部125は、不公平カテゴリに関するグラフ87、88のような情報を不公平性能情報として表示装置2に表示する。これにより、ユーザは、属性毎のモデルの性能の差やばらつきが大きいカテゴリを容易に知ることができる。通常、カテゴリ数及び属性数が多い場合、データセットが数値データである場合などには、カテゴリ毎の性能の差を人手により確認することは困難である。この点、本実施形態では、図5のグラフ87、88に示すような不公平性能情報を表示することにより、ユーザは性能が不公平なカテゴリや、そのカテゴリにおいて問題になっている属性毎の性能値の違いなどを容易に把握することができる。As described above, in this embodiment, the analysis unit 125 compares the performance values of each attribute included in each category and extracts categories with large differences in performance values for each attribute as unfair categories. The analysis unit 125 then displays information such as graphs 87 and 88 related to the unfair categories as unfair performance information on the display device 2. This allows the user to easily identify categories with large differences or variances in model performance for each attribute. Typically, when there are a large number of categories and attributes, or when the dataset is numerical data, it is difficult to manually confirm the performance differences for each category. In this regard, in this embodiment, by displaying unfair performance information such as that shown in graphs 87 and 88 in Figure 5, the user can easily identify categories with unfair performance and the problematic differences in performance values for each attribute in those categories.

[モデル分析処理]
次に、モデル生成装置100によるモデル分析処理について説明する。図6は、モデル生成装置100によるモデル分析処理のフローチャートである。モデル分析処理は、図5に例示したように、各カテゴリの属性毎にモデルの性能を算出し、不公平性能情報を生成する処理である。この処理は、図2に示すプロセッサ112が予め用意されたプログラムを実行し、主として図3に示す分析部125として動作することにより実現される。
[Model analysis processing]
Next, the model analysis process performed by the model generating device 100 will be described. Fig. 6 is a flowchart of the model analysis process performed by the model generating device 100. The model analysis process is a process of calculating the performance of a model for each attribute of each category and generating unfair performance information, as exemplified in Fig. 5. This process is realized by the processor 112 shown in Fig. 2 executing a program prepared in advance and operating mainly as the analysis unit 125 shown in Fig. 3.

まず、分析部125は、データセットに含まれる連続変数を、カテゴリに変換する(ステップS10)。具体的に、分析部125は、年齢、所得などの連続変数を、順序付きカテゴリに変換する。例えば、分析部125は、連続変数の取る最小値と最大値の間を2つ以上の属性(グループ)に等分割し、カテゴリに変換する。年齢の例では、分析部125は、20~100歳を10歳毎に分割して、20代、30代、というように複数の属性を作成する。First, the analysis unit 125 converts continuous variables contained in the dataset into categories (step S10). Specifically, the analysis unit 125 converts continuous variables such as age and income into ordered categories. For example, the analysis unit 125 divides the range between the minimum and maximum values of the continuous variable into two or more attributes (groups) and converts them into categories. In the example of age, the analysis unit 125 divides the age range from 20 to 100 into 10-year increments to create multiple attributes such as 20s, 30s, etc.

なお、分析部125は、業務知識に基づいて分割点を用意できる場合は、その分割点に応じて、連続変数をカテゴリに変換してもよい。また、分析部125は、各属性のサンプル数が同じになるように、パーセンタイルに応じて分割点を決定し、連続変数をカテゴリに変換してもよい。なお、データセットに含まれる変数が例えば、性別、居住地など、もともとカテゴリである場合は、上記の処理は不要である。 If the analysis unit 125 can prepare division points based on business knowledge, it may convert continuous variables into categories according to those division points. The analysis unit 125 may also determine division points according to percentiles so that the number of samples for each attribute is the same, and convert continuous variables into categories. If the variables included in the dataset are originally categorical, such as gender or place of residence, the above processing is not necessary.

次に、分析部125は、各カテゴリについて、属性毎に性能値を算出する(ステップS11)。具体的に、分析部125は、各カテゴリの属性に応じてデータセットを分割し、部分データセットを作成する。そして、分析部125は、部分データセット毎にモデルの性能値を算出する。Next, the analysis unit 125 calculates a performance value for each attribute for each category (step S11). Specifically, the analysis unit 125 divides the dataset according to the attributes of each category to create partial datasets. Then, the analysis unit 125 calculates the performance value of the model for each partial dataset.

次に、分析部125は、属性を統合する(ステップS12)。具体的には、分析部125は、元々の連続変数を含む順序付きカテゴリについて、連続する属性の性能の差が一定の閾値以内である場合に、それらの属性を1つの属性に統合する。なお、その代わりに、分析部125は、クラスタリング手法を用いて複数の属性を統合してもよい。Next, the analysis unit 125 integrates the attributes (step S12). Specifically, for an ordered category containing the original continuous variables, if the difference in performance between consecutive attributes is within a certain threshold, the analysis unit 125 integrates those attributes into a single attribute. Alternatively, the analysis unit 125 may integrate multiple attributes using a clustering technique.

次に、分析部125は、各カテゴリについて、モデルの性能値の差が大きい不公平属性ペアを決定する(ステップS13)。具体的には、分析部125は、各カテゴリにおいて、モデルの性能値が最大の属性と最小の属性のペアを不公平属性ペアとして抽出する。Next, the analysis unit 125 determines, for each category, unfair attribute pairs with large differences in model performance values (step S13). Specifically, the analysis unit 125 extracts, for each category, the pair of attributes with the highest and lowest model performance values as unfair attribute pairs.

なお、分析部125が、不公平属性ペアを抽出する方法は、性能値の最大値と最小値とに限定されない。例えば、分析部125は、ユーザによって事前に定められた条件を満たすペアを不公平属性ペアとして抽出してもよい。分析部125は、任意の属性ペアの性能値の差が一定以上であれば、不公平属性ペアとして抽出してもよい。 The method by which the analysis unit 125 extracts unfair attribute pairs is not limited to the maximum and minimum performance values. For example, the analysis unit 125 may extract pairs that satisfy conditions predetermined by the user as unfair attribute pairs. The analysis unit 125 may extract any attribute pair as an unfair attribute pair if the difference in performance values between the pair is equal to or greater than a certain value.

次に、分析部125は、不公平カテゴリを決定し、不公平性能情報を表示装置2に出力する(ステップS14)。具体的には、分析部125は、各カテゴリについての不公平属性ペア間の性能値の差を算出し、少なくとも性能値の差が最大であるカテゴリを不公平カテゴリと決定する。そして、分析部125は、不公平カテゴリについて、それに属する不公平属性ペアの性能値を示すグラフなどを含む不公平性能情報を表示装置2へ出力する。これにより、図5のグラフ87、88などの不公平性能情報が表示装置2に表示される。そして、処理は終了する。Next, the analysis unit 125 determines the unfair category and outputs the unfair performance information to the display device 2 (step S14). Specifically, the analysis unit 125 calculates the difference in performance values between the unfair attribute pairs for each category and determines the category with at least the largest difference in performance value as the unfair category. The analysis unit 125 then outputs unfair performance information for the unfair category, including graphs showing the performance values of the unfair attribute pairs belonging to that category, to the display device 2. As a result, unfair performance information such as graphs 87 and 88 in Figure 5 is displayed on the display device 2. The processing then ends.

[変形例]
上記の実施形態では、モデル生成装置100をPCなどの独立した装置として構成しているが、その代わりに、モデル生成装置をサーバと端末装置により構成してもよい。図7は、サーバと端末装置を用いたモデル生成システム1xの概略構成を示すブロック図である。図7において、サーバ100xは、図3に示すモデル生成装置100の構成を備える。また、ユーザが使用する端末装置7の表示装置2x及び入力装置3xを、図3に示す表示装置2及び入力装置3として使用する。
[Modification]
In the above embodiment, the model generation device 100 is configured as an independent device such as a PC, but instead, the model generation device may be configured by a server and a terminal device. FIG. 7 is a block diagram showing a schematic configuration of a model generation system 1x using a server and a terminal device. In FIG. 7, the server 100x has the configuration of the model generation device 100 shown in FIG. 3. Furthermore, the display device 2x and input device 3x of the terminal device 7 used by the user are used as the display device 2 and input device 3 shown in FIG. 3.

<第2実施形態>
図8は、第2実施形態のモデル分析装置70の機能構成を示すブロック図である。モデル分析装置70は、モデル取得手段71と、性能算出手段72と、出力手段73と、を備える。
Second Embodiment
8 is a block diagram showing the functional configuration of a model analysis device 70 according to the second embodiment. The model analysis device 70 includes a model acquisition unit 71, a performance calculation unit 72, and an output unit 73.

図9は、第2実施形態のモデル分析装置70による処理のフローチャートである。モデル取得手段71は、モデルを取得する(ステップS71)。性能算出手段72は、データのカテゴリに含まれる属性毎にモデルの性能を算出する(ステップS72)。出力手段73は、モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎にモデルの性能を示す性能情報を出力する(ステップS73)。 Figure 9 is a flowchart of processing by the model analysis device 70 of the second embodiment. The model acquisition means 71 acquires a model (step S71). The performance calculation means 72 calculates the performance of the model for each attribute included in the data category (step S72). The output means 73 extracts attribute pairs whose model performance difference satisfies a predetermined condition, and outputs performance information indicating the model performance for each attribute included in the pair (step S73).

第2実施形態のモデル分析装置70によれば、予測に使用されるデータセットのカテゴリの属性毎にモデルの性能を評価し、モデルによる予測性能の差が大きいカテゴリ及び属性を可視化することが可能となる。 According to the model analysis device 70 of the second embodiment, it is possible to evaluate the performance of a model for each attribute of a category of a dataset used for prediction, and to visualize categories and attributes with large differences in predictive performance between models.

上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may also be described as, but are not limited to, the following notes:

(付記1)
モデルを取得するモデル取得手段と、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出する性能算出手段と、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する出力手段と、
を備えるモデル分析装置。
(Appendix 1)
a model acquisition means for acquiring a model;
a performance calculation means for calculating the performance of the model for each attribute included in a data category;
an output means for extracting pairs of attributes whose difference in performance of the model satisfies a predetermined condition, and outputting performance information indicating the performance of the model for each attribute included in the pair;
A model analysis device comprising:

(付記2)
前記性能算出手段は、複数のカテゴリについて、各カテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記出力手段は、前記複数のカテゴリのうち、前記属性のペアに含まれる属性間の性能の差が最も大きいカテゴリについて、前記性能情報を出力する付記1に記載のモデル分析装置。
(Appendix 2)
the performance calculation means calculates the performance of the model for each attribute included in each of a plurality of categories;
2. The model analysis device according to claim 1, wherein the output means outputs the performance information for a category among the plurality of categories that has the largest difference in performance between the attributes included in the attribute pair.

(付記3)
前記モデルの性能に基づいて、連続する複数の属性を1つに統合する属性統合手段を備える付記1又は2に記載のモデル分析装置。
(Appendix 3)
3. The model analysis apparatus according to claim 1, further comprising an attribute integration means for integrating a plurality of consecutive attributes into one based on the performance of the model.

(付記4)
前記出力手段は、前記属性のペアとして、前記モデルの性能が最大値である属性と、前記モデルの性能が最小値である属性とを抽出する付記1乃至3のいずれか一項に記載のモデル分析装置。
(Appendix 4)
4. The model analysis device according to claim 1, wherein the output means extracts, as the attribute pair, an attribute for which the model's performance has the maximum value and an attribute for which the model's performance has the minimum value.

(付記5)
前記性能情報は、前記属性のペアに含まれる属性毎に前記モデルの性能を示すグラフを含む付記1乃至4のいずれか一項に記載のモデル分析装置。
(Appendix 5)
5. The model analysis apparatus according to claim 1, wherein the performance information includes a graph showing the performance of the model for each attribute included in the attribute pair.

(付記6)
前記性能算出手段は、前記カテゴリに含まれる属性毎にデータセットを分割し、前記属性毎のデータセットを用いて、前記属性毎に前記モデルの性能を算出する付記1乃至5のいずれか一項に記載のモデル分析装置。
(Appendix 6)
6. The model analysis device according to claim 1, wherein the performance calculation means divides a dataset for each attribute included in the category, and calculates the performance of the model for each attribute using the dataset for each attribute.

(付記7)
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力するモデル分析方法。
(Appendix 7)
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
A model analysis method that extracts pairs of attributes whose difference in model performance satisfies a predetermined condition, and outputs performance information indicating the performance of the model for each attribute included in the pair.

(付記8)
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する処理をコンピュータに実行させるプログラムを記録した記録媒体。
(Appendix 8)
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
A recording medium having a program recorded thereon that causes a computer to execute a process of extracting pairs of attributes whose difference in performance of the model satisfies a predetermined condition, and outputting performance information indicating the performance of the model for each attribute included in the pair.

以上、実施形態及び実施例を参照して本開示を説明したが、本開示は上記実施形態及び実施例に限定されるものではない。本開示の構成や詳細には、本開示のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present disclosure has been described above with reference to embodiments and examples, but the present disclosure is not limited to the above embodiments and examples. Various modifications that would be understood by a person skilled in the art can be made to the configuration and details of the present disclosure within the scope of the present disclosure.

1、1x モデル生成システム
2、2x 表示装置
3、3x 入力装置
7 端末装置
100 モデル生成装置
112 プロセッサ
121 訓練データDB
122 モデル訓練部
123 モデルDB
124 評価用データDB
125 分析部
1, 1x Model generation system 2, 2x Display device 3, 3x Input device 7 Terminal device 100 Model generation device 112 Processor 121 Training data DB
122 Model Training Department 123 Model DB
124 Evaluation data DB
125 Analysis Department

Claims (7)

モデルを取得するモデル取得手段と、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出する性能算出手段と、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合する属性統合手段と、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する出力手段と、
を備えるモデル分析装置。
a model acquisition means for acquiring a model;
a performance calculation means for calculating the performance of the model for each attribute included in a data category;
an attribute integrating means for integrating a plurality of consecutive attributes into one based on the performance of the model;
an output means for extracting pairs of attributes whose difference in performance of the model satisfies a predetermined condition, and outputting performance information indicating the performance of the model for each attribute included in the pair;
A model analysis device comprising:
前記性能算出手段は、複数のカテゴリについて、各カテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記出力手段は、前記複数のカテゴリのうち、前記属性のペアに含まれる属性間の性能の差が最も大きいカテゴリについて、前記性能情報を出力する請求項1に記載のモデル分析装置。
the performance calculation means calculates the performance of the model for each attribute included in each of a plurality of categories;
The model analysis device according to claim 1 , wherein the output means outputs the performance information for a category among the plurality of categories that has the largest difference in performance between the attributes included in the attribute pair.
前記出力手段は、前記属性のペアとして、前記モデルの性能が最大値である属性と、前記モデルの性能が最小値である属性とを抽出する請求項1又は2に記載のモデル分析装置。 3. The model analysis device according to claim 1, wherein the output means extracts, as the attribute pair, an attribute for which the model performance has a maximum value and an attribute for which the model performance has a minimum value. 前記性能情報は、前記属性のペアに含まれる属性毎に前記モデルの性能を示すグラフを含む請求項1乃至のいずれか一項に記載のモデル分析装置。 The model analysis device according to claim 1 , wherein the performance information includes a graph indicating the performance of the model for each attribute included in the attribute pair. 前記性能算出手段は、前記カテゴリに含まれる属性毎にデータセットを分割し、前記属性毎のデータセットを用いて、前記属性毎に前記モデルの性能を算出する請求項1乃至のいずれか一項に記載のモデル分析装置。 5. The model analysis device according to claim 1 , wherein the performance calculation means divides a data set for each attribute included in the category, and calculates the performance of the model for each attribute using the data set for each attribute. コンピュータにより実行されるモデル分析方法であって、
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力するモデル分析方法。
1. A computer-implemented method for model analysis, comprising:
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
merging consecutive attributes into one based on the performance of the model;
A model analysis method that extracts pairs of attributes whose difference in model performance satisfies a predetermined condition, and outputs performance information indicating the performance of the model for each attribute included in the pair.
モデルを取得し、
データのカテゴリに含まれる属性毎に前記モデルの性能を算出し、
前記モデルの性能に基づいて、連続する複数の属性を1つに統合し、
前記モデルの性能の差が所定の条件を満たす属性のペアを抽出し、当該ペアに含まれる属性毎に前記モデルの性能を示す性能情報を出力する処理をコンピュータに実行させるプログラム。
Get the model,
Calculating the performance of the model for each attribute included in the category of data;
merging consecutive attributes into one based on the performance of the model;
A program that causes a computer to execute a process of extracting pairs of attributes in which the difference in performance of the model satisfies a predetermined condition, and outputting performance information indicating the performance of the model for each attribute included in the pair.
JP2024509567A 2022-03-24 2022-03-24 Model analysis device, model analysis method, and program Active JP7743915B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/013900 WO2023181244A1 (en) 2022-03-24 2022-03-24 Model analysis device, model analysis method, and recording medium

Publications (3)

Publication Number Publication Date
JPWO2023181244A1 JPWO2023181244A1 (en) 2023-09-28
JPWO2023181244A5 JPWO2023181244A5 (en) 2024-11-25
JP7743915B2 true JP7743915B2 (en) 2025-09-25

Family

ID=88100674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024509567A Active JP7743915B2 (en) 2022-03-24 2022-03-24 Model analysis device, model analysis method, and program

Country Status (2)

Country Link
JP (1) JP7743915B2 (en)
WO (1) WO2023181244A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200349466A1 (en) 2019-05-03 2020-11-05 Microsoft Technology Licensing, Llc Providing performance views associated with performance of a machine learning system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102405799B1 (en) * 2020-05-18 2022-06-07 국방과학연구소 Method and system for providing continuous adaptive learning over time for real time attack detection in cyberspace

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200349466A1 (en) 2019-05-03 2020-11-05 Microsoft Technology Licensing, Llc Providing performance views associated with performance of a machine learning system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BARCELOS Gabe,MLOPS Understanding Bias in Machine Learning Models,arize,2021年08月23日,[取得日 2022.06.02], 取得先<https://arize.com/blog/understanding-bias-in-ml-models/>

Also Published As

Publication number Publication date
WO2023181244A1 (en) 2023-09-28
JPWO2023181244A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
US20200320381A1 (en) Method to explain factors influencing ai predictions with deep neural networks
US20210397956A1 (en) Activity level measurement using deep learning and machine learning
US12217189B2 (en) Hyperparameter adjustment device, non-transitory recording medium in which hyperparameter adjustment program is recorded, and hyperparameter adjustment program
Zhang et al. Optimizing multi label student performance prediction with GNN-TINet: A contextual multidimensional deep learning framework
US20200051098A1 (en) Method and System for Predictive Modeling of Consumer Profiles
US20200082286A1 (en) Time series data analysis apparatus, time series data analysis method and time series data analysis program
WO2023181322A1 (en) Model analysis device, model analysis method, and recording medium
Sagar et al. 3 Classification and regression algorithms
JP7743915B2 (en) Model analysis device, model analysis method, and program
US20240419993A1 (en) Information processing device
JP7743916B2 (en) Model analysis device, model analysis method, and program
Das et al. Predicting Life Expectancy using Machine Learning Techniques
JP7496951B1 (en) Verification device, inference system, verification method and program
US20240152440A1 (en) Game performance prediction across a device ecosystem
JP7794290B2 (en) Model analysis device, model analysis method, and program
Wang et al. Intelligent weight generation algorithm based on binary isolation tree
CN116975621A (en) Model stability monitoring method, device and computer equipment
Christodoulou et al. Improving the performance of classification models with fuzzy cognitive maps
JP7700955B2 (en) Model analysis device, model analysis method, and program
Alsaç et al. The Efficiency of Regularization Method on Model Success in Issue Type Prediction Problem
JP7740510B2 (en) Model analysis device, model analysis method, and program
JP7711840B2 (en) Model analysis device, model analysis method, and program
JP7806883B2 (en) Model search device, model search method, and program
Handoyo et al. Finding Optimal Models of Random Forest and Support Vector Machine through Tuning Hyperparameters in Classifying the Imbalanced Data
Anjali et al. Dynamic cloud model based on decision field theory: Anjali, A. Gupta

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240917

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240917

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250701

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250812

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250825

R150 Certificate of patent or registration of utility model

Ref document number: 7743915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150