Abstract
Concept Bottleneck Models (CBMs) have garnered much attention for their ability to elucidate the prediction process through a human-understandable concept layer. However, most previous studies focused on static scenarios where the data and concepts are assumed to be fixed and clean. In real-world applications, deployed models require continuous maintenance: we often need to remove erroneous or sensitive data (unlearning), correct mislabeled concepts, or incorporate newly acquired samples (incremental learning) to adapt to evolving environments. Thus, deriving efficient editable CBMs without retraining from scratch remains a significant challenge, particularly in large-scale applications. To address these challenges, we propose Controllable Concept Bottleneck Models (CCBMs). Specifically, CCBMs support three granularities of model editing: concept-label-level, concept-level, and data-level, the latter of which encompasses both data removal and data addition. CCBMs enjoy mathematically rigorous closed-form approximations derived from influence functions that obviate the need for retraining. Experimental results demonstrate the efficiency and adaptability of our CCBMs, affirming their practical value in enabling dynamic and trustworthy CBMs.
Introduction
Concept Bottleneck Models (CBMs) represent a significant step toward interpretable-by-design AI. By mapping inputs to intermediate human-understandable concepts before final classification, they allow users to inspect the reasoning behind a model's decision. However, the utility of standard CBMs is limited by their static nature. In practice, models require constant updates to correct human annotation errors, adapt to evolving ontologies (adding or removing concepts), and comply with data governance regulations like the "right to be forgotten" (machine unlearning).
Traditionally, any change to the training data or the concept set necessitated retraining the entire model from scratch. This is computationally expensive and impractical for large-scale deployments. To bridge this gap, we introduce Controllable Concept Bottleneck Models (CCBMs), a framework designed for efficient, post-deployment knowledge editing across multiple granularities.
Methodology
CCBMs leverage influence functions to estimate how model parameters would shift if the training set or concept ontology were modified. This approach allows for closed-form approximations that bypass the need for full retraining.
Technical Innovations
- Two-Stage Influence Updates: Because CBMs are pipeline architectures, modifying a concept predictor inherently causes "concept drift" in the input to the final label predictor. CCBMs account for this by sequentially updating both the concept and label predictors based on the estimated influence.
- Handling Dimensionality Shifts: When concepts are added or removed, the input dimension of the label predictor changes. We employ a mapping strategy using zero-row insertion to align dimensions, allowing influence functions to remain valid even as the model architecture evolves.
- Scaling with EK-FAC: To handle high-dimensional parameter spaces in modern backbones (e.g., ResNet-18), we integrate Eigenvalue-corrected Kronecker-Factored Approximate Curvature (EK-FAC). This provides a computationally feasible approximation of the Hessian matrix required for influence calculations.
Experimental Evaluation
We evaluated CCBMs across four diverse benchmarks: OAI (knee osteoarthritis X-rays), CUB (bird species identification), CelebA (facial attributes), and Derm7pt (skin lesion diagnosis).
Key Results
- Efficiency: CCBMs achieve massive speedups. For instance, on the OAI dataset, updating the model took only 2.36 minutes compared to nearly 300 minutes for full retraining—a speedup exceeding 100x.
- Fidelity: The performance (F1 score) of edited CCBMs remains nearly identical to models retrained from scratch, typically within a margin of 0.002 points.
- Stability: CCBMs demonstrate remarkable stability under sequential edits. Experiments showed that even after 10 consecutive rounds of updates, the performance curves remained parallel to the ground-truth retraining baseline, indicating minimal error accumulation.
- Privacy and Sanitization: Using Membership Inference Attacks (MIA), we confirmed that data deletion via CCBM effectively erases the "footprint" of sensitive samples, making them indistinguishable from unseen data.
Discussion and Limitations
CCBMs demonstrate that controllability is as vital as interpretability for trustworthy AI. By elevating influence functions from a debugging tool to a core mechanism for model lifecycle management, we enable dynamic intervention in model reasoning.
However, some limitations remain. Influence functions rely on second-order Taylor expansions, which assume a locally convex loss landscape. In highly non-convex deep networks, aggressive edits (e.g., removing a very large percentage of data at once) may lead to divergence. Additionally, while EK-FAC significantly reduces overhead, calculating the Hessian still presents memory challenges for extremely large foundation models. Future work will explore sparse approximations and extending these proofs to non-linear label predictors.
Summary updated