In this article
Keep comparison identities, detected cycles and the declared rule used to produce any final ranking.
Reviewers compare candidate answers pairwise. The aggregated comparisons prefer one candidate over another around a cycle, yet an export sorts them into an apparently definitive training ranking.
The mechanism that changes the example
Local pairwise decisions need not define a transitive total order. A graph of accepted preferences can contain cycles even when each comparison has a valid winner and stable candidate identity.
Define the comparison boundary
Model each accepted comparison as a directed relation between stable candidate identities under the same prompt and rubric. Mixing prompts or candidate revisions can manufacture a cycle that does not belong to one coherent comparison task.
Use a three-candidate cycle alongside a transitive control. Cycle detection establishes that the accepted relation is not a strict ranking; it does not identify which individual reviewer is wrong. Missing comparisons can also leave several valid orderings even without a cycle.
Choose the downstream representation deliberately. Pairwise training can retain comparisons without inventing a complete ordering. A ranked export needs an explicit aggregation or adjudication rule and should retain disagreement evidence. Repeat the check after merging review batches, because each batch can be internally acyclic while the combined relation contains a cycle.
A constructed test case
Construct a preference cycle across candidate answers and a separate acyclic control. Every individual comparison can be valid while the cyclic set lacks a topological ordering. Preserve that inconsistency until the declared aggregation objective resolves it.
A reproducible validation procedure
Construct a cyclic preference fixture and an acyclic control. Detect cycles before deriving ordered targets. Preserve raw comparisons and choose an explicit adjudication or ranking objective instead of breaking ties by incidental row order.
Include an unchanged control and a deliberately invalid case. Verify that the checker distinguishes them before testing the complete release.
Exercise the actual preparation path, including later serialization and reload. Limit retained diagnostic content to the evidence required for this comparison.
Evidence needed for acceptance
Keep comparison identities, detected cycles and the declared rule used to produce any final ranking.
Containment and recovery
A cycle may reflect legitimate context-dependent preferences rather than careless annotation.
Quarantine an invalid release candidate or use an explicit partial-release rule. Preserve the last approved artifact and record corrections without silently rewriting historical inputs.
Interpretation and references
Implementation references: NetworkX topological ordering and cycles; Label Studio pairwise comparison control.
This is a proposed engineering validation, not an executed Retrivium benchmark. Documentation specifies interfaces; dataset acceptance needs its own evidence and must be repeated after relevant dependency changes.
Related reading
Continue with Label Studio pairwise exports: map the selected display object back to the model candidate; Annotator vote distributions: soft targets need a denominator and class order. These guides supply adjacent context; the decision in this article remains the specific example-preservation check above.
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.