CRASM-Gate: Deterministic-First Constraint- and Role-Aware Semantic Mapping with Selective Model Assistance Across Heterogeneous Industrial Standards
Organizations: Institue of Smart System Technologies, University of Klagenfurt, 9020 Klagenfurt, Austria · Faculté Polytechnique, Université de Kinshasa, Kinshasa, Democratic Republic of the Congo
Abstract
Industrial standards often encode the same engineering concept through incompatible hierarchies, identifiers, roles, and structural constraints, so the nearest lexical or embedding match can still be technically inadmissible. This article presents CRASM, a deterministic constraint- and role-aware semantic mapping method, and CRASM-Gate, its selectively model-assisted extension. The framework separates standard-specific canonicalization, bounded retrieval, deterministic rules, destination-versus-origin role interpretation, semantic and structural ranking, ambiguity refusal, and target validation. CRASM-Gate adds a confidence/disagreement gate that may invoke a candidate-constrained large language model, while final authority remains with deterministic validation. A controlled artifact covers six directed industrial-standard pairs, three difficulty levels, and ten configurations, yielding 14,400 sample-level decisions. With a fixed local model endpoint, CRASM-Gate reaches mean F1 0.9938 and an implemented structural-validity rate of 1.0000; deterministic CRASM reaches 0.9931 without generative-model calls; and the model-only baseline reaches 0.5347. Relative to the model-only baseline, CRASM reduces top-1 errors from 670 to 10 while exhibiting 0.0688 s/sample rather than 24.5263 s/sample observed latency. CRASM-Gate improves CRASM by one additional correct decision out of 1,440, with observed latency increasing to 15.7666 s/sample. The results support a deterministic-first interoperability architecture in which model assistance is optional, measurable, candidate-bounded, and unable to bypass structural validation.
Figures & tables
| Dimension | Preliminary ISynKGR | This article |
|---|---|---|
| Primary contribution | Reproducible benchmark framework | CRASM mapping method + CRASM-Gate framework |
| Model role | Component of hybrid benchmark pipeline | Optional bounded uncertainty resolver |
| Destination/origin roles | Not explicit | Explicit deterministic interpretation |
| Final authority | Hybrid pipeline evaluation | Deterministic validation contract |
| Structured generation | Lightweight/bounded use | Strict typed JSON Schema + downstream validation |
| Experimental emphasis | Eight scenario families; benchmark comparison | Method decomposition, context-conflict difficulty, cost/quality, artifact audit |
| Paradigm | Typical strength | Typical limitation for this task | CRASM-Gate relation |
|---|---|---|---|
| Model-driven transformation | Explicit metamodel and transformation semantics | High engineering cost when heterogeneous standards expose different role/context conventions | Retains deterministic adapters and validation while allowing evidence fusion |
| Ontology matching | Mature lexical, structural, and logical alignment | Usually assumes ontology entities rather than protocol-qualified industrial instance paths | Adopts multi-evidence ranking and refusal; external matchers remain future baselines |
| Knowledge-graph integration | Relational context, provenance, explainability | Graph similarity alone does not define target-admissibility authority | Uses graph/retrieval evidence as input, not as final decision authority |
| LLM-supported matching | Flexible language and metadata interpretation | Output can be structurally invalid, unbounded, or difficult to reproduce | Restricts model calls to a gate, a bounded candidate vocabulary, typed schema, and downstream validator |
| CRASM | Deterministic, auditable role/context reasoning | Cannot recover information absent from candidates or metadata | Default decision path |
| CRASM-Gate | Deterministic core plus selective language-model evidence | Requires profiling of gate utilization and external validation | Complete framework proposed in this article |
| Representation | Typical mapping unit | Ambiguity when context is ignored | Evidence used by CRASM |
|---|---|---|---|
| OPC UA | Object/variable path | Same label under different namespace, object, or instance context | Qualified path, parent/object context, datatype, unit, instance identifiers |
| AAS | Asset/submodel element | Same property name can occur under different assets or submodels | Asset/submodel context, element role, semantic label, datatype, unit |
| IEEE 1451 | TEDS/channel element | Similar measurements can occupy different transducer/channel contexts | Channel identity, signal family, datatype, unit, parent context |
| IEC 61499 | Function-block I/O | Measurement names can be confused with control/interface artifacts | Device/resource/FB path, I/O role, datatype, unit, signal family |
| ISO 15926-style | Class/relation projection | Label similarity can ignore relation direction or process-plant context | Class/relation tokens, target path, signal family, contextual identity |
| Audit question | Recorded evidence |
|---|---|
| What was mapped? | source/target protocol-qualified paths |
| What alternatives existed? | bounded candidate list and ranking trace |
| Why did a candidate win? | score breakdown and support sources |
| Was a model used? | gate reason, invocation trace, model evidence |
| Why was output accepted? | validation outcome, rejection reasons, no-match/repair trace |
| Publication name | Frozen ID |
|---|---|
| CRASM-Gate | full_framework |
| CRASM | agentic_interpreter |
| LLM-only | llm_only |
| RAG-only | rag_only |
| Embedding Similarity | embedding_similarity |
| Semantic Graph Calibrated | semantic_graph_calibrated |
| Configuration | F1 | Pair SD | Validity | Observed latency (s/sample) | Correct / 1440 |
|---|---|---|---|---|---|
| CRASM-Gate | 0.9938 | 0.0153 | 1.0000 | 15.7666 | 1431 |
| CRASM | 0.9931 | 0.0170 | 1.0000 | 0.0688 | 1430 |
| LLM-only | 0.5347 | 0.1141 | 1.0000 | 24.5263 | 770 |
| Legacy w/o Rules | 0.5056 | 0.1035 | 1.0000 | 11.0734 | 728 |
| Legacy w/o Retrieval | 0.4750 | 0.1722 | 0.9993 | 2.0750 | 684 |
| Semantic Graph Calibrated | 0.3333 | 0.0000 | 1.0000 | 0.0753 | 480 |
| Quantity | CRASM-Gate CRASM |
|---|---|
| F1 | +0.00069 |
| Correct decisions / 1440 | +1 |
| Validity | +0.0000 |
| Latency / sample | +15.6978 s |
| Latency ratio | 229.3 |
| Method | Correct | Errors | Latency (s/sample) |
|---|---|---|---|
| CRASM-Gate | 1431 | 9 | 15.7666 |
| CRASM | 1430 | 10 | 0.0688 |
| LLM-only | 770 | 670 | 24.5263 |
| Mapping pair | Configuration | F1 | Latency/sample (s) |
|---|---|---|---|
| AAS OPC UA | CRASM-Gate | 0.9625 | 31.0413 |
| CRASM | 0.9583 | 0.0965 | |
| LLM-only | 0.3333 | 31.2947 | |
| IEC 61499 IEEE 1451 | CRASM-Gate | 1.0000 | 37.7348 |
| CRASM | 1.0000 | 0.1128 | |
| LLM-only | 0.6750 | 34.3918 |
| Configuration | Cal. error | ||
|---|---|---|---|
| CRASM-Gate | 0.0070 | 0.2618 | 0.6597 |
| CRASM | 0.0102 | 0.2618 | 0.6597 |
| LLM-only | 0.3251 | 0 | 0 |
| RAG-only | 0.1394 | 0.2618 | 0.6597 |
| Rules-only | 0.2901 | 0 | 0 |
| Profile | Intended role | Required observability | Principal caveat |
|---|---|---|---|
| CRASM | Default deterministic mapping | candidate list, feature scores, rules, role interpretation, validator trace | quality depends on available candidates, metadata, and implemented validators |
| CRASM-Gate | Selective escalation for unresolved cases | all CRASM evidence plus gate reason, model identifier, prompt/schema version, invocation and token/latency record | selectivity and cost must be demonstrated with a dedicated gated run |
| LLM-only | Experimental baseline | prompt, model output, candidate vocabulary | lower quality in this artifact and insufficient authority controls for deployment |
| No-match / manual review | Safe fallback when evidence is insufficient | ambiguity reason and rejected candidates | requires downstream review workflow |
Semantic Mapping
Semantic mapping links observations and data to meaningful concepts, categories, entities, and relations for machine reasoning and action.
See all 93 papers