<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://socralee.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://socralee.github.io/" rel="alternate" type="text/html" /><updated>2026-10-13T13:26:01-07:00</updated><id>https://socralee.github.io/feed.xml</id><title type="html">Yongkang Li</title><subtitle>Yongkang Li&apos;s personal academic homepage. PhD student at University of Washington working on deep learning for science discovery.</subtitle><author><name>Yongkang Li</name><email>yongkang@uw.edu</email></author><entry><title type="html">[PaperReading] ToolDec: Using Finite-State-Machine to Eliminate Hallucinations in LLM Decoding</title><link href="https://socralee.github.io/posts/2023/10/blog-post-1/" rel="alternate" type="text/html" title="[PaperReading] ToolDec: Using Finite-State-Machine to Eliminate Hallucinations in LLM Decoding" /><published>2023-12-06T00:00:00-08:00</published><updated>2023-12-06T00:00:00-08:00</updated><id>https://socralee.github.io/posts/2023/10/future-post</id><content type="html" xml:base="https://socralee.github.io/posts/2023/10/blog-post-1/"><![CDATA[<p>Using FSM to enhance tool-augmented LLM.</p>
<h3 id="key-intuition-and-motivation">Key intuition and motivation:</h3>
<p>the generation of api calls can be explicitly represented using states. By eliminating tokens outside the predefined states vocabulary, we can greatly reduce hallucinations.
Core contribution: beyond a extensible method in augmented LLM, it provides a general method of incorporating domain-knowledge to eliminate hallucinations.</p>

<h3 id="future-direction">Future direction:</h3>
<p>In LLM applications (in augmented LLM or biomedical), a core problem is how to incorporate prior knowledge with LLM to avoid mistakes and hallucinations. FSM is good for tool usage, but not transferable for other domains such as biomedical.
Following this research line, the next step could be developing a general method that use prior knowledge to find a high-quality reliable subset of tokens which eliminate hallucinations as much as possible.</p>

<p>For example, use “phrase” (in tool usage, api name is a phrase, in API decode, api name and parameter type are somehow “phrase”) to eliminate hallucinations.</p>

<p>Paper link: <a href="https://arxiv.org/abs/2310.07075">ToolDec</a></p>]]></content><author><name>Yongkang Li</name><email>yongkang@uw.edu</email></author><category term="NLP" /><category term="LLM" /><summary type="html"><![CDATA[Using FSM to enhance tool-augmented LLM. Key intuition and motivation: the generation of api calls can be explicitly represented using states. By eliminating tokens outside the predefined states vocabulary, we can greatly reduce hallucinations. Core contribution: beyond a extensible method in augmented LLM, it provides a general method of incorporating domain-knowledge to eliminate hallucinations.]]></summary></entry><entry><title type="html">[PaperReading] BioMANIA: a Pipeline for Bioinformatics</title><link href="https://socralee.github.io/posts/2023/12/blog-post-1/" rel="alternate" type="text/html" title="[PaperReading] BioMANIA: a Pipeline for Bioinformatics" /><published>2023-10-14T00:00:00-07:00</published><updated>2023-10-14T00:00:00-07:00</updated><id>https://socralee.github.io/posts/2023/12/blog-post</id><content type="html" xml:base="https://socralee.github.io/posts/2023/12/blog-post-1/"><![CDATA[<p>Using LLM to properly choose and precisely use biomedical apis.</p>
<h3 id="brief-summary">Brief Summary</h3>
<p>This paper provide a pipeline for choosing and using biomedical functions/apis. The pipeline combines</p>
<ul>
  <li>a BERT-based API retriever. It will take a task instruction and return a short list of API candidates.</li>
  <li>a GPT-4-based API predictor. It will (with in-context learning) choose the most relevant API.</li>
  <li>a GPT-4-based generation pipeline of api calling that takes several steps to give the final script and show the result.</li>
</ul>

<h2 id="limitation">Limitation</h2>
<p>The backend of API calling (and prediction) is completely gpt4-based, which leads to unavoidable hallucination and limits the performance this work can possibly attain.</p>

<p>One possible direction is to finetune the backend of the API calling.</p>

<p>Paper link:<a href="https://www.biorxiv.org/content/10.1101/2023.10.29.564479v1.full#ref-35">BioMANIA</a></p>]]></content><author><name>Yongkang Li</name><email>yongkang@uw.edu</email></author><category term="NLP" /><category term="LLM" /><summary type="html"><![CDATA[Using LLM to properly choose and precisely use biomedical apis. Brief Summary This paper provide a pipeline for choosing and using biomedical functions/apis. The pipeline combines a BERT-based API retriever. It will take a task instruction and return a short list of API candidates. a GPT-4-based API predictor. It will (with in-context learning) choose the most relevant API. a GPT-4-based generation pipeline of api calling that takes several steps to give the final script and show the result.]]></summary></entry></feed>