<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet href="/feed.xsl" type="text/xsl"?><feed xmlns="http://www.w3.org/2005/Atom"><title>Tag: Feature Map - Nguyen Cung Thanh</title><id>https://nguyencungthanh.github.io/tags/feature-map/</id><link href="https://nguyencungthanh.github.io/tags/feature-map/" rel="alternate" type="text/html" title="html"/><link href="https://nguyencungthanh.github.io/tags/feature-map/feed.xml" rel="self" type="application/atom+xml" title="atom"/><link href="https://nguyencungthanh.github.io/tags/feature-map/feed.json" rel="alternate" type="application/json" title="json"/><updated>2026-10-30T16:35:00+00:00</updated><author><name>Nguyen Cung Thanh</name><email>nguyencungthanh11@gmail.com</email><uri>https://nguyencungthanh.github.io/</uri></author><entry><title type="html">Real Analytic Function in Hilbert space</title><link href="https://nguyencungthanh.github.io/2026/04/29/real-analytic-function-in-hilbert-space/"/><id>https://nguyencungthanh.github.io/2026/04/29/real-analytic-function-in-hilbert-space/</id><published>2026-04-29T00:00:00+00:00</published><updated>2026-04-29T00:00:00+00:00</updated><content type="html"><![CDATA[
  <div class='e-content'>
    <center><b>Abstract</b></center>
<p>$\quad$ We study representations of functions of inner products via embeddings into Hilbert spaces. While polynomials with nonnegative coefficients admit a single feature map realization, this approach fails when negative coefficients are present. To address this limitation, we introduce a two-map framework. Specifically, for any analytic function $f(x) = \sum_{k=0}^{\infty} a_k x^k$ with global convergence, we construct a Hilbert space $\mathcal{H}$ and transformations $\Phi, \Psi: \mathbb{R}^n \to \mathcal{H}$ such that
$$\langle \Phi(u), \Psi(v) \rangle = f(\langle u, v \rangle)
\quad \text{for all } u, v \in \mathbb{R}^n.$$</p>
<h2 id="1-real-analytic-function">1. Real analytic function</h2>
<p>We start with the following problem:</p>
<p>Let $P(x)$ be a polynomial with nonnegative coefficients, then there exists a Hilbert space $\mathcal{H}$ and a transformation $\Phi : \mathbb{R}^n \to \mathcal{H}$ such that:
$$\langle \Phi(u), \Phi(v) \rangle = P(\langle u, v \rangle) \quad \text{for all } u, v \in \mathbb{R^n}.$$
But our task can be impossible if $P$ has a negative coefficient since $\langle \Phi(u), \Phi(v) \rangle$ is always nonnegative. Therefore, a natural question is what if we consider two transformations $\Phi, \Psi: \mathbb{R}^n \to \mathcal{H}?$ This leads us to a more general problem about analytic function as follow.</p>
<p>Consider a function
$$
f(x) = \sum_{k=0}^{\infty} a_k x^k
$$
where the series absolutely converges for all $x \in \mathbb{R}$. There exist a Hilbert space $\mathcal{H}$ and transformations $\Phi, \Psi : \mathbb{R}^n \to \mathcal{H}$ such that
$$
\langle \Phi(u), \Psi(v) \rangle = f(\langle u, v \rangle)
\quad \text{for all } u, v \in \mathbb{R}^n.
$$
Also, for any unit vector $u$, we have
$$ \|\Phi(u)\|^2_\mathcal{H} = \|\Psi(u)\|^2_\mathcal{H} =\sum _{k=0}^{\infty} |a_k| .$$
<em>Proof.</em></p>
<p>For each $k \ge 0$, let $V_k = \mathbb{R}^{n^k}$ and define
$$
H = \bigoplus_{k=0}^{\infty} V_k =
\left\{ (w_0, w_1, \dots) : w_k \in V_k,\ \sum_{k=0}^{\infty} \|w_k\|^2 &lt; \infty \right\}
$$</p>
<p>with inner product
$$
\langle w, z \rangle_\mathcal{H} = \sum_{k=0}^{\infty} \langle w_k, z_k \rangle_{V_k}.
$$</p>
<p>Consider $s_k = \operatorname{sign}(a_k)$ and write $a_k = s_k |a_k|$. For $u \in \mathbb{R}^n$, define
$$
\Phi(u) = (\sqrt{|a_0|} u^{\otimes 0}, \sqrt{|a_1|} u^{\otimes 1}, \dots),
$$</p>
<p>$$
\Psi(v) = (s_0 \sqrt{|a_0|} v^{\otimes 0}, s_1 \sqrt{|a_1|} v^{\otimes 1}, \dots).
$$</p>
<p>Then we prove that $\Phi(u), \Psi(v) \in \mathcal{H}$. Indeed, we have:
$$
\left\|\sqrt{|a_k|} u^{\otimes k}\right\|^2 = |a_k| \left\|u^{\otimes k}\right\|^2 = |a_k| \|u\|^{2k}.
$$</p>
<p>Thus,
$$ \sum_{k=0}^{\infty}\left\|\sqrt{|a_k|} u^{\otimes k}\right\|^2 = \sum_{k=0}^{\infty} |a_k| \|u\|^{2k}
$$
converges, so $\Phi(u) \in \mathcal{H}$. Similarly, $\Psi(v) \in \mathcal{H}$.</p>
<p>On the other hand,
$$
\begin{aligned}
\langle \Phi(u), \Psi(v) \rangle_\mathcal{H} &amp;=
\sum_{k=0}^{\infty} \left\langle \sqrt{|a_k|} u^{\otimes k}, s_k \sqrt{|a_k|} v^{\otimes k}
\right\rangle_{V_k} \\
&amp;= \sum_{k=0}^{\infty} s_k |a_k| \langle u^{\otimes k}, v^{\otimes k} \rangle\\
&amp;= \sum_{k=0}^{\infty} a_k \langle u, v \rangle^k \\
&amp;= f(\langle u, v \rangle).
\end{aligned}
$$</p>
<p><strong>Note.</strong> Norm when $u$ is a unit vector: If $\|u\| = 1$, then
$$
\|u^{\otimes k}\|^2 = \|u\|^{2k} = 1.
$$</p>
<p>Hence,
$$\|\Phi(u)\|_\mathcal{H}^2 = \sum _{k=0}^{\infty} |a_k| \| u^{\otimes k} \|^2 = \sum _{k=0}^{\infty} |a_k|.$$</p>
<h3 id="example">Example</h3>
<p><strong>Sine.</strong>  Let $c &gt; 0$. Then function $ f(x) = \sin(cx) $ is real analytic
$$
\sin(cx) = cx - \frac{(cx)^3}{3!} + \frac{(cx)^5}{5!} - \ldots
$$</p>
<p>Thus, there exists a Hilbert space $\mathcal{H}$ and transformation $\Phi, \Psi: \mathbb{R}^n \to \mathcal{H}$ such that
$$
\langle \Phi(u), \Psi(v) \rangle = \sin(c \langle u, v \rangle)\quad \text{for all } u, v \in \mathbb{R}^n.
$$</p>
<p>Also, $\Phi$ and $\Psi$ map unit vectors to unit vectors if
$$
1 = c + \frac{c^3}{3!} + \frac{c^5}{5!} + \ldots = \frac{e^c - e^{-c}}{2}.
$$</p>
<p>Hence,
$$
c = \ln(1 + \sqrt{2}).
$$</p>
<h2 id="2-kernels-and-feature-maps">2. Kernels and feature maps</h2>
<p>Given a function of two variables $ K : \mathcal{X} \times \mathcal{X} \to \mathbb{R},$ on some set sets $\mathcal{X}$, when can we find a Hilbert space $\mathcal{H}$ and a transformation $\Phi : \mathcal{X} \to \mathcal{H}$ so that</p>
<span class="sidenote" id="note1">
    1. The kernel trick, which expresses a kernel $K(u, v)$ as an inner product, is widely used in machine learning because it lets us handle non-linear models (determined by $K$) with techniques designed for linear models.
</span>
<p>$$
\langle \Phi(u), \Phi(v) \rangle = K(u,v)^{\textcolor{gray} 1}  \quad \text{for all } u, v \in \mathcal{X}?
$$</p>
<p>The answer is given by Mercer theorem<sup>2</sup>
<span class="sidenote" id="note2">
2. <a href="https://dornsife.usc.edu/sergey-lototsky/wp-content/uploads/sites/211/2023/11/Mercer-original-compressed_compressed.pdf"> Functions of positive and negative type and their connection with the theory of integral equations</a> (Mercer, 1909).
</span> and, more precisely, Moore-Aronszajn theorem:</p>
<p>$-$ The necessary and sufficient condition: $K$ is a <em>positive semidefinite kernel</em>, i.e., for any $u_1, \dots, u_N \in \mathcal{X}$, the matrix
$ (K(u_i, u_j))_{i,j=1}^N $ is symmetric and positive semidefinite.</p>
<p>$-$ Transformation $\Phi$ is called a <em>feature map</em>.</p>
<p>$-$ The Hilbert space $\mathcal{H}$ is called a <em>reproducing kernel Hilbert space</em><sup>3</sup> (RKHS).
<span class="sidenote" id="note3">
3. <a href="https://arxiv.org/abs/2106.08443"> Reproducing Kernel Hilbert Space, Mercer&rsquo;s Theorem, Eigenfunctions, Nyström Method, and Use of Kernels in Machine Learning: Tutorial and Survey</a> (Ghojogh et al, 2021).
</span></p>
<p>$-$ Popular positive semidefinite kernels in machine learning include the Gaussian and polynomial kernels given by:
$$
K(u,v) = \exp \left( -\frac{\|u - v\|^2}{2\sigma^2} \right), \quad K(u,v) = (\langle u, v \rangle + r)^k, \quad u, v \in \mathbb{R}^n.
$$
where $\sigma &gt; 0, r &gt; 0,$ and $k \in \mathbb{N}$ are parameters.</p>
<h2 id="references">References</h2>
<p>[1] Vershynin, R. (2026). <em>High-dimensional probability: An introduction with applications in data science</em> (2nd ed.). Cambridge University Press.</p>
  </div>
<p>
  <a href="mailto:nguyencungthanh11@gmail.com?subject=Re: Real%20Analytic%20Function%20in%20Hilbert%20space" rel='noopener noreferrer'>💬 Reply via e-mail</a>
</p>
]]></content><category term="Functional Analysis"/><category term="Tensor"/><category term="Feature Map"/></entry></feed>