# MarineSparkLM-4B: A Lightweight Language Model for Marine and Offshore Engineering Built by Parameter-Efficient Adaptation

arXiv: https://arxiv.org/abs/2611.19151 · HTML: https://mlsanity.com/paper/2611.19151/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 17 of its 31 references that are in the map.
- Submitted 14 Nov 2026.

## Builds on (most cited first, 17 of 17)

- [LoRA: Low-Rank Adaptation of Large Language Models](https://mlsanity.com/paper/2106.09685/) (2021)
- [Qwen3 Technical Report](https://mlsanity.com/paper/2505.09388/) (2025)
- [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://mlsanity.com/paper/2005.11401/) (2020)
- [Measuring Massive Multitask Language Understanding](https://mlsanity.com/paper/2009.03300/) (2020)
- [QLoRA: Efficient Finetuning of Quantized LLMs](https://mlsanity.com/paper/2305.14314/) (2023)
- [Training Compute-Optimal Large Language Models](https://mlsanity.com/paper/2203.15556/) (2022)
- [Self-Instruct: Aligning Language Models with Self-Generated Instructions](https://mlsanity.com/paper/2212.10560/) (2022)
- [BioBERT: a pre-trained biomedical language representation model for biomedical text mining](https://mlsanity.com/paper/1901.08746/) (2019)
- [Don't Stop Pretraining: Adapt Language Models to Domains and Tasks](https://mlsanity.com/paper/2004.10964/) (2020)
- [SciBERT: A Pretrained Language Model for Scientific Text](https://mlsanity.com/paper/1903.10676/) (2019)
- [BloombergGPT: A Large Language Model for Finance](https://mlsanity.com/paper/2303.17564/) (2023)
- [Training Deep Nets with Sublinear Memory Cost](https://mlsanity.com/paper/1604.06174/) (2016)
- [Deduplicating Training Data Makes Language Models Better](https://mlsanity.com/paper/2107.06499/) (2021)
- [LoRA Learns Less and Forgets Less](https://mlsanity.com/paper/2405.09673/) (2024)
- [OceanGPT: A Large Language Model for Ocean Science Tasks](https://mlsanity.com/paper/2310.02031/) (2023)
- [MarineGPT: Unlocking Secrets of Ocean to the Public](https://mlsanity.com/paper/2310.13596/) (2023)
- [Llamarine: Open-source Maritime Industry-specific Large Language Model](https://mlsanity.com/paper/2503.00203/) (2025)

## Abstract (arXiv)

Marine and offshore engineering knowledge is scattered across preprints, open-access journals, encyclopedias and institutional documents, but remains small by pretraining standards. We examine how far parameter-efficient adaptation can take a lightweight domain model on a workstation-class device. Starting from OceanGPT-basic-4B-Instruct, we trained two LoRA adapters, each updating 33.0 million of 4.06 billion parameters (0.81%). Training on one NVIDIA DGX Spark took 4 hours 40 minutes for the first adapter and 10 minutes for the second. The first used next-token prediction on a 61.6-million-token corpus covering ten engineering themes. Of 13,879 source documents, 7,069 remained after deduplication and a two-tier keyword filter to remove cross-domain lexical collisions. Validation loss fell from 2.082 to 1.976 over 1,500 steps. After the continuation adapter drifted off topic on a retrieval-grounded ballast-water prompt, we trained an instruction adapter on 2,295 question-answer pairs: 114 hand-written and 2,181 generated by the base model from corpus passages. Loss was applied only to answer tokens. On 20 held-out prompts, hand-scored for accuracy, topicality and specificity (maximum 120), the base model, continuation adapter, instruction adapter and instruction adapter with retrieval scored 42, 56, 84 and 81. The retrieval score reflects a corrected index-leakage issue. A paired test supports the instruction-tuning gain but finds no retrieval benefit on this set. Accuracy remained low: 14/40 without retrieval and 16/40 with it. A second evaluation used prompts from passages excluded from both instruction-data splits, addressing selection leakage in round one. It confirmed the instruction-tuning gain (p=0.0001 and p=0.0002) and found that retrieval significantly helped the base model, but not the instruction adapter.
