Skip to main content
Log in

PISAGOR: a proactive software agent for monitoring interactions

  • Regular Paper
  • Published:
Knowledge and Information Systems Aims and scope Submit manuscript

Abstract

E-commerce has become an integral part of everyday life. Many e-commerce systems enable users to browse products, place orders, and track deliveries online. However, these interactions is time-consuming, especially if they do not proceed as expected. Instead of a human user, software can offer automated support to monitor e-commerce transactions to ensure that they are completed by the businesses as planned. Accordingly, this paper studies methods to develop a software agent for monitoring its users’ interactions with businesses (PISAGOR). The interactions are represented as commitments, which have been extensively studied in multiagent systems. With a commitment-based specification at hand, the agent knows what the meaning of its interactions are and can therefore reason over its actions. The reasoning is accompanied with the as-good-as relation that compares the agent’s current state with its expectations from a transaction. This enables PISAGOR to decide whether the transaction is progressing as expected. Moreover, we propose operational rules for the agent to create expectations based on its commitments and check its progress toward them. We demonstrate via a case study how PISAGOR can detect if a user’s interactions are not progressing well and identify a problem for the user to take action.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. http://mas.cmpe.boun.edu.tr/ozgur/code.html.

References

  1. Berendt B, Günther O, Spiekermann S (2005) Privacy in e-commerce: stated preferences vs. actual behavior. Commun ACM 48(4):101–106

    Article  Google Scholar 

  2. Chang J-S, Wong H-J (2011) Selecting appropriate sellers in online auctions through a multi-attribute reputation calculation method. Electron Commer Res Appl 10(2):144–154

    Article  MathSciNet  Google Scholar 

  3. Chesani F, Mello P, Montali M, Torroni P (2013) Representing and monitoring social commitments using the event calculus. Auton Agent Multiagent Syst 27(1):85–130

    Article  Google Scholar 

  4. Chopra AK, Dalpiaz F, Giorgini P, Mylopoulos J (2010) Reasoning about agents and protocols via goals and commitments. In: Proceedings of the 9th international conference on autonomous agents and multiagent systems (AAMAS), pp 457–464

  5. Chopra AK, Singh MP (2009) Multiagent commitment alignment. In: Proceedings of the 8th international conference on autonomous agents and multiagent systems, AAMAS ’09, 2:937–944

  6. El Kholy W, El Menshawy M, Bentahar J, Qu H, Dssouli R (2013) Representing and reasoning about communicative conditional commitments. In: Proceedings of the 12th international conference on autonomous agents and multiagent systems, pp 1169–1170

  7. El Menshawy M, Benthar J, Qu H, Dssouli R (2011) On the verification of social commitments and time. In: Proceedings of the 10th international conference on autonomous agents and multiagent systems (AAMAS), pp 483–490

  8. Farrell ADH, Sergot MJ, Sall M, Bartolini C (2005) Using the event calculus for tracking the normative state of contracts. Int J Coop Inf Syst 14(2–3):99–129

    Article  Google Scholar 

  9. Giannikis GK, Daskalopulu A (2011) Normative conflicts in electronic contracts. Electron Commer Rec Appl 10(2):247–267

    Article  Google Scholar 

  10. Governatori G (2013) Business process compliance: an abstract normative framework. Inf Technol 55(6):231–238

    MathSciNet  Google Scholar 

  11. Governatori G, Milosevic Z (2006) A formal analysis of a business contract language. Int J Coop Inf Syst 15(4):659–685

    Article  Google Scholar 

  12. Gupta S, Chakraborti S (2013) Utilsim: iteratively helping users discover their preferences. In: Huemer C, Lops P (eds) ‘E-commerce and web technologies’, of lecture notes in business information processing, vol 152. Springer, Berlin, pp 113–124

    Google Scholar 

  13. Huang S-M, Hua J-S, Will H, Wu J-W (2012) Metamodeling to control and audit e-commerce web applications. Int J Electron Commer 17(1):83–118

    Article  Google Scholar 

  14. Huang Y-F, Kuo F-Y (2012) How impulsivity affects consumer decision-making in e-commerce. Electron Commer Rec Appl 11(6):582–590

    Article  MathSciNet  Google Scholar 

  15. Jakob M, Pěchouček M, Miles S, Luck M (2008) Case studies for contract-based systems. In: Proceedings of the 7th international conference on autonomous agents and multiagent systems (AAMAS), pp 55–62

  16. Kafalı Ö, Chesani F, Torroni P (2010) What happened to my commitment? Exception diagnosis among misalignment and misbehavior. In: Computational logic in multi-agent systems, Vol 6245 of lecture notes in computer science, pp 82–98

  17. Kafalı Ö, Torroni P (2012) Exception diagnosis in multiagent contract executions. Ann Math Artif Intell 64(1):73–107

    Article  MathSciNet  MATH  Google Scholar 

  18. Kafalı Ö, Yolum P (2011) A distributed treatment of exceptions in multiagent contracts. In: Proceedings of the 9th international workshop on declarative agent languages and technologies (DALT)

  19. Kersten GE, Vahidov RM, Gimon D (2013) Concession-making in multi-attribute auctions and multi-bilateral negotiations: theory and experiments. Electron Commer Res Appl 12(3):166–180

    Article  Google Scholar 

  20. Mallya AU, Singh MP (2007) An algebra for commitment protocols. Auton Agent Multiagent Syst 14(2):143–163

    Article  Google Scholar 

  21. Menczer F, Street WN, Vishwakarma N, Monge AE, Jakobsson M (2002) Intellishopper: a proactive, personal, private shopping assistant. In: Proceedings of the first international joint conference on autonomous agents and multiagent systems (AAMAS), pp 1001–1008

  22. Meneguzzi F, Modgil S, Oren N, Miles S, Luck M, Faci N (2012) Applying electronic contracting to the aerospace aftercare domain. Eng Appl Artif Intell 25(7):1471–1487

    Article  Google Scholar 

  23. Morid MA, Shajari M (2012) An enhanced e-commerce trust model for community based centralized systems. Electron Commer Res 12(4):409–427

    Article  Google Scholar 

  24. Moubaiddin A, Obeid N (2013) On formalizing social commitments in dialogue and argumentation models using temporal defeasible logic. Knowl Inf Syst 37(2):417–452

    Article  Google Scholar 

  25. Nguyen NT, Katarzyniak R (2009) Actions and social interactions in multi-agent systems. Knowl Inf Syst 18(2):133–136

    Article  Google Scholar 

  26. Özer AH, Özturan C (2011) Multi-unit differential auction–barter model for electronic marketplaces. Electron Commer Res Appl 10(2):132–143

    Article  Google Scholar 

  27. Rittgen P (2008) A contract-based architecture for business networks. Int J Electron Commer 12(4):115–146

    Article  Google Scholar 

  28. Shimazu H (2002) Expertclerk: a conversational case-based reasoning tool fordeveloping salesclerk agents in e-commerce webshops. Artif Intell Rev 18(3–4):223–244

    Article  Google Scholar 

  29. Singh MP, Huhns MN (2005) Service-oriented computing: semantics, processes, agents. Wiley, Chichester

    Google Scholar 

  30. Telang P, Meneguzzi F, Singh M (2013) Hierarchical planning about goals and commitments. In: Proceedings of the 12th international conference on autonomous agents and multiagent systems, pp 877–884

  31. Telang PR, Singh MP (2012a) Comma: a commitment-based business modeling methodology and its empirical evaluation. In: Proceedings of the 11th international conference on autonomous agents and multiagent systems, pp 1073–1080

  32. Telang PR, Singh MP (2012b) Specifying and verifying cross-organizational business models: an agent-oriented approach. IEEE Trans Serv Comput 5(3):305–318

    Article  Google Scholar 

  33. Torroni P, Yolum P, Singh MP, Alberti M, Chesani F, Gavanelli M, Lamma E, Mello P (2009) Modelling interactions via commitments and expectations. In: Handbook of research on multi-agent systems: semantics and dynamics of organizational models, pp 263–284

  34. Wood D, Kafalı Ö, Stathis K (2013) DIESECT: a distributed environment for simulating e-commerce contracts. In: Huemer C, Lops P (eds) ‘E-Commerce and Web Technologies’ lecture notes in business information processing, vol 152. Springer, Berlin, pp 39–50

    Google Scholar 

  35. Yan Z, Fong S, Shi M (2008) Knowledge-empowered automated negotiation system for e-commerce. Knowl Inf Syst 17(2):167–191

    Article  Google Scholar 

  36. Yao Y, Ruohomaa S, Xu F (2012) Addressing common vulnerabilities of reputation systems for electronic commerce. J Theor Appl Electron Commer Res 7(1):1–20

    Article  Google Scholar 

  37. Yolum P, Singh MP (2007) Enacting protocols by commitment concession. In: Proceedings of the 6th international conference on autonomous agents and multiagent systems (AAMAS), pp 116–123

