每日基础课

← 返回日报
基础知识 第一则

张量、形状与维度:今天真正弄懂

先记住

一句话定义:张量是装数字的多维容器;形状是每个方向的长度清单;维度(轴)是它延伸的方向数量。 记忆口诀:“轴是方向形是长,括号几层即几维;批次打头特征尾,中间时序排成行。”

通俗讲解

【生活类比】 想象你在收纳音视频数据: - 0维(标量):单颗糖果,只有数值(例如:说话人置信度 0.95)。 - 1维(向量):一排糖果,只有长度(例如:单个时间步的 80 维音频特征)。 - 2维(矩阵):一盒糖果,有行和列(例如:一段音频的梅尔频谱图,行是频率,列是时间)。 - 3维(张量):一箱糖果,多盒堆叠(例如:多段音频打包,[批次, 时间步, 特征维度])。 - 4维(张量):整辆货车的糖果箱(例如:多段视频,[批次, 时间帧, 通道, 高度, 宽度])。

【极简公式与符号】 音频或说话人日志中最常见的特征张量表示为: $$X \in \mathbb{R}^{B \times T \times D}$$ - $X$:整个多维数据块(张量)。 - $\mathbb{R}$:里面的数据全是实数(通常是 float32 或 bfloat16)。 - $B$(Batch Size):批大小,一次送进 GPU 几段音频(例如 16 段)。 - $T$(Time Frames):时间帧数,音频切成多少个时间小片段(例如 500 帧)。 - $D$(Dimension):特征维度,每帧提取出多少维向量(例如 192 维说话人表征,或 80 维梅尔谱)。

【它解决什么问题?】 深度学习需要批量并行计算。如果没有张量,你必须写四重、五重 for 循环去逐个遍历音频帧、像素和特征通道,代码极慢且无法跑在 GPU 上。张量把多维数据打包成统一格式,让 GPU 能在一瞬间完成矩阵乘法。

【在音视频与说话人日志中的实际位置】 1. 音频前端:从麦克风读入 1D 波形 `(B, Samples)`,经 STFT 变成 3D 梅尔谱 `(B, Mel_bins, T)`。 2. 说话人编码器:Conformer/ResNet 将频谱提炼为 3D 帧级别嵌入 `(B, T, 192)`。 3. 说话人活动检测(VAD / Diarization 输出):最终分类头输出 `(B, T, Num_Speakers)`,每个位置表示“第 b 个音频在时间 t 是否为第 k 位说话人”。

先想再展开答案
张量里有 3 个轴,它的 ndim 是多少?
3
形状为 (4, 100, 64) 的张量,总共包含多少个浮点数?
25600
音频处理中,把形状从 (B, F, T) 变成 (B, T, F) 的操作叫什么?
转置或换轴(Transpose / Permute)
发展脉络 · 现状 · 未来

【发展流程】 - 过去:C/C++ 时代手动管理扁平内存指针,靠公式 `index = b * (T * D) + t * D + d` 访问数据,极易越界闪退。 - 为什么出现:深度学习需要自动化反向传播和 GPU 显存对齐,多维张量抽象屏蔽了底层内存寻址细节。 - 现在:PyTorch 等框架将张量作为核心一等公民,支持任意维度的切片、重排(Permute/Einops)和广播机制。建议参考《Dive into Deep Learning》先看几何直觉与公式,再在《PyTorch Tutorials》中对照官方示例强化张量操作习惯。

【与相近概念的区别】 - 标量 / 向量 / 矩阵 vs 张量:0维是标量,1维是向量,2维是矩阵;3维及以上通常统称张量(广义上全都是张量)。 - 维度(Dimension / ndim) vs 特征维度(Feature Dim):前者指“有几个轴”(比如 3 维张量),后者指“某个特定轴上的长度”(比如特征轴长度为 80)。 - 形状(Shape) vs 尺寸(Numel / Size):Shape 是各轴长度元组 `(4, 100, 80)`;Numel 是总元素数 $4 \times 100 \times 80 = 32000$。

【当前局限与未来作用】 - 事实(当前局限):真实音频长短不一,必须按最长音频进行 Padding(补零),导致张量中存在大量无效计算和显存浪费。 - 事实与推测(未来方向):NestedTensor(嵌套不规则张量)和动态稀疏张量正在编译器层(如 PyTorch 2.x Compile、Triton)原生铺开;未来开发者将更少手动对齐 Padding,底层编译器会自动打包变长音视频数据。

自测
  • 为什么音频波形转成梅尔谱后,张量维度会从 2D 变成 3D?
  • 如果说话人日志输出张量是 (8, 200, 4),这里的 4 代表什么含义?
  • 为什么两个形状为 (16, 500, 80) 和 (16, 80, 500) 的张量不能直接相加?
类比
张量就像带多层抽屉的分类整理箱:第一层抽屉分批次,第二层分时间,第三层分通道,拉开最里面的格子才能拿到具体的数值。
动手练习 第二则

张量、形状与维度:动手实现

练习目标

目标:用 10-20 分钟,在 PyTorch 中模拟一段完整的音频与说话人日志特征管线中的“张量形状流转”。 输入:伪造的单通道音频梅尔谱张量。 输出:提取说话人时序特征,调整轴顺序,输出说话人概率张量。 验收标准:每一步打印准确的 Shape,理解 `squeeze`、`permute` 与线性映射后的维度变化,代码无报错直接运行。

参考实现

【实现思路】 1. 构造一个形状为 `(B, C, F, T)` 的 4D 音频频谱张量(批次、通道、频带数、时间帧)。 2. 消除单通道维度 `C`(Squeeze),转为 3D `(B, F, T)`。 3. 调整轴顺序(Permute),从 `(B, F, T)` 变成时序模型需要的 `(B, T, F)`。 4. 送入线性层模拟特征提取,得到说话人分类 logits `(B, T, Num_Speakers)`。 5. 验证各阶段形状与元素总数守恒性。

import torch
import torch.nn as nn

def main():
    # 1. 模拟前端输出:4 个音频样本,单通道,80 维梅尔滤波,200 个时间帧
    # 形状: (Batch, Channels, Mel_bins, Time_frames)
    mel_spec = torch.randn(4, 1, 80, 200)
    print(f"1. 原始梅尔谱形状: {mel_spec.shape} (ndim={mel_spec.ndim})")

    # 2. 去除无意义的单通道维度 (C=1)
    # 形状变成: (Batch, Mel_bins, Time_frames)
    audio_feat = mel_spec.squeeze(1)
    print(f"2. 去除通道维后: {audio_feat.shape} (ndim={audio_feat.ndim})")

    # 3. 调整轴顺序,让 Time 位于特征前面,供时序模型(如 LSTM/Conformer)处理
    # (B, F, T) -> (B, T, F)
    # 注意:permute 改变视图但不重排底层内存,如需 view 需配合 .contiguous()
    time_first_feat = audio_feat.permute(0, 2, 1).contiguous()
    print(f"3. 换轴 (Permute) 后: {time_first_feat.shape}")

    # 4. 模拟说话人分类头 (Linear Projection)
    # 假设我们要检测最多 2 个说话人的发声状态 (Num_Speakers=2)
    # 输入特征维度 80,输出 2 维分类 Logits
    linear_head = nn.Linear(in_features=80, out_features=2)
    speaker_logits = linear_head(time_first_feat)
    print(f"4. 说话人日志输出形状: {speaker_logits.shape}")

    # 5. 校验:获取第 0 个样本在第 50 帧对 2 位说话人的预测得分
    frame_50_spk_scores = speaker_logits[0, 50, :]
    print(f"5. 样本 0 第 50 帧预测分数: {frame_50_spk_scores.shape} -> {frame_50_spk_scores.detach().numpy()}")

if __name__ == "__main__":
    main()
代码拆解与真实用法

【代码与形状解析】 1. `mel_spec.squeeze(1)`:挤压掉大小为 1 的维度。若第 1 维不是 1,则不会发生改变。 2. `permute(0, 2, 1)`:严格按轴索引重新排列。0 对应 Batch,2 对应 Time,1 对应 Mel_bins。这在音视频特征进入 Transformer 之前是必经步骤。 3. `contiguous()`:`permute` 只是改变了张量的步幅(stride),内存中并未物理重排。加上 `contiguous()` 可避免后续调用 `.view()` 时抛出运行时异常。 4. `nn.Linear(80, 2)`:PyTorch 线性层会自动作用在张量的最后一个维度(即 Feature 轴),前面的 `(B, T)` 维度保持不变。

【常见报错】 - `RuntimeError: view size is not compatible with input tensor's size and stride`:忘记在 `permute()` 后加 `.contiguous()`,直接调用了 `.view()`。 - `RuntimeError: mat1 and mat2 shapes cannot be multiplied`:输入给 Linear 层的最后一维大小与 `in_features` 不一致(例如没调轴,把 200 帧当成特征维度传给了 80 维的线性层)。

再练一步
  • 将代码中的 2 位说话人分类改为多标签分类,如何用 torch.sigmoid 转换得到 0~1 概率值?
  • 如果要把 4 段变长音频填充到相同时间帧,应该引入什么维度的掩码张量(Mask Tensor)?
类比
`permute` 就像把书架上的书横着放改为立着放,书的内容没变,但长宽视角完全反了过来。

往期记录 181 条记录

2026年08月21日音视频时间对齐:今天真正弄懂foundationaudio-visual alignmentsynchronizationtemporal modeling
2026年08月21日音视频时间对齐:动手实现practicePythonPyTorch音视频时间对齐
2026年08月20日说话人日志基本流程:今天真正弄懂foundationspeaker diarizationVADclustering
2026年08月20日说话人日志基本流程:动手实现practicePythonPyTorch说话人日志基本流程
2026年08月19日说话人嵌入:今天真正弄懂foundationspeaker embeddingx-vectorECAPA-TDNN
2026年08月19日说话人嵌入:动手实现practicePythonPyTorch说话人嵌入
2026年08月18日KV Cache:今天真正弄懂foundationKV cacheinferenceautoregressive
2026年08月18日KV Cache:动手实现practicePythonPyTorchKV Cache
2026年08月18日CTC 损失:今天真正弄懂foundationCTCASRalignment
2026年08月18日CTC 损失:动手实现practicePythonPyTorchCTC 损失
2026年08月17日RoPE 旋转位置编码:今天真正弄懂foundationRoPEposition encodingattention
2026年08月17日RoPE 旋转位置编码:动手实现practicePythonPyTorchRoPE 旋转位置编码
2026年08月16日自注意力机制:今天真正弄懂foundationself-attentionQKVscaled dot product
2026年08月16日自注意力机制:动手实现practicePythonPyTorch自注意力机制
2026年08月15日交叉熵与负对数似然:今天真正弄懂foundationcross entropyNLLclassification
2026年08月15日交叉熵与负对数似然:动手实现practicePythonPyTorch交叉熵与负对数似然
2026年08月14日Softmax 与温度系数:今天真正弄懂foundationsoftmaxtemperaturelogits
2026年08月14日Softmax 与温度系数:动手实现practicePythonPyTorchSoftmax 与温度系数
2026年08月13日残差连接:今天真正弄懂foundationresidual connectiongradient flowResNet
2026年08月13日残差连接:动手实现practicePythonPyTorch残差连接
2026年08月12日LayerNorm 与 Pre-Norm:今天真正弄懂foundationLayerNormPre-Normresidual
2026年08月12日LayerNorm 与 Pre-Norm:动手实现practicePythonPyTorchLayerNorm 与 Pre-Norm
2026年08月11日信息粒缓存编排interviewPrefixDAGMinCostFlowSemanticHash
2026年08月11日表示一个折线图的最少线段数codeGeometryArrayMath
2026年08月11日RMSNorm:今天真正弄懂foundationRMSNormnormalizationLLaMA
2026年08月11日RMSNorm:动手实现practicePythonPyTorchRMSNorm
2026年08月10日长上下文块复用interviewPrefixCachingDynamicProgrammingIntervalScheduling
2026年08月10日到达终点数字codeMathParityGreedy
2026年08月10日多教师蒸馏调度interviewMinCostFlowDynamicProgrammingParetoFrontier
2026年08月10日定长子串中元音的最大数目codeStringSliding WindowTwo Pointers
2026年08月06日长窗注意力稳健化interviewNumericalStabilitySoftmaxPositionBias
2026年08月06日执行操作使数据元素之和大于等于 KcodeGreedyMathEnumeration
2026年08月05日必须拿起的最小连续卡牌数codehashmaparrayslidingwindow
2026年08月04日绝对差不超过限制的最长连续子数组codesliding windowmonotonic queuedeque
2026年08月03日证据路由与采样优化interviewRoutingSubmodularLatency
2026年08月01日查询引导长视频采样interviewSubmodularKnapsackTemporalCoverage
2026年08月01日边界元素是最大值的子数组数目codeStackArrayMonotonicStack
2026年07月30日受限内存推理调度interviewLLM-servingKV-cacheScheduling
2026年07月29日技能感知词元压缩interviewTokenCompressionMultimodalKnapsack
2026年07月27日递归验证预算分配interviewAStarBanditSubmodular
2026年07月26日推理早停预算分配interviewOptimalStoppingSequentialTestCalibration
2026年07月26日二叉树中所有距离为 K 的结点codeTreeBFSDFS
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 AlgorithmBlank 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