Skip to content

The reputation based Edge Service Provider Selection Scheme over a P2P network.

Notifications You must be signed in to change notification settings

Lancelot1998/AIGCLifecycleManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Blockchain-empowered AIGC product lifecycle manageent in edge networks

In this project, we implement:

1.The reputation based Edge Service Provider (ESP) selection scheme over a P2P network.

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

2.The blockchain platform.

The blockchain is built atop Blockchain Prototype

Still under refinement. The running instructions will be released soon.

3. Some important references/real-world examples:

  1. The example of product ownership tampering: https://twitter.com/Kotaku/status/1580673031759765504
  2. The example of product copyright plagiarization: https://www.nftgators.com/fighting-bored-ape-yacht-club-fakes-banned-on-opensea/

4. Image Similarity Check:

  1. phash: https://www.phash.org/

5. The attacks towards AIGC products and the corresponding defenses.

  1. 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
  2. The DoS attacks: https://ieeexplore.ieee.org/document/7467419
  3. The pravicy leakage: https://ieeexplore.ieee.org/document/9450036

About

The reputation based Edge Service Provider Selection Scheme over a P2P network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published