Skip to content
tezvyn:

🤖AI & ML

Artificial intelligence, machine learning, and data science

167 bites

Test yourself: Top 30 advanced AI & ML concepts questionsMultiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Advanced concepts in AI & ML, page 6

advanced2 min read

Logging Model Explanations, Not Just Predictions

Log *why* your model makes a prediction, not just the output. This captures the model's reasoning, creating a debuggable audit trail. It's essential for diagnosing model drift and ensuring fairness.

advanced2 min read

Correlation Filters: Fast and Robust Object Tracking

Correlation filters track objects by learning a template that gives a peak response at the object's location. This makes them extremely fast for real-time visual tracking. The footgun: basic versions fail when the object changes scale or is occluded.

advanced2 min read

DDM: Detecting Drift with Error Rate Statistics

DDM acts as a statistical alarm on your model's error rate, watching for spikes that signal the underlying data has changed. Use it for online binary classification with immediate feedback, like spam filtering.

advanced2 min read

Particle Filters for Object Tracking

A particle filter tracks an object by maintaining a cloud of possible states ('particles'), not one best guess. It's used to follow objects through clutter and occlusion, like tracking a face in a crowd.

advanced2 min read

DeepSORT: Adding Visual Memory to Object Tracking

DeepSORT adds a 'visual memory' to object tracking, using a deep learning model to re-identify objects after they're hidden. It's used in surveillance and autonomous driving to maintain consistent IDs across frames.

advanced2 min read

Temporal Segment Networks: Seeing the Whole Video Story

Temporal Segment Networks (TSN) understand video actions by sampling sparse snippets across the entire timeline. This gives a model long-range context to distinguish complex actions.

advanced2 min read

Constitutional AI: Teaching Models to Govern Themselves

Constitutional AI teaches a model to self-correct against a set of principles, or a 'constitution.' This automates safety alignment for models like Claude, reducing reliance on human feedback.

advanced2 min read

Instrumental Convergence: Why All AIs Might Act Alike

Even with different end goals, intelligent agents tend to pursue the same sub-goals like self-preservation and resource gathering. This is key in AI safety, explaining why a paperclip-making AI might compete with humans for resources, not from malice but…

advanced2 min read

Orthogonality Thesis: An AI's Intelligence and Goals Are Unrelated

The Orthogonality Thesis states an AI's intelligence and its ultimate goals are independent. A superintelligence could pursue any objective, from beneficial to catastrophic, with equal capability.

advanced2 min read

Transformer Architecture

The Transformer replaces recurrence with self-attention, letting every token directly attend to every other token in parallel. This enables long-range context and fast training on GPUs, making it the backbone of modern large language models and much of…

advanced1 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.

advanced2 min read

Policy Gradient: Teach an Agent What to Do, Not What's Valuable

Policy gradient methods directly learn what action to take, rather than learning the value of states. They excel in continuous action spaces like robotics or when the best policy is random.

advanced2 min read

Swin Transformer: Efficient Vision with Shifted Windows

Swin Transformer makes Vision Transformers practical by processing images in local "windows" instead of all at once. It's a powerful backbone for object detection and segmentation where scale varies.

Cross-Attention: How Models Fuse Text and Images
advanced2 min read

Cross-Attention: How Models Fuse Text and Images

Cross-attention lets a model fuse different data streams, like asking 'what in this image corresponds to this word?'. It's key for text-to-image generation, where text queries attend to image features. The footgun is confusing it with self-attention.

advanced2 min read

MLP-Mixer: Vision Without Convolutions or Attention

MLP-Mixer shows that simple MLPs can achieve strong vision results, challenging the need for convolutions or attention. It works by alternating between mixing features within image patches and mixing information across patches.

advanced2 min read

Speculative Decoding: A Small LLM Speeds Up a Big One

Speculative decoding uses a small, fast 'draft' LLM to guess the next few words, which a larger 'target' LLM verifies in one batch. This cuts inference latency 2-3x in production systems.

advanced2 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.

advanced2 min read

Deep Learning Compilers: From Model to Machine Code

A Deep Learning Compiler translates a model from a framework like PyTorch into optimized code for specific hardware like a GPU or TPU. This avoids manual optimization for every model-hardware pair.

advanced2 min read

Diffusion Models: Generating by Reversing Noise

Diffusion models generate data by learning to reverse a process of adding noise. They power state-of-the-art image generation (DALL-E 2, Stable Diffusion). The main footgun is that their iterative sampling process is slow and computationally expensive.

vLLM: Faster LLM Inference with PagedAttention
advanced2 min read

vLLM: Faster LLM Inference with PagedAttention

vLLM is a serving engine that speeds up LLM inference by treating GPU memory like virtual memory. It's used to serve models with higher throughput by batching requests without wasting memory on padding.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles