TL;DR
LLM-jp-4 is a new family of Japanese "sovereign" large language models (an 8B dense and a 32B Mixture-of-Experts) trained on 12 trillion tokens. By prioritizing full transparency and using only open-source tools and data, the project provides a reproducible blueprint for building high-performing models that respect national linguistic and legal needs.
What Problem Does This Paper Address?
The development of state-of-the-art LLMs is currently concentrated in a few regions and companies, often behind closed doors. This "black box" approach creates two major issues:
- Loss of Autonomy: Countries may become dependent on external AI that doesn't fully align with their specific linguistic, cultural, or legal requirements—a concept known as a lack of "Sovereign AI."
- Scientific Stagnation: Without knowing the exact data, software, and training recipes used, the broader research community cannot verify, reproduce, or deeply analyze how these models' capabilities and risks emerge.
LLM-jp-4 tackles these by building models from scratch while making the entire development process—from data selection criteria to training logs—publicly available.
Methods
The authors employed a sophisticated three-stage training pipeline:
- Pre-training: Conducted in two phases (totaling ~10.5T tokens) to build broad knowledge, with the second phase specifically boosted for math and code.
- Mid-training: Focused on improving response quality and extending the context length from 4K to 64K tokens.
- Post-training: Used Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) to align the models.
Technically, they moved away from standard cosine learning rate schedules in favor of Warmup-Stable-Decay (WSD). This allowed them to maintain a stable training run and "fork" it to decay to zero whenever a finalized checkpoint was needed, providing much more flexibility than traditional methods.
Architecturally, they released two versions: a dense 8.6B parameter model and a 32.1B parameter Mixture-of-Experts (MoE) model that only activates 3.8B parameters per token, optimizing for inference efficiency.
Datasets
The project utilized a massive 12-trillion-token corpus. Key highlights include:
- LLM-jp Corpus v4/v4.1: The core pre-training data covering Japanese, English, Chinese, Korean, and code.
- FineWeb-Rescored & MegaMath-OSS: To ensure reproducibility and avoid restrictive licenses (like those of Llama 3), the team reproduced famous high-quality datasets using open-source LLMs (like Qwen3-32B) for filtering and rewriting.
- LLMC Math Dataset: A newly developed Japanese mathematics dataset aligned with national curriculum guidelines.
- Release Levels: The team implemented a strict "Level" system to manage data usage, ensuring only legally compliant and redistributable data was used for public models.
Key Insights and Ideas
- Open-Source Reproduction is Viable: The team proved that you can replicate the performance of "closed" synthetic datasets (like FineWeb-Edu) by using open-source models for the annotation and filtering pipeline.
- The "Thinking Model" Format: They adopted a specific response format that separates internal reasoning (the "analysis channel") from the final answer. This explicit chain-of-thought training significantly boosted performance on reasoning tasks.
- Tokenizer Simplicity: Instead of expanding an existing English tokenizer (a common but messy practice), they trained a new SentencePiece Unigram tokenizer from scratch on a balanced multilingual mixture. This resulted in a cleaner, more reproducible "recipe."
Key Results
LLM-jp-4 represents a massive leap over its predecessors and holds its own against global open-weight models:
- Japanese Benchmarks: The 32B MoE model achieved a score of 0.605 on
llm-jp-eval, nearly doubling the performance of the previous generation (0.307) and matching the highly-regarded Qwen3-8B (0.608). - Reasoning Gains: On the challenging Japanese GPQA Diamond benchmark, the "thinking" version of the model improved scores from 0.310 to 0.540.
- Conversational Quality: In LLM-as-a-Judge evaluations (MT-Bench JA), the 32B model outperformed
gpt-oss-20b, demonstrating superior instruction-following in Japanese.
Limitations and Future Work
Despite the progress, a "performance gap" still exists on elite-level reasoning tasks. The models still lag behind top-tier proprietary models on benchmarks like AIME (high-school math competitions) and GPQA (expert-level science questions).
The authors identify further improving mathematical reasoning and expanding the "sovereign" data pool as the primary directions for future iterations of the LLM-jp series.
Summary updated