Skip to content
vtavakkoliPublic

About

Adaptive industrial schema-mapping and benchmarking framework for semantic translation across standards using rules, retrieval, and LLM-based reasoning.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

215 Commits

Folders and files

Repository files navigation

ISynKGR

An Adaptive Benchmark Framework for Cross-Standard Semantic Interoperability

CI Python 3.10+ License: MIT DOI Publication Research Software

ISynKGR is the open-source reference implementation and reproducibility companion for the published article:

K. Mohsenzadegan, V. Tavakkoli, and K. Kyamakya, “ISynKGR: An Adaptive Benchmark Framework for Cross-Standard Semantic Interoperability,” Procedia Computer Science, vol. 290, pp. 706–712, 2026.
DOI: 10.1016/j.procs.2026.08.451 · ScienceDirect

ISynKGR provides a reproducible framework for evaluating semantic mapping and translation across heterogeneous industrial standards. It combines ontology learning, knowledge-graph representation, retrieval-augmented generation, deterministic rules, ranking, and lightweight LLM reasoning with controlled benchmark generation, multi-scenario experiments, strict structural validation, deterministic multi-seed execution, and publication-oriented reporting.


Overview

Industrial standards frequently describe related concepts using different structures, semantics, naming conventions, and path constraints. This makes cross-standard mapping difficult and also makes published experiments difficult to compare when datasets, seeds, model settings, validation policies, or evaluation procedures differ.

ISynKGR addresses this problem with a benchmark-centered workflow in which the experimental configuration, mapping scenarios, ground truth, structural constraints, random seeds, and evaluation metrics are explicit and repeatable.

The published study evaluates interoperability across OPC UA, Asset Administration Shell (AAS), IEEE 1451, IEC 61499, and ISO 15926. Across six directed mapping pairs, eight scenario variants, and twenty deterministic seeds, the reported benchmark evaluates 960 controlled runs.

Key capabilities

  • Reproducible benchmark dataset generation and validation
  • Cross-standard semantic translation through modular adapters
  • Ontology- and knowledge-graph-aware canonical representations
  • Deterministic rule-based mapping and structural validation
  • Retrieval-augmented candidate generation
  • Optional lightweight LLM-assisted reasoning
  • Full, baseline, and ablation experiment scenarios
  • Multi-seed orchestration for controlled experiments
  • Precision, recall, F1, structural-validity, latency, and violation metrics
  • Robustness analysis and error diagnostics
  • Machine-readable experiment artifacts
  • Markdown and HTML research reports
  • Local Python and Docker-based execution
  • Automated tests, linting, CI, citation metadata, and reproducibility guidance

Published results

The publication reports that the full hybrid configuration achieves a cumulative F1 score of 0.850 with structural validity of 1.000 on the evaluated benchmark.

The ablation study also demonstrates an important distinction between semantic plausibility and operational validity: LLM-heavy configurations may produce mappings that appear semantically reasonable while still violating target-standard structural constraints.

These values are results reported in the publication and should not be interpreted as universal performance guarantees. Results obtained from this repository can vary with the dataset tier, mapping pairs, model configuration, scenario settings, software revision, and runtime environment.


Supported standards

Standard Role in ISynKGR
OPC UA / IEC 62541 Industrial information modelling and node-based source/target mappings
Asset Administration Shell (AAS) Industry 4.0 digital-twin representation and canonical target paths
IEEE 1451 Smart-transducer and TEDS-oriented representations
IEC 61499 Distributed industrial automation function-block representations
ISO 15926 Process-plant lifecycle and semantic-class representations

Scope note: ISynKGR implements benchmark-oriented adapters and fixtures. It is not intended to be a complete implementation or certification tool for any of the standards listed above.


Architecture

flowchart LR
    A[Standard-specific input] --> B[Adapters]
    B --> C[Canonical semantic representation]
    C --> D[Candidate retrieval]
    D --> E[Rules and ranking]
    E --> F[Optional LLM reasoning]
    F --> G[Mapping prediction]
    G --> H[Structural validation]
    H --> I[Evaluation]
    I --> J[Metrics and diagnostics]
    J --> K[Markdown / HTML report]
Loading

Repository structure

  • isynkgr/ — translation core, adapters, canonical models, retrieval, rules, ranking, and LLM integration
  • benchmark/ — dataset generation, orchestration, execution, evaluation, and reporting
  • datasets/ — versioned benchmark fixtures and crosswalk ground truth
  • tests/ — unit, contract, evaluation, and workflow tests
  • docs/ — architecture, scenarios, publication notes, and reproducibility documentation

Quick start

Local development

git clone https://github.com/vtavakkoli/ISynKGR.git
cd ISynKGR

python -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate

python -m pip install --upgrade pip
pip install -e ".[dev]"
make check

Canonical benchmark with Docker

docker compose up --build full-run

The default full run executes 20 seeds per configured mapping pair. The current benchmark configuration contains six directed cross-standard pairs.

Override the repetition count or provide explicit seeds when needed:

RUNS_PER_PAIR=3 docker compose up --build full-run
BENCHMARK_SEEDS=11,23,37 docker compose up --build full-run

Canonical benchmark with local Python

PYTHONPATH=. python -m benchmark.orchestrate

LLM-backed scenarios require a reachable Ollama endpoint. Docker defaults to:

http://host.docker.internal:11434

Configure OLLAMA_HOST, OLLAMA_BASE_URL, and MODEL_NAME as appropriate for your environment.


