首页|用于高反光表面三维重建的多任务学习方法

用于高反光表面三维重建的多任务学习方法

扫码查看
在基于多任务学习的高反光表面单序列投射相移轮廓术中,网络参数在优化初期往往受到过曝区域相位缺失的直接影响,进而导致网络性能受损。提出一种多任务学习方法,把网络对于折叠相位图中非过曝区域和过曝区域的拟合看作不同任务,分别计算其梯度值用于网络参数更新,并引入pareto最优化用于更新任务权值向量。同时,由于两个任务的优先级之间存在明显的先验关系,传统针对平行任务的pareto最优化理论不适用于本场景,因此提出了一种动态更新任务优先级的多任务权值搜索策略,用于根据当前学习情况自适应地更新超参数,尽量避免由于任务梯度冲突导致的网络震荡。验证实验与对比实验的结果表明,将该优化方法引入现有多任务学习框架以后,网络收敛速度得到了显著提高;同时,由于减轻了过曝区域对网络参数拟合的不利影响,该权值搜索策略最终实现了更加平滑和稠密的重建结果。
A Multi-task Learning Method for 3D Reconstruction of Highly Reflective Surfaces
When applying binocular Phase-Shifting Profilometry(PSP)to highly reflective surfaces,the main difficulty lies in the lack of phase in the overexposed area,based on this consideration,multi-task learning was introduced into highly reflective surface phase profiling.However,in the early stage of multi-task learning,due to the influence of overexposed regions,the network tends to realize the correspondence retrieval of non-overexposed regions firstly,and the results obtained by the phase prediction module are not enough to constrain the stereo matching process,and the incorrect matching rate is prone to large oscillations,which reduces the network convergence speed.In order to solve this problem,considering that the fitting task of the network to the overexposed area and the non-overexposed area contains a natural priority relationship,and the traditional Pareto optimization of parallel multi-task learning is not suitable for scenarios with priority relationships,this paper proposes a multi-task learning method that dynamically updates the task priority,and controls the network to complete the learning according to above pattern.Firstly,the multi-task learning network is designed based on classic architecture UNET,which consists of phase prediction and correspondence retrieval module.In learning process,this two tasks are optimized simultaneously,thus,the correspondence retrieval process is guided by the result from phase predicting module.At the same time,a loss function consists of several parts is designed to be optimized,which concerns matching loss,prediction loss and consistency loss,corresponding to correspondence retrieval module,phase predicting module and the joint optimization respectively.Secondly,the application of Pareto optimization based on parallel multi-task learning in phase-shifting profilometry of highly reflective surfaces is derived.In this method,overexposed and non-overexposed areas are used as different data for network fitting.By introducing the multi-gradient descent method into multi-task weight search,this method can ensure that the network is optimized in a direction that can cause the loss function values of all tasks to decrease at all times,thus achieving relatively stable hyperparameter search in most cases.However,as mentioned earlier,setting two tasks as parallel priorities often leads to significant oscillations during network convergence,resulting in a decrease in network performance.To improve the reconstruction of high reflective surfaces based on parallel multi-task learning,a multi-task weight searching strategy with dynamic task priorities is proposed.On the basis of the above derivation,a key indicator is introduced,which is the proportion of pixels in non-overexposed areas that have completed stereo matching.In the early stage of network optimization,the task of fitting non overexposed area data is considered a high priority task.Once the indicator exceeds the specified threshold,it is considered that the network has basically completed the fitting of non-overexposed areas.At this time,the priority between tasks is adjusted,that is,the fitting task of the network to overexposed areas is considered a high priority task.To validate the proposed multi-task weight searching strategy,the results of manually selecting task weights and parallel multi-task weight searching strategy were compared with the results of the proposed multi-task weight searching strategy,which dynamically updates task priorities.In the comparative experiment,multiple test objects containing highly reflective areas were selected and reconstructed using three different methods.Set the incorrect matching rate as a qualitative evaluation indicator,the reconstruction results show that the multi-task weight searching strategy based on dynamic task priority proposed in this paper can achieve the most stable reconstruction performance.At the same time,compared with the parallel multi-task weight searching strategy,the network convergence speed of our method is faster and the network oscillation phenomenon is less obvious.

Phase-shifting profilometryMulti-task learningPhase predictionCorrespondence retrievalHyper-parameter searching

李默晶、孙长库

展开 >

天津大学 精密仪器与光电子工程学院 精密测试技术及仪器全国重点实验室,天津 300072

相位轮廓术 多任务学习 相位预测 同名点匹配 超参数搜索

2024

光子学报
中国光学学会 中国科学院西安光学精密机械研究所

光子学报

CSTPCD北大核心
影响因子:0.948
ISSN:1004-4213
年,卷(期):2024.53(10)