﻿# Contamination-resistant benchmarks: the latent-cache proposal and its limits

A research proposal releases model representations instead of plaintext questions. Examine inference caches, interoperability, reconstruction risk and fair validation.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/contamination-resistant-benchmarks-latent-cache-proposal/
Language: en

Can a public benchmark remain usable for inference while becoming difficult to absorb as ordinary training text? The contamination-resistant dataset proposal explores releasing internal model representations in place of plaintext questions. It is a position and research framework, not an established interoperable benchmark standard or a completed demonstration that every released representation is secure.

## Understand what the proposal would publish

The [position paper](https://arxiv.org/html/2605.19999v1) proposes releasing attention key-value caches, a final-position penultimate hidden state and plaintext target answers. The intention is to resume inference without exposing the original question token sequence. It defines desired properties of irreversibility, equivalent evaluation utility and interoperability across models.

These are requirements to demonstrate, rather than conclusions established by merely selecting a latent storage format. A benchmark author would need a versioned encoding model, a precise representation contract and a way to check that the transformed questions still measure the intended capability. Public plaintext calibration examples also need an explicit role distinct from protected test inputs.

## A runtime cache is not a universal exchange format

The versioned [Transformers cache explanation](https://huggingface.co/docs/transformers/v4.57.1/en/cache_explanation) describes reusing past attention keys and values during autoregressive inference. It also describes layer-specific cache structures, attention masks and cache positions needed for correct continuation. This explains why having tensors is different from having an immediately usable input for an arbitrary model.

A proposed evaluator should therefore preserve the encoding model revision, tensor layout, numeric precision, position conventions and continuation procedure. Quantizing or truncating an artifact changes the object being evaluated. A working ordinary cache mechanism does not itself establish equivalence between an encoded benchmark and its original questions, nor does an inference-only implementation warning prove that every possible alternative training objective is ineffective.

## Treat translation and secrecy as separate empirical questions

The paper discusses anchor-model alignment and longer-term shared representations as interoperability directions. It also acknowledges representation-inversion attacks and architecture-dependent limits. These discussions should not be promoted into an independently verified cross-family translation service or a cryptographic secrecy guarantee.

For a future experiment, evaluate plaintext reconstruction attempts, continuation quality and training-usefulness attacks separately. Agreement on a short generated answer is weaker evidence than stable task results across models, prompt lengths and decoding conditions. A hypothetical attack failing under one tested budget would bound that experiment; it would not establish that all practical attacks are impossible.

## Report the cost and fairness of the transformed evaluation

Encoded inputs can add storage, transfer and translation costs that ordinary text releases do not have in the same form. A proposed comparison should separate those costs from generation latency and preserve an equivalent baseline. The paper's storage discussion is an estimate drawing on compression literature, not our measured deployment footprint.

Evaluate whether encoding favors the anchor architecture or a target whose translator received more calibration effort. Hold protected evaluation examples apart from translator fitting, and report exceptions rather than silently dropping models whose internal interface is unavailable. The [benchmark-method guide](/journal/inference-benchmark-method/) and [reproducible-stack guide](/journal/software-stack-reproducibility/) provide complementary reporting principles. We reviewed the proposal and runtime documentation without encoding a dataset, training a translator or testing an attack. The research question remains whether all required properties can hold together under a declared threat model and comparable evaluation conditions.

## Sources

- [LLM Benchmark Datasets Should Be Contamination-Resistant](https://arxiv.org/html/2605.19999v1).
- [Versioned Transformers explanation of inference caches](https://huggingface.co/docs/transformers/v4.57.1/en/cache_explanation).
