SlideShare a Scribd company logo
Requirements Conversations:
A New Frontier in AI-for-RE
Fabiano Dalpiaz
Requirements Engineering Lab
Utrecht University, the Netherlands
August 16, 2022
f.dalpiaz@uu.nl @FabianoDalpiaz
Outline and Acks
@2022 Fabiano Dalpiaz
2
1. Context:
NLP4RE
2. Conversational
Req. Engineering
3. From reqs to
specs
4. Conversation
summarization
5. Outlook
Outline and Acks
@2022 Fabiano Dalpiaz
2
1. Context:
NLP4RE
2. Conversational
Req. Engineering
3. From reqs to
specs
4. Conversation
summarization
5. Outlook
Sjaak Brinkkemper
Tjerk Spijkman
Nikita van den Berg
Xavier de Bondt
1. Context: NLP for Requirements
Engineering (NLP4RE)
Fabiano Dalpiaz,Alessio Ferrari, Xavier Franch, and Cristina Palomares. "Natural language processing
for requirements engineering:The best is yet to come." IEEE Software 35, no. 5 (2018): 115-119.
@2022 Fabiano Dalpiaz
3
RE practice: most reqs. are in natural language
@2022 Fabiano Dalpiaz
4
The <system name> shall <system response>.
WHILE <in a specific state> the <system name> shall <system
response>
WHEN <trigger> the <system name> shall <system response>
…
User stories
App store
reviews
EARS
Rupp’s template & ISO/IEC/IEEE 29148
Use cases
RE Research: 4 categories of NLP4RE tools
@2022 Fabiano Dalpiaz
5
1. Find defects /
deviations from
good practice
2. Generate models
from NL requirements
3. Infer trace links
between NL
requirements and
other artifacts
4. Identify key
abstractions
from NL
documents
Daniel Berry, Ricardo Gacitua, Pete Sawyer, and Sri Fatimah Tjong. "The case for dumb
requirements engineering tools." In InternationalWorking Conference on Requirements
Engineering: Foundation for Software Quality, pp. 211-217. 2012.
An active area of research!
@2022 Fabiano Dalpiaz
6
Liping Zhao,Waad Alhoshan, Alessio Ferrari,
Keletso J. Letsholo, Muideen A.Ajagbe, Erol-
Valeriu Chioasca, and Riza T. Batista-Navarro.
"Natural Language Processing (NLP) for
Requirements Engineering:A Systematic
Mapping Study." ACM Computing Surveys 54:3,
2022
An active area of research!
@2022 Fabiano Dalpiaz
6
Liping Zhao,Waad Alhoshan, Alessio Ferrari,
Keletso J. Letsholo, Muideen A.Ajagbe, Erol-
Valeriu Chioasca, and Riza T. Batista-Navarro.
"Natural Language Processing (NLP) for
Requirements Engineering:A Systematic
Mapping Study." ACM Computing Surveys 54:3,
2022
Specification
Main artifact for
AI-based tools
Elicitation: the root of (all) NL requirements
@2022 Fabiano Dalpiaz
7
Specification
Elicitation: the root of (all) NL requirements
@2022 Fabiano Dalpiaz
7
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Specification
Elicitation: the root of (all) NL requirements
@2022 Fabiano Dalpiaz
7
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Specification
Elicitation is heavily centered on conversations!
@2022 Fabiano Dalpiaz
8
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Elicitation is heavily centered on conversations!
@2022 Fabiano Dalpiaz
8
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
NaPiRE (August 8, 2022)
http://www.re-survey.org/#/explore
˝
Timeliness: why researching conversations now?
@2022 Fabiano Dalpiaz
9
Timeliness: why researching conversations now?
@2022 Fabiano Dalpiaz
9
Increased remote work
and collaboration
Timeliness: why researching conversations now?
@2022 Fabiano Dalpiaz
9
Increased remote work
and collaboration
Automated
transcription
2. Conversational RE
@2022 Fabiano Dalpiaz
10
Background theory: Refinement in RE
@2022 Fabiano Dalpiaz
11
Pohl, Klaus. "The three dimensions of requirements
engineering: a framework and its applications."
Information systems 19.3 (1994): 243-258.
Specification
Representation
opaque
fair
complete
common view
informal semi-formal formal
personal view
Initial RE
input
Desired RE output
Agreement
Background theory: Refinement in RE
@2022 Fabiano Dalpiaz
11
Pohl, Klaus. "The three dimensions of requirements
engineering: a framework and its applications."
Information systems 19.3 (1994): 243-258.
Specification
Representation
opaque
fair
complete
common view
informal semi-formal formal
personal view
Initial RE
input
Desired RE output
Agreement
Refinement
path in
practice
Background theory: Refinement in RE
@2022 Fabiano Dalpiaz
11
Pohl, Klaus. "The three dimensions of requirements
engineering: a framework and its applications."
Information systems 19.3 (1994): 243-258.
Specification
Representation
opaque
fair
complete
common view
informal semi-formal formal
personal view
Initial RE
input
Desired RE output
Agreement
Refinement
path in
practice
RE research approaches,
including NLP4RE Tools
How do current NLP4RE tools work?
@2022 Fabiano Dalpiaz
12
NLP4RE Tools for Conversational RE
@2022 Fabiano Dalpiaz
13
vs.
NLP4RE Tools for Conversational RE
@2022 Fabiano Dalpiaz
13
} The tool supports the conversation between analyst and stakeholders
vs.
NLP4RE Tools for Conversational RE
@2022 Fabiano Dalpiaz
13
} The tool supports the conversation between analyst and stakeholders
} Elicitation and refinement as concurrent activities
vs.
Conversational RE
@2022 Fabiano Dalpiaz
14
“The (automated) analysis of requirements
elicitation conversations aimed at identifying and
extracting requirements-relevant information”
(Requirements) conversations vs. specifications
@2022 Fabiano Dalpiaz
15
(Requirements) conversations vs. specifications
@2022 Fabiano Dalpiaz
15
2+ parties (here Analyst
and Stakeholder)
(Requirements) conversations vs. specifications
@2022 Fabiano Dalpiaz
15
2+ parties (here Analyst
and Stakeholder)
Informal: no “shall”
statements, user
stories, glossary
(Requirements) conversations vs. specifications
@2022 Fabiano Dalpiaz
15
2+ parties (here Analyst
and Stakeholder)
Informal: no “shall”
statements, user
stories, glossary
Relevant
information may
be sparse
(Requirements) conversations vs. specifications
@2022 Fabiano Dalpiaz
15
2+ parties (here Analyst
and Stakeholder)
Informal: no “shall”
statements, user
stories, glossary
Relevant
information may
be sparse
Includes persuasion,
uncertainty,
misunderstandings
Dissecting a conversation: turns and grounding acts
@2022 Fabiano Dalpiaz
16
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Dissecting a conversation: turns and grounding acts
@2022 Fabiano Dalpiaz
16
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Turns and utterance units as
atomic entities
Dissecting a conversation: turns and grounding acts
@2022 Fabiano Dalpiaz
16
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Turns and utterance units as
atomic entities
Grounding acts determine
the effect of an
utterance unit
Dissecting a conversation: discourse units
@2022 Fabiano Dalpiaz
17
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Dissecting a conversation: discourse units
@2022 Fabiano Dalpiaz
17
Cross-speaker interaction
defines the meaning
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Dissecting a conversation: argumentation acts
@2022 Fabiano Dalpiaz
18
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Dissecting a conversation: argumentation acts
@2022 Fabiano Dalpiaz
18
The purpose of a
conversation across
multiple turns:
argumentation acts
Traum, David R., and Elizabeth A. Hinkelman.
"Conversation acts in task-oriented spoken dialogue."
Computational intelligence 8.3 (1992): 575-599.
Dissecting a conversation: argumentation acts
@2022 Fabiano Dalpiaz
18
The purpose of a
conversation across
multiple turns:
argumentation acts
Q&A as a basic interaction,
clarifications, summary,
persuasion, …
Conversations vs. Specifications: not quite the same
@2022 Fabiano Dalpiaz
19
The parameters A and B shall be configured via
a configuration file in format XYZ
[specification]
[conversation]
Tools for Conversational RE: Two Examples
@2022 Fabiano Dalpiaz
20
Trace2Conv:
pre-RS traceability
Requirements Conversation
Summarizer
3. Trace2Conv: Tracing
requirements to conversations
@2022 Fabiano Dalpiaz
21
3. Trace2Conv: Tracing
requirements to conversations
@2022 Fabiano Dalpiaz
21
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Trace2Conv: Key Idea
@2022 Fabiano Dalpiaz
22
Specification
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Trace2Conv: Key Idea
@2022 Fabiano Dalpiaz
22
} Supports backward, pre-RS traceability
} Largely overlooked area of research
Specification
Trace2Conv
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Trace2Conv: Key Idea
@2022 Fabiano Dalpiaz
22
} Supports backward, pre-RS traceability
} Largely overlooked area of research
} Aims to find information that provides
additional context to a requirement
Specification
Trace2Conv
Requirements
conversations
Requirements Analyst
Own ideas
Budget / project
constraints
Design
decisions Domain-specific
documentation
Trace2Conv: Key Idea
@2022 Fabiano Dalpiaz
22
} Supports backward, pre-RS traceability
} Largely overlooked area of research
} Aims to find information that provides
additional context to a requirement
} Has to cope with an abstraction gap
} Formal to informal
Specification
Trace2Conv
What can we achieve with Trace2Conv?
@2022 Fabiano Dalpiaz
23
Trace requirements back to elicitation sessions
What can we achieve with Trace2Conv?
@2022 Fabiano Dalpiaz
23
Trace requirements back to elicitation sessions
Obtain client agreement by showing requirement sources
What can we achieve with Trace2Conv?
@2022 Fabiano Dalpiaz
23
Trace requirements back to elicitation sessions
Obtain client agreement by showing requirement sources
Enable iterative specification writing and review
What can we achieve with Trace2Conv?
@2022 Fabiano Dalpiaz
23
Trace requirements back to elicitation sessions
Obtain client agreement by showing requirement sources
Enable iterative specification writing and review
Provide extra context about a requirement for devs
Architectural Design – Inputs and Backend
@2022 Fabiano Dalpiaz
24
Architectural Design – Inputs and Backend
@2022 Fabiano Dalpiaz
24
Pre-processing and matching
@2022 Fabiano Dalpiaz
25
As a vendor user, I can use the password forgotten
functionality whenever I forgot or want to reset my
password, so that I always have a way to create a new
password
Pre-processing and matching
@2022 Fabiano Dalpiaz
25
As a vendor user, I can use the password forgotten
functionality whenever I forgot or want to reset my
password, so that I always have a way to create a new
password
Pre-processing and matching
@2022 Fabiano Dalpiaz
25
As a vendor user, I can use the password forgotten
functionality whenever I forgot or want to reset my
password, so that I always have a way to create a new
password
Pre-processing and matching
@2022 Fabiano Dalpiaz
25
As a vendor user, I can use the password forgotten
functionality whenever I forgot or want to reset my
password, so that I always have a way to create a new
password
Architectural Design - Frontend
@2022 Fabiano Dalpiaz
26
Short demo of the Trace2Conv frontend
@2022 Fabiano Dalpiaz
27
Short demo of the Trace2Conv frontend
@2022 Fabiano Dalpiaz
27
Trace2Conv: Next Steps
@2022 Fabiano Dalpiaz
28
Requirements evolution over
multiple conversations
More advanced heuristics: what
are the most likely matches?
Matching segments rather
than speaker turns
4. Requirements Conversations
Summarizer
@2022 Fabiano Dalpiaz
29
} Aim: summarization before a specification exists
} Trigger: long recorded conversations, spanning over multiple hours
} How to facilitate the analyst in exploring the transcript?
Summarizing a transcript: ideas
@2022 Fabiano Dalpiaz
30
} Aim: summarization before a specification exists
} Trigger: long recorded conversations, spanning over multiple hours
} How to facilitate the analyst in exploring the transcript?
Summarizing a transcript: ideas
@2022 Fabiano Dalpiaz
30
Idea #1: Identify
the questions
} Aim: summarization before a specification exists
} Trigger: long recorded conversations, spanning over multiple hours
} How to facilitate the analyst in exploring the transcript?
Summarizing a transcript: ideas
@2022 Fabiano Dalpiaz
30
Idea #1: Identify
the questions
Idea #2: Filter by
question relevance
} Aim: summarization before a specification exists
} Trigger: long recorded conversations, spanning over multiple hours
} How to facilitate the analyst in exploring the transcript?
Summarizing a transcript: ideas
@2022 Fabiano Dalpiaz
30
Idea #1: Identify
the questions
Idea #2: Filter by
question relevance
Idea #3: Label by
relevance type [WiP]
How to identify the questions? (Idea #1)
@2022 Fabiano Dalpiaz
31
How to identify the questions? (Idea #1)
@2022 Fabiano Dalpiaz
31
Based on sequences of POS tags:
Wh-, yes/no, tag questions
How to identify the questions? (Idea #1)
@2022 Fabiano Dalpiaz
31
Based on sequences of POS tags:
Wh-, yes/no, tag questions
Based on pre-trained DistilBert:
28/38 question tags matched
How to identify the questions? (Idea #1)
@2022 Fabiano Dalpiaz
31
Based on sequences of POS tags:
Wh-, yes/no, tag questions
Based on pre-trained DistilBert:
28/38 question tags matched
Combination: question if either
approach says so
Is Idea #1 effective?
@2022 Fabiano Dalpiaz
32
334 30
74 736
254 110
74 736
349 15
105 705
How to filter relevant questions? (Idea #2, version A)
@2022 Fabiano Dalpiaz
33
How to filter relevant questions? (Idea #2, version A)
@2022 Fabiano Dalpiaz
33
TF-IDF can be used to distinguish
questions with domain-specific
words from general ones
How to filter relevant questions? (Idea #2, version B)
@2022 Fabiano Dalpiaz
34
How to filter relevant questions? (Idea #2, version B)
@2022 Fabiano Dalpiaz
34
A context document can be, e.g., a
system/project definition document
What is our gold standard for relevance?
@2022 Fabiano Dalpiaz
35
What is our gold standard for relevance?
@2022 Fabiano Dalpiaz
35
What is our gold standard for relevance?
@2022 Fabiano Dalpiaz
35
Is Idea #2 effective?
@2022 Fabiano Dalpiaz
36
No large differences between the
approaches – Ideas #2A and #2B
are practically equivalent
Summarization: outlook
@2022 Fabiano Dalpiaz
37
} What does relevance mean?
} Large disagreement, especially on
questions
Summarization: outlook
@2022 Fabiano Dalpiaz
37
} What does relevance mean?
} Large disagreement, especially on
questions
} How much can we summarize?
} End goal of the tool
5. Outlook
@2022 Fabiano Dalpiaz
38
Tools for Conversational RE: Two Examples
@2022 Fabiano Dalpiaz
39
Trace2Conv:
pre-RS traceability
Requirements Conversation
Summarizer
Direction #3: distilling requirements?
@2022 Fabiano Dalpiaz
40
} Can we automatically generate
requirements from conversations?
} Long-term direction
} High value
} Extremely challenging
} Rarely mentioned in an explicit way
(Spijkman, CAiSE’21)
Direction #3: distilling requirements?
@2022 Fabiano Dalpiaz
40
Spijkman & al.,
NLP4RE’21
Ruiz & Hasselman,
EMMSAD’20
} Can we automatically generate
requirements from conversations?
} Long-term direction
} High value
} Extremely challenging
} Rarely mentioned in an explicit way
(Spijkman, CAiSE’21)
The future of evaluation metrics
@2022 Fabiano Dalpiaz
41
} Most of the literature employs information retrieval metrics
} Precision, recall, F1, …
} Progressive shift toward quality-in-use with conversational RE tools?
The future of evaluation metrics
@2022 Fabiano Dalpiaz
41
} Most of the literature employs information retrieval metrics
} Precision, recall, F1, …
} Progressive shift toward quality-in-use with conversational RE tools?
ISO 25022
(quality in use)
The way ahead…
Today’s NLP4RE Tools
@2022 Fabiano Dalpiaz
42
The way ahead…
Today’s NLP4RE Tools
Conversational RETools
@2022 Fabiano Dalpiaz
42
Thank you for listening! Questions?
f.dalpiaz@uu.nl @FabianoDalpiaz
RE-Lab’s research illustrated, 2018

