Submodular Pick (SP) is a global explanation selection algorithm that curates a diverse, non-redundant subset of individual Local Interpretable Model-agnostic Explanations (LIME) to summarize a model's overall behavior. It frames explanation selection as a constrained submodular maximization problem, optimizing a budgeted greedy objective function that balances the importance of individual instances with the coverage of distinct, explanatory features across the dataset.
Glossary
Submodular Pick

What is Submodular Pick?
An algorithm for selecting a diverse and representative set of individual instance explanations to provide a non-redundant global overview of model behavior for human review.
The algorithm leverages the property of submodularity—the diminishing returns gained by adding a new explanation to an existing set—to efficiently construct a representative collection. By penalizing the selection of explanations that rely on the same features, SP ensures the final set provides broad coverage of the model's decision logic, preventing human reviewers from wasting time on redundant explanations and enabling efficient, high-level auditing of complex black-box systems.
Key Characteristics of Submodular Pick
The Submodular Pick algorithm addresses a critical limitation of local explanation methods: how to select a small, non-redundant set of individual explanations that collectively provide a comprehensive global overview of model behavior.
Submodular Optimization Objective
The algorithm maximizes a submodular set function that balances coverage (explaining important features across the dataset) with diversity (avoiding redundant explanations). A set function is submodular if adding an element to a smaller set provides more marginal gain than adding it to a larger set—a property that naturally models diminishing returns in explanation value. The objective is formalized as:
codemax_{|S| ≤ k} Σ_{i∈V} max_{j∈S} w_{ij}
where V is the set of all instances, S is the selected subset of size k, and w_{ij} represents the importance weight of feature i in the explanation of instance j. This formulation ensures each selected explanation contributes unique, non-overlapping information about the model's decision boundaries.
Greedy Approximation Algorithm
Since exact optimization of submodular functions is NP-hard, Submodular Pick employs a greedy forward selection algorithm with provable approximation guarantees. The algorithm iteratively selects the instance whose explanation maximizes the marginal gain in the objective function:
- Initialization: Start with an empty selected set and compute the importance weight matrix W where each row corresponds to a feature and each column to an instance
- Iterative Selection: At each step, add the instance that covers the most high-importance features not already covered by previously selected explanations
- Termination: Stop when the budget B (desired number of explanations) is reached
This greedy approach achieves a (1 - 1/e) ≈ 63% approximation of the optimal solution, a theoretical guarantee derived from the seminal work of Nemhauser, Wolsey, and Fisher on submodular maximization.
Importance Weight Matrix Construction
The foundation of Submodular Pick is the importance weight matrix, which encodes the significance of each feature for every instance in the dataset. Construction involves:
- Local Explanation Generation: Run LIME (or any instance-level explainer) on a representative sample of instances to obtain feature importance vectors
- Global Aggregation: For each feature j across all instances i, compute a composite importance score that reflects how critical that feature is to the model's behavior globally
- Weight Normalization: Scale weights to ensure features that are important for many instances receive appropriate emphasis without dominating the selection
The resulting matrix W ∈ R^{d × n} (where d is the number of features and n is the number of instances) serves as the input to the submodular optimization, enabling the algorithm to reason about both local and global feature importance simultaneously.
Coverage-Diversity Trade-off
Submodular Pick explicitly manages the tension between two competing goals:
- Coverage: Ensuring the selected explanations collectively account for all features that the model considers important across the entire dataset. High coverage means no critical feature is left unexplained.
- Diversity: Preventing the selection of explanations that highlight the same features repeatedly. Diverse selections expose different aspects of the model's reasoning.
The submodular objective naturally encodes this trade-off because the marginal gain of selecting an instance decreases as its important features are already covered by previously chosen explanations. This property ensures the algorithm automatically shifts from prioritizing coverage (early selections) to enforcing diversity (later selections) as the budget is filled.
Budget-Constrained Human Review
The primary use case for Submodular Pick is enabling efficient human auditing of black-box models under strict time constraints. A compliance officer or ML engineer can only review a limited number of explanations—typically 5 to 20—before cognitive fatigue sets in. Submodular Pick ensures this budget is optimally allocated:
- Non-Redundancy Guarantee: No two selected explanations will be dominated by the same features, maximizing the information gained per review
- Global Representativeness: The selected set provides a faithful summary of model behavior across different regions of the input space, not just a single cluster
- Audit Trail Completeness: For regulatory compliance under frameworks like the EU AI Act, the selected explanations serve as evidence that the model's decision logic has been systematically examined
This transforms local explanation methods from debugging tools for individual predictions into comprehensive model auditing instruments.
Relationship to Prototype Selection
Submodular Pick generalizes the concept of prototype selection—choosing representative examples from a dataset—to the domain of model explanations. Unlike traditional prototype methods that select based on data distribution alone, Submodular Pick selects based on explanation content:
- Explanation-Aware Selection: Instances are chosen not because they are typical data points, but because their explanations reveal distinct aspects of the model's decision function
- Facility Location Connection: The objective function is mathematically equivalent to the facility location problem in operations research, where facilities (selected explanations) are placed to maximize coverage of demand points (important features)
- Determinantal Point Processes: An alternative probabilistic approach that also models diversity, but Submodular Pick provides deterministic guarantees and is computationally more efficient for large-scale applications
This connection to established optimization frameworks provides theoretical rigor and enables the use of mature algorithmic tooling.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Submodular Pick algorithm for selecting diverse, representative local explanations to build a global understanding of model behavior.
The Submodular Pick (SP) algorithm is a global explanation method that selects a diverse, non-redundant subset of individual local explanations to provide a representative overview of a black-box model's overall behavior. It operates by framing the selection problem as a constrained submodular maximization task. First, a large set of candidate instance-level explanations is generated using a local method like LIME. The algorithm then constructs a coverage function that measures how well a chosen subset of explanations collectively represents the importance of all features across the entire dataset. Because this coverage function is submodular—exhibiting diminishing returns as more explanations are added—a simple greedy algorithm can efficiently find a near-optimal subset. The greedy procedure iteratively adds the explanation that provides the maximum marginal gain in coverage until a budget B of explanations is reached. The result is a compact set of explanations that avoids redundancy, ensuring that a human reviewer sees a wide variety of model behaviors rather than many similar instances.
Related Terms
Core concepts for understanding how Submodular Pick selects a diverse, non-redundant set of local explanations to provide a global overview of model behavior.
Submodular Optimization
A mathematical framework for maximizing a set function that exhibits diminishing returns. Adding an element to a smaller set provides more marginal gain than adding it to a larger set. SP leverages this property to greedily select explanations that maximize coverage while minimizing redundancy, achieving a solution within a provable (1 - 1/e) approximation bound of the optimal set.
Global Surrogate Model
An interpretable model trained to approximate the predictions of a black-box model over the entire input space, not just locally. SP bridges local and global interpretability by selecting a representative subset of local explanations that collectively serve as a non-redundant global summary, allowing human reviewers to understand overall model behavior without examining every instance.
Explanation Coverage
The objective function SP maximizes to ensure selected explanations cover the most important features across the dataset. It balances two criteria:
- Importance Weight: Aggregate feature importance scores from LIME explanations
- Diversity Penalty: Redundancy reduction via pairwise similarity of selected instances This prevents selecting multiple explanations that highlight the same features repeatedly.
Budgeted Greedy Selection
The algorithmic core of SP that iteratively builds a representative set under a user-specified budget B (number of explanations to show). At each step, it selects the instance that maximizes the marginal gain in coverage relative to the already-chosen set. This greedy approach is computationally efficient and theoretically sound due to the submodular, monotone nature of the coverage function.
Non-Redundant Explanation Set
The primary output of SP: a curated collection of individual LIME explanations that are both representative and diverse. Unlike random sampling, SP ensures each selected explanation illustrates a distinct aspect of model behavior. This prevents 'explanation fatigue' where a reviewer sees many similar justifications and misses critical failure modes or biases present in the model.
Importance-Coverage Trade-off
SP explicitly balances the aggregate importance of selected features against the diversity of the explanation set. A pure importance-maximizing selection would pick only high-confidence predictions with similar features, while pure diversity might select outliers. SP's submodular objective formalizes this trade-off, ensuring the final set captures both common decision patterns and rare but critical edge cases.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us