arXiv reaDer
ASR: アテンションに似た構造の再パラメータ化
ASR: Attention-alike Structural Re-parameterization
構造再パラメータ化 (SRP) 手法は、等価パラメータ変換を通じて異なるネットワーク アーキテクチャ間の相互変換を実現する新しい深層学習手法です。この技術は、推論中のこれらの変換を通じて、パラメータのサイズや推論時間など、トレーニング中のパフォーマンス向上のための追加コストを軽減できるため、SRP は産業および実用的な応用に大きな可能性を秘めています。既存の SRP 手法は、正規化、プーリング手法、マルチブランチ畳み込みなど、一般的に使用される多くのアーキテクチャを考慮することに成功しています。ただし、推論速度が大幅に低下する広く使用されているアテンション モジュールは、通常、バックボーン ネットワーク上で乗算的に動作し、推論中のモジュールの出力が入力に依存するため、SRP で直接実装することはできません。そのため、アプリケーション シナリオが制限されます。希望小売価格。この論文では、統計的な観点から広範な実験を実施し、興味深い現象であるストライプ観察を発見しました。これは、トレーニング中にチャネル アテンション値がいくつかの定数ベクトルに急速に近づくことを明らかにします。この観察は、アテンション メカニズムの有効性を享受しながら、特定のネットワークの SRP を達成できるようにする、シンプルでありながら効果的なアテンション類似構造再パラメータ化 (ASR) を提案するきっかけを与えてくれました。いくつかの標準ベンチマークで行われた広範な実験により、複雑なモデル作成を必要とせずに、既存のバックボーン ネットワーク、アテンション モジュール、および SRP メソッドのパフォーマンスを全般的に向上させる ASR の有効性が実証されました。また、制限を分析し、提案された ASR の強力な堅牢性についての実験的および理論的証拠を提供します。
The structural re-parameterization (SRP) technique is a novel deep learning technique that achieves interconversion between different network architectures through equivalent parameter transformations. This technique enables the mitigation of the extra costs for performance improvement during training, such as parameter size and inference time, through these transformations during inference, and therefore SRP has great potential for industrial and practical applications. The existing SRP methods have successfully considered many commonly used architectures, such as normalizations, pooling methods, and multi-branch convolution. However, the widely used attention modules which drastically slow inference speed cannot be directly implemented by SRP due to these modules usually act on the backbone network in a multiplicative manner and the modules' output is input-dependent during inference, which limits the application scenarios of SRP. In this paper, we conduct extensive experiments from a statistical perspective and discover an interesting phenomenon Stripe Observation, which reveals that channel attention values quickly approach some constant vectors during training. This observation inspires us to propose a simple-yet-effective attention-alike structural re-parameterization (ASR) that allows us to achieve SRP for a given network while enjoying the effectiveness of the attention mechanism. Extensive experiments conducted on several standard benchmarks demonstrate the effectiveness of ASR in generally improving the performance of existing backbone networks, attention modules, and SRP methods without any elaborated model crafting. We also analyze the limitations and provide experimental and theoretical evidence for the strong robustness of the proposed ASR.
updated: Wed Aug 07 2024 02:46:46 GMT+0000 (UTC)
published: Thu Apr 13 2023 08:52:34 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アソシエイト