Monday, November 30, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News

Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs

November 24, 2026
in Science News
Daphne Blevins
By Daphne Blevins Scienmag Editorial Profile - Natural Language Processing
Reading Time: 7 mins read
0
Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs

Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A research team led by computer scientists Angelo Casciani, Mario Luca Bernardi, Marta Cimitile, and Andrea Marrella has developed an open, reproducible conversational framework that enables users to query object-centric business process logs using everyday natural language. Published in the journal Process Science, the study demonstrates that combining retrieval-augmented generation with state-of-the-art language models allows non-technical business professionals to inspect intricate operational histories without writing complex database code. Operating over the standardized Object-Centric Event Log 2.0 format, the architecture extracts multi-dimensional execution records and translates plain-English questions into grounded, verified factual answers. Quantitative assessments revealed that an optimized open-source configuration achieved an overall classification accuracy of 0.98 and a Matthews correlation coefficient of 0.96, successfully resolving long-standing technical barriers that previously restricted advanced process analysis to specialized data engineers.

Process mining has become indispensable in Industry 4.0 environments, allowing enterprises to extract operational insights, discover actual workflows, and detect process bottlenecks by analyzing recorded event logs. Historically, process mining systems relied upon a case-centric foundation, exemplified by the IEEE XES standard, in which every recorded event must map to a single isolated case identifier, such as an order number or customer identifier. However, real-world business activities inherently involve multiple interacting entities simultaneously, such as purchase orders, physical goods, materials, and payment vouchers. Forcing multi-object workflows into a single case notion requires data flattening, which induces two well-documented structural distortions known as convergence and divergence. Convergence occurs when an event associated with multiple objects is artificially duplicated across separate case histories. Conversely, divergence arises when distinct objects sharing a common transaction cannot have their independent lifecycles distinguished, leading to obscured relationships and invalid causal assumptions.

To overcome the representational limits of case-centric logging, the academic community introduced object-centric event logs, culminating in the formal OCEL 2.0 specification. Under this enhanced metamodel, individual events explicitly reference multiple objects of diverse types through qualified roles, direct object-to-object relationships can be recorded, and dynamic attribute state changes over time are systematically tracked. While OCEL 2.0 successfully preserves the structural fidelity of complex multi-relational processes, extracting insights from such rich data structures presents steep computational and technical hurdles. Conventional query tools, including Structured Query Language, struggle with the multi-dimensional graphs inherent in object-centric logs. Formulating queries that traverse relational dependencies typically demands multi-layered nested subqueries and extensive relational joins, which degrade database performance and place basic data exploration beyond the technical capabilities of domain managers, process owners, and operational decision-makers.

The investigative team illustrated this technical bottleneck using a standard Procure-to-Pay scenario, posing a seemingly straightforward inquiry: identifying which material had the highest ordered quantity and in which specific event that quantity was recorded. Executing this request in SQL against a flattened log requires aggregating material identifiers while grouping maximum values, yet that initial aggregation cannot return the corresponding event identifier without writing additional joins or nested subqueries. This structural complexity introduces severe barriers for non-technical analysts attempting exploratory work. Furthermore, the flattening process duplicates events across separate material instances, distorting quantitative measures. By contrast, the newly designed framework operates directly over the preserved object-to-event associations and explicit object properties, locating the maximum ordered quantity and immediately binding it to the unique event record without requiring log transformation or error-prone manual data flattening.

To resolve these accessibility challenges, the authors engineered an architecture comprising two decoupled phases: an offline event log preprocessing stage and an online question answering pipeline. During the offline phase, raw OCEL 2.0 files formatted in JSON are ingested by specialized processing modules built using the Python libraries pandas and PM4Py. The system parses the raw execution data into four distinct collections of structured facts: aggregate global execution statistics, event-specific records, object lifecycle data, and timestamp logs. Global statistics capture overall execution metrics, including total timeframe, earliest and latest recorded dates, total activity counts, and object type distributions. Event statistics document manipulated object types and counts for every event identifier. Object statistics record lifecycle timestamps, manipulating activities, associated resources, and numerical attribute ranges. Timestamp statistics catalog all operations and manipulated entities occurring at each discrete recording point.

Following factual extraction, a chunking module segments these structured statistical collections into discrete, semantically coherent text segments. Each chunk represents a single unit within its category, preserving structural integrity to support granular retrieval during query handling. These textual chunks are subsequently mapped into high-dimensional space using the all-MiniLM-L12-v2 sentence transformer model, generating 384-dimensional dense vector embeddings selected for their optimal balance of semantic representation, execution speed, and low memory overhead. The resulting vector representations are indexed in a local Qdrant vector database alongside explicit metadata attributes indicating chunk classification. By appending metadata flags designating whether a chunk represents an event, object, timestamp, or global summary, the system allows the retrieval mechanism to combine semantic vector matching with structured metadata filtering, substantially reducing false-positive contextual associations during runtime.

