diff --git a/10-core-0.05/seed2020/baseline_result.json b/10-core-0.05/seed2020/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..66eb9bcd251cda1d452623567f796a23180460af --- /dev/null +++ b/10-core-0.05/seed2020/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "split": [ + 0.05, + 0.85, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T00:43:57.214209+00:00", + "best_valid_score": 0.0748, + "best_valid_result": { + "recall@10": 0.0977, + "mrr@10": 0.0952, + "ndcg@10": 0.0748, + "hit@10": 0.171, + "precision@10": 0.0214 + }, + "test_result": { + "recall@10": 0.0583, + "mrr@10": 0.0354, + "ndcg@10": 0.0384, + "hit@10": 0.0684, + "precision@10": 0.007 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.03, + "test_result": { + "recall@10": 0.0226, + "mrr@10": 0.0086, + "ndcg@10": 0.0108, + "hit@10": 0.0286, + "precision@10": 0.0029 + }, + "checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0452, + "test_result": { + "recall@10": 0.0389, + "mrr@10": 0.0216, + "ndcg@10": 0.0244, + "hit@10": 0.0447, + "precision@10": 0.0045 + }, + "checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0595, + "test_result": { + "recall@10": 0.0468, + "mrr@10": 0.0279, + "ndcg@10": 0.0305, + "hit@10": 0.0542, + "precision@10": 0.0055 + }, + "checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0681, + "test_result": { + "recall@10": 0.0531, + "mrr@10": 0.0317, + "ndcg@10": 0.0347, + "hit@10": 0.0619, + "precision@10": 0.0063 + }, + "checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0748, + "test_result": { + "recall@10": 0.0583, + "mrr@10": 0.0354, + "ndcg@10": 0.0384, + "hit@10": 0.0684, + "precision@10": 0.007 + }, + "checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.05/seed2020/saved/CFKG-Aug-03-2026_07-40-39.pth", + "checkpoint_dir": "./Code/10-core-0.05/seed2020/saved", + "dataset_cache_source": "created" +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/inference_result.json b/10-core-0.05/seed2020/inference_result.json new file mode 100644 index 0000000000000000000000000000000000000000..ac91b03b93688e18e722ce7a9b46a91682d6e5e1 --- /dev/null +++ b/10-core-0.05/seed2020/inference_result.json @@ -0,0 +1,404 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "epoch": null, + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-Aug-02-2026_14-29-07.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent.zip", + "timestamp": "2026-08-02T15:39:16.463331+00:00", + "provisional": true, + "provisional_note": "Timing numbers are a live sample of whatever else is running on this machine at collection time; re-collect with --final on an idle machine before quoting them. See system_load_at_collection for objective evidence of contention at collection time.", + "system_load_at_collection": { + "loadavg_1min": 6.13330078125, + "loadavg_5min": 6.4033203125, + "loadavg_15min": 5.92431640625, + "cpu_count": 12 + }, + "torch_num_threads": 1, + "device": "cpu", + "measurement_params": { + "n_users_requested": 4, + "n_users_available_in_test_split": 10461, + "n_users_used": 4, + "repeats": 2, + "batch_sizes": [ + 1, + 8, + 256 + ], + "k_candidates": 20, + "num_attempts_per_item": 2, + "path_length": 8, + "top_k_graph_branching": 16, + "embedding_size": 64, + "rec_prediction_batch_size_for_ppv_candidates": 256 + }, + "one_time_costs_seconds": { + "model_load": 3.4944282919168472, + "agent_load": 1.023158916970715, + "note": "one-time process-startup costs, amortized across every request in a real deployment; not part of the per-user ms figures below" + }, + "baseline_retrieval_ms_per_user_by_batch_size": [ + { + "batch_size": 1, + "n_users_requested": 4, + "n_users_with_candidates": 4, + "n_candidate_pairs": 80, + "ms_per_user": { + "median": 0.7626822480233386, + "min": 0.46433325042016804, + "max": 1.0610312456265092, + "stdev": 0.2983489976031706, + "n_samples": 2, + "samples": [ + 1.0610312456265092, + 0.46433325042016804 + ] + } + }, + { + "batch_size": 8, + "n_users_requested": 4, + "n_users_with_candidates": 4, + "n_candidate_pairs": 80, + "ms_per_user": { + "median": 0.3282917459728196, + "min": 0.2339272468816489, + "max": 0.42265624506399035, + "stdev": 0.09436449909117073, + "n_samples": 2, + "samples": [ + 0.42265624506399035, + 0.2339272468816489 + ] + } + }, + { + "batch_size": 256, + "n_users_requested": 4, + "n_users_with_candidates": 4, + "n_candidate_pairs": 80, + "ms_per_user": { + "median": 0.2283177454955876, + "min": 0.22829175577498972, + "max": 0.22834373521618545, + "stdev": 2.5989720597863197e-05, + "n_samples": 2, + "samples": [ + 0.22829175577498972, + 0.22834373521618545 + ] + } + } + ], + "ppv_verification_ms_per_user": { + "median": 28.28406245680526, + "min": 16.977083985693753, + "max": 33.47183298319578, + "stdev": 6.123776689627565, + "n_samples": 8, + "samples": [ + 31.59558307379484, + 22.435709019191563, + 33.47183298319578, + 17.71012507379055, + 28.86137494351715, + 27.70674997009337, + 32.33420802280307, + 16.977083985693753 + ] + }, + "ppv_phase_breakdown": { + "graph_neighbour_lookup_ms": { + "total": 6.966669228859246, + "per_user_verification": 0.8708336536074057, + "calls": 1419 + }, + "tns_pruning_ms": { + "total": 61.442681355401874, + "per_user_verification": 7.680335169425234, + "calls": 1419, + "note": "cosine-similarity ranking only; graph_neighbour_lookup_ms subtracted out since it is nested inside this call" + }, + "policy_forward_ms": { + "total": 106.20804224163294, + "per_user_verification": 13.276005280204117, + "calls": 1419 + }, + "env_reset_step_overhead_ms": { + "total": 33.2056290935725, + "per_user_verification": 4.150703636696562, + "note": "reset()+step() own time with the nested TNS-pruning call (which both invoke) subtracted out; covers task sampling, observation-tensor construction and reward shaping" + }, + "note": "instrumented via timing wrappers around the real env/agent methods called inside the unmodified find_path_with_rl, not a reimplementation; components are additive by construction but do not exhaust total wall time (Python dispatch inside find_path_with_rl/verify loop itself is unattributed)." + }, + "regimes": { + "sequential_per_candidate": { + "label": "sequential (fair, apples-to-apples)", + "description": "Baseline measured at batch_size=1 (no cross-user batching), the same regime PPV verification runs in natively. This is the comparison to quote as the headline ratio.", + "baseline_batch_size": 1, + "baseline_ms_per_user": 0.7626822480233386, + "ppv_ms_per_user": 28.28406245680526, + "total_ms_per_user": 29.046744704828598, + "additive_overhead_ms_per_user": 28.28406245680526, + "additive_overhead_pct_of_baseline": 3708.4988578283715 + }, + "batched_baseline": { + "label": "baseline batched, PPV sequential (batching-efficiency ratio, not a PPV property)", + "description": "Baseline measured at batch_size=256 (its most favourable measured batching), PPV still sequential (it has no batched regime in this codebase). The gap here is mostly baseline batching efficiency, not verification cost -- see methodology note.", + "baseline_batch_size": 256, + "baseline_ms_per_user": 0.2283177454955876, + "ppv_ms_per_user": 28.28406245680526, + "total_ms_per_user": 28.512380202300847, + "additive_overhead_ms_per_user": 28.28406245680526, + "additive_overhead_pct_of_baseline": 12388.026342591873 + } + }, + "accuracy_coverage_from_existing_seeds": { + "source": "read-only from existing Code/10-core-0.05/seed*/verify_result.json; these files are hours of compute and are never modified, re-derived or regenerated by this script", + "n_seeds": 5, + "per_seed": [ + { + "seed": 2020, + "source_file": "Code/10-core-0.05/seed2020/verify_result.json", + "baseline_ndcg@10": 0.03831011029899394, + "ppv_ndcg@10": 0.04666156636766747, + "ndcg_relative_gain_pct": 21.79961374032599, + "baseline_itemcoverage@10": 0.8953470155099483, + "ppv_itemcoverage@10": 0.5293749020836597, + "coverage_relative_change_pct": -40.87489063867017, + "candidate_pass_rate": 0.4755138132109741 + }, + { + "seed": 2021, + "source_file": "Code/10-core-0.05/seed2021/verify_result.json", + "baseline_ndcg@10": 0.03785602489070404, + "ppv_ndcg@10": 0.04703091586371376, + "ndcg_relative_gain_pct": 24.236276786849626, + "baseline_itemcoverage@10": 0.9092903023656588, + "ppv_itemcoverage@10": 0.48597838007206645, + "coverage_relative_change_pct": -46.554100620261885, + "candidate_pass_rate": 0.4247920848867221 + }, + { + "seed": 2022, + "source_file": "Code/10-core-0.05/seed2022/verify_result.json", + "baseline_ndcg@10": 0.04250730438956344, + "ppv_ndcg@10": 0.051666826796672484, + "ndcg_relative_gain_pct": 21.548113997456696, + "baseline_itemcoverage@10": 0.8998903336988877, + "ppv_itemcoverage@10": 0.5159016136612878, + "coverage_relative_change_pct": -42.670612813370475, + "candidate_pass_rate": 0.4326450626135169 + }, + { + "seed": 2023, + "source_file": "Code/10-core-0.05/seed2023/verify_result.json", + "baseline_ndcg@10": 0.03746844473992989, + "ppv_ndcg@10": 0.04744546341191561, + "ndcg_relative_gain_pct": 26.627789707410177, + "baseline_itemcoverage@10": 0.9006736644211186, + "ppv_itemcoverage@10": 0.5071283095723014, + "coverage_relative_change_pct": -43.6945555748826, + "candidate_pass_rate": 0.41712551381321095 + }, + { + "seed": 2024, + "source_file": "Code/10-core-0.05/seed2024/verify_result.json", + "baseline_ndcg@10": 0.03944427865243958, + "ppv_ndcg@10": 0.04866990734626481, + "ndcg_relative_gain_pct": 23.389016123519937, + "baseline_itemcoverage@10": 0.9014569951433495, + "ppv_itemcoverage@10": 0.5246749177502742, + "coverage_relative_change_pct": -41.797010775112966, + "candidate_pass_rate": 0.4098652136507026 + } + ], + "baseline_ndcg@10": { + "mean": 0.03911723259432618, + "sd": 0.0020347075073025617, + "n": 5 + }, + "ppv_ndcg@10": { + "mean": 0.04829493595724683, + "sd": 0.0020308556074887635, + "n": 5 + }, + "baseline_itemcoverage@10": { + "mean": 0.9013316622277926, + "sd": 0.00504187580576425, + "n": 5 + }, + "ppv_itemcoverage@10": { + "mean": 0.5126116246279179, + "sd": 0.017151902222674202, + "n": 5 + }, + "candidate_pass_rate": { + "mean": 0.4319883376350253, + "sd": 0.02577314742232386, + "n": 5 + }, + "ndcg_relative_gain_pct": { + "mean": 23.520162071112484, + "sd": 2.063772591331716, + "n": 5 + }, + "ndcg_relative_gain_pct_95ci": { + "mean": 23.520162071112484, + "margin": 2.5625121271362814, + "low": 20.957649943976204, + "high": 26.082674198248764, + "n": 5 + }, + "coverage_relative_change_pct": { + "mean": -43.11823408445962, + "sd": 2.186087313182394, + "n": 5 + } + }, + "cost_benefit_table": { + "serving_batch_size": 256, + "baseline": { + "ms_per_user": 0.2283177454955876, + "users_per_sec": 4379.8610477227485, + "ndcg@10": { + "mean": 0.03911723259432618, + "sd": 0.0020347075073025617, + "n": 5 + }, + "itemcoverage@10": { + "mean": 0.9013316622277926, + "sd": 0.00504187580576425, + "n": 5 + } + }, + "baseline_plus_ppv": { + "ms_per_user": 28.512380202300847, + "users_per_sec": 35.072484054463594, + "ndcg@10": { + "mean": 0.04829493595724683, + "sd": 0.0020308556074887635, + "n": 5 + }, + "itemcoverage@10": { + "mean": 0.5126116246279179, + "sd": 0.017151902222674202, + "n": 5 + } + }, + "delta": { + "ms_per_user": 28.28406245680526, + "latency_pct_of_baseline": 12388.026342591873, + "ndcg@10_relative_gain_pct": { + "mean": 23.520162071112484, + "sd": 2.063772591331716, + "n": 5 + }, + "itemcoverage@10_relative_change_pct": { + "mean": -43.11823408445962, + "sd": 2.186087313182394, + "n": 5 + } + }, + "accuracy_coverage_available": true + }, + "throughput_and_overhead_by_batch_size": { + "by_batch_size": [ + { + "batch_size": 1, + "baseline_ms_per_user": 0.7626822480233386, + "baseline_users_per_sec": 1311.1620240168477, + "pipeline_ms_per_user": 29.046744704828598, + "pipeline_users_per_sec": 34.42726578010529, + "overhead_pct_of_baseline": 3708.4988578283715 + }, + { + "batch_size": 8, + "baseline_ms_per_user": 0.3282917459728196, + "baseline_users_per_sec": 3046.071100681262, + "pipeline_ms_per_user": 28.61235420277808, + "pipeline_users_per_sec": 34.94993781053173, + "overhead_pct_of_baseline": 8615.526525953836 + }, + { + "batch_size": 256, + "baseline_ms_per_user": 0.2283177454955876, + "baseline_users_per_sec": 4379.8610477227485, + "pipeline_ms_per_user": 28.512380202300847, + "pipeline_users_per_sec": 35.072484054463594, + "overhead_pct_of_baseline": 12388.026342591873 + } + ], + "smallest_overhead": { + "batch_size": 1, + "baseline_ms_per_user": 0.7626822480233386, + "baseline_users_per_sec": 1311.1620240168477, + "pipeline_ms_per_user": 29.046744704828598, + "pipeline_users_per_sec": 34.42726578010529, + "overhead_pct_of_baseline": 3708.4988578283715 + }, + "largest_overhead": { + "batch_size": 256, + "baseline_ms_per_user": 0.2283177454955876, + "baseline_users_per_sec": 4379.8610477227485, + "pipeline_ms_per_user": 28.512380202300847, + "pipeline_users_per_sec": 35.072484054463594, + "overhead_pct_of_baseline": 12388.026342591873 + }, + "note": "PPV's own cost is roughly constant per user, so this ratio is mostly a property of how well the baseline batches, not of PPV; never quote overhead_pct_of_baseline without the batch_size it was measured at." + }, + "memory_mb": { + "at_start": 204.484375, + "after_model_load": 1207.75, + "after_baseline_sweep": 1225.328125, + "after_agent_load": 1291.984375, + "after_ppv": 1394.8125, + "baseline_arm_peak_mb": 1225.328125, + "ppv_arm_peak_mb": 1394.8125, + "ppv_incremental_mb": 169.484375, + "note": "Single process; CFKG checkpoint stays resident for both arms (never streamed from disk per request). ru_maxrss is a monotonic high-water mark, so ppv_arm_peak_mb necessarily includes everything baseline_arm_peak_mb already held -- that is the one consistent 'both arms' weights resident' scenario used for both numbers, not two independently profiled processes. ppv_incremental_mb is the memory added specifically by the CKG graph, node-embedding tensor and TRPO agent on top of what baseline already needed." + }, + "macs_per_user": { + "baseline": { + "embedding_size": 64, + "n_items_scored_per_user": 6383, + "macs_per_user": 408512, + "assumptions": "CFKG's TransE-style score is -||user_e + r_e - item_e||_2. Counted as embedding_size multiply-accumulate ops per item, from the sum-of-squared-differences reduction only; the two elementwise add/subtract steps forming (user_e + r_e - item_e) are pure additions, and sqrt is a single scalar op, so neither is counted as a MAC. n_items_scored_per_user is dataset.item_num because the repeat_interleave fallback scores the entire catalog per user, not just k_candidates." + }, + "ppv": { + "policy_forward_macs_per_step": 41984, + "policy_actor_linear_layers": [ + { + "name": "mlp_extractor.policy_net.0", + "in_features": 576, + "out_features": 64, + "macs": 36864 + }, + { + "name": "mlp_extractor.policy_net.2", + "in_features": 64, + "out_features": 64, + "macs": 4096 + }, + { + "name": "action_net", + "in_features": 64, + "out_features": 16, + "macs": 1024 + } + ], + "worst_case_policy_forward_calls_per_user": 320, + "worst_case_macs_per_user": 13434880, + "empirical_policy_forward_calls_per_user": 177.375, + "empirical_macs_per_user": 7446912.0, + "assumptions": "policy_forward_macs_per_step sums in_features*out_features over every torch.nn.Linear submodule on the actor path of the actually-loaded agent's policy (mlp_extractor.policy_net + action_net), excluding the value network, since agent.predict() only evaluates the actor; activation-function and layernorm costs are not counted. worst_case assumes every attempt runs the full path_length with no early termination on success or on reaching the target; empirical uses the actual number of agent.predict() calls observed during this run's (contended) PPV timing pass -- that call count, unlike wall-clock duration, is not affected by CPU contention from other processes on the machine." + }, + "tns_pruning": "Not analytically bounded: its arithmetic cost is dot-product cosine similarity over the current node's raw graph degree, which is data-dependent and not a fixed config parameter. See phase_breakdown's tns_pruning_ms for the empirical substitute." + }, + "methodology_note": "PPV is additive: total = baseline + PPV, never a substitute. Both arms are measured in the same process with both sets of weights resident throughout (memory_mb). The headline ratio depends heavily on baseline batch size, not on PPV (which is roughly constant per user); quote the absolute ms/user figures as primary and the ratio as secondary, always with its baseline batch_size stated (see cost_benefit_table and throughput_and_overhead_by_batch_size)." +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/ppv_agent.zip b/10-core-0.05/seed2020/ppv_agent.zip new file mode 100644 index 0000000000000000000000000000000000000000..1e727b683f97cc548e900ef43f23853baf7ad6ff --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21455a2c689e59bd7dac641a8464c44e3e8aa7cbdb01c7a18dacfe88e0d46ae2 +size 733174 diff --git a/10-core-0.05/seed2020/ppv_agent_epoch100.zip b/10-core-0.05/seed2020/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..c1ffedb327d7ae693bf8ad19393b3ee61d663d0e --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c39e8d1d38f51f47d3215947071e925e0c0a954f67758c89288ca9370457551a +size 733130 diff --git a/10-core-0.05/seed2020/ppv_agent_epoch150.zip b/10-core-0.05/seed2020/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..03634f11e1c73c293cbb96f4f1c5b4c0e5c7a9f9 --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31a749a9619a9b8b4463999ec43c5c4b79ed8c81c3d50484e839f8ed52e4ccfa +size 733130 diff --git a/10-core-0.05/seed2020/ppv_agent_epoch200.zip b/10-core-0.05/seed2020/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..da7a691e4238643d149ac266c6e051200bf621a3 --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd478ae3e867b8356da881b409ba4536d3f60bc07dc43b4d619e3091e0f1d6f6 +size 733130 diff --git a/10-core-0.05/seed2020/ppv_agent_epoch250.zip b/10-core-0.05/seed2020/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..41e1c0a2f2613087aa504f71f0f8d7aed676861c --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26ebd652da33762c0cb97625b170c871299f984fc6e4e49e29973f0d90c87c71 +size 733130 diff --git a/10-core-0.05/seed2020/ppv_agent_epoch50.zip b/10-core-0.05/seed2020/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..7d4477362c0e311f39f460285baeb16202ad51c0 --- /dev/null +++ b/10-core-0.05/seed2020/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a20ac480820028ad2222f027cee42f66e0dad621eb173e99a26d9160c874a829 +size 733130 diff --git a/10-core-0.05/seed2020/verify_result.json b/10-core-0.05/seed2020/verify_result.json new file mode 100644 index 0000000000000000000000000000000000000000..15850b2fa10243fe91eba29a8b446cee3d6fb837 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result.json @@ -0,0 +1,79 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-Aug-02-2026_14-29-07.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-02T14:38:38.684622+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03831011029899394, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8953470155099483 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04666156636766747, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5293749020836597 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 99487, + "candidate_pass_rate": 0.4755138132109741, + "users_evaluated": 10461, + "users_with_altered_top_k": 9380, + "altered_user_fraction": 0.8966637988720008 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/verify_result_epoch100.json b/10-core-0.05/seed2020/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..2f1470f87b962f9a8a1b956fe0afde2f96b92dc7 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result_epoch100.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T02:05:02.800462+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.024288978342673045, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.7823907253642488 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03706157798028236, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.3390255365815447 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 53270, + "candidate_pass_rate": 0.2546123697543256, + "users_evaluated": 10461, + "users_with_altered_top_k": 10449, + "altered_user_fraction": 0.9988528821336392 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/verify_result_epoch150.json b/10-core-0.05/seed2020/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..e4cd9c9ea3a551d618beee883cc45b00f7ed1b18 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result_epoch150.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "single", + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T03:15:05.394613+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.030439771365204496, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8933103556321479 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.038872283371832884, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4148519504934984 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 86849, + "candidate_pass_rate": 0.4151084982315266, + "users_evaluated": 10461, + "users_with_altered_top_k": 9948, + "altered_user_fraction": 0.9509607112130771 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/verify_result_epoch200.json b/10-core-0.05/seed2020/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..ea017c187512d15414333c1733a1605c3149efd6 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result_epoch200.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:36:35.925194+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03461044531666116, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8981670061099797 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.042965723893260546, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4798684004386652 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 91927, + "candidate_pass_rate": 0.43937960042060986, + "users_evaluated": 10461, + "users_with_altered_top_k": 9684, + "altered_user_fraction": 0.9257241181531403 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/verify_result_epoch250.json b/10-core-0.05/seed2020/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..976d2ae1c0a16ef5fce9add43488964d8d4b7604 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result_epoch250.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:53:10.713646+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03831011029899394, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8953470155099483 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04623626865615556, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.503368322105593 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 96052, + "candidate_pass_rate": 0.4590956887486856, + "users_evaluated": 10461, + "users_with_altered_top_k": 9513, + "altered_user_fraction": 0.9093776885574992 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2020/verify_result_epoch50.json b/10-core-0.05/seed2020/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..58ebf2276a1fe0b8a9c2b438e8cb6b3ff2127137 --- /dev/null +++ b/10-core-0.05/seed2020/verify_result_epoch50.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "baseline_checkpoint": "Code/10-core-0.05/seed2020/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.05/seed2020/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T01:16:05.807700+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221673, + "n_test_pairs": 14846, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.010867599886776028, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.021149929500235 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.024469778468189516, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.019113269622434592 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 23887, + "candidate_pass_rate": 0.11417168530733199, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/baseline_result.json b/10-core-0.05/seed2021/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..640f5b8233feddb63b82f401cb293c29af96bf61 --- /dev/null +++ b/10-core-0.05/seed2021/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "split": [ + 0.05, + 0.85, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T00:46:54.595703+00:00", + "best_valid_score": 0.07, + "best_valid_result": { + "recall@10": 0.092, + "mrr@10": 0.0889, + "ndcg@10": 0.07, + "hit@10": 0.1618, + "precision@10": 0.0202 + }, + "test_result": { + "recall@10": 0.0575, + "mrr@10": 0.0354, + "ndcg@10": 0.038, + "hit@10": 0.0677, + "precision@10": 0.0069 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0325, + "test_result": { + "recall@10": 0.0203, + "mrr@10": 0.0079, + "ndcg@10": 0.01, + "hit@10": 0.0243, + "precision@10": 0.0025 + }, + "checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0384, + "test_result": { + "recall@10": 0.0331, + "mrr@10": 0.0198, + "ndcg@10": 0.0215, + "hit@10": 0.0392, + "precision@10": 0.0039 + }, + "checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0549, + "test_result": { + "recall@10": 0.045, + "mrr@10": 0.0268, + "ndcg@10": 0.0294, + "hit@10": 0.0535, + "precision@10": 0.0054 + }, + "checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0633, + "test_result": { + "recall@10": 0.0511, + "mrr@10": 0.0315, + "ndcg@10": 0.034, + "hit@10": 0.06, + "precision@10": 0.0061 + }, + "checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.07, + "test_result": { + "recall@10": 0.0575, + "mrr@10": 0.0354, + "ndcg@10": 0.038, + "hit@10": 0.0677, + "precision@10": 0.0069 + }, + "checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.05/seed2021/saved/CFKG-Aug-03-2026_07-44-00.pth", + "checkpoint_dir": "./Code/10-core-0.05/seed2021/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/ppv_agent.zip b/10-core-0.05/seed2021/ppv_agent.zip new file mode 100644 index 0000000000000000000000000000000000000000..91726bf56356f532b15288a11aa1945e8bcd5f6a --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ecc924d3b5ddc2c2a526edb3687c351eedaaf12895174bb06df7d1b582d7f3c +size 733178 diff --git a/10-core-0.05/seed2021/ppv_agent_epoch100.zip b/10-core-0.05/seed2021/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..130c20673004aaf4b26666da78bd955d15665a9a --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eca9136e496a61a2425947a41ac5b6b9ad61bd706fb1dc913a20fc96c23247a1 +size 733134 diff --git a/10-core-0.05/seed2021/ppv_agent_epoch150.zip b/10-core-0.05/seed2021/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..6f50be7dbefdc8f6b10872b2a5c6c411544d04a6 --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1acd92af7b0b696baee7a5b2fd89d47ba6bcbd197ca01014b73c27d944870d8c +size 733134 diff --git a/10-core-0.05/seed2021/ppv_agent_epoch200.zip b/10-core-0.05/seed2021/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..527001e04b02072fc45ab21a5f66af018510fbf2 --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a6a99dac4b1d6d94dc2e06049e47a8bc9b897684e321cd6dd0d8abe574a1f9b +size 733134 diff --git a/10-core-0.05/seed2021/ppv_agent_epoch250.zip b/10-core-0.05/seed2021/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..151905a800ceb3c1b87cf4790883db88dea43431 --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6076a8409a42b0a08494ab08e4019c07a889c88adc5b831e24b20d35ee38d685 +size 733134 diff --git a/10-core-0.05/seed2021/ppv_agent_epoch50.zip b/10-core-0.05/seed2021/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..811905cae3d5f43a1136891e3bd50e6debbc4fe9 --- /dev/null +++ b/10-core-0.05/seed2021/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1fadac3f2d60371d00f0e684c1653db371e48c83c188401c8a2dbea91803cc7 +size 733134 diff --git a/10-core-0.05/seed2021/verify_result.json b/10-core-0.05/seed2021/verify_result.json new file mode 100644 index 0000000000000000000000000000000000000000..4d33c86a415d8a3037e2c62239209af7500e8207 --- /dev/null +++ b/10-core-0.05/seed2021/verify_result.json @@ -0,0 +1,79 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-Aug-02-2026_18-32-46.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-02T14:38:51.498879+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03785602489070404, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9092903023656588 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04703091586371376, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.48597838007206645 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 88875, + "candidate_pass_rate": 0.4247920848867221, + "users_evaluated": 10461, + "users_with_altered_top_k": 9644, + "altered_user_fraction": 0.9219003919319376 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/verify_result_epoch100.json b/10-core-0.05/seed2021/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..89b110c77e81129321f9089117d6f2eed4acfc1e --- /dev/null +++ b/10-core-0.05/seed2021/verify_result_epoch100.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T02:05:39.766073+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.02145282574689311, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.6263512454958483 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03792609438958132, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.31348895503681656 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 23045, + "candidate_pass_rate": 0.1101472134595163, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/verify_result_epoch150.json b/10-core-0.05/seed2021/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..35af67fedb5e888b5fb8df7404d84d1323f5caa9 --- /dev/null +++ b/10-core-0.05/seed2021/verify_result_epoch150.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "single", + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T03:15:16.529458+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.02932773459877261, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9011436628544571 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03905554849371081, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4258185806047313 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 75466, + "candidate_pass_rate": 0.3607016537615907, + "users_evaluated": 10461, + "users_with_altered_top_k": 10207, + "altered_user_fraction": 0.9757193384953637 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/verify_result_epoch200.json b/10-core-0.05/seed2021/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..a2c77f02ac00077cdbbeee1c3223aa3c1036974f --- /dev/null +++ b/10-core-0.05/seed2021/verify_result_epoch200.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:37:06.728042+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03386697861650472, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9117969606767977 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04264921194389013, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4654551151496162 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 84845, + "candidate_pass_rate": 0.4055300640474142, + "users_evaluated": 10461, + "users_with_altered_top_k": 9825, + "altered_user_fraction": 0.9392027530828793 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/verify_result_epoch250.json b/10-core-0.05/seed2021/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..eb536ccfb897774b03d7436b32a90ee5aca6f791 --- /dev/null +++ b/10-core-0.05/seed2021/verify_result_epoch250.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:53:53.956127+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03785602489070404, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9092903023656588 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04643025287085467, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5018016606611311 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 91184, + "candidate_pass_rate": 0.43582831469266803, + "users_evaluated": 10461, + "users_with_altered_top_k": 9538, + "altered_user_fraction": 0.9117675174457509 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2021/verify_result_epoch50.json b/10-core-0.05/seed2021/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..562618075eabd75e61fb7acaf307a5dacf37e555 --- /dev/null +++ b/10-core-0.05/seed2021/verify_result_epoch50.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "baseline_checkpoint": "Code/10-core-0.05/seed2021/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.05/seed2021/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T01:16:29.669970+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221676, + "n_test_pairs": 14845, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.009870410945081353, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.008303305655647814 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03125925815157445, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.009869967100109666 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 22115, + "candidate_pass_rate": 0.10570213172736832, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/baseline_result.json b/10-core-0.05/seed2022/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..a0e8e01f5eb5ee6de17e3d4b754a6a627a1eb901 --- /dev/null +++ b/10-core-0.05/seed2022/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "split": [ + 0.05, + 0.85, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T00:49:51.938155+00:00", + "best_valid_score": 0.0738, + "best_valid_result": { + "recall@10": 0.0952, + "mrr@10": 0.0936, + "ndcg@10": 0.0738, + "hit@10": 0.1656, + "precision@10": 0.021 + }, + "test_result": { + "recall@10": 0.0629, + "mrr@10": 0.0392, + "ndcg@10": 0.0425, + "hit@10": 0.0727, + "precision@10": 0.0074 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.031, + "test_result": { + "recall@10": 0.023, + "mrr@10": 0.0115, + "ndcg@10": 0.0132, + "hit@10": 0.0286, + "precision@10": 0.0029 + }, + "checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0451, + "test_result": { + "recall@10": 0.0395, + "mrr@10": 0.0219, + "ndcg@10": 0.0248, + "hit@10": 0.0461, + "precision@10": 0.0047 + }, + "checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.059, + "test_result": { + "recall@10": 0.0493, + "mrr@10": 0.0301, + "ndcg@10": 0.0329, + "hit@10": 0.057, + "precision@10": 0.0058 + }, + "checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0676, + "test_result": { + "recall@10": 0.0571, + "mrr@10": 0.0361, + "ndcg@10": 0.039, + "hit@10": 0.0659, + "precision@10": 0.0067 + }, + "checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0738, + "test_result": { + "recall@10": 0.0629, + "mrr@10": 0.0392, + "ndcg@10": 0.0425, + "hit@10": 0.0727, + "precision@10": 0.0074 + }, + "checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.05/seed2022/saved/CFKG-Aug-03-2026_07-46-58.pth", + "checkpoint_dir": "./Code/10-core-0.05/seed2022/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/ppv_agent.zip b/10-core-0.05/seed2022/ppv_agent.zip new file mode 100644 index 0000000000000000000000000000000000000000..6e8c2dfcb79ce5b688abfadbcf66e780650859e3 --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cc6bcc5729f13a95250146116dfd1b4f9b0649d98431ed0c54ee9b9f76b0606 +size 733174 diff --git a/10-core-0.05/seed2022/ppv_agent_epoch100.zip b/10-core-0.05/seed2022/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..32ad8ff91ce7d74aab6b07eb5af10ec2aa71871b --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1401885b22b3fe72a6a871f5f75df4b9de0078145de63ee1be71e5a5521ccc1f +size 733130 diff --git a/10-core-0.05/seed2022/ppv_agent_epoch150.zip b/10-core-0.05/seed2022/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..1fc8131285ee1913c68bd4cee6079694a2202948 --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dfc84dc72f6714811bb3b155a96454f2175a2ee844c643f101a835e0ab93996 +size 733130 diff --git a/10-core-0.05/seed2022/ppv_agent_epoch200.zip b/10-core-0.05/seed2022/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..4b8e6832005925b8426801e746dff1a2056a1e72 --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0f9d004d5ba0e0ceb8bb7915d1a7c6900955301928a6bd7eb962af5a6638976 +size 733130 diff --git a/10-core-0.05/seed2022/ppv_agent_epoch250.zip b/10-core-0.05/seed2022/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..cea5f9b921f86f5207da374e1b79ea580e6b6398 --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf1eea3b93344d4fec5929b45b825fe38531aa85f6851bdfed0bda961f7d5b4e +size 733130 diff --git a/10-core-0.05/seed2022/ppv_agent_epoch50.zip b/10-core-0.05/seed2022/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..5bf8445bc8ed2a55fe447925d8e35d6c53ae6614 --- /dev/null +++ b/10-core-0.05/seed2022/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76da3e3fa3cba3a169ba09371af6341ca3302a4534b7a28e529090c99f56d75d +size 733130 diff --git a/10-core-0.05/seed2022/verify_result.json b/10-core-0.05/seed2022/verify_result.json new file mode 100644 index 0000000000000000000000000000000000000000..2e319b625a9ee60c2d6949193309c43d6ce4f587 --- /dev/null +++ b/10-core-0.05/seed2022/verify_result.json @@ -0,0 +1,79 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-Aug-02-2026_19-43-13.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-02T14:38:50.656730+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.04250730438956344, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8998903336988877 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.051666826796672484, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5159016136612878 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 90518, + "candidate_pass_rate": 0.4326450626135169, + "users_evaluated": 10461, + "users_with_altered_top_k": 9726, + "altered_user_fraction": 0.929739030685403 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/verify_result_epoch100.json b/10-core-0.05/seed2022/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..282a857dbb7601070a4403169d13c212433f186e --- /dev/null +++ b/10-core-0.05/seed2022/verify_result_epoch100.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T02:43:41.705577+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.024814133382637184, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8467805107316309 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03436590704060438, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.35672881090396363 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 66706, + "candidate_pass_rate": 0.3188318516394226, + "users_evaluated": 10461, + "users_with_altered_top_k": 10396, + "altered_user_fraction": 0.9937864448905458 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/verify_result_epoch150.json b/10-core-0.05/seed2022/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..8823bc87329d41cff525acf71869e676bfa77ebf --- /dev/null +++ b/10-core-0.05/seed2022/verify_result_epoch150.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent_epoch150.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-03T07:07:14.402193+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03297625808313067, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8994203352655491 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04213247515584147, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4126586244712518 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 83106, + "candidate_pass_rate": 0.3972182391740751, + "users_evaluated": 10461, + "users_with_altered_top_k": 9907, + "altered_user_fraction": 0.9470413918363445 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/verify_result_epoch200.json b/10-core-0.05/seed2022/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..b84a18283714153e1a630ade94a74f7530f52935 --- /dev/null +++ b/10-core-0.05/seed2022/verify_result_epoch200.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:36:37.046997+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.039011925610589734, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9063136456211812 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.047428646727211234, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.46373178756070815 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 91441, + "candidate_pass_rate": 0.4370566867412293, + "users_evaluated": 10461, + "users_with_altered_top_k": 9554, + "altered_user_fraction": 0.913297007934232 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/verify_result_epoch250.json b/10-core-0.05/seed2022/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..829191e5f0749a2ab1f9d1021e03e18c12556997 --- /dev/null +++ b/10-core-0.05/seed2022/verify_result_epoch250.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T07:53:15.502619+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.04250730438956344, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8998903336988877 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.05200880652209864, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5160582798057339 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 94551, + "candidate_pass_rate": 0.4519214224261543, + "users_evaluated": 10461, + "users_with_altered_top_k": 9504, + "altered_user_fraction": 0.9085173501577287 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2022/verify_result_epoch50.json b/10-core-0.05/seed2022/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..6097353d81e65b8c783b472a3651fa211b6652dd --- /dev/null +++ b/10-core-0.05/seed2022/verify_result_epoch50.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "baseline_checkpoint": "Code/10-core-0.05/seed2022/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.05/seed2022/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T01:33:19.515968+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14842, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.013268368460099223, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.050289832367225444 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.032443473142302656, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.03289989033369889 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 4134, + "candidate_pass_rate": 0.01975910524806424, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/baseline_result.json b/10-core-0.05/seed2023/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..474dea4923875975cb50e51596c51d7f796fd2c5 --- /dev/null +++ b/10-core-0.05/seed2023/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "split": [ + 0.05, + 0.85, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T00:52:54.018202+00:00", + "best_valid_score": 0.0675, + "best_valid_result": { + "recall@10": 0.0906, + "mrr@10": 0.0855, + "ndcg@10": 0.0675, + "hit@10": 0.1596, + "precision@10": 0.0196 + }, + "test_result": { + "recall@10": 0.0556, + "mrr@10": 0.0346, + "ndcg@10": 0.0378, + "hit@10": 0.0643, + "precision@10": 0.0066 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0258, + "test_result": { + "recall@10": 0.0201, + "mrr@10": 0.0075, + "ndcg@10": 0.0097, + "hit@10": 0.0245, + "precision@10": 0.0025 + }, + "checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0398, + "test_result": { + "recall@10": 0.0351, + "mrr@10": 0.0196, + "ndcg@10": 0.0222, + "hit@10": 0.0415, + "precision@10": 0.0042 + }, + "checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.053, + "test_result": { + "recall@10": 0.0447, + "mrr@10": 0.0264, + "ndcg@10": 0.0293, + "hit@10": 0.0524, + "precision@10": 0.0053 + }, + "checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0615, + "test_result": { + "recall@10": 0.0509, + "mrr@10": 0.0308, + "ndcg@10": 0.0339, + "hit@10": 0.0596, + "precision@10": 0.0061 + }, + "checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0675, + "test_result": { + "recall@10": 0.0556, + "mrr@10": 0.0346, + "ndcg@10": 0.0378, + "hit@10": 0.0643, + "precision@10": 0.0066 + }, + "checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.05/seed2023/saved/CFKG-Aug-03-2026_07-49-55.pth", + "checkpoint_dir": "./Code/10-core-0.05/seed2023/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/ppv_agent.zip b/10-core-0.05/seed2023/ppv_agent.zip new file mode 100644 index 0000000000000000000000000000000000000000..85db86a74bfe969477fbccc3832b3ccb247afadc --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d2257a06b6f4ea44fe7074226ba34f49a37b5eb47eb41ba3ee552d5425e2e65 +size 733178 diff --git a/10-core-0.05/seed2023/ppv_agent_epoch100.zip b/10-core-0.05/seed2023/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..15b97022942409b1891bb6030e6d87f7b478353a --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b7083b5e2798dfe184b581b01f19808a6295c2fa55a52acdab796c48b2eb129 +size 733130 diff --git a/10-core-0.05/seed2023/ppv_agent_epoch150.zip b/10-core-0.05/seed2023/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..81ff76037b89d1ae9d7f7e3c96eeaa9d858fd609 --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33073f729d1c649076282d0aff169f7e4823e3e551036f963d0d11a59ec5d02c +size 733130 diff --git a/10-core-0.05/seed2023/ppv_agent_epoch200.zip b/10-core-0.05/seed2023/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..b8194d75d3db963c444746ba0c7385e6daeded49 --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9e34162e2fc1cba5adea6c82049710d0f48ffd5e1cb4e6ca6c6f289d9502c96 +size 733130 diff --git a/10-core-0.05/seed2023/ppv_agent_epoch250.zip b/10-core-0.05/seed2023/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..65523c1b1c1c41dcd822ae3d64af77e762fd54d2 --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b3f1fe2685da580ad38154bc16c7e40a3662540caeb5c5d4a4d144092242a76 +size 733130 diff --git a/10-core-0.05/seed2023/ppv_agent_epoch50.zip b/10-core-0.05/seed2023/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..e69efce26ad264bceb767a372341b33979b3f086 --- /dev/null +++ b/10-core-0.05/seed2023/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21fcf9f1a6c364afe7fc75094b80b662d70d92d9db8dc3fd5eee6e6f225c096e +size 733130 diff --git a/10-core-0.05/seed2023/verify_result.json b/10-core-0.05/seed2023/verify_result.json new file mode 100644 index 0000000000000000000000000000000000000000..3eddb14d281caabd7c176c18247434ee7d20c05b --- /dev/null +++ b/10-core-0.05/seed2023/verify_result.json @@ -0,0 +1,79 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-Aug-02-2026_19-45-40.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-02T14:38:47.850280+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03746844473992989, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9006736644211186 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04744546341191561, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5071283095723014 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 87271, + "candidate_pass_rate": 0.41712551381321095, + "users_evaluated": 10461, + "users_with_altered_top_k": 9820, + "altered_user_fraction": 0.9387247873052289 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/verify_result_epoch100.json b/10-core-0.05/seed2023/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..7791fc1ad17ce18be93968b0ed261d7ed4fa6887 --- /dev/null +++ b/10-core-0.05/seed2023/verify_result_epoch100.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T02:44:38.466659+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.02206116385703549, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8065173116089613 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0343305838048154, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.34920883597054675 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 49296, + "candidate_pass_rate": 0.23561800975050187, + "users_evaluated": 10461, + "users_with_altered_top_k": 10455, + "altered_user_fraction": 0.9994264410668197 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/verify_result_epoch150.json b/10-core-0.05/seed2023/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..34de4934acc44d93a5b1bf4c91946ecdce6f19d5 --- /dev/null +++ b/10-core-0.05/seed2023/verify_result_epoch150.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent_epoch150.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-03T07:16:52.444630+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.029017692954908584, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9089769700767664 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03896547045351045, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.41077863073789755 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 81631, + "candidate_pass_rate": 0.3901682439537329, + "users_evaluated": 10461, + "users_with_altered_top_k": 9981, + "altered_user_fraction": 0.9541152853455692 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/verify_result_epoch200.json b/10-core-0.05/seed2023/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..44d090da67ce46002451e10501476bc7d804ac86 --- /dev/null +++ b/10-core-0.05/seed2023/verify_result_epoch200.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent_epoch200.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-03T08:31:57.328149+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03358868885996928, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9119536268212439 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04347122628351899, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4725050916496945 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 83056, + "candidate_pass_rate": 0.39697925628525, + "users_evaluated": 10461, + "users_with_altered_top_k": 10012, + "altered_user_fraction": 0.9570786731670012 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/verify_result_epoch250.json b/10-core-0.05/seed2023/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..4c919f20a0e541ee7ed8d839fc4482d2747f02ac --- /dev/null +++ b/10-core-0.05/seed2023/verify_result_epoch250.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T09:02:49.167151+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03746844473992989, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9006736644211186 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04737533825180985, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5005483315055617 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 90480, + "candidate_pass_rate": 0.43246343561800976, + "users_evaluated": 10461, + "users_with_altered_top_k": 9676, + "altered_user_fraction": 0.9249593729088997 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2023/verify_result_epoch50.json b/10-core-0.05/seed2023/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..49d72302556c246f8f8e1ebe55f5c97634a3084a --- /dev/null +++ b/10-core-0.05/seed2023/verify_result_epoch50.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "baseline_checkpoint": "Code/10-core-0.05/seed2023/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.05/seed2023/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T01:33:42.816331+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221678, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.009698543464047981, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.018016606611311294 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03490526093922045, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.015509948300172332 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 4593, + "candidate_pass_rate": 0.021952968167479207, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/baseline_result.json b/10-core-0.05/seed2024/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..b2ba3de5f9242897c3e8412440dae49b46682d30 --- /dev/null +++ b/10-core-0.05/seed2024/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "split": [ + 0.05, + 0.85, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T00:56:07.828303+00:00", + "best_valid_score": 0.0696, + "best_valid_result": { + "recall@10": 0.0913, + "mrr@10": 0.0891, + "ndcg@10": 0.0696, + "hit@10": 0.1618, + "precision@10": 0.02 + }, + "test_result": { + "recall@10": 0.0595, + "mrr@10": 0.0356, + "ndcg@10": 0.0395, + "hit@10": 0.0682, + "precision@10": 0.0069 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0334, + "test_result": { + "recall@10": 0.0248, + "mrr@10": 0.0103, + "ndcg@10": 0.0126, + "hit@10": 0.0301, + "precision@10": 0.0031 + }, + "checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0388, + "test_result": { + "recall@10": 0.0355, + "mrr@10": 0.0197, + "ndcg@10": 0.0223, + "hit@10": 0.0415, + "precision@10": 0.0042 + }, + "checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0555, + "test_result": { + "recall@10": 0.0465, + "mrr@10": 0.0268, + "ndcg@10": 0.0303, + "hit@10": 0.0541, + "precision@10": 0.0055 + }, + "checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0642, + "test_result": { + "recall@10": 0.0525, + "mrr@10": 0.0315, + "ndcg@10": 0.0351, + "hit@10": 0.0604, + "precision@10": 0.0062 + }, + "checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0696, + "test_result": { + "recall@10": 0.0595, + "mrr@10": 0.0356, + "ndcg@10": 0.0395, + "hit@10": 0.0682, + "precision@10": 0.0069 + }, + "checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.05/seed2024/saved/CFKG-Aug-03-2026_07-52-58.pth", + "checkpoint_dir": "./Code/10-core-0.05/seed2024/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/ppv_agent.zip b/10-core-0.05/seed2024/ppv_agent.zip new file mode 100644 index 0000000000000000000000000000000000000000..cf5de96e77f38c720d6e05383ccdf58305ce52b4 --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73dd32e847b66936c41bebcc391a2380c3c8bb89523ec90ca16e1ddc5e8671a1 +size 733178 diff --git a/10-core-0.05/seed2024/ppv_agent_epoch100.zip b/10-core-0.05/seed2024/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..79e67722353314738875a4736064d1bd5536720e --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b383db43f4f6ca77313f7430c3c7f7774f01b1e69a1f33a863629d8da36ba901 +size 733130 diff --git a/10-core-0.05/seed2024/ppv_agent_epoch150.zip b/10-core-0.05/seed2024/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..ef75d4304581cf7ec9e098c76f26c1575aa210f2 --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0cf7c871ba5380b045c5f1aab85d91cb5f0db5bc2965f60e87e55f8ebb2d9d85 +size 733130 diff --git a/10-core-0.05/seed2024/ppv_agent_epoch200.zip b/10-core-0.05/seed2024/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..21b5ba8282b2ee6b97c634ee157674d04523a8cb --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd620a0511adb716d8c4b55560a12ca83fa723c290d602c98893e7ae52669458 +size 733130 diff --git a/10-core-0.05/seed2024/ppv_agent_epoch250.zip b/10-core-0.05/seed2024/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..28c1ddb571833af48382e99f9269196a5a664730 --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1d39f6c82a8036b9ccab8b9e24d0a47f6dfaafd16fcd55cb17619ed6a8b158a +size 733130 diff --git a/10-core-0.05/seed2024/ppv_agent_epoch50.zip b/10-core-0.05/seed2024/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..2534ad2a85d15ddb8ddabd0c610096ed74ae2567 --- /dev/null +++ b/10-core-0.05/seed2024/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:625a56ccb14f074bbc9886b060edc42977e56fa591aa464ed15469a68ec81527 +size 733130 diff --git a/10-core-0.05/seed2024/verify_result.json b/10-core-0.05/seed2024/verify_result.json new file mode 100644 index 0000000000000000000000000000000000000000..531da7f23cd48899ce8a21bcea01a0d2dac0a976 --- /dev/null +++ b/10-core-0.05/seed2024/verify_result.json @@ -0,0 +1,79 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-Aug-02-2026_19-48-06.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-02T14:38:43.727372+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03944427865243958, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9014569951433495 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04866990734626481, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.5246749177502742 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 85752, + "candidate_pass_rate": 0.4098652136507026, + "users_evaluated": 10461, + "users_with_altered_top_k": 9900, + "altered_user_fraction": 0.9463722397476341 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/verify_result_epoch100.json b/10-core-0.05/seed2024/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..a65cfd1af5e8eee0b837a923702d9be52098b406 --- /dev/null +++ b/10-core-0.05/seed2024/verify_result_epoch100.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T02:59:40.934688+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.022274727768880315, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.6948143506188312 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.037808370583546046, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.3534388218705938 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 27697, + "candidate_pass_rate": 0.1323821814358092, + "users_evaluated": 10461, + "users_with_altered_top_k": 10460, + "altered_user_fraction": 0.9999044068444699 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/verify_result_epoch150.json b/10-core-0.05/seed2024/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..9a13316eb48daa706c51e59f3f8be0de57e58a53 --- /dev/null +++ b/10-core-0.05/seed2024/verify_result_epoch150.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent_epoch150.zip", + "agent_source": "loaded", + "vec_env_cls": null, + "timestamp": "2026-08-03T08:32:34.351333+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.030111587436614875, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.8956603477988406 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04185833630219111, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4303618987936707 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 68429, + "candidate_pass_rate": 0.3270672019883376, + "users_evaluated": 10461, + "users_with_altered_top_k": 10319, + "altered_user_fraction": 0.9864257719147309 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/verify_result_epoch200.json b/10-core-0.05/seed2024/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..208082bd6e90eaf4513c1eb9c97da858d226a893 --- /dev/null +++ b/10-core-0.05/seed2024/verify_result_epoch200.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T09:04:25.603451+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03504708702107277, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9056869810433965 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.044874808980580196, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4931850227165909 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 84461, + "candidate_pass_rate": 0.403694675461237, + "users_evaluated": 10461, + "users_with_altered_top_k": 9856, + "altered_user_fraction": 0.9421661409043113 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/verify_result_epoch250.json b/10-core-0.05/seed2024/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..3c8755bbce5696eacc52b187ce646fbc6009de4c --- /dev/null +++ b/10-core-0.05/seed2024/verify_result_epoch250.json @@ -0,0 +1,81 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T09:34:00.260400+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.03944427865243958, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.9014569951433495 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0480858296055095, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.4969450101832994 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 89200, + "candidate_pass_rate": 0.42634547366408565, + "users_evaluated": 10461, + "users_with_altered_top_k": 9686, + "altered_user_fraction": 0.9259153044642003 + } +} \ No newline at end of file diff --git a/10-core-0.05/seed2024/verify_result_epoch50.json b/10-core-0.05/seed2024/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..215f129b3391d359615f3944374d7bb141d8e0fd --- /dev/null +++ b/10-core-0.05/seed2024/verify_result_epoch50.json @@ -0,0 +1,80 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.05, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "baseline_checkpoint": "Code/10-core-0.05/seed2024/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.05/seed2024/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T01:49:35.103058+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 221677, + "n_test_pairs": 14848, + "n_rec_candidates": 209220, + "baseline": { + "ndcg": { + "ndcg@10": 0.012522580231408606, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.011279962400125333 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03775994628077221, + "evaluated_user_count": 10461 + }, + "coverage": { + "itemcoverage@10": 0.010809963966786778 + } + }, + "verification_stats": { + "candidates_attempted": 209220, + "candidates_passed": 6302, + "candidate_pass_rate": 0.030121403307523182, + "users_evaluated": 10461, + "users_with_altered_top_k": 10461, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/baseline_result.json b/10-core-0.2/seed2020/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..c2488b32754c317d4071db3f6f94907a6a99632a --- /dev/null +++ b/10-core-0.2/seed2020/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "split": [ + 0.2, + 0.7, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T15:50:06.043216+00:00", + "best_valid_score": 0.0731, + "best_valid_result": { + "recall@10": 0.0991, + "mrr@10": 0.0876, + "ndcg@10": 0.0731, + "hit@10": 0.1653, + "precision@10": 0.0204 + }, + "test_result": { + "recall@10": 0.0899, + "mrr@10": 0.0503, + "ndcg@10": 0.0585, + "hit@10": 0.0947, + "precision@10": 0.0096 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0313, + "test_result": { + "recall@10": 0.0359, + "mrr@10": 0.0135, + "ndcg@10": 0.0183, + "hit@10": 0.0384, + "precision@10": 0.0039 + }, + "checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0439, + "test_result": { + "recall@10": 0.057, + "mrr@10": 0.0303, + "ndcg@10": 0.0359, + "hit@10": 0.06, + "precision@10": 0.006 + }, + "checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0575, + "test_result": { + "recall@10": 0.0715, + "mrr@10": 0.0392, + "ndcg@10": 0.046, + "hit@10": 0.075, + "precision@10": 0.0076 + }, + "checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0668, + "test_result": { + "recall@10": 0.0819, + "mrr@10": 0.0458, + "ndcg@10": 0.0534, + "hit@10": 0.0863, + "precision@10": 0.0087 + }, + "checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0731, + "test_result": { + "recall@10": 0.0899, + "mrr@10": 0.0503, + "ndcg@10": 0.0585, + "hit@10": 0.0947, + "precision@10": 0.0096 + }, + "checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.2/seed2020/saved/CFKG-Aug-03-2026_22-44-01.pth", + "checkpoint_dir": "./Code/10-core-0.2/seed2020/saved", + "dataset_cache_source": "created" +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/ppv_agent_epoch100.zip b/10-core-0.2/seed2020/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..847a4a487be49243d1d392c4a220ff314098e12f --- /dev/null +++ b/10-core-0.2/seed2020/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a5dec3dda33362f94d9a73e65c129ed2b7edbe8aab97b0e109f12c66f051fb1 +size 733130 diff --git a/10-core-0.2/seed2020/ppv_agent_epoch150.zip b/10-core-0.2/seed2020/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..7941c54a564e8a5f8ed4066b8e6979deaa36cb93 --- /dev/null +++ b/10-core-0.2/seed2020/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8d1b413b8d563a8018f89689420caa36c0df02de3ace8d7cc3094bf9fa49505 +size 733130 diff --git a/10-core-0.2/seed2020/ppv_agent_epoch200.zip b/10-core-0.2/seed2020/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..b27d046bc7d8c1db56ac40f60123b69475853dd3 --- /dev/null +++ b/10-core-0.2/seed2020/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e267095e43676948311511c3bae76cec5ea37536fa88fd7a7cde9ae4551bacd9 +size 733130 diff --git a/10-core-0.2/seed2020/ppv_agent_epoch250.zip b/10-core-0.2/seed2020/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..47b9ec2cf0c2dbfc8e75b5bee91af12e18457d6f --- /dev/null +++ b/10-core-0.2/seed2020/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46f89966495271f4f1e0c0ee10ce5b216df5e3a901791d3ad5538e000f7a47fe +size 733130 diff --git a/10-core-0.2/seed2020/ppv_agent_epoch50.zip b/10-core-0.2/seed2020/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..92efaf72aa9331f947c84dea1bf46f1f0bec2c5b --- /dev/null +++ b/10-core-0.2/seed2020/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2b46f9402919a4aecdbbdbabbb958beba2c951a4c0321cdddfec321ef149662 +size 733130 diff --git a/10-core-0.2/seed2020/verify_result_epoch100.json b/10-core-0.2/seed2020/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..be3d990c2ef38d3d740a3b111f3f3873f2955e72 --- /dev/null +++ b/10-core-0.2/seed2020/verify_result_epoch100.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.2/seed2020/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:54:59.234507+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243855, + "n_test_pairs": 35339, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.03589589234221228, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.8569638101206329 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04968125564157457, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.4577784740717531 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 225175, + "candidate_pass_rate": 0.36372520514311557, + "users_evaluated": 30954, + "users_with_altered_top_k": 30619, + "altered_user_fraction": 0.9891774891774892 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/verify_result_epoch150.json b/10-core-0.2/seed2020/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..f28c15b39aba57f295f8e033873f9bba9266ee49 --- /dev/null +++ b/10-core-0.2/seed2020/verify_result_epoch150.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.2/seed2020/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:09:26.034805+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243855, + "n_test_pairs": 35339, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.045910691459432516, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9459501801660661 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.056458592358884556, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.5560081466395111 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 319501, + "candidate_pass_rate": 0.5160900045228404, + "users_evaluated": 30954, + "users_with_altered_top_k": 28727, + "altered_user_fraction": 0.9280545325321444 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/verify_result_epoch200.json b/10-core-0.2/seed2020/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..8d0cd2724f62a71508f20904d512fc778b39a203 --- /dev/null +++ b/10-core-0.2/seed2020/verify_result_epoch200.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.2/seed2020/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:24:17.261715+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243855, + "n_test_pairs": 35339, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05336310768742223, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9503368322105593 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06306723648452205, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6119379602067994 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 349298, + "candidate_pass_rate": 0.5642211022808038, + "users_evaluated": 30954, + "users_with_altered_top_k": 26899, + "altered_user_fraction": 0.8689991600439362 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/verify_result_epoch250.json b/10-core-0.2/seed2020/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..c19f0aa1bd5d2a6b1c54a58e7ad7f4386c4b0234 --- /dev/null +++ b/10-core-0.2/seed2020/verify_result_epoch250.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.2/seed2020/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:38:20.964469+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243855, + "n_test_pairs": 35339, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05846985289161877, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9523734920883598 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0684185573979929, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6652044493185023 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 374261, + "candidate_pass_rate": 0.6045438392453318, + "users_evaluated": 30954, + "users_with_altered_top_k": 25122, + "altered_user_fraction": 0.8115913936809459 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2020/verify_result_epoch50.json b/10-core-0.2/seed2020/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..4157051e54df40faa7195eb176c141481a8757be --- /dev/null +++ b/10-core-0.2/seed2020/verify_result_epoch50.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2020, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2020/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.2/seed2020/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:39:32.918729+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243855, + "n_test_pairs": 35339, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.018258091434483047, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.030236565878113738 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.02474524682847237, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.02788657371142096 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 152417, + "candidate_pass_rate": 0.2461991988111391, + "users_evaluated": 30954, + "users_with_altered_top_k": 30949, + "altered_user_fraction": 0.9998384699877237 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/baseline_result.json b/10-core-0.2/seed2021/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..745b330bd9a1e5f6cab20c3461e631c7156cf555 --- /dev/null +++ b/10-core-0.2/seed2021/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "split": [ + 0.2, + 0.7, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T15:55:42.924137+00:00", + "best_valid_score": 0.0681, + "best_valid_result": { + "recall@10": 0.0936, + "mrr@10": 0.0813, + "ndcg@10": 0.0681, + "hit@10": 0.1561, + "precision@10": 0.0191 + }, + "test_result": { + "recall@10": 0.0917, + "mrr@10": 0.0504, + "ndcg@10": 0.059, + "hit@10": 0.0968, + "precision@10": 0.0098 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.034, + "test_result": { + "recall@10": 0.0399, + "mrr@10": 0.0137, + "ndcg@10": 0.0195, + "hit@10": 0.0418, + "precision@10": 0.0042 + }, + "checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0374, + "test_result": { + "recall@10": 0.0504, + "mrr@10": 0.0277, + "ndcg@10": 0.0323, + "hit@10": 0.0535, + "precision@10": 0.0054 + }, + "checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0528, + "test_result": { + "recall@10": 0.0699, + "mrr@10": 0.0383, + "ndcg@10": 0.0448, + "hit@10": 0.0739, + "precision@10": 0.0074 + }, + "checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0608, + "test_result": { + "recall@10": 0.0806, + "mrr@10": 0.045, + "ndcg@10": 0.0523, + "hit@10": 0.0851, + "precision@10": 0.0086 + }, + "checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0681, + "test_result": { + "recall@10": 0.0917, + "mrr@10": 0.0504, + "ndcg@10": 0.059, + "hit@10": 0.0968, + "precision@10": 0.0098 + }, + "checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.2/seed2021/saved/CFKG-Aug-03-2026_22-50-10.pth", + "checkpoint_dir": "./Code/10-core-0.2/seed2021/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/ppv_agent_epoch100.zip b/10-core-0.2/seed2021/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..2bf86b928547016ec09c47f1671a6b83762c65fb --- /dev/null +++ b/10-core-0.2/seed2021/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d979b21069d7d7feec2f7e69e70d0f313fcc6d003d7fb77808939510ff16c24 +size 733134 diff --git a/10-core-0.2/seed2021/ppv_agent_epoch150.zip b/10-core-0.2/seed2021/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..6d714ba7f4ee578d5501eab2327664a6031d5d4b --- /dev/null +++ b/10-core-0.2/seed2021/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eaa02d20d9968ba7627953111e5de3c02852f4c664730053de2d5c98bd959027 +size 733134 diff --git a/10-core-0.2/seed2021/ppv_agent_epoch200.zip b/10-core-0.2/seed2021/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..f36d57a2ae10ef832f60ca9aee6faffbd3ecee4a --- /dev/null +++ b/10-core-0.2/seed2021/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a73a16d70cb953a4c9eb131bbbc9d1e5cc8c80360e509cb2517923da463940f +size 733134 diff --git a/10-core-0.2/seed2021/ppv_agent_epoch250.zip b/10-core-0.2/seed2021/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..a781a4e7fa1783f3a107a16a4d9dba9e21166793 --- /dev/null +++ b/10-core-0.2/seed2021/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fc49cbf8d2eb65c3efcfa322434243da2d2d85fbc5c61201c370000bff85ab6 +size 733134 diff --git a/10-core-0.2/seed2021/ppv_agent_epoch50.zip b/10-core-0.2/seed2021/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..df78172e2ba7cfdc9b6a53de0b863a69266c15fa --- /dev/null +++ b/10-core-0.2/seed2021/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf91fc12657629284c51fc8485bb14d78a89e486ee347f098caedb25155ee31f +size 733134 diff --git a/10-core-0.2/seed2021/verify_result_epoch100.json b/10-core-0.2/seed2021/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..cdaa1e22f96a486a3b5efc10199a01d5f0d04fad --- /dev/null +++ b/10-core-0.2/seed2021/verify_result_epoch100.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.2/seed2021/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:54:48.165471+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35338, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.032323732253115044, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.710637631207896 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.05814843463739145, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.44430518564938115 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 84382, + "candidate_pass_rate": 0.13630225495897139, + "users_evaluated": 30954, + "users_with_altered_top_k": 30954, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/verify_result_epoch150.json b/10-core-0.2/seed2021/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..62faf0cd3a75e65eedeae30ffd6bccd5b1f52fa1 --- /dev/null +++ b/10-core-0.2/seed2021/verify_result_epoch150.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.2/seed2021/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:09:28.668062+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35338, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.044775479141267886, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9531568228105907 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.05812403574865307, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.543161522794924 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 281205, + "candidate_pass_rate": 0.4542304710215158, + "users_evaluated": 30954, + "users_with_altered_top_k": 29712, + "altered_user_fraction": 0.9598759449505718 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/verify_result_epoch200.json b/10-core-0.2/seed2021/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..b0d1cb5f2f7eac3f8eadd8d5eefefc85f402463c --- /dev/null +++ b/10-core-0.2/seed2021/verify_result_epoch200.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.2/seed2021/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:24:29.075960+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35338, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05225014028777406, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9587968040106533 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06336757938369517, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.5890647031176562 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 327813, + "candidate_pass_rate": 0.5295163791432448, + "users_evaluated": 30954, + "users_with_altered_top_k": 27345, + "altered_user_fraction": 0.8834076371389804 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/verify_result_epoch250.json b/10-core-0.2/seed2021/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..047693a1f87f197da721f30e451fe477d6a68163 --- /dev/null +++ b/10-core-0.2/seed2021/verify_result_epoch250.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.2/seed2021/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:38:40.410619+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35338, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05892595910957393, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9597368008773304 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06941611205469346, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6360645464515118 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 351362, + "candidate_pass_rate": 0.5675550817341862, + "users_evaluated": 30954, + "users_with_altered_top_k": 25460, + "altered_user_fraction": 0.8225108225108225 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2021/verify_result_epoch50.json b/10-core-0.2/seed2021/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..68e8c18c44c8913621e46561581bb341ce8cf1cf --- /dev/null +++ b/10-core-0.2/seed2021/verify_result_epoch50.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2021, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2021/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.2/seed2021/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:38:33.777487+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35338, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.019398490911765168, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.007676641077863074 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.03232191133670121, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.00908663637787874 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 139370, + "candidate_pass_rate": 0.22512437810945274, + "users_evaluated": 30954, + "users_with_altered_top_k": 30954, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/baseline_result.json b/10-core-0.2/seed2022/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..ec87dbd135a8a256fd2aa355eeb294d13e0fe0b7 --- /dev/null +++ b/10-core-0.2/seed2022/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "split": [ + 0.2, + 0.7, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T16:01:21.607965+00:00", + "best_valid_score": 0.0712, + "best_valid_result": { + "recall@10": 0.0975, + "mrr@10": 0.0845, + "ndcg@10": 0.0712, + "hit@10": 0.1609, + "precision@10": 0.02 + }, + "test_result": { + "recall@10": 0.0932, + "mrr@10": 0.0521, + "ndcg@10": 0.0607, + "hit@10": 0.0984, + "precision@10": 0.0099 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0306, + "test_result": { + "recall@10": 0.0355, + "mrr@10": 0.0158, + "ndcg@10": 0.0199, + "hit@10": 0.0378, + "precision@10": 0.0038 + }, + "checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0427, + "test_result": { + "recall@10": 0.0584, + "mrr@10": 0.0308, + "ndcg@10": 0.0366, + "hit@10": 0.0617, + "precision@10": 0.0062 + }, + "checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0563, + "test_result": { + "recall@10": 0.0744, + "mrr@10": 0.0412, + "ndcg@10": 0.0482, + "hit@10": 0.0783, + "precision@10": 0.0079 + }, + "checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0647, + "test_result": { + "recall@10": 0.0853, + "mrr@10": 0.0479, + "ndcg@10": 0.0557, + "hit@10": 0.0898, + "precision@10": 0.009 + }, + "checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0712, + "test_result": { + "recall@10": 0.0932, + "mrr@10": 0.0521, + "ndcg@10": 0.0607, + "hit@10": 0.0984, + "precision@10": 0.0099 + }, + "checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.2/seed2022/saved/CFKG-Aug-03-2026_22-55-47.pth", + "checkpoint_dir": "./Code/10-core-0.2/seed2022/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/ppv_agent_epoch100.zip b/10-core-0.2/seed2022/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..09c8fb01609ee1d52b62609e0efccb43961da959 --- /dev/null +++ b/10-core-0.2/seed2022/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09d29bcf14d85c4699035c8f2c42965d08131545a478fc13344fb2d654132214 +size 733130 diff --git a/10-core-0.2/seed2022/ppv_agent_epoch150.zip b/10-core-0.2/seed2022/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..1c245bcd56363065e14a9ca251debe06ad6bc637 --- /dev/null +++ b/10-core-0.2/seed2022/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f089b66c84702562ae77731ae25f0e47a5d72e9e31d4377385a29b69c2f5600a +size 733130 diff --git a/10-core-0.2/seed2022/ppv_agent_epoch200.zip b/10-core-0.2/seed2022/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..54e0c3e9f16fc3500757a8a70ef04f93fbb3c29a --- /dev/null +++ b/10-core-0.2/seed2022/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0dd67fd7c04ba10a4a01833ff0b7574dae3025ac6f24dee1f51b378f9cb6d637 +size 733130 diff --git a/10-core-0.2/seed2022/ppv_agent_epoch250.zip b/10-core-0.2/seed2022/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..4d9f9bcce11f9797b4a156dd8a739d3fced67191 --- /dev/null +++ b/10-core-0.2/seed2022/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:388fb9d8eef8abdff7e67bd474d2240fc859748f15c8b42ac44d44755ea30974 +size 733130 diff --git a/10-core-0.2/seed2022/ppv_agent_epoch50.zip b/10-core-0.2/seed2022/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..140af17656c23d2240b4a47d8a57b6728546a337 --- /dev/null +++ b/10-core-0.2/seed2022/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81db8ba01558ebb2c51004e43f89586a1ef1f901f5268f24acf462ce5d8e1006 +size 733130 diff --git a/10-core-0.2/seed2022/verify_result_epoch100.json b/10-core-0.2/seed2022/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..ff4d7e5ef6bea465abc1b5aba741332adb91513c --- /dev/null +++ b/10-core-0.2/seed2022/verify_result_epoch100.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.2/seed2022/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:54:27.565567+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35335, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.03651647060044997, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9031803227322576 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.04840941383451422, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.49882500391665363 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 277675, + "candidate_pass_rate": 0.44852846158816306, + "users_evaluated": 30954, + "users_with_altered_top_k": 29467, + "altered_user_fraction": 0.951960974349034 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/verify_result_epoch150.json b/10-core-0.2/seed2022/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..df7d345d9547adfcffd5f3c19a37814b08139895 --- /dev/null +++ b/10-core-0.2/seed2022/verify_result_epoch150.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.2/seed2022/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:09:06.516797+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35335, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.04820150406298447, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9462635124549584 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.057872700623697086, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.5394015353282156 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 331395, + "candidate_pass_rate": 0.5353023841829812, + "users_evaluated": 30954, + "users_with_altered_top_k": 26408, + "altered_user_fraction": 0.8531369128384054 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/verify_result_epoch200.json b/10-core-0.2/seed2022/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..50a8eab07f5f65a6e3f57870ded06fdadb90f940 --- /dev/null +++ b/10-core-0.2/seed2022/verify_result_epoch200.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.2/seed2022/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:23:53.828879+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35335, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05570080374502226, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9517468275105749 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0650381195089495, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6172646091179697 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 359270, + "candidate_pass_rate": 0.5803288751049945, + "users_evaluated": 30954, + "users_with_altered_top_k": 24644, + "altered_user_fraction": 0.7961491245073334 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/verify_result_epoch250.json b/10-core-0.2/seed2022/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..e7370c9c79791e87e59511f6c83a61594ae8b9ca --- /dev/null +++ b/10-core-0.2/seed2022/verify_result_epoch250.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.2/seed2022/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:37:54.328204+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35335, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.06070433823159331, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9517468275105749 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06942699378391066, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6639511201629328 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 379624, + "candidate_pass_rate": 0.6132066938037087, + "users_evaluated": 30954, + "users_with_altered_top_k": 23619, + "altered_user_fraction": 0.7630354719906959 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2022/verify_result_epoch50.json b/10-core-0.2/seed2022/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..c0fde893f5bfc74cfe7104c7dac13b05b1824f9f --- /dev/null +++ b/10-core-0.2/seed2022/verify_result_epoch50.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2022, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2022/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.2/seed2022/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T16:39:09.161668+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243868, + "n_test_pairs": 35335, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.019910978223288394, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.06830643897853673 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.034905160814103074, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.056713144289519034 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 119909, + "candidate_pass_rate": 0.1936890224203657, + "users_evaluated": 30954, + "users_with_altered_top_k": 30954, + "altered_user_fraction": 1.0 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/baseline_result.json b/10-core-0.2/seed2023/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..bff90e3ebd61337e550f10ddfb4d57c6eae389c6 --- /dev/null +++ b/10-core-0.2/seed2023/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "split": [ + 0.2, + 0.7, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T16:06:48.196298+00:00", + "best_valid_score": 0.066, + "best_valid_result": { + "recall@10": 0.0936, + "mrr@10": 0.0777, + "ndcg@10": 0.066, + "hit@10": 0.157, + "precision@10": 0.019 + }, + "test_result": { + "recall@10": 0.0881, + "mrr@10": 0.0459, + "ndcg@10": 0.0548, + "hit@10": 0.0929, + "precision@10": 0.0094 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0278, + "test_result": { + "recall@10": 0.035, + "mrr@10": 0.0117, + "ndcg@10": 0.0168, + "hit@10": 0.0369, + "precision@10": 0.0037 + }, + "checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0376, + "test_result": { + "recall@10": 0.0526, + "mrr@10": 0.0262, + "ndcg@10": 0.0318, + "hit@10": 0.0557, + "precision@10": 0.0056 + }, + "checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0504, + "test_result": { + "recall@10": 0.0685, + "mrr@10": 0.0352, + "ndcg@10": 0.0421, + "hit@10": 0.0722, + "precision@10": 0.0073 + }, + "checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0595, + "test_result": { + "recall@10": 0.0789, + "mrr@10": 0.0414, + "ndcg@10": 0.0492, + "hit@10": 0.0832, + "precision@10": 0.0084 + }, + "checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.066, + "test_result": { + "recall@10": 0.0881, + "mrr@10": 0.0459, + "ndcg@10": 0.0548, + "hit@10": 0.0929, + "precision@10": 0.0094 + }, + "checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.2/seed2023/saved/CFKG-Aug-03-2026_23-01-26.pth", + "checkpoint_dir": "./Code/10-core-0.2/seed2023/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/ppv_agent_epoch100.zip b/10-core-0.2/seed2023/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..12fa4ae5105d266a8963f4867b2400029ec95c71 --- /dev/null +++ b/10-core-0.2/seed2023/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2778ceba9cecfe05c7bb09e71da4d51b4f4fc57b4ea1557af91424289db1dd8 +size 733130 diff --git a/10-core-0.2/seed2023/ppv_agent_epoch150.zip b/10-core-0.2/seed2023/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..66e091127fd31e93bf7d985a05431e9dbbe17937 --- /dev/null +++ b/10-core-0.2/seed2023/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:91d1d93b5f62e9e557c6fac7ff11c1138c85fce6c22ffb9777501c7ca7a34c2c +size 733130 diff --git a/10-core-0.2/seed2023/ppv_agent_epoch200.zip b/10-core-0.2/seed2023/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..7445fe637018969abd62d826bda74ac76aaca43e --- /dev/null +++ b/10-core-0.2/seed2023/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:adc12fa1226da203f1a8b8dec83f94666803e20999a5d23bbcf864a160b666cb +size 733130 diff --git a/10-core-0.2/seed2023/ppv_agent_epoch250.zip b/10-core-0.2/seed2023/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..82f3ca793b3dd9ff8610aaea16dbf0bbad3ebd80 --- /dev/null +++ b/10-core-0.2/seed2023/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e547b56296bc4dba656c661d46a489dbe5a2d62bdb8262ec58a409de57c6c080 +size 733130 diff --git a/10-core-0.2/seed2023/ppv_agent_epoch50.zip b/10-core-0.2/seed2023/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..3db8968f4ed29265293b06613e31f47fa4c5c20a --- /dev/null +++ b/10-core-0.2/seed2023/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4fa6d63791d574d657efc84446b951fb457e7002694ac4ed5d5b50adfd8614f +size 733130 diff --git a/10-core-0.2/seed2023/verify_result_epoch100.json b/10-core-0.2/seed2023/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..413402e98d5d7b95bebacf2af7648d5599ffa2eb --- /dev/null +++ b/10-core-0.2/seed2023/verify_result_epoch100.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.2/seed2023/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:18:11.084383+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243862, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.03169208706053232, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.8571204762650791 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0477787968510969, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.4790850697164343 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 216359, + "candidate_pass_rate": 0.3494847192608387, + "users_evaluated": 30954, + "users_with_altered_top_k": 30825, + "altered_user_fraction": 0.995832525683272 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/verify_result_epoch150.json b/10-core-0.2/seed2023/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..bcfa1484f11a085fdbbd4a40ced2b989e18c768d --- /dev/null +++ b/10-core-0.2/seed2023/verify_result_epoch150.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.2/seed2023/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:39:00.853652+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243862, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.042037096003736216, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9429735234215886 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.05362637425825972, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.5400281999060003 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 316513, + "candidate_pass_rate": 0.511263487756025, + "users_evaluated": 30954, + "users_with_altered_top_k": 28149, + "altered_user_fraction": 0.9093816631130064 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/verify_result_epoch200.json b/10-core-0.2/seed2023/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..294cec15c08d5330c90a32d8ac15d20996728362 --- /dev/null +++ b/10-core-0.2/seed2023/verify_result_epoch200.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.2/seed2023/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:58:07.228223+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243862, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.04914206515017874, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9468901770327433 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0601783692185625, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.600657997806674 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 341317, + "candidate_pass_rate": 0.5513293920010338, + "users_evaluated": 30954, + "users_with_altered_top_k": 26002, + "altered_user_fraction": 0.8400206758415714 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/verify_result_epoch250.json b/10-core-0.2/seed2023/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..e6ced9f7fb621e81f505a626a68f77e70b728746 --- /dev/null +++ b/10-core-0.2/seed2023/verify_result_epoch250.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.2/seed2023/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T19:12:55.120569+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243862, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.0546820895465795, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9493968353438822 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0649684077763161, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6443678521071596 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 364385, + "candidate_pass_rate": 0.5885911352329263, + "users_evaluated": 30954, + "users_with_altered_top_k": 24756, + "altered_user_fraction": 0.7997673967823221 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2023/verify_result_epoch50.json b/10-core-0.2/seed2023/verify_result_epoch50.json new file mode 100644 index 0000000000000000000000000000000000000000..a448834eee9a937fd04d362b93be8b196c3c0959 --- /dev/null +++ b/10-core-0.2/seed2023/verify_result_epoch50.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2023, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 50, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2023/saved/CFKG-epoch50.pth", + "agent_path": "Code/10-core-0.2/seed2023/ppv_agent_epoch50.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T17:58:43.885329+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243862, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.016744308729594214, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.025223249255835814 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.0322845030587375, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.022873257089143038 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 168279, + "candidate_pass_rate": 0.27182108935840277, + "users_evaluated": 30954, + "users_with_altered_top_k": 30949, + "altered_user_fraction": 0.9998384699877237 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2024/baseline_result.json b/10-core-0.2/seed2024/baseline_result.json new file mode 100644 index 0000000000000000000000000000000000000000..516bcaa4abfa70421785535880098dc136c743f8 --- /dev/null +++ b/10-core-0.2/seed2024/baseline_result.json @@ -0,0 +1,100 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "split": [ + 0.2, + 0.7, + 0.1 + ], + "epochs": 250, + "eval_step": 50, + "timestamp": "2026-08-03T16:12:24.197597+00:00", + "best_valid_score": 0.0683, + "best_valid_result": { + "recall@10": 0.0944, + "mrr@10": 0.0813, + "ndcg@10": 0.0683, + "hit@10": 0.1583, + "precision@10": 0.0194 + }, + "test_result": { + "recall@10": 0.0908, + "mrr@10": 0.0503, + "ndcg@10": 0.0589, + "hit@10": 0.0952, + "precision@10": 0.0096 + }, + "checkpoints": [ + { + "epoch": 50, + "valid_score": 0.0329, + "test_result": { + "recall@10": 0.0377, + "mrr@10": 0.0136, + "ndcg@10": 0.0187, + "hit@10": 0.0398, + "precision@10": 0.004 + }, + "checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch50.pth" + }, + { + "epoch": 100, + "valid_score": 0.0389, + "test_result": { + "recall@10": 0.0534, + "mrr@10": 0.0287, + "ndcg@10": 0.0339, + "hit@10": 0.0561, + "precision@10": 0.0057 + }, + "checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch100.pth" + }, + { + "epoch": 150, + "valid_score": 0.0542, + "test_result": { + "recall@10": 0.0712, + "mrr@10": 0.0397, + "ndcg@10": 0.0464, + "hit@10": 0.0746, + "precision@10": 0.0075 + }, + "checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch150.pth" + }, + { + "epoch": 200, + "valid_score": 0.0623, + "test_result": { + "recall@10": 0.0822, + "mrr@10": 0.0457, + "ndcg@10": 0.0534, + "hit@10": 0.0864, + "precision@10": 0.0087 + }, + "checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch200.pth" + }, + { + "epoch": 250, + "valid_score": 0.0683, + "test_result": { + "recall@10": 0.0908, + "mrr@10": 0.0503, + "ndcg@10": 0.0589, + "hit@10": 0.0952, + "precision@10": 0.0096 + }, + "checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch250.pth" + } + ], + "n_users": 217151, + "n_items": 6383, + "n_inters": 529126, + "checkpoint": "./Code/10-core-0.2/seed2024/saved/CFKG-Aug-03-2026_23-06-52.pth", + "checkpoint_dir": "./Code/10-core-0.2/seed2024/saved", + "dataset_cache_source": "shared_deepcopy" +} \ No newline at end of file diff --git a/10-core-0.2/seed2024/ppv_agent_epoch100.zip b/10-core-0.2/seed2024/ppv_agent_epoch100.zip new file mode 100644 index 0000000000000000000000000000000000000000..b7b9eaeb559cc319a9c9508d7626d4f7777b4b4f --- /dev/null +++ b/10-core-0.2/seed2024/ppv_agent_epoch100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38c1a6266d45afd97eb39c9849eaaedf096565d05de58ad1174e9a6848d7ea35 +size 733130 diff --git a/10-core-0.2/seed2024/ppv_agent_epoch150.zip b/10-core-0.2/seed2024/ppv_agent_epoch150.zip new file mode 100644 index 0000000000000000000000000000000000000000..726954aa6f9cf3a7d08429868fb7b8fe2a1d9ec0 --- /dev/null +++ b/10-core-0.2/seed2024/ppv_agent_epoch150.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b16413a5f4cb826889fe5cfe85cde8f90a48df2de794c44918c2d3158046a35a +size 733130 diff --git a/10-core-0.2/seed2024/ppv_agent_epoch200.zip b/10-core-0.2/seed2024/ppv_agent_epoch200.zip new file mode 100644 index 0000000000000000000000000000000000000000..b011b41e4b65883278bf82247a7f7e0ee4053c39 --- /dev/null +++ b/10-core-0.2/seed2024/ppv_agent_epoch200.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe34b90a105e26819c3247a3ababa9db757972b5e36c6e5585af57367b28555a +size 733130 diff --git a/10-core-0.2/seed2024/ppv_agent_epoch250.zip b/10-core-0.2/seed2024/ppv_agent_epoch250.zip new file mode 100644 index 0000000000000000000000000000000000000000..4405642d46b536601bd07f83214ef1b3efed154f --- /dev/null +++ b/10-core-0.2/seed2024/ppv_agent_epoch250.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1747783f8995af8e07c29fb566cf029544433e6db7408f0573616a930d64b4f9 +size 733130 diff --git a/10-core-0.2/seed2024/ppv_agent_epoch50.zip b/10-core-0.2/seed2024/ppv_agent_epoch50.zip new file mode 100644 index 0000000000000000000000000000000000000000..53d49be59072fca14d425f8b4094a4b99c036477 --- /dev/null +++ b/10-core-0.2/seed2024/ppv_agent_epoch50.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec4130a96b9f6671e01ea414f686cfa4ae72bf3bd6763c4e2ac6d4724e45ba94 +size 733130 diff --git a/10-core-0.2/seed2024/verify_result_epoch100.json b/10-core-0.2/seed2024/verify_result_epoch100.json new file mode 100644 index 0000000000000000000000000000000000000000..0ba8de83d731e2df2b363c48216a951ab98ec8a4 --- /dev/null +++ b/10-core-0.2/seed2024/verify_result_epoch100.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 100, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch100.pth", + "agent_path": "Code/10-core-0.2/seed2024/ppv_agent_epoch100.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:19:21.276134+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243866, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.03393255292681435, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.7624941250195832 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06012223136318664, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.450885163716121 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 107815, + "candidate_pass_rate": 0.17415358273567227, + "users_evaluated": 30954, + "users_with_altered_top_k": 30952, + "altered_user_fraction": 0.9999353879950895 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2024/verify_result_epoch150.json b/10-core-0.2/seed2024/verify_result_epoch150.json new file mode 100644 index 0000000000000000000000000000000000000000..d23a6fc8beb838be3edaf46e4f546416a29caf50 --- /dev/null +++ b/10-core-0.2/seed2024/verify_result_epoch150.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 150, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch150.pth", + "agent_path": "Code/10-core-0.2/seed2024/ppv_agent_epoch150.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:41:29.385958+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243866, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.04638594295252463, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9454801817327275 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06217035182223049, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.5373648754504151 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 248397, + "candidate_pass_rate": 0.40123570459391356, + "users_evaluated": 30954, + "users_with_altered_top_k": 30195, + "altered_user_fraction": 0.9754797441364605 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2024/verify_result_epoch200.json b/10-core-0.2/seed2024/verify_result_epoch200.json new file mode 100644 index 0000000000000000000000000000000000000000..50b95b5d7958a89f79ab216b9982172789dc246a --- /dev/null +++ b/10-core-0.2/seed2024/verify_result_epoch200.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 200, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch200.pth", + "agent_path": "Code/10-core-0.2/seed2024/ppv_agent_epoch200.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T18:59:46.603196+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243866, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05338472774485392, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9544101519661601 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06517494075090602, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6037913206955977 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 327489, + "candidate_pass_rate": 0.5289930219034696, + "users_evaluated": 30954, + "users_with_altered_top_k": 27188, + "altered_user_fraction": 0.8783355947535052 + } +} \ No newline at end of file diff --git a/10-core-0.2/seed2024/verify_result_epoch250.json b/10-core-0.2/seed2024/verify_result_epoch250.json new file mode 100644 index 0000000000000000000000000000000000000000..267f7917a6a2c422ff2672fcb4e2e23ed4f968af --- /dev/null +++ b/10-core-0.2/seed2024/verify_result_epoch250.json @@ -0,0 +1,82 @@ +{ + "model": "CFKG", + "dataset": "amazon-books", + "config_file": "config/amazon-books.yaml", + "seed": 2024, + "k_core": 10, + "train_ratio": 0.2, + "test_ratio": 0.1, + "graph_source": "full_dataset", + "epoch": 250, + "run_mode": "batched", + "baseline_checkpoint": "Code/10-core-0.2/seed2024/saved/CFKG-epoch250.pth", + "agent_path": "Code/10-core-0.2/seed2024/ppv_agent_epoch250.zip", + "agent_source": "trained", + "vec_env_cls": "DummyVecEnv", + "timestamp": "2026-08-03T19:14:32.892468+00:00", + "env": { + "path_length": 8, + "top_k": 16, + "step_penalty": -0.01, + "shaping_reward_scale": 1.0, + "pruning_strategy": "tns" + }, + "agent_config": { + "algorithm": "TRPO", + "policy": "MlpPolicy", + "learning_rate": 0.001, + "n_steps": 2048, + "batch_size": 128, + "gamma": 0.99, + "gae_lambda": 0.95, + "cg_max_steps": 15, + "cg_damping": 0.1, + "line_search_shrinking_factor": 0.8, + "line_search_max_iter": 10, + "n_critic_updates": 10, + "total_timesteps": 3200000, + "device": "auto", + "log_interval": 10, + "n_train_envs": 8, + "n_test_envs": 4 + }, + "verification_config": { + "k_candidates": 20, + "final_top_k_per_user": 10, + "num_attempts_per_item": 2, + "prediction_batch_size": 256, + "verify_batch_size": 32 + }, + "n_users_graph": 217151, + "n_entities_graph": 18628, + "n_total_nodes_graph": 235779, + "n_train_pairs": 243866, + "n_test_pairs": 35341, + "n_rec_candidates": 619080, + "baseline": { + "ndcg": { + "ndcg@10": 0.05883483331347816, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.9525301582328058 + } + }, + "ppv": { + "ndcg": { + "ndcg@10": 0.06959857745328132, + "evaluated_user_count": 30954 + }, + "coverage": { + "itemcoverage@10": 0.6428011906626978 + } + }, + "verification_stats": { + "candidates_attempted": 619080, + "candidates_passed": 346076, + "candidate_pass_rate": 0.559016605285262, + "users_evaluated": 30954, + "users_with_altered_top_k": 26766, + "altered_user_fraction": 0.8647024617173871 + } +} \ No newline at end of file