Benchmark scenarios

The canonical scenario registry includes:

Scenario Purpose
full_framework Complete ISynKGR hybrid pipeline
rule_based_only Deterministic rule-based baseline
llm_only LLM-only baseline
rag_only Retrieval-augmented baseline
embedding_similarity Embedding/similarity baseline
ablation_no_rules Full framework without deterministic rules
ablation_no_retrieval Full framework without retrieval
ablation_no_llm Full framework without LLM reasoning

See docs/SCENARIO_MATRIX.md for component-level toggles and scenario details.


Reproducing experiments

Small validation run

Use a minimal run to verify the environment and pipeline:

RUNS_PER_PAIR=1 MAX_ITEMS=5 PYTHONPATH=. python -m benchmark.orchestrate

Full configured protocol

RUNS_PER_PAIR=20 PYTHONPATH=. python -m benchmark.orchestrate

Each experiment writes a self-contained run directory under artifacts/<RUN_ID>/. Convenience mirrors are also written below results/.

See docs/REPRODUCIBILITY.md for environment variables, experimental controls, artifact descriptions, and the reporting checklist.


Evaluation outputs

A typical experiment produces artifacts similar to:

artifacts/<RUN_ID>/
├── metrics.json
├── skipped_pairs.json
├── logs/
├── metrics/
│   ├── advanced_analysis.json
│   └── error_summary.csv
├── pairs/
│   └── <SOURCE>__TO__<TARGET>/
│       ├── dataset.jsonl
│       ├── ground_truth.jsonl
│       └── results/<scenario>/seed<seed>/
├── report.md
└── report.html

When reporting results, record at least:

  • repository revision or release;
  • dataset tier and mapping-pair set;
  • scenario configuration;
  • seed policy;
  • model and runtime configuration;
  • evaluation metric definitions.

This information is necessary for meaningful comparison and reproducibility.


Evaluation metrics

ISynKGR evaluates both semantic mapping quality and operational validity. Depending on the scenario and benchmark configuration, generated outputs can include:

  • Precision
  • Recall
  • F1 score
  • Structural validity
  • Violation counts
  • Retrieval diagnostics
  • Latency
  • Robustness statistics
  • Error summaries

The framework deliberately separates semantic plausibility from structural validity so that a mapping is not considered successful merely because it appears linguistically reasonable.


Research scope and limitations

ISynKGR is research software and a benchmark/reference implementation; it is not a certified industrial interoperability product.

Important limitations include:

  • parts of the benchmark are synthetic or synthetic-heavy;
  • adapter coverage is intentionally scoped;
  • not every construct of every supported industrial standard is implemented;
  • LLM-backed results depend on the selected model and inference runtime;
  • exact-mapping metrics are sensitive to canonicalization and ground-truth conventions;
  • external validity requires additional evaluation on independently curated industrial datasets.

Results derived from modified datasets, models, rules, or scenarios should clearly document those changes.


Citation

If you use ISynKGR, its benchmark data, implementation, experimental methodology, or derived results in academic work, please cite the published article.

Plain-text citation

Mohsenzadegan, K., Tavakkoli, V., & Kyamakya, K. (2026). ISynKGR: An Adaptive Benchmark Framework for Cross-Standard Semantic Interoperability. Procedia Computer Science, 290, 706–712. https://doi.org/10.1016/j.procs.2026.08.451

BibTeX

@article{MOHSENZADEGAN2026706,
  title   = {ISynKGR: An Adaptive Benchmark Framework for Cross-Standard Semantic Interoperability},
  journal = {Procedia Computer Science},
  volume  = {290},
  pages   = {706--712},
  year    = {2026},
  note    = {21st International Conference on Future Networks and Communications/23rd International Conference on Mobile Systems and Pervasive Computing/16th International Conference on Sustainable Energy Information Technology Proposal},
  issn    = {1877-0509},
  doi     = {10.1016/j.procs.2026.08.451},
  url     = {https://www.sciencedirect.com/science/article/pii/S1877050926030875},
  author  = {Kabeh Mohsenzadegan and Vahid Tavakkoli and Kyandoghere Kyamakya},
  keywords = {semantic interoperability, benchmark framework, ontology learning, knowledge graphs, large language models, OPC UA, Asset Administration Shell, IEEE 1451, IEC 61499, ISO 15926}
}

Repository

Source code and reproducibility artifacts:

https://github.com/vtavakkoli/ISynKGR

Machine-readable software citation metadata is available in CITATION.cff. Additional publication guidance is available in docs/PUBLICATION.md.


Contributing

Contributions that improve benchmark quality, standard coverage, evaluation rigor, reproducibility, documentation, or software robustness are welcome.

Please read CONTRIBUTING.md before opening a pull request. Scientific changes should include appropriate tests and explicitly state whether they affect benchmark comparability, metrics, datasets, or reproducibility.


Security

Please do not disclose security-sensitive information through public GitHub issues. See SECURITY.md for reporting guidance.


License

ISynKGR is released under the MIT License.


Authors

  • Kabeh Mohsenzadegan
  • Vahid Tavakkoli
  • Kyandoghere Kyamakya

For the scientific methodology and benchmark results, cite the published article above. For software reuse, please retain the repository attribution and license information.

About

Adaptive industrial schema-mapping and benchmarking framework for semantic translation across standards using rules, retrieval, and LLM-based reasoning.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages