paper-with-me

Papers

ZoDIAC: Zoneout Dropout Injection Attention Calculation

2022-06-28 · Zanyar Zohourianshahzadi, Jugal Kalita

Recently the use of self-attention has yielded to state-of-the-art results in vision-language tasks such as image captioning as well as natural language understanding and generation (NLU and NLG) tasks and computer vision tasks such as image classification. This is since self-attention maps the internal interactions among the elements of input source and target sequences. Although self-attention successfully calculates the attention values and maps the relationships among the elements of input source and target sequence, yet there is no mechanism to control the intensity of attention. In real world, when communicating with each other face to face or vocally, we tend to express different visual and linguistic context with various amounts of intensity. Some words might carry (be spoken with) more stress and weight indicating the importance of that word in the context of the whole sentence. Based on this intuition, we propose Zoneout Dropout Injection Attention Calculation (ZoDIAC) in which the intensities of attention values in the elements of the input sequence are calculated with respect to the context of the elements of input sequence. The results of our experiments reveal that employing ZoDIAC leads to better performance in comparison with the self-attention module in the Transformer model. The ultimate goal is to find out if we could modify self-attention module in the Transformer model with a method that is potentially extensible to other models that leverage on self-attention at their core. Our findings suggest that this particular goal deserves further attention and investigation by the research community. The code for ZoDIAC is available on www.github.com/zanyarz/zodiac .

📄 PDF Abstract BibTeX arXiv:2206.14263

Code (1)

zanyarz/zodiac 공식 구현 pytorch

Tasks

Image Captioningimage-classificationImage ClassificationNatural Language UnderstandingSentence

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Zoneout: Regularizing RNNs by Randomly Preserving Hidden Activations

2016-06-03 · David Krueger, Tegan Maharaj, János Kramár, Mohammad Pezeshki 외

We propose zoneout, a novel method for regularizing RNNs. At each timestep, zoneout stochastically forces some hidden units to maintain their previous values. Like dropout, zoneout uses random noise to train a pseudo-ens…

Language Modelling

Zodiac: A Cardiologist-Level LLM Framework for Multi-Agent Diagnostics

2024-10-02 · Yuan Zhou, Peng Zhang, Mengya Song, Alice Zheng 외

Large language models (LLMs) have demonstrated remarkable progress in healthcare. However, a significant gap remains regarding LLMs' professionalism in domain-specific clinical practices, limiting their application in re…

Electrocardiography (ECG)

The Solution of the Zodiac Killer's 340-Character Cipher

2024-03-26 · David Oranchak, Sam Blake, Jarl Van Eycke

The case of the Zodiac Killer is one of the most widely known unsolved serial killer cases in history. The unidentified killer murdered five known victims and terrorized the state of California. He also communicated exte…

Surprisal-Driven Zoneout

2016-10-24 · Kamil Rocki, Tomasz Kornuta, Tegan Maharaj

We propose a novel method of regularization for recurrent neural networks called suprisal-driven zoneout. In this method, states zoneout (maintain their previous value rather than updating), when the suprisal (discrepanc…

Attack-Resilient Image Watermarking Using Stable Diffusion

2024-01-08 · Lijun Zhang, Xiao Liu, Antoni Viros Martin, Cindy Xiong Bearfield 외

Watermarking images is critical for tracking image provenance and proving ownership. With the advent of generative models, such as stable diffusion, that can create fake but realistic images, watermarking has become part…

Denoising