Skip to content
tezvyn:

Neural networks

34 bites tagged Neural networks: interview questions with model answers, and 60-second explainers.

Test yourself: Top 30 Neural networks interview questions →Multiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.
Data Science & Analytics2 min read

Explain vanishing and exploding gradients and common mitigation techniques.

Why deep backpropagation causes diverging gradient magnitudes. Repeated multiplication across layers shrinks or explodes gradients; cite tanh [0,1] range; list ReLU, batch norm, and gradient clipping. Blaming activation choice alone without citing depth.

Computer Vision2 min read

SSD: Real-Time Detection Without Region Proposals

SSD scores default boxes across multiple scales in one forward pass. It runs real-time robotics and mobile vision where two-stage detectors lag. The footgun is ignoring shallow feature maps, which destroys small object accuracy as early layers carry fine…

MLOps & Infrastructure2 min read

Entity Embeddings: Smart Maps for Categorical Data

Entity embeddings turn categorical data like user IDs into dense vectors, creating a "map" where similar items are neighbors. This is used in neural networks to handle high-cardinality features efficiently, avoiding the memory bloat of one-hot encoding.

LLMs & Generative AI2 min read

Catastrophic Forgetting: The AI's Amnesia Problem

Catastrophic forgetting is when an AI, trained on new information, abruptly forgets what it previously knew. It's like overwriting a file instead of appending to it. This happens when fine-tuning a model on a narrow dataset, erasing its general knowledge.

LLMs & Generative AI2 min read

LSTMs: Giving Neural Networks a Longer Memory

LSTMs give neural networks a longer memory, letting them connect events across long sequences. They excel at tasks like language translation or time-series analysis where distant context is key.

LLMs & Generative AI2 min read

The Vanishing Gradient Problem

Training a deep network is like a game of telephone; the error signal (gradient) gets weaker as it's passed back through layers. This happens in deep networks using sigmoid or tanh activations.

LLMs & Generative AI2 min read

Activation Functions: Making Neural Networks Nonlinear

An activation function acts as a gatekeeper for a neuron, deciding what signal to pass on. It introduces non-linearity, allowing networks to learn complex patterns. A network with only linear activations collapses into a simple, less powerful model.

LLMs & Generative AI2 min read

Loss Function: Quantifying 'How Wrong' a Model Is

A loss function is a score that tells a machine learning model how wrong its predictions are. The lower the score, the better. It's the engine of training, guiding the model to adjust its parameters to get closer to the correct answers.

Data Science & Analytics1 min read

Large Language Models (LLMs)

An LLM is a massive neural network trained on vast text datasets to perform language tasks. It powers modern chatbots by generating, summarizing, and translating text. The key footgun: biased or inaccurate training data makes its output unreliable.

Data Science & Analytics2 min read

Recurrent Neural Networks: Networks with Memory

An RNN is a neural network with a memory loop, processing sequential data by feeding its own output back in as input. It's used for text generation or time-series analysis where context is key.

Data Science & Analytics2 min read

Convolutional Neural Networks: Finding Patterns with Filters

A CNN learns to spot features by sliding optimized filters over data like images, audio, or text. It's the go-to for computer vision, but a common mistake is thinking it's the only modern tool, as transformers sometimes replace it.

Data Science & Analytics2 min read

Artificial Neural Networks: Learning from Examples

Think of an ANN as a digital brain that learns from examples, not explicit code. It's a network of simple nodes that adjust their connections to spot patterns. They power image recognition and language translation, but are only as good as their training data.

Computer Vision2 min read

Variational Autoencoders: Learning to Generate Data

A VAE learns to create new data by compressing examples into a "latent space" of core features and then decoding from it. It's used for generative art and data augmentation, but its outputs can be blurrier than those from other models like GANs.

Computer Vision2 min read

NeRF: Turning 2D Photos into a Walkable 3D Scene

A Neural Radiance Field (NeRF) learns to be a 'ray-tracing oracle' for a scene, predicting color and density from any angle. It's used to create walkable 3D experiences from 2D photos. The footgun: NeRFs can't invent details not in the source images.

Computer Vision2 min read

Generative Adversarial Networks (GANs): A Forger and a Detective

A GAN pits two neural networks against each other: a Generator that creates fakes and a Discriminator that spots them. This adversarial game forces the Generator to produce highly realistic outputs, like photorealistic faces. The main footgun is mode collapse.

Computer Vision2 min read

Attention in Vision: Teaching Models Where to Look

Attention teaches a model where to look in an image by dynamically weighting important pixels or features. It's used in object detection to focus on relevant regions. The footgun is assuming it's free; attention adds computational cost and complexity.

Computer Vision2 min read

YOLO: Real-Time Object Detection in a Single Pass

YOLO treats object detection as a single regression problem, looking at an image once to predict all bounding boxes and classes. This makes it extremely fast, perfect for real-time video analysis.

Computer Vision2 min read

Residual Networks (ResNets): Go Deeper, Not Worse

ResNets let you train extremely deep networks by learning what to *change*, not the entire output. They use 'skip connections' to bypass layers, which helps solve accuracy degradation in deep vision models. The footgun is thinking deeper is always better.

Computer Vision2 min read

Batch Normalization: Stabilizing Neural Network Training

Batch Normalization regulates data flow in a neural network by re-centering and re-scaling inputs to each layer. This stabilizes deep network training, allowing higher learning rates.

Computer Vision2 min read

AlexNet: The CNN That Sparked the Deep Learning Boom

AlexNet is the blueprint that proved deep CNNs could master image recognition, kicking off the modern AI boom. Its architecture is foundational for modern computer vision. The footgun is thinking it was just bigger; its novelty was combining new techniques.

Computer Vision2 min read

Dropout: Forcing a Network to Generalize

Dropout prevents overfitting by randomly zeroing out a fraction of neurons during training. This forces the network to learn more robust features instead of relying on specific neurons. It's a standard regularizer for large, dense layers.

Computer Vision2 min read

Backpropagation: How Neural Networks Learn from Mistakes

Backpropagation is how a network learns from its mistakes. It works backward from the output error, calculating how much each weight contributed and adjusting it. This is the core training loop for most deep learning models.

Computer Vision2 min read

Cross-Entropy Loss: How Wrong Is Your Model's Guess?

Cross-entropy loss measures the penalty when a model's predicted probabilities diverge from the true labels. It's the standard loss for classification tasks, like telling a cat from a dog.

Computer Vision2 min read

ReLU: The 'On/Off' Switch for Neural Networks

ReLU acts as a simple on/off switch for neurons: positive inputs pass through, negative ones become zero. It's the default activation in deep learning, especially for vision tasks, as it's fast and helps gradients flow. The footgun: neurons can "die".

Get Neural networks bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon