YOLO26の紹介: 次世代のビジョンAI。
Ultralytics
Ultralytics用語集に戻る

Sliding Window Attention

スライディングウィンドウアテンションが計算コストを削減し、Transformerの効率をいかに最適化するかを学びましょう。Ultralytics YOLO26を用いたNLPやビジョンにおける役割について解説します。

Sliding Window Attention is an optimized variant of the standard attention mechanism utilized in modern transformer architectures to dramatically improve computational efficiency. In traditional self-attention, every token in a sequence must process every other token, leading to memory and computational costs that scale quadratically with the sequence length. Sliding window attention addresses this bottleneck by restricting a token's focus to a fixed-size local neighborhood, or "window," of surrounding tokens. This approach reduces the complexity from quadratic to linear, making it a critical component for expanding the context window in massive artificial intelligence (AI) models.

By stacking multiple neural network layers that use this technique, models can gradually build a global understanding of the input data, as the localized windows overlap and share information deeper in the network. This foundational concept is widely supported by Google DeepMind research and is actively implemented in modern frameworks like PyTorch.

Link to this section実社会での応用#

計算メモリを枯渇させることなく膨大なデータシーケンスを処理する能力は、さまざまなAI領域で高度な機能を解放します。

Link to this section関連用語の区別#

ネットワークアーキテクチャがどのようにデータ処理を最適化するかを理解するために、Sliding Window Attentionを類似のメカニズムと区別すると役立ちます。

  • Sliding Window AttentionとDeformable Attentionの比較: Sliding Window Attentionがシーケンスの近接性に基づいた厳密で連続したトークンのブロックを使用するのに対し、Deformable Attentionはネットワークが動的なサンプリングポイントを学習できるようにします。Deformable Attentionは、固定されたグリッドではなく、実際の視覚的内容に基づいて、任意かつ疎な(sparse)位置に焦点を合わせます。
  • Sliding Window AttentionとSparse Attentionの比較: Sliding windowはSparse Attentionの特定のサブセットです。Sparse Attentionはメモリ使用量を減らすためのランダム、ストライド、またはグローバルなトークンパターンを含む広範な用語ですが、Sliding windowアプローチは、近接する空間的または時間的なトークンにのみアテンションを厳密に制限します。

Link to this section効率的なアーキテクチャの実装#

高速な物体検出システムを構築する開発者にとって、高度に最適化されたアーキテクチャを活用することは不可欠です。生のアテンション機構も強力ですが、Ultralytics YOLO26のようなエンドツーエンドモデルは、高度な特徴抽出とエッジデバイスでの効率性のバランスをとることで、業界をリードするパフォーマンスを提供します。

from ultralytics import YOLO

# Load the recommended YOLO26 model for high-resolution vision tasks
model = YOLO("yolo26x.pt")

# Perform inference on a large image, utilizing optimized internal processing
results = model.predict(source="large_aerial_map.jpg", imgsz=1024, show=True)

# Output the number of detected instances
print(f"Detected {len(results[0].boxes)} objects in the high-resolution input.")

これらの洗練されたパイプラインをローカルでのプロトタイピングからエンタープライズ本番環境へとスケールさせるには、堅牢なインフラストラクチャが必要です。Ultralytics Platformは、自動データセットアノテーション、シームレスなクラウドトレーニング、リアルタイムのモデル監視のための直感的なインターフェースを提供し、これを完全に簡素化します。これにより、チームは多様なハードウェア環境全体で、非常に効率的で大きなコンテキストを扱うモデルの利点をシームレスに享受できます。

Explore solutions

Real-time AI that works with your team

ロボティクスにおけるAI

Ultralytics YOLOモデルで、よりスマートなマシンを実現しましょう。ロボティクスにおけるビジョンAIは、自律航行、認識、物体追跡、リアルタイム制御を推進します。

詳細はこちら
Real-time AI that works with your team

物流におけるAI

Ultralytics YOLOモデルで物流を効率化しましょう。ビジョンAIにより、荷物の検査、仕分け、車両追跡、リアルタイムの倉庫安全モニタリングが可能になります。

詳細はこちら
Real-time AI that works with your team

小売業界におけるAI

Ultralytics YOLOモデルで小売を再定義しましょう。ビジョンAIは、在庫追跡、棚のモニタリング、キュー管理、そしてより賢明な顧客インサイトを促進します。

詳細はこちら
Real-time AI that works with your team

ヘルスケアにおけるAI

Ultralytics YOLOモデルを使用してヘルスケアソリューションを構築しましょう。ヘルスケア分野におけるビジョンAIは、より高速な医療画像診断、よりスマートな診断、患者モニタリングを推進します。

詳細はこちら
Real-time AI that works with your team

製造におけるAI

