分类未知:面向开放词汇文本与符号识别的上下文学习
Classifying the Unknown: In-Context Learning for Open-Vocabulary Text and Symbol Recognition
AI总结:
Rosetta利用多模态上下文学习和上下文感知分词器,通过少量示例实现开放词汇的文本与符号分类,无需重新训练,并能识别训练集之外的新字母表和语言。
摘要:
我们提出Rosetta,一种多模态模型,利用多模态上下文学习(MICL),通过少量示例对文档中的新脚本模式序列进行分类,从而无需显式重新训练。为增强上下文学习,我们设计了一种数据集生成过程,确保不同程度的上下文信息量,提升模型在不同场景下利用上下文的适应性。我们方法的一个关键优势是使用上下文感知分词器(CAT),实现开放词汇分类。这使模型能够在无限范围的类别上对文本和符号模式进行分类,将其分类能力扩展到训练所用模式字母表之外。因此,它解锁了诸如识别新字母表和语言等应用。在合成数据集上的实验表明,Rosetta有潜力成功分类分布外视觉模式以及多样的字母表和文字系统,包括但不限于中文、希腊文、俄文、法文、西班牙文和日文。
英文摘要:
We introduce Rosetta, a multimodal model that leverages Multimodal In-Context Learning (MICL) to classify sequences of novel script patterns in documents by leveraging minimal examples, thus eliminating the need for explicit retraining. To enhance contextual learning, we designed a dataset generation process that ensures varying degrees of contextual informativeness, improving the model's adaptability in leveraging context across different scenarios. A key strength of our method is the use of a Context-Aware Tokenizer (CAT), which enables open-vocabulary classification. This allows the model to classify text and symbol patterns across an unlimited range of classes, extending its classification capabilities beyond the scope of its training alphabet of patterns. As a result, it unlocks applications such as the recognition of new alphabets and languages. Experiments on synthetic datasets demonstrate the potential of Rosetta to successfully classify Out-Of-Distribution visual patterns and diverse sets of alphabets and scripts, including but not limited to Chinese, Greek, Russian, French, Spanish, and Japanese.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。