# Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian

Vikhr: 러시아어를 위한 오픈소스 지시 튜닝 대규모 언어 모델 제품군

Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · arXiv · 2024년 5월 22일

- **연구 문제** 영어 중심 LLM은 러시아어에서 토큰 효율이 낮고 생성 품질이 떨어지는 문제가 있습니다.
- **연구 방법** Vikhr는 Mistral 7B에서 출발해 러시아어 어휘 재구성, KL 정규화를 포함한 지속 pre-training, 전체 가중치 지시 튜닝의 순서로 구축됩니다.
- **주요 결과** 필터링된 코퍼스와 KL 정규화는 중간 모델의 perplexity와 ruXNLI 점수를 개선했고, 지시 데이터셋 구성은 Llama-3 8b 기반 비교에서 Ru-MMLU-pro 점수를 높였습니다.

## 영어 중심 LLM의 러시아어 한계

영어 중심으로 학습된 대규모 언어 모델은 러시아어 생성에서 두 가지 어려움을 보입니다. 하나는 토크나이저 어휘가 러시아어 단어를 잘게 나누어 한 단어가 여러 토큰으로 쪼개지는 문제이며, 다른 하나는 생성 품질이 낮아지는 문제입니다. 원문은 이 불균형이 생성 속도를 떨어뜨리고 문맥에 담을 수 있는 정보량을 줄인다고 설명합니다.

![Figure 1: The efficiency of the Vikhr tokenizer for Rus- sian in comparison to tokenizers of other models](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-a6c9ece90b65e8b2c9c5806b58ebd207.png?thumb=512)

**Figure 1** : The efficiency of the Vikhr tokenizer for Rus- sian in comparison to tokenizers of other models.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

기존 러시아어 모델들은 대체로 영어 중심 모델 위에 LoRA 어댑터를 얹는 방식을 택했습니다. 이 방식은 학습 비용이 낮지만 토크나이저와 어휘가 그대로 남아 토큰 효율 문제를 해결하지 못합니다. 이 논문은 토크나이저 어휘를 다시 구성하고 전체 가중치를 계속 pre-training과 지시 튜닝으로 갱신하는 파이프라인을 제시하며, 그 결과 얻은 모델이 Vikhr입니다.

## 어휘 적응, 지속 pre-training, 지시 튜닝의 흐름

Vikhr는 Mistral 7B에서 출발합니다. 먼저 러시아어 말뭉치 RuLM으로 40k 어휘의 SentencePiece 토크나이저를 학습해 어휘를 재구성합니다. 원래 어휘에 있던 토큰의 임베딩은 이전 값으로 초기화되고, 새 토큰은 원래 임베딩 행렬에서 구성 조각들의 임베딩을 평균하여 초기화합니다. LM head에도 같은 방식이 적용됩니다.

![Table 1: A comparison of tokenization between the original Mistral model and Vikhr](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-6c365ee60d81fffa2f59009bd766e059.png?thumb=512)

**Table 1** : A comparison of tokenization between the original Mistral model and Vikhr.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

다음 단계는 러시아어 말뭉치로 전체 모델을 계속 사전학습하는 것입니다. 원문은 위키백과, 뉴스, 과학 논문, Habr 게시물을 중복 제거하고 GPT-4-turbo 주석으로 학습한 RuBERT-tiny 필터로 걸러 최종 11 billion 토큰을 사용합니다. 이 과정에서 참조 영어 중심 모델과의 KL 페널티를 더해 추론 능력이 줄어드는 망각 현상을 완화하려 합니다. 마지막 단계는 러시아어 및 영어 지시-응답 데이터로 전체 가중치를 미세조정하는 지시 튜닝이며, LoRA 어댑터는 사용하지 않습니다.

![Table 2: The statistics of the Russian-language datasets for continued pre-training](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-f9206f5215d7cb904768233b856a3d99.png?thumb=512)

**Table 2** : The statistics of the Russian-language datasets for continued pre-training.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Table 3: The hyperparameters for continued pre- training](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-3c009ec6dd61ccdc808c26bb83fbb782.png?thumb=512)

**Table 3** : The hyperparameters for continued pre- training.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Table 5: The hyperparameters for instruction tuning](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-e7ab0cb21f27920101388ecf23988815.png?thumb=512)

**Table 5** : The hyperparameters for instruction tuning.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 어휘 크기, 필터링, KL 정규화의 절제 결과

어휘 크기 선택 실험은 LLaMa-2 7b를 기반으로 한 중간 모델에서 33k, 40k, 60k, 80k 어휘를 비교합니다. perplexity는 지시 데이터셋에서 측정하며, 어휘가 커질수록 perplexity가 증가합니다. 원문은 40k에서 ruXNLI 성능 정점을 관찰하고, 작은 perplexity 증가를 감수하여 40k를 선택했다고 설명합니다. 이 결과는 중간 모델의 조건에서 얻은 것이며 최종 Vikhr와의 동일 조건 비교는 아닙니다.

