<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>mlmentorship</title><description>A free visual field guide for senior ML, AI systems, and frontier-lab interviews, with ordered lessons, coding traces, and a private workbook.</description><link>https://mlmentorship.com/</link><language>en</language><item><title>Chinchilla scaling, MoE, and fused Triton kernels</title><link>https://mlmentorship.com/concepts/chinchilla-moe-fused-triton/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/chinchilla-moe-fused-triton/</guid><description>Derive Chinchilla limits for dense and MoE models, implement an MoE layer in PyTorch, and fuse projections in Triton when F exceeds D.</description><pubDate>Wed, 02 Sep 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>3Sum</title><link>https://mlmentorship.com/questions/3sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/3sum/</guid><description>Return every unique group of three numbers whose sum is zero.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Alien Dictionary</title><link>https://mlmentorship.com/questions/alien-dictionary/</link><guid isPermaLink="true">https://mlmentorship.com/questions/alien-dictionary/</guid><description>Infer character order from words that are sorted in an unknown alphabet.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Balanced Binary Tree</title><link>https://mlmentorship.com/questions/balanced-binary-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/balanced-binary-tree/</guid><description>Check whether the child heights at every node differ by at most one.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Best Time to Buy and Sell Stock</title><link>https://mlmentorship.com/questions/best-time-to-buy-and-sell-stock/</link><guid isPermaLink="true">https://mlmentorship.com/questions/best-time-to-buy-and-sell-stock/</guid><description>Buy once, then sell later. Return the largest profit.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Binary Precision and Recall</title><link>https://mlmentorship.com/questions/binary-precision-and-recall/</link><guid isPermaLink="true">https://mlmentorship.com/questions/binary-precision-and-recall/</guid><description>Compute precision and recall from binary labels and predictions.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Binary Search</title><link>https://mlmentorship.com/questions/binary-search/</link><guid isPermaLink="true">https://mlmentorship.com/questions/binary-search/</guid><description>Find a target in a sorted array.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Binary Tree Level Order Traversal</title><link>https://mlmentorship.com/questions/binary-tree-level-order-traversal/</link><guid isPermaLink="true">https://mlmentorship.com/questions/binary-tree-level-order-traversal/</guid><description>Return tree values one level at a time.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Binary Tree Maximum Path Sum</title><link>https://mlmentorship.com/questions/binary-tree-maximum-path-sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/binary-tree-maximum-path-sum/</guid><description>Find the largest sum of any connected path in a binary tree.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Causal Attention</title><link>https://mlmentorship.com/questions/causal-attention/</link><guid isPermaLink="true">https://mlmentorship.com/questions/causal-attention/</guid><description>Compute one attention head where each token can read only itself and earlier tokens.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Clone Graph</title><link>https://mlmentorship.com/questions/clone-graph/</link><guid isPermaLink="true">https://mlmentorship.com/questions/clone-graph/</guid><description>Make a deep copy of a connected graph.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>How to learn coding interview problems without memorizing them</title><link>https://mlmentorship.com/guides/coding-interview-method/</link><guid isPermaLink="true">https://mlmentorship.com/guides/coding-interview-method/</guid><description>Use cues, state, invariants, and spaced rebuilding to turn coding problems into recognizable mental models.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>learning method</category></item><item><title>Climbing Stairs</title><link>https://mlmentorship.com/questions/climbing-stairs/</link><guid isPermaLink="true">https://mlmentorship.com/questions/climbing-stairs/</guid><description>Count ways to reach step `n` using moves of one or two steps.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Coin Change</title><link>https://mlmentorship.com/questions/coin-change/</link><guid isPermaLink="true">https://mlmentorship.com/questions/coin-change/</guid><description>Find the fewest coins needed to make an amount.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Combination Sum</title><link>https://mlmentorship.com/questions/combination-sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/combination-sum/</guid><description>Return combinations that add to a target. A value may be used more than once.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Construct Tree From Preorder and Inorder Traversal</title><link>https://mlmentorship.com/questions/construct-tree-from-preorder-and-inorder-traversal/</link><guid isPermaLink="true">https://mlmentorship.com/questions/construct-tree-from-preorder-and-inorder-traversal/</guid><description>Rebuild a binary tree from its preorder and inorder value lists. Values are unique.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Combination Sum IV</title><link>https://mlmentorship.com/questions/combination-sum-iv/</link><guid isPermaLink="true">https://mlmentorship.com/questions/combination-sum-iv/</guid><description>Count ordered sequences of values that add to the target.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Container With Most Water</title><link>https://mlmentorship.com/questions/container-with-most-water/</link><guid isPermaLink="true">https://mlmentorship.com/questions/container-with-most-water/</guid><description>Pick two heights that hold the most water.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Contains Duplicate</title><link>https://mlmentorship.com/questions/contains-duplicate/</link><guid isPermaLink="true">https://mlmentorship.com/questions/contains-duplicate/</guid><description>Check whether any value appears more than once.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Count Number of Nice Subarrays</title><link>https://mlmentorship.com/questions/count-number-of-nice-subarrays/</link><guid isPermaLink="true">https://mlmentorship.com/questions/count-number-of-nice-subarrays/</guid><description>Count subarrays that contain exactly `k` odd numbers.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Counting Bits</title><link>https://mlmentorship.com/questions/counting-bits/</link><guid isPermaLink="true">https://mlmentorship.com/questions/counting-bits/</guid><description>Return the set-bit count for every value from 0 through `n`.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Course Schedule II</title><link>https://mlmentorship.com/questions/course-schedule-ii/</link><guid isPermaLink="true">https://mlmentorship.com/questions/course-schedule-ii/</guid><description>Return one valid order for completing every course.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Course Schedule</title><link>https://mlmentorship.com/questions/course-schedule/</link><guid isPermaLink="true">https://mlmentorship.com/questions/course-schedule/</guid><description>Check whether all courses can be completed.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Daily Temperatures</title><link>https://mlmentorship.com/questions/daily-temperatures/</link><guid isPermaLink="true">https://mlmentorship.com/questions/daily-temperatures/</guid><description>For each day, find how many days pass before a warmer temperature.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Cross-Entropy From Logits</title><link>https://mlmentorship.com/questions/cross-entropy-from-logits/</link><guid isPermaLink="true">https://mlmentorship.com/questions/cross-entropy-from-logits/</guid><description>Compute mean multiclass cross-entropy from logits and integer labels.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Decode String</title><link>https://mlmentorship.com/questions/decode-string/</link><guid isPermaLink="true">https://mlmentorship.com/questions/decode-string/</guid><description>Decode text such as `3[a2[c]]` into `accaccacc`.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Decode Ways</title><link>https://mlmentorship.com/questions/decode-ways/</link><guid isPermaLink="true">https://mlmentorship.com/questions/decode-ways/</guid><description>Count ways to decode digits where `1` through `26` map to letters.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Design Add and Search Words</title><link>https://mlmentorship.com/questions/design-add-and-search-words/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-add-and-search-words/</guid><description>Store words and support `.` as a wildcard that matches any one character.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Edit Distance</title><link>https://mlmentorship.com/questions/edit-distance/</link><guid isPermaLink="true">https://mlmentorship.com/questions/edit-distance/</guid><description>Find the fewest insert, delete, or replace steps needed to change one string into another.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Encode and Decode Strings</title><link>https://mlmentorship.com/questions/encode-and-decode-strings/</link><guid isPermaLink="true">https://mlmentorship.com/questions/encode-and-decode-strings/</guid><description>Convert a list of any strings into one string and recover the exact list.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Find Median From Data Stream</title><link>https://mlmentorship.com/questions/find-median-from-data-stream/</link><guid isPermaLink="true">https://mlmentorship.com/questions/find-median-from-data-stream/</guid><description>Add numbers one at a time and return the current median.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Find Minimum in Rotated Sorted Array</title><link>https://mlmentorship.com/questions/find-minimum-in-rotated-sorted-array/</link><guid isPermaLink="true">https://mlmentorship.com/questions/find-minimum-in-rotated-sorted-array/</guid><description>Find the smallest value in a sorted array that was rotated once.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Graph Valid Tree</title><link>https://mlmentorship.com/questions/graph-valid-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/graph-valid-tree/</guid><description>Check whether undirected edges form one valid tree.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Group Anagrams</title><link>https://mlmentorship.com/questions/group-anagrams/</link><guid isPermaLink="true">https://mlmentorship.com/questions/group-anagrams/</guid><description>Put words with the same letters into the same group.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>House Robber II</title><link>https://mlmentorship.com/questions/house-robber-ii/</link><guid isPermaLink="true">https://mlmentorship.com/questions/house-robber-ii/</guid><description>Houses form a circle, so the first and last houses are neighbors.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>House Robber</title><link>https://mlmentorship.com/questions/house-robber/</link><guid isPermaLink="true">https://mlmentorship.com/questions/house-robber/</guid><description>Find the most money that can be taken without choosing neighboring houses.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Implement Trie</title><link>https://mlmentorship.com/questions/implement-trie/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-trie/</guid><description>Support word insert, full-word search, and prefix search.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Insert Interval</title><link>https://mlmentorship.com/questions/insert-interval/</link><guid isPermaLink="true">https://mlmentorship.com/questions/insert-interval/</guid><description>Insert one range into sorted, non-overlapping ranges and merge when needed.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Invert Binary Tree</title><link>https://mlmentorship.com/questions/invert-binary-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/invert-binary-tree/</guid><description>Swap the left and right children at every node.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Koko Eating Bananas</title><link>https://mlmentorship.com/questions/koko-eating-bananas/</link><guid isPermaLink="true">https://mlmentorship.com/questions/koko-eating-bananas/</guid><description>Find the slowest eating speed that finishes all piles within the time limit.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Jump Game</title><link>https://mlmentorship.com/questions/jump-game/</link><guid isPermaLink="true">https://mlmentorship.com/questions/jump-game/</guid><description>Check whether jumps can reach the last array position.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Kth Largest Element</title><link>https://mlmentorship.com/questions/kth-largest-element/</link><guid isPermaLink="true">https://mlmentorship.com/questions/kth-largest-element/</guid><description>Find the `k`th largest value in an unsorted array.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Kth Smallest Element in a BST</title><link>https://mlmentorship.com/questions/kth-smallest-element-in-a-bst/</link><guid isPermaLink="true">https://mlmentorship.com/questions/kth-smallest-element-in-a-bst/</guid><description>Return the `k`th smallest tree value.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Largest Rectangle in Histogram</title><link>https://mlmentorship.com/questions/largest-rectangle-in-histogram/</link><guid isPermaLink="true">https://mlmentorship.com/questions/largest-rectangle-in-histogram/</guid><description>Find the largest rectangle that fits under histogram bars.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Linked List Cycle</title><link>https://mlmentorship.com/questions/linked-list-cycle/</link><guid isPermaLink="true">https://mlmentorship.com/questions/linked-list-cycle/</guid><description>Check whether a linked list contains a cycle.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Common Subsequence</title><link>https://mlmentorship.com/questions/longest-common-subsequence/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-common-subsequence/</guid><description>Find the longest sequence of characters that appears in two strings in the same order. Characters do not need to be next to each other.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Consecutive Sequence</title><link>https://mlmentorship.com/questions/longest-consecutive-sequence/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-consecutive-sequence/</guid><description>Find the length of the longest run of consecutive values in an unsorted array.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Increasing Path in a Matrix</title><link>https://mlmentorship.com/questions/longest-increasing-path-in-a-matrix/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-increasing-path-in-a-matrix/</guid><description>Find the longest path that moves to a larger neighboring value each step.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Increasing Subsequence</title><link>https://mlmentorship.com/questions/longest-increasing-subsequence/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-increasing-subsequence/</guid><description>Find the longest strictly increasing subsequence. Values do not need to be next to each other.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Palindromic Substring</title><link>https://mlmentorship.com/questions/longest-palindromic-substring/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-palindromic-substring/</guid><description>Return the longest continuous palindrome in a string.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Substring Without Repeating Characters</title><link>https://mlmentorship.com/questions/longest-substring-without-repeating-characters/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-substring-without-repeating-characters/</guid><description>Find the longest substring with no repeated character.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Longest Repeating Character Replacement</title><link>https://mlmentorship.com/questions/longest-repeating-character-replacement/</link><guid isPermaLink="true">https://mlmentorship.com/questions/longest-repeating-character-replacement/</guid><description>Replace at most `k` letters so the longest possible substring has one repeated letter.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Lowest Common Ancestor in a BST</title><link>https://mlmentorship.com/questions/lowest-common-ancestor-in-a-bst/</link><guid isPermaLink="true">https://mlmentorship.com/questions/lowest-common-ancestor-in-a-bst/</guid><description>Find the lowest node whose subtree contains both target nodes.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Maximum Depth of Binary Tree</title><link>https://mlmentorship.com/questions/maximum-depth-of-binary-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/maximum-depth-of-binary-tree/</guid><description>Find the number of nodes on the longest root-to-leaf path.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>LRU Cache</title><link>https://mlmentorship.com/questions/lru-cache/</link><guid isPermaLink="true">https://mlmentorship.com/questions/lru-cache/</guid><description>Support `get` and `put` in constant time. Remove the least recently used item when the cache is full.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Maximum Product Subarray</title><link>https://mlmentorship.com/questions/maximum-product-subarray/</link><guid isPermaLink="true">https://mlmentorship.com/questions/maximum-product-subarray/</guid><description>Find the largest product of a nonempty continuous subarray.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Maximum Subarray</title><link>https://mlmentorship.com/questions/maximum-subarray/</link><guid isPermaLink="true">https://mlmentorship.com/questions/maximum-subarray/</guid><description>Find the largest sum of a nonempty continuous subarray.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Meeting Rooms II</title><link>https://mlmentorship.com/questions/meeting-rooms-ii/</link><guid isPermaLink="true">https://mlmentorship.com/questions/meeting-rooms-ii/</guid><description>Find the smallest number of rooms needed for all meetings.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Meeting Rooms</title><link>https://mlmentorship.com/questions/meeting-rooms/</link><guid isPermaLink="true">https://mlmentorship.com/questions/meeting-rooms/</guid><description>Check whether one person can attend every meeting.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Merge Intervals</title><link>https://mlmentorship.com/questions/merge-intervals/</link><guid isPermaLink="true">https://mlmentorship.com/questions/merge-intervals/</guid><description>Merge every pair of overlapping ranges.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Merge Two Sorted Lists</title><link>https://mlmentorship.com/questions/merge-two-sorted-lists/</link><guid isPermaLink="true">https://mlmentorship.com/questions/merge-two-sorted-lists/</guid><description>Merge two sorted linked lists into one sorted list.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Merge K Sorted Lists</title><link>https://mlmentorship.com/questions/merge-k-sorted-lists/</link><guid isPermaLink="true">https://mlmentorship.com/questions/merge-k-sorted-lists/</guid><description>Merge many sorted linked lists into one sorted list.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Min Stack</title><link>https://mlmentorship.com/questions/min-stack/</link><guid isPermaLink="true">https://mlmentorship.com/questions/min-stack/</guid><description>Build a stack that returns its current minimum in constant time.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Mini-Batches</title><link>https://mlmentorship.com/questions/mini-batches/</link><guid isPermaLink="true">https://mlmentorship.com/questions/mini-batches/</guid><description>Split examples into batches without dropping the final short batch.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Minimum Window Substring</title><link>https://mlmentorship.com/questions/minimum-window-substring/</link><guid isPermaLink="true">https://mlmentorship.com/questions/minimum-window-substring/</guid><description>Find the shortest substring that contains all required characters and counts.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Missing Number</title><link>https://mlmentorship.com/questions/missing-number/</link><guid isPermaLink="true">https://mlmentorship.com/questions/missing-number/</guid><description>Values come from 0 through `n`, with one missing. Return the missing value.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Network Delay Time</title><link>https://mlmentorship.com/questions/network-delay-time/</link><guid isPermaLink="true">https://mlmentorship.com/questions/network-delay-time/</guid><description>Find when a signal from one node reaches every node in a weighted directed graph.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Non-overlapping Intervals</title><link>https://mlmentorship.com/questions/non-overlapping-intervals/</link><guid isPermaLink="true">https://mlmentorship.com/questions/non-overlapping-intervals/</guid><description>Find the fewest ranges to remove so the rest do not overlap.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Number of 1 Bits</title><link>https://mlmentorship.com/questions/number-of-1-bits/</link><guid isPermaLink="true">https://mlmentorship.com/questions/number-of-1-bits/</guid><description>Count the set bits in an integer.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Number of Connected Components</title><link>https://mlmentorship.com/questions/number-of-connected-components/</link><guid isPermaLink="true">https://mlmentorship.com/questions/number-of-connected-components/</guid><description>Count separate groups in an undirected graph.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Number of Islands</title><link>https://mlmentorship.com/questions/number-of-islands/</link><guid isPermaLink="true">https://mlmentorship.com/questions/number-of-islands/</guid><description>Count connected groups of land in a grid.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Pacific Atlantic Water Flow</title><link>https://mlmentorship.com/questions/pacific-atlantic-water-flow/</link><guid isPermaLink="true">https://mlmentorship.com/questions/pacific-atlantic-water-flow/</guid><description>Find cells whose water can reach both oceans.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Pad Variable-Length Sequences</title><link>https://mlmentorship.com/questions/pad-variable-length-sequences/</link><guid isPermaLink="true">https://mlmentorship.com/questions/pad-variable-length-sequences/</guid><description>Put integer sequences into one rectangular array and return a valid-token mask.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Pairwise Squared Distances</title><link>https://mlmentorship.com/questions/pairwise-squared-distances/</link><guid isPermaLink="true">https://mlmentorship.com/questions/pairwise-squared-distances/</guid><description>Compute the squared distance from every point to every center without Python loops.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Palindromic Substrings</title><link>https://mlmentorship.com/questions/palindromic-substrings/</link><guid isPermaLink="true">https://mlmentorship.com/questions/palindromic-substrings/</guid><description>Count every continuous palindrome in a string.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Partition Equal Subset Sum</title><link>https://mlmentorship.com/questions/partition-equal-subset-sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/partition-equal-subset-sum/</guid><description>Check whether the values can be split into two groups with equal sums.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Permutation in String</title><link>https://mlmentorship.com/questions/permutation-in-string/</link><guid isPermaLink="true">https://mlmentorship.com/questions/permutation-in-string/</guid><description>Check whether any substring has the same letter counts as the pattern.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Permutations</title><link>https://mlmentorship.com/questions/permutations/</link><guid isPermaLink="true">https://mlmentorship.com/questions/permutations/</guid><description>Return every possible ordering of the input values.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Product of Array Except Self</title><link>https://mlmentorship.com/questions/product-of-array-except-self/</link><guid isPermaLink="true">https://mlmentorship.com/questions/product-of-array-except-self/</guid><description>For each position, return the product of all other values. Do not use division.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Redundant Connection</title><link>https://mlmentorship.com/questions/redundant-connection/</link><guid isPermaLink="true">https://mlmentorship.com/questions/redundant-connection/</guid><description>Find the edge that creates a cycle in an undirected graph.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Remove Nth Node From End</title><link>https://mlmentorship.com/questions/remove-nth-node-from-end/</link><guid isPermaLink="true">https://mlmentorship.com/questions/remove-nth-node-from-end/</guid><description>Remove the `n`th node counted from the end.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Reorder List</title><link>https://mlmentorship.com/questions/reorder-list/</link><guid isPermaLink="true">https://mlmentorship.com/questions/reorder-list/</guid><description>Change `1, 2, 3, 4, 5` into `1, 5, 2, 4, 3`.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Reverse Linked List</title><link>https://mlmentorship.com/questions/reverse-linked-list/</link><guid isPermaLink="true">https://mlmentorship.com/questions/reverse-linked-list/</guid><description>Reverse all links in a singly linked list.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Reverse Bits</title><link>https://mlmentorship.com/questions/reverse-bits/</link><guid isPermaLink="true">https://mlmentorship.com/questions/reverse-bits/</guid><description>Reverse the 32 bits of an unsigned integer.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Rotate Image</title><link>https://mlmentorship.com/questions/rotate-image/</link><guid isPermaLink="true">https://mlmentorship.com/questions/rotate-image/</guid><description>Rotate a square matrix 90 degrees clockwise in place.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Same Tree</title><link>https://mlmentorship.com/questions/same-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/same-tree/</guid><description>Check whether two binary trees have the same shape and values.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Rotting Oranges</title><link>https://mlmentorship.com/questions/rotting-oranges/</link><guid isPermaLink="true">https://mlmentorship.com/questions/rotting-oranges/</guid><description>Find how many minutes all reachable fresh oranges need to rot.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Search in Rotated Sorted Array</title><link>https://mlmentorship.com/questions/search-in-rotated-sorted-array/</link><guid isPermaLink="true">https://mlmentorship.com/questions/search-in-rotated-sorted-array/</guid><description>Find a target in a sorted array that was rotated once.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Serialize and Deserialize Binary Tree</title><link>https://mlmentorship.com/questions/serialize-and-deserialize-binary-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/serialize-and-deserialize-binary-tree/</guid><description>Convert a tree to text and rebuild the same tree from that text.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Set Matrix Zeroes</title><link>https://mlmentorship.com/questions/set-matrix-zeroes/</link><guid isPermaLink="true">https://mlmentorship.com/questions/set-matrix-zeroes/</guid><description>If a cell is zero, set its full row and column to zero. Change the matrix in place.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Spiral Matrix</title><link>https://mlmentorship.com/questions/spiral-matrix/</link><guid isPermaLink="true">https://mlmentorship.com/questions/spiral-matrix/</guid><description>Return matrix values in spiral order.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Split Array Largest Sum</title><link>https://mlmentorship.com/questions/split-array-largest-sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/split-array-largest-sum/</guid><description>Split an array into `k` nonempty continuous parts. Make the largest part sum as small as possible.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Stable Softmax</title><link>https://mlmentorship.com/questions/stable-softmax/</link><guid isPermaLink="true">https://mlmentorship.com/questions/stable-softmax/</guid><description>Convert logits to probabilities without numeric overflow.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Subarray Sum Equals K</title><link>https://mlmentorship.com/questions/subarray-sum-equals-k/</link><guid isPermaLink="true">https://mlmentorship.com/questions/subarray-sum-equals-k/</guid><description>Count continuous subarrays whose sum equals the target.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Subsets</title><link>https://mlmentorship.com/questions/subsets/</link><guid isPermaLink="true">https://mlmentorship.com/questions/subsets/</guid><description>Return every subset of the input values.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Subtree of Another Tree</title><link>https://mlmentorship.com/questions/subtree-of-another-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/subtree-of-another-tree/</guid><description>Check whether one full tree appears inside another tree.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Sum of Two Integers</title><link>https://mlmentorship.com/questions/sum-of-two-integers/</link><guid isPermaLink="true">https://mlmentorship.com/questions/sum-of-two-integers/</guid><description>Add two integers without `+` or `-`.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Top K Frequent Elements</title><link>https://mlmentorship.com/questions/top-k-frequent-elements/</link><guid isPermaLink="true">https://mlmentorship.com/questions/top-k-frequent-elements/</guid><description>Return the `k` values that appear most often.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Top-K Scores</title><link>https://mlmentorship.com/questions/top-k-scores/</link><guid isPermaLink="true">https://mlmentorship.com/questions/top-k-scores/</guid><description>Return indices of the `k` largest scores in descending score order.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Unique Paths</title><link>https://mlmentorship.com/questions/unique-paths/</link><guid isPermaLink="true">https://mlmentorship.com/questions/unique-paths/</guid><description>Count paths from the top-left to bottom-right when moves can only go right or down.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Two Sum</title><link>https://mlmentorship.com/questions/two-sum/</link><guid isPermaLink="true">https://mlmentorship.com/questions/two-sum/</guid><description>Return the indices of two numbers that add to the target.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Valid Anagram</title><link>https://mlmentorship.com/questions/valid-anagram/</link><guid isPermaLink="true">https://mlmentorship.com/questions/valid-anagram/</guid><description>Check whether two strings contain the same letters with the same counts.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Valid Palindrome</title><link>https://mlmentorship.com/questions/valid-palindrome/</link><guid isPermaLink="true">https://mlmentorship.com/questions/valid-palindrome/</guid><description>Ignore punctuation and letter case, then check whether text reads the same both ways.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Valid Parentheses</title><link>https://mlmentorship.com/questions/valid-parentheses/</link><guid isPermaLink="true">https://mlmentorship.com/questions/valid-parentheses/</guid><description>Check whether all brackets close in the correct order.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Validate Binary Search Tree</title><link>https://mlmentorship.com/questions/validate-binary-search-tree/</link><guid isPermaLink="true">https://mlmentorship.com/questions/validate-binary-search-tree/</guid><description>Check whether every node follows all BST ordering rules.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Word Break</title><link>https://mlmentorship.com/questions/word-break/</link><guid isPermaLink="true">https://mlmentorship.com/questions/word-break/</guid><description>Check whether a string can be split into dictionary words.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Word Search II</title><link>https://mlmentorship.com/questions/word-search-ii/</link><guid isPermaLink="true">https://mlmentorship.com/questions/word-search-ii/</guid><description>Find every dictionary word that can be formed on a letter board.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Word Search</title><link>https://mlmentorship.com/questions/word-search/</link><guid isPermaLink="true">https://mlmentorship.com/questions/word-search/</guid><description>Check whether a word can be formed by neighboring board cells without reusing a cell.</description><pubDate>Tue, 01 Sep 2026 00:00:00 GMT</pubDate><category>coding interview</category><category>data structures</category></item><item><title>Annotated senior-principal mock: ecosystem ranking</title><link>https://mlmentorship.com/guides/annotated-ecosystem-strategy-mock/</link><guid isPermaLink="true">https://mlmentorship.com/guides/annotated-ecosystem-strategy-mock/</guid><description>A synthetic ten-turn mock showing how an upper-IC candidate handles a watch-time win, creator damage, causal uncertainty, rollback, governance, and portfolio change.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>guides</category><category>mock-interview</category><category>recommendation</category><category>ranking</category><category>ecosystem</category><category>principal</category><category>senior-principal</category></item><item><title>Annotated upper-IC mock: reasoning under a fixed budget</title><link>https://mlmentorship.com/guides/annotated-reasoning-strategy-mock/</link><guid isPermaLink="true">https://mlmentorship.com/guides/annotated-reasoning-strategy-mock/</guid><description>A synthetic ten-turn interview showing how fixed-capacity arithmetic, verification, serving, recovery, portfolio choices, and delegated leadership affect upper-IC calibration.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>guides</category><category>mock-interview</category><category>reasoning-models</category><category>system-design</category><category>principal</category><category>senior-principal</category></item><item><title>Annotated principal architecture mock: enterprise agents</title><link>https://mlmentorship.com/guides/annotated-upper-ic-agent-platform-mock/</link><guid isPermaLink="true">https://mlmentorship.com/guides/annotated-upper-ic-agent-platform-mock/</guid><description>A synthetic interview transcript showing how technical framing, authority, failure semantics, portfolio judgment, delegation, and reversal move an answer from staff to senior principal.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>guides</category><category>mock-interview</category><category>principal</category><category>senior-principal</category><category>agents</category></item><item><title>Design a safety control plane for high-impact agents</title><link>https://mlmentorship.com/questions/design-agent-safety-control-plane/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-agent-safety-control-plane/</guid><description>A deep case on independent runtime controls, safety cases, monitors, circuit breakers, approval, evidence, degraded operation, incidents, evaluation, and upper-IC judgment.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>agents</category><category>safety</category><category>control-plane</category><category>principal</category><category>senior-principal</category></item><item><title>Design an AI coding product</title><link>https://mlmentorship.com/questions/design-ai-coding-product/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-ai-coding-product/</guid><description>A deep system-design case covering four coding modes, repository context, safe execution, evaluation, developer control, rollout, cost, and organization-wide technical decisions.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>coding-assistant</category><category>agents</category><category>principal</category><category>senior-principal</category></item><item><title>Design an enterprise agent platform</title><link>https://mlmentorship.com/questions/design-enterprise-agent-platform/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-enterprise-agent-platform/</guid><description>A deep architecture case covering delegated authority, tool contracts, durable state, safe retries, memory, evaluation, observability, rollout, cost, and multi-organization governance.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>agents</category><category>principal</category><category>senior-principal</category></item><item><title>Design a foundation-model data platform</title><link>https://mlmentorship.com/questions/design-foundation-model-data-platform/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-foundation-model-data-platform/</guid><description>A deep case on lawful sourcing, provenance, curation, contamination, mixtures, high-throughput processing, deletion, release gates, incidents, and multi-level technical judgment.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>foundation-models</category><category>data-platform</category><category>principal</category><category>senior-principal</category></item><item><title>Design a real-time multimodal assistant</title><link>https://mlmentorship.com/questions/design-real-time-multimodal-assistant/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-real-time-multimodal-assistant/</guid><description>A deep system-design case covering synchronized live media, streaming models, latency, failure recovery, privacy, evaluation, rollout, incidents, and multi-level technical decisions.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>multimodal</category><category>real-time</category><category>principal</category><category>senior-principal</category></item><item><title>Design short-form video recommendation for ecosystem health</title><link>https://mlmentorship.com/questions/design-short-form-video-ecosystem/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-short-form-video-ecosystem/</guid><description>A deep recommendation case balancing viewer value, creator opportunity, quality, revenue, concentration, experimentation, operations, and portfolio choices across a short-form video ecosystem.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>recommendation</category><category>ranking</category><category>ecosystem</category><category>principal</category><category>senior-principal</category></item><item><title>Entropy, mutual information, and information gain</title><link>https://mlmentorship.com/concepts/entropy-mutual-information/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/entropy-mutual-information/</guid><description>Entropy measures uncertainty, while mutual information measures shared dependence. Both require careful estimation and neither proves causation or calibrated confidence.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Train and serve a reasoning model under a fixed compute budget</title><link>https://mlmentorship.com/questions/design-reasoning-model-fixed-budget/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-reasoning-model-fixed-budget/</guid><description>A deep system-design case on allocating fixed accelerator capacity across reasoning-model training, verification, evaluation, routing, serving, reliability, and organizational ownership.</description><pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>reasoning-models</category><category>training</category><category>inference</category><category>principal</category><category>senior-principal</category></item><item><title>Accelerator network topology for distributed ML</title><link>https://mlmentorship.com/concepts/accelerator-network-topology/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/accelerator-network-topology/</guid><description>Place each parallelism axis on hardware links that can carry its message size, frequency, and latency needs.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Bootstrap and resampling</title><link>https://mlmentorship.com/concepts/bootstrap-and-resampling/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/bootstrap-and-resampling/</guid><description>Estimate uncertainty by resampling the observed units. Preserve pairing and dependence, report the resampling unit, and know when the bootstrap can fail.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Causal inference for ML decisions</title><link>https://mlmentorship.com/concepts/causal-inference-for-ml-decisions/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/causal-inference-for-ml-decisions/</guid><description>Prediction estimates what will happen; causal inference estimates what an intervention will change. Define the estimand, assumptions, assignment process, and identification strategy.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Context parallelism and ring attention</title><link>https://mlmentorship.com/concepts/context-parallelism-and-ring-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/context-parallelism-and-ring-attention/</guid><description>Shard a long sequence across devices while preserving exact attention and controlling activation memory.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Data leakage and point-in-time correctness</title><link>https://mlmentorship.com/concepts/data-leakage-point-in-time-correctness/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/data-leakage-point-in-time-correctness/</guid><description>A feature is valid only if it was available when the prediction was made. Prevent target, temporal, group, preprocessing, and evaluation leakage.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Contrastive and self-supervised learning</title><link>https://mlmentorship.com/concepts/contrastive-self-supervised-learning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/contrastive-self-supervised-learning/</guid><description>Learn useful representations from unlabeled data by defining which views should agree and which examples should stay apart.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Decision thresholds, asymmetric costs, and abstention</title><link>https://mlmentorship.com/concepts/decision-thresholds-asymmetric-costs-abstention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/decision-thresholds-asymmetric-costs-abstention/</guid><description>Choose actions from calibrated probabilities, error costs, and capacity constraints. Use separate thresholds for automatic action, human review, and abstention.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Delayed labels, selective labels, and feedback loops</title><link>https://mlmentorship.com/concepts/delayed-labels-selective-labels-feedback-loops/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/delayed-labels-selective-labels-feedback-loops/</guid><description>Production policies control which labels arrive and when. Track label maturity, selection, action propensities, and feedback before training or evaluating a model.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design a multi-team ML platform</title><link>https://mlmentorship.com/questions/design-multi-team-ml-platform/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-multi-team-ml-platform/</guid><description>A staff-level case covering platform scope, data contracts, training, deployment, governance, migration, ownership, cost, and adoption across product teams.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>questions</category><category>system-design</category><category>staff</category><category>principal</category><category>ml-platform</category></item><item><title>Evaluation validity and benchmark contamination</title><link>https://mlmentorship.com/concepts/evaluation-validity-benchmark-contamination/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/evaluation-validity-benchmark-contamination/</guid><description>Check that an evaluation measures the claimed ability, uses independent data, and still predicts performance on the target task.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Expectation, variance, covariance, and correlation</title><link>https://mlmentorship.com/concepts/expectation-variance-covariance-correlation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/expectation-variance-covariance-correlation/</guid><description>Use moments to describe location, uncertainty, and dependence. Know what covariance measures, how transformations change it, and why correlation does not establish causation.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Learning-to-rank losses and objectives</title><link>https://mlmentorship.com/concepts/learning-to-rank-losses/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/learning-to-rank-losses/</guid><description>Ranking metrics are not differentiable training losses. Compare pointwise, pairwise, listwise, and lambda-weighted objectives by label quality, query structure, and target metric.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Hypothesis testing and confidence intervals</title><link>https://mlmentorship.com/concepts/hypothesis-testing-confidence-intervals/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/hypothesis-testing-confidence-intervals/</guid><description>Use uncertainty, effect size, and test assumptions to decide whether a measured model gain is likely to be real.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>LLM-as-judge evaluation</title><link>https://mlmentorship.com/concepts/llm-as-judge/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/llm-as-judge/</guid><description>Use a model to score open-ended outputs only after testing its rubric, bias, agreement, and resistance to manipulation.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Markov decision processes and Bellman equations</title><link>https://mlmentorship.com/concepts/mdps-and-bellman-equations/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/mdps-and-bellman-equations/</guid><description>Define sequential decisions with states, actions, transitions, rewards, and value functions before choosing an RL algorithm.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>ML data lineage, versioning, and reproducibility</title><link>https://mlmentorship.com/concepts/ml-data-lineage-versioning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/ml-data-lineage-versioning/</guid><description>Trace a model from raw data through transforms, features, labels, training, evaluation, and deployment. Version each contract for replay, rollback, deletion, and incident response.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Multi-task learning and objective interference</title><link>https://mlmentorship.com/concepts/multi-task-learning-objective-interference/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/multi-task-learning-objective-interference/</guid><description>Shared training can improve data efficiency or cause negative transfer. Diagnose task balance through labels, loss scales, gradients, calibration, and per-task outcomes.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Neural scaling laws and compute-optimal training</title><link>https://mlmentorship.com/concepts/neural-scaling-laws/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/neural-scaling-laws/</guid><description>Use small training runs to estimate how loss changes with model size, data, and compute, then choose a training plan within a fixed budget.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Plan and cost a 70B transformer training run</title><link>https://mlmentorship.com/questions/plan-70b-training-run/</link><guid isPermaLink="true">https://mlmentorship.com/questions/plan-70b-training-run/</guid><description>Turn a model configuration and cluster budget into parameters, memory, parallelism, time, and an experiment plan.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Position bias and counterfactual learning to rank</title><link>https://mlmentorship.com/concepts/position-bias-counterfactual-learning-to-rank/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/position-bias-counterfactual-learning-to-rank/</guid><description>Clicks reflect relevance and exposure. Use randomized data, propensities, IPS, self-normalization, or doubly robust estimates without hiding support and variance limits.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Probability distributions used in ML</title><link>https://mlmentorship.com/concepts/probability-distributions-in-ml/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/probability-distributions-in-ml/</guid><description>Choose a distribution from the data type and generation process. Connect its support, parameters, mean, variance, likelihood, and common ML use.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Profiling distributed ML workloads</title><link>https://mlmentorship.com/concepts/profiling-distributed-ml-workloads/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/profiling-distributed-ml-workloads/</guid><description>Use step traces, roofline limits, and communication timelines to find the exposed bottleneck in training and inference.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Reproducibility and fair model comparison</title><link>https://mlmentorship.com/concepts/reproducibility-fair-model-comparison/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/reproducibility-fair-model-comparison/</guid><description>Compare models with matched resources, repeated runs, complete records, and tests that another person can reproduce.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>RL with verifiable rewards and GRPO</title><link>https://mlmentorship.com/concepts/rl-verifiable-rewards-grpo/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rl-verifiable-rewards-grpo/</guid><description>Train a model from outcomes that can be checked, using grouped samples to estimate relative advantage without a separate value model.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Sharded matrix multiplication</title><link>https://mlmentorship.com/concepts/sharded-matrix-multiplication/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/sharded-matrix-multiplication/</guid><description>Predict which collective communication a distributed matrix multiplication needs from its sharded axes.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Strong scaling, MFU, and parallelism selection</title><link>https://mlmentorship.com/concepts/strong-scaling-and-parallelism-selection/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/strong-scaling-and-parallelism-selection/</guid><description>Choose data, tensor, pipeline, and sharded parallelism by checking memory, communication, topology, and scaling efficiency.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Synthetic data generation and verification</title><link>https://mlmentorship.com/concepts/synthetic-data-generation-verification/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/synthetic-data-generation-verification/</guid><description>Generate training examples for a clear capability, verify them with independent evidence, and protect diversity and held-out evaluation.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Test-time compute, search, and verifiers</title><link>https://mlmentorship.com/concepts/test-time-compute-search-verifiers/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/test-time-compute-search-verifiers/</guid><description>Spend extra inference compute on several candidate solutions, search, tools, or revision, then select results with evidence.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Transformer compute and memory accounting</title><link>https://mlmentorship.com/concepts/transformer-compute-memory-accounting/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/transformer-compute-memory-accounting/</guid><description>Estimate parameters, training FLOPs, activation memory, and KV-cache memory from a small set of model dimensions.</description><pubDate>Fri, 28 Aug 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Extend an unfamiliar ML codebase with an AI coding agent</title><link>https://mlmentorship.com/questions/agentic-ml-codebase-interview/</link><guid isPermaLink="true">https://mlmentorship.com/questions/agentic-ml-codebase-interview/</guid><description>The new coding signal is control: map the system, delegate bounded work, reject bad changes, and prove the result.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Chain-of-thought monitorability</title><link>https://mlmentorship.com/concepts/chain-of-thought-monitorability/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/chain-of-thought-monitorability/</guid><description>Measure whether visible reasoning contains useful evidence of behavior, while remembering that the trace may be incomplete, unfaithful, or changed by training.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Debug a frontier LLM training run that suddenly diverges</title><link>https://mlmentorship.com/questions/debug-frontier-llm-training-run/</link><guid isPermaLink="true">https://mlmentorship.com/questions/debug-frontier-llm-training-run/</guid><description>A loss spike is an incident: preserve evidence, classify the failure, isolate the first bad transition, and recover without hiding the cause.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Defend a values decision under ethical pressure</title><link>https://mlmentorship.com/questions/defend-values-under-ethical-pressure/</link><guid isPermaLink="true">https://mlmentorship.com/questions/defend-values-under-ethical-pressure/</guid><description>A strong mission answer names competing goods, makes a costly choice, exposes uncertainty, and shows what evidence changed your behavior.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Derive ML math under oral-interview pressure</title><link>https://mlmentorship.com/questions/derive-ml-math-under-pressure/</link><guid isPermaLink="true">https://mlmentorship.com/questions/derive-ml-math-under-pressure/</guid><description>A strong derivation states assumptions, exposes the key identity, checks the result, and explains what it means for model behavior.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design fault-tolerant distributed training</title><link>https://mlmentorship.com/questions/design-fault-tolerant-distributed-training/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-fault-tolerant-distributed-training/</guid><description>Classify fail-stop, straggler, state-divergence, and silent-corruption failures before choosing restart, elasticity, redundancy, or repair.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design an LLM red-team and security evaluation program</title><link>https://mlmentorship.com/questions/design-llm-red-team-program/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-llm-red-team-program/</guid><description>Start from assets and attacker capability, test the whole agentic system adaptively, and turn findings into measurable release gates.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design post-training data, an RL environment, and its grader</title><link>https://mlmentorship.com/questions/design-post-training-data-and-rl-environment/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-post-training-data-and-rl-environment/</guid><description>Turn one capability into episodes, evidence-bearing graders, adversarial data, and a training signal that cannot reward the wrong process.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design a production LLM inference service</title><link>https://mlmentorship.com/questions/design-production-llm-inference-service/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-production-llm-inference-service/</guid><description>Turn prefill, decode, KV memory, admission, batching, fairness, overload, and cost into one explicit serving policy.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Fault-tolerant collectives</title><link>https://mlmentorship.com/concepts/fault-tolerant-collectives/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/fault-tolerant-collectives/</guid><description>What happens when a rank fails, stalls, diverges, or corrupts data inside all-reduce, and which guarantees recovery can actually preserve.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Foundation-model data curation</title><link>https://mlmentorship.com/concepts/foundation-model-data-curation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/foundation-model-data-curation/</guid><description>Source, filter, deduplicate, decontaminate, mix, and audit data as a versioned model input rather than a pile of tokens.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Frontier AI lab interviews in 2026: prepare for the format, not the logo</title><link>https://mlmentorship.com/guides/frontier-lab-interview-processes-2026/</link><guid isPermaLink="true">https://mlmentorship.com/guides/frontier-lab-interview-processes-2026/</guid><description>OpenAI, Anthropic, DeepMind, Meta, and xAI now test different combinations of codebases, presentations, research work, AI tools, and technical depth.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Frontier-lab proof of work: the 100-word claim, artifacts, and references</title><link>https://mlmentorship.com/guides/frontier-lab-proof-of-work-and-references/</link><guid isPermaLink="true">https://mlmentorship.com/guides/frontier-lab-proof-of-work-and-references/</guid><description>Make one exceptional contribution easy to verify, then choose references who can independently describe the same decisions and working style.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Implement beam search with EOS and length normalization</title><link>https://mlmentorship.com/questions/implement-beam-search/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-beam-search/</guid><description>The implementation tests bounded hypothesis state, log-probability accounting, finished-sequence handling, and whether the decoder fits the task.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement incremental decoding with a KV cache</title><link>https://mlmentorship.com/questions/implement-kv-cache-decode/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-kv-cache-decode/</guid><description>Prove that one-token cached attention matches full-prefix attention while preserving shape, dtype, growth, and memory invariants.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement a LoRA adapter for a frozen linear layer</title><link>https://mlmentorship.com/questions/implement-lora-adapter/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-lora-adapter/</guid><description>The code is small; the signal is low-rank parameterization, zero-impact initialization, scaling, trainable-state control, and deployment trade-offs.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement a pre-norm Transformer decoder block</title><link>https://mlmentorship.com/questions/implement-transformer-decoder/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-transformer-decoder/</guid><description>The code tests tensor contracts, causal masking, stable attention, residual structure, and whether you can connect a toy block to production kernels.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement reverse-mode autodiff for scalar expressions</title><link>https://mlmentorship.com/questions/implement-reverse-mode-autograd/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-reverse-mode-autograd/</guid><description>Build the computation graph, local derivatives, gradient accumulation, and reverse topological pass behind neural-network training.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Investigate a black-box model behavior in 90 minutes</title><link>https://mlmentorship.com/questions/investigate-black-box-model-behavior/</link><guid isPermaLink="true">https://mlmentorship.com/questions/investigate-black-box-model-behavior/</guid><description>Turn an observation into competing hypotheses, discriminating probes, boundary conditions, and one decision-changing result.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>LLM security threat models</title><link>https://mlmentorship.com/concepts/llm-security-threat-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/llm-security-threat-models/</guid><description>Map assets, actors, trust boundaries, and attack paths across prompts, retrieval, tools, memory, generated code, and tenants.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Loss spikes at scale</title><link>https://mlmentorship.com/concepts/loss-spikes-at-scale/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/loss-spikes-at-scale/</guid><description>A training spike is a first-bad-transition problem across data, numerics, optimizer, distributed state, software, and hardware.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Mechanistic interpretability</title><link>https://mlmentorship.com/concepts/mechanistic-interpretability/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/mechanistic-interpretability/</guid><description>Use causal interventions, not attractive visualizations, to identify internal computations that produce model behavior.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Multimodal foundation models</title><link>https://mlmentorship.com/concepts/multimodal-foundation-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/multimodal-foundation-models/</guid><description>Align modality encoders, token budgets, fusion, objectives, and evaluation without pretending text, image, audio, and video share one natural representation.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Model organisms of misalignment</title><link>https://mlmentorship.com/concepts/model-organisms-of-misalignment/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/model-organisms-of-misalignment/</guid><description>Create controlled models with known problematic behavior to test detection and mitigation, while keeping the induced behavior bounded and measurable.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Optimize an accelerator workload from a trace</title><link>https://mlmentorship.com/questions/optimize-accelerator-workload/</link><guid isPermaLink="true">https://mlmentorship.com/questions/optimize-accelerator-workload/</guid><description>Performance engineering is a measured argument: identify the bottleneck, predict the effect, preserve correctness, and shorten the critical path.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Preference data and reward models</title><link>https://mlmentorship.com/concepts/preference-data-and-reward-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/preference-data-and-reward-models/</guid><description>Preference optimization is a measurement system: sampling policy, annotator protocol, disagreement, calibration, and shift determine the signal.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Present a technical ML project and defend it under questions</title><link>https://mlmentorship.com/questions/present-technical-ml-project/</link><guid isPermaLink="true">https://mlmentorship.com/questions/present-technical-ml-project/</guid><description>A senior project presentation should expose three decisions, one failure, honest attribution, and enough depth to survive interruption.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>RL environments and graders for language-model agents</title><link>https://mlmentorship.com/concepts/rl-environments-and-graders/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rl-environments-and-graders/</guid><description>The environment defines what behavior is possible; the grader defines what optimization values. Both need versioning, adversarial tests, and evidence.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Robotics policy learning</title><link>https://mlmentorship.com/concepts/robotics-policy-learning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/robotics-policy-learning/</guid><description>Learn actions from demonstrations, rewards, or world models while respecting partial observability, control frequency, safety, and sim-to-real shift.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Scalable oversight and AI control</title><link>https://mlmentorship.com/concepts/scalable-oversight-and-ai-control/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/scalable-oversight-and-ai-control/</guid><description>Oversight tries to judge work beyond unaided human ability; control tries to keep systems safe even when the model may be strategically untrusted.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Adversarial robustness</title><link>https://mlmentorship.com/concepts/adversarial-robustness/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/adversarial-robustness/</guid><description>Small worst-case perturbations, threat models, adversarial training, robust evaluation, and the difference between security and ordinary distribution shift.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Tell me about a time you advocated for quality or safety over speed</title><link>https://mlmentorship.com/questions/advocated-quality-over-speed/</link><guid isPermaLink="true">https://mlmentorship.com/questions/advocated-quality-over-speed/</guid><description>A senior behavioral question about evidence, proportionate pushback, stakeholder pressure, and responsible trade-offs.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Choose metrics for an ML product</title><link>https://mlmentorship.com/questions/choose-ml-product-metrics/</link><guid isPermaLink="true">https://mlmentorship.com/questions/choose-ml-product-metrics/</guid><description>Select a primary outcome, guardrails, diagnostics, and decision horizon without turning the dashboard into a metric zoo.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Contextual bandits</title><link>https://mlmentorship.com/concepts/contextual-bandits/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/contextual-bandits/</guid><description>Choose actions from context while balancing reward and uncertainty. The bridge between supervised prediction, experimentation, and reinforcement learning.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Critique an ML paper you have not seen before</title><link>https://mlmentorship.com/questions/critique-ml-paper/</link><guid isPermaLink="true">https://mlmentorship.com/questions/critique-ml-paper/</guid><description>A research-depth framework for claims, baselines, evidence, leakage, compute fairness, ablations, and generalization.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Your offline metric improved but the online metric got worse. Debug it.</title><link>https://mlmentorship.com/questions/debug-offline-online-metric-gap/</link><guid isPermaLink="true">https://mlmentorship.com/questions/debug-offline-online-metric-gap/</guid><description>A senior experimentation question about objective mismatch, leakage, serving skew, feedback loops, and disciplined diagnosis.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design an ablation study that tests the claimed mechanism</title><link>https://mlmentorship.com/questions/design-ablation-study/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-ablation-study/</guid><description>Separate a model improvement from extra compute, data, parameters, tuning, and implementation confounds.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design an A/B test for a new ML model</title><link>https://mlmentorship.com/questions/design-ml-ab-test/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-ml-ab-test/</guid><description>Turn an offline model gain into a valid product decision: unit, exposure, power, guardrails, interference, and a ship rule.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design an ML system under a fixed serving budget</title><link>https://mlmentorship.com/questions/design-ml-system-fixed-budget/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-ml-system-fixed-budget/</guid><description>A cost-constrained system-design question where quality, latency, traffic, and annual spend must fit one defensible operating point.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Domain adaptation</title><link>https://mlmentorship.com/concepts/domain-adaptation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/domain-adaptation/</guid><description>Transfer a model across related but shifted data distributions without assuming unlabeled target data makes the problem identifiable.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Hybrid versus end-to-end speech recognition</title><link>https://mlmentorship.com/concepts/hybrid-vs-end-to-end-asr/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/hybrid-vs-end-to-end-asr/</guid><description>Compare modular acoustic-pronunciation-language pipelines with CTC, attention, and transducer systems across data, control, latency, and operations.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Implement memory-bounded batched top-k retrieval</title><link>https://mlmentorship.com/questions/implement-batched-top-k/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-batched-top-k/</guid><description>Retrieve top-k cosine neighbors for many queries without materializing the full query-by-item score matrix.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement mergeable streaming classification metrics</title><link>https://mlmentorship.com/questions/implement-streaming-classification-metrics/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-streaming-classification-metrics/</guid><description>Build a bounded-memory confusion-matrix accumulator with merge, precision, recall, F1, and edge-case handling.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Tell me about an ML project you killed or redirected</title><link>https://mlmentorship.com/questions/killed-ml-project/</link><guid isPermaLink="true">https://mlmentorship.com/questions/killed-ml-project/</guid><description>A staff-level behavioral and project question about sunk costs, evidence thresholds, influence, and responsible stopping.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Multi-agent reinforcement learning</title><link>https://mlmentorship.com/concepts/multi-agent-reinforcement-learning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/multi-agent-reinforcement-learning/</guid><description>Learning when other agents change the environment: non-stationarity, credit assignment, coordination, competition, and evaluation.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Reward shaping</title><link>https://mlmentorship.com/concepts/reward-shaping/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/reward-shaping/</guid><description>Modify learning signals without accidentally changing the task, creating reward hacking, or hiding specification failure.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Semantic segmentation</title><link>https://mlmentorship.com/concepts/semantic-segmentation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/semantic-segmentation/</guid><description>Assign a class to every pixel: encoder-decoder architectures, losses, IoU, class imbalance, boundaries, and deployment constraints.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Speaker recognition</title><link>https://mlmentorship.com/concepts/speaker-recognition/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/speaker-recognition/</guid><description>Speaker verification and identification using embeddings, metric learning, calibration, anti-spoofing, and operating-point evaluation.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Streaming automatic speech recognition</title><link>https://mlmentorship.com/concepts/streaming-asr/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/streaming-asr/</guid><description>Emit transcripts with bounded latency using chunked encoders, monotonic alignment, endpointing, and stability-aware evaluation.</description><pubDate>Fri, 10 Jul 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Automatic speech recognition (ASR)</title><link>https://mlmentorship.com/concepts/automatic-speech-recognition/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/automatic-speech-recognition/</guid><description>The end-to-end map from a waveform to text: features, the three modeling paradigms (CTC, RNN-T, attention), language-model fusion, and how the field moved from HMM-GMM pipelines to a single neural model.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Belief propagation (message passing)</title><link>https://mlmentorship.com/concepts/belief-propagation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/belief-propagation/</guid><description>Belief propagation computes graphical-model marginals through local messages. Sum-product is exact on trees and approximate on graphs with cycles.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Conditional random fields (CRFs)</title><link>https://mlmentorship.com/concepts/conditional-random-fields/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/conditional-random-fields/</guid><description>A CRF models labels for a whole sequence and scores transitions jointly. Linear-chain CRFs improve taggers when neighboring labels constrain each other.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Connectionist Temporal Classification (CTC)</title><link>https://mlmentorship.com/concepts/connectionist-temporal-classification/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/connectionist-temporal-classification/</guid><description>How you train a sequence model to map audio (or pixels) to text without knowing the alignment. CTC marginalizes over every possible alignment with a blank symbol and a forward-backward sum.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Content-based filtering</title><link>https://mlmentorship.com/concepts/content-based-filtering/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/content-based-filtering/</guid><description>Content-based filtering scores item features against a user profile. It handles item cold-start and often complements collaborative filtering.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Discrete gradient estimators</title><link>https://mlmentorship.com/concepts/discrete-gradient-estimators/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/discrete-gradient-estimators/</guid><description>How to get gradients through a sampling step over discrete variables, where the reparameterization trick doesn&apos;t apply. Covers the score-function (REINFORCE) estimator, the straight-through estimator, and Gumbel-Softmax.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Factor analysis and probabilistic PCA</title><link>https://mlmentorship.com/concepts/factor-analysis-and-ppca/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/factor-analysis-and-ppca/</guid><description>Factor analysis uses latent factors with per-feature noise. Probabilistic PCA uses isotropic noise and recovers classical PCA in its zero-noise limit.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Knowledge-graph embeddings</title><link>https://mlmentorship.com/concepts/knowledge-graph-embeddings/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/knowledge-graph-embeddings/</guid><description>Knowledge-graph embeddings turn link prediction into vector scoring. Compare TransE, DistMult, ComplEx, and RotatE by the relation patterns they can represent.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Model interpretability</title><link>https://mlmentorship.com/concepts/model-interpretability/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/model-interpretability/</guid><description>How to explain a model&apos;s predictions: the split between intrinsic and post-hoc methods, global vs local, and the four techniques interviewers expect (feature importance, SHAP, LIME, and saliency / Grad-CAM).</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>The neural-network training recipe</title><link>https://mlmentorship.com/concepts/neural-network-training-recipe/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/neural-network-training-recipe/</guid><description>A systematic procedure for taking a model from &apos;not training&apos; to &apos;tuned&apos;, the order of operations that separates disciplined practitioners from people who randomly change hyperparameters and hope.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>RNN-Transducer (RNN-T)</title><link>https://mlmentorship.com/concepts/rnn-transducer/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rnn-transducer/</guid><description>The streaming-ASR workhorse. RNN-T fixes CTC&apos;s biggest weakness (its frame-independence assumption) by adding a prediction network that conditions on previously emitted tokens, while staying naturally streamable.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>TF-IDF and BM25</title><link>https://mlmentorship.com/concepts/tf-idf-and-bm25/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/tf-idf-and-bm25/</guid><description>TF-IDF and BM25 are lexical retrieval baselines for search and RAG. BM25 adds term-frequency saturation and document-length normalization.</description><pubDate>Sun, 31 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Actor-critic methods</title><link>https://mlmentorship.com/concepts/actor-critic-methods/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/actor-critic-methods/</guid><description>Policy gradient with a learned value baseline. The actor picks actions; the critic estimates how good they were. The architecture under PPO, A3C, SAC, and most modern RL.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Advantage estimation and GAE</title><link>https://mlmentorship.com/concepts/advantage-estimation-and-gae/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/advantage-estimation-and-gae/</guid><description>Policy gradients need a low-variance estimate of how much better an action was than average. GAE is the standard answer: an exponentially weighted blend of n-step returns.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Alternating least squares for collaborative filtering</title><link>https://mlmentorship.com/concepts/alternating-least-squares/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/alternating-least-squares/</guid><description>Factorize the user-item matrix into two low-rank factors. Each is a linear regression given the other, so alternate. The classical recsys workhorse before deep learning.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Anchor boxes and non-maximum suppression</title><link>https://mlmentorship.com/concepts/anchor-boxes-and-nms/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/anchor-boxes-and-nms/</guid><description>Object detectors predict thousands of overlapping boxes. Anchors give each prediction a prior shape; NMS prunes near-duplicates. The pre-DETR pipeline that defined the field for a decade.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Approximate nearest neighbors: HNSW, IVF, and product quantization</title><link>https://mlmentorship.com/concepts/approximate-nearest-neighbors/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/approximate-nearest-neighbors/</guid><description>Exact k-NN over a billion vectors is infeasible. ANN trades a small recall hit for a 100x to 10,000x speedup. The reason vector search at scale exists.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>BERT and masked language modeling</title><link>https://mlmentorship.com/concepts/bert-and-masked-language-modeling/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/bert-and-masked-language-modeling/</guid><description>Train a transformer to fill in randomly masked tokens. The result is a bidirectional encoder that broke a dozen NLP benchmarks at once and defined the pretrain-then-finetune era.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Convolution as matrix multiplication (im2col)</title><link>https://mlmentorship.com/concepts/convolution-as-matmul/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/convolution-as-matmul/</guid><description>A 2D convolution is a matmul in disguise. Unfold the input into columns, multiply by a flattened filter matrix. The reason CNNs run fast on the same hardware as transformers.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Decoding strategies: greedy, beam, top-k, top-p, temperature</title><link>https://mlmentorship.com/concepts/decoding-strategies/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/decoding-strategies/</guid><description>Same model, different samplers, very different outputs. The choice of decoder is often more impactful than the last percent of training. Know the tradeoffs.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Designing a RAG system that actually works</title><link>https://mlmentorship.com/guides/designing-rag-that-works/</link><guid isPermaLink="true">https://mlmentorship.com/guides/designing-rag-that-works/</guid><description>RAG fails most often at retrieval, not generation. A practitioner&apos;s guide to the architecture, the failure modes, and what production teams actually do in 2026.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Epistemic vs aleatoric uncertainty</title><link>https://mlmentorship.com/concepts/epistemic-vs-aleatoric-uncertainty/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/epistemic-vs-aleatoric-uncertainty/</guid><description>Epistemic uncertainty shrinks with more data; aleatoric uncertainty does not. Confusing them causes miscalibration and wasted data collection.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Exploration vs exploitation: epsilon-greedy, UCB, Thompson sampling</title><link>https://mlmentorship.com/concepts/exploration-vs-exploitation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/exploration-vs-exploitation/</guid><description>An RL or bandit agent has to keep trying new actions to learn while taking the best-known action to score. Three classical strategies, each with a different way of resolving the tension.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Factorization machines</title><link>https://mlmentorship.com/concepts/factorization-machines/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/factorization-machines/</guid><description>Linear models can&apos;t capture feature interactions. Polynomial models have too many parameters. Factorization machines find a middle path: factorize the interaction matrix and learn an embedding per feature.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Forward-backward and Viterbi: dynamic programming on chains</title><link>https://mlmentorship.com/concepts/forward-backward-and-viterbi/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/forward-backward-and-viterbi/</guid><description>Sum and max over exponentially many paths in linear time. Forward-backward computes posteriors over hidden states; Viterbi finds the most likely state sequence. The same idea, two semirings.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Gaussian processes</title><link>https://mlmentorship.com/concepts/gaussian-processes/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gaussian-processes/</guid><description>A distribution over functions defined by a mean and covariance kernel. Predicts a mean and kernel-conditional uncertainty. Beautiful theory, brutal scaling.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Graph neural networks: message passing as A·X·W</title><link>https://mlmentorship.com/concepts/graph-neural-networks/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/graph-neural-networks/</guid><description>Neighbors carry signal. A graph neural network averages each node&apos;s neighborhood and projects with a learned matrix. The same matmul as a CNN, on irregular structure.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Kernel methods and the kernel trick</title><link>https://mlmentorship.com/concepts/kernel-methods-and-the-kernel-trick/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/kernel-methods-and-the-kernel-trick/</guid><description>Compute inner products in a high-dimensional feature space without ever materializing the features. The mathematical move that lets a linear classifier draw nonlinear boundaries.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Knowledge distillation</title><link>https://mlmentorship.com/concepts/knowledge-distillation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/knowledge-distillation/</guid><description>Train a small student to match a large teacher&apos;s outputs. The student gets richer signal than from hard labels because the teacher&apos;s soft probabilities encode similarity structure.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>LSTM and GRU: gating as Hadamard products</title><link>https://mlmentorship.com/concepts/lstm-and-gru/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/lstm-and-gru/</guid><description>Recurrent networks fail because gradients vanish through repeated matmul. Gates fix this by using elementwise multiplication to control information flow. Then transformers replaced them anyway.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Multi-head attention: why one head is not enough</title><link>https://mlmentorship.com/concepts/multi-head-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/multi-head-attention/</guid><description>Run h independent attention computations in parallel, then concatenate. Each head specializes in a different relation. The mechanism most senior candidates can write but few can motivate.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Pruning: structured vs unstructured sparsity</title><link>https://mlmentorship.com/concepts/pruning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/pruning/</guid><description>Set unimportant weights to zero, recover most of the accuracy. Unstructured pruning shrinks model size; structured pruning shrinks inference time. They solve different problems.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Self-attention vs cross-attention</title><link>https://mlmentorship.com/concepts/self-attention-vs-cross-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/self-attention-vs-cross-attention/</guid><description>Self-attention reads from one sequence; cross-attention reads from another. This input choice determines encoder-only, decoder-only, and encoder-decoder structures.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>t-SNE and UMAP: nonlinear dimensionality reduction</title><link>https://mlmentorship.com/concepts/tsne-and-umap/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/tsne-and-umap/</guid><description>Both project high-dimensional data to 2D for visualization by preserving local neighborhoods. Both are easy to misread. Know what they show and what they hide.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Word embeddings: Word2Vec, GloVe, and the geometry of meaning</title><link>https://mlmentorship.com/concepts/word-embeddings/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/word-embeddings/</guid><description>Map words to dense vectors so that similar words land near each other. The breakthrough that proved meaning lives in geometry, not symbols.</description><pubDate>Thu, 07 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>LLM Evals: The hardest part of shipping LLMs, and why most teams get it wrong</title><link>https://mlmentorship.com/guides/llm-evals-the-hardest-part/</link><guid isPermaLink="true">https://mlmentorship.com/guides/llm-evals-the-hardest-part/</guid><description>Your model is only as good as your eval. Your eval is a product. Treat it like one. The patterns that separate teams that ship from teams that thrash.</description><pubDate>Tue, 05 May 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Weight initialization (Kaiming, Xavier)</title><link>https://mlmentorship.com/concepts/weight-initialization/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/weight-initialization/</guid><description>Set the initial variance of each layer&apos;s weights so that activations and gradients neither explode nor vanish through depth. The single most impactful one-line decision in deep nets.</description><pubDate>Tue, 05 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Walk me through speculative decoding</title><link>https://mlmentorship.com/questions/walk-through-speculative-decoding/</link><guid isPermaLink="true">https://mlmentorship.com/questions/walk-through-speculative-decoding/</guid><description>The interview signal is whether you understand why decoding is memory-bound and why the verify pass is essentially free.</description><pubDate>Mon, 04 May 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Activation checkpointing</title><link>https://mlmentorship.com/concepts/activation-checkpointing/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/activation-checkpointing/</guid><description>Trade compute for memory: drop activations during the forward pass and recompute them during the backward pass. The cheapest way to fit a larger model on the same GPU.</description><pubDate>Fri, 01 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Proximal Policy Optimization (PPO)</title><link>https://mlmentorship.com/concepts/ppo/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/ppo/</guid><description>Constrain policy updates with a clipped surrogate objective. The default actor-critic algorithm in 2026. For robotics, games, and RLHF.</description><pubDate>Fri, 01 May 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you A/B test a chatbot?</title><link>https://mlmentorship.com/questions/ab-test-chatbot/</link><guid isPermaLink="true">https://mlmentorship.com/questions/ab-test-chatbot/</guid><description>Chatbot A/B testing has all the hard parts of regular A/B testing plus delayed feedback, conversational state, and metrics that are hard to define.</description><pubDate>Fri, 01 May 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Why does Adam sometimes generalize worse than SGD?</title><link>https://mlmentorship.com/questions/adam-vs-sgd-generalization/</link><guid isPermaLink="true">https://mlmentorship.com/questions/adam-vs-sgd-generalization/</guid><description>Adam usually trains faster but in some settings finds sharper minima with worse generalization. The senior answer names the regimes where this happens and the modern fixes.</description><pubDate>Wed, 29 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design real-time personalization</title><link>https://mlmentorship.com/questions/real-time-personalization/</link><guid isPermaLink="true">https://mlmentorship.com/questions/real-time-personalization/</guid><description>Real-time personalization fails most often at the data infrastructure, not the model. The senior answer designs the feature freshness and serving stack first.</description><pubDate>Tue, 28 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>GPU memory hierarchy: HBM, SRAM, and roofline reasoning</title><link>https://mlmentorship.com/concepts/gpu-memory-hierarchy/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gpu-memory-hierarchy/</guid><description>Decide whether an accelerator operation is limited by compute or by data movement across HBM, caches, and on-chip memory.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Why is softmax + cross-entropy the right pairing?</title><link>https://mlmentorship.com/questions/softmax-cross-entropy-pairing/</link><guid isPermaLink="true">https://mlmentorship.com/questions/softmax-cross-entropy-pairing/</guid><description>The gradient simplifies to (p - y), and that&apos;s not a coincidence. The senior answer derives this and connects to GLMs and numerical stability.</description><pubDate>Sun, 26 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How do you scope an ambiguous problem?</title><link>https://mlmentorship.com/questions/scope-ambiguous-problem/</link><guid isPermaLink="true">https://mlmentorship.com/questions/scope-ambiguous-problem/</guid><description>Scoping is a core senior skill. The interview tests how you reduce ambiguity before choosing a model or system design.</description><pubDate>Thu, 23 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Senior through senior-principal ML scope</title><link>https://mlmentorship.com/guides/l5-vs-l6-faang-ml/</link><guid isPermaLink="true">https://mlmentorship.com/guides/l5-vs-l6-faang-ml/</guid><description>Calibrate upper-IC ML interviews by problem ownership, technical depth, portfolio judgment, delegated authority, durability, and evidence rather than inconsistent company levels.</description><pubDate>Thu, 23 Apr 2026 00:00:00 GMT</pubDate><category>guides</category><category>career</category><category>staff</category><category>principal</category><category>senior-principal</category></item><item><title>Continuous batching for LLM serving</title><link>https://mlmentorship.com/concepts/continuous-batching/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/continuous-batching/</guid><description>Let new requests join an in-flight batch at every decode step instead of waiting for the slowest one. The other half of why vLLM is fast.</description><pubDate>Wed, 22 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Value-based vs. policy-based RL</title><link>https://mlmentorship.com/concepts/value-vs-policy-rl/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/value-vs-policy-rl/</guid><description>Two paradigms in reinforcement learning. Value-based learns Q(s, a) and acts greedily; policy-based directly parametrizes the policy. When to use which.</description><pubDate>Wed, 22 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Gaussian mixture models</title><link>https://mlmentorship.com/concepts/gaussian-mixture-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gaussian-mixture-models/</guid><description>Model data as a weighted sum of K Gaussians. Soft clustering, density estimation, and the canonical EM example.</description><pubDate>Mon, 20 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Decision trees</title><link>https://mlmentorship.com/concepts/decision-trees/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/decision-trees/</guid><description>Recursively split the feature space along axis-aligned thresholds chosen to maximize a purity criterion. The base learner of GBDT and random forests.</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How to think about LLM inference cost</title><link>https://mlmentorship.com/guides/llm-inference-cost/</link><guid isPermaLink="true">https://mlmentorship.com/guides/llm-inference-cost/</guid><description>Most teams calculate inference cost by multiplying token price by token count. The actual cost structure has five layers and most of the optimization wins are in the bottom four.</description><pubDate>Sat, 18 Apr 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>SGD with momentum</title><link>https://mlmentorship.com/concepts/sgd-with-momentum/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/sgd-with-momentum/</guid><description>Add a moving average of past gradients to the update. Smoother trajectories, faster convergence in narrow valleys, and the foundation of Adam&apos;s first moment.</description><pubDate>Sat, 18 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Logistic regression</title><link>https://mlmentorship.com/concepts/logistic-regression/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/logistic-regression/</guid><description>Linear regression for binary classification: pass a linear combination through a sigmoid, train by maximum likelihood. Still the strongest non-trivial baseline for tabular classification.</description><pubDate>Fri, 17 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Negative sampling strategies: what actually matters</title><link>https://mlmentorship.com/questions/negative-sampling-strategies/</link><guid isPermaLink="true">https://mlmentorship.com/questions/negative-sampling-strategies/</guid><description>Choice of negatives often matters more than choice of model. The senior answer ranks the strategies (in-batch, hard, BM25-mined, model-mined) and explains the trade-offs.</description><pubDate>Fri, 17 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Hidden Markov models</title><link>https://mlmentorship.com/concepts/hidden-markov-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/hidden-markov-models/</guid><description>A latent Markov chain emits observations through a per-state distribution. Forward-backward, Viterbi, Baum-Welch. The classical sequence model toolkit.</description><pubDate>Thu, 16 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>System design case study: personalized search ranking</title><link>https://mlmentorship.com/guides/personalized-search-ranking/</link><guid isPermaLink="true">https://mlmentorship.com/guides/personalized-search-ranking/</guid><description>Design personalized search from retrieval through ranking, counterfactual evaluation, serving, experiments, feedback control, migration, and staff-level operating decisions.</description><pubDate>Tue, 14 Apr 2026 00:00:00 GMT</pubDate><category>guides</category><category>system-design</category><category>ranking</category><category>staff</category></item><item><title>Explain backprop in your own words</title><link>https://mlmentorship.com/questions/explain-backprop/</link><guid isPermaLink="true">https://mlmentorship.com/questions/explain-backprop/</guid><description>Backprop is reverse-mode automatic differentiation. It reuses forward-pass values to compute all parameter gradients at roughly one additional forward-pass cost.</description><pubDate>Mon, 13 Apr 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Z-loss</title><link>https://mlmentorship.com/concepts/z-loss/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/z-loss/</guid><description>Z-loss penalizes the squared softmax log-partition value. It limits logit growth and can improve stability during long training runs or cooldowns.</description><pubDate>Sun, 12 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>FlashAttention</title><link>https://mlmentorship.com/concepts/flashattention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/flashattention/</guid><description>I/O-aware exact attention replaces O(n²) HBM traffic with a tiled streaming softmax in SRAM. It is a core transformer kernel optimization.</description><pubDate>Fri, 10 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Pipeline parallelism</title><link>https://mlmentorship.com/concepts/pipeline-parallelism/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/pipeline-parallelism/</guid><description>Split the model across GPUs by layer; pipeline mini-batches through the stages. The way to scale across slow interconnects when TP isn&apos;t viable.</description><pubDate>Mon, 06 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>KV cache: how LLM inference avoids quadratic decode cost</title><link>https://mlmentorship.com/concepts/kv-cache/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/kv-cache/</guid><description>A core optimization in autoregressive decoding. Without it, generating 1000 tokens would require O(1000²) attention operations.</description><pubDate>Sat, 04 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Naive Bayes</title><link>https://mlmentorship.com/concepts/naive-bayes/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/naive-bayes/</guid><description>A trivially simple generative classifier that assumes features are conditionally independent given the class. Fast, parameter-light, surprisingly hard to beat on text.</description><pubDate>Sat, 04 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Autoregressive vs. diffusion generation</title><link>https://mlmentorship.com/concepts/autoregressive-vs-diffusion/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/autoregressive-vs-diffusion/</guid><description>Two paradigms for generative modeling: predict the next element step-by-step (autoregressive) or iteratively denoise from pure noise (diffusion). Different costs, different strengths.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Object detection: Faster R-CNN, YOLO, DETR</title><link>https://mlmentorship.com/concepts/object-detection-overview/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/object-detection-overview/</guid><description>Localize and classify objects in an image. The three main architectural families: two-stage proposal-based, one-stage grid-based, and transformer-based.</description><pubDate>Sun, 29 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Mixture of Experts (MoE)</title><link>https://mlmentorship.com/concepts/mixture-of-experts/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/mixture-of-experts/</guid><description>Replace one large feed-forward block with N smaller experts and a router that activates only k of them per token. Trades parameter count for compute.</description><pubDate>Fri, 27 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>DBSCAN</title><link>https://mlmentorship.com/concepts/dbscan/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/dbscan/</guid><description>Density-based clustering: form clusters from regions of high point density, label sparse points as noise. Handles arbitrary cluster shapes; no k to specify.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>ROC, PR curves, and AUC</title><link>https://mlmentorship.com/concepts/roc-pr-auc/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/roc-pr-auc/</guid><description>What ROC-AUC and PR-AUC measure, when to use which, and why ROC-AUC is misleading on heavy class imbalance.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Exploding and vanishing gradients</title><link>https://mlmentorship.com/concepts/exploding-vanishing-gradients/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/exploding-vanishing-gradients/</guid><description>Why deep networks were untrainable before residuals, normalization, and ReLU. The math of gradient magnitudes through depth and the standard fixes.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you choose a learning rate?</title><link>https://mlmentorship.com/questions/how-to-choose-learning-rate/</link><guid isPermaLink="true">https://mlmentorship.com/questions/how-to-choose-learning-rate/</guid><description>The right answer is a procedure, not a number. The wrong answers are &apos;use the default&apos; and &apos;try a few values.&apos;</description><pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>The 5 things every applied scientist interview is actually testing for</title><link>https://mlmentorship.com/guides/five-things-as-interview-tests/</link><guid isPermaLink="true">https://mlmentorship.com/guides/five-things-as-interview-tests/</guid><description>Strip away the questions and the role-specific jargon. Every senior AS loop is checking the same five things. If you know what they are, the prep gets sharper.</description><pubDate>Fri, 20 Mar 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>RoPE, ALiBi, and modern positional encodings</title><link>https://mlmentorship.com/concepts/positional-encoding/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/positional-encoding/</guid><description>Modern LLMs usually replace sinusoidal positional encoding with RoPE, ALiBi, or related methods. Compare how they represent relative position and extrapolate.</description><pubDate>Sun, 15 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you choose a loss function?</title><link>https://mlmentorship.com/questions/how-to-choose-loss-function/</link><guid isPermaLink="true">https://mlmentorship.com/questions/how-to-choose-loss-function/</guid><description>Choose a loss from the target, noise model, error cost, and output constraints. A well-trained model still fails when its objective is wrong.</description><pubDate>Mon, 09 Mar 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design a system for safe LLM deployment in healthcare</title><link>https://mlmentorship.com/questions/llm-deployment-healthcare/</link><guid isPermaLink="true">https://mlmentorship.com/questions/llm-deployment-healthcare/</guid><description>Healthcare adds three constraints on top of normal LLM deployment: regulatory compliance, low tolerance for harm, and a workflow that already has clinicians as the final decision-maker.</description><pubDate>Sat, 07 Mar 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Probabilistic graphical models</title><link>https://mlmentorship.com/concepts/graphical-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/graphical-models/</guid><description>Express joint distributions as graphs whose structure encodes conditional independence. Bayesian networks (directed) and Markov random fields (undirected).</description><pubDate>Tue, 03 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Calibration: when your model says 80% it should be right 80% of the time</title><link>https://mlmentorship.com/concepts/calibration/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/calibration/</guid><description>Accuracy isn&apos;t enough; you also want predictions to mean what they say. Calibration is the difference.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Applied Scientist vs MLE vs Research Engineer: what these roles actually do</title><link>https://mlmentorship.com/guides/as-vs-mle-vs-re/</link><guid isPermaLink="true">https://mlmentorship.com/guides/as-vs-mle-vs-re/</guid><description>Companies use the same ML titles for different work. Compare the modeling, research, engineering, and product mix before choosing a target role.</description><pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Weight decay vs. L2 regularization</title><link>https://mlmentorship.com/concepts/weight-decay-vs-l2/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/weight-decay-vs-l2/</guid><description>L2 adds ½λ‖θ‖² to the loss; weight decay shrinks θ multiplicatively at each step. They are equivalent under SGD but not under Adam. Which is why AdamW exists.</description><pubDate>Fri, 27 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Label smoothing</title><link>https://mlmentorship.com/concepts/label-smoothing/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/label-smoothing/</guid><description>Replace one-hot targets with a softened distribution that puts ε mass on the wrong classes. Improves calibration, sometimes hurts retrieval.</description><pubDate>Tue, 24 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Matrix calculus for ML</title><link>https://mlmentorship.com/concepts/matrix-calculus/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/matrix-calculus/</guid><description>Gradients, Jacobians, and Hessians for vector- and matrix-valued functions. The minimum needed to derive backprop and second-order methods.</description><pubDate>Mon, 23 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Embedding spaces and similarity metrics</title><link>https://mlmentorship.com/concepts/embedding-spaces-and-similarity/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/embedding-spaces-and-similarity/</guid><description>How learned vector representations encode meaning, and why cosine similarity is the default metric for retrieval and recsys.</description><pubDate>Sun, 22 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Q-learning</title><link>https://mlmentorship.com/concepts/q-learning/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/q-learning/</guid><description>Learn the action-value function Q(s, a) by Bellman backups. The foundation of value-based RL. DQN, Rainbow, and the original Atari breakthroughs.</description><pubDate>Sun, 22 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Gradient boosting (xgboost, lightgbm, catboost)</title><link>https://mlmentorship.com/concepts/gradient-boosting/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gradient-boosting/</guid><description>Train trees sequentially, each one fitting the gradient of the loss with respect to the current ensemble&apos;s prediction. The dominant tabular learner in 2026.</description><pubDate>Sat, 21 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Explain backprop through time</title><link>https://mlmentorship.com/questions/bptt-backprop-through-time/</link><guid isPermaLink="true">https://mlmentorship.com/questions/bptt-backprop-through-time/</guid><description>BPTT is just backprop on the unrolled computation graph of a recurrent network. The interview signal is whether you understand truncation and what it costs.</description><pubDate>Mon, 16 Feb 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Matrix factorization for recsys</title><link>https://mlmentorship.com/concepts/matrix-factorization-recsys/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/matrix-factorization-recsys/</guid><description>Decompose the user-item interaction matrix into user and item embeddings whose dot product approximates the rating. The original collaborative filtering.</description><pubDate>Mon, 16 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design Amazon&apos;s people also bought</title><link>https://mlmentorship.com/questions/people-also-bought/</link><guid isPermaLink="true">https://mlmentorship.com/questions/people-also-bought/</guid><description>A simple-sounding feature with deep recsys ground underneath. The senior answer chooses between item-item collaborative filtering, embedding similarity, and learned co-purchase models, with explicit handling of feedback loops.</description><pubDate>Fri, 13 Feb 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Speculative decoding</title><link>https://mlmentorship.com/concepts/speculative-decoding/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/speculative-decoding/</guid><description>Break the autoregressive serial bottleneck without changing the output distribution. 2-3× inference speedup, free.</description><pubDate>Fri, 13 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Gradient accumulation</title><link>https://mlmentorship.com/concepts/gradient-accumulation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gradient-accumulation/</guid><description>Run several forward-backward passes before each optimizer step to simulate a larger effective batch size without the memory cost.</description><pubDate>Mon, 09 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Sparse attention (BigBird, Longformer)</title><link>https://mlmentorship.com/concepts/sparse-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/sparse-attention/</guid><description>Replace the dense n×n attention mask with a sparse pattern that has O(n) non-zeros while preserving information flow across the full sequence.</description><pubDate>Sun, 08 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How would you reduce LLM inference cost by 10x?</title><link>https://mlmentorship.com/questions/reduce-llm-inference-cost-10x/</link><guid isPermaLink="true">https://mlmentorship.com/questions/reduce-llm-inference-cost-10x/</guid><description>The cost-engineering question. The L6 answer doesn&apos;t pick a technique, it diagnoses where the cost is, then picks five.</description><pubDate>Thu, 05 Feb 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Bayesian vs frequentist: a practitioner&apos;s framing</title><link>https://mlmentorship.com/questions/bayesian-vs-frequentist/</link><guid isPermaLink="true">https://mlmentorship.com/questions/bayesian-vs-frequentist/</guid><description>The textbook distinction is philosophical. The practitioner distinction is whether you can sample from a posterior cheaply, and whether you need uncertainty for downstream decisions.</description><pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Floating-point formats: FP32, FP16, BF16, FP8, TF32</title><link>https://mlmentorship.com/concepts/floating-point-formats/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/floating-point-formats/</guid><description>How modern accelerators trade precision for speed. The bit layouts of every numeric format that appears in deep learning.</description><pubDate>Sun, 01 Feb 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Regularization: L1, L2, dropout, early stopping, and the modern view</title><link>https://mlmentorship.com/concepts/regularization/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/regularization/</guid><description>The classical regularizers + the modern reality that SGD&apos;s noise is itself a regularizer. The hierarchy of choices when your model is overfitting.</description><pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Random forests</title><link>https://mlmentorship.com/concepts/random-forests/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/random-forests/</guid><description>Bag deep decision trees plus random feature subsets per split. Variance averaging beats any single tree; the dominant out-of-the-box ensemble before GBDT.</description><pubDate>Tue, 27 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Sequence packing with block-diagonal masks</title><link>https://mlmentorship.com/concepts/sequence-packing/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/sequence-packing/</guid><description>Concatenate multiple short examples into one fixed-length sequence to eliminate padding waste. The single largest throughput win for training on skewed-length corpora.</description><pubDate>Sun, 25 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design a feature store from scratch</title><link>https://mlmentorship.com/questions/design-feature-store/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-feature-store/</guid><description>A feature store solves training-serving skew, feature reuse, and lineage. The senior answer explains why each property matters and what minimum viable looks like.</description><pubDate>Fri, 23 Jan 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Positive (semi-)definite matrices</title><link>https://mlmentorship.com/concepts/positive-definite-matrices/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/positive-definite-matrices/</guid><description>Matrices that define inner products and proper covariances. The geometry of PSD: ellipsoids, not arbitrary shapes.</description><pubDate>Fri, 23 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Lessons from Marin 8B: what an open pretraining log actually teaches you</title><link>https://mlmentorship.com/guides/lessons-from-marin-8b/</link><guid isPermaLink="true">https://mlmentorship.com/guides/lessons-from-marin-8b/</guid><description>Marin trained the first open-source 8B model to beat Llama 3.1 8B and published every mistake. The transferable lessons aren&apos;t about TPUs. They&apos;re about how to run pretraining like a science.</description><pubDate>Wed, 21 Jan 2026 00:00:00 GMT</pubDate><category>guides</category></item><item><title>Tokenization: BPE, WordPiece, and the LLM era</title><link>https://mlmentorship.com/concepts/tokenization/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/tokenization/</guid><description>The critical input layer between text and model. Tokenization mismatch is a frequent source of production LLM bugs.</description><pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Activation functions</title><link>https://mlmentorship.com/concepts/activation-functions/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/activation-functions/</guid><description>ReLU, GELU, swish, sigmoid, tanh. What each does, why GELU/swish replaced ReLU in transformers, and when to use which.</description><pubDate>Mon, 19 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Bias and variance of estimators</title><link>https://mlmentorship.com/concepts/bias-variance-of-estimators/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/bias-variance-of-estimators/</guid><description>An estimator has bias (systematic error) and variance (sample-to-sample wobble). Mean-squared error decomposes into the two.</description><pubDate>Tue, 13 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How would you evaluate an LLM application you&apos;ve built?</title><link>https://mlmentorship.com/questions/how-would-you-evaluate-an-llm-application/</link><guid isPermaLink="true">https://mlmentorship.com/questions/how-would-you-evaluate-an-llm-application/</guid><description>A level-defining question. The same words elicit a junior, senior, or staff answer. The rubric below shows the differences.</description><pubDate>Sat, 10 Jan 2026 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Learning rate schedules: warmup and cosine decay</title><link>https://mlmentorship.com/concepts/learning-rate-schedules/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/learning-rate-schedules/</guid><description>Why almost every modern training run linearly warms up the LR over a few hundred steps and then decays it on a cosine to near zero.</description><pubDate>Mon, 05 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Generative adversarial networks (GANs)</title><link>https://mlmentorship.com/concepts/gans-overview/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gans-overview/</guid><description>Two networks compete: a generator produces samples, a discriminator distinguishes them from real data. Sharp samples, training instability, mostly displaced by diffusion in 2026.</description><pubDate>Thu, 01 Jan 2026 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Universal approximation theorem</title><link>https://mlmentorship.com/concepts/universal-approximation-theorem/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/universal-approximation-theorem/</guid><description>A neural network with one hidden layer and enough units can approximate any continuous function on a bounded domain. What it does and doesn&apos;t say about deep learning.</description><pubDate>Mon, 29 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>BatchNorm vs LayerNorm (and the transformer wrinkle)</title><link>https://mlmentorship.com/concepts/batchnorm-vs-layernorm/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/batchnorm-vs-layernorm/</guid><description>BatchNorm and LayerNorm normalize different axes and behave differently during training. The axis and train/eval behavior determine which one fits.</description><pubDate>Sun, 28 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>RLHF, DPO, and the alignment training stack</title><link>https://mlmentorship.com/concepts/rlhf-and-dpo/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rlhf-and-dpo/</guid><description>How LLMs get from &apos;next-token predictor&apos; to &apos;helpful assistant.&apos; The post-training pipeline in 2026.</description><pubDate>Sun, 28 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design fraud detection for a payment company</title><link>https://mlmentorship.com/questions/design-fraud-detection/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-fraud-detection/</guid><description>Fraud has the worst data of any ML problem: heavily imbalanced, biased labels, adversarial actors, and direct money on the line. The senior answer respects all four.</description><pubDate>Thu, 25 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Derive logistic regression from MLE</title><link>https://mlmentorship.com/questions/derive-logistic-regression/</link><guid isPermaLink="true">https://mlmentorship.com/questions/derive-logistic-regression/</guid><description>Standard math-screen question. The senior signal is whether you can derive it cleanly and connect MLE to cross-entropy.</description><pubDate>Tue, 23 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Grouped-query and multi-query attention (GQA, MQA)</title><link>https://mlmentorship.com/concepts/grouped-query-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/grouped-query-attention/</guid><description>Share K and V heads across query heads to shrink the KV cache 4-8x with negligible quality loss. Standard in modern decoder LLMs.</description><pubDate>Tue, 23 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Tensor parallelism</title><link>https://mlmentorship.com/concepts/tensor-parallelism/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/tensor-parallelism/</guid><description>Split a single matrix multiplication across multiple GPUs. The way to fit one transformer layer that doesn&apos;t fit on a single device.</description><pubDate>Tue, 23 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>A/B testing for ML systems</title><link>https://mlmentorship.com/concepts/ab-testing-for-ml/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/ab-testing-for-ml/</guid><description>The framework for proving a model change actually helps. Statistical power, novelty effects, network effects, all the things people get wrong.</description><pubDate>Mon, 22 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Central limit theorem</title><link>https://mlmentorship.com/concepts/central-limit-theorem/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/central-limit-theorem/</guid><description>Sums of many independent random variables become Gaussian. Why nearly every error bar in ML and statistics is computed from a normal distribution.</description><pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Prefill vs. decode: the two phases of LLM inference</title><link>https://mlmentorship.com/concepts/prefill-vs-decode/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/prefill-vs-decode/</guid><description>LLM inference has two cost regimes with very different bottlenecks. Mixing them up leads to wrong cost models and bad serving decisions.</description><pubDate>Sun, 14 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design Spotify&apos;s homepage</title><link>https://mlmentorship.com/questions/design-spotify-homepage/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-spotify-homepage/</guid><description>A multi-shelf, multi-objective recommendation surface. The senior answer scopes the shelves first, then designs each as its own ranker with a meta-layer above.</description><pubDate>Fri, 12 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Recsys in the LLM era: what changes?</title><link>https://mlmentorship.com/questions/recsys-llm-era/</link><guid isPermaLink="true">https://mlmentorship.com/questions/recsys-llm-era/</guid><description>Most of recsys hasn&apos;t changed; LLMs add new capabilities at specific stages. The senior answer names which stages benefit and which don&apos;t.</description><pubDate>Fri, 12 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Vision transformers (ViT)</title><link>https://mlmentorship.com/concepts/vision-transformers/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/vision-transformers/</guid><description>Apply a standard transformer to a sequence of image patches. Beats CNNs at scale; the dominant backbone for foundation vision models in 2026.</description><pubDate>Wed, 10 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Mixed precision: what&apos;s actually happening?</title><link>https://mlmentorship.com/questions/mixed-precision-deep/</link><guid isPermaLink="true">https://mlmentorship.com/questions/mixed-precision-deep/</guid><description>Beyond &apos;use BF16&apos;. The senior answer explains what stays in FP32, why loss scaling exists for FP16, and the memory split.</description><pubDate>Mon, 08 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>What&apos;s the most over-rated technique in ML right now?</title><link>https://mlmentorship.com/questions/most-overrated-technique/</link><guid isPermaLink="true">https://mlmentorship.com/questions/most-overrated-technique/</guid><description>A trap question that rewards taste. Strong opinions, defended with reasoning, are the senior signal. Weak opinions or &apos;I don&apos;t know&apos; both lose.</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Linear attention (Linformer, Performer, kernel methods)</title><link>https://mlmentorship.com/concepts/linear-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/linear-attention/</guid><description>Approximate the softmax attention matrix with a low-rank or kernel factorization so cost is linear in sequence length.</description><pubDate>Sat, 06 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>L1 vs L2 regularization, beyond the formula</title><link>https://mlmentorship.com/questions/l1-vs-l2-beyond-formula/</link><guid isPermaLink="true">https://mlmentorship.com/questions/l1-vs-l2-beyond-formula/</guid><description>The math is identical to most candidates: penalty terms in the loss. The senior signal is the Bayesian interpretation, the optimization geometry, and when each is the right choice.</description><pubDate>Thu, 04 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Exponential family</title><link>https://mlmentorship.com/concepts/exponential-family/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/exponential-family/</guid><description>A unified family of distributions (Gaussian, Bernoulli, Poisson, Beta, Gamma, etc.) with shared properties: sufficient statistics, conjugate priors, simple MLE.</description><pubDate>Wed, 03 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Determinant and volume</title><link>https://mlmentorship.com/concepts/determinant-and-volume/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/determinant-and-volume/</guid><description>The determinant of a matrix is the signed volume scaling factor of the linear map. Zero determinant means the map collapses dimensions.</description><pubDate>Tue, 02 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Cross-validation strategies</title><link>https://mlmentorship.com/concepts/cross-validation-strategies/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/cross-validation-strategies/</guid><description>Hold-out, k-fold, stratified, grouped, and time-series CV. And when each one is and isn&apos;t appropriate.</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Debug this training loop</title><link>https://mlmentorship.com/questions/debug-training-loop/</link><guid isPermaLink="true">https://mlmentorship.com/questions/debug-training-loop/</guid><description>A live coding question with a paste of buggy training code. The senior signal is the order in which you find bugs and what your debugging procedure looks like.</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How would you do cold-start for a new user?</title><link>https://mlmentorship.com/questions/cold-start-new-user/</link><guid isPermaLink="true">https://mlmentorship.com/questions/cold-start-new-user/</guid><description>Cold-start is solved by combining minimal explicit signal, demographic and contextual fallbacks, and aggressive exploration in the first few sessions.</description><pubDate>Sun, 30 Nov 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Walk me through how you&apos;d train a 100B parameter model</title><link>https://mlmentorship.com/questions/train-100b-model/</link><guid isPermaLink="true">https://mlmentorship.com/questions/train-100b-model/</guid><description>The question is about parallelism and memory, not about modeling. The L6 answer combines data, tensor, pipeline, and FSDP/ZeRO sharding into a coherent strategy.</description><pubDate>Fri, 28 Nov 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Implement attention from scratch</title><link>https://mlmentorship.com/questions/implement-attention-from-scratch/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-attention-from-scratch/</guid><description>The coding question that doubles as a depth check. The code is short; the conversation around it tells the level.</description><pubDate>Thu, 27 Nov 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Markov chains</title><link>https://mlmentorship.com/concepts/markov-chains/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/markov-chains/</guid><description>Stochastic processes where the future depends only on the present, not the past. Foundation of HMMs, MCMC, and many sequence models.</description><pubDate>Thu, 27 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Residual connections</title><link>https://mlmentorship.com/concepts/residual-connections/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/residual-connections/</guid><description>Add the input of a block to its output. Lets gradients flow unimpeded through depth and made networks deeper than 30 layers practical for the first time.</description><pubDate>Thu, 27 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Diffusion models</title><link>https://mlmentorship.com/concepts/diffusion-models/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/diffusion-models/</guid><description>Learn to invert a fixed noising process. The dominant generative paradigm for images, audio, video, and molecules in 2026.</description><pubDate>Sat, 22 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Variational autoencoders (VAE)</title><link>https://mlmentorship.com/concepts/variational-autoencoders/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/variational-autoencoders/</guid><description>Encode inputs to a latent distribution, decode samples back, optimize evidence lower bound. The cleanest gateway to deep generative models.</description><pubDate>Sat, 22 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Policy gradient methods</title><link>https://mlmentorship.com/concepts/policy-gradient/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/policy-gradient/</guid><description>Directly optimize the policy by following the gradient of expected return. REINFORCE, actor-critic, and the foundation of modern RL.</description><pubDate>Thu, 20 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>SVM and the kernel trick</title><link>https://mlmentorship.com/concepts/svm-and-kernels/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/svm-and-kernels/</guid><description>Maximum-margin classifier with a kernel that lets it operate in implicit high-dimensional feature spaces. Beautiful theory; less common in 2026 production.</description><pubDate>Sun, 16 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Bayes&apos; rule and the posterior</title><link>https://mlmentorship.com/concepts/bayes-rule-and-posterior/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/bayes-rule-and-posterior/</guid><description>How to update beliefs given evidence: posterior ∝ likelihood × prior. The foundation of Bayesian inference, naive Bayes, and probabilistic graphical models.</description><pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Long-context LLMs: training and serving techniques</title><link>https://mlmentorship.com/concepts/long-context-llms/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/long-context-llms/</guid><description>What makes a 1M-token context model work. Position-encoding extension, attention kernels, KV-cache management, and the tradeoffs.</description><pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>FSDP and ZeRO: sharding optimizer state, gradients, and parameters</title><link>https://mlmentorship.com/concepts/fsdp-and-zero/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/fsdp-and-zero/</guid><description>How modern training scales beyond a single GPU&apos;s memory by partitioning the optimizer state, gradients, and parameters across the data-parallel group.</description><pubDate>Fri, 14 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you evaluate an agent?</title><link>https://mlmentorship.com/questions/evaluate-an-agent/</link><guid isPermaLink="true">https://mlmentorship.com/questions/evaluate-an-agent/</guid><description>Agent eval is harder than chat eval because there are intermediate steps, tool calls, and long-horizon outcomes. The senior answer evaluates trajectories, not just final outputs.</description><pubDate>Tue, 11 Nov 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Microannealing and midtraining</title><link>https://mlmentorship.com/concepts/microannealing/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/microannealing/</guid><description>A short cooldown applied to a mostly-trained checkpoint with a small fraction of candidate data mixed in. The standard mid-training probe for whether a new dataset is worth including.</description><pubDate>Tue, 11 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Expectation-Maximization (EM)</title><link>https://mlmentorship.com/concepts/expectation-maximization/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/expectation-maximization/</guid><description>Iterate between estimating latent variables given parameters (E-step) and updating parameters given latents (M-step). The standard tool for latent-variable MLE when the latents are unobserved.</description><pubDate>Sun, 09 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Backpropagation</title><link>https://mlmentorship.com/concepts/backpropagation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/backpropagation/</guid><description>Reverse-mode automatic differentiation applied to a computation graph. The algorithm that computes gradients for every parameter in one backward pass.</description><pubDate>Thu, 06 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>ResNet</title><link>https://mlmentorship.com/concepts/resnet/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/resnet/</guid><description>Residual connections enabled networks deeper than 30 layers to train. Still the dominant backbone for transfer learning in 2026.</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Transformer architecture: a senior-level mental model</title><link>https://mlmentorship.com/concepts/transformer-architecture/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/transformer-architecture/</guid><description>Strip away the diagram clutter. A transformer is a stack of (residual + LayerNorm + (attention or FFN)) blocks. Understanding why each piece is there is more important than memorizing the diagram.</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Confusion matrix and classification metrics</title><link>https://mlmentorship.com/concepts/confusion-matrix-and-classification-metrics/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/confusion-matrix-and-classification-metrics/</guid><description>The 2x2 (or KxK) table of predictions vs. truth that every classification metric is computed from. The Rosetta stone of binary classification.</description><pubDate>Tue, 04 Nov 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Explain the reparameterization trick</title><link>https://mlmentorship.com/questions/reparameterization-trick/</link><guid isPermaLink="true">https://mlmentorship.com/questions/reparameterization-trick/</guid><description>How VAEs propagate gradients through a sampling step. The senior answer explains the why (you can&apos;t differentiate through a sample) and the how (move the randomness outside the parameters).</description><pubDate>Wed, 29 Oct 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>k-means clustering</title><link>https://mlmentorship.com/concepts/k-means-clustering/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/k-means-clustering/</guid><description>Partition n points into k clusters by minimizing within-cluster variance. Lloyd&apos;s algorithm: alternate assigning points to nearest center and recomputing centers.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Normalizing flows</title><link>https://mlmentorship.com/concepts/normalizing-flows/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/normalizing-flows/</guid><description>Generative models built from invertible transformations. Compute exact likelihoods and sample efficiently. At the cost of architectural restrictions.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>KL divergence</title><link>https://mlmentorship.com/concepts/kl-divergence/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/kl-divergence/</guid><description>Asymmetric distance between probability distributions. Cross-entropy minus entropy. The mathematical glue holding most of probabilistic ML together.</description><pubDate>Thu, 23 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Ranking metrics: NDCG, MAP, MRR</title><link>https://mlmentorship.com/concepts/ranking-metrics-ndcg-map-mrr/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/ranking-metrics-ndcg-map-mrr/</guid><description>Beyond binary precision-recall: how to measure ranking quality when order matters and labels are graded.</description><pubDate>Thu, 23 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design YouTube&apos;s recommender</title><link>https://mlmentorship.com/questions/design-youtube-recommender/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-youtube-recommender/</guid><description>The canonical recsys design question. The real test is whether you&apos;ll dive into model architecture or scope the problem first.</description><pubDate>Mon, 20 Oct 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Mixup and CutMix</title><link>https://mlmentorship.com/concepts/mixup-and-cutmix/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/mixup-and-cutmix/</guid><description>Two data-augmentation schemes that train on convex combinations of pairs of inputs and their labels. Strong regularization for image classification; sometimes used in audio and tabular.</description><pubDate>Fri, 17 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you deal with class imbalance in 2026?</title><link>https://mlmentorship.com/questions/class-imbalance/</link><guid isPermaLink="true">https://mlmentorship.com/questions/class-imbalance/</guid><description>Match the treatment to the imbalance ratio, error costs, label process, and decision metric. Class weighting and SMOTE are only two options.</description><pubDate>Mon, 13 Oct 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>The attention mechanism</title><link>https://mlmentorship.com/concepts/attention-mechanism/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/attention-mechanism/</guid><description>Compute a weighted sum of values, weights derived from query-key similarity. The single operation that powers transformers, retrieval, and most of modern ML.</description><pubDate>Sun, 12 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>How do you decide what to work on?</title><link>https://mlmentorship.com/questions/decide-what-to-work-on/</link><guid isPermaLink="true">https://mlmentorship.com/questions/decide-what-to-work-on/</guid><description>The senior signal here is that you have an explicit prioritization framework, not just a list of interests. The L6 answer connects user value, technical leverage, and team strategy.</description><pubDate>Sat, 11 Oct 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Perplexity and bits per token</title><link>https://mlmentorship.com/concepts/perplexity-and-bits-per-token/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/perplexity-and-bits-per-token/</guid><description>The standard intrinsic metric for language models. What it measures, what units to use, and why it&apos;s a poor end-product evaluation.</description><pubDate>Thu, 02 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Monte Carlo and importance sampling</title><link>https://mlmentorship.com/concepts/monte-carlo-and-importance-sampling/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/monte-carlo-and-importance-sampling/</guid><description>Estimate expectations by averaging over random samples. The simplest way to compute integrals you can&apos;t compute analytically.</description><pubDate>Wed, 01 Oct 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Dropout</title><link>https://mlmentorship.com/concepts/dropout/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/dropout/</guid><description>Randomly zero out a fraction of activations during training. The simplest stochastic regularizer; still standard in vision and many NLP architectures.</description><pubDate>Tue, 30 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Rotary position embeddings (RoPE)</title><link>https://mlmentorship.com/concepts/rotary-position-embeddings/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rotary-position-embeddings/</guid><description>The dominant position encoding for modern LLMs. Encodes relative position by rotating Q and K in 2D subspaces and supports several context-extension methods.</description><pubDate>Mon, 29 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Design a RAG system for legal documents</title><link>https://mlmentorship.com/questions/rag-for-legal-docs/</link><guid isPermaLink="true">https://mlmentorship.com/questions/rag-for-legal-docs/</guid><description>Legal RAG amplifies every standard RAG concern: precise citations, no hallucinations, regulated domain, dense documents with structure. The senior answer addresses each.</description><pubDate>Fri, 26 Sep 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>All-reduce and other collectives</title><link>https://mlmentorship.com/concepts/all-reduce-and-collectives/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/all-reduce-and-collectives/</guid><description>The communication primitives behind every distributed training job. All-reduce, all-gather, reduce-scatter, broadcast. What they do, costs, and when each is used.</description><pubDate>Mon, 22 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Maximum likelihood estimation</title><link>https://mlmentorship.com/concepts/maximum-likelihood-estimation/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/maximum-likelihood-estimation/</guid><description>The dominant statistical principle: pick parameters that make the observed data most probable. Reduces to minimizing cross-entropy for classification and MSE for Gaussian regression.</description><pubDate>Mon, 22 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Mixed precision training: FP16, BF16, and FP8</title><link>https://mlmentorship.com/concepts/mixed-precision-training/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/mixed-precision-training/</guid><description>How modern transformers train at 2-4× the throughput of FP32 without quality loss. The bit layouts matter; the loss-scaling recipe matters more.</description><pubDate>Sun, 21 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Precision, recall, and F1</title><link>https://mlmentorship.com/concepts/precision-recall-f1/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/precision-recall-f1/</guid><description>The three metrics every classifier interview asks about. Their definitions, when to optimize which, and the F-beta generalization.</description><pubDate>Sat, 20 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Linear regression</title><link>https://mlmentorship.com/concepts/linear-regression/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/linear-regression/</guid><description>Predict a continuous target as a linear combination of features by minimizing squared error. Closed-form solution, MLE under Gaussian noise, and the foundation everything else builds on.</description><pubDate>Thu, 18 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Adam, AdamW, and modern optimizer choices</title><link>https://mlmentorship.com/concepts/adam-and-adamw/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/adam-and-adamw/</guid><description>How Adam works, why AdamW is usually preferred, and which newer optimizers address memory, batch size, or curvature.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>CNN architecture</title><link>https://mlmentorship.com/concepts/cnn-architecture/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/cnn-architecture/</guid><description>Convolutions encode translation equivariance and locality. The structural inductive bias that powered the deep learning revolution in vision.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Matrices as linear maps</title><link>https://mlmentorship.com/concepts/matrices-as-linear-maps/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/matrices-as-linear-maps/</guid><description>A matrix is a linear function from one vector space to another. Every operation in ML. Projection, rotation, basis change, gradient flow. Is matrix multiplication.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>SVD and PCA</title><link>https://mlmentorship.com/concepts/svd-and-pca/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/svd-and-pca/</guid><description>The singular value decomposition factorizes any matrix into rotation × stretching × rotation. PCA is SVD applied to mean-centered data.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Encoder-decoder architectures</title><link>https://mlmentorship.com/concepts/encoder-decoder-architectures/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/encoder-decoder-architectures/</guid><description>An encoder summarizes the input into a representation; a decoder generates the output conditioned on it. The structure behind translation, T5, summarization, and many multimodal models.</description><pubDate>Sat, 06 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Cross-entropy and softmax</title><link>https://mlmentorship.com/concepts/cross-entropy-softmax/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/cross-entropy-softmax/</guid><description>The pairing isn&apos;t arbitrary. Cross-entropy is the negative log-likelihood under a categorical distribution, and the softmax+CE gradient simplifies to (p − y), which is why it&apos;s stable.</description><pubDate>Fri, 05 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>RAG: retrieval-augmented generation</title><link>https://mlmentorship.com/concepts/rag-overview/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/rag-overview/</guid><description>The standard pattern for grounding LLMs in your own data. Reference page; the full essay is linked at the bottom.</description><pubDate>Tue, 02 Sep 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>WSD and WSD-S learning rate schedules</title><link>https://mlmentorship.com/concepts/wsd-and-wsd-s/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/wsd-and-wsd-s/</guid><description>Warmup-Stable-Decay keeps the learning rate flat before a final decay. WSD-S adds single-path decay-and-return checkpoints when the final token budget is uncertain.</description><pubDate>Sun, 31 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Two-tower retrieval</title><link>https://mlmentorship.com/concepts/two-tower-retrieval/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/two-tower-retrieval/</guid><description>Encode queries and items with separate networks into a shared embedding space; retrieve by approximate nearest neighbors. The default architecture for industrial recommenders and search.</description><pubDate>Sat, 23 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Eigenvalues and the spectral theorem</title><link>https://mlmentorship.com/concepts/eigenvalues-and-spectral-theorem/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/eigenvalues-and-spectral-theorem/</guid><description>Eigenvectors are directions a matrix only stretches. The spectral theorem says symmetric matrices have a full orthogonal eigenbasis with real eigenvalues.</description><pubDate>Thu, 21 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Quantization: INT8, INT4, FP8, and the inference cost picture</title><link>https://mlmentorship.com/concepts/quantization/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/quantization/</guid><description>Reduce model precision to shrink memory and speed up inference. The trade-offs are real but increasingly small with modern techniques.</description><pubDate>Thu, 21 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Expected Calibration Error (ECE)</title><link>https://mlmentorship.com/concepts/expected-calibration-error/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/expected-calibration-error/</guid><description>How well do predicted probabilities match empirical frequencies? Bin predictions by confidence, compare bin-mean confidence to bin-accuracy.</description><pubDate>Mon, 18 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Gradient clipping</title><link>https://mlmentorship.com/concepts/gradient-clipping/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/gradient-clipping/</guid><description>Cap the norm of the gradient before each optimizer step. The simplest and most reliable defense against training instability.</description><pubDate>Sun, 17 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Implement KNN efficiently</title><link>https://mlmentorship.com/questions/implement-knn/</link><guid isPermaLink="true">https://mlmentorship.com/questions/implement-knn/</guid><description>The naive solution is one line. The interview is about scaling: when does naive fail, and what do you do?</description><pubDate>Sun, 17 Aug 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>PagedAttention and the vLLM serving model</title><link>https://mlmentorship.com/concepts/paged-attention/</link><guid isPermaLink="true">https://mlmentorship.com/concepts/paged-attention/</guid><description>Treat the KV cache like virtual memory: allocate in fixed-size pages, share pages across sequences, eliminate fragmentation. The reason vLLM is the default LLM server.</description><pubDate>Wed, 13 Aug 2025 00:00:00 GMT</pubDate><category>concepts</category></item><item><title>Walk me through the bias-variance tradeoff</title><link>https://mlmentorship.com/questions/bias-variance-tradeoff/</link><guid isPermaLink="true">https://mlmentorship.com/questions/bias-variance-tradeoff/</guid><description>The classic warm-up question. The L4 answer is the formula; the L6 answer is what it tells you about model selection in production.</description><pubDate>Sun, 27 Jul 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Tell me about a time you disagreed with someone senior</title><link>https://mlmentorship.com/questions/disagreed-with-senior/</link><guid isPermaLink="true">https://mlmentorship.com/questions/disagreed-with-senior/</guid><description>The standard behavioral question. The interviewer is checking whether you can hold technical positions, push back productively, and update on new information.</description><pubDate>Tue, 15 Jul 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Fine-tuning vs prompting: the deep version</title><link>https://mlmentorship.com/questions/fine-tuning-deep/</link><guid isPermaLink="true">https://mlmentorship.com/questions/fine-tuning-deep/</guid><description>Past the basic decision tree. The senior answer covers SFT, LoRA, DPO, continued pretraining, and the operational trade-offs each introduces.</description><pubDate>Fri, 27 Jun 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Two-tower vs cross-encoder: when to use which?</title><link>https://mlmentorship.com/questions/two-tower-vs-cross-encoder/</link><guid isPermaLink="true">https://mlmentorship.com/questions/two-tower-vs-cross-encoder/</guid><description>The recsys / search architecture decision that comes up in every retrieval interview. The right answer is &apos;both, in sequence.&apos;</description><pubDate>Tue, 24 Jun 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How would you build evals for a coding assistant?</title><link>https://mlmentorship.com/questions/evals-for-coding-assistant/</link><guid isPermaLink="true">https://mlmentorship.com/questions/evals-for-coding-assistant/</guid><description>Code is one of the few LLM domains where ground truth is verifiable. Use that. The senior answer combines verifiable metrics with human review for what verification can&apos;t catch.</description><pubDate>Sat, 07 Jun 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design a content moderation system</title><link>https://mlmentorship.com/questions/content-moderation/</link><guid isPermaLink="true">https://mlmentorship.com/questions/content-moderation/</guid><description>Moderation is a multi-policy classification problem at scale, with appeals, human review, and adversarial users. The senior answer separates policy from model and treats human review as part of the system.</description><pubDate>Thu, 29 May 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>When would you not use cross-validation?</title><link>https://mlmentorship.com/questions/when-not-cross-validation/</link><guid isPermaLink="true">https://mlmentorship.com/questions/when-not-cross-validation/</guid><description>Cross-validation is a tool, not a default. The senior answer names the cases where it&apos;s wrong, expensive, or misleading.</description><pubDate>Sun, 25 May 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>When would you fine-tune vs prompt vs RAG?</title><link>https://mlmentorship.com/questions/fine-tune-vs-prompt-vs-rag/</link><guid isPermaLink="true">https://mlmentorship.com/questions/fine-tune-vs-prompt-vs-rag/</guid><description>The most-asked LLM design question of 2026. The answer is a decision tree, not a preference.</description><pubDate>Wed, 21 May 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How would you debug a model that&apos;s not learning?</title><link>https://mlmentorship.com/questions/debug-model-not-learning/</link><guid isPermaLink="true">https://mlmentorship.com/questions/debug-model-not-learning/</guid><description>The &apos;tell me how you&apos;d debug&apos; question is a behavioral round in disguise. The interviewer is probing your debugging instinct, not testing facts.</description><pubDate>Wed, 14 May 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Tell me about your most ambitious project</title><link>https://mlmentorship.com/questions/most-ambitious-project/</link><guid isPermaLink="true">https://mlmentorship.com/questions/most-ambitious-project/</guid><description>The interview is checking the size of problem you can hold in your head and the structure of how you describe it. Specificity wins.</description><pubDate>Sun, 11 May 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How do you handle hallucinations in production?</title><link>https://mlmentorship.com/questions/handle-hallucinations-in-production/</link><guid isPermaLink="true">https://mlmentorship.com/questions/handle-hallucinations-in-production/</guid><description>There is no single solution. The senior answer is a layered system that catches different hallucination types at different stages.</description><pubDate>Fri, 25 Apr 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Build an LLM coding assistant from scratch</title><link>https://mlmentorship.com/questions/build-llm-coding-assistant/</link><guid isPermaLink="true">https://mlmentorship.com/questions/build-llm-coding-assistant/</guid><description>The architecture decision space is large: model choice, context retrieval, IDE integration, evals. The senior answer scopes the use case before any of it.</description><pubDate>Sat, 12 Apr 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>How would you evaluate a search ranker?</title><link>https://mlmentorship.com/questions/evaluate-search-ranker/</link><guid isPermaLink="true">https://mlmentorship.com/questions/evaluate-search-ranker/</guid><description>Search ranking eval is offline metrics for development, A/B for shipping, and human raters for absolute calibration. The senior answer uses all three and respects what each measures.</description><pubDate>Wed, 09 Apr 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Design ML monitoring</title><link>https://mlmentorship.com/questions/design-ml-monitoring/</link><guid isPermaLink="true">https://mlmentorship.com/questions/design-ml-monitoring/</guid><description>Most ML systems fail silently. Monitoring is what tells you. The senior answer monitors data, model, and outcome layers separately.</description><pubDate>Mon, 17 Mar 2025 00:00:00 GMT</pubDate><category>questions</category></item><item><title>Why does dropout work?</title><link>https://mlmentorship.com/questions/why-does-dropout-work/</link><guid isPermaLink="true">https://mlmentorship.com/questions/why-does-dropout-work/</guid><description>The trick is that there are three valid explanations and they all matter. Which ones you reach for tells the interviewer your level.</description><pubDate>Sun, 16 Mar 2025 00:00:00 GMT</pubDate><category>questions</category></item></channel></rss>