Metraipolis › archive › dc_1da5030af9e8

XLaw-JP-27B: A Lightweight Open Model Specialized for Japanese Law — arXiv:2610.39227

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.39227
License (as archived)
CC0-1.0
Archived
2026-10-31T06:16:58.981Z
SHA-256 of the archived text
abb473d96676394afd16b0618b4e27849103be7114c0cd8f1e7126f31fef59ae
Stable URL of this page
https://metraipolis.com/documento/dc_1da5030af9e8

How to cite

XLaw-JP-27B: A Lightweight Open Model Specialized for Japanese Law — arXiv:2610.39227 — arXiv (en), https://arxiv.org/abs/2610.39227 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1da5030af9e8 (Metraipolis archive dc_1da5030af9e8, sha256 abb473d96676394afd16b0618b4e27849103be7114c0cd8f1e7126f31fef59ae)
BibTeX
@misc{dc1da5030af9e8,
  title = {XLaw-JP-27B: A Lightweight Open Model Specialized for Japanese Law — arXiv:2610.39227},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.39227},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1da5030af9e8; sha256 abb473d96676394afd16b0618b4e27849103be7114c0cd8f1e7126f31fef59ae},
  year = {2026}
}

Archived text

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

We present XLaw-JP-27B, an open-weight model specialized for Japanese law that runs on a single 48\,GB GPU under the Apache~2.0 licence. It adapts Qwen3.8-27B with hybrid retrieval over all current statutes and 31k case summaries, a light QLoRA fine-tune on its own verified answers to past bar-exam questions (self-distillation), a contract-specific LoRA adapter, and four-sample voting. We evaluate it on eight Japanese legal tasks---the multiple-choice section of the bar examination in 2024, 2025 and 2026, statement-level bar questions (JBE-QA), statute questions (LawQA-JP), the patent attorney exam, and contract review and drafting built from government model contracts---against open models of 12--33B under identical prompts and retrieval. XLaw-JP-27B ranks first on six tasks, ties on one and is third on one (mean rank 1.3 against 2.8--3.1 for the baselines). It is the only system that passes the bar exam in all three years (129, 120 and 130 of 175, meeting every subject minimum; no test-year material was used in training), while open Japanese 32--33B models fail at least one year. A controlled study of each component shows that retrieval, voting and self-distillation help, and that thinking mode, retrieval-grounded synthetic tuning, self-verification, per-statement decomposition and more self-distillation do not. The largest remaining gaps to frontier models are in contract review and patent law. The model is available as a free web service at this https URL with the weights available at this https URL under Apache~2.0.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.39227 — 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-31T06:07:23.353Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).