{"id": "http://arxiv.org/abs/2606.31166v1", "title": "TAG-DLM: Diffusion Language Models for Text-Attributed Graph Learning", "abstract": "Text-attributed graphs (TAGs), where each node carries a natural language description, require models to jointly reason over text and graph topology. Existing approaches often handle the two modalities separately: graph neural networks operate on shallow text features, while hybrids of LLMs and graphs use the language model mainly as a text encoder and delegate structure learning to a separate graph module. We propose method that unifies textual reasoning and graph message passing within a masked diffusion language model, a language model with bidirectional attention and generative decoding. For each graph instance, method linearises a sampled local neighbourhood into a token sequence and injects graph structure through a topology attention mask, which realises message passing over the graph. Because the diffusion language model can both interpret and generate text, the method adapts to different tasks simply by changing the prompt, supporting node classification, link prediction, and cross-dataset transfer with no target-specific fine-tuning.   Experiments show that method outperforms graph neural networks, graph transformers, and LLM-based baselines on all three TAG benchmarks across two tasks, improving over the strongest baseline by up to 3.9 points.", "published_at": "2026-06-30T05:56:18+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2606.31166v1", "source_hash": "2c6d5a76619103f53b602ea46d8e8dbe9fd2e37c22195172dbb65f83f0177043", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "reasoning", "post-training"], "code_url": null, "has_code": false, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "2c6d5a76619103f53b602ea46d8e8dbe9fd2e37c22195172dbb65f83f0177043", "source_url": "https://arxiv.org/abs/2606.31166v1", "source_version": "v1", "revision_id": "60dcb52de9effa550985eaef6aca7b58eb648caf809efee442e82cff58d434fd", "canonical_text_hash": "4ff7279b0d23fe8f0f92864ea36cd11da1669d73ce83492616f83f360e19d300", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "TAG-DLM — убедительный единый способ встроить графовое сообщение в masked diffusion language model без отдельной GNN и task-specific голов. На трёх бенчмарках TAG он превосходит заявленные базовые методы в обоих заданиях, но формальная эквивалентность ограничена внимательным message passing, а результаты представлены как отдельные запуски.", "en": "TAG-DLM is a credible unified way to embed graph message passing into a masked diffusion language model without a separate GNN or task-specific heads. It outperforms the listed baselines on all three TAG benchmarks and both tasks, but the formal equivalence is limited to attention-based message passing and the results are reported as single runs."}, "main_idea": {"ru": "Метод линейризует локальное эго-графовое окружение, а бинарная топологическая маска внимания задаёт, какие сегменты текста могут обмениваться сообщениями. Ответ кодируется в prompt-defined позиции, поэтому классификация узлов и предсказание связей используют одну языковую процедуру.", "en": "The method linearizes a local ego-graph context and uses a binary topology attention mask to specify which text segments may exchange messages. The answer is placed at a prompt-defined position, allowing node classification and link prediction to share one language-model procedure."}, "claims": {"ru": "Авторы утверждают, что TAG-DLM превосходит GNN-, graph-transformer- и LLM-базовые методы, с максимальным заявленным приростом 3,9 пункта. Сообщённые значения точности для классификации узлов на Cora/PubMed/ogbn-arxiv составляют 90,96/96,30/76,93%, а для предсказания связей — 91,62/95,31/96,55%. Удаление маски ухудшает результат, star mask превосходит ego-graph mask, а перенос между датасетами возможен без новой головы.", "en": "The authors claim that TAG-DLM outperforms GNN, graph-transformer, and LLM baselines, with a maximum reported gain of 3.9 points. Reported accuracies for node classification on Cora/PubMed/ogbn-arxiv are 90.96/96.30/76.93%, and for link prediction 91.62/95.31/96.55%. Removing the mask hurts performance, the star mask beats the ego-graph mask, and cross-dataset transfer works without a new head."}, "mechanism": {"ru": "Представление: целевой узел и sampled k-hop соседи превращаются в текстовые сегменты; ответ — masked digit в одной [M]-позиции. Архитектура: frozen MDLM LLaDA-8B-Instruct с rank-64 LoRA; бинарная segment-level star mask разрешает цели смотреть на всех соседей, соседям — на себя и цель, и блокирует padding и прямые связи соседей. Для NC метки соседей маскируются, чтобы исключить копирование; для LP кандидатные связи удаляются до sampling контекста. Обучается MDLM evidence lower bound только в позиции ответа. При span pooling, фиксированном времени диффузии, двунаправленном внимании и примерно постоянных весах внутри span один denoising layer соответствует softmax-взвешенному message passing; additive attention даёт частный случай GAT, а reverse diffusion композирует timestep-conditioned операторы. Воспроизводимый план: (1) выбрать целевой узел или пару и удалить кандидатную связь для LP; (2) sampled 2-hop контекст с K=10 соседями на hop; (3) линейризовать сегменты и применить star mask; (4) обучить только rank-64 LoRA с ответом в [M]; (5) оценить допустимые digit logits и сравнить с ablations по маске и K. Не указаны точные параметры optimizer, learning-rate schedule и число шагов обучения.", "en": "Representation: the target node and sampled k-hop neighbors become text segments; the answer is a masked digit at one [M] position. Architecture: frozen LLaDA-8B-Instruct MDLM with rank-64 LoRA; a binary segment-level star mask lets the target attend to all neighbors, neighbors attend only to themselves and the target, and padding and direct neighbor-to-neighbor links are blocked. For NC, neighbor labels are masked to prevent copying; for LP, candidate edges are removed before context sampling. Training optimizes the MDLM evidence lower bound only at the answer position. With span pooling, fixed diffusion time, bidirectional attention, and approximately constant within-span weights, one denoising layer implements softmax-weighted message passing; additive attention gives a GAT special case, while reverse diffusion composes timestep-conditioned operators. Reproduction plan: (1) choose a target node or pair and remove the candidate edge for LP; (2) sample a 2-hop context with K=10 neighbors per hop; (3) linearize segments and apply the star mask; (4) train only rank-64 LoRA with the answer at [M]; (5) score valid digit logits and compare mask and K ablations. Exact optimizer settings, learning-rate schedule, and training-step count are not specified."}, "evidence": {"ru": "Наблюдаемая поддержка включает тестовую accuracy на Cora, PubMed и ogbn-arxiv для NC и LP, leakage-controlled постановку, ablations маски и размера контекста, а также off-diagonal transfer. Во всех перечисленных авторами настройках TAG-DLM имеет лучший заявленный результат; особенно заметен ущерб от удаления topology mask и преимущество star mask. Перенос сильнее для LP, чем для label-sensitive NC. Это не устанавливает универсального превосходства: приведены только перечисленные датасеты, условия и single-run результаты, без независимой оценки устойчивости.", "en": "The supporting observations are test accuracy on Cora, PubMed, and ogbn-arxiv for NC and LP, leakage-controlled evaluation, mask and context-size ablations, and off-diagonal transfer. TAG-DLM has the best reported result in every listed setting; removing the topology mask is especially harmful, and the star mask is better than the ego-graph mask. Transfer is stronger for LP than for label-sensitive NC. This does not establish universal superiority: only the listed datasets and conditions are covered, and the results are single runs without independent robustness evaluation."}, "applicability": {"ru": "Подход полезен для статических однородных графов, когда локальное окружение можно сериализовать в текст, а задача допускает prompt-based дискретный ответ. Он особенно подходит для унификации NC, LP и переноса между датасетами без отдельных task heads; K=10 соседей на hop — поддержанный базовый выбор.", "en": "The approach is useful for static homogeneous graphs whose local context can be serialized as text and whose task permits a prompt-based discrete answer. It is well suited to unifying NC, LP, and cross-dataset transfer without separate task heads; K=10 neighbors per hop is the supported default choice."}, "limitations": {"ru": "Формальная связь с message passing действует только для softmax-взвешенной attention-агрегации при указанных предпосылках и не покрывает произвольные GNN. Star mask блокирует прямое взаимодействие соседей, поэтому может терять полезные межсоседские зависимости. Текущая система не поддерживает явно evolving graphs или heterogeneous node/edge types. Большие контексты добавляют менее релевантную информацию, а перенос ослабевает при расхождении семантики меток. Неизвестно, насколько стабильны single-run результаты.", "en": "The formal connection to message passing holds only for softmax-weighted attention aggregation under the stated assumptions and does not cover arbitrary GNNs. The star mask blocks direct neighbor interaction and may lose useful inter-neighbor dependencies. The current system does not explicitly support evolving graphs or heterogeneous node and edge types. Larger contexts add less relevant information, and transfer weakens when label semantics diverge. The stability of the single-run results is unknown."}, "next_action": {"ru": "Провести небольшой повторный эксперимент на трёх бенчмарках с несколькими random seeds: (1) воспроизвести default star mask, K=10 и LoRA-конфигурацию; (2) сравнить с ego-graph mask и mask без topology; (3) повторить NC, LP и off-diagonal transfer; (4) измерить среднее, разброс и стоимость инференса; (5) отдельно проверить mask, допускающую взаимодействие соседей, чтобы оценить потерю информации из-за star-структуры.", "en": "Run a small multi-seed replication on the three benchmarks: (1) reproduce the default star mask, K=10, and LoRA configuration; (2) compare against the ego-graph mask and no topology mask; (3) repeat NC, LP, and off-diagonal transfer; (4) measure mean, variance, and inference cost; (5) test a mask that permits neighbor interaction to quantify information lost by the star structure."}}, "source_coverage": {"canonical_text_hash": "4ff7279b0d23fe8f0f92864ea36cd11da1669d73ce83492616f83f360e19d300", "covered_chunks": 5, "map_input_digest": "5f6e9d8ece16a678fb1a37e7b0e26621a630ef12aa4230ac9d50898e5b1e90fe", "prompt_version": "full-article-research-guide-v14", "revision_id": "60dcb52de9effa550985eaef6aca7b58eb648caf809efee442e82cff58d434fd", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "2c6d5a76619103f53b602ea46d8e8dbe9fd2e37c22195172dbb65f83f0177043", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": []}, "slug": "2606.31166-tag-dlm-diffusion-language-models-for-text-attributed-graph-learning"}