Giter VIP home page Giter VIP logo

zhengxiangshi / lexicalentrainment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.48 MB

[Findings of EMNLP 2023] This is the repository for the paper titled "Lexical Entrianment for Conversation Systems"

Home Page: https://arxiv.org/abs/2310.09651

conversational-ai dialogue-generation dialogue-systems entrainment language-model lexical-analysis lexical-entrainment machine-learning natural-language-processing

lexicalentrainment's Introduction

Lexical Entrainment for Conversation Systems

This repository provides the code for the Findings of the EMNLP 2023 paper titled Lexical Entrainment for Conversation Systems, making the integration of our code contributions into other projects more accessible.

arxiv-link made-with-pytorch License: MIT


Quick Links

Overview

You can reproduce the experiments of our paper Lexical Entrainment for Conversation Systems.

Abstract

Conversational agents have become ubiquitous in assisting with daily tasks, and are expected to possess human-like features. One such feature is lexical entrainment (LE), a phenomenon in which speakers in human-human conversations tend to naturally and subconsciously align their lexical choices with those of their interlocutors, leading to more successful and engaging conversations. As an example, if a digital assistant replies “Your appointment for Jinling Noodle Pub is at 7 pm” to the question “When is my reservation for Jinling Noodle Bar today?”, it may feel as though the assistant is trying to correct the speaker, whereas a response of “Your reservation for Jinling Noodle Bar is at 7 pm” would likely be perceived as more positive. This highlights the importance of LE in establishing a shared terminology for maximum clarity and reducing ambiguity in conversations. However, we demonstrate in this work that current response generation models do not adequately address this crucial humanlike phenomenon. To address this, we propose a new dataset, named MULTIWOZ-ENTR, and a measure for LE for conversational systems. Additionally, we suggest a way to explicitly integrate LE into conversational systems with two new tasks, a LE extraction task and a LE generation task. We also present two baseline approaches for the LE extraction task, which aim to detect LE expressions from dialogue contexts.

1. Requirements

Python
torch
nltk

2. MultiWOZ-ENTR datasets

Please refer to the folder MultiWOZ-ENTR for the details of the dataset.

Bugs or questions?

If you have any questions regarding the code or the paper, please feel free to reach out to Zhengxiang at [email protected]. If you experience any difficulties while using the code or need to report a bug, feel free to open an issue. We kindly ask that you provide detailed information about the problem to help us provide effective support.

Citation

@inproceedings{shi-etal-2023-lexical,
title={Lexical Entrainment for Conversation Systems},
author={Shi, Zhengxiang and Sen, Procheta and Lipani, Aldo},
booktitle={Findings of the Association for Computational Linguistics: EMNLP 2023},
year={2023},
publisher={Association for Computational Linguistics},
url={https://arxiv.org/abs/2310.09651},
}

lexicalentrainment's People

Contributors

zhengxiangshi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.