arXiv reaDer
動的視覚認識のためのGlanceおよびFocusネットワーク
Glance and Focus Networks for Dynamic Visual Recognition
空間的冗長性は視覚認識タスクに広く存在します。つまり、画像またはビデオフレームの識別機能は通常、ピクセルのサブセットにのみ対応し、残りの領域は目前のタスクとは無関係です。したがって、すべてのピクセルを同じ量の計算で処理する静的モデルは、時間とスペースの消費に関してかなりの冗長性をもたらします。この論文では、人間の視覚系を模倣した、粗いものから細かいものへの連続的な特徴学習プロセスとして、画像認識問題を定式化します。具体的には、提案されたGlance and Focus Network(GFNet)は、最初に低解像度スケールで入力画像の迅速なグローバル表現を抽出し、次に一連の顕著な(小さな)領域に戦略的に参加してより細かい特徴を学習します。シーケンシャルプロセスは、モデルがその予測について十分に確信しているときに終了できるため、テスト時に適応推論を自然に促進し、それ以上の冗長な計算を回避します。モデル内の判別領域を特定する問題は強化学習タスクとして定式化されているため、分類ラベル以外の追加の手動注釈は必要ありません。 GFNetは、特徴抽出器として便利に展開できる既製のバックボーンモデル(MobileNets、EfficientNets、TSMなど)と互換性があるため、一般的で柔軟性があります。さまざまな画像分類およびビデオ認識タスクとさまざまなバックボーンモデルを使用した広範な実験により、この方法の驚くべき効率が実証されています。たとえば、iPhone XS Maxでの高効率のMobileNet-V3の平均遅延を、精度を犠牲にすることなく1.3分の1に削減します。コードと事前トレーニング済みモデルは、https://github.com/blackfeather-wang/GFNet-Pytorchで入手できます。
Spatial redundancy widely exists in visual recognition tasks, i.e., discriminative features in an image or video frame usually correspond to only a subset of pixels, while the remaining regions are irrelevant to the task at hand. Therefore, static models which process all the pixels with an equal amount of computation result in considerable redundancy in terms of time and space consumption. In this paper, we formulate the image recognition problem as a sequential coarse-to-fine feature learning process, mimicking the human visual system. Specifically, the proposed Glance and Focus Network (GFNet) first extracts a quick global representation of the input image at a low resolution scale, and then strategically attends to a series of salient (small) regions to learn finer features. The sequential process naturally facilitates adaptive inference at test time, as it can be terminated once the model is sufficiently confident about its prediction, avoiding further redundant computation. It is worth noting that the problem of locating discriminant regions in our model is formulated as a reinforcement learning task, thus requiring no additional manual annotations other than classification labels. GFNet is general and flexible as it is compatible with any off-the-shelf backbone models (such as MobileNets, EfficientNets and TSM), which can be conveniently deployed as the feature extractor. Extensive experiments on a variety of image classification and video recognition tasks and with various backbone models demonstrate the remarkable efficiency of our method. For example, it reduces the average latency of the highly efficient MobileNet-V3 on an iPhone XS Max by 1.3x without sacrificing accuracy. Code and pre-trained models are available at https://github.com/blackfeather-wang/GFNet-Pytorch.
updated: Sun Jan 09 2022 14:00:56 GMT+0000 (UTC)
published: Sun Jan 09 2022 14:00:56 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト