r/learnmachinelearning • u/False_Secretary_3115 • 1d ago
Am I solving the wrong problem by forcing heterogeneous enterprise data into a fixed taxonomy?
I’m a data scientist working on a semantic classification problem involving enterprise performance metrics (KPIs) and learning content, and I’m starting to question my approach.
We have tens of thousands of customer-defined KPIs across different industries and languages. Some are standardized metrics, such as customer satisfaction or sales conversion, while others contain internal abbreviations, ambiguous terminology or highly business-specific concepts. Metadata quality varies considerably.
My initial approach was to build a standardized taxonomy and map each KPI to a family.
I’ve experimented with rule-based methods, multilingual embeddings, LLM classification, contextual enrichment and clustering. While precision is relatively good, coverage remains challenging, and expanding the taxonomy seems to have diminishing returns due to the long tail of customer-specific concepts.
There is a separate but related problem of semantically organizing enterprise learning and training content.
I’m increasingly wondering whether classification into predefined categories is the right formulation for either problem.
Would it make more sense to construct a structured semantic corpus or knowledge base, where taxonomies are just one possible representation of the underlying information?
I’m particularly interested in:
- How to represent heterogeneous business concepts without forcing everything into predefined categories.
- Bottom-up ontology discovery versus manually defined taxonomies.
- Handling ambiguous and customer-specific terminology.
- Whether knowledge graphs, hierarchical representations or enriched semantic documents are better suited to this problem.
- How to build something reusable across multiple downstream product applications.
- How to meaningfully evaluate such a system.
Has anyone worked on a similar problem? Are there research papers, frameworks or alternative approaches you’d recommend?
I’m less interested in trying another LLM or embedding model and more interested in whether there is a fundamentally better way to formulate the problem.
1
u/leogodin217 1d ago
This is a fascinating problem and I'm a data engineer who did a lot of machine learning in the past. So, not the expert you are looking for.
Can you expand on your goal? Is classification the goal or is this just a processing step to what you really want to do? Since metadata quality seems to be your biggest challenge, I'd start there. Can you easily classify which metrics are well defined already? Is there anything you can train a model on with those metrics/metadata combinations to estimate the definitions of less-well-defined ones? Iterate on the easy hoping to learn enough to make the more difficult stuff reasonable.
That's how I'd approach it, though not sure which models/methods I'd use. I suspect you will need multiple levels of classification. i.e (Sales:Trend:YoY%, Sales:Trend:Other, Sales:Other:Other). This would be one way of showing confidence in the classification.
1
u/PLBjt 21h ago
I'd keep the taxonomy but stop treating it as the thing that has to cover everything. A common setup is a small stable set of families plus an explicit 'unknown/other' bucket, and then you cluster the unknowns on embeddings of the KPI name plus its metadata and have someone review the big clusters monthly. Promote a cluster to a family only when it's big enough to matter downstream. For eval, hand label a few hundred KPIs sampled from the long tail specifically, since accuracy on the common ones will hide the problem. Check how much of your coverage gap is truly new concepts versus abbreviations that just need per-customer expansion, because those need different fixes. A full knowledge graph is more flexible but way more upkeep, so I'd only go there if multiple products really need the relationships.