Rong Jin, Ming Lin, Xiuyu Sun, Zhiyu Tan, Yichen Qian
We lifted 6 functions out of this paper's own repositories and ran 3 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.
| Repository | Role | Ran |
|---|---|---|
| mx54039q/entroformer | — | 3 of 6 |
| Function | Status | Where it lives |
|---|---|---|
| Attention | Ran | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("b56b436f1b6c3bda") |
| Config | Ran | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("b1bf49886d5ceb5f") |
| FeedForward | Ran | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("ee0e284acdd3119d") |
| AttentionBlock | Not yet run | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("7844198ee1544058") |
| Block | Not yet run | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("1e748260f44313d9") |
| TransDecoder | Not yet run | mx54039q/entroformer/module/entroformer.py pointer only (licence: NONE) · get_code("371f1a90d7b2d3e3") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
One critical component in lossy deep image compression is the entropy model, which predicts the probability distribution of the quantized latent representation in the encoding and decoding modules. Previous works build entropy models upon convolutional neural networks which are inefficient in capturing global dependencies. In this work, we propose a novel transformer-based entropy model, termed Entroformer, to capture long-range dependencies in probability distribution estimation effectively and efficiently. Different from vision transformers in image classification, the Entroformer is highly optimized for image compression, including a top-k self-attention and a diamond relative position encoding. Meanwhile, we further expand this architecture with a parallel bidirectional context model to speed up the decoding process. The experiments show that the Entroformer achieves state-of-the-art performance on image compression while being time-efficient. Code is available at https://github.com/damo-cv/entroformer.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2202.05492")
get_code_for_paper("2202.05492")
have("2202.05492")
Connect an agent — have() is free.