Self-Attention in Colors: Another Take on Encoding Graph Structure in Transformers
We introduce a novel self-attention mechanism, which we call CSA (Chromatic Self-Attention), which extends the notion of attention scores to attention _filters_, independently modulating the feature channels. We showcase CSA in a fully-attentional graph Transformer CGT (Chromatic Graph Transformer) which integrates both graph structural information and edge features, completely bypassing the need for local message-passing components. Our method flexibly encodes graph structure through node-node interactions, by enriching the original edge features with a relative positional encoding scheme. We propose a new scheme based on random walks that encodes both structural and positional information, and show how to incorporate higher-order topological information, such as rings in molecular graphs. Our approach achieves state-of-the-art results on the ZINC benchmark dataset, while providing a flexible framework for encoding graph structure and incorporating higher-order topology.
Code (1)
Tasks
Graph RegressionMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Multimodal Color Recommendation in Vector Graphic Documents
Color selection plays a critical role in graphic document design and requires sufficient consideration of various contexts. However, recommending appropriate colors which harmonize with the other colors and textual conte…
DiversityPosition-aware Self-attention with Relative Positional Encodings for Slot Filling
This paper describes how to apply self-attention with relative positional encodings to the task of relation extraction. We propose to use the self-attention encoder layer together with an additional position-aware attent…
PositionRelation ExtractionSentenceslot-filling+1Colors See Colors Ignore: Clothes Changing ReID with Color Disentanglement (ICCV-25 🥳)
Clothes-Changing Re-Identification (CC-ReID) aims to recognize individuals across different locations and times, irrespective of clothing. Existing methods often rely on additional models or annotations to learn robust, …
DisentanglementPerson Re-IdentificationEfficient Neural Network Encoding for 3D Color Lookup Tables
3D color lookup tables (LUTs) enable precise color manipulation by mapping input RGB values to specific output RGB values. 3D LUTs are instrumental in various applications, including video editing, in-camera processing, …
Color ManipulationEfficient Neural NetworkVideo EditingColor Counting for Fashion, Art, and Design
Color modelling and extraction is an important topic in fashion, art, and design. Recommender systems, color-based retrieval, decorating, and fashion design can benefit from color extraction tools. Research has shown tha…
Recommendation SystemsRetrieval