Ouroboros has exceptional security but as the value of Cardano increases subtle vulnerabilities become sources to leak value. The evolution of the protocol requires rigorous tests and detectors.
This is the total amount allocated to Ouroboros Stress Test and Early Warning System.
Photrek has developed unique robustness metrics for information systems. Dr. Aman will use these probabilistic methods to design early warning detectors that we’ll evaluate on protocol testnets.
No dependencies.
YES
Photrek is developing Communities of Innovation centered around development and utilization of open-source capabilities. The Risk Intelligence Community of Innovation will focus on development of machine intelligence algorithms for managing risk. This effort grew out of an open-source collaboration called Machine Intelligence for Complex Systems which produced the following open source code bases:
Nonlinear Statistical Coupling Library - Apache v2.0 License
Coupled Variational Autoencoder - GNU v3.0 License
Cardano seeks to achieve the most decentralized, secure blockchain network as the foundation for an antifragile financial operating system. To achieve this goal, it is essential that the evolution of the Ouroboros protocol be designed and developed alongside a suite of rigorous stress tests and early warning detection systems. Ouroboros Praos established Cardano as a leader in secure decentralized proof-of-stake. The protocol continues to evolve with the anticipated release of Ouroboros Leios which will support Input Endorsers and enhanced optimization of transaction efficiency.
Photrek’s first stress test and detection system will focus on the ability of rogue actors to drain value from the network through manipulation of block production timing. If a multipool or a consortium of SPOs were to share slot leader selection information, that knowledge could be used to strategically withhold block production for the purpose of creating blockchain segments controlled by these Byzantine actors. Figure 1 shows the global block production predictions and experimental measurements. Collusion is difficult to detect because it can “hide” in the inherent uncertainty of Nakamoto proof-of-stake and result in smaller pools failing to mint their block assignments to the broader network. Although this type of event is expected to be a rare event, systematic exploitation could drain a substantial amount of value out of the network overtime. Photrek will quantify the real-world vulnerability, compare that with design analysis, and develop detectors for early warning.
Figure 1: Block Production
The Cardano community needs tools and educational materials to locally monitor the accuracy of the slot leader probabilities. Local alerts are needed when the accuracy of the probabilities drops below historic trends. Furthermore, analytical tools are necessary to identify which cluster of nodes are attempting a Byzantine attack. Furthermore an understanding of how upgrades to the Ouroboros protocol impact these vulnerabilities is needed.
Photrek and its partners will develop a Stress Test and Early Warning System that provides Cardano with
Figure 2 shows an example of a Risk Monitor plot, which will be the first tool developed for the Early Warning Detection System. This example was of an image generator algorithm. The histogram can show the distributional character of the forecasts. The Accuracy shows the central-tendency on a log scale; the Robustness shows the outlier performance; and the Decisiveness shows the ability to forecast the correct class (slot leader).
Cardano protocol developers and SPOs will be able to utilize the Risk Monitor to actively track the accuracy and robustness of the slot leader forecasts. This information can provide an early warning if slot leader selection and thus block production is being manipulated via block withholding or similar network distribution based attacks. The analysis will be completed across the network nodes and for individual nodes. By developing historical records of the Robustness-Accuracy-Decisiveness (R-A-D) metrics, alerts based on significant deviations from historical trends can be created. These alerts can for instance be used to determine whether multipool operators are withholding release of blocks in effort to increase their probability of slot leader selection.
Figure 2: Risk Monitor
How we perceive the problem we are solving:
The problem at hand involves ensuring accountability among SPOs based on the honest behavior outlined by the theoretical predictions in the Ouroboros Praos paper. This involves enabling real-time analysis of each party's data dissemination across the network. The introduction of a numerical risk model would empower developers and SPOs to conduct an empirical analysis of network health, thereby swiftly identifying any Byzantine behavior.
Our reasons for approaching it in the way that we have:
Who our project will engage:
How we will demonstrate or prove our impact:
Explanation of our unique solution, who will benefit, and why this should be important to Cardano:
This project will have a significant impact on and value for the Cardano ecosystem by
The project will provide significant impact through various ways:
We will aim to simulate anomalous events on the Cardano testnest and to engage with 3 SPOs to compare local measurements of network health using the Risk Monitor. These measures will demonstrate to the Cardano community the feasibility of having a decentralized measure of network health.
This tool will promote honest SPO block creation behaviors through the community accountability afforded by introducing locally computed probability metrics. In the short term, this may lead to improved trust within the community, as new Ouroboros designs are rigorously evaluated and SPOs have increased visibility into the relationship between actual leader distribution and the design goals. In the long term, this will enhance the level of decentralization within the ecosystem, thus strengthening the reputation and integrity of the Cardano network, attracting more users and developers.
Capability to Deliver
Validation of Feasibility
Trustworthy Management Processes
Stand-up initial Risk Monitor (1 month)
Milestone outcome:
Acceptance criteria:
Proof of milestone completion:
Validate Risk Monitor on Testnest (1 month)
Milestone outcome:
Update repository including operability scripts, data, and test tools.
Acceptance criteria:
Proof of milestone completion:
Validate usability of Risk Monitor (1 month)
Milestone outcome:
Acceptance criteria:
Proof of milestone completion:
Present Risk Monitor tools and documentation (1 month)
Milestone outcome:
Acceptance criteria:
Kenric Nelson, Ph.D.: Principal Investigator, President of Photrek, Improve design of Risk Metric and oversee execution of the project
Jose De Gamboa Program Manager, Photrek Cardano Lead, Customer Engagement and Project Execution
James Aman, Ph.D.: Teaching Professor at Rice University, Protocol Security Engineer, design byzantine experiment attacks
Ray Mata: SPO Specialist, Contribute to experiment design and usability tests
Biographies of the Project Team
Dr. Kenric Nelson is Founder and President of Photrek, LLC which is developing novel approaches to Complex Decision Systems, including dynamics of cryptocurrency protocols, sensor systems for machine intelligence, robust machine learning methods, and novel estimation methods. He served on the Cardano Catalyst Circle governance council and is leading a revitalization of Sociocracy for All’s
Dr. James Aman is a web3 practitioner, researcher, and educator. Since his introduction to blockchain in 2015, he has developed several decentralized applications across various blockchain networks and architected protocols such as Ouroboros Taktikos, a regularized Nakamoto proof-of-stake protocol. James currently serves as a faculty member at Rice University where he teaches an introductory blockchain course for undergraduate and graduate students that combines the technical and business impacts of decentralized ledger technologies. James also co-founded Topl, a novel layer-one protocol for building sustainable and inclusive communities. While at Topl, he led the teams responsible for the engineering and research efforts in implementing the Topl protocol including novel implementations of the key-evolving signature scheme and verifiable random functions required by the Ouroboros protocol.
Raymond Mata's professional career spans three decades, encompasses a diverse range of experiences and accomplishments. After graduating with a Pre-Med background in Psychology and Biology in Boston, he advanced to a freelance IT consultant and Server Engineer for a corporate datacenter serving 10,000 employees. Raymond later relocated to Hawaii and discovered his passion for education while teaching High School Computer Science and in parallel established a successful IT Managed Services Provider business with a ZERO-data loss track record providing technology solutions and critical support to local businesses across the islands for nearly two decades. Raymond then ventured into the blockchain crypto industry, inspired by its capacity to do good and address wealth distribution inequality. He opened business as a dedicated Cardano stake pool operator for GROW, staked with ~49M ADA and largely recognized for his on-going charitable child-saving initiatives. His present work at the intersection of blockchain and AI technology provides services to projects in the space ranging from community manager, game development & testing to blockchain infrastructure provider and systems administrator that all underscore his passion and commitment to the future of humanity and self-sovereignty.
Milestone 1: ₳ 38,000
Milestone 2: ₳ 36,000
Milestone 3: ₳ 36,000
Final Milestone: ₳ 40,000
Project costs are broken into the following categories as referenced in the table below:
Engineering
Customer Engagement
Computing resources
Program management
Contingency
Photrek is led by a five person Leadership Circle that uses consent-based decision making to make sure that our policies, objectives, and execution are consistent with building a collaborative environment for our team, our partners, and our customers. We work to develop Enlightened Pathways that enhance the intelligence and sustainability of the planet. Our approach to corporate governance is specified in the Photrek Sociocratic Operating Agreement.
Towards that end, we utilize competitive pricing methods that provide the highest value to our customers and support our team members with fulfilling lives. Our rates are based on self-employment in the US & Canada. The rates take into account the employment overheads of the resources contracted. The amounts are calculated for each milestone based on the hours to complete. For example the chart for engineering and scientific salaries in the Commonwealth of Massachusetts is provided here: https://www.mass.gov/guides/salary-and-compensation.