SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Downloaden Sie, um offline zu lesen
Public Administration, Laws
Requirements, Natural Language
Alessio Ferrari1
alessio.ferrari@isti.cnr.it
ISTI-CNR, Pisa, Italy
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 1 / 45
Preliminaries
Who am I?
Alessio Ferrari, Ph. D. in Computer Engineering
Three years at GE Transportation Systems s.p.a. (Modelling and
Code Generation)
Three years at ISTI-CNR (Requirements Engineering and NLP)
Main interests: artificial intelligence, natural language
Content of this Talk
LearnPAd EU Project: model-based learning for Public
Administrations (www.learnpad.eu)
Requirements in LearnPAd
Natural language pragmatic ambiguities
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 2 / 45
LearnPAd
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 3 / 45
Context
Norm
Natural
Language
Regulator
Graphical
Language RequirementLaw Regulation
Requirements
Engineer
Artifact
Specification
Needs
Public
Administation
Procedure
Software
ProcedureCivil Servant
User
Citizen
Needs
WHY NOT?
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 4 / 45
LearnPAd Project
FP7- ICT-2013.8.2 European Project
Model-based learning in the Public Administration (PA) domain
IDEA 1: PA procedures can be modelled with Business Process
Model and Notation (BPMN)
IDEA 2: PA procedures can be enriched by civil servants with
Natural Language (NL) descriptions
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 5 / 45
LearnPAd: BPMN
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 6 / 45
LearnPAd: Overview
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 7 / 45
LearnPAd: Overview
Quality of service of PA
improved
Quick changes in PA
procedures addressed
Process-driven learning
provided
Informative learning
provided
Procedural learning
provided
Knowledge assessment
performed
Knowledge
sharing
fostered
Learning support
provided
Learners
engaged
Meritocracy
promoted
Quality of learning
content ensured
Learning content
accessed by learners
Learning content
defined
Basic definition of
learning content
provided
Iterative definition of
learning content
provided
Cooperation
fostered
Learning
content
increased
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 8 / 45
LearnPAd: Requirements Process
Objective
Achieve a clear and agreed set of requirements
for the LearnPAd platform
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 9 / 45
EU Projects Peculiarities
number/distribution of partners: 9 partners, plenary discussion
difficult
culture: Italy, France, Switzerland, Austria, Lithuania, need to
meet/talk
industrial vs academic mindsets: 4 academic, 2 close source
companies, 2 open source, 1 PA, industries more practical in RE
background: different domains and terminology
abstraction: focus on specific background leads to lack of
abstraction
age/roles: uneasiness of young vs old
objectives: requirements introduced to pursue specific interests
focus: the project is not the main activity of participants
What often happens...
Everyone develop their piece of the project → integration issues
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 10 / 45
LearnPAd: Requirements Process
KJ Sessions
Collaborative
Requirements
Sessions
(WIKI)
Requirements
Analysis
Preliminary
Requirements
Structured
Requirements
Justifications
Goal Model
Learning
Modelling
Quality
Glossary Tags
Requirements
Consolidation
Consolidated
Requirements
GOAL Modelling
Goals evaluation
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 11 / 45
KJ Sessions
Activity
24 people in 3 groups: Modelling, Learning, Quality
Description of the task by the moderator
Write requirements in cards
Discuss the requirements
Second session to add new requirements
People really excited and high degree of participation
Initial individual activity mitigated age/role effects and objective
discrepancies
Second session to align terminology
Moderators: with recognized authority, or external (not
representative of any group)
Still, most of the 249 requirements were poorly specified
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 12 / 45
Collaborative Refinement
Requirements uploaded in a Wiki platform (XWiki)
Justifications given and Refinements provided
People rather motivated (even if motivation was not perceived)
249 → 337 requirements
People do not contribute to the requirements of others
Still, requirements were poorly specified
A selected task force of project participants provided a set of 191
consolidated requirements
People directly asked to clarify their requirements
Excel sheets used for refinement and consolidation
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 13 / 45
Goal Modelling
Bottom-up goal model definition
From requirements to justifications (goals)
Provide higher degree of abstraction and spot-our missing needs
Goal Models
Stage 0
Reqs: -
Stage 1
R: 82
Stage 2
R: 78
Stage 3
R: 90 Score
G S E G S E G S E G S E
Main 24 4 3 32 4 5 24 4 4 24 4 4 H
Learning content accessed - - - 9 0 1 32 4 1 47 5 4 H
Quality of WIKI Documents - - - 17 0 2 17 0 2 17 0 2 M
Quality of BP Models - - - 12 0 3 17 0 4 17 0 4 M
Learning support provided - - - 13 0 1 17 1 1 17 1 1 H
BP Models edited - - - - - - 15 0 2 15 0 2 M
BP Models reused - - - - - - 8 0 0 8 0 0 M
Quality by logging - - - - - - 15 0 0 15 0 0 M
Iterative definition of content - - - - - - 19 0 1 19 0 1 M
Platform flexibility enforced - - - - - - 11 0 0 11 0 0 H
Knowledge assessment - - - - - - 8 0 0 39 1 5 M
Procedural learning provided - - - - - - - - - 24 2 1 L
TOTAL 24 4 3 83 4 12 183 9 15 283 13 24
Table : Growth of the goal models at each stage. R = number of original
requirements. G = number of hard-goals and requirements. S = number of
soft-goals. E = number of expectations.
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 14 / 45
What have we learnt
People have to be trained about writing requirements
People from academia less confident in collaborative
requirements elicitation
Too few user requirements → involve users in separate meetings
Need for a web-moderator/leader to motivate collaborative
refinement
XWiki is good to get statistics on requirements
Goal modelling useful to have abstract view and spot out missing
needs but requires effort
Tooling not appropriate for goal modelling and sharing (we
preferred sharing with Google Docs but traceability was poor)
Integrated tools for the whole requirements process are missing
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 15 / 45
Improved Requirements Process
KJ Sessions
Collaborative
Requirements
Sessions
(XWiki)
Requirements
Analysis
Preliminary
Requirements
Structured
Requirements
Justifications
Goal Model
Learning
Modelling
Quality
Glossary Tags
VOLERE
Requirements
Analysis
Consolidated
Requirements
and
Justifications
GOAL Modelling
(Objectiver)
Goals evaluation
Requirements Lesson
Preliminary Glossary
Web Moderator
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 16 / 45
LearnPAd: Quality of NL Descriptions
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 17 / 45
LearnPAd: Quality of NL descriptions ensured
BP
Model
BP Manager
WIKI
Doc
Load
Select
Criterions
VALIDATE
Press
Validate
Quality
Evaluation
Page
Complexity
Structuring
Ambiguity
Complexity: 0.9 (Reduce)
Structuring: 0.1 (Increase)
Ambiguity: 0.7 (Reduce) INSPECT
INSPECT
Inspection
Page
The document shall be sent to the
proper authorities as soon as
possible after the document has
been signed by the officer
WIKI Doc (Non Editable)
Press
Inspect
MODIFY
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 18 / 45
LearnPAd: Quality of NL descriptions ensured
Objective
Identify typical NL defects of PA documents
Rationale
We do not have contributions of civil servants
We ask civil servants about their difficulties with their current
documents
We identify quality defects of currently existing PA documents,
normally edited (and read) by civil servants
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 19 / 45
Defects in NL Descriptions: Process
Perform
Interviews
Define
Questionnaire
Deliver
Questionnaire
Evaluate
Questionnaire
List of most
relevant
categories of
defects to be
detected in PA
procedures
Evaluate Web-links
defining guidelines for
editing PA procedures
Define guidelines for
editing PA procedures
Guidelines for
editing PA
procedures
List of categories
of defects to be
detected in PA
procedures
Evaluate guidelines
Rule-based
identifiable
defects
Non-rule
based
identifiable
defects
Define defect
categories to be
identified with
machine-learning
Implement rule-based
approach for the
identification of most
relevant defects
Tag data-set
according to
categories
Select PA procedures
from the Web
Select a sub-set of PA
procedures as data-
set
Implement machine-
learning approach
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 20 / 45
Defects in NL Descriptions: From the interviews
7 people interviewed
1 EU officer, 4 people from administrative staff of CNR (Research
Institute), 2 municipality employees from the Marche Region
Which are the defects in the NL documents you deal with?
Defects
Most of the time, procedures are not described anywhere!
Cross-references with too many laws
Ambiguity and Vagueness
Lack of context
Redundancy
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 21 / 45
Defects in NL Descriptions
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 22 / 45
Using Collective Intelligence to Detect Pragmatic Ambiguities
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 23 / 45
Ambiguity in Natural Language Requirements
It would be nice to have formal requirements, but NL is the most
widely understood communication code
NL is inherently ambiguous
Ambiguous requirements might cause misinterpretations
among stakeholders
The developer/modeller might decide a possible interpretation of
the requirement - unconscious disambiguation
Ambiguities are lexical, syntactic, semantic, and...
PRAGMATIC
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 24 / 45
A Mole at Work
There is a
MOLE
at WORK
mh...
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 25 / 45
Pragmatic Ambiguities depend on the CONTEXT
Fe
-
+
Common Sense
Knowledge
Domain Knowledge
Other Requirements
Other Situational Aspects
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 26 / 45
Approach for Pragmatic Ambiguity Detection
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 27 / 45
Domain knowledge acquisition for different readers
DOCUMENT SET 1 DOCUMENT SET 2
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 28 / 45
Different readers analyse the same requirement
REQUIREMENT
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 29 / 45
Different readers compare their interpretations
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 30 / 45
Overview
REQUIREMENT
DOMAIN
DOCUMENTS
Domain Knowledge
Graph Construction
Requirement Interpretation
Interpretation Comparison
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 31 / 45
Domain Knowledge Modelling
We model the domain knowledge as a weighted graph
Each node is a concept
Each edge represents a connection among concepts
The weight of the edge represent how close is the connection
between two concepts
The lower the weight, the closer the connection
The weight is derived from the number of co-occurrences
We build this weighted graph starting from Web pages
concerning the domain of the requirements document
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 32 / 45
Domain Knowledge Graphs
0.17
0.05
0.167
0.33
0.25
0.25
0.16 0.037
0.1
0.25
0.11 0.071
0.17
0.5
0.5
0.33
0.33
patient
observ
deathlocat
visit time
careinform
patient
risk
deathlocat
visit sourc
care
sign
contact
hospit
hospit
Lower weights indicate stronger connections
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 33 / 45
Requirements interpretation as a least-cost path search
Interpreting a requirement is activating the concepts of the
requirement in the knowledge graph
Activating two concepts in a requirement implies the activation of
other neighboring concepts
The concepts that are activated are those that are more closely
connected with the concepts in the requirement (i.e., their edges
have lower weight)
The interpretation of the requirement is a least-cost path search
within the domain knowledge graph
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 34 / 45
Requirements Interpretation
REQ. 1 - The system shall store patient data
system
store
patient
data
button
feedback
screen
database
retrieve
memory
content
location
vaccine
name
sickness
doctor
surname
ram
disk
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 35 / 45
Interpretation Comparison
system
storepatient
data
button
feedback screen
database
retrieve
memory
content
location
vaccine
name
sickness
doctor
noise
return
health
duration
care
9
10
5
9
9 + 10 + 5
σ = = 0.38 =  𝜏< 0.5
AMBIGUITY
surname
ram
disk
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 36 / 45
Issues on Coverage and Threshold
Coverage
The content of the domain document shall cover the content of the
requirements specification
Minimum coverage: ρ = terms in requirements∩terms in documents
terms in requirements
Threshold
Multiple analysis with different combinations of documents to
compute similarities: ¯σ(Ri) and σmin(Ri)
Thresholds computed as average of the similarities for R1 . . . Rn
τ¯σ and τσmin
are the considered thresholds
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 37 / 45
Experimental Evaluation
VS
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 38 / 45
Experimental Evaluation
Source
Requirement specification of a system for Outbreak Management
(OM) issued by the Public Health Information Network (PHIN)
Data collection (names, vaccines, clinical samples) from people
that might be affected by an epidemic health event
Set-up
114 requirements
43 include pragmatic ambiguities (manual)
25 domain documents
5 different combinations of documents
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 39 / 45
Experimental Evaluation: Domain Documents
ID Title Link
d1 PHEMCE strategy http://goo.gl/hYaipm
d2 Application to clinical and Public Health Practice http://goo.gl/hVVy1Y
d3 Biodefense countermeasure Department of Defense http://goo.gl/I6U0Ns
d4 Wikipedia page for “Case Definition” http://goo.gl/yPndtx
d5 Wikipedia page for “Chain of Custody” http://goo.gl/4uvTuc
d6 Definition of “Chain of custody” http://goo.gl/OUgcQd
d7 Communicable disease outbreak plan http://goo.gl/rV72wX
d8 Foodborn outbreak management http://goo.gl/pTlgp9
d9 Guidelines for the investigation and control of outbreaks http://goo.gl/Sv4Ebu
d10 Practice guidelines of the infectious diseases http://goo.gl/GjLvg2
d11 Implementation guide ambulatory healthcare http://goo.gl/qEiLGR
d12 Management of scabies outbreaks http://goo.gl/GUAbKS
d13 Modeling information systems architectures di P. Grefen http://goo.gl/j2E4Lx
d14 Outbreak control http://goo.gl/f0HC1h
d15 Outbreak management guidelines for healthcare http://goo.gl/EcYVEi
d16 Surveillance and response in humanitarian emergencies http://goo.gl/ybje6i
d17 PHIN guide for syndromic surveillance http://goo.gl/lEz8zw
d18 PHIN messagging guide for syndromic surveillance http://goo.gl/3AAXNE
d19 Developing a management system: an overview http://goo.gl/0l5sth
d20 Industrial system 800xA system architecture http://goo.gl/RSaBnD
d21 System architecture and complexity http://goo.gl/v44tC0
d22 WHO guidelines for epidemic prearedness and response http://goo.gl/PK9yn7
d23 Wikipedia page for “Management System” http://goo.gl/mgWfhh
d24 Wikipedia page for “Outbreak” http://goo.gl/LUQEWm
d25 Wikipedia page for “Scabies” http://goo.gl/fjYYrQ
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 40 / 45
Experimental evaluation: Combinations and Results
Combinations of Documents
k G1 |VG1 | |EG1 | ρG1
G2 |VG2 | |EG2 | ρG2
1
d1d3d5d7d9d11d13d16d17d19d20d23d25 7131 62265 0.99
d2d4d6d8d10d12d14d15d18d21d22d24 5970 33325 0.98
2
d2d3d6d7d10d11d15d16d17d19d22d23 7383 49989 0.98
d1d4d5d8d9d12d13d14d18d20d25d20d24 5826 46179 0.99
3
d6d7d15d22d16d23d1d9d18d25d8d14d24 6375 58736 1
d2d10d17d3d11d19d5d13d20d4d12d20 6642 34882 0.98
4
d6d22d16d1d18d8d24d10d3d19d13d4d20 6914 46384 0.99
d15d7d23d9d25d14d2d17d11d5d20d12 6400 49848 0.98
5
d22d1d8d10d19d4d15d23d25d2d11d5 6693 41735 0.99
d6d16d18d24d3d13d20d7d9d14d17d20d12 6550 53973 1
Precision and Recall
Threshold p r
τ¯σ = 0.3247 45% 58%
τσmin
= 0.2781 51% 63%
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 41 / 45
Observations
Requirements analysis tools shall be tuned to favour recall over
precision (Dan Berry)
False negative cases are the main issue
“Demographic information should be collected about the
investigator [...]”
→ influence of the other terms in the computation of the similarity
“Mapping interfaces and data dictionaries must be defined [...]”
→ multi-word terms
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 42 / 45
Summary and Future Works
Unsupervised and statistical (not rule-based) method
Consider novel similarity metrics to emphasize the role of
single ambiguous terms
Consider multi-word terms
Include the common-sense knowledge
Concepts that are highly connected in the domain knowledge are
less connected in the common sense knowledge
Integrate structural and dynamic beliefs about the world and the
domain within the knowledge graphs
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 43 / 45
Questions?
Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 44 / 45

