Difference between revisions of "SingularityNet"

From SI410
Jump to: navigation, search
(editing)
m (Command Line Interface)
Line 40: Line 40:
  
 
The CLI provides commands to interface with the Blockchain in the following ways:
 
The CLI provides commands to interface with the Blockchain in the following ways:
*creating and managing identities; <ref name=cli></ref>
+
*Creating and managing identities; <ref name=cli></ref>
*registering and managing the organizations, members, services, types, and tags on the SingularityNET Registry; <ref name=cli></ref>
+
*Registering and managing the organizations, members, services, types, and tags on the SingularityNET Registry; <ref name=cli></ref>
*claiming funds from customers using MPE and payment channels; <ref name=cli></ref>
+
*Claiming funds from customers using MPE and payment channels; <ref name=cli></ref>
*reading and writing metadata and Protobuf specs about AI services (these are stored on IPFS, while basic service parameters can be fetched from Blockchain contracts) <ref name=cli></ref>
+
*Reading and writing metadata and Protobuf specs about AI services (these are stored on IPFS, while basic service parameters can be fetched from Blockchain contracts) <ref name=cli></ref>
*connecting to different networks like local testnets, Kovan, Ropsten, and the Ethereum mainnet. <ref name=cli></ref>
+
*Connecting to different networks like local testnets, Kovan, Ropsten, and the Ethereum mainnet. <ref name=cli></ref>
  
 
The CLI also provides service development and deployment support. It can set up new services by generating service metadata, Protobuf specs, and code templates provided by the SingularityNET Foundation. The CLI interacts with daemons for each service. <ref name="cli"> SingularityNet (2019). [https://dev.singularitynet.io/docs/concepts/snet-cli/]. ''The SingularityNET Command Line Tools''. Retrieved April 09, 2021. </ref>
 
The CLI also provides service development and deployment support. It can set up new services by generating service metadata, Protobuf specs, and code templates provided by the SingularityNET Foundation. The CLI interacts with daemons for each service. <ref name="cli"> SingularityNet (2019). [https://dev.singularitynet.io/docs/concepts/snet-cli/]. ''The SingularityNET Command Line Tools''. Retrieved April 09, 2021. </ref>

Revision as of 17:52, 13 April 2021

Back • ↑Topics • ↑Categories

editing :)

SinglarityNet Logo [1]
Example of MarketPlace [2]

SingularityNet provides a decentralized protocol and network on which AI services can cooperate, coordinate, and interoperate. It was founded by blockchain/AI entrepreneurs Ben Goertzel, David Hanson, and Simone Giacomelli. [3]. Due to its decentralized nature, anyone from around the world can take part in creating or utilizing an AI service, as well as staking the native token ($AGI) to facilitate marketplace operations and earn a reward. Critically, SingularityNet shifts the barrier of entry downwards for engaging in the world of research-grade artificial intelligence services. The SingularityNet community, blog, and YouTube channel all provide valuable perspectives on the development of decentralized services relating to AI, as well as some well-needed ‘big picture’ information for this period of technological change. Though still in its technical infancy, its theoretical potential has gained the attention of mainstream media outlets[4] and hackers alike.


Decentralizing AI Services

Publishing

The publishing process on SingularityNet is structured in a way that any individual or group with an internet connection can establish an Ethereum identity (soon to be a Cardano identity)[5] and link their computers as a cluster to begin working on the creation of AI “agents” – another way of saying semi-autonomous machine learning algorithm. To add new members to the organization or service, the owner simply needs to add the additional user's email address. Currently, using the Ethereum Ropsten testnet, a team or individual has plenty of room to toy with and tweak the AI before publishing to the SingularityNet open marketplace which runs on the Ethereum mainnet. But before their AI is published, it is checked by the SingularityNet team and then officially published onto the marketplace[6]. In this testnet environment, they have access to faucets for testnet ETH and AGI, allowing them to fuel any tests necessary to confirm that their "agent" is prepared for the mainnet marketplace. Once polished, the individual or team releases their agent to the market, wherein its services are purchased for some set cost paid in AGI, which the individual or team then receives.

Marketplace

The marketplace itself is something like a bazaar for AI/machine learning services. It lists the available AI services and helps users interact with those services through the web interface, which helps display all details about the service quickly without relying on the slow Blockchain (The Blockchain is a system where a record of transactions made in a cryptocurrency are maintained across several linked computers)[7]. At the time of writing, the vast majority of the services are agents created by SingularityNet to provide cheap demos for the kinds of services that would be available once institutional adoption occurs. An example of the kinds of services currently available at the marketplace includes algorithms such as those that aid in colorizing and restoring black and white photographs, or another that helps to annotate and represent genetic data.

The SingularityNET Marketplace does the following:

  • Reads data from the on-chain Registry and pairs it with off-chain metadata. This allows for searching, filtering, and discovering AI services. [8]
  • Integrates the SingularityNET curation service, and displays from the registry. [8]
  • Displays custom UI components for interactions with AI services. [8]
  • Integrates with Multi-Party Escrow, to allow consumers to pay for service usage; Allows consumers to rate about the utilized services. [8]
  • Captures usage metrics at a consumer level. [8]

Native Token: AGI

AGI is the proprietary cryptocurrency token used by the SingularityNET platform. SingularityNET (AGI) is an Ethereum based token complying with ERC-20 standards. The AGI token will be used to settle a transaction over the Blockchain. [9] In addition, agents are required to stake[10] an amount of AGI tokens to go about performing on the network. This stake can be partially drained if their ranking drops below a certain level, thus incentivizing performance. AGI is also used by the community to fund the development of AI and machine learning services via the RFAI functionality.

Request For AI

Integral to the smooth functioning of the marketplace is the Request For AI[11] (RFAI) functionality. In essence, RFAI allows the community of developers and general token holders to create specific requests for well-defined services and to fund requests which have already been made using the AGI token. Once developers propose various solutions to some request, those who have funded the request will vote on which solution functions optimally, and the AGI which tokens used to fund the request will be distributed according to the voting distribution [11]. After the voting is ended and developers claim their proportion of the AGI tokens, the request is closed, though the solution can be made available by the developer in the marketplace.

SingularityNet Media and Community

Screengrab from the SingularityNet Blog

As a rule, blockchain-based projects tend to evolve rapidly and make connections at the same pace as other relevant projects. This is true for any young business, but in the still-young world of blockchain, projects are constantly trying to find their space and coordinate with other relevant projects. SingularityNet has been a part of this trend, coordinating with projects such as Cadarno on the migration of the native token to the Cardano blockchain[5], and with NuNet, a decentralized computing platform[12]. SingularityNet does not only cover their partnerships and technical roadmap, the Youtube channel provides access to recorded excerpts of AGI conferences and even small talks from founder Ben Goertzel concerning books relevant to a world with artificial general intelligence. One such book review was about “Sand Talk”, by Tyson Yunkaporta, and discusses the ways of being and knowing which have been widely lost by our global and technological society.

In ensuring the future of these emerging technologies lies in the hands of people who are informed about broader the troubles of the world, these seemingly tangential discussions are worth their weight in gold for blockchain technology communities. Tech corporations raised under a classically centralized structure (i.e. Facebook, Google) have come to be a moral and social burden on society at large[13]. Though the social outreach of these corporations has been extreme and in many cases with positive intent, their inherent structure and bottom line tend to obfuscate the realization of their philanthropic social goals. The aims of SingularityNet providing mass access to media wherein professionals speak of decentralizing the institutions of health, finance, the economy, and even consciousness, will inform those closest to the cutting edge of a world less reliant on the massive corporations of the past two decades.

Developer Support Tools

Overview of how the CLI works [14]

Command Line Interface

The SingularityNET command line interface (CLI) is the primary tool for interacting with the platform’s smart contracts, managing deployed services, and managing funds. [9]

The CLI provides commands to interface with the Blockchain in the following ways:

  • Creating and managing identities; [15]
  • Registering and managing the organizations, members, services, types, and tags on the SingularityNET Registry; [15]
  • Claiming funds from customers using MPE and payment channels; [15]
  • Reading and writing metadata and Protobuf specs about AI services (these are stored on IPFS, while basic service parameters can be fetched from Blockchain contracts) [15]
  • Connecting to different networks like local testnets, Kovan, Ropsten, and the Ethereum mainnet. [15]

The CLI also provides service development and deployment support. It can set up new services by generating service metadata, Protobuf specs, and code templates provided by the SingularityNET Foundation. The CLI interacts with daemons for each service. [15]

Software Development Kit

The SingularityNET software development kit (SDK) is a tool for AI customers to make calls to service. The SDK simplifies the process of integrating with SingularityNET services and provides tooling to automatically augment gRPC client stubs with the necessary authorizations. [9] The SDK is available in NodeJS, Python, and Java languages. The SDK can include several default funding strategies for payment channels but allows and supports the developer to implement funding strategies for payment channels of their own, to control over tokens and service payments. The SDK, in combination with the CLI, simplifies the process of fetching the latest service specification for dependent services and compiles the proto definitions, so that the services can be invoked with minimal fuss. [16]

Ethical Implication

The ethical implications of AI development are vast, with many critics concerned with the potential widening of racial and socioeconomic inequality[17] in a world ever more reliant on big data, and with many others hopeful and excited for advancing domains of science and technology that could one day be used to help the populace. These perspectives shed light on a broad polarity of the issue of AI development, but with protocols such as SingularityNet harnessing the decentralized nature of blockchain technology, the view on AI ethics will undoubtedly shift frame (though not away from classical concerns) towards a world more reliant on decentralized AI services. The past two decades in the corporate realm have created bloated and massively powerful tech institutions hoarding data troves of mythical proportion. This, coupled with older, global institutions built upon outdated and imperfect axioms, has led the data processing of our highly networked society to skew towards maintaining ineffective, but profitable, cultural institutions which have taken a new form in the digital age[18].
SingularityNet foundation blog visual[19]

However, with technology like SingularityNet, its political form skews inherently[20] towards democratizing the way value flows through data processing systems. In this way, as more and more people from around the world contribute their created ML/AI services to this open network, the systems and inventions cultivated from access to these tools will reflect more properly the interpretative mode of the populace. Interpretation[13] of data, models, and experiments is one of the factors which forces centralized, corporate entities to design and produce technological products which serve to further entrench the world within the status quo of data centralization. Decentralized systems, such as SingularityNet, aid in decentralizing the work of interpreting and creating models, aligning incentives further away from the centralized model of corporate governance we have seen over the past two decades with the likes of Facebook and Google.

See Also


References

  1. malexaffey (Apr 16, 2019). [1]. medium. Retrieved Apr 9, 2021.
  2. SingularityNET. (2021). [2] SingularityNET: Home. Retrieved Apr 09, 2021.
  3. SingularityNet (2019). [3]. SingularityNet Whitepaper 2.0. Retrieved Mar 8, 2021.
  4. Damiani, Jesse (2017). [4]. AI Is The Future Of Computing, And SingularityNET Is The Future Of AI. Retrieved Mar 8, 2021.
  5. 5.0 5.1 SingularityNet (2021). [5]. Cardano and SingularityNet proposal explanation. Retrieved Mar 26, 2021.
  6. SingularityNet (2021). [6]. Introduction to the Publisher Portal. Retrieved Apr 1, 2021.
  7. SingularityNet (2021). [7]. Introduction to SingularityNET Marketplace. Retrieved Apr 1, 2021.
  8. 8.0 8.1 8.2 8.3 8.4 SingularityNET (2021). [8]. Documentation: Marketplace. Retrieved April 01, 2021.
  9. 9.0 9.1 9.2 SingularityNet (2019). [9]. Documentation: Key Terms. Retrieved April 09, 2021.
  10. SingularityNet (2020). [10]. Why the AGI Token Needs Staking. Retrieved Mar 9, 2021.
  11. 11.0 11.1 SingularityNet (2020). [11]. Request for AI Service. Retrieved Mar 9, 2021.
  12. NuNet (2020). [12]. NuNet Whitepaper: A Global Economy of Decentralized Computing. Retrieved Mar 26, 2021.
  13. 13.0 13.1 Danah Boyd, Kate Crawford (2012). [13]. CRITICAL QUESTIONS FOR BIG DATA Provocations for a cultural, technological, and scholarly phenomenon. Retrieved Mar 9, 2021.
  14. SingularityNet (2019). [14]. SingularityNet Whitepaper 2.0. April 09, 2021.
  15. 15.0 15.1 15.2 15.3 15.4 15.5 SingularityNet (2019). [15]. The SingularityNET Command Line Tools. Retrieved April 09, 2021.
  16. SingularityNet (2019). [16]. Introduction to SDK. Retrieved April 09, 2021.
  17. O'Neil, Cathy (2016). Introduction. Retrieved Mar 12, 2021.
  18. Zittrain, Jonathan, Cathy (2009). [17]. The Internet Creates a New Kind of Sweatshop. Retrieved Mar 12, 2021.
  19. Khan, Arif (2019). [18]. A beginner’s guide to the SingularityNET Beta [UPDATED]. Retrieved Mar 12, 2021.
  20. Winner, Langdon (1980). [19]. Do Artifacts Have Politics?. Retrieved Mar 12, 2021.