{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2609-03321","title":"Decoupling Turn-Taking from Semantics: A Decoupled Data Approach for Finite-State-Machine-Based Full-Duplex Dialogue","arxiv_id":"2609.03321","date":"2026-09-03","proceeding":null,"authors":["Yihang Li","Chenhui Chu"],"abstract":"The Neural Finite State Machine (NFSM) framework offers a pragmatic path to full-duplex dialogue by serializing turn-taking control and response generation onto a single causal tape under the standard next-token prediction objective, thereby preserving semantic prowess at a low fine-tuning cost. However, its reliance on synthetic text data fundamentally limits turn-taking naturalness, as Large Language Models (LLMs) cannot faithfully simulate the fine-grained acoustic temporal dynamics of real human dialogues. In this work, we propose a decoupled data approach that learns turn-taking from real Human-Human (HH) spoken dialogues while shaping semantic behavior through configurable Human-Agent (HA) text dialogues. To operationalize this approach, we introduce a rule-based event-guided data transformation method that serializes HH spoken dialogues into FSM tapes by classifying turn-taking events and applying deterministic mapping rules, enabling scalable supervision without LLM-generated annotations. We further propose a Source-Aware Calibrated (SAC) Loss that jointly calibrates the long-tailed distribution of state transition tokens and channels each data source toward the capability it best supervises. Experiments show that our approach substantially improves turn-taking proficiency while recovering the foundation LLM's semantic capability. Our code and model are available at https://github.com/Liyht/def-fsm.","url_abs":"https://arxiv.org/abs/2609.03321","url_pdf":"https://arxiv.org/pdf/2609.03321","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2609.03321","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.03321"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Liyht/def-fsm","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":11},"by_repo_kind":{"found_in_text":{"samples":11,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"44234c75f64635b8","entry":"compute_all_logit_adjusted_loss","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"training/loss.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/training/loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"44234c75f64635b8"}},{"code_sha256_prefix":"1955754de56f44ac","entry":"compute_balanced_loss","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"training/loss.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/training/loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1955754de56f44ac"}},{"code_sha256_prefix":"f5950f968ee6250f","entry":"compute_logit_adjusted_loss","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"training/loss.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/training/loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f5950f968ee6250f"}},{"code_sha256_prefix":"2c1d9a607d1536e2","entry":"expand","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/paths.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/paths.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2c1d9a607d1536e2"}},{"code_sha256_prefix":"112090c3efa02c66","entry":"expand_config","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/paths.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/paths.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"112090c3efa02c66"}},{"code_sha256_prefix":"cc1587aac1e6e488","entry":"get_completed_ids","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"data_transformation/fsm_data_generation.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/data_transformation/fsm_data_generation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cc1587aac1e6e488"}},{"code_sha256_prefix":"8a8a67a6dc12c6a9","entry":"is_meaningful_text","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/utils.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8a8a67a6dc12c6a9"}},{"code_sha256_prefix":"5fb0be001574d39f","entry":"is_punctuation","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/utils.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5fb0be001574d39f"}},{"code_sha256_prefix":"c552b2f96be5c4f0","entry":"load_paths","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/paths.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/paths.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c552b2f96be5c4f0"}},{"code_sha256_prefix":"ad89c9c7c45ef22d","entry":"load_tape_data","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"evaluation/fsm_bench/fsm_bench.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/evaluation/fsm_bench/fsm_bench.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ad89c9c7c45ef22d"}},{"code_sha256_prefix":"6bc11bb73cfc2665","entry":"system_prompt_fillin","repo":"Liyht/def-fsm","repo_kind":"found_in_text","path":"def_fsm/utils.py","file_url":"https://github.com/Liyht/def-fsm/blob/HEAD/def_fsm/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6bc11bb73cfc2665"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_daily_20260904.json"},"syntology_extracted_results":null}