AlgoViz

Lexical, semantic and hybrid retrieval

medium 6 min

Lexical retrieval and dense retrieval can disagree productively.

Where it shows up

The same pattern appears across everyday software.

  • Find both a fault code and its paraphrase

    The rare code E17 is a strong lexical signal. This index supplies ranked IDs with its own score scale. “Charged twice” retrieves the useful P9 even without the error code. The dense score scale need not match the lexical scale. For equal weights and fusion constant 60, P4 receives 1/61 + 1/63. P9 receives 1/64 + 1/61. Keep upstream ranks to explain the difference.