# Benjamin Franklin Pioneered Machine Learning in 1720

> Benjamin Franklin discovered gradient descent 250 years before we had the mathematics to describe it.

By Steve Francia · September 12, 2025 · https://spf13.com/p/ben-franklin-pioneered-ml/

*How a teenage printer's writing exercise reverse engineered the timeless principles of learning.*

The core algorithm that powers today's most advanced artificial intelligence wasn't born in Silicon Valley or has anything to do with computers. It was engineered in the dusty, ink stained backroom of a Boston print shop, nearly 300 years ago, by a teenager who was tired of being told he wasn't a good writer.

Long before he was a world famous statesman and inventor, Benjamin Franklin was an ambitious, self taught apprentice with a chip on his shoulder. Working for his older brother, he devoured books and secretly submitted anonymous essays to his brother's newspaper, desperate to succeed in this world of words. But he had a problem. While his ideas were sharp, his prose was clumsy.

His own father, Josiah, delivered a blunt critique: Ben's writing lacked "elegance of expression, method and perspicuity."[^1] For an aspiring intellectual, this was a devastating diagnosis. It confirmed his fear that he simply didn't have the innate 'gift' for writing.

Instead of giving up, Franklin did something extraordinary. <span class="highlight-inline">He rejected the idea of &lsquo;innate talent&rsquo; and treated his flawed writing not as a personal failure, but as an <strong>engineering problem</strong>.</span>
 He asked himself: *Is there a system, an algorithm, that can build the skill of writing from the ground up?* In effect, he decided to debug his own brain.<span style="display:none;">[^2][^3]</span>

What Franklin developed wasn't just a writing exercise, it was something far more profound. His process reveals something fundamental about how intelligence, artificial or human, actually improves. When we examine his method through a modern lens, we discover he had unknowingly architected the same learning principles that power today's AI. 

**Franklin's method can be seen as a kind of human powered, conceptual gradient descent**, where conscious insight replaces calculus to minimize the 'error' between his writing and his goal. By deconstructing his 300 year old protocol, we can uncover a powerful blueprint for how anyone can master a complex skill.


Franklin's breakthrough wasn't just in learning to write better, it was in *systematizing the process of improvement itself*. He created a feedback loop that could be applied to any skill, making excellence reproducible rather than accidental.


<section class="content-section content-section--type-band content-section--bg-zenith"><h2 id="the-learning-algorithm">The Learning Algorithm</h2>
<figure><img src="/p/ben-franklin-pioneered-ml/FranklinLearning.png"
    alt="Benjamin Franklin&#39;s systematic approach to learning"><figcaption>
      <p>Franklin&rsquo;s methodical approach to mastering writing</p>
    </figcaption>
</figure>
<p>Franklin chose articles from <em>The Spectator</em>, a respected British periodical, as his &ldquo;training data&rdquo; and ran them through a repeatable loop that tightened his prose with every pass.</p>
<div class="factor-grid factor-grid--cols-2">
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">1</span><h3 class="factor-grid__title">Feature Extraction</h3></div><p class="factor-grid__blurb">Compress the source to its signal</p><div class="factor-grid__content">First, he converted exemplary essays into compact notes. He took several articles and made &ldquo;short hints of the sentiment in each sentence&rdquo;<sup><a href="#fn:2">2</a></sup>, forcing himself to distill structure, tone, and argument the way an AI model pulls features from raw data.</div></div>
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">2</span><h3 class="factor-grid__title">Reconstruction</h3></div><p class="factor-grid__blurb">Generate from compressed understanding</p><div class="factor-grid__content">After a deliberate pause of a few days—an instinctual guard against rote memorization—he rebuilt the article sentence by sentence from those hints. This was his forward pass, a prediction generated from the representation he had just engineered.</div></div>
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">3</span><h3 class="factor-grid__title">Error Calculation</h3></div><p class="factor-grid__blurb">Compare against the ground truth</p><div class="factor-grid__content">He then executed the most critical step: &ldquo;I compared my Spectator with the original, discovered some of my faults, and corrected them&rdquo;<sup><a href="#fn:2">2</a></sup>. The side by side review supplied a loss signal that surfaced concrete gaps in diction, cadence, and logic.</div></div>
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">4</span><h3 class="factor-grid__title">Parameter Update</h3></div><p class="factor-grid__blurb">Adjust the mental model</p><div class="factor-grid__content">Franklin leaned into every discrepancy. By rewriting awkward phrases, borrowing structure, and noting superior turns of phrase, he updated the parameters of his own style so the next prediction would land closer to the target.</div></div>
</div>
<div class="callout callout--idea callout--icon">
    <div class="callout__icon" aria-hidden="true">⚡</div>
    <p class="callout__title">Deliberate Practice, 1720 Style</p><p>Psychologist Anders Ericsson later coined the term <strong>&ldquo;deliberate practice&rdquo;</strong><sup><a href="#fn:3">3</a></sup> for exactly this pattern: a structured activity with explicit goals, rapid feedback, and relentless correction. Franklin was running that playbook two centuries early.</p>
</div>
</section>


## The Modern Parallel: Deconstructing the Training Loop

Franklin's protocol is a striking parallel for a modern machine learning training loop:

| Benjamin Franklin's Method | Modern Machine Learning Equivalent |
|---|---|
| Selects high quality articles from *The Spectator* | **Data Collection**: A curated, high quality dataset is assembled for training |
| Reconstructs articles from "short hints" | **Forward Pass**: The model makes a prediction based on an input |
| Compares his version to the original to find "faults" | **Loss Function**: The model's prediction is compared to the correct output to calculate an error |
| Meticulously corrects his prose based on the errors found | **Backpropagation & Gradient Descent**: The error is propagated backward to adjust the model's internal weights, minimizing future errors |

<div class="callout note callout--icon">
    <div class="callout__icon" aria-hidden="true">🧠</div>
    <p class="callout__title">Regularization Before Calculus</p><p>Franklin&rsquo;s built in delay functioned as <strong>regularization</strong>, preventing overfitting by forcing him to generalize rather than memorize the Spectator&rsquo;s prose. He even practiced early <strong>data augmentation</strong>, shuffling notes or flipping prose into poetry and back to strengthen the underlying representation.</p>
</div>


<section class="content-section content-section--type-band content-section--bg-dusk"><h2 id="the-learners-playbook-applying-the-franklin-protocol">The Learner&rsquo;s Playbook: Applying the Franklin Protocol</h2>
<figure class="figure--side"><img src="/p/ben-franklin-pioneered-ml/AppliedLearning.png"
    alt="Applied Learning Framework" width="500"><figcaption>
      <p>Modern applications across domains</p>
    </figcaption>
</figure>
<p>Anyone can use the Franklin Protocol to master a skill today, from coding to cooking to playing a musical instrument. The key is to <strong>stop passively consuming information and start building your own active learning loop</strong>.</p>
<p>The beauty of Franklin&rsquo;s method lies in its universality. Whether you&rsquo;re debugging code, perfecting a recipe, or learning a musical piece, the same principles apply: compress the knowledge, reconstruct from memory, compare against excellence, and iterate based on the gaps you discover.</p>
<div class="callout note callout--icon">
    <div class="callout__icon" aria-hidden="true">🍌</div><p>Even when our primary ventures fail, we have to remember that there’s always money in the banana stand. The fundamental practices that seem mundane often contain the greatest value.</p>
</div>
<h3 id="1-find-your-spectator">1. Find Your &ldquo;Spectator&rdquo;</h3>
<p>Every skill has a &ldquo;ground truth&rdquo;, a gold standard you can learn from. Franklin had <em>The Spectator</em>. For you, it might be an exemplar that proves what&rsquo;s possible.</p>
<ul>
<li><strong>Developer</strong>: The source code of a well written, open source project or a language&rsquo;s standard library</li>
<li><strong>Musician</strong>: A virtuosic recording of a difficult piece</li>
<li><strong>Chef</strong>: A classic, time tested recipe from a master like Julia Child</li>
</ul>
<p>The goal is to find an authoritative model you can meaningfully compare your own work against.</p>
<h3 id="2-implement-your-learning-loop">2. Implement Your Learning Loop</h3>
<p>I used a very similar protocol when I was learning the Go programming language, treating the effort like a <strong>Code Kata</strong>. After learning the basics, I designed focused challenges such as reimplementing functions from the <code>strings</code> package.</p>
<div class="factor-grid factor-grid--cols-3">
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">FP</span><h3 class="factor-grid__title">Forward Pass</h3></div><p class="factor-grid__blurb">Attempt the skill from your current understanding</p><div class="factor-grid__content">I&rsquo;d write my own version of <code>strings.Split</code> or <code>strings.Join</code> from scratch, based on my current knowledge</div></div>
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">LF</span><h3 class="factor-grid__title">Loss Function</h3></div><p class="factor-grid__blurb">Compare against a trusted ground truth</p><div class="factor-grid__content">Then, I would open Go’s standard library, written by the Go creators, and compare my code, line-by-line, against the official, production-grade implementation</div></div>
<div class="factor-grid__item">
  <div class="factor-grid__header"><span class="factor-grid__number">ES</span><h3 class="factor-grid__title">Error Signal</h3></div><p class="factor-grid__blurb">Capture precise deltas to correct</p><div class="factor-grid__content">The difference was my feedback. My clumsy error handling, inefficient loops, and non-idiomatic variable names became glaringly obvious when placed next to the work of masters.</div></div>
