A A Model-Driven Metamodel for the Systematic Design of Configurable NLP Pipelines
DOI:
https://doi.org/10.15849/ijasca.172Keywords:
Natural Language Processing, Soft Computing, Model-Driven Engineering, NLP Pipelines, Metamodeling, AutoNLPAbstract
Natural Language Processing systems are increasingly built as configurable pipelines combining heterogeneous components, including data sources, task specifications, linguistic preprocessing, representation methods, learning models, training settings, evaluation protocols, explainability requirements, and deployment constraints. Yet these pipelines are often described either through implementation code or through informal sequences of steps, which makes their design decisions difficult to compare, reproduce, or search over automatically. Existing work at the intersection of NLP and Model-Driven Engineering has mainly used language technologies to generate UML, SysML, or DSL artifacts from textual specifications, while model-driven approaches to machine learning have addressed datasets and ML-enabled systems more broadly. This article proposes a metamodel in which the NLP pipeline itself is the modeling target. The proposed metamodel defines fifteen metaclasses organized through explicit ownership semantics, distinguishing pipeline-level, model-level, shared, and execution-generated components. It also introduces cross-cutting relations that make evaluation results traceable to the configurations that produced them. The metamodel is given a formal definition and thirteen well-formedness constraints expressed in OCL. It is instantiated on two contrasting sentiment analysis pipelines: a classical supervised configuration drawn from an executed experiment and a zero-shot configuration used as a structural test. The instantiation shows that both configurations can be represented within the same structure, that reported measurements can be traced back to their producing configurations, and that plausible malformed configurations can be rejected with an explicit diagnosis. The metamodel is intended as a foundation for NLP pipeline documentation, comparison, reproducibility, and future automatic configuration and multi-objective optimization.
Downloads
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 KAMAL WALJI, Pr ALLAE ERRAISSI, Pr ABDELALI ZAKRANI, Pr MOUAD BANANECopyright © The Author(s).
Articles published in the International Journal of Advances in Soft Computing and its Applications (IJASCA) are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.
This license permits anyone to copy, redistribute, remix, transform, and build upon the material for any purpose, including commercial use, provided appropriate credit is given to the original author(s), a link to the license is provided, and any modifications are indicated.
Authors retain the copyright of their published work and grant the journal right of first publication, with the work simultaneously licensed under the terms above.
Link
