Reading Agendas Between the Lines, an exercise

72
Reading Agendas between the lines an exercise Giovanni Sileno ([email protected]), Alexander Boer, Tom van Engers Leibniz Center for Law University of Amsterdam 30 August 2016 - AI4J Workshop / ECAI 2016 @ Den Haag

Transcript of Reading Agendas Between the Lines, an exercise

Page 1: Reading Agendas Between the Lines, an exercise

Reading Agendas between the lines an exercise

Giovanni Sileno ([email protected]),Alexander Boer, Tom van EngersLeibniz Center for LawUniversity of Amsterdam

30 August 2016 - AI4J Workshop / ECAI 2016 @ Den Haag

Page 2: Reading Agendas Between the Lines, an exercise

Problem context

Page 3: Reading Agendas Between the Lines, an exercise

socialsystem

How people behave..

Page 4: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

What the law states..

How people behave..

Page 5: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

What the law states..

How people behave..

How public administrations implements the law..

Page 6: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

What the law states..

How people behave..

How public administrations implements the law..

are three matters only loosely coupled

Page 7: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

Focus on services/social system

What the law states..

How people behave..

How public administrations implements the law..

● non-compliance

Page 8: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

Focus on services/social system

What the law states..

How people behave..

How public administrations implements the law..

● non-compliance

Page 9: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

Focus on services/social system

What the law states..

How people behave..

How public administrations implements the law..

● non-compliance● new user requirements

Page 10: Reading Agendas Between the Lines, an exercise

Diagnosis of social systems

Page 11: Reading Agendas Between the Lines, an exercise

Diagnosis

● Diagnosis starts from the presumption that a failure occurred in the system.

● But what counts as a failure?

Page 12: Reading Agendas Between the Lines, an exercise

Diagnosis of a designed artifact

● In case of a designed artifact, we know the function of the system, so if does not behave how it was supposed to, this is a failure.

Page 13: Reading Agendas Between the Lines, an exercise

Diagnosis of a designed artifact

● In case of a designed artifact, we know the function of the system, so if does not behave how it was supposed to, this is a failure.

Page 14: Reading Agendas Between the Lines, an exercise

Diagnosis of a designed artifact

● In case of a designed artifact, we know the function of the system, so if does not behave how it was supposed to, this is a failure.

● Two types of failure:

– operational failure – bad design

Page 15: Reading Agendas Between the Lines, an exercise

Consistency-based diagnosis

● In case of electronic components, for instance, manufacturers furnish the normal behaviour of the item.

Page 16: Reading Agendas Between the Lines, an exercise

Consistency-based diagnosis

● In case of electronic components, for instance, manufacturers furnish the normal behaviour of the item.

failure = inconsistency with nominal specifications

Page 17: Reading Agendas Between the Lines, an exercise

Consistency-based diagnosis

● In case of electronic components, for instance, manufacturers furnish the normal behaviour of the item.

failure = inconsistency with nominal specifications

● Usual diagnostic problem: recognize the minimal set of components that produces the inconsistency

Page 18: Reading Agendas Between the Lines, an exercise

Consistency-based diagnosis

● In case of electronic components, for instance, manufacturers furnish the normal behaviour of the item.

failure = inconsistency with nominal specifications

-a :- not a.

In AI terms ~ default negation implies strong negation

Page 19: Reading Agendas Between the Lines, an exercise

Abductive diagnosis

● In other domains, we naturally create models of faulty behaviour, because there may be non-pathological cases in which things do not go as expected. i.e. not all misalignments to the norm are failures.

Page 20: Reading Agendas Between the Lines, an exercise

Abductive diagnosis

● In other domains, we naturally create models of faulty behaviour, because there may be non-pathological cases in which things do not go as expected. i.e. not all misalignments to the norm are failures.

failure = consistency with explicitly faulty model

In AI terms ~ default negation is different from strong negation

Page 21: Reading Agendas Between the Lines, an exercise

