SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2020.acl-main.53 · ACL · 2020

Efficient Dialogue State Tracking by Selectively Overwriting Memory

Gyuwan Kim, Sohee Yang, Sungdong Kim, Sang-Woo Lee

Open in the Atlas

Code that ran

7 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, 1 violated it and 3 have no contract verdict; 1 failure of our instrument; 2 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/2020.acl-main.53.json · badge: /api/ran/2020.acl-main.53.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
clovaai/som-dst canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_acc Ran
ran, honoured the contract we drafted
clovaai/som-dst/utils/eval_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from suntea233/DualLoRA, is pointer only (licence: NONE) · get_code("3a497dd8883949a9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from suntea233/DualLoRA, and GitHub detected no licence in that repository 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.

compute_prf Ran
ran, honoured the contract we drafted
clovaai/som-dst/utils/eval_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from suntea233/DualLoRA, is pointer only (licence: NONE) · get_code("06896619b07ffa97")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from suntea233/DualLoRA, and GitHub detected no licence in that repository 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.

fix_general_label_error Ran
ran on a synthesized input
clovaai/som-dst/utils/fix_label.py
code served (permissive licence) · get_code("31789cf3a9d7c05c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Analyze the function to understand what it needs

# The function takes:
# 1. labels: either a list of 2-tuples [label1, label2] if type is True,
#            or a list of dicts with 'slots' key containing [[slot_key, slot_value]] if type is False
# 2. type: a boolean
# 3. slots: a list of slot names (strings)

# Case 1: type = True
# labels should be a list of [key, value] pairs
labels_type_true = [
    ['hotel-type', 'guesthouse'],
    ['hotel-pricerange', 'cheap'],
    ['hotel-area', 'centre']
]

# Case 2: type = False
# labels should be a list of dicts with 'slots' containing slot info
labels_type_false = [
    {'slots': [['hotel-type', 'guesthouse']]},
    {'slots': [['hotel-pricerange', 'ch']]},
    {'slots': [['hotel-area', 'cent']]}
]

# Define slots to process
slots_list = ['hotel-type', 'hotel-pricerange', 'hotel-area', 'hotel-star', 'hotel-internet']

# Create ARGS dict with both test cases
ARGS = {
    'labels': labels_type_true,
    'type': True,
    'slots': slots_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
insertSpace Ran
ran; our contract draft was wrong, not the code
clovaai/som-dst/create_data.py
code served (permissive licence) · get_code("d7503a387ec4bc30")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def insertSpace(token, text):
    sidx = 0
    while True:
        sidx = text.find(token, sidx)
        if sidx == -1:
            break
        if sidx + 1 < len(text) and re.match('[0-9]', text[sidx - 1]) and re.match('[0-9]', text[sidx + 1]):
            sidx += 1
            continue
        if text[sidx - 1] != ' ':
            text = text[:sidx] + ' ' + text[sidx:]
            sidx += 1
        if sidx + len(token) < len(text) and text[sidx + len(token)] != ' ':
            text = text[:sidx + 1] + ' ' + text[sidx + 1:]
        sidx += 1
    return text

ARGS = {
    "token": ".",
    "text": "The price is 3.14 dollars and 2.5 euros."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_ascii Ran
ran, violated the contract we drafted
clovaai/som-dst/create_data.py
code served (permissive licence) · get_code("1b465b9239cb631c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

ARGS = {
    "s": "Hello, World! This is an ASCII string with numbers 12345 and symbols @#$%"
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_turn_label Ran
ran on a synthesized input
clovaai/som-dst/utils/data_utils.py
code served (permissive licence) · get_code("508f0a1ee5b55a6d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

class SimpleTokenizer:
    def __init__(self):
        self.vocab = {
            '[EOS]': 0,
            '[NULL]': 1,
            'expensive': 2,
            'moderate': 3,
            'cheap': 4,
            'none': 5
        }
    
    def tokenize(self, text):
        """Simple tokenizer that splits on spaces and returns tokens."""
        if text == 'none':
            return []
        tokens = text.split()
        return tokens if tokens else [text]
    
    def convert_tokens_to_ids(self, tokens):
        """Convert tokens to ids."""
        ids = []
        for token in tokens:
            ids.append(self.vocab.get(token, len(self.vocab)))
        return ids

slot_meta = [
    'restaurant-pricerange',
    'restaurant-area',
    'restaurant-food',
    'hotel-area',
    'hotel-pricerange'
]

last_dialog_state = {
    'restaurant-pricerange': 'expensive',
    'restaurant-area': 'centre',
    'hotel-area': 'west'
}

turn_dialog_state = {
    'restaurant-pricerange': 'moderate',
    'restaurant-area': 'centre',
    'restaurant-food': 'chinese',
    'hotel-area': 'none'
}

tokenizer = SimpleTokenizer()

ARGS = {
    'slot_meta': slot_meta,
    'last_dialog_state': last_dialog_state,
    'turn_dialog_state': turn_dialog_state,
    'tokenizer': tokenizer,
    'op_code': '4',
    'dynamic': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
postprocessing Ran
ran on a synthesized input
clovaai/som-dst/utils/data_utils.py
code served (permissive licence) · get_code("8e92d0edb2ccbc16")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Build a minimal tokenizer stand-in
class MinimalTokenizer:
    def convert_ids_to_tokens(self, token_ids):
        # Convert token ids to token strings
        # Include some special tokens and regular tokens
        token_map = {
            0: '[NULL]',
            1: 'hotel',
            2: 'name',
            3: '[EOS]',
            4: 'the',
            5: '##',
            6: 'grand',
            7: ':',
            8: 'plaza',
        }
        tokens = []
        for tid in token_ids:
            tokens.append(token_map.get(int(tid), f'token_{tid}'))
        return tokens

# Create slot metadata - list of slot names
slot_meta = ['hotel-name', 'hotel-type', 'restaurant-food']

# Create operation predictions - one per slot
ops = ['update', 'delete', 'dontcare']

# Create last dialog state - dict mapping slot to value
last_dialog_state = {
    'hotel-name': 'grand plaza',
    'hotel-type': 'luxury'
}

# Create generated token sequences - list of lists of token ids
# Each inner list corresponds to an 'update' operation
generated = [
    [1, 2, 4, 6, 8, 3],  # First update operation output
]

# Create tokenizer instance
tokenizer = MinimalTokenizer()

# Operation code selector
op_code = '6'  # Supports all operation types: delete, update, dontcare, carryover, yes, no

# Gold generation (optional ground truth for updates)
gold_gen = {}

ARGS = {
    'slot_meta': slot_meta,
    'ops': ops,
    'last_dialog_state': last_dialog_state,
    'generated': generated,
    'tokenizer': tokenizer,
    'op_code': op_code,
    'gold_gen': gold_gen,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_slot_meta Not yet run
unverified (harvested, no recorded run)
clovaai/som-dst/utils/data_utils.py
code served (permissive licence) · get_code("147cea574df5d734")
How it ran

no invocation recorded.

normalize Not yet run
unverified (harvested, no recorded run)
clovaai/som-dst/create_data.py
code served (permissive licence) · get_code("c99ace056d9e2b0b")
How it ran

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, 6 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 5 later) and 3 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
is_ascii 9 other papers
1 dated earlier, 7 later, 1 same year, order not determinable
1911.08151 (2019-11)
Retrospective and Prospective Mixture-of-Generators for Task-oriented Dialogue Response Generation
2005.00796 (2020-05)
A Simple Language Model for Task-Oriented Dialogue
2101.09374 (2021-01)
Slot Self-Attentive Dialogue State Tracking
and 6 more not named here
insertSpace 5 other papers
5 later
2101.09374 (2021-01)
Slot Self-Attentive Dialogue State Tracking
2104.00773 (2021-04)
MultiWOZ 2.4: A Multi-Domain Task-Oriented Dialogue Dataset with Essential Annotation Corrections to Improve State Tracking Evaluation
2106.03521 (2021-06)
REDDITBIAS: A Real-World Resource for Bias Evaluation and Debiasing of Conversational Language Models
and 2 more not named here
normalize 3 other papers
3 later
2106.03521 (2021-06)
REDDITBIAS: A Real-World Resource for Bias Evaluation and Debiasing of Conversational Language Models
2205.10475 (2022-05)
DEEPSTRUCT: Pretraining of Language Models for Structure Prediction
2407.21633 (2024-07)
Zero-Shot Cross-Domain Dialogue State Tracking via Dual Low-Rank Adaptation
compute_acc 1 other paper
1 later
2407.21633 (2024-07)
Zero-Shot Cross-Domain Dialogue State Tracking via Dual Low-Rank Adaptation
compute_prf 1 other paper
1 later
2407.21633 (2024-07)
Zero-Shot Cross-Domain Dialogue State Tracking via Dual Low-Rank Adaptation
fix_general_label_error 1 other paper
1 dated earlier
1907.01669 (2019-07)
MultiWOZ 2.1: A Consolidated Multi-Domain Dialogue Dataset with State Corrections and State Tracking Baselines

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

Recent works in dialogue state tracking (DST) focus on an open vocabulary-based setting to resolve scalability and generalization issues of the predefined ontology-based approaches. However, they are inefficient in that they predict the dialogue state at every turn from scratch. Here, we consider dialogue state as an explicit fixed-sized memory and propose a selectively overwriting mechanism for more efficient DST. This mechanism consists of two steps: (1) predicting state operation on each of the memory slots, and (2) overwriting the memory with new values, of which only a few are generated according to the predicted state operations. Our method decomposes DST into two sub-tasks and guides the decoder to focus only on one of the tasks, thus reducing the burden of the decoder. This enhances the effectiveness of training and DST performance. Our SOM-DST (Selectively Overwriting Memory for Dialogue State Tracking) model achieves state-of-theart joint goal accuracy with 51.72% in Mul-tiWOZ 2.0 and 53.01% in MultiWOZ 2.1 in an open vocabulary-based DST setting. In addition, we analyze the accuracy gaps between the current and the ground truth-given situations and suggest that it is a promising direction to improve state operation prediction to boost the DST performance. 1

For agents

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

get_harvested_code_for_paper("2020.acl-main.53")
get_code_for_paper("2020.acl-main.53")
have("2020.acl-main.53")

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

curl https://syntology.ai/api/ran/2020.acl-main.53.json

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

[![Syntology run record](https://syntology.ai/api/ran/2020.acl-main.53.svg)](https://syntology.ai/paper/2020.acl-main.53)

Connect an agent — have() is free.