文章摘要
面向徽州牌坊的大语言模型微调方法研究
Research on Large Language Model Fine-Tuning Method for Huizhou Archways
投稿时间:2026-06-05  修订日期:2026-07-22
DOI:
中文关键词: 大语言模型  徽州牌坊  指令微调  LoRA 策略
英文关键词: Large language model  Huizhou memorial archway  instruction fine-tuning  LoRA strategy
基金项目:安徽省自然科学基金(FZ2021KF10); 安徽建筑大学校级科研项目(2022XMK03)
作者单位邮编
张广斌 安徽建筑大学(南区)电子与信息工程学院 230601
侯志伟* 安徽建筑大学(南区)电子与信息工程学院 230601
张润梅 安徽建筑大学(南区)电子与信息工程学院 
尹蕾 安徽建筑大学(南区)电子与信息工程学院 
摘要点击次数: 323
全文下载次数: 0
中文摘要:
      针对通用大模型在面对徽州牌坊这种具有深层宗族伦理和复杂形制的垂直领域时,会产生事实性幻觉。全参数微调成本高且可能导致通用能力遗忘,仅靠提示词无法稳定内化长尾知识的问题,以徽州牌坊为研究对象,基于 Self-Instruct 范式构建涵盖建筑构造与文化内涵的指令微调数据集。在此基础上,采用基于全线性层的 LoRA 微调策略并优化秩参数,以增强模型对复杂构件及历史语义的建模能力,缓解小样本过拟合现象。在自建的徽州牌坊数据集上对五款主流基座模型进行验证。实验结果表明,微调后各模型的准确度均有所提升,其中基座模型 Qwen2.5-7B 的 BLEU-4 评分由 5.65 提升至 36.72 。在反映模型深层理解能力的 BERTScore-F1 语义评价指标上, Qwen2.5-7B 取得了 1.11 个百分点的绝对提升,其余各模型亦呈现出一致的增长态势。这证明该微调策略在一定程度上缓解了传统 n-gram 指标仅侧重字面匹配的不足,且在提升通用大语言模型对徽州牌坊问答精度的同时,本研究也为特定架构模型提供了一种泛化性良好的轻量化微调策略,对古建筑数字化保护及垂直大模型的应用提供一定的参考价值。
英文摘要:
      To address the issues that general large language models generate factual hallucinations when applied to the vertical domain of Huizhou archways—a domain characterized by deep clan ethics and complex structural forms—and considering that full-parameter fine-tuning incurs high costs and may lead to the forgetting of general capabilities, while relying solely on prompts fails to stably internalize long-tail knowledge, this study takes Huizhou archways as the research object to construct an instruction fine-tuning dataset covering architectural structures and cultural connotations based on the Self-Instruct paradigm. On this basis, a Low-Rank Adaptation fine-tuning strategy applied to all linear layers is adopted, and rank parameters are optimized to enhance the model"s capability in modeling complex components and historical semantics, thereby mitigating the small-sample overfitting phenomenon. Five mainstream base models are evaluated on the self-constructed Huizhou archway dataset. Experimental results demonstrate that the accuracy of all models improved after fine-tuning; notably, the BLEU-4 score of the base model Qwen2.5-7B increased from 5.65 to 36.72. Regarding the BERTScore-F1 semantic evaluation metric, which reflects the deep comprehension ability of the models, Qwen2.5-7B achieved an absolute improvement of 1.11 percentage points, with the remaining models also exhibiting a consistent upward trend. This demonstrates that the proposed fine-tuning strategy mitigates, to a certain extent, the shortcomings of traditional n-gram metrics that focus solely on literal matching. Furthermore, while enhancing the question-answering accuracy of general LLMs regarding Huizhou archways, this study also provides a highly generalizable, lightweight fine-tuning strategy for models with specific architectures, offering certain reference value for the digital protection of ancient architecture and the application of vertical large models.
View Fulltext   查看/发表评论  下载PDF阅读器
关闭