<?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 Ro Witthawin on Medium]]></title>
        <description><![CDATA[Stories by Ro Witthawin on Medium]]></description>
        <link>https://medium.com/@ro-witthawin?source=rss-3a50c5628ec5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xnDk6Y2gFcDCGjpNyHWiBg.png</url>
            <title>Stories by Ro Witthawin on Medium</title>
            <link>https://medium.com/@ro-witthawin?source=rss-3a50c5628ec5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:46:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ro-witthawin/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[Qwen3-VL new state-of-the-art for Vision-Language Models]]></title>
            <link>https://medium.com/@ro-witthawin/qwen3-vl-new-state-of-the-art-for-vision-language-models-04fa9af0489b?source=rss-3a50c5628ec5------2</link>
            <guid isPermaLink="false">https://medium.com/p/04fa9af0489b</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[qwen]]></category>
            <category><![CDATA[qwen3-vl]]></category>
            <category><![CDATA[vision-language-model]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Ro Witthawin]]></dc:creator>
            <pubDate>Sun, 05 Oct 2025 06:43:17 GMT</pubDate>
            <atom:updated>2025-10-05T07:57:59.120Z</atom:updated>
            <content:encoded><![CDATA[<p>Qwen3VL โมเดลตระกูล Vision-Language ใหม่สดๆร้อนจากฝั่งจีนเพิ่มความสามารถเรื่องการมองเห็น (Vision) ให้กับยุคของ AI Agent</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1MOFmMe9wo_D23Rd" /><figcaption>Qwen3-VL new Architecture</figcaption></figure><p>หลังจากผ่านมากว่า 7 เดือนที่ Qwen ออก Vision-Language Model อย่างตัว Qwen2.5VL ออกมาซึ่งช่วงนั้นเป็นกระแสฮือฮามากสำหรับสาย VL เรียกว่าเป็น Model ที่ combine ระหว่าง Vision Space กับ Language Space ได้ดีมากๆๆๆ และก็ครองอันดับ VL OpenModel ของโนว์มาอย่างเนิ่นนาน เนื่องจากเป็นโมเดลที่แค่ 7B ก็ทำโจทย์ VQA ได้ดีแล้ว ถึงแม้ช่วงนั้นโจทย์ทางด้าน VLM กับ Agent จะถูกมองแยกกันก็ตาม</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*Am91jO6vOtLe3CNsuoseBA.png" /><figcaption>Qwen3VL สามารถทำ FunctionCalling ได้ดีกว่า Qwen2.5VL ตัวอย่างในภาพเป็นการเรียกใช้ function `image_zoom_in_tool` เพื่อ crop รูปเฉพาะส่วนป้าย “Hop Inn”</figcaption></figure><p>ปัจจุบันผู้พัฒนา Model หลายๆเจ้าเริ่มหันมาพัฒนาให้โมเดล Language Model ของตัวเองให้พอจะเป็นสมองของ Agent ได้ เช่น การทำ Conversation turn-based ไม่ใช่แค่ถามมาตอบไป หรือการทำ Function Calling เพื่อให้ Agent support การเรียกใช้งาน External tools (รวมถึง MCP ด้วย)</p><blockquote>ใช่ครับ Qwen3VL support Agent task เห็นได้จาก Benchmark จากเดิมทีที่ Qwen2.5VL จะเน้นทำได้ดีในโจทย์ของ VQA แต่แน่นอนกาลเวลาเปลี่ยน Model ตัวใหม่ๆย่อมได้รับ challenge ที่ยากขึ้นตามกาลเวลาด้วย ปัจจุบัน Qwen3VL ปล่อย OpenModel ออกมาด้วยกัน 2 size ได้แก่ 30B &amp; 235B ผ่านการทดสอบไม่ว่าจะด้วย VQA, Document Understanding, Vision Grounding, Agent based (Instruction Following &amp; Function Calling) ซึ่งผลลัพธ์ก็เป็นตามคาด</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5-R7Evy5p0too2KH" /><figcaption>Qwen3VL 235B Benchmark เมื่อเทียบกับ Top-tier model อย่าง Gemini2.5-Pro, GPT5, Claude-Opus-4.1 จะเห็นได้ว่าในด้านของ VQA กับ Spatial task ตัว Qwen3VL ทำได้ดีกว่าอย่างเห็นได้ชัด</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JUHwLVjayDOb-lun" /><figcaption>Qwen3VL 30B Benchmark เปรียบเทียบกับโมเดล version เก่าอย่าง Qwen2.5VL-72B จะเห็นว่าด้วยขนาดของโมเดลที่เล็กลงจาก 72b -&gt; 30B แม้ขนาดโมเดลจะเล็กลงเกือบ 2 เท่า Qwen3VL ก็ยังทำได้ดีไม่แพ้โมเดลรุ่นเก่า</figcaption></figure><blockquote>จาก Benchmark เราจะสังเกตได้ว่า Qwen3VL-30B ดีกว่า Qwen2.5VL-72B ในหลายๆด้าน แม้ว่าใน Multi-Image กับ Document Benchmark จะ drop ลงเล็กน้อยแต่ก็ไม่ได้เป็นผลมาก ในขณะที่ tier ใหญ่อย่างพี่ Qwen3VL-235B ที่ถูกวัด tier เดียวกับ Gemini2.5Pro และ GPT5</blockquote><blockquote>ที่น่าสนใจคือ Qwen สามารถทำโจทย์ในเรื่องของ Embodied แล้วก็ Spatial Understanding ที่ให้ผลลัพธ์ที่ดีกว่า นั่นแสดงให้เห็นว่า Qwen เริ่มขยับจากที่จะ Focus แค่ Pixel-level บน Vision Input มาพยายาม Grounding เพื่อหา relationship บน Real-world อย่าง Spatial taskมากยิ่งขึ้นหรือนี่จะเป็น การบอกกลายๆว่า Pixel based ใกล้ถึงทางตันแล้ว(มั้ง)</blockquote><h3>Summary</h3><p>สรุป Qwen3VL ออกโมเดลมา 2 ขนาดได้แก่ 30B ขนาดที่คนทั่วไปรันได้(โมเดลเล็กกี่โมงงงง -&gt; อย่างน้อยเค้าก็ยังมี Quantize กับ FP8 ให้คนไม่มี GPU อย่าง H200 ก็รันได้นะ) กับ 235B สำหรับใครที่อยากได้ความฉลาดใกล้เคียงกับ Top tier model เลย</p><p>ทุกคนสามารถเข้าไปลองเล่นได้ทั้งจะ load model มาทดสอบบน Local หรือจะใช้บน Colab เลยก็ได้นะะ ใครเล่นไปแล้วเป็นไงกันบ้าง มาแชร์กันนนนนนน</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RMEGPh3cdW5jO6fffOL8Lw.png" /><figcaption>Cookbook Use-case with Qwen3VL</figcaption></figure><h3><strong>Reference</strong></h3><ul><li>Github : <a href="https://github.com/QwenLM/Qwen3-VL?tab=readme-ov-file">https://github.com/QwenLM/Qwen3-VL</a></li><li>HuggingFace Collection : <a href="https://huggingface.co/collections/Qwen/qwen3-vl-68d2a7c1b8a8afce4ebd2dbe">https://huggingface.co/collections/Qwen/qwen3-vl-68d2a7c1b8a8afce4ebd2dbe</a></li></ul><h3>🤗 Thanks for reading &amp; See you soon</h3><p>Facebook : <a href="https://www.facebook.com/HowKnowIKnow">https://www.facebook.com/HowKnowIKnow</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/ro-witthawin/">https://www.linkedin.com/in/ro-witthawin/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04fa9af0489b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Image Matching with ViT Embeddings on MongoDB Vector Search]]></title>
            <link>https://medium.com/@ro-witthawin/image-matching-with-vit-embeddings-on-mongodb-vector-search-78a25dd9e988?source=rss-3a50c5628ec5------2</link>
            <guid isPermaLink="false">https://medium.com/p/78a25dd9e988</guid>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ro Witthawin]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 12:43:28 GMT</pubDate>
            <atom:updated>2025-08-22T12:43:28.489Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“อยากได้ของแบบในรูปอ่ะ” คุณเคยประสบปัญหาอยากหาสินค้าแบบในรูป แต่ไม่รู้มันเรียกว่าอะไร หรือมันมีของในร้านมั้ย เราขอแนะนำผลิตภัณฑ์ —/ผิด</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vkOJRnqyt7U0IX-eD6jX9Q.png" /></figure><p>ถ้าพูดถึงเรื่องการทำ <strong>Image Searching</strong> ด้วย Image แล้วเราก็มักจะคิดถึงว่า Image ต้องเหมือนกัน เป๊ะๆ หรือมีโครงที่ใกล้ๆกัน ยกตัวอย่าง <strong>Algorithm matching</strong> ที่หลายๆคนน่าจะเคยเห็นกันนั่นคือการ extract หา <strong>identity</strong> ที่อยู่ในภาพ หรือเราเรียกว่า “<strong>Feature Engineering</strong>”</p><p>ยกตัวอย่างเช่นการ <strong>Extract Identity</strong> ของใบหน้าออกมาในตัวอย่างการแสกนใบหน้า แต่ด้วยความก้าวหน้าทางด้านเทคโนโลยี ปัจจุบันเราจึงมี <strong>Deep Learning</strong> ที่ทำให้ประยุกต์หลักการทำ <strong>Feature Engineering </strong>แบบเก่าๆ ไปสู่ยุคของ <strong>Embedding Models</strong> ที่ extract feature ออกมาในรูปแบบของ <strong>Vector</strong></p><p>ซึ่งวันนี้เราจะมาว่ากันด้วยเรื่องของ <strong>Image Matching</strong> ด้วย Similarity Searching ของที่มี <strong>Vector</strong> ใกล้ๆกัน และเราจะมา build pre-application กัน ด้วยการทำ <strong>Image Searching with Vector Search</strong> บน <strong>MongoDB</strong> ถ้าเตรียมพร้อมแล้ว ไปกันลุยกันเลยยยยยยยยย</p><ol><li><strong>What is Image Matching?</strong></li><li><strong>How Image Matching works?</strong></li><li><strong>What is embedding?</strong></li><li><strong>Why ViT?</strong></li><li><strong>Vector Collection on MongoDB Atlas</strong></li><li><strong>Prepare Vector Search</strong></li><li><strong>Query Image by Image</strong></li><li><strong>Summary</strong></li></ol><h3>1. What is Image Matching?</h3><p><strong>Image Matching </strong>จริงๆ แล้วก็คือการหารูปที่ “<strong>คล้าย</strong>” กัน ถ้าเปรียบในมุมของคน คือเรามองและเรานึกว่ารูปที่เราเห็นมัน “<strong>คล้าย</strong>” กับรูปอะไรที่เราเคยเจอ พอพลิกกลับมาในด้านของ <strong>Computer Vision</strong> ด้วย painpoint ของคำว่า “<strong>คล้าย</strong>” Computer จะหา identity อะไรในการบอกว่าสิ่งๆนี้ “<strong>คล้าย</strong>” กัน ด้วย painpoint นี้แหละที่ทำให้เกิด application มากมายไม่ว่าจะเป็น</p><ul><li><strong>Search</strong> : ค้นหาภาพสินค้าที่คล้ายกันจาก catalog ของ e-commerce</li><li><strong>Deduplication</strong>: ตรวจจับภาพที่ซ้ำหรือใกล้เคียงกัน</li><li><strong>Recommendations</strong>: แนะนำคอนเทนต์หรือภาพที่มีลักษณะคล้ายๆกัน</li></ul><h3><strong>2. How Image Matching work?</strong></h3><p>ก่อนหน้านี้เราได้พูดถึงเรื่องถึงความ “คล้าย” ไปแล้ว ถ้าพูดถึงเรื่อง Image Similarity ด้วย Embeddings แล้วจะมี step ในการทำงานด้วยกัน 3 step ดังนี้</p><ol><li><strong>Vision Encoder </strong>: คือการใช้ <strong>Vision Model</strong> ในการทำ encode รูปภาพแต่ละรูป จากที่อยู่ใน <strong>pixels</strong> <strong>space</strong> ไปอยู่ใน <strong>vector space</strong> ด้วย <strong>Vision Embedding</strong> เช่น <strong>Convolution</strong> หรือ <strong>ViT (Vision-Transformer)</strong></li><li><strong>Vector Storage </strong>: หลังจากเรามี <strong>Image Vector</strong> แล้ว เพื่อที่เราจะไม่ต้องไป encode รูปภาพทุกรอบก่อนทำการ Search รูปภาพ เราจะทำการเก็บ Vector ของแต่ละรูปไว้ซักที่นึง นั่นก็คือ <strong>Vector Database</strong></li><li><strong>Vector similarity search </strong>: เราจะทำการใช้ Image Input แปลงเป็น Vector แล้วใช้ <strong>Vector Input</strong> ไปวิ่งหา Image Vector ใน Vector Database ว่า <strong>Image Vector </strong>ตัวไหน “<strong>คล้าย</strong>” กับ Image Input มากที่สุด</li></ol><h3>3. Vision Feature Engineering with Embeddings</h3><p><strong>embedding</strong> คือการแปลงข้อมูลดิบที่เราเห็น เป็นชุดตัวเลข หรือ Vector ถ้าใครยังจำคณิตศาสตร์ได้มันคือ Vector ตัวเดียวกันนั่นแหละะะ ซึ่ง Vector ตัวนี้จะบ่งบอก Identity ในแต่ละ <strong>Dimension</strong></p><p>เช่น Vector ในแกน <strong>XY</strong> จะมี dimension ทั้งหมด 2 dimension ซึ่ง ตัวเลขแต่ละตัวมันก็บ่งบอกถึง “<strong>ตำแหน่ง</strong>” หรือ <strong>identity</strong> ในแต่ละ <strong>dimension</strong> นี่แหละ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*77CCkusY0UrMIuSxi_28OQ.png" /><figcaption>ยกตัวอย่าง Vector 2 มิติที่หลายๆคนคุ้นเคย และบางคนเกลียด ถถถถถถ</figcaption></figure><p>ด้วยความเป็น Vector นี่แหละที่เราสามารถหาความ “<strong>คล้าย</strong>” หรือ “<strong>ใกล้</strong>” ได้จากการคำนวนใน <strong>Vector Space</strong> ซึ่งมี metrics ที่นิยมใช้วัด <strong>similarity</strong> ของ vector information ได้ดังนี้</p><h4>3.1 L1 Distance (Manhattan distance)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*VjspbIPpPXR4L4lLRzE-vQ.png" /><figcaption>Manhattan distance (L1)</figcaption></figure><ul><li><strong>Key-concept </strong>: ระยะทางรวมตามแกน (เดินไปทีละแกนเหมือนอยู่ในตาราง Manhattan)</li><li><strong>Minimum Value = ใกล้กัน</strong></li><li><strong>Advantage</strong> : robust ต่อ outlier บางกรณีมากกว่า L2</li><li><strong>Disadvantage</strong> : บางครั้งไม่ smooth เท่า L2 ใน optimization</li></ul><h4>3.2 L2 Distance (Euclidean distance)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*pZtTBZiRhSfcKLhv8_RGTw.png" /><figcaption>Euclidean distance (L2)</figcaption></figure><ul><li><strong>Key-concept </strong>: ระยะทางเส้นตรงระหว่างจุดสองจุด</li><li><strong>Minimum Value = ใกล้กัน</strong></li><li><strong>Advantage </strong>: เป็นที่นิยมอย่างมากในกรณีที่อยากหาสิ่งที่ “เหมือน”</li><li><strong>Disadvantage </strong>: แพ้ outlier มากกว่า L1</li></ul><h4>3.3 Dot Product</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*5gtVN1tm_7-TF8a6sbT5cA.png" /><figcaption>Dot Product</figcaption></figure><ul><li><strong>Key-concept </strong>: ค่าการ “ฉาย” ของเวกเตอร์หนึ่งบนอีกเวกเตอร์</li><li><strong>Maximize Value = ใกล้/ไปทิศทางเดียวกัน</strong></li><li><strong>Advantage </strong>: เร็ว, ใช้เยอะในงาน <strong>Retrieval</strong> (เช่น ANN search)</li><li><strong>Disadvantage </strong>: ขึ้นกับ magnitude อาจกล่าวได้ว่าเวกเตอร์ที่ยาวกว่าจะมีค่า dot ใหญ่กว่า แม้ทิศใกล้กัน</li></ul><h3>3.4 Cosine Similarity</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*Nz2vXBe29HljfBSNXFEFGg.png" /><figcaption>Cosine Similarity</figcaption></figure><ul><li><strong>Key-concept </strong>: มองที่ “มุม” ระหว่างเวกเตอร์ ไม่สนใจขนาด</li><li><strong>ค่าใกล้ 1 = คล้ายกันมาก (ทิศทางเดียวกัน)</strong></li><li><strong>Advantage </strong>: เหมาะกับ embedding ที่เราสนใจแค่ “ทิศ” (semantic meaning) ไม่ใช่ขนาด</li><li><strong>Disadvantage </strong>: ไม่ capture scale → ถ้าขนาดเวกเตอร์มีความหมาย ข้อมูลส่วนนั้นจะหายไป</li></ul><h3>Compare Metrics</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hLKtA4Sj23jLDTtm" /></figure><p>ด้วยข้อได้เปรียบหลังเราแปลงข้อมูลใดๆมาเป็น Vector นี่แหละ เราจึงพยายามหาว่าเราจะแปลง Vision ไปให้อยู่ในรูปแบบ Vector ยังไง?</p><blockquote>คำตอบก็คือการใช้ “<strong>Vision Embedding</strong>” ยังไงล่ะะะะะ</blockquote><h3>4. Why ViT?</h3><p><strong>Vision Transformer (ViT)</strong> กลายเป็นมาตรฐานใหม่สำหรับงาน Computer Vision แล้วหลังจาก <strong>Transformer Architecture</strong> ได้เข้าครองโลกของ NLP ในที่สุดก็เกิด <strong>Vision Transformer</strong> ด้วยความสามารถในการ extract feature ของภาพได้ดีกว่า Convolution Architecture เนื่องจากสามารถจับบริบทแบบ global context ได้ โดยมองภาพเป็นลำดับของ patch แทนที่จะมองเป็น <strong>pixel</strong> เดี่ยวๆ แต่ก็แลกมากับข้อเสียของยุค <strong>Large Model </strong>เพราะโมเดลมันใหญ่มากกกกกกกกก</p><p>แต่ด้วยยุคของ Large Model นั้นก็มีข้อดี คือมีคนพยายามจะ transfer ความสามารถจากโมเดลมีขนาดใหญ่ให้มีขนาดเล็กลงนั่นเอง ซึ่งถ้าใครสนใจเดี๋ยวหาวันมาเล่าแบบเต็มๆ แต่วันนี้เราจะใช้ <strong>ViT</strong> ที่เป็นโมเดลใหญ่ที่ <strong>Transfer Learning</strong> แล้วนั่นก็คือ <strong>Dinov3</strong> นั่นเองงงงงง</p><p>วันนี้เราจะมาใช้ dinov3-vitb16 ในการทำ <strong>Vision Encoder </strong>เพื่อแปลงรูปภาพให้อยู่ใน <strong>Vector Space</strong> ก่อนอื่นเลยให้ทุกคนเข้าไป request access ของ <strong>huggingface</strong> ก่อนเลยยยย ใช้เวลาในการ approve ประมาณ 10 นาที — 1 ชม.++</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tnhwvhwezwR3uOcp" /><figcaption>เข้าไปขอ Access ที่ <a href="https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m">https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m</a></figcaption></figure><p>ในระหว่างที่เรารอ facebook approve การเข้าถึงโมเดลให้ทุกคนลง library ให้เรียบร้อยก่อนน ซึ่งเราจะใช้ Python 3.12 กับ library ของ huggingface ที่ชื่อว่า <em>transformers </em>ในการ load model และใช้ <em>torch</em> ในการช่วยแปลงข้อมูลตัวเลขทั้งหมดให้อยู่ในรูปแบบ Tensor</p><p>แนะนำว่าให้สร้าง virtual environment แยกจาก environment หลักเพื่อไม่ให้ติดเรื่อง library version ในแต่ละ project โดยตัวอย่างเราจะใช้ anaconda ในการจัดการ environment</p><pre>conda create -n imageMatching python=3.12 --y<br>conda activate imageMatching<br>pip install git+https://github.com/huggingface/transformers pymongo notebook</pre><p>หลังจากสร้าง environment แล้วเราจะไปลอง embedded รูปภาพกันนนนน</p><pre>import torch<br>from transformers import AutoImageProcessor, AutoModel<br>from transformers.image_utils import load_image<br><br>url = &quot;http://images.cocodataset.org/val2017/000000039769.jpg&quot;<br>image = load_image(url) // image_url or image_path<br><br>pretrained_model_name = &quot;facebook/dinov3-vitb16-pretrain-lvd1689m&quot;<br>processor = AutoImageProcessor.from_pretrained(pretrained_model_name)<br><br>model = AutoModel.from_pretrained(pretrained_model_name, device_map=&quot;auto&quot;)<br>inputs = processor(images=image, return_tensors=&quot;pt&quot;).to(model.device)<br><br>with torch.inference_mode():<br>  outputs = model(**inputs)<br>  pooled_output = outputs.pooler_output<br>  print(&quot;Pooled output shape:&quot;, pooled_output.shape)</pre><p>เมื่อเรานำรูปภาพที่เราต้องการไปเข้า model ตัว model จะทำการ process รูปภาพผ่านตัว <strong>processor</strong> เพื่อแปลงรูปภาพเป็นชุดตัวเลขก่อนที่ให้ <strong>model</strong> ทำการ extractor ออกมาในรูปของ <strong>embedding vector </strong>ขนาด <strong>768 dimension</strong> ซึ่งเราจะเก็บเจ้า Vector นี่แหละเอาไว้ใช้ในการ query บน <strong>Vector Database</strong></p><blockquote>แน่นอนว่าเราจะไม่พยายามหาเหตุผลว่าทำไมต้อง 768 dimension และแต่ละ dimension มันคืออะไร เพราะอธิบายได้หลายวันเลย lol</blockquote><h3>5. Vector Collection on MongoDB Atlas</h3><p>หลังจากเราได้ <strong>Vector</strong> ของรูปภาพมาแล้ว เราจะเอามันไปเก็ยไว้ไหนดีล่ะ? ก็ต้อง <strong>VectorDB</strong> สิ Vector ก็ต้องเก็บใน VectorDB สิ และคำถามคือ</p><blockquote>ทำไมต้อง <strong>“MongoDB Atlas Vector Search”</strong> ?</blockquote><p>ถ้าใครเป็นคนใช้ <strong>Relational Database </strong>อยู่แล้วเราจะต้องมานั่งคำนวน Storage ที่เราจะใช้ รวมถึงกำหนด row และ column ด้วย แต่ MongoDB นั้นเป็น <strong>Documents Database</strong> ทำให้ปัญหาเหล่านั้นหมดไป รวมไปถึง</p><ul><li><strong>Unified Data Model </strong>: จัดเก็บเวกเตอร์ไปพร้อม ๆ กับ metadata เช่น labels, timestamps, หรือ filepaths ได้ในที่เดียว</li><li><strong>Operational DB + Search </strong>: ไม่จำเป็นต้องแยก Operation กับ Search ออกจากกันทำทุกอย่างในที่เดียวได้เลย</li><li><strong>Scalable</strong> : ด้วยความที่ MongoDB Atlas เป็น Cloud Database อยู่แล้ว แน่นอนว่ารองรับการขยายระบบได้แบบใช้เท่าไหร่จ่ายเท่านั้น</li></ul><p>และที่สำคัญคือเค้ามี Free-tier (M0) ด้วยยยยยยยย</p><p><a href="http://import torch from transformers import AutoImageProcessor, AutoModel from transformers.image_utils import load_image url = &quot;http://images.cocodataset.org/val2017/000000039769.jpg&quot; image = load_image(url) // image_url or image_path pretrained_model_name = &quot;facebook/dinov3-vitb16-pretrain-lvd1689m&quot; processor = AutoImageProcessor.from_pretrained(pretrained_model_name) model = AutoModel.from_pretrained(pretrained_model_name, device_map=&quot;auto&quot;) inputs = processor(images=image, return_tensors=&quot;pt&quot;).to(model.device) with torch.inference_mode(): outputs = model(**inputs) pooled_output = outputs.pooler_output print(&quot;Pooled output shape:&quot;, pooled_output.shape)">https://www.mongodb.com/products/platform</a></p><p>ถ้าทุกคนมี <strong>MongoDB Account</strong> กันแล้ว เราจะไป <strong>Vector Collection</strong> บน <strong>MongoDB Atlas </strong>กันนนน สำหรับใครที่ยังไม่ <strong>Database Cluster</strong> ให้ลองทำตาม step นี้ดู</p><ul><li>สร้าง Account ของ MongoDB</li><li>สร้าง Project เลือก Free-Tier (M0) เลือก cloud provider กับ region ที่ชอบได้เลยยยย</li><li>Create new cluster</li><li>เปิด Network Access 0.0.0.0/0</li></ul><blockquote>หลังจากทำตาม step นี้ในการเปิด MongoDB แล้ว เราจะมาขอ access เข้า MongoDB ให้ code ของเรากันนนน ให้ไปที่ cluster ที่เราสร้าง แล้วเลือก connect -&gt; compass เราจะได้มา url มาดังนี้</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*RNyIg1rHNWCTUjJ-" /><figcaption>เปิด Network Access แล้วเข้าไป connect Cluster กันนนน</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*UN65LeWqgukyI43O" /><figcaption>Copy URL นี้ไว้ อย่าแชร์ให้คนอื่นล่ะะะะะะ</figcaption></figure><blockquote>เราจะลอง connect MongoDB ด้วย Python กันนนน copy url มาแล้วเอาไปใส่ใน code อย่าลืมเปลี่ยน username กับ password ของตัวเองนะะะ ถ้าใคร connect ไม่ติด ลองเช็ค username, password แล้วเช็คด้วยว่าเปิด access 0.0.0.0/0 (All access) แล้ว</blockquote><pre>from pymongo import MongoClient, InsertOne<br><br>mongodb_url = &quot;&lt;MONGODB_URL&gt;&quot;<br>mongodb_collection = &quot;birdDB&quot;<br>mongodb_database = &quot;images&quot;<br><br>client = MongoClient(mongodb_url)<br>col = client[mongodb_collection][mongodb_database]</pre><p>หลังจาก connected แล้ว เราจะทำการ embed รูปภาพทั้งหมด แล้วโยนไปเก็บบน MongoDB โดยจะแบ่ง embed บน local 100 รูปก่อน โยนขึ้นไปบน database เพื่อลดการ read/write บน database ถ้าใคร ram เยอะก็ปรับ cache_size เยอะขึ้นได้ โดยเราจะใช้ Bird Species Datasets จาก <strong>Kaggle</strong> เพราะเราคือ “<strong>นก</strong>” ดังนั้นเราจึงใช้ “<strong>นก</strong>” ในการ search หา “<strong>นก</strong>” ยังไงล่ะะะะ ใครอยากลองไป load กันได้มี 200 species ให้ลองเล่นนนกันนน</p><p><a href="https://www.kaggle.com/datasets/nishantbansal01/bird-species-classification">Bird Species Classification</a></p><pre>```<br>import uuid<br>import glob<br>from tqdm import tqdm<br>from pymongo import InsertOne<br>from PIL import Image<br><br>bird_datasets_path = &quot;Birds/train&quot;<br>ops = []<br>cache_size = 100<br><br>for i_, path in tqdm(enumerate(glob.glob(f&quot;{bird_datasets_path}/*.jpg&quot;))):<br>    img = Image.open(path).convert(&quot;RGB&quot;)<br>    vec = embed_image(img)  # function from previous step<br>    ops.append(InsertOne({<br>        &quot;_id&quot;: str(uuid.uuid4()),<br>        &quot;filename&quot;: path,<br>        &quot;labels&quot;: [],<br>        &quot;vector&quot;: vec<br>    }))<br>    if len(ops) == 500:<br>        col.bulk_write(ops); ops = []<br>    if i_ != 0 and i_ % cache_size == 0:<br>        if ops: <br>            col.bulk_write(ops)<br>            ops = []<br>```</pre><p>เมื่อเราเตรียม <strong>Vector Database</strong> เสร็จแล้ว เราสามารถไปเช็คได้ที่ <strong>MongoDB Atlas</strong> เลยยยย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N-KbE7x9Iwj5VZ-P" /></figure><p>สังเกตว่าเราจะมี Data อยู่ใน <strong>MongoDB</strong> แล้ว step ถัดไปเราจะไปตั้งค่าให้ Database ของเราสามารถทำ <strong>Similarity Search</strong> กันนนนน</p><h3>6. Prepare Vector Search</h3><p>หลังจากเรามี Vector ใน Collections แล้วเราจะไปเตรียม Atlas Search กันนน ให้ทุกคนไปที่ Services ทางด้านซ้ายมือ เลือก Atlas Search แล้ว Create Search Index</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*ftD3ty30xzmyvR02" /></figure><p>เลือก Search Type เป็น <strong>Vector Search</strong> ตั้งชื่อ Index Name (ในที่นี้เราจะตั้งว่า vector_index) แล้วเราก็เลือก <strong>Database-Collection </strong>ที่เราเก็บ Vector เอาไว้ (ในที่นี้จะเป็น birdDB/images)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*8dIygWU8Kgwlome6" /></figure><p>หลังจากเราเลือก index ที่จะทำ <strong>Vector Search</strong> แล้วเราจะมาเลือก field ที่เราตั้งไว้ว่าเราเก็บ Vector ไว้ใน key อะไร (ในที่นี้จะเป็น vector) แล้วระบบจะ autofill ในส่วนของ<strong> Number of Dimensions</strong> มาให้เรา สิ่งที่เราต้องเลือกคือ <strong>Similarity Method</strong> ว่าเราจะใช้อะไร แน่นอนว่าเราเลือก <strong>Cosine</strong> ตามที่ได้อธิบายไปก่อนหน้าว่า <strong>Embedding</strong> ทำงานยังไง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*vsq3owS2ivOZS3yK" /></figure><p>แล้วก็เสร็จกันไปเป็นที่เรียบร้อยยยย ในระหว่างนี้เราก็จะรอให้ <strong>MongoDB</strong> ไปเตรียม indexing ให้เรา ซึ่ง M0 จะมีให้เราตั้ง search index ได้แค่ 3 ถ้าใครใช้เยอะกว่านี้ให้ขยับไปใช้ตัวที่ใหญ่กว่านี้นะจ๊ะ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F2UfPI0Dasu0Iriv" /></figure><h3>7. Query Image by Image</h3><blockquote>แล้วเราก็มาถึงการใช้ “<strong>นก</strong>” search “<strong>นก</strong>” กันแล้ววววววววว step จะคล้ายๆกับการทำ embed เพื่อเก็บบน collection เลย แต่รอบนี้เราจะทำการ Search ผ่าน <strong>vectorSearch service </strong>กันนนนน</blockquote><pre>mongodb_url = &quot;&lt;MONGODB_URL&gt;&quot;<br>mongodb_collection = &quot;birdDB&quot;<br>mongodb_database = &quot;images&quot;<br><br>from PIL import Image<br>import torch<br>from pymongo import MongoClient, InsertOne<br>from transformers import AutoImageProcessor, AutoModel<br><br>client = MongoClient(mongodb_url)<br><br>pretrained_model_name = &quot;facebook/dinov3-vitb16-pretrain-lvd1689m&quot;<br>processor = AutoImageProcessor.from_pretrained(pretrained_model_name)<br>model = AutoModel.from_pretrained(<br>    pretrained_model_name, <br>    device_map=&quot;auto&quot;, <br>)<br><br>def embed_image(pil_img: Image.Image) -&gt; list[float]:<br>    inputs = processor(images=pil_img, return_tensors=&quot;pt&quot;).to(model.device)<br>    with torch.inference_mode():<br>        outputs = model(**inputs)<br>    <br>    pooled_output = outputs.pooler_output<br>    return pooled_output.tolist()[0]<br><br>def search_by_image(pil_img, k=3):<br>    img = Image.open(pil_img).convert(&quot;RGB&quot;)<br>    qvec = embed_image(img)<br>    return client[mongodb_collection][mongodb_database].aggregate([<br>      {<br>        &quot;$vectorSearch&quot;: {<br>          &quot;index&quot;: &quot;vector_index&quot;, # Vector Indexing name<br>          &quot;path&quot;: &quot;vector&quot;, # field where we collect vector<br>          &quot;queryVector&quot;: qvec,<br>          &quot;numCandidates&quot;: 200, <br>          &quot;limit&quot;: 3 # Number of Result from Retrieval<br>        }<br>      },{<br>        &quot;$project&quot;: {<br>            &quot;filename&quot;: 1, # return field filename<br>            &quot;labels&quot;: 1, # return field labels<br>            &quot;score&quot;: {&quot;$meta&quot;: &quot;vectorSearchScore&quot;} # return vectorSearchScore as score field<br>        }<br>      }])</pre><p>เราจะสุ่มหยิบรูปที่เอามาจาก test dataset เพื่อใช้ในการ query กันนนนนน</p><pre>import glob<br>import random<br>import matplotlib.pyplot as plt<br><br>random_image = random.choice(glob.glob(f&quot;birdSpecies/Test/*/*.jpg&quot;))<br>plt.imshow(Image.open(img_path))<br>plt.title(&quot;Query&quot;)<br>plt.axis(&quot;off&quot;)<br>plt.show()<br><br>search_images = list(search_by_image(random_image))<br><br>n = 3<br>fig, axes = plt.subplots(1, n, figsize=(4*n, 4))<br>for ax, img_query in zip(axes, search_images):<br>    img_path = img_query[&quot;filename&quot;]<br>    ax.imshow(Image.open(img_path))<br>    ax.set_title(img_query[&quot;labels&quot;])<br>    ax.axis(&quot;off&quot;)<br>fig.suptitle(&quot;Retrieval Results&quot;)<br>plt.show()</pre><p>ผลลัพธ์ที่ได้คือเราจะสามารถใช้รูปภาพที่ถูกแปลงเป็น Vector ในการทำ Similar Search กับ รูปภาพใน Database ที่มี Vector ใกล้เคียงกันนั่นเองงงงงง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/0*XbVvXQ1vMIhkcjPb" /></figure><h3>8. Summary</h3><p>และก็มาถึงช่วงท้าย ในบทความนี้เราได้เดินทางตั้งแต่ <strong>แนวคิดของ Image Matching</strong> ว่าคือการหาความ “<strong>คล้าย</strong>” ของภาพ ไปจนถึง <strong>วิธีการนำ Deep Learning มาสร้าง Embedding</strong> ที่แปลงข้อมูลภาพให้อยู่ในรูปของ Vector เพื่อนำไปวัดความใกล้เคียงใน Vector Space ด้วย Metric ต่างๆ ไม่ว่าจะเป็น L1, L2, Dot Product, Cosine</p><p>จากนั้นเราเจาะลึกว่า <strong>ทำไม Vision Transformer (ViT)</strong> โดยเฉพาะ Dinov3 จึงเป็นตัวเลือกที่ดีสำหรับการ <strong>Extract Feature </strong>จากภาพ และได้ลองสร้าง <strong>Vector Database บน MongoDB Atlas</strong> เพื่อเก็บ <strong>Embedding</strong> ร่วมกับ <strong>Metadata</strong> ได้อย่างเป็นระบบ</p><p>ปิดท้ายด้วยการ <strong>เตรียม Vector Search Index</strong> และการ <strong>Query Image by Image</strong> ซึ่งทำให้เราได้เห็นภาพจริงว่า การใช้ภาพหนึ่งภาพ สามารถค้นหาภาพที่ “คล้าย” กันได้สำเร็จ โดยอาศัยความสามารถของ <strong>ViT + MongoDB Vector Search</strong></p><blockquote>พูดง่าย ๆ คือเราได้สร้าง <strong>“Mini Image Search Engine” </strong>ของเราเองแล้ววววว 🎉</blockquote><p>เข้าใกล้ <strong>RAG</strong> หรือ <strong>Retrieval-Augment Generation</strong> เข้าไปทุกที &gt;w&lt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*cT7dCaeuEHnWoawT8bO2-Q.png" /><figcaption>//สลบ</figcaption></figure><p>อย่าพลาดซีรีย์การทำงานของ AI ในบทความถัดไปนะะะะะะ รอบหน้าจะเป็นอะไรที่สนุกกว่านี้แน่นอน เตรียมสมองไหลกันได้เลยยยยยย 📚🚀</p><h3>Referece</h3><p>MongoDB Vector Search : <a href="https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-overview">https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-overview</a></p><p>Dinov3-ViTb16 : <a href="https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m">https://huggingface.co/facebook/dinov3-vitb16-pretrain-lvd1689m</a></p><h3>🤗 Thanks for reading &amp; See you soon</h3><p>Facebook : <a href="https://www.facebook.com/HowKnowIKnow">https://www.facebook.com/HowKnowIKnow</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/ro-witthawin/">https://www.linkedin.com/in/ro-witthawin/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78a25dd9e988" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inside GPT-5: What You Need to Know]]></title>
            <link>https://medium.com/@ro-witthawin/inside-gpt-5-what-you-need-to-know-cabb0a72064a?source=rss-3a50c5628ec5------2</link>
            <guid isPermaLink="false">https://medium.com/p/cabb0a72064a</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[gpt-5]]></category>
            <dc:creator><![CDATA[Ro Witthawin]]></dc:creator>
            <pubDate>Sat, 16 Aug 2025 10:58:29 GMT</pubDate>
            <atom:updated>2025-08-16T11:32:29.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7HufuRcs4uiKAaSJ" /></figure><p>หลังจากงานเปิดตัว GPT-5 โดย OpenAI ไม่นานก็มีคนออกมาเล่าเรื่องของ GPT-5 ในหลายๆแง่มุม Microsoft เองก็เป็น 1 ในนั้น ผมได้มีโอกาสรับเชิญไปเล่าเรื่องของ GPT-5 ในงาน “Say hello to GPT-5 in Copilots”แบบ Open Topic แล้วปัญหาคือทุกคนเล่ากันไปหลายมุมแล้ว Session 15 minutes ไม่รู้จะเล่าอะไรดีงั้น….. ก็เล่าในมุม Research ละกัน อาจจะมีบางเนื้อหาที่ตัดออกไปจากในงานเพื่อ Focus เฉพาะเรื่องไปเลย ถ้าพร้อมแล้วไปชมกันเลยยยยย</p><h3>GPT History</h3><p>ถ้าให้ย้อนไปหลายๆคนน่าจะเพิ่งรู้จัก <strong>GPT</strong> หรือ <strong>OpenAI</strong> ไม่นานมานี้ แต่จริงๆแล้ว OpenAI พัฒนา LLM ที่เป็น <strong>Decoder-Only base</strong> มาอย่างยาวนานและ Public first model ที่ชื่อว่า GPT ตั้งแต่ปี 2018 แล้ว และพัฒนาอยู่เรื่อยมา แต่คนทั่วไปที่ไม่ใช่ Researcher ที่ตามงานด้านนี้อยู่แล้ว จะเริ่มมารู้จักกับ GPT ตอนช่วงปลายปี 2022 — ต้นปี 2023 เพราะ <strong>OpenAI</strong> เปิดตัว <strong>ChatGPT</strong> ที่เป็น <strong>base model GPT-3.5</strong> ที่มีเป็น Large Language Model ที่มีความเก่งพอจะตอบคำถามแบบง่ายๆได้ เนื่องจาก GPT-3 นั้น พยายามจะแก้ปัญหาในเรื่องของ <strong>General Question-Answering Problem</strong> ซึ่งเรียกว่าเป็นจังหวะแรกที่ทำให้หลายๆคน ได้รู้จักกับบริษัท OpenAI และเริ่มเห็นถึงความสำคัญของ <strong>Large Language Model </strong>และเวลาก็ผ่านมาจนปัจจุบัน Aug-2025 บริษัท OpenAI ประกาศเปิดตัว GPT-5 ที่เป็น <strong>Large Language Model</strong> ที่เก่งขึ้นกว่าโมเดลเก่าๆ ทุกตัวที่เคยมีมา และเอาชนะคู่แข่งแทบจะทุกๆด้าน</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NypP3w41M2gtB_b7" /></figure><h3>What GPT-5 is better?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AiUEyY0QwOcLFksj" /><figcaption>ImageRef : <a href="https://lmarena.ai/leaderboard/">https://lmarena.ai/leaderboard/</a></figcaption></figure><p>ในครั้งนี้ OpenAI ถือว่าทำผลงานออกมาได้ดีมากในเรื่องของ Performance ซึ่งเราจะค่อยๆมาดูแต่ละส่วนที่ไม่ค่อยมีคนพูดถึงกัน มาเริ่มจากส่วนแรก “มันต่างจากเดิมยังไง” ถ้าเทียบกับโมเดลก่อนหน้าอย่าง GPT-4o*** หรือ OpenAI-o3*** อย่างแรกเลยคือเค้าลด <strong>Hallucinate</strong> หรืออาการที่ AI หลอนจากคำสั่งแปลกๆได้ดีอย่างมาก วัดผลจาก <strong>COLLIE</strong> และ <strong>Scale MultiChallenge Benchmark</strong> ที่ใช้สำหรับการวัด Performance ในด้านของการทำ <strong>Instruction Following</strong> กับ <strong>Multi-Turn</strong> ซึ่ง GPT-5 ทำได้ดีกว่าเดิมมากๆ</p><p>***<strong>GPT-4o กับ OpenAI-o3 คนละตัวกันนะะะะะ</strong> o3 นับว่าเป็น Reasoning Model โดยกำเนิด เลยถูกแยกออกมาจากตระกูล GPT //ว้ายยยยยย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EH5yjcacMXTOprqa" /><figcaption>ImageRef : <a href="https://openai.com/index/introducing-gpt-5/">https://openai.com/index/introducing-gpt-5/</a></figcaption></figure><p>อีกทั้งยังแก้ในเรื่องของ Deception หรือ Missing Some Information ในกรณีที่มีการกล่าวถึง Object A แต่เราไม่ได้มีการระบุว่า Object A คืออะไรหรืออยู่ตรงไหน ในปัญหาที่ LLM ประสบอยู่ตลอดนั่นก็คือ LLM ไม่เห็น แต่ต้องพยายามตอบคำถามทั้งๆที่ไม่เห็นของจริงๆ มันก็เลยหลอน (<strong>Hallucinate</strong>) ด้วยปัญหาตรงนี้ ทำให้ GPT-4o หรือ o3 ค่อนข้างจะไม่สามารถไว้ใจได้ในจังหวะที่มันต้องวิเคราะห์ของอย่าง External Data ในกรณีการทำ <strong>AgenticRAG</strong> หรือ <strong>Vision Quesion-Answering (VQA)</strong> ในกรณีที่หารูปหรือหา Data ไม่เจอโมเดลก็จะพยายามมโนว่า “Object A” นั้นมีอยู่จริง แต่ในความเป็นจริงอาจจะไม่ได้มีอยู่จริงๆก็ได้ ซึ่ง GPT-5 นั้นได้แก้ปัญหาเรื่อง Missing Item ที่เกิดขึ้นทั้งจาก User Journey หรือ Loss Information จริงๆ ในงาน <strong>Deception Problem </strong>ได้ดีกว่าที่ o3 ทำมาอย่างเห็นได้ชัด</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1M-Opk8WQrYZahoI" /><figcaption>ImageRef : <a href="https://openai.com/index/introducing-gpt-5/">https://openai.com/index/introducing-gpt-5/</a></figcaption></figure><p>และขาดไม่ได้ในยุคของ AgenticAI ตั้งแต่กลางปี 2024 จนถึง Aug-2025 มีการพัฒนา Benchmark ในการวัดผล Agent ในมุมต่างๆ แน่นอน GPT-5 ก็ถูกนำไปทดสอบในความสามารถของ <strong>Agentic Application</strong> ทั้งในมุมของ <strong>Prompt Following, Function Calling, Searching</strong> และ 1 ใน Benchmark ที่กำลังมาแรงมากๆ นั่นก็คือ <strong>Tao2</strong> ซึ่งเป็น <strong>Function-Calling Evaluation</strong> ที่ใช้ในการวัดผลตัว AI Agent จาก Tools ที่มีอยู่ LLM มีความสามารถในการวางแผนในการเรียกใช้ Tools จาก Tool Description, Prompt Instruction และ User Query และผลลัพธ์ก็ตามที้ทุกคนคาดนั่นคือ GPT-5 ทำออกมาได้ดีเกินคาด(มั้ย) แต่เนื่องจาก Tau2 ค่อนข้างจะ Specific Domain ไปในงานของฝั่ง Operation อย่างใน tetecom, retail และ Airline หากเราจะนำไปร่วมกับ Custom Tool โดยตรงนั้นต้องลองเปรียบเทียบประสิทธิภาพกับ Domain ของคุณด้วยตัวเองเช่นกัน</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tx5gbpO-fqHRm5ZN" /><figcaption>ImageRef : <a href="https://openai.com/index/introducing-gpt-5/">https://openai.com/index/introducing-gpt-5/</a></figcaption></figure><h3>Summary</h3><p>จาก Evaluation ที่ได้กล่าวมาทั้งหมดแสดงให้เห็นได้ชัดว่า OpenAI พยายามจะพัฒนา GPT-5 ให้มีความสามารถในการนำไปพัฒนาเป็น AgenticAI หรือเป็นแกนสมองหลักของ Agentic ก็ว่าได้ หลังจากนี้เราคงเห็น GPT-5 ไปอยู่ตาม Agent Application อีกหลายๆตัวเลย รวมถึงอนาคตของ <strong>AGI (Artificial General Intelligence)</strong> ก็คงเรียกว่าใกล้ขึ้น(นิดนึง) อย่างไรก็ตาม GPT ก็ยังถูกพัฒนาอยู่บนพื้นฐานของ General Problem หากงานที่เราจะเอาไปใช้เป็น Specific Domain หรืออะไรที่เป็น Sensitivity อยากให้คำนึงถึงโอกาสที่ AI จะผิดพลาดหรือ Hallucinate รวมถึงผลลัพธ์ที่จะตามมากันด้วย เลือกใช้ AI ให้เป็น</p><p>สำหรับบทความนี้เป็นบทความสรุปจาก <strong>Session Inside GPT-5: What You Need to Know</strong> (เดี๋ยวถ้ามีคลิปย้อนหลังจะเอามาลงนะะะ) ไม่ได้เล่าในเรื่องของ Long-Context กับ Multimodal Performance เนื่องจาก Performance มันดีขึ้นอยู่แล้ว และก็ไม่ได้มีอะไรที่ว้าวมากเท่ากับการที่ OpenAI พัฒนาให้ “<strong>GPT-5 preparation for Agentic AI</strong>”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4tiQj7H9LzzoUu5qhLeZQg.jpeg" /><figcaption>//แอคเท่ๆไว้ก่อน</figcaption></figure><p>สำหรับใครที่พลาดงาน <strong>Say hello to GPT-5 in Copilot</strong>s มีคลิปย้อนหลังมาให้กันด้วยยยย</p><p><strong>[Event] Say hello to GPT-5 in Copilots</strong>: <a href="https://www.facebook.com/events/2124825618038925">https://www.facebook.com/events/2124825618038925</a></p><p><strong>[VIDEO] Say hello to GPT-5 in Copilots</strong>: <em>&lt;เร็วๆนี้&gt;</em></p><p><strong>[Slide] Inside GPT-5: What You Need to Know</strong> : <a href="https://docs.google.com/presentation/d/1VNa8jSckQuomcyFY45hk2FJSWncYTlAcmCCOBQfQQ2k/edit?usp=sharing">https://docs.google.com/presentation/d/1VNa8jSckQuomcyFY45hk2FJSWncYTlAcmCCOBQfQQ2k/edit?usp=sharing</a></p><h3>Reference</h3><p><strong>GPT-5</strong> : <a href="https://openai.com/index/introducing-gpt-5/">https://openai.com/index/introducing-gpt-5/</a></p><p><strong>ChatGPT Release Notes</strong> : <a href="https://help.openai.com/en/articles/6825453-chatgpt-release-notes">https://help.openai.com/en/articles/6825453-chatgpt-release-notes</a></p><p><strong>LMArena</strong> : <a href="https://lmarena.ai/leaderboard/">https://lmarena.ai/leaderboard/</a></p><p><strong>Tao2</strong> : <a href="https://arxiv.org/pdf/2506.07982">https://arxiv.org/pdf/2506.07982</a></p><p>อย่าพลาดซีรีย์การทำงานของ AI ในบทความถัดไปนะคะ จะมีการแชร์แนวทางการพัฒนา AI จากพื้นฐานจนถึงการใช้งานจริงในหลากหลายแอปพลิเคชัน รอติดตามกันได้เลย! 📚🚀</p><h3>🤗 Thanks for reading &amp; See you soon</h3><p>Facebook : <a href="https://www.facebook.com/HowKnowIKnow">https://www.facebook.com/HowKnowIKnow</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/ro-witthawin/">https://www.linkedin.com/in/ro-witthawin/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cabb0a72064a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vision Language : How we combine vision and language]]></title>
            <link>https://medium.com/@ro-witthawin/vision-language-how-we-combine-vision-and-language-f485e69cdc21?source=rss-3a50c5628ec5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f485e69cdc21</guid>
            <category><![CDATA[multimodal]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[computer-vision]]></category>
            <dc:creator><![CDATA[Ro Witthawin]]></dc:creator>
            <pubDate>Fri, 15 Aug 2025 11:01:46 GMT</pubDate>
            <atom:updated>2025-08-15T11:01:46.199Z</atom:updated>
            <content:encoded><![CDATA[<h3>Vision Language : How we combine vision and language</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/0*QaEHoM5psbAPHZvq" /></figure><p>ใครหลายคนน่าจะพอรู้จักเรื่องของ Language Model หรือ Natural Language Processing (NLP) ที่เป็นศาสตร์ของการที่พยายามสร้าง Algorithm ขึ้นมาให้ Computer สามารถเข้าใจในเรื่อง “ภาษา” ของมนุษย์ได้ ต่อมาเริ่มมีศาสตร์ของ Computer Vision (CV) ที่ว่ากันด้วยเรื่องของการพัฒนาให้ Computer เข้าใจถึง “สื่อ” หรือ “Vision” ซึ่งวันนี้เราจะมาคุยกันในหัวข้อหลักๆ เกี่ยวกับ VLM ดังนี้</p><ul><li>What is a Vision-Language Model?</li><li>What VLM can Do?</li><li>How VLM Works?</li><li>Architecture Types of Vision-Language Models</li><li>Summary</li></ul><p>ถ้าใครยังไงไม่ได้อ่านบทความเรื่อง Computer Vision แบบเต็มสามารถไปตามอ่านได้ที่นี่ได้เลยยยยยย <a href="https://medium.com/@ro-witthawin/what-ai-see-computer-vision-05094a4e367e">https://medium.com/@ro-witthawin/what-ai-see-computer-vision-05094a4e367e</a></p><h3>1) What is a Vision-Language Model?</h3><p>เมื่อเวลาผ่านไปเราเริ่มพยายามนำหลายๆศาสตร์มารวมกัน 1 ในนั้นก็คือ การนำ “Vision” และ “Language” มารวมกัน เกิดเป็น “Vision-Language” ที่ผสมความเก่งในเรื่องของ “Understanding”, “Interpret” ด้วย Vision &amp; Text inputs ทำให้นอกจากแค่ทำนายว่า “รูปภาพรูปนี้คืออะไร?” เรายังสามารถ ใช้ความสามารถของ Language Model ในการเข้าใจ “Prompt” หรือ Text Input เพื่อทำการ query หรือ thinking หรือ Reasoning จาก Vision Input ได้อีกด้วย</p><h3>2) What VLM can Do?</h3><p>ด้วยความสามารถของ Vision-Language Models ที่ทั้ง “See”, “Read” และ “Understanding” ได้ทำให้แก้ปัญหา Computer Vision Tasks หลายๆอย่าง</p><ul><li><strong>Image Captioning</strong> — การอธิบายภาพด้วย Text</li><li><strong>Visual Question Answering (VQA)</strong> — การตอบคำถามเกี่ยวกับภาพ</li><li><strong>Document Understanding</strong> — การอ่านเอกสารที่สแกนและการดึงข้อมูลที่มีโครงสร้าง ซึ่งบางครั้งนอกจากการทำ OCR แล้วยังสามารถทำ Document Alignment ได้ด้วย</li><li><strong>Multimodal Search</strong> — การค้นหาภาพจากข้อความ หรือการค้นหาข้อความจากภาพผ่าน Vector Searching</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KnqpZgghrsrVDe_f" /><figcaption>ImageRef : <a href="https://arxiv.org/abs/2311.00308">https://arxiv.org/abs/2311.00308</a></figcaption></figure><h3>3) How VLM Works?</h3><p>โดยพื้นฐานแล้ว Vision-Language Model จะประกอบไปด้วย 2 components ใหญ่ๆ</p><p><strong>1.Vision Encoder</strong></p><ul><li><strong>Key-concept </strong>: เป็น Algorithm หรือ AI model ที่มีหน้าที่รับ Vision input และสกัดออกมาเป็นชุดตัวเลข (Vector) ใน Latent Space</li><li><strong>Common Architecture</strong> : CNNs (Convolutional Neural Networks), Vision Transformers (ViT)</li></ul><p><strong>2.Language Model</strong></p><ul><li><strong>Key-concept </strong>: Text Encoder ลักษณะเดียวกับ Vision Encoder เพียงแต่ในบางครั้งนอกเหนือจากการสกัด Feature จาก Text แล้ว ยังมีการใช้ความสามารถของ Language Model นี้ในการทำ Text Generate ในส่วนของ Text Output ด้วยตัว Language Model ที่ทำหน้าที่ทั้ง Text Underatanding และ Text Generate นี่แหละ ที่ทำให้ Vision-Laugage Model แบ่งออกเป็นหลายประเภท ในส่วนนี้จะมีอธิบายเพิ่มตอนแบ่งกลุ่มอีกทีนึง</li><li><strong>Common Architectures</strong> : Transformer-based LLMs (e.g., GPT, BERT, LLaMA)</li></ul><p>การรวมกันทั้ง Vision Encoder กับ Language Model เราจะเรียกสิ่งๆนี้ว่า Fusion Mechanism ที่จะทำให้ Vision &amp; Text Input ถูกแชร์กันใน Embedding Space ได้นั่นเอง ถ้าใครสนใจเรื่อง Latent Space สามารถไปตามอ่านบทความนี้ได้เลยยยย</p><p><a href="https://medium.com/ruffblitz/latent-visualization-781e602db93f">https://medium.com/ruffblitz/latent-visualization-781e602db93f</a></p><h3>4) Architecture Types of Vision-Language Models</h3><p>แม้ว่า VLM ทุกตัวจะรวมส่วนประกอบของ V<strong>ision Model</strong> และ L<strong>anguage Model</strong> เข้าด้วยกัน แต่ก็ยังมีรูปแบบการรวมกันของทั้ง 2 ส่วน ทำให้เกิด architecture หลายๆแบบ โดยในบทความนี้จะยกตัวอย่างที่เป็น common architecture ที่มักจะพบได้บ่อยดังนี้</p><h3>4.1 Dual-Encoder (Two-Tower) Architecture</h3><p><strong>Example Architecture :</strong> CLIP (OpenAI) [1], ALIGN (Google)[2]</p><p><strong>How it works:</strong></p><ul><li>Step 1 — Vision Encoding: ใช้ Vision Encoder (เช่น ResNet หรือ Vision Transformer) แปลงภาพเป็น image embedding ใน latent space</li><li>Step 2 — Text Encoding:ใช้ Text Encoder (Transformer-based) แปลงข้อความเป็น text embedding ใน latent space เดียวกัน</li><li>Step 3 — Shared Latent Space Alignment: ระหว่างการเทรน ใช้ contrastive learning เพื่อดึง embeddings ของคู่ image–text ที่เกี่ยวข้องกันให้ใกล้กัน และผลักคู่ที่ไม่เกี่ยวข้องให้ออกห่าง ทำให้โมเดลสามารถจับคู่และเทียบ similarity ระหว่างภาพและข้อความได้โดยตรง</li></ul><p><strong>Strengths:</strong></p><ul><li>Retrieval Performance สูง — เหมาะสำหรับงานค้นหาภาพจากข้อความ หรือค้นหาข้อความจากภาพ</li><li>Scale-up ง่าย — สามารถเทรนกับ large-scale datasets ได้อย่างมีประสิทธิภาพ</li><li>รองรับงาน zero-shot classification โดยใช้ prompt ข้อความ</li></ul><p><strong>Limitation:</strong></p><ul><li>ขาดความสามารถใน deep cross-modal reasoning เนื่องจาก vision และ text ประมวลผลแยกกัน → ไม่สามารถ reasoning รายละเอียดเชิงลึกได้ดี</li><li>ไม่เหมาะสำหรับงานที่ต้องสร้างข้อความเชิงซับซ้อนจากภาพ (generative tasks)</li></ul><p><strong>Use-case :</strong></p><ul><li>Text-to-Image Search — ค้นหาภาพจากคำอธิบาย</li><li>Image-Text Matching — ตรวจสอบว่าภาพกับข้อความสอดคล้องกันหรือไม่</li><li>Image Categorization — จัดหมวดหมู่ภาพตามคำบรรยายที่เกี่ยวข้อง</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/0*upbTbuHoC19BbnvS" /><figcaption>ImageRef : <a href="https://openai.com/index/clip/">https://openai.com/index/clip/</a></figcaption></figure><h3>4.2 Encoder–Decoder Architecture</h3><p><strong>Example Architecture :</strong> BLIP [3], BLIP-2[4], PaLI-X[5]</p><p><strong>How it works:</strong></p><ul><li>Step 1 — Vision Encoding:ใช้ Vision Encoder (เช่น Vision Transformer หรือ CNN) เพื่อดึง visual features จากภาพ แปลง features เหล่านี้เป็น image embeddings ใน latent space</li><li>Step 2 — Multimodal Decoding: ส่ง image embeddings เข้าสู่ Multimodal Decoder (Transformer-based Language Model) ใช้ภาพเป็น context และรับ input อื่น ๆ (เช่น คำถามหรือ prompt) เพื่อสร้างลำดับข้อความ (sequence output) การสร้างข้อความเกิดแบบ autoregressive คือทีละ token โดยอิง context จากภาพและข้อความก่อนหน้า</li><li>Step 3 — Output Generation: ผลลัพธ์เป็นข้อความ เช่น คำบรรยายภาพ (caption) หรือคำตอบของคำถาม (VQA answer) รองรับการ prompt ให้วิเคราะห์หรือ reasoning ตามลำดับขั้นตอน (Chain-of-Thought)</li></ul><p><strong>Strengths</strong></p><ul><li>เหมาะสำหรับงาน generative ที่ต้องสร้างข้อความ เช่น image captioning และ VQA</li><li>ทำงานร่วมกับ Prompt Process ได้ดี สามารถ reasoning ทีละขั้นตอน</li><li>รองรับการ implement Chain-of-Thought ในการวิเคราะห์ภาพเชิงลึก</li></ul><p><strong>Limitation:</strong></p><ul><li>ใช้พลังประมวลผลมากกว่า Dual-Encoder เพราะต้องทำการ decoding แบบทีละ token</li><li>Latency สูงกว่าสำหรับงานที่ต้องการการตอบสนองเร็วมาก ๆ เช่น real-time retrieval</li></ul><p><strong>Use-case:</strong></p><ul><li>Image Captioning — สร้างคำอธิบายภาพอัตโนมัติ</li><li>Visual Question Answering (VQA) — ตอบคำถามจากภาพ</li><li>Content Generation from Images — สร้างเนื้อหาหรือคำอธิบายประกอบภาพ เช่น บทความ, โฆษณา, คำบรรยายใน Social Media</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*4ssaQ8iNVqYfsJca" /><figcaption>ImageRef : <a href="https://github.com/salesforce/BLIP">https://github.com/salesforce/BLIP</a></figcaption></figure><h3>4.3 Fusion-Encoder (Single-Tower) Architecture</h3><p><strong>Example Architecture :</strong> LXMERT [6], ViLBERT [7]</p><p><strong>How it works:</strong></p><ul><li>Step 1 — แยกการเข้ารหัสเบื้องต้น (Separate Encoding)</li><li>Vision Encoder: แปลงภาพเป็น token ลักษณะ feature map ผ่าน CNN หรือ Faster R-CNN (object detector) เพื่อให้ได้ region-level embeddings ของ object ต่างๆ ในภาพ</li><li>Language Encoder: แปลงข้อความเป็น token embedding ผ่าน Transformer (เช่น BERT-based encoder)</li><li>Step 2 — Cross-Modality Encoding (Fusion): หลังจากได้ embeddings ของภาพและข้อความ จะถูกส่งเข้า Cross-Modality Encoder ซึ่งประกอบด้วย Self-Attention Layers ทำ reasoning ภายใน modality (ภาพกับภาพ, ข้อความกับข้อความ), Cross-Attention Layers เชื่อมโยงและแลกเปลี่ยนข้อมูลระหว่าง modality (ภาพ ↔ ข้อความ) เพื่อ alignment และ fusion</li><li>การผสมนี้เป็นการ fusion กลางเครือข่าย (middle fusion) ตาม concept Fusion-Encoder คือไม่ได้ผสมตั้งแต่ต้นแบบ Early Fusion และไม่ได้รอจนจบแบบ Late Fusion</li><li>Step 3 — Multimodal Output: หลังการ fusion จะได้ multimodal representation ที่เข้าใจทั้งภาพและข้อความพร้อมกันใช้สำหรับ downstream tasks เช่น VQA, Image-Text Matching, Captioning</li></ul><p><strong>Strengths:</strong></p><ul><li>ทำ fine-grained reasoning ข้ามภาพและข้อความได้ละเอียด</li><li>Alignment ระหว่าง object-level visual features และคำในประโยคแม่นยำ</li><li>เหมาะกับงาน multimodal reasoning ที่ต้องเข้าใจความสัมพันธ์เชิงลึก เช่น “คนในภาพกำลังทำอะไรกับสิ่งของนี้”</li></ul><p><strong>Limitation:</strong></p><ul><li>ขยายขนาดได้ยากสำหรับงาน retrieval เพราะต้องเข้ารหัสร่วมสำหรับทุก query</li></ul><p><strong>Use-case:</strong></p><ul><li>Scene Understanding — วิเคราะห์ภาพพร้อมอธิบายความสัมพันธ์ของ object และบริบท</li><li>VQA (Visual Question Answering) — ตอบคำถามเกี่ยวกับภาพ เช่น “เด็กผู้ชายในภาพกำลังทำอะไร”<br>Multimodal Reasoning in Robotics — ให้หุ่นยนต์ตัดสินใจจากทั้งภาพและคำสั่ง</li><li>AI NPC in Games — ตัวละคร AI ตอบสนองตามสถานการณ์ในเกมที่ผสมทั้งภาพและคำสั่ง</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BMx3J241JZb3s5VW" /></figure><p>ImageRef : <a href="https://arxiv.org/abs/1908.07490">https://arxiv.org/abs/1908.07490</a></p><h3>4. Vision Transformer (ViT)-Based Models</h3><p><strong>Example Architecture :</strong> CLIP-ViT [8], Florence [9], BEiT-3 [10]</p><p><strong>How it works</strong></p><ul><li>Step 1 — Image Patching: แบ่งภาพออกเป็น patch ขนาดเล็ก (เช่น 16×16 pixels) แปลงแต่ละ patch เป็น vision token ผ่าน linear projection</li><li>Step 2 — Vision Encoding: ส่ง vision tokens เข้าสู่ Vision Transformer (ViT) [11] ซึ่งทำ self-attention ระหว่าง patch ทั้งหมด เพื่อเรียนรู้ความสัมพันธ์เชิงพื้นที่ (spatial relationships) ซึ่งจะได้ image representation ที่ละเอียดและเก็บข้อมูลโครงสร้างของภาพ</li><li>Step 3 — Multimodal Integration:ใช้ representation จาก ViT ร่วมกับ language model ที่ทำงานได้ทั้งแบบ Dual-Encoder (เช่น CLIP) หรือ Fusion (เช่น BLIP-2, Flamingo) โดยมอง vision tokens เป็นส่วนที่สอดคล้องกับ text tokens</li></ul><p><strong>Strengths:</strong></p><ul><li>มีความ Flexible ในการใช้งาน ที่ใช้ได้ทั้ง retrieval และ generative tasks</li><li>เรียนรู้ representation ของภาพที่ละเอียดจาก patch-level features</li><li>เหมาะกับงานที่ต้องการความแม่นยำสูงใน object localization และ fine-grained classification</li></ul><p><strong>Use-case:</strong></p><ul><li>Object Recognition — รู้จำและจำแนกวัตถุจากภาพ</li><li>Multimodal Retrieval — ค้นหาภาพจากข้อความ หรือข้อความจากภาพ</li><li>Advanced Image Representation Learning — ใช้ในงานวิจัยเพื่อพัฒนา embedding คุณภาพสูงสำหรับภาพ</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*94dOzNn4YEEeSvhP" /><figcaption>ImageRef : <a href="https://arxiv.org/abs/2010.11929">https://arxiv.org/abs/2010.11929</a></figcaption></figure><h3>5. Large Multimodal Models (LMMs)</h3><p><strong>Example Architecture:</strong> LLaVA [12], GPT-4o [13], Gemini [14], Kosmos-2 [15]</p><p><strong>How it works:</strong></p><ul><li>Step 1 — Pre-trained LLM Base: เริ่มจาก Large Language Model (LLM) ที่ผ่านการ pre-train บนข้อความขนาดใหญ่ เช่น LLaMA, Vicuna</li><li>Step 2 — Vision Adapter: เพิ่ม Vision Encoder (เช่น CLIP-ViT) เพื่อดึง visual features จากภาพ นำ Vector ที่ได้ผ่าน Projection Layer เพื่อแปลง visual features ให้เป็นรูปแบบ embedding ที่อยู่ใน token space ของ LLM</li><li>Step 3 — Multimodal Token Fusion: นำ Vision tokens ถูกผสานเข้ากับ text tokens → ทำให้ LLM มองภาพเป็นเหมือนส่วนหนึ่งของ sequence ข้อความ ทำให้ LLM สามารถ reasoning กับข้อมูลภาพและข้อความได้ราบรื่นภายใน context เดียวกัน</li><li>Step 4 — Multimodal Output: LLM สร้างคำตอบตามคำสั่งที่อาจผสมทั้งข้อความและภาพ เช่น อธิบายภาพ, ตอบคำถามจากภาพ, วิเคราะห์เนื้อหาหลาย modality</li></ul><p><strong>Strengths:</strong></p><ul><li>รองรับ complex reasoning และ multi-turn conversation โดยมีทั้งภาพและข้อความในบริบทเดียว</li><li>สามารถทำตาม instruction ที่ซับซ้อน ได้ดี เช่น การวิเคราะห์ภาพแบบมีเหตุผลทีละขั้นตอน</li><li>ขยายไปสู่หลาย modality ได้ เช่น audio หรือ video โดยใช้หลักการ adapter เดียวกัน</li></ul><p><strong>Use-case:</strong></p><ul><li>Multimodal Chatbots — สนทนากับผู้ใช้โดยเข้าใจทั้งภาพและข้อความพร้อมกัน</li><li>Cross-modality Analysis — วิเคราะห์และตอบสนองจากข้อมูลหลายแหล่ง เช่น ภาพ, ข้อความ, เสียง</li><li>Complex Reasoning Systems — งานที่ต้องใช้เหตุผลหลายขั้นตอนพร้อมบริบทต่อเนื่อง เช่น การช่วยเหลือด้านการแพทย์, AI NPC ในเกม, หรือระบบให้คำปรึกษาเชิงลึก</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wp5gNyrcfVNWaxVy" /><figcaption>ImageRef : <a href="https://huggingface.co/llava-hf/llava-onevision-qwen2-72b-ov-hf">https://huggingface.co/llava-hf/llava-onevision-qwen2-72b-ov-hf</a></figcaption></figure><h3>📌 Summary Architecture Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HF025kh3r2MvJrm56DVIIg.png" /><figcaption>Create by HowKnow IKnow</figcaption></figure><h3>5. Summary</h3><p>Vision-Language Model (VLM) ถือเป็นก้าวสำคัญของวิวัฒนาการด้านปัญญาประดิษฐ์ (AI) เพราะทำให้ระบบสามารถทำ Multimodal Inputs ทั้งภาพและข้อความใน บริบทเดียวกันได้อย่างราบรื่น ความสามารถนี้ทำให้ AI ไม่เพียงแค่ “มองเห็น” และ “อ่านข้อความ” แต่ยังสามารถเชื่อมโยงความหมาย และให้เหตุผลเชิงลึก (<strong>Deep Reasoning</strong>) จากข้อมูลทั้งสองประเภทเพื่อให้คำตอบหรือดำเนินการตามคำสั่งได้อย่างชาญฉลาด</p><p>ความก้าวหน้านี้เปิดโอกาสให้ทำงานที่ซับซ้อนมากขึ้น เช่น</p><ul><li>การวิเคราะห์ภาพพร้อมให้เหตุผลทีละขั้นตอนรวมถึงการทำ Advance Prompting อย่าง Chain-of-Thought หรือ Tree-of-Thought ได้</li><li>การสนทนาแบบ Multi-turn conversation ที่ยังคงอ้างอิงถึงทั้งเนื้อหาภาพและข้อความ</li><li>การทำงานแบบ Cross-modal ที่ต้องเข้าใจความสัมพันธ์ระหว่างวัตถุในภาพและคำอธิบายที่เกี่ยวข้อง</li></ul><p>VLMs กำลังถูกนำไปประยุกต์ใช้อย่างกว้างขวางในหลายอุตสาหกรรม เช่น</p><ul><li><strong>ระบบค้นหาอัจฉริยะ (Intelligent Search Systems)</strong> ที่สามารถค้นหาภาพจากคำบรรยาย หรือค้นหาข้อความจากภาพ</li><li><strong>หุ่นยนต์และระบบอัตโนมัติ (Robotics &amp; Automation)</strong> ที่ต้องการตัดสินใจจากข้อมูลภาพและคำสั่งที่เป็นข้อความ</li><li><strong>เกมและความบันเทิง (Gaming &amp; Entertainment)</strong> เช่น AI NPC ที่ตอบสนองตามสภาพแวดล้อมภาพและบทสนทนาของผู้เล่น</li><li><strong>ผู้ช่วยเสมือนหลายโมดาลิตี้ (Multimodal Virtual Assistants)</strong> ที่สามารถวิเคราะห์และให้คำแนะนำจากข้อมูลหลายประเภท เช่น เอกสาร, รูปภาพ, เสียง หรือวิดีโอ</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*cT7dCaeuEHnWoawT8bO2-Q.png" /><figcaption>ไม่ไหวและ EP2 ก็เล่นซะเละเลยฮืออออออออ ;-;</figcaption></figure><p>อย่าพลาดซีรีย์การทำงานของ AI ในบทความถัดไปนะะะะะะ จะมีการแชร์แนวทางการพัฒนา AI จากพื้นฐานจนถึงการใช้งานจริงในอีกหลากหลายแอปพลิเคชัน EP ต่อไปเป็นการประยุกต์ต่อ Database ลง Coding เตรียมตาแตกกันได้เลยยยยยย 📚🚀</p><p>References</p><p>[1] CLIP :<a href="https://arxiv.org/abs/2103.00020"> https://arxiv.org/abs/2103.00020</a></p><p>[2] ALIGN : <a href="https://arxiv.org/abs/2102.05918">https://arxiv.org/abs/2102.05918</a></p><p>[3] BLIP:<a href="https://arxiv.org/pdf/2201.12086"> https://arxiv.org/pdf/2201.12086</a></p><p>[4] BLIP2 : <a href="https://arxiv.org/abs/2301.12597">https://arxiv.org/abs/2301.12597</a></p><p>[5] PaLI-X : <a href="https://arxiv.org/abs/2305.18565">https://arxiv.org/abs/2305.18565</a></p><p>[6] LXMERT :<a href="https://arxiv.org/abs/1908.07490"> https://arxiv.org/abs/1908.07490</a></p><p>[7] ViLBERT :<a href="https://arxiv.org/abs/1908.02265"> https://arxiv.org/abs/1908.02265</a></p><p>[8] CLIP-ViT : <a href="https://huggingface.co/openai/clip-vit-large-patch14">https://huggingface.co/openai/clip-vit-large-patch14</a></p><p>[9] Florence : <a href="https://arxiv.org/abs/2111.11432">https://arxiv.org/abs/2111.11432</a></p><p>[10] BEiT-3 : <a href="https://arxiv.org/abs/2208.10442">https://arxiv.org/abs/2208.10442</a></p><p>[11] ViT : <a href="https://arxiv.org/abs/2010.11929">https://arxiv.org/abs/2010.11929</a></p><p>[12] Llava :<a href="https://arxiv.org/abs/2304.08485"> https://arxiv.org/abs/2304.08485</a></p><p>[13] GPT-4o : <a href="https://openai.com/index/hello-gpt-4o/">https://openai.com/index/hello-gpt-4o/</a></p><p>[14] Gemini : <a href="https://deepmind.google/models/gemini/pro/">https://deepmind.google/models/gemini/pro/</a></p><p>[15] Kosmos-2 : <a href="https://arxiv.org/abs/2306.14824">https://arxiv.org/abs/2306.14824</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f485e69cdc21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What AI see? → “Computer Vision”]]></title>
            <link>https://medium.com/@ro-witthawin/what-ai-see-computer-vision-05094a4e367e?source=rss-3a50c5628ec5------2</link>
            <guid isPermaLink="false">https://medium.com/p/05094a4e367e</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Ro Witthawin]]></dc:creator>
            <pubDate>Thu, 07 Aug 2025 14:47:24 GMT</pubDate>
            <atom:updated>2025-08-08T14:36:38.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*8o0Kra61tbaEvLZD4gD9fA.png" /></figure><p>AI มองเห็นอะไร? เคยสงสัยกันมั้ยว่าทำไม AI เข้าใจรูปภาพได้ยังไง แล้วมันรู้ได้ยังไงว่ารูปที่เราส่งเข้าไปเป็นรูปหมา แมว หรือนก และมันกำลังทำอะไรอยู่ ถ้าเรามองย้อนกลับไปว่าคนเราเข้าใจรุปภาพเหล่านั้นได้ยังไง ก็ต้องตอบว่าคนเราเรียนรู้สิ่งเหล่านี้จากการมองเห็นและจดจำจากข้อมูลในอดีต เช่นเดียวกับ งานด้าน <strong>Computer Vision</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*Z1Dwx0OW8c0hZKJBOTzq7w.png" /></figure><h3>1) What is Computer Vision?</h3><p><strong>Computer Vision (CV)</strong> คือแขนงหนึ่งของวิทยาการคอมพิวเตอร์ที่ทำให้คอมพิวเตอร์ “มองเห็น เข้าใจ และตัดสินใจ” จากข้อมูลภาพและวิดีโอ คล้ายสายตาของมนุษย์แต่ทำงานด้วย Algorithm กับ Math ร่วมกัน ซึ่งในบทความนี้ เราจะมา Intro กันว่าในงานด้านนี้เค้ามีอะไรกันบ้าง</p><ul><li>What Computer see?</li><li>From Pixels to Spatial</li><li>Computer Vision with AI</li><li>Computer Vision Task</li><li>Summary</li></ul><h3>2) What Computer see?</h3><p>แน่นอนว่าเมื่อพูดถึงคอมพิวเตอร์ เราจะรู้กันว่าจริงๆแล้วข้างใน computer ทำงานบนพื้นฐาน <strong>logic 0/1</strong> หรือเชิงตัวเลข และคำถามที่น่าสนใจเลยคือ Computer มองเห็นรูปภาพ/วิดีโอเป็นชุดคณิตศาสตร์ยังไง?</p><h3>2.1 Image (ภาพนิ่ง)</h3><p>ถ้าคุณเคยซูมไปที่รูปภาพไปเรื่อยๆ เราจะเห็นว่ายิ่งซูมเข้าไปในรูปเราจะเห็นเป็นช่องๆๆ ช่องเหล่านั้นเราเรียกว่า Pixels ในแต่ละ Pixels จะบ่งบอกข้อมูลว่า ณ pixels นั้นๆ เป็นสีอะไร ซึ่งสีที่ตาของเรามองเห็นอาจจะเป็นลักษณะของสีมาตราฐานตามที่เคยเรียนในวิชาศิลปะมา แต่สิ่งที่ Computer มองเห็นนั้นต่างออกไป Computer มองเห็นเป็นชุดตัวเลข ขึ้นกับ Format ของรูปภาพนั้นๆด้วย เช่น RGB ก็จะมี ค่าความเข้มสี (เช่น 0–255) ต่อช่องสี หรืออธิบายได้ว่าเป็น Matrix (H x W x C) โดย H และ W คือความสูงและความกว้างของรูปในหน่วย Pixel ส่วน C คือ Color Space เช่น RGB หมายถึงมี Space ของ Red Level, Green Level และ Blue Level</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*R1mCXOEy3gM7OBGCPvLXbw.png" /></figure><h3>2.2 Video (ภาพเคลื่อนไหว)</h3><p>ถ้าใครเป็นคนเล่นกล้อง เวลาเราถ่ายรูปรัวๆรูปนกกำลังบิน แล้วเอารูปที่ถ่ายมาซ้อนๆกัน เราจะเป็นการเคลื่อนไหวของนกกำลังค่อยๆกระพือ จริงๆ แล้ว Video ก็คือการเอารูปมาซ้อนๆกัน หรือ <strong>Image by time</strong> เนี่ยแหละ (ไม่นับ Sound นะ)</p><p>เพราะงั้นเวลา Computer เห็น Video มันก็คือ Matrix ของรูปภาพ (H×W×C) x T นั่นเอง เมื่อ T คือจำนวน Frame ของ Video นั้นๆ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*rkGuQuRXnafLh5uleK_Nlg.png" /></figure><p>แน่นอนว่าสิ่งที่คอมพิวเตอร์เห็นก็คือจะอยู่ในรูปภาพที่เป็น 2D แต่ใน Real World นั้นไม่ได้มีแค่ 2D แต่เป็น 3D Object ที่นอกเหนือจาก Widht กับ Height แล้วยังมี Depth ที่เป็นความลึกด้วย ซึ่งก็มี Sensor Technology อย่าง Image Depth ที่เก็บข้อมูลเป็น 2D+1 ในลักษณะของ Point Cloud ซึ่งเดี๋ยวจะมาคุยใน Episode หน้าๆ</p><h3>3) From Pixels (Low-level) to Spatial (High-level)</h3><p>เพียงแค่ Image 2D เดี่ยวๆนั้นไม่เพียงพอในการนำมาเทียบกับของบน Real World เพราะงั้นเราไม่สามารถเทียบหน่วย Pixel กับหน่วย Length Metric (m.) ได้โดยตรง</p><p><strong>Solution</strong> : เราอาศัยหลักคณิตศาสตร์ของการฉายภาพ (Projection) และหลัก Camera Geometry เพื่อเชื่อม 3D โลกจริง → 2D ภาพถ่าย เพียงแต่ เราจะทำการ “<strong>ย้อนกลับ</strong>” จาก 2D → 3D ซึ่งหลักการนี้เราเรียกว่า “<strong>Spatial”</strong> ซึ่งหลักการของ Spatial เนี่ยแหละที่จะทำให้ Computer understand Vision ได้ ไม่เพียงแค่เห็นใน <strong>“Pixels Level”</strong> แต่สามารถเข้าใจใน “<strong>Spatial Level</strong>” ได้</p><p>ฟังเหมือนง่าย แต่ถ้าลงไปศึกษาศาสตร์ของ Spatial จริงๆ แล้วแตกออกได้อีกหลายต่อหลายแขนงเลย ทั้ง Depth Estimation, Stereo Matching, SLAM, Structure-from-Motion, 3D Reconstruction และยิ่งถ้าเราขยับไปงาน Video ด้วยมันจะไม่ใช่แค่ Spatial แต่จะมี “<strong>Temporal</strong>” ด้วย . . . . . เก็บไว้ก่อนยังไม่สปอย รอตอนต่อๆไป . . .</p><h3>4) Computer understand Vision with AI</h3><p>ผ่านมาหลายๆปี งานของ Computer Vision พัฒนาไปจากเดิมเยอะมาก จากเพียงแค่เราพยายามให้ Computer เข้าใจ Vision จาก Pixel Data (รูปภาพ) สู่การใช้รูปภาพ ไปใช้ในการตีความเรื่อง Spatial มีการใช้ Algorithm ในการตีความมากมาย และศาสตร์ที่จะไม่พูดถึงไม่ได้นั่นก็คือ AI แน่นอนว่า AI ไม่ได้เพิ่งมาไม่นาน แต่มานานแล้วที่เป็น AI ที่อยู่ในยุคของ Algorithm พัฒนาสู่การใช้ Algorithm ในการทำ Feature Learning หรือเราเรียกว่ายุคของ Machine Learning สู่การให้ Computer สร้าง Feature ขึ้นมาเองอย่าง Deep Learning และปัจจุบันเราไม่แค่คาดหวังให้ AI ทำนายแค่รูปนั้นๆเป็นหมา แมว หรือนก แต่เราอยากได้คำตอบแบบ Chat หรือ Generate รูปภาพออกมาใหม่ นั่นก็คือยุคปัจจุบันอย่าง Generative AI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*JYRf8iw1Wyx9-2W6abKv8Q.png" /></figure><h3>5) Computer Vision Task</h3><p>และแน่นอนการมาของ AI ทำให้เกิด Computer Vision Task มากมาย ในบทความนี้ผมหยิบ Main Task ที่มักถูกพูดถึงกันในการทำ Computer Vision มาเล่า</p><h3>5.1 Image Classification</h3><p><strong>Key-concept</strong> : ทำนายคลาสของ “ภาพทั้งภาพ”</p><p><strong>Input</strong> : Single Image</p><p><strong>Output</strong> : One Label (หรือ probability distribution ของหลาย labels)</p><p><strong>Use-case </strong>: จำแนกหมา-แมว-นก, ตรวจสอบว่าชิ้นส่วนมีตำหนิหรือไม่, คัดกรองเอกสารประเภทต่าง ๆ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*Z1q8l4obu7F2ma5g3ncBpw.png" /><figcaption>ImageRef : <a href="https://docs.clarifai.com/create/models/deep-fine-tuning/visual-classifier/">https://docs.clarifai.com/create/models/deep-fine-tuning/visual-classifier/</a></figcaption></figure><h3>5.2 Object Detection</h3><p><strong>Key-concept</strong> : ระบุตำแหน่ง (Bounding Box) พร้อมบอกว่าในกรอบนั้นคือวัตถุอะไร</p><p><strong>Input</strong> : Single Image</p><p><strong>Output</strong> : BoundingBox + Label (with Confidence Score)</p><p><strong>Use-case </strong>: ตรวจจับหลายวัตถุในภาพเดียว, ระบบช่วยขับรถ (ป้ายจราจร-คนเดินเท้า), นับสินค้าบนชั้น</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*5Od3BXwC24Aib6h-" /><figcaption>ImageRef : <a href="https://pyimagesearch.com/2017/09/11/object-detection-with-deep-learning-and-opencv/">https://pyimagesearch.com/2017/09/11/object-detection-with-deep-learning-and-opencv/</a></figcaption></figure><h3>5.3 Image Segmentation</h3><p><strong>Key-concept</strong> : แบ่ง “Pixel-to-Pixel” เพื่อบอกขอบเขตชัดเจนของวัตถุแต่ละชิ้น</p><p><strong>Input</strong> : Single Image</p><p><strong>Output</strong> : Segment Mask + Label</p><p><strong>Use-case </strong>: Health care (ขอบเขตอวัยวะ/เนื้องอก), Autonomous Driving, Smart Farm</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b-v7OF3NV0k3EI6M.png" /><figcaption>ImageRef : <a href="https://www.cloudfactory.com/blog/role-of-segmentation-labeling-in-computer-vision">https://www.cloudfactory.com/blog/role-of-segmentation-labeling-in-computer-vision</a></figcaption></figure><h3>5.4 Image Generation</h3><p><strong>Key-concept </strong>: สร้างรูปใหม่จาก “<strong>Noise vector / Image feature / Text prompt”</strong></p><p><strong>Architecture</strong> : Autoencoder, GAN</p><p><strong>Input</strong> : Random Noise, Latent Code หรือ Text Prompt</p><p><strong>Output</strong> : New Image</p><p><strong>Use-case</strong> : Regenerate Image, Art Creator, Data Augmentation, Super-resolution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*VaL80k00_xaK3FLC.gif" /><figcaption>ImageRef : <a href="https://developer.nvidia.com/blog/understanding-diffusion-models-an-essential-guide-for-aec-professionals/">https://developer.nvidia.com/blog/understanding-diffusion-models-an-essential-guide-for-aec-professionals/</a></figcaption></figure><h3>5.5 Vision Understanding</h3><p>เรามาถึงในจุดที่เราพัฒนางาน Vision จน Vision Encoding เก่งมากๆ สามารถ Detect Object รายละเอียดย่อยๆได้ ในขณะที่ NLP ก็พัฒนา Text Encoding จนสามารถเข้าใจโครงสร้างของภาษา จน Evolution สู่ LLM (Large Language Model) จึงเกิดการรวมกันระหว่าง Vision + Text นั่นคืองาน Vision-Image Pairing</p><p><strong>Key-concept </strong>: ผสาน <strong>Visual Encoder + Text Encoder</strong> ให้เข้าใจภาพและภาษาร่วมกัน → ทำ Image Captioning, VQA, Grounding</p><p><strong>Input</strong> : Image + Text Query / Instruction (Optional)</p><p><strong>Output</strong> : Text Answer / Caption</p><p><strong>Use-case</strong> : Vision Question-Answering, Image Captioning, Vision-Text Searching</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*sWW6lNCxxUY5zDKW.png" /><figcaption>ImageRef : <a href="https://blogs.upm.es/pasd/2023/06/12/matching-text-image-pairs-by-using-clip/">https://blogs.upm.es/pasd/2023/06/12/matching-text-image-pairs-by-using-clip/</a></figcaption></figure><h3>5.6 Multimodal RAG</h3><p><strong>Key-concept</strong> : ดึงข้อมูลหลายรูปแบบ (Text-Image-Audio-Video) จาก External Database แล้วให้ LLM Generate ข้อมูลที่ Retrieve ได้</p><p><strong>Input</strong> : Multimodal Query (Text / Image / Speech) + Knowledge Store (VectorDB)</p><p><strong>Output</strong> : Text Generated Answer พร้อมอ้างอิงแหล่งข้อมูล</p><p><strong>Use-case</strong> : ระบบ Document Q&amp;A ที่มีทั้งกราฟ/รูป, คู่มือซ่อมเครื่องจักรด้วยภาพ, Vision Query Chatbot</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*M-NLerVO6ZPXCrK4lp6FDw.png" /><figcaption>ImageRef : <a href="https://arxiv.org/abs/2407.01449">https://arxiv.org/abs/2407.01449</a></figcaption></figure><h3>5.7 Vision Understanding &amp; Generator</h3><p><strong>Key-concept</strong> : โมเดลรวม “เข้าใจ + สร้าง/แก้ไข ภาพ” ในตัวเดียว</p><p><strong>Architecture</strong> : GPT-4o, Gemini-V, LLaVA-V1.6, Qwen-VLo</p><p><strong>Input</strong> : Image + Text Query / Instruction (Optional)</p><p><strong>Output</strong> :</p><ul><li>Text (Summary, Reasoning, Answering)</li><li>[Optional] Generated Image (Create, Edit, Add/Remove)</li></ul><p><strong>Use-case</strong> : ผู้ช่วยออกแบบโฆษณา, Chat-based Photo Editor, AI NPC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_x4Vu7pvuoIMJPlKzjrQ7Q.png" /><figcaption>ImageRef : <a href="https://arxiv.org/abs/2506.18898">https://arxiv.org/abs/2506.18898</a></figcaption></figure><h3>5.7 Multimodal Agentics</h3><p><strong>Key-concept : </strong>ตัวแทน AI ที่ “มอง-คิด-ลงมือทำ” ได้ครบวงจร — ผสาน <em>การเข้าใจ</em> และ <em>การสร้าง/แก้ไข</em> ข้ามหลายโมดัล (ภาพ | ข้อความ | เสียง | วิดีโอ) ภายในเอเจนต์เดียว เพื่อขับเคลื่อนเวิร์กโฟลว์อัตโนมัติหลายขั้นตอน</p><p><strong>Architecture : </strong>GPT-4o, Gemini-V, LLaVA-v1.6, Qwen-VLo + Agent Frameworks (LangGraph, CrewAI, AutoGen / OpenAI Function-Calling)</p><p><strong>Input : </strong>Multimodal Context (Image, Text, Video, Audio), Task-specific Instruction / Goal</p><p><strong>Output :</strong></p><ul><li>Text (Plan, Reasoning, Summary, Answer)</li><li>[Optional] สื่อสร้างใหม่หรือแก้ไข (Image / Video / Audio)</li><li>[Optional] Action หรือ Tool Invocation (เช่น เรียก API อื่น, จองปฏิทิน, สร้างไฟล์ฯ)</li></ul><p><strong>Use-case : Visual Commerce Agent</strong> เข้าใจภาพสินค้า + คำค้นลูกค้า แล้วสร้างคอนเทนต์ขาย (captions, banner, short-form video)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FBtUMO5jZ7ZXum1cjmMNuA.png" /><figcaption>ImageRef : <a href="https://arxiv.org/abs/2502.13130">https://arxiv.org/abs/2502.13130</a></figcaption></figure><h3>สรุป : งาน AI ในฝั่ง Computer Vision</h3><ul><li>Compute เห็น “Pixels” แต่หากจะให้เข้าใจสิ่งที่เห็นให้มมีมิติมากขึ้น ด้วยหลักการทฤษฏีและ AI ทำให้ Computer สามารถเข้าใจ “<strong>Spatial” ได้</strong></li><li>งานหลักของ CV มีหลากหลายมุม ทั้งในงาน Discrirminative และ <strong>Generative</strong></li><li>ด้วยยุคที่ <strong>Vision Encoders</strong> บวก <strong>Text Encoders</strong> ถูกพัฒนามาอย่างต่อเนื่อง ทำให้เกิด <strong>Multimodal AI</strong> ที่ทั้ง “เข้าใจ” และ “สื่อสาร” ได้ดีขึ้น</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/177/1*woEyrWGciqOvRvlmAnD1Qg.png" /><figcaption>//จบแล้วววววว สมองไหลลลลลลล &gt; — ;;;;</figcaption></figure><p>อย่าพลาดซีรีย์การทำงานของ AI ในบทความถัดไปนะคะ จะมีการแชร์แนวทางการพัฒนา AI จากพื้นฐานจนถึงการใช้งานจริงในหลากหลายแอปพลิเคชัน รอติดตามกันได้เลย! 📚🚀</p><h3>🤗 Thanks for reading &amp; See you soon</h3><p>Facebook : <a href="https://www.facebook.com/HowKnowIKnow">https://www.facebook.com/HowKnowIKnow</a></p><p>LinkedIn : <a href="https://www.linkedin.com/in/ro-witthawin/">https://www.linkedin.com/in/ro-witthawin/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05094a4e367e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>