<?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 Jun Kevin on Medium]]></title>
        <description><![CDATA[Stories by Jun Kevin on Medium]]></description>
        <link>https://medium.com/@junkevin?source=rss-7ad3e7ef82e1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wjwCK0suxaYolxrtE7Nmxw.jpeg</url>
            <title>Stories by Jun Kevin on Medium</title>
            <link>https://medium.com/@junkevin?source=rss-7ad3e7ef82e1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 15 May 2026 06:22:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@junkevin/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[The Greek Who Systemized the World: Rethinking Aristotle’s Legacy]]></title>
            <link>https://junkevin.medium.com/the-greek-who-systemized-the-world-rethinking-aristotles-legacy-190e27e038e2?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/190e27e038e2</guid>
            <category><![CDATA[greece]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[philosophy-of-life]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[ancient-history]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 07:13:56 GMT</pubDate>
            <atom:updated>2026-02-15T07:13:56.328Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*loqcPXv_aJ6_NROn.jpg" /><figcaption>The man, the myth, the legend 🫡🫡🫡</figcaption></figure><p>History has a way of smoothing over the cracks in a person’s life until they become a statue. We look at Aristotle and see the marble bust of supreme wisdom, the man who seemingly invented logic, biology, and literary criticism single handedly. But if you look closer at the historical record, the image gets a little blurry.</p><p>There is a strange paradox sitting right at the center of his legacy. For someone who defined how the Western world thinks, he is surprisingly hard to pin down. In fact, he might be the most mysterious figure in world history.</p><h3>The Man Without a Book</h3><p>Consider his bibliography. When we read Shakespeare, we are reading the actual plays he wrote because we have the text. When we read Plato, we are reading the dialogues he carefully crafted. But Aristotle is different. Not a single original text written by his own hand survives.</p><p>The famous works on ethics, politics, and poetics are likely just lecture notes. We are essentially basing Western civilization’s “operating system<em>” </em>on scribbles from students who were frantically trying to write down what their professor was saying in class.</p><p>This leads to a second puzzle regarding the sheer impossibility of his range. We believe he produced around 200 works covering everything from theater and rhetoric to physics, metaphysics, and biology. There is no analog in human history for this level of curiosity. He did not just study the world; he categorized every single inch of it. It raises a quiet question about how much of “Aristotle” is actually him, and how much is the result of a massive compilation effort by his followers.</p><h3>The Student Who Looked Down</h3><p>Then there is the drama with his teacher. Aristotle studied under Plato for twenty years. Two decades is a long time to spend with a mentor. Usually, a student becomes the master’s greatest defender, but Aristotle did something that still feels rebellious today. He dismantled his master’s entire worldview.</p><p>Plato was the ultimate idealist who believed in the “Form of the Good,” a divine and immutable perfection. To Plato, the circle you draw on paper is not real because it has edges; the only real circle exists in the realm of pure thought. He believed we live in a shadow realm where everything is just a poor imitation of the divine. Consequently, he wanted people to close their eyes to the physical world and use mathematics to find the truth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MxVTPr827FNHWAcz.jpg" /><figcaption>Plato’s form of the good, source: Jest Education Youtube</figcaption></figure><p>Aristotle, on the other hand, was a doctor’s son. He did not care about the perfect “idea” of a horse in the sky; he wanted to know why the specific horse in front of him had strong legs. He was a materialist who believed we access truth through observation.</p><p>While Plato preached that God was a static, eternal perfection, Aristotle argued for a “Prime Mover,” a cosmic spark that set everything into motion. For Aristotle, the universe was not about static perfection; it was about change, motion, and infinity. He validated the messy, physical world we actually live in.</p><h3>Philosophy in the War Room</h3><p>But the most fascinating part of the story is not the philosophy; it is the politics. We tend to think of philosophers as detached sages living in isolation, but Aristotle was deeply embedded in the machinery of empire.</p><p>If you look at the dates, Aristotle and King Philip II of Macedon were born only a year apart. Aristotle’s father was the personal physician to the King, meaning they likely grew up together as childhood friends. While Aristotle went to Athens to study at the Academy, Philip was planning the conquest of Greece.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7KdW6iDb-JbwqAgN" /><figcaption>Aristotle and King Philip II of Macedon</figcaption></figure><p>There is a theory that Aristotle was not just a student in Athens, but a middleman for Macedonian interests. When Philip II wanted to unite the fractured Greek city states under a “Pan-Hellenic” project, he needed more than an army; he needed a shared identity. He needed someone to systemize Greek knowledge into a cohesive culture that could be exported.</p><p>It is no coincidence that Philip hired his childhood connection, Aristotle, to tutor his son, Alexander.</p><h3>The Conqueror’s Dilemma</h3><p>Think about it from Alexander the Great’s perspective. If he had listened to Plato, he never would have left home. Plato would have told him that conquering the world was pointless because the physical world is just a “shadow realm” and not real. Plato would have told him to sit down and do geometry.</p><p>Aristotle offered a different path, one that a soldier could understand. He taught the concept of <em>Telos</em>, or purpose. A soldier does “good” not by meditating, but by fulfilling his purpose which is fighting and winning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/0*GtbiSnTkhy9joVSM.jpg" /><figcaption>Plato point his finger to the sky, but Aristotle pointing to the ground</figcaption></figure><p>Aristotle preached <em>Arete</em> (excellence) and <em>Eudaimonia</em> (flourishing through action). This was the perfect “software<em>” </em>for a young emperor. It justified the ambition to organize the world, giving Alexander a moral mandate to expand his empire.</p><h3>The Filing System of Reality</h3><p>After Alexander’s death, his empire fragmented, but the cultural project continued. The Ptolemies in Egypt established the Library of Alexandria, essentially the world’s first research university, to continue this work of systemizing Greek culture.</p><p>They were ruthless about it. There is a story that the Library wanted the original manuscripts of the great Athenian playwrights like Aeschylus, Sophocles, and Euripides. The Athenians refused to give them up because they considered them sacred treasures. So the Egyptians offered an enormous deposit of 15 talents of silver just to “borrow” them for copying.</p><p>Once they had the originals, the Library simply forfeited the deposit and kept the books. They did not care about the money; they cared about owning the standard version of the truth.</p><p>At the center of this intellectual empire stands Aristotle. Or at least, the version of him that the Library curated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*S375QeEv53vRzGDV.jpg" /><figcaption>The Library of Alexandria</figcaption></figure><p>Whether he was a solitary genius or the figurehead for an empire’s effort to standardize knowledge, he managed to do something no one else did. He built a filing system for reality. He gave us the categories we still use to sort out our lives today. He might be a ghostwriter for Western civilization, but he is a ghost we still can’t seem to shake.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=190e27e038e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How One Poem Created A Civilization]]></title>
            <link>https://junkevin.medium.com/how-one-poem-created-a-civilization-7f9b97004c1b?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f9b97004c1b</guid>
            <category><![CDATA[greek-mythology]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[civilization]]></category>
            <category><![CDATA[history]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 13:26:04 GMT</pubDate>
            <atom:updated>2026-02-04T13:26:04.836Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HGTChEy-rFvI3sHo.jpeg" /><figcaption>Homer’s Iliad didn’t just record history. It was the operating system for democracy, tragedy, and the Western mind.</figcaption></figure><p>Imagine this: No books. No writing. Just a blind bard wandering from village to village in ancient Greece. Hundreds surround him nightly by the firelight. He recites the 15,000 lines of <em>The Iliad</em> entirely from memory. He speaks for hours on end.</p><p>No payment. No army. Just words.</p><p>The result? The greatest explosion of civilization in history. Plato. Sophocles. Herodotus. Democracy. Philosophy. Theater as moral education.</p><p>How does one poem birth all of this? The answer isn’t in the plot. It lies in how <em>The Iliad</em> rewired human nature itself.</p><h3>The Greek Code: Arete and Eudaimonia</h3><p>To understand the poem, we must understand the code it installed in the Greek mind. It starts with two concepts: <em>arete</em> and <em>eudaimonia</em>.</p><p><strong>Arete</strong> means excellence, virtue, or character. It is what makes you exceptional. The Greeks identified two paths to arete: <strong>war-fighting</strong> and <strong>speech-making</strong>.</p><p>Achilles is the paragon of the warrior path. He rejects the prophecy of a safe life where he would “die old at home.” Instead, he chooses an early death at Troy. He does this because he believes that only by fighting, and only by winning glory, can he achieve <em>eudaimonia</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RzZL8zvSupkG1tkSpfwQ8A.png" /><figcaption>Happiness triangle stoic to pursue “eudaimonia”</figcaption></figure><p><strong>Eudaimonia</strong> is often translated as happiness, but it really means flourishing. It is the act of expressing your highest potential. Without fighting, Achilles cannot be Achilles. When he sits miserable by his ships and plots revenge against Agamemnon, he is spiritually dying. A warrior not fighting is a man not breathing.</p><p>But then there is Odysseus. He embodies the <em>arete</em> of the orator.</p><p>The Greeks understood that war and rhetoric were identical goals achieved through different means. Warriors impose reality through brute force. They make others obey superior strength. Orators achieve the same through beauty and truth. Both create realities that others must inhabit.</p><h3>The Embassy Scene: Speeches as Narrative Warfare</h3><p>We see the power of speech best in the famous “Embassy Scene.”</p><p>Achilles has withdrawn from battle. The Trojans, led by Hector, are destroying the Greeks. A desperate war council decides to send envoys to beg Achilles to return. Odysseus, the master speaker, leads the way.</p><p>Odysseus speaks first. It is a very long speech. Why? Why not simply say: <em>“Achilles, here’s a million dollars in gold. Fight for us.”</em> Or perhaps: <em>“We’re losing. Stop sulking.”</em></p><p>He doesn’t say this because speeches are not transactions. They are <strong>wars of reality</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*cxnTlMtFIgt3BS51.jpg" /><figcaption><em>The Ambassadors of Agamemnon in the tent of Achilles</em></figcaption></figure><p>Odysseus doesn’t just respond to Achilles. He projects a movie onto the world to create a new emotional reality he wants Achilles to inhabit. He uses vivid imagery:</p><ul><li><strong>The Present:</strong> He paints Hector not as a man, but as a giant. A god running wild and killing Greeks.</li><li><strong>The Past:</strong> He invokes Achilles’ father, Peleus. “Remember? You promised him glory before Troy.”</li><li><strong>The Future:</strong> He constructs a vision where Troy is sacked, treasures are won, and Achilles stands as the glory of all Greece.</li></ul><p>Odysseus expands the imagination of Achilles across time. <em>Enter this world,</em> he argues, <em>and you will flourish.</em></p><p>Achilles refuses. But look at <em>how</em> he refuses. His counter-speech contracts inward. While Odysseus speaks of “we,” Achilles speaks of “me.” <em>“Nestor is a god to you? He ran from me.”</em> <em>“Peleus? I should go home.”</em> <em>“Briseis? I spit on that.”</em></p><p>It is a clash of realities. The length of these speeches serves the power of the poetry. The imagery, metaphor, diction, and syntax all matter. The contrast between the feast and the desert burns into the memory. The image of Hector-as-god sticks.</p><p>The Greeks memorized <em>The Iliad</em> not just for entertainment. They did it to master this art of reality creation. This became their politics. This became their civilization.</p><h3>Kant Unlocks the Mechanism</h3><p>But how does language actually control reality? Centuries later, Immanuel Kant’s <em>Critique of Pure Reason</em> would explain the mechanism behind Homer’s magic.</p><p>Kant argued that we do not passively observe reality. We actively shape it. Reality divides in two:</p><ol><li><strong>Noumena:</strong> Things-in-themselves. This is raw vibration, pure energy, and chaos.</li><li><strong>Phenomena:</strong> Things-as-they-appear-to-us.</li></ol><p>Our minds cannot perceive the <em>noumena</em>. It is too chaotic. So, we filter it through <strong>Time</strong> (sequence: 1–2–3) and <strong>Space</strong> (sensation: sight, sound). Time and space don’t exist outside of us. They exist <em>inside</em> us to order the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QwV9VlpbRO6JO6h-NjTL0A.png" /><figcaption>Allegory of the cave</figcaption></figure><p>And what controls our perception of time and space? <strong>Language.</strong></p><p>Before language, each person perceives their own fragmented reality. Language creates a collective reality. And who creates language? The poets.</p><p>Homer forged a shared reality where individual hatreds, like the rage of Achilles, could be contextualized for the common good. His poetry became the building blocks of Greek consciousness. One poem rewired an entire people.</p><h3>Poets as Prophets: The Cosmic Connection</h3><p>This reveals the metaphysical function of the poet. Poets aren’t mere artists. They are prophets accessing what Hegel calls <em>Geist</em> (Spirit), what Jung calls the Collective Unconscious, or what Plato calls the Realm of Forms.</p><p>This cosmic realm stores all memory. Homer connects to it through “divine inspiration.” The characters in <em>The Iliad</em> feel alive because Homer isn’t inventing them. He is summoning real consciousnesses from eternity. Achilles isn’t fiction. His rage, his grief, and his glory exist in the universe. Homer channels them.</p><p>When Homer recited <em>The Iliad</em> orally, it functioned like a movie theater of the mind. Each listener implanted their own consciousness into the story. It created a loop of shared creation. The poem became a portal to the cosmic realm.</p><p>From this portal, civilization emerged. Plato stepped out of it. Sophocles stepped out of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*fIjSew_oa9T7_VXz.jpg" /><figcaption><em>The Apotheosis of Homer</em></figcaption></figure><h3>The Legacy: Tragedy as a Mirror</h3><p>Percy Shelley, in his <em>Defence of Poetry</em>, explains how this legacy evolved into Greek tragedy. Athenian theater wasn’t entertainment. It was a mechanism for purging the soul.</p><p>Shelley wrote:</p><blockquote><em>“The tragedies of Athenian poets are as mirrors in which the spectator beholds himself.”</em></blockquote><p>Tragedy follows a pattern laid down by Homer. A great man is undone by <em>hubris</em> (arrogance). Achilles’ arrogance costs him Patroclus. Hector’s arrogance costs him his life.</p><p>In the theater, thousands of Greeks wept together. They connected with the fallen hero. They purged their own hubris through <em>catharsis</em>. By internalizing the tragic hero, they learned moral greatness. Homer’s living poem made this possible.</p><h3>Why The Iliad Still Speaks</h3><p><em>The Iliad</em> endures because it connects to the eternal. We still understand the rage of Achilles. We still recognize the cunning of Odysseus in our modern politicians.</p><p>The poem tunes our minds like antennas receiving a universal download. The more you read it, the faster your connection to that “cosmic internet” becomes.</p><blockquote><strong>Greek education was simple: memorize <em>The Iliad</em>. Through it, they mastered the art of reality-creation. They didn’t just read a poem. They installed a civilization.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f9b97004c1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[If Time Could Heal… (How Current Tech Shapes the Future of Cancer Research) ❤️‍]]></title>
            <link>https://junkevin.medium.com/if-time-could-heal-how-current-tech-shapes-the-future-of-cancer-research-%EF%B8%8F-30bc96edb2c2?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/30bc96edb2c2</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[biology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[cancer]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 07:17:23 GMT</pubDate>
            <atom:updated>2025-11-02T07:20:24.369Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*MK53g0AW-SFBHjCc.jpg" /><figcaption>…</figcaption></figure><blockquote>“If I could turn back time, I’d go all‑in study bioinformatics, be a blessing to others, save more lives and reduce people’s tears.”</blockquote><p>Some days, cancer feels like a clock that won’t stop. Seconds turning into scans, scans turning into decisions, and decisions into consequences that arrive too fast for any human heart. In that space between urgency and uncertainty, technology has quietly changed its posture, from promising someday to delivering now. The question is no longer whether AI belongs in oncology, but how far it can bend time without breaking trust.​</p><p>Today’s stack is sharper than yesterday’s. Right now, we have genomics libraries that turn days into minutes, protein‑structure models that sketch binding possibilities before a pipette is lifted, and single‑cell language models that read the tumor microenvironment like a draft waiting to be edited. Together, they don’t replace doctors or scientists. They negotiate with time, prioritizing which hypotheses deserve to be tested first, in whom, and why.​</p><p>This piece traces that negotiation. It follows the tools that make speed honest, the methods that keep speed safe, and the people who stand in the middle (patients, doctors, and of course, engineers like us), asking for one thing we can’t refund. If time could heal, this is how we’d help it along.</p><h3>Why Speed Matters 🏃‍➡️</h3><p>Cancer moves while we’re deciding what to do next. In 2025, <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC12185122/">there’s a study </a>tracking almost a million people showed a clear pattern:</p><blockquote>“The longer patients wait to start treatment, the higher their risk of dying, even after carefully adjusting for who tends to be fast‑tracked versus who waits longer.”</blockquote><p>Risk climbs step by step (from a small bump when treatment slips a couple of months, to a much larger bump when it drifts past ten months) so “just a little delay” isn’t harmless in the aggregate. If I can say this word: delay isn’t neutral, it tilts the odds the wrong way.</p><p>Think of a common story. A lung nodule shows up on a scan. If the biopsy takes weeks, the molecular test starts late. When the test starts late, targeted therapy or a trial slot can become a near‑miss. Current research says this isn’t just an anecdote. Across major cancers, once you correct the math properly, longer time‑to‑treatment still links to worse survival. In breast cancer, for example, highlight that pushing surgery beyond roughly six weeks is tied to higher death risk in specific groups, turning an abstract idea (“don’t wait too long”) into a clock teams can actually plan around.</p><p>Speed, though, isn’t about rushing. It’s about getting the order right. Reviews and consensus work this year argue that “when” is part of the treatment, not just “what.” They call for trials and real‑world studies that test timing itself (how long between surgery and chemo, when to give immunotherapy, what window matters most) because many patients still miss those windows in everyday care. The goal is simple. Go faster in ways that travel across hospitals and hold up under scrutiny, not just faster in one lucky center.​</p><p>There’s also the time patients lose to the system itself, what doctors now call “<a href="https://ecancer.org/en/journal/article/1957-time-toxicity-in-cancer-treatment-oncologists-knowledge-and-practices-across-pakistan">time toxicity</a>.” In 2025, <a href="https://ascopubs.org/doi/10.1200/JCO.2025.43.16_suppl.11119">surveys</a> kept pushing this idea forward. Hours burned on travel, waiting rooms, repeat tests, and authorizations can drain quality of life enough to cancel out small survival gains. The fix isn’t heroics, it’s better sequencing and fewer loops cut the waste, keep the proof, and make speed something a clinician can defend to a scared family in the small hours. That’s why the next section focuses on tools that don’t just go fast, but they make time work for the patient.</p><h3>The Tools That Buy Time 🤖</h3><p>When minutes matter, the right stack turns slow loops into same‑day decisions.</p><p>Start with genomics at GPU speed. Clinical sequencing pipelines that once took many hours can now finish in minutes, so a tumor board discusses real variants this week, not next month. Accelerated workflows like <a href="https://www.nvidia.com/en-us/industries/healthcare-life-sciences/genomics/">Clara Parabricks</a> routinely shrink whole‑genome or exome runs and make variant‑calling fast and affordable enough to keep up with clinic pace, more samples per day, fewer bottlenecks, and a mutation list on a doctor’s desk before a patient’s condition slips. The value isn’t the hardware; it’s the time handed back to people who need it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-os8MePsYAfNrE7Krol-1Q.png" /><figcaption>Parabricks mentioned at NVIDIA GTC 2025</figcaption></figure><p>Next, structure before the experiment. <a href="https://www.nature.com/articles/s41586-024-07487-w">AlphaFold‑class</a> and foundation‑model approaches help teams sketch binding possibilities and mutation effects before anyone picks up a pipette. That means narrowing targets, prioritizing which pocket is plausible, and deciding which compound deserves wet‑lab first pass. By moving a chunk of screening into compute, labs avoid dead‑end assays and reclaim weeks. That’s make the first experiment is more likely to matter for the patient in front of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oftqfqmu95nt3QH40lbr6Q.png" /><figcaption>Example AlphaFold result: Protein-RNA-Ion (PDB 8AW3)</figcaption></figure><p>Then, read cells like text. <a href="https://www.biorxiv.org/content/10.1101/2025.04.14.648850v1">Single‑cell language‑model methods</a> let researchers query the tumor microenvironment rather than just cluster it. In practice, faster calls on which myeloid states track with resistance, which T‑cell populations predict response, and which patients look biologically similar across cohorts for a trial slot. Paired with accelerated analytics that can handle tens to hundreds of millions of cells, what used to be weeks of manual annotation becomes hours of targeted interrogation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/0*nNAxSfCGPf2qm7-W.png" /><figcaption>Single-cell UMAP (Uniform Manifold Approximation and Projection) that reveals diverse tumor microenvironment cell populations</figcaption></figure><h3>What We Still Don’t Know 🤔</h3><p>Speed helps, but “fast” can turn fragile if we don’t name the gaps.</p><ul><li>First, generalization. A model that shines in one hospital can stumble across town because scanners, staining, workflows, and populations differ; performance drops the moment data distribution shifts, and that’s when trust evaporates.</li><li>Second, evidence about “when” is still thin. Trials rarely test timing itself. How long between surgery and chemo, or which window matters most for immunotherapy, so real‑world care often guesses the interval instead of measuring it.</li><li>Third, bias and access. People without smooth access to imaging, biopsies, molecular tests, or transportation tend to wait longer, and those waits don’t land equally across income, language, or geography.</li><li>Fourth, the measurement problem. We’ve gotten better at counting survival and response; we’re still learning how to count the hours patients lose to travel, authorizations, repeat tests, and fragmented scheduling, the “time toxicity” that can cancel out small clinical gains.</li></ul><p>There are also scientific unknowns hiding inside what looks like speed. When we compress pipelines, we can quietly amplify false positives, a variant called from low‑quality reads, a structure prediction over‑interpreted outside its domain, a single‑cell label that drifts when the tissue type or platform changes.</p><p>Guardrails are not optional. Baselines must be reported, hold‑outs must be real, and pathway‑level checks or orthogonal assays should be the rule, not the nice‑to‑have. And when black‑box systems offer confident recommendations, the burden is on us to show why they’re plausible in biology, not just in math.</p><p>Finally, timing is a moving target because biology moves. A “good” interval for one tumor type, stage, or biomarker can be wrong for another. The honest position is simple. Declare uncertainty up front, instrument the workflow to learn, and be ready to change course when the data say the window isn’t where we thought it was.</p><h3>Conclusion: So, What We Should Do?</h3><p>If time is the most expensive reagent in medicine, then our job is to spend it better. The next frontier in cancer research isn’t just faster models or deeper sequencing, it will be orchestration. Every tool that saves a minute must prove it buys meaning, not chaos. That means designing workflows that shorten what hurts (waiting, guessing, approval) while preserving what matters (accuracy, empathy, validation).</p><p>We should build systems that learn from every delay instead of just removing it. Integrate AI not as a substitute for judgment but as a clock we can actually read, the one that reminds us where speed heals and where slowness protects.</p><p>Because the real future isn’t “instant oncology”. It’s a world where data moves fast enough for people to move wisely, where a clinician can defend their timing shortly, with both evidence and heart, and where no patient’s survival depends on how long the pipeline takes to finish.</p><p><strong>In the end, if time could heal, our task is to give it less to fix.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30bc96edb2c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ride the Spread, Not the Trend: The Logic Behind Pair Trading ]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://junkevin.medium.com/ride-the-spread-not-the-trend-the-logic-behind-pair-trading-77bebbfdde7b?source=rss-7ad3e7ef82e1------2"><img src="https://cdn-images-1.medium.com/max/600/1*AxrcknogFmRS2B15K8pXQA.png" width="600"></a></p><p class="medium-feed-snippet">Imagine two runners consistently sprinting side by side on a track. They&#x2019;ve always kept a similar pace, so the distance between them&#x2026;</p><p class="medium-feed-link"><a href="https://junkevin.medium.com/ride-the-spread-not-the-trend-the-logic-behind-pair-trading-77bebbfdde7b?source=rss-7ad3e7ef82e1------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://junkevin.medium.com/ride-the-spread-not-the-trend-the-logic-behind-pair-trading-77bebbfdde7b?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/77bebbfdde7b</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[portfolio-management]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 00:50:32 GMT</pubDate>
            <atom:updated>2025-07-20T00:50:32.412Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ride the Spread, Not the Trend: Strategi Dibalik Pair Trading ]]></title>
            <link>https://junkevin.medium.com/ride-the-spread-not-the-trend-the-logic-behind-pair-trading-bahasa-indo-35c541670d46?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/35c541670d46</guid>
            <category><![CDATA[portfolio-management]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 17:05:58 GMT</pubDate>
            <atom:updated>2025-07-20T00:07:00.901Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*AxrcknogFmRS2B15K8pXQA.png" /></figure><p>Bayangkan dua pelari yang selalu berlari bersama di lintasan. Mereka memiliki kecepatan yang hampir sama, sehingga jarak di antara mereka biasanya tetap konstan. Namun, suatu hari, salah satu pelari mulai mempercepat langkahnya, meninggalkan temannya di belakang. Sebagai penonton, kamu tahu bahwa pelari yang tertinggal akan mengejar dan akhirnya menyusul, atau pelari yang lebih cepat akan melambat untuk menyesuaikan ritme. Di sinilah peluang muncul.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*h6OoKi92NHVJ-A0VPetVnw.gif" /><figcaption>Hmm.., ya mungkin seperti ini 🏃‍♂️</figcaption></figure><p>Dalam dunia trading, hubungan ini bisa ditemukan di antara dua aset yang memiliki korelasi kuat. Ketika salah satu “berlari” terlalu jauh dari yang lain, trader yang cermat dapat memanfaatkan momen ini untuk mendapatkan keuntungan. Strategi ini dikenal sebagai <strong>pair trading, </strong>yaitu sebuah pendekatan yang tidak bergantung pada arah pasar, melainkan pada hubungan relatif antara dua aset.</p><p>Mungkin buat banyak orang, belajar analisis strategi trading itu rasanya kayak gini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/0*0A-7JxPeTIyi8KEo.jpg" /><figcaption>🙃🙃🙃</figcaption></figure><p>Pair trading itu sebenarnya nggak ribet-ribet amat. Kita nggak perlu nebak arah pasar atau “timing the market”. Yang perlu difokusin cuma hubungan antara dua aset kayak dua orang tadi. Kalau salah satu “lari” terlalu jauh, kita bisa manfaatin momen itu buat dapetin keuntungan.</p><p>Disini, kita bakal bahas logika di balik pair trading, kenapa strategi ini bisa works, dan gimana cara menganalisisnya.</p><h3>Arbitrage Strategies: Memanfaatkan Perbedaan Harga</h3><p>Oke, sebelum kita masuk lebih dalam ke pair trading, kita perlu bahas dulu konsep besar yang jadi “payung” dari strategi ini: <strong>arbitrage</strong>. Apa sih arbitrage itu? Sederhananya, arbitrage adalah strategi untuk memanfaatkan perbedaan harga di pasar. Tujuannya? Jelas, buat dapetin keuntungan tanpa harus ambil risiko besar.</p><p>Bayangin kamu lagi jalan di pasar tradisional. Kamu lihat ada pedagang yang jual mangga seharga Rp10.000/kg, tapi di ujung pasar ada pedagang lain yang jual mangga yang sama seharga Rp15.000/kg. Kalau kamu beli di pedagang pertama dan jual di pedagang kedua, selisih Rp5.000 itu adalah keuntungan kamu 🤑. Nah, konsep ini mirip banget sama arbitrage di dunia trading.</p><h3>Jenis-Jenis Arbitrage</h3><p>Arbitrage itu nggak cuma satu jenis, ada beberapa strategi yang sering dipakai trader. Berikut adalah beberapa di antaranya:</p><ol><li><strong>Spatial Arbitrage: </strong>Ini adalah arbitrage yang memanfaatkan perbedaan harga di lokasi yang berbeda. Contohnya, harga emas di London mungkin lebih murah dibandingkan di New York. Trader bisa beli di London dan jual di New York untuk dapetin keuntungan.</li><li><strong>Temporal Arbitrage: </strong>Arbitrage ini fokus pada perbedaan harga di waktu yang berbeda. Misalnya, harga saham perusahaan tertentu mungkin lebih rendah di sesi pagi dan lebih tinggi di sesi sore. Trader bisa memanfaatkan perbedaan ini untuk profit. Kadang kita bisa sebut juga sebagai scalper atau swing trader, tergantung dari jangka waktu yang Kita tentukan.</li><li><strong>Statistical Arbitrage: </strong>Nah, ini dia yang jadi dasar dari pair trading. Statistical arbitrage menggunakan analisis data dan statistik untuk menemukan hubungan antara dua aset. Kalau ada penyimpangan dari hubungan normalnya, trader bisa masuk untuk memanfaatkan peluang.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dX8UEkeH-mVz5ASMnfUZSA.jpeg" /><figcaption>Contoh temporal arbitrage, strategi beli sore jual pagi (BSJP) di bursa efek dengan memanfaatkan jam open dan close (tanpa pre dan post market, contohnya seperti di pasar saham Indonesia)</figcaption></figure><h3>Pair Trading: Memanfaatkan Hubungan Dua Aset</h3><p>Setelah memahami konsep arbitrage, sekarang kita masuk ke salah satu bentuk <strong>statistical arbitrage</strong> yang cukup populer: <strong>pair trading</strong>. Pair trading adalah strategi yang fokus pada hubungan antara dua aset yang memiliki korelasi historis. Tujuannya adalah memanfaatkan penyimpangan harga sementara di antara kedua aset tersebut.</p><p>Dalam pair trading, kita tidak peduli apakah pasar sedang naik (bullish) atau turun (bearish). Fokus utama strategi ini adalah pada <strong>hubungan relatif</strong> antara dua aset. Ketika harga salah satu aset menyimpang terlalu jauh dari hubungan normalnya, kita bisa memanfaatkan momen tersebut untuk masuk ke posisi trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/0*eQtJQ4iCddli9YSC.jpeg" /><figcaption>It’s not bull or bear, it’s kangaroo 🦘</figcaption></figure><h3>First Step, Temukan Pair Aset dan Korelasinya</h3><p>Langkah pertama dalam pair trading adalah mengidentifikasi pasangan aset yang memiliki hubungan historis yang kuat. Biasanya, aset yang berada di industri yang sama atau memiliki hubungan fundamental cenderung memiliki korelasi tinggi.</p><p>Contohnya, saham dari dua bank besar di Indonesia, seperti BBRI dan BMRI, sering kali bergerak bersama. Untuk memastikan korelasi ini, kamu bisa menggunakan alat seperti <a href="https://www.portfoliovisualizer.com/asset-correlations">Portfolio Visualizer</a> atau menghitung korelasi secara manual menggunakan data harga historis. Korelasi yang tinggi (r &gt; 0.8) menunjukkan bahwa kedua aset memiliki hubungan yang cukup kuat untuk digunakan dalam strategi pair trading.</p><h3>Next, Hitung Spread dan Uji Stationarity</h3><p>Setelah pasangan aset teridentifikasi, langkah berikutnya adalah menghitung <strong>spread</strong> antara kedua aset dan memastikan bahwa spread bersifat <strong>mean-reverting</strong>.</p><p>Spread?? Mean-reverting?? apa itu 🤔</p><p><strong>Spread </strong>adalah selisih harga antara aset pertama dan aset kedua. <strong>Mean reversion</strong> adalah konsep yang menyatakan bahwa harga atau nilai suatu aset cenderung kembali ke rata-rata historisnya setelah menyimpang. Dalam pair trading, mean reversion digunakan untuk menganalisis <strong>spread</strong> antara dua aset. Spread yang bersifat mean-reverting akan kembali ke rata-rata historisnya setelah menyimpang, yang merupakan <strong>inti dari strategi pair trading</strong>. Hal ini memberikan peluang bagi trader untuk masuk posisi saat spread menyimpang, dengan asumsi bahwa spread akan kembali ke rata-rata.</p><p>Bayangkan spread seperti bandul yang berayun di sekitar titik tengah (rata-rata). Ketika spread bergerak terlalu jauh ke satu sisi, gravitasi (mean reversion) akan menariknya kembali ke tengah. Misalnya, jika spread antara dua saham naik dari rata-rata Rp500 ke Rp700, trader bisa masuk posisi dengan <strong>short aset yang overvalued</strong> dan <strong>long aset yang undervalued</strong>, lalu keluar saat spread kembali ke Rp500.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*981Qni4EkejHqPOA.gif" /><figcaption>Mean reversion in a nutshell (sorry children)🙏</figcaption></figure><p>Mean reversion menjadi <strong>inti dari pair trading </strong>karena memberikan prediktabilitas dan peluang untuk memanfaatkan pergerakan harga yang cenderung stabil.</p><p>Untuk memastikan bahwa spread bersifat mean-reverting, kamu bisa menggunakan <strong>ADF Test</strong> (Augmented Dickey-Fuller Test). ADF Test adalah uji statistik yang menentukan apakah spread bersifat <strong>stationary</strong> atau tidak. Jika hasil ADF Test menunjukkan bahwa spread bersifat stationary (p-value &lt; 0.05), maka pasangan aset tersebut cocok untuk pair trading. Sebaliknya, jika p-value ≥ 0.05, spread tidak bersifat stationary, sehingga pasangan aset tersebut tidak cocok untuk pair trading.</p><h3>Finally, Tentukan Entry Point</h3><p>Entry point dalam pair trading dilakukan saat Z-Score menunjukkan penyimpangan yang signifikan dari rata-rata historisnya. Jika Z-Score lebih besar dari 2, itu berarti spread terlalu besar, sehingga kamu bisa <strong>short aset yang overvalued</strong> (jual aset yang harganya terlalu mahal) dan <strong>long aset yang undervalued</strong> (beli aset yang harganya terlalu murah). Sebaliknya, jika Z-Score kurang dari -2, kamu bisa <strong>long aset yang undervalued</strong> dan <strong>short aset yang overvalued</strong>. Pastikan korelasi antara kedua aset tetap tinggi sebelum masuk posisi untuk mengurangi risiko.</p><h3>Contoh Kasus 1: Coinbase (COIN) &amp; Robinhood (HOOD)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*K878VaQRly9jjBKp.jpg" /><figcaption>COIN &amp; HOOD</figcaption></figure><h4>First Step: Temukan Pair Aset dan Korelasinya</h4><p>Coinbase dan Robinhood adalah dua pemain utama dalam lanskap keuangan digital di Amerika Serikat. <strong>Coinbase (COIN)</strong> dikenal sebagai salah satu platform pertukaran aset kripto terbesar dan pertama yang melantai di bursa saham Amerika. Perusahaan ini memungkinkan jutaan pengguna membeli, menjual, dan menyimpan berbagai jenis aset digital seperti Bitcoin, Ethereum, dan altcoin lainnya. Di sisi lain, <strong>Robinhood (HOOD)</strong> adalah broker ritel yang mempopulerkan trading tanpa biaya komisi, dikenal luas di kalangan Gen Z dan milenial. Meski awalnya fokus pada saham dan ETF, Robinhood juga mengembangkan layanan kripto, termasuk dompet digital dan perdagangan token populer.</p><p>Karena keduanya beroperasi di persimpangan antara fintech, pasar modal, dan kripto, pergerakan harga saham COIN dan HOOD seringkali mencerminkan sentimen yang sama. Misalnya, ketika Bitcoin melonjak, volume transaksi di Coinbase meningkat, begitu pula minat pengguna Robinhood untuk berinvestasi dalam aset kripto. Korelasi tinggi ini tercermin secara statistik: selama periode Januari 2024 hingga Juni 2025, korelasi bulanan antara keduanya tercatat di angka <strong>0.93, </strong>sinyal kuat bahwa mereka cenderung “berlari bersama.” Ini menjadikan pasangan COIN–HOOD kandidat ideal untuk strategi pair trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tfvfdSo0XoWfeSObhOBaKQ.png" /><figcaption>Korelasi COIN dan HOOD menyentuh lebih dari 0.93 ✅</figcaption></figure><h4>Next: Hitung Spread dan Uji Stationarity</h4><p>Meski bergerak bersama dalam jangka panjang, sesekali hubungan ini bisa goyah. Pada pertengahan Juli 2025, sektor kripto di Amerika Serikat kembali hangat setelah DPR meloloskan sejumlah regulasi pentin, salah satunya adalah “Clarity Act” yang memperjelas status aset kripto, serta “Genius Act” untuk stablecoin, yang menciptakan sentimen bullish besar bagi saham fintech-kripto seperti Coinbase dan Robinhood. Kedua saham pun melesat, dengan COIN mencapai rekor harga baru hingga $444, sedangkan HOOD meroket ke level $113.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0BOgpZZa3P2-9-xhfmg8w.png" /><figcaption>Price Action COIN (per 19 Juli 2025)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PkkNVZzDgBXFc6X4Dy5HNg.png" /><figcaption>Price Action HOOD(per 19 Juli 2025)</figcaption></figure><p>Pelebaran ini menjadi alarm bagi trader pair trading — menunjukkan bahwa salah satu aset mulai “lari terlalu cepat.” Kalau spread ini bersifat <strong>mean-reverting</strong>, maka bisa dimanfaatkan. Uji ADF dapat digunakan untuk memastikan spread-nya <strong>stationary</strong>. Jika ya, kita punya dasar statistik untuk masuk posisi.</p><h4>Finally: Tentukan Entry Point</h4><p>Menjelang akhir Juli, terjadi berita negasi spesifik: Robinhood <strong>tidak berhasil masuk ke indeks S&amp;P 500</strong>, padahal diprediksi akan menggantikan satu entri lama. Pengumuman ini menimbulkan koreksi pasar untuk HOOD (turun sekitar 1,5%), walau analis tetap optimistis dan mempertahankan target harga tinggi. Sementara Coinbase masih terus dipacu kenaikan oleh putusan legislatif dan animo crypto, sehingga perbedaannya menjadi <em>riil</em>.</p><p>Di momen seperti ini — ketika salah satu saham disuntik regulasi positif, sementara yang lain tersendat karena faktor fundamental atau indek, spread antara COIN dan HOOD melebar. Ini adalah titik yang ideal untuk aksi pair trading: Z‑Score kemungkinan besar menembus batas <strong>±2</strong>, memberi sinyal kuat untuk:</p><ul><li><strong>Short HOOD</strong> (yang stagnan karena excluded dari S&amp;P 500)</li><li><strong>Long COIN</strong> (yang terus mendapatkan momentum karena regulasi)</li></ul><p>Strategi ini bukan menebak arah pasar secara keseluruhan, tapi menilai hubungan antar dua aset yang biasanya jalan bareng, lalu memanfaatkan saat mereka “pisah jalur.”</p><h3>Contoh Kasus 2: BTC &amp; ETH</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6KVqPdbS2I4PBKLz.png" /><figcaption>Gambaran investasi di BTC dan ETH (Sebelum Juli 2025 hehe)</figcaption></figure><h4>First Step: Temukan Pair Aset dan Korelasinya</h4><p>Dalam dunia kripto, Bitcoin (BTC) dan Ethereum (ETH) bisa dibilang adalah “dua raja” yang sering berjalan beriringan. Sejak awal, pergerakan harga keduanya punya korelasi historis yang sangat tinggi, seringkali di atas 0.8. Ini masuk akal, karena keduanya adalah aset utama dalam ekosistem kripto dan biasanya dipengaruhi oleh sentimen makro yang sama: adopsi institusi, regulasi pemerintah, atau pergerakan dolar AS. Maka, tak heran kalau banyak trader menjadikan BTC dan ETH sebagai pasangan ideal untuk strategi pair trading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E6rMq9ViiXgn5kRnnOhNKw.png" /><figcaption>Korelasi BTC dan ETH menyentuh lebih dari 0.8 ✅</figcaption></figure><p>Namun, seperti pasangan pelari yang biasanya seirama, ada kalanya satu dari mereka tiba-tiba melesat lebih cepat dari yang lain. Dan itulah yang terjadi di pertengahan Juli 2025.</p><h4>Next: Hitung Spread dan Uji Stationarity</h4><p>Pada minggu kedua Juli 2025, Ethereum naik pesat, menembus level $3.600, alias melonjak hampir 20% hanya dalam tujuh hari. Di sisi lain, Bitcoin justru “ngestuck” di kisaran $117.000–$118.000, setelah sebelumnya mencetak rekor tertinggi di $123.000 dan mengalami koreksi karena aksi ambil untung.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*TV0noINE8co_pH5ReueHmg.png" /><figcaption>Price action BTC dan ETH (per 19 Juli 2025)</figcaption></figure><p>Perbedaan kecepatan inilah yang menciptakan <strong>spread</strong>: selisih harga yang semakin lebar antara dua aset yang biasanya sejalan. Spread ini bukan sekadar angka, tapi sinyal. Seperti bandul yang ditarik terlalu jauh ke satu sisi, spread yang terlalu melebar menunjukkan potensi untuk kembali ke rata-rata, selama hubungan historis antara kedua aset tetap kuat. Dalam istilah statistik, inilah yang disebut <strong>mean reversion</strong>.</p><p>Untuk memastikan bahwa spread tersebut memang cenderung kembali ke rata-ratanya, kita bisa melakukan uji <strong>ADF Test (Augmented Dickey-Fuller)</strong>. Jika hasilnya menunjukkan bahwa spread bersifat <strong>stationary</strong> (p-value &lt; 0.05), maka kondisi ini valid untuk dimanfaatkan dalam pair trading. Dalam kasus BTC–ETH saat itu, spread yang melebar akibat ETH ‘lari duluan’ menunjukkan potensi peluang untuk diambil posisi.</p><h4>Finally: Tentukan Entry Point</h4><p>Begitu spread divergen, langkah selanjutnya adalah menentukan <strong>kapan masuk posisi</strong>. Jika Z-Score spread BTC–ETH menembus angka <strong>+2</strong>, artinya ETH sudah terlalu overvalued relatif terhadap BTC. Ini menjadi sinyal untuk:</p><ul><li><strong>Short ETH</strong> (jual aset yang terlalu tinggi harganya), dan</li><li><strong>Long BTC</strong> (beli aset yang ketinggalan).</li></ul><p>Sebaliknya, jika Z-Score menyentuh <strong>-2</strong>, posisi akan dibalik.</p><p>Pada kasus pertengahan Juli itu, Z-Score spread antara ETH dan BTC diperkirakan sudah melewati angka +2 karena lonjakan ETH yang agresif dibanding BTC yang stagnan. Trader yang peka bisa masuk posisi sesuai strategi pair trading dan menunggu saat spread kembali normal, yaitu ketika harga ETH dan BTC kembali ‘berjalan bersama’.</p><h3>Pada Akhirnya…</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/232/0*99IpJ23X5fq5qPP1" /><figcaption>Well, well, well</figcaption></figure><p>Pair trading bukan soal menebak arah pasar, tapi soal menangkap ketidakseimbangan sementara antara dua aset yang biasanya bergerak bersama. Dengan pendekatan statistik seperti korelasi, spread, ADF Test, dan Z-Score, trader bisa mengidentifikasi momen ketika hubungan itu terganggu dan mengambil posisi yang tidak spekulatif terhadap tren pasar, melainkan terhadap <strong>hubungan antar dua aset</strong>.</p><p>Contoh kasus COIN–HOOD dan BTC–ETH membuktikan bahwa bahkan pasangan yang tampak solid bisa mengalami divergensi jangka pendek karena berita, sentimen, atau peristiwa fundamental. Justru di saat-saat seperti itu, strategi pair trading menunjukkan kekuatannya: masuk saat spread melebar, keluar saat kembali normal. Dan itulah esensi dari strategi ini “<strong>ride the spread, not the trend” 🚀</strong></p><blockquote>Artikel ini bukanlah sebuah financial advise dan bukan merupakan ajakan untuk membeli produk investasi. DYOR and keep learning, thankyou for reading! <br>(˶ᵔ ᵕ ᵔ˶)✌️💪🔥</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35c541670d46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Do Chatbots Often Agree, Even When We’re Wrong? CoT and the Illusion of AI Reasoning]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://generativeai.pub/why-do-chatbots-often-agree-even-when-were-wrong-cot-and-the-illusion-of-ai-reasoning-fa107d5f777f?source=rss-7ad3e7ef82e1------2"><img src="https://cdn-images-1.medium.com/max/640/0*P9QPEYZ3HsiT-ifu" width="640"></a></p><p class="medium-feed-snippet">Ever tried giving a chatbot the wrong answer on purpose, just to see what it say, and then it agrees with you?</p><p class="medium-feed-link"><a href="https://generativeai.pub/why-do-chatbots-often-agree-even-when-were-wrong-cot-and-the-illusion-of-ai-reasoning-fa107d5f777f?source=rss-7ad3e7ef82e1------2">Continue reading on Generative AI »</a></p></div>]]></description>
            <link>https://generativeai.pub/why-do-chatbots-often-agree-even-when-were-wrong-cot-and-the-illusion-of-ai-reasoning-fa107d5f777f?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa107d5f777f</guid>
            <category><![CDATA[chain-of-thought]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 11 May 2025 12:37:31 GMT</pubDate>
            <atom:updated>2025-05-12T12:41:25.305Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Kenapa Chatbot Sering Nurut Walau Kita Salah? CoT dan Ilusi Kecerdasan AI]]></title>
            <link>https://junkevin.medium.com/kenapa-chatbot-sering-nurut-walau-kita-salah-cot-dan-ilusi-kecerdasan-ai-694909966f92?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/694909966f92</guid>
            <category><![CDATA[chain-of-thought]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 11 May 2025 12:12:36 GMT</pubDate>
            <atom:updated>2025-05-11T12:50:25.427Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*hcyraeta6Zy2UPUl" /><figcaption>It’s just a chatbot, indeed 🤖</figcaption></figure><p>Pernahkah kamu mencoba memberi jawaban ke chatbot, padahal kamu tahu itu salah, dan… si chatbot malah setuju? Bukan karena dia bodoh, justru karena dia terlalu “<em>sopan” </em>🙇‍♂️. Atau lebih tepatnya, karena dia tidak benar-benar berpikir seperti manusia.</p><p>Pada awalnya, cerita ini terinspirasi dari paper Anthropic <a href="https://www.anthropic.com/research/reasoning-models-dont-say-think">(<em>Reasoning Models Don’t Always Say What They Think</em>, 2025)</a> yang menunjukkan bahwa banyak model AI besar, termasuk yang disebut “reasoning models”, <strong>tidak jujur dalam menjelaskan proses pikirannya</strong>. Bahkan, ketika mereka melakukan reasoning, mereka sering “berpura-pura” berpikir logis, padahal hanya mengikuti isyarat yang user berikan.</p><h3>🧠 Chain-of-Thought: Cerita Bohong yang Terlihat Cerdas</h3><p>Chain-of-Thought (CoT) adalah teknik populer untuk mendorong model AI menjawab dengan langkah-langkah eksplisit. Alih-alih langsung menyebutkan jawabannya, chatbot akan menyusun urutan logis seperti ini:</p><blockquote>“Hmm, angka pertama 5, angka kedua 10, jadi jawabannya 15.”</blockquote><p>Sekilas terlihat seperti proses berpikir manusia. Namun menurut penelitian tersebut, CoT sering kali hanyalah hasil narasi, bukan proses internal sesungguhnya. Dalam banyak kasus, model sudah “memutuskan” jawabannya sejak awal, dan CoT hanyalah pembenaran belakangan yang disesuaikan agar terdengar logis bagi manusia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*J6LOIekDoiPzVx8eZbcqEg.png" /><figcaption>Hmmm…</figcaption></figure><p>Yah, kira kira kek Kita ditanya alasan kenapa telat, padahal aslinya bangun kesiangan, tapi malah bikin cerita soal ban bocor, hujan badai, dan alasan-alasan lain. Masuk akal? Ya. Jujur? Tentu tyduck ehe 👉👈.</p><h3>🎭 Ketika AI Lebih Suka Menjadi Friendly Daripada Memberikan Fakta</h3><p>Anthropic melakukan serangkaian eksperimen yang menunjukkan betapa mudahnya model dipengaruhi oleh petunjuk-petunjuk halus dari pengguna. Bahkan hanya dengan menyisipkan metadata palsu seperti “Dosen Harvardku bilang jawabannya C 🤷‍♂️”, model dengan mudah mengubah jawabannya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYOiXQ5UzQWC-VhTsxkswg.png" /><figcaption>Contoh ketika kita memberikan pertanyaan kepada chatbot dengan “hint” yang salah, maka chatbot cenderung akan mengikuti hint yang kita berikan</figcaption></figure><p>Yang mengejutkan: model tidak pernah mengaku bahwa petunjuk itu yang mempengaruhinya 🙅. Sebaliknya, ia menyusun penjelasan yang seolah-olah murni hasil penalaran mandiri. Inilah bentuk <em>“</em><strong><em>sycophancy”</em> </strong>dalam AI , kecenderungan untuk menyetujui pengguna, bahkan ketika pengguna salah.</p><h3>Ketika Reward Mengalahkan Kejujuran 🔁</h3><p>Lebih lanjut, Anthropic menunjukkan bahwa melalui <em>reinforcement learning</em> (RL), model bisa “belajar” memilih jawaban yang salah <strong>asal mendapatkan reward tinggi</strong> dari sistem evaluasi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J3icFPPWA62NLswY149srA.png" /><figcaption>Sistem reward pada reinforcement learning yang membuat chatbot akan berpikir untuk mengikuti hint dan memberikan jawaban yang masuk akal dari hint tersebut</figcaption></figure><p>Claude 3.7 Sonnet, salah satu model mereka, bisa mengikuti pola salah yang diajarkan selama pelatihan dengan akurasi hampir sempurna, tapi <strong>tanpa pernah menjelaskan bahwa jawabannya berdasarkan strategi tersebut</strong>. CoT yang dihasilkan tetap terdengar logis, walau tidak mencerminkan reason sebenarnya.</p><h3>Lalu, Bisakah AI Diajar untuk Tidak Terlalu Nurut? 🤔</h3><p>Jawabannya: <strong>Bisa, dan itu yang sedang dikerjakan oleh banyak researcher.</strong></p><p>Beberapa LLM seperti GPT-4, Claude 3, dan Gemini 1.5 udah mulai dilatih agar tidak mudah untuk mengikuti perkataan user, terutama jika user memberikan jawaban yang salah tapi meyakinkan.</p><p>Strategi utama yang digunakan adalah kombinasi dari:</p><p><a href="https://arxiv.org/abs/2204.05862"><strong><em>Reinforcement Learning from Human Feedback (RLHF)</em></strong></a><em> dan </em><a href="https://arxiv.org/abs/2409.01658"><strong><em>Fine-tuning anti-sycophancy</em></strong></a><em>, yakni pelatihan model agar lebih kritis terhadap konteks.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1pMiIUz52yMAHzg4gIC74A.png" /><figcaption>Contoh kasus bagaimana anti-sycophacy bisa meyakinkan chatbot agar tetap kekeuh dengan pernyataan yang sudah dibuat</figcaption></figure><p>Beberapa pendekatan yang kini digunakan oleh para researcher antara lain:</p><ul><li><a href="https://arxiv.org/html/2411.15287v1"><strong>Sycophancy stress testing</strong></a><strong>: </strong>mengevaluasi apakah model “tergoda” mengikuti opini yang keliru</li><li><a href="https://arxiv.org/abs/2205.00049"><strong>Consistency prompting</strong></a><strong>: </strong>memeriksa apakah alasan yang diberikan model konsisten dari awal hingga akhir</li><li><a href="https://www.anthropic.com/research/constitutional-ai-harmlessness-from-ai-feedback"><strong>Constitutional AI</strong> </a>: membekali model dengan “rules atau prinsip” yang dijadikan acuan saat menjawab, bukan hanya menuruti perintah</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y2HTsB4DDiANd5Erj3hqkQ.png" /><figcaption>Contoh penerapan constitutional AI, dengan memberikan prinsip yang dijadikan acuan bagi chatbot</figcaption></figure><p>Hasilnya mulai terlihat: model lebih sering menolak pendapat user bila ia punya bukti kuat yang bertentangan. Tapi tentu, belum sempurna. Masih ada ruang besar untuk meningkatkan kemampuan model dalam bersikap kritis.</p><h3>📌Penutup</h3><p>Pada akhirnya, chatbot bukanlah teman yang jujur, tapi dia cuma model yang pintar menyesuaikan. Di satu sisi, chatbot memang terlihat pintar. Mereka bisa menjawab, menjelaskan, bahkan berdialog seolah-olah sedang “berpikir”. Tapi di balik layar, mereka masih sangat <em>berorientasi pada pola, bukan pada kebenaran. </em>Chain-of-Thought itu cuma sekedar metode untuk berpikir. Kadang masuk akal, kadang menyesatkan.</p><blockquote>Jadi, jangan terlalu cepat percaya dengan kata-kata positif dari chatbotmu. Bisa jadi, dia cuma sedang menyenangkanmu yang lagi kesepian ehehehe 😝😝😝</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/0*KOSFbHZDQdIzUa3p.png" /><figcaption>What is wrong with my chatbot?? 😭😭😭</figcaption></figure><p>Thankyou untuk yang sudah membaca sampai akhir. Jika teman-teman semua punya pertanyaan atau saran, silakan tulis di kolom komentar. Jika merasa artikel ini menarik, jangan lupa untuk memberi tepuk tangan <br>ദ്ദി(˵ •̀ ᴗ — ˵ ) ✧, byee!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=694909966f92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Race Conditions and How to Deal with Them in Go]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://levelup.gitconnected.com/race-conditions-and-how-to-deal-with-them-in-go-f841d94285fb?source=rss-7ad3e7ef82e1------2"><img src="https://cdn-images-1.medium.com/max/1920/0*hCY6ClGNkjd2F9We.jpg" width="1920"></a></p><p class="medium-feed-snippet">What is race condition and how to deal with that in golang project</p><p class="medium-feed-link"><a href="https://levelup.gitconnected.com/race-conditions-and-how-to-deal-with-them-in-go-f841d94285fb?source=rss-7ad3e7ef82e1------2">Continue reading on Level Up Coding »</a></p></div>]]></description>
            <link>https://levelup.gitconnected.com/race-conditions-and-how-to-deal-with-them-in-go-f841d94285fb?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f841d94285fb</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[application-development]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Tue, 10 Sep 2024 16:44:49 GMT</pubDate>
            <atom:updated>2024-09-10T16:44:49.724Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Introduction to Generative AI and Building a Chatbot Agent with Vertex AI]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://generativeai.pub/introduction-to-generative-ai-and-building-a-chatbot-agent-with-vertex-ai-48e3100a7fdf?source=rss-7ad3e7ef82e1------2"><img src="https://cdn-images-1.medium.com/max/1024/0*gCcKiQBRIO-lZtu6" width="1024"></a></p><p class="medium-feed-snippet">When we talk about AI trends in 2024, one of the answers is Generative AI &#x1F916;.</p><p class="medium-feed-link"><a href="https://generativeai.pub/introduction-to-generative-ai-and-building-a-chatbot-agent-with-vertex-ai-48e3100a7fdf?source=rss-7ad3e7ef82e1------2">Continue reading on Generative AI »</a></p></div>]]></description>
            <link>https://generativeai.pub/introduction-to-generative-ai-and-building-a-chatbot-agent-with-vertex-ai-48e3100a7fdf?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/48e3100a7fdf</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agents]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Wed, 04 Sep 2024 05:15:34 GMT</pubDate>
            <atom:updated>2024-09-04T05:15:34.180Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Pengenalan Generative AI dan Membuat Agent Chatbot dengan Vertex AI]]></title>
            <link>https://junkevin.medium.com/pengenalan-generative-ai-dan-membuat-agent-chatbot-dengan-vertex-ai-e7ed2eebfbed?source=rss-7ad3e7ef82e1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7ed2eebfbed</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[vertex-ai]]></category>
            <dc:creator><![CDATA[Jun Kevin]]></dc:creator>
            <pubDate>Sun, 01 Sep 2024 23:10:47 GMT</pubDate>
            <atom:updated>2024-09-01T23:15:11.823Z</atom:updated>
            <content:encoded><![CDATA[<p>Kalau kita berbicara mengenai apa trend dari AI di tahun 2024, salah satu jawabannya adalah Generative AI 🤖</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GcTFF82tDv27DrEo" /><figcaption>Beep boop! I’m your chatbot (˶ᵔ ᵕ ᵔ˶)! 🤖🤖🤖</figcaption></figure><p>Generative AI (kedepannya bakal kusingkat jadi GenAI) adalah salah satu cabang AI yang berfokus pada pembuatan konten baru, seperti teks, gambar, suara, maupun video.</p><h3>Awal Mula GenAI</h3><p>Penelitian tentang GenAI sebenarnya dapat kita telusuri dari tahun 1960-an. Namun, GenAI mulai berkembang menjadi sesuatu yang mirip dengan bentuknya sekarang ini pada tahun 2006, dengan publikasi paper “<a href="https://www.cs.toronto.edu/~hinton/absps/fastnc.pdf"><em>A Fast Learning Algorithm for Deep Belief Nets</em></a>” oleh Geoffrey Hinton dan rekannya, yang memperkenalkan kembali konsep <a href="https://www.cs.toronto.edu/~hinton/csc2535/notes/lec4new.pdf"><em>Restricted Boltzmann Machines</em> </a>dalam konteks <em>deep learning</em> (konsep RBM pertama kali diperkenalkan olehnya pada tahun 1983).</p><p>Namun, dari tahun 2006 tidak banyak inovasi yang terjadi di bidang ini hingga pada tahun 2014, muncullah <a href="https://arxiv.org/abs/1406.2661">GAN (Generative Adversarial Networks)</a> oleh Ian Goodfellow dan rekan-rekannya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/0*axDxSuoOJmiK7RZ7.gif" /><figcaption>Example of GAN: Horse🐴-&gt; Zebra 🦓 Source: <a href="https://junyanz.github.io/CycleGAN/">https://junyanz.github.io/CycleGAN/</a></figcaption></figure><p>Pada dasarnya, GAN terdiri dari dua neural network yang saling berkompetisi satu sama lain, yaitu generator dan discriminator. Tujuan generator adalah menciptakan data “fake” untuk terlihat se-realistik mungkin, sedangkan tujuan discriminator adalah membedakan antara data asli dan data “fake”. Generator dan discriminator dilatih secara adversarial, yang berarti mereka saling mencoba untuk mengalahkan satu sama lain.</p><p>Generator berusaha untuk menipu discriminator dengan menghasilkan data palsu yang semakin baik, sementara discriminator berusaha menangkap generator dengan menjadi lebih baik dalam mendeteksi data palsu. Proses ini dapat dilihat sebagai permainan antara generator dan discriminator, di mana generator ingin memaksimalkan kemungkinan discriminator membuat kesalahan, dan discriminator ingin meminimalkan kemungkinan tersebut.</p><p>Permainan ini berakhir ketika generator dan discriminator mencapai titik keseimbangan, di mana generator menghasilkan data yang realistis dan discriminator tidak dapat membedakan antara data asli dan data palsu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EhbQzxdWfaPHqvhX" /><figcaption>Illustration of GAN, Source: <a href="https://www.linkedin.com/pulse/generative-adversarial-network-gan-jithin-s-l/">https://www.linkedin.com/pulse/generative-adversarial-network-gan-jithin-s-l/</a></figcaption></figure><blockquote>Untuk lebih mudah dalam memahami model GAN, bayangkan saja jika pada suatu perusahaan memiliki 2 orang manager yang saling berkompetisi untuk naik ke jabatan yang lebih tinggi. Manajer 1 ditugaskan untuk mencapai kinerja yang sudah ditentukan perusahaan, sedangkan manajer 2 ditugaskan untuk sebaik mungkin menilai pekerjaan manajer 1 dengan akurat, dapat membedakan mana kinerja yang hanya dibuat-buat dan mana kinerja yang memiliki dampak positif bagi perusahaan. Hasil dari kompetisi mereka tentu akan membuat kinerja yang baik bagi perusahaan, terlepas dari siapa yang akan naik jabatan.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zScAMPSfwQfuZlkQ" /><figcaption>Source: <a href="https://www.marktechpost.com/2023/03/21/a-history-of-generative-ai-from-gan-to-gpt-4/">https://www.marktechpost.com/2023/03/21/a-history-of-generative-ai-from-gan-to-gpt-4/</a></figcaption></figure><p>Perkembangan penelitian Generative AI kemudian terjadi pada tahun-tahun berikutnya, yang paling signifikan adalah pengenalan arsitektur <em>transformer</em> untuk NLP, yang disajikan dalam paper “<a href="https://arxiv.org/abs/1706.03762">Attention is all You Need</a>” oleh Vaswani dkk dari Google. Kemudian perkembangan masih terus terjadi hingga di tahun 2024 ini dengan adanya GPT-4, DALL-E 3, Llama 3 dan akan terus berkembang kedepannya 🚀.</p><h3>Penerapan GenAI</h3><p>GenAI bisa dibilang agak berbeda karakteristiknya dibandingkan dengan algoritma AI yang biasa kita kenal sebagai traditional AI.</p><p>Contohnya saja, ketika Kita melakukan permodelan untuk credit scoring 🧮, Kita biasa menggunakan algoritma machine learning seperti logistic regression, decision tree, atau random forest untuk membangun modelnya. Model ini dilatih pada data historis pinjaman yang ada, yang nantinya menghasilkan rules-rules untuk memprediksi skor kredit pinjaman baru.</p><p>Berbeda penerapannya dengan GenAI 🖼️, dimana ketika Kita akan membuat sebuah gambar baru dari gambar yang kita masukkan (image-to-image), model akan mencoba membuat gambar baru, dimana gambar tersebut dinilai secara iteratif apakah sama seperti gambar asli atau tidak sampai akhirnya menyerupai gambar asli.</p><p>Untuk lebih jelas, berikut perbedaan dari GenAI dan juga Traditional AI</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ri_ukaEjnMh-Vzko.jpeg" /><figcaption>Source: TinyTechGuides — Traditional vs Generative AI</figcaption></figure><p>Sebenarnya GenAI ini memiliki kekuatan yang sangat signifikan dan potensial, sampai dapat menciptakan kekuatan ekonomi baru bagi suatu negara. Bahkan, menurut bloomberg, diproyeksikan bahwa total perputaran uang dari pemanfaatan GenAI ini diproyeksikan sebesar 1,3 triliun USD di tahun 2032 🤑. Ya, kira-kira setara lah dengan GDP Indonesia di tahun ini 💹.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sF_RDy0Hu9gmoJtT.png" /><figcaption>Source: Bloomberg Intelligence</figcaption></figure><p>Namun, dengan kemampuan Generative AI yang se-powerful itu 💪, apakah GenAI cocok digunakan untuk segala macam kasus???</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GBIk_pZVokQ3-IvC.png" /><figcaption>Source: Gartner Data &amp; Analytics Summit Conference (2024), How to Make Your Data AI-Ready and Why It Matters.</figcaption></figure><p>Tentu tidak yaa 🙂‍↔️, pada dasarnya GenAI sangat cocok digunakan untuk content generation, membuat chatbot, dan membuat knowledge discovery. GenAI sangat tidak cocok kalau dibuat untuk melakukan prediksi terhadap suatu kejadian, seperti prediksi harga suatu saham, prediksi cuaca, dll.</p><p>Sebenarnya GenAI sendiri juga punya kekurangan. Salah satunya, ketika Kita menggunakan model GenAI yang sifatnya general (seperti chatGPT, gemini, dll), dia cenderung bias jika membahas hal-hal yang lebih spesifik.</p><p>Seperti contoh, jika Kita bertanya kepada chatGPT terkait laporan keuangan Apple, dia tidak bisa menjawab sesuai dengan dokumen yang Kita rujuk (seperti contoh laporan 10K).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7iK5LGEqsvqXUGJuRj7I2Q.png" /></figure><p>Hmm, apa benar inventories Apple Inc 2023 sebesar $4.539 juta?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OeXYL27p1FQEIDZXip1Xvw.png" /></figure><p>Setelah Kita cek laporan keuangannya ternyata tidak ya, beda jauhh. chatGPT ternyata masih belum mampu menjawab hal-hal yang sifatnya spesifik, ntah karena sifatnya yang bias atau memang lack of information. Oleh karena itu, Kita membutuhkan Agent untuk membantu menyelesaikan masalah ini.</p><h3>Agents</h3><p>Agents dalam konteks di GenAI sederhananya adalah sebuah sistem yang dapat membuat keputusan secara mandiri berdasarkan input yang diterimanya. Agen ini kalau mau yang simple bisa berupa chatbot, atau kalau mau yang lebih kompleks ada namanya autonomous agent. Kalau autonomous agent, Kita bisa mengautomasikan beberapa task berdasarkan input yang Kita berikan.</p><p>Banyak perusahaan yang sudah memanfaatkan agen AI untuk meningkatkan efisiensi dan pelayanan. Misalnya, perusahaan e-commerce menggunakan agents untuk memberikan <a href="https://medium.com/datadriveninvestor/utilizing-aws-bedrock-agent-with-aws-personalize-for-enhanced-product-recommendations-2d1763bcba5f">rekomendasi produk </a>secara real-time berdasarkan aktivitas yang dilakukan di aplikasi, atau perusahaan perbankan mereka biasa menggunakan <a href="https://bri.co.id/sabrina">chatbot</a> untuk melayani nasabah selama 24 jam tanpa henti atau bahkan bisa sebagai knowledge discovery untuk karyawan-karyawannya.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8TX0zZgIHpE4s5vr.jpeg" /><figcaption>Example of how agent works, Source: <a href="https://medium.com/@cpdough/building-ai-agents-lessons-learned-over-the-past-year-41dc4725d8e5">https://medium.com/@cpdough/building-ai-agents-lessons-learned-over-the-past-year-41dc4725d8e5</a></figcaption></figure><h3>Membuat Agent Chatbot dengan Vertex AI</h3><p>Kali ini Kita akan mencoba bagaimana membuat simple agents dengan bantuan <a href="https://cloud.google.com/vertex-ai?hl=id">Vertex AI</a>.</p><p>Tapi sebelum itu, kenapa Aku malah memilih Vertex AI? (Tentunya bukan karena dibayar sama google yak ehe👉👈)</p><p>Vertex AI sendiri merupakan tools low-code/no-code pengembangan AI yang digunakan untuk membuat sistem GenAI. Sebenarnya selain Vertex AI ada juga tools lain, seperti <a href="https://aws.amazon.com/id/bedrock/?gclid=Cj0KCQjwrKu2BhDkARIsAD7GBosriF2BiFdCVImJCJdGSeIHSo1BYw6VN-1kViXt9YYtirTtgL6S2xUaAutHEALw_wcB&amp;trk=1325fdf1-f38b-4c89-8bf9-dc39eeb87ff8&amp;sc_channel=ps&amp;ef_id=Cj0KCQjwrKu2BhDkARIsAD7GBosriF2BiFdCVImJCJdGSeIHSo1BYw6VN-1kViXt9YYtirTtgL6S2xUaAutHEALw_wcB:G:s&amp;s_kwcid=AL!4422!3!692062112141!e!!g!!amazon%20bedrock!21054970946!157173566817">Amazon Bedrock</a> dan <a href="https://azure.microsoft.com/id-id/products/ai-services/ai-search/?ef_id=_k_Cj0KCQjwrKu2BhDkARIsAD7GBovIf8YT66ocwrIAt84LHY77A0L7jZfIe2XbFtnxbW8p47Db22K_OMAaAvlJEALw_wcB_k_&amp;OCID=AIDcmm1sijfihg_SEM__k_Cj0KCQjwrKu2BhDkARIsAD7GBovIf8YT66ocwrIAt84LHY77A0L7jZfIe2XbFtnxbW8p47Db22K_OMAaAvlJEALw_wcB_k_&amp;gad_source=1&amp;gclid=Cj0KCQjwrKu2BhDkARIsAD7GBovIf8YT66ocwrIAt84LHY77A0L7jZfIe2XbFtnxbW8p47Db22K_OMAaAvlJEALw_wcB">Microsoft Azure Cognitive Services</a>. Akan tetapi, ada beberapa kelebihan serta fitur yang dapat Kita manfaatkan di Vertex AI.</p><p>Karena Vertex AI menggunakan model Gemini, jumlah token yang dapat diinput sangat banyak, bahkan kabarnya akan sampai 2 juta token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8RpHdW2rsHuhjOLHbMurig.png" /><figcaption>Source: <a href="https://blog.google/technology/ai/google-gemini-next-generation-model-february-2024/">https://blog.google/technology/ai/google-gemini-next-generation-model-february-2024/</a></figcaption></figure><p>Selain itu juga, di Gemini terdapat fitur Multimodal, sehingga Kita tidak hanya bisa memproses input/output berupa teks saja, namun bisa juga berupa audio 📢, video 📽️, code 👨‍💻, dan lain-lain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r5FP4qGXyIlkPl-X" /></figure><p>Nah, kali ini Kita akan mencoba membuat agents berupa chatbot untuk menjawab pertanyaan user terkait <a href="https://s2.q4cdn.com/470004039/files/doc_earnings/2023/q4/filing/_10-K-Q4-2023-As-Filed.pdf">laporan keuangan Apple di tahun 2023</a>.</p><p>Pertama, Kita masuk ke <a href="https://console.cloud.google.com/">cloud console</a>, lalu buat new project terlebih dahulu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*16ehUM_rqgnUUoTVWMGFOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JbOhwszp9tx5PmVmaGYRig.png" /></figure><p>Kemudian, masuk ke “Vertex AI Agent Builder” dengan menggunakan tab pencarian. Setelah itu, silahkan klik “Continue and Activate the API”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*gtpELD0FANJhBfQh.png" /></figure><p>Silahkan pilih agent. Perlu diingat bahwa pilihan agent bisa dikatakan masih dalam fase “preview” dari google, sehingga ada alternatif lain seperti chat jika Kita ingin membuat chatbot tersebut.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7LnuuqAISGErwOQy.png" /></figure><p>Kemudian, silahkan isi goals dan instructions yang diinginkan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2FD9kukLQaHqZvIrYvI1w.png" /></figure><p>Setelah itu, scroll kebawah dan klik datastore untuk menambahkan dokumen yang Kita inginkan melalui “Create a data store”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lMPA1KDO_Bl_qOuPMG6RJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_B_JQYx_4-WHgtXTKEr8ow.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wr_Hr8p9mjx4q1DzJaYwrQ.png" /></figure><p>Nah, setelah itu Kita akan dihadapkan ke beberapa pilihan data store, seperti website content, cloud storage dan API. Supaya lebih simple, Kita pilih saja cloud storage dan Kita perlu membuat bucket untuk menyimpan file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HMleQPECsdbwM1HXIT3RXA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*wy5ivJtbo9PhTO4di3-R2w.png" /></figure><p>Kalau sudah, masuk ke console lagi untuk membuka bagian bucket. Disini Kita akan mengisi bucket data-data yang diperlukan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mh5jCIqsJNKq2sHHM36FmQ.png" /></figure><p>Jika sudah, balik lagi ke agent dan klik file/folder yang diperlukan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7fuPZ0bnR0toDoLZy6JBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SafrvD_peL3zEfIgfR5a-w.png" /></figure><p>Setelah itu, Kita bisa melakukan pengetesan pada chatbot yang telah dibuat. Disini Kita coba menanyakan hal yang sama</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_c1wOgrZyT0HFW-jd0dh1g.png" /></figure><p>Dengan begitu, Kita telah selesai membuat chatbot dengan menggunakan vertex AI 🥳.</p><p>Tentunya project ini masih sangat simple, karena Kita hanya memberikan knowledge spesifik untuk chatbot agar dapat menjawab sesuai dengan informasi yang tersedia. Untuk kedepannya, teman-teman bisa melakukan fine-tuning, seperti memberikan sentiment, menambahkan contoh jawaban, dan lain-lain.</p><p>Kita juga bisa melakukan optimasi atas aplikasi chatbot Kita dengan menggunakan <a href="https://aws.amazon.com/what-is/retrieval-augmented-generation/">RAG (Retrieval-Augmented Generation)</a>. Saat ini, ada banyak sekali teknik-teknik RAG yang dapat digunakan. Mungkin bakal Kita coba di next pembahasan ദ്ദി(˵ •̀ ᴗ — ˵ ) ✧.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qjaOJliOSaJfOnnOjqHyjQ.png" /><figcaption>Simple schema of RAG, source: <a href="https://towardsdatascience.com/retrieval-augmented-generation-rag-from-theory-to-langchain-implementation-4e9bd5f6a4f2">https://towardsdatascience.com/retrieval-augmented-generation-rag-from-theory-to-langchain-implementation-4e9bd5f6a4f2</a></figcaption></figure><p>Thankyou untuk yang sudah membaca sampai akhir. Jika teman-teman semua punya pertanyaan atau saran, silakan tulis di kolom komentar. Jika merasa artikel ini menarik, jangan lupa untuk memberi tepuk tangan ^-^. Babaii!!</p><blockquote>Semua yang Saya tulis disini merupakan opini pribadi dan tidak ada kaitannya dengan kepentingan perusahaan tempat Saya bekerja.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7ed2eebfbed" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>