Automatically detecting the conflicts between software requirements
based on finer semantic analysis
- URL: http://arxiv.org/abs/2103.02255v1
- Date: Wed, 3 Mar 2021 08:39:53 GMT
- Title: Automatically detecting the conflicts between software requirements
based on finer semantic analysis
- Abstract summary: We propose an approach Finer Semantic Analysis-based Requirements Conflict Detector (FSARC) to automatically detecting the conflicts between the given natural language functional requirements.
We build a harmonized semantic meta-model of functional requirements with the form of eight-tuple.
And we define seven types of conflicts as long as their detecting rules on the ground of their text pattern and semantical dependency.
- Score: 8.035669538927623
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Context: Conflicts between software requirements bring uncertainties to
product development. Some great approaches have been proposed to identify these
conflicts. However, they usually require the software requirements represented
with specific templates and/or depend on other external source which is often
uneasy to build for lots of projects in practice. Objective: We aim to propose
an approach Finer Semantic Analysis-based Requirements Conflict Detector
(FSARC) to automatically detecting the conflicts between the given natural
language functional requirements by analyzing their finer semantic
compositions. Method: We build a harmonized semantic meta-model of functional
requirements with the form of eight-tuple. Then we propose algorithms to
automatically analyze the linguistic features of requirements and to annotate
the semantic elements for their semantic model construction. And we define
seven types of conflicts as long as their heuristic detecting rules on the
ground of their text pattern and semantical dependency. Finally, we design and
implement the algorithm for conflicts detection. Results: The experiment with
four requirement datasets illustrates that the recall of FSARC is nearly 100%
and the average precision is 83.88% on conflicts detection. Conclusion: We
provide a useful tool for detecting the conflicts between natural language
functional requirements to improve the quality of the final requirements set.
Besides, our approach is capable of transforming the natural language
functional requirements into eight semantic tuples, which is useful not only
the detection of the conflicts between requirements but also some other tasks
such as constructing the association between requirements and so on.
Related papers
- When Specifications Conflict: A Symmetry-Based Framework for Measuring LLM Preferences [3.046191671479774]
Large language models (LLMs) are increasingly required to integrate multiple sources of information.<n>We propose a controlled experimental framework for studying model preferences under conflicting specifications.
arXiv Detail & Related papers (2026-07-30T15:42:32Z) - A Retrieval-Augmented Framework for Detecting and Resolving Pragmatic Ambiguities in Natural Language Requirements [2.036811219647753]
Natural language requirements (NLRs) are essential for bridging communication gaps among diverse stakeholders in software development.<n>Some requirements may be misinterpreted due to varying contextual knowledge and domain-specific expectations of the stakeholders.<n>This paper presents an approach for detecting and resolving pragmatic ambiguities in NLRs.
arXiv Detail & Related papers (2026-07-05T17:58:45Z) - LLM-Based Static Verification of Code Against Natural-Language Requirements: An Industrial Experience Report [3.5867640049033054]
This article presents a two-stage LLM-based workflow for addressing this challenge in an intelligent-vehicle cybersecurity case study.<n>In the first stage, an AI-based rule miner extracts verifiable rules from natural-language requirements.<n>In the second stage, an AI-based code auditor checks implementation evidence against the extracted rules.
arXiv Detail & Related papers (2026-05-18T06:34:03Z) - When Contextual Inference Fails: Cancelability in Interactive Instruction Following [51.2195840589474]
We introduce Build What I Mean, an interactive benchmark for contextual meaning construction.<n>In BWIM, models must resolve ambiguity by either performing a contextual inference or requesting clarification at a small communication cost.<n>We observe suboptimal strategies, such as partner-blind over-clarification and question-averse guessing under uncertainty.
arXiv Detail & Related papers (2026-03-20T14:46:59Z) - Intent Formalization: A Grand Challenge for Reliable Coding in the Age of AI Agents [7.228124845671868]
Agentic AI systems can now generate code with remarkable fluency.<n>But a fundamental question remains: emphdoes the generated code actually do what the user intended?
arXiv Detail & Related papers (2026-03-17T21:28:59Z) - AffordGrasp: Cross-Modal Diffusion for Affordance-Aware Grasp Synthesis [50.793806818677716]
AffordGrasp produces physically stable and semantically faithful human grasps with high precision.<n>AffordGrasp integrates an affordance-aware latent representation of hand poses with a dual-conditioning diffusion process.<n>We evaluate AffordGrasp across four instruction-augmented benchmarks derived from HO-3D, OakInk, GRAB, and AffordPose.
arXiv Detail & Related papers (2026-03-09T06:56:35Z) - Beyond Memorization: Testing LLM Reasoning on Unseen Theory of Computation Tasks [8.210112631285666]
Large language models (LLMs) have demonstrated strong performance on formal language tasks.<n>We introduce a benchmark for deterministic finite automata (DFA) construction from regular languages.<n>We show that models achieve perfect accuracy on factual questions and 84-90% on seen tasks, but accuracy drops sharply on unseen problems.
arXiv Detail & Related papers (2026-01-19T21:00:31Z) - CrossCheck-Bench: Diagnosing Compositional Failures in Multimodal Conflict Resolution [20.823419395675412]
CrossCheck-Bench is a diagnostic benchmark for evaluating contradiction detection in multimodal inputs.<n>We evaluate 13 state-of-the-art vision-language models and observe a consistent performance drop as tasks shift from perceptual matching to logical contradiction detection.
arXiv Detail & Related papers (2025-11-19T12:17:15Z) - That's Deprecated! Understanding, Detecting, and Steering Knowledge Conflicts in Language Models for Code Generation [55.78914774437411]
Large language models (LLMs) behave when faced with discrepancies between their parametric knowledge and conflicting information contained in a prompt.<n>We propose a domain-agnostic framework for constructing and interpreting such conflicts.<n>We show that activation-level steering can achieve up to a textbf12.6% improvement in steering success over a random baseline.
arXiv Detail & Related papers (2025-10-21T22:27:56Z) - Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocol [83.83217247686402]
Large Language Models (LLMs) have evolved from simple text generators into complex software systems that integrate retrieval augmentation, tool invocation, and multi-turn interactions.<n>Their inherent non-determinism, dynamism, and context dependence pose fundamental challenges for quality assurance.<n>This paper decomposes LLM applications into a three-layer architecture: textbftextitSystem Shell Layer, textbftextitPrompt Orchestration Layer, and textbftextitLLM Inference Core.
arXiv Detail & Related papers (2025-08-28T13:00:28Z) - CORE: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks [12.465309397733249]
Large language models (LLMs) have been widely adopted across diverse software engineering domains.<n>These applications require understanding beyond surface-level code patterns.<n>Existing benchmarks primarily evaluate end-to-end outcomes, such as whether code is correctly repaired or generated.
arXiv Detail & Related papers (2025-07-03T01:35:58Z) - Towards Training-free Anomaly Detection with Vision and Language Foundation Models [17.991678161890174]
Anomaly detection is valuable for real-world applications, such as industrial quality inspection.
We introduce LogSAD, a novel multi-modal framework that requires no training for both Logical and Structural Anomaly Detection.
arXiv Detail & Related papers (2025-03-24T04:07:59Z) - From Objects to Events: Unlocking Complex Visual Understanding in Object Detectors via LLM-guided Symbolic Reasoning [71.41062111470414]
The proposed plug-and-play framework interfaces with any open-vocabulary detector.
At its core, our approach combines (i) a symbolic regression mechanism exploring relationship patterns among detected entities.
We compared our training-free framework against specialized event recognition systems across diverse application domains.
arXiv Detail & Related papers (2025-02-09T10:30:54Z) - GSSF: Generalized Structural Sparse Function for Deep Cross-modal Metric Learning [51.677086019209554]
We propose a Generalized Structural Sparse to capture powerful relationships across modalities for pair-wise similarity learning.
The distance metric delicately encapsulates two formats of diagonal and block-diagonal terms.
Experiments on cross-modal and two extra uni-modal retrieval tasks have validated its superiority and flexibility.
arXiv Detail & Related papers (2024-10-20T03:45:50Z) - CONGRA: Benchmarking Automatic Conflict Resolution [3.9910625211670485]
ConGra is a benchmarking scheme designed to evaluate the performance of software merging tools.
We build a large-scale evaluation dataset based on 44,948 conflicts from 34 real-world projects.
arXiv Detail & Related papers (2024-09-21T12:21:41Z) - Runtime Resolution of Feature Interactions through Adaptive Requirement
Weakening [8.873252360337085]
Feature interaction problems remain a challenge for emerging cyber-physical systems.
We propose a new resolution approach that allows all of the conflicting features to continue to partially fulfill their requirements.
We demonstrate our approach through case studies on feature interactions in autonomous drones.
arXiv Detail & Related papers (2023-10-27T15:45:30Z) - Detecting Semantic Conflicts using Static Analysis [1.201626478128059]
We propose a technique that explores the use of static analysis to detect interference when merging contributions from two developers.
We evaluate our technique using a dataset of 99 experimental units extracted from merge scenarios.
arXiv Detail & Related papers (2023-10-06T14:13:16Z) - Exposing and Addressing Cross-Task Inconsistency in Unified
Vision-Language Models [80.23791222509644]
Inconsistent AI models are considered brittle and untrustworthy by human users.
We find that state-of-the-art vision-language models suffer from a surprisingly high degree of inconsistent behavior across tasks.
We propose a rank correlation-based auxiliary training objective, computed over large automatically created cross-task contrast sets.
arXiv Detail & Related papers (2023-03-28T16:57:12Z) - Supervised Semantic Similarity-based Conflict Detection Algorithm: S3CDA [0.8249694498830561]
This study addresses the need for conflict identification within requirements by delving into their semantic compositions and contextual meanings.
Our research introduces an automated supervised conflict detection method known as the Supervised Semantic Similarity-based Conflict Detection Algorithm.
The similarity-based conflict detection involves leveraging sentence embeddings and cosine similarity measures to identify pertinent candidate requirements.
arXiv Detail & Related papers (2022-06-28T01:48:12Z) - Improving Multi-task Generalization Ability for Neural Text Matching via
Prompt Learning [54.66399120084227]
Recent state-of-the-art neural text matching models (PLMs) are hard to generalize to different tasks.
We adopt a specialization-generalization training strategy and refer to it as Match-Prompt.
In specialization stage, descriptions of different matching tasks are mapped to only a few prompt tokens.
In generalization stage, text matching model explores the essential matching signals by being trained on diverse multiple matching tasks.
arXiv Detail & Related papers (2022-04-06T11:01:08Z) - Exploring Multi-Modal Representations for Ambiguity Detection &
Coreference Resolution in the SIMMC 2.0 Challenge [60.616313552585645]
We present models for effective Ambiguity Detection and Coreference Resolution in Conversational AI.
Specifically, we use TOD-BERT and LXMERT based models, compare them to a number of baselines and provide ablation experiments.
Our results show that (1) language models are able to exploit correlations in the data to detect ambiguity; and (2) unimodal coreference resolution models can avoid the need for a vision component.
arXiv Detail & Related papers (2022-02-25T12:10:02Z) - Exploiting Multi-Object Relationships for Detecting Adversarial Attacks
in Complex Scenes [51.65308857232767]
Vision systems that deploy Deep Neural Networks (DNNs) are known to be vulnerable to adversarial examples.
Recent research has shown that checking the intrinsic consistencies in the input data is a promising way to detect adversarial attacks.
We develop a novel approach to perform context consistency checks using language models.
arXiv Detail & Related papers (2021-08-19T00:52:10Z) - Infusing Finetuning with Semantic Dependencies [62.37697048781823]
We show that, unlike syntax, semantics is not brought to the surface by today's pretrained models.
We then use convolutional graph encoders to explicitly incorporate semantic parses into task-specific finetuning.
arXiv Detail & Related papers (2020-12-10T01:27:24Z) - Anomaly detection in Context-aware Feature Models [1.0660480034605242]
We formalize the anomaly analysis in Context-aware Feature Models.
We show how QBF solvers can be used to detect anomalies without relying on iterative calls to a SAT solver.
arXiv Detail & Related papers (2020-07-28T08:59:14Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.