Skip to content

Commit 379fd35

Browse files
committed
Document experiment case matrix
1 parent 8d7ccd9 commit 379fd35

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Document | 답하는 질문 | 핵심 근거 |
88
|---|---|---|
99
| `framework.md` | Graph-FL gain을 어떤 component와 metric으로 분해하는가 | lifecycle, `GraphFLDesign`, metric formula, artifact fields |
10-
| `evidence.md` | framework가 왜 정당한가 | 18 graph modes parity, 8,640 design-space checks, 4 / 4 extension checks |
10+
| `evidence.md` | framework가 왜 정당한가 | experiment case matrix, 18 graph modes parity, 8,640 design-space checks, 4 / 4 extension checks |
1111
| `research.md` | prior work와 어떤 위치 관계를 갖는가 | FedAMP, SFL, pFedGraph, FedAGA mapping |
1212
| `repository.md` | code/config/script/test/docs가 어디에 있는가 | repository tree, package layout, change routing |
1313
| `maintenance.md` | public surface와 compatibility 기준은 무엇인가 | canonical surface, alias table, golden baseline policy |

docs/evidence.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,34 @@
4040
| Extensibility | custom source, builder, preset, target이 trace와 artifact까지 도달한다 | 4 / 4 extension rows pass | `extension_contract_summary.csv` |
4141
| Measurement integrity | real diagnostic과 expected-zero control을 구분한다 | real/random/uniform measured nonzero, identity expected-zero control | `real_diagnostic_consistency.csv` |
4242

43+
## Experiment Case Matrix
44+
45+
이 표는 실험 결과를 경우의 수별로 읽기 위한 index다. Historical case는 초기 실험 관찰을 보존하고, validation case는 현재 framework가 같은 claim을 artifact contract로 검증하는 방식이다.
46+
47+
| Case Family | Cases | Main Variables | Result Signal | Current Artifact |
48+
|---|---|---|---|---|
49+
| Phase 1 diagnostics | Fashion-MNIST Dirichlet, 5 clients, seeds 42/43/44 | update norm, `DI`, `N_eff`, alignment, `LOO` | client contribution imbalance, seed variation, interaction pathology signal | `round_metrics.csv`, `client_metrics.csv` |
50+
| Phase 2 graph informativeness | update, random, shuffled, uniform, identity variants | classifier-head update source, control graph family | weak control boundary, update graph sensitivity | `counterfactual_metrics.csv`, `metric_validity_summary.csv` |
51+
| Phase 2 signed conflict | `signed_conflict_knn`, dense graph, real/update controls | graph_mode, graph density, control family | update graph effect limited, source/mode attribution needed | `graph_parity_summary.csv`, `composability_matrix.csv` |
52+
| Phase 2 client-count/alpha stress | n20 alpha 0.1, n20 alpha 0.3 | client count, Dirichlet alpha, `signed_conflict_knn` | graph-control separation weak and alpha-sensitive | `design_space_matrix.csv`, stress configs |
53+
| Phase 2 pFedSim-like | pFedSim-like graph, real/update controls | proxy graph quality, relation mechanism | control gap limited, paper-mechanism alignment needed | `external_mechanism_alignment.csv` |
54+
| Phase 2 source sanity | `update`, `ema_update`, `classifier_head_update` | graph_source, update/random/identity variants | source별 metric 차이와 artifact 생성 확인 | source contract, artifact contract |
55+
| Phase 2.5 smoothing | graph smoothing without relation signal | smoothing-only path, random/uniform controls | smoothing-only effect가 metric을 움직임 | `counterfactual_metrics.csv`, `real_diagnostic_consistency.csv` |
56+
| Phase 3 dominance-aware | dominance-aware baseline | accuracy, loss, update norm, `DI`, `N_eff` | dominance correction signal 확인 | graph-free correction diagnostics |
57+
| Framework parity | 18 graph modes | lifecycle assembly vs reference builder | max abs diff `2.21e-12`, edge F1 `1.0` | `graph_parity_summary.csv` |
58+
| Framework design-space | 16 sources x 18 modes x 5 targets x 6 correction profiles | source, mode, target, correction profile | 8,640 / 8,640 calculation checks pass | `design_space_matrix.csv`, `design_space_summary.csv` |
59+
| Framework extension | custom source, builder, preset, target | extension point, trace, metadata, artifact | 4 / 4 extension rows pass | `extension_contract_summary.csv` |
60+
61+
Case 축은 다음처럼 해석한다.
62+
63+
| Axis | Values Captured |
64+
|---|---|
65+
| graph source | update, EMA update, classifier-head update, weight, built-in source family |
66+
| graph mode | cosine/kNN, magnitude/RBF, learned smoothness, pFedGraph-QP, signed conflict variants |
67+
| aggregation target | `graph_filtered_update`, `graph_filtered_ema_update`, `graph_filtered_weight`, target variants |
68+
| control/correction | random, shuffled, uniform, identity, clustering-only, graph-free correction |
69+
| diagnostic metric | accuracy, loss, update norm, alignment, `DI`, `N_eff`, `LOO`, graph stats |
70+
4371
## Pass Criteria
4472

4573
| Validation Unit | Pass Condition | Failure Signal |

0 commit comments

Comments
 (0)