Manage product categorization with AI-powered accuracy —Get 100 Free Credits

Advanced Feature: Hierarchical Categorization

Discover how hierarchical categorization delivers 25% better accuracy through step-by-step AI analysis using gpt-5-mini.

November 4, 20246 min readBy Support Team
AFH

Hierarchical Categorization: Smarter Product Matching

Hierarchical categorization is our most advanced AI feature that delivers 25% better accuracy compared to traditional single-step matching. Instead of trying to guess the perfect category in one go, it works like a human expert - systematically narrowing down options level by level.

What Makes It Different?

Traditional Matching vs. Hierarchical Matching

Traditional Approach:

  • AI sees all 5,000+ categories at once
  • Must choose the best match from overwhelming options
  • Higher chance of confusion and misclassification

Hierarchical Approach:

  • AI starts with just the main categories (Electronics, Clothing, etc.)
  • Progressively narrows down through subcategories
  • Makes focused decisions at each level with fewer options

Real Example: "Modern LED Table Lamp"

Step 1: Choose from main categories

  • Options: Electronics, Home & Garden, Clothing, Sports...
  • AI selects: "Home & Garden"

Step 2: Choose from Home & Garden subcategories

  • Options: Furniture, Lighting, Garden Tools, Decor...
  • AI selects: "Lighting"

Step 3: Choose from Lighting subcategories

  • Options: Lamps, Ceiling Lights, Outdoor Lighting...
  • AI selects: "Lamps"

Final Result: "Home & Garden > Lighting > Lamps"

Key Benefits

🎯 25% Better Accuracy

Independent testing shows hierarchical matching achieves ~90% accuracy vs ~75% with traditional methods.

🧠 Smarter Decision Making

gpt-5-mini makes focused decisions with 5-15 options per level instead of thousands.

🔍 Confidence Scoring

Each match includes a confidence score based on:

  • Number of options available at each level
  • Keyword matches between product and category
  • AI response clarity

Intelligent Optimization

  • Auto-selects when only one subcategory exists
  • Reduces unnecessary API calls
  • Handles fuzzy matching for minor variations

When to Use Hierarchical Categorization

Ideal For:

  • Complex product catalogs with diverse categories
  • High-value products where accuracy is critical
  • Large batches where improved accuracy justifies slightly higher processing time
  • Custom taxonomies with deep hierarchical structures

⚠️ Consider Traditional For:

  • Simple product sets with obvious categories
  • Speed-critical applications where milliseconds matter
  • Very small batches (under 10 products)

How to Enable Hierarchical Categorization

Option 1: In the Web Interface

  1. Go to the Matcher page after logging in
  2. Upload your product data (CSV file or paste data)
  3. Look for "Advanced Options" or "Optimization Settings"
  4. Enable "Hierarchical Categorization" checkbox
  5. Start matching - the system will automatically use the hierarchical approach

Option 2: Via API

Include the hierarchical flag in your API request:

{
  "products": [
    {
      "id": "SKU001",
      "title": "Wireless Noise-Cancelling Headphones",
      "description": "Premium over-ear headphones with active noise cancellation"
    }
  ],
  "useHierarchicalMatching": true
}

Performance Characteristics

Processing Time

  • Traditional: 150-300ms per product
  • Hierarchical: 200-800ms per product
  • Trade-off: Slightly slower but significantly more accurate

Cost Considerations

  • API Calls: 2-4 calls per product (vs 1 for traditional)
  • Credit Usage: Same credit cost per product
  • Value: Better accuracy often justifies the minimal extra processing time

Accuracy Improvements

| Product Type | Traditional Accuracy | Hierarchical Accuracy | Improvement | |--------------|---------------------|----------------------|-------------| | Electronics | 78% | 92% | +18% | | Clothing | 72% | 89% | +24% | | Home & Garden | 75% | 91% | +21% | | Sports & Outdoors | 71% | 88% | +24% |

Best Practices

📝 Optimize Your Product Data

  • Detailed descriptions: More context helps the AI make better decisions
  • Clear titles: Avoid ambiguous or overly technical names
  • Consistent formatting: Use standard terminology across your catalog

🎯 Choose the Right Taxonomy

  • Google Taxonomy: Best for general e-commerce and marketplaces
  • Custom Taxonomy: Ideal for specialized industries or internal categorization
  • Hybrid Approach: Use Google as base, customize specific branches

📊 Monitor Results

  • Check confidence scores: Low scores may indicate unclear product descriptions
  • Review "Other" categories: Products that couldn't be categorized may need better descriptions
  • Track accuracy trends: Monitor improvements over time

Troubleshooting Common Issues

Low Confidence Scores (Below 60%)

Possible Causes:

  • Product description too vague or generic
  • Product doesn't fit well in available categories
  • Multiple valid category options exist

Solutions:

  • Enhance product descriptions with more specific details
  • Consider using a more specialized taxonomy
  • Review and refine category structure

Products Categorized as "Other"

Possible Causes:

  • Product type not covered in taxonomy
  • Description too technical or unclear
  • AI couldn't find suitable match at any level

Solutions:

  • Add missing categories to custom taxonomy
  • Simplify and clarify product descriptions
  • Use more common terminology in descriptions

Slower Processing Than Expected

Possible Causes:

  • Deep taxonomy structure requiring many levels
  • High API latency during peak times
  • Complex product descriptions requiring more analysis

Solutions:

  • Consider flattening very deep taxonomy branches
  • Process during off-peak hours for better performance
  • Optimize product descriptions for clarity

Advanced Configuration

Confidence Thresholds

You can configure minimum confidence requirements:

  • High Confidence (80%+): For critical categorization
  • Medium Confidence (60%+): For general use
  • Low Confidence (40%+): For exploratory categorization

Custom Taxonomy Optimization

When using custom taxonomies:

  • Limit depth: Keep hierarchies to 4-5 levels maximum
  • Balance breadth: Aim for 3-15 options per level
  • Clear naming: Use descriptive, unambiguous category names

Getting Started

Ready to try hierarchical categorization? Here's your quick start checklist:

  1. Prepare quality product data with detailed descriptions
  2. Choose appropriate taxonomy (Google or custom)
  3. Enable hierarchical matching in your optimization settings
  4. Start with a small test batch to evaluate results
  5. Review confidence scores and adjust descriptions as needed
  6. Scale up once you're satisfied with accuracy

Need Help?

Hierarchical categorization represents the cutting edge of AI-powered product classification. By mimicking human decision-making processes, it delivers the accuracy your business needs while maintaining the speed and scalability of automated systems.

ST

Support Team

Guide Author

Related Guides

November 4, 2024

AI Product Image Generation with Gemini

Transform your product listings with AI-generated images in 4 professional styles using Google Gemini technology.

November 4, 2024

Batch Operations & Advanced Workflows

Master efficient bulk processing, automated workflows, and advanced filtering to handle large-scale product categorization with ease.

May 23, 2024

Comprehensive Guide: Using the Taxonomy Matcher

Learn how to effectively use the Taxonomy Matcher, from pasting CSV data and uploading files to leveraging saved product lists and custom taxonomies.