中文
相关论文

相关论文: Code Completion using Neural Attention and Byte Pa…

200 篇论文

Code completion aims to help improve developers' productivity by suggesting the next code tokens from a given context. Various approaches have been proposed to incorporate abstract syntax tree (AST) information for model training, ensuring…

软件工程 · 计算机科学 2023-05-02 Wannita Takerngsaksiri , Chakkrit Tantithamthavorn , Yuan-Fang Li

What are the units of text that we want to model? From bytes to multi-word expressions, text can be analyzed and generated at many granularities. Until recently, most natural language processing (NLP) models operated over words, treating…

Position encoding (PE), an essential part of self-attention networks (SANs), is used to preserve the word order information for natural language processing tasks, generating fixed position indices for input sequences. However, in…

计算与语言 · 计算机科学 2020-11-24 Liang Ding , Longyue Wang , Dacheng Tao

Many recent models in software engineering introduced deep neural models based on the Transformer architecture or use transformer-based Pre-trained Language Models (PLM) trained on code. Although these models achieve the state of the arts…

软件工程 · 计算机科学 2022-04-22 Rishab Sharma , Fuxiang Chen , Fatemeh Fard , David Lo

For different language pairs, word-level neural machine translation (NMT) models with a fixed-size vocabulary suffer from the same problem of representing out-of-vocabulary (OOV) words. The common practice usually replaces all these rare or…

计算与语言 · 计算机科学 2018-07-26 Yingting Wu , Hai Zhao

We present BPEmb, a collection of pre-trained subword unit embeddings in 275 languages, based on Byte-Pair Encoding (BPE). In an evaluation using fine-grained entity typing as testbed, BPEmb performs competitively, and for some languages…

计算与语言 · 计算机科学 2017-10-09 Benjamin Heinzerling , Michael Strube

Transformer-based language models rely on positional encoding (PE) to handle token order and support context length extrapolation. However, existing PE methods lack theoretical clarity and rely on limited evaluation metrics to substantiate…

计算与语言 · 计算机科学 2026-05-11 Arthur S. Bianchessi , Yasmin C. Aguirre , Rodrigo C. Barros , Lucas S. Kupssinskü

Machine comprehension(MC) style question answering is a representative problem in natural language processing. Previous methods rarely spend time on the improvement of encoding layer, especially the embedding of syntactic information and…

人工智能 · 计算机科学 2017-07-31 Boyuan Pan , Hao Li , Zhou Zhao , Bin Cao , Deng Cai , Xiaofei He

The binary string matching problem consists in finding all the occurrences of a pattern in a text where both strings are built on a binary alphabet. This is an interesting problem in computer science, since binary data are omnipresent in…

数据结构与算法 · 计算机科学 2008-10-15 Simone Faro , Thierry Lecroq

Following the rationale of end-to-end modeling, CTC, RNN-T or encoder-decoder-attention models for automatic speech recognition (ASR) use graphemes or grapheme-based subword units based on e.g. byte-pair encoding (BPE). The mapping from…

音频与语音处理 · 电气工程与系统科学 2021-04-16 Mohammad Zeineldeen , Albert Zeyer , Wei Zhou , Thomas Ng , Ralf Schlüter , Hermann Ney

Code completion is one of the most useful features in the Integrated Development Environments (IDEs), which can accelerate software development by suggesting the next probable token based on the contextual code in real-time. Recent studies…

软件工程 · 计算机科学 2021-01-01 Fang Liu , Ge Li , Yunfei Zhao , Zhi Jin

Code completion plays a prominent role in modern integrated development environments (IDEs). Machine learning has become ubiquitous in analogous natural language writing and search software, surfacing more relevant autocompletions and…

软件工程 · 计算机科学 2020-04-14 Gareth Ari Aye , Gail E. Kaiser

Given a closed-source program, such as most of proprietary software and viruses, binary code analysis is indispensable for many tasks, such as code plagiarism detection and malware analysis. Today, source code is very often compiled for…

密码学与安全 · 计算机科学 2018-12-27 Kimberly Redmond , Lannan Luo , Qiang Zeng

Subword segmentation is widely used to address the open vocabulary problem in machine translation. The dominant approach to subword segmentation is Byte Pair Encoding (BPE), which keeps the most frequent words intact while splitting the…

计算与语言 · 计算机科学 2020-05-05 Ivan Provilkov , Dmitrii Emelianenko , Elena Voita

In this paper, we proposed a sentence encoding-based model for recognizing text entailment. In our approach, the encoding of sentence is a two-stage process. Firstly, average pooling was used over word-level bidirectional LSTM (biLSTM) to…

计算与语言 · 计算机科学 2016-05-31 Yang Liu , Chengjie Sun , Lei Lin , Xiaolong Wang

Code completion is one of the main features of modern Integrated Development Environments (IDEs). Its objective is to speed up code writing by predicting the next code token(s) the developer is likely to write. Research in this area has…

Programming by Example (PBE) targets at automatically inferring a computer program for accomplishing a certain task from sample input and output. In this paper, we propose a deep neural networks (DNN) based PBE model called Neural…

人工智能 · 计算机科学 2017-03-16 Chengxun Shu , Hongyu Zhang

Learning binary representation is essential to large-scale computer vision tasks. Most existing algorithms require a separate quantization constraint to learn effective hashing functions. In this work, we present Direct Binary Embedding…

计算机视觉与模式识别 · 计算机科学 2017-06-06 Liu Liu , Alireza Rahimpour , Ali Taalimi , Hairong Qi

Transformers rely on both content-based and position-based addressing mechanisms to make predictions, but existing positional encoding techniques often diminish the effectiveness of position-based addressing. Many current methods enforce…

计算与语言 · 计算机科学 2025-08-22 Jiajun Zhu , Peihao Wang , Ruisi Cai , Jason D. Lee , Pan Li , Zhangyang Wang

Recently, encoder-decoder neural networks have shown impressive performance on many sequence-related tasks. The architecture commonly uses an attentional mechanism which allows the model to learn alignments between the source and the target…

计算与语言 · 计算机科学 2017-11-06 Andros Tjandra , Sakriani Sakti , Satoshi Nakamura