{"id":332,"date":"2024-12-17T15:39:21","date_gmt":"2024-12-17T15:39:21","guid":{"rendered":"https:\/\/jonayre.uk\/blog\/?p=332"},"modified":"2024-12-21T17:19:37","modified_gmt":"2024-12-21T17:19:37","slug":"understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron","status":"publish","type":"post","link":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/","title":{"rendered":"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At the start of this series, in <a href=\"https:\/\/jonayre.uk\/blog\/2024\/10\/30\/understanding-neural-networks-ai-in-a-nutshell\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Part 1: The artificial neuron<\/a>, I introduced the concept of the simple artificial neuron. Here\u2019s a quick reminder of what that model looked like::<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"673\" height=\"368\" src=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/10\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-1-1.png\" alt=\"\" class=\"wp-image-330\" style=\"width:838px;height:auto\" srcset=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/10\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-1-1.png 673w, https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/10\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-1-1-300x164.png 300w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><figcaption class=\"wp-element-caption\">Figure 1: A simple artificial neuron<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Simple though it is, this basic model is capable of some impressive things when combined to form a neural network. Even the simplest of these networks can learn to control robotic arms and copy a person\u2019s musical, film or literature preferences. Recent developments have even seen this basic artificial neuron produce sophisticated text and images when used in Large Language Models and Generative AI systems. However, compared to even the simplest of biological neurons, it\u2019s a minnow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To explain this I need to reintroduce you to the biological neuron and explain some of its hidden complexities. Then I\u2019ll show you how I\u2019ve evolved the basic artificial neuron into something more biologically plausible, whilst keeping it relatively light in terms of processing requirements.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Biological plausibility<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Bio what?&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cBiological plausibility\u201d is a term you\u2019ll come across a lot in the world of artificial intelligence. It\u2019s a fancy way of saying \u201csimilar to what actually happens in a real brain\u201d. The reason it\u2019s important is because one of the aims of AI is to reproduce intelligence in a machine. Not just the appearance of intelligence, but actual intelligence.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The hypothesis is that we\u2019re much more likely to achieve that if we use mechanisms that occur in real brains. When our artificial neurons do things based on what we see in real neurons, we call this biological plausibility.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <a href=\"https:\/\/jonayre.uk\/blog\/2024\/11\/14\/understanding-neural-networks-part-3-teaching-the-machine\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Part 3 &#8211; Teaching the machine<\/a>, I described two different ways of training neural networks. The first of these, back-propagation, has its roots in mathematics, and is not considered to be biologically plausible. This is because it relies on an error signal being calculated at the final outputs of the network. This error signal then needs to be fed back through all the preceding layers of neurons. There is no such mechanism in the brain to support this approach, and so it can\u2019t possibly be how the brain learns.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second, Hebbian learning, arises as a direct result of observations of real neurons. It happens locally within a single neuron and relies only on the relationship between the neuron\u2019s inputs and its output. Within the biological neuron, the output does ripple back to the synapses, in the form of a back-propagated action potential (BAP). This BAP can be measured and changes to synaptic strengths can be observed when this happens. Hebbian learning can therefore be considered to be biologically plausible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dendritic trees<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">However, there\u2019s more to biological plausibility than just the learning approach. The simple artificial neuron assumes all inputs connect directly to the centre of the neuron (known as the soma). Here, they are added up as a single set and an output is produced. In a biological neuron, synapses cluster together on tree-like branches known as dendrites. Each segment of these dendrites then sends a combined output from its cluster of synapses onward to the soma. This biological insight can be confusing, but it also helps us with a problem that arises in artificial neural networks.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you experiment with artificial neurons, you quickly discover there\u2019s a limit to how many inputs you can give a single neuron before it stops adding any real value. That number, in my experience, is roughly 10, but you can stretch it to around 50 with a bit of tuning. That sounds like a decent number at first glance, until you compare it with a real neuron. In biological systems, the number of inputs is in the thousands, with typical numbers being between 2000 and 6000.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s quite a difference, but it starts to make sense when you look more closely at what\u2019s going on. All those synapses providing inputs to a neuron connect to it via structures called dendrites. These dendrites spread out like microscopic trees and the synapses connect to their branches. The dendrites are made up of many segments, and each of these segments contains a small group of synapses. (Wikipedia provides a good introduction to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Neuron\" target=\"_blank\" rel=\"noopener\" title=\"\">the structure of a biological neuron<\/a> if you\u2019re interested).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It turns out that a typical neuron has around 100 of these dendrite segments and each of these segments accommodates roughly 10 to 50 synapses. This level of connectivity for one segment correlates nicely with the number of inputs an artificial neuron can deal with effectively. Even more interesting is that these segments show \u201cfiring\u201d behaviours similar to the core of the neuron itself (the soma).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Long story short<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is starting to get complicated, so I\u2019m going to skip some details and jump to a conclusion. I\u2019ve created simulations of biologically plausible neuron models that incorporate features such as dendrite and soma spiking coupled with calcium influx synaptic plasticity. These are concepts better covered by research papers, so I won\u2019t explain them here. If you\u2019re interested in knowing more, trust me when I say, the rabbit hole is very very deep. (I\u2019ve been there.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Suffice to say that these simulations demonstrate that each dendrite segment in a complex neuron behaves in a similar way to the simple artificial neuron model. The neuron itself also behaves as a simple artificial neuron, with the outputs from the dendrite segments acting as its inputs. Furthermore, the overall output of the neuron propagates back to the dendrites and participates in the local learning process. This allows the dendrite segments to compete with each other to form an auto-associative memory (see <a href=\"https:\/\/jonayre.uk\/blog\/2024\/11\/21\/understanding-neural-networks-part-3-the-machine-that-teaches-itself\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Part 4 &#8211; The machine that teaches itself<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The end result is that just one neuron can learn, without external reward, to break a set of input patterns into smaller features involving a subset of the inputs. With external reward, it can then learn to respond to specific features and ignore others. The more patterns you present to this neuron, the more features it identifies, and the fewer dendrite segments are used to represent each feature. This \u201csparse encoding\u201d matches the behaviour seen by researchers when they observe real neurons in action.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The result of all this complexity is that just one such neuron is the equivalent of around 100 simple artificial neurons, working together as an auto associative network with a bit of Hebbian learning added on for good measure. Isn\u2019t nature wonderful!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Simplifying the complexity<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Although my early simulations of biological neurons worked, they were very processor intensive. Spiking behaviour required millisecond time steps and integration, and calcium influx required multiple calculations. In the interests of efficiency, I took the results from my simulations and encapsulated them in a (relatively) simplified model, as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"738\" src=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-3.png\" alt=\"\" class=\"wp-image-338\" srcset=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-3.png 986w, https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-3-300x225.png 300w, https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/Understanding-neural-networks-Part-5_-Enhancing-the-artificial-neuron-3-768x575.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><figcaption class=\"wp-element-caption\">Figure 2: An enriched artificial neuron model incorporating dendrites and a soma<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This enriched model takes the simple artificial neuron and adapts it slightly to emulate the behaviour of a single dendrite segment. The input weights to each segment represent the strengths of the connecting synapses. The core of the neuron, the soma, is represented by another simple artificial neuron. The dendrite segments then feed into this single simple artificial neuron through an additional set of \u201cinternal\u201d weights. Experiments have shown that dendrite branches adjust their strength in a similar manner to synapses so there is biological precedent for this feature of the model.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is one slight difference in the artificial neurons representing the dendrite segments. The threshold function is no longer symmetrical. Instead of a sigmoid, this function is linear for the first half of the input range and then jumps to fully on for the second half of the input range. Hence for X &lt; 0.5, output Z = X, but for X &gt; 0.5, output Z = 1.0. This emulates the slightly different summing and firing behaviour seen in dendrites compared to the soma.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Competitive learning<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To support this new model, we also need a slightly modified learning approach. Learning for the soma is still Hebbian in nature (see <a href=\"https:\/\/jonayre.uk\/blog\/2024\/11\/14\/understanding-neural-networks-part-3-teaching-the-machine\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Part 3 &#8211; Teaching the machine<\/a>), but learning for the dendrite segments includes an extra term.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Soma learning: Change in weight = reward x Y x Z x learning rate<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Dendrite learning: Change in weight = X x Y x (Y - Z) x learning rate<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The effect of this extra term, Y &#8211; Z, is to ensure that when the neuron is firing strongly, the weights for the strongest firing dendrite segments are reinforced while all other weights are reduced in strength. This competitive learning results in behaviour very similar to that demonstrated by the auto-associative network described in <a href=\"https:\/\/jonayre.uk\/blog\/2024\/11\/21\/understanding-neural-networks-part-3-the-machine-that-teaches-itself\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Part 4 &#8211; The Machine that Teaches Itself<\/a>.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, in conclusion, this simplified model achieves the same outcome as my more complex \u201cspiking\u201d model, but at a far lower computational cost.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The gift that keeps on giving<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So, now we have an artificial neuron that is just a little bit closer to its biological equivalent. Next, we need to tackle the bigger picture; the brain itself. In previous posts I\u2019ve described feed-forward and recurrent artificial neural networks, but I haven\u2019t touched on how those match up to the organisation of biological brains.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s where I intend to go in the next but one post, by looking at the layers of the brain and what each of those layers might be doing for us. I say \u201cmight\u201d because, despite all the research, there is no clear consensus about how the brain achieves its incredible feats, let alone how reasoning and awareness arise from that squashy organ.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But before that, I intend to come back to a practical use of simple feed-forward networks that is when trying to understand the latest large language models. The thing I&#8217;m going to try to explain helps us turn language into numbers suitable for training machines, and also gives a hint about what might be going on in the first input layer of the brain. It&#8217;s called an &#8220;embeddings model&#8221; and to explain it, I&#8217;m going to describe how I used it to get a neural network to &#8220;understand&#8221; the universal language of music.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.<\/p>\n","protected":false},"author":1,"featured_media":333,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jon Ayre\"\/>\n\t<meta name=\"google-site-verification\" content=\"GNUfbu2X2sx5KHq1VLY1lNoJNPLL14bqZzfm3FE-5co\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Jon Ayre - Business, technology and strategic thinking\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre\" \/>\n\t\t<meta property=\"og:description\" content=\"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1752\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-12-17T15:39:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-12-21T17:19:37+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@jon_ayre\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@jon_ayre\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Jon Ayre\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#blogposting\",\"name\":\"Understanding neural networks \\u2013 Part 5: A more brain-like artificial neuron - Jon Ayre\",\"headline\":\"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron\",\"author\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg\",\"width\":2560,\"height\":1752,\"caption\":\"The branches of an axon from a neuron reach out to connect with the tree-like dendrites of other neurons.\"},\"datePublished\":\"2024-12-17T15:39:21+00:00\",\"dateModified\":\"2024-12-21T17:19:37+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#webpage\"},\"articleSection\":\"Business\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jonayre.uk\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/category\\\/business\\\/#listItem\",\"name\":\"Business\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/category\\\/business\\\/#listItem\",\"position\":2,\"name\":\"Business\",\"item\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/category\\\/business\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#listItem\",\"name\":\"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#listItem\",\"position\":3,\"name\":\"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/category\\\/business\\\/#listItem\",\"name\":\"Business\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/#person\",\"name\":\"Jon Ayre\",\"image\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/DSC_1812-edited-scaled.jpg\",\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/jon_ayre\",\"https:\\\/\\\/linkedin.com\\\/in\\\/jonayre\",\"https:\\\/\\\/bsky.app\\\/profile\\\/jonayre.uk\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Jon Ayre\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7c8576be04234ab90e9cee63987dbd6b60d3dd7a1838950fe4c09088e0fb0f82?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jon Ayre\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#webpage\",\"url\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/\",\"name\":\"Understanding neural networks \\u2013 Part 5: A more brain-like artificial neuron - Jon Ayre\",\"description\":\"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\\u2019s time to step it up a bit and get more brain-like.\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#mainImage\",\"width\":2560,\"height\":1752,\"caption\":\"The branches of an axon from a neuron reach out to connect with the tree-like dendrites of other neurons.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/2024\\\/12\\\/17\\\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\\\/#mainImage\"},\"datePublished\":\"2024-12-17T15:39:21+00:00\",\"dateModified\":\"2024-12-21T17:19:37+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/\",\"name\":\"Jon Ayre\",\"description\":\"Business, technology and strategic thinking\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/jonayre.uk\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre","description":"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.","canonical_url":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"GNUfbu2X2sx5KHq1VLY1lNoJNPLL14bqZzfm3FE-5co","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#blogposting","name":"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre","headline":"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron","author":{"@id":"https:\/\/jonayre.uk\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/jonayre.uk\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg","width":2560,"height":1752,"caption":"The branches of an axon from a neuron reach out to connect with the tree-like dendrites of other neurons."},"datePublished":"2024-12-17T15:39:21+00:00","dateModified":"2024-12-21T17:19:37+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#webpage"},"isPartOf":{"@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#webpage"},"articleSection":"Business"},{"@type":"BreadcrumbList","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog#listItem","position":1,"name":"Home","item":"https:\/\/jonayre.uk\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog\/category\/business\/#listItem","name":"Business"}},{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog\/category\/business\/#listItem","position":2,"name":"Business","item":"https:\/\/jonayre.uk\/blog\/category\/business\/","nextItem":{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#listItem","name":"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron"},"previousItem":{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#listItem","position":3,"name":"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron","previousItem":{"@type":"ListItem","@id":"https:\/\/jonayre.uk\/blog\/category\/business\/#listItem","name":"Business"}}]},{"@type":"Person","@id":"https:\/\/jonayre.uk\/blog\/#person","name":"Jon Ayre","image":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2022\/08\/DSC_1812-edited-scaled.jpg","sameAs":["https:\/\/twitter.com\/jon_ayre","https:\/\/linkedin.com\/in\/jonayre","https:\/\/bsky.app\/profile\/jonayre.uk"]},{"@type":"Person","@id":"https:\/\/jonayre.uk\/blog\/author\/admin\/#author","url":"https:\/\/jonayre.uk\/blog\/author\/admin\/","name":"Jon Ayre","image":{"@type":"ImageObject","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/7c8576be04234ab90e9cee63987dbd6b60d3dd7a1838950fe4c09088e0fb0f82?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jon Ayre"}},{"@type":"WebPage","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#webpage","url":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/","name":"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre","description":"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/jonayre.uk\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#breadcrumblist"},"author":{"@id":"https:\/\/jonayre.uk\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/jonayre.uk\/blog\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg","@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#mainImage","width":2560,"height":1752,"caption":"The branches of an axon from a neuron reach out to connect with the tree-like dendrites of other neurons."},"primaryImageOfPage":{"@id":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/#mainImage"},"datePublished":"2024-12-17T15:39:21+00:00","dateModified":"2024-12-21T17:19:37+00:00"},{"@type":"WebSite","@id":"https:\/\/jonayre.uk\/blog\/#website","url":"https:\/\/jonayre.uk\/blog\/","name":"Jon Ayre","description":"Business, technology and strategic thinking","inLanguage":"en-GB","publisher":{"@id":"https:\/\/jonayre.uk\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"Jon Ayre - Business, technology and strategic thinking","og:type":"article","og:title":"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre","og:description":"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.","og:url":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/","og:image":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg","og:image:secure_url":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg","og:image:width":2560,"og:image:height":1752,"article:published_time":"2024-12-17T15:39:21+00:00","article:modified_time":"2024-12-21T17:19:37+00:00","twitter:card":"summary","twitter:site":"@jon_ayre","twitter:title":"Understanding neural networks \u2013 Part 5: A more brain-like artificial neuron - Jon Ayre","twitter:description":"The artificial neuron used in most neural networks is just a speck in comparison to even the simplest of biological neurons. In Part 5, I introduce a more sophisticated model of my own making. It\u2019s time to step it up a bit and get more brain-like.","twitter:creator":"@jon_ayre","twitter:image":"https:\/\/jonayre.uk\/blog\/wp-content\/uploads\/2024\/12\/1a201f35-ece4-4618-aa2a-9822b9807c8c-scaled.jpeg","twitter:label1":"Written by","twitter:data1":"Jon Ayre","twitter:label2":"Est. reading time","twitter:data2":"8 minutes"},"aioseo_meta_data":{"post_id":"332","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-12-17 15:15:34","updated":"2025-11-10 07:56:29","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/jonayre.uk\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/jonayre.uk\/blog\/category\/business\/\" title=\"Business\">Business<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tUnderstanding neural networks \u2013 Part 5: A more brain-like artificial neuron\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/jonayre.uk\/blog"},{"label":"Business","link":"https:\/\/jonayre.uk\/blog\/category\/business\/"},{"label":"Understanding neural networks &#8211; Part 5: A more brain-like artificial neuron","link":"https:\/\/jonayre.uk\/blog\/2024\/12\/17\/understanding-neural-networks-part-5-a-more-brain-like-artificial-neuron\/"}],"_links":{"self":[{"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":5,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":343,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions\/343"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/media\/333"}],"wp:attachment":[{"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonayre.uk\/blog\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}