![Table 7: Performance of the intermediate Vikhr mod- els with different vocabulary sizes after continued pre- training. The base model is LLaMa-2 7b. The vocabu…](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-a524ae0d986f8db7d84da4cffb10230d.png?thumb=512)

**Table 7** : Performance of the intermediate Vikhr mod- els with different vocabulary sizes after continued pre- training. The base model is LLaMa-2 7b. The vocabu- lary size selected for the final Vikhr model is underlined.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

필터링 실험에서는 필터링 없는 17b 토큰 코퍼스와 필터링한 11b 토큰 코퍼스를 비교합니다. 필터링한 코퍼스의 perplexity는 7.2로 8.4보다 낮고, ruXNLI는 0.46으로 0.37보다 높으며, Ru-MMLU-pro는 11.1로 10.2보다 높습니다. KL 정규화 실험에서는 정규화 없는 perplexity 8.1, ruXNLI 0.34와 정규화를 적용한 7.2, 0.45를 비교하며, 저자들은 이를 지속 사전학습만으로는 추론 능력이 약화될 수 있고 정규화가 그 망각을 줄인다고 해석합니다.

![Table 8: Performance metrics with and without filtration of the corpus for the continued pre-training. Perplexity is computed on the instruction dataset](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-e7c767e188c264a9114bd9f1e5534e77.png?thumb=512)

**Table 8** : Performance metrics with and without filtration of the corpus for the continued pre-training. Perplexity is computed on the instruction dataset.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Table 9: Performance with and without KL loss regular- ization during continued pre-training](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-792c92148dff90306dda8e229f8fccaa.png?thumb=512)

**Table 9** : Performance with and without KL loss regular- ization during continued pre-training.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 지시 데이터셋 비교와 주요 점수의 범위

지시 데이터셋 비교는 Llama-3 8b를 기반으로 Saiga SFT, 번역한 Nectar, 논문의 지시 데이터셋 Ours를 Ru-MMLU-pro에서 비교합니다. 측정값은 Saiga SFT 0.21, Translated Nectar 0.20, Ours 0.27입니다. 이 점수는 이 비교 설정의 accuracy@1 결과이며, 원문은 같은 데이터셋 구성 효과가 NLU 과제에서 커진다고 설명합니다.

![Table 4: The statistics of the instruction datasets](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-6d3514c5c4a130b875bbdc2eaea87458.png?thumb=512)

**Table 4** : The statistics of the instruction datasets.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

![Table 10: Performance of Vikhr models fine-tuned on various instruction sets. The base model is Llama-3 8b](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224/figures/figure-4c74b865bb01e562e6d7e12648d2e9f2.png?thumb=512)

**Table 10** : Performance of Vikhr models fine-tuned on various instruction sets. The base model is Llama-3 8b.

