Bridging the Gap between Requirements and Software Implementation

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 145 papers47 conceptsfrozen 2026-10-04

Software engineering is often described as a translation problem. On one side, we have human intent—vague, high-level, and expressed in natural language or business logic. On the other, we have executable code—rigid, low-level, and bound by the strict semantics of a machine. The distance between these two points is known as the semantic gap.

When this gap is wide, systems fail. Misunderstandings between stakeholders and developers lead to "unintended system behaviors" Get Your Requirements Straight: Storyboarding Revisited, and in safety-critical environments like medical devices, these misalignments can be fatal Formal specifications and analysis of the computer-assisted resuscitation algorithm (CARA) Infusion Pump Control System. Research in this field focuses on building "bridges"—intermediate abstractions that allow high-level intent to flow into low-level execution without losing its meaning.

The Vocabulary Problem

The fundamental challenge is a lack of shared vocabulary. As John P. McDermott famously argued in Developing Software is like Talking to Eskimos about Snow, AI and software tools often fail not because of poor technology, but because they lack the nuanced abstractions necessary to map human tasks to computer symbols.

Without a common language, multidisciplinary teams—comprising designers, business analysts, and engineers—resort to "primitive" communication like rapid prototyping. While useful, prototyping is often a symptom of an inability to clearly articulate the relationship between a task and its implementation. To solve this, researchers like Kris Luyten have proposed metadata-enriched storyboards to serve as a "common language" that reduces ambiguity before coding begins.

Model-Driven Engineering as a Structural Bridge

One of the most robust solutions to the semantic gap is Model-Driven Software Engineering (MDSE). Instead of writing code manually, developers create high-level models that represent the system's logic. These models are then automatically transformed into executable code.

Marco Brambilla and Jordi Cabot demonstrate in Model-Driven Software Engineering in Practice how this approach makes development less manual and error-prone. By using tools like WebRatio BPM, abstract business process models (BPMN) can be turned into functional web applications. This "zero-coding" approach ensures that the final software accurately reflects the original design requirements, effectively collapsing the distance between the "what" and the "how."

Formalizing Intent in High-Stakes Environments

In domains where errors are unacceptable—such as blockchain or safety-critical systems—the bridge must be mathematically rigorous.

In the world of smart contracts, there is a notorious disconnect between the legal prose of a contract and the low-level bytecode that executes on a blockchain An overview on smart contracts: Challenges, advances and platforms. To address this, Anastasia Mavridou and Aron Laszka developed VeriSolid, a framework that allows developers to design contracts as high-level transition systems. These models are verified against security properties before generating Solidity code, ensuring the system is "correct-by-design."

Similarly, Thomas Ball proposes Theorem-Carrying-Transactions, where every transaction carries a mathematical proof of its own safety. This ensures that the execution path aligns perfectly with the developer's intended security properties, such as preventing reentrancy attacks.

Domain-Specific Languages and Visual Abstractions

Sometimes the gap is bridged by creating a specialized language for a specific group of experts. For example, Maria Teresa Baldassarre created PhyDSLK, a Domain-Specific Language (DSL) that allows rehabilitation experts to build Kinect-based games without knowing how to code in Unity.

Visual programming is another powerful bridge. Lucian Trestioreanu and colleagues introduced Blockly2Hooks, which uses "drag-and-drop" blocks to allow non-technical stakeholders to deploy complex smart contracts. By translating intuitive visual logic into WebAssembly, the tool ensures that business logic is directly and accurately represented in the technical implementation.

The Future: AI and Social Commitments

The most recent research directions involve using Large Language Models (LLMs) and social frameworks to automate this translation.

  • Closed-Loop Verification: Chuyue Sun and Oded Padon developed Clover, a framework that checks for consistency between natural language docstrings, executable code, and formal specifications. This ensures that the AI's "creative" output remains grounded in the user's original intent.
  • Social Commitments: Munindar P. Singh and Amit K. Chopra proposed Clouseau, which generates communication protocols from high-level "social commitments" (e.g., "I will deliver if you pay"). This compiles the meaning of an interaction directly into the mechanics of messaging.

By treating software development not as a series of isolated tasks, but as a continuous process of aligning intent with execution, these researchers are slowly closing the semantic gap, making systems more reliable, accessible, and true to their purpose.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_bridging_the_gap_between_requirements_an_2c2cf28a,
  title = {Bridging the Gap between Requirements and Software Implementation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bridging-the-gap-between-requirements-and-software-implementation/rdr_2c2cf28ac2504b318f07a12c6ffbdb0f},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_bridging_the_gap_between_requirements_an_2c2cf28a_v1,
  title = {Bridging the Gap between Requirements and Software Implementation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bridging-the-gap-between-requirements-and-software-implementation/rdr_2c2cf28ac2504b318f07a12c6ffbdb0f/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}