Gerardo Schneider Dept. of Computer Science and Engineering - - PowerPoint PPT Presentation

gerardo schneider
SMART_READER_LITE
LIVE PREVIEW

Gerardo Schneider Dept. of Computer Science and Engineering - - PowerPoint PPT Presentation

Gerardo Schneider Dept. of Computer Science and Engineering Chalmers | Univ. of Gothenburg gerardo@cse.gu.se http://www.cse.chalmers.se/~gersch/ Contracts and Computation Workshop Gteborg, 2 Nov 2017 Consent to give us access to your


slide-1
SLIDE 1

Gerardo Schneider

  • Dept. of Computer Science and Engineering

Chalmers | Univ. of Gothenburg

gerardo@cse.gu.se http://www.cse.chalmers.se/~gersch/

Contracts and Computation Workshop

Göteborg, 2 Nov 2017

slide-2
SLIDE 2

Gerardo Schneider 2

“Consent to give us access to your contacts” App: Give me your contact list! Tel: Sure! Here it is!

Why we do so? We don’t read the ToS “All or nothing”: Accept it or don’t install it

slide-3
SLIDE 3

Gerardo Schneider 3

Conformance Monitoring and Enforcement

It t could be nice if… f…

slide-4
SLIDE 4

Gerardo Schneider 4

slide-5
SLIDE 5

5 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

ToS

slide-6
SLIDE 6

6 ToS AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

1

Contract Analyzer

slide-7
SLIDE 7

7 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

Privacy Policy Analyzer

2

ToS

slide-8
SLIDE 8

8 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

Conformance Checker

3

Privacy Policy Analyzer

ToS

slide-9
SLIDE 9

9 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer FPPol System MPPol AFToS

Run1me Checker

4

Privacy Policy Analyzer

ToS

slide-10
SLIDE 10

10 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

ToS

slide-11
SLIDE 11

11 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

1

ToS

slide-12
SLIDE 12

(1) (2) (3)

Counter() example) Analyzer) NL)to) CNL) CNL)to) FL) Contract) Analyzer) Monitor) Gener.) Run;me) Viola;on) Analyzer) Sta;c) Viola;on) Analyzer)

Run/me' Sta/c'

NLCon& CNLCon& eCon& Prop& Lib& AeCon& CEx& Log& Mon& Sys& QL&

Gerardo Schneider

Normative texts: specifications, requirements, legal contracts, regulations, directives, work descriptions, …

12

slide-13
SLIDE 13

Gerardo Schneider 13

slide-14
SLIDE 14

(1) (2) (3)

Counter() example) Analyzer) NL)to) CNL) CNL)to) FL) Contract) Analyzer) Monitor) Gener.) Run;me) Viola;on) Analyzer) Sta;c) Viola;on) Analyzer)

Run/me' Sta/c'

NLCon& CNLCon& eCon& Prop& Lib& AeCon& CEx& Log& Mon& Sys& QL&

Gerardo Schneider 14

A (simple) CNL to translate into CL

CL: A formal language for contracts CLAN: A conflict analyzer

Simple monitor extraction algorithm

* Cristian Prisacariu et al

slide-15
SLIDE 15

(1) (2) (3)

Counter() example) Analyzer) NL)to) CNL) CNL)to) FL) Contract) Analyzer) Monitor) Gener.) Run;me) Viola;on) Analyzer) Sta;c) Viola;on) Analyzer)

Run/me' Sta/c'

NLCon& CNLCon& eCon& Prop& Lib& AeCon& CEx& Log& Mon& Sys& QL&

Gerardo Schneider 15

slide-16
SLIDE 16

Gerardo Schneider 16

* John J. Camilleri et al (since 2014…) * Enrique Martínez et al (2012-2013) * Proof-of-concept prototype: http://remu.grammaticalframework.org/contracts/verifier/

slide-17
SLIDE 17

Gerardo Schneider 17

slide-18
SLIDE 18

18 AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

Privacy Policy Analyzer

2

ToS

slide-19
SLIDE 19

Gerardo Schneider 19

slide-20
SLIDE 20

Gerardo Schneider 20

* Raúl Pardo et al

PPL • Privacy Policy Language KBL • Knowledge-Based Logic EKB • Knowledge Base

PPF: Privacy Policy Framework For Social Networks

Need to be adapted as a stand-alone framework

(Syntax OK, but semantics…)

”Evolving” policies:

  • Automata
  • Real-Time

Interpreted over Social Graphs

slide-21
SLIDE 21

Gerardo Schneider 21

slide-22
SLIDE 22

22 ToS AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

Run1me Checking

3-4

Conformance

slide-23
SLIDE 23

Gerardo Schneider 23

slide-24
SLIDE 24

Gerardo Schneider 24

slide-25
SLIDE 25

25 ToS AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

NLP Enforcement Abstraction level of the formal lang. and the CNL Scalability…

“Operationalization” Semantic Analysis

slide-26
SLIDE 26

Gerardo Schneider

slide-27
SLIDE 27

Gerardo Schneider

Projects? Phd Students? Postdocs? ENGINEERS!?

slide-28
SLIDE 28

28 ToS AFToS Conformance Checker OK Not OK Applica1on Installer Agree FToS Par0ally Verified FToS Contract Verifier Contract Annotator NL Contract Analyzer QL Prop OK Not OK

Contract Analyzer

PPol FPPol Monitor Generator NL Privacy Policy Analyzer

Privacy Policy Analyzer

FPPol System MPPol AFToS

Runtj tjme me C Che hecking cking

slide-29
SLIDE 29

Gerardo Schneider 29

PRESS RELEASE 2016-10-10 The Prize in Economic Sciences 2016 The Royal Swedish Academy of Sciences has decided to award the Sveriges Riksbank Prize in Economic Sciences in Memory of Alfred Nobel 2016 to Oliver Hart, Harvard University, Cambridge, MA, USA, and Bengt Holmström, Massachusetts Institute of Technology, Cambridge, MA, USA “for their contributions to contract theory”