---
title: "OceanGPT: A Large Language Model for Ocean Science Tasks"
description: "OceanGPT adapts Llama 2 to ocean science with literature and generated instructions, then tests its answers and explores underwater robot…"
canonical: "https://research.elamur.ai/free/en/papers/bi-2024-oceangpt-large-language-model-ocean/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bi-2024-oceangpt-large-language-model-ocean/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / OceanGPT: A Large Language Model for Ocean Science Tasks

# OceanGPT: A Large Language Model for Ocean Science Tasks

Paper · 2024 · Zhen Bi, Ningyu Zhang, Yida Xue et al.

**Authors:** [Zhen Bi](https://md.research.elamur.ai/free/en/authors/zhen-bi/), [Ningyu Zhang](https://md.research.elamur.ai/free/en/authors/ningyu-zhang/), Yida Xue, [Yixin Ou](https://md.research.elamur.ai/free/en/authors/yixin-ou/), Daxiong Ji, [Guozhou Zheng](https://md.research.elamur.ai/free/en/authors/guozhou-zheng/) and [Huajun Chen](https://md.research.elamur.ai/free/en/authors/huajun-chen/) · **Year:** 2024 · **Venue:** Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **18** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bi-2024-oceangpt-large-language-model-ocean/cited-by/) · Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.acl-long.184/)
- [PDF](https://aclanthology.org/2024.acl-long.184.pdf)
- [DOI 10.18653/v1/2024.acl-long.184](https://doi.org/10.18653/v1/2024.acl-long.184)

## Summary

An oceanographer might ask for an explanation of a marine process, an edit to a report, or a recommendation about equipment. Each request calls for a different kind of answer, even when all of them rely on the same scientific background. OceanGPT investigates whether a general-purpose [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) can handle these requests better after training on ocean literature and examples of the work oceanographers ask it to do. The authors focus on the difficulty of preparing enough examples to cover a field that includes physics, chemistry, biology, environmental protection, engineering, and human uses of the sea.

The training starts with [Llama 2](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-2-open-foundation-fine/). The authors collect 67,633 open-access documents as a raw corpus, clean the text, and use it to continue pretraining. They then adapt the resulting system to follow instructions. Their DoInstruct framework expands a manually checked seed collection in two ways. It develops existing examples into more detailed requests and answers, and it takes passages from ocean literature and works backward to write questions those passages could answer. Agents screen and debate the resulting pairs. The two generation routes produce more than 150,000 instructions, and ocean science experts review a random 10% sample of generated data.

The authors evaluate OceanGPT on OceanBench, a benchmark covering 15 ocean-related tasks, including [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/), extraction, and editing. They compare answers against Llama 2 Chat, Vicuna, and ChatGLM2. OceanGPT wins the majority of tasks in the reported comparisons, with the same broad pattern under GPT-4 judging and human judging. An analysis of the training examples also finds differences between the agents’ contributions. Expanding seed examples helps diversify the material, drawing answers from literature improves specialist content, and screening helps improve the quality of retained examples.

Two case studies show what those results look like in practice. In a comparison with Vicuna, OceanGPT gives a more detailed overview of a research problem in marine radioactive contamination. In a separate experiment, the authors add synthetic robotics instructions to training and show OceanGPT producing code for a simulated underwater robot to follow a double-helix path. The benchmark establishes a relative advantage on a collection of language tasks. The simulation illustrates an early engineering application in which a generated answer can be executed and its effect observed.

## Deep dive: OceanGPT: A Large Language Model for Ocean Science Tasks

OceanGPT adapts Llama 2 to ocean science with literature and generated instructions, then tests its answers and explores underwater robot control in simulation. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What an ocean science assistant has to do

The authors begin with the importance of ocean science to understanding biodiversity, climate, and economic activity. The technical difficulty for a language system follows from the range of questions that importance creates. A scientist studying ocean currents uses different terms and evidence from an engineer choosing observational equipment. A question about pollution may call for an explanation of an ecosystem process, a judgment about a proposed intervention, or help preparing a document for an agency. The system has to identify what kind of answer the user wants as well as which part of ocean science the request draws on.

The paper describes two pressures behind this problem. The first is the scale and complexity of the available material. Ocean research produces a great deal of information, but obtaining suitable data for a particular scientific problem is itself difficult. The second is the level of detail specialists need. A broad explanation can sound reasonable while omitting the distinctions that make it useful to someone working on a particular phenomenon. The authors use this second pressure to motivate a training collection that reaches into subtopics, where the relevant terms, relationships, and forms of evidence may differ considerably.

Scientific literature offers one starting point. It contains accounts of research questions, methods, and findings, expressed in the language used by specialists. A document collection alone leaves something unresolved, however. A passage that discusses a method can supply material for an answer, but it does not ordinarily come labeled with a user request and an example of how to respond. A training corpus and a collection of instructions therefore serve different purposes in the paper. One exposes the system to the written material of the field. The other gives it examples of performing specified tasks with that material.

Preparing those examples by hand poses a second data problem. Someone has to decide which questions represent work in the field, write or find appropriate answers, and check the resulting pairs. Doing this across many subtopics demands knowledge that may be spread among different people. The authors' response is to retain expert involvement where it defines the desired data and provides checks, then use automated generation where it can increase the number and variety of examples. The resulting design makes the quality of generated training data a research question in its own right.

#### How the paper situates the approach

The related work describes progress in general-purpose [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) in terms of both scale and the widening range of tasks they can address. The paper groups early general systems and later open systems in this account, including GPT-3, PaLM, and the LLaMA family. OceanGPT starts from an existing general system, so the immediate research question is how to adapt capabilities already present in that starting point. The paper places the ocean-specific choices in the corpus, the instruction data, and the evaluation. [Language Models are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/) · [PaLM](https://md.research.elamur.ai/free/en/papers/chowdhery-2022-palm-scaling-language-modeling-pathways/) · [LLaMA](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-open-efficient-foundation-language/)

One approach the authors discuss is to retrieve external information and give it to a system when it needs to answer. This is [retrieval-augmented generation](https://md.research.elamur.ai/free/en/concepts/retrieval-augmented-generation/). In the OceanGPT pipeline, searching a collection also plays a role, but at a different point. The authors retrieve passages while preparing training examples. The passage may become the answer side of an instruction pair and thus influence the system through training. The timing matters when interpreting the paper's claims. Its benchmark does not measure how well the trained system finds and cites a relevant document on each request.

The authors also place the work in the tradition of instruction tuning, a form of [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) in which examples show how to respond to requests. Their related work includes research on making systems follow instructions and work on generating instruction examples automatically. DoInstruct shares the premise that generated examples can extend what people write by hand. Its ocean-specific design assigns explicit roles to the agents, organizes generation by topics, and gives marine literature a separate route into the instruction collection. [Instruction Following with Human Feedback](https://md.research.elamur.ai/free/en/papers/ouyang-2022-training-language-models-follow-instructions/) · [Self-Instruct](https://md.research.elamur.ai/free/en/papers/wang-2023-self-instruct-aligning-language-models/)

The scientific examples in the related work show several meanings of specialization. The authors describe clinical research that brings human evaluation and prompt tuning to medical questions. They discuss BioGPT as a system trained on biomedical literature for generation and text mining. They also point to work that starts from single-cell transcriptomes and to protein research that predicts structure from primary sequences. These examples differ in their inputs and desired outputs. For OceanGPT, the main input is a written request, and the benchmark centers on what the system writes in response. The geoscience project the authors discuss provides a closer comparison in its emphasis on both adaptation and benchmarking for a scientific field. [Large Language Models Encode Clinical Knowledge](https://md.research.elamur.ai/free/en/papers/singhal-2022-large-language-models-encode-clinical/) · [BioGPT](https://md.research.elamur.ai/free/en/papers/luo-2022-biogpt-generative-pre-trained-transformer/)

The paper consequently tackles two problems that have to be addressed together. Training requires examples detailed enough to represent specialist work. Evaluation requires requests varied enough to reveal whether that training helps across different kinds of work. A test built completely from factual questions would give little information about report editing or extraction. An assessment based on an engineering demonstration would leave the routine language tasks uncovered. The authors use a common benchmark for the broad comparison and reserve the scientific and engineering cases for closer inspection of particular outputs.

### The method, step by step

#### Continuing pretraining on ocean literature

OceanGPT begins with Llama 2 and undergoes continued pretraining on ocean science text. Continued pretraining means the system enters this stage with learned language capabilities and receives further training on a new collection. The raw collection consists of 67,633 documents from open-access literature. The authors prefer recent publications for their account of current research, include some historically important work, and draw from different sources to widen the range of perspectives and methods. The reported count applies to the raw collection. Cleaning and duplicate removal come afterward.

The authors convert the papers to plain text with the Python package pdfminer. PDF documents combine running text with material intended for a visual layout. A page number or a header can appear in extracted text as if it belonged to the paragraph around it. The paper describes using regular expressions, which match recurring patterns in text, to remove such material along with URLs, references, and content from tables and figures. The authors also clean excess whitespace, irregular line breaks, and garbled characters. The aim is a more consistent collection of readable prose.

They then use hashing to remove duplicate material. A hash is a value calculated from an input that can be used to detect matching inputs without comparing all of their text repeatedly. The paper describes a separate use of hashing when it compares training instructions with benchmark questions. At the pretraining stage, the inputs are documents or material in the corpus, and the purpose is to reduce repeated content in the training stream. The resulting collection includes areas such as ocean physics, chemistry, biology, geology, and hydrology.

The literature stage and the instruction stage use the field's writing differently. During continued pretraining, marine language appears as it occurs in documents. In the instruction stage, examples have an explicit division between what the user asks and what a suitable answer looks like. The first gives the system more exposure to specialist prose. The second provides supervision about what to do with a request. The study keeps the stages distinct in its procedure, then evaluates the system that has undergone both.

How OceanGPT is trained The steps in order.

#### Defining topics and building the seed collection

Ocean experts organize the instruction data into 5 broad topics. Science and research covers fundamental ocean phenomena and research questions, including currents, sea temperatures, and biodiversity. Resources and development covers uses of marine resources, with fisheries and minerals among the examples. Ecology and environment groups subjects such as pollution, ecosystem degradation, and climate impacts. Technology and engineering covers instruments, ocean measurement, ships, and ocean energy. Life, culture, and other subjects accommodates human relationships with the sea, including history, recreation, and tourism.

The topic and the task describe different properties of an item. A question about ocean energy belongs to an engineering subject area. Within that area a user might ask for a description, a recommendation, or a summary, and those requests call for different outputs. The same distinction applies in the other direction. A recommendation can concern an engineering choice or a resource decision. Training generation is organized by the subject matter, while the benchmark later groups items by the action requested.

The authors recognize that their topic boundaries overlap. An environmental question can involve a solution designed by ocean engineers, for instance. They assign an example to its most relevant category for construction and analysis. The assignment gives each example a place in the dataset. It also makes a practical convention out of a messy scientific boundary. When the paper describes coverage by topic, the categories are the authors' organizational scheme, with these decisions about where mixed examples belong.

The seed examples establish the format and the desired subject coverage. Annotators with marine science backgrounds take responsibility for several topics each and write representative examples. A language system produces additional samples by imitating those examples, and the annotators manually check the resulting collection. The authors report that the expert validation took four days. The final seed collection contains more than 10,000 examples, organized under the 5 main topics and over 500 sub-categories. It supplies demonstrations covering many more subjects than the broad topic labels alone suggest.

The seed examples are pairs. The instruction says what to do, and the output gives the expected response. The distinction is important because DoInstruct uses the same pairing in different directions. One route starts with the whole pair and develops it. The other learns from pairs presented in reverse order so it can start from an answer. The paper uses the term agent for a language system assigned a defined job in this workflow. Several agents use the same underlying GPT-3.5-turbo system. Their different purposes come from what they receive, the instructions they operate under, and, in the case of the extractor, additional training.

#### Developing an existing example

The evolving generator starts from a seed instruction and its answer. The paper describes two operations that can run in parallel. In the first, an agent enriches the pair by adding pertinent background. In the second, an agent makes the treatment of a particular concept or entity more detailed. Those operations address distinct kinds of thinness. An example can lack the context needed to see why a question matters, or it can mention a pertinent concept without asking enough about it. The authors use both operations and describe repeated rounds as a way to develop breadth and depth.

An appendix prompt concerns a request for recommendations about mineral resources in the East China Sea. The generator is asked to retain the meaning of the original request while adding specialist knowledge. This illustrates the kind of variation the authors want. The region and the practical purpose of the request should remain recognizable, even as the resulting training example demands or supplies more detail. Without that continuity, a more elaborate pair could teach a different task while looking like an improvement over the seed.

The algorithm records the operation with a set update. Written with descriptive names for the intermediate collection and the two generated pairs, the update is:

```
E ← E ∪ e ∪ r
```

Here `E` is the collection of examples accumulated by the evolution route. `e` is the enriched pair for the current seed, and `r` is the refined pair. Each new pair is treated as an item entering the collection. The union sign `∪` adds those items to the collection, and the arrow `←` assigns the resulting collection back to `E`. The procedure starts with an empty collection and repeats the update over the seed examples.

The source of the added detail is consequential. An evolving agent can express knowledge already available to it and use the seed to guide the form of an answer. The expansion can also introduce a claim that the seed never contained. A fluent and detailed candidate still has to pass subsequent screening. This is one reason the authors give literature extraction its own place in the process. It begins on the answer side with material selected from a source collection.

#### Writing a question for a passage

The literature route starts by finding candidate text in a larger ocean corpus. The authors describe using a smaller, expert-annotated collection in a retrieval step based on BM25, a method of ranking text by its match to search terms. The role of [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/) here is to identify candidate passages suitable for use in instruction data. A passage enters the next stage as material that could serve as an answer. It still needs a request that matches what it says.

The authors train a GPT-3.5-turbo agent to supply that missing request. They reverse the instruction and output in the training examples, so the agent learns to take an answer as input and predict a corresponding instruction. The resulting extractor is different from a system trained to answer users directly. When it encounters a new passage, its task is to infer the question or instruction the passage can satisfy. The study’s algorithm expresses the training step as follows:

```
M ← FineTune(Sᵣₑᵥ)
```

`M` is the trained literature extractor. `FineTune` is the procedure that adapts the starting GPT-3.5-turbo agent using the reversed pairs. `Sᵣₑᵥ` denotes the seed collection `S` presented in reverse order, with the output as the input to the extractor and the instruction as the target. The arrow `←` assigns the resulting extractor to `M`. Parentheses enclose the data supplied to the procedure.

For a retrieved passage, the resulting application is:

```
inst ← M(output)
```

`output` is the content of the retrieved passage, used as the answer side of the new example. `M` is the fine-tuned extractor, and the parentheses indicate that it receives `output` as its input. `inst` is the generated instruction. The arrow `←` assigns the generated text to `inst`. The pair stored for the final instruction-tuning stage is in the ordinary direction again, with the generated instruction before the answer from the passage.

The paper illustrates the input to this operation with a short passage about seahorses. It mentions their classification, habitats, distinctive form, and role in marine ecosystems. A question generated from such a passage has to fit the information available there. A request that depends on a different set of observations would make a weak pair even if both the request and the passage sound plausible on their own. Thinking in terms of the match between two pieces of text explains why the generated instruction needs review even when the answer comes from literature.

The authors also consider a different way of adapting an extractor. They could add examples for marine subtopics directly to the beginning of each request to GPT-3.5-turbo. They argue that demonstrating all of the over 500 sub-categories in a common prefix would run beyond the system's input limit and make each use expensive. Fine-tuning moves the demonstrations into a training stage and allows a shorter request when processing each passage. The appendix presents example formats for both approaches. Its argument for fine-tuning concerns input length and cost.

The cost account distinguishes the authors' development expenditure from an estimate for a more narrowly specified run. They report spending almost 500 US dollars while repeatedly training and testing the extractor, with around 2000 high-quality training samples in that account. Their illustrative calculation assumes 1000 tokens for the input and output of a conversation, 2000 training samples, and testing on 10,000 samples. The training estimate is 16.8 USD, the subsequent usage estimate is about 138.0 USD, and the stated total is around 154.8 USD. These figures concern this agent. The separate OceanGPT training stage and the human assessments involve other resources.

#### Filtering, debating, and checking candidates

The inspector receives generated examples from both routes. It is given rules that concern form, meaning, and basic definitions in ocean science. The authors express the rules in natural language, since some domain requirements are difficult to reduce to a formal pattern. The inspector prompt in the appendix illustrates how specific such a request can be. It combines subject terms with criteria for date range, study type, geographical focus, language, and what may appear in an abstract. It demonstrates the kinds of constraints a reviewer can express to an agent.

The paper's algorithm represents this step as a call that takes the evolved collection, the collection produced by literature extraction, and the rules. The output is a merged, filtered candidate set. Conceptually, this changes the job from proposing examples to deciding which proposals are suitable. In the same workflow, the evolving generator tries to add material, the extractor tries to pair source material with a fitting instruction, and the inspector applies criteria to the results. The paper treats each of those judgments as a distinct operation.

For the final automated check, two additional GPT-3.5-turbo agents debate the quality of a candidate. In the algorithm, each candidate pair receives a debate result and enters the final collection if that result classifies it as high quality. The authors describe these two agents as a further quality-control stage after rule-based inspection. They also describe synthesizing robotics data separately. That material is intended to teach outputs that can be used in an engineering environment and has a different source from pairs extracted out of ocean literature.

The two text generation routes expand the data by more than 150,000 instructions. The authors train human reviewers on the checking task and use a platform to draw a random 10% sample from the generated instruction dataset. Domain experts look for errors in the sampled examples. The reported inter-annotator agreement is 0.82. Inter-annotator agreement concerns how consistently reviewers make judgments. A collection could have high agreement because reviewers consistently notice errors, so the agreement value alone gives different information from an estimate of the share of correct examples.

#### Tuning OceanGPT to follow the instructions

The paper reports seven days of continued pretraining using six A800 Nvidia GPUs. After pretraining, the authors use LoRA, short for low-rank adaptation, to tune OceanGPT on instruction examples. The method changes the behavior of a pretrained system through trainable updates with a restricted rank, which limits the size of the updates that have to be learned. In this stage, the instruction is what the system receives and the accompanying output is what it is trained to produce. The [LoRA paper](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/) is the source the authors cite for the adaptation method.

The appendix lists an instruction-tuning batch size of 512 and 10 epochs. A batch is a group of examples handled together in training, and an epoch is a pass through the training data. The listed learning rate, which governs the size of training updates, is `1e − 4`. The LoRA rank `r` is 8, the LoRA scaling parameter `α` is 16, and LoRA dropout is 0.05. Dropout is a training setting that suppresses some contributions during an update. These values describe the adaptation configuration in the appendix.

The version used for the benchmark evaluation is OceanGPT-7B-v0.1. The authors also name released variants at 2B and 8B, based on MiniCPM-2B-sft-bf16 and Meta-Llama-3-8B-Instruct, respectively. The evaluation identifies the 7B release as its subject. OceanBench is released separately as a dataset. That distinction lets readers identify which asset supplies test requests and which trained version is associated with the comparisons.

### Experiments and results

#### What OceanBench asks the systems to do

OceanBench organizes its 15 tasks by the kind of response requested. Some tasks are familiar from general text processing, including classification, [summarization](https://md.research.elamur.ai/free/en/concepts/text-summarization/), and [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/). Some call for a longer or more open response, such as a recommendation, a letter, or a description. Other groups include analysis, judgment, identification, editing, commonsense reasoning, and transformation. The mix is important to the evaluation because each task gives the judge a different reason to prefer one answer over another. An extraction can be incomplete even when it reads smoothly. A recommendation can name a plausible option while failing to relate it to the user's situation.

The examples illustrate those differences. An analysis prompt asks about the relationship between marine environmental processes and wave conditions. A classification prompt asks the system to sort ships in the East China Sea by type. A letter-writing prompt asks it to address an environmental agency about a pollution problem and propose a response. The paper also illustrates a summary request concerning offshore wind power and an editing request concerning a report on marine ecosystems. These examples indicate the range of requested actions. The answers printed alongside them illustrate the expected forms and content.

The benchmark is uneven in the number of examples available for each task. The following figure compares the sizes of selected OceanBench task settings. Its unit is test examples, so the marked task is the one with the largest coverage in the comparison. This is a property of the benchmark's design.

Selected OceanBench tasks by number of test examples Description and question answering have more examples than the other tasks shown.

**The numbers**

| System or setting | test examples |
| --- | --- |
| Description (this paper) | 1,246 |
| Question Answering | 1,230 |
| Recommendation | 1,089 |
| Extraction | 1,078 |
| Editing | 1,075 |
| Analysis | 674 |
| Letter Writing | 359 |
| Summary | 149 |

Other reported OceanBench counts include 1,024 examples for Commonsense Reasoning, 930 for Open-ended Generation, and 895 for Classification. The data also include 655 examples for Judgment, 464 for Identification, and 401 for Transformation. Others contains 157 examples. The size differences give task-level and instance-level evaluation different meanings. A category with relatively few examples still contributes a task outcome at the task level. At the instance level, categories containing more evaluated examples have more opportunity to influence the pooled comparison.

The benchmark examples are generated from the seed collection and then deduplicated and manually verified. The authors also sample material for further inspection and have experts correct items identified as poor or disputed. These checks concern the prompts used to evaluate systems. The expert review of a random sample of generated training instructions, described earlier, is a separate procedure with a separate object of judgment.

The paper additionally checks for overlap between the benchmark and OceanGPT's training instructions. It extracts keywords from each question, joins them into a string, and uses hashes of the strings to detect matches. The appendix describes repeating keyword processing when necessary and using GPT-3.5-turbo on randomly selected items to look for cases the process might have missed. The authors say the benchmark comparison leads them to remove a hundred or two hundred training examples. The matching procedure makes the separation more credible for examples with similar keyword signatures. Its relationship to broader overlap is important when interpreting the scores.

#### What the baselines and metrics measure

The authors compare OceanGPT with three open systems. Llama-2-7b-chat-hf is the dialogue-oriented version of the family used to initialize OceanGPT. Vicuna-1.5-7b is a chat system based on Llama 2 and tuned with material collected from ShareGPT. ChatGLM2-6B is described as an optimized version of GLM. The inclusion of the related Llama systems helps ask whether the domain-specific pipeline adds something beyond general dialogue training. ChatGLM2 provides a comparison from another system family.

The comparisons use preferences between answers to the same prompt. At the instance level, the evaluation pools outcomes across the questions. At the task level, the authors ask whether one system beats its comparator on the majority of test items within a task and assign that system the task win if it does. They then use task-level win rates to describe the breadth of an advantage. A task-level win identifies the direction of a comparison within that task. It cannot convey how close the underlying responses were or how frequently both included the same error.

The two levels therefore answer different questions. The instance-level view asks how frequently an answer is preferred on the mix of evaluated requests. The task-level view asks whether the advantage occurs across the different kinds of requests represented in OceanBench. If a system is particularly strong in a large category, that strength has considerable influence on pooled item results. Its task win still enters the task-level view as a single category outcome. Conversely, task-level wins can capture broadly distributed gains in categories whose smaller sizes give them less influence when items are pooled.

#### How the judges compare answers

For automatic judging, the authors use [GPT-4](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/) to compare two outputs for each test question. They account for the possibility that a judge may prefer an answer because of where it appears in the prompt. Each pair is shown again with its order reversed. The paper describes adding the two comparison results to obtain the final result. In this setup each candidate answer is seen in each position, which reduces the influence of a consistent preference for the first or second slot.

The paper describes that aggregation in prose. In compact notation, the addition it specifies is:

```
J = Jₐᵦ + Jᵦₐ
```

`J` is the combined judging result for a test question and a particular pair of outputs. The subscripts `a` and `b` identify the two answers. `Jₐᵦ` is the result with answer `a` presented before answer `b`, and `Jᵦₐ` is the result from the reverse presentation. The results are combined for the same two systems regardless of their prompt positions. The plus sign `+` denotes their addition, and `=` identifies the combined result. This notation captures the reported order aggregation without assigning numeric values to individual verdicts.

The human comparison gives the authors another view of answer preference. They recruit 5 students with ocean science backgrounds and sample 200 examples for each evaluation setting. The annotators rank the outputs they prefer. The reported cost of this part of the study is about 500 US dollars. This is separate from the similar expenditure the authors report for developing the literature extractor. It is also separate from the inter-annotator agreement reported for checking the generated instruction dataset.

The sample-based human comparison and the automatic comparison trade off different kinds of evidence. Automatic judging can be run across tasks and repeated with the answer positions reversed. Human judging brings readers with relevant backgrounds to the comparison, on a sampled set of requests. When the direction of the results is similar in both settings, the result depends less on which of those two evaluation procedures is used. The agreement of the overall pattern leaves room for individual prompts on which the procedures would produce different judgments.

#### The breadth of the reported advantage

The paper reports that OceanGPT wins the majority of tasks against the baselines. The task-level comparison covers all 15 task types and shows the same general direction under automatic and human evaluation. The detailed automatic comparison is also described as favoring OceanGPT across most tasks. The paper singles out editing as an example on which the general open systems struggle. This example matters because recognizing what a revision must preserve and what it must improve is a different demand from answering a short factual question.

The task-level result should be read as a set of pairwise comparisons. OceanGPT can win a task against one comparator by being better on a majority of the relevant items. The same task still needs a separate comparison against another comparator. And a broader pattern of task wins can coexist with close decisions on many individual responses. The reported preference result establishes the direction of performance on the evaluated prompts. Each winner is relative to a named comparison system and to the procedure that judged the answers.

The authors present the task-level, detailed automatic, and pooled instance-level outcomes in figures. They describe the direction of the comparison in the prose, including the broad advantage and the difficulty of editing, without giving numerical win-rate values there. The documented quantities around the result have distinct roles. The 15 task types give the scope of the comparison. The 200 examples per setting describe the human sample size. Neither quantity is a measure of how frequently OceanGPT wins.

#### What the scientific case reveals about the answers

The science case compares OceanGPT and Vicuna-1.5-7b on a question about studying interfacial chemistry and toxicological effects of radioactive nuclides. It asks for a research approach. Such a request leaves room for answers with different emphases, which makes it useful for seeing what the authors mean by expertise in an open response. A broadly competent system can recognize that the work calls for experimental design and interpretation. A more substantial answer also has to connect those activities to the kinds of behavior and risks the prompt asks about.

OceanGPT's response lays out a series of activities involving laboratory research, computational work, analysis, field studies, and assessment of risks and disposal. Vicuna also gives a structured response. It discusses selecting substances to study, narrowing the research question, designing experiments, interpreting data, and communicating findings. The authors prefer OceanGPT's response because it develops more of the topic-specific research content. The comparison is easy to follow because both outputs are reasonably organized. The difference the authors emphasize lies in what each organization has room for.

This example gives concrete meaning to the paper's claim about depth. The response preferred by the authors stays with the particular scientific problem as it moves between several kinds of work. The displayed answer remains an outline, with broad headings and some repetition. The case measures the appearance of relevance and specificity in a written response. The paper does not report that the research plan was carried out or that its individual scientific assertions received a separate validation.

#### What the simulation reveals about executable outputs

The engineering case has a different starting point. The authors synthesize robotics instructions and include them in training to give OceanGPT examples of outputs that can direct a simulated system. They use Gazebo to look at the resulting behavior for an underwater robot. The interaction is mediated through code or console commands. That adds something observable beyond the text itself. Once the output is used in the simulator, a reader can see whether the simulated vehicle behaves in the requested way.

The illustrated request uses programming language as a prompt, and the generated code makes the simulated robot follow a double-helix path. The paper presents the result as preliminary evidence of embodied intelligence, meaning here that generated instructions can lead to action in an environment. The observation is specific. It concerns a trajectory produced in simulation with the help of generated code. It gives the ocean engineering extension a concrete outcome while leaving the principal OceanBench comparisons as evaluations of written responses.

These cases complement the benchmark at the level of interpretation. The science case makes the authors' preference legible by putting two complete responses next to each other. The simulation lets the authors inspect an effect downstream of the generated output. OceanBench supplies the recurring comparison across requests, whereas the cases show what a favorable result can look like when an answer is read closely or put to use in the authors' experimental environment.

### What the ablations show

#### How the agents change the training examples

The paper's component analysis examines DoInstruct at the point where it produces training data. The authors use human ratings on a scale from 1 to 5, with higher values indicating a better result on the dimension under review. The dimensions are knowledge quality, expertise, and diversity. They give the authors a way to distinguish several possible effects. An expansion might introduce more varied subject matter without becoming more accurate. A passage selected from literature might introduce more specialist content even if the range of prompts remains narrow.

The evolving generator is associated with richer examples. This is consistent with how it works. It can take a seed that supplies only a short treatment of its subject and add context or a closer look at an entity already present. Across many seeds, those changes can make the collection less repetitive in what it asks and covers. The analysis is evidence about the examples created by that operation. It does not give an OceanBench score for a version of OceanGPT trained only with evolved examples.

The literature extractor is associated with an improvement in expertise. The starting point for that route is a passage from the literature, which provides some of the specialist substance before the agent writes a question. This is different from asking a generator to supply both the context and the answer from its own learned knowledge. The component result supports the use of source passages to make the training examples more substantive. It does not turn every pair into a verified scientific fact, since the fit between question and passage remains open to error.

The inspector is associated with better quality in the generated collection. A screening operation changes which examples remain available for training, even when it introduces no new subject matter. The rules give it criteria against which to check candidates from both routes. The analysis in the paper describes the benefit in those terms. It presents the inspector as a reason the collection improves after generation, with the debate and human review supplying additional checks later in the procedure.

These observations account for the main division of labor in DoInstruct. The generator can develop seeds in directions that would take manual effort to write. The extractor can bring specialist prose into the answer side of the collection. The inspector can discard candidates that fall short of requirements. The ratings show why the authors regard these operations as complementary. They describe the properties of the training data associated with the operations, and the complete system comparison shows how the assembled pipeline performs.

#### What the comparisons separate

The component analysis does not carry each change through to a separately trained OceanGPT variant on OceanBench. The baseline comparisons bundle continued pretraining with instruction tuning and all of the choices that determine what examples the final system sees. A difference between OceanGPT and Llama 2 Chat therefore reflects the adaptation package as a whole. The results cannot apportion that difference among the literature corpus, the seed examples, the evolving generator, the extractor, the inspector, and the final debate.

The fine-tuning versus prefix discussion answers another, narrower question about the extractor. The paper shows how the two request formats would differ and argues that a prefix covering all subtopics would be too long and costly. The reported cost account supports the practicality of the selected fine-tuning workflow under the authors' assumptions. The comparison does not give a controlled accuracy result for fine-tuning against a prefix populated with demonstrations selected for a particular subtopic. The evidence for the choice is operational, while the agent ratings are about the quality of generated data.

The order-reversal procedure also changes one factor deliberately, this time in the evaluation. It uses the same pair of answers and changes their presentation order. This addresses a well-defined threat to the preference result, since position can influence the judge even when the answers stay the same. The paper uses reversal as part of the evaluation protocol. It does not give a before-and-after measurement showing how much the reported OceanBench win rates would change if the judge saw each pair in only one order.

The marine science comparison provides a final kind of analysis. It lets a reader compare the outputs themselves and see where the authors discern additional specialist content. Its contribution is explanatory. It illustrates what one favorable comparison consists of, while the benchmark indicates how broad the favorable pattern is. The simulation likewise shows a possible use of the engineering training data through an example. The paper does not report a corresponding simulated run from a version trained without the robotics examples, so the case cannot isolate their contribution.

### Limitations

#### Limits the authors identify

The authors caution that the distribution of pretraining and instruction data can shape the system's point of view. Written sources reflect who produced them and which subjects those contributors wrote about. The people who prepare instructions can also favor familiar languages, perspectives, and communication styles. The paper notes potential consequences for cultural sensitivity and for languages or dialects that receive less representation. The same issue applies to choices within a scientific corpus. Selecting across topics and sources widens coverage according to the authors' scheme, while the composition of the collection still sets the conditions under which that coverage is achieved.

They also identify hallucination as a continuing problem. A generated answer may depart from the request, contradict something already stated, or conflict with established knowledge. Exposure to specialist literature and selection of better training pairs can make the answers more pertinent without settling this issue. A convincing explanation of a marine process can still contain a mistaken relationship. The authors frame reducing these failures as further work, with alignment to the user's intent and consistency with known information both part of the objective.

The authors describe the robot interaction as preliminary. Their experiment takes place in Gazebo and shows a generated output that produces a specified trajectory. They frame more intricate control and planning as future possibilities. In the conclusion, they also propose training on a larger corpus with larger versions, giving 30B and 70B as examples, and expanding OceanBench with more data and tasks. Those proposals identify what they would like to study beyond the system and benchmark tested in the paper.

#### Limits apparent in the study design

The way the benchmark is constructed matters for generalization. The authors derive OceanBench from the seed collection that also informs instruction generation. They deduplicate benchmark and training examples, and experts check benchmark quality. This makes direct reappearance of a test pair less likely. It still leaves common origins for the choice of subjects and the style of the requests. A test designed independently by oceanographers working on different problems could ask for another mix of topics, task formats, and levels of detail. The reported experiment estimates performance within the authors' benchmark construction.

Keyword hashing has a specific scope within that design. Two differently worded questions may have the same intent while yielding different keyword strings. A training answer can also contain information that bears on a benchmark question without repeating its question words. The authors' checks address matching and potential misses in the instruction data, but the paper does not establish complete separation by meaning or by underlying source. The crucial distinction is between preventing direct repetition of a test item and assessing transfer to material outside the process that produced the training examples.

The literature collection has a related constraint. The paper reports the number of raw documents, several covered disciplines, and how the text was cleaned. The experiment tests a system exposed to the document prose retained by that process. Tables and figures are among the material targeted for removal. A strong response on OceanBench therefore gives evidence about written ocean science tasks under this training setup. It gives little basis for conclusions about interpreting observations in graphical or tabular form, or about carrying out quantitative analysis on the original scientific data.

The preferences also have to be interpreted at the level the study measures. A judge can prefer a response for being coherent, detailed, relevant, or better suited to the requested format. Those are meaningful properties for an assistant. They differ from checking the truth of each claim against a source or carrying out a recommended procedure and verifying its results. For questions with several plausible approaches, even experts may value different aspects of an answer. The paper reports who judged the responses and how the comparisons were arranged. It does not report a systematic verification of every factual assertion in the preferred outputs.

Automatic judging brings a specific safeguard against position effects, while the human sample supplies another judgment setting. Both have limits for the question of reliability. Position reversal preserves the substance of the answers and changes where they appear. It cannot reveal whether the judge consistently rewards longer explanations or misses a specialized error in both positions. The human reviewers bring relevant training, but their rankings concern samples and come from 5 students with ocean science backgrounds. The broad agreement of the two settings supports the comparative direction, with the scope defined by the prompts, judges, and systems in the experiment.

The generated data have their own evidence gap. Human review of a random 10% sample and agreement of 0.82 tell readers how the authors checked quality and how consistently reviewers applied their judgments. Agreement does not specify the prevalence, severity, or distribution of errors across the over 500 sub-categories. There may be subtopics about which both generators and reviewers have stronger knowledge, or types of error a rule-based inspector finds more easily. The component analysis helps identify characteristics of the examples. It cannot establish an error profile for every kind of instruction.

There is also a distinction between several agents and several independent sources of expertise. The main generation, extraction, inspection, and debate jobs use versions of GPT-3.5-turbo. Their prompts and functional roles differ, and the extractor is fine-tuned for its role. The literature route brings a separate source of text, and the human checks bring another kind of judgment. Agreement between agents in the debate stage alone gives limited evidence against errors they might share because of the common starting system. The checks based on literature and human inspection therefore matter to the evidentiary design.

The baseline choice bounds what can be said about the training method. It supports a comparison against the open chat systems selected by the authors. It does not tell readers how much of the same gain would come from continued ocean pretraining on its own, from a smaller collection of manually written instructions, or from instruction tuning without a particular DoInstruct stage. The study's claim about the finished system has more direct evidence than a claim about the necessity of any single component.

Finally, the underwater demonstration answers a limited engineering question. It shows one specified kind of behavior in a simulator. It leaves open how consistently the system would produce usable code on other requests, how it would respond to disturbances, and whether a generated command would satisfy operational constraints on a physical vehicle. The distinction follows from the reported experimental setup. The paper assesses a generated trajectory in Gazebo, while physical underwater operation would require evidence from another evaluation.

### What came after

The citing works place OceanGPT alongside broader discussions of language systems and alongside evaluation projects in other scientific areas. The citation relationships establish that these works refer to OceanGPT. The titles identify their subjects. Together they give a view of the neighboring research questions, with less detail about whether a particular work reused DoInstruct, trained on the ocean data, or incorporated OceanBench.

[A Survey of Large Language Models](https://md.research.elamur.ai/free/en/papers/zhao-2023-survey-large-language-models/) occupies both sides of this record. OceanGPT cites it in the introduction as part of the background on progress in the field, and the survey also appears among the works that cite OceanGPT. Its listed year is 2023, while OceanGPT's publication is 2024. The two citation directions are therefore more informative here than treating the listed years as a simple chronology of method adoption. The documented connection is between a general survey and an example of adaptation to a specific science.

[TrustLLM](https://md.research.elamur.ai/free/en/papers/huang-2024-trustllm-trustworthiness-large-language-models/) addresses trustworthiness. The connection to OceanGPT is clearest at the level of what the evaluation leaves unresolved. OceanGPT measures relative answer preference and explicitly raises hallucination and data bias as limits. A study organized around trustworthiness makes those concerns part of the subject it investigates. The citation establishes OceanGPT's appearance in that discussion, while the record does not specify any use of the ocean benchmark or its judging procedure.

The [Survey on Factuality in Large Language Models](https://md.research.elamur.ai/free/en/papers/wang-2023-survey-factuality-large-language-models/) names knowledge, retrieval, and domain specificity in its scope. OceanGPT brings those subjects together in a particular way. It uses retrieval while building training data, includes passages from scientific literature on the answer side of pairs, and evaluates specialized responses. Its preference judgments leave factual verification as a separate question. The survey's citation connects this domain adaptation experiment to the broader factuality literature. The listed year is 2023, and the record supplies no further chronology of that connection.

[A Comprehensive Survey of Small Language Models](https://md.research.elamur.ai/free/en/papers/wang-2024-comprehensive-survey-small-language-models/) concerns techniques and applications for smaller systems as well as their collaboration with larger ones. OceanGPT supplies a concrete example of a related engineering arrangement. The authors use external agents to prepare training material, then evaluate a separately adapted system. The citation places OceanGPT in the survey's area of interest. It does not establish that the survey ran the pipeline or made a new comparison with the 7B release.

[BioKGBench](https://md.research.elamur.ai/free/en/papers/lin-2024-biokgbench-knowledge-graph-checking-benchmark/) concerns checking a [knowledge graph](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/) with an AI agent in biomedical science. A knowledge graph organizes information as entities and relationships that can be inspected. This makes the object of checking different from the free-form response pairs in OceanBench. The citation identifies a connection between two scientific evaluation projects, each specifying a domain and a set of tasks. BioKGBench's stated focus is biomedical graph checking, with no documented transfer of the OceanBench task collection.

[MDC-Bench](https://md.research.elamur.ai/free/en/papers/wang-2026-mdc-bench-multidisciplinary-causal-benchmark/) frames evaluation through causal structures and spans multiple disciplines. Its stated objective concerns causal ability, whereas OceanBench groups requests according to the work users ask a system to perform within ocean science. A request for explanation, a classification task, and an editing task can all enter OceanBench. A benchmark organized around causal structures makes a narrower choice about the capability being examined while widening the disciplinary scope. The citation links those two choices about scientific evaluation. It does not identify a reuse of OceanGPT's training stages or test items.

## Cite

Cite as Zhen Bi, Ningyu Zhang, Yida Xue, Yixin Ou, Daxiong Ji, Guozhou Zheng and Huajun Chen. 2024. OceanGPT: A Large Language Model for Ocean Science Tasks. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.acl-long.184](https://doi.org/10.18653/v1/2024.acl-long.184)

```bibtex
@inproceedings{bi2024oceangpt,
  title = {{OceanGPT: A Large Language Model for Ocean Science Tasks}},
  author = {Zhen Bi, Ningyu Zhang, Yida Xue, Yixin Ou, Daxiong Ji, Guozhou Zheng and Huajun Chen},
  booktitle = {Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.184},
  url = {https://doi.org/10.18653/v1/2024.acl-long.184}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
