[PaperReading] ToolDec: Using Finite-State-Machine to Eliminate Hallucinations in LLM Decoding
Published:
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.
