TRANSMISSION // 2604.10604v2

Adding logic to neural search after training

Source published

NSFL applies fuzzy logical operators to neural embeddings without retraining. Its preprint abstract reports benchmark gains, though fuller evidence is needed to assess the results.

AI-generated conceptual illustration for Adding logic to neural search after training
AI-generated conceptual illustration; not documentary evidence.

Neural search can find material with meanings similar to a query, but combining several conditions can be difficult. NSFL is a proposed post-training framework for adding logical operators to neural embeddings while retaining the meaning of individual query components.

A search for “red cars” can often be handled by matching meaning: a retriever compares a query with documents or images represented as vectors. But “red cars and electric” combines multiple conditions. Standard dense retrievers have no native mechanism for applying logical constraints such as AND or OR to those conditions.

The paper introduces Neuro-Symbolic Fuzzy Logic (NSFL), a training-free framework that applies fuzzy-logical structure to neural embedding spaces after an encoder has been trained. It starts with similarity scores for individual query components, then uses differences in scores to represent how their semantic contributions change when combined in context. The authors call these contextual contributions Neuro-Symbolic Deltas, or NS-Deltas.

The goal is to retain the meaning of each component while accounting for interactions among parts of a combined query. The authors say this approach avoids representation collapse and “manifold escape,” problems they associate with geometric baselines. For latency-constrained use, they also propose Spherical Query Optimization (SQO), which uses Riemannian optimization to project logical formulas into manifold-stable query vectors.

The abstract reports tests across six encoder configurations and two modalities. It says NSFL improved mean average precision at 100 (mAP@100) by up to 81% on QUEST and up to 70% on a COCO-derived text-to-image benchmark. It also reports an average additional gain of 19% when NSFL was applied to an encoder already fine-tuned for logical retrieval. On NevIR, the abstract says pairwise accuracy—the benchmark’s both-correct criterion—increased from 0.256 to 0.508.

These are results reported by the paper’s authors, not independent confirmation. “Up to” indicates the largest stated improvement, not what a reader should expect across all configurations. The abstract does not give enough experimental detail to assess variation, statistical uncertainty, or performance under particular deployment conditions. It also does not establish how these results would translate to other datasets or practical search systems.

The authors distinguish their mathematical decomposition from the operators built using it. They describe the decomposition as exact and general, while characterizing the operators as engineering implementations rather than a closed algebra. In other words, the paper’s claim about the decomposition should not be read as a guarantee that every logical operation is fully specified for every embedding model.

This account is based on the abstract only; the full paper was not available in the supplied evidence. The work is an arXiv preprint, and that evidence does not establish whether it has undergone peer review. The reported benchmarks are therefore an initial indication of the approach, not enough on their own to evaluate its methods, limitations, or broader reliability.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.