YOLO Vision 2026:
Ultralytics Sözlüğüne dön

Saliency Maps

Saliency maps'in sinir ağı kararlarını nasıl açıkladığını keşfet. Model tahminlerini görselleştirmeyi ve Ultralytics Platform'u kullanarak şeffaf yapay zeka oluşturmayı öğren.

Saliency maps are a powerful visual tool used in explainable AI (XAI) to shed light on the internal decision-making processes of complex neural networks. Essentially acting as heatmaps, they highlight the specific pixels or regions of an input image that most heavily influence a model's prediction. By revealing "where" a model is looking, saliency maps help researchers and engineers interpret the behavior of deep convolutional neural networks (CNNs), ensuring that the system is learning the correct features rather than relying on dataset artifacts or background noise. You can read more about the mathematical foundations of this process on the Wikipedia saliency map page.

Saliency Maps Nasıl Çalışır#

The foundational approach to generating a saliency map relies heavily on backpropagation and gradients across network layers. Instead of using these gradients to update the model weights during model training, the algorithm calculates the gradient of the predicted class score with respect to the input image itself. As explained in the PyTorch autograd documentation, taking the absolute maximum of these gradients across color channels produces a map where high values correspond to pixels that drastically change the output score if altered. Modern approaches even extend this to generative AI, enabling diffusion model saliency maps for tracking noise gradients.

Gerçek Dünya Uygulamaları#

Because they provide direct visual verification of a model's logic, saliency maps are critical in high-stakes computer vision scenarios:

  • Medical Diagnostics: In AI in healthcare, confirming that an algorithm detects a tumor based on true physiological tissue anomalies—rather than a scanner's watermark—is crucial for patient safety. Saliency maps provide this visual proof, as detailed in recent studies on consistency in XAI medical imaging.
  • Autonomous Navigation: For autonomous vehicles predicting steering angles or identifying stop signs, analyzing saliency maps helps engineers debug failures by verifying if the model correctly focused on the road rather than being distracted by irrelevant scenery.

İlgili Terimlerin Ayrıştırılması#

It is highly recommended to differentiate saliency maps from other concepts in the AI glossary to understand their specific role in deep learning (DL):

  • Saliency Maps vs. Class Activation Mapping (CAM): While basic saliency maps calculate importance at the raw pixel level, CAM techniques like Grad-CAM analyze importance at the level of high-level feature maps within the network's last convolutional layer. Newer benchmarks continue to refine how we evaluate visual explanations and CAMs across datasets.
  • Saliency Maps vs. Mechanistic Interpretability: Saliency mapping is a post-hoc technique that simply shows where a model looks. In contrast, Mechanistic Interpretability goes deeper to reverse-engineer how and why specific neurons or algorithmic circuits computed that focus.
  • Saliency Maps vs. Explainable AI (XAI): XAI is the broad umbrella discipline dedicated to making AI transparent, whereas saliency maps are merely one specific tool within that toolkit, often highlighted as a critical Google Cloud explainability technique. The field is rapidly evolving, moving from raw pixels to robust human-aligned taxonomy for explanations mapping conceptual data.

Kod Yoluyla Saliency Çıkarımı#

Understanding how a neural network attributes importance can be done programmatically using deep learning frameworks like PyTorch. The following snippet demonstrates the fundamental math behind extracting a basic saliency map (gradient-based attribution) from a pre-trained image classification model.

import torch
from torchvision.models import resnet18

# Load a pre-trained model in evaluation mode
model = resnet18(weights="DEFAULT").eval()

# Create a dummy image tensor and explicitly require gradients
input_image = torch.randn(1, 3, 224, 224, requires_grad=True)

# Forward pass: get predictions for the input image
output = model(input_image)

# Backward pass: compute gradients for the highest scoring class
output[0, output.argmax()].backward()

# Saliency map is the maximum absolute gradient across the 3 color channels
saliency_map, _ = torch.max(input_image.grad.data.abs(), dim=1)
print(f"Generated Saliency Map Shape: {saliency_map.shape}")

For higher-level workflows involving object detection or drawing bounding boxes, tools like the Ultralytics Platform help developers seamlessly annotate datasets, monitor experiments, and visualize outputs from models like the state-of-the-art Ultralytics YOLO26. By continuously evaluating visual inferences alongside model deployment, teams can build and scale much more trustworthy and transparent AI systems.

Explore solutions

Real-time AI that works with your team

Robotikte AI

Daha akıllı makineleri Ultralytics YOLO modelleriyle destekle. Robotikteki Vision AI; otonom navigasyonu, algılamayı, nesne takibini ve gerçek zamanlı kontrolü yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Lojistikte Yapay Zeka

Ultralytics YOLO modelleri ile lojistiği kolaylaştır. Görü Yapay Zekası; paket inceleme, ayıklama, araç takibi ve gerçek zamanlı depo güvenliği izlemeyi mümkün kılar.
Daha fazla bilgi edin
Real-time AI that works with your team

Perakendede AI

Perakendeyi Ultralytics YOLO modelleri ile yeniden hayal et. Görü Yapay Zekası; envanter takibi, raf izleme, sıra yönetimi ve daha akıllı müşteri içgörüleri sağlar.
Daha fazla bilgi edin
Real-time AI that works with your team

Sağlıkta Yapay Zeka

Ultralytics YOLO modelleriyle sağlık çözümleri oluştur. Sağlıkta görüntü tabanlı yapay zeka; daha hızlı tıbbi görüntülemeyi, daha akıllı teşhisleri ve hasta izlemeyi güçlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Üretimde Yapay Zeka

Ultralytics YOLO modelleri ile üretimi optimize et. Görü Yapay Zekası; kalite kontrol, kusur tespiti, KKD uyumu ve montaj hattı otomasyonunu yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your operation

Otomotivde yapay zeka

Ultralytics YOLO modelleriyle otomotivde bilgisayarlı görü uygula. Görüntü tabanlı yapay zeka; yol güvenliğini, sürücü yardımını ve araç otomasyonunu daha akıllı yollar için geliştirir.
Daha fazla bilgi edin
Real-time AI tailored to your operation

Tarımda yapay zeka

Ultralytics YOLO modelleriyle akıllı tarıma görüntü tabanlı yapay zeka getir. Daha yüksek ve akıllı verimler için mahsul takibini, hayvancılık izlemeyi ve hassas tarımı güçlendir.
Daha fazla bilgi edin
Real-time AI that works with your team

Robotikte AI

Daha akıllı makineleri Ultralytics YOLO modelleriyle destekle. Robotikteki Vision AI; otonom navigasyonu, algılamayı, nesne takibini ve gerçek zamanlı kontrolü yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Lojistikte Yapay Zeka

Ultralytics YOLO modelleri ile lojistiği kolaylaştır. Görü Yapay Zekası; paket inceleme, ayıklama, araç takibi ve gerçek zamanlı depo güvenliği izlemeyi mümkün kılar.
Daha fazla bilgi edin
Real-time AI that works with your team

Perakendede AI

Perakendeyi Ultralytics YOLO modelleri ile yeniden hayal et. Görü Yapay Zekası; envanter takibi, raf izleme, sıra yönetimi ve daha akıllı müşteri içgörüleri sağlar.
Daha fazla bilgi edin
Real-time AI that works with your team

Sağlıkta Yapay Zeka

Ultralytics YOLO modelleriyle sağlık çözümleri oluştur. Sağlıkta görüntü tabanlı yapay zeka; daha hızlı tıbbi görüntülemeyi, daha akıllı teşhisleri ve hasta izlemeyi güçlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Üretimde Yapay Zeka

Ultralytics YOLO modelleri ile üretimi optimize et. Görü Yapay Zekası; kalite kontrol, kusur tespiti, KKD uyumu ve montaj hattı otomasyonunu yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your operation

Otomotivde yapay zeka

Ultralytics YOLO modelleriyle otomotivde bilgisayarlı görü uygula. Görüntü tabanlı yapay zeka; yol güvenliğini, sürücü yardımını ve araç otomasyonunu daha akıllı yollar için geliştirir.
Daha fazla bilgi edin
Real-time AI tailored to your operation

Tarımda yapay zeka

Ultralytics YOLO modelleriyle akıllı tarıma görüntü tabanlı yapay zeka getir. Daha yüksek ve akıllı verimler için mahsul takibini, hayvancılık izlemeyi ve hassas tarımı güçlendir.
Daha fazla bilgi edin
Real-time AI that works with your team

Robotikte AI

Daha akıllı makineleri Ultralytics YOLO modelleriyle destekle. Robotikteki Vision AI; otonom navigasyonu, algılamayı, nesne takibini ve gerçek zamanlı kontrolü yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Lojistikte Yapay Zeka

Ultralytics YOLO modelleri ile lojistiği kolaylaştır. Görü Yapay Zekası; paket inceleme, ayıklama, araç takibi ve gerçek zamanlı depo güvenliği izlemeyi mümkün kılar.
Daha fazla bilgi edin
Real-time AI that works with your team

Perakendede AI

Perakendeyi Ultralytics YOLO modelleri ile yeniden hayal et. Görü Yapay Zekası; envanter takibi, raf izleme, sıra yönetimi ve daha akıllı müşteri içgörüleri sağlar.
Daha fazla bilgi edin
Real-time AI that works with your team

Sağlıkta Yapay Zeka

Ultralytics YOLO modelleriyle sağlık çözümleri oluştur. Sağlıkta görüntü tabanlı yapay zeka; daha hızlı tıbbi görüntülemeyi, daha akıllı teşhisleri ve hasta izlemeyi güçlendirir.
Daha fazla bilgi edin
Real-time AI that works with your team

Üretimde Yapay Zeka

Ultralytics YOLO modelleri ile üretimi optimize et. Görü Yapay Zekası; kalite kontrol, kusur tespiti, KKD uyumu ve montaj hattı otomasyonunu yönlendirir.
Daha fazla bilgi edin
Real-time AI that works with your operation

Otomotivde yapay zeka

Ultralytics YOLO modelleriyle otomotivde bilgisayarlı görü uygula. Görüntü tabanlı yapay zeka; yol güvenliğini, sürücü yardımını ve araç otomasyonunu daha akıllı yollar için geliştirir.
Daha fazla bilgi edin
Real-time AI tailored to your operation

Tarımda yapay zeka

Ultralytics YOLO modelleriyle akıllı tarıma görüntü tabanlı yapay zeka getir. Daha yüksek ve akıllı verimler için mahsul takibini, hayvancılık izlemeyi ve hassas tarımı güçlendir.
Daha fazla bilgi edin

Yapay zekanın geleceğini birlikte inşa edelim!

Yolculuğuna makine öğreniminin geleceğiyle başla