Documentation

Studies.ZaslavskyKempRegierTishby2018

Zaslavsky, Kemp, Regier and Tishby (2018): Efficient Compression in Color Naming #

This file formalizes the communication model of [ZKRT18], in which a color naming system is an encoder that compresses meanings, distributions over the colors of the environment, into words, and languages are hypothesized to trade off the complexity of the lexicon against the accuracy of communication as the Information Bottleneck principle of [TPB99] prescribes. The meanings are a Markov kernel from M to the environment U, the cognitive source a probability measure on M, and the encoder a Markov kernel from M to the words W. The listener is the Bayesian decoder, interpreting a word as the posterior mixture of meanings (decoder), and no other decoder has lower expected distortion (distortion_le). Complexity is the information the words carry about the meanings (complexity), accuracy the information they carry about the environment (accuracy), and the expected Kullback–Leibler distortion between the speaker's meaning and the listener's interpretation is the information about the environment that the lexicon loses (distortion_eq), so that minimizing distortion is maximizing accuracy. Accuracy is bounded by complexity and by the information the meanings carry (accuracy_le_complexity, accuracy_le_sourceInfo), and a lexicon that ignores the meaning has complexity 0 (complexity_const).

The Information Bottleneck objective F_β = I(M;W) − β I(W;U) (objective) is, up to a constant, the β-scalarized cost of Pragmatics.Efficiency on the pair of distortion and complexity (objective_eq_weightedCost), and a language's deviation from optimality at β is the substrate's efficiencyLossAt (deviation_eq_efficiencyLossAt). Below β = 1 the meaning-blind lexicon is optimal (objective_const_le). Every minimizer of F_β has the self-consistent Boltzmann form in which a word's probability decays exponentially in its divergence from the meaning (ibUpdate, IsIBOptimum, isIBOptimum_of_forall_objective_le), so that at finite β the optimal categories are soft (IsIBOptimum.real_pos).

The cognitive source is the least informative source of the SI (§2). A least informative prior of a naming distribution maximizes the entropy of the meaning less its conditional entropy given the word (IsLeastInformative, eq. S10); that objective is the complexity of the lexicon (measureEntropy_sub_condEntropy, eq. S11), so the least informative priors are the capacity-achieving priors (isLeastInformative_iff) and, with positive mass everywhere, the fixed points of the Blahut–Arimoto update of [Bla72] and [Ari72] (IsLeastInformative.eq_blahutArimoto). The complexity is also the word average of the divergence of the posterior from the prior (complexity_eq_sum_klDiv_posterior, eq. S12), and the universal source averages the least informative priors of the languages (averagePrior, eq. S13).

Implementation notes #

References #

The Bayesian listener #

