SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.08178 · ACL · 2020

Highway Transformer: Self-Gating Enhanced Self-Attentive Networks

Yekun Chai, Xinwen Hou, Shuo Jin

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
cyk1337/Highway-Transformer — 4 of 9
FunctionStatusWhere it lives
MultiHeadAttn Ran cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("a9c70fe8ac7a630c")
PositionwiseFF Ran cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("b0fef51fb76e8e85")
RelLearnableMultiHeadAttn Ran cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("4d20788c39f1a381")
RelMultiHeadAttn Ran cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("a55d27cf57e0e7e6")
DecoderLayer Not yet run cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("521b014e68c564ef")
MemTransformerLM Not yet run cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("9bcbc3b0b2d06c4c")
RelLearnableDecoderLayer Not yet run cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("35620c05ac7a8ce6")
RelPartialLearnableDecoderLayer Not yet run cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("a159726e43535146")
RelPartialLearnableMultiHeadAttn Not yet run cyk1337/Highway-Transformer/pytorch/mem_transformer.py
code served (permissive licence) · get_code("b232620a61168335")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Self-attention mechanisms have made striking state-of-the-art (SOTA) progress in various sequence learning tasks, standing on the multiheaded dot product attention by attending to all the global contexts at different locations. Through a pseudo information highway, we introduce a gated component self-dependency units (SDU) that incorporates LSTM-styled gating units to replenish internal semantic importance within the multi-dimensional latent space of individual representations. The subsidiary content-based SDU gates allow for the information flow of modulated latent embeddings through skipped connections, leading to a clear margin of convergence speed with gradient descent algorithms. We may unveil the role of gating mechanism to aid in the contextbased Transformer modules, with hypothesizing that SDU gates, especially on shallow layers, could push it faster to step towards suboptimal points during the optimization process.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2004.08178")
get_code_for_paper("2004.08178")
have("2004.08178")

Connect an agent — have() is free.