# probabilistic

Published articles for probabilistic.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Bloom Filters vs Counting Bloom Filters: When Deletions Kill Performance

DevFeed: [Bloom Filters vs Counting Bloom Filters: When Deletions Kill Performance](<https://devfeed.tech/articles/bloom-filters-vs-counting-bloom-filters-when-deletions-kill-performance-39567.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/15-bloom-filters-deletable-bloom-filters/>)

Author: hello@ankit-rana.com

Published: 2026-03-17T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>)

Tags: [bloom-filter](<https://devfeed.tech/tags/bloom-filter.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cpu-cache](<https://devfeed.tech/tags/cpu-cache.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [false-negative](<https://devfeed.tech/tags/false-negative.md>), [false-positives](<https://devfeed.tech/tags/false-positives.md>), [memory](<https://devfeed.tech/tags/memory.md>), [performance](<https://devfeed.tech/tags/performance.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

The article explains that standard Bloom filters support membership checks but not deletion because clearing shared bits can create false negatives. Counting Bloom filters enable deletion with counters, but their larger memory footprint can push lookups out of CPU cache and increase latency through random memory access.

### Source excerpt

A standard Bloom filter is append-only because bits are shared between items, so clearing a bit for one item can create a false negative for another. Counting Bloom filters fix deletion by replacing each bit with a 4-bit or 8-bit counter, which multiplies the footprint four to eight times, pushes the structure out of L3, and turns each of the k lookups into a roughly 100 ns RAM hit instead of a 10 ns cache hit.

## Cuckoo Filters: Cache-Friendly Membership Checks With Deletions

DevFeed: [Cuckoo Filters: Cache-Friendly Membership Checks With Deletions](<https://devfeed.tech/articles/cuckoo-filters-cache-friendly-membership-checks-with-deletions-39568.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/16-cuckoo-filters-architecture/>)

Author: hello@ankit-rana.com

Published: 2026-03-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [hash](<https://devfeed.tech/topics/hash.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cpu-cache](<https://devfeed.tech/tags/cpu-cache.md>), [cuckoo-filter](<https://devfeed.tech/tags/cuckoo-filter.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [false-positive](<https://devfeed.tech/tags/false-positive.md>), [hash](<https://devfeed.tech/tags/hash.md>), [insert](<https://devfeed.tech/tags/insert.md>), [performance](<https://devfeed.tech/tags/performance.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [spatial-locality](<https://devfeed.tech/tags/spatial-locality.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

This article explains how Cuckoo filters support deletions while improving CPU cache behavior compared with counting Bloom filters. They check two specific buckets using compact fingerprints, but insertions can fail when kick-out chains exceed their limit, requiring capacity planning or overflow handling.

### Source excerpt

A Cuckoo filter stores a one-to-two byte fingerprint in a hash table and finds it by checking exactly two buckets, the primary index and its XOR-derived alternate, instead of k random bit positions scattered across a large array. That spatial locality is the whole win on real CPUs. The trade-off is a hard edge: when the kick-out chain exceeds its limit, the insert fails outright.

## SlowerLogLog

DevFeed: [SlowerLogLog](<https://devfeed.tech/articles/slowerloglog-37899.md>)

Original publisher: [Read original article](<https://www.evanmiller.org/slower-log-log.html>)

Author: Evan Miller

Published: 2020-02-06T18:00:00Z

Content type: article

Language: en

Sources: [Evan Miller](<https://devfeed.tech/sources/evan-miller.md>)

Topics: [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [math](<https://devfeed.tech/topics/math.md>), [hash](<https://devfeed.tech/topics/hash.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [hash](<https://devfeed.tech/tags/hash.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [math](<https://devfeed.tech/tags/math.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>)

### AI overview

This article introduces SlowerLogLog, a variation of HyperLogLog for estimating the number of unique elements in a set. It explains how Maximum Likelihood Estimation can estimate cardinality and standard error, support small cardinalities, and avoid requiring a power-of-two register count. The method is easier to derive and implement but much more computationally expensive because each element is hashed once per register.

### Source excerpt

What rolls down stairs and counts unique items imprecisely? HyperLogLog. Also SlowerLogLog

## Deep Probabilistic Modelling with Gaussian Processes #NIPS2017

DevFeed: [Deep Probabilistic Modelling with Gaussian Processes #NIPS2017](<https://devfeed.tech/articles/deep-probabilistic-modelling-with-gaussian-processes-nips2017-40106.md>)

Original publisher: [Read original article](<https://korbonits.com/blog/2017-12-04-nips-tutorials-dgp/>)

Published: 2017-12-04T12:00:00Z

Content type: tutorial

Language: en

Sources: [Alex Korbonits](<https://devfeed.tech/sources/alex-korbonits.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [VAE](<https://devfeed.tech/topics/vae.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [NeurIPS](<https://devfeed.tech/topics/neurips.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [bias](<https://devfeed.tech/tags/bias.md>), [conference](<https://devfeed.tech/tags/conference.md>), [data](<https://devfeed.tech/tags/data.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [gaussian](<https://devfeed.tech/tags/gaussian.md>), [inference](<https://devfeed.tech/tags/inference.md>), [modelling](<https://devfeed.tech/tags/modelling.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [neurips](<https://devfeed.tech/tags/neurips.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [research](<https://devfeed.tech/tags/research.md>), [supervised-learning](<https://devfeed.tech/tags/supervised-learning.md>), [theory](<https://devfeed.tech/tags/theory.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unsupervised-learning](<https://devfeed.tech/tags/unsupervised-learning.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

Lecture notes from a NeurIPS 2017 tutorial introduce deep probabilistic modelling with Gaussian processes, covering probabilistic neural networks, uncertainty, graphical models, and the computational challenge of inference.

### Source excerpt

Lecture notes from Neil Lawrence's NIPS 2017 tutorial on deep probabilistic modelling with Gaussian processes -- from GPs to deep GPs and variational inference.

## Simulating a Biased Coin with a Fair Coin

DevFeed: [Simulating a Biased Coin with a Fair Coin](<https://devfeed.tech/articles/simulating-a-biased-coin-with-a-fair-coin-40344.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/02/12/simulating-a-biased-coin-with-a-fair-coin/>)

Published: 2014-02-12T10:00:51Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Python](<https://devfeed.tech/topics/python.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [calculus](<https://devfeed.tech/tags/calculus.md>), [coins](<https://devfeed.tech/tags/coins.md>), [computational-complexity](<https://devfeed.tech/tags/computational-complexity.md>), [convergent-series](<https://devfeed.tech/tags/convergent-series.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

This guest article presents a Python algorithm for simulating a biased coin using a fair coin. It reads the intended probability's binary expansion and compares each bit with an independent fair random bit, returning when they differ. The method produces probability exactly equal to the intended bias, including for irrational probabilities, and has constant expected running time when the probability's bits are efficiently computable.

### Source excerpt

This is a guest post by my friend and colleague Adam Lelkes. Adam's interests are in algebra and theoretical computer science. This gem came up because Adam gave a talk on probabilistic computation in which he discussed this technique. Problem: simulate a biased coin using a fair coin. Solution: (in Python) def biasedCoin(binaryDigitStream, fairCoin): for d in binaryDigitStream: if fairCoin() != d: return d Discussion: This function takes two arguments, an iterator representing the binary expansion of the intended probability of getting 1 (let us denote it as $ p$) and another function that returns 1 or 0 with equal probability.

## Simulating a Fair Coin with a Biased Coin

DevFeed: [Simulating a Fair Coin with a Biased Coin](<https://devfeed.tech/articles/simulating-a-fair-coin-with-a-biased-coin-40342.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/02/08/simulating-a-fair-coin-with-a-biased-coin/>)

Published: 2014-02-08T19:03:46Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [algebra](<https://devfeed.tech/tags/algebra.md>), [coins](<https://devfeed.tech/tags/coins.md>), [guest-post](<https://devfeed.tech/tags/guest-post.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [python](<https://devfeed.tech/tags/python.md>), [random-number-generators](<https://devfeed.tech/tags/random-number-generators.md>), [science](<https://devfeed.tech/tags/science.md>)

### AI overview

This tutorial explains von Neumann's method for simulating a fair coin using a biased coin. It examines pairs of independent flips, discards matching pairs, returns the first result when the pair differs, and derives the expected number of flips.

### Source excerpt

This is a guest post by my friend and colleague Adam Lelkes. Adam's interests are in algebra and theoretical computer science. This gem came up because Adam gave a talk on probabilistic computation in which he discussed this technique. Problem: Simulate a fair coin given only access to a biased coin. Solution: (in Python) def fairCoin(biasedCoin): coin1, coin2 = 0,0 while coin1 == coin2: coin1, coin2 = biasedCoin(), biasedCoin() return coin1 Discussion: This is originally von Neumann's clever idea.

## Miller-Rabin Primality Test

DevFeed: [Miller-Rabin Primality Test](<https://devfeed.tech/articles/miller-rabin-primality-test-40323.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/06/16/miller-rabin-primality-test/>)

Published: 2013-06-16T18:55:40Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [complexity-theory](<https://devfeed.tech/tags/complexity-theory.md>), [computational-complexity](<https://devfeed.tech/tags/computational-complexity.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [miller-rabin](<https://devfeed.tech/tags/miller-rabin.md>), [primes](<https://devfeed.tech/tags/primes.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [random-number-generators](<https://devfeed.tech/tags/random-number-generators.md>), [randomized-algorithm](<https://devfeed.tech/tags/randomized-algorithm.md>), [rsa](<https://devfeed.tech/tags/rsa.md>)

### AI overview

This tutorial explains the Miller-Rabin primality test, including its probabilistic error bound, Python implementation, and role in testing whether numbers are prime. It also discusses the algorithm's relevance to cryptography and complexity theory.

### Source excerpt

Problem: Determine if a number is prime, with an acceptably small error rate. Solution: (in Python) import random def decompose(n): exponentOfTwo = 0 while n % 2 == 0: n = n/2 exponentOfTwo += 1 return exponentOfTwo, n def isWitness(possibleWitness, p, exponent, remainder): possibleWitness = pow(possibleWitness, remainder, p) if possibleWitness == 1 or possibleWitness == p - 1: return False for _ in range(exponent): possibleWitness = pow(possibleWitness, 2, p) if possibleWitness == p - 1: return False return True def probablyPrime(p, accuracy=100): if p == 2 or p == 3: return True if p < 2: return False exponent, remainder = decompose(p - 1) for _ in range(accuracy): possibleWitness = random.

## Probabilistic Bounds -- A Primer

DevFeed: [Probabilistic Bounds -- A Primer](<https://devfeed.tech/articles/probabilistic-bounds-a-primer-40312.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/04/15/probabilistic-bounds-a-primer/>)

Published: 2013-04-15T11:14:32Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [math](<https://devfeed.tech/topics/math.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [chebyshev](<https://devfeed.tech/tags/chebyshev.md>), [chernoff](<https://devfeed.tech/tags/chernoff.md>), [chernoff-bound](<https://devfeed.tech/tags/chernoff-bound.md>), [inequality](<https://devfeed.tech/tags/inequality.md>), [learning-theory](<https://devfeed.tech/tags/learning-theory.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [markov](<https://devfeed.tech/tags/markov.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [probabilistic-method](<https://devfeed.tech/tags/probabilistic-method.md>), [probability-theory](<https://devfeed.tech/tags/probability-theory.md>), [random-variables](<https://devfeed.tech/tags/random-variables.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [streaming-algorithms](<https://devfeed.tech/tags/streaming-algorithms.md>), [variance](<https://devfeed.tech/tags/variance.md>)

### AI overview

This tutorial introduces probabilistic bounds used in algorithm analysis, machine learning theory, randomized algorithms, and streaming algorithms. It focuses on the Chernoff bound and presents simpler bounds from Markov's and Chebyshev's inequalities, including short proofs.

### Source excerpt

Probabilistic arguments are a key tool for the analysis of algorithms in machine learning theory and probability theory. They also assume a prominent role in the analysis of randomized and streaming algorithms, where one imposes a restriction on the amount of storage space an algorithm is allowed to use for its computations (usually sublinear in the size of the input). While a whole host of probabilistic arguments are used, one theorem in particular (or family of theorems) is ubiquitous: the Chernoff bound.

## Probability Theory -- A Primer

DevFeed: [Probability Theory -- A Primer](<https://devfeed.tech/articles/probability-theory-a-primer-40298.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/01/04/probability-theory-a-primer/>)

Published: 2013-01-04T13:45:54Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>)

Tags: [expectation](<https://devfeed.tech/tags/expectation.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [primer](<https://devfeed.tech/tags/primer.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [probability-theory](<https://devfeed.tech/tags/probability-theory.md>), [random-variables](<https://devfeed.tech/tags/random-variables.md>), [set-theory](<https://devfeed.tech/tags/set-theory.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [theory](<https://devfeed.tech/tags/theory.md>), [variables](<https://devfeed.tech/tags/variables.md>), [variance](<https://devfeed.tech/tags/variance.md>)

### AI overview

A primer on finite probability theory that introduces probability spaces, random variables, terminology, and basic results using naive set theory. It emphasizes mathematical formalism rather than real-world applications.

### Source excerpt

It is a wonder that we have yet to officially write about probability theory on this blog. Probability theory underlies a huge portion of artificial intelligence, machine learning, and statistics, and a number of our future posts will rely on the ideas and terminology we lay out in this post. Our first formal theory of machine learning will be deeply ingrained in probability theory, we will derive and analyze probabilistic learning algorithms, and our entire treatment of mathematical finance will be framed in terms of random variables.

## On Chomsky and the Two Cultures of Statistical Learning

DevFeed: [On Chomsky and the Two Cultures of Statistical Learning](<https://devfeed.tech/articles/on-chomsky-and-the-two-cultures-of-statistical-learning-40547.md>)

Original publisher: [Read original article](<http://norvig.com/chomsky.html>)

Published: 2011-05-27T00:00:00Z

Content type: article

Language: en

Sources: [Peter Norvig](<https://devfeed.tech/sources/peter-norvig.md>)

Topics: [Statistics](<https://devfeed.tech/topics/statistics.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [syntax](<https://devfeed.tech/topics/syntax.md>)

Tags: [essay](<https://devfeed.tech/tags/essay.md>), [history-of-science](<https://devfeed.tech/tags/history-of-science.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [probabilistic](<https://devfeed.tech/tags/probabilistic.md>), [science](<https://devfeed.tech/tags/science.md>), [statistics](<https://devfeed.tech/tags/statistics.md>)

### AI overview

This essay responds to Steven Pinker and Noam Chomsky on the role and success of statistical and probabilistic models in language. It argues that interpreting success as approximating unanalyzed data is not novel, and uses examples from language modeling, communication, gravitation, and statistical mechanics to distinguish trained, probabilistic, continuous, and quantitative models.

### Source excerpt

At the MIT 150 symposium, Chomsky said that the notion of success used by statistical language models (namely, that they successfully predict the world and allow programs to accomplish tasks) was "very novel ... I don't know of anything like it in the history of science." This essay argues that it is not novel at all, but perfectly commonplace.