TL;DR
This paper introduces LAAT, a novel method that uses Large Language Models (LLMs) to guide the training of smaller, more efficient models for tabular data. By aligning the smaller model's feature attributions with LLM-generated insights, LAAT significantly improves performance, especially in low-data and biased scenarios, while maintaining interpretability and computational efficiency.
What Problem Does This Paper Address?
Large Language Models (LLMs) have achieved remarkable success in various domains, but their application to tabular data learning is hindered by several challenges. Firstly, their massive size demands substantial computational resources, making them impractical for many applications. Secondly, tabular data often appears in domains like finance and healthcare, where interpretability and transparency are paramount, qualities that LLMs typically lack. While LLMs can be used to generate insights or even synthetic data, effectively transferring their generalization capabilities to smaller, more efficient models for tabular tasks, especially in data-scarce or biased settings, remains an open problem. This paper aims to bridge this gap by proposing a method to leverage LLM-derived knowledge as a regularizer for training smaller, interpretable models.
Methods
The core of the proposed method, LAAT (Large Language Model Attribution Aligned Training), is an attribution-matching regularization term. This term aligns the local, feature-wise explanations (attributions) of a smaller, trained model with the global, task-specific explanations generated by an LLM.
Here's a breakdown:
- LLM as an Explainer: The LLM is prompted with task and feature descriptions to generate importance scores for each feature. This is done without serializing entire data samples into the prompt, reducing computational cost. The LLM is instructed to provide integer scores between -10 and 10, indicating whether a feature's increase boosts or reduces the class probability.
- Attribution Method: The paper uses input gradients as the attribution method for the smaller model.
- Regularization Term: The loss function for training the smaller model is augmented with a regularization term. This term penalizes the mean squared error between the normalized attribution scores of the smaller model and the normalized LLM-derived scores. This encourages the smaller model to learn feature importance in a way that aligns with the LLM's "understanding."
- Black-Box API Access: A key advantage is that LAAT only requires black-box API access to the LLM, making it easy to integrate into existing pipelines.
Datasets
The paper evaluates LAAT on ten publicly available binary classification datasets:
- adult
- bank
- bodyfat
- breast-ljub
- cdc-diabetes
- contraceptive
- diabetes
- electricity
- indian-liver
- myocardial
For the biased data experiments, artificial biases were introduced into the training portion of the bodyfat, breast-ljub, cdc-diabetes, contraceptive, diabetes, and indian-liver datasets.
Key Insights and Ideas
- LLMs as "Global Explainer" for Smaller Models: The core idea is that LLMs, despite their opacity, possess rich general knowledge that can be distilled into feature importance scores. LAAT leverages this to provide a "guiding signal" for training smaller, interpretable models, effectively transferring some of the LLM's generalization power.
- Bridging the Interpretability Gap: LAAT offers a way to get the best of both worlds: the high performance and generalization of LLMs, combined with the transparency and efficiency of traditional models.
- Robustness to Noisy LLM Scores: The method shows resilience even when the LLM-generated importance scores are imperfect, maintaining performance gains up to a noise ratio of 0.6. This suggests that the regularization is robust to minor inaccuracies in the LLM's explanations.
- Shaping the Loss Landscape: LAAT's regularization effectively shifts the training loss landscape to be closer to the test loss landscape. This suggests that the method introduces an inductive bias that guides the model towards optima that generalize better, mitigating overfitting to limited training data.
Key Results
- Superior Few-Shot Performance: LAAT consistently ranks among the top-performing methods in few-shot learning scenarios, securing the highest or shared highest scores in 28 out of 30 experiments. It significantly outperforms non-LLM baselines and even the state-of-the-art FeatLLM.
- Mitigation of Dataset Biases: LAAT effectively mitigates dataset biases, achieving the highest performance across all biased datasets and surpassing non-LLM baselines by more than 20 ROC AUC points in some cases.
- Efficiency Gains: LAAT utilizes significantly fewer input and output tokens compared to FeatLLM (e.g., 79% fewer input tokens and 60% fewer output tokens on average), leading to substantial conservation of computational resources.
- Model Agnostic: LAAT can be used with various smaller models, including logistic regression and MLPs, and can be combined with other techniques like feature preprocessing.
Limitations and Future Work
- Tabular Data and Binary Classification: LAAT is currently restricted to tabular data and only supports binary classification tasks.
- Feature Describability: The method requires features to be describable in natural language, limiting its applicability to datasets with anonymized or uninterpretable features.
- LLM Knowledge Dependency: The effectiveness of LAAT depends on the general knowledge embedded in the LLMs, which can vary across domains.
Future work suggested by the authors includes:
- Extending LAAT to multiclass classification and regression tasks.
- Exploring alternative attribution methods beyond input gradients.
- Integrating LAAT into concept bottleneck models for image-based applications.
- Investigating its use in interactive interfaces for human-in-the-loop refinement.
Summary updated