Formal problem statement and research question grounding for MarineLLM-PDDL v2 (text-only scope, no simulator)
Let
A function
A multi-stage function
-
ScenarioQA — answer 13 generic questions from
$r_i$ (understanding stage) - BuildGenericScenario — synthesize a scenario template (abstraction stage)
- ExtractSpecificDetails — infer PDDL types and predicates (formalization stage)
-
GeneratePDDL — emit
domain.pddlandproblem.pddl(generation stage)
Stages (1)–(2) probe code understanding — the LLM's ability to recover the semantic content of a mission description. Stages (3)–(4) probe code generation — its ability to render that content in the formal language of PDDL.
Validator.
Planner.
For a generated pair
| Symbol | Name | Definition |
|---|---|---|
| QA Correctness | Fraction of the 13 ScenarioQA answers matching the expert gold label | |
| Entity-Extraction F1 | F1 over mission entities (vessel, instruments, tasks) recovered from |
|
| Semantic Completeness | Expert-judged coverage of mission elements in the scenario template, |
| Symbol | Name | Definition |
|---|---|---|
| Parsability | ||
| Solvability | ||
| Structural Validity | Fraction of declared types, predicates, and action schemata that are well-formed |
The default aggregate uses
Problem RSG (Realistic Scenario Generation). Given corpus
$\mathcal{D}$ and the translator$f \circ \varepsilon^{\text{txt}}$ , evaluate
$$\bar{Q} = \frac{1}{n}\sum_{i=1}^n Q!\left(f(\varepsilon^{\text{txt}}(d_i)),\ d_i\right)$$ and characterize when each constraint holds:
$\phi_i = 1$ — the PDDL file parses$\sigma_i = 1$ — the problem is solvable by a classical planner$\nu_i \geq \nu^*$ — structural validity threshold
The full pipeline
PDDL is a formal language with well-defined semantics: types, predicates, action schemata with preconditions and effects, and (in the durative fragment) temporal constraints. "Understanding" here means the LLM can recover these semantic elements from an unstructured natural-language description of a mission — not merely echo surface tokens.
Operationalize understanding via the decomposed score
| Axis | Question the LLM must answer from |
|---|---|
|
Types ( |
What are the object sorts in this mission (vessel, instrument, waypoint, …)? |
|
Predicates ( |
Which relations and properties hold, and how do they change? |
|
Preconditions ( |
What must be true before each action fires? |
|
Effects ( |
What becomes true (or ceases to hold) after an action fires? |
RQ1 asks: Is
For the same LLM and the same document
Define the per-document understanding–generation gap:
and the corpus-level dependence:
RQ2 asks: How tightly coupled are understanding and generation? Specifically:
-
Correlation. Is
$\rho_{UG}$ close to$1$ (understanding determines generation), close to$0$ (they are independent capabilities), or negative (understanding is spent at the cost of generation quality)? -
Asymmetry. What is the sign and magnitude of
$\mathbb{E}[\Gamma]$ ? A positive gap ($U > G$ ) indicates documents the LLM comprehends but cannot formalize — a syntactic/formal bottleneck. A negative gap ($G > U$ ) indicates PDDL that parses and solves despite the LLM having misread the source — a faithfulness bottleneck (plausible-looking but wrong code). -
Ablation. When understanding is artificially perturbed (by masking or corrupting ScenarioQA outputs before stage 3), how much does
$G$ drop? This quantifies how much of generation quality is downstream of comprehension rather than learned boilerplate. -
Bottleneck identification. Per the four semantic axes of RQ1, which axis of
$U$ most strongly predicts$G$ ? Is a correct understanding of preconditions more load-bearing for solvability ($\sigma$ ) than correct understanding of types?
Together, RQ2's four probes chart whether LLM-based PDDL translation is limited by what the model knows about the mission or by what it can say in formal syntax.
| RQ | Variable being isolated | Axis of |
Pipeline stages |
|---|---|---|---|
| RQ1 | Understanding of PDDL semantics from text |
|
ScenarioQA, BuildGenericScenario |
| RQ2 | Coupling between understanding and generation |
|
End-to-end (1)–(4) |
Together, RQ1 and RQ2 test whether MarineLLM-PDDL succeeds as a semantic translation (understanding-driven generation) rather than as surface-level pattern completion. Prompt optimization, simulator-grounded executability, and multimodal extraction are deferred to future work.