</div>
<h3 id="3-internalize-the-patterns-the-masters-step">3. Internalize the Patterns (The Master&rsquo;s Step)</h3>
<p>This final step is what separates simple practice from true mastery. After refactoring based on insights, ask the master&rsquo;s question: <em>&ldquo;What pattern did I miss that an expert sees instantly?&rdquo;</em> This meta analysis, thinking about your thinking, accelerates the internalization of expert mental models.</p>
<p>For me learning Go, the most crucial step was not just seeing the difference, but going back and <strong>refactoring my own code</strong> based on those insights. Each cycle transformed the exercise from a simple task into a kata, a mindful practice where the goal wasn’t just to get a working solution, but to internalize the patterns of an expert.  I even gave <a href="/presentation/7-biggest-mistakes-in-go/">a presentation about my mistakes and how I learned from them</a>.</p>
<div class="callout callout--idea callout--icon">
    <div class="callout__icon" aria-hidden="true">🧩</div>
    <p class="callout__title">Leverage LLMs for your learning</p><p>Today modern AI models can facilitate this step much more efficiently, as these models are excellent at identifying and evaluating the differences between two blocks of text and explaining why one is superior.</p>
</div>
</section>


## True Learning

<div class="callout callout--idea callout--icon">
    <div class="callout__icon" aria-hidden="true">🎯</div>
    <p class="callout__title">Mastery Means Building a Generative Model</p><p>Franklin&rsquo;s method worked because he intuitively understood that <strong>mastery is not about memorization, but about building an internal generative model of a domain</strong>. He didn&rsquo;t memorize <em>The Spectator</em>, he learned to generate prose with the same qualities by internalizing its patterns.</p>
</div>


This principle extends far beyond Franklin's era. It is the very essence of modern AI. Large language models don't "know" anything; they are sophisticated pattern recognition engines. They have learned the statistical patterns of language so well that they can generate coherent, novel text because they have captured the distribution of language itself[^4][^5].

People who master any field follow the principle. They don't win by consuming the most tutorials, but have built the most effective systems for recognizing patterns, crafting systems that surface errors quickly, and converting them into new capabilities.

Perhaps Franklin's greatest insight wasn't the method itself, but his **rejection of the fixed mindset**. In an era when talent was considered innate, he proved that expertise could be engineered systematically. This is *learning how to learn*, the ultimate meta skill.

Three hundred years ago, a teenage printer reverse engineered the algorithm of learning with nothing more than paper and ink. While Franklin’s method and machine learning operate in different domains, they share the same core architecture of systematic improvement through error correction.

Today, we have access to endless “Spectators” in every field imaginable. Franklin gave us the blueprint.  **It's time we started building ourselves with it.**


<section class="content-section content-section--type-card content-section--tone-alt content-section--bg-halo"><h2 id="the-franklin-challenge">The Franklin Challenge</h2>
<p>If you&rsquo;re inspired by this method, don&rsquo;t just admire it, <strong>try it</strong>.</p>
<div class="cta-group"><span class="cta-group__eyebrow">Run the loop</span><h3 class="cta-group__title">Try Franklin&#39;s protocol this week</h3><div class="cta-group__body">Pick a micro skill, find your Spectator, and walk one deliberate loop. Capture what changes and share it with a teammate to cement the lesson.</div></div>
<ol>
<li><strong>Pick a Micro Skill</strong>: Choose one small, specific skill you want to improve this week (e.g., writing a SQL query, refactoring a function, kneading bread, drawing a face)</li>
<li><strong>Find Your Spectator</strong>: Track down a single, high quality example of that skill executed perfectly</li>
<li><strong>Run One Loop</strong>: Spend 30 minutes replicating it from memory. Then compare your work to the original and record three precise differences</li>
</ol>
<p>That’s it. By running a single, conscious loop, you’ll have already started practicing like Franklin and learning like a neural network.</p>
</section>


[^1]: Benjamin Franklin, *The Autobiography of Benjamin Franklin* (1791). Franklin's own account of his father's critique of his writing style.

[^2]: Benjamin Franklin, *The Autobiography of Benjamin Franklin* (1791). Franklin describes his method: "I compared my Spectator with the original, discovered some of my faults, and corrected them."

[^3]: Anders Ericsson, *Peak: Secrets from the New Science of Expertise* (2016). The seminal work on deliberate practice and how experts are made.

[^4]: PNAS, ["Learning in deep neural networks and brains with similarity"](https://www.pnas.org/doi/10.1073/pnas.2115229119) - Scientific paper on pattern recognition in neural networks and biological brains.

[^5]: OpenAI, ["Learning complex goals with iterated amplification"](https://openai.com/index/learning-complex-goals-with-iterated-amplification/) - Research on how AI systems learn and improve through iterative processes.

