Real-time maritime weather conditions including wind speed, wave height, barometric pressure and sea state — updated for the vessel's current position.
📡 Visitor Intel
Visitor intelligence panel — displays connection origin, language, timezone and maritime region context for site visitors.
🛰 Vessel & Fleet Analysis
Live AIS vessel tracking map — displays real-time positions of commercial vessels including cargo ships, tankers and bulk carriers operating in Korean and East Asian waters.
The 2017 paper "Attention Is All You Need" and the subsequent rise of the Transformer architecture triggered an explosion in AI chatbots and dialogue systems, with BERT and GPT-2 cementing pre-trained language models as the new standard across industries.
Through hands-on AI chatbot development and a structured NLP course, this R&D note explores what Natural Language Processing is, why it has grown so rapidly, and how it applies to the maritime industry — from document automation to crew communication systems.
Research Objectives
① Understand core NLP concepts and the drivers behind its rapid growth
② Analyze the key mechanisms of Transformer, BERT, and GPT
③ Build a BERT-based AI chatbot through hands-on fine-tuning
④ Explore maritime applications: document QA, compliance support, incident analysis
I. AI vs Natural Language Processing — What Changed?
Natural Language Processing (NLP) is the branch of AI that enables computers to understand, interpret, and generate human language. While classical AI excelled at structured data, NLP targets unstructured text — contracts, reports, conversations, emails, and regulatory documents.
易 Traditional AI
Rule-based processing Structured data only Explicit programming required Narrow domain coverage
NLP (Transformer Era)
Context-aware understanding Unstructured text processing Large-scale pre-training Cross-domain generalization
SQuAD vs KorQuAD — Reading Comprehension Benchmarks
SQuAD (Stanford)
English machine reading comprehension benchmark with 100k+ question-answer pairs from Wikipedia. BERT exceeded human-level F1 score (93%).
KorQuAD (Korean)
Korean MRC dataset developed by LG CNS. The de facto benchmark for Korean NLP research; KorBERT-based models achieve top performance.
3 Drivers Behind NLP's Explosive Growth
2017
Attention Is All You Need — Transformer overcomes sequential bottleneck of RNNs; full parallelism unlocked
2018
BERT / GPT / ELMo — Pre-train once, fine-tune anywhere; generalist language models for all downstream tasks
★
Compute + Big Data — Falling GPU/TPU costs combined with massive internet text corpora made large-scale training practical
II. Mathematical Background & NLP Pipeline
NLP Processing Steps
1
Morphological Analysis (Tokenization)
Split text into meaningful minimum units (morphemes/tokens). Korean requires dedicated tools (KoNLPy, MeCab) due to its agglutinative grammar; English uses subword tokenization (BPE, WordPiece).
2
Word Embedding
Map words into dense high-dimensional vectors. Evolved from static embeddings (Word2Vec, GloVe) to BERT's dynamic contextual embeddings that change meaning based on surrounding words.
3
Language Modeling
Model the probability distribution over word sequences. The trajectory: Markov Model → RNN → Attention → Transformer — each step capturing longer-range dependencies.
4
Fine-Tuning & Task Application
Adapt a pre-trained model (BERT) to a specific task (QA, classification, NER) with minimal labeled data. The "pre-train once, fine-tune anywhere" paradigm slashes development cost.
Language Model Evolution — Markov → RNN → Transformer
Markov Model
Predicts next word from N prior words. Cannot capture long-range dependencies.
RNN / LSTM
Sequential processing with hidden state. Partially solves vanishing gradient. No parallelism.
Transformer ★
Self-Attention attends all positions simultaneously. Full parallelism. Foundation of BERT & GPT.
III. Key Research: BERT vs GPT vs ELMo
Three landmark models published in 2018–2019 established distinct pre-training strategies that dramatically advanced NLP performance across all benchmarks.
PAPER-01
BERT — Google AI (2018)
"BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding"
Training Strategy
Bidirectional — learns left and right context simultaneously via Masked Language Model (MLM) + Next Sentence Prediction (NSP)
Strength
Best-in-class for comprehension tasks: QA, NER, sentiment analysis. Surpassed human-level on SQuAD.
"Improving Language Understanding by Generative Pre-Training"
Training Strategy
Autoregressive (Unidirectional) — predict the next token from all prior tokens. Optimized for text generation.
Strength
Fluent text generation — email drafting, report writing, dialogue response generation. Foundation for ChatGPT.
PAPER-03
ELMo — AllenAI (2018)
"Deep Contextualized Word Representations"
Key Contribution
Bidirectional LSTM generates dynamic word embeddings — the same word receives different vectors depending on context. Solved polysemy for the first time at scale, paving the way for BERT.
IV. Transformer Architecture — Core Components
Self-Attn
Self-Attention
Computes pairwise relationships between all words in a sentence simultaneously. The model learns which words to "attend to" when encoding each token — implemented via Query, Key, and Value matrix operations.
Multi-Head
Multi-Head Self-Attention
Runs multiple attention heads in parallel, each learning different relationship aspects (syntactic, semantic, co-reference). Results are concatenated, giving the model a richer, multi-perspective representation.
Pos.Enc
Positional Encoding
Since Transformers have no built-in order awareness, position information is injected using sin/cos functions added to token embeddings. This lets the model distinguish "ship arrives port" from "port arrives ship."
FFN+Softmax
Feed Forward + Softmax ★
Non-linear transformation (ReLU) applied after attention to increase expressiveness. The final Softmax layer converts logits into a probability distribution over the vocabulary for next-token prediction.
python — Scaled Dot-Product Attention
import torch
import torch.nn.functional as F
# Attention(Q, K, V) = softmax(QK^T / sqrt(d_k)) · Vdefscaled_dot_product_attention(Q, K, V):
d_k = Q.size(-1)
scores = torch.matmul(Q, K.transpose(-2, -1)) / d_k**0.5
attn = F.softmax(scores, dim=-1)
return torch.matmul(attn, V) # weighted sum of Values
V. Hands-On Curriculum & Maritime Applications
Study Curriculum (From September 2020)
① Theory Foundations
Math background · NLP basics · Morphological analysis · Word embedding · Language models
② Key Papers
Transformer · BERT · GPT-1 · ELMo — original paper deep-reads
SMS Document QA — Safety Management System Automation
A BERT-based QA system can retrieve specific procedures and regulations from hundreds of SMS pages instantly. Dramatically reduces audit preparation time under ISM Code requirements.
Compliance Chatbot — IACS / IMO Regulation Q&A
A chatbot fine-tuned on IACS UR E26/E27 and IMO MSC-FAL.1/Circ.3 documents answers compliance team queries in real time, reducing reliance on external legal consultants.
Bridge Communication Automation — VHF / GMDSS Log Analysis
STT converts VHF radio traffic to text; NER then extracts vessel names, positions, and hazard flags automatically. Enables auto-generation of voyage logs and distress situation reports.
NLP classifies and summarizes maritime accident reports (MAIB, ATSB, KMST) to surface recurring causal patterns automatically, strengthening proactive safety management and risk assessment.
Field Note
NLP is no longer a lab technology. The document-intensive nature of maritime operations makes it one of the most suitable industries for NLP adoption.
Thousands of pages of SMS manuals, regulatory circulars, incident reports, and radio logs — if a BERT-based system processes this unstructured data in real time, a single surveyor's workload becomes manageable AI-assisted intelligence.
For Korean maritime documents, fine-tuning KorBERT (ETRI) or KLUE-BERT is the practical starting point.
Conclusion & Next Steps
From Transformer fundamentals to BERT / GPT / ELMo comparison and hands-on chatbot fine-tuning, this R&D note maps the complete theoretical and practical path of modern NLP.
The R&D journey started in September 2020 goes beyond AI chatbot development — it points toward maritime document automation, real-time compliance support, and incident analysis as concrete industry targets.
Next step: Build a KorBERT-based Korean maritime regulation QA system — automating the search and interpretation of IACS UR E26/E27 clauses for compliance teams.
Devlin, J., Chang, M., Lee, K., & Toutanova, K. (2018). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding.NAACL 2019. https://arxiv.org/abs/1810.04805
All content on ShipPaulJobs reflects direct field experience and operational insight from maritime cybersecurity practice. Select posts carry additional verification badges indicating independent review by our editorial team, technical advisory board, or industry partners.
Learn More →
🍪 이 사이트는 Google Analytics 및 Google AdSense 쿠키를 사용하여 사이트 이용 통계를 수집하고 맞춤형 광고를 제공합니다.
This site uses Google Analytics and Google AdSense cookies for usage analytics and personalized ads.개인정보 처리방침 / Privacy Policy
Comments
Post a Comment