This is not an exhaustive answer. This is an evolving research area in terms of applying ML to dataset generation. I am most familiar with the use case for constructing atomistic potential energy surfaces.
The most common techniques I have seen all fall under the category of active learning. The goal of active learning in this context is essentially to determine whether or not a newly proposed structure for a dataset is redundant. Of course, no structure will be truly redundant, so the algorithm is essentially building a continuum that discriminates the similarity between structures in terms of how much new information they bring to the dataset. If a structure brings a lot of new information, then the uncertainty in the current models prediction should be large.
There are many ways one can train the agent in an active learning model. I am not an expert on any of them, so I'll just give some references and a description of my understanding.
In Ref. , a Gaussian process regression model is used to determine which configurations should be sampled for a many-body potential energy surface (PES). That is, one would have a separate fit for the 1-body, 2-body, etc. pieces of the PES, and these are combined via the many-body expansion. The way this model works is by having the active-learning model try to estimate the uncertainty in the prediction of the model which has been fitted to some initial dataset. So, a good candidate structure to add to the dataset is one which has a large uncertainty in the prediction (likely because it falls in the extrapolation category, rather than the interpolation category).
In Ref. , the criteria for including a new data point in the training set is determined using a model called query-by-committee. What I have gathered is that one keeps around many different models which are generated from different subsets of the total available dataset. That detail could be wrong, but in any case, there is some way in which you keep around multiple similar models. One then proposes a new candidate structure, and each model labels that structure (predicts the energy/forces in the context of a PES). Then, the new structure is added to the dataset based on a parameter which related to the standard deviation of the predicted labels. Again, higher standard deviation means you want to add that structure more.
Ref.  is sort of an on-the-fly application of any active learning method, really, in which the new structures are determined via a molecular dynamics simulation (based on an ab initio method in this case). So, one uses the active learning method to determine if the new structure is similar to old structures, and if so, then you use a trained model to propagate the dynamics, and otherwise you do the full ab initio evaluation, and add the new labeled data to the training set. I guess part of the simulation is pausing to re-train the model on-the-fly, but I imagine it would be more efficient to do this in batches or something. So, this is basically a way that one can start out doing AIMD and end up doing classical MD with an ab initio trained PES. That will be quite cool if this works out in the long-term. I can imagine some interesting things you can do if you have a split CPU/GPU architecture for doing the training and force evaluation in parallel without having to fully stop either at any point (then like rewinding the dynamics at certain points).
Ref.  is another example of a similar procedure where the researchers refine a neural-network potential on-the-fly using a committee-based approach. In this case, they definitely do random sub-sampling of an initial ab initio simulation of water, and then train many neural network potentials, all of the same form, and then determine the uncertainty in a prediction based on the standard of all the predictions from the members of the committee, which are the various NN potentials.
- Zhai, Y.; Caruso, A.; Gao, S.; Paesani, F. Active learning of many-body configuration space: Application to the Cs+–water MB-nrg potential energy function as a case study. J. Chem. Phys. 2020, 152 (14), 14410
- Smith, J. S.; Nebgen, B.; Lubbers, N.; Isayev, O.; Roitberg, A. E. Less is more: Sampling chemical space with active learning. J. Chem. Phys. 2018, 148 (24), 241733. DOI: 10.1063/1.5023802.
- Jinnouchi, R.; Miwa, K.; Karsai, F.; Kresse, G.; Asahi, R. On-the-Fly Active Learning of Interatomic Potentials for Large-Scale Atomistic Simulations. J. Phys. Chem. Lett. 2020, 11 (17), 6946–6955. DOI: 10.1021/acs.jpclett.0c01061.
- Schran, C., Brezina, K., & Marsalek, O. (2020). Committee neural network potentials control generalization errors and enable active learning. arXiv preprint arXiv:2006.01541.