upward
discuss a task
    en
    ru en

how neural networks work: exploring principles and practical applications

How many algorithms have you implemented today? - If today is a weekday, then I will wake up at six, otherwise I will continue to sleep. - If a few of my colleagues have gathered at the coffee machine in the morning, I will pour myself coffee, otherwise I will go and look through my news feed. If you believe in the free choice of your immortal soul, forget it. You are controlled by a neural network. Every day, your neurons, hand in hand with synapses, decide what to do with you. At the end of the article, you will find a pleasant or not very understanding: there is no free will - only solid mathematics.

Why do neural networks need to recognize cats? Because they can

Techies are the laziest people on the planet. At first it is difficult for them to wash and they invent a washing machine, then it becomes tedious to wash with their hands and ... You understand. Worse than them only IT people. The crowning achievement of their laziness is an artificial neural network. It is almost like a real one, but only in a computer. There are three global applications for neural networks:

1. Classification. For example, if you choose a mug for morning coffee, then distribute all the mugs according to the parameters - what size it is, color, whether there is a print in the form of cats - and only then take the one you like the most. The neural network classifies faster and better than you. No offense.

2. Prediction. The neural network will not be able to predict your fate (and even if it can, it will not tell you), but it can predict the growth of stocks based on the situation in the stock market.

3. Recognition. This is the most interesting application of neural networks. How many of you determined your age from a photograph? There are neural networks that determine whether there is a cat in the photo. And there are even those that not only determine, but also drive someone else's cat off your lawn. But do not judge the moral qualities of all neural networks by one of its representatives.

Marshmallow or not marshmallow, that is the question

An artificial neural network, of course, is not an easy task. Let's leave the implementation to the experts, and we'll go to the top ourselves. Let's assemble our own neural network, which will decide whether to buy this pack of marshmallows for us. And the problem of mankind will be solved.

We have four parts: three neurons and one synapse. This is all we need to make any decision. There are three types of neurons: input, output, and hidden. Input neurons take on information, transmit it to the hidden ones. Those, in turn, think about the information and give it to the output neurons, which announce the decision.

Synapses are neural connections that allow neurons to communicate.

Imagine standing in front of a candy shelf in a store. At this point in your life, only three things are important:

1. It's winter now, and in winter, hot cocoa with marshmallows is especially beautiful.

2. You love pink.

3. But don't like chocolate.

Input neurons understand only two words from human language: yes and no. Therefore, let's take three input neurons, each of which is waiting for an answer to its own question:

1. Is it winter now?

2. Is the marshmallow pink?

3. Is it covered in chocolate?

Until the neurons know this, they need to be informed. And when they find out, they keep it inside themselves. Neurons store numbers in themselves - this is their language and they know it very well. In this language, they communicate with synapses. Each synapse (connection) has its own weight. In fact, this is the most important thing, because weight is everything.

Let's finally tell the input neurons what's going on: it's not winter outside, the marshmallows are pink and covered in chocolate. Let's also assume that the first synapse has a weight of 0.5, the second has a weight of 0, and the third has a weight of 0.5.

If the input neuron says "yes" to the synapse, then the synapse fires and passes on its weight. In our case, the second and third synapse will transmit 0 and 0.5, while the first will not transmit anything. The red output synapse will receive the final value. He will make a positive decision if he receives an amount equal to or greater than 0.5.

In our case, he gets 0 + 0.5 = 0.5 and decides to buy marshmallows. And now you are standing at the checkout, summer is blooming outside the window, in your hands is a pack of pink marshmallows in chocolate, and you understand that this is not at all what you wanted. Something went wrong in your life.

What did you expect? Neural networks need to be trained.

School for naughty neural networks

When a decision made by a neural network does not fit into any framework of the law and your morality, you need to do something about it. Some data that we set was incorrect, hence the following result. It’s really summer outside the window, you really are a lover of delicate pink shades and you haven’t flared up with a passion for chocolate. So something is wrong with the weight of the synapses. This is how neural networks are trained. After each check, the weight of the synapses that led to the error is changed. We are not IT people, not lazy щтуы, so we will do it manually. We will give the first and second synapses a weight of 0.5. If one of these conditions is met, we will take the marshmallow from the shelf. And we will give the third synapse a weight of -1.5, because under no circumstances do we want to see chocolate on our favorite dessert, God forbid. Checking.

The output synapse tells us the result is "-1" and advises against taking this marshmallow. Now the network is working properly. And now we have one good news and one bad news. The good news is that we now have a smart neural network that knows your marshmallow preferences. Well, the bad one is no sweets today.

Training neural networks is the second big pain after designing their architecture. Any change in the input data completely changes the value of all neurons. And if we can analyze three synapses, then manually tracking the values of a million synapses is simply impossible. We conclude that machine learning specialists do not eat their bread in vain.

Problem under the asterisk: hidden neurons

But our desires are much more complicated. Let's say you're having a bad day at work, and a couple of airy sweet marshmallow pillows could save not only your mood, but the whole world. In this case, you are ready to make concessions and buy marshmallows with chocolate. But only if it's winter outside and the marshmallows are pink. In summer, you are allergic to chocolate. But if without chocolate, then any will do. Weird requests, but let's see what we can do. And hidden neurons will help us. Now each incoming neuron is connected to the hidden one. And each connection has its own weight. Roughly speaking, hidden conditions help to implement additional conditions that need to be taken into account in the neural network.

There can be many hidden neurons that set new conditions for the neural network. This complication is called generalization. This is exactly what the human brain is capable of - generalizing many factors to make the only right decision.

How many neurons does a bee have

Our mind is certainly more complex. As well as any intelligent neural network is more complicated. But the general principles of communication between neurons and synapses remain unchanged and common to man and machine. It seems like this whole story with marshmallows does not sound difficult. And it seems that everything should not be so simple. The difficulty lies in the fact that there are millions of millions of such neurons. And to work with such huge amounts of information, complex mechanisms are needed.

A bit of interesting math: the average human has 1011 neurons. At this time, the frog has only 107 of them, and the bee has 106. In 2012, artificial neural networks could not even catch up with the frog in terms of the number of neurons. For example, the neural network for image recognition of those years contained 106 neurons. Like a bee. But we have nothing to rejoice at and there are two reasons for this. First, technology has come a long way since 2012. And secondly, even then such a neural network was smarter in its field not only of a frog, but also of a person, despite the number of neurons.

Our neurons are designed to solve many different tasks. They control the movement of the body, and the decisions made, and the desire to stroke the cat. In contrast, all the neurons of the neural network are aimed at only one task - to recognize the picture. And they are not distracted by trifles. To date, Nvidia's most hype neural network, which turns simple sketches into realistic images, already contains 1.7 * 109 neurons.

There are two morals to this whole story. First - now in the smoking room you can boast of understanding the operation of the simplest neural network. But probably no one will believe you due to the fact that everything can not be so simple. And the second is to understand that in our head, as in an artificial neural network, no magic happens. If you disassemble the huge mechanism into several parts, then everything does not seem so global. The principle of operation of our brain is electrical connections between neurons that communicate with each other, transmit signals and perfectly master their neural arithmetic.

We actively explore
the world branding and advertising
Subscribe to our social media
accounts to explore the world together.
contact us
briefly describe the task

Policy on the Processing of Personal Data

 

1. General Provisions

This Personal Data Processing Policy is drafted in accordance with the requirements of Federal Law No. 152-FZ dated July 27, 2006, “On Personal Data” (hereinafter referred to as the Personal Data Law) and defines the procedure for processing personal data and the measures taken to ensure the security of personal data by LLC “AISIU+” (hereinafter referred to as the Operator).

1.1. The Operator considers the observance of human and civil rights and freedoms during the processing of personal data, including the protection of the right to privacy, personal and family confidentiality, to be its primary objective and essential condition for carrying out its activities.

1.2. This Policy of the Operator regarding the processing of personal data (hereinafter – the Policy) applies to all information that the Operator may receive about visitors to the website .

2.9. Personal data made publicly available by the subject of personal data – personal data to which the subject has granted access to an unlimited number of persons by giving consent to the processing of personal data made publicly available, in accordance with the procedure established by the Personal Data Law (hereinafter – personal data made publicly available).

2.10. User – any visitor of the website.

7.2. The Operator is also entitled to send the User notifications about new products and services, special offers, and various events. The User may at any time opt out of receiving such informational messages by sending an email to the Operator at hello@icu.agency with the subject “Unsubscribe from notifications about new products, services, and special offers.”

7.3. Anonymized data of Users collected through web analytics services is used to gather information about User behavior on the website, improve the quality of the website, and enhance its content.

8. Legal Grounds for Personal Data Processing

8.1. The legal grounds for the processing of personal data by the Operator are:
– Federal Law “On Information, Information Technologies and Information Protection” No. 149-FZ dated July 27, 2006;
– federal laws and other regulatory legal acts in the field of personal data protection;
– the Users’ consent to the processing of their personal data, including the processing of personal data permitted for distribution.

8.2. The Operator processes the User’s personal data only if it is provided and/or submitted by the User voluntarily through special forms available on the website . By filling out the relevant forms and/or sending their personal data to the Operator, the User consents to this Policy.

8.3. The Operator processes anonymized data about the User if this is permitted in the User’s browser settings (such as enabling the storage of cookies and the use of JavaScript technology).

8.4. The personal data subject independently decides to provide their personal data and gives consent freely, by their own will, and in their own interest.

9. Conditions for Personal Data Processing

9.1. Personal data is processed with the consent of the personal data subject to the processing of their personal data.

9.2. The processing of personal data is necessary to achieve the purposes provided for by an international treaty of the Russian Federation or by law, as well as to fulfill the functions, powers, and duties imposed on the Operator by the legislation of the Russian Federation.

9.3. The processing of personal data is necessary for the administration of justice, the execution of a court decision, or the decision of another authority or official subject to execution in accordance with the legislation of the Russian Federation on enforcement proceedings.

9.4. The processing of personal data is necessary for the performance of a contract to which the personal data subject is a party, a beneficiary, or a guarantor, or for the conclusion of a contract at the initiative of the personal data subject or a contract under which the personal data subject will be a beneficiary or a guarantor.

9.5. The processing of personal data is necessary for the exercise of the rights and legitimate interests of the Operator or third parties, or for the achievement of socially significant goals, provided that this does not violate the rights and freedoms of the personal data subject.

9.6. Personal data is processed that has been made publicly available by the personal data subject or at their request (hereinafter – publicly available personal data).

9.7. Personal data is processed that is subject to publication or mandatory disclosure in accordance with federal law.
10. Procedure for the Collection, Storage, Transfer, and Other Types of Personal Data Processing

The security of personal data processed by the Operator is ensured through the implementation of legal, organizational, and technical measures necessary to fully comply with the requirements of current legislation in the field of personal data protection.

10.1. The Operator ensures the safekeeping of personal data and takes all possible measures to prevent unauthorized access to personal data.

10.2. The User’s personal data will never, under any circumstances, be transferred to third parties, except in cases related to the fulfillment of applicable legislation or if the personal data subject has given the Operator consent to transfer the data to a third party for the purpose of fulfilling obligations under a civil law contract.

10.3. If any inaccuracies in the personal data are identified, the User may update them independently by sending a notification to the Operator at the email address hello@icu.agency with the subject line “Personal Data Update.”

10.4. The period of personal data processing is determined by the achievement of the purposes for which the personal data was collected, unless a different period is specified by contract or applicable law. The User may withdraw their consent to the processing of personal data at any time by sending a notification to the Operator via email at hello@icu.agency with the subject line “Withdrawal of Consent to Personal Data Processing.”

10.5. All information collected by third-party services, including payment systems, communication tools, and other service providers, is stored and processed by those parties (Operators) in accordance with their own User Agreements and Privacy Policies. The personal data subject and/or User is solely responsible for reviewing such documents in a timely manner. The Operator is not responsible for the actions of third parties, including the service providers mentioned in this clause.

10.6. Any restrictions established by the personal data subject on the transfer (except access), processing, or conditions of processing (except access) of personal data permitted for distribution do not apply in cases where personal data is processed for state, public, or other socially significant interests as defined by the legislation of the Russian Federation.
10.7. The Operator ensures the confidentiality of personal data during processing.

10.8. The Operator stores personal data in a form that allows identification of the personal data subject for no longer than is necessary to achieve the purposes of personal data processing, unless a longer storage period is established by federal law or a contract to which the personal data subject is a party, beneficiary, or guarantor.

10.9. The grounds for termination of personal data processing may include the achievement of the processing purposes, the expiration of the data subject’s consent, the withdrawal of consent by the personal data subject, or the identification of unlawful processing of personal data.

11. List of Actions Performed by the Operator with Collected Personal Data

11.1. The Operator carries out the collection, recording, systematization, accumulation, storage, clarification (updating, modification), retrieval, use, transfer (distribution, provision, access), depersonalization, blocking, deletion, and destruction of personal data.

11.2. The Operator performs automated processing of personal data with the receipt and/or transfer of the obtained information via information and telecommunication networks or without such transfer.

12. Cross-Border Transfer of Personal Data

12.1. Before initiating the cross-border transfer of personal data, the Operator must ensure that the foreign country to which the data is to be transferred provides reliable protection of the rights of personal data subjects.

12.2. Cross-border transfer of personal data to foreign countries that do not meet the above requirements may only occur if there is written consent from the personal data subject for the cross-border transfer of their personal data and/or for the execution of a contract to which the personal data subject is a party.

13. Confidentiality of Personal Data

The Operator and other individuals who have access to personal data are obligated not to disclose or distribute personal data to third parties without the consent of the personal data subject, unless otherwise required by federal law.

14. Final Provisions

14.1. The User can obtain any clarifications regarding the processing of their personal data by contacting the Operator via email at hello@icu.agency.

14.2. Any changes to the Operator’s personal data processing policy will be reflected in this document. The Policy is valid indefinitely until replaced by a new version.

Monitoring and improving

By continuing to use our website, you consent to the use of cookies. We use cookies to enhance user experience, analyze traffic, and personalize content.

Thanks for signing up!

Wrong email format!

Your message has been sent successfully!