Cross-Dialect Sentence Transformation: A Comparative Analysis of Language Models for Adapting Sentences to British English
Paper · 2023 · Shruti Dutta and Shashwat Mookherjee
Summary
The paper tests how well large language models can rewrite sentences from American, Indian and Irish English into Standard British English. The authors built a small parallel set that pairs each dialect sentence with a British reference. The introduction says 200 sentences per dialect, but the results section says 20. Three models were prompted in two steps, a procedure the authors call "promptuning": a seed prompt first describes the source dialect and the target, and then the sentences are given one by one. The models are Llama-2-70B, Falcon-180B and Mistral, which is named both Mistral-1 and Mistral-7B-Instruct-v0.1. Each output is compared with its British reference by cosine similarity. The authors also score the untouched dialect input against the same references. They report Llama-2-70B as the best model and find Indian and Irish input closer to British English than American input. However, the unchanged input already scores 0.81, 0.93 and 0.93, and most model outputs fall below these values. The study is therefore more useful as a task framing and as a lesson in evaluation design than as proof that the models adapt dialects well.
Key points
- Cosine scores (American / Indian / Irish): untouched input 0.81 / 0.93 / 0.93; Llama-2-70B 0.70 / 0.91 / 0.95; Falcon-180B 0.60 / 0.75 / 0.88; Mistral 0.63 / 0.93 / 0.91.
- Only Llama-2-70B on Irish (0.95) beats the do-nothing input, and Mistral only ties it on Indian; on American English every model scores clearly below the unchanged text.
- The data shows typical dialect contrasts:
- lexical pairs such as queue/line, cinema/movies/pictures, peckish/hungry and tea/chai/tae;
- Indian code-mixed items such as bhai, yaar and paisa vasool;
- a sentence-final "na?" rendered as a British tag question.
- Several details are unclear or inconsistent: the dataset size (200 vs 20), the Mistral model name, which embedding the cosine similarity uses, and the Irish table, whose columns appear swapped.
- Planned future work includes more dialects, dialect-specific fine-tuning, human–AI collaboration and metrics designed for dialect translation.
Interesting ideas
- I1. Identity baseline: score the unchanged source against the reference next to every system, so you can see at once whether a transformation helps or harms; here it shows that most outputs are worse than doing nothing.
- I2. Parallel variant table: one meaning written in four varieties (queue/line, pictures/movies/cinema, peckish/hungry) gives a compact map of regional lexical variation.
- I3. Code-mixed loanwords: Indian English sentences mix in words like chai, yaar and bhai, and Irish spelling gives forms like tae; these are exactly the items that trip up standard pipelines.
- I4. Dialect discourse particles: the Indian sentence-final "na?" is turned into a British tag question, which shows that dialects mark confirmation requests in different ways.
- I5. Seed prompt before items: a fixed opening prompt states the source dialect and the target style, and the sentences follow, which keeps the instruction constant across the batch.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (learn): Every repair rule or LLM-teacher rewrite could be checked against a "leave it as is" control, and kept only if it beats that control.
- I2 (world): The ontology could link regional variants such as queue and line to one concept, so the world of a text stays the same whatever dialect it was written in.
- I3 (tokens): The en crate could add lemma and POS entries for common dialect loanwords and spellings, mapping chai to tea and tae to tea, so tagging and lemmas stay stable.
- I4 (frames): The prag crate's speech-act detection could treat particles like "na?" as tag-question equivalents that ask the listener to confirm.
- I5 (learn): LLM teacher tiers could use a fixed seed instruction per dialect or genre, so silver annotations stay consistent and teachers can be compared fairly.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 worksArts and Humanities · 17,450 worksLanguage and Linguistics · 17,296 works
🧭 Topics 2Research subjects and languages the work is about.Language models & pretraining · 3,894 worksEnglish · 2,379 works
Cite
Cite as Shruti Dutta and Shashwat Mookherjee. 2023. Cross-Dialect Sentence Transformation: A Comparative Analysis of Language Models for Adapting Sentences to British English. arXiv:2311.07583.
@misc{dutta2023cross,
title = {{Cross-Dialect Sentence Transformation: A Comparative Analysis of Language Models for Adapting Sentences to British English}},
author = {Shruti Dutta and Shashwat Mookherjee},
year = {2023},
doi = {10.48550/arxiv.2311.07583},
eprint = {2311.07583},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2311.07583}
}References
- Google AI. Llama-2 chat. Hugging Face, 2023. find
- Alexey Baevski, Markus Ott, Sergey Edunov, Michael Auli, Rafal Jozefowicz, and Veselin Stoyanov. Scaling transformer models for neural machine translation. arXiv preprint arXiv:2110.08536, 2021. ↗
- Tom B. Brown, Benjamin Mann, Niki Ryder, Marthe Subbiah, Jared Kaplan, Prafulla Dhariwal, Peter Mishkin, Ilya Chen, Maxwell Burgess, Aidan Diehl, et al. Pathways to agi: A unified approach to scaling language models. arXiv preprint arXiv:2201.08237, 2022. ↗
- Tianyi Chen, Dillon He, Jared Levine, Yuxiong Chen, Rodrigo Remedios, Ye Deng, and Yi Du. Llama: Language models for all. arXiv preprint arXiv:2302.02146, 2023. ↗
- Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The Pile: An 800gb dataset of diverse text for language modeling. arXiv preprint, 2020. URL: https://arxiv.org/abs/2101.00027. ↗
- Technology Innovation Institute. Falcon in huggingface chat. Hugging Face, 2023. find
- Janna Lipenkova. Redefining conversational ai with large language models. 2023. URL: https://towardsdatascience.com/redefining-conversational-ai-with-large-language-models-1ded1 ↗
- Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts, 2023. URL: https://arxiv.org/abs/2307.03172. ↗
- OpenAI. Chatgpt. Hugging Face, 2023. find
- Alec Radford, Sid Narang, Tim Salimans, John Schulman, Dario Amodei, Julian Clark, Karen Simonyan, Ilya Chen, Ilya Sutskever, Koray Kavukcuoglu, et al. Gpt-3.5: Scaling language models for massive code generation. arXiv preprint arXiv:2201.08237, 2022. ↗
- Facebook AI Research. Mistral in huggingface chat. Hugging Face, 2023. [7] [8] [5] [4] [3] [2] [10] [9] [1] [11] [6] find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/dutta-2023-cross-dialect-sentence-transformation-comparative/