Padjective Tag Hierarchy

Machine learning insights into Shopify product tag organization

Data sourced from cantbuymelove.industrial-linguistics.com powering Shopify taxonomy classification and filtered to taxonomies with at least five products.

Last updated 2026-11-26 02:02 UTC

26,402 Products used
1,095 Taxonomies covered
22,722 Tags used
55,794 Total tags
9,899 Tag battles

Dataset coverage

Training data spans 26,402 products across 1,095 taxonomies. Of 55,794 total tags in the dataset, 22,722 tags were used (tags appearing fewer than 5 times were filtered out). 11,806 products were discarded due to missing or sparse taxonomy labels. Explore the full dataset → | View defective taxonomy labels →

Dummy Baseline

Always predicts most common taxonomy (baseline for comparison)

0.6259 Avg p-adic loss
1 Parameter
View model →

Importance-Optimised p-adic Linear Regression

P-adic coefficients assigned to tags to predict taxonomy

0.3712 Avg p-adic loss
2,520 Avg non-zero coefficients
View model →

Level-wise Logistic Regression

Hierarchy-aware top-down classifier that always emits a valid taxonomy path

0.1008 Avg p-adic loss
83.01% Prefix-2 accuracy
132,415 Non-zero params
View model →

Zubarev Regression (UMLLR init)

Stochastic p-adic optimization starting from UMLLR (arXiv:2503.23488)

0.4243 Avg p-adic loss
5,087 Non-zero coefficients
View fold details →

Zubarev Regression (Zeros init)

Stochastic p-adic optimization starting from zeros (arXiv:2503.23488)

0.4247 Avg p-adic loss
4,026 Non-zero coefficients
View fold details →

Zubarev Mahler-1 (UMLLR init)

Mahler affine basis (degree 1) with UMLLR initialization

0.4234 Avg p-adic loss
4,762 Non-zero coefficients
View fold details →

Zubarev Mahler-2 (UMLLR init)

Mahler quadratic basis (degree 2) with UMLLR initialization

0.4226 Avg p-adic loss
4,755 Non-zero coefficients
View fold details →

Unconstrained Logistic Regression

L1-regularized model using ALL tags

0.2812 Avg p-adic loss
12,354 Non-zero params
View model →

Decision Tree

Unconstrained tree using ALL tags

0.2228 Avg p-adic loss
140,644 Effective params
View model →

Unconstrained Neural Network

L1-regularized NN with weight pruning

0.2544 Avg p-adic loss
22,137 Non-zero params
View model →

Parameter Constrained Neural Network

Neural network predicting taxonomy from tags

0.6099 Avg p-adic loss
864 Avg input weights
View model →

Parameter Constrained Logistic Regression

Logistic regression model predicting Shopify taxonomy from tags

0.8187 Avg p-adic loss
34,765 Avg parameters
View model →

ELO-Inspired Rankings

Battle-tested tag hierarchy from product title positions

9,899 Tag battles
View rankings →

Benchmark Comparisons

Dedicated `latest` and `paper` benchmark pages, including the average active parameters touched per classification for the importance-optimised p-adic linear regressor.

1.13 Latest active params / classification
1.11 Paper active params / classification
Open benchmark pages →

Taxonomy distribution

Taxonomy class distribution
Distribution of products across the most common taxonomy classes

Top 10 taxonomy classes

Taxonomy IDNamePathSamplesShare
gid://shopify/TaxonomyCategory/btBaby & Toddler44001.5%
gid://shopify/TaxonomyCategory/lbLuggage & Bags151140.4%
gid://shopify/TaxonomyCategory/buBundles51060.4%
gid://shopify/TaxonomyCategory/hgHome & Garden14920.3%
gid://shopify/TaxonomyCategory/maMature16660.3%
gid://shopify/TaxonomyCategory/gcGift Cards11510.2%
gid://shopify/TaxonomyCategory/osOffice Supplies18460.2%
gid://shopify/TaxonomyCategory/paProduct Add-Ons19440.2%
gid://shopify/TaxonomyCategory/aaApparel & Accessories1290.1%
gid://shopify/TaxonomyCategory/sgSporting Goods23290.1%