Weitere ähnliche Inhalte

Ähnlich wie Public Administration, Laws Requirements, Natural Language

Rotation #2_Review_Sarah Brown
Rotation #2_Review_Sarah BrownRotation #2_Review_Sarah Brown
Rotation #2_Review_Sarah Brown
Sarah Brown
 
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
Walid Maalej
 
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project SuccessfulCETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
Chicago eLearning & Technology Showcase
 
M.Sc. - A process to manage evolution in Software Product Lines
M.Sc. - A process to manage evolution in Software Product LinesM.Sc. - A process to manage evolution in Software Product Lines
M.Sc. - A process to manage evolution in Software Product Lines
Thiago Burgos
 
January 2012 Examiner's Report
January 2012 Examiner's ReportJanuary 2012 Examiner's Report
January 2012 Examiner's Report
mrhoward12
 
Inter national standards for project management - fitsilis
Inter national standards for project management - fitsilisInter national standards for project management - fitsilis
Inter national standards for project management - fitsilis
Panos Fitsilis
 
Caroline Cottman 2008
Caroline Cottman 2008Caroline Cottman 2008
Caroline Cottman 2008
Diana Quinn
 

Ähnlich wie Public Administration, Laws Requirements, Natural Language (20)

Requirement Types (Razvan Radulian, 2008)
Requirement Types (Razvan Radulian, 2008)Requirement Types (Razvan Radulian, 2008)
Requirement Types (Razvan Radulian, 2008)
 
