[FEATURE] Explore per-segment prepared-data slices for cheaper independent verification

Open
#299 4 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@pavithra-r06 is already working on this.

Since Nov 18, 2026.

  • #375 by @pavithra-r06 — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by tracing the existing prepared-data loader and verification workflow to find how a selected segment's document and token ranges are determined. Build a single-segment feasibility prototype that compares package batches with the full-data loader and checks replay digests plus missing, corrupted, reordered, and incomplete data. Report whether extraction preserves bit-for-bit replay, the download-size reduction, and any verification-contract limitations.

Written by the indexing model from the issue text.

Description

Problem

Independent verification currently requires downloading the complete prepared dataset (approximately 22 GB in the current verification workflow), even when a contributor wants to recompute only one training segment.

This creates an unnecessary barrier to independent verification.

Proposed investigation

I would like to explore whether we can create segment-scoped prepared-data packages containing only the exact data required to reproduce a selected segment.

The initial feasibility prototype would:

  1. Identify the exact document and token ranges consumed by a selected segment.
  2. Package the required data without changing its training order or contents.
  3. Compare batches from the package against the existing full-data loader.
  4. Verify that replay produces identical state and model digests.
  5. Test missing, corrupted, reordered, and incomplete package data.
Important integrity requirement

The new approach must preserve the existing cryptographic commitments and verification guarantees. It must not weaken the current chain or silently change the training inputs.

Proposed first milestone

I would start with a single-segment feasibility prototype and report:

  • Whether exact data extraction is possible.
  • Whether replay remains bit-for-bit identical.
  • The actual download-size reduction.
  • Any limitations or changes needed to the verification contract.

I would appreciate maintainer feedback on the proposed approach and preferred package format before implementing changes to the verifier.

Dominant language
Python
Stars
27
Forks
72
Avg merge
2d 19h
Merged PRs (30d)
45

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/OpenVerifiableLLM

All issues in AOSSIE-Org/OpenVerifiableLLM

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.