Tags with strongest signal

TagTop taxonomyWeightMax |weight|
No tag signal data available

Historical Performance Trends

Tracking model performance and dataset growth over time. Lower p-adic loss indicates better predictions.

Historical model performance trends
Model performance vs number of products
Model Slope (per product) Intercept R² p-value
Importance-Optimised p-adic LR0.0000010.34000.07381.79e-07
PCLR0.0000100.61790.41146.96e-43
PCNN0.0000000.60910.00000.9754
ULR0.0000030.21940.59012.68e-65
UNN0.0000010.21890.08507.96e-08
Decision Tree0.0000020.19000.34845.48e-32
Zubarev (UMLLR)0.0000010.39310.36261.17e-32
Zubarev (zeros)-0.0000010.45880.03070.0018
Zubarev (M1)0.0000010.39770.26833.71e-23
Zubarev (M2)0.0000010.39590.30033.05e-26
Dummy Baseline-0.0000100.81440.30804.25e-29

Extrapolation Analysis: When Will Importance-Optimised p-adic LR Outperform Other Models?

Based on current regression trends, we can extrapolate when Importance-Optimised p-adic LR will achieve better performance (lower p-adic loss) than other models as the dataset grows. The confidence intervals are calculated using bootstrap resampling (n=1000).

Model Crossover Point
(products)
95% Confidence Interval Probability Estimated Date
UNN (Unconstrained Neural Networks)353,275144,531 - 3,249,643 (95% CI, σ=37,258,570)>95%2044-02-06 (±uncertain, R²=0.641, growth=52.8/product/day)
ULR (Unconstrained Logistic Regression)65,70757,082 - 77,548 (95% CI, σ=5,262)>95%2029-03-12 (±uncertain, R²=0.641, growth=52.8/product/day)
Decision Tree226,531150,944 - 477,659 (95% CI, σ=105,671)>95%2037-07-13 (±uncertain, R²=0.641, growth=52.8/product/day)

Statistical Notes: The crossover points are calculated by finding where the regression lines intersect. The 95% confidence intervals are derived from bootstrap resampling of the regression parameters. The probability estimates indicate the likelihood that the crossover will occur given the current trends. Date predictions are based on linear extrapolation of dataset growth and should be interpreted with caution.

Model performance vs number of distinct tags
Model Slope (per tag) Intercept R² p-value
Importance-Optimised p-adic LR0.0000010.33430.06042.54e-06
PCLR0.0000170.49430.59624.33e-72
PCNN0.0000070.51800.13121.55e-12
ULR0.0000050.18190.83984.45e-132
UNN0.0000050.16390.58603.33e-64
Decision Tree0.0000030.16040.71356.05e-90
Zubarev (UMLLR)0.0000000.40570.01050.0680
Zubarev (zeros)-0.0000020.47840.07853.99e-07
Zubarev (M1)-0.0000000.41540.00310.3241
Zubarev (M2)-0.0000000.41220.00010.8978
Dummy Baseline-0.0000040.75180.02020.0083

Extrapolation Analysis: When Will Importance-Optimised p-adic LR Outperform Other Models?

Based on current regression trends, we can extrapolate when Importance-Optimised p-adic LR will achieve better performance (lower p-adic loss) than other models as the dataset grows. The confidence intervals are calculated using bootstrap resampling (n=1000).

Model Crossover Point
(tags)
95% Confidence Interval Probability Estimated Date
UNN (Unconstrained Neural Networks)47,17341,786 - 54,953 (95% CI, σ=3,410)>95%2028-04-20 (±uncertain, R²=0.998, growth=46.9/tag/day)
ULR (Unconstrained Logistic Regression)41,73838,109 - 45,749 (95% CI, σ=1,958)>95%2027-12-27 (±uncertain, R²=0.998, growth=46.9/tag/day)
Decision Tree80,96067,240 - 101,355 (95% CI, σ=8,989)>95%2030-04-10 (±uncertain, R²=0.998, growth=46.9/tag/day)

