-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Suboptimal performance in the presence of noisy data #1
Comments
Hi there! What is the size of the parameter that you are optimizing with SPSA? If it is too large, you can try to approximate the gradients by having more pairs of perturbations and averaging them ( as done in https://www.researchgate.net/publication/335698996_Leveraging_Domain_Knowledge_for_Reinforcement_Learning_Using_MMC_Architectures) ...May be this helps with your noisy data problem too. |
@rajcscw Thank you for getting back to me so quickly. Here is how I set up the dummy problem to better understand what SPSA does before working on the real application. I also wonder if Adam can help?
|
Couple of things I noticed:
|
@rajcscw That's a good point. I'm trying to replicate what this paper has demonstrated using SPSA. https://opg.optica.org/oe/fulltext.cfm?uri=oe-28-16-23306&id=433716 in my repo and I observed a similar behaviour in that the cost function that it plateaus early and seems to not descend in the desired direction. |
Hi there,
I want to start off by thanking you for providing this implementation which I found very helpful in doing my own research work.
I created a modified version of the spsa based on your implementation.
I noticed that the performance of spsa seems to be negatively affected by the amount of noise in the dataset, as the gradient seems to be trapped in some local minimum, resulting in the cost function's plateau. Please see the comparison from the attached diagrams.
I wonder if you could offer some advice on handling noisy data.
The text was updated successfully, but these errors were encountered: