I’m curious about the degree of usage of Fuzzy logic in SAFE Network and if it should be considered as a good fit for it.
Is it being used in SAFE Network at all and if so where?
About Fuzzy logic
Simple explanation of Fuzzy logic from Wikipedia:
Fuzzy logic is a form of many-valued logic in which the truth values of variables may be any real number between 0 and 1.
I’m reading the book Fuzzy Logic (The Revolutionary Computer Technology that Is Changing Our World) and there’s an interesting quote:
Fuzzy sets … bring the reasoning used by computers closer to that used by people.
by Lotfi A. Zadeh, founder of fuzzy mathematics, fuzzy set theory, and fuzzy logic
Idea
What if we could use logic more similar to how our brains work. We are doing the best to understand how we function and how to improve our technology with that kind of information. Overall, we are still the creators of computers and their software for now.
When dealing with consensus or rating node (vault) behavior we might be able to do better if we consider all available inputs, even those that are not strictly true or false. Knowing that a certain information is 50% true and 50% false is still an information bringing some value (it doesn’t mean 50% chance) and when we add more bits like that we are getting something solid.
Topic’s intention
- List occurrences of Fuzzy logic in SAFE network.
- Collect some opinions about Fuzzy logic and its usage.
- Get some references about Fuzzy logic usage in decentralized networks (routing), security (cryptography) and technologies used by MaidSafe / SAFE Network.
- I will add more info myself while I’m looking into it.
Topic’s outcomes
Fuzzy logic as part of SAFE Network is present:
- in consensus (there’s even a paragraph on the Fuzzy logic wiki page for it: Forming a consensus of inputs and fuzzy rules) … Info provided by @dirvine
More details: consensus at the time a new event is broadcast is not binary (ie it’s fuzzy), however consensus eventually is binary (ie it’s not fuzzy) - all participants are guaranteed to reach consensus (if at last 2/3 in the group are honest) … Info provided by @mav - in data replication (i.e.how available is it, how many copies, is it cached, is it guaranteed) … Info provided by @dirvine
- when vaults decide to rate limit clients (it’s not a fixed global binary limit) … Info provided by @mav
- for resource capacity (not all clients provide the exact same resources, eg storage amount, bandwidth) … Info provided by @mav
- for the farm rate and pricing algorithm (always falling somewhere between 0 and 1, more info in rfc-0012) … Info provided by @mav
Fuzzy logic as part of SAFE Network is not present:
- for managing most malicious behaviour (you can see the list of behavious that have binary detection in the Malice In PARSEC rfc) … Info provided by @mav