An Najah University IT Market Skill Needs Survey
An Najah University IT Market Skill Needs SurveyAn Najah University IT Market Skill Needs Survey
An Najah University IT Market Skill Needs Survey
 
Rotation #2_Review_Sarah Brown
Rotation #2_Review_Sarah BrownRotation #2_Review_Sarah Brown
Rotation #2_Review_Sarah Brown
 
Workshops and presentations by Marek Piatkowski
Workshops and presentations by Marek Piatkowski Workshops and presentations by Marek Piatkowski
Workshops and presentations by Marek Piatkowski
 
SFIA 8 December 2020 webinar
SFIA 8 December 2020 webinarSFIA 8 December 2020 webinar
SFIA 8 December 2020 webinar
 
LearnTel Conference_BNIT_RPL
LearnTel Conference_BNIT_RPLLearnTel Conference_BNIT_RPL
LearnTel Conference_BNIT_RPL
 
CV Coral
CV CoralCV Coral
CV Coral
 
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
11 Towards a Research Agenda for Recommendation Systems in Requirements Engin...
 
Redesigning TCS.com with Remote Research
Redesigning TCS.com with Remote ResearchRedesigning TCS.com with Remote Research
Redesigning TCS.com with Remote Research
 
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project SuccessfulCETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
CETS 2011, Mark Steiner, Top 10 Ways to Make Your eLearning Project Successful
 
Project Management Presentation
Project Management PresentationProject Management Presentation
Project Management Presentation
 
M.Sc. - A process to manage evolution in Software Product Lines
M.Sc. - A process to manage evolution in Software Product LinesM.Sc. - A process to manage evolution in Software Product Lines
M.Sc. - A process to manage evolution in Software Product Lines
 
MOT Hands-on Training Workshops
MOT Hands-on Training WorkshopsMOT Hands-on Training Workshops
MOT Hands-on Training Workshops
 
January 2012 Examiner's Report
January 2012 Examiner's ReportJanuary 2012 Examiner's Report
January 2012 Examiner's Report
 
Mark Van Domelen
Mark Van DomelenMark Van Domelen
Mark Van Domelen
 
Lecture 8 & 9.pdf
Lecture 8 & 9.pdfLecture 8 & 9.pdf
Lecture 8 & 9.pdf
 
Inter national standards for project management - fitsilis
Inter national standards for project management - fitsilisInter national standards for project management - fitsilis
Inter national standards for project management - fitsilis
 
Best Practices in Gathering Requirements for SharePoint Projects
Best Practices in Gathering Requirements for SharePoint ProjectsBest Practices in Gathering Requirements for SharePoint Projects
Best Practices in Gathering Requirements for SharePoint Projects
 
Caroline Cottman 2008
Caroline Cottman 2008Caroline Cottman 2008
Caroline Cottman 2008
 
FIT4RRI presentation on training action ath the final review meeting
FIT4RRI presentation on training action ath the final review meetingFIT4RRI presentation on training action ath the final review meeting
FIT4RRI presentation on training action ath the final review meeting
 

Mehr von ProjectLearnPAd

Mehr von ProjectLearnPAd (6)

Model Based Learning - The Learn PAd Way
Model Based Learning - The Learn PAd WayModel Based Learning - The Learn PAd Way
Model Based Learning - The Learn PAd Way
 
Integration of BPMN and CMMN
Integration of BPMN and CMMNIntegration of BPMN and CMMN
Integration of BPMN and CMMN
 
Learn PAd Business Process Organizational Learning
Learn PAd Business Process Organizational LearningLearn PAd Business Process Organizational Learning
Learn PAd Business Process Organizational Learning
 
Software Testing and/or Software Monitoring: Differences and Commonalities
Software Testingand/or Software Monitoring: Differences and CommonalitiesSoftware Testingand/or Software Monitoring: Differences and Commonalities
Software Testing and/or Software Monitoring: Differences and Commonalities
 
Modeling for Learning in Public Administrations
Modeling for Learning in Public AdministrationsModeling for Learning in Public Administrations
Modeling for Learning in Public Administrations
 
BPM4eGOV „e“ oder „i“ –mobiles BPM in der Wolke –der Versuch einer Auslegeord...
BPM4eGOV „e“ oder „i“ –mobiles BPM in der Wolke –der Versuch einer Auslegeord...BPM4eGOV „e“ oder „i“ –mobiles BPM in der Wolke –der Versuch einer Auslegeord...
BPM4eGOV „e“ oder „i“ –mobiles BPM in der Wolke –der Versuch einer Auslegeord...
 

Kürzlich hochgeladen

Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 

Kürzlich hochgeladen (20)

Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 

