Papers › Hierarchical Context Tagging for Utterance Rewriting

Hierarchical Context Tagging for Utterance Rewriting

22 Jun 2022arXiv:2206.11218archive 2025-07-28

Lisa Jin, Linfeng Song, Lifeng Jin, Dong Yu, Daniel Gildea

Utterance rewriting aims to recover coreferences and omitted information from the latest turn of a multi-turn dialogue. Recently, methods that tag rather than linearly generate sequences have proven stronger in both in- and out-of-domain rewriting settings. This is due to a tagger's smaller search space as it can only copy tokens from the dialogue context. However, these methods may suffer from low coverage when phrases that must be added to a source utterance cannot be covered by a single context span. This can occur in languages like English that introduce tokens such as prepositions into the rewrite for grammaticality. We propose a hierarchical context tagger (HCT) that mitigates this issue by predicting slotted rules (e.g., "besides_") whose slots are later filled with context spans. HCT (i) tags the source string with token-level edit actions and slotted rules and (ii) fills in the resulting rule slots with spans from the dialogue context. This rule tagging allows HCT to add out-of-context tokens and multiple spans at once; we further cluster the rules to truncate the long tail of the rule distribution. Experiments on several benchmarks show that HCT can outperform state-of-the-art rewriting systems by ~2 BLEU points.

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="2206.11218")

Code

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

By repository: official repository: 11 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lisjin/hct officialmentioned in paperpytorch 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

11 samples harvested; 9 ran; 1 honoured the contract we drafted; 2 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.

1ran · honoured contract
3ran · our draft was wrong
3ran · fixture could not drive it
2ran
2unverified

Licence: 11 of the 11 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 lisjin/hct. “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.

AdditiveAttention lisjin/hct/sequence_tagger.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · ee60d968887966a5 · report
SingleHeadedAttention lisjin/hct/sequence_tagger.py official repository ran no licence file found · pointer only · 357f740c6eb1b176 · report
cls_loss lisjin/hct/sequence_tagger.py official repository ran · fixture could not drive it no licence file found · pointer only · d4dd26450a2f7454 · report
convert_tokens_to_string lisjin/hct/sequence_tagger.py official repository ran · our draft was wrong no licence file found · pointer only · 29eebbec9a89a241 · report
filter_spans lisjin/hct/sequence_tagger.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 4aaa0f929ca5124c · report
get_sp_strs lisjin/hct/sequence_tagger.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 1c3729d7bdc24044 · report
ilst2str lisjin/hct/sequence_tagger.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 396a1ab20565832e · report
safe_log lisjin/hct/sequence_tagger.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · f4b113a24e219244 · report
sample_helper lisjin/hct/sequence_tagger.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · d0642373c95680b9 · report
BertForSequenceTagging lisjin/hct/sequence_tagger.py official repository unverified no licence file found · pointer only · 42281a8c6cec7703 · report
SpanClassifier lisjin/hct/sequence_tagger.py official repository unverified no licence file found · pointer only · 505d10716b0d62e4 · report

Tasks

TAG

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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