We have three clients, three ESPs and one server. The clients send service request to ESPs, and evaluate the service quality.
In this way, the local reputation can be created.
Then, we implement a Peer-to-Peer network (coordinated by a server), with which clients can exchange local reputation.
After weighting received local reputation, the overall reputation can be created.
Finally, the reputation can be calcualted by combining local reputation and overall reputation.
More details can be found in Multi-weight Subjective Logic
How to run the code?
Of course, you need some libraries, e.g., Pytorch and Numpy.
Run server.py
Run client1.py
Run client2.py
Run client3.py
The generated three-element tuple, e.g., [0.21, 0.335, 0.488] is the reputation for three ESPs
The blockchain is built atop Blockchain Prototype
Still under refinement. The running instructions will be released soon.
- The example of product ownership tampering: https://twitter.com/Kotaku/status/1580673031759765504
- The example of product copyright plagiarization: https://www.nftgators.com/fighting-bored-ape-yacht-club-fakes-banned-on-opensea/
- phash: https://www.phash.org/
- The prompt injection: https://simonwillison.net/2022/Sep/12/prompt-injection/ https://www.schneier.com/blog/archives/2023/03/prompt-injection-attacks-on-large-language-models.html https://arxiv.org/abs/2206.11349
- The DoS attacks: https://ieeexplore.ieee.org/document/7467419
- The pravicy leakage: https://ieeexplore.ieee.org/document/9450036