Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MovieLen 100k with the original SafeOpt algorithm #8

Open
Lancial opened this issue Nov 16, 2021 · 1 comment
Open

MovieLen 100k with the original SafeOpt algorithm #8

Lancial opened this issue Nov 16, 2021 · 1 comment

Comments

@Lancial
Copy link

Lancial commented Nov 16, 2021

Hi there!

I'm trying to replicate the result of SafeOpt on the MovieLen 100k dataset and use it as a baseline for my class project. I tried to follow the procedure described in the paper but I failed to reproduce the result. Can I get some help? Thank you!

Here are the steps that I followed:

Screen Shot 2021-11-16 at 10 25 11 AM

Screen Shot 2021-11-16 at 10 25 19 AM

And here is my code:
Screen Shot 2021-11-16 at 10 36 26 AM

The problem right now is that

  • the algorithm breaks the safety constraint pretty quick (explored movies that have a 1.0 rating)
  • the algorithm tends to be stuck at one or multiple high rating recommendations after some iterations and it is not able to generate novel results.
  • similar to the second point, it explores only a small portion of the reachable set

We experimented with different std and noise variance but did not actually make significant improvement. I wonder do you notice any mistake we made in our code? In addition, would it be possible to share the code you used for the evaluation in the paper?

Thank you very much!

@ShivaprasadNadagoudr
Copy link

ShivaprasadNadagoudr commented Nov 26, 2021

Try SafeOptSwarm class instead of SafeOpt for optimization, you'll get much better results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants