SlideShare a Scribd company logo
1 of 89
Download to read offline
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 workshopErika 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 DreamDaniel Kornev
 
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 FaithTechWell
 
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
 
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 designRick van der Arend
 
Codemotion Berlin 2015 recap
Codemotion Berlin 2015   recapCodemotion Berlin 2015   recap
Codemotion Berlin 2015 recapTorben Dohrn
 
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 TrendsShreyas 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 dystopiaFabiano 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 growsCarolina Karklis
 
BDD in open source projects - Is it really beneficial?
BDD in open source projects - Is it really beneficial?BDD in open source projects - Is it really beneficial?
BDD in open source projects - Is it really beneficial?Fabian Kiss
 
Five Ways To Do Data Analytics "The Wrong Way"
Five Ways To Do Data Analytics "The Wrong Way"Five Ways To Do Data Analytics "The Wrong Way"
Five Ways To Do Data Analytics "The Wrong Way"Discover Pinterest
 

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
 
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
 
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
 
BDD in open source projects - Is it really beneficial?
BDD in open source projects - Is it really beneficial?BDD in open source projects - Is it really beneficial?
BDD in open source projects - Is it really beneficial?
 
Five Ways To Do Data Analytics "The Wrong Way"
Five Ways To Do Data Analytics "The Wrong Way"Five Ways To Do Data Analytics "The Wrong Way"
Five Ways To Do Data Analytics "The Wrong Way"
 

Recently uploaded

GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Joonhun Lee
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...Lokesh Kothari
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑Damini Dixit
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learninglevieagacer
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Monika Rani
 

Recently uploaded (20)

GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
GUIDELINES ON SIMILAR BIOLOGICS Regulatory Requirements for Marketing Authori...
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 

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