paper-with-me

Papers

Character-level Chinese Backpack Language Models

2023-10-19 · Hao Sun, John Hewitt

The Backpack is a Transformer alternative shown to improve interpretability in English language modeling by decomposing predictions into a weighted sum of token sense components. However, Backpacks' reliance on token-defined meaning raises questions as to their potential for languages other than English, a language for which subword tokenization provides a reasonable approximation for lexical items. In this work, we train, evaluate, interpret, and control Backpack language models in character-tokenized Chinese, in which words are often composed of many characters. We find that our (134M parameter) Chinese Backpack language model performs comparably to a (104M parameter) Transformer, and learns rich character-level meanings that log-additively compose to form word meanings. In SimLex-style lexical semantic evaluations, simple averages of Backpack character senses outperform input embeddings from a Transformer. We find that complex multi-character meanings are often formed by using the same per-character sense weights consistently across context. Exploring interpretability-through control, we show that we can localize a source of gender bias in our Backpacks to specific character senses and intervene to reduce the bias.

📄 PDF Abstract BibTeX arXiv:2310.12751

Code (1)

swordelucidator/nanobackpacklm 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Backpack Language Models

2023-05-26 · John Hewitt, John Thickstun, Christopher D. Manning, Percy Liang

We present Backpacks: a new neural architecture that marries strong modeling performance with an interface for interpretability and control. Backpacks learn multiple non-contextual sense vectors for each word in a vocabu…

Language ModelingLanguage ModellingText GenerationWord Embeddings

Character-level Convolutional Network for Text Classification Applied to Chinese Corpus

2016-11-14 · Wei-Jie Huang, Jun Wang

This article provides an interesting exploration of character-level convolutional neural network solving Chinese corpus text classification problem. We constructed a large-scale Chinese language dataset, and the result s…

ClassificationGeneral Classificationtext-classificationText Classification

Character-level Chinese-English Translation through ASCII Encoding

2018-05-09 · WS 2018 10 · Nikola I. Nikolov, Yuhuang Hu, Mi Xue Tan, Richard H. R. Hahnloser

Character-level Neural Machine Translation (NMT) models have recently achieved impressive results on many language pairs. They mainly do well for Indo-European language pairs, where the languages share the same writing s…

Machine TranslationNMTTranslation

SubCharacter Chinese-English Neural Machine Translation with Wubi encoding

2019-11-07 · Wei Zhang, Feifei Lin, Xiaodong Wang, Zhenshuang Liang 외

Neural machine translation (NMT) is one of the best methods for understanding the differences in semantic rules between two languages. Especially for Indo-European languages, subword-level models have achieved impressive…

Machine TranslationModel CompressionNMTTranslation

Injecting Word Information with Multi-Level Word Adapter for Chinese Spoken Language Understanding

2020-10-08 · Dechuan Teng, Libo Qin, Wanxiang Che, Sendong Zhao 외

In this paper, we improve Chinese spoken language understanding (SLU) by injecting word information. Previous studies on Chinese SLU do not consider the word information, failing to detect word boundaries that are benefi…

Intent DetectionSentenceslot-fillingSlot Filling+1