LEKA: LLM-Enhanced Knowledge Augmentation

Xinhao Zhang, Jinghan Zhang, Fengran Mo, Dongjie Wang, Yanjie Fu, Kunpeng Liu

Introduction

Knowledge transfer—the application of insights gained from one task to another—is a cornerstone of machine learning in data-scarce domains. Traditionally, this process requires human experts to manually identify and align related datasets. This manual "human-in-the-loop" approach is often subjective, slow, and prone to failure due to discrepancies in feature naming (feature spaces) and statistical distributions (marginal probabilities).

LEKA (LLM-Enhanced Knowledge Augmentation) addresses these challenges by automating the retrieval and preparation of external data. By leveraging Large Language Models (LLMs) for semantic retrieval and mathematical harmonization, LEKA bridges the gap between raw tabular data and context-aware knowledge transfer.

The LEKA Framework

The LEKA pipeline consists of four distinct stages designed to transform metadata into actionable training data.

The four-stage LEKA pipeline: 1) Text Extraction and Embedding, 2) Dataset Retrieval, 3) Data Harmonization, and 4) Knowledge Transfer and Evaluation.
  1. Text Extraction and Embedding: Instead of analyzing numerical values directly, LEKA uses an LLM to process metadata such as feature names and descriptions. It generates a semantic query that captures the domain's essence.
  2. Dataset Retrieval: This query searches external repositories (e.g., Kaggle, UCI) to identify the top-$k$ most similar datasets using cosine similarity.
  3. Data Harmonization: This core stage involves two critical alignments:
  4. Feature Space Transformation: The LLM maps source features to target features, using a Gaussian kernel function to minimize structural distances.
  5. Marginal Probability Harmonization: Using Wasserstein distance, LEKA adjusts the source data's statistical distribution to match the target, mitigating "domain shift."
  6. Knowledge Transfer: The model is trained using a weighted loss function that integrates the harmonized source data with the original target data.

Experimental Results

The authors evaluated LEKA across diverse domains, including medical (BCW, HD) and economic (VID, TCC) datasets. LEKA consistently outperformed state-of-the-art baselines like TIFG and GReaT, providing accuracy boosts of 2% to 5%.

Accuracy performance on the Breast Cancer Wisconsin (BCW) dataset, demonstrating LEKA's significant improvement over FTT and TTab baselines.

Specifically, on the BCW dataset, LEKA achieved a 5.4% improvement using Random Forest. In the Vehicle Insurance (VID) task, it boosted Gradient Boosting Decision Tree (GBDT) performance by 4.4%. Furthermore, LEKA showed significant gains in precision, notably improving the TabTransformer metric by over 10% on the Telco Customer Churn (TCC) dataset.

Key Insights

  • Semantic Retrieval: LLMs excel at identifying "relatedness" through text (e.g., linking "Blood Sugar" to "Glucose Levels") where raw statistics might fail.
  • Harmonization is Essential: Without mathematical alignment (Wasserstein distance and Kernel mapping), external data can lead to "negative transfer," where performance actually degrades.
  • Model Agnostic: LEKA is compatible with various architectures, from deep learning (TabNet) to ensemble methods (XGBoost).

Conclusion

LEKA represents a significant step toward fully automated data augmentation for tabular tasks. While currently optimized for structured data and computationally intensive due to LLM usage, it offers a robust solution for data-scarce environments. Future work will focus on extending the framework to multi-modal data and optimizing computational efficiency.

Summary updated

BibTeX
@inproceedings{zhang2025leka,
  author = {Xinhao Zhang and Jinghan Zhang and Fengran Mo and Dongjie Wang and Yanjie Fu and Kunpeng Liu},
  title = {{LEKA: LLM-Enhanced Knowledge Augmentation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/781},
}
Figure