Public Administration, Laws Requirements, Natural Language

  • 1. Public Administration, Laws Requirements, Natural Language Alessio Ferrari1 alessio.ferrari@isti.cnr.it ISTI-CNR, Pisa, Italy Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 1 / 45
  • 2. Preliminaries Who am I? Alessio Ferrari, Ph. D. in Computer Engineering Three years at GE Transportation Systems s.p.a. (Modelling and Code Generation) Three years at ISTI-CNR (Requirements Engineering and NLP) Main interests: artificial intelligence, natural language Content of this Talk LearnPAd EU Project: model-based learning for Public Administrations (www.learnpad.eu) Requirements in LearnPAd Natural language pragmatic ambiguities Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 2 / 45
  • 3. LearnPAd Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 3 / 45
  • 5. LearnPAd Project FP7- ICT-2013.8.2 European Project Model-based learning in the Public Administration (PA) domain IDEA 1: PA procedures can be modelled with Business Process Model and Notation (BPMN) IDEA 2: PA procedures can be enriched by civil servants with Natural Language (NL) descriptions Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 5 / 45
  • 6. LearnPAd: BPMN Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 6 / 45
  • 7. LearnPAd: Overview Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 7 / 45
  • 8. LearnPAd: Overview Quality of service of PA improved Quick changes in PA procedures addressed Process-driven learning provided Informative learning provided Procedural learning provided Knowledge assessment performed Knowledge sharing fostered Learning support provided Learners engaged Meritocracy promoted Quality of learning content ensured Learning content accessed by learners Learning content defined Basic definition of learning content provided Iterative definition of learning content provided Cooperation fostered Learning content increased Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 8 / 45
  • 9. LearnPAd: Requirements Process Objective Achieve a clear and agreed set of requirements for the LearnPAd platform Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 9 / 45
  • 10. EU Projects Peculiarities number/distribution of partners: 9 partners, plenary discussion difficult culture: Italy, France, Switzerland, Austria, Lithuania, need to meet/talk industrial vs academic mindsets: 4 academic, 2 close source companies, 2 open source, 1 PA, industries more practical in RE background: different domains and terminology abstraction: focus on specific background leads to lack of abstraction age/roles: uneasiness of young vs old objectives: requirements introduced to pursue specific interests focus: the project is not the main activity of participants What often happens... Everyone develop their piece of the project → integration issues Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 10 / 45
  • 11. LearnPAd: Requirements Process KJ Sessions Collaborative Requirements Sessions (WIKI) Requirements Analysis Preliminary Requirements Structured Requirements Justifications Goal Model Learning Modelling Quality Glossary Tags Requirements Consolidation Consolidated Requirements GOAL Modelling Goals evaluation Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 11 / 45
  • 12. KJ Sessions Activity 24 people in 3 groups: Modelling, Learning, Quality Description of the task by the moderator Write requirements in cards Discuss the requirements Second session to add new requirements People really excited and high degree of participation Initial individual activity mitigated age/role effects and objective discrepancies Second session to align terminology Moderators: with recognized authority, or external (not representative of any group) Still, most of the 249 requirements were poorly specified Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 12 / 45
  • 13. Collaborative Refinement Requirements uploaded in a Wiki platform (XWiki) Justifications given and Refinements provided People rather motivated (even if motivation was not perceived) 249 → 337 requirements People do not contribute to the requirements of others Still, requirements were poorly specified A selected task force of project participants provided a set of 191 consolidated requirements People directly asked to clarify their requirements Excel sheets used for refinement and consolidation Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 13 / 45
  • 14. Goal Modelling Bottom-up goal model definition From requirements to justifications (goals) Provide higher degree of abstraction and spot-our missing needs Goal Models Stage 0 Reqs: - Stage 1 R: 82 Stage 2 R: 78 Stage 3 R: 90 Score G S E G S E G S E G S E Main 24 4 3 32 4 5 24 4 4 24 4 4 H Learning content accessed - - - 9 0 1 32 4 1 47 5 4 H Quality of WIKI Documents - - - 17 0 2 17 0 2 17 0 2 M Quality of BP Models - - - 12 0 3 17 0 4 17 0 4 M Learning support provided - - - 13 0 1 17 1 1 17 1 1 H BP Models edited - - - - - - 15 0 2 15 0 2 M BP Models reused - - - - - - 8 0 0 8 0 0 M Quality by logging - - - - - - 15 0 0 15 0 0 M Iterative definition of content - - - - - - 19 0 1 19 0 1 M Platform flexibility enforced - - - - - - 11 0 0 11 0 0 H Knowledge assessment - - - - - - 8 0 0 39 1 5 M Procedural learning provided - - - - - - - - - 24 2 1 L TOTAL 24 4 3 83 4 12 183 9 15 283 13 24 Table : Growth of the goal models at each stage. R = number of original requirements. G = number of hard-goals and requirements. S = number of soft-goals. E = number of expectations. Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 14 / 45
  • 15. What have we learnt People have to be trained about writing requirements People from academia less confident in collaborative requirements elicitation Too few user requirements → involve users in separate meetings Need for a web-moderator/leader to motivate collaborative refinement XWiki is good to get statistics on requirements Goal modelling useful to have abstract view and spot out missing needs but requires effort Tooling not appropriate for goal modelling and sharing (we preferred sharing with Google Docs but traceability was poor) Integrated tools for the whole requirements process are missing Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 15 / 45
  • 16. Improved Requirements Process KJ Sessions Collaborative Requirements Sessions (XWiki) Requirements Analysis Preliminary Requirements Structured Requirements Justifications Goal Model Learning Modelling Quality Glossary Tags VOLERE Requirements Analysis Consolidated Requirements and Justifications GOAL Modelling (Objectiver) Goals evaluation Requirements Lesson Preliminary Glossary Web Moderator Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 16 / 45
  • 17. LearnPAd: Quality of NL Descriptions Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 17 / 45
  • 18. LearnPAd: Quality of NL descriptions ensured BP Model BP Manager WIKI Doc Load Select Criterions VALIDATE Press Validate Quality Evaluation Page Complexity Structuring Ambiguity Complexity: 0.9 (Reduce) Structuring: 0.1 (Increase) Ambiguity: 0.7 (Reduce) INSPECT INSPECT Inspection Page The document shall be sent to the proper authorities as soon as possible after the document has been signed by the officer WIKI Doc (Non Editable) Press Inspect MODIFY Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 18 / 45
  • 19. LearnPAd: Quality of NL descriptions ensured Objective Identify typical NL defects of PA documents Rationale We do not have contributions of civil servants We ask civil servants about their difficulties with their current documents We identify quality defects of currently existing PA documents, normally edited (and read) by civil servants Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 19 / 45
  • 20. Defects in NL Descriptions: Process Perform Interviews Define Questionnaire Deliver Questionnaire Evaluate Questionnaire List of most relevant categories of defects to be detected in PA procedures Evaluate Web-links defining guidelines for editing PA procedures Define guidelines for editing PA procedures Guidelines for editing PA procedures List of categories of defects to be detected in PA procedures Evaluate guidelines Rule-based identifiable defects Non-rule based identifiable defects Define defect categories to be identified with machine-learning Implement rule-based approach for the identification of most relevant defects Tag data-set according to categories Select PA procedures from the Web Select a sub-set of PA procedures as data- set Implement machine- learning approach Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 20 / 45
  • 21. Defects in NL Descriptions: From the interviews 7 people interviewed 1 EU officer, 4 people from administrative staff of CNR (Research Institute), 2 municipality employees from the Marche Region Which are the defects in the NL documents you deal with? Defects Most of the time, procedures are not described anywhere! Cross-references with too many laws Ambiguity and Vagueness Lack of context Redundancy Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 21 / 45
  • 22. Defects in NL Descriptions Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 22 / 45
  • 23. Using Collective Intelligence to Detect Pragmatic Ambiguities Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 23 / 45
  • 24. Ambiguity in Natural Language Requirements It would be nice to have formal requirements, but NL is the most widely understood communication code NL is inherently ambiguous Ambiguous requirements might cause misinterpretations among stakeholders The developer/modeller might decide a possible interpretation of the requirement - unconscious disambiguation Ambiguities are lexical, syntactic, semantic, and... PRAGMATIC Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 24 / 45
  • 25. A Mole at Work There is a MOLE at WORK mh... Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 25 / 45
  • 26. Pragmatic Ambiguities depend on the CONTEXT Fe - + Common Sense Knowledge Domain Knowledge Other Requirements Other Situational Aspects Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 26 / 45
  • 27. Approach for Pragmatic Ambiguity Detection Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 27 / 45
  • 28. Domain knowledge acquisition for different readers DOCUMENT SET 1 DOCUMENT SET 2 Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 28 / 45
  • 29. Different readers analyse the same requirement REQUIREMENT Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 29 / 45
  • 30. Different readers compare their interpretations Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 30 / 45
  • 31. Overview REQUIREMENT DOMAIN DOCUMENTS Domain Knowledge Graph Construction Requirement Interpretation Interpretation Comparison Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 31 / 45
  • 32. Domain Knowledge Modelling We model the domain knowledge as a weighted graph Each node is a concept Each edge represents a connection among concepts The weight of the edge represent how close is the connection between two concepts The lower the weight, the closer the connection The weight is derived from the number of co-occurrences We build this weighted graph starting from Web pages concerning the domain of the requirements document Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 32 / 45
  • 33. Domain Knowledge Graphs 0.17 0.05 0.167 0.33 0.25 0.25 0.16 0.037 0.1 0.25 0.11 0.071 0.17 0.5 0.5 0.33 0.33 patient observ deathlocat visit time careinform patient risk deathlocat visit sourc care sign contact hospit hospit Lower weights indicate stronger connections Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 33 / 45
  • 34. Requirements interpretation as a least-cost path search Interpreting a requirement is activating the concepts of the requirement in the knowledge graph Activating two concepts in a requirement implies the activation of other neighboring concepts The concepts that are activated are those that are more closely connected with the concepts in the requirement (i.e., their edges have lower weight) The interpretation of the requirement is a least-cost path search within the domain knowledge graph Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 34 / 45
  • 35. Requirements Interpretation REQ. 1 - The system shall store patient data system store patient data button feedback screen database retrieve memory content location vaccine name sickness doctor surname ram disk Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 35 / 45
  • 37. Issues on Coverage and Threshold Coverage The content of the domain document shall cover the content of the requirements specification Minimum coverage: ρ = terms in requirements∩terms in documents terms in requirements Threshold Multiple analysis with different combinations of documents to compute similarities: ¯σ(Ri) and σmin(Ri) Thresholds computed as average of the similarities for R1 . . . Rn τ¯σ and τσmin are the considered thresholds Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 37 / 45
  • 38. Experimental Evaluation VS Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 38 / 45
  • 39. Experimental Evaluation Source Requirement specification of a system for Outbreak Management (OM) issued by the Public Health Information Network (PHIN) Data collection (names, vaccines, clinical samples) from people that might be affected by an epidemic health event Set-up 114 requirements 43 include pragmatic ambiguities (manual) 25 domain documents 5 different combinations of documents Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 39 / 45
  • 40. Experimental Evaluation: Domain Documents ID Title Link d1 PHEMCE strategy http://goo.gl/hYaipm d2 Application to clinical and Public Health Practice http://goo.gl/hVVy1Y d3 Biodefense countermeasure Department of Defense http://goo.gl/I6U0Ns d4 Wikipedia page for “Case Definition” http://goo.gl/yPndtx d5 Wikipedia page for “Chain of Custody” http://goo.gl/4uvTuc d6 Definition of “Chain of custody” http://goo.gl/OUgcQd d7 Communicable disease outbreak plan http://goo.gl/rV72wX d8 Foodborn outbreak management http://goo.gl/pTlgp9 d9 Guidelines for the investigation and control of outbreaks http://goo.gl/Sv4Ebu d10 Practice guidelines of the infectious diseases http://goo.gl/GjLvg2 d11 Implementation guide ambulatory healthcare http://goo.gl/qEiLGR d12 Management of scabies outbreaks http://goo.gl/GUAbKS d13 Modeling information systems architectures di P. Grefen http://goo.gl/j2E4Lx d14 Outbreak control http://goo.gl/f0HC1h d15 Outbreak management guidelines for healthcare http://goo.gl/EcYVEi d16 Surveillance and response in humanitarian emergencies http://goo.gl/ybje6i d17 PHIN guide for syndromic surveillance http://goo.gl/lEz8zw d18 PHIN messagging guide for syndromic surveillance http://goo.gl/3AAXNE d19 Developing a management system: an overview http://goo.gl/0l5sth d20 Industrial system 800xA system architecture http://goo.gl/RSaBnD d21 System architecture and complexity http://goo.gl/v44tC0 d22 WHO guidelines for epidemic prearedness and response http://goo.gl/PK9yn7 d23 Wikipedia page for “Management System” http://goo.gl/mgWfhh d24 Wikipedia page for “Outbreak” http://goo.gl/LUQEWm d25 Wikipedia page for “Scabies” http://goo.gl/fjYYrQ Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 40 / 45
  • 41. Experimental evaluation: Combinations and Results Combinations of Documents k G1 |VG1 | |EG1 | ρG1 G2 |VG2 | |EG2 | ρG2 1 d1d3d5d7d9d11d13d16d17d19d20d23d25 7131 62265 0.99 d2d4d6d8d10d12d14d15d18d21d22d24 5970 33325 0.98 2 d2d3d6d7d10d11d15d16d17d19d22d23 7383 49989 0.98 d1d4d5d8d9d12d13d14d18d20d25d20d24 5826 46179 0.99 3 d6d7d15d22d16d23d1d9d18d25d8d14d24 6375 58736 1 d2d10d17d3d11d19d5d13d20d4d12d20 6642 34882 0.98 4 d6d22d16d1d18d8d24d10d3d19d13d4d20 6914 46384 0.99 d15d7d23d9d25d14d2d17d11d5d20d12 6400 49848 0.98 5 d22d1d8d10d19d4d15d23d25d2d11d5 6693 41735 0.99 d6d16d18d24d3d13d20d7d9d14d17d20d12 6550 53973 1 Precision and Recall Threshold p r τ¯σ = 0.3247 45% 58% τσmin = 0.2781 51% 63% Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 41 / 45
  • 42. Observations Requirements analysis tools shall be tuned to favour recall over precision (Dan Berry) False negative cases are the main issue “Demographic information should be collected about the investigator [...]” → influence of the other terms in the computation of the similarity “Mapping interfaces and data dictionaries must be defined [...]” → multi-word terms Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 42 / 45
  • 43. Summary and Future Works Unsupervised and statistical (not rule-based) method Consider novel similarity metrics to emphasize the role of single ambiguous terms Consider multi-word terms Include the common-sense knowledge Concepts that are highly connected in the domain knowledge are less connected in the common sense knowledge Integrate structural and dynamic beliefs about the world and the domain within the knowledge graphs Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 43 / 45
  • 44. Questions? Ferrari (ISTI-CNR) PA, Laws, Requirements, NL 44 / 45