Hello,
I recently discovered the possibility to activate/deactivate relevance reasoning in SMILE and promptly stumbled over some crashes.
It happened with other algorithms as well (eg EpisSampling) but one case that I have isolated is using Backsampling with noisy relevance reasoning enabled (EnableNoisyMAXRelevance). The application crashes when calling UpdateBeliefs. If I use Lauritzen, or don't enable noisy relevance, the inference runs fine.
I should say the model has a lot of noisyMAX nodes.
I also was able to reproduce the crash in GeNIe (setting DSL_NOISYMAXRELEVANCE=1 in the network's user properties). I press the lightning button and after a second Windows tells me that GeNIe 2.0 has stopped working.
Why does that happen? Is it a bug?
Regards & thanks in advance
Bug? Backsampling with Noisy Relevance crashing
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Bug? Backsampling with Noisy Relevance crashing
It's definitely a bug. Can you post your network here so we can reproduce it locally?Is it a bug?
Re: Bug? Backsampling with Noisy Relevance crashing
I'll see if the error occurs on an obfuscated model as well, and PM you about it.
Thanks for taking care of this
Thanks for taking care of this
Re: Bug? Backsampling with Noisy Relevance crashing
Update: The crash is a segfault because of a NULL pointer dereference. The bug lies in 15yo legacy code and is therefore not probable to be fixed soon.
Workaround: don't use this combination
Workaround: don't use this combination
Re: Bug? Backsampling with Noisy Relevance crashing
Thanks for the update!
Re: Bug? Backsampling with Noisy Relevance crashing
Update: after conducting experiments, I found that the bug occurs:
- in ALL approximate algorithms, plus in LauritzenOld,
- when noisy relevance is enabled, and the model contains noisy nodes,
- only when evidence is set.
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Bug? Backsampling with Noisy Relevance crashing
I can confirm the crash in four approximate algorithms and old Lauritzen implementation. However, AIS and EPIS return DSL_NO_USEFUL_SAMPLES (-5).
Re: Bug? Backsampling with Noisy Relevance crashing
Oh, you're correct. I tested with a slightly different model; I'll PM that to you.