More Related Content

Similar to Requirements Conversations: A New Frontier in AI-for-RE

Data Storytelling and Data Science AIxDesign 2021 workshop
Data Storytelling and Data Science AIxDesign 2021 workshopData Storytelling and Data Science AIxDesign 2021 workshop
Data Storytelling and Data Science AIxDesign 2021 workshop
Erika Agostinelli
 
DFlow is dead. Long live Tako!
DFlow is dead. Long live Tako!DFlow is dead. Long live Tako!
DFlow is dead. Long live Tako!
Roberto Minelli
 
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov DreamGod Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
Daniel Kornev
 
Information science research with large language models: between science and ...
Information science research with large language models: between science and ...Information science research with large language models: between science and ...
Information science research with large language models: between science and ...
Fabiano Dalpiaz
 
Embracing Uncertainty: A Most Difficult Leap of Faith
Embracing Uncertainty: A Most Difficult Leap of FaithEmbracing Uncertainty: A Most Difficult Leap of Faith
Embracing Uncertainty: A Most Difficult Leap of Faith
TechWell
 
From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...
DevClub_lv
 
DeepPavlov 2019
DeepPavlov 2019DeepPavlov 2019
DeepPavlov 2019
Mikhail Burtsev
 
Sudipta mukherjee 2016_2017
Sudipta mukherjee 2016_2017Sudipta mukherjee 2016_2017
Sudipta mukherjee 2016_2017
Sudipta Mukherjee
 
