Attention Is All You Need
Tóm tắt 3 câu
Bài báo đề xuất Transformer, kiến trúc sequence-to-sequence chỉ dựa trên cơ chế attention, bỏ hoàn toàn RNN và CNN. Nhờ self-attention, mô hình xử lý song song toàn bộ chuỗi nên huấn luyện nhanh hơn nhiều. Transformer đạt kết quả tốt nhất thời điểm đó trên dịch máy WMT 2014 Anh–Đức và Anh–Pháp.
Ý tưởng chính
- self-attention dạng scaled dot-product, kết hợp multi-head attention.
- Positional encoding dạng sin/cos để mô hình biết thứ tự token.
Điểm hay – chưa ổn
- Hay: song song hóa tốt, đường truyền thông tin giữa hai token bất kỳ chỉ dài O(1).
- Chưa ổn: chi phí O(n²) theo độ dài chuỗi.
Câu hỏi mở & ý tưởng nghiên cứu
BibTeX
@inproceedings{vaswani2017attention,
title = {Attention Is All You Need},
author = {Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N. and Kaiser, {\L}ukasz and Polosukhin, Illia},
booktitle = {Advances in Neural Information Processing Systems},
volume = {30},
year = {2017}
}