Facebook to Open QNNPACK's Source Code

The technology, designed for AI on mobile devices, is used in Facebook applications for image processing
30 October 2018   2015

Facebook has released the open source code for the QNNPACK AI library (Quantized Neural Network PACKage). It is designed for AI on mobile devices. The technology is used in Facebook applications for image processing. Since the computing power of mobile devices is lower than that of data processing servers, the developers used the latest advances in neural networks to keep the system performance at the proper level.

The library architecture is based on the convolutional neural network. Such a network is considered the most suitable for the recognition of visual images. To improve productivity, engineers applied the modified im2col memory matrix transformation and memory transformation technologies.

The im2col technology is a breakdown of the processed image into columns-vectors by the number of incoming channels. The creators of QNNPACK finalized this system by including a bypass buffer.

The bypass buffer contains pointers to rows of incoming pixels that should be involved in the calculation of outgoing. Using matrices, developers were able to reduce the buffer size relative to standard im2col implementations.

Facebook engineers refined the even-distributed convolution algorithm (depthwise convolution) by adding batch processing of 3 × 3 groups. For packet computing, general purpose registers (GPR) are used. The 3 × 3 convolution processing requires 18 registers (9 incoming and 9 for the filter), while the 32-bit ARM core architecture supports only 14. But since the filter remains unchanged during processing, the developers were able to reduce the resources needed for its storage to single register.

In the QNNPACK library, other advanced approaches to optimizing neural networks are implemented, for example, low-precision calculations.

The tool is published as part of the PyTorch 1.0 framework, released in early October 2018.

BNC to Monitor BTC Community's Mood

The system called Twitter Sentiment analyzes over 34M BTC-related Twitter posts each week, using AI to track the mood of the community
22 January 2020   479

Blockchain-based New Zealand-based research firm Brave New Coin (BNC) has unveiled a new system for measuring the mood of the Bitcoin community based on Twitter messages.

According to BNC, the new Twitter Sentiment rating system analyzes over 34 million BTC-related Twitter posts each week. The company uses artificial intelligence (AI) algorithms that look for records containing the words bitcoin, $ BTC and BTC and others.

BNC notes that user sentiment continues to be a “significant” factor in the price and dynamics of digital assets, and a new technique has been developed to track these sentiments. According to the BNC, it took 18 months to launch the Bitcoin Twitter Sentiment. The data obtained is divided into seven categories - Opinion, Technical Information, Inside the Network, Advertising, Bots, Macros and Hacking.

For the week ending January 17, the most common entries were in the Opinion category - their number was 30.42% of all data received. In second place was the category Technical Information, and in third inside the network (includes information on mining and hashrate).

BNC spokeswoman Pierre Ansaldi said that during the first quarter of this year, the company will also launch community sentiment analysis tools for other crypto assets.