Skip to content
#small language model Book Open access

The impact of Software Model Slicing on Software Model Completion with Large Language Models

Oct 2026 · Proceedings of the ACM/IEEE 29th International Conference on Model Driven Engineering Languages and Systems · 0 citations · 76 references

TL;DR

The results show that appropriate model slicing significantly improves completion correctness while simultaneously reducing token usage across several structural and semantic evaluation metrics, and establish model slicing as a key factor in LLM-based model completion and provide guidance for effective context selection for other modeling tasks.

Abstract

Large language models (LLMs) have recently shown promising results in supporting software model completion. Despite this, an open issue is what to provide as context to the LLM and how that influences completion correctness. We refer to the selection of model parts given as context to the LLM as software model slicing for LLM-based software model completion. Improving completion correctness directly benefits modelers by reducing manual corrections and additional prompting, while slicing models into smaller parts lowers token usage, reducing inference time. In this paper, we formalize model slicing in a task-independent, metamodel-agnostic manner based on graph representations of software models and instantiate different representative slicing approaches, including radius-based, modularization-based, and LLM-based slicing. Thereupon, we systematically evaluate the influence of model slicing and compare the different approaches against identity and random baselines on 1,000 real-world models from two public datasets using open-source LLMs. Our results show that appropriate model slicing significantly improves completion correctness while simultaneously reducing token usage across several structural and semantic evaluation metrics. This is particularly noteworthy as reducing context might be expected to remove relevant information and degrade performance. In particular, radius-based and modularization-based slicing outperform both the identity and random baselines. These findings establish model slicing as a key factor in LLM-based model completion and provide guidance for effective context selection for other modeling tasks.

Read PDF

Similar papers

#software testing Preprint Aug 2026

An Empirical Evaluation of Using Large Language Models for Automated Model-Based Test Generation

This paper presents an empirical evaluation of Large Language Models (LLMs) for automated model-based test generation, compared with a state-of-the-art model-based testing tool (GraphWalker) and its built-in algorithms (random and quick random for edge and vertex coverage settings).

H. Şanli, Onur Kilinççeker, Cihat Çetinkaya · 0 citations

Investigating the Refactoring Capabilities of Small Open-Weight Language Models

This paper performs a broad analysis on the refactoring capabilities of small open-weight language models (SLMs) by evaluating 12 models on 3453 Python programs and indicates that current open SLMs can support refactoring tasks, especially larger ones with reasoning capabilities, but they are best used with human overs...

Tamás Márton, Balázs Szalontai, Bal'azs Pint'er et al. · 0 citations
Preprint Aug 2026

Towards Automated Domain Model Extraction from Source Code using Heuristics and Open-Source LLMs

This paper proposes an automated approach to extract domain models from source code using lightweight, locally deployable LLMs and achieves high F1-scores on a dataset of ten projects, each comprising a curated domain model and its corresponding implementation, while remaining fully executable on locally deployable LLM...

Alessandra Mancas, Mounir Ammam, Hyacinth Ali et al. · 1 citation
Open access 2026

Enhancing Code Quality through AI-Powered Metric-Driven Refactoring: A Multi-Model Analysis

Investigating LLMs as metric-driven refactoring assistants rather than code generators suggests that while LLMs are valuable assistants for structural improvement, their interventions require careful monitoring to avoid unintended trade-offs.

Tindwende Thierry Sawadogo, Fadel Touré · 0 citations
Review Open access Jul 2026

A Systematic Literature Review on Automated Program Repair using Large Language Models

Current research is summarized to identify key gaps and future directions to optimize LLM based APR are proposed, to assure its reliability and scalability in real world software development.

Fatmaelzahra Hamdi, Ramadam Moawad, A. Mohsen · 0 citations
Conference Jul 2026

Operationalizing Large Language Models for Automated Software Requirement Interpretation and Change Impact Analysis

In fast-evolving software systems, effective 'natural language requirements parsing' and downstream change effect analysis capability across a multitude of codes represents low-hanging-fruit in this regard. We present a structured framework to deploy Large Language Models (LLMs) for automating two essential software en...

Nithya Krishnan, Kumaran Ramanujam, Suresh Babu Narra et al. · 0 citations

Related blog posts

GPT-Lab Nov 26, 2026

How Much Electricity Does AI Use? It Depends Mostly on What You Ask

An ordinary text question to an AI uses less electricity than many people guess, but video and thinking modes multiply consumption many times over. We put the numbers next to everyday things, from boiling water to a Finnish sauna evening, and share three tips for using AI with a smaller footprint. The post How Much Electricity Does AI Use? It Depends Mostly on What You Ask appeared first on GPT-Lab.

MIT News · Artificial Intelligence Nov 23, 2026

Many languages, one common neural code

Analyzing speakers of 21 languages, an MIT study using multilingual AI finds the human brain may represent meaning in much the same way.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.