Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1906.01545

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Computation and Language

arXiv:1906.01545 (cs)
[Submitted on 4 Jun 2019 (v1), last revised 29 May 2020 (this version, v4)]

Title:Optimal coding and the origins of Zipfian laws

Authors:Ramon Ferrer-i-Cancho, Christian Bentz, Caio Seguin
View a PDF of the paper titled Optimal coding and the origins of Zipfian laws, by Ramon Ferrer-i-Cancho and 1 other authors
View PDF
Abstract:The problem of compression in standard information theory consists of assigning codes as short as possible to numbers. Here we consider the problem of optimal coding -- under an arbitrary coding scheme -- and show that it predicts Zipf's law of abbreviation, namely a tendency in natural languages for more frequent words to be shorter. We apply this result to investigate optimal coding also under so-called non-singular coding, a scheme where unique segmentation is not warranted but codes stand for a distinct number. Optimal non-singular coding predicts that the length of a word should grow approximately as the logarithm of its frequency rank, which is again consistent with Zipf's law of abbreviation. Optimal non-singular coding in combination with the maximum entropy principle also predicts Zipf's rank-frequency distribution. Furthermore, our findings on optimal non-singular coding challenge common beliefs about random typing. It turns out that random typing is in fact an optimal coding process, in stark contrast with the common assumption that it is detached from cost cutting considerations. Finally, we discuss the implications of optimal coding for the construction of a compact theory of Zipfian laws and other linguistic laws.
Comments: in press in the Journal of Quantitative Linguistics; definition of concordant pair corrected, proofs polished, references updated
Subjects: Computation and Language (cs.CL); Information Theory (cs.IT); Physics and Society (physics.soc-ph)
Cite as: arXiv:1906.01545 [cs.CL]
  (or arXiv:1906.01545v4 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.1906.01545
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1080/09296174.2020.1778387
DOI(s) linking to related resources

Submission history

From: Ramon Ferrer i Cancho [view email]
[v1] Tue, 4 Jun 2019 16:03:18 UTC (421 KB)
[v2] Fri, 5 Jul 2019 06:29:57 UTC (423 KB)
[v3] Thu, 19 Dec 2019 16:09:39 UTC (433 KB)
[v4] Fri, 29 May 2020 16:32:11 UTC (433 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Optimal coding and the origins of Zipfian laws, by Ramon Ferrer-i-Cancho and 1 other authors
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.CL
< prev   |   next >
new | recent | 2019-06
Change to browse by:
cs
cs.IT
math
math.IT
physics
physics.soc-ph

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Ramon Ferrer-i-Cancho
Christian Bentz
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack