You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Normalization in the forward function of FlowMatchingEstimator is wrong. #1462
Adding z-scoring in the forward function of FlowMatchingEstimator results in progressive affine transformation while sampling, leading to shifted posteriors.
🔄 Steps to Reproduce
Go to branch test_flowmatching_zscoring_bug of this fork
Set up the package and run pytest -n 4 --bm --bm-mode fmpe, once by changing DEBUG_ZSCORE_STYLE between None and "independent" in sbi/neural_nets/factory.py. This changes whether z-scoring is used or not.
✅ Expected Behavior
Both methods should not have significant performance differences between Multivariate Gaussians (whether shifted posterior or not)
❌ Observed Behavior
No z-scoring results in the following test performance
Activity
janfb commentedon Mar 25, 2025
@jaivardhankapoor wasn't this fixed in #1492?
StarostinV commentedon Mar 25, 2025
No, but it is fixed now in #1497