Lune

ACL Findings2021

DoT: An efficient Double Transformer for NLP tasks with tables

Syrine Krichene, Thomas Müller, Julian Martin Eisenschlos

Abstract

Transformer-based approaches have been successfully used to obtain state-of-the-art accuracy on natural language processing (NLP) tasks with semi-structured tables. These model architectures are typically deep, resulting in slow training and inference, especially for long inputs. To improve efficiency while maintaining a high accuracy, we propose a new architecture, DoT , a double transformer model, that decomposes the problem into two sub-tasks: A shallow pruning transformer that selects the top-K tokens, followed by a deep task-specific transformer that takes as input those K tokens. Additionally, we modify the task-specific attention to incorporate the pruning scores. The two transformers are jointly trained by optimizing the task-specific loss. We run experiments on three benchmarks, including entailment and question-answering. We show that for a small drop of accuracy, DoT improves training and inference time by at least 50%. We also show that the pruning transformer effectively selects relevant tokens enabling the end-to-end model to maintain similar accuracy as slower baseline models. Finally, we analyse the pruning and give some insight into its impact on the task model.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TinyBERT: Distilling BERT for Natural Language Understanding cites Reducing Transformer Depth on Demand with Structured Dropout
  • MATE: Multi-view Attention for Table Transformer Efficiency cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • MATE: Multi-view Attention for Table Transformer Efficiency cites TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
  • TableLoRA: Low-rank Adaptation on Table Structure Understanding for Large Language Models cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • TableLoRA: Low-rank Adaptation on Table Structure Understanding for Large Language Models cites MATE: Multi-view Attention for Table Transformer Efficiency
  • An Inner Table Retriever for Robust Table Question Answering cites MATE: Multi-view Attention for Table Transformer Efficiency
  • TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • CABINET: Content Relevance-based Noise Reduction for Table Question Answering cites TabFact: A Large-scale Dataset for Table-based Fact Verification
  • CABINET: Content Relevance-based Noise Reduction for Table Question Answering cites MATE: Multi-view Attention for Table Transformer Efficiency
  • CABINET: Content Relevance-based Noise Reduction for Table Question Answering cites TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
  • Learning Relational Decomposition of Queries for Question Answering from Tables cites MATE: Multi-view Attention for Table Transformer Efficiency
  • Learning Relational Decomposition of Queries for Question Answering from Tables cites TaBERT: Pretraining for Joint Understanding of Textual and Tabular Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. MATE: Multi-view Attention for Table Transformer EfficiencyJulian Martin Eisenschlos, Maharshi Gor, Thomas Müller, William W. CohenEMNLP 2021 · 62 citations
  2. CABINET: Content Relevance-based Noise Reduction for Table Question AnsweringSohan Patnaik, Heril Changwal, Milan Aggarwal, Sumit Bhatia et al.ICLR 2024 · 34 citations
  3. An Inner Table Retriever for Robust Table Question AnsweringWeizhe Lin, Rexhina Blloshmi, Bill Byrne, Adrià de Gispert et al.ACL 2023 · 6 citations
  4. Learning Relational Decomposition of Queries for Question Answering from TablesRaphaël Mouravieff, Benjamin Piwowarski, Sylvain LamprierACL 2024 · 1 citation
  5. TableLoRA: Low-rank Adaptation on Table Structure Understanding for Large Language ModelsXinyi He, Yihao Liu, Mengyu Zhou, Yeye He et al.ACL 2025

Builds on10

  1. TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
  2. Reducing Transformer Depth on Demand with Structured DropoutAngela Fan, Edouard Grave, Armand JoulinICLR 2020 · 695 citations
  3. TabFact: A Large-scale Dataset for Table-based Fact VerificationWenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang et al.ICLR 2020 · 674 citations
  4. TaBERT: Pretraining for Joint Understanding of Textual and Tabular DataPengcheng Yin, Graham Neubig, Wen-tau Yih, Sebastian RiedelACL 2020 · 417 citations
  5. Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song et al.ICLR 2021 · 122 citations

Related papers

  1. E.T.: re-thinking self-attention for transformer models on GPUsShiyang Chen, Shaoyi Huang, Santosh Pandey, Bingbing Li et al.SC 2021 · 13 citations
  2. When TableQA Meets Noise: A Dual Denoising Framework for Complex Questions and Large-scale TablesShenghao Ye, Yu Guo, Dong Jin, Yuxiang Wang et al.ACL 2026 · 8 citations
  3. Sparsifying Transformer Models with Trainable Representation PoolingMichal Pietruszka, Lukasz Borchmann, Lukasz GarncarekACL 2022 · 13 citations
  4. NASH: A Simple Unified Framework of Structured Pruning for Accelerating Encoder-Decoder Language ModelsJongwoo Ko, Seungjoon Park, Yujin Kim, Sumyeong Ahn et al.EMNLP Findings 2023 · 3 citations
  5. Block-Skim: Efficient Question Answering for TransformerYue Guan, Zhengyi Li, Zhouhan Lin, Yuhao Zhu et al.AAAI 2022 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines