Dataset Viewer
Auto-converted to Parquet Duplicate
trace_name
large_stringclasses
1 value
trace_family
large_stringclasses
1 value
dataset_source
large_stringclasses
1 value
capacity
int64
3
3
horizon
int64
4
4
decision_id
large_stringclasses
1 value
decision_t
int64
10
10
decision_chunk_id
int64
0
0
candidate_page_id
large_stringclasses
3 values
split
large_stringclasses
1 value
y_loss
int64
1
3
y_value
int64
-3
-1
request_bucket
int64
4
4
request_confidence
float64
0.9
0.9
candidate_bucket
int64
1
3
candidate_confidence
float64
0.6
0.8
candidate_recency_rank
int64
0
2
candidate_age_norm
float64
0
1
candidate_predictor_score
float64
0.3
0.9
candidate_lru_score
float64
0.1
0.9
candidate_is_predictor_victim
bool
2 classes
candidate_is_lru_victim
bool
2 classes
score_gap_to_predictor_best
float64
-0.6
0
score_gap_to_lru_victim
float64
0
0.8
bucket_gap_to_predictor_best
int64
-2
0
bucket_gap_to_lru_victim
int64
0
2
confidence_gap_to_predictor_best
float64
-0.2
0
confidence_gap_to_lru_victim
float64
0
0.2
cache_bucket_mean
float64
2
2
cache_bucket_std
float64
0.8
0.8
cache_bucket_min
int64
1
1
cache_bucket_max
int64
3
3
cache_unique_bucket_count
int64
3
3
cache_confidence_mean
float64
0.7
0.7
cache_confidence_std
float64
0.1
0.1
predictor_lru_disagree
bool
1 class
recent_candidate_request_rate
float64
0.1
0.4
recent_candidate_hit_rate
float64
0
0.3
synthetic_trace
synthetic
synthetic
3
4
d1
10
0
A
train
1
-1
4
0.9
3
0.8
0
0
0.9
0.1
true
true
0
0
0
0
0
0
2
0.8
1
3
3
0.7
0.1
false
0.4
0.3
synthetic_trace
synthetic
synthetic
3
4
d1
10
0
B
train
3
-3
4
0.9
2
0.7
1
0.5
0.6
0.5
false
false
-0.3
0.4
-1
1
-0.1
0.1
2
0.8
1
3
3
0.7
0.1
false
0.2
0.1
synthetic_trace
synthetic
synthetic
3
4
d1
10
0
C
train
1
-1
4
0.9
1
0.6
2
1
0.3
0.9
false
false
-0.6
0.8
-2
2
-0.2
0.2
2
0.8
1
3
3
0.7
0.1
false
0.1
0

LAFC-Evict synthetic workflow sample (test artifact β€” not research data)

A 9-row, fully synthetic sample used to test LAFC-Evict packaging, validation and Parquet loading. It has the same kind of candidate-row layout as the real dataset but must not be used for benchmarking. For research use SoroushVahidi/lafc-evict.

One row is one synthetic candidate at one synthetic eviction decision (3 rows per split)
Size 1 table with 9 rows
Splits train / validation / test
License mit
Code lafc-evict-dataset β€” dataset builder
lafc-evict-tutorial β€” tutorial notebooks
Papers Paper behind the canonical dataset: S. Vahidi. Decision-aligned eviction-value prediction for learning-augmented caching. Knowledge-Based Systems, 2026, article 117353. doi:10.1016/j.knosys.2026.117353
Benchmark paper (preprint): S. Vahidi. LAFC-Evict: A Large-Scale Counterfactual Benchmark for Learned Cache Eviction. SSRN preprint, 2026. doi:10.2139/ssrn.7625523 Β· ssrn.com/abstract=7625523

Quick start

from datasets import load_dataset

ds = load_dataset("SoroushVahidi/lafc-evict-sample", "default")  # DatasetDict with train, validation, test
df = ds["train"].to_pandas()

Tables and columns

Row and column counts below come from the Hugging Face dataset viewer / the files themselves. Descriptions are quoted from this repository's own documentation; "β€”" means the column is not described there (check the detailed sections further down or the schema files). Units are given only where the documentation or the column name states them.

