<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tatsunori Taniai on Medium]]></title>
        <description><![CDATA[Stories by Tatsunori Taniai on Medium]]></description>
        <link>https://medium.com/@t.taniai?source=rss-ef5b1c8a517f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hpEGXlj5hh-zwC2LxJaWeA.jpeg</url>
            <title>Stories by Tatsunori Taniai on Medium</title>
            <link>https://medium.com/@t.taniai?source=rss-ef5b1c8a517f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:52:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@t.taniai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OSXインターンシップ体験談（伊藤優成さん）]]></title>
            <link>https://medium.com/sinicx-ja/osx%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%83%E3%83%97%E4%BD%93%E9%A8%93%E8%AB%87-%E4%BC%8A%E8%97%A4%E5%84%AA%E6%88%90%E3%81%95%E3%82%93-47f028a90667?source=rss-ef5b1c8a517f------2</link>
            <guid isPermaLink="false">https://medium.com/p/47f028a90667</guid>
            <dc:creator><![CDATA[Tatsunori Taniai]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 10:52:04 GMT</pubDate>
            <atom:updated>2024-12-04T10:52:04.247Z</atom:updated>
            <content:encoded><![CDATA[<p>オムロン サイニックエックス（OSX）でシニアリサーチャーをしている<a href="https://taniai.space/">谷合</a>です。ありがたいことに、これまで弊社でインターンシップを体験していただいた方々に、自発的に体験記を発信していただいたことがありました。</p><ul><li><a href="https://kei18.github.io/note/posts/20211129_osx-intern/">奥村圭祐さん（2021年4月26日～10月15日）</a></li><li><a href="https://syuntoku14.github.io/post/omron/">北村俊徳さん（2021年4月19日～2022年2月15日）</a></li></ul><p>今回は、初めてこちらから依頼する形で、OSXでのインターンシップの体験についてインタビュー記事を企画しました。初回は、私がメンターを務めたインターンである伊藤優成さんにご協力いただきました。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*hCGFxcL3efrnUJfai5Eyiw.jpeg" /><figcaption>IBIS 2024でのポスター発表。左から、伊藤さん、五十嵐（メンター）、谷合（メインメンター）</figcaption></figure><h4>自己紹介（所属、学年、研究室、博士/修士論文のテーマ）</h4><ul><li>大阪大学 大学院工学研究科 物理学系専攻 修士課程2年 <a href="https://nano-ap.eng.osaka-u.ac.jp/">小野研究室</a></li><li>機械学習を物理に対して適用する研究をしてきました。キーワードで言うと、AI for scienceやML for scienceです。</li><li>2024年5月20日から11月30日までOSXでインターンシップをしていました。</li></ul><h4>応募の動機やきっかけ</h4><p>もともと機械学習と物理の両方に興味を持っていて、学際分野の研究を行なっていました。所属研究室は物理系なことから、機械学習側の知識が不足がちになるということもあり、機械学習分野のトップ研究者が揃っているOSXでインターンシップをしたいと思うようになりました。ちょうどそのくらいの時期にお誘いをいただいたこともあって、正式に応募をして採用していただきました。</p><h4>インターンでの研究テーマ、目標としている会議など</h4><p>結晶構造情報からその結晶の特性を示す物性値(Formation EnergyやBand Gapなど)の予測タスクを行うニューラルネットワークの研究を行いました。結晶構造は回転や並進をさせても性質が変わらない¹ことから、これらの変換に対して不変、かつ予測に対して効果的な結晶構造情報の入力をする必要があります。今回のインターンシップでは、ニューラルネットワークの中でも特に「いかに効果的に情報を入力するか」という点に着目した研究を行いました。ICLR2025へ投稿することができたので、このままアクセプトを目指しています！</p><p>¹塩(NaCl)を回転させても性質は変わらない、というイメージです。</p><h4>働き方、研究の進め方、スケージュールなど</h4><p>研究以外の業務は一切なく、1日中研究のみに打ち込むことができるという楽園のような環境でした。毎日日報を書いて、メンターの谷合さん、五十嵐さんからフィードバックをいただくことに加えて、週に1回の進捗報告ミーティングで詳しく研究の方向などについて話し合っていました。それ以外にも、オフィスで報告や議論をするなど、とても密にメンターのお二人と話し合いながら研究を進めていくことができました。</p><h4>OSXと大学の研究室で異なるところ</h4><p>OSXと大学の研究室で最も異なることは、常にメンターが並走してくれるところだと思います。どうしても大学では教員一人当たりの学生数は多くなることから、研究のやり方などは我流になってしまいがちですが、OSXではインターン生1人につきトップレベルの研究者が2人もメンターとして付いて、毎日フィードバックをしていただけることから、研究の進め方のような普遍的なスキルを学べる環境でした。</p><h4>OSXに来てよかったこと、刺激を受けたこと</h4><p>1から研究テーマを始めて論文執筆まで行うことで、一通りの研究の進め方を学べたことが一番よかったことです。それ以外には、同時期にインターンシップに来ていた同じ世代の研究を頑張っている学生の方と交流ができたことはとても良い刺激になりました。また、海外からのインターン生が多く来ていることから英語に触れる機会が増え、ちょっとは英語力がマシになった。気がします。。。</p><h4>OSXのここはちょっといただけないというところ</h4><p>強いて言えば運動不足になります。オフィスまで徒歩5分の社宅に住んで、研究生活をしているとダメですね。。。行なった対策を次に書きます。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CVjeIXqhZzX4LiER.png" /><figcaption>社宅-オフィス-東大(食事)の往復しかしていない</figcaption></figure><h4>東京での生活について</h4><p>上に書いたようにとにかく運動不足になります。運動しない → 肉体的に疲れない → 寝れない → 寝不足で動く気にならない、という悪循環に陥ります。</p><p>行なった対策は</p><ul><li>定期的なサイクリング(論文執筆期はサボりがちになってしまった)</li><li>温泉+サウナに入る</li></ul><p>もともと自転車に乗るのは好きだったので、インターンシップ期間は自転車を借りっぱなしにして、定期的にサイクリングをしていました。OSXのオフィスは本郷にあり、皇居が近いことから、定期的に皇居を1周することで運動不足解消をしていました。あと山手線を一周したり、東京タワーやスカイツリーを見に行ったりといろいろなところに自転車で出かけました。</p><p>それから、谷合さんの勧めから、オフィスから比較的近い場所にある温泉・サウナにしょっちゅう行っていました。やっぱり足を伸ばしてお風呂に入れるって良いですね。デジタルデトックスになるのも良いポイントです。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G-TV6y_ChxlBLA7O.png" /></figure><h4>インターンに行こうか迷っている人に対して一言</h4><p>ぜひ応募しましょう。数ヶ月間、研究のみに集中した生活をすることは、非常に貴重な経験になると思います。</p><p>伊藤さん、ありがとうございました。</p><h4>メンター谷合より一言</h4><p>小野先生の研究室とは、過去に博士学生（当時）の<a href="https://suzuki.phd/">鈴木雄太さん</a>が弊社インターンシップに参加してくださった経緯から、それ以来、共同研究をさせていただいておりました。今回のインターンシップでは、以前より共同研究として取り組んでいたプロジェクトに加え、新たなプロジェクトも同時平行で進めてもらいました。毎日意欲的に取り組んでくれたおかげで、結果として、新たに始めたプロジェクトのほうの成果をフルペーパーとしてICLRに投稿することができました。インターンシップをきっかけに大学とのコラボレーションが広がり、弊社にとってとても良いプロジェクトでした。</p><p>また、今回のインターンシップでは、前半４カ月は社宅を利用しての週５日フルタイム勤務で集中して論文投稿まで終え、後半２カ月では自宅からのリモート・パートタイム勤務に切り替え、必要に応じて投稿後の追加実験やリバッタルなどの作業をしてもらいました。弊社インターンシップでは、プロジェクトの進行やインターン生の希望等に応じて、フレキシブルに勤務体制を調整することができます。</p><p>伊藤さん、６カ月にわたるインターンシップ、お疲れさまでした＆ありがとうございました。</p><h4>インターン募集</h4><p>OSXでは、ML、CV、NLP、Robotics、HCI、AI for Science、Algorithm など、Computer Scienceの幅広いトピックでインターンを通年で募集しています。👉 <a href="https://www.omron.com/sinicx/internship/"><strong>インターン募集</strong>ページ</a></p><h4>弊社の取り組みについて</h4><p>公式ホームページでは、OSXでの様々な取り組みについて、情報を発信しています。👉 <a href="https://www.omron.com/sinicx/activity/"><strong>Activityサイト</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47f028a90667" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sinicx-ja/osx%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%83%E3%83%97%E4%BD%93%E9%A8%93%E8%AB%87-%E4%BC%8A%E8%97%A4%E5%84%AA%E6%88%90%E3%81%95%E3%82%93-47f028a90667">OSXインターンシップ体験談（伊藤優成さん）</a> was originally published in <a href="https://medium.com/sinicx-ja">OMRON SINIC X (JP)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crystalformer: Infinitely connected attention for periodic structure encoding (ICLR 2024)]]></title>
            <link>https://medium.com/sinicx/crystalformer-infinitely-connected-attention-for-periodic-structure-encoding-iclr-2024-78dfca12ffdd?source=rss-ef5b1c8a517f------2</link>
            <guid isPermaLink="false">https://medium.com/p/78dfca12ffdd</guid>
            <category><![CDATA[materials-science]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[iclr-2024]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[transformers]]></category>
            <dc:creator><![CDATA[Tatsunori Taniai]]></dc:creator>
            <pubDate>Fri, 19 Apr 2024 01:21:03 GMT</pubDate>
            <atom:updated>2024-04-19T01:23:29.216Z</atom:updated>
            <content:encoded><![CDATA[<p>We are pleased to announce that the following work on a Transformer encoder framework for crystal structures has been accepted at the <strong>Twelfth International Conference on Learning Representations (ICLR 2024)</strong>.</p><blockquote><a href="http://taniai.space/"><em>Tatsunori Taniai</em></a><em> ¹, </em><a href="https://scholar.google.co.jp/citations?user=i06GU0EAAAAJ&amp;hl=ja"><em>Ryo Igarashi</em></a><em> ¹, </em><a href="https://suzuki.phd/"><em>Yuta Suzuki</em></a><em> ², </em><a href="https://sites.google.com/view/n-chiba-"><em>Naoya Chiba</em></a><em> ³, </em><a href="https://sites.google.com/view/kotarosaito/"><em>Kotaro Saito</em></a><em> ⁴ ⁵, </em><a href="https://yoshitakaushiku.net/"><em>Yoshitaka Ushiku</em></a><em> ¹, and </em><a href="https://nano-ap.eng.osaka-u.ac.jp/"><em>Kanta Ono</em></a><em> ⁵: </em>“<strong><em>Crystalformer: Infinitely Connected Attention for Periodic Structure Encoding</em></strong>”, <em>In</em> The Twelfth International Conference on Learning Representations<em> (</em>ICLR 2024<em>), 2024.<br>[</em><a href="https://openreview.net/forum?id=fxQiecl9HB"><em>OpenReview</em></a><em>] [</em><a href="https://arxiv.org/abs/2403.11686"><em>arXiv</em></a><em>] [</em><a href="https://omron-sinicx.github.io/crystalformer/"><em>Project</em></a><em>]</em></blockquote><blockquote><em>¹ </em><a href="https://www.omron.com/sinicx/en/"><em>OMRON SINIX X Corporation</em></a><em>, ² Toyota Motor Corporation, ³ Tohoku University, ⁴ Randeft Inc., ⁵ Osaka University</em></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fhg6SOvXMl9Q%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dhg6SOvXMl9Q&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fhg6SOvXMl9Q%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9841cc56ad766ad343a9d4824d307d24/href">https://medium.com/media/9841cc56ad766ad343a9d4824d307d24/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/0*V-438abotntNnKic.png" /></figure><p>The ICLR is recognized as one of the top venues for machine learning research among the Neural Information Processing Systems (NeurIPS) and the International Conference on Machine Learning (ICML). The ICLR 2024 is held from May 7th through 11th at Vienna, Austria, and we will present our work at a Poster Session from 16:30 to 18:30 on May 9th in UTC+2. (A <a href="https://iclr.cc/virtual/2024/poster/18164">virtual poster place</a> is also prepared by the conference.)</p><p>This work was done collaboratively by research groups at OMRON SINIC X and Osaka University, as a part of JST-Mirai Program, Grant Number JPMJMI19G1.</p><h4><strong>Contents of this article</strong></h4><ul><li>Materials Science and Crystal Structures</li><li>Neural Networks for Crystal Structure Encoding</li><li>Transformers for Molecular and Crystal Structure Encoding</li><li>Crystalformer using Infintely Connected Attention</li><li>Interpretation as Neural Potential Summation</li><li>Performed as Finite-element Self-attention</li><li>Overall Architecture</li><li>Results</li><li>Conclusions, Future Work, and Take-away Messages</li><li>Call for Interns</li><li>Related Projects</li></ul><h3>Materials Science and Crystal Structures</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K8OshQIZkDp9cziD_Ayp4w.png" /><figcaption>Machine-learning-based material property prediction.</figcaption></figure><p>Our work is an interdisciplinary study in machine learning and materials science. Materials science is a field to explore and develop new materials with useful properties and functionalities, such as superconductors and battery materials. Since the current material discovery and development processes are time-consuming and labor-intensive, there is an growing demand for next-generation AI technologies to accelerate these processes.</p><p>Materials are represented by crystal structures. They are infinitely repeating, periodic arrangements of atoms in 3D space, described by a minimum repeatable pattern called <em>unit cell</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*AulQXq0qmzXau7lx2ESDNw.png" /><figcaption>Crystal structure of NaCl.</figcaption></figure><p>The unit cell defines the atomic arrangement and lattice information. The atomic arrangement defines the number of atoms, <em>N</em>, in the unit cell and their 3D positions [<strong><em>p_</em></strong>1, <strong><em>p_</em></strong>2, …, <strong><em>p_</em></strong>N] and species [<strong>x</strong>⁰_1, <strong>x</strong>⁰_2, …, <strong>x</strong>⁰_N]. The lattice information defines three lattice vectors, <strong><em>l</em></strong>1<em>, </em><strong><em>l</em></strong>2<em>, </em>and<em> </em><strong><em>l</em></strong>3<em>, </em>that represent translations of the unit cell in 3D space.</p><p>Given the unit cell information, the crystal structure can be recovered by repeatedly translating each atom <em>i </em>in the unit cell to the following position:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rjXGp2qtAUKseLc3Uqfd0g.png" /></figure><p>where <em>n</em>1, <em>n</em>2, and <em>n</em>3 are integers representing unit cell shifts along <strong><em>l</em></strong>1<em>, </em><strong><em>l</em></strong>2<em>, </em>and<em> </em><strong><em>l</em></strong>3. We denote such a translated atom of unit cell atom <em>i</em> with shift <strong><em>n</em></strong> by <em>i</em>(<strong><em>n</em></strong>), and use <em>j</em>(<strong><em>n</em></strong>) similarly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*ajaYYOAvsb0Uuy41O6Ky0A.png" /><figcaption>Crystal structure and unit cell in 2D space.</figcaption></figure><h3>Neural Networks for Crystal Structure Encoding</h3><p>Given a unit cell of a crystal structure, ML-based crystal property prediction is usually performed by defining the state features for the atoms in the unit cell and evolving them through interatomic message-passing layers in a neural network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YQTYYO5BDP_AAfsV3jbxLQ.png" /><figcaption>Evolution of atom-wise states through interatomic message-passing layers in a neural network.</figcaption></figure><p>In our work, initial state features of atoms only simbolically represent their atomic species via atom embedding (AE), and we evolve them through interatomic interactions that are induced by the spatial information of the crystal structure (i.e., the atomic positions and lattice vectors).</p><p>In existing methods, the interatomic message passing is usually performed by Graph Neural Networks (GNNs), by representing crystal structures as graphs. To represent the periodicity of crystal structures, these GNNs employ multi-edge graphs [Xie &amp; Grossman, 2018]. These graphs connect each pair of unit-cell atoms, <em>i </em>and <em>j, </em>with multiple edges to incorporate connections between atom <em>i</em> and atom <em>j</em>’s translated atoms <em>j</em>(<strong><em>n</em></strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cbsG0MEEc-yxtAsU.png" /><figcaption>Graph edges in standard GNNs and our Crystalformer.</figcaption></figure><h3>Transformers for Molecular and Crystal Structure Encoding</h3><p>While GNNs are dominant approaches in both molecular and crystal structure encoding, the emergence of Transformers [Vaswani et al. 2017] is changing the situation. After several studies attempting to replace key components of GNNs with attention mechanisms, Ying et al. 2021 first succeeded in applying a standard Transformer architecture for molecular graph representation learning. Their method, called <em>Graphormer</em>, employs fully connected self-attention blocks for the state evolution and showed excellent performance in property prediction of molecules.</p><p>Recent years, Transformers have demonstrated their outstanding ability to model complex interdependencies among input elements (e.g., resolving ambiguous meanings of words in sentence context) as well as their great flexibility in handling irregularly structured or unordered data such as point clouds.</p><p>We believe that these capabilities of Transformers should benefit the encoding of crystal structures and molecules because atoms in these structures interact with each other in complex ways to determine their states, and also they are structured in 3D space rather than regularly ordered.</p><p>However, extending the fully connected attention for crystal structures results in a non-trivial formulation, namely <em>infinitely connected attention, </em>which involves an infinite summation over repeated atoms. Our Transformer framework, <em>Crystalformer</em>, enables this infinitely connected attention for crystal structures, through an analogy to physics simulation.</p><h3>Crystalformer using Infinitely Connected Attention</h3><h4><strong>Fully connected attention for finite elements.</strong></h4><p>To derive our self-attention formulation for crystal structures, let’s start with a simpler case of finite atoms in molecules. Given the state variables <strong><em>x </em></strong>of <em>N</em> atoms in a molecule, we can formulate their state evolution as fully connected self-attention as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZU2CMwO_FmwFc-y46Iowfw.png" /><figcaption>Fully connected self-attention for finite elements (e.g., atoms in a molecule).</figcaption></figure><p>Here, <strong><em>q</em></strong>, <strong><em>k</em></strong>, and <strong><em>v</em></strong> are <strong>query</strong>, <strong>key</strong>, and <strong>value</strong> features obtained as linear projections of input <strong><em>x</em></strong>, and <em>Z_i </em>is the normalizer of the softmax function defined as the sum of the weights exp(….).</p><p>In Transformers, <strong><em>x</em></strong> as well as <strong><em>q</em></strong>, <strong><em>k</em></strong>, and <strong><em>v </em></strong>are position-agnostic. Therefore, we need to add position information into them. We here employ relative position representations (<em>φ</em> and <strong><em>ψ</em></strong>), as scalar and vector biases to softmax logits and value vectors. To make the networks invariant to rigid transformations (i.e., SE(3) transformations such as rotation and translation), we formulate <em>φ</em> and <strong><em>ψ </em></strong>based on spatial distances between atom pairs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ic1FybzS78bCb976EjK10A.png" /></figure><h4><strong>Infinitely connected attention for periodic elements.</strong></h4><p>Similarly to molecular encoding, crystal structure encoding is performed with state features of the <em>finite </em>atoms in the unit cell. But simply applying the self-attention for these atoms only considers interactions between unit-cell atoms <em>i</em> and <em>j </em>and ignores those with translated atoms <em>j</em>(<strong>n</strong>) outside the center unit cell. Therefore, to extend the self-attention for crystal structures, we add an infinite summation over all 3D integer vectors <strong>n</strong> ∈ <strong>Z</strong>³, to add interactions with translated atoms <em>j</em>(<strong>n</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*tsLehrXWr6yHmK6zSQXIjA.gif" /><figcaption>From fully connected attention to infinitely connected attention.</figcaption></figure><p>Note that translated atoms <em>j</em>(<strong>n</strong>) share the same state with atom <em>j</em> in the unit cell. Therefore, we can assume <strong><em>v</em></strong><em>_j</em>(<strong><em>n</em></strong>)<strong><em> </em></strong><em>=</em><strong><em> v</em></strong><em>_j</em> and <strong><em>k</em></strong><em>_j</em>(<strong><em>n</em></strong>)<strong><em> </em></strong><em>=</em><strong><em> k_</em></strong><em>j</em>, meaning that unit cell shift <strong><em>n</em></strong> only affects on the positions of key-value atoms <em>j</em>(<strong>n</strong>) in position enoding <em>φ</em> and <strong><em>ψ</em></strong>.</p><h3>Interpretation as Neural Potential Summation</h3><p>Our infinitely connected attention describes that the state of each atom, <strong><em>y</em></strong>_<em>i,</em> is possibly influenced by all the atoms in the structure, <em>j</em>(<strong>n</strong>), through <strong><em>v</em></strong>_<em>j</em> + <strong><em>ψ</em></strong>_<em>ij</em>(<strong><em>n</em></strong>) as abstract influences on <em>i</em> from <em>j</em>(<strong>n</strong>), weighted by scalar attention weights, exp(…)/<em>Z</em>_<em>i.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JqWhQEG4ab0J-463_-Zefw.png" /><figcaption>Infinitely connected attention.</figcaption></figure><p>We interpret this formulation as an abstraction of potential summation, which is usually performed for energy calculations in physics simulation. For example, the electric potential energy between center ion <em>i </em>and other ions <em>j</em>, with charges <em>Q</em>, is calculated as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*45ExQ7JCfifM2Jc_0n0R9w.png" /><figcaption>Calculation of electric potential energy using the Coulomb potential, which is proportional to 1/r.</figcaption></figure><p>In the physical world, potentials between atoms tend to decay as their distances increase. We apply this rule to our self-attention formula to derive a computationally tractable formulation.</p><p>Specifically, we use position encoding <em>φ </em>to explicitly decay the attention weights by interatomic distances. For simplicity, we adopt Gaussian distance decay functions as exp(<em>φ</em>), as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFaEMoN-ueocM8MK9ZIPuw.gif" /></figure><h3>Performed as Finite-element Self-attention</h3><p>Although the infinitely connected attention may look complicated, it can be performed similarly to the standard fully connected attention for finite elements, by rewriting the fomulation as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*D-LUHhB1jex-PCM6IPsTJg.gif" /><figcaption>Infinitely connected attention can be performed as fully connected attention for finite unit-cell atoms with special forms of position encoding terms.</figcaption></figure><p>Here, new position encoding terms, <em>α</em> and <strong><em>β</em></strong><em>, </em>are served to embed the peridicity information. (Tips: <strong><em>β</em></strong>_<em>ij</em><strong><em> </em></strong>is another softmax attention computing the weighted average of <strong><em>ψ</em></strong><em>_ij</em>(<strong><em>n</em></strong>) over <strong><em>n</em></strong>, where exp(-<em>α</em>_<em>ij</em>) works as the normalizer of exponential weights exp(<em>φ</em>_<em>ij</em>(<strong>n</strong>)).)</p><p>When <em>α</em> and <strong><em>β</em></strong><em> </em>are tractably computed<em>, </em>the inifinitely connected attention can be performed by simply adding <em>α</em> and <strong><em>β </em></strong>to softmax logits and value vectors in standard self-attention, as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*eOpSg9BIpu0a7dYUk2VMXQ.png" /><figcaption>Pseudo-finite periodic self-attention in matrix-tensor diagram.</figcaption></figure><h3>Overall Architecture</h3><p>The overall architecture of Crystalformer is simple and closely follows the architecture of the original Transformer encoder [Vaswani et al. 2017].</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*VDVQEC2AK_lOloJYzgTtCw.png" /><figcaption>Network architecture of Crystalformer</figcaption></figure><p>As an important difference from the original architecture, our self-attention block entirely removes Layer Normalization. We found that a normalization-free architecture with an improved weight initialization strategy proposed by Huang et al. (2020) is beneficial to stabilize the training.</p><h3>Results</h3><h4><strong>Property prediction benchmarks.</strong></h4><p>We evaluated our method for several property prediction tasks using a Materials Project dataset and the JARVIS-DFT 3D 2021 dataset. We show mean absolute errors (MAE) for these prediction tasks below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0TuCHD24WvmyN_dC.png" /><figcaption>Performance comparisons with state-of-the-art neural-network-based methods.</figcaption></figure><p>Remarkably, our method consistently outperforms most of the existing methods, except for PotNet, in all the prediction tasks, even without stochastic weight averaging (SWA).</p><h4><strong>Ablation study.</strong></h4><p>While position encoding <em>φ</em> for attention weights is important to make the infinitely connected attention tractable, position encoding <strong><em>ψ</em></strong> for value vectors is another key to properly encoding periodic structures. (This is because the infinitely connected attention without <strong><em>ψ</em></strong> cannot distinguish between crystal structures of the same single atom in differently sized unit cells. See Appendix D for more details.)</p><p>When we evaluate a simplified model that uses no value-based position encoding <strong><em>ψ</em></strong>, the performance drops significantly, as shown below. Note that this simplified model is close to the Graphormer’s architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ljyn0DKMXXlRNacI.png" /></figure><h4><strong>Increasing the number of self-attention blocks.</strong></h4><p>We further evaluated performance variations when changing the number of self-attention blocks in Crystalformer, by utilizing the simplified variant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hsCFLrz0zbLI5x0o.png" /></figure><p>The above results suggest that the performance increases steadily with more blocks, while moderately mounting on a plateau with four blocks. We further tested a larger model of totally 7 blocks, with the full arhictecture using <strong><em>ψ</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nnYMr1YGr_SqsYXN.png" /></figure><p>The above results show that increasing the number of self-attention blocks can lead to further improvements, given sufficient training data.</p><h4><strong>Efficiency comparison.</strong></h4><p>We also compared the efficiency of our method with GNN-based and Transformer-based state-of-the-art methods, PotNet and Matformer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KE_fe6wxu4fFiBkG.png" /><figcaption>Efficiency comparison with PotNet and Matformer.</figcaption></figure><p>Our method has highest parameter efficiency and inference speed among them.</p><h3>Conclusions, Future Work, and Take-away Messages</h3><p>We have presented Crystalformer as a Transformer encoder for crystal structures. It stands on fully connected attention between periodic points, namely infinitely connected attention, with physically-motivated distance-decay attention to ensure the tractability.</p><p>In the present work, we keep our method simple to provide a flexible Transformer framework, hoping that it serves as a baseline Transformer model in this area. It is possible to extend our framework as follows.</p><ul><li><strong>Incorporate long-range interatomic interactions by performing the infinitely connected attention in Fourier space.</strong> We demonstrated this idea in Appendix J in the paper.</li><li><strong>Incorporate richer information than interatomic distance</strong>, such as angular and directional information. This can be done by<strong> </strong>extending relative position representations <em>φ</em> and <strong><em>ψ</em></strong><em>.</em></li><li><strong>Extend to SE(3) equivariant networks.</strong> Since position information is only used by position representations (<em>φ</em> and <strong><em>ψ</em></strong>), extending these terms to be SE(3) equivariant will enable geometric prediction tasks such as force prediction.</li><li><strong>Incorporate known forms of interatomic potentials.</strong> By modifying <em>φ, </em>we will be able to exploit our knolwedge about the forms of existing interatomic potential functions.</li></ul><h4>Architectural recipes of crystal-structure encoders</h4><p>Our framework makes minimal modifications to the original Transformer architecture. We summarize them as the following architectural recipes.</p><ul><li><strong>Use relative position representations</strong> in the following two forms:<br> 1) Bias for softmax logits to<strong> explicitly decay attention weights by interatomic distances</strong>.<br>2) Bias for value vectors to <strong>properly encode the periodicity of crystal structures</strong>. (See Appendix D in the paper.)</li><li><strong>Use the normalization-free Transformer architecture with improved weight initialization</strong> by Huang et al. (2020) to stabilize the training. (We have confirmed that Crystalformer with 20 blocks can be successfully trained by this scheme.)</li></ul><h3>Call for Interns</h3><p>OMRON SINIC X is looking for research interns throughout the year to work with our members in challenging research projects on a variety of topics related to robotics, machine learning, computer vision, and HCI. Many students have participated in our internship program, and their achievements have been published as academic papers at international conferences such as CVPR, ICML, IJCAI, ICRA, CoRL, or as OSS libraries. For more information, visit <a href="https://www.omron.com/sinicx/en/internship/">our call for interns</a>.</p><h3>Related Projects</h3><ul><li>Suzuki et al. “Self-supervised learning of materials concepts from crystal structures via deep neural networks”, In <em>Mach. Learn.: Sci. Technol.</em> 3 045034, 2022. [<a href="https://iopscience.iop.org/article/10.1088/2632-2153/aca23d">Paper</a>]<br><strong>[TL; DR] Self-supervisedly learn a map of materials space from crystal structures and their XRD patterns.</strong></li><li>Chiba et al. “Neural structure fields with application to crystal structure autoencoders”, In Communications Materials volume 4, Article number: 106, 2023. [<a href="https://www.nature.com/articles/s43246-023-00432-w">Paper</a>]<br><strong>[TL; DR] Represent crystal structures as continuous fields in 3D space for crystal structure decoding.</strong></li></ul><h3>References</h3><ul><li>Xie &amp; Grossman, “<strong>Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties</strong>”, Phys. Rev. Lett., 120:145301, Apr 2018.</li><li>Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng, Guolin Ke, Di He, Yanming Shen, and Tie-Yan Liu. “<strong>Do transformers really perform badly for graph representation?</strong>” In Advances in Neural Information Processing Systems, volume 34, pp. 28877–28888, 2021.</li><li>Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. “<strong>Attention is all you need</strong>”, In Advances in Neural Information Processing Systems, volume 30, 2017.</li><li>Xiao Shi Huang, Felipe Perez, Jimmy Ba, and Maksims Volkovs. “<strong>Improving transformer optimization through better initialization</strong>”, In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 4475–4483. PMLR, 13–18 Jul 2020.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78dfca12ffdd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sinicx/crystalformer-infinitely-connected-attention-for-periodic-structure-encoding-iclr-2024-78dfca12ffdd">Crystalformer: Infinitely connected attention for periodic structure encoding (ICLR 2024)</a> was originally published in <a href="https://medium.com/sinicx">OMRON SINIC X</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[データ駆動型経路探索に関する研究がICML 2021に採択されました]]></title>
            <link>https://medium.com/sinicx-ja/%E3%83%87%E3%83%BC%E3%82%BF%E9%A7%86%E5%8B%95%E5%9E%8B%E7%B5%8C%E8%B7%AF%E6%8E%A2%E7%B4%A2%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E7%A0%94%E7%A9%B6%E3%81%8Cicml-2021%E3%81%AB%E6%8E%A1%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F-575623fd96fe?source=rss-ef5b1c8a517f------2</link>
            <guid isPermaLink="false">https://medium.com/p/575623fd96fe</guid>
            <category><![CDATA[icml]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[path-planning]]></category>
            <category><![CDATA[motion-planning]]></category>
            <category><![CDATA[ja]]></category>
            <dc:creator><![CDATA[Tatsunori Taniai]]></dc:creator>
            <pubDate>Tue, 13 Jul 2021 08:53:23 GMT</pubDate>
            <atom:updated>2021-07-14T02:47:19.161Z</atom:updated>
            <content:encoded><![CDATA[<p>この度、OSXにて取り組んでいたデータ駆動型の経路探索に関する研究が<strong>第38回 International Conference on Machine Learning (ICML 2021) </strong>に採択されました。</p><blockquote><a href="https://yonetaniryo.github.io/">Ryo Yonetani</a>*¹, <a href="https://taniai.space/">Tatsunori Taniai</a>*¹, <a href="http://barekatain.me/">Mohammadamin Barekatain</a>², <a href="https://denkiwakame.github.io/">Mai Nishimura</a>¹, <a href="https://kanezaki.github.io/">Asako Kanezaki</a>³. “<strong><em>Path Planning using Neural A* Search</em></strong><em>”, In </em>Proceedings of the 38th International Conference on Machine Learning (ICML)<em>, PMLR 139:12029–12039, 2021</em>. <em>[</em><a href="http://proceedings.mlr.press/v139/yonetani21a.html"><em>論文</em></a><em>] [</em><a href="https://arxiv.org/abs/2009.07476"><em>arXiv</em></a><em>] [</em><a href="https://omron-sinicx.github.io/neural-astar/"><em>Web</em></a><em>] [</em><a href="https://github.com/omron-sinicx/neural-astar"><em>コード</em></a><em>] [</em><a href="https://www.omron.com/jp/ja/news/2021/07/c0713.html"><em>プレス</em></a><em>]</em></blockquote><blockquote><em>* Equal contributions, ¹ </em><a href="https://www.omron.com/sinicx/en/"><em>オムロン サイニックエックス株式会社</em></a><em>, ² DeepMind (M.B.はオムロン サイニックエックスの過去のインターン), ³ 東京工業大学.</em></blockquote><figure><img alt="ICML logo" src="https://cdn-images-1.medium.com/max/590/1*U2SnLnDWdnN1dZV-z6kvmA.png" /></figure><p>ICMLは、機械学習に関する研究を発表する国際会議として、Neural Information Processing Systems (NeurIPS) や International Conference on Representation Learning (ICLR) と並び、当該分野のトップ３の難関会議に数えられています。今年のICMLは、完全にバーチャル開催の運びとなり、7月18日から24日までオンライン上で開催されます。参加費は一般100ドル／学生25ドルと大変安く、参加者数の制限もありませんので、ご興味のある方はぜひ<a href="https://icml.cc/Register/view-registration">参加登録</a>をしてみてください。<strong>OSXからの本研究のスポットライト発表は、日本時間 7月21日 23:05～23:10 で予定されてます。</strong></p><p>本研究は、弊社のテクニカルアドバイザーである<a href="https://kanezaki.github.io/">金崎先生</a>をはじめ、インターンとして以前勤務していた<a href="http://barekatain.me/">M. Barekatainさん</a>との共同研究です。Barekatainさんは特に、<a href="https://github.com/omron-sinicx/neural-astar">とてもエレガントなコード</a>を書いて本研究の実験や解析の部分を支えてくれました。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/1*2MfuWKUx2Nu99530P_VkyQ.png" /></figure><p>本研究では、新たなデータ駆動型の経路探索手法「 Neural A*」（ニューラル・エースター）と、そのコア技術となる新たなニューラルネットワーク用モジュール「微分可能A*」を提案しています。このモジュールは、標準的なA*探索アルゴリズムをネットワーク上で実行し、探索結果に対して直接損失を計算、逆伝搬することで、経路探索問題のend-to-end学習（一貫学習）を可能にするものです。本手法は、従来の最短経路問題に対して、経路探索アルゴリズムの最適性（厳密に最短の経路を見つける能力）を大きく損なうことなく、探索効率を飛躍的に向上させることができます。また、障害物の情報を持たない生画像のマップに対しても、人間が与えた経路例の学習データから、画像中の通れる場所・通れない場所を自動で学習して経路を探索することができます。</p><p>以下では、経路探索にまつわる2つの課題を紹介し、提案手法の基本的なアイディアや技術的詳細について解説します。</p><h3>最短経路探索問題</h3><p>はずはじめに、2次元グリッド状のマップに対する経路探索問題を紹介します。経路探索問題は、各問題インスタンスとして、マップと開始点・目標点の位置が与えられています。このとき、経路探索問題の目標は、開始点から目標点までの経路のうち、なるべく短い経路を見つけ出すことになります。では、以下の例を見てみましょう。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*aXrCgYnThF43sWiXCNIjAQ.png" /><figcaption>経路探索では、与えられたマップに対して、開始点と目標点を結ぶなるべく短い経路を探す。</figcaption></figure><p>上のマップは、通行不可領域（障害物の位置）の情報を黒色で可視化して提示しています。通行可能領域（灰色）に対しては、マップは一般に、きめ細かな移動コストの情報を持つことができます。例えば、未舗装の道路には比較的高いコストを割り当てる、などです。ただ、ここでは議論の簡単化のため、すべての通行可能領域が同一の移動コストを持つことを考え、マップ上の各位置が1（通行可）あるいは無限大（通行不可）のコストを持つとしましょう。</p><p>さて、この設定を踏まえ先程の地図を見てみると、私たち人間はおそらく一瞬で（ほぼ）最短の経路を難なく見つける事ができたのではないでしょうか。では、同じことをコンピュータにやらせると、どうなるでしょう。</p><figure><img alt="Shortest path search by A*" src="https://cdn-images-1.medium.com/max/256/1*sf78ik2DQqe7maZ51R3gnQ.gif" /><figcaption>従来のA*アルゴリズムによる経路探索プロセスの可視化</figcaption></figure><p>この動画は、最短経路探索アルゴリズムとして一般的なA*探索の実際の挙動を可視化したものです。ご覧の通り、マップには実は行き止まりがあり、アルゴリズムがそこにハマってしまっていることがわかります。しかし、このような行き止まりの存在に、先程気づきましたか？ おそらく、マップを見た瞬間に、無意識のうちに行き止まりや通行路の形といった視覚的手がかりを認識し、ほぼ一瞬で有望な経路とそうでない経路を認識してしまったのではないでしょうか。</p><p>この観察から一つの問いが導かれます。それは、コンピュータも我々と同じように視覚的手がかりを利用して、より知的に経路を探索することができるか？ というものです。</p><h3>生画像上での経路探索</h3><p>先程の例では、探索アルゴリズムが通行可・通行不可の領域を入力マップとして知った上で経路を探索するという、とてもベーシックな例を説明しました。このようなマップ情報は、A*のようなデータ駆動型でない従来の手法にとって不可欠なもので、例えば手動で画像の領域を通行可・不可のラベルでアノテーション等して与えなくてはなりません。では、そのようなアノテーションがなかったらどうなるでしょう。ここでもう一つの面白い問題があります。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*btRE1PJQpJ6xm6MytBToew.png" /><figcaption>左の屋外シーンの画像を人間が見れば、その色や模様から、おそらく簡単に通行可・不可領域を認識することができる。これらの視覚的手がかりが分かれば、赤点を結ぶ経路を示すことは人間にとって容易（右図）。</figcaption></figure><p>上の図では、固定カメラで撮影された実際の屋外のシーンの写真を載せています。左の図を見ると、画像中の色や模様から、交差点や道路沿いに木々が並ぶシーンであることがわかると思います。なので、もし図中の2点の赤点を結ぶ経路を描きなさい、と言われたら、おそらく容易に右図のような道路沿いの経路を描くことができるのではないかと思います。</p><p>この観察から得られる、もう一つの問い。それは、コンピュータも我々と同じように視覚的手がかりを利用して、直接的に生画像の上で通行可能な経路を探索することができるか？というものです。</p><h3>データ駆動型の経路探索</h3><p>さて、これまでの内容で、経路探索における2つの問題シナリオと、それらに対する、私たちの能力と比べての古典的な探索アルゴリズムの限界点を説明しました。実は、ここで挙げた2つの問題は、実際に近年のデータ駆動型の経路探索に関する研究において、とても関心が高いものです。具体的には</p><ol><li><strong>最短経路問題</strong>に対しては、探索をより効率的に実行するためのデータ駆動型経路探索の研究があります (Choudhury et al., 2018; Qureshi et al., 2019; Takahashi et al., 2019; Chen et al., 2020; Ichter et al., 2020)。</li><li><strong>生画像上の経路探索問題</strong>に対しては、探索アルゴリズムが直接的に生画像上で探索できるようにする研究が、模倣学習や逆強化学習などの観点で進められています (Tamar et al., 2016; Lee et al., 2018; Ichter &amp; Pavone, 2019; Vlastelica et al., 2020)。</li></ol><p>データ駆動型経路探索におけるもう一つの重要な観点は、どのようにして学習型探索アルゴリズムに対して教師信号を与えるかという問題です。いくつかの先行事例では、例えば各ノードから他のノードへの最適な経路距離を学習データ中の全マップに対して与えるもの (Takahashi et al., 2019) や、最適な経路を常に発見できる理想的な探索アルゴリズムを学習中に走らせるもの (Choudhury et al., 2018など) などがありますが、これらは計算量が膨大になりがちです。一方、learning-from-demonstrations と呼ばれる、事例からの学習アプローチ (Vlastelica et al., 2020など) は、学習データとして各問題インスタンスに対して実際の経路例（正解経路）を与えるだけのもので、学習データの作成が比較的容易な部類になります。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*Tf76mcI3KXXfNEDDAcdiLA.png" /><figcaption>事例からの学習アプローチでは、問題インスタンス（マップと開始点・目標点）とそれに対応する正解経路例をたんさん集めた学習データを用いて学習する。</figcaption></figure><h3>本研究の貢献</h3><p>本研究の主な貢献として、これまで別々に研究されてきた上記の2つの課題を同じ枠組み内で扱うことができる手法 Neural A* を提案します。この手法は、両問題に対して事例からの学習アプローチを採用し、それぞれ以下のような結果を得ました。</p><ol><li>最短経路問題においては、Neural A*は探索効率と最適性のトレードオフの関係を改善し、Choudhury et al. (2018) や Vlastelica et al. (2020) などの既存手法を上回る性能を達成しました。とくに本研究では、既存研究のように単に探索効率を上げるのではなく、同時に探索アルゴリズムの最適性を維持することも目的としています。</li><li>生画像上の経路探索問題においては、Neural A*は固定カメラ画像に映る歩行者の移動経路予測において、Vlastelica et al. (2020) の既存手法や、その他の模倣学習ベースの手法 (Ratliff et al., 2006; Tamar et al., 2016; Lee et al., 2018) よりも正確な予測を可能にしました。</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*ManpMPrsW3JbaYoIoOID3A.gif" /><figcaption>Neural A*の一つの問題シナリオでは、一般的なA*探索アルゴリズム（左）に対して、視覚的手がかりを学習することでより効率的に最適解に近い経路を見つけられるようにする（右）</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*kOfP2ApAvcAg8IHsDSyqEg.png" /><figcaption>Neural A* のもう一つの問題シナリオとして、通行可・不可の情報のない生画像マップ（左）に対して、事例で与えられる人間が通行しそうな道（中）を、正確に予測できるようにする（右）</figcaption></figure><h3>Neural A*</h3><p>では、実際にNeural A*がどのようにして上記の2つの異なる問題を同じ枠組み内で解くことができるのかを紹介しましょう。</p><h4>ガイダンスマップ上での経路探索</h4><p>さて、勘の良い方は、先程の2つの問題の説明において、共通性があることに気づいたかもしれません。つまり、<strong>両者に共通して大事なのは、探索アルゴリズムがアノテーションされたマップと生画像のどちらを対象とするかに関わらず、そのアルゴリズムが入力画像中の視覚的手がかりを探索に活用できるようになること </strong>です。</p><p>このために、コンピュータがどのように問題インスタンスを視覚的に理解したかを、各ノード（画素）に対するコストで表すことにします。ここでは、そのようなマッピング関数を<strong>ガイドマップ</strong>φと呼び、それが与えるコストを<strong>ガイドコスト</strong>と呼ぶことにします。そして、このマッピング関数、つまりエンコーダと呼ばれるものを、以下のような畳込みニューラルネットワークを用いて実装します。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*TEEtrW_e9uo8o1qR3tkekg.png" /><figcaption>エンコーダは各問題インスタンス（即ち、入力画像と開始点・目標点）をガイドマップに変換する。ガイドマップ（右）中の緑と白の画素はそれぞれ高コストと低コストを表す。</figcaption></figure><p>ここでNeural A*の鍵となるアイディアは、<strong>A*探索をガイドマップ上で行い、ガイドコストの観点で経路コストが最小になる経路を探索する</strong>、というものです。ここで、ガイドマップは以下のような役割を果たすことになります。</p><ol><li>最短経路問題においては、ガイドマップは、入力マップの情報を拡張し、探索中どのノードを優先して探索すべきか、あるいは避けるべきかの優先順位をノードに与え、探索効率と最適性のトレードオフの改善を図る。</li><li>生画像上の経路探索問題においては、ガイドマップは、通行可能な領域とそうでない領域を入力画像中の色や模様から認識し、それらを低コストなノードと高コストなノードとして探索アルゴリズムに伝える。</li></ol><p>これらの工程はまさにNeural A*が実際に経路探索を行う挙動そのものになります。しかしながら、Neural A*が期待された通りに正しく動作するには、事前にエンコーダを適切に学習する必要があります。では、この学習はどのようにして行うのでしょうか？次のセクションで説明しましょう。</p><h3>微分可能A*モジュールによるEnd-to-end学習</h3><p>さて、期待されるようなガイドマップが出力されるよう、エンコーダをどのようにして学習するは、実際のところNeural A*のもう一つの要です。</p><p>基本的な方針は「ガイドマップ上でA*探索を行った際に求まる経路が、学習データで与えられる正解経路になるべく近くなるように、エンコーダを学習する」というものです。これは一見すると簡単 (?) に聞こえるかもしれませんが、勾配法に基づく学習では単純ではありません。なぜなら、A*探索アルゴリズムには、微分不可能な離散的操作が含まれており、そのため探索結果に対する損失を探索プロセスを介してエンコーダまで逆伝搬することができないからです。</p><p>これに対する本研究の提案は、<strong>A*探索アルゴリズム全体を微分可能なネットワーク・モジュールとして実現しよう</strong>、というものです。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sXemhARtf8hZtMiCHK_CkQ.png" /><figcaption>微分可能A*モジュールを用いた経路探索のEnd-to-end学習</figcaption></figure><p>上記のネットワーク図では、微分可能A*モジュールは学習パラメータなしの再帰的レイヤーとして見ることができ、このレイヤーはA*探索の反復操作に対応していて、ガイドマップ上での探索結果（探索ノード履歴マップ）を出力することができます。この探索ノード履歴マップは、前段のガイドマップやエンコーダと逆伝搬可能な計算グラフで接続されてます。このため、探索ノード履歴マップに対して損失を計算し、逆伝搬することで、エンコーダを学習することができます。</p><h3>微分可能A*モジュールの詳細</h3><p>もう少し詳しくこの微分可能A*モジュールについて知るために、まずは通常のA*探索がどのようにして行われるかを見てみましょう。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3P0OMHfqp9CPqBupfZ8Yg.png" /><figcaption>基本的にA*探索は、オープンリストと呼ばれるノードリストから最も有望なノードを取り出す選択ステップと、選択されたノードの近傍でまだ一度も開かれていないノードをオープンリストに追加する拡張ステップを、交互に、目標点が選択されるまで繰り返す。</figcaption></figure><p>基本的にA*探索は、ノード選択とノード拡張の2つの操作を、目標点が選ばれるまで繰り返すものです。</p><p><strong>ノード選択</strong>: ノード選択操作 (Algorithm 1の3行目) では、オープンリストと呼ばれるノードのリストから、その時点でもっとも有望なノードを1つ選択します。なお、オープンリストは開始点のみを含むように初期化されるため、最初の選択は必ず開始点ノードになります。ノードの選択は、以下の式によって行います。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*ZWdi1kZhctTgtT5IgPgi0g.png" /><figcaption>ノード選択は、経路の総コストの見積もりが最小になるノードvをオープンリストから選ぶ。総コストの見積もりは、開始点からvまでの実際の最小経路コストg(v)と、vから目標点までの見積もりコストh(v)の和で評価される。</figcaption></figure><p>ここで、<em>g</em>(<em>v</em>) は開始点から<em>v</em>までの、その時点での最良経路に沿った移動コストの和で、<em>g</em>(<em>v</em>) は探索中に逐次的に更新されます。一方、<em>h</em>(<em>v</em>) はヒューリスティック関数と呼ばる、<em>v</em>から目標点までの見積もりコストを表す関数で、例えば<em>v</em>と目標点の間の直線距離などが用いられます。これらを合わせて、<em>g</em>(<em>v</em>)+<em>h</em>(<em>v</em>) は開始点から目標点までの<em>v</em>を介した最良経路のコストを見積もります。ここで、式 (1) には微分不可能な arg max操作が含まれていることに留意してください。</p><p>ノード選択の後は、選択されたノード <em>v</em>* をオープンリストから削除し、それを今度は別のクローズドリストに追加します (Algorithm 1の4行目)。このクローズドリストは、空の状態で初期化され、探索中に選択されたノードを蓄積的に記録していくものです。</p><p><strong>ノード拡張</strong>: ノード拡張操作 (Algorithm 1の5～8行目) は、選択されたノード<em>v</em>*の近傍のうち、一度も開かれたことのないノードを、次のノード選択における新たな候補としてオープンリストに追加します。これらの一度も開かれたことのない近傍ノードは、以下の式によって表せます。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*b-Y7r_eBb--y10YaKvDWMQ.png" /><figcaption>ノード拡張は、選択されたノードの近傍のうち、一度も開かれたことのないノード（つまり、オープンリストにもクローズドニスロにもない近傍ノード）をオープンリストに追加する。</figcaption></figure><p>探索中、目標点が選択されれば、そこで探索を終了し、目標点からの親ノードをたどること（バックトレース）で見つかった経路を得ることができます。</p><p>基本的には、微分可能A*モジュールは、順方向の実行時においては、このA*探索アルゴリズムを1対1の対応で実行します。逆方向（逆伝搬時）においては、探索プロセスのほとんどのステップで厳密な勾配を計算できますが、一部の微分不可能な操作においては近似的な勾配を計算します。</p><p><strong>変数定義</strong>: 提案手法では、探索アルゴリズムをネットワークのモジュールとして実装するため、変数をそれぞれ行列として表し、各操作を基本的な行列操作の組み合せで実行します。例えば、開始点や目標点などの単一ノードの位置は、2値のone-hot行列（該当ノードの要素のみ1、他は0をとる行列）で表します。ガイドマップ <em>φ </em>(<em>v</em>) や累積コストマップ <em>g</em>(<em>v</em>)、ヒューリスティック関数 <em>h</em>(<em>v</em>) などのマッピング関数は、実数の行列 (<em>Φ</em>, <em>G,</em> および<em>H</em>) で表します。また、オープンリストやクローズドリストは2値の行列 (<em>O</em> と <em>C</em>) で表します。また、<em>X</em>を入力マップを表す変数とします。最短経路問題では、<em>X</em>は通行可ノードで1、通行不可ノードで0をとる2値行列とし、生画像上の経路探索問題では、<em>X</em>は実数値のカラー画像とします。</p><p><strong>微分可能なノード選択</strong>: 式 (1) の微分可能なバージョンは、微分可能A*モジュール内で最も重要な部分です。式 (1)の微分不可能性に対応するため、本研究では Hubara and Bengio et al. (2016) による活性化関数の離散化のテクニックを転用します。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*xuXJf5LSiLjihqmv3fP1Hw.png" /><figcaption>ノード選択中のarg max操作の勾配は、近似的にsoftmax関数の勾配で置き換える。</figcaption></figure><p>ここで関数 <em>I_</em>max (<em>A</em>) は、順動作の際には、行列<em>A</em>の argmax インデックスを2値のone-hot行列として計算します。逆動作（逆伝搬）時には、この関数は恒等写像、すなわち <em>I_</em>max (<em>A</em>)=<em>A </em>として振る舞うよう定義します。式 (3) での行列<em>A</em>に相当する部分は、基本的には、負のコスト -(<em>G</em> + <em>H</em>) に対する softmax 関数を温度パラメータ <em>τ </em>付きで計算するものです。ここで、オープンリスト行列<em>O</em>は、ノードがオープンリストから選ばれるように制限するための2値のマスクとして機能しています。言い換えれば、<strong>式 (3) は 順動作時には負のコストに対するマスク付きのhardmax関数として動作し、逆伝搬時には、その関数があたかも softmax関数であったかのように動作します</strong>。</p><p><em>V</em>*のオープンリスト<em>O</em>から削除は <em>O</em> ← <em>O - V</em>*で行えます。同様に、<em>V</em>* のクローズドリスト<em>C</em>への追加は <em>C</em> ← <em>C + V</em>* で行えます。なお、<em>V</em>*はone-hot行列で、1回の探索中に同じノードが何度も選択されることはありませんので、<em>O</em>と<em>C</em>は探索プロセス中、常に0か1の2値行列であるように保たれます。</p><p><strong>微分可能なノード拡張</strong>: <em>V*</em>がone-hot行列として与えられれば、ノード拡張操作は基本的な微分可能な行列操作の組み合わせで容易に実現できます。Xが2値のマップを表す最短経路問題では、式 (2) は以下のように表せます。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*CxE8rHIXgsq-ff2p0kri3w.png" /><figcaption>ノード拡張は固定カーネルの2次元畳み込みと2値行列によるマスク操作で実現できる。</figcaption></figure><p>なお、実画像問題においては、<em>X</em>による乗算項は省略します。式 (4) では、最初の項は<em>V*</em>と固定カーネル<em>K</em>の間の畳み込みを計算することで、<em>V*</em>の近傍を以下のように抽出します。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*4POK5jagKXtpWZPzquwlOg.png" /><figcaption>近傍ノードの抽出は固定カーネルによる畳込みで実現できる</figcaption></figure><p>式 (4) の残る3つの項は、近傍ノードに対してマスク操作をして、ノードが 1) 入力マップ<em>X</em>中の通過不可領域にある、2) オープンリスト<em>O</em>にある、3) クローズドリスト<em>C</em>にある、のいずれかの場合に当てはまるノードがあればそれを除外します。なお、ここで<em>X</em>と<em>O</em>と<em>C</em>のいずれも、先述の通り2値の行列であることに留意してください。また、式 (4) の勾配は 自動微分機能により簡単に計算することができます。</p><p>この近傍ノード<em>V</em>nbrを用いれば、オープンリストの拡張は <em>O</em> ← <em>O </em>+ <em>V</em>nbr で行えます。提案手法は、この微分可能なノード選択とノード拡張を、目標点が選択されるまで繰り返します。探索が終了したら、クローズドリスト<em>C</em>を、今までに選択されたノードの履歴マップとして、損失評価のために出力します。なお、親ノードのバックトレースにより実際に見つかった経路の計算もできますが、こちらは学習時には用いません。</p><p><strong>損失関数</strong>: 損失は、探索ノード履歴マップCと学習データで与えられる正解経路マップ^Pとの差を評価します。^Pは、期待する経路上の要素で1、それ以外で0をとるような2値行列です。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*DTR95e6hY-uZXaY5ODJ78g.png" /><figcaption>損失評価は、探索ノード履歴マップCと正解経路マップの差で行う。</figcaption></figure><p>提案手法の損失関数は、以下のような、マップサイズ|<em>V</em>|で平均化したL1ロスになります。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*TcT3ASLTnRMoxhc8swn1lg.png" /><figcaption>エンコーダの学習は、探索ノード履歴マップ（即ち、クローズドリスト）Cと正解経路^Pとの差を平均L1損失により評価することで行う。</figcaption></figure><p>この損失関数は、次の2種類のノード選択誤りに対してペナルティを与えるものです。1) false-negativeエラー：本来^Pを見つけるためにはCに入ってなければいけなかったノード。2) false-positiveエラー：^Pと比べCの中で余計だったノード。言い換えれば、この損失はNeural A*に対し、1) なるべく得られる経路を正解のものへと近づける一方、2) より少ないノード探索で実現するよう働きかけます。</p><p>特に、最短経路問題の場合では、今回、正解経路 ^<em>P</em>として最短経路解を与えています。したがって、この場合の損失はNeural A*に対し、1) なるべく最短経路に近い解を、2) より少ないノード探索で見つけるよう働きかけます。これがまさに、Neural A*が、単に探索効率のみを改善するのではなく、探索の最適性とのトレードオフを改善することの仕組みとなります。</p><p><strong>さらなる詳細</strong>: 論文では微分可能A*モジュールのさらなる詳細を説明しています。例えば、今回は割愛しましたが、累積コストマップ<em>G</em>が開始点から各ノードへの最良経路の累積コストとなるよう、<em>G</em>を逐次的に更新する方法も本論で説明しています。また、複数のマップに対してA*探索を同時にバッチ処理して学習効果を高める方法や、学習の安定化の方法についても述べています。</p><h3>最短経路探索問題での評価実験</h3><h4>ベースライン手法</h4><p>Neural A*の性能評価のため、以下の2つの類似したデータ駆動型の経路探索手法※と比較しました。</p><ul><li><strong>SAIL</strong> (Choudhury et al., 2018): データ駆動型の最良優先探索手法であり、ヒューリスティック関数を事例データから学習することで高い探索効率を達成した手法。本実験では、学習サンプルを学習したヒューリスティック関数で導くタイプ（<strong>SAIL</strong>）と、理想的なオラクルで導くタイプ（<strong>SAIL-SL</strong>）の2バージョンを試した。</li><li><strong>BB-A*</strong> (Vlastelica et al., 2020): データ駆動型の探索手法であり、ブラックボックス微分と呼ばれる、組合せ最適化ソルバーの汎用的な近似的微分法を用いて学習。この手法は提案手法と似ている面があるが、A*探索アルゴリズムを完全なブラックボックスとして扱う点で異なる。</li></ul><p>※ これら2つの手法は内部でNeural A*と同様のA*探索アルゴリズムを用いています。</p><p>また、今回は非データ駆動型の一般的な探索手法として、最良優先探索（<strong>BF</strong>）と重み付きA*（<strong>WA*</strong>）との比較も評価に加えました。さらに、提案手法の変形として、式 (3) で累積コストを無視して常に<em>G</em> = <em>Φ </em>を用いることで<em>、</em>最良優先探索のような挙動をする<strong>Neural BF</strong>も比較しました。</p><h4>評価指標</h4><p>探索性能の定量的な評価指標として、以下の3つを用いました。</p><ul><li><strong>Opt</strong>: 手法がどれくらいの頻度で最適（最短）な経路を見つけられたかを 0–100 (%) の値で表す。</li><li><strong>Exp</strong>: 通常のA*探索と比べて削減できた探索ステップ数を 0–100 (%) の値で表す。</li><li><strong>Hmean</strong>: OptとExpの調和平均。これは探索の効率と最適性のトレードオフがどれだけ改善したかを示すもので、本研究の主たる評価指標として用いました。</li></ul><h4>結果</h4><p>評価実験は、MP、Tiled MP、CSMという3種類のデータセットそれぞれに対して行いました。以下の結果が示す通り、Neural A*が最も高いHmeanスコアを達成し、探索の効率と最適性のトレードオフが最も大きかったことがわかります。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*7ER2hSDtJ8RB-YBkBXJ4Jg.png" /><figcaption>各評価指標のブートストラップ平均と95%の信頼区間を示す。MPデータセットは32 x 32サイズのマップからなり、他の2つのデータセットは64 x 64サイズのマップからなる。</figcaption></figure><p>定性的な比較は以下の通りです。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OzvqrOqSLVq7YPVP5l4ZAQ.png" /><figcaption>黒の画素は通行不能な障害物を表す。開始点 (”S”)、目標点 (“G”)、そして見つかった経路は赤で表す。その他の探索されたノードは緑で表す。</figcaption></figure><h3>生画像上での経路探索問題の評価実験</h3><p>Neural A*のもう一つのシナリオとして、生画像上での経路探索性能の評価を行いました。ここでは、Stanford Droneデータセットの固定カメラからの屋外画像に対して、歩行者の移動経路の開始点・目標点を与えた際に、実際の歩行経路を正確に予測できるかを検証しました。</p><p>評価の際は、実際の歩行者の経路と、その予測結果との間のchamfer距離を計算することで、Neural A*とBB-A*の性能を比較しました。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*V-MfqoauhJtmHNwUtJWfnA.png" /><figcaption>予測経路と正解経路間のchamfer距離に対して、ブートストラップ平均と95%信頼区間を示す。Intra-scenesでは、学習とテスト時で同じカメラ位置からの画像を用いた。一方、Inter-scenesでは、学習データにテストデータで用いたカメラ位置の画像が入らないようにして交差検証した。</figcaption></figure><p>上の表の結果が示すとおり、Neural A*のほうがより正解との距離が近い経路を予測できており、提案手法の有効性がわかります。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*YFJ-_T-iJm-oByy87JjnnA.png" /></figure><p>上の図は、実際のいくつかのシーンに対する入力データ、正解経路、および予測結果の例をしてしています。最後の例では、現時点での提案手法の限界点として、複数の可能な経路がある際に正解経路の予測に失敗している例を示しています。</p><h3>まとめ</h3><ul><li>本研究では新たなデータ駆動型の経路探索手法「Neural A*」と、そのコア技術である微分可能A*を提案しました。</li><li>Neural A*は経路探索にまつわる2つの異なる問題、すなわち従来の最短経路探索問題と生画像上の経路探索問題に対して、統一的なアプローチを提案しました。</li><li>最短経路探索問題に対しては、Neural A*は探索の効率と最適性のトレードオフを向上させました。</li><li>生画像上の経路探索問題に対しては、Neural A＊は学習データで与えられた経路の実例により近い経路を予測することができました。</li></ul><h3>さらなる情報</h3><ul><li><a href="http://proceedings.mlr.press/v139/yonetani21a/yonetani21a.pdf"><strong>論文本論</strong></a><strong> </strong>ではNeural A*のさらなる詳細を説明しています.</li><li><a href="http://proceedings.mlr.press/v139/yonetani21a/yonetani21a-supp.pdf"><strong>論文付随の補足資料</strong></a><strong> </strong>ではデータセット作成の際の詳細な手続きや、計算機資源、学習時間の情報、また、ほかの模倣学習ベースの手法との比較結果などを載せています。</li><li><a href="https://github.com/omron-sinicx/neural-astar"><strong>コードレポジトリー</strong></a><strong> </strong>では、論文の結果が再現可能なNeural A*や他のベースライン手法の学習およびテスト用コードをはじめ、データセット作成用のコードなども公開しています。</li><li><a href="https://omron-sinicx.github.io/neural-astar/"><strong>プロジェクトサイト</strong></a><strong> </strong>ではICMLの発表で用いたプレゼンテーションやポスターなどの資料も公開する予定です。</li><li>問い合わせ: ryo.yonetani -at- sinicx.com</li></ul><h3>インターン募集の案内</h3><p>本研究はOSXのPerception Groupのプロジェクトとして行われました。私たちは、他のグループ（Robotics GroupとInteraction Groups）とも合わせて、<a href="https://medium.com/sinicx/fy2021-%E7%A0%94%E7%A9%B6%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%B3%E3%81%AE%E5%8B%9F%E9%9B%86-fd6cc05e8098">優秀なインターン生を募集</a>しています。本研究の第3著者であるBarekatainさんもインターン生でした。彼は、実は2回目のインターンで、1回目の際は強化学習に関する研究を行い、その成果を以下の論文としてAIに関する難関会議IJCAI 2020にて発表しました。</p><blockquote>Mohammadamin Barekatain, Ryo Yonetani, Masashi Hamaya. <strong>MULTIPOLAR:<br>Multi-Source Policy Aggregation for Transfer Reinforcement Learning<br>between Diverse Environmental Dynamics. </strong><em>In </em>IJCAI, 2020.</blockquote><p>今回は、グループ内で進行中のプロジェクトに加わる形で、短期間のインターン期間のなかで大きな貢献をしてくれました。</p><p>OSXでのインターンを希望する方は、<a href="https://medium.com/sinicx/fy2021-%E7%A0%94%E7%A9%B6%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%B3%E3%81%AE%E5%8B%9F%E9%9B%86-fd6cc05e8098">こちらの募集案内</a>をお読みいただき、研究業績やスキルなどを記載したCVを添えて internships -at- sinicx.com までご連絡ください。</p><h3>参考文献（抜粋）</h3><ul><li>Chen et al. <strong>Learning to plan in high dimensions via neural exploration-exploitation trees</strong>. In <em>Proceedings of the International Conference on Learning Representations (ICLR)</em>, 2020.</li><li>Choudhury et al. <strong>Data-driven planning via imitation learning</strong>. <em>International Journal of Robotics Research (IJRR)</em>, 37(13–14):1632–1672, 2018.</li><li>Hubara et al. <strong>Binarized neural networks.</strong> In <em>Proceedings of the Advances in Neural Information Processing Systems (NeurIPS)</em>, pp. 4107–4115, 2016.</li><li>Ichter and Pavone. <strong>Robot motion planning in learned latent spaces</strong>. <em>IEEE Robotics and Automation Letters (RA-L)</em>, 4(3):2407–2414, 2019.</li><li>Ichter et al. <strong>Learned critical probabilistic roadmaps for robotic motion<br>planning</strong>. In <em>Proceedings of the IEEE International Conference on Robotics and Automation (ICRA)</em>, pp. 9535–9541, 2020.</li><li>Lee et al. <strong>Gated path planning networks</strong>. In <em>Proceedings of the International Conference on Machine Learning (ICML)</em>, 2018.</li><li>Qureshi et al. <strong>Motion planning networks</strong>. In <em>Proceedings of the IEEE<br>International Conference on Robotics and Automation (ICRA)</em>, pp. 2118–2124, 2019.</li><li>Takahashi et al. <strong>Learning heuristic functions for mobile robot path planning using deep neural networks</strong>. In <em>Proceedings of the International<br>Conference on Automated Planning and Scheduling (ICAPS)</em>, pp. 764–772, 2019.</li><li>Tamar et al. <strong>Value iteration networks</strong>. In <em>Proceedings of the Advances<br>in Neural Information Processing Systems (NeurIPS)</em>, pp.2154–2162, 2016.</li><li>Vlastelica et al. <strong>Differentiation of blackbox combinatorial solvers</strong>. In <em>Proceedings of the International Conference on Learning Representations (ICLR)</em>, 2020.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=575623fd96fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sinicx-ja/%E3%83%87%E3%83%BC%E3%82%BF%E9%A7%86%E5%8B%95%E5%9E%8B%E7%B5%8C%E8%B7%AF%E6%8E%A2%E7%B4%A2%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E7%A0%94%E7%A9%B6%E3%81%8Cicml-2021%E3%81%AB%E6%8E%A1%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F-575623fd96fe">データ駆動型経路探索に関する研究がICML 2021に採択されました</a> was originally published in <a href="https://medium.com/sinicx-ja">OMRON SINIC X (JP)</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Path Planning using Neural A* Search (ICML 2021)]]></title>
            <link>https://medium.com/sinicx/path-planning-using-neural-a-search-icml-2021-ecc6f2e71b1f?source=rss-ef5b1c8a517f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecc6f2e71b1f</guid>
            <category><![CDATA[path-planning]]></category>
            <category><![CDATA[icml]]></category>
            <category><![CDATA[machine-learnin]]></category>
            <category><![CDATA[en]]></category>
            <category><![CDATA[motion-planning]]></category>
            <dc:creator><![CDATA[Tatsunori Taniai]]></dc:creator>
            <pubDate>Tue, 13 Jul 2021 08:53:20 GMT</pubDate>
            <atom:updated>2021-07-14T03:12:36.455Z</atom:updated>
            <content:encoded><![CDATA[<p>We are excited to announce that our new work on data-driven path planning has been accepted to <strong>the 38th International Conference on Machine Learning (ICML 2021)</strong>.</p><blockquote><a href="https://yonetaniryo.github.io/">Ryo Yonetani</a>*¹, <a href="https://taniai.space/">Tatsunori Taniai</a>*¹, <a href="http://barekatain.me/">Mohammadamin Barekatain</a>², <a href="https://denkiwakame.github.io/">Mai Nishimura</a>¹, <a href="https://kanezaki.github.io/">Asako Kanezaki</a>³. “<strong><em>Path Planning using Neural A* Search</em></strong><em>”, In </em>Proceedings of the 38th International Conference on Machine Learning (ICML)<em>, PMLR 139:12029–12039, 2021</em>. <em>[</em><a href="http://proceedings.mlr.press/v139/yonetani21a.html"><em>Paper</em></a><em>] [</em><a href="https://arxiv.org/abs/2009.07476"><em>arXiv</em></a><em>] [</em><a href="https://omron-sinicx.github.io/neural-astar/"><em>Project</em></a><em>] [</em><a href="https://github.com/omron-sinicx/neural-astar"><em>Code</em></a><em>]</em></blockquote><blockquote><em>* Equal contributions, ¹ </em><a href="https://www.omron.com/sinicx/en/"><em>OMRON SINIC X Corporation</em></a><em>, ² DeepMind (M.B. was formaly an intern at OMRON SINIC X), ³ Tokyo Institute of Technology.</em></blockquote><figure><img alt="ICML logo" src="https://cdn-images-1.medium.com/max/590/1*U2SnLnDWdnN1dZV-z6kvmA.png" /></figure><p>The ICML, taking place virtually this year from July 18th through 24th, is recognized as one of the top venues for machine learning research among the Neural Information Processing Systems (NeurIPS) and the International Conference on Representation Learning (ICLR). <strong>Our spotlight talk is scheduled for Wed July 21, from 2:05 PM to 2:10 PM (GMT).</strong></p><p>This work was done collaboratively through discussions with our technical advisor, <a href="https://kanezaki.github.io/">Professor Kanezaki</a>, and also with our former intern, <a href="http://barekatain.me/">M. Barekatain</a>, who substantially supported numerical analysis and experiments by building a <a href="https://github.com/omron-sinicx/neural-astar">beautiful codebase</a>.</p><figure><img alt="Overview of Neural A*" src="https://cdn-images-1.medium.com/max/718/1*S7DcggwELM2naqIbiC6omA.png" /></figure><p>In this work, we propose a new data-driven path planner named <strong>Neural A*</strong> with a novel neural-network module <strong>Differentiable A*</strong>. <em>This module performs a canonical A* search algorithm in a neural network and enables the end-to-end learning of path planning by backpropagating losses for path search results.</em> For conventional shortest-path search problems, Neural A* can accelerate the efficiency of A* search without much degrading its ability to find shortest (i.e., optimal) paths. Furthermore, Neural A* enables the path planning directly on raw images in the absence of the annotations of passable and impassable locations.</p><p>Below, we introduce two motivating challenges in path planning and show the ideas and technical details of this work.</p><h3>Shortest-Path Search Problems</h3><p>To begin with, let’s assume a path planning problem on a 2D grid-based map. Typically, a problem instance of path planning consists of a map and the locations of start and goal nodes. The objective for a planner is to find a short movement path from the start to the goal location. Look at an example below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/1*aXrCgYnThF43sWiXCNIjAQ.png" /><figcaption>Path planning is the task of finding a low-cost path from start to goal locations in a map.</figcaption></figure><p>The map essentially shows the presence of impassable locations or obstacles (colored in black). For passable locations (colored in gray), a map can generally hold the fine-grained information of movement costs, for instance, relatively high costs for unpaved roads, etc. But for simplicity, let’s assume that all passable locations have unit movement costs so that each location is assigned either 1 (passable) or an infinitely large cost (impassable).</p><p>When we look at the above map, we will be able to instantly find a (near-)shortest path without difficulty. Now, let’s see how a typical machine planner works for this map.</p><figure><img alt="Shortest path search by A*" src="https://cdn-images-1.medium.com/max/256/1*sf78ik2DQqe7maZ51R3gnQ.gif" /><figcaption>The process of path planning by the conventional A* search.</figcaption></figure><p>The animation shows the process of A* search, a standard algorithm for shortest path problems. As revealed, <em>there is a dead-end region in the map that can easily trap the path search by a machine planner. </em>However, the presence of the dead end may have not been obvious to us at first glance. Hypothetically, we can somehow unconsciously exploit visual cues in the map, such as shapes of dead ends and bypasses, and recognize promising and unpromising routes almost instantly.</p><p>This observation leads to a question: <em>Can we make a machine planner that can exploit visual cues in a map to do planning more intelligently, as we do?</em></p><h3>Path Planning on Raw Images</h3><p>Previously, we showed a typical setting of path planning in which a planner knows the locations of passable and impassable regions as an input map. Such information is vital for classical, non-data-driven path planners such as A* search and must be provided, for example, by manually annotating raw images with passable/impassable regions. But, what if we have no such annotation? Here comes another interesting problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*btRE1PJQpJ6xm6MytBToew.png" /><figcaption>For the raw natural image on the left, we can easily recognize passable and impassable regions from the colors and textures of roads and trees. These visual cues allow us to draw a passable route on the image.</figcaption></figure><p>Here, we show a real-world image captured by a surveillance camera. In the left picture, we can recognize a crossroads and some trees along the way with the help of visual cues such as colors and textures of these objects and stuff. So, if we are asked to draw a path between the two red points, we will be able to draw one along the road, as shown in the right picture.</p><p>This observation leads to another question: <em>Can we make a machine planner that can exploit visual cues in a raw image to perform the planning directly on it?</em></p><h3>Data-driven Path Planning</h3><p>So far, we have introduced two scenarios of path planning and explained the limitations of classical machine planners compared to our abilities. Indeed, these two problems are gaining attention in recent work on data-driven path planners. More specifically,</p><ol><li><strong>For shortest-path search problems</strong>, there are studies on data-driven planning that aim to make machine planners more efficient (Choudhury et al., 2018; Qureshi et al., 2019; Takahashi et al., 2019; Chen et al., 2020; Ichter et al., 2020).</li><li><strong>For planning problems on raw images</strong>, there are studies that aim to make machine planners runnable directly on raw images (Tamar et al., 2016; Lee et al., 2018; Ichter &amp; Pavone, 2019; Vlastelica et al., 2020) by using approaches of imitation learning and inverse reinforcement learning.</li></ol><p>From another perspective of data-driven path planning, what kind of supervision we use to train machine planners is also important. While some approaches assume rich annotations such as the optimal distance-to-go at every node of the maps in training data (Takahashi et al., 2019) or optimal planners running online (Choudhury et al., 2018), approaches by <em>learning-from-demonstrations</em> (Vlastelica et al., 2020) assume relatively cheaper training data constituting problem instances and demonstrated paths (i.e., ground-truth paths).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*3ropgBXZ-VF0XbWfOv7nzg.png" /><figcaption>Approaches by learning-from-demonstrations use pairs of problem instances (i.e., maps with start and goal locations) and path demonstrations as training data.</figcaption></figure><h3>Contributions</h3><p>As main contributions of this work, we propose a new data-driven path planner, <strong>Neural A*</strong>, as <em>a principled solution to both problems</em>. Specifically, we employ an approach of learning-from-demonstrations for both problems, and show the following results:</p><ol><li><strong>For shortest-path search problems</strong>, Neural A* shows better performance in terms of the trade-off between search optimality and efficiency, compared to Choudhury et al. (2018) and Vlastelica et al. (2020). Note that we here do not simply seek an efficient planner, as done in the past work, but also simultaneously aim to keep the planner’s ability to find optimal (i.e., shortest) paths.</li><li><strong>For path planning on raw images</strong>, Neural A* can learn to predict pedestrian trajectories from raw real-world surveillance images more accurately than Vlastelica et al. (2020) and other imitation learners (Ratliff et al., 2006; Tamar et al., 2016; Lee et al., 2018).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*ManpMPrsW3JbaYoIoOID3A.gif" /><figcaption>One scenario with Neural A* aims to accelerate a standard A* search algorithm (left) by exploiting visual cues to find a path that is close to optimal (right).</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*BZbzJUN-T6Q6_cQqNQTOKg.png" /><figcaption>The other scenario with Neural A* aims to accurately predict paths on raw images by learning from human demonstrations on training instances.</figcaption></figure><h3>Neural A*</h3><p>Now, we explain how Neural A* learns to solve the two types of planning problems in a principled fashion.</p><h4>Path Search via Guidance Maps</h4><p>In our explanations of the two path-planning problems, some readers may have noticed a common observation for both problems. That is, <em>regardless of whether a planner runs on annotated maps or raw images, it is essential that the planner learn to exploit visual cues in the inputs for planning</em>.</p><p>To this end, we represent the planner’s understanding about a problem instance as costs for nodes (pixels). We refer to such a mapping of costs as a <strong>guidance map</strong> φ and its costs as <strong>guidance costs</strong>. We implement this mapping function, or an “encoder”, by using a convolutional neural network, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*S_3kcYTEiuRo-ELAjZ1AaQ.png" /><figcaption>We transform each problem instance (i.e., a map image with start and goal locations) into a guidance map. Green and white colors in the guidance maps indicate high and low costs, respectively.</figcaption></figure><p>A key idea of Neural A* is to perform A* searches on guidance maps, which are transformed from input problem instances by an encoder, and find the lowest-cost paths in terms of guidance costs. Here, the roles of guidance maps are as follows.</p><ol><li><strong>For shortest-path search problems</strong>, guidance maps are served to augment the input maps to prioritize which nodes to explore/avoid for improving the search optimality-efficiency trade-off.</li><li><strong>For path planning on raw images</strong>, guidance maps distinguish passable and impassable regions from colors and textures and represent them as low and high-cost nodes.</li></ol><p>These processes are exactly how Neural A* performs path planning during inference, once its encoder is properly trained. OK, then how to train the encoder? Let’s see it in the next section!</p><h4>End-to-End Training with a Differentiable A* Module</h4><p>How to train the encoder to produce desired guidance maps is indeed another important aspect of Neural A*.</p><p>Basically, we train the encoder so that path searching on guidance maps results in paths close to ground-truth paths provided by training data. However, with gradient descent learning, this training strategy is not as trivial as it may sound. The A* search algorithm involves discrete procedures, which prevent us from backpropagating losses on search outputs through the search procedures to the encoder.</p><p>As our solution, <em>we make the whole A* search algorithm as a differentiable A* module in a neural network.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sXemhARtf8hZtMiCHK_CkQ.png" /><figcaption>End-to-end training of path planning using our differentiable A* module.</figcaption></figure><p>In the network in the above figure, the differentiable A* module can be viewed as parameter-free recurrent layers that perform A* search iterations for a guidance map and output a search history map. This search history map is connected with the guidance map and with the encoder by backpropagatable computational chains. Thus, backpropagating a loss for the search history map allows us to update the encoder.</p><h4>Details of the Differentiable A* Module</h4><p>To understand inside the differentiable A* module, let’s see how a vanilla A* search algorithm works at first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3P0OMHfqp9CPqBupfZ8Yg.png" /><figcaption>Essentially, an A* search iterates between selecting the most promising node from an open list and expanding the list with the never-opened neighbors of the selected node, until the goal node is selected.</figcaption></figure><p>Basically, the A* search algorithm repeats two steps, the node selection and the node expansion, until the goal is selected.</p><p><strong>Node selection</strong>: The node selection step (line 3 of Algorithm 1) chooses the current most promising node in a list called an <em>open list</em>,<em> </em>which is initialized to only contain the start node. The selection is done by the following criterion:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*ZWdi1kZhctTgtT5IgPgi0g.png" /><figcaption>Selects the node that has the minimum total cost estimation, which is evaluated as the sum of an actual cumulative cost and a heuristic cost.</figcaption></figure><p>Here, <em>g</em>(<em>v</em>) is the actual total cost accumulating the costs for the nodes along the current best path from the start to <em>v. </em>This <em>g</em>(<em>v</em>) is updated incrementally during a search. On the other hand, <em>h</em>(<em>v</em>) is a heuristic function estimating the total cost from <em>v</em> to the goal, such as a straight-line distance between <em>v</em> and the goal. Together, <em>g</em>(<em>v</em>)+<em>h</em>(<em>v</em>) estimates the total cost between the start and goal along a path via <em>v</em>. Notice that the node selection involves the arg max operation, which is non-differentiable.</p><p>After the node selection, the selected node <em>v</em>* is removed from the open list and added to another list called a <em>closed list </em>(line 4 in Algorithm 1), which is initialized as empty.</p><p><strong>Node expansion</strong>: The node expansion step (lines 5–8 in Algorithm 1) adds never-opened neighbors of the selected node <em>v</em>* into the open list as new candidates for the next node selection. These never-opened neighbors can be written by the following equation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*b-Y7r_eBb--y10YaKvDWMQ.png" /><figcaption>In the node expansion step, never-opened neighbors of the selected node v* (i.e., neighbors that are neither in the open list nor the closed list) are added to the open list.</figcaption></figure><p>Once the goal node is selected, the iteration process is terminated and the parent nodes from the goal are back-traced to obtain a path.</p><p>Basically, our differentiable A* module in a forward pass traces this A* search algorithm in a one-to-one manner. In a backward pass, the module mostly computes exact gradients at each step while partly adopting approximate gradients for originally non-differentiable operations.</p><p><strong>Notations</strong>: To implement the algorithm as a network module, we represent each variable as a matrix so that each step can be performed using basic matrix operations. We represent single nodes such as the start and goal as binary one-hot matrices (<em>Vs</em> and <em>Vg</em>), mapping functions such as the guidance map <em>φ </em>(<em>v</em>), the cumulative cost map <em>g</em>(<em>v</em>), and the heuristic functions <em>h</em>(<em>v</em>) as real-valued matrices (<em>Φ</em>, <em>G,</em> and <em>H</em>), and the open and closed lists as binary matrices (<em>O</em> and <em>C</em>). Also, we use <em>X</em> to represent an input map. For shortest pass problems, X is a binary matrix taking 1 for passable nodes and 0 for impassable nodes. For planning on raw images, <em>X</em> is a color image.</p><p><strong>Differentiable node selection</strong>: The differentiable version of Equation (1)<strong> </strong>is the most critical part in the differentiable A*. For its non-differentiability, we leverage a discretized activation technique inspired by Hubara and Bengio et al. (2016).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*xuXJf5LSiLjihqmv3fP1Hw.png" /><figcaption>Gradients of the arg max operation are approximated by gradients of the softmax function.</figcaption></figure><p>The function <em>I_</em>max (<em>A</em>) computes the argmax index of <em>A</em> as a binary one-hot matrix in a forward pass, while it acts as the identity function, <em>I_</em>max (<em>A</em>)=<em>A, </em>for backpropagation. In Equation (3), the part corresponding to <em>A</em> essentially computes the softmax function for negative costs, -(<em>G</em> + <em>H</em>), with a temperature parameter <em>τ. </em>The open-list matrix <em>O</em> is also used as a binary mask for forcing a node to be selected from the open list. In other words, <em>Equation (3) computes the hardmax function of negative costs with the masking of the open list in a forward pass, and then in a backward pass, it acts as if it were the softmax function.</em></p><p>Removing <em>V</em>* from the open list <em>O</em> is done by <em>O</em> ← <em>O - V</em>*. Also, adding <em>V</em>* to the closed list <em>C </em>is done by <em>C</em> ← <em>C + V</em>*. Thus, both O and C are kept as binary matrices during the search procedure.</p><p><strong>Differentiable node expansion</strong>: Given <em>V* </em>as a one-hot matrix, the node expansion can be performed in a differentiable manner by simply using basic matrix operations. For shortest path problems with binary maps <em>X</em>, Equation (2) can be rewritten as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*CxE8rHIXgsq-ff2p0kri3w.png" /><figcaption>The node expansion is done by combining a fixed-kernel 2D convolution with binary masking operations.</figcaption></figure><p>For raw image problems, we ignore the multiplication term with <em>X. </em>In Equation (4), the first term extracts the neighbors of <em>V*</em> using a convolution between <em>V* </em>and a fixed kernel <em>K</em>, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*4POK5jagKXtpWZPzquwlOg.png" /><figcaption>The neighbor extraction is done by a convolution.</figcaption></figure><p>The remaining terms in Equation (4) are masking operations to exclude neighbor nodes if they belong to 1) impassable regions indicated by the input map <em>X</em>, 2) the open list <em>O</em>, or 3) the closed list <em>C</em>. Note that <em>X</em>, <em>O</em>, and <em>C</em> are all binary matrices. Also note that gradients of Equation (4) can be computed simply by <em>autodiff</em>.</p><p>With this <em>V</em>nbr, the open list is expanded as <em>O</em> ← <em>O </em>+ <em>V</em>nbr. We repeat these node selection and expansion steps until the goal node is selected. After the termination, we output <em>C </em>as the history of the opened nodes for a loss evaluation as well as a back-traced path as a search result.</p><p><strong>Loss Function</strong>: A loss is evaluated between the search history <em>C </em>and a ground-truth path map ^P, which is a binary matrix whose elements take 1 along a desired path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*YK2okfkr6yiGZKJIug2Osw.png" /><figcaption>A loss is evaluated between a search history map C and a ground-truth path map ^P.</figcaption></figure><p>Our loss function is defined as the mean L1 loss with a map size |<em>V</em>| as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*TcT3ASLTnRMoxhc8swn1lg.png" /><figcaption>We evaluate the mean L1 loss between the search history map (i.e., the closed list matrix) C and the ground-truth path map ^P.</figcaption></figure><p>This loss supervises the node selections by penalizing both (1) the false-negative selections of nodes that should have been taken into C to find ^P and (2) the false-positive selections of nodes that were excessive in C to match with ^P. In other words, this loss encourages Neural A* to (1) search<br>for a path that is close to the ground-truth path (2) with fewer node explorations.</p><p>Particularly, for the case of shortest path problems, we provide a shortest path solution as the ground-truth path ^<em>P. </em>Thus, the loss encourages Neural A* to (1) search for a shortest path (2) with fewer node explorations. This is why Neural A* can improve not only the search efficiency but also the trade-off with the search optimality.</p><p><strong>More details</strong>: In the paper, we explain more details of the differentiable A* module. For example, we explain how to update the cumulative cost map <em>G</em>, which accumulates guidance costs <em>Φ </em>along current best paths from the start node to others. We also explain a few tricks for simultaneously performing a batch of A* searches, stabilizing training, etc.</p><h3>Evaluations on shortest-path search problems</h3><h4>Baseline Methods</h4><p>We evaluated the performances of Neural A* in comparison with the following two data-driven search-based path planners.</p><ul><li><strong>SAIL</strong> (Choudhury et al., 2018): A data-driven best-first search method that achieved high search efficiency by learning a heuristic function from demonstrations. We evaluated two variants of SAIL in which training samples were rolled out using the learned heuristic function (<strong>SAIL</strong>)<br>or the oracle planner (<strong>SAIL-SL</strong>).</li><li><strong>BB-A*</strong> (Vlastelica et al., 2020): A data-driven A* search method trained by using Blackbox Differentiation, a general-purpose approach to differentiating combinatorial solvers. While this method is similar to ours, it treats the A* search algorithm completely as a blackbox function.</li></ul><p>We also compare with best-first search (<strong>BF</strong>) and weighted A* (<strong>WA*</strong>) methods as standard non-data-driven planners. <strong>Neural BF</strong> is a best-first-search-like variant of Neural A* that always uses <em>G</em> = <em>Φ</em> in Equation (3) ignoring cost accumulations.</p><h4>Evaluation Metrics</h4><p>We evaluated performances using the following metrics.</p><ul><li><strong>Opt</strong>: How often a planner found shortest paths in 0–100 (%).</li><li><strong>Exp</strong>: The number of reduced search steps compared to the standard A* search in 0-100 (%).</li><li><strong>Hmean</strong>: The harmonic mean between Opt and Exp, showing improvements in the trade-off between the search efficiency and optimality. This is our main evaluation metric.</li></ul><h4>Results</h4><p>We show evaluations on three datasets, MP, Tiled MP, and CSM. As shown, Neural A* achieved the best Hmean scores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*7ER2hSDtJ8RB-YBkBXJ4Jg.png" /><figcaption>We show bootstrap means and 95% confidence bounds of each evaluation metric. The MP Dataset has maps with the size of 32 x 32 while the other two have maps with the size of 64 x 64.</figcaption></figure><p>Quantitative comparisons are shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OzvqrOqSLVq7YPVP5l4ZAQ.png" /><figcaption>Black pixels indicate impassable obstacles. Start nodes (“S”), goal nodes (“G”), and found paths are annotated in red. Other explored nodes are colored in green.</figcaption></figure><h3>Evaluations on planning on raw images</h3><p>As another scenario for Neural A*, we evaluated its planning performances on raw images. Here, we prepared a task of predicting actual pedestrian trajectories given real-world surveillance images from the Stanford Drone Dataset with start and goal locations.</p><p>We evaluated the chamfer distances between predicted and ground-truth pedestrian trajectories, and compared Neural A* with BB-A*.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*V-MfqoauhJtmHNwUtJWfnA.png" /><figcaption>Bootstrap means and 95% confidence bounds of the chamfer distance between predicted and ground-truth pedestrian trajectories. In intra-scenes, we trained and tested using images from the same camera location. In inter-scenes, we performed leave-one-location-out cross-validation.</figcaption></figure><p>As shown, Neural A* predicted paths much closer to actual pedestrian trajectories. Below, we show some examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*YFJ-_T-iJm-oByy87JjnnA.png" /></figure><p>As a current limitation shown in the last example, Neural A* sometimes failed to predict the ground-truth path when there were multiple possible routes between the start and goal.</p><h3>Summary</h3><ul><li>We presented a new data-driven path planner named Neural A* with a novel network module named Differentiable A*.</li><li>Neural A* can address two different planning problems, conventional shortest-path search problems and path planning on raw images, in a principled fashion.</li><li>For shortest-path search problems, Neural A* improved the trade-off between search efficiency and optimality.</li><li>For path planning on raw images, Neural A* learned to predict paths similar to those provided in training demonstrations.</li></ul><h3>Learn More about Neural A*</h3><ul><li><a href="http://proceedings.mlr.press/v139/yonetani21a/yonetani21a.pdf">Our main paper</a> explains more details of Neural A*.</li><li><a href="http://proceedings.mlr.press/v139/yonetani21a/yonetani21a-supp.pdf">Our supplementary material</a> provides the detailed setups of the dataset creation, the information of our computing infrastructure and training times, additional results including comparisons with imitation learning methods, etc.</li><li><a href="https://github.com/omron-sinicx/neural-astar">Our code repository</a> provides the reproducible codes for training and testing Neural A* and other baseline methods, as well as the codes for creating datasets, etc.</li><li><a href="https://omron-sinicx.github.io/neural-astar/">Our project site</a> also provides other useful materials such as a presentation and a poster presented at ICML.</li><li>Contacts: ryo.yonetani -at- sinicx.com</li></ul><h3>Call for Interns</h3><p>This project was done as a project in the Perception Group at OMRON SINIC X. We and our other groups (Robotics Group and Interaction Group) are looking for talented students for our internships. The third author, M. Barekatain, was also our intern. This project was actually his second internship at OSX, after he interned once for another project on reinforcement learning and published a paper as the first author at IJCAI 2020.</p><blockquote>Mohammadamin Barekatain, Ryo Yonetani, Masashi Hamaya. <strong>MULTIPOLAR:<br>Multi-Source Policy Aggregation for Transfer Reinforcement Learning<br>between Diverse Environmental Dynamics</strong>, In <em>IJCAI</em>, 2020.</blockquote><p>This time he joined our ongoing project and did great coding work even for a short period.</p><p>If you are interested in our internship opportunities at OSX, please contact us at internships -at- sinicx.com with your latest CV summarizing your research experiences, skills, etc.</p><h3>Selected References</h3><ul><li>Chen et al. <strong>Learning to plan in high dimensions via neural exploration-exploitation trees</strong>. In <em>Proceedings of the International Conference on Learning Representations (ICLR)</em>, 2020.</li><li>Choudhury et al. <strong>Data-driven planning via imitation learning</strong>. <em>International Journal of Robotics Research (IJRR)</em>, 37(13–14):1632–1672, 2018.</li><li>Hubara et al. <strong>Binarized neural networks.</strong> In <em>Proceedings of the Advances in Neural Information Processing Systems (NeurIPS)</em>, pp. 4107–4115, 2016.</li><li>Ichter and Pavone. <strong>Robot motion planning in learned latent spaces</strong>. <em>IEEE Robotics and Automation Letters (RA-L)</em>, 4(3):2407–2414, 2019.</li><li>Ichter et al. <strong>Learned critical probabilistic roadmaps for robotic motion<br>planning</strong>. In <em>Proceedings of the IEEE International Conference on Robotics and Automation (ICRA)</em>, pp. 9535–9541, 2020.</li><li>Lee et al. <strong>Gated path planning networks</strong>. In <em>Proceedings of the International Conference on Machine Learning (ICML)</em>, 2018.</li><li>Qureshi et al. <strong>Motion planning networks</strong>. In <em>Proceedings of the IEEE<br>International Conference on Robotics and Automation (ICRA)</em>, pp. 2118–2124, 2019.</li><li>Takahashi et al. <strong>Learning heuristic functions for mobile robot path planning using deep neural networks</strong>. In <em>Proceedings of the International<br>Conference on Automated Planning and Scheduling (ICAPS)</em>, pp. 764–772, 2019.</li><li>Tamar et al. <strong>Value iteration networks</strong>. In <em>Proceedings of the Advances<br>in Neural Information Processing Systems (NeurIPS)</em>, pp.2154–2162, 2016.</li><li>Vlastelica et al. <strong>Differentiation of blackbox combinatorial solvers</strong>. In <em>Proceedings of the International Conference on Learning Representations (ICLR)</em>, 2020.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecc6f2e71b1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sinicx/path-planning-using-neural-a-search-icml-2021-ecc6f2e71b1f">Path Planning using Neural A* Search (ICML 2021)</a> was originally published in <a href="https://medium.com/sinicx">OMRON SINIC X</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>