How a Single Neuron Works: A Three-Step Guide to Weigh, Bend, and Shrink

A single neuron explained in three intuitive steps: weigh inputs, bend with activation, shrink for stability.
This article breaks down how a single neuron in a neural network works through three intuitive operations: Weigh (linear combination of inputs via weights and biases), Bend (introducing nonlinearity through activation functions like ReLU), and Shrink (maintaining stability via normalization and regularization). Understanding these micro-level mechanics builds the foundation for grasping how entire deep learning systems work.
Introduction: Understanding Neural Networks Starting from a Single Neuron
When we talk about neural networks, it's easy to be overwhelmed by their sheer scale — billions or even trillions of parameters, complex layered architectures, and intimidating mathematical formulas. Yet the key to understanding neural networks can actually start from the most basic unit: a single neuron. A recent Reddit discussion titled "Inside One Neuron of a Neural Network — Weigh, Bend, Shrink, Every Number Trained" attracted widespread attention by breaking down the three core operations happening inside a neuron in a remarkably intuitive way: Weigh, Bend, and Shrink.
This article dives deep into how a single neuron works from this perspective, helping you build an intuitive understanding of the underlying mechanisms of deep learning.

The Three Core Operations of a Neuron
Step 1: Weigh — Measuring the Importance of Each Input
Not every input signal a neuron receives is treated equally. Each input is multiplied by a corresponding weight, which represents how important that input is to the current neuron.
Mathematically, this means multiplying all inputs $x_i$ by their weights $w_i$, summing them up, and adding a bias term:
$$z = \sum_{i} w_i x_i + b$$
This "weighing" is essentially a linear combination. The larger the weight, the stronger the influence of the corresponding input; a negative weight means the input has an inhibitory effect. The bias term $b$ acts as an "activation threshold" for the neuron, giving it a baseline output even when there's no input or the input is weak.
It's worth emphasizing that these weights and biases are precisely the "learnable parameters" that get continuously adjusted during training. The phrase "Every Number Trained" means exactly this — every single weight and bias in the network is gradually optimized through backpropagation during the training process.
Step 2: Bend — Activation Functions Introduce Nonlinearity
If neural networks only performed weighted sums, then no matter how many layers you stacked, the result would still be just a linear transformation of the input. This would severely limit the network's expressive power, making it incapable of fitting the complex nonlinear relationships found in the real world.
This is where "bending" comes in. Through an activation function, the neuron "bends" the linear weighted result into a nonlinear output. Common activation functions include:
- ReLU (Rectified Linear Unit): Sets negative values to zero and keeps positive values unchanged. Simple, efficient, and currently the most widely used activation function.
- Sigmoid: Compresses the output to between 0 and 1, commonly used for probability outputs.
- Tanh: Compresses the output to between -1 and 1, centered around zero.
It's precisely this "bending" operation that gives neural networks the ability to approximate arbitrarily complex functions. In fact, nonlinear activation is the true core of what makes deep learning powerful. Without it, even the deepest network would be nothing more than an elaborate linear regression.
Step 3: Shrink — Controlling Output and Normalization
The "shrink" step can be understood as constraining and normalizing the neuron's output. In real deep networks, if output values are left unchecked, numerical explosion or vanishing problems can easily occur.
To address this, engineers have introduced several techniques:
- Normalization: Methods like Batch Normalization and Layer Normalization scale data into a reasonable distribution range, stabilizing the training process.
- Regularization: Techniques like L1/L2 regularization and Dropout "shrink" the magnitude of weights or randomly drop neurons to prevent overfitting.
- The inherent compression property of activation functions: Functions like Sigmoid and Tanh naturally constrain outputs within bounded intervals.
Together, these "shrink" mechanisms ensure the neural network's numerical stability and generalization ability during training, preventing models from performing well on training data but failing on new data.
Why This Perspective Matters
Building Intuition by Simplifying Complexity
Reducing a neuron's complex operations to three verbs — "weigh, bend, shrink" — is a highly illuminating approach. For beginners, directly confronting concepts like backpropagation, gradient descent, and tensor operations can be daunting. Starting from a single neuron and breaking down each operation in everyday language helps quickly build intuition for the overall mechanism.
Understanding the Essence of "Training"
The phrase "Every Number Trained" in the original title captures the core of deep learning: the learning process is the process of adjusting numbers. A neural network's "intelligence" doesn't come from some mysterious mechanism — it comes from the precise configuration formed when massive numbers of parameters are iteratively optimized through data. Every weight, every bias, is a trace left by training.
The Cognitive Leap from Micro to Macro
Understanding a single neuron means understanding the fundamental building block of the entire network. Organize thousands of these neurons into layers, coordinate them through forward propagation and backpropagation, and you get the powerful systems behind everything from image recognition to large language models. Macroscopic complexity arises from the countless repetitions of simple microscopic rules.
Conclusion
Neural networks may seem profound, but the working principle of their most basic unit — the neuron — can be summarized with three intuitive verbs: weigh, bend, and shrink. Weighing measures the importance of inputs, bending introduces nonlinear expressive power, and shrinking ensures training stability and generalization.
The core idea running through it all is: every number in the network has been trained. It's this ability to learn parameters from data that makes neural networks the cornerstone of today's artificial intelligence. Once you grasp this, you can examine seemingly unreachable cutting-edge AI technologies with a much clearer perspective.
Related articles

Behind OpenAI Cutting Off Cursor: The Ecosystem Power Play Triggered by Musk's Acquisition
After SpaceX acquired Cursor for $60B, OpenAI cut off GPT model access. A deep dive into the real reasons, Anthropic's dilemma, and the impact on developers.

GitHub Daily · August 31: Local AI Servers and Training LLMs from Scratch
GitHub Trending Aug 31: minimind trains a 64M-param LLM in 2 hours; ODS turns any PC into a local AI server; plus OSINT tools and game enhancers.

Step-by-Step Guide: Connecting DeepSeek to Claude Code Desktop
Complete guide to connecting DeepSeek to Claude Code Desktop — covering account-free setup, CC Switch config, API Key setup, Chinese localization, and custom Skill installation.