Flexible deadlines for directed obligations in agent-based business contracts
Abstract
In B2B contract enactment, cooperation should be taken into account when modeling contractual commitments through obligations. We advocate a directed deadline obligation approach, taking inspiration on international legislation over trade procedures. Our proposal is based on authorizations granted in specific states of an obligation lifecycle model. Flexible deadlines provide an additional level of cooperation between contractual agents. Moreover, agents increase their decision-making options concerning obligations.
Full text
Flexible Deadlines for Directed Obligations in Agent-based Business Contracts (Extended Abstract) Henrique Lopes Cardoso ∗ LIACC, DEI / Faculdade de Engenharia, Universidade do Porto R. Dr. Roberto Frias, 4200-465 Porto, Portugal [email protected] Eugénio Oliveira LIACC, DEI / Faculdade de Engenharia, Universidade do Porto R. Dr. Roberto Frias, 4200-465 Porto, Portugal [email protected] ABSTRACT In B2B contract enactment, cooperation should be taken into account when modeling contractual commitments through obligations. We advocate a directed deadline obligation approach, taking inspiration on international legislation over trade procedures. Our proposal is based on authorizations granted in specific states of an obligation lifecycle model. Flexible deadlines provide an additional level of cooperation between contractual agents. Moreover, agents increase their decision-making options concerning obligations. Categories and Subject Descriptors I.2.11 [Distributed Artificial Intelligence]: Multiagent systems Keywords Norms, Normative Behavior, Contract, Deadline 1. INTRODUCTION In cooperative Virtual Organizations, agents (enterprise delegates) share their competences in a regulated way, through commitments expressed as norms in contracts. The importance of pursuing a common goal demands for flexibility of operations: agents should facilitate compliance of their partners, because group success also benefits each agent’s private goals, which are not limited to the business in progress, but also concern future opportunities that may arise. Many approaches to normative multi-agent systems are abstracted away from their potential application domain, and give deontic operators an universal semantics (e.g. deadline obligations are violated if the obliged fact does not happen before the deadline). We argue that in some domains – such as business contracts – this approach is not desirable. For instance, the UN Convention on Contracts for the International Sale of Goods (CISG) [4] establishes what parties ∗Supported by FCT under grant SFRH/BD/29773/2006. Figure 1: Directed oblig. with liveline and deadline. may do in case of deadline violations. In some cases, obligations may be fulfilled after the deadline (Article 48), which may themselves be extended (Articles 47 and 63), denoting a flexible and even cooperative facet of trade contracts. We propose a different approach to model obligations in MAS for the business contracts domain. Following a cooperative business performance posture, we argue that obligations should be directed, and that deadlines should be flexible. In our model, authorizations are granted on specific states of a lifecycle for time-framed directed obligations. 2. DIRECTED DEADLINE OBLIGATIONS Deontic operators (such as obligations) can be modeled with different features. Our proposal for handling contractual obligations combines deadline [1] and directed [3] obligations. We also cope with the fact that anticipated fulfillments are not always welcome (in CISG’s Article 52, this is the case when storage costs are relevant). An obliged fact should therefore be obtained within a time window, delimited by a liveline and a deadline. A norm s→Ob,c(f, l, d) indicates that if sthen b(bearer) is obliged towards c(counterparty) to bring about f(fact) between l(liveline) and d (deadline). If bdoes not bring about fbetween land d, then cis authorized to react against b(see figure 1, where the shaded area indicates the period of time within which the achievement of fwill certainly fulfill the obligation). 2.1 Temporal Violations Figure 2 contains the state transition diagram for directed obligations with livelines and deadlines. The obligation is active (Ob,c(f, l, d)) when prescribed by a norm (whose situation sit became true). When larises, it becomes pending, unless an anticipated achievement of foccurs; in this case there is a liveline violation (LViolb,c). If the deadline occurs before f, there is a deadline violation (DViolb,c). If foccurs while the obligation itself is not yet in a viola-
Figure 2: Lifecycle of a directed obligation with liveline and deadline. tion state (Violb,c), the obligation is fulfilled (Fulfb,c). The counterparty’s reaction to a deadline violation will change the obligation’s state if the agent chooses to deem the obligation as violated, by denouncing this situation: Denc,bis a denounce from cregarding the failure of bto comply with his obligation. Once the fact being obliged is brought about, the obligation cannot be violated. In case of an anticipated achievement of f, we only need lto consider the obligation as fulfilled. This does not, however, prevent the counterparty from reacting to this early fulfillment in other less strict ways (which can be captured by appropriate norms whose situation is based on LViolb,cand other facts). Using temporal logic (namely its before operator B), the following relations express the semantics of our obligations: •Ob,c(f,l,d)∧(f B l)|=LViolb,c(f,l,d) •Ob,c(f,l,d)∧l∧(f B d)|=Fulfb,c(f,l,d) •Ob,c(f,l,d)∧(d B f )|=DViolb,c(f,l,d) •DViolb,c(f,l,d)∧(f B Denc,b(f,l,d)) |=Fulfb,c(f,l,d) •DViolb,c(f,l,d)∧(Denc,b(f,l,d)B f )|=Violb,c(f,l,d) Belated fulfillments are allowed before denounces, according to the fourth relation above. 2.2 Implementation with Rules If we want to develop appropriate tools to monitor contracts at run-time, we need to ground this semantics into a reasoning engine capable of responding to events in a timely fashion. Using a rule-based inference engine, we define the following (forward-chaining) rules: •Ob,c(f,l,d)∧f∧ ¬l→LViolb,c(f,l,d) •Ob,c(f,l,d)∧l∧f∧ ¬d→Fulfb,c(f,l,d) •Ob,c(f,l,d)∧d∧ ¬f→DViolb,c(f,l,d) •DViolb,c(f,l,d)∧f∧ ¬Denc,b(f,l,d)→Fulfb,c(f,l,d) •DViolb,c(f,l,d)∧Denc,b(f,l,d)∧ ¬f→Violb,c(f,l,d) Each relation of the form (e1B e2) is translated into a conjunction e1∧ ¬e2. This allows us to detect the moment at which the before relation holds, and consequently to reason about its consequences. Relative deadlines (common in business contracts) require timestamping events, which allows for a refinement on the implementation of these rules (not shown for space restrictions). 3. DECISION-MAKING The authorization approach described above enriches the decision-making space. Besides their own commitments, counterparties may decide over directed obligations after deadlines (a violation state is determined by his choice to denounce). In a contract, both parties bear obligations to obtain certain facts, which benefit counterparties. A contract contains further norms dependent on the fulfillment or violation of previous obligations. In order to model the decision making process, we need to assess an agent’s valuations on the obligation states and facts he is able to bring about. Let va(f) and va(S) denote the valuation agent amakes of fact for state S, respectively (as in [2], where these are used to check correctness of contracts, while we focus on the course of contract execution). When valuating fulfillment or violation states, agents should take into account what further commitments those states trigger. Focusing on the counterparty, for an obligation Ob,c(f, d) we have: vc(Ob,c(f, d)) >0 obl. is asset for counterparty vc(f)> vc(Ob,c(f, d)) cbenefits from f vc(Fulfb,c(f,d)) ≤0cmay acquire obligs. after vc(Violb,c(f,d)) ≥0cmay be compensated after We may now say that cshould denounce (and thus obtain the violation) if vc(f) + vc(Fulfb,c(f,d)) <vc(Violb,c(f,d)). We consider that valuations may vary with time (it makes sense to think of vc(f) as possibly decreasing with time). Even when the above condition does not hold, cmay still opt for tolerating the less preferred situation of failure for matters of conflicting goals. On the other hand, in environments enriched with social features agents can exploit, they can decide to behave cooperatively even when they have to bear a contained disadvantage – more than being altruistic, agents may try to enhance their trust awareness in the community, from which they will benefit in future interactions. 4. SUMMARY Most implementations of norms in MAS ignore the need for having directed obligations from bearers to counterparties. This is because in those approaches obligations are seen as (implicitly) directed from an agent to the normative system itself. It is up to the system to detect violations and to enforce the norms which are embedded in the environment. On the contrary, contractual obligations are negotiated into contracts and directed to specific contractual partners. We started from previous theoretical approaches to model authorizations, and developed a more concrete formalization by linking authorizations with a flexible model of deadlines. Obligation violations are now dependent on the counterparty will to claim them. Agent decision-making is enriched in our model, because both parties involved in directed obligations may have a say regarding their violation. When considering such obligations as interlinked through norms in a contract, agents should evaluate the consequences of fulfillment and violation states as stated in the contract. Furthermore, in “socially rich” environments, agents should explore the value of future relationships by enhancing their perceived trustworthiness and predisposition to facilitate compliance. 5. REFERENCES [1] J. Broersen, F. Dignum, V. Dignum, and J.-J. Meyer. Designing a deontic logic of deadlines. In DEON 2004. [2] N. Desai, N. C. Narendra, and M. P. Singh. Checking correctness of business contracts via commitments. In AAMAS 2008. [3] Y.-H. Tan and W. Thoen. Modeling directed obligations and permissions in trade contracts. In HICSS 1998. [4] UNCITRAL. United nations convention on contracts for the international sale of goods (cisg), 1980.