Automatic Prompt Optimization for Dataset-Level Feature Discovery

Cosma, Adrian, Szehr, Oleg, Kletz, David, Antonucci, Alessandro, Pelletier, Olivier

–arXiv.org Artificial Intelligence 

Abstractlargely unexplored: for a given downstream supervised learning (SL) task (i.e., a labelled text corpus), how can one identify Feature extraction from unstructured text is a criticalwhich are the best features that should be extracted to optistep in many downstream classification pipelines, mize a chosen target metric? We distinguish feature extraction yet current approaches largely rely on hand-crafted (extracting predefined attributes) from feature discovery (idenprompts or fixed feature schemas. We formulate feature discovery as a dataset-level prompt optimizatifying which attributes are worth extracting in the first place). To this end, we propose a multi-agent promptfeature definitions, driven by non-technical considerations, are optimization framework in which language-modeltypically suboptimal for SL. Motivated by these points, this agents jointly propose feature definitions, extractwork places feature discovery itself at the center of the learnfeature values, and evaluate feature quality usinging process, identifying features to optimize the performance dataset-level performance and interpretability feed-of the downstream SL system.