Statistical Notes: The crossover points are calculated by finding where the regression lines intersect. The 95% confidence intervals are derived from bootstrap resampling of the regression parameters. The probability estimates indicate the likelihood that the crossover will occur given the current trends. Date predictions are based on linear extrapolation of dataset growth and should be interpreted with caution.

Model complexity vs performance (parameter count vs p-adic loss)
Both axes use log scale. The red line is the fixed parsimoniousness baseline rather than a fitted regression.

Why parsimony matters. The question here is not just which model has the lowest loss, but which model gets good p-adic loss with the fewest effective parameters. That is exactly where the smaller p-adic models are interesting.

Where this baseline came from. The original score came from a log-log regression on model size versus loss, rounded to -0.1 × log₁₀(params) - 0.2. Looking across historical snapshots, those scores drifted as the dataset covered more taxonomies, so the current baseline adds + 0.3 × log₁₀(taxonomies / 1,000) to keep comparisons stable as the benchmark grows. For readability, we also re-centre the displayed score by dropping the old constant offset; that keeps the current tables mostly positive without changing the relative comparisons.

Parsimoniousness baseline: log₁₀(loss) = -0.1 × log₁₀(params) + 0.3 × log₁₀(taxonomies / 1,000)
Current snapshot taxonomies: 1,095
Parsimony score = baseline log₁₀(loss) − observed log₁₀(loss). Positive means better than baseline.

Model Params Loss log₁₀(params) log₁₀(loss) Baseline log₁₀(loss) Parsimony score
Level-wise Logistic132,4150.10085.1219-0.9966-0.5004+0.4963
Dummy10.62590.0000-0.20350.0118+0.2153
UNN22,1370.25444.3451-0.5945-0.4227+0.1718
ULR12,3540.28124.0918-0.5510-0.3974+0.1536
Decision Tree140,6440.22285.1481-0.6520-0.5030+0.1490
Importance-Optimised2,5200.37123.4014-0.4304-0.3283+0.1021
Zubarev (zeros)4,0260.42473.6049-0.3719-0.3487+0.0233
Zubarev (M2)4,7550.42263.6772-0.3741-0.3559+0.0182
Zubarev (M1)4,7620.42343.6778-0.3733-0.3560+0.0173
Zubarev (UMLLR)5,0870.42433.7065-0.3723-0.3588+0.0135
PCNN8640.60992.9365-0.2148-0.2818-0.0671
PCLR34,7650.81874.5411-0.0869-0.4423-0.3554
Historical parsimony score stability
Left: parsimony score versus dataset size. Right: score distribution across historical snapshots. Positive means better than the taxonomy-adjusted baseline.
Model Snapshots Mean score Std dev Span Latest score Latest products
Dummy Baseline343+0.07860.12330.3911+0.215326,402
Unconstrained Neural Network with L1327+0.11540.05980.2763+0.171826,402
Unconstrained Logistic Regression with L1329+0.15380.02400.1836+0.153626,402
Decision Tree296+0.13880.02380.1372+0.149026,402
Importance-Optimised $p$-adic Linear Regression296+0.07770.03920.1295+0.102126,402
Zubarev (UMLLR init)317-0.03610.03230.1225+0.013526,402
PCNN327-0.16770.08420.2645-0.067126,402
PCLR327-0.37970.02550.2073-0.355426,402

Smaller standard deviation and span mean a model’s parsimoniousness is more stable as the dataset grows.

Unconstrained models: complexity vs performance (log-log scale)
Unconstrained models only (no PCLR/PCNN). Both axes on log scale.

Regression: log₁₀(loss) = slope × log₁₀(params) + intercept

Slope Intercept R² p-value Significant? n
-0.0875 -0.1891 0.9669 0.0026 Yes 5
Model performance trajectory over time
Arrows show how each model's complexity and performance have changed over time.