SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.15562 · 2026

GiLT: Augmenting Transformer Language Models with Dependency Graphs

Kewei Tu, Tianyu Huang, Yida Zhao, Chuyan Zhou

arXiv · PDF · Open in the Atlas

Code that ran

5 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2605.15562.json · badge: /api/ran/2605.15562.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
cookie-pie-oops/GiLT-LM community
Papers with Code archive
5 ran · 4 no recorded run
FunctionStatusWhere it lives
PositionalEmbedding Ran
ran on a synthesized input
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("e0fa815ddb4f7161")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PositionwiseFF Ran
ran on a synthesized input
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("3ee176bd4691d3fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_depth Ran
ran, honoured the contract we drafted
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("d5d7f281cec21e15")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dijkstra_heap Ran
ran; our contract draft was wrong, not the code
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("6ac774f21bb49f51")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_label_idx Ran
ran, honoured the contract we drafted
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("f7ee1307a82993ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

RelMultiHeadAttn Not yet run
unverified (harvested, no recorded run)
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("c63fb381a3d18110")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

RelPartialLearnableMultiHeadAttn Not yet run
unverified (harvested, no recorded run)
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("3b7d8fabefd13396")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

TransformerGrammar Not yet run
unverified (harvested, no recorded run)
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("b81f189335a98635")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

TransformerGrammarLayer Not yet run
unverified (harvested, no recorded run)
cookie-pie-oops/GiLT-LM/src/model_bllip_dep.py
pointer only (licence: NONE) · get_code("df6e87e797e6a7c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cookie-pie-oops/GiLT-LM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
PositionalEmbedding
brick of this paper's assembly: model
4 other papers
4 dated earlier · 3 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2004.08178 (2020-04)
Highway Transformer: Self-Gating Enhanced Self-Attentive Networks
2101.02402 (2021-01)
Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs
and 1 more not named here
PositionwiseFF
brick of this paper's assembly: model
3 other papers
3 dated earlier · 2 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2101.02402 (2021-01)
Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs
2207.06881 (2022-07)
Recurrent Memory Transformer

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Augmenting Transformers with linguistic structures effectively enhances the syntactic generalization performance of language models. Previous work in this direction focuses on syntactic tree structures of languages, in particular constituency tree structures. We propose Graph-Infused Layers Transformer Language Model (GiLT) which leverages dependency graphs for augmenting Transformer language models. Unlike most previous work, GiLT does not insert extra structural tokens in language modeling; instead, it injects structural information into language modeling by modulating attention weights in the Transformer with features extracted from the dependency graph that is incrementally constructed along with token prediction. In our experiments, GiLT with semantic dependency graphs achieves better syntactic generalization while maintaining competitive perplexity in comparison with Transformer language model baselines. In addition, GiLT can be finetuned from a pretrained language model to achieve improved downstream task performance. Our code is released at https://github.com/cookie-pie-oops/GiLT-LM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2605.15562")
get_code_for_paper("2605.15562")
have("2605.15562")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2605.15562.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2605.15562.svg)](https://syntology.ai/paper/2605.15562)

Connect an agent — have() is free.