Config Rows Columns
default train: 3 / validation: 3 / test: 3 38
default β€” 38 columns
Column Type Description
trace_name string Release-facing trace identifier.
trace_family string Coarse trace-family label used for grouping and release filtering. Authoritative family field β€” always wiki2018 in this release.
dataset_source string Source dataset label for provenance; always wiki2018 in this release.
capacity int64 Cache capacity used when generating this decision (32, 64, or 128).
horizon int64 Finite rollout horizon used for the label. Constant at 4 throughout this release.
decision_id string Identifier for the eviction decision (one full-cache-miss request).
decision_t int64 Request index of the decision in the processed trace.
decision_chunk_id int64 Chunk identifier used for split bookkeeping.
candidate_page_id string Candidate victim identifier as generated internally, before public pseudonymization (see Privacy section).
split string Dataset split. Constant at train in both v0.2 and v0.3 β€” no held-out val/test split is published.
y_loss int64 Finite-horizon counterfactual LRU-continuation miss count: the number of cache misses over the next horizon requests if this specific candidate is evicted (and the missed page admitted), and the cache is then run forward under plain LRU. Not a global-optimal-control target β€” it is specific to LRU continuation and to the fixed horizon.
y_value int64 Convenience target equal to -y_loss.
request_bucket int64 Bucket assigned to the incoming miss request by the upstream predictor/preprocessing stage.
request_confidence float64 Confidence associated with the incoming miss request bucket/score.
candidate_bucket int64 Bucket attached to the candidate victim.
candidate_confidence float64 Confidence attached to the candidate victim.
candidate_recency_rank int64 Candidate position in recency order within the resident cache state.
candidate_age_norm float64 Normalized recency rank.
candidate_predictor_score float64 Predictor-side score for the candidate victim.
candidate_lru_score float64 LRU-side score for the candidate victim.
candidate_is_predictor_victim bool Whether the predictor policy would choose this candidate as victim.
candidate_is_lru_victim bool Whether LRU would choose this candidate as victim.
score_gap_to_predictor_best float64 Candidate predictor-score gap to the predictor-selected victim.
score_gap_to_lru_victim float64 Candidate LRU-score gap to the LRU victim.
bucket_gap_to_predictor_best int64 Bucket gap to the predictor-selected victim.
bucket_gap_to_lru_victim int64 Bucket gap to the LRU victim.
confidence_gap_to_predictor_best float64 Confidence gap to the predictor-selected victim.
confidence_gap_to_lru_victim float64 Confidence gap to the LRU victim.
cache_bucket_mean float64 Distributional statistics of bucket values across all current cache residents.
cache_bucket_std float64 Distributional statistics of bucket values across all current cache residents.
cache_bucket_min int64 Distributional statistics of bucket values across all current cache residents.
cache_bucket_max int64 Distributional statistics of bucket values across all current cache residents.
cache_unique_bucket_count int64 Number of unique bucket values in the current cache.
cache_confidence_mean float64 Distributional statistics of candidate confidence across the current cache.
cache_confidence_std float64 Distributional statistics of candidate confidence across the current cache.
predictor_lru_disagree bool Whether the predictor and LRU policies would evict different candidates at this decision.
recent_candidate_request_rate float64 Recent request frequency for the candidate over the configured history window.
recent_candidate_hit_rate float64 Recent hit frequency for the candidate over the configured history window.

How the data was made

Generated from a tiny hand-made example input by the LAFC-Evict release builder; contains no trace-derived data.

Good uses

  • Smoke-testing loaders, notebooks and CI pipelines against the LAFC-Evict layout without downloading 100+ MB.

Limitations to know first

  • Synthetic, 3 rows per split: no scientific value.
  • The decision_view and pairwise_view Parquet files are packaging-test outputs, not separate configs.

The sections below are the original, detailed dataset documentation, kept unchanged.

LAFC-Evict Synthetic Workflow Sample v0.1

This is a fully synthetic publication-workflow test artifact, not the canonical LAFC-Evict scientific dataset. It was built from a tiny example input to test packaging, validation, Parquet loading, and derived-view generation. It must not be used for scientific benchmarking or treated as a research contribution.

The canonical research dataset is SoroushVahidi/lafc-evict.

  • Dataset name: lafc-evict-sample
  • Version: 0.1
  • Release type: synthetic_sample
  • Pairwise ties included: no

This is a synthetic sample release for testing the publication workflow. It is not suitable for scientific benchmarking and is not a substitute for the canonical LAFC-Evict dataset.

This sample release contains synthetic rows only and does not include raw traces or external trace-derived data.

Schema Representation Correction

On 2026-08-14, the candidate-row workflow-test indicators candidate_is_predictor_victim, candidate_is_lru_victim, and predictor_lru_disagree were corrected from integer 0/1 to Arrow bool. The previous Hub HEAD before this correction was 3dc9f30ff0d3c10cdf0e7f7e4b4dcc92bcc95d00. This was a schema-representation correction only; the synthetic test values, row counts, partitions, and derived-view files are unchanged.

Test-only derived views

  • data/decision_view/decision_view.parquet is a small workflow-test view with one row per synthetic decision and aggregate outcome fields.
  • data/pairwise_view/pairwise_view.parquet is a small workflow-test view with synthetic candidate pairs and pairwise labels.

These files are retained as packaging-test outputs and are not separate scientific configurations.

Downloads last month
57

Collection including SoroushVahidi/lafc-evict-sample