中文
相关论文

相关论文: Code Prediction by Feeding Trees to Transformers

200 篇论文

We investigate what kind of structural knowledge learned in neural network encoders is transferable to processing natural language. We design artificial languages with structural properties that mimic natural language, pretrain encoders on…

计算与语言 · 计算机科学 2022-03-23 Ryokan Ri , Yoshimasa Tsuruoka

As opposed to natural languages, source code understanding is influenced by grammatical relationships between tokens regardless of their identifier name. Graph representations of source code such as Abstract Syntax Tree (AST) can capture…

机器学习 · 计算机科学 2021-11-18 Junyan Cheng , Iordanis Fostiropoulos , Barry Boehm

Recurrent neural nets are widely used for predicting temporal data. Their inherent deep feedforward structure allows learning complex sequential patterns. It is believed that top-down feedback might be an important missing ingredient which…

机器学习 · 计算机科学 2016-10-20 Kamil M Rocki

Probabilistic time series forecasting is crucial in many application domains such as retail, ecommerce, finance, or biology. With the increasing availability of large volumes of data, a number of neural architectures have been proposed for…

机器学习 · 计算机科学 2021-12-15 Olivier Sprangers , Sebastian Schelter , Maarten de Rijke

Predicting protein secondary structures such as alpha helices, beta sheets, and coils from amino acid sequences is essential for understanding protein function. This work presents a transformer-based model that applies attention mechanisms…

人工智能 · 计算机科学 2025-12-10 Manzi Kevin Maxime

Why do modern language models, trained to do well on next-word prediction, appear to generate coherent documents and capture long-range structure? Here we show that next-token prediction is provably powerful for learning longer-range…

机器学习 · 计算机科学 2025-12-09 Xinyuan Cao , Santosh S. Vempala

While many production-ready and robust algorithms are available for the task of recommendation systems, many of these systems do not take the order of user's consumption into account. The order of consumption can be very useful and matters…

信息检索 · 计算机科学 2022-05-03 Mehdi Soleiman Nejad , Meysam Varasteh , Hadi Moradi , Mohammad Amin Sadeghi

Code completion is usually cast as a language modelling problem, i.e., continuing an input in a left-to-right fashion. However, in practice, some parts of the completion (e.g., string literals) may be very hard to predict, whereas…

机器学习 · 计算机科学 2022-01-25 Daya Guo , Alexey Svyatkovskiy , Jian Yin , Nan Duan , Marc Brockschmidt , Miltiadis Allamanis

In the era of pre-trained language models, Transformers are the de facto choice of model architectures. While recent research has shown promise in entirely convolutional, or CNN, architectures, they have not been explored using the…

计算与语言 · 计算机科学 2022-02-01 Yi Tay , Mostafa Dehghani , Jai Gupta , Dara Bahri , Vamsi Aribandi , Zhen Qin , Donald Metzler

We introduce a novel positional encoding strategy for Transformer-style models, addressing the shortcomings of existing, often ad hoc, approaches. Our framework provides a flexible mapping from the algebraic specification of a domain to an…

机器学习 · 计算机科学 2024-11-01 Konstantinos Kogkalidis , Jean-Philippe Bernardy , Vikas Garg

With the wide and deep adoption of deep learning models in real applications, there is an increasing need to model and learn the representations of the neural networks themselves. These models can be used to estimate attributes of different…

计算机视觉与模式识别 · 计算机科学 2023-03-24 Yun Yi , Haokui Zhang , Wenze Hu , Nannan Wang , Xiaoyu Wang

Recently developed deep learning techniques have significantly improved the accuracy of various speech and image recognition systems. In this paper we adapt some of these techniques for protein secondary structure prediction. We first train…

机器学习 · 计算机科学 2016-11-07 Akosua Busia , Jasmine Collins , Navdeep Jaitly

Most previous work on neural text generation from graph-structured data relies on standard sequence-to-sequence methods. These approaches linearise the input graph to be fed to a recurrent neural network. In this paper, we propose an…

计算与语言 · 计算机科学 2018-10-24 Diego Marcheggiani , Laura Perez-Beltrachini

Deep learning techniques for rumor detection typically utilize Graph Neural Networks (GNNs) to analyze post relations. These methods, however, falter due to over-smoothing issues when processing rumor propagation structures, leading to…

计算与语言 · 计算机科学 2026-03-25 Chaoqun Cui , Caiyan Jia

While conventional Transformers generally operate on sequence data, they can be used in conjunction with structure models, typically SE(3)-invariant or equivariant graph neural networks (GNNs), for 3D applications such as protein structure…

机器学习 · 计算机科学 2025-08-04 Isaac Ellmen , Constantin Schneider , Matthew I. J. Raybould , Charlotte M. Deane

The conventional, widely used treatment of deep learning models as black boxes provides limited or no insights into the mechanisms that guide neural network decisions. Significant research effort has been dedicated to building interpretable…

计算机视觉与模式识别 · 计算机科学 2023-09-21 Apostolos Avranas , Marios Kountouris

Understanding the inner workings of Transformers is crucial for achieving more accurate and efficient predictions. In this work, we analyze the computation performed by Transformers in the layers after the top-1 prediction has become fixed,…

计算与语言 · 计算机科学 2024-10-29 Daria Lioubashevski , Tomer Schlank , Gabriel Stanovsky , Ariel Goldstein

Transformer-based end-to-end speech recognition has achieved great success. However, the large footprint and computational overhead make it difficult to deploy these models in some real-world applications. Model compression techniques can…

计算与语言 · 计算机科学 2023-03-15 Yifan Peng , Jaesong Lee , Shinji Watanabe

Many Transformer-based pre-trained models for code have been developed and applied to code-related tasks. In this paper, we review the existing literature, examine the suitability of model architectures for different tasks, and look at the…

软件工程 · 计算机科学 2023-10-03 Yan Xiao , Xinyue Zuo , Lei Xue , Kailong Wang , Jin Song Dong , Ivan Beschastnikh

Transformer-based models for transfer learning have the potential to achieve high prediction accuracies on text-based supervised learning tasks with relatively few training data instances. These models are thus likely to benefit social…

计算与语言 · 计算机科学 2022-09-01 Sandra Wankmüller