Proof of Knowledge
{"type": "project", "title": "Proof of Knowledge", "website": "https://desci.world/", "createdAt": 1699758065932, "userGithub": "Ataxia123", "credentials": {}, "description": "\n## Proof of Knowledge Protocol Documentation\n\n>[!Proof of Knowledge]\nThis document outlines the Proof of Knowledge (PoK) protocol within the DeSciWorld ecosystem. The PoK mechanism rewards individuals for their valuable contributions of knowledge via a blockchain-based platform, allowing for seamless recognition, validation, and dedication of rewards. \n# Introduction\n\nIn the complex realm of knowledge-sharing and discovery, striking a balance between security, transparency, reward mechanisms and accessibility is a persistent challenge. Traditional models often hinge on centralized validation systems that may constrain inclusivity and broad-based participation. Moreover, current systems may fail to adequately reward or recognize knowledge contributions, possibly impacting the advancement of comprehensive, collective knowledge repositories.\n\nAddressing these intricacies, the Proof of Knowledge (PoK) protocol, implemented within the DeSciWorld ecosystem, offers a versatile solution. PoK is a blockchain-based primitive designed to incentivize and reward knowledge contributions within a decentralized architecture. It forms a vital component of a knowledge-based economy, paving the way for fair recognition and incentivization of intellectual contributions, while maintaining transparency and accessibility.\n\nThis document provides a detailed examination of the Proof of Knowledge protocol - explaining the submission and validation of knowledge through the creation of kEngrams, the ascription of value to these contributions, and how interaction metrics shape the dynamic value allocation. As a fundamental building block towards a fully-fledged knowledge-based economy, the PoK protocol offers a comprehensive framework to fuel intellectual contribution and foster an environment of continuous learning and knowledge exchange.\n\n### Introduction to kEngrams as a Unit of Knowledge \n\nkEngrams can be defined as a structured unit or node of knowledge within a Knowledge Graph. It's a piece of information that is interconnected within a broader landscape of data, contributing to the broader understanding of a concept or topic.\n\n##### Components of an Engram\n\nAn Engram consists of several integral components that collectively contribute to its formation and execution:\n\n- **Study Question:** This encompasses the essential content of the query.\n\n1. **Data:** This is the base content of the Engram, formulated into a set of markdown notes that contains the information added in order to explore the study question. \n   \n2. **Metadata:** The Metadata provides critical information about the ownership of the engram and its historic record of usage by the DSW PoK protocol. It lends context and understanding about the contained knowledge, bolstering its relevance within the Knowledge Graph.\n\n3. **Unique Identifier:** Every Engram has a unique ID associated with it, allowing for its distinct recognition, tracking, and management within the overall Knowledge Graph system.\n\n4. **Relationships:** These are connections that an Engram has among its underlying data. These relationships can be thought of as edges in the graph, defining how pieces of information are interconnected, and enabling the creation of a comprehensive, multi-dimensional structure of knowledge. \n\n### Engram Life-cycle\n\nThe life-cycle of an Engram is a dynamic and multi-faceted process, marked by several steps: its composition, addition of value, utilization, and evolution over time. Here's a general overview of the process:\n\n#### 1. Composition\n\nThe life-cycle of an Engram begins with its composition. Typically, a group or an individual creates an Engram by compiling pertinent information around a specific topic or query. This information, commonly referred to as 'data', is then structured and organized within the engram to establish the shape and contents of the knowledge unit which then get submitted using the Ethereum Attestation Protocol (EAP).\n\n##### Utilizing Ethereum Attestation Service (EAS) in the Proof of Knowledge (PoK) Protocol\n\nAn integral component of our Proof of Knowledge (PoK) protocol is the Ethereum Attestation Service (EAS).  EAS provides a secure, decentralized, and transparent system for verifying and validating various kinds of interactions within our knowledge ecosystem.\n\nSpecifically, within the PoK protocol, the EAS applies to the life-cycle of an Engram. This life-cycle includes the initial creation of Engrams, stages of value addition, their utilization by various users, and their evolution over time. The EAS authenticates each stage of this process, creating a reliable record of Engram or SQ history and interactions.\n\nWhen an Engram is first created, it is recorded via an attestation. The creator of the Engram is also noted through EAS, attesting that they were the original contributor of that knowledge piece. As value is added to this Engram—be it through more data, insights, revisions, or connections—each change is also captured through an attestation, creating a trail of evolution and accumulation of intellectual input.\n\nAs the Engram continues to be used among a global network of AI interfaces, each interaction and usage is also documented. These records contribute to an Engram's ongoing validation in our ecosystem. This evidence-based approach ensures that each Engram's relevance, accuracy, and utility are continuously verified, evaluated, and updated.\n\nFinally, the Ethereum Attestation Service also lays the groundwork for our incentive mechanism. Each attestation becomes part of the computation determining value attribution and reward distribution. EAS ensures a transparent and fair system where contributors of Engrams are rewarded based on actual utility and demand in the ecosystem.\n\nIn summary, the use of EAS within the PoK protocol forms a trustworthy and secure system for validating knowledge contributions and rewarding contributors. It answers the call for a distributed, transparent, and reliable method to authenticate, validate, and incentivize meaningful engagements in a decentralized knowledge ecosystem.\n# Defining an Engram Schema for Proof of Knowledge\n\nEthereum Attestation Service (EAS) schemas define the structure and type of data in an attestation. To facilitate the verification and recording process of an Engram within the Proof of Knowledge (PoK) protocol, we need to create a schema that includes all the necessary details about each Engram.\n\nHere's an example schema for the Engram record:\n\n```\n{\n    Schema # : \"Incremental number\",   //This number is auto-assigned & non-unique\n    UID: \"Unique Identifier\",          //This identifier is unique to the engram\n    Creator: \"Creator's wallet address\",  \n    Transaction_ID: \"Ethereum transaction ID\",  //Transaction ID for the engram creation\n    Resolver_Contract: \"Optional contract ID\",  //If any, for complex cases\n    Attestation_Count: \"Number\",       //The number of attestations made on/off chain\n    Schema: {\n        Engram_Title: \"String\",\n        Engram_Description: \"String\",\n        Engram_Creation_Timestamp: \"UNIX Timestamp\",\n        Related_Study_Questions: [\"Array of Study Question UIDs\"],\n        Knowledge_Field: \"String\", //The field of knowledge the Engram pertains \n        Engram_Contributor: \"User ID/Wallet address of the contributor\",\n        Engram_Usage_Metrics: {\n            Frequency_Of_Appearance: \"Number\",\n            Frequency_Of_Selection: \"Number\",\n            Frequency_Of_References: \"Number\",\n            Helpfulness_Rating: \"Float\", //Scale of 1-5\n        },\n    }\n}\n```\n\nThis schema clearly and concisely captures all necessary information about each Engram. It records the Engram's title, description, the timestamp of its creation, and its associated Study Questions. It also includes a field indicating which domain of knowledge the Engram falls under. We attribute each Engram to its contributor and track usage metrics to understand how frequently the Engram is appearing and selected, how often it is referenced, and how helpful users find it.\n\n**Note:** This is an initial outline for a schema dedicated to recording an Engram as a proof-of-knowledge. Depending on the specific requirements of your project, this schema could need to be extended or modified. Moreover, don't forget to consider gas efficiency when designing your schema - try to maintain a balance between the level of detail and efficiency.\n\n#### 2. Addition of Value\n\nOnce an Engram has been formed, it can be further enriched and enhanced by other groups or individuals who add their own knowledge and insights to it. They can integrate additional data, revise existing information, or link the Engram to other related Engrams within the Knowledge Graph. This collaborative process of knowledge amplification adds a multi-dimensional depth of understanding to the Engram, enhancing its value.\n#### Validation of Engrams\n\nThe validation process of individual Engrams happens continually throughout the lifecycle of its usage by a global network of AI interfaces. This mechanism operates as a form of a knowledge market, where the relevance, accuracy, and usefulness of an Engram's information are tested and reaffirmed through its active usage and demand.\n\nAI interfaces, when querying a database or Knowledge Graph, will interact with and select Engrams based on their relevance and usefulness to the query or task at hand. These traces and records of interaction and usage then form a part of the 'lifecycle' of the Engram. Over time, Engrams that repeatedly prove to be beneficial and relevant will garner higher validation scores through their usage statistics.\n\nThis method of validation leverages the dynamic and iterative abilities of AI - factoring in the frequency, nature, and context of an Engram's usage - to ascertain its value and authenticity within the Knowledge Graph. It serves to maintain the quality, relevance, and value of information in the Knowledge Graph, ensuring that the Engrams reflect validated, useful, and reliable units of knowledge.\n### Coherence and The Role Of The Human Operator\n\nCoherence, in the context of engram creation, serves as a crucial metric to ensure the consistency and logical connection between different knowledge units within an engram. It is essential for delivering a seamless narrative that not only makes sense but also accurately and efficiently serves to answer queries generated within the system.\n\nHuman operators play a pivotal role in maintaining and ensuring coherence within engrams. They design, monitor, and adjust the processes of engram creation and structuring, thereby ensuring that individual pieces of information are logically and correctly linked together. They act as the quality control mechanism to ensure there is no dissonance within the knowledge nodes and that each engram maintains structural and informational integrity. \n\nHuman operators also refine the accuracy and relevance of the information within engrams, periodically updating and revising the information as necessary. They are also responsible for analyzing coherence metric outcomes, making decisions to restructure or revise engrams whenever necessary to optimize coherence.\n\n### Local to Global Coherence\n\nLocal coherence refers to the immediate relationships and connections within singular engrams, while global coherence extends to the broader context of the Knowledge Graph, considering the relationships and interconnections between multiple engrams.\n\nThe extrapolation of local coherence to globally coherent embedding spaces is a critical aspect of Knowledge Graph development. It ensures that the entire structure of interconnected knowledge is logical, consistent, and cohesive, thereby maximizing the usefulness and reliability of the Knowledge Graph as a whole.\n\nWhen local coherence is maintained within each engram, and these coherently structured engrams are interconnected, it leads to the creation of a globally coherent embedding space. \n\nThis global coherence is fundamental for the effective functioning of AI in deriving meaningful insights and responses from the Knowledge Graph. A globally coherent Space allows for efficient navigation through the Knowledge Graph, easier identification of relevant engrams, and more accurate responses to queries or tasks. \n\nIn a nutshell, coherence is fundamental, shaping the value of Knowledge Engrams, and ultimately, informing the efficacy and accuracy of a Knowledge Graph. By prioritizing coherence via engram structuring and human operator guidance, one can facilitate accurate, meaningful, and useful exchanges of information within this system.\n\n#### Knowledge Validation & Value Attribution\n\nThe validation process within the DeSciWorld PoK ecosystem operates as an emergent property of a free market of knowledge. It is an unconstrained arena where diverse viewpoints vie for relevancy, encouraging a robust, dynamic interplay of ideas and perspectives.\n\nUnlike conventional, centralized validation systems, this decentralized model does not pre-emptively adjudicate or prioritize one piece of knowledge over another. Instead, the relevancy of each Engram or Study Question (SQ) is determined organically through its usage and demand within the ecosystem.\n\nIn this free market of knowledge, each Engram competes for attention and usage. The merit of an Engram is not determined by a unilateral authority but through its actual utility and effectiveness in satisfying a user's query or task. Engrams that demonstrate persistent usefulness and applicability over time, as judged through the unbiased lens of Language Learning Models (LLMs), accrue higher relevancy scores.\n\nThis competitive and responsive environment ensures that the validation process is continuously refined and realigned according to the evolving needs and preferences of users. It overcomes inherent biases and silos, fostering a system where the best, most useful, and most relevant knowledge prospers.\n\nIn essence, within the DeSciWorld model, validation isn't a one-time stamp of approval but a continuous process of adaptation, adjustment, and evolution — a dynamic reflection of a knowledge unit's continuous performance in the marketplace of ideas and information.\n\n\n#### 3. Utilization & Evolution\n\nEngrams, once submitted, are then available for use. They are identified and selected by AI interfaces based on their relevance to specific queries or tasks. The frequency, context, and nature of how these Engrams are utilized play a crucial role in determining their ongoing validation scores and their corresponding value within the knowledge market.\n\n##### The Role of the Search System and User Metrics \n\nAn integral part of DeSciWorld's PoK mechanism is the advanced AI-based search system. The search system is used  to maintain an updated embedding set which can locate specific Engrams or Study Questions. Each substantial interaction with an Engram sends usage data to the PoK mechanism which can be used to determine incentives for the creation of relevant engrams. \n\nUser interactions can range from the frequency of appearances of an SQ in search results, the frequency of its selection from the results, the number of direct or indirect references made to it in new SQs, and assessments of how helpful the SQ was to a user's research or learning process. \n\nThe system measures these interactions and, based on that, adjusts the value of each Engram. The more an Engram is recognized as beneficial or pivotal to ongoing research or learning, the more value it gains in the system, and the greater rewards are distributed to the Nerd who contributed it.\n#### Engram Evolution \n\nAs knowledge terrains continue to expand and evolve, so do Engrams. Along the life-cycle, an Engram may undergo several evolutions, manifested as updates, revisions, or further value additions. New data may be contributed, older information may be updated or made obsolete, and new connections to different Engrams may be established. All these changes contribute to the growing lifecycle of an Engram, helping it remain relevant, useful, and accurate in the dynamic ecosystem of the Knowledge Graph.\n\nIn essence, the life-cycle of an Engram is a continual journey of knowledge creation, addition, validation, utilization, and evolution. It encourages constant engagement, collaboration, and learning, fostering a vibrant, interconnected hub of collective knowledge.\n\n\n## Conclusion\n\nThe Proof-of-Knowledge mechanism as part of the DeSciWorld ecosystem uses blockchain technology for incentivizing contributions and verifying the accuracy and relevance of knowledge within the network. It offers a dynamic and adaptable system that caters to the varying needs and interests of users while continually encouraging a superior standard of shared knowledge.", "projectGithub": "NERDDAO", "projectTwitter": "DeSciWorld"}