基于指令微调的开源大语言模型预测客户购买行为
Instruction-Based Fine-tuning of Open-Source LLMs for Predicting Customer Purchase Behaviors
AI总结:
本研究通过LoRA对Mistral进行指令微调,利用自然语言化的金融交易数据预测商户类别,在杂货、服装和加油站三类上取得更高F1分数,优于传统序列模型,展示了大语言模型预测人类行为的潜力。
摘要:
本研究评估了多种预测模型在从金融交易数据预测商户类别方面的性能,包括概率基线模型、CNN、LSTM以及经过微调的大语言模型(LLMs)。利用银行A的数据进行训练,银行B的数据进行测试,我们证明了经过微调的Mistral Instruct模型具有卓越的预测能力,该模型使用转换为自然语言格式的客户数据进行训练。本研究的方法涉及通过LoRA(大语言模型的低秩适应)对Mistral进行指令微调,以将其庞大的预训练知识适应到金融交易的特定领域。Mistral模型显著优于传统的序列模型,在银行交易数据的三个关键商户类别(杂货、服装和加油站)中取得了更高的F1分数,这对于定向营销活动至关重要。这一性能归因于模型增强的语义理解和适应性,使其能够更好地处理少数类别,并以更高的准确性预测交易类别。这些发现凸显了大语言模型在预测人类行为方面的潜力。
英文摘要:
In this study, the performance of various predictive models, including probabilistic baseline, CNN, LSTM, and finetuned LLMs, in forecasting merchant categories from financial transaction data have been evaluated. Utilizing datasets from Bank A for training and Bank B for testing, the superior predictive capabilities of the fine-tuned Mistral Instruct model, which was trained using customer data converted into natural language format have been demonstrated. The methodology of this study involves instruction fine-tuning Mistral via LoRA (LowRank Adaptation of Large Language Models) to adapt its vast pre-trained knowledge to the specific domain of financial transactions. The Mistral model significantly outperforms traditional sequential models, achieving higher F1 scores in the three key merchant categories of bank transaction data (grocery, clothing, and gas stations) that is crucial for targeted marketing campaigns. This performance is attributed to the model's enhanced semantic understanding and adaptability which enables it to better manage minority classes and predict transaction categories with greater accuracy. These findings highlight the potential of LLMs in predicting human behavior.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。