RecipeMatching verified arm (Qwen3-Embedding-0.6B)
A checkpoint from the paper Recipe-Matching, Not Equivalence (Ali Habibullah, Mohammad Alshiekh, Yazan Alshoibi, Salman Khan and Naeemullah Khan, 2026), shared so the paper's evaluations of this model can be re-run without retraining. It is not one of the three models the paper releases as its main artefacts. Code, data and results: https://github.com/KAUST-Academy/recipe-matching-not-equivalence.
What it is. The verified arm of the paper's matched-budget experiment: Qwen3-Embedding-0.6B fine-tuned (all weights) on 6,145 rows drawn from data/cas_pairs/pairs.jsonl, math-problem pairs that a computer algebra system (SymPy) certified, with no LLM involved. Its positives rename the source problem's variables, reformulate one of its equations or inequalities, or mirror one of its inequalities; its negatives are minimal edits kept only when a numeric counterexample proves them non-equivalent. It shares every setting with the recipe arm and differs from it only in the training file. Seed 42; the full training record, command line included, is
run_config.json in this repository, and every training file named here is in the GitHub repository.
Results of this checkpoint (seed 42, R@1 / R@5 / R@10; the paper's main tables report eight-seed means (seeds 42–49)):
| Evaluation | R@1 | R@5 | R@10 |
|---|---|---|---|
| MathNet-Retrieve easy tier (15,000 queries, 117,088 documents) | 17.31 | 85.10 | 92.27 |
| MathNet-Retrieve medium tier | 2.47 | 41.91 | 57.74 |
| MathNet-Retrieve hard tier | 0.13 | 9.59 | 26.49 |
| Cross-language duplicates (strict) | 61.32 | 79.90 | 86.26 |
Usage. Encode queries with the model's query prompt, the setting every number above uses.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("KAUSTAcademy/RecipeMatching_VerifiedArm_Qwen3-Embedding-0.6B")
q = model.encode(["Find all real x with x^2 = 2x."], prompt_name="query")
d = model.encode(["Determine every real solution of x^2 - 2x = 0."])
print(model.similarity(q, d))
Citation
@misc{habibullah2026recipematchingequivalence,
title={Recipe-Matching, Not Equivalence},
author={Ali Habibullah and Mohammad Alshiekh and Yazan Alshoibi and Salman Khan and Naeemullah Khan},
year={2026},
eprint={2609.31927},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2609.31927},
}