Yes, the problem you're describing is a well-studied problem in the field of machine learning and information retrieval, known as "diverse subset selection" or "diverse k-center selection." The goal is to select a subset of k points from a larger set such that the selected points are as diverse or dissimilar as possible to each other, while still being representative of the entire set.
Your proposed strategy has some merits, but there are other approaches that might be more effective, depending on your specific use case and the nature of your data. Here are a few alternative strategies you might consider:
- Core-set selection: This approach involves selecting a small subset of points that approximates the entire dataset well, in terms of some distance metric. One common algorithm for core-set selection is the "greedy k-center" algorithm, which starts with an empty set and iteratively adds the point that is furthest from the current set of selected points, until k points have been selected. This algorithm is guaranteed to find a 2-approximation of the optimal solution.
- Maximum dispersal: This strategy involves selecting points that are maximally dispersed in the embedding space. One way to do this is to initialize a set of k points randomly, and then iteratively replace the least-central point in the set with the most-distant unselected point, until no point outside the set is closer to any point in the set than the most-central point in the set. This algorithm is similar in spirit to your proposed strategy, but it avoids the need to repeatedly compute distances to the current set of selected points.
- Density-based selection: This approach involves selecting points that are representative of the densest regions of the embedding space. One way to do this is to partition the space into clusters using a clustering algorithm like DBSCAN, and then select the centroid or medoid of each cluster. This approach can be effective when the data is highly clustered, but may not work well when the data is more uniformly distributed.
- Determinantal point processes (DPPs): DPPs are a probabilistic model for subset selection that favors diverse subsets. A DPP defines a probability distribution over all possible subsets of a given size, with higher probability assigned to subsets that are more diverse. DPPs can be trained to optimize for a variety of distance metrics, and can be sampled efficiently using algorithms like the "hit-and-run" sampler.
Each of these strategies has its own strengths and weaknesses, and the best choice will depend on your specific use case and the nature of your data. In general, I would recommend experimenting with several different strategies and comparing their performance using some quantitative metric of diversity or representativeness.