paper-with-me

Papers

Treeformer: Dense Gradient Trees for Efficient Attention Computation

2022-08-18 · Lovish Madaan, Srinadh Bhojanapalli, Himanshu Jain, Prateek Jain

Standard inference and training with transformer based architectures scale quadratically with input sequence length. This is prohibitively large for a variety of applications especially in web-page translation, query-answering etc. Consequently, several approaches have been developed recently to speedup attention computation by enforcing different attention structures such as sparsity, low-rank, approximating attention using kernels. In this work, we view attention computation as that of nearest neighbor retrieval, and use decision tree based hierarchical navigation to reduce the retrieval cost per query token from linear in sequence length to nearly logarithmic. Based on such hierarchical navigation, we design Treeformer which can use one of two efficient attention layers -- TF-Attention and TC-Attention. TF-Attention computes the attention in a fine-grained style, while TC-Attention is a coarse attention layer which also ensures that the gradients are "dense". To optimize such challenging discrete layers, we propose a two-level bootstrapped training method. Using extensive experiments on standard NLP benchmarks, especially for long-sequences, we demonstrate that our Treeformer architecture can be almost as accurate as baseline Transformer while using 30x lesser FLOPs in the attention layer. Compared to Linformer, the accuracy can be as much as 12% higher while using similar FLOPs in the attention layer.

📄 PDF Abstract BibTeX arXiv:2208.09015

Code (0)

등록된 구현이 없습니다.

Tasks

Retrieval

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
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$…
Multi-Head Attention 설명 없음
Adam 설명 없음

Similar Papers 제목 키워드 기반

AdaTreeFormer: Few Shot Domain Adaptation for Tree Counting from a Single High-Resolution Image

2024-02-05 · Hamed Amini Amirkolaee, Miaojing Shi, Lianghua He, Mark Mulligan

The process of estimating and counting tree density using only a single aerial or satellite image is a difficult task in the fields of photogrammetry and remote sensing. However, it plays a crucial role in the management…

Domain Adaptation

TabTreeFormer: Tabular Data Generation Using Hybrid Tree-Transformer

2025-01-02 · Jiayu Li, Bingyin Zhao, Zilong Zhao, Uzair Javaid 외

Transformers have shown impressive results in tabular data generation. However, they lack domain-specific inductive biases which are critical for preserving the intrinsic characteristics of tabular data. They also suffer…

BenchmarkingQuantizationTabular Data Generation

Forming Trees with Treeformers

2022-07-14 · Nilay Patel, Jeffrey Flanigan

Human language is known to exhibit a nested, hierarchical structure, allowing us to form complex sentences out of smaller pieces. However, many state-of-the-art neural networks models such as Transformers have no explici…

Abstractive Text SummarizationInductive BiasMachine TranslationNatural Language Understanding+1

Multi-modal Uncertainty Robust Tree Cover Segmentation For High-Resolution Remote Sensing Images

2025-09-05 · Yuanyuan Gui, Wei Li, Yinjian Wang, Xiang-Gen Xia 외 arxiv

Recent advances in semantic segmentation of multi-modal remote sensing images have significantly improved the accuracy of tree cover mapping, supporting applications in urban planning, forest monitoring, and ecological a…

Semantic Segmentation

TreeFormer: Single-view Plant Skeleton Estimation via Tree-constrained Graph Generation

2024-11-25 · Xinpeng Liu, Hiroaki Santo, Yosuke Toda, Fumio Okura

Accurate estimation of plant skeletal structure (e.g., branching structure) from images is essential for smart agriculture and plant science. Unlike human skeletons with fixed topology, plant skeleton estimation presents…

Graph Generation