SlideShare a Scribd company logo
Explanation of Proofs of Regulatory (Non-)Compliance
Using Semantic Vocabularies
Sagar Sunkle, Deepali kholkar, and Vinay Kulkarni
Tata Consultancy Services Research, India
 Regulatory Compliance
o Increasing spend on compliance in Billions of $
o Demand for governance, risk, and compliance (GRC) growing worldwide-
• Canada, Japan, India, Australia, South Africa, and members of EU having a number of
domain- and geography-specific regulations
o Non-compliance is penalized severely;
• Compliance difficult to achieve since it is uncertain in many cases what constitutes
compliance and how it will affect the business-as-usual
 Explanation of Proof of Regulatory (Non-) Compliance
o Increasing demand to prove and explain (non-)compliance in a way tailored to specific
stakeholders
o Should be useful in regulatory negotiations as well as in fulfillment of business objectives
o Requirements:
 Requires access to diagnostic information in compliance checking
 Relevant concepts in both regulations and operational practices need to be modeled
Motivation
 Use existing compliance engine- We use DR-Prolog
o Compliance engine based on modal defeasible logic
o Possible to access diagnostic information from Prolog trace- prior work by others exists on
proof generation using DR-Prolog
 Domain-specific compliance
o Our engagements reveal that stakeholder-specific proof explanations are in demand
o Difficult for business/operational stakeholders to interpret technical proofs
o Close to natural language explanation deemed a starting point to make formal proofs
relevant
 Semantics of Business Vocabulary and Rules
o Express meaning of concepts
o Two sets of concepts- legal and business
o Can accommodate natural language representation/information of concepts
 Tailor proofs so that only the relevant rules and facts are separated out
Basics of the Approach
Manual
Specification
Implementation Technology in
boldface
Specification Language/format in
Italics
Legal Text
Business
Process Models
Vocabulary
EMF Ecore
SBVR Editor
Assurance
Workbench TCS
Rules Facts
OMG SBVR
Metamodel
BPMN 2.0
DR-Prolog
TuProlog
DR-Prolog
TuProlog
Metainterpreter in Prolog
Interpretation Trace
TuProlog
Java
Procedure Box
Abstraction in Trace
Success Rules
and Facts
Failure Rules
and Facts
Natural
Language
Explanation
Queries with
Apache
Metamodel API
XML
Representation
of SBVR
FreeMarker API
Natural Language
Templates
Implementation Architecture
Tailoring Proofs using Metainterpreter
 Defeasible Metaprogram
o A logic metaprogram simulates the proof theory of modal defeasible logic and reasons over
the theory
• The problem theory is expressed in terms of the metaprogram predicates
• The metaprogram is a Prolog program
 Trace using metainterpreter- leveraging procedure box abstraction
o The metaprogram and problem theory is meta-interpreted to reveal procedure box for given
query
o Predicate invocation type- one of CALL, EXIT, FAIL, REDO
o To obtain relevant rules and facts in a given successful and failed procedure, treat the box
differently
Accessing the Trace
 Meta-interpreter produces trace that minimally contains three pieces of
information
1. Depth of predicate invocation
2. Invocation type which is one of CALL, EXIT,FAIL, and REDO
3. Current predicate being processed
 Example Trace
0’CALL ’defeasibly(client_account_data(17,open_account),obligation)
1’CALL ’strictly(client_account_data(17,open_account),obligation)
2’CALL ’fact(obligation(client_account_data(17,open_account)))
2’FAIL ’fact(obligation(client_account_data(17,open_account)))
…
 Meaning of innovation types-
o CALL= predicate is entered/invoked
o EXIT= successfully returned from
o FAIL= completely failed
o REDO= failed but backtracked
Processing the Procedure Box Abstraction
 Successful Procedure
o We are interested in CALL EXIT pairs as
shown on left
o Remove successive CALL FAIL pairs
indicating failed invocations
o Failed invocations may occur at various
depths, so recursively look for them and
remove them
 Failed Procedure
o We are interested in CALL FAIL pairs as
shown on right
o Keep only successive CALL FAIL pairs and
remove the rest
o No need to recurse
Building the Vocabularies- I
Business vocabulary
o Semantic community and sub-
communities owning the regulation and to
which the regulation applies
o Shared understanding of an area, i.e., body
of shared meanings
Meanings and characteristics
o Categorical concepts with specific details as
characteristics
Building the Vocabularies- II
Body of guidance
o Logical formulations based on logical
operations
Terminological dictionary
o Designations or alternate names for
various concepts, definitions for concepts
and natural language statements for
policies stated in the regulation
o capture the vocabulary used by the
enterprise in its business processes
Mapping rules to processes
o Every verb concept in the regulation body of concepts is mapped to corresponding verb concept
wording from the process terminological dictionary.
o This mapping is used to look up consequent terms of rules and the corresponding process entity is
treated as a placeholder for compliance implementation of the rule
Manual
Specification
Implementation Technology in
boldface
Specification Language/format in
Italics
Legal Text
Business
Process Models
Vocabulary
EMF Ecore
SBVR Editor
Assurance
Workbench TCS
Rules Facts
OMG SBVR
Metamodel
BPMN 2.0
DR-Prolog
TuProlog
DR-Prolog
TuProlog
Metainterpreter in Prolog
Interpretation Trace
TuProlog
Java
Procedure Box
Abstraction in Trace
Success Rules
and Facts
Failure Rules
and Facts
Natural
Language
Explanation
Queries with
Apache
Metamodel API
XML
Representation
of SBVR
FreeMarker API
Natural Language
Templates
Revisiting Implementation Architecture
Reserve Bank of India’s
Know Your Customer
regulations for a salaried
employee at a private
employer opening an
account at an Indian Bank
An example of banking domain regulation
Success Facts for Client_ID 17
[
fact(client_data(17,ind,pse)).,
fact(pse_data(17,approvedCorporate)).,
fact(pse_KYC_document_data(17,acceptApprovedCor
pCertificate,pse_kyc_document_set)).
]
Success Rule r3
Client_ID 17 fulfills all
Obligatory requisites.
The processed trace
shows facts in
the successful invocation of
rule r3.
Success Facts for Client_ID 17
[
fact(client_data(17,ind,pse)).,
fact(pse_data(17,approvedCorporate)).,
fact(pse_KYC_document_data(17,acceptApprovedCor
pCertificate,pse_kyc_document_set)).
]
Success Rule r3
<containsConcepts
xsi:type="SBVR.MeaningandRepresentationVocabulary:generalconcept">
<Id>pse</Id>
<representation>pse_data</representation>
<characteristic>notApprovedCorporate</characteristic>
<characteristic>approvedCorporate</characteristic>
<moreGeneralConcept>ind</moreGeneralConcept>
</containsConcepts>
</includesBodyOfConcepts>
<includesBodyOfConcepts Id="RBI_KYCRegulationConcepts">
Business Vocabulary
with Characteristics
Concept pse and its
characteristics such as
approvedCorporate are
defined in the business
context and also in the
meaning and
representation vocabulary.
Success Facts for Client_ID 17
[
fact(client_data(17,ind,pse)).,
fact(pse_data(17,approvedCorporate)).,
fact(pse_KYC_document_data(17,acceptApprovedCor
pCertificate,pse_kyc_document_set)).
]
Success Rule r3
<includesBodyOfGuidance Id="RBI_KYCRules">
<includesElementsOfGuidance Id="r3">
<Id>r3</Id>
<isMeantBy xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:obligationformulation">
<antecedent xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:conjunction">
<logicalOperand xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:atomicformulation">
<Id>ind</Id>
<isBasedOn>client_is_ind</isBasedOn>
</logicalOperand>
…
</isMeantBy>
</includesElementsOfGuidance>
</includesBodyOfGuidance>
Business
Rules
Vocabulary
The rules vocabulary
notes the rules and
concepts involved.
Success Facts for Client_ID 17
[
fact(client_data(17,ind,pse)).,
fact(pse_data(17,approvedCorporate)).,
fact(pse_KYC_document_data(17,acceptApprovedCor
pCertificate,pse_kyc_document_set)).
]
Success Rule r3
<SBVR.VocabularyforDescribingBusinessVocabularies:ComplianceModel>
<contains Id="RBI_reference">
<presentsVocabulary Id="RBI_RegulationVocabulary"/>
<expressesBodyOfMeanings Id="RBI_KYCRegulation"/>
<includes xsi:type="SBVR.VocabularyforDescribingBusinessVocabularies:owneddefinition">
<Id>approvedCorporate</Id>
<expression>Employer_is_a_corporate_approved_by_the_bank</expression>
<meaning>approvedCorporate</meaning>
</includes>
<includes xsi:type="SBVR.VocabularyforDescribingBusinessRules:rulestatement"><Id>r3_stmt</Id
<expression>It_is_obligatory_for_bank_to_obtain_requisite_documents_Including
_approved_employer_certificate_and_additionally_at_least_one_valid_
document_ from_individual_who_is_a_private_salaried_employee
_in_order_to_open_account”
</expression>
<meaning>r3</meaning>
</SBVR.VocabularyforDescribingBusinessVocabularies:ComplianceModel>
Terminological
Dictionary
The terminological
dictionary contains
the natural
language
representation of
the rule in addition
to process
concepts.
 SBVR model is in XML which needs to be queried to project values of requisite
concepts in the explanation
 We use Apache Metamodel to query the vocabularies
o Type-safe SQL-like API for querying any data store
o XML files are hierarchical and MetaModel tables are tabular, so some mapping overhead;
carried out with XPath expressions
 The projected results are filled into templates
 This templates is filled in with
o Rule ID, rule statement [From the terminological dictionary and rules vocabulary
respectively],
o Type of concept (in the case study, a banking customer), specific instance, description, and its
ID [From the business context and meaning and representation vocabulary]
Constructing Natural Language Explanation- I
As per rule _, _. For current _that is _; _. Therefore compliance
is achieved for current _ _.
 This gives a natural language statement like the following-
 Similar statement can be constructed whenever obligations are violated in
specific instances.
Constructing Natural Language Explanation- II
Summary and Future Work
 Summary
o Using vocabularies of legal and operational concepts and existing compliance
engine, we were able to construct simple natural language explanations
 Ongoing- Stakeholder-specific explanations [such as business/legal stakeholders]
o Currently general explanation
o Stakeholder-specific interpretations of business context vocabulary can be
represented in meaning and representation vocabularies and terminological
dictionaries
 In near future- Elaborating business/legal reasons
o Ideally reasons for enterprises actions should be recorded in the explanations
o For this, business/legal goals need to be modeled separately and related with
the concepts in the business context vocabulary
Questions?
Thank you all!! I can be reached at sagar.sunkle@tcs.com

More Related Content

PDF
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
PDF
Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-
PDF
RuleML2015 PSOA RuleML: Integrated Object-Relational Data and Rules
PDF
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
PPT
Information extraction for Free Text
PPTX
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
PDF
Creation of Software Focusing on Patent Analysis
RuleML2015 - Tutorial - Powerful Practical Semantic Rules in Rulelog - Funda...
Datalog+-Track Introduction & Reasoning on UML Class Diagrams via Datalog+-
RuleML2015 PSOA RuleML: Integrated Object-Relational Data and Rules
RuleML2015: Rule Generalization Strategies in Incremental Learning of Disjunc...
Information extraction for Free Text
Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies
Creation of Software Focusing on Patent Analysis

What's hot (19)

PPTX
AI: Logic in AI
PDF
Ijarcet vol-2-issue-2-676-678
PDF
text summarization using amr
PDF
Schema-agnositc queries over large-schema databases: a distributional semanti...
DOCX
PPTX
Family Tree on PROLOG
PPTX
Types of parsers
PDF
SemEval - Aspect Based Sentiment Analysis
PDF
Chelo Vargas-Sierra
PPTX
1909 paclic
PDF
A Hierarchical Model of Reviews for Aspect-based Sentiment Analysis
PDF
A simple web-based interface for advanced SNOMED CT queries
PPTX
2010 PACLIC - pay attention to categories
PDF
Legal Vocabulary and its Transformation Evaluation using Competency Questions
PDF
Word Segmentation and Lexical Normalization for Unsegmented Languages
PPT
(Final) cidoc 2009 chinese lang translation of the aat
PDF
Implementation of Urdu Probabilistic Parser
PDF
Natural Language Processing, Techniques, Current Trends and Applications in I...
PPTX
Beginners Guide on PHP Programming
AI: Logic in AI
Ijarcet vol-2-issue-2-676-678
text summarization using amr
Schema-agnositc queries over large-schema databases: a distributional semanti...
Family Tree on PROLOG
Types of parsers
SemEval - Aspect Based Sentiment Analysis
Chelo Vargas-Sierra
1909 paclic
A Hierarchical Model of Reviews for Aspect-based Sentiment Analysis
A simple web-based interface for advanced SNOMED CT queries
2010 PACLIC - pay attention to categories
Legal Vocabulary and its Transformation Evaluation using Competency Questions
Word Segmentation and Lexical Normalization for Unsegmented Languages
(Final) cidoc 2009 chinese lang translation of the aat
Implementation of Urdu Probabilistic Parser
Natural Language Processing, Techniques, Current Trends and Applications in I...
Beginners Guide on PHP Programming
Ad

