A RAG-based Q&A system for ship regulations applying domain adaptation

Various international organizations and classification societies have established extensive regulations to enhance the safety and reliability of ships. These regulations are continuously revised and updated to keep pace with technological advancements, the increasing size of ships, and the tightening of environmental regulations in the shipbuilding and maritime industry. The key contents of regulations are often conveyed through text, as well as interrelated equations and tables. Due to the complexity of these formats and the inherent difficulty of the regulatory content itself, users require considerable time, effort, and a high level of expertise to retrieve and interpret the necessary information accurately. This study proposed a Q&A (Question-and-Answer) system for ship regulations utilizing RAG (Retrieval-Augmented Generation) to address these challenges. The proposed system comprises a framework that retrieves relevant information from a large-scale database and generates reliable answers tailored to the user’s query intent. To achieve this, we constructed ship regulations into a database optimized for searchability and incorporated hierarchical structures to improve search accuracy. A search module was implemented based on semantic analysis techniques to retrieve the most relevant rules effectively. An answer generation module was also implemented to produce appropriate answers grounded in the retrieved rules. Especially, a domain adaptation technique was applied to a general-purpose model, enabling the system to clearly understand the specialized terminology and context within the domain of ship regulations. The Q&A system supports users in quickly navigating ship regulations, facilitating clear comprehension and practical application of the information. The proposed system was applied to the regulations of the Korean Register, demonstrating its capability to promptly and accurately retrieve rules related to user queries and generate reliable answers. • We propose a RAG-based Q&A system specifically designed for ship regulations. • A ship regulations database is constructed using a hierarchical structure comprising text, equations, and tables. • A search module with enhanced comprehension of ship regulations was implemented by applying domain adaptation to BERT. • We construct data for domain adaptation by proposing a method for generating GPL-based training data. • We implement an answer generation module using designed instructions and memory-efficient LLaMA.

Authors

Institutions

Publication Details

Journal
International Journal of Naval Architecture and Ocean Engineering
Published
2025-12-24
DOI
https://doi.org/10.1016/j.ijnaoe.2025.100735
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A RAG-based Q&A system for ship regulations applying domain adaptation

Min-Chul Kong, Myung-Il Roh, In-Su Han
International Journal of Naval Architecture and Ocean Engineering
Topic Modeling
article

A RAG-based Q&A system for ship regulations applying domain adaptation

Min-Chul Kong, Myung-Il Roh, In-Su Han
article en

Abstract

Various international organizations and classification societies have established extensive regulations to enhance the safety and reliability of ships. These regulations are continuously revised and updated to keep pace with technological advancements, the increasing size of ships, and the tightening of environmental regulations in the shipbuilding and maritime industry. The key contents of regulations are often conveyed through text, as well as interrelated equations and tables. Due to the complexity of these formats and the inherent difficulty of the regulatory content itself, users require considerable time, effort, and a high level of expertise to retrieve and interpret the necessary information accurately. This study proposed a Q&A (Question-and-Answer) system for ship regulations utilizing RAG (Retrieval-Augmented Generation) to address these challenges. The proposed system comprises a framework that retrieves relevant information from a large-scale database and generates reliable answers tailored to the user’s query intent. To achieve this, we constructed ship regulations into a database optimized for searchability and incorporated hierarchical structures to improve search accuracy. A search module was implemented based on semantic analysis techniques to retrieve the most relevant rules effectively. An answer generation module was also implemented to produce appropriate answers grounded in the retrieved rules. Especially, a domain adaptation technique was applied to a general-purpose model, enabling the system to clearly understand the specialized terminology and context within the domain of ship regulations. The Q&A system supports users in quickly navigating ship regulations, facilitating clear comprehension and practical application of the information. The proposed system was applied to the regulations of the Korean Register, demonstrating its capability to promptly and accurately retrieve rules related to user queries and generate reliable answers. • We propose a RAG-based Q&A system specifically designed for ship regulations. • A ship regulations database is constructed using a hierarchical structure comprising text, equations, and tables. • A search module with enhanced comprehension of ship regulations was implemented by applying domain adaptation to BERT. • We construct data for domain adaptation by proposing a method for generating GPL-based training data. • We implement an answer generation module using designed instructions and memory-efficient LLaMA.

International Journal of Naval Architecture and Ocean EngineeringVol. 18
Seoul National University of Science and Technology (KR), Seoul National University (KR)
Industry, innovation and infrastructure
Openalex Percentile: Top 18%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.