Regularization spikes in the linear method

未关闭
#552 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
backend

调研方向

从线性方法最小化器开始,在跟踪梯度范数的同时,复现报告中的正则化从 0.001 跳升至 1 以上的现象。确定该尖峰是有意为之,还是由切空间条件化导致的;当原因以及经过验证的缓解措施或预期行为被记录后,该 issue 即完成。

由索引模型根据 Issue 内容生成。

描述

The linear method minimizer has an issue where the regularization can spike from 0.001 to >1 in just one iteration which freezes the optimization even when the norm of the gradients are still on the order of ~1e-5 to ~1e-4. To deduce if the optimizer has converged, we often expect something like the grad of the norm to go to ~1e-8. As you can see, the gradient also freezes and flatlines when the regularization spikes.

Image

I don't know if this is intentional, or due to ill-conditioning of the tangent space? Any way to mitigate this?

主要语言
Python
星标
116
派生
50
平均合并
2 小时 1 分钟
30 天内合并 PR
8

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Qiskit/ffsim 的其他 Issue

查看 Qiskit/ffsim 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。