Viewers also liked (20)

PDF
RuleML2015: Input-Output STIT Logic for Normative Systems
PPTX
Part 8 add,update,delete records using records operation buttons in vb.net
PDF
Transforming the world with Information technology
PPTX
Debugging in visual studio (basic level)
PDF
How Not To Be Seen
PPTX
Pioneers of Information Science in Europe: The Oeuvre of Norbert Henrichs
ZIP
Logical Programming With ruby-prolog
PPTX
Cognitive information science
PDF
Part2 database connection service based using vb.net
PPT
Introduction to XML
PDF
Part 3 binding navigator vb.net
PDF
Python Tools for Visual Studio: Python na Microsoftovom .NET-u
PPTX
Information Overload and Information Science / Mieczysław Muraszkiewicz
PPS
Vb.net session 15
PPTX
Presentation1
PPTX
Prolog -Cpt114 - Week3
PPTX
Making Information Usable: The Art & Science of Information Design
PPTX
What&rsquo;s new in Visual C++
PDF
Part 1 picturebox using vb.net
PPTX
Part 5 create sequence increment value using negative value
RuleML2015: Input-Output STIT Logic for Normative Systems
Part 8 add,update,delete records using records operation buttons in vb.net
Transforming the world with Information technology
Debugging in visual studio (basic level)
How Not To Be Seen
Pioneers of Information Science in Europe: The Oeuvre of Norbert Henrichs
Logical Programming With ruby-prolog
Cognitive information science
Part2 database connection service based using vb.net
Introduction to XML
Part 3 binding navigator vb.net
Python Tools for Visual Studio: Python na Microsoftovom .NET-u
Information Overload and Information Science / Mieczysław Muraszkiewicz
Vb.net session 15
Presentation1
Prolog -Cpt114 - Week3
Making Information Usable: The Art & Science of Information Design
What&rsquo;s new in Visual C++
Part 1 picturebox using vb.net
Part 5 create sequence increment value using negative value
Ad

Similar to RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semantic vocabularies (20)

PPTX
Solving Semantic Disparity and Explanation Problems in Regulatory Compliance
PPTX
Model-Driven Regulatory Compliance: A Case Study of “Know Your Customer” Regu...
PDF
Generative AI and Regulatory Compliance
PPT
Leveraging Business Rules in TIBCO BusinessEvents
PPT
Biz Talk Demo slideshare
DOCX
Techniques used by Business Analyst
PPT
A Model-Based Approach for Extracting Business Rules out of Legacy Informatio...
PPTX
From Laws and Regulations to Decision Automation
PPTX
Taming the regulatory tiger with jwg and smartlogic
DOCX
Dileep Rai Oracle EBS. 010417
PDF
Crutial steps in requirement gathering
DOCX
ARUN_JK_CV
PDF
SoftwareONE Oracle Licensing Introduction 18.02.14
PDF
Toward Better Mapping between Regulations and Operational Details of Enterpri...
PPT
INTRODUCTION to software engineering requirements specifications
PDF
Industry@RuleML2015: Automated Decision Support for Financial Regulatory/Pol...
PDF
Asset finance systems projects guide 101
PPT
1. Requirements Defintion and classification.ppt
PDF
Optimizing order to-cash (e-business suite) with GRC Advanced Controls
PPT
Requirement Management.ppt
Solving Semantic Disparity and Explanation Problems in Regulatory Compliance
Model-Driven Regulatory Compliance: A Case Study of “Know Your Customer” Regu...
Generative AI and Regulatory Compliance
Leveraging Business Rules in TIBCO BusinessEvents
Biz Talk Demo slideshare
Techniques used by Business Analyst
A Model-Based Approach for Extracting Business Rules out of Legacy Informatio...
From Laws and Regulations to Decision Automation
Taming the regulatory tiger with jwg and smartlogic
Dileep Rai Oracle EBS. 010417
Crutial steps in requirement gathering
ARUN_JK_CV
SoftwareONE Oracle Licensing Introduction 18.02.14
Toward Better Mapping between Regulations and Operational Details of Enterpri...
INTRODUCTION to software engineering requirements specifications
Industry@RuleML2015: Automated Decision Support for Financial Regulatory/Pol...
Asset finance systems projects guide 101
1. Requirements Defintion and classification.ppt
Optimizing order to-cash (e-business suite) with GRC Advanced Controls
Requirement Management.ppt

