上海交通大学学报 ›› 2026, Vol. 60 ›› Issue (6): 996-1007.doi: 10.16183/j.cnki.jsjtu.2024.315

• 船舶海洋与建筑工程 • 上一篇    下一篇

一种大语言模型驱动的船舶三维小样增强式建模方法

季昆1, 吕超凡1, 吕健豪1, 鲍劲松1(), 马彦军2   

  1. 1 东华大学 机械工程学院, 上海 201620
    2 沪东中华造船(集团)有限公司, 上海 200129
  • 收稿日期:2024-08-02 修回日期:2024-10-27 接受日期:2024-12-02 出版日期:2026-06-28 发布日期:2026-07-02
  • 通讯作者: 鲍劲松,教授,博士生导师;E-mail:bao@dhu.edu.cn.
  • 作者简介:季 昆(1997—),硕士生,从事大语言模型生成船舶三维小样模型研究.
  • 基金资助:
    国家自然科学基金(52475513)

A Large Language Model-Driven 3D Small Sample Enhanced Ship Modeling Method

JI Kun1, LÜ Chaofan1, LÜ Jianhao1, BAO Jinsong1(), MA Yanjun2   

  1. 1 College of Mechanical Engineering, Donghua University, Shanghai 201620, China
    2 Hudong-Zhonghua Shipbuilding (Group) Co., Ltd., Shanghai 200129, China
  • Received:2024-08-02 Revised:2024-10-27 Accepted:2024-12-02 Online:2026-06-28 Published:2026-07-02

摘要:

在船舶工程领域,三维小样模型是表示实际物体基本几何形状和大体结构的简化版三维数字模型,常被用于验证、优化船舶的结构和性能.传统的三维小样模型被表示为一系列计算机辅助设计(CAD)操作,过程复杂且依赖专业建模知识;大语言模型(LLM)在各领域表现出色,但在三维建模中的应用因“幻觉”现象,建模准确性和鲁棒性较差.为此,提出一种LLM驱动的船舶三维小样增强式建模方法,采用参数化建模指令集表示三维小样模型.首先,基于检索增强生成方法,查找并调用已有三维小样模型代码指令,使用LLM工具调用来驱动模型中定义的参数,减少生成三维小样模型的幻觉.然后,引入外部船舶专业知识库,对生成的三维模型进行信息补充,添加模型特征、工艺要求等,使得三维小样模型在下游应用中发挥更大作用.研究结果表明,LLM驱动的船舶三维小样增强式建模能有效处理不同建模需求,快速生成15个特征内的船舶三维小样模型,显著提升建模效率.

关键词: 船舶三维小样模型, 大语言模型, 检索增强生成, 双细粒度人类反馈的强化学习

Abstract:

In the field of ship engineering, the three-dimensional (3D) small sample model is a simplified 3D digital representation of the basic geometric shape and general structure of an actual object, commonly used to validate and optimize the structure and performance of ships. Traditional 3D small sample models are represented by a series of computer-aided design (CAD) operations, which are complex and dependent on specialized modeling expertise. Large language models (LLMs) have shown excellent performance in various fields, but their application in 3D modeling suffers from the phenomenon of “hallucinations”, leading to poor accuracy and robustness. Therefore, an LLM-driven enhanced 3D small sample modeling method for ships is proposed, using a parametric modeling instruction set. First, based on retrieval-augmented generation, existing 3D small sample model code instructions are searched and called, with LLM tools being used to drive the parameters defined in the model, thereby reducing hallucinations in the generation of 3D small sample models. Then, an external ship knowledge database is introduced to supplement information to the generated 3D model with additional information such as model features, process requirements, etc., enhancing the model utility in downstream applications. The results show that the LLM-driven enhanced 3D small sample modeling method for ships can effectively handle different modeling needs, quickly generating ship 3D small sample models with up to 15 features, and significantly improving modeling efficiency.

Key words: 3D small sample ship model, large language model (LLM), retrieval-enhanced generation, reinforcement learning with dual-granularity human feedback (RLHF)

中图分类号: