每日练习与编程练习

← 返回日报
任务 第一则

推理早停预算分配

任务 93/100

你负责一个面向复杂数学练习和深度研究任务的 LLM 在线推理服务。模型常出现两类情况:一类在前几千 token 内逐步收敛到正确答案,另一类会陷入反复推理、改写、循环验证,直到 32K token 预算耗尽仍不收敛。业务要求在正确率下降不超过 1% 的前提下,将平均生成 token 降低 35%,同时 p95 延迟不超过 8 秒;线上只能看到当前已生成前缀、token logprob、attention/hidden 统计、重复率、工具/验证器调用结果等流式特征,不能提前知道最终答案。 请设计一个“早期不收敛检测 + 动态 token 预算分配”方法:包括离线训练数据如何构造、在线决策如何做、如何处理误杀正确推理的风险、复杂度如何分析,以及如何在工程上保证上线后的稳定性和可观测性。

参考回答

我会把任务建模成带成本约束的在线最优停止任务,而不是简单二分类。目标函数可以写成最大化期望效用:E[Correct] - λ * E[GeneratedTokens] - μ * SLA_penalty,其中 λ 控制 token 成本,μ 控制延迟约束。在线动作至少包括 continue、stop、restart、escalate-to-stronger-model、summarize-and-continue。

离线阶段先收集历史完整推理轨迹。每条样本包含 prompt、每个 checkpoint 的前缀特征、最终是否正确、是否耗尽预算、最终 token 数、验证器打分等。checkpoint 不必每 token 取一次,可以按 128/256 token stride 或指数间隔采样。对每个前缀构造标签:1)当前停止是否能给出正确答案;2)继续到预算上限的成功概率;3)未来再生成 Δ token 的边际收益;4)是否属于非收敛轨迹,例如长循环、高困惑度震荡、答案反复翻转、验证器持续不通过。训练时不只训练一个分类器,而是训练校准后的风险模型:p_stop_correct(s_t)、p_eventual_success(s_t, b)、p_non_converge(s_t)、E[Δsuccess | Δtokens]。模型可以是轻量 GBDT/MLP,输入包括 token 数、剩余预算、熵均值/方差、top-k margin、重复 ngram 比例、语义相似度震荡、验证器分数趋势、答案候选稳定性、工具调用失败率等。输出必须做 isotonic/temperature calibration,并按任务类型、长度桶、模型版本分桶校准。

在线阶段在每个 checkpoint 做决策。给定状态 s_t 和剩余预算 b,估计几个动作的 Q 值: Q_stop = V * p_stop_correct(s_t) Q_continue(Δ) = V * p_eventual_success(s_t, b-Δ) - λΔ - μ latency_risk Q_restart = V * p_success_restart - λ * restart_cost Q_escalate = V * p_success_large_model - λ_large * cost - μ latency_risk 如果 Q_stop 最大且置信度超过阈值,就停止;如果 p_non_converge 高、边际收益 E[Δsuccess | Δtokens] 低于成本阈值,就早停或重启;如果当前练习难但仍有收益,则继续。阈值不能固定死,可以通过满足“正确率下降不超过 1%”的约束优化得到,例如在验证集上选择最激进但满足 recall of correct-trajectories ≥ 99% 的阈值。

多请求并发时可以做动态预算分配。每个请求在 checkpoint 上报“下一个 token block 的边际收益密度”:gain_i / cost_i。调度器在 GPU token budget 和 p95 latency 约束下,优先给边际收益高的请求分配下一个 block,边际收益低且非收敛概率高的请求进入 stop/restart/escalate 分支。这近似一个在线 knapsack。实现上用优先队列维护请求,复杂度 O(N log N) 每轮调度。

复杂度方面,若最大预算 B、checkpoint 间隔 S、特征维度 d,则单请求检测开销约 O((B/S) * d),远小于解码 O(B * model_cost)。如果加验证器,验证器不应每步跑,可以只在候选答案变化、循环风险升高或关键里程碑时调用。批量调度复杂度约 O(R log R),R 是活跃请求数。整体目标是让检测开销小于节省 token 成本的 5%。

风险控制上,最重要的是避免误杀正在收敛的长推理。做法包括:1)上线初期 shadow mode,只记录不干预;2)使用保守阈值,优先截断明显循环和验证器连续失败样本;3)对高价值请求使用 stop 后强验证,验证不过则继续或升级;4)对长练习、低资源语言、新练习型单独校准;5)监控 early-stop 后的用户改问率、人工评测正确率、token 节省率、p95 延迟、非收敛召回率、误停率。遇到数据漂移时,通过 PSI/KL 检测特征分布变化,自动回退到保守策略。

工程落地还要注意在线/离线一致性。离线训练不能用未来 token 特征;日志要精确记录 checkpoint 状态和动作;模型版本、prompt 模板、采样参数变化都要作为特征或分桶;KV cache 在 stop/restart/escalate 时要有清理策略;批量解码中请求提前停止后要做 batch compaction,避免 GPU 空洞。最终系统不是“看到像循环就停”的规则,而是一个经过校准的价值决策器,在正确率约束下最小化 token 和延迟成本。

回答分析

强候选人应该先把任务抽象成在线最优停止或受约束决策任务,而不是直接说训练一个分类器。优秀回答会覆盖:离线轨迹切片、前缀标签构造、风险校准、在线 Q 值或边际收益决策、并发预算分配、复杂度分析、误停风险和灰度上线。常见错误包括:只用最终正确/错误训练二分类,忽略继续生成的边际收益;只讲模型指标,不讲 SLA 和 token 成本;没有处理长推理被误杀;使用未来信息导致离线评估虚高;忽略模型版本变化和分布漂移。出练习者会重点追问阈值如何选、如何证明正确率下降不超过 1%、验证器成本如何控制,以及在线批量解码时如何避免调度策略反而降低吞吐。

评分
93/100
任务定义 20/20正确性 24/25复杂度 18/20工程取舍 19/20表达 12/15
追问
  • 如果没有最终答案标签,只有用户满意度和重试行为,如何训练这个策略?
  • 如果模型升级后前缀特征分布明显变化,如何快速重新校准?
  • 在多租户场景下,不同业务有不同正确率和延迟 SLA,预算分配如何改?
类比
像考试时判断一道难练习是继续推还是先跳过,但判断标准不是感觉,而是收益、时间和正确率风险的实时估计。
编程练习 第二则

二叉树中所有距离为 K 的结点

任务 95/100

给定一个二叉树(具有根结点 `root`), 一个目标结点 `target` ,和一个整数值 `k` ,返回到目标结点 `target` 距离为 `k` 的所有结点的值的数组。

答案可以以 任何顺序 返回。

示例 1:

输入:root = [3,5,1,6,2,0,8,null,null,7,4], target = 5, k = 2 输出:[7,4,1] 解释:所求结点为与目标结点(值为 5)距离为 2 的结点,值分别为 7,4,以及 1

示例 2:

输入: root = [1], target = 1, k = 3 输出: []

提示:

  • 节点数在 `[1, 500]` 范围内
  • `0 不同
  • 目标结点 `target` 是树上的结点。
  • `0
参考解法

参考解法使用“建父指针 + 从 target 开始 BFS”。二叉树本身只能从父到子走,但距离可以向上经过父结点,所以先用 DFS/BFS 记录每个结点的父结点,再把整棵树看成无向图,从 target 做层序遍历,走到第 k 层时收集答案。

python
from collections import deque
from typing import Optional, List, Dict, Set


class TreeNode:
    def __init__(self, val: int = 0,
                 left: Optional["TreeNode"] = None,
                 right: Optional["TreeNode"] = None):
        self.val = val
        self.left = left
        self.right = right


class Solution:
    def distanceK(self, root: TreeNode, target: TreeNode, k: int) -> List[int]:
        # 1. 建立每个结点到父结点的映射
        parent: Dict[TreeNode, Optional[TreeNode]] = {root: None}

        def dfs(node: Optional[TreeNode]) -> None:
            if not node:
                return
            if node.left:
                parent[node.left] = node
                dfs(node.left)
            if node.right:
                parent[node.right] = node
                dfs(node.right)

        dfs(root)

        # 2. 从 target 开始 BFS,把 left、right、parent 都看作相邻结点
        ans: List[int] = []
        queue = deque([(target, 0)])
        visited: Set[TreeNode] = {target}

        while queue:
            node, dist = queue.popleft()

            if dist == k:
                ans.append(node.val)
                # 已经到达距离 k,不能继续向外扩展,否则会超过 k
                continue

            for nxt in (node.left, node.right, parent.get(node)):
                if nxt is not None and nxt not in visited:
                    visited.add(nxt)
                    queue.append((nxt, dist + 1))

        return ans
解练习分析

关键思想:二叉树中从 target 到某个结点的路径可能向下走到子树,也可能先向上走到祖先再转向其他分支,因此不能只在 target 的左右子树里找。最直观、最适合现场的做法是先遍历整棵树记录 parent 指针,再把二叉树视为无向图,从 target 开始 BFS,距离每增加 1 就扩展一层,遇到 dist == k 的结点就加入答案。复杂度:建父指针遍历一次 O(n),BFS 最多访问每个结点一次 O(n),总时间 O(n);parent、visited、queue 都最多存 O(n) 个结点,总空间 O(n)。边界条件:k = 0 时应返回 [target.val];单结点树且 k > 0 返回 [];k 大于树高或树的最大距离时返回 [];target 可能是 root,此时 parent[root] 为 None,遍历时要跳过 None。易错点:一是忘记建立父指针,导致无法向上搜索;二是没有 visited,导致在 node 和 parent 之间来回走形成死循环;三是到达 dist == k 后还继续扩展,虽然 visited 可能防止死循环,但会产生无意义遍历甚至影响逻辑;四是用结点值代替结点对象作为 visited 或 parent 的 key,虽然本练习值唯一可以通过,但考察中更推荐基于结点对象,表达的是图上的真实结点。出练习者可能追问:能否不用额外父指针、只通过递归回溯完成;如果树中结点值不唯一该怎么办;如果要多次查询不同 target 和 k,应该如何预处理。

评分
95/100
思路 25/25正确性 25/25复杂度 20/20工程性 15/15表达 10/15
追问
  • 如果不允许修改 TreeNode,为什么仍然可以记录父指针
  • 如果需要支持多次 distanceK 查询,如何优化
  • 能否用一次 DFS 回溯在不建无向图的情况下求解
类比
就像在家族关系网里找离某个人隔 k 层关系的所有人,既要能找子女,也要能找父母和兄弟分支。

往期记录 139 条记录

2026年07月25日流式同传轨迹调度interviewStreamingMonotonicAlignmentLatencyControl
2026年07月25日分割回文串codepalindromebacktrackingdynamicprogramming
2026年07月24日最大节点价值之和codeGreedyBitManipulationTree
2026年07月23日长音视频工具调度interviewTool RoutingDAG SchedulingSubmodular Maximization
2026年07月20日流式多模态记忆检索interviewStreaming MemoryMultimodal RetrievalTemporal Indexing
2026年07月20日T 秒后青蛙的位置codeTreeDFSProbability
2026年07月20日约束预算模型路由interviewModel RoutingConstrained OptimizationContextual Bandit
2026年07月20日匹配模式数组的子数组数目 IIcodeArrayKMPStringMatching
2026年07月20日受限显存解码调度interviewLLMCompilerKVCacheScheduling
2026年07月20日填充每个节点的下一个右侧节点指针 IIcodeTreeBFSLinkedList
2026年07月02日变分信息瓶颈Information BottleneckVariational BoundRate-Distortion
2026年07月01日CTC序列对齐方法CTCForward-Backward MethodBlank Token
2026年07月01日故障流行病学Core DumpStatistical DebuggingFault Localization
2026年06月30日哈希嵌入压缩Hash EmbeddingFeature HashingEmbedding Compression
2026年06月29日一致性蒸馏Consistency ModelsProgressive DistillationODE Trajectory
2026年06月29日原生推理引擎Native RuntimeggmlInference Engine
2026年06月28日无分类器引导Classifier-Free GuidanceGuidance ScaleScore Interpolation
2026年06月25日MVDR波束成形MVDR BeamformingSpatial FilteringCovariance Estimation
2026年06月24日神经缩放定律Scaling LawsCompute-Optimal TrainingPower Law
2026年06月23日最小贝叶斯风险解码Minimum Bayes RiskDecision TheoryHypothesis Selection
2026年06月23日PID控制与生成调控PID ControllerFeedback ControlClosed-loop Generation
2026年06月22日生成模型评估度量Frechet Inception DistanceGenerative EvaluationFeature Statistics
2026年06月21日浮点量化收缩偏差FP4 TrainingShrinkage BiasLow-Precision Arithmetic
2026年06月21日模型上线仿真Deployment SimulationShadow TestingOffline Evaluation
2026年06月20日现代联想记忆Hopfield NetworkAssociative MemoryEnergy-Based Model
2026年06月19日离散扩散语言模型Discrete DiffusionAbsorbing StateConcrete Score
2026年06月18日循环变换器架构Looped TransformerWeight TyingAdaptive Computation
2026年06月17日韵律建模演进Prosody PredictionF0 ModelingDuration Prediction
2026年06月16日说话人日志Speaker DiarizationSpeaker EmbeddingEEND
2026年06月15日偏好对齐优化Preference OptimizationDPOReward Modeling
2026年06月14日多令牌并行预测Multi-Token PredictionSpeculative DecodingParallel Decoding
2026年06月13日流匹配生成模型Flow MatchingRectified FlowOptimal Transport Path
2026年06月13日实时管线延迟预算Latency BudgetPipeline OrchestrationTime-to-First-Token
2026年06月12日MoE路由机制Mixture of ExpertsSparse GatingRouter Design
2026年06月11日连续自回归生成Continuous AutoregressiveLatent PredictionAudioVAE
2026年06月10日KV缓存压缩KV Cache CompressionToken EvictionAttention Sparsity
2026年06月09日浏览器端模型推理WebGPUBrowser InferenceClient-side ML
2026年06月02日残差向量量化Residual Vector QuantizationAudio TokenizationNeural Codec
2026年05月31日彩色噪声扩散采样Colored NoiseSpectral BiasSDE Solver
2026年05月31日算子融合编译原理Kernel FusionOperator Fusiontorch.compile
2026年05月20日AI生成内容溯源 (7 chars) ✓Content ProvenanceC2PASynthID
2026年05月19日推理委托设计模式 (8 chars) ✓ Let me now write the full content for both topics. Actually, I realize I should double-check: is "Runtime Abstraction" or "Delegate Pattern" too close to any covered keyword? Looking at the list: Cluster Scheduling, Co-design, Collective Communication, Computational Expressiveness, CUTLASS... No, none of these overlap. OK, let me finalize and write everything out. Let me reconsider the engineering topic one more time. The title "推理委托设计模式" is good but maybe I should make it even more specific and interesting. What about focusing on the "graph partitioning" aspect - how ML runtimes decide which operations to delegate to which backend? This is a more specific and technically interesting angle. No, I think the broader "delegate pattern" is better because it covers the full picture and is more useful to the reader. Let me write it all out now. For the engineering topic, let me think about the history: - Early days: frameworks were monolithic (Caffe, early TensorFlow) - TensorRT (2017): NVIDIA's specialized inference engine, initially standalone - ONNX Runtime (2019): Microsoft introduced "Execution Providers" - the first major delegate-like abstraction - TFLite delegates (2018-2019): TensorFlow Lite introduced delegate API for GPU, NNAPI, etc. - ExecuTorch (2023-2024): PyTorch's answer to edge inference with a clean delegate API - 2025-2026: MLX delegate, Qualcomm AI Engine Direct delegate, etc. This is a rich history. Let me write it up. Actually, I want to make sure I have the dates right: - TensorRT was first released around 2016-2017 - ONNX was announced in 2017 - ONNX Runtime was open-sourced in 2018-2019 - TFLite was released in 2017, delegates came later - ExecuTorch was announced at PyTorch Conference 2023 OK, let me write everything now. I'll be thorough. One more thought: for the MATH section of the engineering topic, I could discuss the graph partitioning problem formally, or I could discuss the cost model for deciding whether to delegate. Let me think... The graph partitioning for delegation can be formalized as: - Given a computation graph $G = (V, E)$ where $V$ is the set of operations and $E$ is data dependencies - And a set of delegates $D = \{d_1, ..., d_m\}$ where each delegate supports a subset of operations $S_i \subseteq V$ - Find a partition $P = \{P_0, P_1, ..., P_m\}$ (where $P_0$ is the fallback/CPU partition) that minimizes total execution time - Subject to: each $
2026年05月17日连续批处理异步化
2026年05月10日连续潜在扩散语言模型Continuous Latent DiffusionNon-autoregressive LMDiffusion Language Model
2026年05月10日零样本跨语言语音克隆Zero-shot Voice CloningCross-lingual TTSIPA Phoneme Representation
2026年05月09日最优传输音频距离Optimal TransportFréchet Audio DistanceRiemannian Metric
2026年05月09日推荐系统推理核内广播优化Intra-kernel BroadcastEmbedding TableRecommendation Inference
2026年05月08日扩散Transformer异常值令牌Outlier TokensDiffusion TransformerAttention Sink
2026年05月08日WebRTC低延迟语音工程WebRTCReal-time AudioJitter Buffer
2026年05月07日音素级深度伪造检测原理Phoneme-level Deepfake DetectionSelf-supervised Speech EmbeddingEmotional Speech Synthesis
2026年05月07日AI训练网络协议工程哲学Multi-path Reliable ConnectionRDMA over EthernetCollective Communication
2026年05月05日对抗解纠缠说话人验证Speaker DisentanglementAdversarial TrainingCross-lingual Verification
2026年05月05日LLM推理为何用语言Chain-of-ThoughtLatent ReasoningToken Space
2026年05月01日跨架构知识蒸馏原理Cross-Architecture DistillationDiffusion LMAutoregressive Teacher
2026年05月01日AI评估计算瓶颈工程LLM Evaluation InfrastructureBenchmark SaturationEval Compute Bottleneck
2026年04月29日平衡传输语音增强Schrödinger BridgeStochastic Differential EquationSpeech Enhancement
2026年04月29日深度学习理论形成Deep Learning TheoryLoss LandscapeNeural Tangent Kernel
2026年04月28日语义进度函数原理Semantic Progress FunctionDiffusion TrajectoryNonlinear Denoising
2026年04月28日大模型OCR选型认知OCR BenchmarkModel Selection BiasCost-Performance Tradeoff
2026年04月27日说话人验证核心原理Speaker Verificationd-vectorECAPA-TDNN
2026年04月27日GPU核函数语言选型GPU Kernel EngineeringCuTe DSLCUTLASS
2026年04月26日时长控制TTS原理Duration ModelingProsody ControlAutoregressive TTS
2026年04月26日AI研究价值评估困境Research EvaluationPublication BiasPeer Review
2026年04月25日全双工对话建模原理Full-Duplex DialogueTurn-TakingVoice Activity Detection
2026年04月25日流式TTS文本规范化Text NormalizationStreaming TTSInverse Text Normalization
2026年04月24日离散扩散语言模型原理Discrete DiffusionMasked Diffusion Language ModelAbsorbing Diffusion
2026年04月24日跟进ML研究的认知工程Information OverloadResearch TriageSpaced Repetition
2026年04月23日一致性正则化ASR原理Consistency RegularizationUnified ASRTransducer
2026年04月23日流式TTS文本规范化工程Text NormalizationStreaming TTSInverse Text Normalization
2026年04月22日神经编码器伪影检测Neural Audio CodecArtifact DetectionForensic Residual
2026年04月22日AI研究复现危机工程Reproducibility CrisisML EngineeringExperimental Rigor
2026年04月21日扩散SNR偏差校正原理Signal-to-Noise RatioDiffusion Timestep BiasScore Matching
2026年04月21日论文复现危机根治工程Reproducibility CrisisAblation StudyExperimental Rigor
2026年04月20日音频时序定位原理Temporal GroundingAudio Event DetectionCross-modal Alignment
2026年04月20日论文复现危机根因Reproducibility CrisisBenchmark OverfittingEvaluation Validity
2026年04月19日流匹配对齐原理Flow Matching AlignmentReward Gradient BackpropagationTrajectory Optimization
2026年04月19日分布式训练任务编排Distributed Training OrchestrationCluster SchedulingFault Tolerance
2026年04月18日最优传输信号融合Optimal TransportWasserstein BarycenterTime-Frequency Resolution
2026年04月18日分布式训练任务调度Distributed Training OrchestrationJob SchedulingCluster Resource Management
2026年04月17日扩散语音识别原理Masked Diffusion Language ModelDiscrete DiffusionASR Decoding
2026年04月17日Mel尺度跨文化偏差Mel ScalePsychoacousticsCultural Bias
2026年04月16日音频水印对抗原理Audio WatermarkingSemi-FragilePsychoacoustic Masking
2026年04月16日推测解码草稿树工程Speculative DecodingDraft TreeBlock Diffusion
2026年04月15日对抗流模型原理Continuous Normalizing FlowAdversarial TrainingFlow Matching
2026年04月15日代理状态可观测性工程Agent ObservabilityDistributed TracingState Machine Debugging
2026年04月14日过程奖励模型原理Process Reward ModelStep-level SupervisionReasoning Chain
2026年04月13日离散令牌音源分离Discrete Token ModelingSource SeparationConditional Generation
2026年04月13日超算API工程哲学Distributed Training OrchestrationSupercomputer API DesignFault Tolerance
2026年04月12日信息瓶颈原理演进Information BottleneckVariational IBDisentanglement
2026年04月12日Safetensors格式工程哲学SafetensorsModel SerializationMemory-Mapped IO
2026年04月11日归一化层演进原理Layer NormalizationRMS NormalizationBatch Normalization
2026年04月11日GEMM自调优后端工程GEMM AutotuningTorchInductorCuteDSL
2026年04月10日多令牌预测原理Multi-Token PredictionSpeculative DecodingMedusa Heads
2026年04月10日ML从业者认知校准Calibration BiasCapability IllusionBenchmark Overfitting
2026年04月09日编码器-解码器LM原理Encoder-Decoder LMCross-Attention ConditioningSequence-to-Sequence
2026年04月09日torch.compile归一化优化torch.compileLayerNormRMSNorm
2026年04月08日KV缓存压缩原理KV Cache CompressionRoPE Position EncodingAttention Score Estimation
2026年04月08日音效基础模型工程Sound Effect GenerationFoundation ModelFoley Synthesis
2026年04月07日可验证奖励强化学习Verifiable RewardRLVRProcess Reward Model
2026年04月07日LLM技能退化认知机制Cognitive OffloadingSkill AtrophyDesirable Difficulty
2026年04月06日音素可解释说话人验证Phoneme-aware Speaker VerificationInterpretable BiometricsLocal Acoustic Evidence
2026年04月06日音频幻觉攻击评估Hallucination AttackAudio Language Model ReliabilityAdversarial Probing
2026年04月05日潜在空间推理原理Latent Space ReasoningContinuous RepresentationToken-Free Inference
2026年04月05日mRNA模型极低成本训练Biology Foundation ModelCross-Species TransferLow-Budget Training
2026年04月04日编码器-解码器TTS原理Encoder-Decoder TTSText ConditioningPositional Capacity
2026年04月04日大模型训练的MXFP8工程MXFP8MicroscalingMixed Precision Training
2026年04月03日在线知识蒸馏原理Online DistillationKnowledge TransferStudent-Teacher
2026年04月03日MoE专家并行调度工程Expert ParallelismMixture of ExpertsAll-to-All Communication
2026年04月02日波形潜空间扩散TTSwaveform latent diffusionnon-autoregressive TTSlatent space acoustic modeling
2026年04月02日波形隐空间扩散原理waveform latent spacediffusion TTSVAE audio codec
2026年04月02日LLM量化权重工程weight quantizationLLM compression4-bit quantization
2026年04月02日扩散语言模型离散生成Discrete DiffusionMasked Diffusion Language ModelNon-autoregressive TTS
2026年04月02日LLM后训练库工程演进RLHF engineeringPPO training stabilityreward hacking
2026年04月02日声学证据瓶颈原理Audio Evidence BottleneckAcoustic GroundingAudio Language Model
2026年04月02日状态空间模型音频建模State Space ModelMambaSelective Scan
2026年04月02日实时语音增强工程选型Real-time Speech EnhancementNoise SuppressionStreaming Inference
2026年04月02日对话上下文压缩原理Context CompressionAbstractive SummarizationCross-Attention Fusion
2026年04月02日说话人匿名化工程Speaker AnonymizationVoice ConversionStreaming Inference
2026年04月02日视听语音识别融合Audio-Visual Speech RecognitionLip ReadingViseme
2026年04月02日GPU训练吞吐加速工程MXFP8MoE TrainingExpert Parallelism
2026年04月01日熵驱动多样性生成diversity samplingtypicality biasrepulsion in latent space
2026年04月01日说话人分割工程选型speaker diarizationbenchmark methodologystreaming ASR pipeline
2026年03月31日转向检测联合建模turn-taking detectionvoice activity detectionjoint acoustic-linguistic modeling
2026年03月31日基准测试的系统性失效benchmark contaminationevaluation validityLLM judge reliability
2026年03月31日扩散模型声学生成diffusion modelscore matchingstochastic differential equation
2026年03月31日TTS开源生态竞争open-weight TTStime-to-first-audiomultilingual speech synthesis
2026年03月30日注意力机制变体演进Multi-Head AttentionGrouped Query AttentionMulti-head Latent Attention
2026年03月30日设备端语音推理架构on-device inferenceExecuTorchvoice agent pipeline
2026年03月29日混合自回归流匹配TTSautoregressive semantic tokensflow matching acoustic decoderhybrid TTS architecture
2026年03月29日NCCL超时诊断方法论NCCL watchdog timeoutdistributed training debuggingcollective communication
2026年03月29日混合架构音频表示Mambastate space modelaudio representation learning
2026年03月29日DeepSeek预训练加速工程MXFP8 trainingexpert parallelismMoE pretraining
2026年03月27日说话人验证度量学习speaker verificationmetric learningcurriculum learning
2026年03月27日MX浮点格式加速训练MXFP8microscalingmixed precision training
2026年03月26日TTS模型极限压缩model compressionknowledge distillationTTS on-device
2026年03月26日小模型极限压缩哲学model compressionknowledge distillationquantization
2026年03月25日流匹配生成原理flow matchingrectified flowODE
2026年03月25日神经音频编解码器neural audio codecresidual vector quantizationEnCodec
2026年03月25日推测解码加速推理speculative decodingdraft modeltoken verification