More from RuleML (20)

PDF
Aggregates in Recursion: Issues and Solutions
PDF
A software agent controlling 2 robot arms in co-operating concurrent tasks
PDF
Port Clearance Rules in PSOA RuleML: From Controlled-English Regulation to Ob...
PDF
RuleML 2015: When Processes Rule Events
PDF
RuleML 2015: Ontology Reasoning using Rules in an eHealth Context
PDF
RuleML 2015: Semantics of Notation3 Logic: A Solution for Implicit Quantifica...
PDF
Challenge@RuleML2015 Developing Situation-Aware Applications for Disaster Man...
PDF
Rule Generalization Strategies in Incremental Learning of Disjunctive Concepts
PDF
RuleML 2015 Constraint Handling Rules - What Else?
PDF
RuleML2015 The Herbrand Manifesto - Thinking Inside the Box
PDF
Industry@RuleML2015: Norwegian State of Estate A Reporting Service for the St...
PDF
A Service for Improving the Assignments of Common Agriculture Policy Funds to...
PDF
RuleML2015: Binary Frontier-guarded ASP with Function Symbols
PDF
RuleML2015: API4KP Metamodel: A Meta-API for Heterogeneous Knowledge Platforms
PDF
RuleML2015: Rule-Based Exploration of Structured Data in the Browser
PDF
RuleML2015: Ontology-Based Multidimensional Contexts with Applications to Qua...
PDF
RuleML2015: Compact representation of conditional probability for rule-based...
PDF
RuleML2015: Learning Characteristic Rules in Geographic Information Systems
PDF
RuleML2015: Using Substitutive Itemset Mining Framework for Finding Synonymou...
PDF
RuleML2015: User Extensible System to Identify Problems in OWL Ontologies and...
Aggregates in Recursion: Issues and Solutions
A software agent controlling 2 robot arms in co-operating concurrent tasks
Port Clearance Rules in PSOA RuleML: From Controlled-English Regulation to Ob...
RuleML 2015: When Processes Rule Events
RuleML 2015: Ontology Reasoning using Rules in an eHealth Context
RuleML 2015: Semantics of Notation3 Logic: A Solution for Implicit Quantifica...
Challenge@RuleML2015 Developing Situation-Aware Applications for Disaster Man...
Rule Generalization Strategies in Incremental Learning of Disjunctive Concepts
RuleML 2015 Constraint Handling Rules - What Else?
RuleML2015 The Herbrand Manifesto - Thinking Inside the Box
Industry@RuleML2015: Norwegian State of Estate A Reporting Service for the St...
A Service for Improving the Assignments of Common Agriculture Policy Funds to...
RuleML2015: Binary Frontier-guarded ASP with Function Symbols
RuleML2015: API4KP Metamodel: A Meta-API for Heterogeneous Knowledge Platforms
RuleML2015: Rule-Based Exploration of Structured Data in the Browser
RuleML2015: Ontology-Based Multidimensional Contexts with Applications to Qua...
RuleML2015: Compact representation of conditional probability for rule-based...
RuleML2015: Learning Characteristic Rules in Geographic Information Systems
RuleML2015: Using Substitutive Itemset Mining Framework for Finding Synonymou...
RuleML2015: User Extensible System to Identify Problems in OWL Ontologies and...

Recently uploaded (20)

PDF
Science Form five needed shit SCIENEce so
PPT
LEC Synthetic Biology and its application.ppt
PDF
Communicating Health Policies to Diverse Populations (www.kiu.ac.ug)
PPTX
Microbes in human welfare class 12 .pptx
PPTX
INTRODUCTION TO PAEDIATRICS AND PAEDIATRIC HISTORY TAKING-1.pptx
PPT
Enhancing Laboratory Quality Through ISO 15189 Compliance
PPT
Animal tissues, epithelial, muscle, connective, nervous tissue
PDF
CHAPTER 3 Cell Structures and Their Functions Lecture Outline.pdf
PDF
GROUP 2 ORIGINAL PPT. pdf Hhfiwhwifhww0ojuwoadwsfjofjwsofjw
PPTX
GREEN FIELDS SCHOOL PPT ON HOLIDAY HOMEWORK
PDF
Warm, water-depleted rocky exoplanets with surfaceionic liquids: A proposed c...
PPTX
Presentation1 INTRODUCTION TO ENZYMES.pptx
PPTX
Hypertension_Training_materials_English_2024[1] (1).pptx
PPT
Heredity-grade-9 Heredity-grade-9. Heredity-grade-9.
PDF
CHAPTER 2 The Chemical Basis of Life Lecture Outline.pdf
PDF
Packaging materials of fruits and vegetables
PPT
THE CELL THEORY AND ITS FUNDAMENTALS AND USE
PPTX
POULTRY PRODUCTION AND MANAGEMENTNNN.pptx
PPT
Computional quantum chemistry study .ppt
PDF
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...
Science Form five needed shit SCIENEce so
LEC Synthetic Biology and its application.ppt
Communicating Health Policies to Diverse Populations (www.kiu.ac.ug)
Microbes in human welfare class 12 .pptx
INTRODUCTION TO PAEDIATRICS AND PAEDIATRIC HISTORY TAKING-1.pptx
Enhancing Laboratory Quality Through ISO 15189 Compliance
Animal tissues, epithelial, muscle, connective, nervous tissue
CHAPTER 3 Cell Structures and Their Functions Lecture Outline.pdf
GROUP 2 ORIGINAL PPT. pdf Hhfiwhwifhww0ojuwoadwsfjofjwsofjw
GREEN FIELDS SCHOOL PPT ON HOLIDAY HOMEWORK
Warm, water-depleted rocky exoplanets with surfaceionic liquids: A proposed c...
Presentation1 INTRODUCTION TO ENZYMES.pptx
Hypertension_Training_materials_English_2024[1] (1).pptx
Heredity-grade-9 Heredity-grade-9. Heredity-grade-9.
CHAPTER 2 The Chemical Basis of Life Lecture Outline.pdf
Packaging materials of fruits and vegetables
THE CELL THEORY AND ITS FUNDAMENTALS AND USE
POULTRY PRODUCTION AND MANAGEMENTNNN.pptx
Computional quantum chemistry study .ppt
Assessment of environmental effects of quarrying in Kitengela subcountyof Kaj...

RuleML2015: Explanation of proofs of regulatory (non-)complianceusing semantic vocabularies

  • 1. Explanation of Proofs of Regulatory (Non-)Compliance Using Semantic Vocabularies Sagar Sunkle, Deepali kholkar, and Vinay Kulkarni Tata Consultancy Services Research, India
  • 2.  Regulatory Compliance o Increasing spend on compliance in Billions of $ o Demand for governance, risk, and compliance (GRC) growing worldwide- • Canada, Japan, India, Australia, South Africa, and members of EU having a number of domain- and geography-specific regulations o Non-compliance is penalized severely; • Compliance difficult to achieve since it is uncertain in many cases what constitutes compliance and how it will affect the business-as-usual  Explanation of Proof of Regulatory (Non-) Compliance o Increasing demand to prove and explain (non-)compliance in a way tailored to specific stakeholders o Should be useful in regulatory negotiations as well as in fulfillment of business objectives o Requirements:  Requires access to diagnostic information in compliance checking  Relevant concepts in both regulations and operational practices need to be modeled Motivation
  • 3.  Use existing compliance engine- We use DR-Prolog o Compliance engine based on modal defeasible logic o Possible to access diagnostic information from Prolog trace- prior work by others exists on proof generation using DR-Prolog  Domain-specific compliance o Our engagements reveal that stakeholder-specific proof explanations are in demand o Difficult for business/operational stakeholders to interpret technical proofs o Close to natural language explanation deemed a starting point to make formal proofs relevant  Semantics of Business Vocabulary and Rules o Express meaning of concepts o Two sets of concepts- legal and business o Can accommodate natural language representation/information of concepts  Tailor proofs so that only the relevant rules and facts are separated out Basics of the Approach
  • 4. Manual Specification Implementation Technology in boldface Specification Language/format in Italics Legal Text Business Process Models Vocabulary EMF Ecore SBVR Editor Assurance Workbench TCS Rules Facts OMG SBVR Metamodel BPMN 2.0 DR-Prolog TuProlog DR-Prolog TuProlog Metainterpreter in Prolog Interpretation Trace TuProlog Java Procedure Box Abstraction in Trace Success Rules and Facts Failure Rules and Facts Natural Language Explanation Queries with Apache Metamodel API XML Representation of SBVR FreeMarker API Natural Language Templates Implementation Architecture
  • 5. Tailoring Proofs using Metainterpreter  Defeasible Metaprogram o A logic metaprogram simulates the proof theory of modal defeasible logic and reasons over the theory • The problem theory is expressed in terms of the metaprogram predicates • The metaprogram is a Prolog program  Trace using metainterpreter- leveraging procedure box abstraction o The metaprogram and problem theory is meta-interpreted to reveal procedure box for given query o Predicate invocation type- one of CALL, EXIT, FAIL, REDO o To obtain relevant rules and facts in a given successful and failed procedure, treat the box differently
  • 6. Accessing the Trace  Meta-interpreter produces trace that minimally contains three pieces of information 1. Depth of predicate invocation 2. Invocation type which is one of CALL, EXIT,FAIL, and REDO 3. Current predicate being processed  Example Trace 0’CALL ’defeasibly(client_account_data(17,open_account),obligation) 1’CALL ’strictly(client_account_data(17,open_account),obligation) 2’CALL ’fact(obligation(client_account_data(17,open_account))) 2’FAIL ’fact(obligation(client_account_data(17,open_account))) …  Meaning of innovation types- o CALL= predicate is entered/invoked o EXIT= successfully returned from o FAIL= completely failed o REDO= failed but backtracked
  • 7. Processing the Procedure Box Abstraction  Successful Procedure o We are interested in CALL EXIT pairs as shown on left o Remove successive CALL FAIL pairs indicating failed invocations o Failed invocations may occur at various depths, so recursively look for them and remove them  Failed Procedure o We are interested in CALL FAIL pairs as shown on right o Keep only successive CALL FAIL pairs and remove the rest o No need to recurse
  • 8. Building the Vocabularies- I Business vocabulary o Semantic community and sub- communities owning the regulation and to which the regulation applies o Shared understanding of an area, i.e., body of shared meanings Meanings and characteristics o Categorical concepts with specific details as characteristics
  • 9. Building the Vocabularies- II Body of guidance o Logical formulations based on logical operations Terminological dictionary o Designations or alternate names for various concepts, definitions for concepts and natural language statements for policies stated in the regulation o capture the vocabulary used by the enterprise in its business processes Mapping rules to processes o Every verb concept in the regulation body of concepts is mapped to corresponding verb concept wording from the process terminological dictionary. o This mapping is used to look up consequent terms of rules and the corresponding process entity is treated as a placeholder for compliance implementation of the rule
  • 10. Manual Specification Implementation Technology in boldface Specification Language/format in Italics Legal Text Business Process Models Vocabulary EMF Ecore SBVR Editor Assurance Workbench TCS Rules Facts OMG SBVR Metamodel BPMN 2.0 DR-Prolog TuProlog DR-Prolog TuProlog Metainterpreter in Prolog Interpretation Trace TuProlog Java Procedure Box Abstraction in Trace Success Rules and Facts Failure Rules and Facts Natural Language Explanation Queries with Apache Metamodel API XML Representation of SBVR FreeMarker API Natural Language Templates Revisiting Implementation Architecture
  • 11. Reserve Bank of India’s Know Your Customer regulations for a salaried employee at a private employer opening an account at an Indian Bank An example of banking domain regulation
  • 12. Success Facts for Client_ID 17 [ fact(client_data(17,ind,pse))., fact(pse_data(17,approvedCorporate))., fact(pse_KYC_document_data(17,acceptApprovedCor pCertificate,pse_kyc_document_set)). ] Success Rule r3 Client_ID 17 fulfills all Obligatory requisites. The processed trace shows facts in the successful invocation of rule r3.
  • 13. Success Facts for Client_ID 17 [ fact(client_data(17,ind,pse))., fact(pse_data(17,approvedCorporate))., fact(pse_KYC_document_data(17,acceptApprovedCor pCertificate,pse_kyc_document_set)). ] Success Rule r3 <containsConcepts xsi:type="SBVR.MeaningandRepresentationVocabulary:generalconcept"> <Id>pse</Id> <representation>pse_data</representation> <characteristic>notApprovedCorporate</characteristic> <characteristic>approvedCorporate</characteristic> <moreGeneralConcept>ind</moreGeneralConcept> </containsConcepts> </includesBodyOfConcepts> <includesBodyOfConcepts Id="RBI_KYCRegulationConcepts"> Business Vocabulary with Characteristics Concept pse and its characteristics such as approvedCorporate are defined in the business context and also in the meaning and representation vocabulary.
  • 14. Success Facts for Client_ID 17 [ fact(client_data(17,ind,pse))., fact(pse_data(17,approvedCorporate))., fact(pse_KYC_document_data(17,acceptApprovedCor pCertificate,pse_kyc_document_set)). ] Success Rule r3 <includesBodyOfGuidance Id="RBI_KYCRules"> <includesElementsOfGuidance Id="r3"> <Id>r3</Id> <isMeantBy xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:obligationformulation"> <antecedent xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:conjunction"> <logicalOperand xsi:type="SBVR.LogicalFormulationofSemanticsVocabulary:atomicformulation"> <Id>ind</Id> <isBasedOn>client_is_ind</isBasedOn> </logicalOperand> … </isMeantBy> </includesElementsOfGuidance> </includesBodyOfGuidance> Business Rules Vocabulary The rules vocabulary notes the rules and concepts involved.
  • 15. Success Facts for Client_ID 17 [ fact(client_data(17,ind,pse))., fact(pse_data(17,approvedCorporate))., fact(pse_KYC_document_data(17,acceptApprovedCor pCertificate,pse_kyc_document_set)). ] Success Rule r3 <SBVR.VocabularyforDescribingBusinessVocabularies:ComplianceModel> <contains Id="RBI_reference"> <presentsVocabulary Id="RBI_RegulationVocabulary"/> <expressesBodyOfMeanings Id="RBI_KYCRegulation"/> <includes xsi:type="SBVR.VocabularyforDescribingBusinessVocabularies:owneddefinition"> <Id>approvedCorporate</Id> <expression>Employer_is_a_corporate_approved_by_the_bank</expression> <meaning>approvedCorporate</meaning> </includes> <includes xsi:type="SBVR.VocabularyforDescribingBusinessRules:rulestatement"><Id>r3_stmt</Id <expression>It_is_obligatory_for_bank_to_obtain_requisite_documents_Including _approved_employer_certificate_and_additionally_at_least_one_valid_ document_ from_individual_who_is_a_private_salaried_employee _in_order_to_open_account” </expression> <meaning>r3</meaning> </SBVR.VocabularyforDescribingBusinessVocabularies:ComplianceModel> Terminological Dictionary The terminological dictionary contains the natural language representation of the rule in addition to process concepts.
  • 16.  SBVR model is in XML which needs to be queried to project values of requisite concepts in the explanation  We use Apache Metamodel to query the vocabularies o Type-safe SQL-like API for querying any data store o XML files are hierarchical and MetaModel tables are tabular, so some mapping overhead; carried out with XPath expressions  The projected results are filled into templates  This templates is filled in with o Rule ID, rule statement [From the terminological dictionary and rules vocabulary respectively], o Type of concept (in the case study, a banking customer), specific instance, description, and its ID [From the business context and meaning and representation vocabulary] Constructing Natural Language Explanation- I As per rule _, _. For current _that is _; _. Therefore compliance is achieved for current _ _.
  • 17.  This gives a natural language statement like the following-  Similar statement can be constructed whenever obligations are violated in specific instances. Constructing Natural Language Explanation- II
  • 18. Summary and Future Work  Summary o Using vocabularies of legal and operational concepts and existing compliance engine, we were able to construct simple natural language explanations  Ongoing- Stakeholder-specific explanations [such as business/legal stakeholders] o Currently general explanation o Stakeholder-specific interpretations of business context vocabulary can be represented in meaning and representation vocabularies and terminological dictionaries  In near future- Elaborating business/legal reasons o Ideally reasons for enterprises actions should be recorded in the explanations o For this, business/legal goals need to be modeled separately and related with the concepts in the business context vocabulary
  • 19. Questions? Thank you all!! I can be reached at sagar.sunkle@tcs.com