首页 > AI前沿 > Enhancing sLLM Translation for the Construction Domain via Fine-tuning and Retrieval-Augmented Generation

Enhancing sLLM Translation for the Construction Domain via Fine-tuning and Retrieval-Augmented Generation

arXiv自然语言 2026-11-30 13:12 5 阅读 查看原文
用户现在需要把给定的新闻正文排版成语义化HTML片段,要遵循那几个规则。首先,先看内容,整个是研究相关的,没有小节标题?不对,先看内容,第一部分是提出问题,然后是方法,实验,结果,结论?不对,要保留原文所有内容,不能增删。哦对,原文都是连贯的段落?等下,原文是一个大段?不对,仔细看原文的内容:首先第一句说沟通障碍是安全风险,然后通用翻译的问题,然后提出系统。然后是语料构建和配置对比,然后是实验结果,然后是定性研究,最后结论。不对,要准确,不能自己加标题,因为原文没有小节标题,所以所有自然段?不对,原文是一整段?不对,看用户给的正文:哦,是一整段?不对,不对,再读: 第一部分:Communication barriers...accidents. 然后We propose...RAG). 然后Using LLM-based...knowledge base. 然后On 250 held-out...BLEU 23.35, chrF 59.20). 然后Adding RAG...redundant knowledge. 然后A qualitative...other systems. 然后These results...settings. 哦不对,其实可以按照内容划分?不对,规则说每个自然段落用

,长文用

/

划分小节,但原文没有给出小节标题啊?哦,不对,不能自己加标题,因为不能增删内容。哦对,规则4是保留原文所有信息,不得增删改内容。所以不能自己加小节标题,因为原文没有。那首先,处理成几个

?不对,先拆分自然的逻辑段?不对,原文是连续的一段?不对,再看用户给的正文,是连续的一段吗?对,用户给的正文是一整段?不对,我再看: 哦,用户给的正文: Communication barriers between site managers and a growing foreign workforce are a serious safety risk on construction sites. General-purpose translation applications misread construction-specific terminology, including Japanese-derived site slang, and such errors can become a latent cause of serious accidents. We propose a real-time, domain-specific translation system that combines a small language model (sLLM) with retrieval-augmented generation (RAG). Using LLM-based synthetic data generation, we build a Korean-English parallel corpus of 750 sentences centered on 50 key construction terms, and compare six configurations: a multilingual NMT baseline (M2M100 1.2B), its LoRA fine-tuned variant, a general-purpose sLLM (Gemma 3 4B), a fine-tuned Gemma 3 4B, the fine-tuned model with RAG, and the proposed Gemma 3 4B with RAG, which retrieves exact term translations from an external knowledge base. On 250 held-out sentences, the proposed model attains the highest semantic accuracy (COMET 0.846, against 0.833 for the fine-tuned sLLM and 0.770 for the zero-shot sLLM) without any parameter update, while fine-tuning yields the highest lexical overlap (BLEU 23.35, chrF 59.20). Adding RAG to an already fine-tuned model brings no gain, which we interpret as redundant knowledge. A qualitative case study of a safety-relevant term shows that RAG avoids the transliteration and unrelated-word errors of the other systems. These results suggest that RAG is an efficient and easily maintainable route to on-device, domain-specific translation in safety-critical settings. 哦,原来就是一整段?不对,那怎么拆分?哦,不对,逻辑上可以分成几个自然段,但是不能改内容。等下,规则是每个自然段落用

包裹,那原文的自然段落?不对,用户给的正文是一个连续的文本块,没有换行,那我们可以根据语义拆分,但不能增删内容。首先,第一部分:提出问题和研究方案的部分?不对,再仔细看,不要自己加内容,所以拆分的时候只是把原来的长段落按语义拆成几个

,内容完全保留。 等下,先处理内容: 第一个

:讲问题和提出的系统:Communication barriers between site managers and a growing foreign workforce are a serious safety risk on construction sites. General-purpose translation applications misread construction-specific terminology, including Japanese-derived site slang, and such errors can become a latent cause of serious accidents. We propose a real-time, domain-specific translation system that combines a small language model (sLLM) with retrieval-augmented generation (RAG). 然后第二个

:讲语料和实验配置:Using LLM-based synthetic data generation, we build a Korean-English parallel corpus of 750 sentences centered on 50 key construction terms, and compare six configurations: a multilingual NMT baseline (M2M100 1.2B), its LoRA fine-tuned variant, a general-purpose sLLM (Gemma 3 4B), a fine-tuned Gemma 3 4B, the fine-tuned model with RAG, and the proposed Gemma 3 4B with RAG, which retrieves exact term translations from an external knowledge base. 然后第三个

:讲实验结果:On 250 held-out sentences, the proposed model attains the highest semantic accuracy (COMET 0.846, against 0.833 for the fine-tuned sLLM and 0.770 for the zero-shot sLLM) without any parameter update, while fine-tuning yields the highest lexical overlap (BLEU 23.35, chrF 59.20). Adding RAG to an already fine-tuned model brings no gain, which we interpret as redundant knowledge. 然后第四个

:讲定性研究和结论:A qualitative case study of a safety-relevant term shows that RAG avoids the transliteration and unrelated-word errors of the other systems. These results suggest that RAG is an efficient and easily maintainable route to on-device, domain-specific translation in safety-critical settings. 然后,有没有需要加的?比如重要的句子,比如“We propose a real-time, domain-specific translation system that combines a small language model (sLLM) with retrieval-augmented generation (RAG).”可以加?还有最后的结论“RAG is an efficient and easily maintainable route to on-device, domain-specific translation in safety-critical settings.”可以加?不对,规则说重要句子可用,没问题,但是不要改内容。 哦对,还要注意,有没有需要列表的?原文里的六个配置,是在句子里的,用冒号引出,要不要改成

  • ?哦,原文是“compare six configurations: a multilingual NMT baseline (M2M100 1.2B), its LoRA fine-tuned variant, a general-purpose sLLM (Gemma 3 4B), a fine-tuned Gemma 3 4B, the fine-tuned model with RAG, and the proposed Gemma 3 4B with RAG, which retrieves exact term translations from an external knowledge base.”这里如果改成列表的话,会不会改内容?哦,规则3说列表内容用
    • ,那这里六个配置是列表内容,是不是可以拆成
    • ?等下,但是要注意不要改变原意。哦,对,原句是“compare six configurations: X, Y, Z...”,那可以把冒号后面的内容做成列表,保持句子通顺?不对,比如:

      Using LLM-based synthetic data generation, we build a Korean-English parallel corpus of 750 sentences centered on 50 key construction terms, and compare six configurations:

      • a multilingual NMT baseline (M2M100 1.2B)
      • its LoRA fine-tuned variant
      • a general-purpose sLLM (Gemma 3 4B)
      • a fine-tuned Gemma 3 4B
      • the fine-tuned model with RAG
      • the proposed Gemma 3 4B with RAG, which retrieves exact term translations from an external knowledge base

      这样是不是符合要求?对,因为是列表内容,所以用
      • ,而且内容没有增删,只是把并列的内容做成列表,没问题。 然后,重要的句子加,比如提出系统的那句,还有结论的那句。 现在整合起来: 首先第一个

        :

        Communication barriers between site managers and a growing foreign workforce are a serious safety risk on construction sites