Sudipta_Mukherjee_2016_2017
Sudipta_Mukherjee_2016_2017Sudipta_Mukherjee_2016_2017
Sudipta_Mukherjee_2016_2017
Sudipta Mukherjee
 
Up to speed in domain driven design
Up to speed in domain driven designUp to speed in domain driven design
Up to speed in domain driven design
Rick van der Arend
 
Codemotion Berlin 2015 recap
Codemotion Berlin 2015   recapCodemotion Berlin 2015   recap
Codemotion Berlin 2015 recap
Torben Dohrn
 
Improving classification accuracy for customer contact transcriptions
Improving classification accuracy for customer contact transcriptionsImproving classification accuracy for customer contact transcriptions
Improving classification accuracy for customer contact transcriptions
Maria Vechtomova
 
SOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDDSOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDD
Gregory Boissinot
 
Natural Language Processing - Research and Application Trends
Natural Language Processing - Research and Application TrendsNatural Language Processing - Research and Application Trends
Natural Language Processing - Research and Application Trends
Shreyas Suresh Rao
 
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
Databricks
 
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
Tao Xie
 
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
Aindriya Barua
 
To document or not to document? An exploratory study on developers' motivatio...
To document or not to document? An exploratory study on developers' motivatio...To document or not to document? An exploratory study on developers' motivatio...
To document or not to document? An exploratory study on developers' motivatio...
Hayim Makabee
 
