arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.19753cs.AIcs.CLcs.LG
收藏

通过文本嵌入进行零领域知识的算法选择

Algorithm Selection with Zero Domain Knowledge via Text Embeddings

Algorithms and Complexity Group(算法与复杂性组)

Stefan Szeider

AI总结:

本文提出了一种无需手工特征的算法选择方法,利用预训练文本嵌入替代传统特征。ZeroFolio通过文本序列化、嵌入和最近邻选择三步流程,在多个领域中实现了优于传统方法的性能。

摘要:

我们提出了一种特征-free的算法选择方法,用预训练文本嵌入替代手工特征。我们的方法ZeroFolio分为三个步骤:读取原始实例文件作为纯文本,用预训练嵌入模型进行嵌入,并通过加权k近邻选择算法。关键在于预训练嵌入能区分问题实例而无需领域知识或任务特定训练。此三步流程可应用于多种文本实例格式的问题领域。我们在11个ASlib场景(7个领域)上评估,实验表明该方法在11个场景中优于随机森林,且在两个种子投票时表现更优。消融研究显示,逆距离加权、行洗牌和曼哈顿距离是关键设计选择。在两者均具竞争力的场景中,通过软投票结合嵌入与手工特征可进一步提升性能。

英文摘要:

We propose ZeroFolio, a feature-free approach to algorithm selection that uses pretrained text embeddings instead of hand-crafted instance features. It reads the raw instance file as plain text, embeds it with a pretrained embedding model, and selects an algorithm via weighted k-nearest neighbors. Our approach is based on the observation that pretrained embeddings can distinguish problem instances without any domain knowledge or task-specific training. ZeroFolio applies to any problem domain with text-based instance formats. We evaluate our approach on 11 ASlib scenarios spanning 7 domains (SAT, MaxSAT, QBF, ASP, CSP, MIP, and graph problems). ZeroFolio outperforms a random forest trained on hand-crafted features in 9 of 11 scenarios, often substantially, and in 8 of them with every serialization seed. It wins 8 of 11 scenarios against a per-scenario-tuned random forest. On the three scenarios with published AutoFolio results from the 2015 ICON Challenge, ZeroFolio comes within a small margin of AutoFolio without any per-scenario tuning. Our ablation study on SAT12-ALL shows that inverse-distance weighting and line shuffling improve performance. We further analyze the sensitivity of our approach to the serialization seed. On the SAT12-ALL scenario, where the random forest is stronger, both methods can be combined via soft voting to achieve further improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