机器学习中的规则提取:聊天增量模式构造器
Interpretable Machine Learning: Can the EnglishLike Programming Language be the Future of ChatIPC and ChatIPCv2?
AI总结:
提出ChatIPC系统,通过增量学习从文本中提取有序令牌转换规则,利用定义扩展和相似度引导候选选择构建响应,实现可解释的规则提取。
摘要:
规则提取是可解释机器学习中的一个核心问题,因为它旨在将不透明的预测行为转换为人类可读的符号结构。本文提出了聊天增量模式构造器(ChatIPC),一个轻量级的增量符号学习系统,它从文本中提取有序的令牌转换规则,通过基于定义的扩展丰富这些规则,并通过相似度引导的候选选择构建响应。该系统可被视为在令牌图上运行的规则提取器,而非传统的分类器。我形式化了ChatIPC使用的知识库、定义扩展、候选评分、重复控制、英语规则启发式和响应构建机制。我还将该方法置于规则提取、决策树归纳、关联规则、可解释机器学习和序列构建的文献中。此外,详细回顾了更新后的实现:它解析嵌入式字典,标准化词汇键,缓存定义令牌和词性标签,在位集上计算Jaccard分数,应用启发式语言奖励,并使用带版本号的二进制格式持久化知识库。本文强调数学公式和算法清晰性,并为学习、评分和构建算法提供了伪代码。
英文摘要:
The development of interpretable machine learning requires more than the ability to produce predictions accompanied by explanations. It requires computational systems whose internal representations, decision procedures, constraints, and execution paths can be inspected, reproduced, and modified by humans. This paper investigates whether EnglishLike, an English-like, object-oriented programming language implemented in C++17, could provide the symbolic programming and execution foundation for the ChatIPC and its subsequent implementation, ChatIPCv2. The investigation is based on a comparative examination of the publicly available ChatIPC.cpp and ChatIPCv2.cpp implementations in the PCNTechnologyEnterprise Hugging Face repository, together with the EnglishLike 2.2 implementation available in the associated project materials. ChatIPC combines incrementally learned token-transition relationships with dictionary derived semantic information, part-of-speech information, Jaccard similarity, grammatical heuristics, repetition penalties, and deterministic candidate selection. ChatIPCv2 introduces a different generation strategy based on token identifiers, historical-context bitsets, multi-depth graph exploration, n-gram backoff, and parallel candidate evaluation. EnglishLike provides a complementary computational abstraction: a structured language for expressing declarations, functions, classes, interfaces, control flow, and executable rules. Its compiler, bytecode verifier, and virtual machine provide a potentially useful foundation for representing and executing symbolic reasoning procedures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。