Diagnosis of a social system

● What counts as a failure in a social system?

Page 22: Reading Agendas Between the Lines, an exercise

Diagnosis of a social system

● What counts as a failure in a social system? ● A wrong supposedly occurs when there are unmet

social expectations (for at least one of the participants)

Page 23: Reading Agendas Between the Lines, an exercise

Diagnosis of a social system

● What counts as a failure in a social system? ● A wrong supposedly occurs when there are unmet

social expectations (for at least one of the participants)

● These are specified via normative directives: prohibitions, obligations, etc.

– In principle, a wrong is detectable from the violation of normative directives.

Page 24: Reading Agendas Between the Lines, an exercise

Diagnosis of a social system

● What counts as a failure in a social system? ● A wrong supposedly occurs when there are unmet

social expectations (for at least one of the participants)

● These are specified via normative directives: prohibitions, obligations, etc.

– In principle, a wrong is detectable from the violation of normative directives..

but proceeding “literally” is not sufficient.

Page 25: Reading Agendas Between the Lines, an exercise

Types of failure

e.g. duty to pay taxes

Page 26: Reading Agendas Between the Lines, an exercise

Types of failure

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)

Page 27: Reading Agendas Between the Lines, an exercise

Types of failure

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)● pay a wrong amount in respect to the declared

income (syntaxic, quantitative failure)

Page 28: Reading Agendas Between the Lines, an exercise

Types of failure

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)● pay a wrong amount in respect to the declared

income (syntaxic, quantitative failure)● pay the correct but not the right amount, by using

tax evasion schemes (semantic failure)

Page 29: Reading Agendas Between the Lines, an exercise

Types of failure

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)● pay a wrong amount in respect to the declared

income (syntaxic, quantitative failure)● pay the correct but not the right amount, by using

tax evasion schemes (semantic failure)

The “semantic” failure is the most difficult to be catched!

Page 30: Reading Agendas Between the Lines, an exercise

sourcesof law

legal norms

Sources of knowledge

Page 31: Reading Agendas Between the Lines, an exercise

sourcesof law

services

legal norms

businessprocess models

Sources of knowledge

Page 32: Reading Agendas Between the Lines, an exercise

sourcesof law

services

legal norms

businessprocess models

Sources of knowledge

Usual focus of compliance-

checking methods

Page 33: Reading Agendas Between the Lines, an exercise

sourcesof law

services

legal norms

businessprocess models

Sources of knowledge

Usual focus of compliance-

checking methods

..but not adequate to capture the social semantics

Page 34: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

stories,experiences

legal norms,cases

businessprocess models

Sources of knowledge

Page 35: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

stories,experiences

legal norms,cases

businessprocess models

Sources of knowledge

Which representational ground should we

consider?

Page 36: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

agent-rolesstories,

experienceslegal norms,

cases

agent-rolemodels

businessprocess models

Integrating model: agent-role

Page 37: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

agent-rolesstories,

experienceslegal norms,

cases

agent-rolemodels

businessprocess models

Integrating model: agent-role

agent-role =coordination of roles (script + topology)

Page 38: Reading Agendas Between the Lines, an exercise

sourcesof law

socialsystem

services

agent-rolesstories,

experienceslegal norms,

cases

agent-rolemodels

businessprocess models

Integrating model: agent-role

agent-role =coordination of roles (script + topology)

NB: the model abstracts the individuals

Page 39: Reading Agendas Between the Lines, an exercise

An exercise of application

Page 40: Reading Agendas Between the Lines, an exercise

Domain: Real-estate transactions

Page 41: Reading Agendas Between the Lines, an exercise

Normal sale

Real estate A, worth 500.000 €

Page 42: Reading Agendas Between the Lines, an exercise

Normal sale

Real estate A, worth 500.000 €With 6% transfer tax, if sold 30.000 € taxes

Page 43: Reading Agendas Between the Lines, an exercise

Hidden payment scenario

X wants to give to Y 300.000 €.X sells Real estate A (worth 500.000 €) for 200.000 € to Y

with 6% transfer tax, 10.000 €.(taxes for a direct transfer would be higher)

Page 44: Reading Agendas Between the Lines, an exercise

Swap-scheme scenario

Owner: X. Real estate A, worth 10.000.000 €

Owner: Y. Real estate B, worth 10.000.000 €

X wants B, Y wants A.

6% transfer tax: if sold, 1.200.000 € (total)

Page 45: Reading Agendas Between the Lines, an exercise

Swap-scheme scenario

Owner: X. Real estate A, worth 10.000.000 €

Owner: Y. Real estate B, worth 10.000.000 €

X wants B, Y wants A.

“Why don't we decrease the nominal price?“

Page 46: Reading Agendas Between the Lines, an exercise

Swap-scheme scenario

Owner: X. Real estate A, sold for 5.000.000 €

Owner: Y. Real estate B, sold for 5.000.000 €

X wants B, Y wants A.

6% transfer tax: 600.000 € (total)

Page 47: Reading Agendas Between the Lines, an exercise

Swap-scheme topology

Page 48: Reading Agendas Between the Lines, an exercise

Swap-scheme topology

internal topologies – intentional coordination

Page 49: Reading Agendas Between the Lines, an exercise

Swap-scheme topology

internal topologies – intentional coordination

base for concentration of interests (company, family, etc.)

Page 50: Reading Agendas Between the Lines, an exercise

Swap-scheme topology

external topology – scenario coordination

Page 51: Reading Agendas Between the Lines, an exercise

Swap-scheme topology

external topology – scenario coordination

This may be contingent...

Page 52: Reading Agendas Between the Lines, an exercise

Monitoring and diagnosis

Page 53: Reading Agendas Between the Lines, an exercise

Taking the diagnoser view

bounded perception

● Sale declarations● Sale payments

Page 54: Reading Agendas Between the Lines, an exercise

Monitoring and diagnosis● The observation abilities of the diagnoser are

necessarily limited. ● Cognitive resources for reasoning are also limited.

It does not make sense to interpret all the data.

Page 55: Reading Agendas Between the Lines, an exercise

Monitoring and diagnosis● We consider an architecture affine to the Dual

Process theory of reasoning:

– monitoring (fast, reactive) for selecting suspicious cases

– diagnosis (slow, reflective) for investigating them.

Page 56: Reading Agendas Between the Lines, an exercise

Monitoring

Monitoring filters can be constructed by constrast of normal cases with abnormal ones.

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)

– Use a timeout rule, asynchronous check

Page 57: Reading Agendas Between the Lines, an exercise

Monitoring

Monitoring filters can be constructed by constrast of normal cases with abnormal ones.

e.g. duty to pay taxes● not to pay taxes (syntaxic, qualitative failure)

– Use a timeout rule, asynchronous check● pay a wrong amount in respect to the declared

income (syntaxic, quantitative failure)

– Use an operational rule, synchronous check

Page 58: Reading Agendas Between the Lines, an exercise

Monitoring

Monitoring filters can be constructed by constrast of normal cases with abnormal ones.

e.g. duty to pay taxes● pay the correct but not the right amount, by using

tax evasion schemes (semantic failure)

– contrast determines threshold conditions

Page 59: Reading Agendas Between the Lines, an exercise

Monitoring

Monitoring filters can be constructed by constrast of normal cases with abnormal ones.

e.g. duty to pay taxes● pay the correct but not the right amount, by using

tax evasion schemes (semantic failure)

– contrast determines threshold conditions

In our case, adequate thresholds are decided upon

average market price.

Page 60: Reading Agendas Between the Lines, an exercise

Selection rule in Prolog

suspiciousPrice(Price, Estate, Time) :-marketPrice(MarketPrice, Estate, Time),Price =< (MarketPrice * 60)/100.

suspiciousSale(Seller, Buyer, Estate, Price, Time) :-declaration(sale(Seller, Buyer, Estate, Price, Time)),suspiciousPrice(Price, Estate, Time).

Suppose the threshold is placed at -40% of market price (e.g. after statistical analysis):

Page 61: Reading Agendas Between the Lines, an exercise

Diagnosis (main action)

ActionEvidenceOfSwap(sale(Seller1, Buyer1, EstateA, PriceA, T1),sale(Seller2, Buyer2, EstateB, PriceB, T2)

) :-suspiciousSale(Seller1, Buyer1, EstateA, PriceA, T1),suspiciousSale(Seller2, Buyer2, EstateB, PriceB, T2),not(EstateA = EstateB),not(Seller1 = Seller2), not(Buyer1 = Buyer2).

At this point, we check if suspicious sales are consistent with a swap-scheme agent-role:

Page 62: Reading Agendas Between the Lines, an exercise

Diagnosis (additional evidence)

actionAndCircumstantialEvidenceOfSwap(sale(Seller1, Buyer1, EstateA, PriceA, T1),sale(Seller2, Buyer2, EstateB, PriceB, T2)

) :-actionEvidenceOfSwap(sale(Seller1, Buyer1, EstateA, PriceA, T1),sale(Seller2, Buyer2, EstateB, PriceB, T2)),relatedTo(Seller1, SharedStructure1),relatedTo(Buyer2, SharedStructure1),relatedTo(Seller2, SharedStructure2),relatedTo(Buyer1, SharedStructure2).

..and when suspicious coordinated behaviour is found, we look for circumstantial evidence about structures of concentration of interests:

Page 63: Reading Agendas Between the Lines, an exercise

Swap-scheme generalization● Through computational means, we can

easily generalize the investigation ton-steps swaps (obfuscasting traces of coordination).

…this includes the “hidden payment” scenario!

Page 64: Reading Agendas Between the Lines, an exercise

Conclusion

Page 65: Reading Agendas Between the Lines, an exercise

Conclusion● This exercise showed a simplified application of a

more general framework

Page 66: Reading Agendas Between the Lines, an exercise

Conclusion● This exercise showed a simplified application of a

more general framework

– The most important message is that...

Page 67: Reading Agendas Between the Lines, an exercise

Conclusion● This exercise showed a simplified application of a

more general framework

– The most important message is that...

agency trascends individuals.

Page 68: Reading Agendas Between the Lines, an exercise

Conclusion● This exercise showed a simplified application of a

more general framework

– The most important message is that...

agency trascends individuals...and we require abstractions like agent-roles to pass to higher-level interpretation.

Page 69: Reading Agendas Between the Lines, an exercise

Further developments● This exercise showed a simplified application of a

more general framework

– Prolog conflates strong negation with default negation. What if some information is simply unavailable? Other approaches (EBA) would be more appropriate.

Page 70: Reading Agendas Between the Lines, an exercise

Further developments● This exercise showed a simplified application of a

more general framework

– Prolog conflates strong negation with default negation. What if some information is simply unavailable? Other approaches (EBA) would be more appropriate.

– Scenarios should be collected in an adequate representation for the modeler taking causation into account. We suggested an extension to Petri nets, with normative and agentive positions.

Page 71: Reading Agendas Between the Lines, an exercise

Further developments● This exercise showed a simplified application of a

more general framework

– For the acquisition, in previous work we proposed an intecremental method, starting from UML-diagrams (similarly to requirement engineering practices)

Page 72: Reading Agendas Between the Lines, an exercise

Further developments● This exercise showed a simplified application of a

more general framework

– For the acquisition, in previous work we proposed an intecremental method, starting from UML-diagrams (similarly to requirement engineering practices)

– About computational complexity, existing decomposition techniques could be used in principle to compile the database of scenarios offline, and for realtime exploitation.