The online question answering phase manages the real-time interaction when an end-user poses a natural language query. The input text is immediately encoded into a dense vector embedding using the identical sentence transformer model, prompting a cosine similarity search against the Qdrant index. Empirical testing demonstrated that retrieving between three and five contextual chunks provides sufficient factual context to satisfy user inquiries without overflowing the model context window. This compact retrieval design enables rapid inference execution and ensures compatibility with smaller, locally deployable open-source language models. The retrieved data chunks are then assembled alongside the user inquiry and a tailored system guardrail into an augmented prompt constructed via LangChain. This guardrail explicitly directs the language model to ground its responses exclusively on the retrieved facts and to explicitly acknowledge when contextual information is insufficient rather than generating unsupported answers.

To evaluate the framework under controlled, reproducible conditions, the researchers constructed a comprehensive benchmark dataset derived from an official OCEL 2.0 Procure-to-Pay simulation log based on enterprise SAP transactions. The synthesized dataset comprises 2,552 balanced question-answer pairs split equally between True and False ground-truth values. Queries were systematically sampled across the four structural perspectives: global process statistics, event operations, object lifecycle states, and temporal timestamps. For example, positive event queries validated whether specific object types were manipulated during given transactions, while negative queries paired genuine transaction identifiers with distorted object properties or altered quantities. All experimental tests were conducted on a dedicated research workstation running Ubuntu 22.04.3 LTS powered by an NVIDIA A100 graphics processing unit, ensuring uniform computational execution across all evaluated language model architectures.

The quantitative evaluation examined multiple prominent open-source and proprietary language models, spanning Meta’s Llama family, Mistral architectures, Qwen2.5-7B, Google’s Gemma-2-9B, and OpenAI’s GPT-4o-mini. To rigorously measure system robustness, the researchers conducted an ablation study across four distinct prompting configurations: zero-shot baseline, few-shot prompting containing category-specific exemplars, zero-shot with instructional guardrails, and few-shot with guardrails. Across all tests, responses were scored by a binary automated evaluation oracle using standard classification metrics, including precision, recall, accuracy, F1-score, Area Under the ROC Curve, and the Matthews correlation coefficient. To account for potential stochastic variability inherent in deep language model inference, all quantitative scores were averaged across five independent experimental runs, establishing a highly rigorous statistical baseline for conversational process mining.

Quantitative results confirmed that prompt structure critically influences system reliability alongside the choice of underlying language model. Across all models, the few-shot prompting strategy reinforced by instructional guardrails delivered superior analytical performance. The addition of guardrails prevented common generation errors, ensuring strict adherence to boolean factual assessment. For example, Mistral-7B-v0.2 saw its baseline accuracy surge from 0.54 under zero-shot conditions to 0.96 once guardrails were enforced. Ministral-8B emerged as the leading model across the complete benchmark, achieving an accuracy of 0.98 and an MCC of 0.96 under the optimal few-shot guardrail setup. Competitive open-source alternatives, including Llama-3-8B and Qwen2.5-7B, alongside GPT-4o-mini, closely trailed the frontrunner by maintaining MCC values exceeding 0.93, proving that organizations can achieve enterprise-grade conversational accuracy using entirely private, self-hosted open-source software.

The benchmark experiments also exposed notable variations in task difficulty across different analytical perspectives. The global execution statistics category proved the most demanding for the models, exhibiting lower overall accuracy and depressed recall when operating without instructional guidance. In contrast, queries addressing specific object attributes and temporal timestamps achieved near-perfect factual precision and recall, as top-tier models easily extracted explicit property values and lifecycle dates directly from the retrieved context chunks. Notably, Ministral-8B registered perfect scores across all metrics when processing temporal inquiries. The evaluation also confirmed a direct correlation between parameter scale and contextual performance: the compact 1-billion-parameter Llama-3.2 model consistently produced the lowest scores across every scenario, frequently becoming distracted by contextual noise, which demonstrated that minimum parameter capacities are necessary to reliably interpret relational event graphs.

Complementing the quantitative benchmark, the investigators conducted a qualitative usability trial with 12 academic participants from Sapienza University of Rome, including Master’s candidates, doctoral researchers, and faculty members in computer science and management engineering. Operating the top-performing Ministral-8B configuration, participants submitted unrestricted, open-ended natural language questions regarding the Procure-to-Pay log. The submitted questions were significantly more discursive than the benchmark queries, requiring the model to synthesize complex relationships between events, operational resources, and execution durations. Survey feedback indicated that participants found the generated explanations clear, responsive, and contextually aligned with their analytical intents. The participants highlighted that the interface dramatically simplified data interpretation, enabling non-specialists to navigate intricate business executions that would otherwise necessitate intricate database programming.

The authors candidly detailed several study limitations, noting that while the academic test cohort confirmed functional usability, future trials must incorporate enterprise process owners and industrial operational managers to evaluate real-world workplace utility. Methodologically, the team addressed internal and external validity threats by testing diverse model families, releasing their complete prompt templates, and publishing the full benchmark dataset on Zenodo alongside source code on GitHub. Planned future extensions include expanding preprocessing compatibility to legacy XES logs, integrating formal business process models, and incorporating symbolic artificial intelligence modules to enhance explainability and structured logical reasoning. By maintaining full operational transparency and enabling local execution on private hardware, this conversational architecture establishes a viable pathway for democratizing data-driven process intelligence across modern enterprises.

Subject of Research: Natural language querying of object-centric process mining event logs using retrieval-augmented generation

Article Title: Enabling natural language analysis for object-centric event logs

Article References: Casciani, A., Bernardi, M. L., Cimitile, M., & Marrella, A. (2026). Enabling natural language analysis for object-centric event logs. Process Science, 3(1), Article 5. https://doi.org/10.1007/s44311-026-00037-9

Image Credits: AI Generated

DOI: 10.1007/s44311-026-00037-9

Keywords: Process Mining, Object-Centric Event Logs, OCEL 2.0, Retrieval-Augmented Generation, Large Language Models, Natural Language Processing, Ministral-8B, Procure-to-Pay, Enterprise Systems, Data Accessibility, Vector Databases, Semantic Search, Qdrant, Text-to-Query, Business Process Management, Information Retrieval, Prompt Engineering

Cite Scienmag News

Daphne Blevins. (November 24, 2026). Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs. Scienmag. https://scienmag.com/retrieval-framework-enables-accurate-natural-language-analysis-for-object-centric-event-logs/

Daphne Blevins. "Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs." Scienmag, 24 November 2026, https://scienmag.com/retrieval-framework-enables-accurate-natural-language-analysis-for-object-centric-event-logs/. Accessed 30 November 2026.

Daphne Blevins. "Retrieval Framework Enables Accurate Natural Language Analysis for Object-Centric Event Logs." Scienmag. November 24, 2026. https://scienmag.com/retrieval-framework-enables-accurate-natural-language-analysis-for-object-centric-event-logs/

Tags: business process managementData Accessibilityenterprise systemsinformation retrievallarge language modelsMinistral-8Bnatural language processingObject-Centric Event LogsOCEL 2.0process miningProcure-to-Payprompt engineeringQdrantretrieval-augmented generationsemantic searchText-to-Queryvector databases
Share26Tweet16
Previous Post

Tanzanian Farmers Prioritize Soil Defenses as Climate Models Project Intensified Rains

Next Post

Sivelestat Sodium Reduces Organ Damage and NETs in Septic Rats

Related Posts

Simulations and Assays Identify Key Antibacterial Features in Sea Buckthorn Flavonoids
Chemistry

Simulations and Assays Identify Key Antibacterial Features in Sea Buckthorn Flavonoids

November 30, 2026
Robot-assisted radical cystectomy linked to lower blood product use in German study
Medicine

Robot-assisted radical cystectomy linked to lower blood product use in German study

November 30, 2026
Combined Early Risks, Early Smoking, and Unhealthy Habits Double Adult Asthma Risk
Medicine

Combined Early Risks, Early Smoking, and Unhealthy Habits Double Adult Asthma Risk

November 30, 2026
Machine Learning Framework Decodes Diverse Human PARP1 Inhibitors and Activity Cliffs
Chemistry

Machine Learning Framework Decodes Diverse Human PARP1 Inhibitors and Activity Cliffs

November 30, 2026
Stretchable Electronic Skin Upcycled from Mealworm Exoskeletons Controls Quadruped Robot
Science News

Stretchable Electronic Skin Upcycled from Mealworm Exoskeletons Controls Quadruped Robot

November 30, 2026
Genomic Analysis Links Brazilian HTLV-1 Japanese Subgroup to Twentieth-Century Migration Movements
Science News

Genomic Analysis Links Brazilian HTLV-1 Japanese Subgroup to Twentieth-Century Migration Movements

November 30, 2026
Next Post
Sivelestat Sodium Reduces Organ Damage and NETs in Septic Rats

Sivelestat Sodium Reduces Organ Damage and NETs in Septic Rats

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Simulations and Assays Identify Key Antibacterial Features in Sea Buckthorn Flavonoids
  • Robot-assisted radical cystectomy linked to lower blood product use in German study
  • Combined Early Risks, Early Smoking, and Unhealthy Habits Double Adult Asthma Risk
  • Machine Learning Framework Decodes Diverse Human PARP1 Inhibitors and Activity Cliffs

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading