SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.10543 · ACL · 2023

TREA: Tree-structure Reasoning Schema for Conversational Recommendation

Ye Yuan, Wei Wei, Dangyang Chen, Xiaoye Qu, Wendi Li, Xianling Mao, Wenfeng Xie

arXiv · PDF · Open in the Atlas

Code that ran

12 of 20 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; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 5 failures of our instrument; 8 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2307.10543.json · badge: /api/ran/2307.10543.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
windylee0822/trea canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
WindyLee0822/TREA community
Papers with Code archive
11 ran · 8 no recorded run
FunctionStatusWhere it lives
GateLayer Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("ff83a8a6505fe7f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

GateLayer_3_eles Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("c6f077828fff829e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

MultiHeadAttention Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("4e16ff3a8e66caae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

SelfAttentionLayer Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("4d5d2f97176a6e1e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

SelfAttentionLayer_batch Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("ceb5436368faf4eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

_create_embeddings Ran
ran; our contract draft was wrong, not the code
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("9c4e513628eacec5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

_create_entity_embeddings Ran
ran; our contract draft was wrong, not the code
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("bb43f347161e2886")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

_edge_list Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("78938f8b2e50ebf8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

concept_edge_list4GCN Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("c95ceb24b79bb5c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

concept_egde_list4GCN_newnew Ran
ran on a synthesized input
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("5eabe4a192ae9f18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

match_movie Ran
ran; our contract draft was wrong, not the code
windylee0822/trea/data_pre_publish.py
pointer only (licence: NONE) · get_code("ccee4062dc31b960")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, windylee0822/trea 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.

neginf Ran
ran, honoured the contract we drafted
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("8516fd845c2715e6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

CrossModel Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("d8b1e6f4d4fe7765")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

TransformerDecoderKG Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("a15488dd6330502b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

TransformerDecoderLayerKG Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("b4ceb2eebb16a4be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

TransformerEncoder Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("c16a96bc89664956")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

TransformerEncoderLayer Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("b4cc671d07639f90")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

_build_decoder4kg Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("f24a161cbd56bb54")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

_build_encoder Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("fb2d0590ec4064b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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.

create_position_codes Not yet run
unverified (harvested, no recorded run)
WindyLee0822/TREA/model.py
pointer only (licence: NONE) · get_code("2aa4e924a13d5f89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, WindyLee0822/TREA 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 18 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
TransformerEncoder
brick of this paper's assembly: model
1 other paper
1 later
2402.15591 (2024-02)
RecWizard: A Toolkit for Conversational Recommendation with Modular, Portable Models and Interactive User Interface
TransformerEncoderLayer
brick of this paper's assembly: helper
1 other paper
1 later
2402.15591 (2024-02)
RecWizard: A Toolkit for Conversational Recommendation with Modular, Portable Models and Interactive User Interface

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

Conversational recommender systems (CRS) aim to timely trace the dynamic interests of users through dialogues and generate relevant responses for item recommendations. Recently, various external knowledge bases (especially knowledge graphs) are incorporated into CRS to enhance the understanding of conversation contexts. However, recent reasoning-based models heavily rely on simplified structures such as linear structures or fixed-hierarchical structures for causality reasoning, hence they cannot fully figure out sophisticated relationships among utterances with external knowledge. To address this, we propose a novel Treestructure Reasoning schEmA named TREA. TREA constructs a multi-hierarchical scalable tree as the reasoning structure to clarify the causal relationships between mentioned entities, and fully utilizes historical conversations to generate more reasonable and suitable responses for recommended results. Extensive experiments on two public CRS datasets have demonstrated the effectiveness of our approach. Our code is available at https: //github.com/WindyLee0822/TREA

For agents

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

get_harvested_code_for_paper("2307.10543")
get_code_for_paper("2307.10543")
have("2307.10543")

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

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

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

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

Connect an agent — have() is free.