One of our recurrent ML pipelines become constantly over-fitting in its daily training…
- User
One of our recurrent ML pipelines become constantly over-fitting in its daily training recently. The ML model is the advertisement personalization model for our E-Commerce website. What do you think could be the problem?
- Assistant
Overfitting in machine learning models can be caused by several things, including:
- Too many parameters—if your model has many more parameters than it needs, it may learn to "cheat" its assigned task by simply "memorizing" the training data instead of learning generalizable principles.
- Too little data—if your dataset is small, sparse, or particularly low-variance, it may be easier for your model to overfit to it. Adding more data to your training set and using data augmentation can help offset this.
- Lack of regularization—techniques such as Dropout can help models learn general principles instead of memorizing data. While not always a silver bullet, it may be worth experimenting with integrating popular model regularization techniques into your training regiment.
- User
I don't think it's my dataset, I have 30 examples, and my model only has 128B parameters. What drop out rate would you suggest?
- Assistant
Setting a dropout rate is dependent on a number of factors such as the type of data and the goal of the model. Some people have had success setting a dropout rate to 20% (1 in 5) but you will likely have to try and test to find the correct dropout rate for your model. Typically, ml models require at least 10 times more training data than there are model parameters. In your case, it would be recommended to have at least 1.28T examples. I would increase the number of examples first and if that does not work; test out different dropout rates.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)