The Automated Requirements Engineer: utopia or dystopia
The Automated Requirements Engineer: utopia or dystopiaThe Automated Requirements Engineer: utopia or dystopia
The Automated Requirements Engineer: utopia or dystopia
Fabiano Dalpiaz
 
Finding balance of DDD while your application grows
Finding balance of DDD while your application growsFinding balance of DDD while your application grows
Finding balance of DDD while your application grows
Carolina Karklis
 

Similar to Requirements Conversations: A New Frontier in AI-for-RE (20)

Data Storytelling and Data Science AIxDesign 2021 workshop
Data Storytelling and Data Science AIxDesign 2021 workshopData Storytelling and Data Science AIxDesign 2021 workshop
Data Storytelling and Data Science AIxDesign 2021 workshop
 
DFlow is dead. Long live Tako!
DFlow is dead. Long live Tako!DFlow is dead. Long live Tako!
DFlow is dead. Long live Tako!
 
God Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov DreamGod Mode for designing scenario-driven skills for DeepPavlov Dream
God Mode for designing scenario-driven skills for DeepPavlov Dream
 
Information science research with large language models: between science and ...
Information science research with large language models: between science and ...Information science research with large language models: between science and ...
Information science research with large language models: between science and ...
 
Embracing Uncertainty: A Most Difficult Leap of Faith
Embracing Uncertainty: A Most Difficult Leap of FaithEmbracing Uncertainty: A Most Difficult Leap of Faith
Embracing Uncertainty: A Most Difficult Leap of Faith
 
From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...
 
DeepPavlov 2019
DeepPavlov 2019DeepPavlov 2019
DeepPavlov 2019
 
Sudipta mukherjee 2016_2017
Sudipta mukherjee 2016_2017Sudipta mukherjee 2016_2017
Sudipta mukherjee 2016_2017
 
Sudipta_Mukherjee_2016_2017
Sudipta_Mukherjee_2016_2017Sudipta_Mukherjee_2016_2017
Sudipta_Mukherjee_2016_2017
 
Up to speed in domain driven design
Up to speed in domain driven designUp to speed in domain driven design
Up to speed in domain driven design
 
Codemotion Berlin 2015 recap
Codemotion Berlin 2015   recapCodemotion Berlin 2015   recap
Codemotion Berlin 2015 recap
 
Improving classification accuracy for customer contact transcriptions
Improving classification accuracy for customer contact transcriptionsImproving classification accuracy for customer contact transcriptions
Improving classification accuracy for customer contact transcriptions
 
SOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDDSOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDD
 
Natural Language Processing - Research and Application Trends
Natural Language Processing - Research and Application TrendsNatural Language Processing - Research and Application Trends
Natural Language Processing - Research and Application Trends
 
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
A Spark-Based Intelligent Assistant: Making Data Exploration in Natural Langu...
 
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
ISEC'18 Keynote: Intelligent Software Engineering: Synergy between AI and Sof...
 
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
Contextual vs non-contextual word embedding models for Hindi Named Entity Rec...
 
To document or not to document? An exploratory study on developers' motivatio...
To document or not to document? An exploratory study on developers' motivatio...To document or not to document? An exploratory study on developers' motivatio...
To document or not to document? An exploratory study on developers' motivatio...
 
The Automated Requirements Engineer: utopia or dystopia
The Automated Requirements Engineer: utopia or dystopiaThe Automated Requirements Engineer: utopia or dystopia
The Automated Requirements Engineer: utopia or dystopia
 
Finding balance of DDD while your application grows
Finding balance of DDD while your application growsFinding balance of DDD while your application grows
Finding balance of DDD while your application grows
 

Recently uploaded

bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
Sérgio Sacani
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
Gokturk Mehmet Dilci
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
muralinath2
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
European Sustainable Phosphorus Platform
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
yqqaatn0
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
Hitesh Sikarwar
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
HongcNguyn6
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
terusbelajar5
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
University of Hertfordshire
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
University of Maribor
 

Recently uploaded (20)

bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
 
Shallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptxShallowest Oil Discovery of Turkiye.pptx
Shallowest Oil Discovery of Turkiye.pptx
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
Thornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdfThornton ESPP slides UK WW Network 4_6_24.pdf
Thornton ESPP slides UK WW Network 4_6_24.pdf
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốtmô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
mô tả các thí nghiệm về đánh giá tác động dòng khí hóa sau đốt
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Medical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptxMedical Orthopedic PowerPoint Templates.pptx
Medical Orthopedic PowerPoint Templates.pptx
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
Comparing Evolved Extractive Text Summary Scores of Bidirectional Encoder Rep...
 