Download references

Acknowledgments

We thank the anonymous reviewers for their useful comments and suggestions. Most of this work was done while Özgür Kafalı was doing research in Bogazici University and Royal Holloway, University of London. This research is supported by Bogazici University Research Fund under Grant BAP13A01P2 and the Scientific and Technological Research Council of Turkey (TUBITAK) under Grant 113E543.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Özgür Kafalı.

Appendix

Appendix

Theorem 1

\(\Vvdash \)relation is a preorder, i.e., it is reflexive, non-symmetric, and transitive.

Proof

It is trivial that \(\Vvdash \)is reflexive and non-symmetric. For atomic propositions, reflexivity follows from Axiom 1 and for commitments it follows from Axiom 4. For showing non-symmetry, any unidirectional edge in Fig. 5 serves as a counter-example for symmetry. Consider the edge between nodes 2 and 5. The proposition refurbished satisfies the violated base-level commitment \(C^v\)(\(\top \), refurbished), but the other direction is not true. The edges between nodes 6–7 and 1–6 show similar properties.

For transitivity, we need to show that if \(\alpha \) \(\Vvdash \) \(\beta \) and \(\beta \) \(\Vvdash \) \(\gamma \) then \(\alpha \) \(\Vvdash \) \(\gamma \). Assume \(\alpha \) is a proposition Con, \(\beta \) and \(\gamma \) are both base-level commitments with consequents Con. By Axiom 2, \(\alpha \) \(\Vvdash \) \(\beta \), independently of the state of \(\beta \). Now, when (1) the state of \(\beta \) is fulfilled, by Axiom 4, \(\beta \) \(\Vvdash \) \(\gamma \), independently of the state of \(\gamma \). Then, \(\alpha \) \(\Vvdash \) \(\gamma \), by Axiom 2. When (2) the state of \(\beta \) is active, by Axiom 4, \(\beta \) \(\Vvdash \) \(\gamma \), if the state of \(\gamma \) is active or violated. Then, again \(\alpha \) \(\Vvdash \) \(\gamma \), by Axiom 2. When (3) the state of \(\beta \) is violated, by Axiom 4, \(\beta \) \(\Vvdash \) \(\gamma \), if the state of \(\gamma \) is also violated. Then, again \(\alpha \) \(\Vvdash \) \(\gamma \), by Axiom 2. Thus, \(\Vvdash \)is transitive. Other combinations of \(\alpha \), \(\beta \) and \(\gamma \) follow similarly. \(\square \)

