Similarity Weighting Engine
Quantifying history to predict future outcomes.
Overview
This pillar analyzes current events by finding and weighting the most similar historical precedents. It moves beyond simple analogies to provide a data-driven forecast based on past patterns.
What It Does
The Similarity Weighting Engine deconstructs a current event into a set of key features, creating a unique 'fingerprint'. It then searches a vast historical database for past events with the most similar fingerprints. Each historical precedent is assigned a quantitative weight based on its proximity, recency, and structural similarity to the present situation.
Why It Matters
This provides a systematic way to learn from the past, correcting for common biases like cherry-picking convenient examples or overvaluing recent events. By weighting historical data, it offers a more objective and nuanced probability for future outcomes.
How It Works
First, the system defines a feature vector for the market in question, such as polling data and economic indicators for an election. It then queries a database of past elections, calculating a vector distance for each one. A recency decay factor is applied, and the outcomes of these historical precedents are aggregated into a weighted average to produce a final probability.
Methodology
The core calculation uses a normalized Euclidean distance or Cosine Similarity to measure the proximity between the current event's feature vector and historical vectors. A recency weight is applied using an exponential decay formula: `Weight = SimilarityScore * e^(-decay_rate * years_ago)`. The final prediction is a weighted average of the outcomes of the top 'N' most similar historical events.
Edge & Advantage
Its edge comes from imposing a rigorous, quantitative framework on historical analysis, preventing emotional or anecdotal reasoning from clouding judgment.
Key Indicators
-
Feature Vector Distance
highThe mathematical distance between the key features of the current event and a historical event. A smaller distance implies greater similarity.
-
Recency Weighting Factor
mediumA multiplier that algorithmically increases the importance of more recent historical precedents, assuming they are more relevant.
-
Structural Similarity Score
mediumA qualitative or quantitative score assessing how closely the underlying market or event structure matches, beyond just surface-level data points.
Data Sources
-
Provides a comprehensive historical catalog of world events, news, and tones, useful for geopolitical and social market analysis.
-
Offers historical economic indicators like GDP, inflation, and unemployment, crucial for financial and political market precedents.
-
A collection of historical sports statistics and game outcomes, perfect for finding precedents for team matchups and player performance.
Example Questions This Pillar Answers
- → Will the next Fed interest rate hike trigger a recession, based on the outcomes of the last five hiking cycles?
- → Which past election is the most statistically similar precedent for the upcoming presidential race?
- → Will this blockbuster movie's opening weekend gross match that of a similar film released under comparable market conditions?
Tags
Use Similarity Weighting Engine on a real market
Run this analytical framework on any Polymarket or Kalshi event contract.
Try PillarLab