r/semanticweb • u/False_Secretary_3115 • 7d 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.
5
u/SomehowSomewhy 7d ago
A KPI name is rarely an atomic concept. "Avg. first-response time, tier-2 support, business hours" is a composition. If you classify whole KPIs into families, every new combination looks like a new long-tail concept. If you extract facets, much of the long tail collapses into a small set of facet values.
2
u/Environmental-Web584 7d ago
Bottom-up semantics is a broad subject with lots of techniques.
Something relatively easy to test is to annotate each element with attributes without assigning categories upfront. You can then use those attributes to generate a concept lattice. If a node in the lattice looks like a useful 'container', you can give it a name and use it as category.
2
u/Complete-Ebb-1035 7d ago
I would take a different approach from ones discussed here. They are not wrong. IMHO you are thinking at the wrong level - a KPI as you express it. Instead, you should think at the atomic level; how is the KPI constructed? I won't go into detail here unless asked, but I point you to a fundamental concept: an RDF triple. A triple is ?s ?p? ?o. The context for every triple is a namespace (an ontology or taxonomy). Without going into an ontology discussion, I think you will quickly see that this structure is easily and frequently implemented in javascript. you define a specific namespace; you define the target object in the namespace; you assign a property and an argument.
If the above make sense, try to deconstruct you exercise using conventional (JavaScript of TypeScript) techniques. When you get that working, it's far easier to generalize the examples into a structured data format.
1
u/DeepLogicNinja 7d ago
It’s always MORE difficult to do top down, rather than bottom up.
Bottom-up is more natural. Allowing each system / department to define their current vernacular and document it in a glossary. Using the right tooling you can generate a knowledge graph/ontology from the glossary. More importantly you can fix the anomalies before visually showing a glossary to glossary mapping.
When people can see how their terms/ knowledge graph maps (or doesn’t map) to an enterprise (or industry ontology) visually, it will be a more pleasant conversation and less of an attack on their current vernacular, experience, and methods.
Initially capturing their terminology ensures they are heard, and all requirements are captured. When it’s mapped to new terms, most people will be MORE accepting of the future state when they can see the entire context for the reason for the change.
All the additional information is also useful for semantic awareness. All the synonyms/related term info will be very useful for the LLM/NLP.
2
u/postlapsarianprimate 7d ago
As others have mentioned, semantic decomposition is the right basic answer. I have been working on a bottom-up ontology creator. Results look good so far. This is probably the future of ontologies, at least in enterprise/AI contexts.
1
u/Doc1000 4d ago
I have been substituting “perspectives” for a global taxonomy and building multiple trees that can be navigated interdependently.
What goal (why) is a user trying to accomplish is one perspective. What methods (how) should the agent choose? Who is reading docs, engineers or marketers?
Query conditioned embeddings are one path to establish the perspective, along with targeted taxonomy examples. Then link evidence together and form claims that combine data AND perspective semantically without hard categories.
I think you’ll have to generate a lot perspectives to truly accommodate diverse clients - thats where a testing suite built around finding the right combination of perspective, linkage and enrichment that meets an end use case.
Yea, I’m building something for this… I haven’t found it trivial but good research coming out recently. I think this is the future of data discovery, governance and context management.
1
u/HenrietteHarmse 4d ago
I have trouble understanding the exact problem you are trying to solve. Stating that it is a semantic classification problem seems to be solution driven rather than starting from the problem.
Why do you want to classify KPIs? Start with the competency questions that will answer your why. Putting a KPI in a super granular class is not necessarily helpful if it does not lead to actionable information. Some KPIs may point to something actionable like training. Others may be so vague that they require adhoc handling. Trying to shoehorn a longtail into a taxonomy is often not cost effective and may be better off to classify into an adhoc/could-not-classify category with an associated business process to deal with it.