Manuscript Offprint

arXiv:2610.32933

Yalda-Embedding: Open Development of a Competitive Persian Retrieval Model

Yalda Taheri, Mohammad Hassan Heydari, Armon Rasooli

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yalda Taheri

Faculty of Engineering

Azad University

y.jaliltaheri@iau.ir

Mohammad Hassan Heydari

Faculty of Computer Engineering

University of Isfahan

m.heydari@mehr.ui.ac.ir

Armon Rasooli

Department of Electrical Engineering

Iran University of Science and Technology

a.rasouli@ec.iut.ac.ir

Abstract—Despite advances in multilingual text representations, effective dense retrieval for Persian remains constrained by the limited availability of language-specific training resources and compact embedding models. We present YALDA-EMBEDDING, a 595.8-million-parameter Persian retrieval model adapted from Qwen3-Embedding-0.6B using more than one million query-document pairs. On eight Persian retrieval tasks from FaMTEB, the model achieves the highest macro-average among the evaluated 0.6B models, scoring 0.5488 and outperforming Qwen3-Embedding-0.6B and F2LLM-v2-0.6B on every task. It also approaches Qwen3-Embedding-4B, winning on four tasks, tying on one, and trailing by 0.0075 in macro-average. An incremental ablation study examines contrastive batch size, optimization stabilization, and relational knowledge distillation from F2LLM-v2-8B. Under the one-epoch training setup, contrastive fine-tuning alone yields a modest mean improvement over initialization and regressions on two tasks. The final distilled configuration improves all eight tasks over the non-distilled model, raising the mean from 0.4813 to 0.5488 without increasing inference-time model size. These gains include hard-negative evaluation tasks despite training without explicitly mined or supplied hard negatives. We release model weights, training and evaluation code, the pairwise dataset, and its teacher-embedded counterpart, enabling inspection of data composition and training procedures, independent evaluation, and reuse without repeating expensive teacher inference.

Index Terms—Persian text embeddings, dense retrieval, contrastive learning, knowledge distillation.

I. INTRODUCTION

Dense text-embedding models map queries and documents to a shared vector space in which semantic relevance can be estimated efficiently using cosine similarity or an inner product [1]. They are a central component of semantic search, retrieval-augmented generation, clustering, recommendation, and document discovery systems [2], [3]. Although multilingual embedding models have improved substantially, Persian remains comparatively underrepresented in both model development and large-scale retrieval training data [3], [4].

Persian retrieval also faces resource constraints: gathering high-quality Persian data is challenging, and language-specific training and evaluation resources remain limited [3]. These conditions make the adaptation of a multilingual foundation model attractive: the pretrained model supplies broad semantic and cross-lingual knowledge [4], while targeted Persian contrastive training reshapes its representation space for local retrieval tasks.

This work presents YALDA-EMBEDDING, an openly developed Persian dense retrieval model initialized from Qwen3-Embedding-0.6B [5]. The model outperforms both evaluated same-scale decoder-based baselines on all eight FaMTEB retrieval tasks and approaches the substantially larger Qwen3-Embedding-4B reference.

The experiments examine how established training choices accumulate under a fixed student architecture and one epoch of exposure to the training collection. We first increase the contrastive batch size from 64 to 512, then stabilize optimization through gradient clipping, learning-rate warmup, and cosine decay, and finally add relational knowledge distillation from the much larger F2LLM-v2-8B teacher [6].

The main contributions of this work are:

These assets make the development process inspectable: readers can examine the source mixture and query-document pairs, reuse precomputed teacher representations, inspect the optimization and benchmarking procedures, and evaluate the released weights. The teacher-enriched dataset also allows subsequent student experiments without repeating the offline 8B teacher inference stage.

Figure

Fig. 1. Persian retrieval performance on eight FaMTEB tasks. YALDA-EMBEDDING outperforms both same-scale decoder-based baselines on every task. Qwen3-Embedding-4B is a higher-capacity reference: YALDA-EMBEDDING wins on four tasks and ties on one at the reported precision.

References (25)