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-08-27 20:22 UTC

4,580 Products used
353 Taxonomies covered
19,099 Tags used
47,245 Total tags
8,438 Tag battles

Dataset coverage

Training data spans 4,580 products across 353 taxonomies. Of 47,245 total tags in the dataset, 19,099 tags were used (tags appearing fewer than 5 times were filtered out). 25,136 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.8485 Avg p-adic loss
1 Parameter
View model →

Importance-Optimised p-adic Linear Regression

P-adic coefficients assigned to tags to predict taxonomy

0.3185 Avg p-adic loss
628 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.3579 Avg p-adic loss
1,476 Non-zero coefficients
View fold details →

Zubarev Regression (Zeros init)

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

0.4143 Avg p-adic loss
2,710 Non-zero coefficients
View fold details →

Zubarev Mahler-1 (UMLLR init)

Mahler affine basis (degree 1) with UMLLR initialization

0.3567 Avg p-adic loss
1,428 Non-zero coefficients
View fold details →

Zubarev Mahler-2 (UMLLR init)

Mahler quadratic basis (degree 2) with UMLLR initialization

0.3559 Avg p-adic loss
1,433 Non-zero coefficients
View fold details →

Unconstrained Logistic Regression

L1-regularized model using ALL tags

0.2747 Avg p-adic loss
2,663 Non-zero params
View model →

Decision Tree

Unconstrained tree using ALL tags

0.2318 Avg p-adic loss
19,494 Effective params
View model →

Unconstrained Neural Network

L1-regularized NN with weight pruning

0.2768 Avg p-adic loss
31,140 Non-zero params
View model →

Parameter Constrained Neural Network

Neural network predicting taxonomy from tags

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

Parameter Constrained Logistic Regression

Logistic regression model predicting Shopify taxonomy from tags

0.8178 Avg p-adic loss
11,168 Avg parameters
View model →

ELO-Inspired Rankings

Battle-tested tag hierarchy from product title positions

8,438 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.

0.84 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 & ToddlerBaby & Toddler2946.4%
gid://shopify/TaxonomyCategory/lbLuggage & BagsLuggage & Bags1022.2%
gid://shopify/TaxonomyCategory/buBundlesBundles831.8%
gid://shopify/TaxonomyCategory/paProduct Add-OnsProduct Add-Ons350.8%
gid://shopify/TaxonomyCategory/gcGift CardsGift Cards310.7%
gid://shopify/TaxonomyCategory/osOffice SuppliesOffice Supplies210.5%
gid://shopify/TaxonomyCategory/naUncategorizedUncategorized190.4%
gid://shopify/TaxonomyCategory/hgHome & GardenHome & Garden180.4%
gid://shopify/TaxonomyCategory/sgSporting GoodsSporting Goods180.4%
gid://shopify/TaxonomyCategory/biBusiness & IndustrialBusiness & Industrial170.4%

Tags with strongest signal

TagTop taxonomyWeightMax |weight|
HLAČEBaby & Toddler2.72272.7227

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 p-value
Importance-Optimised p-adic LR-0.0000000.34730.00030.7662
PCLR0.0000190.55070.45423.65e-38
PCNN0.0000030.58440.01550.0382
ULR0.0000030.21380.35363.36e-25
UNN0.0000020.21280.04488.12e-04
Decision Tree0.0000020.18560.17854.52e-12
Zubarev (UMLLR)0.0000030.37910.46568.08e-34
Zubarev (zeros)0.0000070.39310.82525.81e-91
Zubarev (M1)0.0000020.38910.29142.51e-19
Zubarev (M2)0.0000030.38530.34851.18e-23
Dummy Baseline-0.0000210.89430.35301.73e-26

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)70,40047,020 - 181,110 (95% CI, σ=298,057)>95%2032-07-31 (±uncertain, R²=0.318, growth=27.0/product/day)
ULR (Unconstrained Logistic Regression)39,72633,180 - 50,129 (95% CI, σ=4,352)>95%2029-06-20 (±uncertain, R²=0.318, growth=27.0/product/day)
Decision Tree78,02456,463 - 133,274 (95% CI, σ=19,869)>95%2033-05-10 (±uncertain, R²=0.318, growth=27.0/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 p-value
Importance-Optimised p-adic LR0.0000000.34240.00290.3747
PCLR0.0000230.43190.60085.74e-57
PCNN0.0000150.42970.32631.77e-25
ULR0.0000050.18110.70236.15e-67
UNN0.0000080.12520.81964.46e-93
Decision Tree0.0000040.15190.66231.89e-59
Zubarev (UMLLR)-0.0000010.42260.03890.0023
Zubarev (zeros)0.0000030.41860.13158.93e-09
Zubarev (M1)-0.0000020.43710.17841.14e-11
Zubarev (M2)-0.0000020.43300.12811.44e-08
Dummy Baseline0.0000050.66400.01510.0463

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)27,82626,099 - 29,909 (95% CI, σ=977)>95%2027-03-12 (±uncertain, R²=0.997, growth=46.2/tag/day)
ULR (Unconstrained Logistic Regression)35,92431,804 - 42,098 (95% CI, σ=2,531)>95%2027-09-03 (±uncertain, R²=0.997, growth=46.2/tag/day)
Decision Tree51,95543,666 - 63,761 (95% CI, σ=5,207)>95%2028-08-15 (±uncertain, R²=0.997, growth=46.2/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: 353
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.6479+0.3488
ULR2,6630.27473.4254-0.5612-0.4782+0.0830
Importance-Optimised6280.31862.7977-0.4967-0.4154+0.0813
Decision Tree19,4940.23184.2899-0.6349-0.5647+0.0703
Zubarev (M2)1,4330.35593.1563-0.4486-0.4513-0.0027
Zubarev (M1)1,4280.35673.1546-0.4477-0.4511-0.0034
Zubarev (UMLLR)1,4760.35793.1690-0.4462-0.4526-0.0063
UNN31,1400.27684.4933-0.5578-0.5850-0.0272
Dummy10.84850.0000-0.0713-0.1357-0.0643
Zubarev (zeros)2,7100.41433.4330-0.3827-0.4790-0.0963
PCNN8640.79192.9365-0.1013-0.4293-0.3280
PCLR11,1680.81784.0480-0.0873-0.5405-0.4531
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
Unconstrained Logistic Regression with L1249+0.15750.02380.1658+0.08304,580
Importance-Optimised $p$-adic Linear Regression216+0.06850.04200.1295+0.08134,580
Decision Tree216+0.14010.02400.1296+0.07034,580
Zubarev (UMLLR init)237-0.05010.02390.1079-0.00604,580
Unconstrained Neural Network with L1247+0.10070.05380.2416-0.02724,580
Dummy Baseline263+0.04430.11600.3436-0.06434,580
PCNN247-0.19480.07300.2528-0.32804,580
PCLR247-0.38420.02480.2073-0.45314,580

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 p-value Significant? n
-0.1200 -0.1044 0.9310 0.0079 Yes 5
Model performance trajectory over time
Arrows show how each model's complexity and performance have changed over time.