JP7842997B2 - Model parameter recovery device, method, and program - Google Patents
Model parameter recovery device, method, and programInfo
- Publication number
- JP7842997B2 JP7842997B2 JP2023030727A JP2023030727A JP7842997B2 JP 7842997 B2 JP7842997 B2 JP 7842997B2 JP 2023030727 A JP2023030727 A JP 2023030727A JP 2023030727 A JP2023030727 A JP 2023030727A JP 7842997 B2 JP7842997 B2 JP 7842997B2
- Authority
- JP
- Japan
- Prior art keywords
- parameter
- model
- change
- parameters
- unit
- 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
Links
Landscapes
- Machine Translation (AREA)
- Stored Programmes (AREA)
Description
開示の技術は、モデルのパラメータを回復する技術に関する。 The disclosed technology relates to a technique for recovering model parameters.
AI、言い換えればモデルパラメータへの攻撃やその対策は様々に検討されているが、攻撃を未然に防ぐ対策は多く提案されていても、攻撃を受けたモデルパラメータを利用し続けるための技術は多くない。 While various approaches to attacks on AI, or in other words, on model parameters, and countermeasures against them are being considered, many measures have been proposed to prevent attacks from occurring in the first place. However, there are not many technologies that allow for the continued use of model parameters that have been attacked.
攻撃を受けたモデルパラメータを利用し続けるための技術として、非特許文献1及び2の技術が知られている。 Techniques for continuing to utilize model parameters that have been attacked are known from Non-Patent Documents 1 and 2.
非特許文献1の技術は、バックドア攻撃を検知し、バックドア攻撃が検知された場合には、モデルパラメータを攻撃前の状態に戻すための再学習データセットを最適化する技術である。 The technology described in Non-Patent Document 1 is a technique for detecting backdoor attacks and, if a backdoor attack is detected, optimizing the retraining dataset to restore the model parameters to their pre-attack state.
非特許文献2の技術は、バックドア攻撃を受けた状態を検知し、パラメータを変更することで攻撃前の状態に戻す技術である。 The technology described in Non-Patent Document 2 is a technique that detects a backdoor attack and restores the system to its pre-attack state by changing parameters.
非特許文献1及び非特許文献2の技術では、モデルのパラメータを攻撃前の状態に戻すためにモデルのパラメータの再学習を行う必要がある。 In the technologies described in Non-Patent Documents 1 and 2, it is necessary to retrain the model parameters to return them to their pre-attack state.
開示の技術は、モデルのパラメータを攻撃前の状態に戻すためにモデルのパラメータの再学習を不要にすることを目的とする。 The disclosed technique aims to eliminate the need to retrain the model's parameters to return them to their pre-attack state.
開示の技術の一態様であるモデルパラメータ回復装置は、モデルのパラメータに付与された誤り訂正符号に基づいてパラメータに所定の変化が生じたかを判断する変化判断部と、変化判断部において、パラメータに所定の変化が生じたと判断された場合には、誤り訂正符号に基づいてパラメータを回復する回復部と、を備えている。 A model parameter recovery device, one embodiment of the disclosed technology, comprises: a change determination unit that determines whether a predetermined change has occurred in the model parameter based on an error correction code assigned to the parameter; and a recovery unit that, if the change determination unit determines that a predetermined change has occurred in the parameter, recovers the parameter based on the error correction code.
開示の技術によれば、モデルのパラメータを攻撃前の状態に戻すためにモデルのパラメータの再学習が不要である。 According to the disclosed technology, retraining of the model parameters is unnecessary to return the model parameters to their pre-attack state.
以下、図面を参照して開示の技術の実施形態を説明する。なお、図面中において同じ機能を有する構成部には同じ番号を付し、重複説明を省略する。 The embodiments of the disclosed technology will be described below with reference to the drawings. Note that components with the same function are numbered identically in the drawings, and redundant explanations will be omitted.
[モデルパラメータ回復装置及び方法]
モデルパラメータ回復装置は、図1に示すように、モデル記憶部1、変化判断部2、回復部3を例えば備えている。
[Model parameter recovery device and method]
As shown in Figure 1, the model parameter recovery device includes, for example, a model storage unit 1, a change determination unit 2, and a recovery unit 3.
モデルパラメータ回復方法は、モデルパラメータ回復装置の各構成部が、図2に示すステップS2からステップS3の処理を行うことにより例えば実現される。 The model parameter recovery method is implemented, for example, by having each component of the model parameter recovery device perform the processing shown in steps S2 to S3 in Figure 2.
<モデル記憶部1>
モデル記憶部1には、モデルを構成する複数のパラメータが記憶されている。モデルは、例えばディープニューラルネットワークである。
<Model Memory Unit 1>
The model memory unit 1 stores multiple parameters that constitute the model. The model is, for example, a deep neural network.
モデルがディープニューラルネットワークである場合には、各パラメータは、ノードとノードを接続するエッジに対応する重みベクトルである。 If the model is a deep neural network, each parameter is a weight vector corresponding to the edges connecting the nodes.
モデルを構成する複数のパラメータの全部又は一部に、誤り訂正符号が付与されている。モデル記憶部1には、パラメータと共に、そのパラメータに付与された誤り訂正符号が記憶されている。誤り訂正符号の例は、巡回冗長検査である。 Error correction codes are assigned to all or some of the multiple parameters that constitute the model. The model storage unit 1 stores the parameters along with the error correction codes assigned to those parameters. An example of an error correction code is cyclic redundancy check.
例えば、モデルを構成する複数のパラメータの一部の例は、モデルを構成する複数のパラメータの中の所定の少なくとも1つのパラメータである。 For example, an example of a part of the multiple parameters that make up a model is at least one of the multiple parameters that make up the model.
モデルがディープニューラルネットワークである場合には、重みベクトルであるパラメータは行列の要素になっていることがある。この場合、モデルを構成する複数のパラメータの一部の例は、モデルを構成する複数のパラメータの中の所定の行列に含まれるパラメータであってもよい。 When the model is a deep neural network, the parameters, which are weight vectors, may be elements of a matrix. In this case, some of the multiple parameters that make up the model may be parameters included in a given matrix among the multiple parameters that make up the model.
なお、モデル記憶部1に記憶されている複数のパラメータの生成及び誤り訂正符号の付与は、後述する回復機能付きモデル学習装置によりステップS1の処理が行われる前に行われる。 Furthermore, the generation of multiple parameters stored in the model storage unit 1 and the assignment of error correction codes are performed before the processing in step S1 is carried out by the model learning device with recovery function, which will be described later.
<変化判断部2>
変化判断部2は、モデル記憶部1に記憶されている複数のパラメータの中からあるパラメータ及びそのあるパラメータに付与された誤り訂正符号を読み込む。
<Change Judgment Unit 2>
The change determination unit 2 reads a certain parameter and the error correction code assigned to that parameter from among the multiple parameters stored in the model storage unit 1.
変化判断部2は、読み込んだパラメータ及びそのパラメータに付与された誤り訂正符号を用いて、以下の処理を行う。 The change detection unit 2 performs the following processing using the read parameters and the error correction codes assigned to those parameters.
変化判断部2は、モデルのパラメータに付与された誤り訂正符号に基づいてパラメータに所定の変化が生じたかを判断する(ステップS1)。判断結果については、回復部3に出力される。 The change determination unit 2 determines whether a predetermined change has occurred in the model parameters based on the error correction code assigned to the parameters (step S1). The determination result is output to the recovery unit 3.
例えば、変化判断部2は、まず、モデルのパラメータに付与された誤り訂正符号に基づいてパラメータの変化量を計算する。もちろん、変化判断部2は、誤り訂正符号だけではなく、パラメータを用いてパラメータの変化量を計算してもよい。そして、変化判断部2は、計算された変化量と所定の閾値とを比較して、計算された変化量が所定の閾値よりも大きい場合に、パラメータに所定の変化が生じたと判断する。 For example, the change detection unit 2 first calculates the amount of change in the parameter based on the error correction code assigned to the model parameter. Of course, the change detection unit 2 may also calculate the amount of change using the parameter itself, not just the error correction code. Then, the change detection unit 2 compares the calculated amount of change with a predetermined threshold, and determines that a predetermined change has occurred in the parameter if the calculated amount of change is greater than the predetermined threshold.
所定の閾値の例は、予め定められた絶対値である。所定の閾値の例は、nを所定の正の整数として、パラメータの過去n回の変化量の代表値である。代表値の例は、平均値、最大値、最小値、最頻値の何れかである。 An example of a predetermined threshold is a predetermined absolute value. Another example of a predetermined threshold is a representative value of the change in the parameter over the past n cycles, where n is a predetermined positive integer. Examples of representative values include the mean, maximum, minimum, or mode.
パラメータの過去n回の変化量は、後述する学習部4で得られた各回の学習を行った際のパラメータの変化量についての情報から得ることができる。学習部4で得られた各回の学習を行った際のパラメータの変化量についての情報は、変化判断部2に入力されてもよい。 The change in parameters over the past n cycles can be obtained from the information about the parameter changes during each learning cycle, which is obtained by the learning unit 4 described later. The information about the parameter changes during each learning cycle, obtained by the learning unit 4, may also be input to the change determination unit 2.
なお、変化判断部2は、計算された変化量の絶対値が所定の閾値よりも大きく、かつ、計算された変化量が正か負の何れかである場合に、パラメータに所定の変化が生じたと判断してもよい。 Furthermore, the change determination unit 2 may determine that a predetermined change has occurred in the parameter if the absolute value of the calculated change is greater than a predetermined threshold, and the calculated change is either positive or negative.
また、変化判断部2は、パラメータの過去n回の変化量が正である場合であって、今回計算された変化量が負である場合に、パラメータに所定の変化が生じたと判断してもよい。また、変化判断部2は、パラメータの過去n回の変化量が負である場合であって、今回計算された変化量が正である場合に、パラメータに所定の変化が生じたと判断してもよい。 Furthermore, the change determination unit 2 may determine that a predetermined change has occurred in the parameter if the past n changes in the parameter were positive and the currently calculated change is negative. Alternatively, the change determination unit 2 may determine that a predetermined change has occurred in the parameter if the past n changes in the parameter were negative and the currently calculated change is positive.
また、変化判断部2は、計算された変化量の絶対値が所定の閾値よりも大きく、かつ、パラメータの過去n回の変化量が正である場合であって、今回計算された変化量が負である場合に、パラメータに所定の変化が生じたと判断してもよい。また、変化判断部2は、計算された変化量の絶対値が所定の閾値よりも大きく、かつ、パラメータの過去n回の変化量が負である場合であって、今回計算された変化量が正である場合に、パラメータに所定の変化が生じたと判断してもよい。 Furthermore, the change determination unit 2 may determine that a predetermined change has occurred in the parameter if the absolute value of the calculated change is greater than a predetermined threshold, and the past n changes in the parameter were positive, while the currently calculated change is negative. Alternatively, the change determination unit 2 may determine that a predetermined change has occurred in the parameter if the absolute value of the calculated change is greater than a predetermined threshold, and the past n changes in the parameter were negative, while the currently calculated change is positive.
なお、変化判断部2は、ベクトル距離などに基づく既存のパラメータ変化検知方法を組合わせて、パラメータに所定の変化が生じたかを判断してもよい。 Furthermore, the change detection unit 2 may determine whether a predetermined change has occurred in the parameter by combining it with existing parameter change detection methods based on vector distance or the like.
例えば、変化判断部2は、これまでに説明した、計算された変化量に基づいてパラメータに所定の変化が生じたと判断された場合、かつ、既存のパラメータ変化検知方法に基づいてパラメータに所定の変化が生じたと判断された場合に、パラメータに所定の変化が生じたと最終的な判断をしてもよい。 For example, the change determination unit 2 may make a final determination that a predetermined change has occurred in the parameter if it determines that a predetermined change has occurred in the parameter based on the calculated change amount described above, and also if it determines that a predetermined change has occurred in the parameter based on an existing parameter change detection method.
<回復部3>
回復部3には、変化判断部2の判断結果が入力される。
<Recovery section 3>
The recovery unit 3 receives the judgment result from the change judgment unit 2.
回復部3は、変化判断部2において、パラメータに所定の変化が生じたと判断された場合には、誤り訂正符号に基づいてパラメータを回復する(ステップS3)。 If the change determination unit 2 determines that a predetermined change has occurred in the parameter, the recovery unit 3 recovers the parameter based on the error correction code (step S3).
誤り訂正符号に基づいてパラメータを回復するとは、誤り訂正符号に基づいてパラメータを元の値に戻すことを意味する。 Recovering parameters based on error correction codes means restoring the parameters to their original values based on the error correction codes.
回復部3は、所定の変化が生じたと判断されたパラメータのみを回復させてもよいし、所定の変化が生じたと判断されたパラメータだけではなく、モデルの他のパラメータも回復してもよいし、モデルの全てのパラメータを回復してもよい。 The recovery unit 3 may recover only the parameters that have been determined to have undergone a predetermined change, or it may recover not only the parameters that have been determined to have undergone a predetermined change but also other parameters of the model, or it may recover all parameters of the model.
モデルの他のパラメータの例は、所定の変化が生じたと判断されたパラメータに隣接するパラメータ、所定の変化が生じたと判断されたパラメータから距離Lのパラメータ、所定の変化が生じたと判断されたパラメータと同じ行列に属するパラメータである。Lは、所定の正の整数である。 Other parameters in the model include parameters adjacent to the parameter that was judged to have undergone a predetermined change, parameters at a distance L from the parameter that was judged to have undergone a predetermined change, and parameters belonging to the same matrix as the parameter that was judged to have undergone a predetermined change. L is a predetermined positive integer.
所定の変化が生じたと判断されたパラメータに隣接するパラメータとは、モデルがディープニューラルネットワークである場合には、例えば、そのパラメータに対応するエッジが接続するノードに接続する各エッジに対応するパラメータである。 The parameters adjacent to the parameter that has been determined to have undergone a predetermined change are, in the case of a deep neural network, the parameters corresponding to each edge connected to the node to which the edge corresponding to that parameter is connected.
ここで、モデルがディープニューラルネットワークである場合には、例えば、パラメータP1とパラメータP2の距離は、パラメータP1に対応するエッジとパラメータP2に対応するエッジの間にあるノードの数である。 Here, if the model is a deep neural network, for example, the distance between parameter P1 and parameter P2 is the number of nodes between the edge corresponding to parameter P1 and the edge corresponding to parameter P2.
この場合、所定の変化が生じたと判断されたパラメータから距離Lのパラメータは、そのパラメータに対応するエッジとの間にあるノードの数がL個であるエッジに対応するパラメータのことである。 In this case, the parameter at a distance L from the parameter where a predetermined change has occurred is the parameter corresponding to the edge that has L nodes between it and the edge corresponding to that parameter.
L=1である場合には、所定の変化が生じたと判断されたパラメータから距離Lのパラメータは、所定の変化が生じたと判断されたパラメータに隣接するパラメータのことである。 When L=1, the parameter at a distance L from the parameter that was judged to have undergone a predetermined change is the parameter adjacent to the parameter that was judged to have undergone the predetermined change.
このように、モデルのパラメータ自体に誤り訂正符号等の回復機構を組み込むことで、モデルのパラメータを攻撃前の状態に戻すためにモデルのパラメータの再学習が不要となる。 In this way, by incorporating recovery mechanisms such as error correction codes into the model parameters themselves, it becomes unnecessary to retrain the model parameters to return them to their pre-attack state.
学習部4により学習され、誤り訂正符号付与部5により誤り訂正符号が付与された、モデルを構成する複数のパラメータがモデル記憶部1に記憶された後に、図1に破線で示す学習部6により、モデル記憶部1に記憶されたモデルを構成する複数のパラメータについて再学習が行われる場合がある。 After the learning unit 4 has learned the multiple parameters constituting the model, and the error correction code assignment unit 5 has assigned error correction codes to them, these parameters are stored in the model storage unit 1. In some cases, the learning unit 6, shown by the dashed line in Figure 1, may then perform retraining on these parameters.
この場合、学習部6が学習に用いる学習データがノイズやトリガー付きの汚染された学習データである場合には、学習部6の学習によりモデル記憶部1に記憶されたモデルを構成する複数のパラメータについて、モデル記憶部1に記憶されたモデルの作成者が意図しない変化が起きることがある。このような意図しない変化を汚染攻撃と呼ぶことにする。 In this case, if the training data used by the learning unit 6 is contaminated with noise or triggers, then changes may occur in multiple parameters that constitute the model stored in the model storage unit 1 as a result of the learning by the learning unit 6, changes unintended by the creator of the model stored in the model storage unit 1. Such unintended changes will be referred to as a contamination attack.
このような汚染攻撃によりモデル記憶部1に記憶されたモデルを構成する複数のパラメータが変化した場合であっても、上記のモデルパラメータ回復装置及び方法により、パラメータを元に戻すことができる。 Even if multiple parameters constituting the model stored in the model storage unit 1 are altered due to such a contamination attack, the parameters can be restored to their original state using the model parameter recovery device and method described above.
[回復機能付きモデル学習装置及び方法]
回復機能付きモデル学習装置は、図3に例示するように、モデル記憶部1、学習部4、誤り訂正符号付与部5を例えば備えている。
[Model learning device and method with recovery function]
As illustrated in Figure 3, the model learning device with recovery function includes, for example, a model storage unit 1, a learning unit 4, and an error correction code assignment unit 5.
回復機能付きモデル学習方法は、図4に示すステップステップS4からステップS5の処理を行うことにより例えば実現される。 A model learning method with a recovery function can be implemented, for example, by performing the steps S4 to S5 shown in Figure 4.
<学習部4>
学習部4には、学習データが入力される。
<Learning Section 4>
Learning data is input into learning unit 4.
学習部4は、入力された学習データに基づく学習を行い、モデルを構成する複数のパラメータを生成する(ステップS4)。生成されたモデルを構成する複数のパラメータは、モデル記憶部1に記憶される。 The learning unit 4 performs learning based on the input learning data and generates multiple parameters that constitute the model (step S4). The generated multiple parameters that constitute the model are stored in the model storage unit 1.
学習部4は、学習データを複数のグループに分けて、複数のグループのそれぞれに基づく学習を行う。すなわち、学習部4は、複数回の学習を行う。複数回の学習には、軽微な学習であるいわゆる微調整の学習が含まれていてもよい。 The learning unit 4 divides the training data into multiple groups and performs learning based on each of these groups. In other words, the learning unit 4 performs multiple learning iterations. These multiple learning iterations may include minor learning, known as fine-tuning.
学習部4は、複数回の学習を行う場合において、各回の学習を行った際のパラメータの変化量についての情報を得てもよい。 When performing multiple learning cycles, the learning unit 4 may obtain information about the change in parameters during each learning cycle.
各回の学習を行った際のパラメータの変化量についての情報は、変化判断部2に出力されてもよい。この場合、変化判断部2では、各回の学習を行った際のパラメータの変化量についての情報に基づいて、所定の閾値が決定される。 Information regarding the parameter changes during each learning session may be output to the change determination unit 2. In this case, the change determination unit 2 determines a predetermined threshold based on the information regarding the parameter changes during each learning session.
<誤り訂正符号付与部5>
誤り訂正符号付与部5は、モデル記憶部1からモデルを構成する複数のパラメータを読み込む。
<Error correction code assignment unit 5>
The error correction code assignment unit 5 reads multiple parameters that constitute the model from the model storage unit 1.
誤り訂正符号付与部5は、読み込んだモデルを構成する複数のパラメータの全部又は一部に誤り訂正符号を付与する(ステップS5)。誤り訂正符号は対応するパラメータと共にモデル記憶部1に記憶される。 The error correction code assignment unit 5 assigns error correction codes to all or some of the multiple parameters that constitute the loaded model (step S5). The error correction codes are stored in the model storage unit 1 along with the corresponding parameters.
このように、モデルを構成する複数のパラメータの全部又は一部に誤り訂正符号を付与することで、モデルのパラメータを攻撃前の状態に戻すためにモデルのパラメータの再学習を不要にすることができる。 In this way, by assigning error correction codes to all or some of the multiple parameters that make up the model, it becomes unnecessary to retrain the model parameters to return them to their pre-attack state.
なお、誤り訂正符号付与部5による誤り訂正符号の付与の前に、ノイズやトリガー付きの汚染された学習データによる学習が行われることがある。例えば、学習部4が複数回の学習を行う場合において、複数回の学習の中の少なくとも1回の学習が、ノイズやトリガー付きの汚染された学習データによる学習であるとする。この場合であっても、モデルパラメータ回復装置の変化判断部2が、パラメータの過去n回の変化量の代表値を所定の閾値として用いて所定の変化が生じたかを判断する場合であって、ノイズやトリガー付きの汚染された学習データによる学習の回数よりもnが十分大きい場合には、変化判断部2は所定の変化が生じたかを判断し得る。 Furthermore, before the error correction code is applied by the error correction code assignment unit 5, training may be performed using contaminated training data with noise or triggers. For example, if the training unit 4 performs multiple training cycles, at least one of these cycles may be performed using contaminated training data with noise or triggers. Even in this case, if the change determination unit 2 of the model parameter recovery device uses a representative value of the past n changes in the parameter as a predetermined threshold to determine whether a predetermined change has occurred, and n is sufficiently larger than the number of training cycles using contaminated training data with noise or triggers, the change determination unit 2 can determine whether a predetermined change has occurred.
[変形例]
以上、開示の技術の実施形態の具体的な構成は、これまで説明した構成に限られるものではない。開示の技術の実施形態の具体的な構成は、開示の技術の実施形態の趣旨を逸脱しない範囲で適宜設計の変更等が可能である。
[Differentiation]
The specific configuration of the embodiments of the disclosed technology is not limited to the configuration described above. The specific configuration of the embodiments of the disclosed technology can be modified as appropriate, as long as it does not deviate from the spirit of the embodiments of the disclosed technology.
開示の技術の実施形態において説明した各種の処理は、記載の順に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。 The various processes described in the embodiments of the disclosed technology may be performed not only in chronological order according to the sequence described, but also in parallel or individually, depending on the processing capacity of the device performing the processes or as necessary.
例えば、モデルパラメータ回復装置の構成部間のデータのやり取りは直接行われてもよいし、図示していない記憶部を介して行われてもよい。 For example, data exchange between components of the model parameter recovery device may occur directly or via a storage unit (not shown in the diagram).
[プログラム、記録媒体]
上述した各装置の各部の処理をコンピュータにより実現してもよく、この場合は各装置が有すべき機能の処理内容はプログラムによって記述される。そして、このプログラムを図5に示すコンピュータ1000の記憶部1020に読み込ませ、演算処理部1010、入力部1030、出力部1040、表示部1060などに動作させることにより、上記各装置における各種の処理機能がコンピュータ上で実現される。
[Programs, recording media]
The processing of each part of the above-mentioned devices may be implemented by a computer. In this case, the processing content of the functions that each device should have is described by a program. This program is then loaded into the storage unit 1020 of the computer 1000 shown in Figure 5, and the arithmetic processing unit 1010, input unit 1030, output unit 1040, display unit 1060, etc. are operated, thereby realizing the various processing functions of each of the above-mentioned devices on the computer.
この処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体は、例えば、非一時的な記録媒体であり、具体的には、磁気記録装置、光ディスク、等である。 The program describing this process can be recorded on a computer-readable recording medium. A computer-readable recording medium is, for example, a non-temporary recording medium, specifically a magnetic recording device, an optical disc, etc.
また、このプログラムの流通は、例えば、そのプログラムを記録したDVD、CD-ROM等の可搬型記録媒体を販売、譲渡、貸与等することによって行う。さらに、このプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することにより、このプログラムを流通させる構成としてもよい。 Furthermore, this program can be distributed, for example, by selling, transferring, or lending portable recording media such as DVDs or CD-ROMs containing the program. Alternatively, the program may be stored in the storage device of a server computer and distributed by transferring it from the server computer to other computers via a network.
このようなプログラムを実行するコンピュータは、例えば、まず、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、一旦、自己の非一時的な記憶装置である補助記録部1050に格納する。そして、処理の実行時、このコンピュータは、自己の非一時的な記憶装置である補助記録部1050に格納されたプログラムを記憶部1020に読み込み、読み込んだプログラムに従った処理を実行する。また、このプログラムの別の実行形態として、コンピュータが可搬型記録媒体から直接プログラムを記憶部1020に読み込み、そのプログラムに従った処理を実行することとしてもよく、さらに、このコンピュータにサーバコンピュータからプログラムが転送されるたびに、逐次、受け取ったプログラムに従った処理を実行することとしてもよい。また、サーバコンピュータから、このコンピュータへのプログラムの転送は行わず、その実行指示と結果取得のみによって処理機能を実現する、いわゆるASP(Application Service Provider)型のサービスによって、上述の処理を実行する構成としてもよい。なお、本形態におけるプログラムには、電子計算機による処理の用に供する情報であってプログラムに準ずるもの(コンピュータに対する直接の指令ではないがコンピュータの処理を規定する性質を有するデータ等)を含むものとする。 A computer executing such a program may, for example, first store the program recorded on a portable recording medium or a program transferred from a server computer in its own non-temporary storage device, the auxiliary recording unit 1050. Then, when processing is to be executed, the computer reads the program stored in the auxiliary recording unit 1050 into the storage unit 1020 and executes the processing according to the loaded program. Alternatively, as another execution form of this program, the computer may directly read the program from the portable recording medium into the storage unit 1020 and execute the processing according to that program. Furthermore, each time a program is transferred to this computer from a server computer, it may sequentially execute the processing according to the received program. Alternatively, the above processing may be executed by a so-called ASP (Application Service Provider) type service, where the server computer does not transfer programs to this computer, but the processing function is realized only by execution instructions and result acquisition. Furthermore, the term "program" in this form includes information used for processing by an electronic computer that is equivalent to a program (data, etc., that is not a direct instruction to the computer but has the property of defining the computer's processing).
また、この形態では、コンピュータ上で所定のプログラムを実行させることにより、本装置を構成することとしたが、これらの処理内容の少なくとも一部をハードウェア的に実現することとしてもよい。例えば、変化判断部2、回復部3、学習部4、誤り訂正符号付与部5は、処理回路により構成されてもよい。 Furthermore, while this configuration involves executing a predetermined program on a computer, at least some of these processing steps may be implemented in hardware. For example, the change detection unit 2, recovery unit 3, learning unit 4, and error correction code assignment unit 5 may be configured using processing circuits.
その他、この発明の趣旨を逸脱しない範囲で適宜変更が可能であることはいうまでもない。 Furthermore, it goes without saying that modifications may be made as appropriate without departing from the spirit of this invention.
本明細書に記載された全ての文献、特許出願、及び技術規格は、個々の文献、特許出願、及び技術規格が参照により取り込まれることが具体的かつ個々に記載された場合と同程度に、本明細書中に参照により取り込まれる。 All documents, patent applications, and technical standards described herein are incorporated by reference to the same extent as if each individual document, patent application, and technical standard were specifically and individually described as being incorporated by reference.
Claims (5)
前記変化判断部において、前記パラメータに所定の変化が生じたと判断された場合には、前記誤り訂正符号に基づいて前記パラメータを回復する回復部と、
を含むモデルパラメータ回復装置。 A change determination unit that determines whether a predetermined change has occurred in the model parameters based on an error correction code assigned to the parameters,
If the change determination unit determines that a predetermined change has occurred in the parameter, the recovery unit restores the parameter based on the error correction code,
A model parameter recovery device that includes this.
前記変化判断部は、前記パラメータの変化量が所定の閾値よりも大きい場合に、前記パラメータに所定の変化が生じたと判断する、
モデルパラメータ回復装置。 A model parameter recovery device according to claim 1,
The change determination unit determines that a predetermined change has occurred in the parameter when the amount of change in the parameter is greater than a predetermined threshold.
Model parameter recovery device.
前記回復部は、前記パラメータだけではなく、前記モデルの他のパラメータも回復する、
モデルパラメータ回復装置。 A model parameter recovery device according to claim 1,
The recovery unit recovers not only the parameter but also other parameters of the model.
Model parameter recovery device.
回復部が、前記変化判断部において、前記パラメータに所定の変化が生じたと判断された場合には、前記誤り訂正符号に基づいて前記パラメータを回復する回復ステップと、
を含むモデルパラメータ回復方法。 A change determination step in which the change determination unit determines whether a predetermined change has occurred in the model parameters based on an error correction code assigned to the parameters,
If the recovery unit determines that a predetermined change has occurred in the parameter, the recovery unit performs a recovery step of recovering the parameter based on the error correction code.
A model parameter recovery method that includes this.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023030727A JP7842997B2 (en) | 2023-03-01 | 2023-03-01 | Model parameter recovery device, method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023030727A JP7842997B2 (en) | 2023-03-01 | 2023-03-01 | Model parameter recovery device, method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024123378A JP2024123378A (en) | 2024-09-12 |
| JP7842997B2 true JP7842997B2 (en) | 2026-04-09 |
Family
ID=92676535
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023030727A Active JP7842997B2 (en) | 2023-03-01 | 2023-03-01 | Model parameter recovery device, method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7842997B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200250539A1 (en) | 2017-10-20 | 2020-08-06 | Shanghai Cambricon Information Technology Co., Ltd | Processing method and device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57100541A (en) * | 1980-12-13 | 1982-06-22 | Nippon Telegr & Teleph Corp <Ntt> | Error checking circuit |
| JP2691972B2 (en) * | 1994-10-20 | 1997-12-17 | 博一 岡野 | Decoding device for double error correction and multiple error detection BCH code |
| JP6953376B2 (en) * | 2018-09-27 | 2021-10-27 | Kddi株式会社 | Neural networks, information addition devices, learning methods, information addition methods, and programs |
-
2023
- 2023-03-01 JP JP2023030727A patent/JP7842997B2/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200250539A1 (en) | 2017-10-20 | 2020-08-06 | Shanghai Cambricon Information Technology Co., Ltd | Processing method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024123378A (en) | 2024-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110807064B (en) | Data recovery device in RAC distributed database cluster system | |
| US10831579B2 (en) | Error detecting device and error detecting method for detecting failure of hierarchical system, computer readable recording medium, and computer program product | |
| CN112217604B (en) | Input and output system applied to network security defense system | |
| JP7355616B2 (en) | Distributed storage systems and how to update parity in distributed storage systems | |
| Solanki et al. | Non-colluding attacks identification in distributed computing | |
| Pradhan et al. | Chariot: Goal-driven orchestration middleware for resilient iot systems | |
| CN114968119A (en) | Data protection method, device, equipment and storage medium | |
| JP7842997B2 (en) | Model parameter recovery device, method, and program | |
| CN114490193B (en) | Recovery method and device for heterogeneous redundant system | |
| Montezanti et al. | A methodology for soft errors detection and automatic recovery | |
| Birnbaum et al. | Cyber-resilient SCADA systems via secure state restoration | |
| Fujii et al. | Cluster-based architecture for fault-tolerant quantum computation | |
| Sutaria et al. | Fault Prediction and Mitigation in Cloud Computing. | |
| CN116248404A (en) | A mimic security system and cloud platform security operation and maintenance method | |
| CN119149312A (en) | Method, system and device for detecting computing nodes in AI computing power cluster network | |
| Bai et al. | Towards database firewall: Mining the damage spreading patterns | |
| Agullo et al. | Hard faults and soft-errors: possible numerical remedies in linear algebra solvers | |
| CN116541222A (en) | Hard disk state data generation method, system, equipment and medium | |
| CN115460217A (en) | Cloud service high-availability decision method based on reinforcement learning | |
| CN107346273B (en) | Data recovery method and device and electronic equipment | |
| WO2022177572A1 (en) | Distributed fault-tolerance via disaggregated memory boards | |
| Konstantinidis et al. | Aspis: A Robust Detection System for Distributed Learning | |
| Shao et al. | Fault-tolerant LOBPCG for nuclear CI calculations | |
| Stetsyuk et al. | Implementation of Control by Parameters of Client Automated Workplaces of Specialized Information Systems for Neutralization malware. | |
| Jin et al. | A fault-tolerant protocol for mobile agent |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20230301 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250620 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20260227 |
|
| 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: 20260317 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260319 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7842997 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |