Skip to main content

A Smart Contract Based Recommender System

  • Conference paper
  • First Online:
Book cover Economics of Grids, Clouds, Systems, and Services (GECON 2019)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 11819))

Abstract

Nowadays information available on the World Wide Web has reached unprecedented growth and it makes difficult for users to find the most relevant for them. In order to alleviate such issue, Recommender Systems (RSs) have been proposed to collect opinions and preferences about a set of items, process such preferences and build a personalized information access.

While the most part of current RSs exploit centralized architecture to provide the service, in this manuscript we propose an alternative approach for building a general purpose RSs that provides to users with more transparent and decentralized rating strategy. Indeed, the proposed framework is built on top of a Distributed Ledger technology platform that runs without any centralized authority and it supports both decentralized ratings and ranking of different items. A preliminary evaluation on the Ethereum test network demonstrates the feasibility of the framework in terms of performance and cost.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.tripadvisor.com.

  2. 2.

    Statista 2019: https://bit.ly/2BYJf1U.

  3. 3.

    TripAdvisorInsights: https://bit.ly/2UaE8Tn.

  4. 4.

    The protocol starts with a capital “B”, the cryptocurrency does not.

  5. 5.

    Solidity docs: https://bit.ly/2S5X2La.

  6. 6.

    A smart contract function which does not change the contract’s state.

  7. 7.

    Gastroadvisor whitepaper: https://bit.ly/2YfIs6v.

  8. 8.

    Friendz whitepaper: https://bit.ly/2FdKolK.

  9. 9.

    Metamask: https://bit.ly/2DIukHT.

  10. 10.

    Ropsten: https://bit.ly/2E9bfjV.

  11. 11.

    Geth: https://bit.ly/2Isky2b.

  12. 12.

    Infura: https://bit.ly/2L5t4pJ.

  13. 13.

    We remark that a smart contract function which changes the state has to be stored in a transaction, and thus has to be mined.

  14. 14.

    Ropsten blocks, blocksout.com: https://bit.ly/2TQt6C4.

  15. 15.

    Ethereum blocks, blocksout.com: https://bit.ly/2uANLj9.

  16. 16.

    Insight from Etherscan: https://bit.ly/2H6uLB3.

  17. 17.

    Pagination in solidity: https://bit.ly/2CksK0B.

References

  1. Bobadilla, J., Ortega, F., Hernando, A., Gutiérrez, A.: Recommender systems survey. Knowl.-Based Syst. 46, 109–132 (2013)

    Article  Google Scholar 

  2. Brambilla, G., Amoretti, M., Zanichelli, F.: Using blockchain for peer-to-peer proof-of-location (2016). arXiv preprint arXiv:1607.00174

  3. Davidson, J., et al.: The youtube video recommendation system. In: Proceedings of the Fourth ACM Conference on Recommender Systems, pp. 293–296. ACM (2010)

    Google Scholar 

  4. De Salve, A., Guidi, B., Mori, P.: Predicting the availability of users’ devices in decentralized online social networks. Concurr. Comput.: Pract. Exp. 30(20), e4390 (2018)

    Article  Google Scholar 

  5. De Salve, A., Guidi, B., Ricci, L., Mori, P.: Discovering homophily in online social networks. Mob. Netw. Appl. 23(6), 1715–1726 (2018)

    Article  Google Scholar 

  6. Dwork, C., Naor, M.: Pricing via processing or combatting junk mail. In: Brickell, E.F. (ed.) CRYPTO 1992. LNCS, vol. 740, pp. 139–147. Springer, Heidelberg (1993). https://doi.org/10.1007/3-540-48071-4_10

    Chapter  Google Scholar 

  7. Frey, R.M., Wörner, D., Ilic, A.: Collaborative filtering on the blockchain: a secure recommender system for e-commerce. In: 22nd Americas Conference on Information Systems, AMCIS 2016, 11–14 August 2016, San Diego, CA, USA (2016)

    Google Scholar 

  8. Gunes, I., Kaleli, C., Bilge, A., Polat, H.: Shilling attacks against recommender systems: a comprehensive survey. Artif. Intell. Rev. 42(4), 767–799 (2014)

    Article  Google Scholar 

  9. Han, P., Xie, B., Yang, F., Shen, R.: A scalable P2P recommender system based on distributed collaborative filtering. Expert Syst. Appl. 27(2), 203–210 (2004)

    Article  Google Scholar 

  10. Maesa, D.D.F., Mori, P., Ricci, L.: A blockchain based approach for the definition of auditable access control systems. Comput. Secur. 84, 93–119 (2019)

    Article  Google Scholar 

  11. De Veirman, M., Cauberghe, V., Hudders, L.: Marketing through instagram influencers: the impact of number of followers and product divergence on brand attitude. Int. J. Advert. 36, 798–828 (2017)

    Article  Google Scholar 

  12. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2009). https://bitcoin.org/bitcoin.pdf

  13. Ricci, F., Rokach, L., Shapira, B.: Recommender systems: introduction and challenges. In: Ricci, F., Rokach, L., Shapira, B. (eds.) Recommender Systems Handbook, pp. 1–34. Springer, Boston (2015). https://doi.org/10.1007/978-1-4899-7637-6_1

    Chapter  MATH  Google Scholar 

  14. Szabo, N.: Formalizing and securing relationships on public networks. First Monday 2(9) (1997)

    Google Scholar 

  15. Wood, G., et al.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 151, 1–32 (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrea De Salve .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lisi, A., De Salve, A., Mori, P., Ricci, L. (2019). A Smart Contract Based Recommender System. In: Djemame, K., Altmann, J., Bañares, J., Agmon Ben-Yehuda, O., Naldi, M. (eds) Economics of Grids, Clouds, Systems, and Services. GECON 2019. Lecture Notes in Computer Science(), vol 11819. Springer, Cham. https://doi.org/10.1007/978-3-030-36027-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-36027-6_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-36026-9

  • Online ISBN: 978-3-030-36027-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics