apricot: Submodular selection for data summarization in Python
Not on the map. Why?
Abstract (arXiv)
We present apricot, an open source Python package for selecting representative subsets from large data sets using submodular optimization. The package implements an efficient greedy selection algorithm that offers strong theoretical guarantees on the quality of the selected set. Two submodular set functions are implemented in apricot: facility location, which is broadly applicable but requires memory quadratic in the number of examples in the data set, and a feature-based function that is less broadly applicable but can scale to millions of examples. Apricot is extremely efficient, using both algorithmic speedups such as the lazy greedy algorithm and code optimizers such as numba. We demonstrate the use of subset selection by training machine learning models to comparable accuracy using either the full data set or a representative subset thereof. This paper presents an explanation of submodular selection, an overview of the features in apricot, and an application to several data sets. The code and tutorial Jupyter notebooks are available at https://github.com/jmschrei/apricot
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 4; 2024: 4; 2025: 2; 2026: 6.
21 papers.
Sort:
By area:
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 49
- 2021Effective Evaluation of Deep Active Learning on Image Classification Taskscited by 37
- 2021Active Learning in Bayesian Neural Networks with Balanced Entropy Learning Principlecited by 14
- 2022MQRetNN: Multi-Horizon Time Series Forecasting with Retrieval Augmentationcited by 9
- 2022Submodlib: A Submodular Optimization Librarycited by 8
- 2023Dynamic Algorithms for Matroid Submodular Maximizationcited by 7
- 2023Cluster-aware Semi-supervised Learning: Relational Knowledge Distillation Provably Learns Clusteringcited by 7
- 2024AGS-GNN: Attribute-guided Sampling for Graph Neural Networkscited by 6
- 2024Language Model-Driven Data Pruning Enables Efficient Active Learningcited by 6
- 2024Creative Text-to-Audio Generation via Synthesizer Programmingcited by 4
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learningcited by 4
- 2025Towards Multimodal Active Learning: Efficient Learning with Limited Paired Datacited by 3
9 more
- 2022FastClass: A Time-Efficient Approach to Weakly-Supervised Text Classificationcited by 1
- 2023Efficient Sensor Placement from Regression with Sparse Gaussian Processes in Continuous and Discrete Spacescited by 1
- 2023Fusing Conditional Submodular GAN and Programmatic Weak Supervisioncited by 1
- 2026Compact Example-Based Explanations for Language Modelscited by 1
- 2026ContextualJailbreak: Evolutionary Red-Teaming via Simulated Conversational Primingcited by 1
- 2026Joint Semantic Token Selection and Prompt Optimization for Interpretable Prompt Learningcited by 0
- 2026Toward Trustworthy AI: Multi-Target Adversarial Attacks and Robust Defenses for Continuous Data Summarizationcited by 0
- 2026Active Learning with Low-Rank Structure for Data Selectioncited by 0
- 2026Attention, Anomalies! Handling Attention Layers in Unsupervised Federated Outlier Detectioncited by 0
- 2026Attention, Anomalies! Handling Attention Layers in Unsupervised Federated Outlier Detection5 Aug 2026
- 2026Active Learning with Low-Rank Structure for Data Selection14 Jun 2026
- 2026Toward Trustworthy AI: Multi-Target Adversarial Attacks and Robust Defenses for Continuous Data Summarization10 Jun 2026
- 2026Joint Semantic Token Selection and Prompt Optimization for Interpretable Prompt Learning6 May 2026
- 2026ContextualJailbreak: Evolutionary Red-Teaming via Simulated Conversational Priming4 May 2026
- 2026Compact Example-Based Explanations for Language Models7 Jan 2026
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning11 Nov 2025
- 2025Towards Multimodal Active Learning: Efficient Learning with Limited Paired Data25 Sep 2025
- 2024Language Model-Driven Data Pruning Enables Efficient Active Learning5 Oct 2024
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning21 Jun 2024
- 2024Creative Text-to-Audio Generation via Synthesizer Programming1 Jun 2024
- 2024AGS-GNN: Attribute-guided Sampling for Graph Neural Networks24 May 2024
9 more
- 2023Fusing Conditional Submodular GAN and Programmatic Weak Supervision16 Dec 2023
- 2023Cluster-aware Semi-supervised Learning: Relational Knowledge Distillation Provably Learns Clustering20 Jul 2023
- 2023Dynamic Algorithms for Matroid Submodular Maximization1 Jun 2023
- 2023Efficient Sensor Placement from Regression with Sparse Gaussian Processes in Continuous and Discrete Spaces28 Feb 2023
- 2022FastClass: A Time-Efficient Approach to Weakly-Supervised Text Classification11 Dec 2022
- 2022MQRetNN: Multi-Horizon Time Series Forecasting with Retrieval Augmentation21 Jul 2022
- 2022Submodlib: A Submodular Optimization Library22 Feb 2022
- 2021Effective Evaluation of Deep Active Learning on Image Classification Tasks16 Jun 2021
- 2021Active Learning in Bayesian Neural Networks with Balanced Entropy Learning Principle30 May 2021
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learningcited by 49
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learningcited by 4
- 2026Joint Semantic Token Selection and Prompt Optimization for Interpretable Prompt Learningcited by 0
- 2026Joint Semantic Token Selection and Prompt Optimization for Interpretable Prompt Learning6 May 2026
- 2025Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning11 Nov 2025
- 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning21 Jun 2024
- 2021Effective Evaluation of Deep Active Learning on Image Classification Taskscited by 37
- 2021Active Learning in Bayesian Neural Networks with Balanced Entropy Learning Principlecited by 14
- 2022MQRetNN: Multi-Horizon Time Series Forecasting with Retrieval Augmentationcited by 9
- 2022Submodlib: A Submodular Optimization Librarycited by 8
- 2023Dynamic Algorithms for Matroid Submodular Maximizationcited by 7
- 2023Cluster-aware Semi-supervised Learning: Relational Knowledge Distillation Provably Learns Clusteringcited by 7
- 2024AGS-GNN: Attribute-guided Sampling for Graph Neural Networkscited by 6
- 2024Language Model-Driven Data Pruning Enables Efficient Active Learningcited by 6
- 2024Creative Text-to-Audio Generation via Synthesizer Programmingcited by 4
- 2025Towards Multimodal Active Learning: Efficient Learning with Limited Paired Datacited by 3
- 2022FastClass: A Time-Efficient Approach to Weakly-Supervised Text Classificationcited by 1
- 2023Efficient Sensor Placement from Regression with Sparse Gaussian Processes in Continuous and Discrete Spacescited by 1
12 most cited of 17 All 17 (JSON)
- 2026Attention, Anomalies! Handling Attention Layers in Unsupervised Federated Outlier Detection5 Aug 2026
- 2026Active Learning with Low-Rank Structure for Data Selection14 Jun 2026
- 2026Toward Trustworthy AI: Multi-Target Adversarial Attacks and Robust Defenses for Continuous Data Summarization10 Jun 2026
- 2026Compact Example-Based Explanations for Language Models7 Jan 2026
- 2025Towards Multimodal Active Learning: Efficient Learning with Limited Paired Data25 Sep 2025
- 2024Language Model-Driven Data Pruning Enables Efficient Active Learning5 Oct 2024
- 2024Creative Text-to-Audio Generation via Synthesizer Programming1 Jun 2024
- 2024AGS-GNN: Attribute-guided Sampling for Graph Neural Networks24 May 2024
- 2023Fusing Conditional Submodular GAN and Programmatic Weak Supervision16 Dec 2023
- 2023Cluster-aware Semi-supervised Learning: Relational Knowledge Distillation Provably Learns Clustering20 Jul 2023
- 2023Dynamic Algorithms for Matroid Submodular Maximization1 Jun 2023
- 2023Efficient Sensor Placement from Regression with Sparse Gaussian Processes in Continuous and Discrete Spaces28 Feb 2023
12 newest of 17 All 17 (JSON)