JP7766297B2 - Behavior recognition device, behavior recognition method, and behavior recognition program - Google Patents
Behavior recognition device, behavior recognition method, and behavior recognition programInfo
- Publication number
- JP7766297B2 JP7766297B2 JP2022144573A JP2022144573A JP7766297B2 JP 7766297 B2 JP7766297 B2 JP 7766297B2 JP 2022144573 A JP2022144573 A JP 2022144573A JP 2022144573 A JP2022144573 A JP 2022144573A JP 7766297 B2 JP7766297 B2 JP 7766297B2
- Authority
- JP
- Japan
- Prior art keywords
- action
- feature vector
- model
- latent feature
- label
- 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
- Image Analysis (AREA)
Description
本発明の実施形態は、行動認識装置、行動認識方法、および行動認識プログラムに関する。 Embodiments of the present invention relate to an action recognition device, an action recognition method, and an action recognition program.
現在、労働力不足を背景に様々な業種で業務のデジタル化が求められている。業務のデジタル化にあたっては、デジタル化する業務がどのように行われているのかを把握する必要がある。しかしながら、業務を正確に把握することは困難である。例えば、業務を把握するために業務マニュアルが整備されていたとしても、業務マニュアルと実際の業務が乖離している等の場合があり、業務を正確に把握することが困難である。 Currently, a variety of industries are being called upon to digitize their operations due to a labor shortage. In order to digitize operations, it is necessary to understand how the operations being digitized are being carried out. However, accurately understanding the operations can be difficult. For example, even if an operations manual has been prepared to understand the operations, there may be a discrepancy between the manual and the actual operations, making it difficult to accurately understand the operations.
カメラ等を用いて人の行動を可視化する方法がある。例えば、非特許文献1では、人の行動をカメラから自動で取得するため、行動認識技術を用いて人物の実際の行動を可視化する技術が開示されている。 There are methods for visualizing human behavior using cameras, etc. For example, Non-Patent Document 1 discloses a technology that uses behavior recognition technology to visualize a person's actual behavior in order to automatically acquire human behavior from a camera.
また、非特許文献2では、複数の動画像からある行動のクラスを学習することが可能な技術が開示されている。 Furthermore, Non-Patent Document 2 discloses technology that can learn a class of behavior from multiple video images.
非特許文献1では、認識する行動の定義(行動ラベルの定義)にコストが掛かるという問題がある。 Non-Patent Document 1 has the problem that it is costly to define the actions to be recognized (define action labels).
また、非特許文献2に開示される技術では、行動特徴が似ているクラス同士の分類が困難となるという問題がある。 Furthermore, the technology disclosed in Non-Patent Document 2 has the problem that it is difficult to classify classes with similar behavioral features.
この発明の課題は、上記事情に着目してなされたもので、その目的とするところは、行動特徴が似ているクラス同士を分類可能な行動特徴と言語特徴を考慮した特徴を生成し、エピソードでのサポートデータの選択方法を生成した特徴を用いた基準を適用することで、学習の安定性を向上でき、精度が向上することができる技術を提供することにある。 The object of this invention was made in light of the above circumstances, and its purpose is to provide technology that can improve the stability and accuracy of learning by generating features that take into account behavioral and linguistic features and that can classify classes with similar behavioral features, and by applying criteria that use the generated features to a method for selecting support data for episodes.
実施形態に係る行動認識装置は、第1の動画像セグメントを含む入力データを取得するデータ取得部と、事前学習済み行動認識モデルおよびエンコーダを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成する潜在特徴ベクトル生成部と、事前学習済み行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成する行動ラベル生成部と、前記行動ラベルを出力する出力制御部と、を備えるものである。 The behavior recognition device according to the embodiment includes a data acquisition unit that acquires input data including a first video segment; a latent feature vector generation unit that generates a latent feature vector by inputting the video segment into a latent feature generation model that includes a pre-trained behavior recognition model and an encoder; a behavior label generation unit that generates a behavior label by inputting the latent feature vector into a pre-trained behavior classification model; and an output control unit that outputs the behavior label.
この発明の一態様によれば、行動特徴が似ているクラス同士を分類可能な行動特徴と言語特徴を考慮した特徴を生成し、エピソードでのサポートデータの選択方法を生成した特徴を用いた基準を適用することで、学習の安定性を向上でき、精度が向上することができる行動認識装置、行動認識方法、および行動認識プログラムを提供することができる。 According to one aspect of the present invention, it is possible to provide a behavior recognition device, a behavior recognition method, and a behavior recognition program that can improve the stability of learning and increase accuracy by generating features that take into account behavioral and linguistic features and that can classify classes with similar behavioral features, and applying criteria using the generated features to a method for selecting support data in an episode.
以下、図面を参照しながら行動認識装置、行動認識方法、および行動認識プログラムについて詳細に説明する。なお、以下の実施形態では、同一の番号を付した部分については同様の動作を行うものとして、重複する説明を省略する。例えば、複数の同一または類似の要素が存在する場合に、各要素を区別せずに説明するために共通の符号を用いることがあるし、各要素を区別して説明するために当該共通の符号に加えて枝番号を用いることもある。 The behavior recognition device, behavior recognition method, and behavior recognition program will be described in detail below with reference to the drawings. Note that in the following embodiments, parts with the same numbers perform similar operations, and redundant explanations will be omitted. For example, when there are multiple identical or similar elements, a common symbol may be used to describe each element without distinguishing between them, or a sub-number may be used in addition to the common symbol to describe each element with distinction between them.
[実施形態]
初めに、以下の説明において、「行動」とは、歩く、走る、持つ等の人の動作を表す動作であり、「行動ラベル」とは、歩く、走る、等の動作を表現する動詞である。
[Embodiment]
First, in the following description, an "action" is an action that represents a human movement such as walking, running, or carrying, and an "action label" is a verb that represents an action such as walking or running.
非特許文献2では、「few-shot learning」とよばれる学習方式を用いている。Few-shot learningは、エピソードとよばれるタスクデータを大量に生成して学習データを構築する。具体的には、大量のクラスがある学習データがあったとして、そこから5クラスを抽出したとする。各クラスが3サンプルを学習データとして保持していた場合、「サポートデータ」は、5-way 3-shot(5クラス、3サンプル)の分類タスクとなる。そのとき「クエリデータ」が5クラス中の2クラスのテストデータをそれぞれ1サンプルずつ保持していた時に、サポートデータで学習して、その2クラスの各サンプルを正確に分類することがfew-shot learningのタスクである。ここで、このサポートデータとクエリデータの組み合わせを「エピソード」という。 Non-Patent Document 2 uses a learning method known as "few-shot learning." Few-shot learning constructs training data by generating a large amount of task data called episodes. Specifically, suppose there is training data with a large number of classes, from which five classes are extracted. If each class holds three samples as training data, the "support data" becomes a 5-way 3-shot (5 classes, 3 samples) classification task. In this case, if the "query data" holds one sample of test data for each of two of the five classes, the task of few-shot learning is to learn from the support data and accurately classify each sample from those two classes. Here, this combination of support data and query data is called an "episode."
ただし、非特許文献2で用いられているFew-shot learningではエピソードを大量に生成して事前に大規模な学習データから学習したモデルをさらに学習させる。しかしながら、エピソードの構築方法はランダムサンプリングであり、クラスの選択方法が初期に誤った場合、ニューラルネットワークが局所解に陥り、汎化性能に影響が出て精度が低下する。特にクラス間分散とクラス内分散の比である分離度が小さいクラスが混在する場合、精度に対して影響が出るという問題がある。具体的には、非特許文献2で開示される技術では、行動特徴が似ているクラス同士の分類が困難となる。 However, the few-shot learning used in Non-Patent Document 2 generates a large number of episodes and further trains a model that has already been trained from a large amount of training data. However, the episode construction method is random sampling, and if the class selection method is incorrect initially, the neural network will fall into a local solution, affecting generalization performance and reducing accuracy. In particular, there is a problem in that accuracy is affected when classes with low separability, which is the ratio of inter-class variance to intra-class variance, are mixed. Specifically, the technology disclosed in Non-Patent Document 2 has difficulty classifying classes with similar behavioral features.
以下の説明においても非特許文献2と同様に、「エピソード」とは、上述したサポートデータとクエリデータの組み合わせを指す。 In the following explanation, as in Non-Patent Document 2, "episode" refers to the combination of the support data and query data described above.
さらに、以下の説明において、「動画像セグメント」とは、動画像の複数フレームが所定の数だけまとまった単位である。例えば、30フレームをひとまとまりとして1セグメントとしてよい。例えば、数百、数千フレームの長期の動画像フレームを考慮する場合、一定間隔でサンプリングしたフレームの集合を動画像セグメントとしてもよい。 Furthermore, in the following description, a "video segment" is a unit consisting of a predetermined number of video frames. For example, 30 frames may be considered as one segment. For example, when considering a long-term video of hundreds or thousands of frames, a collection of frames sampled at regular intervals may be considered as a video segment.
(構成)
図1は、実施形態に係る行動認識装置1のハードウェア構成の一例を示すブロック図である。
行動認識装置1は、入力されたデータを解析して、出力データを生成し出力する、コンピュータである。行動認識装置1は、任意の場所に設置されて良い。
(composition)
FIG. 1 is a block diagram showing an example of a hardware configuration of a behavior recognition device 1 according to an embodiment.
The behavior recognition device 1 is a computer that analyzes input data, generates output data, and outputs the output data. The behavior recognition device 1 may be installed in any location.
図1に示すように、行動認識装置1は、制御部10、プログラム記憶部20、データ記憶部30、通信インタフェース40、および入出力インタフェース50を備える。制御部10、プログラム記憶部20、データ記憶部30、通信インタフェース40、および入出力インタフェース50は、バスを介して互いに通信可能に接続されている。さらに通信インタフェース40は、ネットワークを介して外部装置と通信可能に接続されてよい。また、入出力インタフェース50は、入力装置51および出力装置52と通信可能に接続される。 As shown in FIG. 1, the behavior recognition device 1 includes a control unit 10, a program storage unit 20, a data storage unit 30, a communication interface 40, and an input/output interface 50. The control unit 10, the program storage unit 20, the data storage unit 30, the communication interface 40, and the input/output interface 50 are communicatively connected to one another via a bus. Furthermore, the communication interface 40 may be communicatively connected to an external device via a network. Furthermore, the input/output interface 50 is communicatively connected to an input device 51 and an output device 52.
制御部10は、行動認識装置1を制御する。制御部10は、中央処理ユニット(CPU:Central Processing Unit)等のハードウェアプロセッサを備える。例えば、制御部10は、様々なプログラムを実行することが可能な集積回路であっても良い。 The control unit 10 controls the behavior recognition device 1. The control unit 10 includes a hardware processor such as a central processing unit (CPU). For example, the control unit 10 may be an integrated circuit capable of executing various programs.
プログラム記憶部20は、記憶媒体として、例えば、EPROM(Erasable Programmable Read Only Memory)、HDD(Hard Disk Drive)、SSD(Solid State Drive)等の随時書込みおよび読出しが可能な不揮発性メモリと、ROM(Read Only Memory)等の不揮発性メモリとを組み合わせて使用することができる。プログラム記憶部20は、各種処理を実行するために必要なプログラムを格納している。すなわち、制御部10は、プログラム記憶部20に格納されたプログラムを読み出して実行することにより各種制御および動作を実現し得る。 The program storage unit 20 can use a combination of non-volatile memory that can be written to and read from at any time, such as an EPROM (Erasable Programmable Read Only Memory), HDD (Hard Disk Drive), or SSD (Solid State Drive), and non-volatile memory such as a ROM (Read Only Memory) as a storage medium. The program storage unit 20 stores the programs necessary to execute various processes. In other words, the control unit 10 can achieve various controls and operations by reading and executing the programs stored in the program storage unit 20.
データ記憶部30は、記憶媒体として、例えば、HDD、メモリカード等の随時書込みおよび読出しが可能な不揮発性メモリと、RAM(Random Access Memory)等の揮発性メモリとを組み合わせて使用したストレージである。データ記憶部30は、制御部10がプログラムを実行して各種処理を行う過程で取得および生成されたデータを記憶するために用いられる。 The data storage unit 30 is a storage medium that combines non-volatile memory, such as a HDD or memory card, which can be written to and read from at any time, with volatile memory, such as RAM (Random Access Memory). The data storage unit 30 is used to store data acquired and generated in the process of the control unit 10 executing programs and performing various processes.
通信インタフェース40は、1つ以上の有線または無線の通信モジュールを含む。例えば、通信インタフェース40は、ネットワークを介して外部装置と有線または無線接続する通信モジュールを含む。通信インタフェース40は、Wi-Fiアクセスポイントおよび基地局等の外部装置と無線接続する無線通信モジュールを含んでも良い。さらに、通信インタフェース40は、近距離無線技術を利用して外部装置と無線接続するための無線通信モジュールを含んでも良い。すなわち、通信インタフェース40は、制御部10の制御の下、外部装置との間で通信を行い、過去の実績データを含む各種情報を送受信することができるものであれば一般的な通信インタフェースで良い。 The communication interface 40 includes one or more wired or wireless communication modules. For example, the communication interface 40 includes a communication module that establishes a wired or wireless connection with an external device via a network. The communication interface 40 may also include a wireless communication module that establishes a wireless connection with an external device such as a Wi-Fi access point or base station. Furthermore, the communication interface 40 may also include a wireless communication module that establishes a wireless connection with an external device using short-range wireless technology. In other words, the communication interface 40 may be any general communication interface that can communicate with an external device under the control of the control unit 10 and send and receive various information, including past performance data.
入出力インタフェース50は、入力装置51および出力装置52等と接続される。入出力インタフェース50は、入力装置51および出力装置52との間で情報の送受信を可能にするインタフェースである。入出力インタフェース50は、通信インタフェース40と一体であってもよい。例えば、行動認識装置1と、入力装置51、または出力装置52の少なくとも1つとは、近距離無線技術等を使用して無線接続されており、当該近距離無線技術を用いて情報の送受信を行ってもよい。 The input/output interface 50 is connected to the input device 51, output device 52, etc. The input/output interface 50 is an interface that enables the transmission and reception of information between the input device 51 and the output device 52. The input/output interface 50 may be integrated with the communication interface 40. For example, the behavior recognition device 1 and at least one of the input device 51 or the output device 52 may be wirelessly connected using short-range wireless technology, etc., and information may be transmitted and received using this short-range wireless technology.
入力装置51は、例えば、ユーザが行動認識装置1に対して各種データを入力するためのキーボードやポインティングデバイス等を含む。また、入力装置51は、プログラム記憶部20またはデータ記憶部30に格納するべきデータを、USBメモリ等のメモリ媒体から読み出すためのリーダや、そのようなデータをディスク媒体から読み出すためのディスク装置を含んでも良い。 The input device 51 includes, for example, a keyboard or pointing device that allows the user to input various data to the behavior recognition device 1. The input device 51 may also include a reader for reading data to be stored in the program storage unit 20 or data storage unit 30 from a memory medium such as a USB memory, or a disk device for reading such data from a disk medium.
出力装置52は、行動認識装置1から行動認識装置1の管理者に表示すべき映像を表示するディスプレイ等を含む。 The output device 52 includes a display that displays images from the behavior recognition device 1 to be displayed to the administrator of the behavior recognition device 1.
図2は、実施形態における行動認識装置1のソフトウェア構成を、図1に示したハードウェア構成に関連付けて示すブロック図である。
制御部10は、データ取得部101と、潜在特徴生成モデル構築部102と、学習データ生成部103と、モデル更新部104と、行動分類部105と、出力制御部106と、を備える。
FIG. 2 is a block diagram showing the software configuration of the behavior recognition device 1 according to the embodiment in association with the hardware configuration shown in FIG.
The control unit 10 includes a data acquisition unit 101, a latent feature generation model construction unit 102, a training data generation unit 103, a model update unit 104, a behavior classification unit 105, and an output control unit 106.
データ取得部101は、学習時、学習データを取得する。例えば、学習データは、動画像セグメント、行動ラベル、および物体ラベルの集合であって良い。ここで、行動ラベルは、上述したように、歩く、走る等の動作を表現する動詞である。物体ラベルは、物体検出などで用いられる一般的なラベルであって良い。また、データ取得部101は、行動推論時、入力データを取得する。入力データは、動画像セグメントを含んで良い。 The data acquisition unit 101 acquires training data during learning. For example, the training data may be a collection of video segments, action labels, and object labels. Here, action labels are verbs that express actions such as walking and running, as described above. Object labels may be general labels used in object detection, etc. Furthermore, the data acquisition unit 101 acquires input data during behavior inference. The input data may include video segments.
潜在特徴生成モデル構築部102は、潜在特徴生成モデルを構築する。潜在特徴生成モデル構築部102は、受信した学習データに含まれる動画像セグメントを入力とし、潜在特徴ベクトルを出力する潜在特徴生成モデルを構築する。潜在特徴生成モデル構築部102は、構築した潜在モデルのパラメータを学習データ生成部103に出力して良い。或いは、潜在特徴生成モデル構築部102は、潜在特徴生成モデルを学習データ生成部103で使用するための情報を学習データ生成部103に出力して良い。 The latent feature generation model construction unit 102 constructs a latent feature generation model. The latent feature generation model construction unit 102 constructs a latent feature generation model that takes video segments included in the received training data as input and outputs latent feature vectors. The latent feature generation model construction unit 102 may output parameters of the constructed latent model to the training data generation unit 103. Alternatively, the latent feature generation model construction unit 102 may output information for using the latent feature generation model in the training data generation unit 103 to the training data generation unit 103.
学習データ生成部103は、セット抽出部1031と、潜在特徴ベクトル生成部1032と、分離度算出部1033と、エピソード集合追加部1034と、判定部1035と、記憶制御部1036と、を備える。 The training data generation unit 103 includes a set extraction unit 1031, a latent feature vector generation unit 1032, a degree of separation calculation unit 1033, an episode set addition unit 1034, a determination unit 1035, and a memory control unit 1036.
学習データ生成部103は、エピソード集合を生成する。学習データ生成部103は、動画像セグメント、潜在特徴生成モデルのパラメータ、行動ラベルの集合を入力として、学習に用いるためのエピソード集合を出力する。 The training data generation unit 103 generates a set of episodes. The training data generation unit 103 receives as input video segments, parameters of a latent feature generation model, and a set of action labels, and outputs a set of episodes to be used for training.
セット抽出部1031は、動画像セグメントと行動ラベルの集合からランダムにN-way K-shotのサポートデータとクエリデータのセットを抽出する。 The set extraction unit 1031 randomly extracts a set of N-way K-shot support data and query data from a collection of video segments and action labels.
潜在特徴ベクトル生成部1032は、潜在特徴ベクトルを生成する。潜在特徴ベクトル生成部1032は、潜在特徴生成モデル構築部102から受信したパラメータから潜在特徴生成モデルを構築し、構築した潜在特徴生成モデルを用いてサポートデータの各動画像セグメントの潜在特徴ベクトルを生成する。 The latent feature vector generation unit 1032 generates a latent feature vector. The latent feature vector generation unit 1032 constructs a latent feature generation model from the parameters received from the latent feature generation model construction unit 102, and generates a latent feature vector for each video segment of the support data using the constructed latent feature generation model.
分離度算出部1033は、潜在特徴ベクトルを用いて、分離度を算出する。なお、分離度の具体的な方法は後述する。 The separability calculation unit 1033 calculates the separability using the latent feature vector. The specific method for calculating the separability will be described later.
エピソード集合追加部1034は、分離度と、エピソード(サポートデータおよびクエリデータの組み合わせ)と、をエピソード集合として追加する。 The episode set addition unit 1034 adds the degree of separation and the episode (combination of support data and query data) as an episode set.
判定部1035は、エピソード集合の数が所定の数より多いかどうかを判定する。 The determination unit 1035 determines whether the number of episode sets is greater than a predetermined number.
記憶制御部1036は、エピソード集合を学習データ記憶部301に記憶させる。記憶制御部1036は、所定の数よりも多くなったエピソード集合を学習データ記憶部301に記憶させる。 The storage control unit 1036 stores the episode sets in the learning data storage unit 301. The storage control unit 1036 stores episode sets that exceed a predetermined number in the learning data storage unit 301.
モデル更新部104は、バッチ抽出部1041と、損失算出部1042と、モデルパラメータ更新部1043と、分離度閾値更新部1044と、収束判定部1045と、記憶制御部1046と、を備える。 The model update unit 104 includes a batch extraction unit 1041, a loss calculation unit 1042, a model parameter update unit 1043, a separability threshold update unit 1044, a convergence determination unit 1045, and a memory control unit 1046.
モデル更新部104は、行動分類モデルを更新する。モデル更新部104は、学習時、行動分類部105が使用する行動分類モデルのパラメータを取得し、行動分類モデルの学習に必要なデータを取得する。ここで、行動分類モデルは、行動ラベルが分類可能であれ一般的なモデルであって良い。そして、モデル更新部104は、取得したデータから計算した損失に基づいてモデルパラメータを更新し、更新したパラメータをモデル記憶部302に記憶する。 The model update unit 104 updates the behavior classification model. During learning, the model update unit 104 acquires parameters of the behavior classification model used by the behavior classification unit 105, and acquires data necessary for learning the behavior classification model. Here, the behavior classification model may be a general model as long as it can classify behavior labels. Then, the model update unit 104 updates the model parameters based on the loss calculated from the acquired data, and stores the updated parameters in the model storage unit 302.
バッチ抽出部1041は、エピソード集合を学習データ記憶部301から取得する。バッチ抽出部1041は、取得したエピソード集合のうち、分離度が閾値以上のエピソードのバッチを抽出する。ここで、バッチは、ニューラルネットワークの学習単位であり、複数のエピソードである。 The batch extraction unit 1041 acquires a set of episodes from the training data storage unit 301. From the acquired set of episodes, the batch extraction unit 1041 extracts a batch of episodes whose degree of separation is equal to or greater than a threshold. Here, a batch is a training unit for the neural network and consists of multiple episodes.
損失算出部1042は、バッチの行動ラベルを推定し、損失を算出する。ここで、バッチの行動ラベルの推定方法および損失の算出方法の詳細は後述する。 The loss calculation unit 1042 estimates the behavior label of the batch and calculates the loss. Details of the method for estimating the behavior label of the batch and the method for calculating the loss will be described later.
モデルパラメータ更新部1043は、損失を逆伝搬することにより、モデルパラメータを更新する。 The model parameter update unit 1043 updates the model parameters by backpropagating the loss.
分離度閾値更新部1044は、分離度の閾値を更新する。ここで、分離度の閾値の更新方法の詳細は、後述する。 The separability threshold update unit 1044 updates the separability threshold. Details of how to update the separability threshold will be described later.
収束判定部1045は、損失の値が閾値未満であるかどうか判定する。 The convergence determination unit 1045 determines whether the loss value is less than a threshold value.
記憶制御部1046は、更新されたパラメータをモデル記憶部302に記憶させる。記憶制御部1046は、損失の値が閾値未満になった場合に、更新されたパラメータをモデル記憶部302に記憶させて良い。 The memory control unit 1046 stores the updated parameters in the model memory unit 302. The memory control unit 1046 may store the updated parameters in the model memory unit 302 when the loss value becomes less than the threshold value.
行動分類部105は、潜在特徴ベクトル生成部1051と、行動ラベル生成部1052と、を備える。 The behavior classification unit 105 includes a latent feature vector generation unit 1051 and a behavior label generation unit 1052.
潜在特徴ベクトル生成部1051は、潜在特徴生成モデルを用いて潜在特徴ベクトルを生成する。潜在特徴生成モデルは、潜在特徴生成モデル構築部102によって構築されたモデルであって良い。 The latent feature vector generation unit 1051 generates a latent feature vector using a latent feature generation model. The latent feature generation model may be a model constructed by the latent feature generation model construction unit 102.
行動ラベル生成部1052は、行動ラベルを生成する。行動ラベル生成部1052は、モデル記憶部302に記憶された行動分類モデルのパラメータを取得し、行動分類モデルに潜在特徴ベクトルを入力することにより、行動ラベルを生成する。行動ラベル生成部1052は、生成した行動ラベルを出力制御部106に出力する。 The behavior label generation unit 1052 generates behavior labels. The behavior label generation unit 1052 obtains the parameters of the behavior classification model stored in the model storage unit 302 and generates behavior labels by inputting a latent feature vector into the behavior classification model. The behavior label generation unit 1052 outputs the generated behavior labels to the output control unit 106.
出力制御部106は、行動ラベルを出力する。出力制御部106は、入出力インタフェース50を通じて、出力装置52に行動ラベルを出力する。そして、出力制御部106は、出力装置52のディスプレイに行動ラベルを表示するように制御して良い。 The output control unit 106 outputs the behavior label. The output control unit 106 outputs the behavior label to the output device 52 via the input/output interface 50. The output control unit 106 may then control the display of the output device 52 to display the behavior label.
(学習動作)
最初に、学習動作について説明する。この学習動作において、行動分類部105で用いる行動分類モデルのパラメータは、モデル記憶部302に記憶されているものとする。
(Learning behavior)
First, the learning operation will be described. In this learning operation, it is assumed that the parameters of the behavior categorization model used by the behavior categorization unit 105 are stored in the model storage unit 302.
図3は、本実施形態における行動認識装置1の学習手順の一例を示すフローチャートである。
行動認識装置1の制御部10がプログラム記憶部20に格納されたプログラムを読み出して実行することにより、このフローチャートの動作が実現される。この動作は、行動認識装置1のユーザが入力装置51に学習データを入力することにより開始する。ここで、学習データは、動画像セグメント、行動ラベル、および物体ラベルの集合であって良い。
FIG. 3 is a flowchart showing an example of a learning procedure of the behavior recognition device 1 in this embodiment.
The operation of this flowchart is realized by the control unit 10 of the behavior recognition device 1 reading and executing a program stored in the program storage unit 20. This operation starts when a user of the behavior recognition device 1 inputs training data into the input device 51. Here, the training data may be a collection of video segments, behavior labels, and object labels.
ステップST101で、データ取得部101は、学習データを取得する。学習データを受信した入力装置51は、データ取得部101に学習データを出力する。学習データを受信したデータ取得部101は、潜在特徴生成モデル構築部102に学習データを出力する。 In step ST101, the data acquisition unit 101 acquires training data. The input device 51 receives the training data and outputs the training data to the data acquisition unit 101. The data acquisition unit 101 receives the training data and outputs the training data to the latent feature generation model construction unit 102.
ステップST102で、潜在特徴生成モデル構築部102は、潜在特徴生成モデルを構築する。潜在特徴生成モデル構築部102は、受信した学習データに含まれる動画像セグメントを入力とし、潜在特徴ベクトルを出力する潜在特徴生成モデルを構築する。潜在特徴生成モデル構築部102は、構築した潜在モデルのパラメータを学習データ生成部103に出力して良い。或いは、潜在特徴生成モデル構築部102は、潜在特徴生成モデルを学習データ生成部103で使用するための情報を学習データ生成部103に出力して良い。 In step ST102, the latent feature generation model construction unit 102 constructs a latent feature generation model. The latent feature generation model construction unit 102 constructs a latent feature generation model that takes as input video segments included in the received training data and outputs latent feature vectors. The latent feature generation model construction unit 102 may output parameters of the constructed latent model to the training data generation unit 103. Alternatively, the latent feature generation model construction unit 102 may output information for using the latent feature generation model in the training data generation unit 103 to the training data generation unit 103.
図4は、潜在特徴生成モデル構築部102のニューラルネットワークモデルの概念図の一例を示した図である。
ニューラルネットワークモデルは、畳み込みニューラルネットワークやTransformerを用いたニューラルネットワークモデル等、入力と出力が定義できて、出力対象に対して有効なモデルであれば任意のニューラルネットワークモデルであってよい。例えば、図2の例では、潜在特徴生成モデルは、事前学習済み行動認識モデル1021と、エンコーダ1022と、デコーダ1023と、言語モデル1024と、を備える。
FIG. 4 is a diagram showing an example of a conceptual diagram of a neural network model of the latent feature generation model construction unit 102.
The neural network model may be any neural network model that can define input and output and is effective for the output target, such as a convolutional neural network or a neural network model using a Transformer. For example, in the example of Figure 2, the latent feature generation model includes a pre-trained action recognition model 1021, an encoder 1022, a decoder 1023, and a language model 1024.
事前学習済み行動認識モデル1021は、非特許文献1に開示されるようなSlowFastモデル等の任意の行動認識モデルであって良い。 The pre-trained behavior recognition model 1021 may be any behavior recognition model, such as the SlowFast model disclosed in Non-Patent Document 1.
エンコーダ1022およびデコーダ1023は、一般的なエンコーダ1022およびデコーダ1023であれば良く、ここでの詳細な説明は省略する。 The encoder 1022 and decoder 1023 may be general encoders 1022 and decoders 1023, and detailed explanations will be omitted here.
言語モデル1024は、非特許文献3に開示されるようなBERT等の事前学習済み言語モデル1024で良い。 The language model 1024 may be a pre-trained language model 1024 such as BERT as disclosed in Non-Patent Document 3.
また、図4に示される行動ラベルおよび物体ラベルは、学習データに含まれていて良く、事前に動画像セグメントにアノテーションされているとする。物体ラベルのアノテーションがない場合、潜在特徴生成モデル構築部102は、物体検出などの技術を用いて物体ラベルを抽出しても良い。 Furthermore, the action labels and object labels shown in FIG. 4 may be included in the training data and are assumed to be annotated to video segments in advance. If object labels are not annotated, the latent feature generation model construction unit 102 may extract object labels using a technique such as object detection.
図4を参照して、事前学習済み行動認識モデル1021は、動画像セグメントが入力されると、モデルの全結合層から行動特徴ベクトルを出力する。出力された行動特徴ベクトルは、エンコーダ1022に出力される。 Referring to Figure 4, when a video segment is input, the pre-trained action recognition model 1021 outputs an action feature vector from the fully connected layer of the model. The output action feature vector is output to the encoder 1022.
エンコーダ1022は、行動特徴ベクトルをエンコードすることにより、潜在特徴ベクトルを生成する。生成された潜在特徴ベクトルは、例えば、256次元のベクトル等であって良い。また、生成された潜在特徴ベクトルは、デコーダ1023に出力される。 The encoder 1022 generates a latent feature vector by encoding the behavioral feature vector. The generated latent feature vector may be, for example, a 256-dimensional vector. The generated latent feature vector is output to the decoder 1023.
デコーダ1023は、潜在特徴ベクトルをデコードすることにより、行動特徴ベクトルを再構成するとともに、言語モデル1024から得られた言語特徴ベクトルを再構成する。ここで、言語特徴ベクトルは、行動ラベルとインタラクションしている物体ラベルの組み合わせ等から得られる言語特徴ベクトルである。 The decoder 1023 reconstructs an action feature vector by decoding the latent feature vector, and also reconstructs a language feature vector obtained from the language model 1024. Here, the language feature vector is a language feature vector obtained from a combination of an action label and an interacting object label, etc.
行動特徴ベクトル、および言語特徴ベクトルを潜在特徴ベクトルから再構成するためにエンコーダ1022、デコーダ1023を学習する際、潜在特徴生成モデル構築部102は、事前学習済み行動認識モデル1021から得られる行動特徴ベクトルとデコーダ1023が潜在特徴ベクトルから生成する行動特徴ベクトルとの平均二乗誤差である、L2損失(第1の損失)を算出し、行動ラベルおよび物体ラベルの入力により言語モデル1024が出力した言語特徴ベクトルと、デコーダ1023が潜在特徴ベクトルから生成する言語特徴ベクトルとのL2損失(第2の損失)を算出する。そして、潜在特徴生成モデル構築部102は、これらL2損失を最小化するようにエンコーダ1022、デコーダ1023を学習することで所望の潜在特徴ベクトルをエンコード可能とする。損失は、平均絶対誤差である、L1損失等でもよい。 When training the encoder 1022 and decoder 1023 to reconstruct an action feature vector and a language feature vector from a latent feature vector, the latent feature generation model construction unit 102 calculates the L2 loss (first loss), which is the mean squared error between the action feature vector obtained from the pre-trained action recognition model 1021 and the action feature vector generated by the decoder 1023 from the latent feature vector, and calculates the L2 loss (second loss) between the language feature vector output by the language model 1024 in response to input action labels and object labels, and the language feature vector generated by the decoder 1023 from the latent feature vector. The latent feature generation model construction unit 102 then trains the encoder 1022 and decoder 1023 to minimize these L2 losses, thereby enabling the desired latent feature vector to be encoded. The loss may be, for example, the L1 loss, which is the mean absolute error.
このように行動特徴ベクトルを再構成すると同時に言語特徴ベクトルを生成することで、言語特徴ベクトルの違いを考慮した潜在特徴ベクトルが得られる。そのため、動作は似ているが意味は異なるような行動に対して識別能力の高い潜在特徴ベクトルを得ることができる。例えば、一般的な行動認識モデルは、「push」と「pull」の動作の区別が不得手である。しかしながら、「push」と「pull」のそれぞれの言語特徴ベクトルは異なる。そのため、行動特徴ベクトルが似通っていても言語特徴ベクトルが異なっているため、「push」と「pull」で異なる潜在特徴ベクトルを得ることができる。 By reconstructing the action feature vector in this way and generating a language feature vector at the same time, we can obtain a latent feature vector that takes into account the differences in the language feature vectors. As a result, we can obtain latent feature vectors with high discriminatory ability for actions that are similar but have different meanings. For example, typical action recognition models are not good at distinguishing between the actions of "push" and "pull." However, the language feature vectors for "push" and "pull" are different. Therefore, even if the action feature vectors are similar, the language feature vectors are different, so different latent feature vectors can be obtained for "push" and "pull."
ここで、潜在特徴ベクトルの取得は、学習済みの潜在特徴生成モデルがあればよい。そのため、潜在特徴ベクトルを得るためにエンコーダ1022に対して一度学習させたら、新たな学習をしない限り、潜在特徴ベクトルの生成に対してデコーダ1023を用いない。すなわち、図2の例であれば、潜在特徴生成モデルは、事前学習済み行動認識モデル1021およびエンコーダ1022を指す。 Here, a trained latent feature generation model is sufficient to obtain a latent feature vector. Therefore, once the encoder 1022 has been trained once to obtain a latent feature vector, the decoder 1023 is not used to generate the latent feature vector unless new training is performed. That is, in the example of Figure 2, the latent feature generation model refers to the pre-trained action recognition model 1021 and encoder 1022.
すなわち、潜在特徴ベクトルは、事前学習済み行動認識モデル1021を用いて動画像セグメントから抽出できる行動特徴ベクトルを入力として、抽出した行動特徴ベクトルと動画像セグメントに対応する行動ラベル、インタラクションしている物体ラベルから抽出した言語特徴ベクトルを再構成するように潜在特徴生成モデル(エンコーダ1022)の学習を行うことにより得られるベクトルである。 In other words, the latent feature vector is a vector obtained by using the pre-trained behavior recognition model 1021 as input to an action feature vector that can be extracted from a video segment, and training the latent feature generation model (encoder 1022) to reconstruct a language feature vector extracted from the extracted action feature vector, the action label corresponding to the video segment, and the label of the interacting object.
また、行動特徴ベクトルおよび言語特徴ベクトルを再構成する際に、再構成の損失として、元の行動特徴ベクトルと再構成した行動特徴ベクトルのL1ノルム、L2ノルムおよび元の言語特徴ベクトルと再構成した言語特徴ベクトルのL1ノルム、L2ノルム等の一般的に用いられる損失を用いることで、行動特徴ベクトルおよび言語特徴ベクトルの再構成が可能となる。実際の再構成を実行する際には、行動特徴ベクトルの再構成損失と言語特徴ベクトルの再構成損失の和を全体の損失として再構成を行って良い。例えば、行動特徴ベクトルの再構成損失と言語特徴ベクトルの再構成損失の重みづけ和を用いて、再構成を行っても良い。 Furthermore, when reconstructing the action feature vector and language feature vector, commonly used losses such as the L1 norm and L2 norm of the original and reconstructed action feature vectors and the L1 norm and L2 norm of the original and reconstructed language feature vectors can be used as the reconstruction loss, making it possible to reconstruct the action feature vector and language feature vector. When actually performing reconstruction, the sum of the reconstruction loss of the action feature vector and the reconstruction loss of the language feature vector can be used as the overall loss. For example, reconstruction can be performed using a weighted sum of the reconstruction loss of the action feature vector and the reconstruction loss of the language feature vector.
図3に戻り、ステップST103で、学習データ生成部103は、エピソード集合を生成する。学習データ生成部103は、動画像セグメント、潜在特徴生成モデルのパラメータ、行動ラベルの集合を入力として、学習に用いるためのエピソード集合を出力する。 Returning to FIG. 3, in step ST103, the training data generation unit 103 generates a set of episodes. The training data generation unit 103 receives as input video segments, parameters of a latent feature generation model, and a set of action labels, and outputs a set of episodes to be used for training.
図5は、ステップST103でエピソード集合を生成するための詳細な処理の一例を示すフローチャートである。
ステップST201で、セット抽出部1031は、動画像セグメントと行動ラベルの集合からランダムにN-way K-shotのサポートデータとクエリデータのセットを抽出する。学習データ生成部103のセット抽出部1031は、入力されたデータのうち、動画像セグメントおよび行動ラベルの集合からN-way K-shotのサポートデータとクエリデータのセットを抽出する。すなわち、セット抽出部1031は、Nクラス、Kサンプルのサポートデータと抽出したNクラスと同じクラスの評価用のクエリデータのセットを抽出する。サポートデータ、クエリデータの組み合わせをいくつにするか、クエリデータをNクラスの各クラスに何サンプル用意するかは実験的に決定してよい。
FIG. 5 is a flowchart showing an example of detailed processing for generating an episode set in step ST103.
In step ST201, the set extraction unit 1031 randomly extracts sets of N-way K-shot support data and query data from a set of video segments and action labels. The set extraction unit 1031 of the training data generation unit 103 extracts sets of N-way K-shot support data and query data from the set of video segments and action labels among the input data. That is, the set extraction unit 1031 extracts sets of support data for N classes and K samples and query data for evaluation of the same classes as the extracted N classes. The number of combinations of support data and query data and the number of query data samples to prepare for each of the N classes may be determined experimentally.
ステップST202で、潜在特徴ベクトル生成部1032は、潜在特徴ベクトルを生成する。潜在特徴ベクトル生成部1032は、潜在特徴生成モデル構築部102から受信したパラメータから潜在特徴生成モデルを構築し、構築した潜在特徴生成モデルを用いてサポートデータの各動画像セグメントの潜在特徴ベクトルを生成する。或いは、潜在特徴ベクトル生成部1032は、潜在特徴生成モデル構築部102の潜在特徴生成モデルを用いてサポートデータの各動画像セグメントの潜在特徴ベクトルを生成する。 In step ST202, the latent feature vector generation unit 1032 generates a latent feature vector. The latent feature vector generation unit 1032 constructs a latent feature generation model from the parameters received from the latent feature generation model construction unit 102, and generates a latent feature vector for each video segment of the support data using the constructed latent feature generation model. Alternatively, the latent feature vector generation unit 1032 generates a latent feature vector for each video segment of the support data using the latent feature generation model of the latent feature generation model construction unit 102.
ステップST203で、分離度算出部1033は、潜在特徴ベクトルを用いて、分離度を算出する。分離度算出部1033は、潜在特徴ベクトルに基づいてサポートデータのクラス内分散およびクラス間分散を算出する。そして、分離度算出部1033は、クラス間分散とクラス内分散の比である分離度を算出する。 In step ST203, the separability calculation unit 1033 calculates the separability using the latent feature vector. The separability calculation unit 1033 calculates the intra-class variance and inter-class variance of the support data based on the latent feature vector. The separability calculation unit 1033 then calculates the separability, which is the ratio of the inter-class variance to the intra-class variance.
ここで、クラス内分散をσw 2、クラス間分散をσb 2とし、クラスciに属するサンプル集合をXiとする。ここで、iは、1以上の正の整数である。また、クラスciに属するサンプル数をniとし、サンプルの平均ベクトルをmiとする。全サンプル数をNi、全サンプルの平均ベクトルをmとした場合、クラス内分散およびクラス間分散は、以下のように表される。 Here, let σ w 2 be the intra-class variance, σ b 2 be the inter-class variance, and let X i be the set of samples belonging to class c i, where i is a positive integer equal to or greater than 1. Let n i be the number of samples belonging to class c i , and m i be the mean vector of the samples. If N i is the total number of samples and m is the mean vector of all samples, the intra-class variance and inter-class variance can be expressed as follows:
上記の式より、分離度は、σb 2/σw 2で表される。 From the above formula, the degree of separation is expressed as σ b 2 /σ w 2 .
ステップST204で、エピソード集合追加部1034は、分離度と、エピソード(サポートデータおよびクエリデータの組み合わせ)と、をエピソード集合として追加する。 In step ST204, the episode set addition unit 1034 adds the degree of separation and the episode (combination of support data and query data) as an episode set.
ステップST205で、判定部1035は、エピソード集合の数が所定の数より多いかどうかを判定する。エピソード集合が所定の数以下である場合、処理は、ステップST201に戻る。一方、エピソード集合が所定の数より多い場合、処理は、ステップST206に進む。 In step ST205, the determination unit 1035 determines whether the number of episode sets is greater than a predetermined number. If the number of episode sets is equal to or less than the predetermined number, the process returns to step ST201. On the other hand, if the number of episode sets is greater than the predetermined number, the process proceeds to step ST206.
ステップST206で、記憶制御部1036は、エピソード集合を学習データ記憶部301に記憶させる。 In step ST206, the storage control unit 1036 stores the episode set in the learning data storage unit 301.
図3に戻り、ステップST104で、モデル更新部104は、行動分類モデルを更新する。モデル更新部104は、学習時、行動分類部105が使用する行動分類モデルのパラメータを取得し、行動分類モデルの学習に必要なデータを取得する。そして、モデル更新部104は、取得したデータから計算した損失に基づいてモデルパラメータを更新し、更新したパラメータをモデル記憶部302に記憶する。 Returning to FIG. 3 , in step ST104, the model update unit 104 updates the behavior classification model. During learning, the model update unit 104 acquires parameters of the behavior classification model used by the behavior classification unit 105, and acquires data necessary for learning the behavior classification model. The model update unit 104 then updates the model parameters based on the loss calculated from the acquired data, and stores the updated parameters in the model storage unit 302.
図6は、ステップST104で行動分類モデルを更新するための詳細な処理の一例を示すフローチャートである。
ステップST301で、バッチ抽出部1041は、エピソード集合を学習データ記憶部301から取得する。
FIG. 6 is a flowchart showing an example of detailed processing for updating the behavior classification model in step ST104.
In step ST301, the batch extraction unit 1041 acquires an episode set from the training data storage unit 301.
ステップST302で、バッチ抽出部1041は、取得したエピソード集合のうち、分離度が閾値以上のエピソードのバッチを抽出する。ここで、バッチは、ニューラルネットワークの学習単位であり、複数のエピソードである。 In step ST302, the batch extraction unit 1041 extracts a batch of episodes from the acquired set of episodes whose degree of separation is equal to or greater than a threshold. Here, a batch is a learning unit for the neural network and consists of multiple episodes.
ステップST303で、損失算出部1042は、バッチの行動ラベルを推定し、損失を算出する。損失算出部1042は、バッチの行動ラベルを推定する具体的には、損失算出部1042は、バッチとなっている複数のエピソード内のサポートデータを行動分類モデルに入力し、行動分類モデルが推定した結果より行動ラベルを得る。そして、損失算出部1042は、推定された行動ラベルと学習データに含まれる予め定義された行動ラベルに基づいて、損失を算出する。ここで、損失は、例えば、推定された行動ラベルと予め定義された行動ラベルに対する分類損失を計算するクロスエントロピー損失等であって良い。 In step ST303, the loss calculation unit 1042 estimates the behavior label of the batch and calculates the loss. The loss calculation unit 1042 estimates the behavior label of the batch. Specifically, the loss calculation unit 1042 inputs support data in multiple episodes that make up the batch into a behavior classification model and obtains the behavior label from the results estimated by the behavior classification model. The loss calculation unit 1042 then calculates the loss based on the estimated behavior label and pre-defined behavior labels included in the training data. Here, the loss may be, for example, cross-entropy loss, which calculates the classification loss between the estimated behavior label and the pre-defined behavior label.
ステップST304で、モデルパラメータ更新部1043は、損失を逆伝搬することにより、モデルパラメータを更新する。モデルパラメータ更新部1043は、モデル記憶部302に記憶された行動分類モデルで使用するパラメータを取得する。そして、モデルパラメータ更新部1043は、勾配降下法等の一般的な方法を用いて、損失を逆伝搬することにより、パラメータを更新する。 In step ST304, the model parameter update unit 1043 updates the model parameters by backpropagating the loss. The model parameter update unit 1043 obtains the parameters used in the behavior classification model stored in the model storage unit 302. Then, the model parameter update unit 1043 updates the parameters by backpropagating the loss using a common method such as gradient descent.
ステップST305で、分離度閾値更新部1044は、分離度の閾値を更新する。例えば、モデル更新部104は、分離度閾値更新部1044は、特定の回数のエピソードまでは、分離度(クラス間分散とクラス内分散の比)が閾値を越える場合、バッチを抽出して学習に用いる。一方、分離度が閾値を超えない場合、バッチを抽出しないので、学習に用いない。このようにすることにより、初期に学習したデータの忘却を防止する。ここで初期の学習したデータの忘却とは、学習の初期に学習したデータが異なるデータを学習するうちにモデルのパラメータが更新され、異なるデータに対してモデルが適合していくため、初期に学習したデータに対する分離性能を失うことを意味する。また、分離度閾値更新部1044は、特定の回数を超えたエピソードに対して、閾値を小さくするように分離度の閾値を更新する。このように、分離度の小さいエピソードもランダムサンプリングの対象として学習に用いることで、初期の忘却を防ぎつつ、サンプリングパターンが減少することを防ぐことができる。 In step ST305, the separability threshold update unit 1044 updates the separability threshold. For example, the model update unit 104 extracts a batch and uses it for learning if the separability (the ratio of inter-class variance to intra-class variance) exceeds the threshold up to a certain number of episodes. On the other hand, if the separability does not exceed the threshold, the batch is not extracted and therefore not used for learning. This prevents the initial learning data from being forgotten. Here, forgetting the initial learning data means that the model parameters are updated as the data learned in the initial learning stage learns different data, and the model adapts to the different data, resulting in a loss of separation performance for the initial learning data. Furthermore, the separability threshold update unit 1044 updates the separability threshold to a smaller threshold for episodes that exceed a certain number. In this way, by using episodes with low separability as targets for random sampling in learning, it is possible to prevent initial forgetting and prevent a decrease in sampling patterns.
ステップST306で、収束判定部1045は、損失の値が閾値未満であるかどうか判定する。損失の値が閾値未満、すなわち、十分に学習できたと判定した場合、収束判定部1045は、損失の値が収束したとみなす。そして、処理は、ステップST307に進む。一方、損失の値が閾値以上である場合、収束判定部1045は、損失の値が収束していないと判定する。そして、処理は、ステップST302に戻る。 In step ST306, the convergence determination unit 1045 determines whether the loss value is less than the threshold value. If the loss value is less than the threshold value, i.e., if it is determined that sufficient learning has been achieved, the convergence determination unit 1045 considers that the loss value has converged. The process then proceeds to step ST307. On the other hand, if the loss value is greater than or equal to the threshold value, the convergence determination unit 1045 determines that the loss value has not converged. The process then returns to step ST302.
ステップST307で、記憶制御部1046は、更新されたパラメータをモデル記憶部302に記憶させる。 In step ST307, the memory control unit 1046 stores the updated parameters in the model memory unit 302.
以上のようにして、行動認識装置1は学習により、行動分類モデルのパラメータを更新することができる。 In this way, the behavior recognition device 1 can update the parameters of the behavior classification model through learning.
(推論動作)
次に制御部10における行動推論時の処理について説明する。
図7は、本実施形態における行動認識装置1の行動ラベル推定手順の一例を示すフローチャートである。
(Inference operation)
Next, the processing performed by the control unit 10 during behavior inference will be described.
FIG. 7 is a flowchart showing an example of an activity label estimation procedure of the activity recognition device 1 according to this embodiment.
行動認識装置1の制御部10がプログラム記憶部20に格納されたプログラムを読み出して実行することにより、このフローチャートの動作が実現される。この動作は、行動認識装置1のユーザが入力装置51に入力データを入力することにより開始する。ここで、入力データは、動画像セグメントを含んで良い。 The operation of this flowchart is realized by the control unit 10 of the behavior recognition device 1 reading and executing a program stored in the program storage unit 20. This operation begins when the user of the behavior recognition device 1 inputs input data into the input device 51. Here, the input data may include video segments.
ステップST401で、データ取得部101は、入力データを取得する。入力データを受信した入力装置51は、データ取得部101に入力データを出力する。入力データを受信したデータ取得部101は、潜在特徴生成モデル構築部102に行動認識部に入力データを出力する。また、データ取得部101は、潜在特徴生成モデル構築部102に入力データを受信したことを示す信号を出力して良い。潜在特徴生成モデル構築部102は、当該信号の受信に応じて潜在特徴生成モデルで使用するパラメータまたは潜在特徴生成モデルを使用するための情報を行動分類部105に出力する。 In step ST401, the data acquisition unit 101 acquires input data. The input device 51 receives the input data and outputs the input data to the data acquisition unit 101. The data acquisition unit 101 receives the input data and outputs the input data to the latent feature generation model construction unit 102, the behavior recognition unit. The data acquisition unit 101 may also output a signal indicating that the input data has been received to the latent feature generation model construction unit 102. In response to receiving the signal, the latent feature generation model construction unit 102 outputs parameters to be used in the latent feature generation model or information for using the latent feature generation model to the behavior classification unit 105.
ステップST402で、潜在特徴ベクトル生成部1051は、潜在特徴生成モデルを用いて潜在特徴ベクトルを生成する。データ取得部101から入力データ、そして潜在特徴生成モデル構築部102から潜在特徴生成モデルで使用するパラメータを受信すると、潜在特徴ベクトル生成部1051は、潜在特徴生成モデルを構築し、入力データに含まれる動画像セグメントを潜在特徴生成モデルに入力して潜在特徴ベクトルを生成する。或いは、潜在特徴ベクトル生成部1051は、潜在特徴生成モデル構築部102の潜在特徴生成モデルを用いて潜在特徴ベクトルを生成する。 In step ST402, the latent feature vector generation unit 1051 generates a latent feature vector using a latent feature generation model. Upon receiving input data from the data acquisition unit 101 and parameters to be used in the latent feature generation model from the latent feature generation model construction unit 102, the latent feature vector generation unit 1051 constructs a latent feature generation model and inputs video segments included in the input data into the latent feature generation model to generate a latent feature vector. Alternatively, the latent feature vector generation unit 1051 generates a latent feature vector using the latent feature generation model of the latent feature generation model construction unit 102.
ステップST403で、行動ラベル生成部1052は、行動ラベルを生成する。行動ラベル生成部1052は、モデル記憶部302に記憶された行動分類モデルのパラメータを取得し、行動分類モデルに潜在特徴ベクトルを入力することにより、行動ラベルを生成する。行動ラベル生成部1052は、生成した行動ラベルを出力制御部106に出力する。 In step ST403, the behavior label generation unit 1052 generates a behavior label. The behavior label generation unit 1052 acquires the parameters of the behavior classification model stored in the model storage unit 302 and generates a behavior label by inputting a latent feature vector into the behavior classification model. The behavior label generation unit 1052 outputs the generated behavior label to the output control unit 106.
図8は、行動分類部105のニューラルネットワークモデルの概念図の一例を示した図である。
図8のニューラルネットワークモデルは、事前学習済み行動認識モデル1021と、エンコーダ1022と、行動分類モデル1053と、を備える。事前学習済み行動認識モデル1021およびエンコーダ1022は、潜在特徴生成モデルを構成する。すなわち、事前学習済み行動認識モデル1021およびエンコーダ1022を用いることで、ステップST401で説明した潜在特徴ベクトルが生成される。そして、行動分類モデル1053を用いることで、ステップST402で説明した行動ラベルが生成される。
FIG. 8 is a diagram showing an example of a conceptual diagram of the neural network model of the behavior classification unit 105.
8 includes a pre-trained behavior recognition model 1021, an encoder 1022, and a behavior classification model 1053. The pre-trained behavior recognition model 1021 and the encoder 1022 configure a latent feature generation model. That is, the pre-trained behavior recognition model 1021 and the encoder 1022 are used to generate the latent feature vector described in step ST401. Then, the behavior classification model 1053 is used to generate the behavior label described in step ST402.
ステップST404で、出力制御部106は、行動ラベルを出力する。出力制御部106は、入出力インタフェース50を通じて、出力装置52に行動ラベルを出力する。そして、出力制御部106は、出力装置52のディスプレイに行動ラベルを表示するように制御して良い。 In step ST404, the output control unit 106 outputs the behavior label. The output control unit 106 outputs the behavior label to the output device 52 via the input/output interface 50. The output control unit 106 may then control the display of the output device 52 to display the behavior label.
このようにして、動画像セグメントを行動認識装置1に入力することにより、その動画像セグメントに対応する行動ラベルが生成され、生成された行動ラベルが出力装置52のディスプレイに表示されることになる。 In this way, by inputting a video segment into the behavior recognition device 1, a behavior label corresponding to that video segment is generated, and the generated behavior label is displayed on the display of the output device 52.
(実施形態の作用効果)
以上説明した実施形態によれば、行動認識装置1は、行動ラベルの行動特徴と言語特徴を考慮して学習をすることにより、行動ラベルを生成することが可能となる。また、行動認識装置1は、行動特徴が似ている行動ラベルも分類することが可能となる。
(Effects of the embodiment)
According to the embodiment described above, the behavior recognition device 1 can generate behavior labels by performing learning in consideration of the behavioral features and linguistic features of the behavior labels. Furthermore, the behavior recognition device 1 can also classify behavior labels with similar behavioral features.
[他の実施形態]
なお、この発明は上記実施形態に限定されるものではない。例えば、学習動作において、ステップST102におけるエンコーダ1022の学習は必ずしも実行しなくとも良い。例えばエンコーダ1022の学習を一度し終えた場合、必要に応じて実行すれば良い。
Other Embodiments
It should be noted that the present invention is not limited to the above embodiment. For example, in the learning operation, learning of the encoder 1022 in step ST102 does not necessarily have to be performed. For example, once learning of the encoder 1022 has been completed, it may be performed as needed.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 While several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments may be embodied in a variety of other forms, and various omissions, substitutions, and modifications may be made without departing from the spirit of the invention. These embodiments and their variations are within the scope and spirit of the invention, and are also included in the scope of the invention and its equivalents as set forth in the claims.
1…行動認識装置
10…制御部
101…データ取得部
102…潜在特徴生成モデル構築部
1021…事前学習済み行動認識モデル
1022…エンコーダ
1023…デコーダ
1024…言語モデル
103…学習データ生成部
1031…セット抽出部
1032…潜在特徴ベクトル生成部
1033…分離度算出部
1034…エピソード集合追加部
1035…判定部
1036…記憶制御部
104…モデル更新部
1041…バッチ抽出部
1042…損失算出部
1043…モデルパラメータ更新部
1044…分離度閾値更新部
1045…収束判定部
1046…記憶制御部
105…行動分類部
1051…潜在特徴ベクトル生成部
1052…行動ラベル生成部
1053…行動分類モデル
106…出力制御部
20…プログラム記憶部
30…データ記憶部
301…学習データ記憶部
302…モデル記憶部
40…通信インタフェース
50…入出力インタフェース
51…入力装置
52…出力装置
DESCRIPTION OF SYMBOLS 1... Behavior recognition device 10... Control unit 101... Data acquisition unit 102... Latent feature generation model construction unit 1021... Pre-trained behavior recognition model 1022... Encoder 1023... Decoder 1024... Language model 103... Training data generation unit 1031... Set extraction unit 1032... Latent feature vector generation unit 1033... Separability calculation unit 1034... Episode set addition unit 1035... Determination unit 1036... Memory control unit 104... Model update unit 1041... Batch extraction unit 1042... Loss calculation unit 1043... Model parameter update unit 1044... Separability threshold update unit 1045... Convergence determination unit 1046... Memory control unit 105... Behavior classification unit 1051... Latent feature vector generation unit 1052... Behavior label generation unit 1053... Behavior classification model 106... Output control unit 20... Program memory unit 30: Data storage unit 301: Learning data storage unit 302: Model storage unit 40: Communication interface 50: Input/output interface 51: Input device 52: Output device
Claims (7)
事前学習済み行動認識モデル、エンコーダ、デコーダ、および言語モデルを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成する潜在特徴ベクトル生成部と、
前記事前学習済み行動認識モデルから得られる行動特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される行動特徴ベクトルとの第1の損失を算出し、前記行動ラベルおよび前記物体ラベルが前記言語モデルに入力することにより生成される第1の言語特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される第2の言語特徴ベクトルとの第2の損失を算出し、前記第1の損失および前記第2の損失を最小化するように前記エンコーダおよび前記デコーダを学習させる潜在特徴生成モデル構築部と
前記行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成する行動ラベル生成部と、
前記行動ラベルを出力する出力制御部と、
を備える、行動認識装置。 a data acquisition unit that acquires input data including a first video segment , and acquires training data including a second video segment and an action label and an object label annotated to the second video segment when training an action classification model ;
a latent feature vector generation unit that generates a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model , an encoder , a decoder, and a language model ;
a latent feature generation model construction unit that calculates a first loss between an action feature vector obtained from the pre-trained action recognition model and an action feature vector generated by inputting the latent feature vector to the decoder, calculates a second loss between a first language feature vector generated by inputting the action label and the object label to the language model and a second language feature vector generated by inputting the latent feature vector to the decoder, and trains the encoder and the decoder so as to minimize the first loss and the second loss;
an action label generation unit that generates an action label by inputting the latent feature vector into the action classification model;
an output control unit that outputs the behavior label;
An activity recognition device comprising:
事前学習済み行動認識モデルおよびエンコーダを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成する潜在特徴ベクトル生成部と、
前記行動分類モデルが使用するパラメータを記憶するモデル記憶部と、
前記動画像セグメントおよび前記学習データに基づいてエピソード集合を生成する学習データ生成部と、
前記モデル記憶部に記憶された前記パラメータを取得し、前記エピソード集合のうちの所定の条件を満たすバッチを抽出し、前記抽出されたバッチの行動ラベルを推定し、前記推定された行動ラベルと前記学習データに含まれる行動ラベルとの損失を算出し、前記算出された損失を逆伝搬することにより前記パラメータを更新する、モデル更新部と、
前記行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成する行動ラベル生成部と、
前記行動ラベルを出力する出力制御部と、
を備え、前記学習データ生成部は、
前記学習データに含まれる前記第2の動画像セグメントおよび前記行動ラベルの集合からN-way K-shotのサポートデータとクエリデータのセットであるエピソードを抽出するセット抽出部と、
前記潜在特徴生成モデルに前記第2の動画像セグメントを入力することにより第2の潜在特徴ベクトルを生成する潜在特徴ベクトル生成部と、
前記第2の潜在特徴ベクトルを用いて分離度を算出する分離度算出部と、
前記分離度と前記エピソードを前記エピソード集合とするエピソード集合追加部と、
を備え、
前記モデル更新部は、特定の回数のエピソードまでは分離度が閾値を超える場合、前記バッチを抽出して学習に用い、前記閾値を超えない場合、前記バッチを抽出しないで学習に用いず、前記特定の回数を超えたエピソードに対しては、前記閾値を小さくするように更新する、行動認識装置。 a data acquisition unit that acquires input data including a first video segment , and acquires training data including a second video segment and an action label and an object label annotated to the second video segment when training an action classification model ;
a latent feature vector generation unit that generates a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model and an encoder;
a model storage unit that stores parameters used by the behavior classification model;
a training data generation unit that generates a set of episodes based on the video segments and the training data;
a model update unit that acquires the parameters stored in the model storage unit, extracts batches from the set of episodes that satisfy a predetermined condition, estimates an action label of the extracted batch, calculates a loss between the estimated action label and an action label included in the training data, and updates the parameters by backpropagating the calculated loss; and
an action label generation unit that generates an action label by inputting the latent feature vector into the action classification model;
an output control unit that outputs the behavior label;
The learning data generation unit comprises:
a set extraction unit that extracts episodes, which are sets of N-way K-shot support data and query data, from the set of the second video segments and the action labels included in the training data;
a latent feature vector generation unit that generates a second latent feature vector by inputting the second video segment into the latent feature generation model;
a separability calculation unit that calculates a separability using the second latent feature vector;
an episode set addition unit that adds the degree of separation and the episode to the episode set;
Equipped with
The model update unit extracts the batch and uses it for learning if the degree of separation exceeds a threshold up to a specific number of episodes, does not extract the batch and does not use it for learning if the degree of separation does not exceed the threshold, and updates the threshold to be smaller for episodes that exceed the specific number of episodes .
事前学習済み行動認識モデル、エンコーダ、デコーダ、および言語モデルを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成することと、
前記事前学習済み行動認識モデルから得られる行動特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される行動特徴ベクトルとの第1の損失を算出し、前記行動ラベルおよび前記物体ラベルが前記言語モデルに入力することにより生成される第1の言語特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される第2の言語特徴ベクトルとの第2の損失を算出し、前記第1の損失および前記第2の損失を最小化するように前記エンコーダおよび前記デコーダを学習させることと、
前記行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成することと、
前記行動ラベルを出力することと、
を備える、行動認識方法。 acquiring input data including a first video segment , and acquiring training data including a second video segment and an action label and an object label annotated to the second video segment when training an activity classification model ;
generating a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model , an encoder , a decoder, and a language model ;
calculating a first loss between an action feature vector obtained from the pre-trained action recognition model and an action feature vector generated by inputting the latent feature vector to the decoder, calculating a second loss between a first language feature vector generated by inputting the action label and the object label to the language model and a second language feature vector generated by inputting the latent feature vector to the decoder, and training the encoder and the decoder to minimize the first loss and the second loss;
generating an action label by inputting the latent feature vector into the action classification model;
outputting the activity label;
The activity recognition method includes:
前記行動分類モデルが使用するパラメータを記憶することと、
前記動画像セグメントおよび前記学習データに基づいてエピソード集合を生成することと、
前記パラメータを取得し、前記エピソード集合のうちの所定の条件を満たすバッチを抽出し、前記抽出されたバッチの行動ラベルを推定し、前記推定された行動ラベルと前記学習データに含まれる行動ラベルとの損失を算出し、前記算出された損失を逆伝搬することにより前記パラメータを更新することと、
前記行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成することと、
前記行動ラベルを出力することと、
を備え、前記エピソード集合を生成することは、
前記学習データに含まれる前記第2の動画像セグメントおよび前記行動ラベルの集合からN-way K-shotのサポートデータとクエリデータのセットであるエピソードを抽出することと、
前記潜在特徴生成モデルに前記第2の動画像セグメントを入力することにより第2の潜在特徴ベクトルを生成することと、
前記第2の潜在特徴ベクトルを用いて分離度を算出することと、
前記分離度と前記エピソードを前記エピソード集合とすることと、
を備え、
前記パラメータを更新することは、特定の回数のエピソードまでは分離度が閾値を超える場合、前記バッチを抽出して学習に用い、前記閾値を超えない場合、前記バッチを抽出しないで学習に用いず、前記特定の回数を超えたエピソードに対しては、前記閾値を小さくするように更新することを備える、行動認識方法。 acquiring input data including a first video segment , and acquiring training data including a second video segment and an action label and an object label annotated to the second video segment when training an action classification model; generating a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model and an encoder;
storing parameters used by the behavior classification model;
generating a set of episodes based on the video segments and the training data;
acquiring the parameters, extracting batches from the set of episodes that satisfy a predetermined condition, estimating action labels of the extracted batches, calculating a loss between the estimated action labels and action labels included in the training data, and updating the parameters by backpropagating the calculated loss;
generating an action label by inputting the latent feature vector into the action classification model;
outputting the activity label;
and generating the set of episodes comprises:
extracting episodes, which are sets of N-way K-shot support data and query data, from the set of the second video segments and the action labels included in the training data;
generating a second latent feature vector by inputting the second video segment into the latent feature generation model;
calculating a degree of separation using the second latent feature vector;
the degree of separation and the episodes as the episode set;
Equipped with
The behavior recognition method includes: updating the parameters by extracting the batch and using it for learning if the degree of separation exceeds a threshold up to a specific number of episodes; not extracting the batch and not using it for learning if the degree of separation does not exceed the threshold; and updating the threshold to be smaller for episodes that exceed the specific number of episodes .
事前学習済み行動認識モデル、エンコーダ、デコーダ、および言語モデルを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成することと、
前記事前学習済み行動認識モデルから得られる行動特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される行動特徴ベクトルとの第1の損失を算出し、前記行動ラベルおよび前記物体ラベルが前記言語モデルに入力することにより生成される第1の言語特徴ベクトルと、前記デコーダに前記潜在特徴ベクトルが入力されることにより生成される第2の言語特徴ベクトルとの第2の損失を算出し、前記第1の損失および前記第2の損失を最小化するように前記エンコーダおよび前記デコーダを学習させることと、
前記行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成することと、
前記行動ラベルを出力することと、
を行動認識装置のプロセッサによって実行させるための命令を備える行動認識プログラム。 acquiring input data including a first video segment , and acquiring training data including a second video segment and an action label and an object label annotated to the second video segment when training an activity classification model ;
generating a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model , an encoder , a decoder, and a language model ;
calculating a first loss between an action feature vector obtained from the pre-trained action recognition model and an action feature vector generated by inputting the latent feature vector to the decoder, calculating a second loss between a first language feature vector generated by inputting the action label and the object label to the language model and a second language feature vector generated by inputting the latent feature vector to the decoder, and training the encoder and the decoder to minimize the first loss and the second loss;
generating an action label by inputting the latent feature vector into the action classification model;
outputting the activity label;
An action recognition program comprising instructions for causing a processor of an action recognition device to execute the above.
事前学習済み行動認識モデルおよびエンコーダを備える潜在特徴生成モデルに前記動画像セグメントを入力することにより潜在特徴ベクトルを生成することと、
前記行動分類モデルが使用するパラメータを記憶することと、
前記動画像セグメントおよび前記学習データに基づいてエピソード集合を生成することと、
前記パラメータを取得し、前記エピソード集合のうちの所定の条件を満たすバッチを抽出し、前記抽出されたバッチの行動ラベルを推定し、前記推定された行動ラベルと前記学習データに含まれる行動ラベルとの損失を算出し、前記算出された損失を逆伝搬することにより前記パラメータを更新することと、
事前学習済み行動分類モデルに前記潜在特徴ベクトルを入力することにより行動ラベルを生成することと、
前記行動ラベルを出力することと、
を行動認識装置のプロセッサによって実行させるための命令を備え、前記エピソード集合を生成することは、
前記学習データに含まれる前記第2の動画像セグメントおよび前記行動ラベルの集合からN-way K-shotのサポートデータとクエリデータのセットであるエピソードを抽出することと、
前記潜在特徴生成モデルに前記第2の動画像セグメントを入力することにより第2の潜在特徴ベクトルを生成することと、
前記第2の潜在特徴ベクトルを用いて分離度を算出することと、
前記分離度と前記エピソードを前記エピソード集合とすることと、
を備え、
前記パラメータを更新することは、特定の回数のエピソードまでは分離度が閾値を超える場合、前記バッチを抽出して学習に用い、前記閾値を超えない場合、前記バッチを抽出しないで学習に用いず、前記特定の回数を超えたエピソードに対しては、前記閾値を小さくするように更新することを備える行動認識プログラム。 acquiring input data including a first video segment , and acquiring training data including a second video segment and an action label and an object label annotated to the second video segment when training an activity classification model ;
generating a latent feature vector by inputting the video segment into a latent feature generation model including a pre-trained action recognition model and an encoder;
storing parameters used by the behavior classification model;
generating a set of episodes based on the video segments and the training data;
acquiring the parameters, extracting batches from the set of episodes that satisfy a predetermined condition, estimating action labels of the extracted batches, calculating a loss between the estimated action labels and action labels included in the training data, and updating the parameters by backpropagating the calculated loss;
generating an action label by inputting the latent feature vector into a pre-trained action classification model;
outputting the activity label;
and generating the episode set comprises:
extracting episodes, which are sets of N-way K-shot support data and query data, from the set of the second video segments and the action labels included in the training data;
generating a second latent feature vector by inputting the second video segment into the latent feature generation model;
calculating a degree of separation using the second latent feature vector;
the degree of separation and the episodes as the episode set;
Equipped with
The behavior recognition program includes updating the parameters by extracting the batch and using it for learning if the degree of separation exceeds a threshold up to a specific number of episodes, not extracting the batch and not using it for learning if the threshold is not exceeded, and updating the threshold to be smaller for episodes that exceed the specific number .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022144573A JP7766297B2 (en) | 2022-09-12 | 2022-09-12 | Behavior recognition device, behavior recognition method, and behavior recognition program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022144573A JP7766297B2 (en) | 2022-09-12 | 2022-09-12 | Behavior recognition device, behavior recognition method, and behavior recognition program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024039875A JP2024039875A (en) | 2024-03-25 |
| JP7766297B2 true JP7766297B2 (en) | 2025-11-10 |
Family
ID=90367146
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022144573A Active JP7766297B2 (en) | 2022-09-12 | 2022-09-12 | Behavior recognition device, behavior recognition method, and behavior recognition program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7766297B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020107138A (en) | 2018-12-27 | 2020-07-09 | 沖電気工業株式会社 | Classification device, classification system, classification method and program |
| US20210224612A1 (en) | 2020-01-17 | 2021-07-22 | Element Al Inc. | Method and system for generating a vector representation of an image |
| WO2022101961A1 (en) | 2020-11-10 | 2022-05-19 | 日本電信電話株式会社 | Learning device, learning method, and program |
| WO2022123619A1 (en) | 2020-12-07 | 2022-06-16 | 楽天グループ株式会社 | Learning system, learning method, and program |
-
2022
- 2022-09-12 JP JP2022144573A patent/JP7766297B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020107138A (en) | 2018-12-27 | 2020-07-09 | 沖電気工業株式会社 | Classification device, classification system, classification method and program |
| US20210224612A1 (en) | 2020-01-17 | 2021-07-22 | Element Al Inc. | Method and system for generating a vector representation of an image |
| WO2022101961A1 (en) | 2020-11-10 | 2022-05-19 | 日本電信電話株式会社 | Learning device, learning method, and program |
| WO2022123619A1 (en) | 2020-12-07 | 2022-06-16 | 楽天グループ株式会社 | Learning system, learning method, and program |
Non-Patent Citations (1)
| Title |
|---|
| Mei Chee Leong et al.,"Combined CNN Transformer Encoder for Enhanced Fine-grained Human Action Recognition",arXiv.org [online],arXiv:2208.01897v1,2022年08月,[取得日 2025.05.21], 取得先 <https://www.arxiv.org/abs/2208.01897v1> |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024039875A (en) | 2024-03-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112329476B (en) | A text error correction method, device, equipment, and storage medium | |
| CN112560652B (en) | Text recognition method and system and text recognition model training method and system | |
| CN110210513B (en) | Data classification method and device and terminal equipment | |
| US20180060727A1 (en) | Recurrent encoder and decoder | |
| CN109978060B (en) | Training method and device of natural language element extraction model | |
| KR102258002B1 (en) | Method and server for providing image tlanslation service using artificial intelligence | |
| CN111709754A (en) | User behavior feature extraction method, device, equipment and system | |
| US11698775B2 (en) | Smart code editor for detecting and visualizing deviations | |
| WO2022097709A1 (en) | Data augmentation method, learning device, and program | |
| CN110636445A (en) | WIFI-based indoor positioning method, device, equipment and medium | |
| CN112651467A (en) | Training method and system and prediction method and system of convolutional neural network | |
| CN116467141A (en) | Log recognition model training, log clustering method and related systems and equipment | |
| EP4432130A1 (en) | Text to image generation using k-nearest-neighbor diffusion | |
| CN112434629B (en) | Online time sequence action detection method and equipment | |
| CN119478974A (en) | Text line recognition method, device, electronic device and storage medium | |
| CN113553401A (en) | A text processing method, apparatus, medium and electronic device | |
| CN117541668A (en) | Virtual character generation method, device, equipment and storage medium | |
| JP7766297B2 (en) | Behavior recognition device, behavior recognition method, and behavior recognition program | |
| KR102840471B1 (en) | Method for predicting condition change of a patient | |
| KR102696928B1 (en) | A method of testing software for potential errors | |
| WO2025170866A1 (en) | Generating text-to-motion animations from partially annotated datasets | |
| KR20230085480A (en) | Reinforcement learning method and apparatus using task decomposition | |
| CN112201314A (en) | Method and device for extracting molecular fingerprints and calculating correlation degree based on molecular fingerprints | |
| US12437105B2 (en) | Data obscuring for natural language text | |
| CN117708698A (en) | Class determination method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20220916 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20220916 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230104 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20230106 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20230208 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240806 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250428 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250527 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250722 |
|
| 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: 20251014 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251020 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7766297 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |