Adapting Knowledge Graphs for Behavior Denoising in Sequential Recommendation
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Adapting Knowledge Graphs for Behavior Denoising in Sequential Recommendation Zichun Jin1,† , Zihan Zhou1,† , Yinan Liu1,* , Bin Wang1 and Xiaochun Yang1 1
Northeastern University, Shenyang, China
Abstract
Sequential recommendation predicts the next item from a user’s interaction history, but not every interaction is equally informative. Real logs combine persistent preferences with temporary needs, exploration, and incidental behavior, so some interactions can distort history representations or provide unreliable supervision. Existing denoising methods judge such interactions mainly from co-occurrence, order, or model predictions, without explicit evidence from relations between items. Knowledge graphs (KGs) offer this evidence, but item popularity, graph degree, uneven coverage, and widely shared entities can inflate connectivity and bias reliability estimates. Here we present AdaptedKG, which derives calibrated KG evidence for each training example without adding graph representations to the recommendation model. It first compares the observed context with structurally matched alternatives to identify relational paths that are unusually prominent and uses them to build a local KG view. It then compares each interaction with structurally matched reference items to calibrate its support within that view. The resulting retention coefficients gate historical representations and reweight target losses. All sample-specific scores are computed offline using training interactions and a fixed KG, so the backbone remains unchanged and no KG access is required at inference. Experiments show gains with a standard sequential recommender and multiple behavior-denoising sequential recommenders.
Keywords
Knowledge Graphs, Sequential Recommendation, Behavior Denoising, Structural Matching
1. Introduction Sequential recommendation relies on a user’s interaction history to predict the next item [1, 2], yet the interactions in this history do not provide equally reliable evidence of user preference [3]. Real-world logs reflect a mixture of long-term preferences, short-term needs, exploration, and incidental behavior, making individual interactions unevenly valuable for sequence modeling [4]. An interaction weakly associated with other interactions in the same sequence may both disrupt historical representations and provide unstable supervision when used as a training target [3]. Existing denoising methods mainly rely on co-occurrence, order, or model predictions to identify such interactions [5, 6, 7], but lack evidence from explicit inter-item relations for making this judgment. Knowledge graphs encode entities and relations connecting items and therefore offer a potential means of filling this gap [8, 9]. However, richer path connectivity in the graph does not necessarily imply more relevant relations between items [10]. Items with higher popularity, higher KG degree, or more extensive coverage naturally admit more paths, while entities shared by many items can also induce broad connections. Using these connections directly may bias reliability estimation toward richly connected items and common relational patterns. Whether a path provides distinctive support for the current interaction must therefore be assessed against structurally comparable references. Based on this idea, we propose AdaptedKG. Rather than injecting KG representations into the recommendation backbone, it uses two structural-matching stages with distinct roles that are executed sequentially. These stages convert connections in the global KG into KG-consistency evidence for individual behavioral examples and derive conservative retention coefficients to modulate training signals. In the first stage, alternative contexts with similar structural attributes characterize the background distribution of relational paths. The method retains and weights relational patterns that are more ISWC 2026 Posters and Demos Track, October 27–29, 2026, Bari, Italy Corresponding author. † These authors contributed equally. *
© 2026 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
prominent in the current context relative to the matched background, forming an example-specific local KG view. With this view fixed, the second stage uses reference items with similar structural attributes to calibrate the support that these relational patterns provide for the evaluated interaction. The resulting retention coefficients gate historical interaction representations and reweight target losses, respectively. All KG adaptation and sample-specific scoring are performed offline using training interactions and a fixed KG, without changing the backbone architecture or requiring KG access at inference. Experiments show that AdaptedKG yields improvements when applied to a standard sequential recommendation model and multiple behavior-denoising models.
2. Related Work Behavior denoising improves sequential recommendation by correcting unreliable interactions or reducing their influence during training. STEAM [5] learns item-wise keep, delete, and insert operations from synthetically corrupted sequences. BirDRec [6] uses bidirectional recommender predictions to rectify unreliable histories and targets with theoretical error guarantees. SSDRec [7] exploits interactionderived inter-sequence relations to guide self-augmentation and hierarchical denoising. Despite their different mechanisms, these methods obtain correction evidence from interaction logs, whether through synthetic supervision, recommender predictions, or learned behavioral relations. These log-derived signals do not directly provide external typed relational evidence for assessing an interaction’s contextual support. KG-based recommenders commonly integrate graph-derived representations into prediction models [9]; AdaptedKG instead uses structurally matched KG evidence to derive example-conditioned retention coefficients offline, before recommendation optimization.
3. Methodology Raw KG connectivity is not directly comparable across examples. A context containing popular or high-degree items may contain many common paths, while an easily connected candidate may receive high support for the same reason. AdaptedKG handles these effects in sequence: matched-null contexts select paths that stand out from comparable contexts; with those paths fixed, matched references convert support into an interaction-level retention coefficient.
3.1. Example-Conditioned Interaction Reliability For a training example 𝒟𝑠 = (𝐻𝑠 , 𝑦𝑠 ), let 𝐻𝑠 = (𝑥𝑠,1 , . . . , 𝑥𝑠,𝐿𝑠 ) contain only interactions preceding 𝑦𝑠 . Let 𝑅(𝑣; 𝐶) ∈ [0, 1] be the retention coefficient assigned to 𝑣 from context 𝐶: 𝐻 𝑟𝑠,𝑗 = 𝑅(𝑥𝑠,𝑗 ; 𝐻𝑠−𝑗 ),
𝑟𝑠𝑇 = 𝑅(𝑦𝑠 ; 𝐻𝑠 ),
(1)
where 𝐻𝑠−𝑗 excludes position 𝑗. When scoring 𝑥𝑠,𝑗 , this avoids direct self-inclusion; the target 𝑦𝑠 is not 𝐻 scales the historical embedding, in 𝐻𝑠 and is scored against the complete prefix. The coefficient 𝑟𝑠,𝑗 while 𝑟𝑠𝑇 scales the target loss.
3.2. Local KG Adaptation with a Matched Null Let 𝐶 = (𝑐1 , . . . , 𝑐𝑛 ) be an ordered context. A directed typed two-hop pattern 𝑝 = (𝑟1 , 𝑐, 𝑟2 ) links an ordered item pair via connector 𝑐; 𝜑𝑝 (𝑢, 𝑣) indicates whether (𝑢, 𝑣) instantiates 𝑝. High coverage in 𝐶 does not by itself make 𝑝 informative, because similar coverage may also occur in contexts with 𝐴 comparable structural attributes. We therefore form matched-null contexts {𝐶 0,𝑏 }𝐵 𝑏=1 by replacing each position with an item of similar training popularity, KG degree, and linkage status while preserving length and order. For a value 𝑡 and nonempty multiset 𝒜, 𝑄(𝑡; 𝒜) records the fraction of values below
𝑡, with ties contributing one half: 𝑄(𝑡; 𝒜) =
]︀ 1 ∑︁ [︀ I(𝑎 < 𝑡) + 21 I(𝑎 = 𝑡) . |𝒜|
(2)
𝑎∈𝒜
The observed coverage and its matched-null weight are 𝜅𝑝 (𝐶) =
1 𝑛(𝑛 − 1)
∑︁
𝜑𝑝 (𝑐𝑎 , 𝑐𝑏 ),
1≤𝑎,𝑏≤𝑛 𝑎̸=𝑏
(3)
(︁ [︁ ]︁ )︁ 𝐴 𝛼𝑝 (𝐶) = 𝜅𝑝 (𝐶) − median𝑏 𝜅𝑝 (𝐶 0,𝑏 ) 𝑄 𝜅𝑝 (𝐶); {𝜅𝑝 (𝐶 0,𝑏 )}𝐵 𝑏=1 . +
The first line measures the fraction of ordered position pairs covered by 𝑝. In the second, the bracketed term keeps the path only when its coverage exceeds the matched-null median, while 𝑄 gives more weight when that coverage ranks higher among the null values. The weighted paths with 𝛼𝑝 (𝐶) > 0 form 𝒫𝐶* and define the local KG view 𝒢𝐶* .
3.3. Matched Support Calibration and Training Adaptation Even after path filtering, an easily connected item may match many retained paths. We therefore match 𝑅 references {𝑧𝑏 }𝐵 𝑏=1 to 𝑣 by training popularity, KG degree, and linkage status. They are scored only * after 𝒢𝐶 is fixed, so they cannot change the selected paths: ∑︀𝑛 ∑︀ 𝑎=1 𝑝∈𝒫 * 𝛼𝑝 (𝐶)𝜑𝑝 (𝑐𝑎 , 𝑣) ∑︀ 𝐶 , 𝑆𝐾 (𝑣 | 𝐶) = 𝑛 𝑝∈𝒫 * 𝛼𝑝 (𝐶) (4) 𝐶 {︁ (︁ )︁}︁ 𝐵𝑅 𝑅(𝑣; 𝐶) = min 1, 2𝑄 𝑆𝐾 (𝑣 | 𝐶); {𝑆𝐾 (𝑧𝑏 | 𝐶)}𝑏=1 . 𝑆𝐾 (𝑣 | 𝐶) is the average fraction of retained path weight connecting 𝑣 to the context. The second line compares this score with the matched-reference scores: a mid-rank percentile below one half gives 𝑅(𝑣; 𝐶) = 2𝑄 < 1, while one at or above one half gives 𝑅(𝑣; 𝐶) = 1. 𝐻 e(𝑥 ), before sequence encoding. Each historical embedding is multiplied by its coefficient, ̃︀ e𝑠,𝑗 = 𝑟𝑠,𝑗 𝑠,𝑗 ∑︀ 𝑇 𝑇 ̃︀ 𝑠 ), 𝑦𝑠 ) and batch ℬ, the target-weighted loss is ∑︀ For ℓ𝑠 = CE(𝑓𝜃 (𝐻 𝑠∈ℬ 𝑟𝑠 ℓ𝑠 / 𝑠∈ℬ 𝑟𝑠 when the denominator is positive, and the unweighted mean otherwise. If 𝑛 < 2, a valid matched background or reference set cannot be constructed, or 𝒫𝐶* = ∅, the KG channel uses 𝑅(𝑣; 𝐶) = 1 and skips undefined quantities. Global matching statistics use the training partition; sample-specific retention coefficients are computed offline using training interactions and a fixed KG, and are detached from recommendation optimization.
4. Experimental Results Experimental setup. We evaluate KG calibration and sequential recommendation on Steam Games, which contains 25,389 users, 4,089 items, 328,278 interactions, and 462,016 KG triples over six relations. We use SASRec [1], STEAM [5], BirDRec [6], and SSDRec [7], all of which are implemented within the RecBole framework [11]. For each backbone and its AdaptedKG-enhanced counterpart, we use identical data splits, candidate sets, and backbone hyperparameters. Retention coefficients and interaction-derived matching statistics are computed using training interactions only. KG-side calibration. We isolate reference calibration by fixing the target queries, local path views, and number of references while changing only the reference sampler. The substantially weaker correlations under matched sampling (Figure 1) indicate that the estimated retention coefficients are less coupled to item-side structural exposure.
Uniform
ρ: 0.286 → 0.057
0.5
Mean target retention coefficient rsT
Mean target retention coefficient rsT
0.7
Matched
0.7
ρ: 0.200 → 0.068
Uniform
0.5 Matched
0.3
0.3 1
4
7
10
1
4
7
10
KG-degree decile
Popularity decile
(a) KG degree
(b) Item popularity
Figure 1: Matched-reference sampling attenuates the structural dependence of interaction reliability on Steam. Mean target retention coefficient 𝑟𝑠𝑇 across deciles of (a) KG degree and (b) item popularity under uniform and matched reference sampling.
Table 1 Steam Games results (×103 ). Each entry in panel (a) reports the backbone result followed by its AdaptedKGenhanced counterpart; panel (b) reports SASRec-based component ablations. H and N denote HR and NDCG, respectively. (a) Backbone comparison Backbone SASRec STEAM BirDRec SSDRec
H@5
H@10
N@5
(b) Component ablation N@10
72.0/85.9 121.8/141.4 45.3/56.5 61.3/74.3 85.1/96.2 148.5/154.9 52.7/60.3 73.0/79.2 78.3/86.0 129.5/134.8 50.0/55.9 66.5/71.6 75.5/87.7 127.5/145.1 50.8/59.2 67.4/77.4
Variant
H@5 H@10 N@5 N@10
w/o Local Adapt. w/o Matched Null w/o Matched Ref. AdaptedKG
82.2 84.0 84.8 85.9
137.6 139.5 139.4 141.4
53.4 55.0 55.5 56.5
71.2 72.9 73.0 74.3
Recommendation performance. AdaptedKG achieves higher values for every reported metric across all four backbones (Table 1(a)). The gains with SASRec show that AdaptedKG can benefit a standard sequential recommender without an existing behavior-denoising mechanism. The gains with STEAM, BirDRec, and SSDRec suggest that its KG-derived retention signal is compatible with behavior-denoising mechanisms learned from interaction logs. Ablation study. In the ablations, w/o Local Adapt. removes the entire local adaptation stage, using the global path set with context-independent weights. w/o Matched Null retains the context-specific local view but removes matched-null calibration by setting 𝛼𝑝 (𝐶) = 𝜅𝑝 (𝐶). w/o Matched Ref. replaces matched references with uniform references. All three variants lower every reported metric relative to the full model (Table 1(b)), with local adaptation producing the largest drops and either matching stage producing smaller declines. This pattern is consistent with local adaptation forming example-specific path evidence, matched-null calibration refining path selection and weighting, and matched-reference calibration refining interaction support.
5. Conclusion We presented AdaptedKG, which uses knowledge graph relations to assess the contextual support for an interaction. The method compares the observed context with structurally similar alternatives to identify and weight paths that stand out from the background. It then uses similar reference items to calibrate interaction support. The resulting retention coefficients adjust historical representations and target losses during training. All graph processing is completed offline, leaving the recommendation backbone and inference procedure unchanged. The results show that calibrated graph evidence can complement behavior denoising in sequential recommendation.
Declaration of Use of Generative AI During the preparation of this work, the authors used OpenAI Codex on a limited basis for language polishing and to assist with the implementation and debugging of experimental code. All tool-assisted text and code were critically reviewed, tested, and revised by the authors. The research design, methodological decisions, analysis, and interpretation remained the responsibility of the authors, who take full responsibility for the content of this work.
References [1] W. Kang, J. J. McAuley, Self-attentive sequential recommendation, in: IEEE International Conference on Data Mining, ICDM 2018, Singapore, November 17-20, 2018, IEEE Computer Society, 2018, pp. 197–206. doi:10.1109/ICDM.2018.00035. [2] M. Quadrana, D. Jannach, P. Cremonesi, Tutorial: Sequence-aware recommender systems, in: Companion of The 2019 World Wide Web Conference, WWW 2019, San Francisco, CA, USA, May 13-17, 2019, ACM, 2019, p. 1316. doi:10.1145/3308560.3320091. [3] Y. Sun, B. Wang, Z. Sun, X. Yang, Does every data instance matter? enhancing sequential recommendation by eliminating unreliable data, in: Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI 2021, Virtual Event / Montreal, Canada, 19-27 August 2021, ijcai.org, 2021, pp. 1579–1585. doi:10.24963/IJCAI.2021/218. [4] H. Chen, Y. Lin, M. Pan, L. Wang, C. M. Yeh, X. Li, Y. Zheng, F. Wang, H. Yang, Denoising selfattentive sequential recommendation, in: RecSys ’22: Sixteenth ACM Conference on Recommender Systems, Seattle, WA, USA, September 18 - 23, 2022, ACM, 2022, pp. 92–101. doi:10.1145/ 3523227.3546788. [5] Y. Lin, C. Wang, Z. Chen, Z. Ren, X. Xin, Q. Yan, M. de Rijke, X. Cheng, P. Ren, A self-correcting sequential recommender, in: Proceedings of the ACM Web Conference 2023, WWW 2023, Austin, TX, USA, 30 April 2023 - 4 May 2023, ACM, 2023, pp. 1283–1293. doi:10.1145/3543507.3583479. [6] Y. Sun, B. Wang, Z. Sun, X. Yang, Y. Wang, Theoretically guaranteed bidirectional data rectification for robust sequential recommendation, in: Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023, 2023. [7] C. Zhang, Q. Han, R. Chen, X. Zhao, P. Tang, H. Song, Ssdrec: Self-augmented sequence denoising for sequential recommendation, in: 40th IEEE International Conference on Data Engineering, ICDE 2024, Utrecht, The Netherlands, May 13-16, 2024, IEEE, 2024, pp. 803–815. doi:10.1109/ ICDE60146.2024.00067. [8] A. Hogan, E. Blomqvist, M. Cochez, C. d’Amato, G. de Melo, C. Gutierrez, S. Kirrane, J. E. L. Gayo, R. Navigli, S. Neumaier, A. N. Ngomo, A. Polleres, S. M. Rashid, A. Rula, L. Schmelzeisen, J. F. Sequeda, S. Staab, A. Zimmermann, Knowledge graphs, ACM Comput. Surv. 54 (2022) 71:1–71:37. doi:10.1145/3447772. [9] Q. Guo, F. Zhuang, C. Qin, H. Zhu, X. Xie, H. Xiong, Q. He, A survey on knowledge graph-based recommender systems, IEEE Trans. Knowl. Data Eng. 34 (2022) 3549–3568. doi:10.1109/TKDE. 2020.3028705. [10] H. Shomer, W. Jin, W. Wang, J. Tang, Toward degree bias in embedding-based knowledge graph completion, in: Y. Ding, J. Tang, J. F. Sequeda, L. Aroyo, C. Castillo, G. Houben (Eds.), Proceedings of the ACM Web Conference 2023, WWW 2023, Austin, TX, USA, 30 April 2023 - 4 May 2023, ACM, 2023, pp. 705–715. doi:10.1145/3543507.3583544. [11] W. X. Zhao, S. Mu, Y. Hou, Z. Lin, Y. Chen, X. Pan, K. Li, Y. Lu, H. Wang, C. Tian, Y. Min, Z. Feng, X. Fan, X. Chen, P. Wang, W. Ji, Y. Li, X. Wang, J. Wen, Recbole: Towards a unified, comprehensive and efficient framework for recommendation algorithms, in: CIKM ’21: The 30th ACM International Conference on Information and Knowledge Management, Virtual Event, Queensland, Australia, November 1 - 5, 2021, ACM, 2021, pp. 4653–4664. doi:10.1145/3459637.3482016.
Related documents
- Recommender System as Slow and Fast Thinkers#924815
- Recommender System as Slow and Fast Thinkers#920581
- FLAME: Condensing Ensemble Diversity into a Single Network for Efficient Sequential Recommendation#670549
- FLAME: Condensing Ensemble Diversity into a Single Network for Efficient Sequential Recommendation#668484
- Bumblebee: Interleaved Mixed-Layer Building Blocks for Large-Scale Recommendation Systems#1011172
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive