Goal-Dependent Domain Restriction and Action Schemas in a Contract-Based Pipeline from Observations to Plans
Pipelines that plan from observed scenes usually accept a language model’s account of the objects and compile the whole domain. We present a layered architecture: type contracts compute each object’s type from reported feature values, the domain and the action schemas are restricted to the goal, and four layers have contracts with explicit assumptions. We formalize action schemas with retention, numeric outcomes and executors, and verify threshold reachability for a delivery repertoire. The pipeline uses small open vision-language models, a Web Ontology Language (OWL) reasoner, the Shapes Constraint Language (SHACL) and two planners. The study is a pilot and demonstration on 32 single-object product photographs. With the main model, 30 of 31 observed objects were grounded to the reference type, and the contracts did not improve the accuracy of the type: the model’s own proposal agreed with it in 188 of 189 records. For two other models, the contracts refined a coarse proposal in a few records and more often coarsened a correct one. They give an explicit, checkable type that does not depend on the model’s claim. Fault injection shows independence from a wrong claim, flags for conflicting evidence and safe coarsening; a consistent wrong value is not detected.
Authors
- Krzysztof Zatwarnicki (ORCID: https://orcid.org/0000-0001-6156-6030)
- Nina Bąkowska (ORCID: https://orcid.org/0009-0000-7719-2379)
Institutions
- Opole University of Technology (PL)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3390/app162311758
- Primary Topic
- AI-based Problem Solving and Planning
- Type
- article
- Field-Weighted Citation Impact
- 0.00