TabQueryBench commited on
Commit
e350e35
·
verified ·
1 Parent(s): b1792c7

Upload benchmark overall table assets

Browse files
evaluation/tables/benchmark_overall_table/README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Benchmark Overall Table
2
+
3
+ This folder contains the conference-style benchmark summary table for the evaluation section.
4
+
5
+ ## Goal
6
+
7
+ Create a single-page LaTeX summary table that matches the paper-table aesthetic requested for the evaluation section while following the README's frozen paper-facing model roster.
8
+
9
+ - model rows
10
+ - grouped metric headers
11
+ - top-3 color highlighting per metric column
12
+ - compact `mean ± std` cells
13
+ - direct PDF export for review
14
+ - companion CSV exports for exact values
15
+
16
+ ## Files
17
+
18
+ - `build_overall_benchmark_table.py`
19
+ - Rebuilds the table from the current evaluation assets.
20
+ - `final/benchmark_overall_table_real.tex`
21
+ - Standalone LaTeX source for the current real-data table.
22
+ - `final/benchmark_overall_table_real_model_summary.csv`
23
+ - Model-level summary values, standard deviations, counts, and top-3 ranks.
24
+ - `final/benchmark_overall_table_real_dataset_level.csv`
25
+ - Dataset-level values used to compute the model summary table.
26
+ - `final/benchmark_overall_table_real_sources.csv`
27
+ - Metric-to-source manifest for traceability.
28
+
29
+ ## Rebuild
30
+
31
+ From the repo root:
32
+
33
+ ```powershell
34
+ python Evaluation\benchmark_overall_table\build_overall_benchmark_table.py
35
+ ```
36
+
37
+ Then compile the generated LaTeX file with the bundled `tectonic.exe` or another LaTeX engine.
evaluation/tables/benchmark_overall_table/build_overall_benchmark_table.py ADDED
@@ -0,0 +1,707 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import math
4
+ import re
5
+ from pathlib import Path
6
+
7
+ import pandas as pd
8
+
9
+
10
+ REPO_ROOT = Path(__file__).resolve().parents[2]
11
+ EVAL_ROOT = REPO_ROOT / "Evaluation"
12
+ OUT_DIR = EVAL_ROOT / "benchmark_overall_table" / "final"
13
+
14
+ # README -> Figure Color Convention -> MODEL_COLORS
15
+ PAPER_MODEL_ORDER = [
16
+ "real",
17
+ "arf",
18
+ "bayesnet",
19
+ "ctgan",
20
+ "forestdiffusion",
21
+ "realtabformer",
22
+ "tabbyflow",
23
+ "tabddpm",
24
+ "tabdiff",
25
+ "tabpfgen",
26
+ "tabsyn",
27
+ "tvae",
28
+ ]
29
+
30
+ MODEL_LABELS = {
31
+ "real": "REAL",
32
+ "arf": "ARF",
33
+ "bayesnet": "BayesNet",
34
+ "ctgan": "CTGAN",
35
+ "forestdiffusion": "ForestDiffusion",
36
+ "realtabformer": "RealTabFormer",
37
+ "tabbyflow": "TabbyFlow",
38
+ "tabddpm": "TabDDPM",
39
+ "tabdiff": "TabDiff",
40
+ "tabpfgen": "TabPFGen",
41
+ "tabsyn": "TabSyn",
42
+ "tvae": "TVAE",
43
+ }
44
+
45
+ FINAL_BASENAME = "benchmark_overall_table_real"
46
+ MODEL_ORDER_MAP = {model_id: idx for idx, model_id in enumerate(PAPER_MODEL_ORDER)}
47
+
48
+ COMPUTED_METRICS = [
49
+ {
50
+ "key": "distance_overall",
51
+ "group": "Classical Fidelity",
52
+ "title": "Dist. overall $\\uparrow$",
53
+ "direction": "higher",
54
+ "reference_value": 1.0,
55
+ "highlight_column": True,
56
+ "source_kind": "distance_dataset_export",
57
+ "source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
58
+ },
59
+ {
60
+ "key": "jsd_distance",
61
+ "group": "Classical Fidelity",
62
+ "title": "JSD $\\downarrow$",
63
+ "direction": "lower",
64
+ "reference_value": 0.0,
65
+ "highlight_column": False,
66
+ "source_kind": "distance_dataset_export",
67
+ "source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
68
+ },
69
+ {
70
+ "key": "ks_distance",
71
+ "group": "Classical Fidelity",
72
+ "title": "KS $\\downarrow$",
73
+ "direction": "lower",
74
+ "reference_value": 0.0,
75
+ "highlight_column": False,
76
+ "source_kind": "distance_dataset_export",
77
+ "source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
78
+ },
79
+ {
80
+ "key": "tvd_distance",
81
+ "group": "Classical Fidelity",
82
+ "title": "TVD $\\downarrow$",
83
+ "direction": "lower",
84
+ "reference_value": 0.0,
85
+ "highlight_column": False,
86
+ "source_kind": "distance_dataset_export",
87
+ "source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
88
+ },
89
+ {
90
+ "key": "wasserstein_distance",
91
+ "group": "Classical Fidelity",
92
+ "title": "Wasserstein $\\downarrow$",
93
+ "direction": "lower",
94
+ "reference_value": 0.0,
95
+ "highlight_column": False,
96
+ "source_kind": "distance_dataset_export",
97
+ "source_file": "Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv",
98
+ },
99
+ {
100
+ "key": "query_overall",
101
+ "group": "Query-centric Families",
102
+ "title": "Query overall $\\uparrow$",
103
+ "direction": "higher",
104
+ "reference_value": 1.0,
105
+ "highlight_column": True,
106
+ "source_kind": "derived_query_overall",
107
+ "source_file": "Derived from the five query-centric family dataset-level scores in build_overall_benchmark_table.py.",
108
+ },
109
+ {
110
+ "key": "subgroup_structure",
111
+ "group": "Query-centric Families",
112
+ "title": "Subgroup $\\uparrow$",
113
+ "direction": "higher",
114
+ "reference_value": 1.0,
115
+ "highlight_column": False,
116
+ "source_kind": "query_family_dataset_export",
117
+ "source_file": "Evaluation/query_fivepart_breakdown/subgroup_breakdown/data/dataset_model_scores.csv",
118
+ },
119
+ {
120
+ "key": "conditional_dependency_structure",
121
+ "group": "Query-centric Families",
122
+ "title": "Conditional $\\uparrow$",
123
+ "direction": "higher",
124
+ "reference_value": 1.0,
125
+ "highlight_column": False,
126
+ "source_kind": "query_family_dataset_export",
127
+ "source_file": "Evaluation/query_fivepart_breakdown/conditional_breakdown/data/dataset_model_scores.csv",
128
+ },
129
+ {
130
+ "key": "tail_breakdown",
131
+ "group": "Query-centric Families",
132
+ "title": "Tail $\\uparrow$",
133
+ "direction": "higher",
134
+ "reference_value": 1.0,
135
+ "highlight_column": False,
136
+ "source_kind": "query_family_dataset_export",
137
+ "source_file": "Evaluation/query_fivepart_breakdown/tail_breakdown/data/dataset_model_scores.csv",
138
+ },
139
+ {
140
+ "key": "missingness_structure",
141
+ "group": "Query-centric Families",
142
+ "title": "Missingness $\\uparrow$",
143
+ "direction": "higher",
144
+ "reference_value": 1.0,
145
+ "highlight_column": False,
146
+ "source_kind": "query_family_dataset_export",
147
+ "source_file": "Evaluation/query_fivepart_breakdown/missingness_breakdown/data/dataset_model_scores.csv",
148
+ },
149
+ {
150
+ "key": "cardinality_structure",
151
+ "group": "Query-centric Families",
152
+ "title": "Cardinality $\\uparrow$",
153
+ "direction": "higher",
154
+ "reference_value": 1.0,
155
+ "highlight_column": False,
156
+ "source_kind": "cardinality_dataset_export",
157
+ "source_file": "Evaluation/query_fivepart_breakdown/cardinality/data/cleaned_results.csv",
158
+ },
159
+ ]
160
+
161
+ PLACEHOLDER_COLUMNS = [
162
+ {
163
+ "key": "train_time",
164
+ "group": "Cost",
165
+ "title": "Train time",
166
+ "placeholder": True,
167
+ },
168
+ {
169
+ "key": "generation_time",
170
+ "group": "Cost",
171
+ "title": "Gen. time",
172
+ "placeholder": True,
173
+ },
174
+ ]
175
+
176
+ DISPLAY_COLUMNS = COMPUTED_METRICS + PLACEHOLDER_COLUMNS
177
+
178
+ METRIC_SPECS = {metric["key"]: metric for metric in COMPUTED_METRICS}
179
+ DISPLAY_SPECS = {column["key"]: column for column in DISPLAY_COLUMNS}
180
+ FAMILY_KEYS = [
181
+ "subgroup_structure",
182
+ "conditional_dependency_structure",
183
+ "tail_breakdown",
184
+ "missingness_structure",
185
+ "cardinality_structure",
186
+ ]
187
+
188
+
189
+ def ensure_out_dir() -> None:
190
+ OUT_DIR.mkdir(parents=True, exist_ok=True)
191
+
192
+
193
+ def dataset_prefix(dataset_id: str) -> str:
194
+ return str(dataset_id)[0] if dataset_id else ""
195
+
196
+
197
+ def dataset_sort_tuple(dataset_id: str) -> tuple[str, int, str]:
198
+ text = str(dataset_id)
199
+ match = re.match(r"([A-Za-z]+)(\d+)", text)
200
+ if match:
201
+ return match.group(1), int(match.group(2)), text
202
+ return text, 0, text
203
+
204
+
205
+ def latex_escape(text: str) -> str:
206
+ replacements = {
207
+ "\\": r"\textbackslash{}",
208
+ "&": r"\&",
209
+ "%": r"\%",
210
+ "$": r"\$",
211
+ "#": r"\#",
212
+ "_": r"\_",
213
+ "{": r"\{",
214
+ "}": r"\}",
215
+ "~": r"\textasciitilde{}",
216
+ "^": r"\textasciicircum{}",
217
+ }
218
+ escaped = text
219
+ for src, dst in replacements.items():
220
+ escaped = escaped.replace(src, dst)
221
+ return escaped
222
+
223
+
224
+ def fmt_num(value: float) -> str:
225
+ if abs(value) < 5e-4:
226
+ value = 0.0
227
+ return f"{value:.2f}"
228
+
229
+
230
+ def normalize_long_metric(
231
+ df: pd.DataFrame,
232
+ metric_key: str,
233
+ value_col: str,
234
+ source_path: str,
235
+ source_kind: str,
236
+ ) -> pd.DataFrame:
237
+ subset = df.copy()
238
+ subset = subset[subset["model_id"].isin(PAPER_MODEL_ORDER)].copy()
239
+ subset["model_label"] = subset["model_id"].map(MODEL_LABELS)
240
+ subset["metric_key"] = metric_key
241
+ subset["metric_group"] = METRIC_SPECS[metric_key]["group"]
242
+ subset["metric_title"] = METRIC_SPECS[metric_key]["title"]
243
+ subset["metric_value"] = subset[value_col]
244
+ subset["source_kind"] = source_kind
245
+ subset["source_path"] = source_path
246
+ subset["row_kind"] = subset["model_id"].map(lambda model_id: "reference" if model_id == "real" else "synthetic")
247
+ return subset[
248
+ [
249
+ "dataset_id",
250
+ "dataset_prefix",
251
+ "model_id",
252
+ "model_label",
253
+ "metric_key",
254
+ "metric_group",
255
+ "metric_title",
256
+ "metric_value",
257
+ "source_kind",
258
+ "source_path",
259
+ "row_kind",
260
+ ]
261
+ ]
262
+
263
+
264
+ def load_distance_long() -> pd.DataFrame:
265
+ frames = []
266
+ cols = [
267
+ "dataset_id",
268
+ "model_id",
269
+ "timestamp_utc",
270
+ "jensen_shannon_distance",
271
+ "kolmogorov_smirnov_distance",
272
+ "total_variation_distance",
273
+ "wasserstein_distance",
274
+ "overall_fidelity_score",
275
+ ]
276
+ for path in (EVAL_ROOT / "distance" / "runs").glob("*/*/distance_summary__*.csv"):
277
+ try:
278
+ df = pd.read_csv(path, usecols=cols, low_memory=False)
279
+ except Exception:
280
+ continue
281
+ frames.append(df)
282
+
283
+ if not frames:
284
+ raise FileNotFoundError("No distance dataset exports were found under Evaluation/distance/runs.")
285
+
286
+ df = pd.concat(frames, ignore_index=True)
287
+ df = df[df["model_id"].isin([model for model in PAPER_MODEL_ORDER if model != "real"])].copy()
288
+ df["timestamp_utc"] = pd.to_datetime(df["timestamp_utc"], errors="coerce")
289
+ df["dataset_prefix"] = df["dataset_id"].map(dataset_prefix)
290
+ df = df.sort_values(["dataset_id", "model_id", "timestamp_utc"]).drop_duplicates(
291
+ ["dataset_id", "model_id"], keep="last"
292
+ )
293
+
294
+ metric_map = [
295
+ ("distance_overall", "overall_fidelity_score"),
296
+ ("jsd_distance", "jensen_shannon_distance"),
297
+ ("ks_distance", "kolmogorov_smirnov_distance"),
298
+ ("tvd_distance", "total_variation_distance"),
299
+ ("wasserstein_distance", "wasserstein_distance"),
300
+ ]
301
+ long_frames = []
302
+ for metric_key, value_col in metric_map:
303
+ long_frames.append(
304
+ normalize_long_metric(
305
+ df[["dataset_id", "dataset_prefix", "model_id", value_col]].rename(columns={value_col: "metric_tmp"}),
306
+ metric_key=metric_key,
307
+ value_col="metric_tmp",
308
+ source_path="distance_dataset_export_dedup_latest",
309
+ source_kind="distance_dataset_export",
310
+ )
311
+ )
312
+ return pd.concat(long_frames, ignore_index=True)
313
+
314
+
315
+ def load_family_long() -> pd.DataFrame:
316
+ frames = []
317
+
318
+ subgroup_path = EVAL_ROOT / "query_fivepart_breakdown" / "subgroup_breakdown" / "data" / "dataset_model_scores.csv"
319
+ subgroup_df = pd.read_csv(subgroup_path)
320
+ frames.append(
321
+ normalize_long_metric(
322
+ subgroup_df[["dataset_id", "dataset_prefix", "model_id", "subgroup_structure_score"]],
323
+ metric_key="subgroup_structure",
324
+ value_col="subgroup_structure_score",
325
+ source_path=str(subgroup_path.relative_to(REPO_ROOT)),
326
+ source_kind="query_family_dataset_export",
327
+ )
328
+ )
329
+
330
+ conditional_path = EVAL_ROOT / "query_fivepart_breakdown" / "conditional_breakdown" / "data" / "dataset_model_scores.csv"
331
+ conditional_df = pd.read_csv(conditional_path)
332
+ frames.append(
333
+ normalize_long_metric(
334
+ conditional_df[["dataset_id", "dataset_prefix", "model_id", "conditional_dependency_structure_score"]],
335
+ metric_key="conditional_dependency_structure",
336
+ value_col="conditional_dependency_structure_score",
337
+ source_path=str(conditional_path.relative_to(REPO_ROOT)),
338
+ source_kind="query_family_dataset_export",
339
+ )
340
+ )
341
+
342
+ tail_path = EVAL_ROOT / "query_fivepart_breakdown" / "tail_breakdown" / "data" / "dataset_model_scores.csv"
343
+ tail_df = pd.read_csv(tail_path)
344
+ frames.append(
345
+ normalize_long_metric(
346
+ tail_df[["dataset_id", "dataset_prefix", "model_id", "tail_breakdown_score"]],
347
+ metric_key="tail_breakdown",
348
+ value_col="tail_breakdown_score",
349
+ source_path=str(tail_path.relative_to(REPO_ROOT)),
350
+ source_kind="query_family_dataset_export",
351
+ )
352
+ )
353
+
354
+ missing_path = EVAL_ROOT / "query_fivepart_breakdown" / "missingness_breakdown" / "data" / "dataset_model_scores.csv"
355
+ missing_df = pd.read_csv(missing_path)
356
+ frames.append(
357
+ normalize_long_metric(
358
+ missing_df[["dataset_id", "dataset_prefix", "model_id", "missingness_structure_score"]],
359
+ metric_key="missingness_structure",
360
+ value_col="missingness_structure_score",
361
+ source_path=str(missing_path.relative_to(REPO_ROOT)),
362
+ source_kind="query_family_dataset_export",
363
+ )
364
+ )
365
+
366
+ cardinality_path = EVAL_ROOT / "query_fivepart_breakdown" / "cardinality" / "data" / "cleaned_results.csv"
367
+ cardinality_raw = pd.read_csv(
368
+ cardinality_path,
369
+ low_memory=False,
370
+ usecols=["dataset", "model", "official_cardinality_range_score"],
371
+ )
372
+ cardinality_df = (
373
+ cardinality_raw.groupby(["dataset", "model"], as_index=False)["official_cardinality_range_score"].mean()
374
+ .rename(
375
+ columns={
376
+ "dataset": "dataset_id",
377
+ "model": "model_id",
378
+ "official_cardinality_range_score": "cardinality_structure_score",
379
+ }
380
+ )
381
+ )
382
+ cardinality_df["dataset_prefix"] = cardinality_df["dataset_id"].map(dataset_prefix)
383
+ frames.append(
384
+ normalize_long_metric(
385
+ cardinality_df[["dataset_id", "dataset_prefix", "model_id", "cardinality_structure_score"]],
386
+ metric_key="cardinality_structure",
387
+ value_col="cardinality_structure_score",
388
+ source_path=str(cardinality_path.relative_to(REPO_ROOT)),
389
+ source_kind="cardinality_dataset_export",
390
+ )
391
+ )
392
+
393
+ family_long = pd.concat(frames, ignore_index=True)
394
+ return family_long[family_long["model_id"] != "real"].copy()
395
+
396
+
397
+ def derive_query_overall_long(family_long: pd.DataFrame) -> pd.DataFrame:
398
+ query_long = (
399
+ family_long[family_long["metric_key"].isin(FAMILY_KEYS)]
400
+ .groupby(["dataset_id", "dataset_prefix", "model_id", "model_label"], as_index=False)
401
+ .agg(metric_value=("metric_value", "mean"))
402
+ )
403
+ query_long["metric_key"] = "query_overall"
404
+ query_long["metric_group"] = METRIC_SPECS["query_overall"]["group"]
405
+ query_long["metric_title"] = METRIC_SPECS["query_overall"]["title"]
406
+ query_long["source_kind"] = METRIC_SPECS["query_overall"]["source_kind"]
407
+ query_long["source_path"] = "derived_query_overall"
408
+ query_long["row_kind"] = "synthetic"
409
+ return query_long[
410
+ [
411
+ "dataset_id",
412
+ "dataset_prefix",
413
+ "model_id",
414
+ "model_label",
415
+ "metric_key",
416
+ "metric_group",
417
+ "metric_title",
418
+ "metric_value",
419
+ "source_kind",
420
+ "source_path",
421
+ "row_kind",
422
+ ]
423
+ ]
424
+
425
+
426
+ def add_reference_rows(long_df: pd.DataFrame) -> pd.DataFrame:
427
+ frames = [long_df]
428
+ for metric in COMPUTED_METRICS:
429
+ metric_key = metric["key"]
430
+ metric_df = long_df[
431
+ (long_df["metric_key"] == metric_key) & long_df["metric_value"].notna()
432
+ ].copy()
433
+ if metric_df.empty:
434
+ continue
435
+
436
+ reference_rows = (
437
+ metric_df[["dataset_id", "dataset_prefix"]]
438
+ .drop_duplicates()
439
+ .assign(
440
+ model_id="real",
441
+ model_label="REAL",
442
+ metric_key=metric_key,
443
+ metric_group=metric["group"],
444
+ metric_title=metric["title"],
445
+ metric_value=metric["reference_value"],
446
+ source_kind="real_self_reference",
447
+ source_path="real_self_reference",
448
+ row_kind="reference",
449
+ )
450
+ )
451
+ frames.append(reference_rows)
452
+
453
+ combined = pd.concat(frames, ignore_index=True)
454
+ combined["model_order"] = combined["model_id"].map(MODEL_ORDER_MAP)
455
+ return combined.sort_values(
456
+ ["metric_key", "dataset_id", "model_order"],
457
+ key=lambda col: col.map(dataset_sort_tuple) if col.name == "dataset_id" else col,
458
+ ).reset_index(drop=True)
459
+
460
+
461
+ def assemble_dataset_level_table() -> pd.DataFrame:
462
+ distance_long = load_distance_long()
463
+ family_long = load_family_long()
464
+ query_overall_long = derive_query_overall_long(family_long)
465
+ long_df = pd.concat([distance_long, family_long, query_overall_long], ignore_index=True)
466
+ long_df = long_df[long_df["metric_value"].notna()].copy()
467
+ long_df = add_reference_rows(long_df)
468
+ return long_df[
469
+ [
470
+ "dataset_id",
471
+ "dataset_prefix",
472
+ "model_id",
473
+ "model_label",
474
+ "metric_key",
475
+ "metric_group",
476
+ "metric_title",
477
+ "metric_value",
478
+ "source_kind",
479
+ "source_path",
480
+ "row_kind",
481
+ "model_order",
482
+ ]
483
+ ]
484
+
485
+
486
+ def build_model_summary(dataset_level: pd.DataFrame) -> pd.DataFrame:
487
+ grouped = (
488
+ dataset_level.groupby(
489
+ ["model_id", "model_label", "row_kind", "metric_key", "metric_group", "metric_title"],
490
+ as_index=False,
491
+ )
492
+ .agg(
493
+ metric_mean=("metric_value", "mean"),
494
+ metric_std=("metric_value", "std"),
495
+ metric_count=("metric_value", "count"),
496
+ )
497
+ )
498
+ grouped.loc[grouped["metric_count"] <= 1, "metric_std"] = 0.0
499
+
500
+ wide = pd.DataFrame(
501
+ {
502
+ "model_id": PAPER_MODEL_ORDER,
503
+ "model_label": [MODEL_LABELS[model_id] for model_id in PAPER_MODEL_ORDER],
504
+ "row_kind": ["reference" if model_id == "real" else "synthetic" for model_id in PAPER_MODEL_ORDER],
505
+ "model_order": [MODEL_ORDER_MAP[model_id] for model_id in PAPER_MODEL_ORDER],
506
+ }
507
+ )
508
+
509
+ for metric in COMPUTED_METRICS:
510
+ metric_key = metric["key"]
511
+ metric_rows = grouped[grouped["metric_key"] == metric_key][
512
+ ["model_id", "metric_mean", "metric_std", "metric_count"]
513
+ ].rename(
514
+ columns={
515
+ "metric_mean": f"{metric_key}_mean",
516
+ "metric_std": f"{metric_key}_std",
517
+ "metric_count": f"{metric_key}_count",
518
+ }
519
+ )
520
+ wide = wide.merge(metric_rows, on="model_id", how="left")
521
+
522
+ for metric in COMPUTED_METRICS:
523
+ metric_key = metric["key"]
524
+ mean_col = f"{metric_key}_mean"
525
+ rank_col = f"{metric_key}_rank"
526
+ ascending = metric["direction"] == "lower"
527
+ wide[rank_col] = pd.NA
528
+ ranking = (
529
+ wide[(wide["row_kind"] == "synthetic") & wide[mean_col].notna()][["model_id", mean_col]]
530
+ .sort_values(mean_col, ascending=ascending)
531
+ .reset_index(drop=True)
532
+ )
533
+ for idx, row in ranking.head(3).iterrows():
534
+ wide.loc[wide["model_id"] == row["model_id"], rank_col] = idx + 1
535
+
536
+ for placeholder in PLACEHOLDER_COLUMNS:
537
+ key = placeholder["key"]
538
+ wide[f"{key}_mean"] = pd.NA
539
+ wide[f"{key}_std"] = pd.NA
540
+ wide[f"{key}_count"] = pd.NA
541
+ wide[f"{key}_rank"] = pd.NA
542
+
543
+ return wide.sort_values("model_order").reset_index(drop=True)
544
+
545
+
546
+ def render_cell_text(column_key: str, mean_value: float | None, std_value: float | None, rank: int | None) -> str:
547
+ spec = DISPLAY_SPECS[column_key]
548
+ prefix = r"\cellcolor{OverallTint} " if spec.get("highlight_column") else ""
549
+
550
+ if spec.get("placeholder"):
551
+ return prefix + ""
552
+
553
+ if pd.isna(mean_value):
554
+ return prefix + r"\textit{N/A}"
555
+
556
+ std_numeric = 0.0 if pd.isna(std_value) else float(std_value)
557
+ body = f"{fmt_num(float(mean_value))}$_{{\\pm {fmt_num(std_numeric)}}}$"
558
+ rank_value = None if pd.isna(rank) else int(rank)
559
+ if rank_value == 1:
560
+ body = rf"{{\color{{FirstPlace}}\textbf{{{body}}}}}"
561
+ elif rank_value == 2:
562
+ body = rf"{{\color{{SecondPlace}}\textbf{{{body}}}}}"
563
+ elif rank_value == 3:
564
+ body = rf"{{\color{{ThirdPlace}}\textbf{{{body}}}}}"
565
+ return prefix + body
566
+
567
+
568
+ def build_header_cells(group_name: str) -> list[dict[str, object]]:
569
+ return [column for column in DISPLAY_COLUMNS if column["group"] == group_name]
570
+
571
+
572
+ def render_latex(summary: pd.DataFrame) -> str:
573
+ row_lines = []
574
+ for _, row in summary.iterrows():
575
+ cells = [latex_escape(str(row["model_label"]))]
576
+ for column in DISPLAY_COLUMNS:
577
+ key = column["key"]
578
+ cells.append(render_cell_text(key, row.get(f"{key}_mean"), row.get(f"{key}_std"), row.get(f"{key}_rank")))
579
+ row_lines.append(" & ".join(cells) + r" \\")
580
+
581
+ classical_cols = build_header_cells("Classical Fidelity")
582
+ query_cols = build_header_cells("Query-centric Families")
583
+ cost_cols = build_header_cells("Cost")
584
+ total_cols = 1 + len(DISPLAY_COLUMNS)
585
+ tabular_spec = "@{}l " + " ".join("c" for _ in DISPLAY_COLUMNS) + "@{}"
586
+
587
+ header_cells = []
588
+ for column in DISPLAY_COLUMNS:
589
+ title = column["title"]
590
+ if column.get("highlight_column"):
591
+ header_cells.append(rf"\cellcolor{{OverallTint}} {title}")
592
+ else:
593
+ header_cells.append(title)
594
+
595
+ return rf"""\documentclass[10pt]{{article}}
596
+ \usepackage[a4paper,landscape,margin=0.60in]{{geometry}}
597
+ \usepackage[T1]{{fontenc}}
598
+ \usepackage[utf8]{{inputenc}}
599
+ \usepackage{{newtxtext,newtxmath}}
600
+ \usepackage{{booktabs}}
601
+ \usepackage[table]{{xcolor}}
602
+ \usepackage{{array}}
603
+ \usepackage{{multirow}}
604
+ \usepackage{{caption}}
605
+ \usepackage{{microtype}}
606
+ \usepackage{{graphicx}}
607
+ \captionsetup{{font=small,labelfont=bf}}
608
+ \definecolor{{FirstPlace}}{{HTML}}{{1397B8}}
609
+ \definecolor{{SecondPlace}}{{HTML}}{{7B45E5}}
610
+ \definecolor{{ThirdPlace}}{{HTML}}{{F28E2B}}
611
+ \definecolor{{OverallTint}}{{HTML}}{{F8F1DA}}
612
+ \definecolor{{RuleGray}}{{HTML}}{{C8CDD3}}
613
+ \arrayrulecolor{{RuleGray}}
614
+ \setlength{{\tabcolsep}}{{4.0pt}}
615
+ \renewcommand{{\arraystretch}}{{1.12}}
616
+
617
+ \begin{{document}}
618
+ \thispagestyle{{empty}}
619
+
620
+ \noindent{{\small\textit{{Conference-style benchmark summary for the evaluation section}}}}\\[-0.15em]
621
+ \noindent\color{{RuleGray}}\rule{{\textwidth}}{{0.5pt}}
622
+
623
+ \begin{{table}}[ht]
624
+ \centering
625
+ \caption{{Benchmark-wide summary of the frozen paper-facing model set specified in the README figure convention: 11 synthetic generators plus the \texttt{{REAL}} reference row. We report mean $\pm$ std across covered datasets using the current materialized evaluation exports. Lower is better for the four raw classical distance columns; higher is better for the two overall columns and the five query-centric family scores. The {{\color{{FirstPlace}} First}}, {{\color{{SecondPlace}} Second}}, and {{\color{{ThirdPlace}} Third}} best synthetic-model values in each column are highlighted with the same colors used in the table.}}
626
+ \label{{tab:benchmark_overall_real}}
627
+ \footnotesize
628
+ \resizebox{{\textwidth}}{{!}}{{%
629
+ \begin{{tabular}}{{{tabular_spec}}}
630
+ \toprule
631
+ \multirow{{2}}{{*}}{{\textbf{{Generator}}}} & \multicolumn{{{len(classical_cols)}}}{{c}}{{\textbf{{Classical Fidelity}}}} & \multicolumn{{{len(query_cols)}}}{{c}}{{\textbf{{Query-centric Families}}}} & \multicolumn{{{len(cost_cols)}}}{{c}}{{\textbf{{Cost}}}} \\
632
+ \cmidrule(lr){{2-{1 + len(classical_cols)}}}
633
+ \cmidrule(lr){{{2 + len(classical_cols)}-{1 + len(classical_cols) + len(query_cols)}}}
634
+ \cmidrule(lr){{{2 + len(classical_cols) + len(query_cols)}-{total_cols}}}
635
+ & {" & ".join(header_cells)} \\
636
+ \midrule
637
+ {chr(10).join(row_lines)}
638
+ \bottomrule
639
+ \end{{tabular}}%
640
+ }}
641
+
642
+ \vspace{{0.45em}}
643
+ \begin{{minipage}}{{0.95\linewidth}}
644
+ \small
645
+ \textit{{Note.}} The \texttt{{REAL}} row is a self-comparison reference row. For raw distance columns it is fixed to 0.00; for \texttt{{Dist. overall}}, \texttt{{Query overall}}, and the five family-score columns it is fixed to 1.00. The cost columns are intentionally left blank as placeholders for the training-time and generation-time statistics that will be added next.
646
+ \end{{minipage}}
647
+ \end{{table}}
648
+
649
+ \end{{document}}
650
+ """
651
+
652
+
653
+ def build_source_manifest() -> pd.DataFrame:
654
+ rows = []
655
+ for metric in COMPUTED_METRICS:
656
+ rows.append(
657
+ {
658
+ "metric_key": metric["key"],
659
+ "metric_group": metric["group"],
660
+ "metric_title": metric["title"],
661
+ "source_kind": metric["source_kind"],
662
+ "source_file": metric["source_file"],
663
+ }
664
+ )
665
+ for placeholder in PLACEHOLDER_COLUMNS:
666
+ rows.append(
667
+ {
668
+ "metric_key": placeholder["key"],
669
+ "metric_group": placeholder["group"],
670
+ "metric_title": placeholder["title"],
671
+ "source_kind": "placeholder",
672
+ "source_file": "Reserved placeholder column; real values will be added later.",
673
+ }
674
+ )
675
+ rows.append(
676
+ {
677
+ "metric_key": "real_reference_rows",
678
+ "metric_group": "Reference",
679
+ "metric_title": "REAL self-comparison rows",
680
+ "source_kind": "derived_reference",
681
+ "source_file": "Generated in build_overall_benchmark_table.py from the applicable dataset coverage of each metric.",
682
+ }
683
+ )
684
+ return pd.DataFrame(rows)
685
+
686
+
687
+ def write_outputs(dataset_level: pd.DataFrame, summary: pd.DataFrame) -> None:
688
+ ensure_out_dir()
689
+ dataset_csv_path = OUT_DIR / f"{FINAL_BASENAME}_dataset_level.csv"
690
+ summary_csv_path = OUT_DIR / f"{FINAL_BASENAME}_model_summary.csv"
691
+ sources_csv_path = OUT_DIR / f"{FINAL_BASENAME}_sources.csv"
692
+ tex_path = OUT_DIR / f"{FINAL_BASENAME}.tex"
693
+
694
+ dataset_level.to_csv(dataset_csv_path, index=False)
695
+ summary.to_csv(summary_csv_path, index=False)
696
+ build_source_manifest().to_csv(sources_csv_path, index=False)
697
+ tex_path.write_text(render_latex(summary), encoding="utf-8")
698
+
699
+
700
+ def main() -> None:
701
+ dataset_level = assemble_dataset_level_table()
702
+ summary = build_model_summary(dataset_level)
703
+ write_outputs(dataset_level, summary)
704
+
705
+
706
+ if __name__ == "__main__":
707
+ main()
evaluation/tables/benchmark_overall_table/final/README.md ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Final Assets
2
+
3
+ - `benchmark_overall_table_real.tex`: standalone LaTeX source for the real-data table
4
+ - `benchmark_overall_table_real.pdf`: compiled review PDF
5
+ - `benchmark_overall_table_real.png`: rendered one-page preview image
6
+ - `benchmark_overall_table_real_model_summary.csv`: model-level summary values, stds, counts, and ranks
7
+ - `benchmark_overall_table_real_dataset_level.csv`: dataset-level metric values used for the table
8
+ - `benchmark_overall_table_real_sources.csv`: source manifest for each displayed metric
9
+
10
+ This version follows the README's frozen paper-facing model roster and uses the current materialized evaluation data.
11
+
12
+ Current layout changes:
13
+
14
+ - removed the mid-table gray banner row
15
+ - added `Query overall` as the mean of the five query-centric family scores
16
+ - switched the classical submetrics back to raw distances (`JSD`, `KS`, `TVD`, `Wasserstein`)
17
+ - kept `Dist. overall` and `Query overall` visually emphasized with a light background
18
+ - reserved two blank `Cost` columns for later training/generation time values
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10cefa65ef8b0310f1d27d67e3ed83aab1e6705141650370b3e015a0b909bf9d
3
+ size 27896
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real.png ADDED

