serliezer commited on
Commit
0fc18d4
·
verified ·
1 Parent(s): 3923d9b

Add debug.md

Browse files
Files changed (1) hide show
  1. debug.md +33 -0
debug.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Debug Log
2
+
3
+ ## Numerical Issues
4
+
5
+ ### CAVI Convergence
6
+ - Some configurations with weak priors (a0=0.1, b0=0.1) and high count scales show slow convergence
7
+ - Many runs hit max_iter=200 without convergence (tol=1e-5)
8
+ - This is expected behavior: weak priors with high counts create strong coupling, making convergence harder
9
+ - Results are still usable as the parameters have stabilized significantly
10
+
11
+ ### Gaussian-Gamma MAP
12
+ - Gradient-based optimization may not converge to global optimum
13
+ - Learning rate lr=0.005 is conservative but stable
14
+ - Objective values may fluctuate in non-convex landscape
15
+
16
+ ## Exclusion Rules
17
+ - Configs with fewer than 10 edges after count generation are skipped
18
+ - Deletions where the edge has count 0 are not meaningful for Poisson-Gamma and are excluded
19
+ - Decay fits with fewer than 3 valid distance shells are marked as invalid
20
+
21
+ ## Known Limitations
22
+ - Pilot runs use N=150, M=150 which limits graph diameter to ~4-6 hops
23
+ - BFS neighborhood computation includes all nodes at distance ≤ R, which for high-degree graphs may cover most of the graph at R=3-4
24
+ - One-step downdate is a very rough approximation and may sometimes increase error
25
+
26
+ ## Runtime Notes
27
+ - Full model fit: ~0.1-1.0s for N=M=150, K=5-10
28
+ - Exact deletion (warm-started): ~0.1-0.5s each
29
+ - Local R=2: ~0.05-0.3s each
30
+ - Total per config (20 deletions): ~20-40s
31
+
32
+ ## Timestamp
33
+ Generated: 2026-04-24