[논문 리뷰] Large Language Models as Data Preprocessors
이 논문은 데이터 전처리 작업을 위한 최첨단 LLM(GPT-3.5, GPT-4, Vicuna-13B)을 사용해 오류 탐지, 데이터 임퓨테이션, 스키마 매칭, 엔티티 매칭 같은 작업을 연구하고 프롬프트 기반 프레임워크를 제안하며 12개 데이터셋에 걸친 결과를 보고합니다.
Large Language Models (LLMs), typified by OpenAI's GPT, have marked a significant advancement in artificial intelligence. Trained on vast amounts of text data, LLMs are capable of understanding and generating human-like text across a diverse range of topics. This study expands on the applications of LLMs, exploring their potential in data preprocessing, a critical stage in data mining and analytics applications. Aiming at tabular data, we delve into the applicability of state-of-the-art LLMs such as GPT-4 and GPT-4o for a series of preprocessing tasks, including error detection, data imputation, schema matching, and entity matching. Alongside showcasing the inherent capabilities of LLMs, we highlight their limitations, particularly in terms of computational expense and inefficiency. We propose an LLM-based framework for data preprocessing, which integrates cutting-edge prompt engineering techniques, coupled with traditional methods like contextualization and feature selection, to improve the performance and efficiency of these models. The effectiveness of LLMs in data preprocessing is evaluated through an experimental study spanning a variety of public datasets. GPT-4 emerged as a standout, achieving 100\% accuracy or F1 score on 4 of these datasets, suggesting LLMs' immense potential in these tasks. Despite certain limitations, our study underscores the promise of LLMs in this domain and anticipates future developments to overcome current hurdles.
연구 동기 및 목표
- 표 형태의 데이터에서 데이터 전처리 작업을 위한 최첨단 LLM의 잠재력을 평가한다.
- 제로샷, 소수 샷, 배치 프롬프팅을 결합하고 맥락화 및 특징 선택을 포함하는 프롬프트 프레임워크를 제안한다.
- 12개 데이터셋에 걸쳐 오류 탐지, 데이터 임퓨테이션, 스키마 매칭, 엔티티 매칭에 대한 LLM 성능을 평가한다.
제안 방법
- 제로샷, 소수 샷, 배치 프롬프팅을 포함한 동기 부여된 프롬프트 설계와 이유를 덧붙인 응답 형식을 갖춘 LLM 기반 데이터 전처리 프레임워크를 제안한다.
- 맥락화를 사용하여 데이터 인스턴스를 LLM용 자연어 프롬프트로 변환한다.
- 메타데이터가 있을 때 특징 선택을 도입하여 작업 성능을 향상시킨다.
- 랜덤 배치 및 클러스터 배치 전략으로 토큰 비용과 추론 시간을 줄이기 위해 배치 프롬프팅을 적용한다.
- 네 가지 데이터 전처리 작업에 대해 12개 데이터셋에 걸쳐 세 가지 LLM(GPT-3.5, GPT-4, Vicuna-13B) 및 베이스라인을 평가한다.
- 성능 지표(DI/ED의 정확도, SM/EM의 F1) 를 보고하고 프롬프팅 구성요소에 대한 소거 연구를 수행한다.
실험 결과
연구 질문
- RQ1표 형태의 데이터에서 최첨단 LLM이 데이터 전처리 작업을 효과적으로 수행할 수 있는가?
- RQ2제로샷, 소수 샷, 배치 프롬프팅 및 맥락화가 ED, DI, SM, EM의 정확도와 효율성에 어떤 영향을 미치는가?
- RQ3데이터 전처리에 대해 어떤 LLM이 정확도와 비용의 균형을 가장 잘 달성하는가?
- RQ4특징 선택 및 배치 배칭이 성능과 자원 사용에 미치는 영향은 무엇인가?
주요 결과
- GPT-4는 일반적으로 기존 솔루션보다 우수한 성능을 보이며 12개 데이터셋 중 4개에서 100% 정확도 또는 F1을 달성한다.
- GPT-3.5도 경쟁력 있는 성능을 보여 데이터 전처리에 권장된다.
- Vicuna-13B는 한정된 경우에만 적용 가능하며 결과는 보통 보통이다.
- 배치 프롬프팅과 제로샷 추론은 성능을 향상시킬 수 있으며, 배치 프롬프팅은 비용과 시간 측면에서 감소를 가져오지만 정확도에는 다양한 영향을 준다.
- 특징 선택은 일부 작업에서 성능을 크게 향상시킨다(예: Beer 데이터셋의 엔티티 매칭).
- GPT-3.5는 제로샷 추론과 소수 샷 프롬프팅으로 큰 개선을 보일 수 있지만, 배치 프롬프팅은 혼합 효과를 보일 수 있다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.