首页 > AI前沿 > What Can a Time Series of Loss, Weight Norm, or Neuron Activation Reveal About a Neural Network?

What Can a Time Series of Loss, Weight Norm, or Neuron Activation Reveal About a Neural Network?

arXiv机器学习 2026-11-28 02:57 10 阅读 查看原文
用户现在需要把给定的新闻正文排版成语义化HTML片段,要遵循规则,每个自然段用p,不用文档级标签,保留所有内容。首先看正文是几个段落?先逐段来,首先第一段是开头到MG of x?不对,等下看原文: 首先第一句到“We call this estimate the MG of $x$.” 不对?不对,数一下: 第一段:It is easy to record the loss or weight norm at each step of neural network training. Can one such time series reveal what is changing inside the network? For a scalar quantity $x$ recorded over time, we form delay vectors from samples taken at fixed time lags. We estimate the local intrinsic dimension of their distribution with the MacKay-Ghahramani (MG) variant of the Levina-Bickel estimator, which pools log ratios of nearest-neighbor distances across the delay vectors. We call this estimate the MG of $x$. 这部分是一个自然段,用p包裹。 然后下一段:After a recurrent network learns periodic motion, MG from the activation time series of one hidden neuron is close to one, as expected for a periodic orbit. In ResNet-18, freezing the feature extractor lowers the MG of the weight norm and concentrates weight updates in fewer directions. In a text variational autoencoder, the MG of reconstruction loss on fixed sentences is lower under settings where the decoder relies less on the latent code. 这是第二个自然段?不对?不对,再看后面:We also use MG to select among candidate encoders trained on unlabeled MNIST digits with SimCLR, SimSiam, BYOL, and VICReg. 哦不对,我拆分下自然段,原文的换行?哦用户给的正文是连续的?不对,数下原文的语义段落: 哦不对,用户给的正文是一整段?不对,看内容: 1. 从开头到“We call this estimate the MG of $x$.”:这是第一段,讲方法的定义。 2. 接下来“After a recurrent network learns periodic motion...latent code.”:这是第二段,讲不同场景下的MG表现。 3. 然后“We also use MG to select among candidate encoders...for that set of encoders.”:这是第三段,讲MG的应用和实验结果。 不对?等下要不要用h2或者h3?哦规则说长文用h2/h3划分小节,那这里可以加合适的小节标题?不对,哦规则是保留原文所有信息,不得增删改内容,哦对,不能加内容!哦对,规则4是不能增删改,所以不能自己加标题?不对,哦等下规则2是“长文用

/

划分小节”,但如果原文没有小节标题的话,不能自己加啊,因为不能增内容。哦对,不能增,所以原文没有的标题不能加。那原文的自然段落怎么分? 哦等下用户给的正文是连续的一段?不对,看原文的内容,其实是几个自然段?不对,用户给的正文是: “It is easy to record the loss or weight norm at each step of neural network training. Can one such time series reveal what is changing inside the network? For a scalar quantity $x$ recorded over time, we form delay vectors from samples taken at fixed time lags. We estimate the local intrinsic dimension of their distribution with the MacKay-Ghahramani (MG) variant of the Levina-Bickel estimator, which pools log ratios of nearest-neighbor distances across the delay vectors. We call this estimate the MG of $x$. After a recurrent network learns periodic motion, MG from the activation time series of one hidden neuron is close to one, as expected for a periodic orbit. In ResNet-18, freezing the feature extractor lowers the MG of the weight norm and concentrates weight updates in fewer directions. In a text variational autoencoder, the MG of reconstruction loss on fixed sentences is lower under settings where the decoder relies less on the latent code. We also use MG to select among candidate encoders trained on unlabeled MNIST digits with SimCLR, SimSiam, BYOL, and VICReg. For each frozen encoder, we fit a logistic regression classifier to predict digit labels from its features. In initial experiments, the MG of the gradient norm late in training correlated positively with classifier accuracy across encoders. When we selected the encoder with the highest MG of the gradient norm in each held-out run, its test accuracy averaged only 0.41 percentage points below the maximum for that set of encoders.” 哦?原来用户给的正文是一整段?不对,那怎么分自然段?哦不对,自然段落是指原文的段落,如果原文是一段的话,那是不是要按语义拆分?不对,不对,规则说“每个自然段落用

