mlsanityData to 14 Oct 2026

LLM-based feature generation from text for interpretable machine learning

arXiv 2409.07132 ↗First posted 11 Sep 2024cs.LG cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

Existing text representations such as embeddings and bag-of-words are not suitable for rule learning due to their high dimensionality and absent or questionable feature-level interpretability. This article explores whether large language models (LLMs) could address this by extracting a small number of interpretable features from text. We demonstrate this process on two datasets (CORD-19 and M17+) containing several thousand scientific articles from multiple disciplines and a target being a proxy for research impact. An evaluation based on testing for the statistically significant correlation with research impact has shown that LLama 2-generated features are semantically meaningful. We consequently used these generated features in text classification to predict the binary target variable representing the citation rate for the CORD-19 dataset and the ordinal 5-class target representing an expert-awarded grade in the M17+ dataset. Machine-learning models trained on the LLM-generated features provided similar predictive performance to the state-of-the-art embedding model SciBERT for scientific text. The LLM used only 62 features compared to 768 features in SciBERT embeddings, and these features were directly interpretable, corresponding to notions such as article methodological rigor, novelty, or grammatical correctness. As the final step, we extract a small number of well-interpretable action rules. Consistently competitive results obtained with the same LLM feature set across both thematically diverse datasets show that this approach generalizes across domains.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 15 of its 38 references that are in the map. First posted on arXiv 11 Sep 2024.

Builds on

15 of 38 references.

References · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  4. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  5. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
  6. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
  7. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  8. 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
  9. 2024AutoGluon-Multimodal (AutoMM): Supercharging Multimodal AutoML with Foundation Modelscited by 30
  10. 2022SPACE-2: Tree-Structured Semi-Supervised Contrastive Pre-training for Task-Oriented Dialog Understandingcited by 28
  11. 2024Dynamic and Adaptive Feature Generation with LLMcited by 27
  12. 2023Breaking the Bank with ChatGPT: Few-Shot Text Classification for Financecited by 12
3 more
  1. 2024An LLM Feature-based Framework for Dialogue Constructiveness Assessmentcited by 9
  2. 2022Data Smells in Public Datasetscited by 5
  3. 2022Predicting article quality scores with machine learning: The UK Research Excellence Frameworkcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 10.

13 papers.

Sort:

By area: