The Runtime Half of the Safety Case Aboard Autonomous Ships: Evaluating Provisos with Claim Graphs and Warrant Records under the MASS Code
This paper proposes a runtime safety architecture for autonomous ships that evaluates design-time claims via warrant records to fulfill five critical functions required by the MASS Code, while recommending broader regulatory interpretations and identifying key areas for future standardization.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a ship that sails itself, guided by computers rather than a captain and crew. For such a vessel to be allowed to leave the dock, it must first prove to authorities that it is safe. This proof is called a safety case, a structured argument built during the design phase that says, "This ship will behave well, provided certain conditions are met." These conditions might include having a clear view of the sea, functioning sensors, or a strong connection to a shore-based control center. On a traditional ship, a human officer constantly checks these conditions and reacts if something goes wrong. But on a fully autonomous ship with no one on board and no link to shore, the ship must check these conditions itself and decide what to do if they fail. This ongoing, real-time checking is the "runtime" half of the safety case, a critical process that has never been fully defined for machines until now.
Researchers at RISE Research Institutes of Sweden have tackled this problem by asking what an autonomous ship must actually do to stay safe while it moves. They looked at the new international rules for autonomous ships, known as the MASS Code, and analyzed past maritime accidents where automated systems failed to notice their own errors. The team found that for a ship to be truly safe, it needs five specific capabilities: it must hold its own safety argument on board, know exactly what conditions would invalidate that argument, check those conditions constantly, understand how a failure in one part affects the whole, and keep a detailed record of every check it makes. They then built a computer architecture that performs all five of these tasks and tested it against a simulated version of a famous real-world accident.
The story of why this matters begins with a tragedy from 1995. The cruise ship Royal Majesty was sailing near Nantucket when its satellite navigation receiver lost its signal. The receiver knew it had lost the signal and flagged its position data as invalid, but the ship's computer system ignored the flag. For over 33 hours, the ship sailed on a false position, unaware that it was drifting off course, until it ran aground. A similar incident happened in 2023 with the ferry Marco Polo, where a date error caused the navigation system to switch to a backup mode without the crew realizing it, leading to another grounding. In both cases, the systems had the information they needed to know something was wrong, but they failed to connect that information to the decision to change course. The researchers argue that an autonomous ship cannot afford these gaps. It must not only detect a failure but also immediately understand which of its abilities are now compromised and which safe modes it can still use.
To solve this, the researchers proposed a system where the ship's safety argument is stored as a living map of claims. Think of this map as a chain of logic: "We can steer safely because we have a good position; we have a good position because our two GPS receivers agree." Each link in this chain has specific conditions, such as "the GPS signal must be fresh" or "the signal quality must be high." The ship's computer checks these conditions every few seconds. If a condition fails, the link breaks, and the system immediately knows that any ability relying on that link is no longer safe. Crucially, the system does not try to average out the errors or guess that the rest of the ship is fine. If one critical piece of evidence fails, the system withdraws the claim that depends on it, just as a human officer would stop trusting a broken compass.
The team tested this idea by recreating the Royal Majesty failure in a computer simulation. They fed the system the same faulty data the real ship received: a GPS receiver that stopped sending quality data but kept sending fake position numbers. The researchers' system immediately noticed the missing quality data, declared the main GPS receiver unreliable, and withdrew the claim that the ship had a precise position. Because the ship's ability to steer automatically depended on having a precise position, that ability was also withdrawn. The system then automatically switched to a safer, more cautious mode where a remote operator would take control, or if no operator was available, the ship would slow down and stop. This happened in seconds, and the system recorded exactly why it made that decision, listing the specific missing data that caused the change.
The researchers also compared their system to two other common ways of handling safety, known as composite-score policies. One method simply averages the health of all sensors; if the average is high enough, the ship keeps going. In their simulation, this method ignored the single faulty sensor because the other eleven were working well, and the ship continued in full autonomous mode despite the broken GPS. The other method was slightly better but still failed to show the full picture of what capabilities were lost. The researchers' system was the only one that clearly showed not just that a sensor failed, but exactly which ship functions were now unsafe and why. This level of detail is vital for investigators later on, allowing them to see the ship's reasoning step-by-step, rather than just seeing the final outcome.
The paper concludes by looking at the new international rules for autonomous ships. The researchers found that the rules already contain the seeds of what they proposed, but they are open to different interpretations. The rules say ships must be able to detect when they are outside their safe operating limits and must keep records of their decisions. However, the rules do not explicitly say whether a ship must figure out its own safety status while at sea, or if it can just fall back to a safe state immediately whenever anything goes wrong. The researchers argue that the rules should be interpreted to require the ship to do the work themselves: to evaluate its own safety, to know which abilities are lost, and to keep a record that explains every decision. Without this, an autonomous ship might be safe on paper but dangerous in practice, unable to tell the difference between a minor glitch and a catastrophic failure.
This work does not claim to have solved every problem of autonomous shipping. The researchers admit their system was tested in a controlled simulation with a specific set of sensors, and they have not yet built a full-scale ship to prove it works in the rough, unpredictable real world. They also note that turning a complex safety argument into this kind of computer map is a difficult task that requires careful design. However, they have provided a clear blueprint for how a ship can think about its own safety. By treating the safety case not as a static document but as a dynamic, self-checking process, they offer a path toward ships that can truly look after themselves, ensuring that when a sensor fails, the ship knows exactly what it can and cannot do, and acts accordingly.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.