包裹”,那如果原文是一个长的自然段,要不要拆?不对,哦等下可能我看错了,用户给的正文里有没有换行?哦用户给的正文是连续的,那是不是就按语义的段落来拆?不对,不对,不能改内容,所以只能按原文的句子组合,哦不对,等下,有没有需要用列表?哦原文里没有列表内容,没有引用,没有代码,所以不需要那些标签。然后重要句子可以用strong,比如定义MG的那句?“We call this estimate the MG of $x$.” 可以加strong? 哦对,规则3说重要句子可用。那现在处理: 首先,第一部分,讲MG的定义的段落:

It is easy to record the loss or weight norm at each step of neural network training. Can one such time series reveal what is changing inside the network? For a scalar quantity $x$ recorded over time, we form delay vectors from samples taken at fixed time lags. We estimate the local intrinsic dimension of their distribution with the MacKay-Ghahramani (MG) variant of the Levina-Bickel estimator, which pools log ratios of nearest-neighbor distances across the delay vectors. We call this estimate the MG of $x$.

然后第二部分,讲不同场景下MG的表现:

After a recurrent network learns periodic motion, MG from the activation time series of one hidden neuron is close to one, as expected for a periodic orbit. In ResNet-18, freezing the feature extractor lowers the MG of the weight norm and concentrates weight updates in fewer directions. In a text variational autoencoder, the MG of reconstruction loss on fixed sentences is lower under settings where the decoder relies less on the latent code.

然后第三部分,讲MG在编码器选择上的应用:

We also use MG to select among candidate encoders trained on unlabeled MNIST digits with SimCLR, SimSiam, BYOL, and VICReg. For each frozen encoder, we fit a logistic regression classifier to predict digit labels from its features. In initial experiments, the MG of the gradient norm late in training correlated positively with classifier accuracy across encoders. When we selected the encoder with the highest MG of the gradient norm in each held-out run, its test accuracy averaged only 0.41 percentage points below the maximum for that set of encoders.

哦不对,这样是不是拆成了三个p?有没有问题?因为原文是连续的,但自然段落如果按语义的话,这样拆分是合理的?不对,等下会不会用户给的原文就是一个段落?哦不对,用户给的正文里没有换行,那是不是应该保持一个段落?不对,规则说每个自然段落用p包裹,那如果原文是一个自然段,就一个p?但这样的话,重要句子加strong就可以了?不对,等下看内容,原文的结构是:首先提出问题,然后提出方法(MG),然后是三个应用场景的结果,然后是另一个应用(选编码器)的结果。那如果原文是一个自然段,那我就用一个p?不对,不对,再仔细看用户的要求,规则2是“长文用

/

划分小节”,但如果原文没有小节标题,我不能自己加,因为规则4不能增内容。哦对,不能加任何原文没有的内容,包括标题。那所以如果原文是一个自然段,就一个p?不对,等下我再想想,用户给的正文是不是其实是几个自然段,只是粘贴的时候没有换行?哦看用户给的正文的句号,比如到“We call this estimate the MG of $x$.”这里是一个完整的语义块,然后接下来是实验结果部分。那如果我拆成三个p,是不是不算增删改内容?因为只是分段,内容没改。哦对,排版的时候可以按语义拆分自然段,只要内容不增删改就行。 等下再确认规则:不得增删改内容。分段只是排版,内容没变,所以可以。那现在再调整,有没有需要其他标签?比如有没有列表?原文里“SimCLR, SimSiam, BYOL, and VICReg”这些是并列的,