Overview

This page documents the decision-model benchmark for entity merge verification on the Local-AI-VM Fedora platform.


The FP/FN Asymmetry

For entity resolution:

  • FP (false positive): Merging two distinct concepts. Destroys graph structure — edges and chunk references absorbed into the wrong node. Hard to undo.
  • FN (false negative): Leaving a duplicate. Recoverable with a second pass.

FP is strictly worse than FN. A model with higher accuracy but more FPs is a worse choice.


Models Tested

ModelTypeSizeEndpoint
Qwen3.5-4B thinkingGenerative4B9931 (chat completions)
Qwen3.5-4B thinklessGenerative4B9933 (chat completions)
Qwen3.5-2B thinkingGenerative2B9931
Qwen3.5-2B thinklessGenerative2B9933
Laya-Q8_0Decision~421M9931 /v1/systemone
d1-3B-Q4_K_MDecision3B9931 /v1/systemone
strands-decider-2bDecision2Bdropped (failed to load)

Run 1 — Broad Benchmark (125 pairs)

ModelCorrectWrongAccuracy
qwen4b_thinkless12320.98
d1-3B11780.94
qwen2b_thinkless96290.77
Laya79460.63
qwen4b thinking2500.20 (100 errors)
qwen2b thinking000.00 (125 errors)

Thinking models: every response had content: "" and finish_reason: length. They exhausted max_tokens inside the reasoning block. Thinking mode is incompatible with single-token output tasks.


Run 2 — Adversarial (110 pairs, amplifies each model’s weakness)

ModelCorrectWrongAccTPTNFPFN
qwen4b_thinkless10460.95406415
d1-3B95150.864550150
qwen2b_thinkless87230.792859617

Selected: qwen4b_thinkless. FP rate 1.8% vs d1’s 26%. Its 5 FNs are all single-character typos, which the embedding gate partially catches.


Lessons

  • Report FP and FN separately. A single accuracy number hides the failure mode.
  • Adversarial sets are more informative than representative ones. Run 2 decided the benchmark in less time.
  • Decision models (Laya, d1) are not drop-in replacements for LLMs on conceptual tasks. Laya was near random; d1 was better but below a 4B generative model.
  • Thinking mode is unusable for single-token output tasks.