arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.07989cs.CLcs.AI
收藏

区域小故事:使用小模型比较语言学习与分词器性能

Regional Tiny Stories: Using Small Models to Compare Language Learning and Tokenizer Performance

BITS Goa, Pune Institute of Computer Technology(果阿理工学院、浦那计算机技术学院);Vizuara AI Labs, Pune, India(印度浦那 Vizuara AI 实验室)

Nirvan Patil, Malhar Abhay Inamdar, Agnivo Gosai, Guruprasad Pathak, Anish Joshi, Aryan Sagavekar, Anish Joshirao, Raj Dandekar, Rajat Dandekar, Sreedath Panat

AI总结:

本研究将TinyStories数据集扩展到印地语、马拉地语和孟加拉语,用小型语言模型验证其高效处理区域语言的能力,发现语言特定分词器更优、合成数据优于翻译内容,并揭示跨语言模式,推进SLMs在低资源语言中的应用。

摘要:

小语言模型(SLMs)为特定领域提供了大语言模型(LLMs)的高效替代方案。2023年的TinyStories研究开发了一个英语数据集,使得参数量在100万到1000万之间的SLMs能够产生连贯的输出。我们的研究通过将该原始数据集翻译成印度语言,并使用LLMs创建合成数据,扩展了这一框架。我们聚焦于印地语、马拉地语和孟加拉语,评估SLMs在区域语言处理中的表现,并理解语言复杂性。我们表明,SLMs能够以远少于LLMs的参数高效处理区域语言,为分词策略和语言复杂性的“基于推理的评估”提供了一个互补框架。我们的分析显示,针对特定语言的分词器在处理印度语言时优于通用分词器。实证验证,辅以信息论和形态学分析,为印地语模型优于马拉地语和孟加拉语模型提供了基础性理解。此外,我们表明,合成数据集在训练SLMs时优于翻译内容。相关性分析揭示了跨语言模式以及创造力、语法准确性和叙事完整性之间的语言特定关系。这些发现既推进了SLMs在服务不足语言中的实际应用,也加深了我们对神经语言发展的理论理解。

英文摘要:

Small Language Models (SLMs) offer efficient alternatives to LLMs for specific domains. The 2023 TinyStories study developed an English dataset that allows SLMs with 1 to 10 million parameters to produce coherent outputs. Our research expands this framework by translating the original dataset into Indian languages and creating synthetic data using LLMs. We focus on Hindi, Marathi, and Bengali, evaluating SLMs for regional language processing and understanding linguistic complexity. We show that SLMs efficiently process regional languages with significantly fewer parameters than LLMs, providing a complementary framework for ``inference based evaluation" of tokenization strategies and linguistic complexity. Our analysis shows that language-specific tokenizers outperform general-purpose ones for Indian languages. Empirical validations, supported by information-theoretic and morphological analyses, provides fundamental understanding behind the better performance of Hindi models over Marathi and Bengali. Additionally, we show that synthetic datasets outperform translated content for training SLMs. Correlation analyses reveal cross-linguistic patterns and language-specific relationships between creativity, grammatical precision, and narrative completeness. These findings advance both the practical application of SLMs to underserved languages and our theoretical understanding of neural language development.

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

↑