3
$\begingroup$

I am working on active learning and I was wondering about the difference if we split the dataset into training and testing or collecting and labeling the training and testing datasets separately. Either way, the ratio between training and testing will be maintained (70%,30%).

I want to select samples to label them and train the model to boost its performance and then I come back again to select new samples to label for testing because the model will be well trained and select hard and new examples to the model. Doing such that, is it appropriate?

Thank you for your answers.

$\endgroup$
4
  • $\begingroup$ Do you have the same distribution (population, not empirical) in both sets? It looks like the answer is that you do not, but I would like to hear your take. $\endgroup$
    – Dave
    Commented Jun 24, 2021 at 10:36
  • $\begingroup$ Yes, they should have the same distributions. $\endgroup$ Commented Jun 24, 2021 at 10:43
  • $\begingroup$ Are you sure? You make it sound like your test set is going to be especially hard. $\endgroup$
    – Dave
    Commented Jun 24, 2021 at 10:46
  • $\begingroup$ Yes, my test dataset should contain diverse, representative, and hard examples. Hard samples should be from all the classes. $\endgroup$ Commented Jun 24, 2021 at 10:49

1 Answer 1

1
$\begingroup$

The key difference between splitting a dataset and collecting separate training and testing data lies in the distributions. When splitting, both sets are drawn from the same underlying distribution, ensuring reliable generalisation testing. Collecting data separately can introduce a distribution shift, especially if the test set is made intentionally harder, which could distort model generalisation.

For active learning, selecting harder examples from the test set for training may skew the model toward outliers or complex cases, reducing its ability to generalise to typical examples. It is important to maintain a representative test set that reflects the overall data distribution, ensuring proper evaluation. The goal in active learning is to enhance performance across all data, not just on the most difficult instances.

$\endgroup$
2
  • $\begingroup$ +1. In terms of survey design terminology, I think this might be viewed as the difference between random sampling (assuming data splitting has been conducted this way) and purposive sampling. Somehow, this question reminds me a little bit of this thread stats.stackexchange.com/q/611423/164936, in that I find that some machine learning practioners might find beneficial to learn more about survey design methods. $\endgroup$
    – J-J-J
    Commented Oct 11 at 15:28
  • 1
    $\begingroup$ @J-J-J Thanks, and I agree - in fact a lot of statisticians could benefit from learning about survey design methods too :) $\endgroup$ Commented Oct 11 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.