Skip to content

HuePrint Core Principles ​

ModelPrism's statistical and forensics engine is adapted and improved from the paper Talk Is Cheap, Show Me Your Colors: Low-Budget Consistency Auditing for Aggregated LLM Services (DOI: 10.5281/zenodo.24340930).

The paper's core idea is to use prompt-driven color probes to build a stable fingerprint, thereby shaping a reliable model-consistency signal.

Why Color? ​

Under current LLM architectures, models develop distinct answering preferences to open-ended questions to a certain degree (in academic terms: responses carry an implicit prior). These preferences arise from pre-training and reinforcement learning (primarily the corpora fed during those stages). Because different models go through different training pipelines, their answering preferences naturally differ as well.

That is the underlying logic behind behavioral-preference verification. So the question becomes: why choose color?

We can probe a bit deeper into the essence: what makes an open-ended question suitable for identifying a model?

That question is left as an exercise for the reader — it's not hard to prove

Just kidding, I'm not that ruthless. Let me spell out the criteria directly:

  • It should be specific.
  • It should be easy to quantify directly.
  • It should be easy to distinguish.

First, a qualified open-ended question should allow a model to fully express its answering preference. That is specificity.

Second, a qualified open-ended question should produce answers that are easy for batch programs to parse, which is the foundation of automated verification. That is ease of direct quantification.

Finally, if a question is open-ended enough, yet the model only has a tiny set of possible answers to pick from, it becomes hard to distinguish models.

That last point may sound contradictory, but it isn't. Being "open-ended enough" ensures the model picks its answer based on the chain-of-thought preferences formed during training for all sorts of reasons. However, if the available answer space is too small (such as picking a number from 1 to 500, where numbers tend to overlap across many meanings), answers chosen for completely different preference reasons collapse onto the exact same outputs — adding noise and reducing separability.

Now look at colors: asking for a color name is open-ended enough, yet hard to parse automatically and hard to separate cleanly.

Take one step further, though — what if we ask the model to output a hexadecimal color code directly? The situation flips completely.

Look at automated processing: hex color outputs take the canonical #RRGGBB form, which can even be matched directly with regular expressions.

Look at the answer space: hex color outputs span roughly 16.77 million states, dramatically increasing the information entropy the answer space can carry. As a result, reasoning preferences map with high resolution and rarely collide.

That is why hex color output was chosen.

Of course, sticking to just a single prompt would never be enough. So I crafted all kinds of quirky prompts asking models to output color codes — what those exact prompts look like is left for you to explore.

Mathematical Methods ​

Below are the mathematical methods used by this tool:

  • Regularized Energy Distance: Compares the overall geometric position and shape difference between the probe-induced color point cloud and the reference library's point cloud (so even if hex codes differ by a few RGB units, spatially close colors are still treated as close).

    • Used together with the hybrid distance for 1:N full-library substitute search (attribution ranking) to compute candidate leaderboard scores;

    • Serves as the 1:1 fallback criterion when single-prompt repetitions are insufficient (< 2 repeats);

    • Acts as the underlying statistic for per-prompt Color DNA distances and 999-permutation tests (p-values).

  • Unbiased U-Statistic: The "debiased version" of energy distance. When each prompt is only sampled 3 times, ordinary energy distance (the V-statistic) becomes systematically inflated due to small-sample bias. The U-statistic removes self-paired terms to eliminate small-sample bias. It serves as the primary criterion for 1:1 verification and same-gateway A/B comparison (enabled when each prompt has >= 2 valid samples), determining whether an endpoint is consistent, borderline, or mismatched while reducing false positives under low sample counts.

    • (Note: It is intentionally not used to rank the full reference library directly, preventing mixed upstream routing or high-dispersion responses from artificially "pulling down" the U-distance and triggering false substitute matches.)
  • JSD Divergence:

    • Voxel JSD: Partitions color space into grid cells to compare distributions and combines with energy distance into the hybrid distance for 1:N attribution ranking and Study S2 cross-provider A/B comparison (resilient to minor color jitter introduced by different providers or quantization).

    • Exact Hex JSD: Compares exact #RRGGBB overlap. Once energy distance passes, this specifically distinguishes "completely identical" from "same underlying model with mild route or surface drift" (>= 0.35 is flagged as mild drift).

    • Side-Channel JSD: Compares casing, # prefix usage, RGB formatting, and thinking-trace habits to help identify formatting rewrites and reasoning-mode differences.

Section Q&A ​

  • Does the choice of color space affect the results? sRGB isn't perceptually uniform to the human eye — is computing geometric distances directly on it reliable? Why not convert to CIELAB or HSV?

    • Answer: With sRGB vs. CIELAB, basically not. In the supplementary materials, we explicitly benchmarked uniformly scaled CIELAB against RGB100: the EER is completely tied, and RGB100 may even perform slightly better. Either way, there's no need to take a detour converting color spaces — in terms of model separability, the two are essentially equivalent (you can actually prove the mapping is injective, though writing that out is tedious and saying "proof is trivial" would wander off-topic). HSV has a singularity along the gray axis, so it isn't very suitable.
  • Methods tied to One Token Is Enough are quite popular online — are tools built on that paper wrong?

    • Notice that while many tools claim to use One Token Is Enough, most of them already incorporate their own improvements, which solves some of the issues. The fingerprints produced by those tools are not wrong; they just have lower discriminability.
    • Strictly speaking, based on the NeurIPS'26 paper Thinking Inertia, the reliability of such tools would theoretically weaken as reasoning models proliferate and post-training intensifies — yet I believe they remain reliable. The reason goes back to the core premise of my paper: "fingerprints generated by answering preferences to open-ended questions depend on implicit priors learned by the model or shaped by its own architecture." The real flaw in One Token Is Enough lies in the collection scheme described in that paper, and honestly, looking across existing tools, very few actually collect samples that way. That means the theoretical foundation behind tools like lm-detector still holds.
  • Then can it catch silent quantization downgrades?

    • Honestly, in empirical tests, not really. The RGB distribution of the same set of weights remains virtually unchanged between bf16/fp8 and int4/fp4. That means it cannot reliably detect quantization changes — though for the very same reason, even if your inference engine changes (for instance, switching to a different self-hosted provider), the fingerprint stays remarkably robust.