paper-with-me

홈 › Papers

Brainformers: Trading Simplicity for Efficiency

2023-05-29 · Yanqi Zhou, Nan Du, Yanping Huang, Daiyi Peng, Chang Lan, Da Huang, Siamak Shakeri, David So, Andrew Dai, Yifeng Lu, Zhifeng Chen, Quoc Le, Claire Cui, James Laudon, Jeff Dean

Transformers are central to recent successes in natural language processing and computer vision. Transformers have a mostly uniform backbone where layers alternate between feed-forward and self-attention in order to build a deep network. Here we investigate this design choice and find that more complex blocks that have different permutations of layer primitives can be more efficient. Using this insight, we develop a complex block, named Brainformer, that consists of a diverse sets of layers such as sparsely gated feed-forward layers, dense feed-forward layers, attention layers, and various forms of layer normalization and activation functions. Brainformer consistently outperforms the state-of-the-art dense and sparse Transformers, in terms of both quality and efficiency. A Brainformer model with 8 billion activated parameters per token demonstrates 2x faster training convergence and 5x faster step time compared to its GLaM counterpart. In downstream task evaluation, Brainformer also demonstrates a 3% higher SuperGLUE score with fine-tuning compared to GLaM with a similar number of activated parameters. Finally, Brainformer largely outperforms a Primer dense model derived with NAS with similar computation per token on fewshot evaluations.

📄 PDF Abstract BibTeX arXiv:2306.00008

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
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$…
Depthwise Convolution Depthwise Convolution is a type of convolution where we apply a single convolutional filter for each input channel. In the regular 2D…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-DConv-Head Attention 설명 없음
Squared ReLU Squared ReLU is an activation function used in the Primer architecture in the feedforward block of the…
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…
Primer Primer is a Transformer-based architecture that improves upon the…

Similar Papers 제목 키워드 기반

Learning the Market: Sentiment-Based Ensemble Trading Agents

2024-02-02 · Andrew Ye, James Xu, Vidyut Veedgav, Yi Wang 외

We propose and study the integration of sentiment analysis and deep reinforcement learning ensemble algorithms for stock trading by evaluating strategies capable of dynamically altering their active agent given the concu…

Deep Reinforcement LearningSentiment Analysis

A posteriori Trading-inspired Model-free Time Series Segmentation

2019-12-16 · Mogens Graf Plessen

Within the context of multivariate time series segmentation this paper proposes a method inspired by a posteriori optimal trading. After a normalization step time series are treated channel-wise as surrogate stock prices…

Computational EfficiencyTime SeriesTime Series Analysis

Risks and opportunities in arbitrage and market-making in blockchain-based currency markets. Part 1 : Risks

2023-04-17 · Vittorio Astarita

This study provides a practical introduction to high-frequency trading in blockchain-based currency markets. These types of markets have some specific characteristics that differentiate them from the stock markets, such …

FinRL: Deep Reinforcement Learning Framework to Automate Trading in Quantitative Finance

2021-11-07 · Xiao-Yang Liu, Hongyang Yang, Jiechao Gao, Christina Dan Wang

Deep reinforcement learning (DRL) has been envisioned to have a competitive edge in quantitative finance. However, there is a steep development curve for quantitative traders to obtain an agent that automatically positio…

Deep Reinforcement LearningFrictionreinforcement-learningReinforcement Learning (RL)

Testing the performance of technical trading rules in the Chinese market

2015-04-24

Technical trading rules have a long history of being used by practitioners in financial markets. Their profitable ability and efficiency of technical trading rules are yet controversial. In this paper, we test the perfor…