arXiv reaDer
ローカル ビジョン トランスフォーマーの解明: スパース接続、ウェイト共有、動的ウェイト
Demystifying Local Vision Transformer: Sparse Connectivity, Weight Sharing, and Dynamic Weight
Vision Transformer (ViT) は視覚認識において最先端のパフォーマンスを達成し、バリアントである Local Vision Transformer はさらに改善されています。 Local Vision Transformer の主要なコンポーネントであるローカル アテンションは、小さなローカル ウィンドウで個別にアテンションを実行します。ローカル アテンションをチャネルごとのローカル接続層と言い換えて、2 つのネットワーク正則化方法、スパース接続と重み共有、および重み計算から分析します。疎な接続性: チャネル間の接続はなく、各位置は小さなローカル ウィンドウ内の位置に接続されます。重みの共有: 1 つの位置の接続の重みは、チャネル間またはチャネルの各グループ内で共有されます。動的重み: 接続の重みは、各画像インスタンスに従って動的に予測されます。局所的な注意は、深さ方向の畳み込みとその動的バージョンの疎結合に似ていることを指摘します。主な違いは重みの共有にあります。深さ方向の畳み込みは、空間位置全体で接続の重み (カーネルの重み) を共有します。深さ方向の畳み込みに基づくモデルと、計算の複雑性が低い動的バリアントは、ImageNet 分類、COCO オブジェクト検出、および ADE セマンティックについて、Local Vision Transformer のインスタンスである Swin Transformer と同等または場合によってはわずかに優れていることを経験的に観察します。セグメンテーション。これらの観察結果は、Local Vision Transformer が 2 つの正則化形式と動的重みを利用してネットワーク容量を増やすことを示唆しています。
Vision Transformer (ViT) attains state-of-the-art performance in visual recognition, and the variant, Local Vision Transformer, makes further improvements. The major component in Local Vision Transformer, local attention, performs the attention separately over small local windows. We rephrase local attention as a channel-wise locally-connected layer and analyze it from two network regularization manners, sparse connectivity and weight sharing, as well as weight computation. Sparse connectivity: there is no connection across channels, and each position is connected to the positions within a small local window. Weight sharing: the connection weights for one position are shared across channels or within each group of channels. Dynamic weight: the connection weights are dynamically predicted according to each image instance. We point out that local attention resembles depth-wise convolution and its dynamic version in sparse connectivity. The main difference lies in weight sharing - depth-wise convolution shares connection weights (kernel weights) across spatial positions. We empirically observe that the models based on depth-wise convolution and the dynamic variant with lower computation complexity perform on-par with or sometimes slightly better than Swin Transformer, an instance of Local Vision Transformer, for ImageNet classification, COCO object detection and ADE semantic segmentation. These observations suggest that Local Vision Transformer takes advantage of two regularization forms and dynamic weight to increase the network capacity.
updated: Tue Jun 08 2021 11:47:44 GMT+0000 (UTC)
published: Tue Jun 08 2021 11:47:44 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アソシエイト