The invention relates to the technical field of
intelligent robots, and discloses a dynamic sparse attention-multi-
modal space-time constraint
humanoid robot control method, which comprises the following steps: S1, multi-
modal information collection: collecting
robot surrounding environment information, S2, reasoning engine
processing and instruction generation:
processing the information, and S3,
processing the information. S3, time-space synchronization and force constraint; S4, driving mechanism
motion control; and S5, emotion expression
unit response. By adopting a dynamic sparse attention mechanism and an optimized calculation method, the calculation efficiency of the
system is greatly improved, and the reasoning
delay is reduced. The NSA
inference engine dynamically adjusts the number of activated heads, and axial partitioning calculation, KV
cache compression and 4-b-it integer calculation are combined, so that the
inference delay is greatly reduced. Through the optimization, the
robot can make a faster response to the environment change, and can quickly complete the reasoning and decision-making process and adjust the action of the
robot in time in the face of complex and changeable task scenes.