动作识别:类别、人物与时间区间
Action recognition
训练完整小3D分类器,检查分数共识与膨胀边界,用时间检测评测区分AP与片段准确率。
action-recognition什么动作,谁做的,何时发生?
一个人站着把杯子递给另一个人。系统该输出“站立”“拿着”“递给”,还是一个起止时间?这取决于标注约定。如果直接把这些标签设成互斥类别,训练还没开始,问题就可能定义错了。
动作识别把视频证据与定义好的动作类别联系起来。经过裁剪的单标签任务中,每段片段只有一个目标类;未裁剪视频却可能包含多个事件和背景。时间检测还要输出事件区间;以人物为中心的时空检测则需在相应时刻定位行为者的框,并可能赋予多个同时发生的动作标签。AVA围绕最后一种区别构建,不假定一个标签可以概括画面中的所有人。原子化人物动作
更广义的视频理解还包含跟踪、描述和有证据的问答。本篇专注动作目标、可学习运动特征和评测:从像素构建一个完整的小3D分类器,另行评估时间区间;分类器没有在幕后预测那些区间。
静态帧基线很有价值。游泳池、吉他或篮球场可能让模型不用理解动作也能猜对类别,这有时有用,却会在同一物体对应不同动作时失败。应在相同划分上比较单帧、时间平均帧和保留顺序的模型。本例向右和向左移动的小点有完全相同的平均图,因此仅凭平均图无法确定移动方向。
先选目标,再选架构
从运动描述子到学习时空特征
较早的系统用HOG、HOF和运动边界直方图等特征描述局部外观与运动,并常沿轨迹聚合。双流论文回顾了这些前作,随后将RGB外观网络与接收堆叠光流的网络结合。L个光流场有2L个通道,因为每次位移都有水平和垂直分量。光流是估计出的对应关系,RGB帧差是另一种输入。双流方法与相关工作范围
2014年的双流设计融合各支路的类别后验概率;TSN随后从整段视频的多个分段中抽取片段,共享网络参数,并从视频级共识学习。它们以不同方式扩充可见证据。平均片段分数仍对片段重排不变,因此覆盖了一段长视频,不表示明确建模了片段顺序。分段监督
若要直接学习运动表示,3D卷积让卷积核不仅在空间滑动,也沿时间滑动。输入X形状为T×H×W×C,核形状为K_t×K_h×K_w×C×O;本例采用无填充、步长1的互相关:
输出形状为(T−K_t+1)×(H−K_h+1)×(W−K_w+1)×O。K_t大于1时,每个输出依赖多个时刻。这里采用神经卷积层常用的互相关约定,不翻转存储的核。把帧堆成通道的2D层也能编码时间模式,但不会以同样方式保留可滑动的显式时间轴。
C3D研究时间核深度,最终网络包含八个卷积层与3×3×3卷积核;较早的架构搜索网络则是另一套五卷积层结构。最终模型在第一次池化时保留时间分辨率,后续再降采样。论文搜索配置中“stride1却让尺寸缩小八倍”的句子内部不一致;最终模型说明明确写stride2,只有首池化的时间步长是1。不要混合这两套配置,也不要把有限候选中的实验结果改写成某种卷积核永远最好。C3D配置
膨胀图像滤波器时,带上边界条件
I3D从成熟2D架构出发,把滤波器和池化扩展到时间。将2D核复制K_t份,每份除以K_t,只要完整时间窗口都包含同一张静态图,响应就保持不变:
等式来自线性:K_t个相同贡献,每个缩为1/K_t。逐点非线性在那里也接收相同输入,但边界处理不能省略。长度3的时间核若使用零填充,第一个窗口可能只有两份真实图,零偏置响应就只剩内部结果的2/3。程序同时检查两种情形,不把静态视频固定点当成与填充无关。I3D论文也明确区分了它修改过的C3D基线和原C3D池化时间表。膨胀与模型变体
SlowFast使用两条RGB支路,时间采样率与通道容量不同。论文示例从64帧原始片段中构造4帧Slow支路与32帧Fast支路,速度比为8、通道比为1/8;Fast特征通过横向连接融入Slow,最终拼接两支路池化表示。这是具体架构选择,不是RGB与光流支路,也不是普适比例。SlowFast示例
同一论文的推理采用10个时间片段、每片段3种空间裁剪。因此每个view的计算量必须同时报告view数量,不能悄悄当成整段视频的成本。下面的小网络没有完整实现C3D、I3D或SlowFast;它们解释设计选择,而24个参数让整条可训练计算过程能被直接检查。
共识与监督也是模型的一部分
设K个采样片段的类别分数向量为s_k,TSN报告结果所用的平均共识先平均分数,再过softmax:
一般而言,它不等于平均各片段的概率。对分数[10,0]、[-4,0]、[-4,0],先平均分数会以约0.6608的概率选择类别0;先转概率再平均,却以约0.6547的概率选择类别1。两种运算都成立,但定义的是不同预测器。TSN共识
固定MMAction2的TSN头先平均片段特征,再应用dropout和线性分类器。关闭dropout、且分类器为共享仿射映射时,平均特征与该分类器可交换;这不使它等价于平均softmax概率,也不等价于训练时对每个片段独立施加随机dropout。实际TSN头
只有一个目标类别y时,交叉熵对各logit s_c的梯度很简洁:
本例2×2×2卷积从一个输入通道映射到两个输出通道,共16权重和2偏置;经过tanh与全局平均,2到2的仿射头再增加4权重和2偏置,总计24个可学参数。softmax与交叉熵作用于最后两个logit,log-sum-exp先减最大logit再计算,避免直接对大分数求指数。
令G为损失对tanh激活A的梯度,先乘1−A²,得到激活前梯度δ。每个卷积权重再在其被使用的全部位置累加“输入×δ”;输入梯度则汇总所有覆盖该位置的输出窗口贡献:
Z为激活前值,A=tanh Z。代码实现这些累加,而不只是更新最后的分类头。独立测试对夹具中的全部24参数与60个输入像素作差分,还检查标量卷积参照与伴随恒等式。一次更新使平均损失从0.7000520421降到0.6988404730,但真值[1,0]对应的预测仍为[0,0],其中一个例子依然错误。
动作可能同时发生时,独立二元目标通常比强迫全部概率和为1更符合标注。多标签头常为每个动作使用一个sigmoid和二元交叉熵:
这是与标签有关的建模选择,不保证动作在统计上相互独立。程序为给定多标签向量计算稳定损失与梯度,没有训练AVA人物检测器。类别加权、标注不确定性和判定阈值需要另行验证。
类别正确,区间仍可能错误
两个正时长区间a和b的时间交并比,比较重叠时长与并集时长:
这里采用连续时间长度,所以只在端点接触的相邻区间重叠为0,不像统计包含端点的整数像素那样加1。预测[0,10]虽然包含整个真动作[2,4],tIoU仍只有0.2。分类器可以报对动作名称,检测器却过不了0.5定位门槛。时间IoU实现
对一个动作类,把跨视频的全部预测按置信度排序。在同一视频中,让预测匹配满足阈值、尚未占用且IoU最高的真值区间。重复预测不能再认领已经匹配的事件,但若还存在另一个合格事件,可以匹配它;视频ID错误或没有匹配的预测都是假正例。每个要求的tIoU阈值与类别都应分别评估。官方匹配函数
根据排名中的真/假正例得到精确率和召回率后,先构造插值精度包络,再积分得到AP:
包络取的是达到至少某召回率时可取得的最好精确率,不是图像检索篇中的Oxford梯形积分。两个真事件,对应预测“正确/重复第一个/正确第二个”,TP序列为[1,0,1],AP为5/6:第一个事件贡献召回增量1/2、精度1;第二个贡献增量1/2、精度2/3。虽然最终找全事件,重复预测仍会降低分数。精度包络辅助函数
小评测器支持一个类、任意视频ID、稳定处理分数并列,不含忽略区域;有真值但无预测时返回0,完全没有该类真值时返回None。这些显式选择避免除零,不宣称复现旧官方脚本的所有边界行为。完整多类mAP、忽略区间、挑战过滤规则,以及AVA人物框匹配,都不在此实现中。
完整的小型可训练分类器
将程序保存为action_model.py,使用Python3.12与NumPy1.26.4运行。两段视频是合成移动点,不是训练/测试划分,也不是人体动作数据集。时间检测夹具和多标签损失独立于分类器;把真值区间交给评测器,不表示网络学会了预测它们。
"""Original 24-parameter video classifier and one-class temporal evaluation."""
import json
import numpy as np
def conv3d(x, kernel, bias):
x,k,b=np.asarray(x,float),np.asarray(kernel,float),np.asarray(bias,float)
if x.ndim != 4 or k.ndim != 5 or not all(x.shape+k.shape) or x.shape[-1] != k.shape[-2] or b.shape != (k.shape[-1],):
raise ValueError('Expected THWC input, kthkwCO kernel and O bias')
if not all(np.isfinite(v).all() for v in [x,k,b]):
raise ValueError('Nonfinite convolution input')
shape=tuple(a-c+1 for a,c in zip(x.shape[:3],k.shape[:3]))
if min(shape)<1:raise ValueError('Kernel exceeds input')
out=np.empty(shape+(k.shape[-1],))
kt,kh,kw=k.shape[:3]
for t,h,w in np.ndindex(shape):
patch=x[t:t+kt,h:h+kh,w:w+kw]
out[t,h,w]=np.tensordot(patch,k,axes=((0,1,2,3),(0,1,2,3)))+b
return out,(x,k)
def conv3d_backward(cache, gradient):
x,k=cache;dx=np.zeros_like(x);dk=np.zeros_like(k);db=gradient.sum(axis=(0,1,2))
kt,kh,kw=k.shape[:3]
for t,h,w in np.ndindex(gradient.shape[:3]):
g=gradient[t,h,w];patch=x[t:t+kt,h:h+kh,w:w+kw]
dk+=patch[...,None]*g
dx[t:t+kt,h:h+kh,w:w+kw]+=np.tensordot(k,g,axes=(-1,0))
return dx,dk,db
def softmax(logits):
z=np.asarray(logits,float)
if not z.size or not np.isfinite(z).all():raise ValueError('Finite logits required')
e=np.exp(z-z.max(axis=-1,keepdims=True));return e/e.sum(axis=-1,keepdims=True)
def classifier(x, parameters):
k,b,w,c=parameters
z,cache=conv3d(x,k,b);a=np.tanh(z);pooled=a.mean(axis=(0,1,2))
if w.shape != (len(pooled),len(c)) or not np.isfinite(w).all() or not np.isfinite(c).all():
raise ValueError('Invalid classifier head')
logits=pooled@w+c
return logits,(cache,a,pooled,w)
def loss_and_gradients(x, label, parameters):
logits,cache=classifier(x,parameters)
if not isinstance(label,(int,np.integer)) or isinstance(label,bool) or not 0 <= label < len(logits):
raise ValueError('Invalid class label')
probabilities=softmax(logits)
shifted=logits-logits.max()
loss=float(np.log(np.exp(shifted).sum())-shifted[label])
g=probabilities.copy();g[label]-=1
cc,a,pooled,w=cache
dw=np.outer(pooled,g);dc=g
da=np.broadcast_to((g@w.T)/np.prod(a.shape[:3]),a.shape)
dx,dk,db=conv3d_backward(cc,da*(1-a*a))
return loss,probabilities,dx,[dk,db,dw,dc]
def multilabel_bce(logits, target):
z,y=np.asarray(logits,float),np.asarray(target,float)
if z.shape != y.shape or not z.size or not np.isfinite(z).all() or not np.isfinite(y).all() or ((y<0)|(y>1)).any():
raise ValueError('Matching finite logits and targets in [0,1] required')
probability=np.exp(-np.logaddexp(0,-z))
loss=np.maximum(z,0)-z*y+np.log1p(np.exp(-np.abs(z)))
return float(loss.mean()),(probability-y)/z.size
def temporal_iou(a,b):
a,b=np.asarray(a,float),np.asarray(b,float)
if a.shape != (2,) or b.shape != (2,) or not np.isfinite(a).all() or not np.isfinite(b).all() or a[1]<=a[0] or b[1]<=b[0]:
raise ValueError('Positive-duration finite intervals required')
overlap=max(0.,min(a[1],b[1])-max(a[0],b[0]))
return float(overlap/((a[1]-a[0])+(b[1]-b[0])-overlap))
def temporal_ap(ground_truth, predictions, threshold=.5):
"""One class, arbitrary videos, stable score ties, continuous intervals.
Ground truth: (video_id, start, end); predictions add a final score.
No ignore regions, absent-class averaging or AVA person-box evaluation.
"""
if not np.isfinite(threshold) or not 0 < threshold <= 1:
raise ValueError('IoU threshold must be in (0,1]')
for row in ground_truth:temporal_iou(row[1:3],row[1:3])
for row in predictions:
temporal_iou(row[1:3],row[1:3])
if not np.isfinite(row[3]):raise ValueError('Nonfinite prediction score')
order=sorted(range(len(predictions)),key=lambda i:-predictions[i][3])
matched=set();tp=[];matched_ids=[]
for i in order:
video,start,end,score=predictions[i]
candidates=[(temporal_iou((start,end),row[1:3]),j) for j,row in enumerate(ground_truth) if row[0]==video]
candidates.sort(key=lambda value:(-value[0],value[1]))
chosen=next((j for overlap,j in candidates if overlap>=threshold and j not in matched),None)
tp.append(int(chosen is not None));matched_ids.append(chosen)
if chosen is not None:matched.add(chosen)
positives=len(ground_truth)
if not positives:return {'ap':None,'tp':tp,'order':order,'matched':matched_ids}
if not tp:return {'ap':0.,'tp':[],'order':[],'matched':[]}
cumulative=np.cumsum(tp);recall=cumulative/positives;precision=cumulative/np.arange(1,len(tp)+1)
envelope=np.maximum.accumulate(precision[::-1])[::-1]
ap=float(np.sum(np.diff(np.r_[0.,recall])*envelope))
return {'ap':ap,'tp':tp,'order':order,'matched':matched_ids}
def moving_dot():
video=np.zeros((4,3,5,1))
for t in range(4):video[t,1,t,0]=1
return video
def initial_parameters(seed=37):
rng=np.random.default_rng(seed)
return [rng.normal(0,.5,(2,2,2,1,2)),np.zeros(2),rng.normal(0,.5,(2,2)),np.zeros(2)]
def demo():
right=moving_dot();left=right[::-1].copy();params=initial_parameters()
first=[loss_and_gradients(x,y,params) for x,y in [(right,1),(left,0)]]
gradients=[sum(result[3][i] for result in first)/2 for i in range(4)]
updated=[p-.3*g for p,g in zip(params,gradients)]
second=[loss_and_gradients(x,y,updated) for x,y in [(right,1),(left,0)]]
# Inflation equality is an interior/valid-window statement here.
image=np.arange(12,dtype=float).reshape(3,4,1)
k2=np.arange(1,5,dtype=float).reshape(1,2,2,1,1)
k3=np.repeat(k2,3,axis=0)/3
static=np.repeat(image[None],3,axis=0)
response2=conv3d(image[None],k2,np.zeros(1))[0][0]
response3=conv3d(static,k3,np.zeros(1))[0][0]
edge=conv3d(np.pad(static,((1,1),(0,0),(0,0),(0,0))),k3,np.zeros(1))[0][0]
logits=np.array([[10.,0.],[-4.,0.],[-4.,0.]])
scores_first=softmax(logits.mean(axis=0));probabilities_first=softmax(logits).mean(axis=0)
gt=[('v',0.,2.),('v',4.,6.)]
pred=[('v',0.,2.,.9),('v',0.,2.,.8),('v',4.,6.,.7)]
return {'right_pixels':right[:,:,:,0].tolist(),'left_pixels':left[:,:,:,0].tolist(),
'mean_frame_difference':float(np.max(np.abs(right.mean(axis=0)-left.mean(axis=0)))),
'training':{'parameters':sum(p.size for p in params),'loss_before':float(np.mean([r[0] for r in first])),'loss_after':float(np.mean([r[0] for r in second])),
'before_probabilities':[r[1].tolist() for r in first],'after_probabilities':[r[1].tolist() for r in second],
'after_predicted_classes':[int(r[1].argmax()) for r in second],'true_classes':[1,0]},
'inflation':{'valid_max_difference':float(np.max(np.abs(response2-response3))),'zero_padded_first_ratio':float(edge[0,0,0]/response2[0,0,0])},
'consensus':{'mean_scores_then_softmax':scores_first.tolist(),'softmax_then_mean':probabilities_first.tolist()},
'duplicate_temporal_detection':temporal_ap(gt,pred),
'long_interval_tiou':temporal_iou((0.,10.),(2.,4.)),
'multilabel_zero_logits_loss':multilabel_bce([0.,0.,0.],[1.,1.,0.])[0]}
if __name__ == '__main__':
print(json.dumps({k:v for k,v in demo().items() if not k.endswith('_pixels')},indent=2))
实际输出,控制台摘要省略返回的像素数组:
{
"mean_frame_difference": 0.0,
"training": {
"parameters": 24,
"loss_before": 0.7000520421191563,
"loss_after": 0.6988404730409526,
"before_probabilities": [
[
0.5284753664100504,
0.47152463358994945
],
[
0.5229234717662296,
0.4770765282337704
]
],
"after_probabilities": [
[
0.5211160205587337,
0.47888397944126626
],
[
0.5161364961485995,
0.4838635038514006
]
],
"after_predicted_classes": [
0,
0
],
"true_classes": [
1,
0
]
},
"inflation": {
"valid_max_difference": 0.0,
"zero_padded_first_ratio": 0.6666666666666666
},
"consensus": {
"mean_scores_then_softmax": [
0.6607563687658172,
0.33924363123418283
],
"softmax_then_mean": [
0.34530900735182696,
0.6546909926481731
]
},
"duplicate_temporal_detection": {
"ap": 0.8333333333333333,
"tp": [
1,
0,
1
],
"order": [
0,
1,
2
],
"matched": [
0,
null,
1
]
},
"long_interval_tiou": 0.2,
"multilabel_zero_logits_loss": 0.6931471805599453
}
平均图相同,证明那种表示存在限制;网络概率不同,证明模型可以对两个序列给出不同响应;仍然存在的错误,则证明表示能力和下降的损失不自动产生正确分类器。换随机种子或训练更久是需要报告的新实验,不是把记录输出替换成期望标签的理由。
一个基准数字还没有说明什么
划分数据时,把同源视频和近重复素材放在一起。若同一录像的重叠片段随机散入训练与测试,模型可能靠记住人物、房间或场景得分。AVA原始划分以视频为单位;它的电影分布也不声称代表现实日常活动的真实分布。标注与划分
动作标签有约定的粒度:“开门”包含多个运动阶段,“拿着”却可能与“站立”同时发生。裁剪片段的边界可能已经透露动作在哪里,未裁剪检测不能假设这项信息。应说明监督包含片段标签、时间区间、人物框、轨迹,还是多个同时发生的动作标签。
评测要对应训练目标。Top-1/top-k准确率适用于单标签分类,罕见类别还需要总体平均之外的逐类分析;多标签预测需要与不完整标注相符的阈值或排序指标;时间检测需要IoU阈值和AP约定,人物检测还需要空间匹配。这些都不能用每秒处理多少片段代替。
帧率、采样时长、裁剪规则、测试view数量、预训练和光流提取成本都会影响比较。翻转或倒放视频可能改变方向相关标签;某种增强常用于图片,不表示它一定保留动作标签。若应用需要在事件进行时报警,应测试起始延迟和未来泄漏,而非只在完整片段结束后评估。
静态背景可以是合法线索,也会形成捷径。应检查同场景不同动作、不常见人物和背景、微小运动、遮挡及相机运动。用这些失败决定改进采样、表示、训练标签还是定位;单纯加参数并不能指出错误来源。
动作结论的四个检查
1. 解释方向歧义
右移与左移小点有相同平均图,只接收这张平均图的分类器能可靠区分它们吗?
答案:不能。输入完全相同却对应相反标签,任何只依赖此输入的确定性函数都无法区分。时间表示可以保留差异信息,但本例仍有错误,说明这本身不保证学习成功。
2. 比较共识运算
给定logits[10,0]、[-4,0]、[-4,0],平均logits与平均softmax概率各选哪个类别?
答案:前者选择类别0,因为其平均logit为2/3,另一类为0;后者选择类别1,两个片段强烈支持它,平均概率约[0.3453,0.6547]。必须明确聚合方式,“平均预测”这个说法有歧义。
3. 检查膨胀的边界
把2D核重复三份再除以3,对重复的静态图像使用时间零填充,首个输出位置总能保留2D响应吗?
答案:不能。若首窗口含一帧零和两份真实图,零偏置响应只有内部值的2/3。等式适用于完整静态窗口或相容的边界处理,不适用于任意填充。
4. 惩罚重复检测
有两个真事件,置信度顺序为“正确/重复第一个/正确第二个”,真实匹配均满足tIoU0.5。计算插值AP,并解释为何不是1。
答案:TP序列为[1,0,1],精度包络贡献(1/2)×1+(1/2)×(2/3)=5/6。重复项是假正例,并推迟第二个正确事件出现;最终找全只表示召回率完整,不表示精确率或AP完美。
分清方法、版本与任务
双流首个预印本提交于2014-06-09;这里引用C3D的ICCV2015论文版本;TSN首版提交于2016-08-02;I3D首版于2017-05-22提交,早于其CVPR论文。这些记录定位具体方法,不宣称所有运动识别都从这里诞生。双流历史 C3D论文 TSN历史 I3D历史
AVA的CVPR2018论文把标注目标推进到原子化人物动作,SlowFast的ICCV2019论文探索不同时间速率与容量。配套视频理解篇继续介绍时空注意力、掩码预训练与长上下文问题;一种任务的进步不会抹去其他任务,也不会让它们的基准自动可比。AVA SlowFast
固定来源实现可用于检查实际采样、池化和匹配约定。本篇13项数值检查验证的是小模型与评测例子,不是复现那些大型系统,也不是独立人工同行审校。
先判断,再看解释
某事件已经匹配后,为什么重复检测通常算假正例?
学习目标
- 让分类、多标签和定位输出对应标注范围。
- 追踪完整24参数3D分类器的全部梯度。
- 区分聚合先后次序与膨胀边界条件。
- 计算时间IoU、唯一匹配与精度包络AP。
先修与延伸
查看知识关联图 →参考文献
- AVA: A Video Dataset of Spatio-temporally Localized Atomic Visual Actions
Chunhui Gu; Chen Sun; David A. Ross; Carl Vondrick; Caroline Pantofaru; Yeqing Li; Sudheendra Vijayanarasimhan; George Toderici; Susanna Ricco; Rahul Sukthankar; Cordelia Schmid; Jitendra Malik · 2018 - Two-Stream Convolutional Networks for Action Recognition in Videos
Karen Simonyan; Andrew Zisserman · 2014 - Temporal Segment Networks: Towards Good Practices for Deep Action Recognition, v1
Limin Wang; Yuanjun Xiong; Zhe Wang; Yu Qiao; Dahua Lin; Xiaoou Tang; Luc Van Gool · 2016 - Learning Spatiotemporal Features with 3D Convolutional Networks
Du Tran; Lubomir Bourdev; Rob Fergus; Lorenzo Torresani; Manohar Paluri · 2015 - Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset
João Carreira; Andrew Zisserman · 2017 - SlowFast Networks for Video Recognition
Christoph Feichtenhofer; Haoqi Fan; Jitendra Malik; Kaiming He · 2019 - MMAction2 TSNHead, fixed implementation
OpenMMLab contributors · 2026 - MMAction2 temporal IoU and AP, fixed implementation
OpenMMLab contributors · 2026 - ActivityNet temporal detection AP, fixed implementation
ActivityNet contributors · 2021 - ActivityNet temporal IoU and precision envelope, fixed helpers
ActivityNet contributors · 2021 - Two-Stream Convolutional Networks for Action Recognition in Videos — submission history
Karen Simonyan; Andrew Zisserman · 2014 - Temporal Segment Networks: Towards Good Practices for Deep Action Recognition — submission history
Limin Wang; Yuanjun Xiong; Zhe Wang; Yu Qiao; Dahua Lin; Xiaoou Tang; Luc Van Gool · 2016 - Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset — submission history
João Carreira; Andrew Zisserman · 2017
版本1 · 编写状态: 已完成记录中的技术复核
查看技术检查记录(AI)
Codex · 2026-09-07 · Codex single-AI-author technical check: scoped original video/action papers and fixed upstream implementations; joint36-test suite with full small-model gradients, timestamp/order/causal/masking and temporal-detection counterexamples; complete bilingual comparison and computed diagrams. Not human peer review or real-video benchmark reproduction.
- 动作13数值检查:全部24参数和60输入像素差分、标量3D/伴随、膨胀边界、分数/概率共识、BCE梯度、穷举AP排名和唯一时间匹配,保留下降损失下的错误预测。
- 联合36项:27数值、7双语/输出/元数据/共享ID和2图示绑定;逐项核对论证/假设、各语言八公式、全部程序/输出及四组解释答案。两独立主题共25来源/11事件,不声称完整上游模型或基准复现。
核对的来源位置:
- AVA: A Video Dataset of Spatio-temporally Localized Atomic Visual Actions · Physical pages3-4 fully read; page1 title/authors/opening abstract. Person-centric multilabel annotations, segment cadence, tracklets and video-level splits. Dataset counts remain tied to this conference version.
- Two-Stream Convolutional Networks for Action Recognition in Videos · Physical pages2-3 fully read; page1 title/authors/opening abstract. RGB/flow streams, 2L flow channels and posterior fusion. Earlier trajectory methods only as this paper related work, not their original papers.
- Temporal Segment Networks: Towards Good Practices for Deep Action Recognition, v1 · Physical pages3-5 fully read; page1 title/authors/opening abstract. Sparse segment sampling, shared parameters, class-score consensus before softmax; average consensus does not preserve snippet order.
- Learning Spatiotemporal Features with 3D Convolutional Networks · Physical pages3-4 fully read; page1 title/authors/opening abstract. Distinguish five-layer architecture search from final eight-layer C3D; page3 stride1/reduction wording conflicts internally, final model page4 specifies stride2 except pool1 temporal stride1.
- Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset · Physical pages3-4 fully read; page4 visually inspected; page1 title/authors/opening abstract. Weight inflation and static-video fixed point; local example tests valid windows versus temporal zero padding.
- SlowFast Networks for Video Recognition · Physical page3 fully read and visually inspected; page4 extracted lines1-62. Alpha8/beta1/8 example, lateral fusion and 30-view test convention. No performance or biological claim adopted.
- MMAction2 TSNHead, fixed implementation · Entire TSNHead file read. Actual feature consensus then dropout/linear head, not a blanket equivalence to independently dropped per-frame logits. Upstream not executed.
- MMAction2 temporal IoU and AP, fixed implementation · Lines249-307 and485-610: pairwise temporal IoU and per-class temporal AP, greedy unused match and precision envelope. Not a full AVA or multi-class benchmark run.
- ActivityNet temporal detection AP, fixed implementation · Lines182 through end of compute_average_precision_detection: score-sorted per-video greedy threshold matching and precision-envelope AP. File not executed; old np.float path preserved as source evidence.
- ActivityNet temporal IoU and precision envelope, fixed helpers · Lines14-52: interpolated_prec_rec and segment_iou. Network blocked-video helper and full challenge protocol not executed/read.
- Two-Stream Convolutional Networks for Action Recognition in Videos — submission history · Submission history From: Karen Simonyan [ view email ] [v1] Mon, 9 Jun 2014 14:44:14 UTC (654 KB) [v2] Wed, 12 Nov 2014 20:48:33 UTC (680 KB)
- Temporal Segment Networks: Towards Good Practices for Deep Action Recognition — submission history · Submission history From: Limin Wang [ view email ] [v1] Tue, 2 Aug 2016 15:06:50 UTC (1,805 KB)
- Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset — submission history · Submission history From: Joao Carreira [ view email ] [v1] Mon, 22 May 2017 13:57:53 UTC (3,229 KB) [v2] Thu, 20 Jul 2017 15:24:03 UTC (3,228 KB) [v3] Mon, 12 Feb 2018 17:10:11 UTC (3,228 KB)
相关主题