---
title: "Learning Taxonomy Adaptation in Large-scale Classification (2016)"
description: "Learning Taxonomy Adaptation explains when a class hierarchy helps document classification and how selective pruning can improve its…"
canonical: "https://research.elamur.ai/free/en/papers/babbar-2016-learning-taxonomy-adaptation-large-scale/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/babbar-2016-learning-taxonomy-adaptation-large-scale/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Learning Taxonomy Adaptation in Large-scale Classification

# Learning Taxonomy Adaptation in Large-scale Classification

Paper · 2016 · Rohit Babbar, Ioannis Partalas, Eric Gaussier et al.

**Authors:** Rohit Babbar, Ioannis Partalas, [Eric Gaussier](https://md.research.elamur.ai/free/en/authors/eric-gaussier/), Massih-Reza Amini and Cécile Amblard · **Year:** 2016 · **Venue:** JMLR 17 · **Licence:** JMLR — open access, read only

Cited by **1** paper in our library of more than 163,000 papers whose bibliographies we read · JMLR 17

- [Publisher's page](https://jmlr.org/papers/v17/14-207.html)
- [PDF](http://jmlr.org/papers/volume17/14-207/14-207.pdf)

## Summary

A document directory groups related categories so that people can find their way from broad subjects to specific ones. A classifier can follow the same route, choosing a branch at each step until it reaches a final category. This makes each decision smaller, but a wrong turn near the top can put the correct answer out of reach. A flat classifier faces the opposite problem. It makes a single choice among all the final categories, including categories with very few training documents. The paper asks when each approach to [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) is likely to work better and whether removing selected intermediate categories can improve the route.

The authors compare the approaches using a bound on generalization error, which is the chance of a wrong prediction on a fresh example from the same distribution. The bound has a term for how well the classifier fits the training examples and a term that depends on how many labels compete at each decision. A hierarchy can reduce the latter by dividing a large choice into smaller ones. Its training fit can still suffer when a document has to pass through several uncertain decisions. This tradeoff suggests a way to adapt a directory for prediction. Remove an intermediate category and promote its children to its parent. The path through that branch becomes shorter, while the parent takes on a larger classification problem.

The paper develops two ways to choose where to make that edit. One ranks sibling categories using distances between the weight vectors of trained classifiers. The other learns from examples of successful and unsuccessful edits. It describes each candidate using quantities such as its number of categories, the amount of training data, and the similarity of the categories that would compete before and after the edit. The authors train this second pruning rule on parts of the DMOZ web directory and apply it to other parts of the directory and to an International Patent Classification dataset.

On the held-out DMOZ subsets, the original hierarchy beats flat classification for every classifier tested, and selective pruning frequently improves on the original hierarchy. For instance, on the LSHTC2-3 test set, multiclass logistic regression has classification error of 52.8 with flat prediction, 48.4 with the original hierarchy, and 48.0 with learned pruning. The patent results show why the choice still depends on the dataset and classifier. The flat support vector machine has test error of 46.6, compared with 51.3 for the original hierarchy and 50.7 for learned pruning. Learned pruning also has lower error than the tested LOMTree and FilterTree configurations, which construct trees from the labels. The results show where an existing taxonomy provides a useful starting point and how much the choice of edits matters.

## Deep dive: Learning Taxonomy Adaptation in Large-scale Classification

Learning Taxonomy Adaptation explains when a class hierarchy helps document classification and how selective pruning can improve its predictions. · about 39 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A directory and a decision tree have different jobs

Directories such as DMOZ arrange specific categories under broader ones. For a person browsing the directory, a broad label can offer a useful entry point even when another broad label overlaps with it. A classifier that follows a single path has to settle that overlap as soon as it encounters it. The authors use Business and Shopping as examples of DMOZ categories that a document classifier could confuse. An early choice between them can be difficult even when the document contains strong evidence for a much more specific category further down the tree.

In a top-down cascade, each internal node supplies a separate classification problem. The options are the children of that node. During training, a document with a known leaf label can be used at an internal node on its path and assigned to the child that contains that leaf. During prediction, the document starts at the root. The cascade chooses a child, takes that child as the next stopping point, and repeats until it reaches a leaf. The paper calls this a Pachinko machine. Its defining feature is that each choice determines which classifier gets to act next. If the correct leaf is under a different child, the remainder of the route cannot recover it.

Flat classification treats all final categories as alternatives in the same decision. Evidence for a specific category can contribute directly to its score. It also has to compete with every other category, including common categories for which the classifier has seen much more data. The authors emphasize this issue in directories where the distribution of documents has a long tail of rare categories. A hierarchy can pool the examples of many rare leaves when it learns to recognize a broad branch. Those leaves will still need to be distinguished further down, but they face a smaller field of competitors there. The usefulness of this division depends on how predictable the broad branches are and how the rare leaves are distributed among them.

Classification accuracy is the paper’s main concern. A separate motivation for using a tree is the cost of training and prediction. The authors cite earlier work that analyzes the training advantage of a cascade under a power-law distribution of documents across categories. They also contrast the need to score all categories in flat prediction with logarithmic prediction in a suitable top-down tree. This computational motivation makes partial flattening attractive. A tree can lose some steps and retain much of its structure. How much work a particular adapted tree actually saves is a separate question from whether its predictions are better.

#### How earlier work used class relationships

The authors place the problem in the context of large classification tasks for both text and images. They discuss the Large-scale Hierarchical Text Classification challenge and cite the [ImageNet Large Scale Visual Recognition Challenge](https://md.research.elamur.ai/free/en/papers/russakovsky-2014-imagenet-large-scale-visual-recognition/) as the corresponding example from visual recognition. Their own experiments concern the assignment of documents to categories. The shared problem is that a prediction system can have a large label vocabulary with some prior information about relationships among those labels.

One line of earlier work used those relationships to divide training into local decisions. Koller and Sahami and Dumais and Chen are examples of this approach in text classification. Liu and colleagues trained hierarchical support vector machines on a Yahoo! directory task with over 100,000 categories. Other methods use relationships to share information during training. McCallum and colleagues smooth Naive Bayes parameters along paths from the root towards the leaves. The Bayesian approach discussed by Gopal and colleagues puts a child’s prior around its parent’s parameters. The recursive regularization approach of Gopal and Yang also encourages parent and child weights to stay close. These methods change what a classifier learns from the hierarchy, even when the structure of the hierarchy itself stays fixed.

A second line of work addresses the consequences of taking a wrong branch. Bennett and Nguyen’s Refined Experts use outputs from lower-level classifiers to inform higher-level decisions. Beam-search approaches keep several possible routes open during prediction. Both make information available beyond the single next decision of a basic cascade. The paper points out that following several routes increases prediction work, a concern when the number of labels is large. Xue and colleagues take a different approach. They use the hierarchy to identify a much smaller set of potential labels and retrain a Naive Bayes classifier on that set for the final choice.

A third option changes how mistakes are charged. In the hierarchical loss designs the authors discuss, the penalty can depend on how far the predicted category lies from the correct category in the tree. A mistake between close categories can then carry a smaller cost than a mistake between distant ones. Dekel’s approach also addresses imbalance and arbitrariness in the taxonomy through the loss. The paper’s pruning operation changes an earlier part of the process. It changes which categories the classifier must distinguish at a given point. The final comparison can still judge whether the chosen leaf was correct.

Earlier work also considered flattening whole levels, and other approaches learned a tree from a set of labels. Flattening a level applies the same edit to branches that can differ greatly in training data and predictability. Learning a tree from scratch is useful when a hierarchy is unavailable. When an editorial taxonomy is available, it already supplies groupings and paths that a classifier can use. The authors ask how to keep those groupings where they help and remove a particular decision where it gets in the way. That makes the unit of adaptation an individual intermediate node.

### The method, step by step

#### Follow the route to a leaf

Consider a parent with several children. One of those children is an intermediate category with more specific categories below it. With the original tree, a document bound for one of those descendants must first be sent to the intermediate category, then to the right child within it. The pruning edit removes the intermediate category from the route. Its children become direct children of its former parent and compete with its former siblings. The new parent classifier learns that enlarged choice. Below the promoted children, the rest of their paths are available as before. In particular, the edit retains the final categories that the system is trained to predict.

This edit can help when the intermediate category gathers examples that are hard to recognize as a group, even though some of its constituent categories are recognizable in their own right. It can also divide a dominant branch into smaller competitors at the parent. If the intermediate category was providing a reliable separation, however, the edit can make that parent’s decision harder by exposing it to more categories at once. The authors first express this tradeoff using the scores of a cascade. They then develop criteria for making the edit with a trained cascade or learning a rule that can be used on another taxonomy.

Selective pruning for top-down classification The steps in order.

#### Measure the weakest decision on the path

The theoretical setting is a rooted tree. The parent map gives each non-root node a unique parent, and the leaf set gives the possible final answers. The paper distinguishes the edge set from the data distribution, and it uses related notation for the distribution and for the children of a node. The argument of the symbol identifies which meaning applies.

```
H = (V, E)
```

Here H is the taxonomy tree, V is its set of nodes, and E is its set of edges directed from parent to child. The root is denoted by ⊥. The symbol π(v) denotes the parent of a non-root node v. The symbol D(v) denotes the children of v, S(v) denotes the other children of v’s parent, and Y denotes the set of leaves. A labeled example consists of an input x in the input space X and a target y in Y. The distribution D, written without a node argument, is the unknown distribution of these examples.

The authors describe a family of scoring functions that can use a kernel. A kernel supplies inner products between mapped inputs, so the analysis can refer to vectors in the associated feature space even when the original representation is different. Each category has its own weight vector. The score measures how the input’s feature vector aligns with that category’s weights.

```
f(x, v) = ⟨Φ(x), wᵥ⟩
```

Here f is the scoring function, x is the input, and v is the category being scored. The map Φ sends x into the kernel’s feature space, and wᵥ is the weight vector for v in that same space. The angle brackets denote an inner product. The kernel K gives the inner product of two mapped inputs, and K(x, x) is the squared feature-space norm of x. To restrict the set of scoring functions considered, the authors bound the joint size of the weight vectors.

```
‖W‖ℋ = (∑ᵥ∈V ‖wᵥ‖ℋ²)¹⁄² ≤ B
```

Here W collects the weight vectors, ℋ denotes the feature space, and ‖·‖ℋ denotes its norm or the corresponding group norm for W. The sum runs over nodes v in V, and B is the allowed upper limit. The paper calls the class of scoring functions subject to this restriction Fᴮ. Limiting the weights is part of what gives the theory a bounded family to compare. A cascade with the same tree and much more freedom in assigning scores would be a different learning problem.

For a document whose correct label is y, the authors compare the score for the correct choice at a decision with the strongest competing score. The difference is a margin. A positive margin means that the correct child wins that decision. The path margin is the smallest of these margins, so a high score at one decision cannot compensate for a wrong turn at another.

```
gբ(x, y) = minᵥ∈P(y) [f(x, v) − maxᵥ′∈S(v) f(x, v′)]
```

Here gբ denotes the path-margin function associated with f, x is the input, y is the correct leaf, and P(y) indexes the correct choices along its route in the intended cascade interpretation. The node v is a correct child at one such decision, and v′ ranges over its siblings S(v). The inner maximum finds the strongest sibling. The outer minimum finds the weakest correct-versus-sibling comparison. In the paper’s displayed definition, P(y) is written as an ancestor set starting at the parent of y. The stated rule that the margin verifies the complete route also requires the comparison that chooses y itself. The role of that indexing issue is discussed below.

```
E(gբ) = Pr₍ₓ,ᵧ₎∼D[gբ(x, y) ≤ 0]
```

Here E(gբ) is the generalization error expressed in terms of the margin, and Pr₍ₓ,ᵧ₎∼D is probability over a new input x and true label y drawn from D. A margin at or below 0 is counted as an error, so the definition also counts a tie on the correct path against the classifier. A loss that upper-bounds this error indicator can charge a small positive margin as well. That lets the analysis distinguish barely correct decisions from ones with a larger separation.

#### Compare fit with the number of competing pairs

The paper uses empirical Rademacher complexity to measure the flexibility of the margin functions on a sample. The idea is to assign random signs to the examples and see how strongly the best function in the class can line up its output with those signs. A family that can align strongly with arbitrary signs has more freedom to fit patterns peculiar to the training sample. The random signs serve the analysis. They are separate from the actual category labels.

```
R̂ₘ(Gᴮ, S) = 𝔼σ[(2/m) supgբ∈Gᴮ ∑ᵢ₌₁ᵐ σᵢ gբ(x⁽ⁱ⁾, y⁽ⁱ⁾)]
```

Here S is the training sample, m is its size, and Gᴮ is the class of path-margin functions obtained from Fᴮ. The sample pair x⁽ⁱ⁾, y⁽ⁱ⁾ has index i. Each σᵢ is an independent uniform random sign from {−1, +1}, and 𝔼σ averages over those signs. The supremum selects the best achievable signed sum among functions gբ in Gᴮ. The normalization 2/m is the one used by the authors.

To make the complexity expression depend on the tree, the proof associates each training example and scoring function with a pair of sibling nodes. One node is the correct choice at the place where its margin is smallest. The other is its strongest rival. With a kernel scoring function, the score difference for that pair is an inner product involving the difference of their weight vectors. The authors group the terms in the random-sign sum by these pairs. Their inequalities then use a weight norm limit, a bound on input norms, and a count of the possible ordered pairs. This is the link between the scoring rule and the structure of the taxonomy.

```
E(gբ) ≤ (1/m) ∑ᵢ₌₁ᵐ A(gբ(x⁽ⁱ⁾, y⁽ⁱ⁾)) + (8BRL/√m) ∑ᵥ∈V∖Y |D(v)|(|D(v)| − 1) + 3√(ln(2/δ)/(2m))
```

Here E(gբ) is the fresh-example error, and the first sum is the average of the surrogate loss A on the training sample. The loss A dominates the error indicator, and its Lipschitz constant L limits how quickly it can change with the margin. The weight bound is B, and R is a positive feature-norm bound satisfying K(x, x) ≤ R². For an internal node v in V∖Y, |D(v)| is its number of children. The expression |D(v)|(|D(v)| − 1) counts ordered pairs of distinct children. The natural logarithm is ln, and δ is the allowed failure probability. With independent examples from D and the kernel and loss assumptions in force, the theorem states that the inequality holds simultaneously for the margin functions with probability at least 1 − δ.

The first term depends on the scores the trained classifier gives to the correct path and its rivals. The middle term depends on the shape of the tree and on the restrictions of the scoring family. The last term is a sampling allowance. For a fixed tree and fixed constants, the middle and last terms shrink as the sample grows. This is the basis for the paper’s claim about the consistency of empirical risk minimization for the cascade. The statement concerns the family and loss under analysis. It gives the authors a way to discuss how well empirical fit carries over to fresh examples.

Writing a flat problem as a root with all leaves as children makes the comparison particularly clear. There is a single margin decision, and every distinct pair of target labels contributes to the middle term. A hierarchy can replace that wide choice with a collection of smaller choices. A top-down decision can still fail on any of the comparisons along the correct route, which can push up the empirical term. The authors reason that large imbalances among the leaves can make the flat decision difficult enough for the structural benefit of a hierarchy to matter. Where the leaf categories have more substantial training sets, a wide decision can work well and the cost of early routing errors can dominate. These are comparative expectations. The bound contains both contributions and gives no ranking from the tree shape alone.

```
CR = [∑ᵥ∈V∖Y |D(v)|(|D(v)| − 1)] / [|Y|(|Y| − 1)]
```

Here CR is the paper’s ratio of the hierarchical pair-count term to the flat pair-count term for the same leaves. The numerator sums over internal nodes v, D(v) gives their children, and |Y| is the number of final categories. The ratio compares the structural parts with the other factors held common. It cannot tell how frequently the classifier fails to choose a particular branch. That information comes from the fitted scores or the observed errors.

#### Decide whether a particular node should go

The most direct pruning procedure uses validation results. Train a cascade on the current hierarchy and measure its validation accuracy. For each candidate, remove it temporarily, promote its children, and retrain the parent classifier whose alternatives have changed. Run the edited cascade on the validation examples. Retain the edit if validation accuracy improves. The value of this procedure is that it measures the outcome the edit is meant to change, with all the upstream and downstream decisions in use. Its cost comes from repeating parent training and cascade evaluation for candidates, including edits that prove unhelpful. The validation evidence concerns the taxonomy being tested, so another taxonomy needs its own search.

The bound-based method, PR-B, starts with a trained cascade and uses its weights to prioritize edits. The Rademacher argument compares two scores through the difference between their weight vectors. The authors turn that difference into a local statistic for each node. Siblings share the same local training problem, which gives the statistic a common context within that group.

```
C(v) = ∑ᵥ′∈S(v) ‖wᵥ − wᵥ′‖ℋ
```

Here C(v) is the accumulated distance from node v to its siblings, S(v) is the sibling set, and wᵥ and wᵥ′ are the learned weight vectors of v and its sibling v′. The norm ‖·‖ℋ measures the length of each difference in the feature space. A high value can reflect a large weight norm for v, strong separation in weight space between v and its siblings, or a combination. The authors suggest that promoting children can split a dominant category or preserve separation from its former competitors while removing a routing decision. C(v) itself uses the weights before the edit. The reasoning about how well the promoted children will behave supplies the heuristic step.

Within a group of siblings, the algorithm orders candidates by decreasing C(v). Its inner loop starts by flattening the top-ranked pair and taking the gap between their scores as a stopping threshold. A further candidate is flattened if the drop from the previous selected score is smaller than the current gap. When it accepts a candidate it updates the gap, and when the inequality fails it stops that pass. The authors describe concentrating pruning in the top two layers, where broad categories can overlap and where an early decision can affect many paths. The rule uses the existing weights for screening, which avoids running a validation evaluation after every trial edit. It still needs the initial cascade, and the deployed cascade must reflect the new set of children at each affected parent.

This is a greedy rule because it selects promising siblings in an order instead of evaluating all combinations of edits. The order matters in principle. Promoting children changes the competition for every sibling of the removed node. A later edit can therefore have a different effect once a previous edit has gone through. The bound-based procedure offers a relatively inexpensive way to select a shortlist from a trained hierarchy. The authors’ other method learns from previous pruning outcomes and uses descriptions of the changed local problem.

#### Learn a pruning rule from known outcomes

Meta-learning here means that the system learns a rule for a training decision. The ordinary classifier receives a document and predicts its category. The meta-classifier receives information about an intermediate node and predicts whether promoting its children is likely to help. To decide what information to give it, the authors analyze the finite-data behavior of multinomial Naive Bayes and multiclass logistic regression. Both assign scores to classes, but their scores have different meanings and their parameters are estimated in different ways.

Multinomial Naive Bayes uses word occurrence counts. It estimates how likely a class is and how likely each word is within that class. Laplace smoothing keeps an unseen word in a class from receiving an estimated probability of zero. The classifier scores a document by combining the prior for a candidate class with the probabilities it assigns to the words in the document.

```
ℓ(x, yₖ) = log[P̂(yₖ) ∏ᵢ₌₁ᵈ P̂(wᵢ | yₖ)ˣⁱ]
```

Here ℓ(x, yₖ) is the joint log-likelihood score of document x and candidate class yₖ. The notation ˣⁱ in the product means the exponent xᵢ, the count of vocabulary word wᵢ in the document. The vocabulary has size d, P̂(yₖ) is the estimated class prior, and P̂(wᵢ | yₖ) is the estimated conditional word probability. The product ∏ runs over the vocabulary, and log is the logarithm. The classifier h chooses the class with largest ℓ. Its asymptotic counterpart h∞ makes the same choice by using ℓ∞, the score formed from limiting estimates.

The authors use concentration of class and word probabilities to relate the fitted scores to their limiting values. The class prior draws evidence from the number of training documents. For the conditional word probabilities, the analysis also counts the words contributed by the documents in the class. The useful distinction is between estimating class frequency and estimating the distribution of words inside each class. A class can be small on either measure, and the smallest classes matter to an analysis that has to control all the estimates.

```
Gᵧ(τ) = Pr₍ₓ,ᵧ₎∼D[|s∞¹(x) − s∞²(x)| < 2τ]
```

Here the subscript ᵧ denotes the candidate set Y, and Gᵧ is its confusion function. The scores s∞¹(x) and s∞²(x) are respectively the largest and second-largest scores assigned to input x by the classifier with limiting estimates. The superscripts indicate rank. For Naive Bayes these scores are joint log-likelihoods, and for logistic regression they are class posterior probabilities. The tolerance τ is positive, |·| takes an absolute difference, and the probability is over fresh pairs (x, y) from D. The event depends on the score gap for x. A very small gap makes the winner vulnerable to estimation error, even if the limiting classifier would have chosen the correct label.

```
E(h) ≤ E(h∞) + Gᵧ(ε)
```

Here E(h) and E(h∞) are the fresh-example errors of the fitted and limiting Naive Bayes classifiers. The positive number ε is the score tolerance, and Gᵧ(ε) is the probability of an asymptotic top pair close enough for a score perturbation at that tolerance to change the winner. The theorem states this inequality with probability at least 1 − δᵧ over training. It bounds the extra error from having finite data. The limiting classifier’s error stays in the expression because even perfect estimates for this family of classifiers can yield the wrong label.

```
δᵧ = 2K exp[−2ε²m/(C(d + dₘₐₓ)²)] + 2d exp[−2ε²dₘᵢₙ/(C(d + dₘₐₓ)²)]
```

Here δᵧ denotes the failure allowance reported for this Naive Bayes bound. The set Y contains K classes, m is the number of training documents, d is the vocabulary size, and dₘₐₓ and dₘᵢₙ are the largest and smallest class lengths measured in word occurrences. The constant C is tied to the maximum document length. The function exp is the exponential, and ε is the tolerance used in the error statement. The first contribution uses the document count and the second uses the shortest class length. The proof describes simplifying a sum of exponentials using a dominating term, a qualification relevant to reading the displayed confidence statement literally. For the method, the expression points to observable quantities that can help describe a pruning candidate.

Logistic regression estimates the probabilities of the classes directly from the input features. Its linear scores include an intercept and one coefficient for each feature. The authors use a reference class, given a score of zero for this parameterization. The probabilities are the normalized exponentials of the scores.

```
aᵧ(x) = β₀ʸ + ∑ⱼ₌₁ᵈ βⱼʸ xⱼ
```

Here aᵧ(x) is the linear score for an ordinary class y, with the subscript ᵧ used as the label index. The coefficient β₀ʸ is its intercept and βⱼʸ is its coefficient for feature j. The input x has component xⱼ at that feature, and d is the number of input features. The reference class y★ has score 0.

```
P(y | x; β) = exp[aᵧ(x)] / [1 + ∑ᵤ∈Y∖{y★} exp[aᵤ(x)]]
```

Here P(y | x; β) is the probability assigned to label y for input x by parameters β. The notation aᵤ is the linear score for candidate u, and Y∖{y★} is the set of candidates other than the reference class. The 1 in the denominator is the reference class’s exponential score. For y★ the numerator is also 1. The rule picks a label with the largest posterior probability, using parameters fitted by maximum likelihood for the finite-sample classifier and their limiting values for the asymptotic classifier.

```
E(hₘ) ≤ E(h∞) + Gᵧ(d√[R|Y|σ₀/(δm)])
```

Here hₘ is the logistic classifier fitted to m training documents, h∞ is its asymptotic version, and E measures error on fresh examples. The function Gᵧ uses the gap between the highest posterior probabilities in the candidate set Y, whose size is |Y|. The feature dimension is d. The constant R controls the exponential scores in the probability bound, and σ₀ is the largest component of the inverse diagonal Fisher information used in the analysis. The symbol δ is the failure allowance, and the result is stated with probability at least 1 − δ. A large σ₀ corresponds to weak information for estimating at least one of the coefficients. The authors relate that weakness to how much evidence is available in the classes, especially the smaller ones. The Fisher information here concerns parameter estimation and is separate from the random signs used in the earlier tree bound.

#### Describe the local choices before and after pruning

A candidate edit affects several related class sets. At the parent, the original alternatives include the candidate node and all its siblings. Within the candidate node, the alternatives are its children. At the edited parent, the children compete with the former siblings. The authors analyze the original choices separately so that they can compare them with the single enlarged choice created by promotion.

```
S′(v) = S(v) ∪ {v}
```

Here v is the candidate node, S(v) is its sibling set, and S′(v) includes the candidate as an option in its parent’s original classifier. The union symbol ∪ combines sets.

```
F(v) = S(v) ∪ D(v)
```

Here F(v) is the edited choice set at the parent, S(v) contains the former siblings, and D(v) contains the children being promoted. The old within-node decision used D(v) on its own. The features in the meta-classifier describe all of these classification problems, so they can represent effects that are visible only after combining the groups.

The paper uses a union bound to combine allowances for the original decisions. A route through the candidate can go wrong at its parent or at the subsequent choice within the candidate. Adding their allowances avoids assuming those errors are independent. It is a coarse comparison because the original child decision is relevant only when the route reaches the candidate. It is useful for asking what should be measured when evaluating an edit.

```
Gꜰ₍ᵥ₎(ε) ≤ Gₛ′₍ᵥ₎(ε) + Gᴅ₍ᵥ₎(ε)
```

Here G with each subscript is the confusion function for that subscript’s choice set, ε is the same positive score tolerance on both sides, and v identifies the edit. The left side describes the enlarged choice F(v). The right side adds the allowances for the two original choices S′(v) and D(v). The paper treats this comparison as a guide to pruning, alongside a comparison of the confidence allowances. The asymptotic classifiers for these sets can have different error rates of their own.

```
|F(v)|σ₀ꜰ/mꜰ ≤ |S′(v)|σ₀ˢ′/mˢ′ + |D(v)|σ₀ᴅ/mᴅ
```

Here the labels F, S′, and D on σ₀ and m identify the corresponding choice sets for v. For each set, σ₀ is its largest inverse Fisher information component in the logistic analysis, m is its training-document count, and the bars around the set denote its number of alternatives. This is the comparison for logistic regression after common factors are removed. It suggests why the available data and the number of options should both be recorded when the hierarchy changes.

```
δꜰ₍ᵥ₎ ≤ δₛ′₍ᵥ₎ + δᴅ₍ᵥ₎
```

Here each δ is the Naive Bayes failure allowance for the indicated category set. F(v) is the edited set, S′(v) the original parent choice, and D(v) the original child choice. The authors use the inequality to motivate recording the document counts, vocabulary sizes, and class lengths that contribute to these allowances.

The unknown distribution of fresh examples and the use of limiting scores make the confusion function unavailable as a direct pruning test. The authors substitute observable similarities between classes. One measure is a document-count-weighted average of pairwise cosine similarities. Cosine similarity measures how closely two class vectors point in the same direction. Giving more weight to pairs involving classes with more documents makes their similarities more influential in this statistic. The other measure compares the multinomial word distributions of classes. For each pair it adds the Kullback–Leibler divergences in both directions, then averages the resulting quantity over the pairs.

```
KL(Qᵤ ‖ Qᵥ) = ∑𝓌 p(w | u) log[p(w | u)/p(w | v)]
```

Here KL(Qᵤ ‖ Qᵥ) is the directed divergence between the conditional word distributions Qᵤ and Qᵥ of classes u and v. The sum runs over the words or features w in the class comparison, p(w | u) and p(w | v) are their smoothed probabilities, and log is the logarithm. Swapping the classes changes which distribution weights the terms. Adding the reversed divergence gives the symmetric quantity the authors use. Both similarity features describe the group as a whole, so a difficult individual pair can be obscured by the other pairs.

For each of the affected choice sets, the authors record its number of classes, size of vocabulary, document count, shortest and longest class lengths, two scaled size quantities from the Naive Bayes analysis, and the two similarity measures. The scaled quantities divide the document count and the shortest class length, respectively, by the square of the vocabulary size plus longest class length. The paper reports 27 features for a candidate. These measurements are available from the labeled documents and category assignments. This is how the method avoids training an initial full cascade merely to obtain weight vectors for a new hierarchy.

On hierarchies used to train the pruning rule, the authors evaluate the effect of trial edits and assign labels according to the change in accuracy. The experimental procedure uses a positive label +1 when accuracy increases by at least 0.1 and a negative label −1 when accuracy decreases by more than 0.1. The threshold leaves small changes out of the labeled examples. The meta-classifier learns from the feature vectors and these outcomes. Since the same edit can have different consequences for different document classifiers, the authors gather meta-examples separately for each classifier family.

On a new hierarchy, the procedure starts at the root and examines its children as candidates. If the meta-classifier identifies candidates, it takes the one with the highest estimated probability of a beneficial edit. It promotes that child’s children and updates the local choice sets. It then recomputes candidate descriptions, since a class previously inside the removed branch now competes at the parent. When the meta-classifier identifies no further eligible child at that parent, the procedure moves down the tree and repeats. The final classifier uses the adapted tree. This separates learning how to edit a taxonomy from learning how to assign its document labels.

### Experiments and results

#### Data and evaluation setup

The authors use DMOZ data from the second Large-scale Hierarchical Text Classification challenge, called LSHTC2, and a collection from the International Patent Classification, called IPC. The target classes in both experiments are leaves. IPC is single-label. LSHTC2 is mildly multilabel, and the cascade used here produces a single prediction. The authors divide the 11 first-layer nodes of the original DMOZ hierarchy into 5 disjoint groups, taking the relevant branches to create the subsets. This gives them separate branches for learning the pruning rule and testing its transfer.

The two DMOZ subsets used to obtain the pruning rule’s training examples are LSHTC2-1 and LSHTC2-2. LSHTC2-1 contains 25,310 document training examples, 6,441 document test examples, and 1,789 target classes. LSHTC2-2 contains 50,558 training examples, 13,057 test examples, and 4,787 target classes. The remaining branches test whether a rule trained on some parts of DMOZ helps on other parts. IPC tests what happens when the same kind of pruning rule is carried over to patent categories, with the document classifiers trained for that target hierarchy.

Among the DMOZ evaluation subsets, LSHTC2-3 has 38,725 document training examples and 10,102 test examples across 3,956 target classes. LSHTC2-4 has 27,924 training examples and 7,026 test examples across 2,544 classes. LSHTC2-5 has 68,367 training examples and 17,561 test examples across 7,212 classes. Their reported hierarchy depth is 6. IPC has 46,324 training examples and 28,926 test examples across 451 classes, with depth 4. The number of classes alone misses another important distinction. In the paper’s frequency plot, many LSHTC2-3 categories have only 1 or 2 documents. In IPC, a much larger share of categories have substantial document counts.

The document classifiers are multinomial Naive Bayes (MNB), multiclass logistic regression (MLR), and support vector machines (SVM). The main taxonomy configurations are flat classification (FL), the original fully hierarchical cascade (FH), and random pruning (RN). The targeted methods are validation pruning (PR-V), pruning motivated by the generalization bound (PR-B), learned pruning (PR-M), and the authors’ earlier Perceptron Decision Tree criterion (PR-P). For RN the authors restrict the edit locations to the first two levels and remove 4 nodes, which they give as the average for PR-M and PR-B. They report the best result from 5 independent random runs for each dataset. The linear logistic and SVM experiments use LibLinear, with the penalty parameter selected by cross-validation.

For PR-M, the paper reports 119 node training examples for MNB, of which 19 are positive and 100 negative. For MLR it gives 89 examples, with 34 positive and 55 negative. For SVM it gives 94, with 32 positive and 62 negative. These are edit examples, distinct from the document counts. The authors use AdaBoost with a random forest as the base classifier. They report forest sizes of 20 for the MNB pruning rule and 50 each for the MLR and SVM pruning rules. They choose settings by cross-validation on the two DMOZ training subsets, considering accuracy and the false-positive rate. A false positive can remove a branch decision whose contribution to accuracy was worth keeping.

The results include document classification error and Macro-F1. Error measures how often the predicted label is wrong. F1 balances precision and recall, and Macro-F1 gives equal weight to each target class by averaging over class-level scores. It therefore gives rare classes a larger role in the comparison than they receive in an aggregate score dominated by documents from frequent classes. The paper marks significance using a micro sign test for the error table and a macro-level t-test for the Macro-F1 table, with cutoffs p-value \< 0.05 and p-value \< 0.01. The numerical ordering of methods and the evidence for differences between close scores are separate matters.

#### Flat and hierarchical prediction on different class distributions

The authors first compare the terms that motivated the theory. For LSHTC2-3, the ratio of the hierarchical structure term to the flat one is 0.004. For IPC it is 0.02. Both favor the hierarchical cascade on that component. The ratio of hierarchical to flat empirical error with a linear SVM goes in the other direction. It is 2.65 on LSHTC2-3 and 12.27 on IPC. These are comparisons of the empirical and structural contributions reported with the dataset characteristics. They are distinct from the errors on held-out documents. In particular, the large IPC empirical error ratio gives a reason to expect the flat decision to be competitive despite its larger structural term.

On the three held-out DMOZ subsets, the fully hierarchical baseline has lower test error than the flat baseline for all three classifier families. The scale of the difference depends on the classifier. For MNB on LSHTC2-4, the error is 84.9 in the flat setting and 68.3 in the original tree. For MLR on the same test set, it is 49.7 in the flat setting and 47.3 with the tree. The large class-level imbalance shows up in Macro-F1 as well. On LSHTC2-4, flat MNB has Macro-F1 of 15.1, and the fully hierarchical MNB has 20.1. For MLR those configurations give 33.1 and 34.1. The higher Macro-F1 for the hierarchical setting shows that the advantage extends to an evaluation that gives the rare leaves equal standing.

For IPC, the flat SVM leads the original cascade and the pruned variants on both tabled measures. Its error is 46.6, while the original hierarchy has 51.3. Its Macro-F1 is 51.2, while the original hierarchy has 46.5. IPC gives flat MLR an error of 54.6 compared with 55.2 in the original cascade, and learned pruning reaches 54.4. MNB behaves differently. Its error is 67.2 when flat and 64.4 when fully hierarchical. The class distribution helps explain the change between domains, but the differing behavior of these classifiers within IPC shows why the paper’s comparison needs to specify the learner as well as the taxonomy.

#### How much selective pruning changes the result

LSHTC2-3 logistic regression illustrates what the adapted trees can add to a baseline that already works well. Random pruning has test error of 49.3, compared with 48.4 for the full tree. Both of the paper’s targeted strategies improve on the full tree, and the validation strategy lands close to them.

Taxonomy configurations for MLR on LSHTC2-3 test classification error Learned pruning gives the lowest error, and the original tree beats random pruning.

**The numbers**

| System or setting | classification error % |
| --- | --- |
| Flat | 52.8 |
| Random pruning | 49.3 |
| Original hierarchy | 48.4 |
| Validation pruning | 48.2 |
| Bound-based pruning | 48.1 |
| Learned pruning (this paper) | 48.0 |

The same dataset’s SVM error is 49.8 with the full tree, 49.5 with PR-B, and 49.3 with PR-M. On LSHTC2-4, PR-B has the lowest reported SVM error, 46.5, compared with 47.6 for the full tree and 47.2 for PR-M. PR-B also reaches the highest reported SVM Macro-F1 on that subset at 34.4, compared with 33.7 for the original hierarchy. For LSHTC2-5, PR-B gives MLR test error of 52.2 and PR-M also gives 52.2. The original hierarchy gives 52.6. The consistent comparison on these examples is the usefulness of selected edits relative to the starting tree. The best selection rule depends on the classifier and the subset.

MNB gives both a clear gain and a clear exception. On LSHTC2-4 its test error is 65.4 with PR-M, compared with 68.3 for the full tree and 70.5 with random pruning. On LSHTC2-5, PR-M instead has error of 67.8, compared with 65.6 for the full tree. The Macro-F1 table ranks the methods differently on that subset. The full tree has 18.9, PR-M has 19.3, and PR-V has 19.4. On IPC, PR-V has MNB error of 63.7 and PR-M has 63.9, while PR-M has the higher Macro-F1 of the two, at 26.5 compared with 26.4. These entries qualify the paper’s broad characterization of learned pruning as the strongest MNB approach. The gains against flat MNB are more consistent than the gains against every other hierarchy configuration.

#### Adapting a taxonomy versus constructing a new one

The authors also compare PR-M with LOMTree and FilterTree as implemented in Vowpal Wabbit. LOMTree creates a binary tree and, when it creates a leaf, assigns the most frequent target label among the examples that reach that leaf. FilterTree uses a bottom-up partitioning process. The comparison tries logistic and hinge losses and varies training settings for the construction methods. Both methods supply ways to obtain a hierarchy when the task starts with a set of labels and no ready-made tree. The paper asks how they compare on tasks where the original tree is available.

Adapted and constructed trees on LSHTC2-4 test classification error with hinge loss The learned edit of the original taxonomy has lower error than either constructed tree.

**The numbers**

| System or setting | classification error % |
| --- | --- |
| LOMTree | 72.7 |
| FilterTree | 72.6 |
| Learned pruning (this paper) | 47.2 |

The adapted hierarchy has lower error than both construction methods throughout the reported comparison. For LSHTC2-5 with logistic loss, PR-M reports 52.2, LOMTree 72.0, and FilterTree 72.7. For IPC with hinge loss, the respective errors are 50.7, 68.8, and 67.1. The comparison concerns complete training approaches, including their different ways of organizing the labels. The advantage appears on both the DMOZ and the patent data, even though the flat SVM can still do better than the adapted hierarchy on IPC. The paper therefore supplies separate evidence about choosing a tree-based approach and about choosing between a tree and a flat predictor.

### What the ablations show

#### Whether the selection rule matters

The most direct control on the pruning claim is random pruning. Its budget is based on the average number of edits made by the two proposed methods, and the authors give it several runs and report its best result. This is a test of whether some flattening at the top generally suffices, or whether the identity of the node matters. A detailed match of edits by depth, size and document coverage is absent, so the comparison controls the rough amount and location of pruning. It still shows that a few random edits and a few targeted edits can have very different effects.

On LSHTC2-4, random pruning raises MLR test error from the original hierarchy’s 47.3 to 47.8. The bound-based method gives 46.6 and the learned method gives 46.9. The SVM results for that subset follow the same pattern, with 48.4 after random pruning, 47.6 with the original tree, and 46.5 with bound-based pruning. On LSHTC2-3 with MNB, random pruning does move the error in the desired direction, from 62.0 to 61.9, while learned pruning reaches 61.3. The random control therefore has some successes of its own. The advantage of a selection rule is that it can discriminate between edits with different consequences more reliably than an undirected choice at those levels.

Validation pruning offers a control of a different kind. It tests the proposed structural change with the actual cascade and holds its decision to a validation score. For LSHTC2-4 MNB, it reaches test error of 65.9 compared with 65.4 for learned pruning. For LSHTC2-5 SVM, validation and bound-based pruning both reach 52.2. These results show that direct validation can find edits as effective on the test set as those selected by the faster scoring rules. The reasons to learn an edit rule include the cost of repeated validation and the possibility of using the rule on a new hierarchy. A large accuracy advantage over validation is unnecessary for those reasons to matter, and the tables show several close outcomes.

PR-P is informative because its criterion comes from the authors’ earlier treatment of Perceptron Decision Trees. Its performance is close to PR-B on many of the discriminative runs. For MLR on LSHTC2-4, both give error of 46.6. For SVM on LSHTC2-3, PR-P gives 49.6 and PR-B gives 49.5. The similarity supports the narrower observation that more than one classifier-based criterion can guide useful edits to a supplied tree. These comparisons do not identify a particular term of the Rademacher analysis as the cause of the measured gain.

#### Whether further pruning continues to help

The authors track the learned method after 1 to 4 edits, comparing the resulting accuracies with the unedited cascade. Each point follows the edits that precede it. This matters because a promoted child changes the competitive group at its new parent, and new feature measurements can change which candidate the rule sees as promising. The curves show what the greedy sequence does as it proceeds. They cannot isolate the contribution of a later edit taken by itself on the original tree.

The authors report that the first edit frequently produces the largest accuracy gain. Their explanation is that early edits tend to be placed near the top, where routing changes affect more documents. That explanation fits the path structure of the algorithm. The figure with class depths and the node statistics also motivate inspecting broad categories near the root. Still, depth, order and estimated benefit move together in the pruning sequence. The result shows how the chosen sequence behaves without separating the effect of the location from the effect of the selection rule.

The pruning curves also reveal a case where an extra edit hurts. The authors point to the MNB trace for LSHTC2-4, which dips after the first flattening. They suggest a false positive from the meta-classifier as the explanation. The experiment records a reversal in the sequence and gives that explanation as a hypothesis. It does not trace the loss to a particular wrong prediction by the pruning rule. The reported MLR curves are more stable. The authors describe the SVM behavior as similar to MLR and omit a separate plot. The curves concern the recorded stages of the sequence. The final table includes an MNB outcome on LSHTC2-5 where the original hierarchy has lower error than PR-M, so the full collection of results cannot be summarized as a guarantee about the final output.

#### What the diagnostic comparisons isolate

The paper pairs the DMOZ and patent results with a class-frequency plot for LSHTC2-3 and IPC. A plot of the structural and empirical comparisons is useful because the two indicators can point in different directions. The sibling-pair count favors the hierarchy on both collections, while the training error ratio suggests a much greater empirical cost on IPC. The holdout comparisons follow the suggested direction for the discriminative classifiers. Class imbalance itself is not manipulated. The data also differ in the numbers of categories, the depths of the trees, the features and the labeling setup. The evidence is an alignment between the prediction of the analysis and the behavior of these collections.

A further comparison plots the average node statistic C(v) by depth. The authors report higher values toward the top on the taxonomies shown and use this to motivate starting with the upper layers. Because C(v) is calculated from weight-vector distances, the plot is a view of how those distances vary with depth. An interpretation in terms of confusion depends on the heuristic linking the weights to the consequences of promoting children. The figure provides evidence about where the statistic is large, and the pruning experiments provide evidence about whether choosing edits through it works.

For the learned strategy, the paper gives a breakdown of true and false positive rates for the meta-classifier. On the positive prune class in the table labeled MLR, the reported true positive rate is 0.737 and the false positive rate is 0.020. These rates concern decisions about candidate edits, whereas the main tables concern decisions about document labels after pruning. The small reported false positive rate is consistent with the authors’ objective of limiting harmful edits. The table caption and the training description give different sample counts for that MLR set, so the rates are best read with that reporting ambiguity in view. The paper compares entire feature-based rules and edit policies. It contains no feature-removal study that can attribute the gains to cosine similarity, divergence, class size, or another individual input to the pruning classifier.

### Limitations

#### Limits the authors identify

The analysis is for rooted trees, and prediction uses a cascade that follows one path to a leaf. The motivation includes category systems such as Wikipedia with directed acyclic graphs, where a category can have several parents. There a child promotion can affect multiple routes and can interact with more than one parent classifier. The tree results do not establish how to perform that edit in a graph. A related issue occurs in LSHTC2, where a document can have several correct labels. The authors acknowledge that a single predicted label sacrifices some performance relative to approaches built for multilabel prediction. On the original LSHTC2 collection, they report single-label top-down accuracy of 36.6%, compared with 38.8% for the leading echo-state network approach they cite from the challenge. They emphasize explaining and adapting the hierarchy as the aim of their study.

The authors identify different costs for the pruning methods. Validation pruning must retrain at affected parents and reevaluate predictions for trial edits, so its work grows with the number of candidates evaluated. Bound-based pruning avoids that screening loop, but it first needs the learned weight vectors of a discriminative cascade. It is used for SVM and MLR, and the paper does not give a direct application of that weight criterion to MNB. Learned pruning can screen a new tree using statistics from its training data. Obtaining labels for the pruning rule in the first place still requires experiments with candidate edits. Its transfer value depends on whether the consequences of edits in a new taxonomy resemble those represented by those training examples.

The authors also characterize both proposed search procedures as greedy. Different selections of siblings and different selection orders can produce different outcomes. Enumerating the combinations is expensive, so the algorithms choose locally promising moves and stop according to their own criteria. The gap rule in PR-B is deliberately conservative, and the authors mention that changing the gap could allow more edits. The pruning curves show that adding an edit can reduce accuracy. There is no search over tree structures that would establish an optimum for the reported accuracy measure.

#### Limits visible in the analysis and evaluation

There are two formal details worth keeping in view when reading the hierarchical bound. First, the paper’s displayed path set ends up containing ancestors of the leaf, while the classification statement requires all correct child choices, including the final leaf choice. The flat-tree special case in particular needs that final comparison. Second, the proof groups the random-sign sum by the competitor pair selected for each example. For a fixed grouping, distinct independent signs have cross-products with expectation zero. In the complexity expression the grouping can vary with the scoring function, and the maximizing function can depend on the signs. The written proof does not explain how the cancellation survives that dependence. The ordered-pair count remains an informative description of how the taxonomy divides the alternatives, but the derivation as written leaves a step to justify before using the formula as a confidence guarantee.

A related distinction applies to the approximation analysis. For logistic regression the authors use the asymptotic behavior of maximum likelihood and a diagonal Fisher information assumption. The unknown limiting score gap is replaced in the pruning procedure by class similarities measured on the training data. Those similarities can hide a rare pair of categories that is hard to separate. For Naive Bayes, the confidence expression is reached after the proof approximates a sum by its dominating contribution. The heuristics can therefore be read through the variables that motivated them, such as sample size and separation, while their predictive value is checked by the experiments. A high PR-M score is an estimate from a classifier trained on earlier edits. It does not certify that the new cascade’s error will decline.

PR-B also ranks candidates using the old siblings’ weights. Their distances leave open what the new sibling group will look like after the parent is refitted. PR-M includes features of the enlarged group, but the asymptotic error terms of the old and new classifiers can differ beyond what is captured by their approximation allowances. The article’s theoretical comparisons motivate the selection rules. The reported test outcomes supply the check on those rules, with occasional evidence that the chosen metric or taxonomy changes the outcome.

The data give a focused test of transfer. The pruning rules learn from two DMOZ subsets, transfer within DMOZ, and are also tried on one patent hierarchy. There is no separate collection of patent taxonomies to estimate how consistently the cross-domain result would recur. Similarly, comparing LOMTree and FilterTree to PR-M shows the advantage of an adapted tree against those implementations and settings on these tasks. The comparison combines differences in the input structure, training procedures and resulting trees. It cannot by itself identify how much of the error difference comes from preserving the editorial groupings. The paper emphasizes the efficiency of tree-based prediction, but does not report a timed comparison of the adapted trees that could establish what the extra choices at edited parents cost in practice.

A few reported details also call for care in comparisons. The experimental description gives 89 node examples for MLR, while the caption of the table labeled MLR gives 119. The main error table gives 48.0 for PR-M with MLR on LSHTC2-3, while the tree-construction comparison gives 48.1 for PR-M in that dataset’s logistic column. The setup does not explain the discrepancy. The main comparison and the construction comparison can be read using their respective table entries. The broader conclusions also depend on the measure chosen, as shown by the LSHTC2-5 MNB case where the full hierarchy has lower classification error and learned pruning has higher Macro-F1. That difference is especially consequential in a study motivated by uncommon categories.

### What came after

No later citing work is available for a documented follow-up. The paper itself closes by proposing that the analysis used to remove decisions might also help decide where to introduce them when building a tree from a large label set. That is a different use of the same tradeoff. An added branch would have to make a wide classification problem easier enough to justify the routing decision it introduces. The authors leave that direction as future work. Their construction experiments compare selective pruning with LOMTree and FilterTree, rather than testing a tree-growing procedure derived from their own bounds.

## Cite

Cite as Rohit Babbar, Ioannis Partalas, Eric Gaussier, Massih-Reza Amini and Cécile Amblard. 2016. Learning Taxonomy Adaptation in Large-scale Classification. JMLR 17.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{babbar2016learning,
  title = {{Learning Taxonomy Adaptation in Large-scale Classification}},
  author = {Rohit Babbar, Ioannis Partalas, Eric Gaussier, Massih-Reza Amini and Cécile Amblard},
  booktitle = {JMLR 17},
  year = {2016},
  url = {https://jmlr.org/papers/v17/14-207.html}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