Ultralytics YOLOモデルで製造を最適化しましょう。ビジョンAIは、品質管理、欠陥検出、PPEコンプライアンス、組立ラインの自動化を促進します。

詳細はこちら
Real-time AI that works with your operation

自動車におけるAI

Ultralytics YOLOモデルを使用して、自動車分野にコンピュータビジョンを適用しましょう。ビジョンAIは、道路の安全性、運転支援、車両の自動化を向上させ、よりスマートな道路を実現します。

詳細はこちら
Real-time AI tailored to your operation

農業におけるAI

Ultralytics YOLOモデルを使用して、スマート農業にビジョンAIを導入しましょう。作物モニタリング、家畜のトラッキング、精密農業を強化し、より高くスマートな収穫を実現します。

詳細はこちら
Real-time AI that works with your team

ロボティクスにおけるAI

Ultralytics YOLOモデルで、よりスマートなマシンを実現しましょう。ロボティクスにおけるビジョンAIは、自律航行、認識、物体追跡、リアルタイム制御を推進します。

詳細はこちら
Real-time AI that works with your team

物流におけるAI

Ultralytics YOLOモデルで物流を効率化しましょう。ビジョンAIにより、荷物の検査、仕分け、車両追跡、リアルタイムの倉庫安全モニタリングが可能になります。

詳細はこちら
Real-time AI that works with your team

小売業界におけるAI

Ultralytics YOLOモデルで小売を再定義しましょう。ビジョンAIは、在庫追跡、棚のモニタリング、キュー管理、そしてより賢明な顧客インサイトを促進します。

詳細はこちら
Real-time AI that works with your team

ヘルスケアにおけるAI

Ultralytics YOLOモデルを使用してヘルスケアソリューションを構築しましょう。ヘルスケア分野におけるビジョンAIは、より高速な医療画像診断、よりスマートな診断、患者モニタリングを推進します。

詳細はこちら
Real-time AI that works with your team

製造におけるAI

Ultralytics YOLOモデルで製造を最適化しましょう。ビジョンAIは、品質管理、欠陥検出、PPEコンプライアンス、組立ラインの自動化を促進します。

詳細はこちら
Real-time AI that works with your operation

自動車におけるAI

Ultralytics YOLOモデルを使用して、自動車分野にコンピュータビジョンを適用しましょう。ビジョンAIは、道路の安全性、運転支援、車両の自動化を向上させ、よりスマートな道路を実現します。

詳細はこちら
Real-time AI tailored to your operation

農業におけるAI

Ultralytics YOLOモデルを使用して、スマート農業にビジョンAIを導入しましょう。作物モニタリング、家畜のトラッキング、精密農業を強化し、より高くスマートな収穫を実現します。

詳細はこちら
Real-time AI that works with your team

ロボティクスにおけるAI

Ultralytics YOLOモデルで、よりスマートなマシンを実現しましょう。ロボティクスにおけるビジョンAIは、自律航行、認識、物体追跡、リアルタイム制御を推進します。

詳細はこちら
Real-time AI that works with your team

物流におけるAI

Ultralytics YOLOモデルで物流を効率化しましょう。ビジョンAIにより、荷物の検査、仕分け、車両追跡、リアルタイムの倉庫安全モニタリングが可能になります。

詳細はこちら
Real-time AI that works with your team

小売業界におけるAI

Ultralytics YOLOモデルで小売を再定義しましょう。ビジョンAIは、在庫追跡、棚のモニタリング、キュー管理、そしてより賢明な顧客インサイトを促進します。

詳細はこちら
Real-time AI that works with your team

ヘルスケアにおけるAI

Ultralytics YOLOモデルを使用してヘルスケアソリューションを構築しましょう。ヘルスケア分野におけるビジョンAIは、より高速な医療画像診断、よりスマートな診断、患者モニタリングを推進します。

詳細はこちら
Real-time AI that works with your team

製造におけるAI

Ultralytics YOLOモデルで製造を最適化しましょう。ビジョンAIは、品質管理、欠陥検出、PPEコンプライアンス、組立ラインの自動化を促進します。

詳細はこちら
Real-time AI that works with your operation

自動車におけるAI

Ultralytics YOLOモデルを使用して、自動車分野にコンピュータビジョンを適用しましょう。ビジョンAIは、道路の安全性、運転支援、車両の自動化を向上させ、よりスマートな道路を実現します。

詳細はこちら
Real-time AI tailored to your operation

農業におけるAI

Ultralytics YOLOモデルを使用して、スマート農業にビジョンAIを導入しましょう。作物モニタリング、家畜のトラッキング、精密農業を強化し、より高くスマートな収穫を実現します。

詳細はこちら

AIの未来を共に築き上げましょう!

機械学習の未来とともに旅を始めましょう