Metraipolis › archive › dc_5783685d8dd8

Natural Language Code Retrieval for 1C:Enterprise: An Open Benchmark and Efficient Bi-Encoder — arXiv:2608.19957

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.19957
License (as archived)
CC0-1.0
Archived
2026-10-18T11:39:19.600Z
SHA-256 of the archived text
350f10465201199ac13f0836119a9c49897e41faeefd480c0b11dd81d9dabf3c
Stable URL of this page
https://metraipolis.com/documento/dc_5783685d8dd8

How to cite

Natural Language Code Retrieval for 1C:Enterprise: An Open Benchmark and Efficient Bi-Encoder — arXiv:2608.19957 — arXiv (en), https://arxiv.org/abs/2608.19957 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5783685d8dd8 (Metraipolis archive dc_5783685d8dd8, sha256 350f10465201199ac13f0836119a9c49897e41faeefd480c0b11dd81d9dabf3c)
BibTeX
@misc{dc5783685d8dd8,
  title = {Natural Language Code Retrieval for 1C:Enterprise: An Open Benchmark and Efficient Bi-Encoder — arXiv:2608.19957},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.19957},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5783685d8dd8; sha256 350f10465201199ac13f0836119a9c49897e41faeefd480c0b11dd81d9dabf3c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.19957. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Natural language code retrieval is a rapidly evolving task in computer science. However, the 1C:Enterprise ecosystem combines Russian syntax with highly domain-specific terminology, for which open datasets and specialized models have been virtually non-existent. We present a comprehensive pipeline for 1C code retrieval: an open benchmark of 3,413 real-world, PII-scrubbed query-code pairs, a reproducible evaluation harness, and a specialized bi-encoder. To overcome scarce labeled data, we fine-tune on 784,057 synthetic triplets generated by google/gemma-4-26B-A4B-it from public code repositories, using Matryoshka Representation Learning (MRL) and a privacy-aware tokenizer. Because the benchmark subsets differ in size, we report balanced-subset macro, query-weighted micro, and forum-only results. Our model reaches 0.5992 balanced macro nDCG@10, 0.5044 micro, and 0.4617 on forum, versus 0.4932 macro for the baseline architecture and 0.5404 for google/embeddinggemma-300m. Removing every benchmark example flagged by the conservative exact/13-gram overlap audit leaves 0.6011 balanced macro (0.5010 micro), indicating that detected train-benchmark overlap does not explain the headline result. MRL truncation to 256 dimensions preserves 99.9% of retrieval quality while reducing dense-index storage and exact similarity arithmetic by a factor of three.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-21 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2608.19957 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T11:38:27.919Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).