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

Squash non-determinism #45

Open
gfrances opened this issue Feb 18, 2017 · 3 comments
Open

Squash non-determinism #45

gfrances opened this issue Feb 18, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@gfrances
Copy link
Member

There seems to be some source of non-determinism in the C++ backend of the planner, which provokes some slight variation of results. This can be reproduced with the following command:

python3 preprocessor/runner.py --tag t4 --instance /home/gfrances/projects/code/fs-benchmarks/benchmarks/blocksworld-fn/instance_20_2.pddl --driver lazybfws --options "successor_generation=naive,bfws.rs=sim,evaluator_t=adaptive" --run

The json files generated by the frontend are identical, but number of expansions, etc. seem to be different.
The logs generated by the (release-mode) planner are also equivalent.

@gfrances gfrances self-assigned this Feb 18, 2017
@gfrances gfrances added this to the Lambda 1.0 milestone Feb 18, 2017
@gfrances gfrances added the bug label Feb 18, 2017
@miquelramirez
Copy link
Member

Is this confined to the functional domains? If so, surely is having an impact on the variance that I am seeing when using features.

@gfrances
Copy link
Member Author

It seems so, although I'm not exactly sure what's going on... I've just found very small variations in the number of expanded nodes when running twice in a row the same command... I've only tried with the FN version of BW though...

@miquelramirez
Copy link
Member

Ugh, I had forgotten about this. Today I sat for a long time with the proc. domains studying the effect of using features etc and observed wild variations in some domains like helper. Wild as in a 100% variation sometimes.

This variance happens even without features enabled, always when using BFWS (f7). For Blind BFWS, nothing out of place was observed after lots of runs done manually... Right now I am trying to do a controlled experiment on my laptop, to determine how big is the effect.

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

No branches or pull requests

2 participants