Theorem 2

For an agent A, at time T, given a proposition Con, iff takeAction(A, T, Con).

Proof

We prove both directions by contradiction.

I. Forward direction (Completeness): If takeAction(A, T, Con), then .

Let \(\exists Con\): takeAction(A, T, Con). Then, by Definition 8, either \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A))\) \(=\) \(\emptyset \), or \(\exists \) x: x \(\in \) \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A))\). First, consider the former case. Assume \({\mathcal {S}}^T(A)\) \(\Vvdash \) \({\mathcal {S}}^T(A_p)\). This will occur only if \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\) \(=\) \(\emptyset \) also. Otherwise, a term that includes Con cannot be satisfied according to the satisfiability axioms. This is a contradiction, because, by Definition 8, \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\) cannot be empty.

Now, consider the latter case. Again, assume \({\mathcal {S}}^T(A)\) \(\Vvdash \) \({\mathcal {S}}^T(A_p)\). There are three possibilities:

  1. 1.

    \({\mathcal {S}}^T(A_p)\) \(=\) \(\langle \emptyset \), \(\emptyset \rangle \). Then, every state is as good as the empty state since there are no terms in it to satisfy (Definition 10). This is a contradiction, because, by Definition 8, \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\) cannot be empty.

  2. 2.

    \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\) \(=\) \(\emptyset \). Then, there is no need to satisfy a term that includes Con. This is a contradiction, because, again by Definition 8, \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\) cannot be empty.

  3. 3.

    \(\exists \) y: y \(\in \) \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\). Then, x is as good as y (since both are the terms that include Con). There are three possibilities:

    1. (a)

      \(x = Con\) or \(x = C^f(Con)\). Then, according to the satisfiability axioms, x \(\Vvdash \) y for any y. This is a contradiction, because, by Definition 8, u(x) cannot be greater than or equal to u(y).

    2. (b)

      \(x = C^a(Con)\) and (\(y = C^a(Con)\) or \(y = C^v(Con)\)). Then, by Axiom 4, x \(\Vvdash \) y. This is a contradiction, because, by Definition 8, u(x) cannot be greater than or equal to u(y).

    3. (c)

      \(x = C^v(Con)\) and \(y = C^v(Con)\). Then, by Axiom 4, x \(\Vvdash \) y. This is a contradiction, because, by Definition 8, u(x) cannot be equal to u(y).

