Transformer-based approaches have been successfully used to obtain state-of-the-art accuracy on natural language processing (NLP) tasks with semi-structured tables. These model architectures are typically deep, resulting in slow training and inference, especially for long inputs. To improve efficiency while maintaining a high accuracy, we propose a new architecture, DoT, a double transformer model, that decomposes the problem into two sub-tasks: A shallow pruning transformer that selects the top-K tokens, followed by a deep task-specific transformer that takes as input those K tokens. Additionally, we modify the task-specific attention to incorporate the pruning scores. The two transformers are jointly trained by optimizing the task-specific loss. We run experiments on three benchmarks, including entailment and question-answering. We show that for a small drop of accuracy, DoT improves training and inference time by at least 50%. We also show that the pruning transformer effectively selects relevant tokens enabling the end-to-end model to maintain similar accuracy as slower baseline models. Finally, we analyse the pruning and give some insight into its impact on the task model.
Exploring the Impact of Table-to-Text Methods on Augmenting LLM-based Question Answering with Domain Hybrid Data
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系)
Kleister: A novel task for Information Extraction involving Long Documents with Complex Layout
Adam Mickiewicz University(亚当·密茨凯维奇大学);Nicolaus Copernicus University(尼古拉·哥白尼大学);Warsaw University of Technology(华沙理工大学);Samsung R&D Institute Poland(三星波兰研发研究所)
Unsupervised Inflection Generation Using Neural Language Modeling
Human Language Technologies Research Center, University of Bucharest(布加勒斯特大学人类语言技术研究中心);GumGum(GumGum公司);University of Bucharest, Faculty of Mathematics and Computer Science(布加勒斯特大学数学与计算机科学学院)
Beyond Isolated Dots: Benchmarking Structured Table Construction as Deep Knowledge Extraction
University of Chinese Academy of Sciences(中国科学院大学);Chinese Information Processing Laboratory, Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所信息处理实验室)
MemoryAthena: Adaptive Routing over Latent and Generated Memories
ELLIS Institute of Finland(芬兰ELLIS研究所);University of Turku(图尔库大学);University of Technology Sydney(悉尼科技大学);University of Science and Technology of China(中国科学技术大学);Shanghai Jiao Tong University(上海交通大学)
When TableQA Meets Noise: A Dual Denoising Framework for Complex Questions and Large-scale Tables
University of Science and Technology of China(中国科学技术大学);The University of Melbourne(墨尔本大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
Linking-Enhanced Pre-Training for Table Semantic Parsing
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团)
School of Computer Science(计算机学院);Fudan University(复旦大学);Academy for Engineering Technology(工程技术研究院);Shanghai Children’s Hospital of Fudan University(复旦大学附属儿科医院);National Children’s Medical Center(国家儿童医学中心)
嵌入矩阵是神经自然语言处理(NLP)模型中的关键组件,负责提供输入标记的数值表示。\footnote{In this paper words and subwords are referred to as \textit{tokens} and the term \textit{embedding} only refers to embeddings of inputs.}在本文中,我们分析了神经机器翻译(NMT)的背景下,这种矩阵的影响和效用。我们发现,从词嵌入中提取句法和语义信息,并使用随机嵌入运行NMT系统,并不像最初听起来那样具有破坏性。我们还展示了如何从经过充分训练的嵌入中只整合有限数量的特定于任务的知识,从而提高NMT系统的性能。我们的研究结果表明,在交换性能可以忽略不计的恶化,任何NMT模型可以运行部分随机嵌入。使用这种结构意味着最小的内存需求,因为不再需要存储大型嵌入表,这在工业和设备设置中是一个显着的增益。我们在将{English}翻译成{German}和{French}时评估了我们的嵌入,并实现了$5.3$ x压缩率。尽管有一个相当小的架构,我们的模型在某些情况下甚至能够超越最先进的基线。
Department of Mathematics and Statistics(数学与统计学系);York University(约克大学);Department of Computer Science(计算机科学系);University of California Davis(加州大学戴维斯分校);Market Risk Model Bank of Montreal Financial Group(蒙特利尔银行市场风险模型财务集团)