Knowledge Trees: Gradient Boosting Decision Trees on Knowledge Neurons as Probing Classifier

Sergey A. Saltykov
12/17/2023
cs.CLcs.AIcs.LG
transformer-attention

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

To understand how well a large language model captures certain semantic or syntactic features, researchers typically apply probing classifiers. However, the accuracy of these classifiers is critical for the correct interpretation of the results.

Show full abstract

If a probing classifier exhibits low accuracy, this may be due either to the fact that the language model does not capture the property under investigation, or to shortcomings in the classifier itself, which is unable to adequately capture the characteristics encoded in the internal representations of the model. Consequently, for more effective diagnosis, it is necessary to use the most accurate classifiers possible for a particular type of task. Logistic regression on the output representation of the transformer neural network layer is most often used to probing the syntactic properties of the language model. We show that using gradient boosting decision trees at the Knowledge Neuron layer, i.e., at the hidden layer of the feed-forward network of the transformer as a probing classifier for recognizing parts of a sentence is more advantageous than using logistic regression on the output representations of the transformer layer. This approach is also preferable to many other methods. The gain in error rate, depending on the preset, ranges from 9-54%

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{saltykov2023knowledge,
  title  = {Knowledge Trees: Gradient Boosting Decision Trees on Knowledge Neurons as Probing Classifier},
  author = {Sergey A. Saltykov},
  year   = {2023},
  eprint = {2312.10746},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.10746v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.10746.svg)](https://codeofpaper.com/paper/2312.10746)

Discussion