Earle: Genetic Algorithms for Marketing Optimization
Introducing Earle, our genetic algorithm system for evolving high-performing marketing campaigns.
Marketing optimization traditionally requires human intuition and slow iteration. Today we are introducing Earle, a system that evolves marketing campaigns using genetic algorithms.
The Optimization Problem
A typical marketing campaign has numerous variables:
- Headlines (5 variants)
- Images (4 variants)
- Call-to-action text (3 variants)
- Color schemes (4 variants)
- Audience segments (6 targets)
That is 1,440 possible combinations. Traditional A/B testing explores a tiny fraction. Most combinations never see traffic. Optimal configurations remain undiscovered.
Genetic Algorithms
Earle treats campaign configurations as genomes:
Genome: [headline_3, image_1, cta_2, color_4, segment_2]
The algorithm operates in generations:
- Initialize: Random population of 50 configurations
- Evaluate: Run each configuration, measure fitness (conversion rate)
- Select: Top performers survive
- Crossover: Combine traits from successful parents
- Mutate: Random variations introduce exploration
- Repeat: New generation, improved fitness
Implementation Details
Fitness Function
Conversion rate alone is insufficient. Earle uses a composite fitness:
fitness = (conversion_rate * 0.6) +
(revenue_per_visitor * 0.3) +
(engagement_score * 0.1)
Traffic Allocation
Earle uses multi-armed bandit allocation. Promising configurations receive more traffic. Poor performers are pruned quickly. This balances exploration with exploitation.
Convergence Detection
The algorithm detects when fitness plateaus and terminates. Premature convergence triggers diversity injection to escape local optima.
Results
Across 47 campaigns using Earle:
- Average 34% improvement over human-optimized baselines
- 67% reduction in time to optimal configuration
- Discovered non-obvious winning combinations
One surprising finding: the best-performing configurations often combine elements that humans would not pair. Earle has no aesthetic bias.
Constraints
Earle respects brand guidelines through constraint definitions:
earle.constrain({
never_combine: [['discount_headline', 'premium_image']],
require: ['brand_color_primary'],
max_discount: 0.25
});
Ethical Considerations
Optimization systems can exploit psychological vulnerabilities. Earle includes guardrails:
- No dark patterns in mutation space
- Transparency requirements for urgency messaging
- Cool-down periods between aggressive variants
Access
Earle is available to all Crowdstart Pro customers. API access for custom integrations is in beta.
Zach Kelling is the founder of Hanzo Industries.
Read more
Candle: Rust-Native Machine Learning
Introducing our investment in Candle, the Rust ML framework powering Hanzo's next-generation inference.
Building Our ML Framework
Why we built a custom ML framework and what we learned along the way.
Case Study: Bellabeat — Scaling a Women's Health Platform
How Hanzo helped Bellabeat scale their women's health wearable platform to $35M in projected revenue through CMO/CTO services, marketing automation, and data analytics.