Saved in:
Bibliographic Details
Main Authors: Azorin, Raphael, Houidi, Zied Ben, Gallo, Massimo, Finamore, Alessandro, Michiardi, Pietro
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.15327
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917739264737280
author Azorin, Raphael
Houidi, Zied Ben
Gallo, Massimo
Finamore, Alessandro
Michiardi, Pietro
author_facet Azorin, Raphael
Houidi, Zied Ben
Gallo, Massimo
Finamore, Alessandro
Michiardi, Pietro
contents Tabular data is ubiquitous in many real-life systems. In particular, time-dependent tabular data, where rows are chronologically related, is typically used for recording historical events, e.g., financial transactions, healthcare records, or stock history. Recently, hierarchical variants of the attention mechanism of transformer architectures have been used to model tabular time-series data. At first, rows (or columns) are encoded separately by computing attention between their fields. Subsequently, encoded rows (or columns) are attended to one another to model the entire tabular time-series. While efficient, this approach constrains the attention granularity and limits its ability to learn patterns at the field-level across separate rows, or columns. We take a first step to address this gap by proposing Fieldy, a fine-grained hierarchical model that contextualizes fields at both the row and column levels. We compare our proposal against state of the art models on regression and classification tasks using public tabular time-series datasets. Our results show that combining row-wise and column-wise attention improves performance without increasing model size. Code and data are available at https://github.com/raphaaal/fieldy.
format Preprint
id arxiv_https___arxiv_org_abs_2406_15327
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Fine-grained Attention in Hierarchical Transformers for Tabular Time-series
Azorin, Raphael
Houidi, Zied Ben
Gallo, Massimo
Finamore, Alessandro
Michiardi, Pietro
Machine Learning
I.2.6
Tabular data is ubiquitous in many real-life systems. In particular, time-dependent tabular data, where rows are chronologically related, is typically used for recording historical events, e.g., financial transactions, healthcare records, or stock history. Recently, hierarchical variants of the attention mechanism of transformer architectures have been used to model tabular time-series data. At first, rows (or columns) are encoded separately by computing attention between their fields. Subsequently, encoded rows (or columns) are attended to one another to model the entire tabular time-series. While efficient, this approach constrains the attention granularity and limits its ability to learn patterns at the field-level across separate rows, or columns. We take a first step to address this gap by proposing Fieldy, a fine-grained hierarchical model that contextualizes fields at both the row and column levels. We compare our proposal against state of the art models on regression and classification tasks using public tabular time-series datasets. Our results show that combining row-wise and column-wise attention improves performance without increasing model size. Code and data are available at https://github.com/raphaaal/fieldy.
title Fine-grained Attention in Hierarchical Transformers for Tabular Time-series
topic Machine Learning
I.2.6
url https://arxiv.org/abs/2406.15327