CodeGraphNet, a GraphCodeBERT-plus-GCN embedding with a DeepTree classifier, is claimed to detect five CWE vulnerability classes at 98% accuracy, but its own unseen-data results are much lower (76-87%) and baseline comparisons are not apples-to-apples.
Representation Of Lexical Stylistic Features In Language Models' Embedding Space
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
The representation space of pretrained Language Models (LMs) encodes rich information about words and their relationships (e.g., similarity, hypernymy, polysemy) as well as abstract semantic notions (e.g., intensity). In this paper, we demonstrate that lexical stylistic notions such as complexity, formality, and figurativeness, can also be identified in this space. We show that it is possible to derive a vector representation for each of these stylistic notions from only a small number of seed pairs. Using these vectors, we can characterize new texts in terms of these dimensions by performing simple calculations in the corresponding embedding space. We conduct experiments on five datasets and find that static embeddings encode these features more accurately at the level of words and phrases, whereas contextualized LMs perform better on sentences. The lower performance of contextualized representations at the word level is partially attributable to the anisotropy of their vector space, which can be corrected to some extent using techniques like standardization.
fields
cs.SE 1years
2024 1verdicts
REJECT 1representative citing papers
citing papers explorer
-
A Combined Feature Embedding Tools for Multi-Class Software Defect and Identification
CodeGraphNet, a GraphCodeBERT-plus-GCN embedding with a DeepTree classifier, is claimed to detect five CWE vulnerability classes at 98% accuracy, but its own unseen-data results are much lower (76-87%) and baseline comparisons are not apples-to-apples.