Requirements Conversations: A New Frontier in AI-for-RE

  • 1. Requirements Conversations: A New Frontier in AI-for-RE Fabiano Dalpiaz Requirements Engineering Lab Utrecht University, the Netherlands August 16, 2022 f.dalpiaz@uu.nl @FabianoDalpiaz
  • 2. Outline and Acks @2022 Fabiano Dalpiaz 2 1. Context: NLP4RE 2. Conversational Req. Engineering 3. From reqs to specs 4. Conversation summarization 5. Outlook
  • 3. Outline and Acks @2022 Fabiano Dalpiaz 2 1. Context: NLP4RE 2. Conversational Req. Engineering 3. From reqs to specs 4. Conversation summarization 5. Outlook Sjaak Brinkkemper Tjerk Spijkman Nikita van den Berg Xavier de Bondt
  • 4. 1. Context: NLP for Requirements Engineering (NLP4RE) Fabiano Dalpiaz,Alessio Ferrari, Xavier Franch, and Cristina Palomares. "Natural language processing for requirements engineering:The best is yet to come." IEEE Software 35, no. 5 (2018): 115-119. @2022 Fabiano Dalpiaz 3
  • 5. RE practice: most reqs. are in natural language @2022 Fabiano Dalpiaz 4 The <system name> shall <system response>. WHILE <in a specific state> the <system name> shall <system response> WHEN <trigger> the <system name> shall <system response> … User stories App store reviews EARS Rupp’s template & ISO/IEC/IEEE 29148 Use cases
  • 6. RE Research: 4 categories of NLP4RE tools @2022 Fabiano Dalpiaz 5 1. Find defects / deviations from good practice 2. Generate models from NL requirements 3. Infer trace links between NL requirements and other artifacts 4. Identify key abstractions from NL documents Daniel Berry, Ricardo Gacitua, Pete Sawyer, and Sri Fatimah Tjong. "The case for dumb requirements engineering tools." In InternationalWorking Conference on Requirements Engineering: Foundation for Software Quality, pp. 211-217. 2012.
  • 7. An active area of research! @2022 Fabiano Dalpiaz 6 Liping Zhao,Waad Alhoshan, Alessio Ferrari, Keletso J. Letsholo, Muideen A.Ajagbe, Erol- Valeriu Chioasca, and Riza T. Batista-Navarro. "Natural Language Processing (NLP) for Requirements Engineering:A Systematic Mapping Study." ACM Computing Surveys 54:3, 2022
  • 8. An active area of research! @2022 Fabiano Dalpiaz 6 Liping Zhao,Waad Alhoshan, Alessio Ferrari, Keletso J. Letsholo, Muideen A.Ajagbe, Erol- Valeriu Chioasca, and Riza T. Batista-Navarro. "Natural Language Processing (NLP) for Requirements Engineering:A Systematic Mapping Study." ACM Computing Surveys 54:3, 2022 Specification Main artifact for AI-based tools
  • 9. Elicitation: the root of (all) NL requirements @2022 Fabiano Dalpiaz 7 Specification
  • 10. Elicitation: the root of (all) NL requirements @2022 Fabiano Dalpiaz 7 Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Specification
  • 11. Elicitation: the root of (all) NL requirements @2022 Fabiano Dalpiaz 7 Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Specification
  • 12. Elicitation is heavily centered on conversations! @2022 Fabiano Dalpiaz 8 Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation
  • 13. Elicitation is heavily centered on conversations! @2022 Fabiano Dalpiaz 8 Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation NaPiRE (August 8, 2022) http://www.re-survey.org/#/explore ˝
  • 14. Timeliness: why researching conversations now? @2022 Fabiano Dalpiaz 9
  • 15. Timeliness: why researching conversations now? @2022 Fabiano Dalpiaz 9 Increased remote work and collaboration
  • 16. Timeliness: why researching conversations now? @2022 Fabiano Dalpiaz 9 Increased remote work and collaboration Automated transcription
  • 17. 2. Conversational RE @2022 Fabiano Dalpiaz 10
  • 18. Background theory: Refinement in RE @2022 Fabiano Dalpiaz 11 Pohl, Klaus. "The three dimensions of requirements engineering: a framework and its applications." Information systems 19.3 (1994): 243-258. Specification Representation opaque fair complete common view informal semi-formal formal personal view Initial RE input Desired RE output Agreement
  • 19. Background theory: Refinement in RE @2022 Fabiano Dalpiaz 11 Pohl, Klaus. "The three dimensions of requirements engineering: a framework and its applications." Information systems 19.3 (1994): 243-258. Specification Representation opaque fair complete common view informal semi-formal formal personal view Initial RE input Desired RE output Agreement Refinement path in practice
  • 20. Background theory: Refinement in RE @2022 Fabiano Dalpiaz 11 Pohl, Klaus. "The three dimensions of requirements engineering: a framework and its applications." Information systems 19.3 (1994): 243-258. Specification Representation opaque fair complete common view informal semi-formal formal personal view Initial RE input Desired RE output Agreement Refinement path in practice RE research approaches, including NLP4RE Tools
  • 21. How do current NLP4RE tools work? @2022 Fabiano Dalpiaz 12
  • 22. NLP4RE Tools for Conversational RE @2022 Fabiano Dalpiaz 13 vs.
  • 23. NLP4RE Tools for Conversational RE @2022 Fabiano Dalpiaz 13 } The tool supports the conversation between analyst and stakeholders vs.
  • 24. NLP4RE Tools for Conversational RE @2022 Fabiano Dalpiaz 13 } The tool supports the conversation between analyst and stakeholders } Elicitation and refinement as concurrent activities vs.
  • 25. Conversational RE @2022 Fabiano Dalpiaz 14 “The (automated) analysis of requirements elicitation conversations aimed at identifying and extracting requirements-relevant information”
  • 26. (Requirements) conversations vs. specifications @2022 Fabiano Dalpiaz 15
  • 27. (Requirements) conversations vs. specifications @2022 Fabiano Dalpiaz 15 2+ parties (here Analyst and Stakeholder)
  • 28. (Requirements) conversations vs. specifications @2022 Fabiano Dalpiaz 15 2+ parties (here Analyst and Stakeholder) Informal: no “shall” statements, user stories, glossary
  • 29. (Requirements) conversations vs. specifications @2022 Fabiano Dalpiaz 15 2+ parties (here Analyst and Stakeholder) Informal: no “shall” statements, user stories, glossary Relevant information may be sparse
  • 30. (Requirements) conversations vs. specifications @2022 Fabiano Dalpiaz 15 2+ parties (here Analyst and Stakeholder) Informal: no “shall” statements, user stories, glossary Relevant information may be sparse Includes persuasion, uncertainty, misunderstandings
  • 31. Dissecting a conversation: turns and grounding acts @2022 Fabiano Dalpiaz 16 Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599.
  • 32. Dissecting a conversation: turns and grounding acts @2022 Fabiano Dalpiaz 16 Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599. Turns and utterance units as atomic entities
  • 33. Dissecting a conversation: turns and grounding acts @2022 Fabiano Dalpiaz 16 Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599. Turns and utterance units as atomic entities Grounding acts determine the effect of an utterance unit
  • 34. Dissecting a conversation: discourse units @2022 Fabiano Dalpiaz 17 Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599.
  • 35. Dissecting a conversation: discourse units @2022 Fabiano Dalpiaz 17 Cross-speaker interaction defines the meaning Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599.
  • 36. Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599. Dissecting a conversation: argumentation acts @2022 Fabiano Dalpiaz 18
  • 37. Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599. Dissecting a conversation: argumentation acts @2022 Fabiano Dalpiaz 18 The purpose of a conversation across multiple turns: argumentation acts
  • 38. Traum, David R., and Elizabeth A. Hinkelman. "Conversation acts in task-oriented spoken dialogue." Computational intelligence 8.3 (1992): 575-599. Dissecting a conversation: argumentation acts @2022 Fabiano Dalpiaz 18 The purpose of a conversation across multiple turns: argumentation acts Q&A as a basic interaction, clarifications, summary, persuasion, …
  • 39. Conversations vs. Specifications: not quite the same @2022 Fabiano Dalpiaz 19 The parameters A and B shall be configured via a configuration file in format XYZ [specification] [conversation]
  • 40. Tools for Conversational RE: Two Examples @2022 Fabiano Dalpiaz 20 Trace2Conv: pre-RS traceability Requirements Conversation Summarizer
  • 41. 3. Trace2Conv: Tracing requirements to conversations @2022 Fabiano Dalpiaz 21
  • 42. 3. Trace2Conv: Tracing requirements to conversations @2022 Fabiano Dalpiaz 21
  • 43. Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Trace2Conv: Key Idea @2022 Fabiano Dalpiaz 22 Specification
  • 44. Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Trace2Conv: Key Idea @2022 Fabiano Dalpiaz 22 } Supports backward, pre-RS traceability } Largely overlooked area of research Specification Trace2Conv
  • 45. Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Trace2Conv: Key Idea @2022 Fabiano Dalpiaz 22 } Supports backward, pre-RS traceability } Largely overlooked area of research } Aims to find information that provides additional context to a requirement Specification Trace2Conv
  • 46. Requirements conversations Requirements Analyst Own ideas Budget / project constraints Design decisions Domain-specific documentation Trace2Conv: Key Idea @2022 Fabiano Dalpiaz 22 } Supports backward, pre-RS traceability } Largely overlooked area of research } Aims to find information that provides additional context to a requirement } Has to cope with an abstraction gap } Formal to informal Specification Trace2Conv
  • 47. What can we achieve with Trace2Conv? @2022 Fabiano Dalpiaz 23 Trace requirements back to elicitation sessions
  • 48. What can we achieve with Trace2Conv? @2022 Fabiano Dalpiaz 23 Trace requirements back to elicitation sessions Obtain client agreement by showing requirement sources
  • 49. What can we achieve with Trace2Conv? @2022 Fabiano Dalpiaz 23 Trace requirements back to elicitation sessions Obtain client agreement by showing requirement sources Enable iterative specification writing and review
  • 50. What can we achieve with Trace2Conv? @2022 Fabiano Dalpiaz 23 Trace requirements back to elicitation sessions Obtain client agreement by showing requirement sources Enable iterative specification writing and review Provide extra context about a requirement for devs
  • 51. Architectural Design – Inputs and Backend @2022 Fabiano Dalpiaz 24
  • 52. Architectural Design – Inputs and Backend @2022 Fabiano Dalpiaz 24
  • 53. Pre-processing and matching @2022 Fabiano Dalpiaz 25 As a vendor user, I can use the password forgotten functionality whenever I forgot or want to reset my password, so that I always have a way to create a new password
  • 54. Pre-processing and matching @2022 Fabiano Dalpiaz 25 As a vendor user, I can use the password forgotten functionality whenever I forgot or want to reset my password, so that I always have a way to create a new password
  • 55. Pre-processing and matching @2022 Fabiano Dalpiaz 25 As a vendor user, I can use the password forgotten functionality whenever I forgot or want to reset my password, so that I always have a way to create a new password
  • 56. Pre-processing and matching @2022 Fabiano Dalpiaz 25 As a vendor user, I can use the password forgotten functionality whenever I forgot or want to reset my password, so that I always have a way to create a new password
  • 57. Architectural Design - Frontend @2022 Fabiano Dalpiaz 26
  • 58. Short demo of the Trace2Conv frontend @2022 Fabiano Dalpiaz 27
  • 59. Short demo of the Trace2Conv frontend @2022 Fabiano Dalpiaz 27
  • 60. Trace2Conv: Next Steps @2022 Fabiano Dalpiaz 28 Requirements evolution over multiple conversations More advanced heuristics: what are the most likely matches? Matching segments rather than speaker turns
  • 62. } Aim: summarization before a specification exists } Trigger: long recorded conversations, spanning over multiple hours } How to facilitate the analyst in exploring the transcript? Summarizing a transcript: ideas @2022 Fabiano Dalpiaz 30
  • 63. } Aim: summarization before a specification exists } Trigger: long recorded conversations, spanning over multiple hours } How to facilitate the analyst in exploring the transcript? Summarizing a transcript: ideas @2022 Fabiano Dalpiaz 30 Idea #1: Identify the questions
  • 64. } Aim: summarization before a specification exists } Trigger: long recorded conversations, spanning over multiple hours } How to facilitate the analyst in exploring the transcript? Summarizing a transcript: ideas @2022 Fabiano Dalpiaz 30 Idea #1: Identify the questions Idea #2: Filter by question relevance
  • 65. } Aim: summarization before a specification exists } Trigger: long recorded conversations, spanning over multiple hours } How to facilitate the analyst in exploring the transcript? Summarizing a transcript: ideas @2022 Fabiano Dalpiaz 30 Idea #1: Identify the questions Idea #2: Filter by question relevance Idea #3: Label by relevance type [WiP]
  • 66. How to identify the questions? (Idea #1) @2022 Fabiano Dalpiaz 31
  • 67. How to identify the questions? (Idea #1) @2022 Fabiano Dalpiaz 31 Based on sequences of POS tags: Wh-, yes/no, tag questions
  • 68. How to identify the questions? (Idea #1) @2022 Fabiano Dalpiaz 31 Based on sequences of POS tags: Wh-, yes/no, tag questions Based on pre-trained DistilBert: 28/38 question tags matched
  • 69. How to identify the questions? (Idea #1) @2022 Fabiano Dalpiaz 31 Based on sequences of POS tags: Wh-, yes/no, tag questions Based on pre-trained DistilBert: 28/38 question tags matched Combination: question if either approach says so
  • 70. Is Idea #1 effective? @2022 Fabiano Dalpiaz 32 334 30 74 736 254 110 74 736 349 15 105 705
  • 71. How to filter relevant questions? (Idea #2, version A) @2022 Fabiano Dalpiaz 33
  • 72. How to filter relevant questions? (Idea #2, version A) @2022 Fabiano Dalpiaz 33 TF-IDF can be used to distinguish questions with domain-specific words from general ones
  • 73. How to filter relevant questions? (Idea #2, version B) @2022 Fabiano Dalpiaz 34
  • 74. How to filter relevant questions? (Idea #2, version B) @2022 Fabiano Dalpiaz 34 A context document can be, e.g., a system/project definition document
  • 75. What is our gold standard for relevance? @2022 Fabiano Dalpiaz 35
  • 76. What is our gold standard for relevance? @2022 Fabiano Dalpiaz 35
  • 77. What is our gold standard for relevance? @2022 Fabiano Dalpiaz 35
  • 78. Is Idea #2 effective? @2022 Fabiano Dalpiaz 36 No large differences between the approaches – Ideas #2A and #2B are practically equivalent
  • 79. Summarization: outlook @2022 Fabiano Dalpiaz 37 } What does relevance mean? } Large disagreement, especially on questions
  • 80. Summarization: outlook @2022 Fabiano Dalpiaz 37 } What does relevance mean? } Large disagreement, especially on questions } How much can we summarize? } End goal of the tool
  • 82. Tools for Conversational RE: Two Examples @2022 Fabiano Dalpiaz 39 Trace2Conv: pre-RS traceability Requirements Conversation Summarizer
  • 83. Direction #3: distilling requirements? @2022 Fabiano Dalpiaz 40 } Can we automatically generate requirements from conversations? } Long-term direction } High value } Extremely challenging } Rarely mentioned in an explicit way (Spijkman, CAiSE’21)
  • 84. Direction #3: distilling requirements? @2022 Fabiano Dalpiaz 40 Spijkman & al., NLP4RE’21 Ruiz & Hasselman, EMMSAD’20 } Can we automatically generate requirements from conversations? } Long-term direction } High value } Extremely challenging } Rarely mentioned in an explicit way (Spijkman, CAiSE’21)
  • 85. The future of evaluation metrics @2022 Fabiano Dalpiaz 41 } Most of the literature employs information retrieval metrics } Precision, recall, F1, … } Progressive shift toward quality-in-use with conversational RE tools?
  • 86. The future of evaluation metrics @2022 Fabiano Dalpiaz 41 } Most of the literature employs information retrieval metrics } Precision, recall, F1, … } Progressive shift toward quality-in-use with conversational RE tools? ISO 25022 (quality in use)
  • 87. The way ahead… Today’s NLP4RE Tools @2022 Fabiano Dalpiaz 42
  • 88. The way ahead… Today’s NLP4RE Tools Conversational RETools @2022 Fabiano Dalpiaz 42
  • 89. Thank you for listening! Questions? f.dalpiaz@uu.nl @FabianoDalpiaz RE-Lab’s research illustrated, 2018