noncomputable def ZaslavskyKempRegierTishby2018.decoder {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :
ProbabilityTheory.Kernel W U

The listener's interpretation of a word (eq. 1), the posterior mixture of meanings m̂_w(u) = ∑ m, q(m | w) m(u).

Equations
Instances For
    instance ZaslavskyKempRegierTishby2018.instIsMarkovKernelDecoder {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :
    ProbabilityTheory.IsMarkovKernel (decoder meanings source encoder)
    theorem ZaslavskyKempRegierTishby2018.decoder_comp {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :
    (source.bind ⇑encoder).bind ⇑(decoder meanings source encoder) = source.bind ⇑meanings

    The interpretations, weighted by the word marginal, recover the environment marginal.

    Complexity, accuracy and distortion #

    noncomputable def ZaslavskyKempRegierTishby2018.complexity {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] (source : MeasureTheory.Measure M) (encoder : ProbabilityTheory.Kernel M W) :
    ℝ

    The complexity of the lexicon, I_q(M;W).

    Equations
    Instances For
      noncomputable def ZaslavskyKempRegierTishby2018.accuracy {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :
      ℝ

      The accuracy of the lexicon, I_q(W;U), between a word and the listener's interpretation.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def ZaslavskyKempRegierTishby2018.sourceInfo {U : Type u_1} {M : Type u_2} [MeasurableSpace U] [MeasurableSpace M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) :
        ℝ

        The information the meanings carry about the environment, I(M;U), independent of the encoder.

        Equations
        Instances For
          noncomputable def ZaslavskyKempRegierTishby2018.distortion {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :
          ℝ

          The expected distortion E_q[D[m ‖ m̂_w]] between the speaker's meaning and the listener's interpretation (eq. 4).

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem ZaslavskyKempRegierTishby2018.complexity_eq {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] :
            complexity source encoder = ∑ m : M, source.real {m} * (InformationTheory.klDiv (encoder m) (source.bind ⇑encoder)).toReal

            Complexity in the paper's form (eq. 2): the source average of the divergence of each meaning's naming distribution from the word marginal.

            theorem ZaslavskyKempRegierTishby2018.complexity_const {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] [Fintype W] [MeasurableSingletonClass W] (ν : MeasureTheory.Measure W) [MeasureTheory.IsProbabilityMeasure ν] :
            complexity source (ProbabilityTheory.Kernel.const M ν) = 0

            A lexicon that ignores the meaning, such as a single word for every meaning, has the minimal complexity 0.

            theorem ZaslavskyKempRegierTishby2018.distortion_eq {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] :
            distortion meanings source encoder = sourceInfo meanings source - accuracy meanings source encoder

            Eq. 5: the expected distortion is the information about the environment that the lexicon loses, E_q[D[M ‖ M̂]] = I(M;U) − I_q(W;U).

            theorem ZaslavskyKempRegierTishby2018.distortion_le {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] (d : ProbabilityTheory.Kernel W U) [ProbabilityTheory.IsMarkovKernel d] (hd : ∀ (m : M) (w : W), (meanings m).AbsolutelyContinuous (d w)) :
            distortion meanings source encoder ≤ ∫ (p : M × W), (InformationTheory.klDiv (meanings p.1) (d p.2)).toReal ∂source.compProd encoder

            The Bayesian listener of eq. 1 is optimal: no decoder whose interpretations allow every state that a meaning allows has lower expected distortion.

            The information plane #

            theorem ZaslavskyKempRegierTishby2018.accuracy_le_sourceInfo {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] :
            accuracy meanings source encoder ≤ sourceInfo meanings source

            Accuracy is bounded by the information the meanings carry about the environment.

            theorem ZaslavskyKempRegierTishby2018.accuracy_le_complexity {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] :
            accuracy meanings source encoder ≤ complexity source encoder

            Accuracy is bounded by complexity: the words carry no more information about the environment than about the meanings they compress.

            The Information Bottleneck objective #

            noncomputable def ZaslavskyKempRegierTishby2018.objective {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (β : ℝ) :
            ℝ

            The Information Bottleneck objective (eq. 6), F_β = I_q(M;W) − β I_q(W;U).

            Equations
            Instances For
              noncomputable def ZaslavskyKempRegierTishby2018.costPair {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] :

              The distortion–complexity cost pair of the lexicon.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem ZaslavskyKempRegierTishby2018.objective_eq_weightedCost {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] (β : ℝ) :
                objective meanings source encoder β = Pragmatics.Efficiency.weightedCost (costPair meanings source encoder) β - β * sourceInfo meanings source

                Up to the encoder-independent constant β I(M;U), the objective is the β-scalarized cost of distortion and complexity.

                theorem ZaslavskyKempRegierTishby2018.objective_const_le {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] (ν : MeasureTheory.Measure W) [MeasureTheory.IsProbabilityMeasure ν] {β : ℝ} (hβ : β ≤ 1) :
                objective meanings source (ProbabilityTheory.Kernel.const M ν) β ≤ objective meanings source encoder β

                For β ≤ 1 the objective is minimized by a lexicon that ignores the meaning, at 0: the IB optima are informative only above β = 1, and eq. 6 takes β ≥ 1.

                noncomputable def ZaslavskyKempRegierTishby2018.ibUpdate {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (β : ℝ) :
                ProbabilityTheory.Kernel M W

                The right side of eq. 7: the encoder whose row at a meaning tilts the word marginal by −β times the divergence of the meaning from each word's interpretation.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem ZaslavskyKempRegierTishby2018.ibUpdate_apply {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (β : ℝ) (m : M) :
                  (ibUpdate meanings source encoder β) m = (source.bind ⇑encoder).tilted fun (w : W) => -β * (InformationTheory.klDiv (meanings m) ((decoder meanings source encoder) w)).toReal
                  instance ZaslavskyKempRegierTishby2018.instIsMarkovKernelIbUpdate {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] (β : ℝ) :
                  ProbabilityTheory.IsMarkovKernel (ibUpdate meanings source encoder β)
                  def ZaslavskyKempRegierTishby2018.IsIBOptimum {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (β : ℝ) :

                  The self-consistent form of the Information Bottleneck optima (eq. 7): the encoder is its own update.

                  Equations
                  Instances For
                    theorem ZaslavskyKempRegierTishby2018.ibUpdate_real_singleton {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] (β : ℝ) (m : M) (w : W) :
                    ((ibUpdate meanings source encoder β) m).real {w} = (source.bind ⇑encoder).real {w} * Real.exp (-β * (InformationTheory.klDiv (meanings m) ((decoder meanings source encoder) w)).toReal) / ∑ w' : W, (source.bind ⇑encoder).real {w'} * Real.exp (-β * (InformationTheory.klDiv (meanings m) ((decoder meanings source encoder) w')).toReal)

                    Eq. 7 pointwise: each word's probability decays exponentially, at rate β, in the divergence between the meaning and the word's interpretation.

                    theorem ZaslavskyKempRegierTishby2018.IsIBOptimum.real_pos {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] {β : ℝ} (h : IsIBOptimum meanings source encoder β) {w : W} (hw : (source.bind ⇑encoder) {w} ≠ 0) (m : M) :
                    0 < (encoder m).real {w}

                    At finite β the IB optima induce soft categories: a word in use has positive probability under every meaning.

                    theorem ZaslavskyKempRegierTishby2018.isIBOptimum_of_forall_objective_le {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] {β : ℝ} (hβ : 0 ≤ β) (hsource : ∀ (m : M), source {m} ≠ 0) (hmeanings : ∀ (m : M) (u : U), (meanings m) {u} ≠ 0) (hmin : ∀ (q : ProbabilityTheory.Kernel M W) [inst : ProbabilityTheory.IsMarkovKernel q], objective meanings source encoder β ≤ objective meanings source q β) :
                    IsIBOptimum meanings source encoder β

                    Eq. 7: for a source and meanings of full support, every minimizer of the objective at β ≥ 0 has the self-consistent Boltzmann form.

                    noncomputable def ZaslavskyKempRegierTishby2018.deviation {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (encoder' : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder'] (β : ℝ) :
                    ℝ

                    The deviation ΔF_β of the lexicon from a reference encoder at β.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      theorem ZaslavskyKempRegierTishby2018.deviation_eq_efficiencyLossAt {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) [ProbabilityTheory.IsMarkovKernel meanings] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype U] [Fintype W] [MeasurableSingletonClass U] [MeasurableSingletonClass W] (encoder' : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder'] (β : ℝ) :
                      deviation meanings source encoder encoder' β = Pragmatics.Efficiency.efficiencyLossAt (costPair meanings source encoder) (costPair meanings source encoder') β

                      The deviation of the lexicon from a reference encoder over the same meanings and source is the substrate's efficiency loss at β.

                      noncomputable def ZaslavskyKempRegierTishby2018.efficiencyLoss {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (encoder' : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder'] (β : ℝ) :
                      ℝ

                      The efficiency loss ε_l = ΔF_{β_l} / β_l at the fitted trade-off.

                      Equations
                      Instances For
                        theorem ZaslavskyKempRegierTishby2018.efficiencyLoss_nonneg {U : Type u_1} {M : Type u_2} {W : Type u_3} [MeasurableSpace U] [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (meanings : ProbabilityTheory.Kernel M U) (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] (encoder' : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder'] {β : ℝ} (hβ : 0 < β) (hmin : ∀ (q : ProbabilityTheory.Kernel M W) [inst : ProbabilityTheory.IsMarkovKernel q], objective meanings source encoder' β ≤ objective meanings source q β) :
                        0 ≤ efficiencyLoss meanings source encoder encoder' β

                        Against an optimal encoder at a positive β, the efficiency loss is nonnegative.

                        The least informative source #

                        def ZaslavskyKempRegierTishby2018.IsLeastInformative {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] (source : MeasureTheory.Measure M) (encoder : ProbabilityTheory.Kernel M W) :

                        A least informative prior for a naming distribution (SI eq. S10): a prior over the meanings maximizing the entropy of the meaning less its conditional entropy given the word.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem ZaslavskyKempRegierTishby2018.measureEntropy_sub_condEntropy {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] :
                          InformationTheory.measureEntropy source - InformationTheory.condEntropy Prod.fst Prod.snd (source.compProd encoder) = complexity source encoder

                          SI eq. S11: the objective of a least informative prior is the complexity of the lexicon under that prior, the information the words carry about the meanings.

                          theorem ZaslavskyKempRegierTishby2018.isLeastInformative_iff {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] :
                          IsLeastInformative source encoder ↔ complexity source encoder = InformationTheory.channelCapacity encoder

                          SI eq. S11: the least informative priors are the capacity-achieving priors of the naming distribution, under which the lexicon is maximally complex.

                          theorem ZaslavskyKempRegierTishby2018.complexity_eq_sum_klDiv_posterior {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] :
                          complexity source encoder = ∑ w : W, (source.bind ⇑encoder).real {w} * (InformationTheory.klDiv ((ProbabilityTheory.posterior encoder source) w) source).toReal

                          SI eq. S12: the complexity is the word average of the divergence of the posterior over meanings from the prior, so a least informative prior keeps the posteriors as far from it as the lexicon allows.

                          theorem ZaslavskyKempRegierTishby2018.IsLeastInformative.eq_blahutArimoto {M : Type u_2} {W : Type u_3} [MeasurableSpace M] [MeasurableSpace W] [Fintype M] [MeasurableSingletonClass M] [Nonempty M] (source : MeasureTheory.Measure M) [MeasureTheory.IsProbabilityMeasure source] (encoder : ProbabilityTheory.Kernel M W) [ProbabilityTheory.IsMarkovKernel encoder] [Fintype W] [MeasurableSingletonClass W] (h : IsLeastInformative source encoder) (hsource : ∀ (m : M), source {m} ≠ 0) :
                          source = InformationTheory.blahutArimoto encoder source

                          A least informative prior "can be evaluated using the Blahut–Arimoto algorithm" (SI §2.1): one of positive mass everywhere is a fixed point of the Blahut–Arimoto update.

                          noncomputable def ZaslavskyKempRegierTishby2018.averagePrior {M : Type u_2} [MeasurableSpace M] {L : ℕ} (priors : Fin L → MeasureTheory.Measure M) :
                          MeasureTheory.Measure M

                          SI eq. S13: the universal least informative source averages the least informative priors of L languages.

                          Equations
                          Instances For
                            instance ZaslavskyKempRegierTishby2018.instIsProbabilityMeasureAveragePriorOfNeZeroNat {M : Type u_2} [MeasurableSpace M] {L : ℕ} [NeZero L] (priors : Fin L → MeasureTheory.Measure M) [∀ (l : Fin L), MeasureTheory.IsProbabilityMeasure (priors l)] :
                            MeasureTheory.IsProbabilityMeasure (averagePrior priors)