[원문](https://arxiv.org/abs/2405.13929v8) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov · Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

Vikhr 학습 비용은 NVIDIA A100 80GB 8개 기준으로 지속 pre-training에 약 1,000 GPU hours, 지시 튜닝에 60 hours가 사용되었다고 보고됩니다. 이 수치는 해당 학습 설정의 기록이며, 다른 하드웨어나 선행 모델과의 비교로 확장되지 않습니다.

## 남은 제약과 적용 범위

논문은 RLHF와 DPO를 수행하지 않았다고 밝힙니다. 원문은 인간 주석 자원이 부족했기 때문이며, 이 기법들이 추가 성능 향상을 줄 수 있다고 기대합니다. 또한 지시 데이터의 상당 부분이 ChatGPT 계열에서 얻어졌으므로 모델은 그 정렬을 일부 물려받는다고 설명합니다.

어휘 크기 절제와 필터링 비교의 기반 모델은 LLaMa-2 7b이고, 지시 데이터셋 비교의 기반 모델은 Llama-3 8b입니다. 이 결과들은 각각의 실험 조건에서 얻은 것이며 최종 Vikhr의 동일 조건 비교로 확대되지 않습니다.

## 논문 정보

- **저자**: Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 5월 22일
- **등록일**: 2026년 11월 5일
- **수정일**: 2026년 6월 23일
- **버전**: v8
- **arXiv**: 2405.13929
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2405.13929v8) · [원문 PDF ↗](https://arxiv.org/pdf/2405.13929v8)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

There has been a surge in the development of various Large Language Models (LLMs). However, text generation for languages other than English often faces significant challenges, including poor generation quality and reduced computational performance due to the disproportionate representation of tokens in the model's vocabulary. In this work, we address these issues by developing a pipeline for the adaptation of English-oriented pre-trained models to other languages and constructing efficient bilingual LLMs. Using this pipeline, we construct Vikhr, a series of bilingual open-source instruction-following LLMs designed specifically for the Russian language. \`\`Vikhr'' refers to the name of the Mistral LLM series and means a \`\`strong gust of wind.'' Unlike previous Russian-language models that typically rely on LoRA adapters on top of English-oriented models, sacrificing performance for lower training costs, Vikhr features an adapted tokenizer vocabulary and undergoes the continued pre-training and instruction tuning of all weights. This not only enhances the model's performance but also significantly improves its computational and contextual efficiency. We also expanded the instruction datasets and corpora for continued pre-training. The model weights, instruction sets, and code are publicly available.

## 원문 인용

Aleksandr Nikolich, Konstantin Korolev, Sergei Bratchikov, Igor Kiselev, Artem Shelmanov (2024). Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian. arXiv:2405.13929v8. https://arxiv.org/abs/2405.13929v8

**BibTeX**

```
@misc{nikolich2024vikhr,
  title = {{Vikhr: The Family of Open-Source Instruction-Tuned Large Language Models for Russian}},
  author = {Aleksandr Nikolich and Konstantin Korolev and Sergei Bratchikov and Igor Kiselev and Artem Shelmanov},
  year = {2024},
  eprint = {2405.13929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.13929v8}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [Perplexity](https://refivu.com/terms/2b204e513801-perplexity)
- [catastrophic forgetting](https://refivu.com/terms/0039a430b4e3-catastrophic-forgetting)
- [instruction tuning](https://refivu.com/terms/0a2a2d11f238-instruction-tuning)
- [MMLU-Pro](https://refivu.com/terms/bfee57e68dd0-mmlu-pro)
- [SentencePiece](https://refivu.com/terms/acec043085a4-sentencepiece)
- [KL penalty](https://refivu.com/terms/549311c7296a-kl-penalty)
- [Mistral 7B](https://refivu.com/terms/1de978094d66-mistral-7b)
- [LLaMa-2 7B](https://refivu.com/terms/5214ae8ac077-llama-2-7b)
- [Llama-3 8b](https://refivu.com/terms/3feee723c867-llama-3-8b)

## 다른 논문 해설

- [Lost in the Flow with Code Talkers: Unveiling the Instruction-Tuning Tax of Large Language Models in Code Tasks](https://refivu.com/papers/9c5c4cac-6576-4e60-97d0-311199a7b11c-lost-in-the-flow-with-code-talkers-unveiling.md)
- [Language Models Can Benefit from Domain-Specific Inductive Biases](https://refivu.com/papers/ecf0e8f5-8763-4d53-8896-37d657f3527c-language-models-can-benefit-from-domain-specific-inductive.md)
- [Evaluating LLMs as Judges of Counterspeech Quality Against Online Hate Speech](https://refivu.com/papers/d2d1f40b-1fe4-4cae-8794-5a84f3a546b6-evaluating-llms-as-judges-of-counterspeech-quality-against.md)
- [Are LLM Assistants Regulatory Ready? Answers from regenold's 2026 EU AI Act Q&A Challenge](https://refivu.com/papers/9b6889ca-15e2-465e-a64c-a042438c119c-are-llm-assistants-regulatory-ready-answers-from-regenold.md)
- [PianoBench: Evaluating Musical Perception and Reasoning in Language Models](https://refivu.com/papers/303d2599-ed54-4e1e-92e2-9ef775204ad7-pianobench-evaluating-musical-perception-and-reasoning-in.md)
- [MIMIC-Note-Extract: A Large-Scale Structured Dataset Extracted from MIMIC-IV-Note Discharge Summaries](https://refivu.com/papers/c3134221-3727-4425-a2de-b05c03c5f21c-mimic-note-extract-a-large-scale-structured-dataset.md)
- [Explaining Sequence-Level Knowledge Distillation as Data-Augmentation for Neural Machine Translation](https://refivu.com/papers/bed362a2-5462-4d3e-b4f6-dbaa75490982-explaining-sequence-level-knowledge-distillation-as-data.md)
- [On the generalization capabilities of FSL methods through domain adaptation: a case study in endoscopic kidney stone image classification](https://refivu.com/papers/d0852ca3-f9f1-4ed4-b12e-f39db82c6c87-on-the-generalization-capabilities-of-fsl-methods-through.md)
- [Restoring Negative Information in Few-Shot Object Detection](https://refivu.com/papers/faae2551-d345-4f5a-be59-2e8774eba731-restoring-negative-information-in-few-shot-object-detection.md)
- [Edge-Cloud Collaborated Object Detection via Difficult-Case Discriminator](https://refivu.com/papers/6c563382-b07f-4499-b0d2-cae4199ee500-edge-cloud-collaborated-object-detection-via-difficult-case.md)
- [Honest Small Decision Models for Finance: Scale, Specialization Collapse, and Mixed-Corpus Remediation](https://refivu.com/papers/7a9a2694-dbb6-41dd-a5c8-2f7bfc5a8bbf-honest-small-decision-models-for-finance-scale.md)
- [LoRA-Patch: Defending Against Backdoored LoRA Adapters via Directional Steering](https://refivu.com/papers/a2a0bf8e-4307-4c12-921a-7ff99465ceb9-lora-patch-defending-against-backdoored-lora-adapters-via.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/213f8125-9ee3-459b-ad47-fed9dd92b224-vikhr-the-family-of-open-source-instruction-tuned)
