Adversarial attacks involve the provision of adversarial examples of the model, which are inputs designed by the attacker to deliberately deceive the model to produce erroneous output.
Author Archive
Top applications of graph neural network 2021
At the beginning of the year, I felt that Graph Neural Network (GNN) became a buzzword.Here I suggest taking a look at the top applications of GNN that we have recently.
Where AI will improve in 2021
2021 seems to be an exciting year for the AI field.
How to judge whether AI startups are actually using AI
It has been a year since MMC Ventures released an unexpected discovery, and 40% of AI startups have not substantively used AI in their technology stacks.
Lu Qi: Seven key issues in the digital transformation of traditional enterprises
What companies need to understand is why they want to do it, what time to choose, the way they take, and the challenges they may encounter.In this article shared today, Lu Qi systematically analyzed and answered these questions.
How to build a trusted AI system (Trustworthy AI)
AI ethics scientist, what role is this, and what is its role? What is the relationship between AI and "ethics"... And what does AI with "ethics" need to look like?
How to build AI applications that users can trust
Essentially, to gain user acceptance, you need to take a two-step approach: let users know what data you want to collect and why you want to collect data, and let them control the collection.
Capsule neural network
back ground
research problem
Research motivation
CNN flaws
Inverse graphics
Capsule network advantages
-
Because the capsule network collects pose information, it can learn a good representation effect through a small amount of data, so this is also a big improvement over CNN. For example, in order to recognize handwritten numbers, the human brain needs dozens of up to hundreds of examples, but CNN needs tens of thousands of data sets to train good results, which is obviously too violent! -
The way of thinking is closer to the human brain, and the hierarchical relationship of internal knowledge representation in neural networks is better modeled. The intuition behind the capsule is very simple and elegant.
Cons of Capsule Network
-
The current implementation of the capsule network is much slower than other modern deep learning models (I think it is the effect of updating the coupling coefficient and the convolution layer overlay), and improving the training efficiency is a big challenge.
Research Projects
What is a capsule
Artificial neural networks should not pursue perspective invariance in "neuronal" activities (using a single scalar output to summarize the activity of repeating feature detectors in a local pool), but should use local "capsules" The input performs some fairly complex internal calculations, and then encapsulates the results of these calculations into a small vector containing informative output.Each capsule learns to identify a visual entity that is implicitly defined within a limited range of observation conditions and deformations, and outputs the probability that the entity exists within a limited range and a set of "instance parameters"The instance parameters may include precise pose, lighting conditions, and deformation information relative to the implicitly defined typical version of this visual entity. When the capsule works normally, the probability of the existence of the visual entity is locally invariant-when the entity moves on the appearance manifold within a limited range covered by the capsule, the probability does not change. Instance parameters are "isovariant"-as the observation conditions change, when the entity moves on the appearance manifold, the instance parameters will change accordingly, because the instance parameters represent the intrinsic coordinates of the entity on the appearance manifold.
-
Artificial neurons output a single scalar. The convolutional network uses a convolution kernel so that the results calculated by the same convolution kernel for each region of a two-dimensional matrix are stacked together to form the output of the convolution layer. -
The maximum pooling method is used to achieve the perspective invariance. Because the maximum pool continuously searches the area of the two-dimensional matrix and selects the largest number in the area, it meets the activity invariance we want (that is, we slightly adjust the input and the output is still the same) In other words, on the input image, we slightly transform the object we want to detect, and the model can still detect the object. -
The pooling layer loses valuable information and does not take into account the relative spatial relationship between the encoded features. Therefore, we should use capsules. All important information about the state of the features in the capsule detection will be encapsulated by the capsule in a vector form ( Neurons are scalar)
Inter-capsule dynamic routing algorithm
-
Weights are non-negative scalars -
For each lower capsulei In terms of ownershipcij The sum is equal to 1 -
For each lower capsulei In terms of the number of weights equal to the number of high-level capsules -
These weights are determined by an iterative dynamic routing algorithm
-
More iterations often lead to overfitting -
3 iterations are recommended in practice
Overall framework
-
First layer: convolution layer -
Second layer: PrimaryCaps layer -
Third layer: DigitCaps layer -
The fourth layer: the first fully connected layer -
The fifth layer: the second fully connected layer -
The sixth layer: the third fully connected layer
Encoder
Convolution layer
-
Input: 28 × 28 images (monochrome) -
Output: 20 × 20 × 256 tensor -
卷积核:256个步长为1的9×9×1的核 -
Activation function: ReLU
-
Input: 20 × 20 × 256 tensor -
输出:6×6×8×32张量(共有32个胶囊) -
卷积核:8个步长为1的9×9×256的核/胶囊
-
Enter: 6 × 6 × 8 × 32 tensor -
Output: 16 × 10 matrix
Loss function
decoder
-
Input: 16 × 10 matrix -
Output: 512 vector
-
Input: 512 vector -
Output: 1024 vector
-
Input: 1024 vector -
Output: 784 vector
参考资料
Artificial intelligence technology has great potential in epidemic prevention
Recently, a sudden outbreak of new coronavirus pneumonia (NCP) has taken people by surprise. However, in order to achieve better anti-epidemic effects, many scientific researchers have applied many technical methods to fight the epidemic. Among them, artificial intelligence technology has become one of the powerful weapons in this battle against epidemic and epidemic prevention; it has helped epidemic prevention and epidemic prevention in epidemic prevention and control, image analysis, auxiliary diagnosis, and vaccine development.
Judging AI in spring or winter, just look at this indicator
Some people think that AI is too far away from us, it is too early to talk about it; some people think that the AI era has arrived, and we should seize the dividends of the era. So, is AI in the spring or winter?