Research map / Large language models / Language, safety and interpretability
Estimating Code-Switching on Twitter with a Novel Generalized Word-Level Language Detection Technique
Shruti Rijhwani, Royal Sequiera, Monojit Choudhury, Kalika Bali, Chandra Sekhar Maddila
Carnegie Mellon University · University of Waterloo · Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add Baum-Welch reestimation on unlabeled tweets U (ablation) | GWLD HMM · Test set (7 languages) | word-level accuracy: 0.838 -> 0.963 | Improved |
| add Baum-Welch reestimation on unlabeled tweets U (ablation) | GWLD HMM · Test set | L2 word-level accuracy: 0.43 -> 0.82 | Improved |
| add word-level HMM instead of tweet-level LD systems | LANGID / POLYGLOT / LINGUINI · Test set | L1L2Acc: 0.830 -> 0.914 (vs LANGID) | Improved |
| use 7-language GWLD vs state of the art on en-es | Al-Badrashiny and Diab (2016) · en-es tokens | F1: 0.964 -> 0.978 | Improved |
| use GWLD vs state of the art on nl-tr | Nguyen and Dogruoz (2013) · nl-tr test | accuracy: 0.976 -> 0.936 | Hurt |
| shrink weakly-labeled set W to 0.25% (250 tweets per language) (ablation) | GWLD · Test set | accuracy: about 0.96 | No clear effect |
| shrink unlabeled set U to 0.25% (about 1,400 tweets) (ablation) | GWLD · Test set | accuracy: lower than 0.91 | Hurt |
| add noise to W (90% noise, 7 languages) (ablation) | GWLD · Test set | accuracy: down to 0.11 | Hurt |
| add 50% noise to W in pairwise model (ablation) | pairwise GWLD · Test set | accuracy: falls to 0.36 | Hurt |
| train on 7 languages instead of 2 languages (ablation) | GWLD · nl-en, fr-en, pt-en, de-en, tr-en, nl-tr | accuracy: e.g. nl-en 0.979 -> 0.967 | Hurt |
Open problems in zero-shot machine-text detection
Do zero-shot machine-text detectors still work on new languages, mixed authorship, attacks and newer LLMs, and at what cost?
- Most detectors are tested on English and a few other languages only. · 21 papers state it
- Robustness to adaptive paraphrasing and evasion attacks is untested. · 8 papers state it
- Text written or edited by both humans and machines is not handled. · 7 papers state it
Closest papers by meaning
- Improved Sentiment Detection via Label Transfer from Monolingual to Synthetic Code-Switched Text (ACL 2019 · similarity 0.88)
- Code-Switching Information Retrieval: Benchmarks, Analysis, and the Limits of Current Retrievers (ACL 2026 · similarity 0.88)
- Subword-Level Language Identification for Intra-Word Code-Switching (NAACL 2019 · similarity 0.88)
- The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challenges (ACL 2023 · similarity 0.88)
- SwitchLingua: The First Large-Scale Multilingual and Multi-Ethnic Code-Switching Dataset (NeurIPS 2025 · similarity 0.86)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.