Papers › DiGRAF: Diffeomorphic Graph-Adaptive Activation Function

DiGRAF: Diffeomorphic Graph-Adaptive Activation Function

2 Jul 2024arXiv:2407.02013archive 2025-07-28

Krishna Sri Ipsit Mantri, Xinzhi Wang, Carola-Bibiane Schönlieb, Bruno Ribeiro, Beatrice Bevilacqua, Moshe Eliasof

In this paper, we propose a novel activation function tailored specifically for graph data in Graph Neural Networks (GNNs). Motivated by the need for graph-adaptive and flexible activation functions, we introduce DiGRAF, leveraging Continuous Piecewise-Affine Based (CPAB) transformations, which we augment with an additional GNN to learn a graph-adaptive diffeomorphic activation function in an end-to-end manner. In addition to its graph-adaptivity and flexibility, DiGRAF also possesses properties that are widely recognized as desirable for activation functions, such as differentiability, boundness within the domain, and computational efficiency. We conduct an extensive set of experiments across diverse datasets and tasks, demonstrating a consistent and superior performance of DiGRAF compared to traditional and graph-specific activation functions, highlighting its effectiveness as an activation function for GNNs. Our code is available at https://github.com/ipsitmantri/DiGRAF.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.02013")

Code

Syntology Ran 9 of 16 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 2 ran; community (archive-listed): 14 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ipsitmantri/digraf officialmentioned in papermentioned on GitHubpytorch report
ipsitmantri/DiTASK mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 9 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
4ran
7unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

interpolate_linear_1d ipsitmantri/digraf/src/activations.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 16acc4b4a9200198 · report
interpolate_to_support ipsitmantri/digraf/src/activations.py official repository ran · our draft was wrong MIT (permissive) · 88ee397c7c5a7a3d · report
window_partition ipsitmantri/DiTASK/models/swin_transformer_ditask.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 144d10b49baeb8a6 · report
conv3x3 ipsitmantri/DiTASK/models/seg_hrnet.py community (archive-listed) ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
create_logger ipsitmantri/DiTASK/logger.py community (archive-listed) ran MIT (permissive) · 299f2d40c6a8adc7 · report
get_loss ipsitmantri/DiTASK/mtl_loss_schemes.py community (archive-listed) ran MIT (permissive) · 80c0c9e218ee946c · report
lora_filter ipsitmantri/DiTASK/models/lora.py community (archive-listed) ran MIT (permissive) · 7c89e5e716dec3fc · report
resize ipsitmantri/DiTASK/models/segformer.py community (archive-listed) ran MIT (permissive) · 368118c367337eb7 · report
window_reverse ipsitmantri/DiTASK/models/swin_transformer_ditask.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 61bf152e6a42a184 · report
build_model ipsitmantri/DiTASK/models/build.py community (archive-listed) unverified MIT (permissive) · c38f2ce46b296240 · report
build_mtl_model ipsitmantri/DiTASK/models/build.py community (archive-listed) unverified MIT (permissive) · e16d8a6cf1158855 · report
build_scheduler ipsitmantri/DiTASK/lr_scheduler.py community (archive-listed) unverified MIT (permissive) · eca7452105889f50 · report
map_old_state_dict_weights ipsitmantri/DiTASK/models/lora.py community (archive-listed) unverified MIT (permissive) · 94066f7cf06fd028 · report
mark_only_lora_as_trainable ipsitmantri/DiTASK/models/lora.py community (archive-listed) unverified MIT (permissive) · f3788eeccc68b1f0 · report
opts_to_key_value_list ipsitmantri/DiTASK/config.py community (archive-listed) unverified MIT (permissive) · e6ea4b62b01edfb7 · report
resize ipsitmantri/DiTASK/models/base_decode_head.py community (archive-listed) unverified MIT (permissive) · 5ebb5fe1837669a8 · report

Tasks

Computational Efficiency

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections