In this article
Similarity-score exports and binary-label exports require different target interpretations.
The generated-data scenario
A retrieval-data generator enables output_scores to retain more evidence from negative mining, then feeds the result into a loader that expects a binary relevance label. The option can change the target representation rather than merely append harmless metadata. The investigation asks what each exported field means before a generic numeric-column adapter silently makes it the student loss target.
The generation mechanism
Sentence Transformers documents that labeled-pair and labeled-list outputs replace binary label fields with score fields when output_scores is enabled. The inspected implementation constructs those alternatives separately. Scores come from the selected similarity model or rescoring cross-encoder, whereas binary labels express the positive-versus-negative construction role. Neither field should be interpreted as the other simply because both are numeric.
Define the dataset contract
Define whether the student learns role classification, ranking, score imitation or another objective. Preserve the mining model, optional rescorer, output format and scoring configuration with the generated records. Keep candidate roles independently if later analysis needs them. A continuous teacher score is not automatically calibrated relevance probability, and a mined negative role is not universal proof that the document cannot answer the query.
A step-by-step protocol
Prepare a controlled query with an intended positive and distinct negative candidates. Export the same mining setup under label and score configurations. Inspect returned column names and values before invoking the training loader. Trace which target reaches the selected loss, including any renaming or numeric casting. Reject a schema mismatch visibly rather than silently choosing the last numeric column.
Evidence required for acceptance
Acceptance requires an explicit loss-to-target mapping and provenance for every generated score or role label. Preserve the teacher identity and distinguish score-based filtering from the later supervised objective. Inspect paired records after serialization so a field rename cannot conceal a changed meaning. A successful training batch only demonstrates accepted tensors; it does not establish that the student optimized the intended relevance objective.
Failure cases and limits
This protocol does not select a universally best loss or establish that every teacher score is informative. Margin choices and ambiguous candidates require separate evaluation. The proposed investigation isolates an export-mode change that can alter supervision. It reports no retrieval improvement and does not turn agreement with a teacher into independent evidence of factual correctness or human relevance.
Primary references and related reading
Similarity-score exports and binary-label exports require different target interpretations. Sentence Transformers negative-mining output formats; Sentence Transformers binary-label versus score construction.
The proposed investigation of sbert miner output scores replaces binary target is a proposed dataset-contract review; no production dataset was generated or evaluated. Related reading: DPR training data: positive passages, hard negatives and candidate provenance; BEIR qrels: an unjudged passage is not a verified negative.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.