Git LFS Details

  • SHA256: 425d0f37524532ccba66567b21f29be32d218c664caa91c849c94b17709b62e0
  • Pointer size: 131 Bytes
  • Size of remote file: 216 kB
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real.tex ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \documentclass[10pt]{article}
2
+ \usepackage[a4paper,landscape,margin=0.60in]{geometry}
3
+ \usepackage[T1]{fontenc}
4
+ \usepackage[utf8]{inputenc}
5
+ \usepackage{newtxtext,newtxmath}
6
+ \usepackage{booktabs}
7
+ \usepackage[table]{xcolor}
8
+ \usepackage{array}
9
+ \usepackage{multirow}
10
+ \usepackage{caption}
11
+ \usepackage{microtype}
12
+ \usepackage{graphicx}
13
+ \captionsetup{font=small,labelfont=bf}
14
+ \definecolor{FirstPlace}{HTML}{1397B8}
15
+ \definecolor{SecondPlace}{HTML}{7B45E5}
16
+ \definecolor{ThirdPlace}{HTML}{F28E2B}
17
+ \definecolor{OverallTint}{HTML}{F8F1DA}
18
+ \definecolor{RuleGray}{HTML}{C8CDD3}
19
+ \arrayrulecolor{RuleGray}
20
+ \setlength{\tabcolsep}{4.0pt}
21
+ \renewcommand{\arraystretch}{1.12}
22
+
23
+ \begin{document}
24
+ \thispagestyle{empty}
25
+
26
+ \noindent{\small\textit{Conference-style benchmark summary for the evaluation section}}\\[-0.15em]
27
+ \noindent\color{RuleGray}\rule{\textwidth}{0.5pt}
28
+
29
+ \begin{table}[ht]
30
+ \centering
31
+ \caption{Benchmark-wide summary of the frozen paper-facing model set specified in the README figure convention: 11 synthetic generators plus the \texttt{REAL} reference row. We report mean $\pm$ std across covered datasets using the current materialized evaluation exports. Lower is better for the four raw classical distance columns; higher is better for the two overall columns and the five query-centric family scores. The {\color{FirstPlace} First}, {\color{SecondPlace} Second}, and {\color{ThirdPlace} Third} best synthetic-model values in each column are highlighted with the same colors used in the table.}
32
+ \label{tab:benchmark_overall_real}
33
+ \footnotesize
34
+ \resizebox{\textwidth}{!}{%
35
+ \begin{tabular}{@{}l c c c c c c c c c c c c c@{}}
36
+ \toprule
37
+ \multirow{2}{*}{\textbf{Generator}} & \multicolumn{5}{c}{\textbf{Classical Fidelity}} & \multicolumn{6}{c}{\textbf{Query-centric Families}} & \multicolumn{2}{c}{\textbf{Cost}} \\
38
+ \cmidrule(lr){2-6}
39
+ \cmidrule(lr){7-12}
40
+ \cmidrule(lr){13-14}
41
+ & \cellcolor{OverallTint} Dist. overall $\uparrow$ & JSD $\downarrow$ & KS $\downarrow$ & TVD $\downarrow$ & Wasserstein $\downarrow$ & \cellcolor{OverallTint} Query overall $\uparrow$ & Subgroup $\uparrow$ & Conditional $\uparrow$ & Tail $\uparrow$ & Missingness $\uparrow$ & Cardinality $\uparrow$ & Train time & Gen. time \\
42
+ \midrule
43
+ REAL & \cellcolor{OverallTint} 1.00$_{\pm 0.00}$ & 0.00$_{\pm 0.00}$ & 0.00$_{\pm 0.00}$ & 0.00$_{\pm 0.00}$ & 0.00$_{\pm 0.00}$ & \cellcolor{OverallTint} 1.00$_{\pm 0.00}$ & 1.00$_{\pm 0.00}$ & 1.00$_{\pm 0.00}$ & 1.00$_{\pm 0.00}$ & 1.00$_{\pm 0.00}$ & 1.00$_{\pm 0.00}$ & & \\
44
+ ARF & \cellcolor{OverallTint} {\color{SecondPlace}\textbf{0.91$_{\pm 0.13}$}} & {\color{ThirdPlace}\textbf{0.17$_{\pm 0.28}$}} & {\color{SecondPlace}\textbf{0.06$_{\pm 0.05}$}} & {\color{ThirdPlace}\textbf{0.15$_{\pm 0.27}$}} & {\color{SecondPlace}\textbf{0.02$_{\pm 0.02}$}} & \cellcolor{OverallTint} 0.49$_{\pm 0.19}$ & 0.43$_{\pm 0.17}$ & 0.48$_{\pm 0.21}$ & {\color{ThirdPlace}\textbf{0.41$_{\pm 0.28}$}} & 0.86$_{\pm 0.26}$ & 0.54$_{\pm 0.30}$ & & \\
45
+ BayesNet & \cellcolor{OverallTint} 0.86$_{\pm 0.16}$ & 0.19$_{\pm 0.28}$ & 0.16$_{\pm 0.16}$ & 0.17$_{\pm 0.27}$ & 0.05$_{\pm 0.07}$ & \cellcolor{OverallTint} {\color{SecondPlace}\textbf{0.58$_{\pm 0.17}$}} & {\color{ThirdPlace}\textbf{0.44$_{\pm 0.17}$}} & {\color{ThirdPlace}\textbf{0.49$_{\pm 0.19}$}} & {\color{SecondPlace}\textbf{0.48$_{\pm 0.30}$}} & 0.82$_{\pm 0.25}$ & {\color{SecondPlace}\textbf{0.83$_{\pm 0.22}$}} & & \\
46
+ CTGAN & \cellcolor{OverallTint} 0.81$_{\pm 0.13}$ & 0.22$_{\pm 0.22}$ & 0.27$_{\pm 0.18}$ & 0.20$_{\pm 0.22}$ & 0.08$_{\pm 0.07}$ & \cellcolor{OverallTint} {\color{ThirdPlace}\textbf{0.52$_{\pm 0.17}$}} & 0.41$_{\pm 0.18}$ & 0.46$_{\pm 0.20}$ & 0.35$_{\pm 0.22}$ & 0.81$_{\pm 0.27}$ & {\color{ThirdPlace}\textbf{0.77$_{\pm 0.22}$}} & & \\
47
+ ForestDiffusion & \cellcolor{OverallTint} 0.59$_{\pm 0.25}$ & 0.73$_{\pm 0.38}$ & 0.13$_{\pm 0.12}$ & 0.73$_{\pm 0.38}$ & 0.03$_{\pm 0.04}$ & \cellcolor{OverallTint} 0.24$_{\pm 0.12}$ & 0.26$_{\pm 0.19}$ & 0.30$_{\pm 0.19}$ & 0.11$_{\pm 0.19}$ & {\color{SecondPlace}\textbf{0.96$_{\pm 0.00}$}} & 0.28$_{\pm 0.24}$ & & \\
48
+ RealTabFormer & \cellcolor{OverallTint} {\color{FirstPlace}\textbf{0.91$_{\pm 0.15}$}} & {\color{FirstPlace}\textbf{0.15$_{\pm 0.24}$}} & {\color{FirstPlace}\textbf{0.05$_{\pm 0.09}$}} & {\color{FirstPlace}\textbf{0.14$_{\pm 0.24}$}} & {\color{FirstPlace}\textbf{0.01$_{\pm 0.01}$}} & \cellcolor{OverallTint} {\color{FirstPlace}\textbf{0.63$_{\pm 0.13}$}} & {\color{FirstPlace}\textbf{0.49$_{\pm 0.13}$}} & {\color{FirstPlace}\textbf{0.58$_{\pm 0.15}$}} & {\color{FirstPlace}\textbf{0.54$_{\pm 0.26}$}} & {\color{FirstPlace}\textbf{0.96$_{\pm 0.05}$}} & {\color{FirstPlace}\textbf{0.84$_{\pm 0.21}$}} & & \\
49
+ TabbyFlow & \cellcolor{OverallTint} 0.78$_{\pm 0.26}$ & 0.34$_{\pm 0.38}$ & 0.09$_{\pm 0.06}$ & 0.32$_{\pm 0.38}$ & 0.04$_{\pm 0.04}$ & \cellcolor{OverallTint} 0.40$_{\pm 0.16}$ & 0.40$_{\pm 0.18}$ & 0.44$_{\pm 0.22}$ & 0.23$_{\pm 0.28}$ & 0.65$_{\pm 0.32}$ & 0.47$_{\pm 0.33}$ & & \\
50
+ TabDDPM & \cellcolor{OverallTint} 0.56$_{\pm 0.29}$ & 0.59$_{\pm 0.37}$ & 0.35$_{\pm 0.32}$ & 0.57$_{\pm 0.38}$ & 0.23$_{\pm 0.20}$ & \cellcolor{OverallTint} 0.32$_{\pm 0.13}$ & 0.31$_{\pm 0.19}$ & 0.35$_{\pm 0.20}$ & 0.23$_{\pm 0.25}$ & 0.70$_{\pm 0.35}$ & 0.38$_{\pm 0.22}$ & & \\
51
+ TabDiff & \cellcolor{OverallTint} {\color{ThirdPlace}\textbf{0.86$_{\pm 0.23}$}} & {\color{SecondPlace}\textbf{0.16$_{\pm 0.26}$}} & {\color{ThirdPlace}\textbf{0.07$_{\pm 0.06}$}} & {\color{SecondPlace}\textbf{0.14$_{\pm 0.25}$}} & 0.04$_{\pm 0.05}$ & \cellcolor{OverallTint} 0.39$_{\pm 0.14}$ & {\color{SecondPlace}\textbf{0.47$_{\pm 0.18}$}} & {\color{SecondPlace}\textbf{0.54$_{\pm 0.22}$}} & 0.11$_{\pm 0.21}$ & {\color{ThirdPlace}\textbf{0.89$_{\pm 0.11}$}} & 0.36$_{\pm 0.33}$ & & \\
52
+ TabPFGen & \cellcolor{OverallTint} 0.86$_{\pm 0.14}$ & 0.23$_{\pm 0.26}$ & 0.10$_{\pm 0.09}$ & 0.21$_{\pm 0.26}$ & {\color{ThirdPlace}\textbf{0.02$_{\pm 0.02}$}} & \cellcolor{OverallTint} 0.49$_{\pm 0.18}$ & 0.42$_{\pm 0.19}$ & 0.49$_{\pm 0.21}$ & 0.36$_{\pm 0.27}$ & 0.77$_{\pm 0.30}$ & 0.67$_{\pm 0.28}$ & & \\
53
+ TabSyn & \cellcolor{OverallTint} 0.68$_{\pm 0.26}$ & 0.60$_{\pm 0.43}$ & 0.07$_{\pm 0.08}$ & 0.60$_{\pm 0.43}$ & 0.02$_{\pm 0.03}$ & \cellcolor{OverallTint} 0.32$_{\pm 0.15}$ & 0.32$_{\pm 0.18}$ & 0.33$_{\pm 0.19}$ & 0.22$_{\pm 0.31}$ & 0.69$_{\pm 0.30}$ & 0.44$_{\pm 0.29}$ & & \\
54
+ TVAE & \cellcolor{OverallTint} 0.80$_{\pm 0.18}$ & 0.26$_{\pm 0.28}$ & 0.25$_{\pm 0.17}$ & 0.24$_{\pm 0.28}$ & 0.08$_{\pm 0.08}$ & \cellcolor{OverallTint} 0.47$_{\pm 0.16}$ & 0.39$_{\pm 0.18}$ & 0.44$_{\pm 0.20}$ & 0.31$_{\pm 0.20}$ & 0.76$_{\pm 0.25}$ & 0.69$_{\pm 0.23}$ & & \\
55
+ \bottomrule
56
+ \end{tabular}%
57
+ }
58
+
59
+ \vspace{0.45em}
60
+ \begin{minipage}{0.95\linewidth}
61
+ \small
62
+ \textit{Note.} The \texttt{REAL} row is a self-comparison reference row. For raw distance columns it is fixed to 0.00; for \texttt{Dist. overall}, \texttt{Query overall}, and the five family-score columns it is fixed to 1.00. The cost columns are intentionally left blank as placeholders for the training-time and generation-time statistics that will be added next.
63
+ \end{minipage}
64
+ \end{table}
65
+
66
+ \end{document}
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real_dataset_level.csv ADDED
The diff for this file is too large to render. See raw diff
 
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real_model_summary.csv ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_id,model_label,row_kind,model_order,distance_overall_mean,distance_overall_std,distance_overall_count,jsd_distance_mean,jsd_distance_std,jsd_distance_count,ks_distance_mean,ks_distance_std,ks_distance_count,tvd_distance_mean,tvd_distance_std,tvd_distance_count,wasserstein_distance_mean,wasserstein_distance_std,wasserstein_distance_count,query_overall_mean,query_overall_std,query_overall_count,subgroup_structure_mean,subgroup_structure_std,subgroup_structure_count,conditional_dependency_structure_mean,conditional_dependency_structure_std,conditional_dependency_structure_count,tail_breakdown_mean,tail_breakdown_std,tail_breakdown_count,missingness_structure_mean,missingness_structure_std,missingness_structure_count,cardinality_structure_mean,cardinality_structure_std,cardinality_structure_count,distance_overall_rank,jsd_distance_rank,ks_distance_rank,tvd_distance_rank,wasserstein_distance_rank,query_overall_rank,subgroup_structure_rank,conditional_dependency_structure_rank,tail_breakdown_rank,missingness_structure_rank,cardinality_structure_rank,train_time_mean,train_time_std,train_time_count,train_time_rank,generation_time_mean,generation_time_std,generation_time_count,generation_time_rank
2
+ real,REAL,reference,0,1.0,0.0,51,0.0,0.0,46,0.0,0.0,45,0.0,0.0,46,0.0,0.0,45,1.0,0.0,48.0,1.0,0.0,48,1.0,0.0,48.0,1.0,0.0,48.0,1.0,0.0,49.0,1.0,0.0,51.0,,,,,,,,,,,,,,,,,,,
3
+ arf,ARF,synthetic,1,0.9055677339404236,0.1333881397455527,51,0.1686396570275395,0.2764149542556469,46,0.0645690738100766,0.049907547495445,45,0.1493555765718291,0.2729443793473305,46,0.0166554721368002,0.0184711747419083,45,0.643119,0.13158603867815455,48.0,0.684076,0.321546,48,0.636626,0.303188,48.0,0.414352,0.284643,48.0,0.859576,0.26205,49.0,0.620965,0.2964211631550952,51.0,2,3,2,3,2,,,,3,,,,,,,,,,
4
+ bayesnet,BayesNet,synthetic,2,0.861035489268572,0.1593255314864186,51,0.1918693056218474,0.2800423569438904,46,0.1616965450041834,0.164071501507166,45,0.1722786777282608,0.2737268795663723,46,0.0531572132667621,0.0716268804514982,45,0.7219329999999999,0.1246361769348849,48.0,0.701987,0.311266,48,0.669044,0.295311,48.0,0.483312,0.304243,48.0,0.823078,0.25411,49.0,0.932244,0.2170797328116985,51.0,,,,,,2,2,2,2,,1,,,,,,,,
5
+ ctgan,CTGAN,synthetic,3,0.8123072203677638,0.1340834517063039,47,0.219691845098548,0.2247743333595948,42,0.2725301758760839,0.1751933148359343,41,0.1984126249595633,0.2230617189002497,42,0.0769921254260524,0.0734695062634974,41,0.648922,0.12066862561173064,46.0,0.646701,0.331962,46,0.614117,0.290979,46.0,0.352728,0.222595,46.0,0.813005,0.269961,47.0,0.818059,0.2161663867131066,47.0,,,,,,,,,,,,,,,,,,,
6
+ forestdiffusion,ForestDiffusion,synthetic,4,0.5925712871560507,0.2547762025891855,26,0.7322393215511053,0.3783942994030074,23,0.1299335791997103,0.1184333131601377,22,0.7279594738895535,0.3812325179548685,23,0.0263303206965842,0.0373561705738879,22,0.42582339999999996,0.11597133578791204,17.0,0.262739,0.366351,26,0.315026,0.328952,26.0,0.113008,0.187357,17.0,0.960127,0.0,17.0,0.478217,0.242298677579586,17.0,,,,,,,,,,2,,,,,,,,,
7
+ realtabformer,RealTabFormer,synthetic,5,0.9119509283786016,0.1451802414589032,43,0.1497545658967733,0.239130788036234,39,0.0510948888254557,0.0871233952919869,37,0.135424083380648,0.2350291514824929,39,0.0099635786028176,0.0111886501183175,37,0.797364,0.0928887470574327,43.0,0.82744,0.229083,44,0.787366,0.227502,44.0,0.53603,0.25663,43.0,0.962799,0.051631,43.0,0.873185,0.2072367855702573,43.0,1,1,1,1,1,1,1,1,1,1,3,,,,,,,,
8
+ tabbyflow,TabbyFlow,synthetic,6,0.7803487806830286,0.2647595121199843,31,0.3371916192967019,0.3759259151494235,28,0.092362699816346,0.0603765810471224,25,0.320967535858944,0.3775135314149407,28,0.0373122167085066,0.0417046379487634,25,0.5397299999999999,0.15291224702916306,31.0,0.598026,0.392722,31,0.553941,0.370259,31.0,0.230673,0.283262,31.0,0.653499,0.323997,31.0,0.662511,0.3286642196371467,31.0,,,,,,,,,,,,,,,,,,,
9
+ tabddpm,TabDDPM,synthetic,7,0.5596512250922409,0.2897333382506756,38,0.5859943571319134,0.3743921778034383,33,0.3549974755634268,0.3205824124287394,32,0.5742949153608327,0.3819985280531603,33,0.2259653940422593,0.2011258303268372,32,0.42753680000000005,0.1439636066073658,37.0,0.346872,0.403939,37,0.367564,0.348157,37.0,0.225363,0.252863,37.0,0.699048,0.351026,38.0,0.498837,0.2158681052633974,38.0,,,,,,,,,,,,,,,,,,,
10
+ tabdiff,TabDiff,synthetic,8,0.8642207911323687,0.2285573705357203,16,0.1575009106429631,0.2574055613404875,15,0.0657045997185684,0.0608648949933885,11,0.1398062775994466,0.2504622488314508,15,0.0357020079569338,0.0518114046735985,11,0.578308,0.13005529762782775,14.0,0.700413,0.364624,17,0.650655,0.355229,17.0,0.10507,0.212247,14.0,0.885162,0.106016,14.0,0.55024,0.3277697758253061,14.0,3,2,3,2,,,3,,,3,,,,,,,,,
11
+ tabpfgen,TabPFGen,synthetic,9,0.8589910872863241,0.1395862266369712,38,0.2349422625839788,0.2638710801433853,34,0.0999793956797353,0.0877715947372478,33,0.212259362749018,0.2580033945635038,34,0.0171815687182266,0.0170723486371264,33,0.6730533999999999,0.13635447651457855,38.0,0.657221,0.361244,38,0.653108,0.309824,38.0,0.357444,0.265057,38.0,0.769764,0.296933,38.0,0.92773,0.2826676907414761,38.0,,,,,3,3,,3,,,2,,,,,,,,
12
+ tabsyn,TabSyn,synthetic,10,0.680213628669073,0.2617339963545282,45,0.6021720821940022,0.4271114312428491,40,0.0673613378995536,0.0774427252296879,39,0.5950739028662382,0.4344746519219425,40,0.0212440715837567,0.0259327651665431,39,0.461801,0.15023032938986372,34.0,0.381235,0.404316,45,0.37237,0.359189,45.0,0.221835,0.309424,34.0,0.685331,0.300099,34.0,0.648234,0.2931518540972815,34.0,,,,,,,,,,,,,,,,,,,
13
+ tvae,TVAE,synthetic,11,0.7975667886162016,0.175082620468212,49,0.2617806897807341,0.2789644437070004,44,0.2549778527752194,0.170972398606608,43,0.2366478995558346,0.2798111009116718,44,0.0808083449594111,0.0835453885451198,43,0.5881488,0.11704988793388368,47.0,0.59234,0.318457,47,0.574173,0.294348,47.0,0.311286,0.201439,47.0,0.755833,0.246376,47.0,0.707112,0.2306133053042871,48.0,,,,,,,,,,,,,,,,,,,
evaluation/tables/benchmark_overall_table/final/benchmark_overall_table_real_sources.csv ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ metric_key,metric_group,metric_title,source_kind,source_file
2
+ distance_overall,Classical Fidelity,Dist. overall $\uparrow$,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv
3
+ jsd_distance,Classical Fidelity,JSD $\downarrow$,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv
4
+ ks_distance,Classical Fidelity,KS $\downarrow$,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv
5
+ tvd_distance,Classical Fidelity,TVD $\downarrow$,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv
6
+ wasserstein_distance,Classical Fidelity,Wasserstein $\downarrow$,distance_dataset_export,Evaluation/distance/runs/*/datasets/*/distance_summary__*.csv
7
+ query_overall,Query-centric Families,Query overall $\uparrow$,derived_query_overall_v2,Derived from the five v2 query-family model summaries in benchmark_overall_table_real_model_summary.csv.
8
+ subgroup_structure,Query-centric Families,Subgroup $\uparrow$,query_family_model_summary_v2,Evaluation/query_fivepart_breakdown/subgroup_breakdown/final/v2/model_summary__v2.csv
9
+ conditional_dependency_structure,Query-centric Families,Conditional $\uparrow$,query_family_model_summary_v2,Evaluation/query_fivepart_breakdown/conditional_breakdown/final/v2/model_summary__v2.csv
10
+ tail_breakdown,Query-centric Families,Tail $\uparrow$,query_family_model_summary_v2,Evaluation/query_fivepart_breakdown/tail_breakdown/final/v2/model_summary__v2.csv
11
+ missingness_structure,Query-centric Families,Missingness $\uparrow$,query_family_model_summary_v2,Evaluation/query_fivepart_breakdown/missingness_breakdown/final/v2/model_summary__v2.csv
12
+ cardinality_structure,Query-centric Families,Cardinality $\uparrow$,query_family_model_summary_v2,Evaluation/query_fivepart_breakdown/cardinality/final/summary_by_model__v2.csv
13
+ train_time,Cost,Train time,placeholder,Reserved placeholder column; real values will be added later.
14
+ generation_time,Cost,Gen. time,placeholder,Reserved placeholder column; real values will be added later.
15
+ real_reference_rows,Reference,REAL self-comparison rows,derived_reference,Generated in build_overall_benchmark_table.py from the applicable dataset coverage of each metric.