{"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-02133","title":"EmoStance: Response-Side Affective-Orientation Control for Empathetic Response Generation via Emoji Weak Supervision","arxiv_id":"2609.02133","date":"2026-09-02","proceeding":null,"authors":["Ziyuan Jin","Yuxuan Ge","Zheng Tian"],"abstract":"Empathetic response generation requires models to decide not only what to say, but also how to respond to the previous speaker's affective situation. We formulate this as response-side affective-orientation control and use multi-annotator emoji distributions as weak affective--attitudinal evidence, rather than as output symbols or gold labels, to induce a latent control space that operationally approximates listener stance. We construct EmojiDialogue, an utterance-level extension of EmpatheticDialogues with emoji votes and confidence scores, and propose EmoStance, which models source-side affective expression, predicts a soft response-side orientation from dialogue context and speaker roles, and steers a frozen instruction-tuned LLM through continuous prefix embeddings. In blind pairwise evaluation with 20 annotators and 800 judgments, EmoStance achieves a 62.2% decisive win rate, with the clearest gains in contextual specificity and perceived responsiveness, while remaining complementary to external-knowledge methods. Code, annotation metadata, and reconstruction scripts are available in our GitHub repository: https://github.com/18277390221/EmoStance.","url_abs":"https://arxiv.org/abs/2609.02133","url_pdf":"https://arxiv.org/pdf/2609.02133","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.02133","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.02133"}},"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/18277390221/EmoStance","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":30},"by_repo_kind":{"found_in_text":{"samples":30,"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":"fb7d3e0538660a38","entry":"adjust_c7_distribution","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/apply_c7_gate_prepared.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/apply_c7_gate_prepared.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fb7d3e0538660a38"}},{"code_sha256_prefix":"fc20078984ec33f7","entry":"aligned_predicted_rows","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/generate_and_score_controls.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/generate_and_score_controls.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fc20078984ec33f7"}},{"code_sha256_prefix":"ada7b9c6281d9c8e","entry":"as_float_list","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/generate_and_rerank.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/generate_and_rerank.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ada7b9c6281d9c8e"}},{"code_sha256_prefix":"cd6d18ffdbbab682","entry":"c7_block","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_c7_gate.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_c7_gate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cd6d18ffdbbab682"}},{"code_sha256_prefix":"53277ad72025e469","entry":"canonical_model_name","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/build_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/build_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"53277ad72025e469"}},{"code_sha256_prefix":"2bdfc3cbe03469b0","entry":"choose_dir","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/validate_audit_outputs.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/validate_audit_outputs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2bdfc3cbe03469b0"}},{"code_sha256_prefix":"1a39fe5d98dfbdbb","entry":"clean_ed_text","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/build_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/build_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1a39fe5d98dfbdbb"}},{"code_sha256_prefix":"132a6bdf7b2a4be4","entry":"confidence_bin","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/aggregate_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/aggregate_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"132a6bdf7b2a4be4"}},{"code_sha256_prefix":"7237fa9480febc69","entry":"evaluate_split","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_generator_control.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_generator_control.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7237fa9480febc69"}},{"code_sha256_prefix":"515052b80ca3cfbe","entry":"extract_packages","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/validate_audit_outputs.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/validate_audit_outputs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"515052b80ca3cfbe"}},{"code_sha256_prefix":"ca7274aa6d3462df","entry":"majority_label","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/aggregate_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/aggregate_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ca7274aa6d3462df"}},{"code_sha256_prefix":"3467a918a3f3c7fb","entry":"mix_active_prototype_vectors","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/apply_c7_gate_prepared.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/apply_c7_gate_prepared.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3467a918a3f3c7fb"}},{"code_sha256_prefix":"18f955e7c6c0319f","entry":"ngrams","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_text_quality.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_text_quality.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"18f955e7c6c0319f"}},{"code_sha256_prefix":"8e6e5a4c2296776f","entry":"normalize_key","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/build_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/build_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e6e5a4c2296776f"}},{"code_sha256_prefix":"e69019ecdf41bb34","entry":"normalize_role","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/data.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e69019ecdf41bb34"}},{"code_sha256_prefix":"bab0cb1529f07ad7","entry":"onehot","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/counterfactual_cluster_controls.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/counterfactual_cluster_controls.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bab0cb1529f07ad7"}},{"code_sha256_prefix":"b221cf53f439a643","entry":"parse_int_list","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/counterfactual_cluster_controls.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/counterfactual_cluster_controls.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b221cf53f439a643"}},{"code_sha256_prefix":"2a82d2b7c8c85f48","entry":"parse_splits","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/apply_c7_gate_prepared.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/apply_c7_gate_prepared.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a82d2b7c8c85f48"}},{"code_sha256_prefix":"edff946a345050ec","entry":"parse_splits","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/counterfactual_cluster_controls.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/counterfactual_cluster_controls.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"edff946a345050ec"}},{"code_sha256_prefix":"bd764a8b6e53bf96","entry":"read_export","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/aggregate_human_audit.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/aggregate_human_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bd764a8b6e53bf96"}},{"code_sha256_prefix":"f7e52bef516b48b7","entry":"read_json","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/data.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f7e52bef516b48b7"}},{"code_sha256_prefix":"33d006261b75ac74","entry":"read_jsonl","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_text_quality.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_text_quality.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"33d006261b75ac74"}},{"code_sha256_prefix":"d0085de5b59c608f","entry":"read_records","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/data.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d0085de5b59c608f"}},{"code_sha256_prefix":"822eaf0381d83a9d","entry":"safe_ppl","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_generator_control.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_generator_control.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"822eaf0381d83a9d"}},{"code_sha256_prefix":"4c3a9c57b2b6fc80","entry":"select_rows","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/generate_and_score_controls.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/generate_and_score_controls.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4c3a9c57b2b6fc80"}},{"code_sha256_prefix":"e9dbc94f12bd1612","entry":"split_seed","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/generate_and_rerank.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/generate_and_rerank.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e9dbc94f12bd1612"}},{"code_sha256_prefix":"c6e3fb7b29530122","entry":"tokenize","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_text_quality.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_text_quality.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c6e3fb7b29530122"}},{"code_sha256_prefix":"6ced7b06093865a4","entry":"top1","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/generate_and_rerank.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/generate_and_rerank.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6ced7b06093865a4"}},{"code_sha256_prefix":"7acf31f14da16743","entry":"top_distribution","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"src/latent_stance_control/evaluate_c7_gate.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/src/latent_stance_control/evaluate_c7_gate.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7acf31f14da16743"}},{"code_sha256_prefix":"3056de7b620e0ec4","entry":"visible_ui_text","repo":"18277390221/EmoStance","repo_kind":"found_in_text","path":"data_eval/validate_audit_outputs.py","file_url":"https://github.com/18277390221/EmoStance/blob/HEAD/data_eval/validate_audit_outputs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3056de7b620e0ec4"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.AI","source":"arxiv_daily_20260903.json"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}