AI/ML Under the Hood — Part 21: Network Architecture — Why Fully Connected Isn’t Fully OK
Summary
The fully connected (FC) neural network architecture represents a foundational design in machine learning. This architecture comprises multiple layers of neurons, with each neuron in one layer connecting to every neuron in the subsequent layer. Each connection is associated with a weight, which the network adjusts during training. This dense web of connections enables FC networks to approximate complex functions by tuning millions of parameters, solving diverse problems. A key characteristic of FC networks is their immediate combination of all input information through weighted connections and activation functions, treating every input as potentially relevant to every computation from the initial layer.
Key takeaway
For machine learning engineers designing neural networks, understanding the inherent "fully connected" nature is crucial. While powerful for approximating functions, you should recognize that FC networks immediately combine all input features, potentially leading to inefficiencies or over-parameterization if input relevance varies. Consider this characteristic when evaluating network complexity and computational cost for specific problem domains.
Key insights
Fully Connected networks approximate complex functions but treat all inputs as equally relevant from the start.
Principles
- FC networks tune millions of weights.
- Each neuron connects to all in the next layer.
- All inputs influence every subsequent neuron.
Topics
- Neural Networks
- Fully Connected Networks
- Network Architecture
- Machine Learning Fundamentals
- Deep Learning
Best for: AI Student, Machine Learning Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Deep Learning on Medium.