<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Amir Joudaki on CuriousCoding</title><link>https://curiouscoding.nl/authors/amir-joudaki/</link><description>Recent content in Amir Joudaki on CuriousCoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 14 Oct 2022 00:00:00 +0200</lastBuildDate><atom:link href="https://curiouscoding.nl/authors/amir-joudaki/index.xml" rel="self" type="application/rss+xml"/><item><title>Tensor embedding preserves Hamming distance</title><link>https://curiouscoding.nl/posts/tensor-embedding-distance/</link><pubDate>Fri, 14 Oct 2022 00:00:00 +0200</pubDate><guid>https://curiouscoding.nl/posts/tensor-embedding-distance/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="#definitions" &gt;Definitions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#proof-of-lemma-1" &gt;Proof of Lemma 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#proof-of-lemma-2" &gt;&lt;span class="org-todo todo TODO"&gt;TODO&lt;/span&gt; Proof of Lemma 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;This is a proof that Tensor Embedding&#10;(&lt;a href="#citeproc_bib_item_3"&gt;Joudaki, Rätsch, and Kahles 2020&lt;/a&gt;) with $ℓ^2$-norm preserves the Hamming distance.&lt;/p&gt;&#10;&lt;p&gt;This is in collaboration with Amir Joudaki.&lt;/p&gt;&#10;&lt;p&gt;\begin{equation*}&#10;\newcommand{\I}{\mathcal I}&#10;\newcommand{\EE}{\mathbb E}&#10;\newcommand{\var}{\operatorname{Var}}&#10;\end{equation*}&lt;/p&gt;&#10;&lt;h2 id="definitions"&gt;&#10; Definitions&#10; &lt;a class="heading-link" href="#definitions"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;dl&gt;&#10;&lt;dt&gt;Notation&lt;/dt&gt;&#10;&lt;dd&gt;&lt;ul&gt;&#10;&lt;li&gt;The alphabet is \(\Sigma\), of size \(|\Sigma| = \sigma\).&lt;/li&gt;&#10;&lt;li&gt;The set of indices is \(\I := \{(i_1, \dots, i_t) \in [n]^t: i_1 &amp;lt; \dots &amp;lt; i_t\}\).&lt;/li&gt;&#10;&lt;li&gt;Given a string \(a_1\dots a_n = a\in \Sigma^n\), we define the &lt;em&gt;$I$-index&lt;/em&gt; as&#10;\(a_I = (a_{i_1}, \dots, a_{i_t})\).&lt;/li&gt;&#10;&lt;li&gt;We write \([ X ]\) for the indicator variable of event \(X\), which is \(1\) when&#10;\(X\) holds and \(0\) otherwise.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/dd&gt;&#10;&lt;dt&gt;Definition 1: Tensor embedding&lt;/dt&gt;&#10;&lt;dd&gt;Given \(a\in \Sigma^n\), the &lt;em&gt;tensor embedding&lt;/em&gt; \(T_a\) is the \(\sigma^t\) tensor&#10;given by \(T_a[s] = \sum_{I\in \I} [A_I = s]\) for each \(s\in \Sigma^t\).&#10;&lt;p&gt;The &lt;em&gt;normalized tensor embedding distance&lt;/em&gt; \(d_{te}\) between two sequences \(a\)&#10;and \(b\) is defined as&lt;/p&gt;</description></item></channel></rss>