Enterprise-ready security: ISO 27001 + SOC 2 Type I compliant.
Back to Ultralytics Glossary

Concept Bottleneck Models

Learn how concept bottleneck models improve explainable AI with human-understandable concepts, expert intervention, and practical Ultralytics YOLO26 vision workflows.

Concept bottleneck models (CBMs) are neural networks that make a prediction through an intermediate layer of human-understandable concepts. Instead of mapping an input directly to a final label, a CBM first predicts meaningful attributes—such as “red wing,” “surface crack,” or “joint narrowing”—and then uses only those attributes to produce its decision. This structure makes the model easier to inspect, debug, and correct than a conventional black-box model.

How Concept Bottleneck Models Work#

A standard neural network often represents information in an opaque latent space. A CBM replaces one part of that hidden representation with a concept vector whose dimensions have defined meanings.

Its prediction pipeline has two main stages:

  1. A concept predictor maps raw input, such as an image, to concept values.
  2. A target predictor maps those concept values to the final class or score.

For example, a bird classifier might predict “black beak,” “white breast,” and “long tail” before identifying the species. Concepts may be binary, categorical, or continuous. They are usually learned through supervised learning, requiring each training example to include both target labels and concept annotations.

The two stages can be trained independently, sequentially, or jointly. Independent training makes the separation explicit, while joint training can balance concept quality against final-task performance. In every case, the bottleneck should restrict the target predictor to the declared concepts; otherwise, hidden information may bypass the intended explanation.

Why Interpretability and Intervention Matter#

CBMs are a form of intrinsic explainable AI: their interpretable structure is built into prediction rather than added afterward. This differs from post-hoc tools such as saliency maps, which estimate what influenced an already-trained black box.

The concept layer supports several useful interactions:

  • Users can inspect which concepts caused a decision.
  • Domain experts can correct an inaccurate concept and recompute the output.
  • Developers can test whether the target predictor follows valid domain logic.
  • Teams can measure concept accuracy separately from final-task accuracy.

These capabilities align with NIST guidance on explainable AI and the human-centered controls discussed in the People + AI Guidebook. However, an understandable explanation is not automatically a correct one. Concept fidelity must be evaluated rather than assumed.

Real-World Applications#

  • Medical Image Analysis: A model examining an X-ray might estimate concepts such as bone spurs, joint-space narrowing, and sclerosis before grading disease severity. A clinician can review or correct these intermediate findings instead of receiving only a severity score. This human-model interaction is particularly relevant to the FDA transparency principles for machine-learning medical devices.

  • Manufacturing Visual Inspection: A vision system can identify concepts such as missing components, cracks, discoloration, or incorrect alignment, then use them to decide whether a product passes inspection or requires a particular repair. Object detection can localize components and defects, while the downstream concept-based classifier provides an auditable quality decision.

Concept labels create additional data annotation costs and may require specialist knowledge. Poorly defined concepts can be subjective, correlated, incomplete, or difficult to recognize from the input. Teams should create precise labeling rules and audit disagreement among annotators.

Other important risks include concept prediction errors, uncalibrated scores, and concept leakage, where continuous concept values encode unintended information beyond their stated meaning. Guidance on probability calibration can help determine whether concept confidence values are trustworthy.

A CBM is also different from feature engineering: engineered features are manually computed inputs, whereas concepts are normally predicted from raw data and explicitly supervised. It is not the same as the information bottleneck principle, which compresses representations without requiring each dimension to be human-readable.

Concept performance should be checked across relevant data slices because biased annotations or missing concepts can produce unequal errors. Google’s guidance for identifying ML bias and the NIST AI RMF Core provide useful evaluation and governance practices.

Building a Practical Vision Pipeline#

An Ultralytics YOLO26 model can act as an upstream visual concept extractor. The following Predict mode workflow collects detected object classes as candidate concept signals:

from ultralytics import YOLO

# Load a pretrained visual concept extractor
model = YOLO("yolo26n.pt")

# Run inference and select the first result
results = model("https://ultralytics.com/images/bus.jpg")
result = results[0]

# Convert detected classes into human-readable concept candidates
concepts = {result.names[int(class_id)] for class_id in result.boxes.cls}
print(sorted(concepts))

result.save(filename="concept_candidates.jpg")

This is not a complete CBM: a downstream model must still be trained to predict the final target exclusively from the selected concepts. Teams can use Ultralytics Platform to annotate visual data, train concept extractors, compare experiments, and monitor deployed components. Evaluate concept accuracy, target accuracy, calibration, intervention behavior, and important subgroups separately using a structured model evaluation workflow.

Explore solutions

Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Real-time AI that works with your team

AI in Robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Real-time AI that works with your team

AI in Logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Real-time AI that works with your team

AI in Retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Real-time AI that works with your team

AI in Healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Real-time AI that works with your team

AI in Manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Real-time AI that works with your operation

AI in Automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Real-time AI tailored to your operation

AI in Agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning