Large Lanugage Models (LLMs) are gaining increasing popularity in a variety of use cases, from language understanding and writing to assistance in application development. One of the most important aspects for optimal funcionality of LLMs is embedding layers. Word embeddings are distributed representations of words in a continuous vector space. In the context of LLMs, words or tokens from the input text are transformed into high-dimensional vectors using unique algorithms specific to the model. Our research examines the embedding algorithms from leading companies in the industry, such as OpenAI, Google's PaLM, and BERT. Using medical data, we have analyzed similarity scores of each embedding layer, observing differences in performance among each algorithm. To enhance each model and provide an additional encoding layer, we also implemented Siamese Neural Networks. After observing changes in performance with the addition of the model, we measured the carbon footage per epoch of training. The carbon footprint associated with large language models (LLMs) is a significant concern, and should be taken into consideration when selecting algorithms for a variety of use cases. Overall, our research compared the accuracy different, leading embedding algorithms and their carbon footage, allowing for a holistic review of each embedding algorithm.
ProtSi: Prototypical Siamese Network with Data Augmentation for Few-Shot Subjective Answer Evaluation
Wenzhou Kean University(温州肯恩大学)
主观答案评价是一项费时、繁琐的工作,评价的质量受各种主观个人特征的影响很大。相反,机器评估可以有效地帮助教育工作者节省时间,同时确保评估是公平和现实的。然而,大多数使用常规机器学习和自然语言处理技术的现有方法通常受到缺乏注释答案和模型可解释性差的阻碍,使得它们不适合现实世界使用。为了解决这些挑战,我们提出了ProtSi网络,这是一种独特的半监督架构,首次使用少样本学习进行主观答案评估。ProtSi网络将由BERT和编码器层组成的Siamese网络与Prototype网络相结合,模拟评价者对答案进行评分的自然过程,从而实现对学生答案的相似性原型评价。我们采用了一个无监督的不同释义模型ProtAugment,以防止过拟合有效的Few-Shot文本分类。通过整合对比学习,可以缓解歧视性文本问题。在Kaggle Short Scoring数据集上的实验表明,ProtSi网络在准确性和二次加权Kappa方面优于最新的基线模型。
Specialized Document Embeddings for Aspect-based Similarity of Research Papers
DFKI GmbH(德国人工智能研究中心);Ernst & Young GmbH WPG(安永会计师事务所(德国));University of Wuppertal(伍珀塔尔大学);University of Göttingen(哥廷根大学)
文档嵌入和相似性度量支持基于内容的推荐系统,其中文档通常表示为单个通用嵌入。然而,在单个向量表示上计算的相似性仅提供了关于文档相似性的一个视角,忽略了哪些方面使两个文档相似。为了解决这一限制,已经开发了基于方面的相似性措施,使用文档分割或成对多类文档分类。虽然分割损害了文档的连贯性,但成对分类方法对大规模语料库的扩展性很差。在本文中,我们把基于方面的相似性作为一个经典的向量相似性问题,在特定方面的嵌入空间。我们不是将文档表示为单个通用嵌入,而是表示为多个专用嵌入。我们的方法避免了文件分割和规模线性w.r.t.语料库的大小。在实证研究中,我们使用包含157,606篇研究论文的Papers with Code语料库,并将各自研究论文的任务,方法和数据集作为其方面。我们比较和分析三个通用的文档嵌入,六个专门的文档嵌入和成对的分类基线的背景下,研究论文的建议。作为通用文档嵌入,我们考虑FastText,SciBERT和SPECTER。为了计算专门的文档嵌入,我们比较了三种替代方法,灵感来自改造,微调和暹罗网络。在我们的实验中,Siamese SciBERT获得了最高的分数。额外的分析表明,对数据集方面和对每个研究论文的方法方面的通用文档嵌入的隐含偏见。我们的方法基于方面的文档嵌入减轻潜在的风险所产生的隐性偏见,使他们明确。