Hence, we conclude that whenever the agent takes an action, .

II. Backward direction (Soundness): If , then \(\exists Con\): takeAction(A, T, Con).

Let . Then, by Definition 10, \(\exists \) y: y \(\in \) \({\mathcal {S}}^T(A_p)\) and . That is, there is at least one term that is not satisfiable. Let y \(\in \) \({\mathcal {T}}_{Con}({\mathcal {S}}^T(A_p))\). That is, Con be the proposition related to the term y (either y itself or the consequent of y in case y is a commitment). Now, assume takeAction(A, T, Con) does not hold. Then, \(\exists \) x: x \(\in \) \({\mathcal {S}}^T(A)\) and u(x) \(\ge \) u(y). Otherwise, takeAction(A, T, Con) would hold. There are three possibilities:

  1. 1.

    \(x = Con\) or \(x = C^f(Con)\). Then, u(x) \(\ge \) u(y) for any y, and no action needs to be taken. This is a contradiction, because, according to the satisfiability axioms x would be as good as any such y.

  2. 2.

    \(x = C^a(Con)\) and (\(y = C^a(Con)\) or \(y = C^v(Con)\)). Then, u(x) \(\ge \) u(y), and no action needs to be taken. This is a contradiction, because, by Axiom 4, x would be as good as y.

  3. 3.

    \(x = C^v(Con)\) and \(y = C^v(Con)\). Then, u(x) \(=\) u(y), and no action needs to be taken. This is a contradiction, because, by Axiom 4, x would be as good as y. \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kafalı, Ö., Yolum, P. PISAGOR: a proactive software agent for monitoring interactions. Knowl Inf Syst 47, 215–239 (2016). https://doi.org/10.1007/s10115-015-0848-1

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10115-015-0848-1

Keywords

Navigation