Controlling Computation versus Quality for Neural Sequence Models
Not on the map. Why?
Abstract (arXiv)
Most neural networks utilize the same amount of compute for every example independent of the inherent complexity of the input. Further, methods that adapt the amount of computation to the example focus on finding a fixed inference-time computational graph per example, ignoring any external computational budgets or varying inference time limitations. In this work, we utilize conditional computation to make neural sequence models (Transformer) more efficient and computation-aware during inference. We first modify the Transformer architecture, making each set of operations conditionally executable depending on the output of a learned control network. We then train this model in a multi-task setting, where each task corresponds to a particular computation budget. This allows us to train a single model that can be controlled to operate on different points of the computation-quality trade-off curve, depending on the available computation budget at inference time. We evaluate our approach on two tasks: (i) WMT English-French Translation and (ii) Unsupervised representation learning (BERT). Our experiments demonstrate that the proposed Conditional Computation Transformer (CCT) is competitive with vanilla Transformers when allowed to utilize its full computational budget, while improving significantly over computationally equivalent baselines when operating on smaller computational budgets.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2020: 1; 2021: 6; 2022: 4; 2023: 3; 2024: 9; 2025: 2; 2026: 2.
27 papers.
Sort:
By area:
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2021A Survey of Transformerscited by 399
- 2022Confident Adaptive Language Modelingcited by 297
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
- 2023Conditional Adapters: Parameter-efficient Transfer Learning with Fast Inferencecited by 69
- 2022Efficiently Controlling Multiple Risks with Pareto Testingcited by 21
- 2023Learning to Skip for Language Modelingcited by 19
- 2021Inspecting the concept knowledge graph encoded by modern language modelscited by 15
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
- 2024Mixture-of-Modules: Reinventing Transformers as Dynamic Assemblies of Modulescited by 11
- 2022Unsupervised Early Exit in DNNs with Multiple Exitscited by 10
15 more
- 2024Distributed Speculative Inference (DSI): Speculation Parallelism for Provably Faster Lossless Language Model Inferencecited by 9
- 2021When in Doubt, Summon the Titans: Efficient Inference with Large Modelscited by 8
- 2024MultiMed: Multilingual Medical Speech Recognition via Attention Encoder Decodercited by 7
- 2021IOT: Instance-wise Layer Reordering for Transformer Structurescited by 5
- 2024DAdEE: Unsupervised Domain Adaptation in Early Exit PLMscited by 5
- 2023Learning to Group Auxiliary Datasets for Moleculecited by 3
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliabilitycited by 3
- 2024LexGen: Domain-aware Multilingual Lexicon Generationcited by 2
- 2024Decoding at the Speed of Thought: Harnessing Parallel Decoding of Lexical Units for LLMscited by 2
- 2021Dynamic Multi-Branch Layers for On-Device Neural Machine Translationcited by 1
- 2021FNetAR: Mixing Tokens with Autoregressive Fourier Transformscited by 1
- 2025Learning When Not to Attend Globallycited by 1
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruningcited by 1
- 2026ResiSpec: Enhancing Multi-Candidate Speculative Sampling via Residual Distribution Shapingcited by 1
- 2024SUBLLM: A Novel Efficient Architecture with Token Sequence Subsampling for LLMcited by 0
- 2026ResiSpec: Enhancing Multi-Candidate Speculative Sampling via Residual Distribution Shaping25 Aug 2026
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning4 Feb 2026
- 2025Learning When Not to Attend Globally27 Dec 2025
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability28 Sep 2025
- 2024DAdEE: Unsupervised Domain Adaptation in Early Exit PLMs6 Oct 2024
- 2024MultiMed: Multilingual Medical Speech Recognition via Attention Encoder Decoder21 Sep 2024
- 2024Mixture-of-Modules: Reinventing Transformers as Dynamic Assemblies of Modules9 Jul 2024
- 2024SUBLLM: A Novel Efficient Architecture with Token Sequence Subsampling for LLM3 Jun 2024
- 2024Decoding at the Speed of Thought: Harnessing Parallel Decoding of Lexical Units for LLMs24 May 2024
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERT23 May 2024
- 2024Distributed Speculative Inference (DSI): Speculation Parallelism for Provably Faster Lossless Language Model Inference23 May 2024
- 2024LexGen: Domain-aware Multilingual Lexicon Generation18 May 2024
15 more
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language models2 Apr 2024
- 2023Learning to Skip for Language Modeling26 Nov 2023
- 2023Learning to Group Auxiliary Datasets for Molecule8 Jul 2023
- 2023Conditional Adapters: Parameter-efficient Transfer Learning with Fast Inference11 Apr 2023
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov 2022
- 2022Efficiently Controlling Multiple Risks with Pareto Testing14 Oct 2022
- 2022Unsupervised Early Exit in DNNs with Multiple Exits20 Sep 2022
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2021When in Doubt, Summon the Titans: Efficient Inference with Large Models19 Oct 2021
- 2021FNetAR: Mixing Tokens with Autoregressive Fourier Transforms22 Jul 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021Inspecting the concept knowledge graph encoded by modern language models27 May 2021
- 2021Dynamic Multi-Branch Layers for On-Device Neural Machine Translation14 May 2021
- 2021IOT: Instance-wise Layer Reordering for Transformer Structures5 Mar 2021
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun 2020
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2022Confident Adaptive Language Modelingcited by 297
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
- 2024Distributed Speculative Inference (DSI): Speculation Parallelism for Provably Faster Lossless Language Model Inferencecited by 9
- 2024DAdEE: Unsupervised Domain Adaptation in Early Exit PLMscited by 5
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliabilitycited by 3
- 2026ResiSpec: Enhancing Multi-Candidate Speculative Sampling via Residual Distribution Shapingcited by 1
- 2026ResiSpec: Enhancing Multi-Candidate Speculative Sampling via Residual Distribution Shaping25 Aug 2026
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability28 Sep 2025
- 2024DAdEE: Unsupervised Domain Adaptation in Early Exit PLMs6 Oct 2024
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERT23 May 2024
- 2024Distributed Speculative Inference (DSI): Speculation Parallelism for Provably Faster Lossless Language Model Inference23 May 2024
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov 2022
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2021A Survey of Transformerscited by 399
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
- 2023Conditional Adapters: Parameter-efficient Transfer Learning with Fast Inferencecited by 69
- 2022Efficiently Controlling Multiple Risks with Pareto Testingcited by 21
- 2023Learning to Skip for Language Modelingcited by 19
- 2021Inspecting the concept knowledge graph encoded by modern language modelscited by 15
- 2024Mixture-of-Modules: Reinventing Transformers as Dynamic Assemblies of Modulescited by 11
- 2022Unsupervised Early Exit in DNNs with Multiple Exitscited by 10
- 2021When in Doubt, Summon the Titans: Efficient Inference with Large Modelscited by 8
- 2024MultiMed: Multilingual Medical Speech Recognition via Attention Encoder Decodercited by 7
- 2021IOT: Instance-wise Layer Reordering for Transformer Structurescited by 5
- 2023Learning to Group Auxiliary Datasets for Moleculecited by 3
12 most cited of 18 All 18 (JSON)
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning4 Feb 2026
- 2025Learning When Not to Attend Globally27 Dec 2025
- 2024MultiMed: Multilingual Medical Speech Recognition via Attention Encoder Decoder21 Sep 2024
- 2024Mixture-of-Modules: Reinventing Transformers as Dynamic Assemblies of Modules9 Jul 2024
- 2024SUBLLM: A Novel Efficient Architecture with Token Sequence Subsampling for LLM3 Jun 2024
- 2024LexGen: Domain-aware Multilingual Lexicon Generation18 May 2024
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language models2 Apr 2024
- 2023Learning to Skip for Language Modeling26 Nov 2023
- 2023Learning to Group Auxiliary Datasets for Molecule8 Jul 2023
- 2023Conditional Adapters: Parameter-efficient Transfer Learning with Fast Inference11 Apr 2023
- 2022Efficiently Controlling Multiple Risks with Pareto Testing14 Oct 2022
- 2022Unsupervised Early Exit in DNNs with Multiple Exits20 Sep 2022
12 newest of 18 All 18 (JSON)