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

Deformable Attention

Deformable Attentionがどのように空間データ処理を最適化するかを解説します。このスパースなメカニズムがコンピュータビジョンのタスクとUltralytics YOLO26モデルをどのように強化するかを学びましょう。

Deformable Attention is an advanced attention mechanism designed to optimize how neural networks process spatial data, particularly in computer vision (CV) tasks. Traditional attention modules evaluate interactions between all possible points in an image, which results in massive computational overhead when dealing with high-resolution inputs. Deformable Attention solves this by focusing only on a small, dynamic set of key sampling points around a reference pixel. By allowing the network to learn exactly where to look rather than strictly scanning the entire grid, it dramatically reduces memory usage and speeds up training while maintaining robust deep learning capabilities.

Link to this sectionアテンションモダリティの差別化#

この手法が現代のアーキテクチャにどのように適合するかを理解するには、関連する概念と区別する必要があります。標準的なアテンションが全ピクセルの密なグローバルマッピングを計算するのに対し、Deformable Attentionはスパースアテンションメカニズムに依存して対象領域を選択的にサンプリングします。さらに、これはFlash Attentionとは異なります。Flash Attentionは、GPUのメモリ読み書きを最小限に抑えることで標準的な正確なアテンションを高速化するハードウェアレベルの最適化です。対照的に、Deformable Attentionは、モデルがどの視覚的特徴に注目するかを変更することで、数学的な操作を根本的に変えるものです。

These concepts are actively explored in state-of-the-art Google DeepMind research and OpenAI vision developments, as well as implemented natively within the PyTorch ecosystem and TensorFlow architectures. However, purely attention-based models can sometimes suffer from deployment complexities. For projects requiring high-speed inference without the overhead of complex transformer layers, Ultralytics YOLO26 remains the recommended standard for edge-first object detection.

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

この概念のスパースかつ効率的な性質は、高密度な画像のリアルタイム解析を必要とする業界全体で、大きなブレークスルーを可能にしました。

  • 自動運転車および走行システム:自動運転車は、複雑な環境をナビゲートするために高精細カメラに依存しています。Deformable attentionにより、車載システムは、空の空を分析して計算能力を浪費することなく、遠方の歩行者や一部が隠れた交通標識などの重要な特徴を迅速に分離できます。これらのシステムに関する知見は、IEEEコンピュータビジョン研究ACMデジタルライブラリに頻繁に掲載されています。
  • 医療画像解析および診断:病理学者は、高解像度診断画像を利用して細胞の異常を検出します。インテリジェントな空間サンプリングを活用することで、ビジョンモデルは画像を縮小して重要な診断データを失うことなく、ギガピクセル単位のスキャンから微細な異常をピンポイントで特定できます。同様のアテンション駆動型の手法は、AnthropicのAIの安全性と精度へのアプローチにおいてもよく取り上げられています。
  • スマート監視システム:最新の防犯カメラは、マルチメガピクセルのビデオストリームを処理します。アテンションメカニズムは、混雑したシーンで動く被写体や放置された荷物を迅速に分離するのに役立ち、制約のあるエッジデバイスで動作させながら誤検知を減らします。

Link to this sectionコード例#

You can seamlessly experiment with models utilizing these attention mechanisms, such as RT-DETR (Real-Time DEtection TRansformer), using the ultralytics package. The following example demonstrates how to load a model and perform inference on a high-resolution image.

from ultralytics import RTDETR

# Load a pre-trained RT-DETR model which utilizes specialized attention mechanisms
model = RTDETR("rtdetr-l.pt")

# Perform inference on an image to detect and locate objects
results = model("https://ultralytics.com/images/bus.jpg")

# Print the bounding box coordinates for the detected objects
for box in results[0].boxes:
    print(f"Object found at coordinates: {box.xyxy[0].tolist()}")

機械学習ワークフローを合理化するために、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の未来を共に築き上げましょう!

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